1 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * shell/ev-view.c: (ev_view_leave_notify_event):
5 Clear status message when pointer leaves view. Fix for bug
8 2005-07-20 Ankit Patel <ankit644@yahoo.com>
10 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
12 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
14 * shell/ev-view.c: (ev_view_leave_notify_event),
17 Set cursor to normal then leaving view.
19 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
23 Fix required djvulibre version.
25 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
27 *configure.ac: Hindi (hi) language added
29 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
31 *configure.ac: Punjabi (pa) Language added
33 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
35 * data/evince-ui.xml, shell/ev-window.c:
37 Add keypad accelerators for zooming. Fix for bug 308128.
39 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
42 * backend/Makefile.am:
43 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
45 * shell/ev-document-types.c: (ev_document_types_add_filters):
47 Allow to enable/disable the pixbuf backend.
48 Default to off for now. If we want it enabled we should
49 really put mime types in the desktop, implement properties etc.
51 * properties/evince-properties.c:
53 Initialize error to NULL.
54 Check error is not NULL before freeing.
56 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
60 Use F5 as presentation accell
62 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
64 * shell/ev-window.c: (update_chrome_visibility),
65 (ev_window_create_fullscreen_popup), (ev_window_init):
67 Do not leak the fullscreen toolbar
69 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
71 * shell/ev-window.c: (view_actions_focus_in_cb),
72 (view_actions_focus_out_cb):
74 These has a return value! Fix totally random focus
77 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
79 * shell/main.c: (load_files_remote):
81 Allow open more than one file
83 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
85 * shell/main.c: (load_files_remote):
87 Fix for dbus 0.33. bug #309975
89 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
91 * properties/ev-properties-main.c: (ev_properties_get_pages):
93 Actually return NULL for types we dont support
95 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
101 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
103 * backend/ev-document-factory.c:
104 (ev_document_factory_get_document):
106 Do not try to create the object if type
109 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
111 * ps/ps-document.c: (ps_document_dispose),
112 (ps_async_renderer_render_pixbuf):
115 Do not leak the target window
117 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
119 * shell/ev-application.c: (ev_application_init):
121 Let tbe check file existence for us.
122 Add a comment about eggrecent mime filter.
124 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
126 * data/evince-ui.xml:
127 * shell/ev-application.c: (ev_application_shutdown),
128 (ev_application_init), (ev_application_get_toolbars_model),
129 (ev_application_get_recent_model),
130 (ev_application_save_toolbars_model):
131 * shell/ev-application.h:
132 * shell/ev-window.c: (ev_window_add_recent),
133 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
134 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
137 Use common toolbar and recent models for all windows.
138 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
140 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
142 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
143 successfully check for gtk_icon_view_get_visible_range.
145 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
150 Fix djvu and dvi backend build.
152 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
154 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
155 (new_separator_pixbuf):
159 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
161 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
163 HIGification of toolbar editor dialogue.
165 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
170 Ever build metadata manager since it's just
171 disabled at runtime now.
173 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
175 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
176 (ev_metadata_manager_get), (ev_metadata_manager_set):
177 * shell/ev-metadata-manager.h:
179 Add an _init functions that enabled metadata management
182 * shell/ev-window.c: (page_changed_cb),
183 (setup_document_from_metadata), (ev_window_setup_document),
184 (setup_view_from_metadata), (ev_window_open_uri),
185 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
186 (ev_window_run_presentation), (ev_window_stop_presentation),
187 (save_sizing_mode), (ev_window_zoom_changed_cb),
188 (ev_window_continuous_changed_cb),
189 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
190 (window_configure_event_cb):
192 Remove all ugly metadata define since we deal with it
195 * shell/main.c: (load_files_remote), (main):
197 Add support for dbus cvs head. Hopefully didnt break one
198 of the other versions now!
200 If we dont get a response from the dbus server just
201 give up with it and not enable metadata.
203 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
206 * backend/Makefile.am:
208 * cut-n-paste/recent-files/Makefile.am:
209 * cut-n-paste/toolbar-editor/Makefile.am:
210 * cut-n-paste/zoom-control/Makefile.am:
213 * pixbuf/Makefile.am:
214 * properties/Makefile.am:
217 * thumbnailer/Makefile.am:
220 Make frontends depend on just libev.
221 Rework and group CFLAGS/LIBS definitions.
224 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
228 do not unnecessarily save zoom
231 * lib/ev-file-helpers.c: (ev_dot_dir):
237 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
241 Remove unnecessary dependencies
243 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
245 * properties/Makefile.am:
246 * thumbnailer/Makefile.am:
249 Some more cleanups. Was really necessary
250 but I probably introduced bugs, feel free
253 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
255 * backend/Makefile.am:
257 * cut-n-paste/recent-files/Makefile.am:
258 * cut-n-paste/toolbar-editor/Makefile.am:
259 * cut-n-paste/zoom-control/Makefile.am:
262 * pixbuf/Makefile.am:
263 * properties/Makefile.am:
266 * thumbnailer/Makefile.am:
269 Use gnome-common macros when possible.
270 Cleanup dependencies.
271 Actually disable deprecated where possible.
273 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
276 * backend/Makefile.am:
277 * properties/Makefile.am:
279 * thumbnailer/Makefile.am:
281 This should solve the circular dep without
284 * shell/ev-window.c: (setup_view_from_metadata):
286 Never restore window size/position when the
287 window is already visible.
289 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
291 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
293 Return a boolean from timeout func. Fix ported from gedit.
295 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
297 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
299 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
301 * shell/ev-document-types.c: set "All Documents" as default filter in
304 2005-07-06 Martin Kretzschmar <martink@gnome.org>
306 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
307 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
308 (ev_metadata_manager_set_boolean): fix value/val thinko.
310 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
312 * shell/ev-window.c: (setup_view_from_metadata),
313 (window_state_event_cb), (window_configure_event_cb),
316 Remember window position and maximized state
318 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
322 Fix DBUS configure checks.
324 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
325 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
326 (ev_metadata_manager_set_boolean):
330 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
331 (ev_window_stop_fullscreen), (ev_window_run_presentation),
332 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
333 (ev_window_continuous_changed_cb),
334 (ev_window_dual_mode_changed_cb), (ev_window_new):
336 Fix the build without DBUS.
338 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
340 * shell/ev-metadata-manager.c: (parse_value), (save_values),
341 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
342 (ev_metadata_manager_set_string),
343 (ev_metadata_manager_set_boolean):
344 * shell/ev-metadata-manager.h:
346 Add support for some more types
348 * shell/ev-view.c: (scroll_to_current_page),
349 (ev_view_get_continuous), (ev_view_set_continuous),
350 (ev_view_get_dual_page):
352 * shell/ev-window.c: (page_changed_cb),
353 (setup_document_from_metadata), (ev_window_setup_document),
354 (setup_view_from_metadata), (ev_window_open_uri),
355 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
356 (ev_window_run_presentation), (ev_window_stop_presentation),
357 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
358 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
359 (ev_window_update_dual_page_action),
360 (ev_window_continuous_changed_cb),
361 (ev_window_dual_mode_changed_cb), (ev_window_init):
363 Remember a bunch of view/document properties. Prolly some
364 are still missing but it's getting interesting.
366 2005-07-05 Martin Kretzschmar <martink@gnome.org>
368 * configure.ac: check if dbus-binding-tool is installed. Not the
369 case on current Ubuntu breezy, it seems.
371 2005-07-05 Luca Ferretti <elle.uca@libero.it>
373 * data/evince.desktop.in.in:
375 Allow open uri lists and add TryExec field.
377 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
381 Enable dbus when available, do not require a configure
384 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
388 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
391 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
392 Marco Pesenti Gritti <mpg@redhat.com>
394 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
396 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
397 functions to the format required by dbus
399 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
400 errors. Use the RPC parameters in the expected way
402 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
405 * properties/Makefile.am:
406 * properties/ev-properties-main.c: (ev_properties_get_pages):
408 Support all mime types
411 * thumbnailer/Makefile.am:
412 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
413 (evince_thumbnail_pngenc_get):
415 Use the document factory
417 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
419 * backend/Makefile.am:
420 * backend/ev-document-factory.c:
421 (mime_type_supported_by_gdk_pixbuf),
422 (ev_document_type_get_from_mime),
423 (ev_document_factory_get_document),
424 (ev_document_factory_get_backend),
425 (ev_document_factory_get_mime_types),
426 (ev_document_factory_get_all_mime_types):
427 * backend/ev-document-factory.h:
429 * shell/ev-document-types.c: (get_document_from_uri),
430 (ev_document_types_get_document),
431 (file_filter_add_mime_list_and_free),
432 (ev_document_types_add_filters):
433 * shell/ev-document-types.h:
434 * shell/ev-job-xfer.c: (ev_job_xfer_run):
435 * shell/ev-properties-dialog.c:
436 (ev_properties_dialog_set_document):
437 * shell/ev-window.c: (ev_window_cmd_file_open),
438 (ev_window_cmd_save_as):
439 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
441 Rework document types managing to avoid code duplication
442 and actually abstract from backend implementations.
443 Also provide a minimal factory api that can be used by
444 thumbnailer/properties.
446 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
448 * properties/ev-properties-view.c: (ev_properties_view_set_info):
450 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
453 2005-07-04 Matthew S. Wilson <msw@rpath.com>
455 * shell/ev-properties-dialog.c
456 (ev_properties_dialog_set_document): only call
457 ev_properties_fonts_set_document() if the document implements the
460 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
463 * properties/Makefile.am:
464 * properties/ev-properties-view.c:
465 (ev_properties_view_register_type):
466 * properties/ev-properties-view.h:
467 * properties/ev-properties-main.h:
469 Implement nautilus plugin for properties.
470 Works only for pdf atm, I need to rework the
471 document types stuff to get this to work
474 2005-07-04 Martin Kretzschmar <martink@gnome.org>
476 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
477 (ev_properties_fonts_set_document): use
478 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
480 2005-07-04 Matthew S. Wilson <msw@rpath.com>
482 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
484 (PlaceImage, tiff2ps_process_page): use
485 g_ascii_dtostr to convert floats to strings in a locale-safe way.
488 2005-07-04 Martin Kretzschmar <martink@gnome.org>
490 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
491 (main): to call gnome_authentication_manager_init. Should fix
494 * configure.ac: that requires libgnomeui 2.6.0.
496 2005-07-04 Matthew S. Wilson <msw@rpath.com>
498 * tiff/tiff-document.c (tiff_document_ps_export_begin)
499 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
500 use the new tiff2ps interfaces
502 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
503 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
505 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
506 structure instead of global variables. Remove use of static
507 variables in functions.
509 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
511 * shell/ev-page-action.c: unref the completion after setting it to the
514 2005-07-04 Matthew S. Wilson <msw@rpath.com>
516 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
519 2005-07-04 Matthew S. Wilson <msw@rpath.com>
521 * shell/ev-window.c (update_action_sensitivity): disable
522 File->Print if the document does not implement the ps exporter
525 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
529 * data/evince-properties.glade:
530 * properties/.cvsignore:
531 * properties/Makefile.am:
532 * properties/ev-properties-view.c: (ev_properties_view_dispose),
533 (ev_properties_view_class_init), (ev_properties_view_format_date),
534 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
535 (ev_properties_view_init), (ev_properties_view_new):
536 * properties/ev-properties-view.h:
538 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
539 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
540 (ev_properties_dialog_new):
541 * shell/ev-properties-dialog.h:
542 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
543 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
544 (update_progress_label), (job_fonts_finished_cb),
545 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
546 * shell/ev-properties-fonts.h:
547 * shell/ev-properties.c:
548 * shell/ev-properties.h:
549 * shell/ev-window.c: (ev_window_setup_document),
550 (ev_window_cmd_file_properties):
552 Split the properties pages in two different objects, depend
553 only on the backend where possible, use widgets instead
554 of gobject for the glade part, reimplement the dialog
556 I need this to implement nautilus properties page.
558 2005-07-03 Matthew S. Wilson <msw@rpath.com>
560 * tiff/tiff-document.c (tiff_document_ps_export_begin)
561 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
562 (tiff_document_document_ps_exporter_iface_init): implement the ps
563 exporter interface for tiff documents
565 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
566 libtiff to implement TIFF postscript export
568 * tiff/tiff2ps.h: added a header file for external tiff2ps
571 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
574 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
576 * shell/ev-view.c: (scroll_to_current_page),
577 (ev_view_set_fullscreen), (ev_view_set_presentation):
579 Scroll to current page when exit from presentation
581 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
583 * shell/ev-window.c: (update_document_mode),
584 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
585 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
586 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
588 Exit from fullscreen mode when switch to presentation. Fix for
591 2005-07-02 Matthew S. Wilson <msw@rpath.com>
593 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
594 return NULL if the document does not implement the selection
597 2005-07-02 Matthew S. Wilson <msw@rpath.com>
599 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
600 reported height by using the resolution aspect ratio
601 (tiff_document_render_pixbuf): scale the pixbuf using the
602 resolution aspect ratio
604 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
608 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
609 <kiltedaco@gmail.com>
611 * djvu/djvu-document.c: (djvu_document_get_orientation),
612 (djvu_document_set_orientation), (djvu_document_get_page_size),
613 (rotate_pixbuf), (djvu_document_render_pixbuf),
614 (djvu_document_document_iface_init):
615 * dvi/dvi-document.c: (dvi_document_get_orientation),
616 (dvi_document_set_orientation), (dvi_document_get_page_size),
617 (rotate_pixbuf), (dvi_document_render_pixbuf),
618 (dvi_document_document_iface_init):
620 Dvi and djvu backends are ported to new API
622 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
624 * backend/ev-selection.c: (ev_selection_get_selection_region),
625 (ev_selection_get_selection_map):
626 * backend/ev-selection.h:
628 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
630 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
631 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
632 (ev_pixbuf_cache_get_text_mapping):
633 * shell/ev-pixbuf-cache.h:
634 * shell/ev-view.c: (location_in_text),
635 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
636 support to EvView. Now we can see where we can select! Sweet!
638 2005-06-30 Kristian Høgsberg <krh@redhat.com>
640 * shell/ev-view.c (ev_view_button_press_event): Fix
641 event->y + view->scroll_x typo.
643 2005-06-30 Kristian Høgsberg <krh@redhat.com>
645 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
646 sub-GdkPixbuf instead of passing dest_x and dest_y.
648 * shell/ev-view.c: (view_point_to_doc_point),
649 (view_rect_to_doc_rect), (ev_view_button_press_event),
650 (ev_view_motion_notify_event), (compute_new_selection_rect),
651 (gdk_rectangle_point_in), (compute_new_selection_text),
652 (compute_selections): Update selection code to keep the selection
653 around as two points and not as a normalized rectangle, and fix
654 page level selection in two-column mode.
656 2005-06-30 Alex Duggan <aldug@astrolinux.com>
658 * shell/ev-window.c: (window_configure_event_cb):
662 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
668 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
671 * shell/ev-metadata-manager.c: (item_free),
672 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
673 (parse_value), (parseItem), (load_values),
674 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
675 (save_values), (save_item), (get_oldest), (resize_items),
676 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
677 * shell/ev-metadata-manager.h:
679 Metadata manager from gedit but modified to use GValue, so that
680 we dont need to keep converting from strings.
684 ENABLE_METADATA conditional, on when dbus is on
686 * shell/ev-application.c: (ev_application_open_uri):
688 Show the window after load so that we can initialize
689 window size before it's showed.
691 * shell/ev-window.c: (ev_window_setup_from_metadata),
692 (ev_window_open_uri), (window_configure_event_cb),
695 Save and load metadata information about window size.
696 Not yet keeping states in account.
698 * shell/main.c: (main):
700 Shutdown metadata manager.
702 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
704 * shell/ev-application-service.xml:
707 * shell/ev-application.c:
708 * shell/ev-application.h:
713 Add an optional dbus interface (--enable-dbus).
714 Rework application code, mainly to be easier to
716 Do not open multiple windows with the same document,
719 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
721 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
722 pixbuf iff it exists.
724 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
727 * backend/ev-render-context.[ch]:
728 * backend/ev-selection.[ch]:
730 Massive changes. We now support text selection of pdfs, and not
731 just rectangular selection. This is pretty broken still, but I
732 want to get something into CVS.
734 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
738 Fix for Bug 309080: crash on window close.
740 * shell/ev-page-action.c: (page_changed_cb):
742 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
743 jensgr@gmx.net (Jens Granseuer).
745 2005-06-25 Marcel Telka <marcel@telka.sk>
747 * configure.in (ALL_LINGUAS): Added sk.
749 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
751 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
754 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
761 * cut-n-paste/recent-files/Makefile.am:
765 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
767 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
768 (pixbuf_document_set_orientation), (rotate_pixbuf),
769 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
770 (pixbuf_document_document_iface_init), (pixbuf_document_init):
772 Implement rotation and cleanup the code a bit.
774 * tiff/tiff-document.c: (tiff_document_get_page_size),
775 (tiff_document_get_orientation), (tiff_document_set_orientation),
776 (rotate_pixbuf), (tiff_document_render_pixbuf),
777 (tiff_document_document_iface_init), (tiff_document_init):
779 Implement rotation. Was the quicker solution for the release
780 but we really need to share this code in the shell.
782 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
786 Enable rotation, require poppler cvs. Fix a leak.
788 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
790 * shell/ev-window.c: (update_action_sensitivity):
792 Make properties unsensitive if document backend doesn't provide
795 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
797 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
798 (bitmap_flip_horizontally), (bitmap_flip_vertically),
799 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
800 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
801 (bitmap_flip_rotate_counter_clockwise):
802 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
803 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
805 * dvi/mdvi-lib/common.h:
806 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
807 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
808 (opendvi), (mdvi_reload), (mdvi_init_context),
809 (mdvi_destroy_context), (mdvi_dopage), (special):
810 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
811 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
812 (file_hash_free), (register_encoding), (parse_spec),
813 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
814 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
815 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
816 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
817 (mdvi_register_font_type), (mdvi_unregister_font_type),
818 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
819 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
820 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
821 (mdvi_hash_destroy_key), (mdvi_hash_reset):
822 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
823 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
824 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
825 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
826 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
827 * dvi/mdvi-lib/special.c: (mdvi_register_special),
828 (mdvi_unregister_special), (mdvi_flush_specials):
829 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
831 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
832 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
833 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
834 (free_font_metrics), (flush_font_metrics):
835 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
837 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
838 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
839 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
840 (dstring_insert), (dstring_new), (dstring_reset):
841 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
843 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
844 avoid conflict with libtool on FC4
846 * shell/ev-window.c: (ev_window_cmd_help_about):
848 Update copyright year. Fix for bug 308828.
850 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
852 * shell/ev-view.c: (add_scroll_binding_keypad),
853 (ev_view_binding_activated), (ev_view_class_init),
854 (on_adjustment_value_changed):
856 Bug 170874: Arrow keys switch pages in presentation mode
858 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
860 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
862 Fix for Bug 308265: Sidebar dissappears coming out of
865 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
867 * shell/ev-application.c: (ev_application_open):
868 * shell/ev-document-types.c: (ev_document_types_add_filters),
869 (ev_document_types_add_filters_for_type):
870 * shell/ev-document-types.h:
871 * shell/ev-window.c: (ev_window_cmd_save_as):
873 Suggest basename as template when saving, provide filters
874 for save dialog. It's bug 308402
876 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
879 * shell/ev-sidebar-links.c: (job_finished_callback):
880 * shell/ev-view.c: (update_find_status_message):
884 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
886 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
887 (egg_recent_view_uimanager_set_list):
889 Fix buglet in !show_numbers case.
891 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
893 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
894 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
896 Use pango ellipsisation.
900 Fix refcount leak, from nsh.
902 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
904 * cut-n-paste/recent-files/Makefile.am:
905 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
906 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
908 Removed EggRecentViewGtk
910 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
911 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
912 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
913 (ev_window_setup_recent):
915 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
918 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
920 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
921 (egg_recent_view_gtk_finalize):
925 * cut-n-paste/toolbar-editor/Makefile.am:
927 Fix location of cursor icon.
930 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
931 (display_completion_text), (match_completion):
932 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
933 (selection_changed_callback), (create_loading_model),
934 (print_section_cb), (links_page_num_func),
935 (update_page_callback_foreach):
936 * shell/ev-window.c: (ev_window_dispose):
938 Small memory fixes. Links model now store objects instead
939 of pointers to improve memory management.
941 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
943 * shell/ev-window.c: (zoom_control_changed_cb):
945 Fix update of zoom control (bug 308268).
947 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
949 * shell/ev-properties.c (set_property): escape the text correctly.
950 Handles non-UTF-8 properties and escaped properties. Also, sets
951 the text to "<i>None</i>" if the property isn't set.
953 * data/evince-properties.glade: Change the label to be ellipsized,
954 and give it a minimum size.
956 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
958 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
959 * shell/ev-sidebar-links.c: (create_loading_model):
960 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
961 * shell/ev-view.c: (ev_view_set_document):
962 * shell/ev-window.c: (ev_window_dispose):
964 Various small fixes, mostly memory leaks. Thanks to valgrind.
966 2005-06-19 Martin Kretzschmar <martink@gnome.org>
968 * ps/ps-document.c: remove the locale.h include again ;-). And
969 kill the (bogus) setlocale/savelocale business.
971 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
975 Include locale.h to fix build
977 * shell/ev-sidebar.c:
979 Remove unnecessary includes
981 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
983 * dvi/dvi-document.c: (dvi_document_load):
984 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
987 Check for incorrect dvi files. Fix parsing dvi on AMD64
988 platform. Thanks to tester@tester.ca (Olivier Crete).
990 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
992 * shell/ev-page-action.c: (match_selected_cb),
993 (display_completion_text), (match_completion), (update_model):
994 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
996 * shell/ev-sidebar.c: (ev_sidebar_destroy),
997 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
998 (ev_sidebar_set_document):
999 * shell/ev-window.c: (ev_window_xfer_job_cb),
1000 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1002 Fixed lot's of memory leaks, for example, memory leak on reload,
1003 described in bug 307793.
1005 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1007 * pdf/ev-poppler.cc:
1008 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1009 (update_visible_range), (adjustment_changed_cb),
1010 (ev_sidebar_thumbnails_fill_model),
1011 (ev_sidebar_thumbnails_refresh),
1012 (ev_sidebar_tree_selection_changed),
1013 (ev_sidebar_icon_selection_changed),
1014 (ev_sidebar_thumbnails_use_icon_view),
1015 (ev_sidebar_thumbnails_set_document):
1016 * shell/ev-sidebar-thumbnails.h:
1017 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1018 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1020 Refresh thumbnails when changing orientation. Not fully
1021 working yet becuase of a sidebar bug.
1023 Set page orientation to poppler page everywhere. This sucks
1024 really need to fix poppler.
1026 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1028 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1029 (egg_recent_view_gtk_new_menu_item),
1030 (egg_recent_view_gtk_set_property),
1031 (egg_recent_view_gtk_get_property),
1032 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1033 (egg_recent_view_gtk_set_tooltip_func),
1034 (egg_recent_view_gtk_set_label_width),
1035 (egg_recent_view_gtk_get_label_width):
1036 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1038 Sync with libegg (ellipsize labels)
1040 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1042 * data/evince-ui.xml:
1043 * shell/ev-window.c: (ev_window_cmd_go_forward),
1044 (ev_window_cmd_go_backward):
1046 Shift + PageUp moves 10 Pages. Fix for 306125
1048 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1050 * pdf/ev-poppler.cc:
1052 Add a flag to check if orientation has been overriden
1054 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1056 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1059 * ps/ps.h: add creator field to document.
1061 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1064 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1066 * data/evince-properties.glade:
1067 * shell/ev-properties.c: (ev_properties_set_document):
1069 s/PDF Version/Format
1071 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1073 * shell/ev-properties.c: (ev_properties_set_document):
1075 Remove unnecessary translations
1077 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1079 * cut-n-paste/toolbar-editor/Makefile.am:
1081 Correct library name
1083 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1086 * cut-n-paste/recent-files/egg-recent-model.c:
1087 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1088 (egg_recent_model_unlock_file):
1089 * cut-n-paste/recent-files/egg-recent-util.c:
1090 (egg_recent_util_get_unique_id):
1091 * cut-n-paste/recent-files/update-from-egg.sh:
1092 * cut-n-paste/toolbar-editor/Makefile.am:
1093 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1094 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1095 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1096 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1097 (egg_toolbars_model_get_type):
1098 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1100 Better makefile for toolbar editor and update everything
1103 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1105 * shell/ev-window.c: (update_document_mode):
1107 Prefer presentation mode when the document
1110 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1112 * data/evince-ui.xml:
1113 * shell/ev-window.c:
1115 Add control-equal for zooming
1117 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1119 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1121 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1123 * backend/ev-document.c: (ev_document_get_orientation):
1124 * backend/ev-document.h:
1125 * pdf/ev-poppler.cc:
1126 * ps/ps-document.c: (ps_document_get_orientation),
1127 (ps_document_set_orientation), (ps_document_document_iface_init):
1129 Add a get_orientation api. Improve set_orientation.
1131 * data/evince-ui.xml:
1132 * shell/ev-view.c: (ev_view_set_orientation),
1133 (ev_view_rotate_right), (ev_view_rotate_left):
1135 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1136 (ev_window_cmd_edit_rotate_right):
1138 Better ui for changing document orientation
1140 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1142 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1143 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1144 * shell/ev-sidebar-links.h:
1145 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1146 (ev_sidebar_page_iface_init):
1147 * shell/ev-sidebar-page.h:
1148 * shell/ev-sidebar-thumbnails.c:
1149 (ev_sidebar_thumbnails_get_property),
1150 (ev_sidebar_thumbnails_class_init),
1151 (ev_sidebar_thumbnails_set_document):
1152 * shell/ev-sidebar-thumbnails.h:
1153 * shell/ev-view.c: (ev_view_motion_notify_event):
1154 * shell/ev-window.c: (update_chrome_visibility),
1155 (ev_window_cmd_focus_page_selector),
1156 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1157 (sidebar_page_main_widget_update_cb), (ev_window_init):
1159 Autoraise toolbar on GoToPage binding and fix bindings in
1160 EvSidebarThumbnails page.
1162 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1164 * shell/ev-properties.c: (update_progress_label):
1166 Hide the progress label when finished; bug #307697.
1168 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1170 * pdf/ev-poppler.cc:
1172 Enable is_open for links, you will need poppler cvs
1174 * shell/ev-properties.c: (job_fonts_finished_cb):
1176 Get a lock on the document when filling the tree view
1178 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1180 * backend/ev-document-links.h:
1181 * pdf/ev-poppler.cc:
1182 * shell/ev-sidebar-links.c: (create_loading_model),
1183 (expand_open_links), (job_finished_callback):
1185 Expand links when specified by the document.
1186 Depend on a poppler api (defined out for now)
1188 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1190 * shell/ev-properties.c: (ev_properties_dispose),
1191 (ev_properties_class_init), (dialog_destroy_cb),
1192 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1193 (ev_properties_set_document), (ev_properties_new),
1194 (ev_properties_show):
1195 * shell/ev-properties.h:
1197 Make it an object, cleanup the code, api to show it as transient
1198 and to set the document.
1200 * shell/ev-window.c: (ev_window_setup_document),
1201 (ev_window_cmd_file_properties):
1203 Adapt to EvProperties changes, do not show multiple
1204 times, update it when document changes.
1206 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1209 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1210 (ps_document_set_orientation), (ps_document_document_iface_init):
1213 Implement orientation here too
1215 * shell/ev-properties.c: (ev_properties_new):
1216 * data/evince-properties.glade:
1218 Hide the fonts page for backends that doesnt
1221 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1223 * backend/ev-document.c: (ev_document_set_orientation):
1224 * backend/ev-document.h:
1225 * pdf/ev-poppler.cc:
1227 Add orientation api. Currently poppler api is not optimal,
1228 we need to set orientation every time we _get a page.
1229 I will try to fix that at some point.
1231 * data/evince-ui.xml:
1232 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1233 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1235 Add orientation menu items
1237 * shell/ev-page-cache.c: (ev_page_cache_clear):
1238 * shell/ev-page-cache.h:
1240 Add api to clear the cache
1242 * shell/ev-view.c: (setup_caches), (clear_caches),
1243 (ev_view_set_document), (ev_view_zoom_out),
1244 (ev_view_set_orientation):
1247 Implement orientation changing
1249 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1251 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1252 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1253 * backend/ev-document-fonts.h:
1255 Separate scan and fill so that we can incrementally fill from
1256 the main thread. Add a progress api.
1258 * data/evince-properties.glade:
1259 * pdf/ev-poppler.cc:
1260 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1262 * shell/ev-properties.c: (update_progress_label),
1263 (job_fonts_finished_cb), (setup_fonts_view):
1265 Incrementally feel the list and show the progress
1266 percentage in a label like acrobat does.
1268 You are going to need poppler cvs
1270 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1272 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1273 * backend/ev-document-fonts.h:
1274 * pdf/ev-poppler.cc:
1276 Make fonts model fill incrementally.
1278 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1279 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1280 (ev_job_queue_remove_job):
1281 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1282 (ev_job_fonts_new), (ev_job_fonts_run):
1285 New job for fonts scanning
1287 * shell/ev-properties.c: (job_fonts_finished_cb),
1288 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1289 * shell/ev-properties.h:
1290 * shell/ev-window.c: (ev_window_cmd_file_properties):
1292 Incrementally feel the treeview using the new job. Show Loading...
1293 message until scanning is completed.
1295 Hopefully I didnt break the build without the poppler patch.
1297 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1299 * shell/ev-application.c: (ev_application_open):
1300 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1301 (ev_document_type_get_type), (ev_document_type_lookup):
1302 * shell/ev-document-types.h:
1303 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1304 * shell/ev-job-xfer.h:
1305 * shell/ev-window.c: (ev_window_clear_local_uri),
1306 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1307 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1308 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1310 Transfer remote documents to tmp directory to display them later.
1312 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1314 * backend/ev-document-info.h:
1315 * shell/ev-properties.c: (ev_properties_new):
1317 s/GTime*/GTime. Not sure why we was using a pointer
1320 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1322 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1323 situations. That situation is that you're using GTK+-HEAD with
1324 the patch at #306726 is applied, and you have a document with <
1325 1500 pages in it. It's not quite as uniformly nice as the
1326 TreeView, but should be better in the long run.
1328 I'm pretty sure I guarded against breaking compilation with
1329 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1332 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1333 widget yet, so I commented that code out
1334 enable_view_actions_for_widget() for now. Need to figure this
1337 * shell/ev-page-action.c (match_selected_cb): emit the right
1338 signals. Our cool C-l completion now works.
1340 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1342 * backend/Makefile.am:
1343 * backend/ev-document-fonts.c:
1344 * backend/ev-document-links.c:
1345 * backend/ev-document.c: (ev_document_load):
1346 * backend/ev-document.h:
1347 * backend/ev-job-queue.c:
1348 * backend/ev-job-queue.h:
1349 * backend/ev-jobs.c:
1350 * backend/ev-jobs.h:
1351 * backend/ev-page-cache.c:
1352 * backend/ev-page-cache.h:
1354 EvPageCache and EvJobs are moved to shell.
1356 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1358 * lib/ev-file-helpers.h:
1360 New helper to work with temporary files
1362 * shell/Makefile.am:
1363 * shell/ev-application.c: (ev_application_open):
1364 * shell/ev-application.h:
1365 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1366 (remove_job_from_async_queue), (add_job_to_async_queue),
1367 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1368 (handle_job), (search_for_jobs_unlocked),
1369 (no_jobs_available_unlocked), (ev_render_thread),
1370 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1371 (ev_job_queue_add_job), (move_job_async), (move_job),
1372 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1373 * shell/ev-job-queue.h:
1374 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1375 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1376 * shell/ev-job-xfer.h:
1377 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1378 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1379 (ev_job_links_class_init), (ev_job_render_init),
1380 (ev_job_render_dispose), (ev_job_render_class_init),
1381 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1382 (ev_job_thumbnail_class_init), (ev_job_load_init),
1383 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1384 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1385 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1386 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1388 * shell/ev-page-action.c: (ev_page_action_set_document):
1389 * shell/ev-page-cache.c: (ev_page_cache_init),
1390 (ev_page_cache_class_init), (ev_page_cache_finalize),
1391 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1392 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1393 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1394 (ev_page_cache_get_title), (ev_page_cache_get_size),
1395 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1396 (ev_page_cache_get_height_to_page),
1397 (ev_page_cache_get_max_label_chars),
1398 (ev_page_cache_get_page_label),
1399 (ev_page_cache_has_nonnumeric_page_labels),
1400 (ev_page_cache_get_info), (ev_page_cache_next_page),
1401 (ev_page_cache_prev_page), (ev_page_cache_get):
1402 * shell/ev-page-cache.h:
1403 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1404 (ev_pixbuf_cache_clear_job_sizes),
1405 (ev_pixbuf_cache_add_jobs_if_needed),
1406 (ev_pixbuf_cache_set_page_range):
1407 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1408 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1409 * shell/ev-sidebar-thumbnails.c:
1410 (ev_sidebar_tree_selection_changed),
1411 (ev_sidebar_thumbnails_set_document):
1412 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1413 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1414 (ev_statusbar_get_context_id), (ev_statusbar_push),
1415 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1416 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1417 (ev_statusbar_set_progress):
1418 * shell/ev-statusbar.h:
1419 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1420 (ev_view_find_previous):
1421 * shell/ev-window.c: (ev_window_is_empty),
1422 (ev_window_setup_document), (password_dialog_response),
1423 (ev_window_clear_jobs), (ev_window_load_job_cb),
1424 (ev_window_xfer_job_cb), (ev_window_open_uri),
1425 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1426 (ev_window_print), (ev_window_print_range),
1427 (ev_window_state_event), (ev_window_cmd_view_reload),
1428 (menu_item_select_cb), (menu_item_deselect_cb),
1429 (view_status_changed_cb), (ev_window_dispose),
1430 (drag_data_received_cb), (ev_window_init):
1431 * shell/ev-window.h:
1432 * shell/main.c: (load_files):
1434 New statusbar to show progress on idle. Two new jobs -
1435 xfer job and load job to load document in background. And update
1436 of page_cache clients to new location of code.
1438 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1440 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1441 selection in open dialog. It also remembers the last visited directory
1442 in the current session.
1444 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1446 * shell/ev-properties.c: (ev_properties_new):
1447 * shell/ev-properties.h:
1448 * shell/ev-window.c: (ev_window_cmd_file_properties):
1450 Get document info from page cache instead of document itself.
1451 This should fix crash related to race conditions described in
1454 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1456 * ps/ps-document.c: (ps_document_init),
1457 (send_ps), (get_page_box), (output), (catchPipe), (input),
1458 (stop_interpreter), (file_length), (file_readable),
1459 (check_filecompressedb), (ps_document_enable_interpreter),
1460 (document_load), (ps_async_renderer_render_pixbuf):
1463 Big cleanup of the ps code
1465 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1467 * backend/Makefile.am:
1468 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1469 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1470 * backend/ev-async-renderer.h:
1472 Add an async renderer interface (method + callback) which
1473 is useful for backends like ps.
1475 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1476 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1477 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1478 (ev_job_queue_add_job), (move_job_async), (move_job),
1479 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1481 Add queues for async renderer, these are executed on the
1484 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1485 (ev_job_render_run):
1486 * backend/ev-jobs.h:
1488 If the backend support async renderer interface use it.
1490 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1491 (setup_pixmap), (ps_document_get_type),
1492 (ps_async_renderer_render_pixbuf),
1493 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1495 Implement async renderer interface.
1497 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1499 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1501 Cleanup links job on exit.
1503 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1505 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1506 (drag_data_get_cb), (drag_data_received_cb):
1507 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1508 (drag_data_get_cb), (parse_item_list),
1509 (egg_toolbar_editor_load_actions):
1510 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1511 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1512 (parse_item_list), (parse_toolbars):
1513 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1514 (dvi_pixbuf_put_pixel):
1516 Fix gcc 4.0 warnings
1518 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1520 * ps/ps-document.c: (start_interpreter):
1522 Fix warning when loading ps
1524 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1526 * ps/ps-document.c: (output):
1528 Fix crash when priting gs error messages.
1530 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1532 * backend/ev-page-cache.c: (_ev_page_cache_new):
1533 * backend/ev-page-cache.h:
1535 Use a const to return title so that we dont double
1536 free it. Small cleanup and fix a leak.
1538 * shell/ev-window.c: (update_window_title):
1540 strdup value from get_title.
1542 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1544 * shell/ev-sidebar-links.c: (job_finished_callback),
1545 (ev_sidebar_links_set_document):
1547 Cleanup the old job when changing document
1549 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1551 * shell/ev-stock-icons.c:
1552 * shell/ev-stock-icons.h:
1553 * shell/ev-window.c:
1555 Add stock icons for actions that can appear in toolbar. Fix for
1558 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1560 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1561 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1562 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1563 * backend/ev-page-cache.h:
1564 * shell/ev-view.c: (scroll_to_current_page),
1565 (view_update_range_and_current_page), (get_page_y_offset),
1566 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1567 (ev_view_size_request_continuous),
1568 (ev_view_zoom_for_size_continuous_and_dual_page),
1569 (ev_view_zoom_for_size_continuous):
1571 More compact EvView layout in document with pages of different size.
1573 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1575 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1578 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1580 * shell/ev-view.c: (view_set_adjustment_values):
1581 * shell/ev-window.c: (ev_window_cmd_file_properties):
1583 A bit different fix for rounding problem but it has no
1584 problems on startup. Make properties window transient to parent.
1586 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1588 * pdf/ev-poppler.cc:
1590 More commenting of font stuff.
1592 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1594 * pdf/ev-poppler.cc:
1596 Comment out some more fonts stuff. Should really
1597 work without the poppler patch now.
1599 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1601 * pdf/ev-poppler.cc:
1605 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1607 * data/evince-properties.glade:
1608 * pdf/ev-poppler.cc:
1609 * shell/ev-properties.c: (setup_fonts_view):
1611 Set the column title. Show the dialog only
1612 once everything is setup.
1613 Getting font info can be very slow... will
1614 prolly need to make this threaded too.
1616 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1618 * backend/Makefile.am:
1619 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1620 (ev_document_fonts_get_fonts_model):
1621 * backend/ev-document-fonts.h:
1622 * data/evince-properties.glade:
1623 * pdf/ev-poppler.cc:
1624 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1625 * shell/ev-properties.h:
1626 * shell/ev-window.c: (ev_window_cmd_file_properties):
1628 Implement fonts list. Defined out for now, since it depends
1629 on a not yet committed poppler patch.
1631 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1633 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1636 * shell/ev-window.c: Make sure we add the timeout when we get a
1639 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1640 adjustment->value before calculating the zoom factor to average
1641 out all of our rounding errors. The page no longer 'drifts' when
1644 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1646 * data/evince-properties.glade:
1647 * shell/ev-properties.c: (ev_properties_format_date),
1650 Labels don't expand when the dialogue is resized.
1651 strftime result needs to be converted to UTF-8. Thanks
1652 to Christian Persch <chpe@gnome.org>.
1654 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1656 * data/evince-properties.glade:
1660 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1662 * backend/ev-document-info.h:
1663 * backend/ev-document.c: (ev_document_info_free):
1664 * data/evince-properties.glade:
1665 * pdf/ev-poppler.cc:
1666 * ps/ps-document.c: (ps_document_get_info):
1667 * shell/ev-properties.c: (ev_properties_format_date),
1668 (set_property), (ev_properties_new):
1669 * shell/ev-properties.h:
1670 * shell/ev-window.c: (ev_window_cmd_file_properties):
1672 Rework properties code to take only EvPropertyInfo
1673 in the constructor so that it can be useful for
1674 nautilus plugin too.
1676 Deal with backends that doesnt support some properties.
1677 Make set property code generic.
1679 2005-06-04 Christian Persch <chpe@gnome.org>
1681 * data/evince-properties.glade:
1683 fix spacings, make resizeable, and make data labels
1684 selectable + ellipsised
1686 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1688 * backend/ev-document-info.h:
1690 * data/evince-ui.xml:
1691 * pdf/ev-poppler.cc:
1692 * shell/Makefile.am:
1693 * shell/ev-window.c: (update_action_sensitivity),
1694 (ev_window_cmd_file_properties):
1696 Initial go at file properties. Patch by
1697 Emil Soleyman-Zomalan <emil@soleyman.com>.
1698 Needs love see #169583
1700 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1702 * ps/ps-document.c: (output):
1703 * ps/ps.c: (psscan):
1705 Try to render even if psscan fails.
1707 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1709 * ps/ps.c: (psscan), (pscopydoc):
1711 Port buffered reading code from gv
1713 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1715 * ps/ps-document.c: (interpreter_message), (output):
1717 Do not fail on interpreter messages
1719 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1721 * backend/ev-document-misc.c:
1722 (ev_document_misc_get_thumbnail_frame):
1724 Pages can be 0 x 0, dont assert on this case
1726 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1728 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1729 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1731 Correctly manage our reference on document. Finally the reload
1732 huge leak is gone...
1734 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1736 * ps/ps-document.c: (ps_document_dispose):
1738 Forgot to chain it to the parent. Thanks chpe.
1740 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1742 * ps/ps-document.c: (ps_document_dispose),
1743 (ps_document_class_init), (stop_interpreter), (document_load):
1745 Cleanup dispose a bit. Dont leak the whole pixmap.
1747 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1749 * pdf/ev-poppler.cc:
1751 Release the poppler document on dispose
1753 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1755 * shell/ev-view.c: (ev_view_set_document):
1757 Release ref on the pixbuf cache when changing
1760 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1762 * ps/ps-document.c: (ps_document_get_info):
1766 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1768 * backend/ev-page-cache.c: (ev_page_cache_init),
1769 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1770 * backend/ev-page-cache.h:
1771 * shell/ev-page-action.c: (page_changed_cb):
1773 Set page action entry width depending on labels width. Fix
1776 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1778 * backend/ev-link.c: (ev_link_class_init):
1780 Allow -1 as page value (error)
1782 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1784 * shell/ev-sidebar-thumbnails.c:
1785 (ev_sidebar_thumbnails_set_document):
1786 * shell/ev-view.c: (scroll_to_current_page),
1787 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1788 (page_changed_cb), (on_adjustment_value_changed),
1789 (ev_view_set_document):
1791 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1794 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1797 * djvu/djvu-document.c: (djvu_document_get_page_size):
1799 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1802 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1804 * shell/ev-view.c (draw_one_page): modify the expose handling to
1807 * shell/ev-window.c (update_action_sensitivity): Respect
1808 permissions field. Kowtow to the man.
1810 * pdf/ev-poppler.cc: Get the permissions field.
1812 * tiff/*c: Make a tiny bit more robust.
1814 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1816 * djvu/djvu-document.c:
1818 Pop messages from djvu context message queue.
1820 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1822 * configure.ac, Makefile.am, shell/Makefile.am:
1823 * tiff/Makefile.am, shell/ev-document-types.c:
1825 Cleanup tiff configure checks. Fix for bug 305218.
1827 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1829 * configure.ac: Added "uk" to ALL_LINGUAS.
1831 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1833 * cut-n-paste/zoom-control/ephy-zoom.c:
1834 (ephy_zoom_get_changed_zoom_level):
1835 * cut-n-paste/zoom-control/ephy-zoom.h:
1836 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1837 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1838 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1839 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1840 (zoom_control_changed_cb), (ev_window_init):
1842 Fix minor points related to moving best fit up. Introduce
1843 "zoom" property and make zoom control change it's value on
1844 notify::zoom signals. Fix for 305080.
1846 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1848 * data/evince-ui.xml:
1849 * shell/ev-window.c: (set_view_actions_sensitivity):
1851 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1853 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1857 Depends on poppler 0.3.2
1859 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1861 * cut-n-paste/recent-files/egg-recent-item.c:
1862 (egg_recent_item_get_short_name):
1863 * cut-n-paste/toolbar-editor/Makefile.am:
1864 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1865 (new_pixbuf_from_widget):
1866 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1867 * cut-n-paste/toolbar-editor/egg-marshal.c:
1868 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1869 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1873 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1875 * tiff/tiff-document.c: Rough TIFF backend.
1877 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1881 * cut-n-paste/toolbar-editor/Makefile.am:
1885 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1887 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1888 (ev_view_find_next), (ev_view_find_previous):
1890 Remove the locks around get_n_results
1892 2005-05-21 Juerg Billeter <j@bitron.ch>
1894 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1896 Pass correct number of pages to poppler.
1898 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1902 * data/evince.desktop.in:
1903 * data/evince.desktop.in.in:
1906 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1908 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1910 * shell/ev-view.c: (view_update_adjustments),
1911 (view_set_adjustment_values): cast adjustmen->value to (int)
1912 before using it. Otherwise, we get off by a pixel in some
1915 (draw_one_page): Draw the border on expose.
1917 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1919 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1920 adjustment when the mode changes, #304923
1922 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1924 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1925 flickering on resize but still use gdk_window_scroll on
1928 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1930 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1933 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1935 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1936 second page on page_changed if possible, #304669
1938 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1940 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1941 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1943 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1946 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1947 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1948 (ev_view_zoom_for_size_presentation),
1949 (ev_view_zoom_for_size_continuous_and_dual_page),
1950 (ev_view_zoom_for_size_continuous),
1951 (ev_view_zoom_for_size_dual_page),
1952 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1954 * shell/ev-window.c: (update_view_size),
1955 (ev_window_sizing_mode_changed_cb):
1957 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1958 the scrollbars. It's not 100% right, but it's much closer. Kills
1959 an infinite loop, #304769
1962 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1964 * data/evince-ui.xml:
1965 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1966 * shell/ev-window.c: (set_view_actions_sensitivity):
1968 Make PgUp/Down behave like Space
1970 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1972 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1973 * backend/ev-ps-exporter.h:
1974 * pdf/ev-poppler.cc:
1975 * ps/ps-document.c: (ps_document_ps_export_begin):
1976 * shell/ev-print-job.c: (idle_print_handler):
1978 Adapt to new poppler api
1980 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1982 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1983 (ephy_zoom_control_init):
1985 Translate zoom levels
1987 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1989 * cut-n-paste/zoom-control/ephy-zoom.c:
1990 (ephy_zoom_get_zoom_level_index):
1992 Fix current zoom -> zoom control match
1994 2005-05-18 James Bowes <bowes@cs.dal.ca>
1996 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
1997 rather than the scrolled_window that it's in. Fixes bug #304655.
1999 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2001 * shell/ev-view.c: (view_update_adjustments),
2002 (view_set_adjustment_values), (view_update_range_and_current_page),
2003 (view_scroll_to_page), (set_scroll_adjustment),
2004 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2005 (ev_view_scroll), (ev_view_scroll_view),
2006 (ensure_rectangle_is_visible), (find_page_at_location),
2007 (get_link_at_location), (go_to_link), (status_message_from_link),
2008 (ev_view_size_request_continuous_dual_page),
2009 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2010 (ev_view_unrealize), (ev_view_expose_event),
2011 (ev_view_button_press_event), (ev_view_motion_notify_event),
2012 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2013 (draw_rubberband), (highlight_find_results), (draw_one_page),
2014 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2015 (ev_view_init), (find_changed_cb), (page_changed_cb),
2016 (on_adjustment_value_changed), (ev_view_new),
2017 (ev_view_set_document), (ev_view_set_zoom),
2018 (ev_view_set_continuous), (ev_view_set_dual_page),
2019 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2020 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2021 (ev_view_zoom_for_size_presentation),
2022 (ev_view_zoom_for_size_continuous_dual_page),
2023 (ev_view_zoom_for_size_continuous),
2024 (ev_view_zoom_for_size_dual_page),
2025 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2026 (ev_view_get_status), (ev_view_set_status),
2027 (update_find_status_message), (ev_view_get_find_status),
2028 (ev_view_set_find_status), (jump_to_find_result),
2029 (jump_to_find_page), (compute_selections), (clear_selection),
2030 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2031 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2032 (ev_view_update_primary_selection),
2033 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2035 * shell/ev-window.c: (ev_window_open_page_label),
2036 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2038 * shell/ev-window.h:
2039 * shell/main.c: (load_files):
2041 Massive code clean up from Nickolay Shmyrev. Keep page offset
2042 when resizing. Remove the bin_window(). Also, patch from James
2043 Bowes to fix command line page, #300641
2045 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2047 * data/evince-ui.xml:
2050 * shell/ev-window.c: (update_action_sensitivity):
2052 Get rid of View->Normal Size, it's just confusing
2054 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2056 * backend/ev-document-info.h:
2057 * backend/ev-document.c: (ev_document_info_free): Free the
2060 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2061 (clear_range), (add_range), (update_visible_range),
2062 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2063 (ev_sidebar_thumbnails_set_document):
2064 * shell/ev-window.c: (ev_window_setup_document): Only render the
2065 visible thumbnails. It takes an instant to render, but it uses
2068 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2070 * shell/ev-sidebar-links.c: (popup_menu_cb):
2074 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2077 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2078 (button_press_cb), (ev_sidebar_links_construct):
2080 Show the popup menu also on keybindings
2082 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2084 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2085 * shell/ev-window.h:
2087 Expose api to print a range (with dialog). Make private _print use
2090 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2091 (ev_sidebar_links_construct):
2093 Show a print context menu on linkx, it prints the selected
2096 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2098 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2101 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2107 * shell/ev-window.c: (build_comments_string),
2108 (ev_window_cmd_help_about):
2110 Show poppler version/backend and authors
2112 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2114 * cut-n-paste/zoom-control/ephy-zoom.c:
2115 (ephy_zoom_get_zoom_level_index):
2116 * cut-n-paste/zoom-control/ephy-zoom.h:
2118 Move the best fit items at the top of the list
2120 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2122 * shell/ev-marshal.list:
2123 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2124 (activate_cb), (match_selected_cb), (activate_link_cb),
2125 (connect_proxy), (ev_page_action_class_init):
2126 * shell/ev-page-action.h:
2128 Use signals to notify action activation. Hopefully
2129 I did not break completion since I cant test...
2131 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2132 (register_custom_actions):
2134 Connect to page selector actions and also grab focus on
2135 the view when activated.
2137 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2139 * pdf/ev-poppler.cc:
2140 * backend/ev-page-cache.c: make page size calculation consistent
2141 and set it to (int)( width * scale + 0.5). This makes the weird
2142 line going through the middle of the page go away.
2144 * shell/ev-view.c: move painting the background page after
2145 checking the expose area covers us.
2147 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2149 * data/evince-password.glade:
2151 Mark labels as not translatable. Fix for bug 302842.
2153 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2155 * configure.ac: Added "es" to ALL_LINGUAS.
2157 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2159 * data/evince-toolbar.xml:
2160 * shell/ev-window.c: (update_action_sensitivity),
2161 (ev_window_setup_document), (ev_window_set_page_mode),
2164 Remove some leftover code from jrb first continous
2165 attempt. Use the new actions, we still need good icons
2168 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2170 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2172 Update label when connecting proxy. Fix a warning with NULL
2175 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2177 * data/evince-ui.xml:
2178 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2179 * shell/ev-page-action.h:
2180 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2182 Add mnemonic for edit toolbar.
2183 ctrl+l focus the page entry.
2185 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2188 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2190 * shell/main.c: (main):
2192 Put the toolbar xml in evince own dot dir
2194 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2196 * shell/ev-window.c: (ev_window_init):
2198 Make the toolbar not removable
2200 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2202 * data/evince-ui.xml:
2203 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2204 * shell/ev-sidebar-links.h:
2205 * shell/ev-sidebar-thumbnails.c:
2206 (ev_sidebar_thumbnails_get_treeview):
2207 * shell/ev-sidebar-thumbnails.h:
2208 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2209 (ev_view_class_init):
2211 * shell/ev-window.c: (update_action_sensitivity),
2212 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2213 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2214 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2217 This is evil... Make space/backspace global accelerators but
2218 enable them only for some widgets (sidebars and view).
2219 I dont like it, but I dont know a better way... :/
2221 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2223 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2224 (ev_page_action_widget_finalize),
2225 (ev_page_action_widget_class_init), (update_page_cache):
2227 Keep a weak reference on proxy->page_cache so that we
2228 dont try to disconnect the signal if the object is already
2229 gone. Maybe there is a better way to cleanup reference handling
2230 in page action though...
2232 2005-05-10 Juerg Billeter <j@bitron.ch>
2234 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2235 * backend/ev-ps-exporter.h:
2236 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2237 * ps/ps-document.c: (ps_document_ps_export_begin):
2239 Change api to pass print range to ps_exporter_begin. The pdf backend
2240 requires this information.
2242 * shell/ev-print-job.c: (idle_print_handler):
2246 2005-05-10 Juerg Billeter <j@bitron.ch>
2248 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2249 (idle_print_handler)
2250 * shell/ev-window.c: (ev_window_print):
2252 Support printing page range, based on patch by Amaury Jacquot
2254 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2256 * data/evince-toolbar.xml:
2258 Add zoom control to available items
2260 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2262 * shell/ev-window.c: (update_action_sensitivity):
2264 Set slash action insensitive when appropriate
2266 2005-05-10 Christian Persch <chpe@gnome.org>
2268 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2270 Fix warning on the overflow menu
2272 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2274 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2276 Check for uri correctness/existence
2278 2005-05-09 Juerg Billeter <j@bitron.ch>
2280 * shell/ev-window.c: (using_postscript_printer):
2282 LPD printers use postscript, too
2284 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2286 * shell/ev-window.c: (register_custom_actions):
2288 The zoom one is actually sort of useful,
2291 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2293 * shell/ev-window.c: (register_custom_actions):
2295 Hide page/zoom controls from overflow, they
2298 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2300 * cut-n-paste/update-from-egg.sh:
2302 Share it between all cut-n-paste subdirs
2304 * cut-n-paste/recent-files/Makefile.am:
2306 Fix to use "global" update-from-egg.sh
2308 * cut-n-paste/recent-files/egg-recent-model.c:
2309 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2310 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2311 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2312 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2316 * cut-n-paste/toolbar-editor/Makefile.am:
2318 Fix to use "global" update-from-egg.sh
2320 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2324 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2327 * cut-n-paste/Makefile.am:
2328 * cut-n-paste/recent-files/Makefile.am:
2329 * cut-n-paste/toolbar-editor/.cvsignore:
2330 * cut-n-paste/toolbar-editor/Makefile.am:
2331 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2332 (egg_editable_toolbar_get_type), (get_toolbar_position),
2333 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2334 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2335 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2336 (set_item_drag_source), (create_item_from_action), (create_item),
2337 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2338 (popup_toolbar_context_menu_cb), (free_dragged_item),
2339 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2340 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2341 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2342 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2343 (item_added_cb), (item_removed_cb),
2344 (egg_editable_toolbar_construct),
2345 (egg_editable_toolbar_disconnect_model),
2346 (egg_editable_toolbar_deconstruct),
2347 (egg_editable_toolbar_set_model),
2348 (egg_editable_toolbar_set_ui_manager),
2349 (egg_editable_toolbar_set_property),
2350 (egg_editable_toolbar_get_property),
2351 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2352 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2353 (egg_editable_toolbar_new_with_model),
2354 (egg_editable_toolbar_get_edit_mode),
2355 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2356 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2357 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2358 (new_pixbuf_from_widget), (new_separator_pixbuf),
2359 (update_separator_image), (style_set_cb),
2360 (_egg_editable_toolbar_new_separator_image),
2361 (egg_editable_toolbar_get_model):
2362 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2363 * cut-n-paste/toolbar-editor/egg-marshal.c:
2364 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2365 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2366 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2367 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2368 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2369 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2370 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2371 (editor_drag_data_delete_cb), (drag_data_get_cb),
2372 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2373 (editor_create_item), (update_editor_sheet), (setup_editor),
2374 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2375 (parse_item_list), (model_has_action), (update_actions_list),
2376 (egg_toolbar_editor_load_actions):
2377 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2378 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2379 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2380 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2381 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2382 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2383 (egg_toolbars_model_add_separator), (impl_add_item),
2384 (parse_item_list), (egg_toolbars_model_add_toolbar),
2385 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2386 (impl_get_item_data), (impl_get_item_type),
2387 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2388 (egg_toolbars_model_init), (free_toolbar),
2389 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2390 (egg_toolbars_model_remove_toolbar),
2391 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2392 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2393 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2394 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2395 (egg_toolbars_model_get_item_data),
2396 (egg_toolbars_model_get_item_type):
2397 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2398 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2400 * data/evince-toolbar.xml:
2401 * data/evince-ui.xml:
2402 * data/hand-open.png:
2404 * shell/Makefile.am:
2405 * shell/ev-window.c: (update_chrome_visibility),
2406 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2407 (ev_window_dispose), (ev_window_init):
2409 Implement epiphany like toolbar editor. Based on patch by
2410 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2412 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2414 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2416 Use set_cursor instead of set_selection, so that
2417 the keyboard focus moves too.
2419 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2421 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2423 Fix infinite loop when loading Type1 fonts
2425 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2427 * data/evince-ui.xml:
2428 * shell/ev-window.c:
2432 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2436 Make --disable really disable
2438 2005-05-07 Juerg Billeter <j@bitron.ch>
2440 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2442 Compare page labels even without has_labels set, fixes setting page
2445 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2447 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2448 (ev_view_set_cursor), (ev_view_button_press_event),
2449 (ev_view_motion_notify_event), (ev_view_button_release_event),
2452 Implement middle button scrolling. Based on a patch
2453 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2455 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2457 * shell/ev-document-types.c: (get_slow_mime_type),
2458 (get_document_type_from_mime), (ev_document_type_lookup):
2459 * shell/ev-document-types.h:
2461 Change api to lookup from uri. Do fast lookup first, if the
2462 type is unknown try with data sniffing.
2464 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2465 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2469 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2471 * thumbnailer/Makefile.am:
2475 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2482 * data/evince-ui.xml:
2484 Hide presentation mode for now
2486 * shell/ev-view.c: (highlight_find_results):
2488 Show current find selection only on current page
2490 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2492 * shell/ev-view.c: (ev_view_select_all):
2494 Compute size of the actual page, not of
2497 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2499 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2500 (view_rect_to_doc_rect), (compute_selections),
2501 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2502 (ev_view_copy), (ev_view_primary_get_cb),
2503 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2504 (ev_view_button_press_event), (ev_view_motion_notify_event),
2505 (ev_view_button_release_event), (page_changed_cb):
2509 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2511 * shell/ev-view.c: (compute_border), (get_page_extents),
2512 (doc_rect_to_view_rect), (highlight_find_results),
2513 (ev_view_bin_expose), (ev_view_select_all),
2514 (ev_view_motion_notify_event), (update_find_status_message),
2515 (jump_to_find_result), (jump_to_find_page):
2517 First go at fixing search, still buggy
2519 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2521 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2522 dropdown box and button at the top of the sidebar.
2524 2005-05-02 James Bowes <bowes@cs.dal.ca>
2526 * configure.ac: Output zoom-control Makefile.
2527 * cut-n-paste/Makefile.am: build zoom-control subdir.
2528 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2529 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2530 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2531 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2532 * cut-n-paste/zoom-control/ephy-zoom.c:
2533 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2534 from epiphany, and modified to add a separator into the menu.
2535 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2536 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2537 zoom-control action.
2538 * shell/Makefile.am: Include zoom-control flags.
2539 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2540 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2541 (ev_view_zoom_for_size_presentation),
2542 (ev_view_zoom_for_size_continuous_and_dual_page),
2543 (ev_view_zoom_for_size_continuous),
2544 (ev_view_zoom_for_size_dual_page),
2545 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2546 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2547 ev_view_get_zoom and ev_view_get_sizing_mode.
2549 * shell/ev-window.c: (update_action_sensitivity),
2550 (update_sizing_buttons), (zoom_control_changed_cb),
2551 (register_custom_actions): Initialize and use the zoom-control
2554 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2556 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2557 preview cache back to 1. Don't know when it got set to 0.
2559 * shell/ev-view.c: (compute_border), (ev_view_realize),
2560 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2561 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2562 (ev_view_get_fullscreen), (ev_view_set_presentation),
2563 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2564 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2566 * shell/ev-window.c:
2567 (update_chrome_visibility),
2568 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2569 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2570 (update_document_mode), (ev_window_update_fullscreen_action),
2571 (ev_window_fullscreen), (ev_window_unfullscreen),
2572 (ev_window_cmd_view_fullscreen),
2573 (ev_window_update_presentation_action),
2574 (ev_window_run_presentation), (ev_window_stop_presentation),
2575 (ev_window_cmd_view_presentation), (ev_window_state_event),
2576 (ev_window_focus_in_event), (ev_window_focus_out_event),
2577 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2578 * data/evince-ui.xml: Initial presentation mode. We should
2579 probably hide this until it's done, as it's quite rough. Also,
2580 change full-screen to fullscreen and add two getters to EvView.
2582 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2584 * shell/ev-page-action.c: (update_page_cache),
2585 (ev_page_action_dispose):
2586 * shell/ev-window.c: (destroy_fullscreen_popup),
2587 (ev_window_create_fullscreen_popup):
2589 Use connect_object rather than explicitly
2590 disconnect on dispose.
2592 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2594 * shell/ev-page-action.c: (update_page_cache),
2595 (ev_page_action_dispose):
2597 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2599 * backend/ev-page-cache.c: (_ev_page_cache_new),
2600 (ev_page_cache_set_page_label),
2601 (ev_page_cache_has_nonnumeric_page_labels):
2602 * backend/ev-page-cache.h:
2603 * shell/ev-page-action.c: (update_pages_label):
2605 If all page labels are numeric, fallback to default
2606 way to display number of pages. See bug 173185.
2608 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2610 * shell/ev-page-action.c: (ev_page_action_dispose):
2611 * shell/ev-view.c: (view_update_range_and_current_page):
2612 * shell/ev-window.c: (ev_window_dispose):
2614 Set page on scroll in continuous mode. Fixes bug 301986.
2615 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2617 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2621 Require poppler 0.3.0
2623 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2625 * shell/Makefile.am, configure.ac: Fix build problems
2626 with t1lib. Bug 301996.
2628 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2630 * shell/ev-view.c: (ev_view_scroll_event):
2632 Scroll up increase zoom
2634 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2636 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2637 (ev_view_set_sizing_mode),
2638 (ev_view_zoom_for_size_continuous_and_dual_page),
2639 (ev_view_zoom_for_size_continuous):
2640 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2641 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2642 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2645 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2646 Fix for 165473 and 165472.
2648 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2651 * thumbnailer/Makefile.am:
2652 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2653 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2654 * thumbnailer/evince-thumbnailer.schemas.in:
2656 Make thumbnailer schemas translatable. Fix for bug 301773
2658 * thumbnailer/evince-thumbnailer-djvu.schemas:
2659 * thumbnailer/evince-thumbnailer-dvi.schemas:
2660 * thumbnailer/evince-thumbnailer.schemas:
2664 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2666 * shell/ev-view.c (ev_view_init): forgot to set this.
2668 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2670 * shell/ev-view.c: (find_page_at_location),
2671 (get_link_at_location),
2672 (ev_view_set_show_border), (ev_view_set_spacing),
2673 (ev_view_zoom_for_size_continuous_and_dual_page),
2674 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2675 Also, add a quick fix measuring of widths. Also, removed
2676 ev_view_set_spacing and ev_view_set_show_border.
2678 * shell/ev-window.c: (ev_window_unfullscreen),
2679 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2681 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2683 * shell/ev-view.c: (view_update_range_and_current_page),
2686 Fix crash on exit and scrolling to page in continuous view.
2688 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2691 * backend/ev-page-cache.c: (_ev_page_cache_new),
2692 (ev_page_cache_get_max_width_size),
2693 (ev_page_cache_get_max_height_size):
2694 * backend/ev-page-cache.h:
2695 * data/evince-ui.xml:
2696 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2697 * shell/ev-view.c: (view_update_adjustments),
2698 (view_update_range_and_current_page), (get_bounding_box_size),
2699 (ev_view_size_request_continuous_and_dual_page),
2700 (ev_view_size_request_continuous),
2701 (ev_view_size_request_dual_page),
2702 (ev_view_size_request_single_page), (ev_view_size_request),
2703 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2704 (ev_view_bin_expose), (ev_view_expose_event),
2705 (ev_view_set_property), (ev_view_get_property),
2706 (ev_view_class_init), (ev_view_init), (ev_view_new),
2707 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2708 (ev_view_set_dual_page), (ev_view_set_full_screen),
2709 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2710 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2711 (ev_view_zoom_out), (zoom_for_size_fit_width),
2712 (zoom_for_size_best_fit),
2713 (ev_view_zoom_for_size_continuous_and_dual_page),
2714 (ev_view_zoom_for_size_continuous),
2715 (ev_view_zoom_for_size_dual_page),
2716 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2717 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2719 * shell/ev-window.c: (update_action_sensitivity),
2720 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2721 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2722 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2723 (ev_window_cmd_view_zoom_out), (update_view_size),
2724 (ev_window_set_sizing_mode), (ev_window_init):
2726 Add Continuous and Dual page modes.
2728 2005-04-23 James Bowes <bowes@cs.dal.ca>
2730 * dvi/dvi-document.c: (dvi_document_load),
2731 (dvi_document_thumbnails_get_thumbnail),
2732 (dvi_document_init_params): Fix up some mixups between
2733 width and height to correct thumbnail rendering.
2735 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2737 * dvi/mdvi-lib/private.h:
2738 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2740 Suppess output for kpathsea during font generation. Thanks to
2743 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2750 * Makefile.am: fix distcheck.
2752 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2754 * shell/ev-sidebar-links.c: (selection_changed_callback),
2755 (update_page_callback), (row_activated_callback),
2756 (job_finished_callback), (ev_sidebar_links_set_document):
2758 Fix for bug #169901. Double click on links expands tree.
2760 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2762 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2763 hard-coded style. Fix for bug 170111
2765 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2767 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2770 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2772 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2774 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2776 * pdf/ev-poppler.cc:
2777 * shell/ev-view.c: (highlight_find_results):
2779 Fix find on single page documents
2781 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2783 * data/evince.schemas.in: fix for bug 301390
2785 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2787 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2788 (ev_view_zoom_out), (ev_view_zoom_normal):
2790 * shell/ev-window.c: (update_action_sensitivity),
2791 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2792 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2793 (ev_window_cmd_view_normal_size):
2795 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2796 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2799 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2803 Depend on 2.57, 2.59 doesnt seem to be necessary
2805 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2807 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2810 Put back total number of pages as (1 of 1234)
2812 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2814 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2817 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2818 function. This helps debugging.
2820 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2822 * djvu/djvu-document.c: (djvu_document_class_init),
2823 (djvu_document_get_info), (djvu_document_document_iface_init):
2824 * dvi/dvi-document.c: (dvi_document_class_init),
2825 (dvi_document_get_info), (dvi_document_document_iface_init):
2827 Dummy implementation of get_info method for dvi and djvu. Fix
2828 crashes with those backends
2830 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2832 * data/evince.desktop.in:
2834 Add application/x-gzpostscript
2836 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2838 * data/evince.schemas.in: Added real long descriptions,
2841 * README: Added actual text, closes bug 171869
2843 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2845 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2849 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2851 * backend/ev-document-info.h:
2853 s/GDate */GDate so we can just use g_free
2855 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2857 * shell/ev-window.c: (update_document_mode),
2858 (ev_window_setup_document):
2860 Show the window in fullscreen when specified by
2863 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2865 * backend/ev-document.c: (ev_document_class_init),
2866 (ev_document_get_info), (ev_document_render_pixbuf):
2867 * backend/ev-document.h:
2868 * backend/ev-page-cache.c: (_ev_page_cache_new):
2869 * pdf/ev-poppler.cc:
2870 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2871 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2872 * ps/ps-document.c: (ps_document_class_init), (document_load),
2873 (ps_document_get_info), (ps_document_document_iface_init):
2875 Remove get_title from the interface, we can just use document info
2877 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2879 * backend/Makefile.am:
2880 * backend/ev-document.c: (ev_document_render_get_info):
2881 * backend/ev-document.h:
2882 * pdf/ev-poppler.cc:
2884 Initial support for document info. Based on jrb patch.
2886 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2888 * shell/ev-window.c: (ev_window_state_event),
2889 (ev_window_class_init), (ev_window_init):
2891 Doesn't show resize grip when maximized. See bug #301053
2893 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2897 ev-sidebar-thumbnails now has translatable labels
2899 * shell/Makefile.am:
2900 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2901 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2902 (ev_sidebar_links_page_iface_init):
2903 * shell/ev-sidebar-links.h:
2904 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2905 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2906 (ev_sidebar_page_get_label):
2907 * shell/ev-sidebar-page.h:
2908 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2909 (ev_sidebar_thumbnails_set_document),
2910 (ev_sidebar_thumbnails_support_document),
2911 (ev_sidebar_thumbnails_get_label),
2912 (ev_sidebar_thumbnails_page_iface_init):
2913 * shell/ev-sidebar-thumbnails.h:
2914 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2915 (ev_sidebar_set_document):
2916 * shell/ev-sidebar.h:
2917 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2919 Small rework of sidebar code. Now sidebar pages should implement
2920 EvSidebarPage interface. That makes page management in EvSidebar
2921 easier. See bug #164811 for details
2923 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2925 * shell/ev-application.c: (ev_application_open):
2926 * shell/ev-document-types.c:
2928 Fix build error and small problem with application exit
2930 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2932 * thumbnailer/Makefile.am:
2933 * thumbnailer/evince-thumbnailer-djvu.schemas:
2934 * thumbnailer/evince-thumbnailer-dvi.schemas:
2936 Conditionally install schemas for djvu/dvi thumbnailer
2938 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2940 * shell/ev-document-types.h:
2941 * shell/ev-document-types.c:
2942 New files, handling the mapping from mimetypes to backends
2944 * shell/ev-window.c:
2945 * thumbnailer/evince-thumbnailer.c:
2946 Use the ev-document-types code
2948 * shell/Makefile.am:
2949 Added new convenience library libevbackendfactory_la, containing
2950 the new mimetype->backend logic; moved the backends into it.
2952 * thumbnailer/Makefile.am:
2953 Make the thumbnailer link with the libevbackend.la convenience
2954 library, rather than having a duplicate of the backend logic here.
2956 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2958 * shell/ev-stock-icons.c: constify some vars.
2959 * shell/ev-window.c: ditto.
2961 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2963 * ps/ps-document.c (get_page_orientation):
2965 Respect document orientation
2967 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2971 * shell/Makefile.am:
2973 Move library dependencies to components.
2975 * shell/ev-window.c: (update_window_title),
2976 (start_loading_document):
2978 Fix display of uris with spaces. Bug 168358.
2980 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2982 * shell/ev-sidebar-links.c: (selection_changed_cb):
2983 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2984 (ev_view_button_release_event), (ev_view_set_document):
2986 * shell/ev-window.c: (find_bar_search_changed_cb):
2987 * shell/ev-window.h: Minor cleanups removing some dead code.
2989 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2991 * backend/ev-page-cache.c: (_ev_page_cache_new):
2993 Set current page to 0 if document has pages.
2995 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2997 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2999 Initialize GError to NULL, fix a crash when loading fails.
3001 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3003 * shell/ev-window.c: (update_view_size):
3005 Calculate shadow size only when there is actually
3008 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3010 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3013 Allow setting view spacing, default to 0
3015 * shell/ev-window.c: (ev_window_unfullscreen),
3016 (ev_window_cmd_view_fullscreen), (ev_window_init):
3018 Remove spacing in fullscreen mode
3020 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3022 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3023 (ev_view_size_request), (expose_bin_window),
3024 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3026 * shell/ev-window.c: (ev_window_unfullscreen),
3027 (ev_window_cmd_view_fullscreen):
3029 Do not draw the border in fulscreen
3031 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3033 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3034 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3035 (find_page_at_location), (page_changed_cb):
3037 Rework border calculation, so that I can more easily disable it.
3038 Code somewhat cleaner too.
3040 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3042 * backend/ev-page-cache.c: (ev_page_cache_init),
3043 (_ev_page_cache_new):
3045 Remove some assertions, documents can have 0 pages.
3046 Make initial current page -1.
3048 * shell/ev-page-action.c: (page_changed_cb):
3050 Show "" if current page is -1
3052 * shell/ev-window.c: (update_action_sensitivity),
3053 (ev_window_setup_document):
3055 When document has 0 pages do not set the view
3056 and make nearly everything insensitive.
3058 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3060 * shell/ev-page-view.c:
3061 * shell/ev-page-view.h:
3063 Remove unused files.
3065 * shell/ev-sidebar-thumbnails.c:
3066 (ev_sidebar_thumbnails_set_document):
3067 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3068 (ev_sidebar_supports_document):
3069 * shell/ev-sidebar.h:
3070 * shell/ev-window.c: (ev_window_setup_document):
3072 Doesn't show thumbnails if document has 1 page. Make
3073 sidebar menu entries sensitive only if if they have
3074 sense. Fix bug 164811.
3076 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3078 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3079 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3080 (ev_view_zoom_out), (ev_view_set_size):
3082 Rework sizing to deal with documents with not uniform page
3085 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3087 * backend/ev-page-cache.c: (_ev_page_cache_new):
3089 Fix several page size caching bugs
3091 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3093 * shell/ev-window.c: (set_action_properties):
3095 Make all toolbar items translatable
3097 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3099 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3100 (save_page_list), (ps_document_save),
3101 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3102 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3103 (ps_document_ps_exporter_iface_init):
3106 Based on a patch by J�rg Billeter <j@bitron.ch>
3108 Implement print and save a copy for the ps backend.
3110 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3112 * backend/ev-document.h:
3113 * djvu/djvu-document.c: (djvu_document_can_get_text),
3114 (djvu_document_document_iface_init):
3115 * dvi/dvi-document.c: (dvi_document_can_get_text),
3116 (dvi_document_document_iface_init):
3117 * pdf/ev-poppler.cc:
3118 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3119 (pixbuf_document_document_iface_init):
3120 * ps/ps-document.c: (ps_document_can_get_text),
3121 (ps_document_document_iface_init):
3122 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3123 * shell/ev-window.c: (update_action_sensitivity):
3125 Fix the crash when trying to copy in backends that doesnt
3126 support it. We can implement a better solution once we
3127 do real text selection.
3129 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3131 * data/evince-ui.xml:
3132 * shell/ev-window.c: (ev_window_cmd_escape):
3134 Work around the Escape conflict (find bar and unfullscreen)
3136 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3138 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3140 Fix for #300233. Next page correctly handles document end.
3142 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3143 (ev_sidebar_thumbnails_class_init),
3144 (ev_sidebar_thumbnails_set_document),
3145 (ev_sidebar_thumbnails_clear_job),
3146 (ev_sidebar_thumbnails_clear_model):
3148 Cleanup thumbnail jobs on document changes.
3150 * shell/ev-view.c: (add_scroll_binding_keypad),
3151 (add_scroll_binding_shifted), (ev_view_class_init):
3153 Shift + Space scrolls up. Fix for #173184
3155 * shell/ev-window.c: (ev_window_open_page),
3156 (ev_window_cmd_view_reload):
3158 Fix reload (Bug #300094)
3160 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3163 * dvi/mdvi-lib/assoc.c:
3164 * dvi/mdvi-lib/assoc.h: Removed garbage files
3166 * dvi/mdvi-lib/bitmap.c:
3167 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3168 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3169 * dvi/mdvi-lib/color.h: Antialias of rules
3171 * dvi/mdvi-lib/common.h:
3172 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3173 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3174 * dvi/mdvi-lib/files.c:
3175 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3176 * dvi/mdvi-lib/mdvi.h:
3177 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3178 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3179 * dvi/mdvi-lib/util.c: Fix compile warnings
3181 * dvi/dvi-document.c:
3182 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3183 (dvi_document_thumbnails_get_thumbnail),
3184 (dvi_document_document_thumbnails_iface_init):
3185 * dvi/mdvi-lib/Makefile.am:
3186 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3187 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3189 Dvi backend now renders thumbnails
3191 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3193 * shell/main.c: (main):
3195 Save accelerators on exit. Fixes bug #172095.
3197 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3199 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3200 update priority" comment.
3202 * backend/ev-job-queue.c: Give a way to change priority.
3204 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3206 * shell/ev-page-action.c: Fix logic.
3208 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3210 * shell/ev-view.c: (ev_view_can_find_next):
3211 * shell/ev-window.c: (ev_window_setup_document):
3213 Check that the document supports find
3215 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3217 * data/evince-ui.xml:
3218 * shell/ev-view.c: (ev_view_can_find_next):
3220 * shell/ev-window.c: (update_action_sensitivity),
3221 (find_changed_cb), (ev_window_setup_document),
3222 (ev_window_cmd_edit_find_next):
3226 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3228 * pdf/ev-poppler.cc:
3229 * shell/ev-print-job.c: (idle_print_handler):
3231 Make printing work again
3233 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3235 * shell/ev-page-action.h:
3236 * shell/ev-page-action.c: (ev_page_action_widget_init),
3237 (ev_page_action_widget_class_init), (page_changed_cb),
3238 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3239 (get_filter_model_from_model), (match_selected_cb),
3240 (display_completion_text), (match_completion), (update_model),
3241 (connect_proxy), (ev_page_action_set_property),
3242 (ev_page_action_get_property), (ev_page_action_set_document),
3243 (ev_page_action_set_model), (ev_page_action_class_init): Big
3244 reworking to make completions work iff we have >= GTK-2.7.0
3246 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3247 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3248 (job_finished_cb): We now have a 'model' property that is set when
3249 the links are loaded. This can be caught with "notify::model"
3251 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3252 listen for the model to be set, and propagate it to the action.
3254 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3256 * cut-n-paste/recent-files/egg-recent-item.c:
3257 (egg_recent_item_set_uri), (make_valid_utf8),
3258 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3259 * cut-n-paste/recent-files/egg-recent-item.h:
3261 Update egg-recent from libegg. This should fix long
3262 startup problem. For details see
3263 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3265 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3267 * cut-n-paste/recent-files/Makefile.am:
3268 * data/evince-ui.xml, shell/Makefile.am:
3269 * shell/ev-application.c, shell/ev-application.h:
3270 * shell/ev-window.c: Recent files support.
3272 * configure.ac: Added "ru" to ALL_LINGUAS.
3274 * dvju: new backend to support DJVU files.
3275 * dvi: new backend to support DVI.
3277 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3278 * ev-application.c: Support for new backends.
3280 * help, ev-window.c, main.c shell/Makefile.am:
3281 Evince user documentation.
3283 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3286 * shell/ev-window.c:
3287 * thumbnailer/evince-thumbnailer.c:
3289 s/pdf-document/ev-poppler
3291 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3298 * ps/ps-document.c: (setup_pixmap):
3302 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3304 * backend/ev-page-cache.c (ev_page_cache_next_page):
3305 * shell/ev-window.c (ev_window_cmd_go_next_page)
3306 (ev_window_cmd_go_first_page): Fix of by one errors.
3308 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3310 * ps/ps-document.c: (get_page_box):
3312 Fix page size calculation
3314 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3316 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3317 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3318 (get_page_orientation), (setup_page), (document_load),
3319 (ps_document_get_page_size), (render_pixbuf_idle):
3322 More refactoring to adapt to EvDocument changes
3324 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3326 * ps/ps-document.c: (start_interpreter):
3328 Actually add alpha args
3330 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3332 * pdf/ev-poppler.cc:
3334 Make clipboard work again
3336 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3338 Make searching work again.
3340 * backend/ev-document.c:
3341 * backend/ev-document.h:
3342 * backend/ev-document-find.c:
3343 * backend/ev-document-find.h: Change EvDocumentIface so we no
3344 longer store the current page or zoom level in the document. The
3345 consequence is that all calls that operate on the current page now
3346 instead take the page number as an extra argument, and all
3347 coordinates are now doubles in document coordinate system.
3349 * pdf/ev-poppler.cc:
3350 * pixbuf/pixbuf-document.c:
3351 * ps/ps-document.c: Update backends accordingly.
3353 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3357 Add required gettext version
3359 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3361 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3362 make F1 bring up non-existent help.
3364 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3365 epiphany's find bar, #167477
3367 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3368 <emil@nishra.com> to add space-bar scrolling,
3370 * shell/ev-window.c (static GtkActionEntry entries): add default
3371 keybinding for Help (F1)
3374 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3375 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3378 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3381 * pixbuf/pixbuf-document.c:
3383 Got pixbuf backend working again
3385 2005-04-01 Steve Murphy <murf@e-tools.com>
3387 * configure.in: Added "rw" to ALL_LINGUAS.
3389 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3391 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3392 model types, noticed by Martin Kretzschmar.
3394 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3396 * pdf/ev-poppler.cc: Implement search based on
3397 poppler_page_find_text(). Currently a bit crude since we remember
3398 all matches from all pages. Also, we grab the big document lock
3399 when we search since searching changes the underlying stream and
3400 thus conflicts with the rendering thread.
3402 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3403 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3404 (ev_view_find_previous): Fix some page indexes to be 0 based,
3405 offset rubber band by view offset,
3407 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3409 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3411 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3413 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3414 completely because I didn't understand GtkActions. I should
3415 read Marco's code more carefully in the future.
3417 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3420 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3422 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3423 PopplerRectangle change from poppler CVS.
3425 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3427 * backend/ev-document.c: (ev_document_get_page_label):
3428 * backend/ev-document.h:
3429 * backend/ev-page-cache.c: (_ev_page_cache_new),
3430 (ev_page_cache_get_page_label):
3431 * backend/ev-page-cache.h:
3432 * pdf/ev-poppler.cc:
3433 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3434 (links_page_num_func):
3435 * shell/ev-sidebar-thumbnails.c:
3436 (ev_sidebar_thumbnails_set_document):
3437 * shell/ev-view.c: (status_message_from_link),
3438 (ev_view_motion_notify_event):
3439 * shell/ev-window.c: (document_supports_sidebar): Add in page
3440 label support. It's not perfect yet, but it's the first 'feature'
3442 Also, fix a bogus comment noticed by crispin.
3444 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3446 * Makefile.am: Remove pixbuf backend for now
3448 * configure.ac: Require poppler-glib instead of just poppler.
3450 * backend/ev-document-thumbnails.h: Add a comment
3452 * backend/ev-document.h:
3453 * backend/ev-document.c: (ev_document_class_init),
3454 (ev_document_load), (ev_document_get_link),
3455 (ev_document_get_links): Remove 3 methods and add get_links.
3458 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3459 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3461 * backend/ev-link.c: (ev_link_set_title),
3462 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3463 (ev_link_mapping_find):
3464 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3466 * backend/ev-page-cache.c: (ev_page_cache_init),
3467 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3468 (ev_page_cache_get_size), (ev_page_cache_next_page),
3469 (ev_page_cache_prev_page): Fix to be 0 based.
3473 * pdf/ev-poppler.cc: New backend.
3475 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3476 (ps_document_get_page), (ps_document_document_iface_init):
3478 * shell/ev-pixbuf-cache.h:
3479 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3480 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3481 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3482 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3483 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3484 Fix up code to grab a page cache per each doc. Also, fix to be 0
3487 * shell/ev-sidebar-thumbnails.c:
3488 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3489 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3491 * shell/ev-view.c: (status_message_from_link),
3492 (find_page_at_location), (get_link_at_location),
3493 (ev_view_motion_notify_event), (ev_view_button_release_event),
3494 (ev_view_init): Use the new link code. Fix to be 0 based.
3496 * shell/ev-window.c: (update_action_sensitivity),
3497 (document_supports_sidebar): 0 based.
3499 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3501 * pdf/pdf-document.cc: Patch from Fernando Herrera
3502 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3505 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3507 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3508 1 to the page, as this seems to be 1 based. I thought we has this
3511 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3514 * backend/Makefile.am:
3515 * backend/ev-document-links.c:
3516 (ev_document_links_has_document_links),
3517 (ev_document_links_get_links_model):
3518 * backend/ev-document-links.h:
3519 * backend/ev-document.c: (ev_document_get_page_cache),
3520 (ev_document_get_doc_mutex), (ev_document_load),
3521 (ev_document_save), (ev_document_get_title),
3522 (ev_document_get_n_pages), (ev_document_set_page),
3523 (ev_document_get_page), (ev_document_set_target),
3524 (ev_document_set_scale), (ev_document_set_page_offset),
3525 (ev_document_get_page_size), (ev_document_get_text),
3526 (ev_document_get_link), (ev_document_render),
3527 (ev_document_render_pixbuf), (ev_document_scale_changed):
3528 * backend/ev-document.h:
3529 * backend/ev-job-queue.c: (remove_object_from_queue),
3530 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3531 (no_jobs_available_unlocked), (ev_render_thread),
3532 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3533 (ev_job_queue_remove_job):
3534 * backend/ev-job-queue.h:
3535 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3536 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3537 (ev_job_links_class_init), (ev_job_render_init),
3538 (ev_job_render_dispose), (ev_job_render_class_init),
3539 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3540 (ev_job_thumbnail_class_init), (ev_job_finished),
3541 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3542 (ev_job_render_run), (ev_job_thumbnail_new),
3543 (ev_job_thumbnail_run):
3544 * backend/ev-jobs.h:
3545 * backend/ev-link.c:
3546 * backend/ev-link.h:
3547 * backend/ev-page-cache.c: (ev_page_cache_init),
3548 (ev_page_cache_class_init), (ev_page_cache_finalize),
3549 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3550 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3551 (ev_page_cache_set_link), (ev_page_cache_get_title),
3552 (ev_page_cache_get_size), (ev_page_cache_next_page),
3553 (ev_page_cache_prev_page):
3554 * backend/ev-page-cache.h:
3555 * pdf/pdf-document.cc:
3558 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3559 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3560 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3561 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3562 (is_interpreter_ready), (output), (catchPipe), (input),
3563 (start_interpreter), (check_filecompressed), (compute_dimensions),
3564 (ps_document_enable_interpreter), (document_load),
3565 (ps_document_next_page), (render_page), (ps_document_set_page),
3566 (ps_document_set_scale), (render_pixbuf_idle),
3567 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3569 * shell/Makefile.am:
3570 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3571 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3572 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3573 (ev_pixbuf_cache_new), (job_finished_cb),
3574 (check_job_size_and_unref), (move_one_job),
3575 (ev_pixbuf_cache_update_range), (find_job_cache),
3576 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3577 (ev_pixbuf_cache_add_jobs_if_needed),
3578 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3579 * shell/ev-pixbuf-cache.h:
3580 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3581 (idle_print_handler):
3582 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3583 (selection_changed_cb), (create_loading_model),
3584 (ev_sidebar_links_construct), (links_page_num_func),
3585 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3586 (update_page_callback), (job_finished_cb),
3587 (ev_sidebar_links_set_document):
3588 * shell/ev-sidebar-thumbnails.c:
3589 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3590 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3591 (page_changed_cb), (thumbnail_job_completed_callback),
3592 (ev_sidebar_thumbnails_set_document):
3593 * shell/ev-sidebar-thumbnails.h:
3594 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3595 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3596 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3597 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3598 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3599 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3600 (ev_view_button_release_event), (ev_view_scroll_view),
3601 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3602 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3603 (ev_view_new), (job_finished_cb), (page_changed_cb),
3604 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3605 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3606 (ev_view_find_previous):
3608 * shell/ev-window.c: (update_action_sensitivity),
3609 (ev_window_open_page), (update_window_title), (update_total_pages),
3610 (page_changed_cb), (ev_window_setup_document),
3611 (password_dialog_response), (ev_window_cmd_save_as),
3612 (ev_window_print), (ev_window_cmd_go_previous_page),
3613 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3614 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3615 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3616 * shell/main.c: (main):
3618 Merge evince-threads branch
3620 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3622 * configure.ac: Added "lt" to ALL_LINGUAS.
3624 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3631 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3633 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3635 Fix here also the thumbnails 1-basedness :)
3637 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3644 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3646 * pdf/pdf-document.cc:
3647 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3648 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3650 Fix the mess we did with thumbnails and 1-basedness
3652 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3654 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3656 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3663 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3666 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3667 (gtk_gs_defaults_get_alpha_parameters),
3668 (gtk_gs_defaults_get_ungzip_cmd),
3669 (gtk_gs_defaults_get_unbzip2_cmd):
3671 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3672 (ps_document_get_orientation), (document_load),
3673 (ps_document_goto_page), (ps_document_set_page_size):
3676 Some more sanitization of the ps backend. Remove a lot
3677 of unused code and do not base our defaults on ggv
3680 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3682 * thumbnailer/evince-thumbnailer.schemas:
3683 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3684 (main): add -s option for thumbnail size.
3686 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3690 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3693 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3695 * pdf/pdf-document.cc:
3697 Remove 4 pixels of useless border from the
3700 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3702 * backend/ev-document-thumbnails.c:
3703 (ev_document_thumbnails_get_thumbnail):
3704 * backend/ev-document-thumbnails.h:
3706 Rework API a bit. Add a border flag and
3707 change sizing logic (now the size we specify
3708 applies to the bigger dimension).
3710 * pdf/pdf-document.cc:
3711 * pixbuf/pixbuf-document.c:
3712 (pixbuf_document_thumbnails_get_thumbnail):
3713 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3714 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3716 Adapt to the new API and do not draw a border for nautilus
3719 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3721 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3722 take thumbnails from page "0" instead of "1". Added a copyright header.
3724 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3726 * ps/ps-document.c: (set_up_page), (start_interpreter):
3728 Make it C89 compliant
3730 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3735 * pdf/pdf-document.cc:
3736 * thumbnailer/Makefile.am:
3737 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3739 * thumbnailer/evince-thumbnailer.schemas:
3740 * thumbnailer/pdf-icon.png:
3742 Add a nautilus thumbnailer.
3743 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3745 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3753 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3755 Use poppler instead of including xpdf source code. Poppler is a
3756 fork of xpdf to build it as a shared library. See
3757 http://freedesktop.org/wiki/Software/poppler.
3759 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3762 * pdf/Makefile.am: Build libpdfdocument.a here.
3764 * pdf/GDKSplashOutputDev.cc:
3765 * pdf/GDKSplashOutputDev.h:
3766 * pdf/GnomeVFSStream.cc:
3767 * pdf/GnomeVFSStream.h:
3770 * test-gdk-output-dev.cc
3772 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3775 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3777 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3779 Clear idle stack before unsetting the document
3781 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3783 * ps/ps-document.c: (ps_document_widget_event),
3784 (ps_document_set_target), (ps_document_finalize),
3785 (ps_document_get_page):
3787 Disconnect the widget event signal on finalize.
3790 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3792 * ps/ps-document.c: (set_up_page):
3794 If there is no bpixmap create one, even if size
3797 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3799 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3800 (set_up_page), (document_load), (ps_document_set_zoom):
3802 Default page is 0. Calculate size even when we have no
3805 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3807 * shell/ev-sidebar.c: expand the selection widget to be always as
3810 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3812 * shell/ev-sidebar-thumbnails.c:
3813 (ev_sidebar_thumbnails_set_document):
3815 Clear the list store when setting document
3817 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3819 * shell/ev-page-action.c: (update_entry), (sync_entry),
3820 (activate_cb), (entry_size_request_cb), (create_tool_item),
3823 Use an entry for the page control instead of spinbuttons
3825 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3827 * data/evince.schemas.in:
3829 Correct confusing string
3831 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3833 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3834 for real. Gosh, how long has this been broken.
3836 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3837 check for a NULL link. We crash otherwise.
3839 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3846 2005-02-25 Sebastien Bacher <seb128@debian.org>
3848 * configure.ac: add the french translation.
3850 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3852 * shell/ev-window.c:
3854 Remove unused header -> fix distcheck
3856 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3858 * shell/ev-window.c: (update_window_title),
3859 (ev_window_popup_password_dialog):
3861 Unescape filename for display
3863 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3865 * pdf/xpdf/pdf-document.cc:
3867 In get_page_size deal with rotation. Also
3868 cleanup the function a bit.
3870 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3872 * pdf/xpdf/pdf-document.cc:
3874 Fix crash when opening in new window
3876 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3880 Check ghostscript >= 7
3882 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3884 * shell/ev-window.c:
3886 Make page width the default sizing mode
3888 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3889 Marco Pesenti Gritti <marco@gnome.org>
3891 * shell/ev-window.c: Remember the sidebar size
3893 * data/evince.schemas.in: Add a new gconf key to store the size of
3896 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3898 * data/evince-ui.xml:
3899 * shell/ev-window.c: (update_action_sensitivity),
3900 (ev_window_cmd_view_reload):
3902 Add a "Reload" action and menu entry
3904 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3906 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3907 iff the type doesn't support thumbnailing and indexing.
3909 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3911 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3913 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3915 * pdf/splash/Splash.cc:
3917 Port fix for a crasher from kde bug
3918 http://bugs.kde.org/show_bug.cgi?id=97131
3920 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3922 * pdf/xpdf/pdf-document.cc:
3924 Return a link even if it's of an unrecognized
3925 type. Otherwise we go in an infinte cycle.
3927 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3929 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3930 (size_allocate_cb), (ev_window_set_sizing_mode):
3932 Update size when switching mode
3934 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3936 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3937 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3938 (ev_window_cmd_view_normal_size):
3940 Fix size toggle buttons behavior
3942 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3944 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3945 (doc_rect_to_view_rect), (ev_view_size_allocate),
3946 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3947 (scale_changed_callback):
3949 Do not cache offsets in size_allocate.
3951 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3953 * shell/ev-view.c: (ev_view_size_allocate):
3955 Calculate offsets before calling the parent
3956 class (which does a redraw)
3958 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3960 * pdf/xpdf/pdf-document.cc:
3962 Fix a crasher on exit. Unused code, put a TODO
3964 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3966 * backend/ev-document.c: (ev_document_class_init),
3967 (ev_document_page_changed), (ev_document_scale_changed):
3968 * backend/ev-document.h:
3970 Separate page/scale notifications
3972 * pdf/xpdf/pdf-document.cc:
3974 Emit the new signals.
3975 Do not display the pdf page in _render, do it
3976 when scale/page are requested.
3978 * ps/ps-document.c: (ps_document_set_zoom),
3979 (ps_document_widget_event):
3982 Emit the new signals.
3984 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3985 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3986 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3987 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3989 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3990 (ev_window_cmd_view_page_width), (size_allocate_cb),
3991 (ev_window_set_sizing_mode):
3993 Rework sizing to be pixel based.
3994 There are bugs but should be already way better.
3996 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
3998 * shell/ev-window.c: (ev_window_init):
4000 Do not allow to shrink sidebar smaller then
4003 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4005 * shell/ev-sidebar.[ch]
4006 * shell/ev-window.c:
4008 Improved sidebar widget. Fixes #166683
4010 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4012 * shell/ev-view.c (update_find_status_message): Give translators
4013 more flexibility with ngettext plural handling.
4015 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4017 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4018 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4019 page when we get the page size.
4021 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4023 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4025 ps pages are 0 based, convert
4027 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4029 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4031 Initialize correct parent class. Set GError on document load
4033 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4035 * pdf/xpdf/pdf-document.cc:
4037 Fixup selection offset calculation
4039 * shell/ev-view.c: (view_rect_to_doc_rect),
4040 (doc_rect_to_view_rect), (ev_view_size_allocate),
4041 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4042 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4044 Store selection as document relative, so that zooming
4045 and offset changing doesnt break it.
4047 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4049 * shell/ev-view.c: (ev_view_best_fit):
4051 Do not try to best fit if the view is not realized
4053 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4055 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4057 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4059 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4061 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4063 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4064 the popup window. That prevents it resizing when in full screen
4067 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4068 multiple rerenders. This pretty much sucks.
4070 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4071 rest of the toolbar.
4073 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4075 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4077 2005-02-17 Alexander Shopov <ash@contact.bg>
4079 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4081 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4083 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4085 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4087 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4088 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4089 (set_document_page), (document_changed_callback),
4090 (ev_view_set_document), (ev_view_find_previous),
4091 (ev_view_hide_cursor), (ev_view_show_cursor):
4093 * shell/ev-window.c: (update_chrome_visibility),
4094 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4095 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4096 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4097 (ev_window_unfullscreen):
4098 * shell/main.c: (main):
4100 Automatically hide the fullscreen button.
4101 Patch by Kristian Høgsberg <krh@redhat.com>
4103 2005-02-16 Vincent Noel <vnoel@cox.net>
4105 * shell/main.c (main): Specify an icon for the window. Patch by
4106 Jaap A. Haitsma. Fixes #166177.
4108 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4110 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4112 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4114 * backend/ev-document-misc.h:
4115 * backend/ev-document-misc.c:
4116 (ev_document_misc_get_page_border_size),
4117 (ev_document_misc_paint_one_page): New function to canonicalize
4118 sizing/painting a border.
4120 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4123 * pdf/xpdf/pdf-document.cc: use new function
4125 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4126 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4127 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4128 shell/ev-window.c: (update_sizing_buttons),
4129 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4130 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4131 (ev_window_cmd_view_page_width), (size_allocate_cb),
4132 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4133 and "fit width" values act as toggle buttons so they stay
4134 toggled. It's not 100% perfect, and it's a little slow, but it's
4135 good enough to commit I think.
4137 2005-02-15 David Lodge <dave@cirt.net>
4139 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4141 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4143 * shell/ev-window.c (update_window_title): replace newlines in
4144 the title by spaces. Bug #166107.
4146 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4148 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4149 parameters providing allocation width and height without
4150 scrollbars and width of a possible vertical scrollbar. With this
4151 additional information the functions can work as
4152 intended. Unfortunately they're not idempotent. We should
4153 transform these commands to toggles. Fixes Bug #164976
4154 Initial patch by Stephane Loeuillet, then heavily modified.
4156 * shell/ev-view.h: update prototypes.
4158 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4159 (ev_window_cmd_view_page_width): provide EvView fit functions with
4160 all the information they need. Formulas to calculate this
4161 information taken from GtkScrolledWindow.
4163 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4165 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4166 created a thumbnail, the list store is updated to know
4167 that the thumbnail is set. Fixes bug #166792
4169 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4171 * shell/ev-window.c: fixed typo, closes bug 166897
4173 * TODO: updated TODO with bug numbers that are relevant
4175 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4177 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4179 2005-02-09 Vincent Noel <vnoel@cox.net>
4181 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4182 and "Next" toolbar buttons as important to make them stand out.
4184 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4188 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4189 (start_interpreter), (stop_interpreter), (document_load),
4190 (ps_document_next_page), (ps_document_goto_page),
4191 (ps_document_set_page_size), (ps_document_widget_event),
4192 (ps_document_render):
4193 * shell/ev-page-view.c: (ev_page_view_dispose):
4194 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4196 Fix compilation on non-gcc platforms
4198 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4205 * pdf/xpdf/Catalog.cc:
4208 Fix the fix for CAN-2004-0888
4210 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4213 * data/evince-ui.xml:
4214 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4215 * shell/ev-stock-icons.h:
4216 * shell/ev-window.c: (update_action_sensitivity),
4217 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4218 (set_action_properties):
4220 Improve toolbar layout/icons
4222 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4224 * pdf/xpdf/pdf-document.cc:
4226 Add warnings about unimplemented/unknown link
4229 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4231 * ps/ps-document.c: (set_up_page):
4235 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4237 * ps/ps-document.c: (start_interpreter):
4241 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4243 * shell/ev-page-view.c: (ev_page_view_dispose):
4244 * shell/ev-view.c: (ev_view_finalize):
4245 * shell/ev-window.c: (ev_window_setup_document),
4246 (ev_window_dispose), (ev_window_init):
4248 Solve more refs issues.
4250 I commented out the page_view initialization for now:
4251 it was never destroyed (because it's never added
4252 to a container). Because of that we was leaking
4253 gs processes. Couldnt think to a clean fix.
4254 We need to figure this out, password view has the
4255 same issue probably.
4257 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4259 * ps/ps-document.c: (ps_document_finalize),
4260 (ps_document_get_n_pages), (ps_document_get_page):
4262 Some cleanups, stop the interpreter on finalize
4264 * shell/ev-page-view.c: (ev_page_view_dispose),
4265 (ev_page_view_class_init):
4267 Release our reference on the document
4269 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4273 * doc/debugging.txt:
4276 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4277 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4278 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4281 Add debugging helpers
4284 * ps/ps-document.c: (set_up_page), (start_interpreter),
4285 (stop_interpreter), (document_load), (ps_document_next_page),
4286 (ps_document_goto_page), (ps_document_set_page_size),
4287 (ps_document_widget_event), (ps_document_render):
4288 * shell/Makefile.am:
4289 * shell/ev-view.c: (expose_bin_window):
4290 * shell/main.c: (main):
4294 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4296 * ps/ps-document.c: (ps_document_widget_event):
4298 Initialize message_window, this should make ps
4299 rendering really work! (Never noticed because I was
4300 testing with a ps that is causing gs to exit every time!)
4302 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4304 * data/evince.schemas.in: updated simple error in applyto closing tag
4306 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4312 * data/evince-ui.xml:
4313 A data/evince.schemas.in:
4315 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4316 * shell/ev-stock-icons.h:
4317 * shell/ev-window.c: (update_chrome_visibility),
4318 (update_chrome_flag), (ev_window_cmd_edit_find),
4319 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4320 (ev_window_unfullscreen), (ev_window_focus_in_event),
4321 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4322 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4323 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4324 (ev_window_dispose), (ev_window_class_init),
4325 (set_action_properties), (set_chrome_actions), (load_chrome),
4328 Implement fullscreen mode changes from bug #164776.
4329 Also implement persistent chrome toggles.
4331 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4333 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4335 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4341 Add another check for find interface
4345 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4347 * shell/ev-application.c: (ev_application_open):
4348 * shell/ev-window.c: (ev_window_open):
4350 Open gzipped ps documents
4352 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4355 * shell/ev-view.c: (set_document_page):
4357 Clamp page number, dont try to move to
4360 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4362 * backend/ev-document-find.c: (ev_document_find_changed):
4363 * backend/ev-document-find.h:
4364 * pdf/xpdf/pdf-document.cc:
4365 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4366 * shell/ev-window.c: (find_bar_search_changed_cb):
4368 Fix several bugs with find
4370 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4372 * shell/ev-sidebar-thumbnails.c
4373 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4374 document. Prevents warning from scroll_to_cell.
4376 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4378 * configure.ac: Add «nb» to ALL_LINGUAS too.
4380 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4382 * NOTES: New file with some random thoughts.
4386 * backend/ev-document-misc.c:
4387 (ev_document_misc_get_page_border_size): New function to
4388 canonicalize shadow drawing sizes. Possibly goofy.
4390 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4391 (ev_view_best_fit), (ev_view_fit_width):
4392 * pdf/xpdf/pdf-document.cc:
4393 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4394 * ps/ps-document.c: (ps_document_get_page_size):
4395 * backend/ev-document-misc.h:
4396 * backend/ev-document.c: (ev_document_get_page_size):
4397 * backend/ev-document.h: get_page_size now takes a page number
4398 parameter. Made all the backends/frontends honor it.
4400 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4401 see. Doesn't work yet.
4403 * shell/Makefile.am:
4404 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4405 Doesn't do anything yet.
4407 * shell/ev-sidebar-thumbnails.c:
4408 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4411 * shell/ev-window.c: (update_action_sensitivity),
4412 (ev_window_setup_document), (ev_window_set_page_mode),
4413 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4414 view-swapping code a bit so we can have multiple views on a
4415 document. Add the multi-page view, though it can't be turned on
4418 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4420 * shell/ev-application.c: (ev_application_open):
4421 * shell/ev-view.c: (expose_bin_window):
4422 * shell/ev-window.c: (ev_window_open):
4424 Support eps and check document supports find
4425 before drawing highlightings in expose.
4427 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4429 * pixbuf/pixbuf-document.c:
4430 (pixbuf_document_thumbnails_get_dimensions),
4431 (pixbuf_document_document_thumbnails_iface_init):
4433 implement get_dimensions
4435 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4442 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4444 * shell/ev-view.c: (set_document_page):
4446 Scroll at the top of the page when changing page
4448 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4450 * shell/ev-view.c: (ev_view_motion_notify_event):
4452 Do not redraw unnecessarily
4454 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4456 * pdf/xpdf/pdf-document.cc:
4457 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4458 (expose_bin_window), (find_changed_cb):
4460 Yay! find works now... Now to find bugs...
4462 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4464 * backend/ev-document-find.c: (ev_document_find_base_init),
4465 (ev_document_find_changed):
4466 * backend/ev-document-find.h:
4467 * pdf/xpdf/pdf-document.cc:
4468 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4469 (expose_bin_window), (ev_view_init), (set_document_page),
4470 (ensure_rectangle_is_visible), (jump_to_find_result),
4471 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4472 (ev_view_find_next), (ev_view_find_previous):
4474 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4476 More work on find implementation, mostly there now
4478 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4480 * backend/ev-backend-marshalers.list:
4481 * backend/ev-document-find.c: (ev_document_find_base_init),
4482 (ev_document_find_cancel), (ev_document_find_page_has_results),
4483 (ev_document_find_get_n_results), (ev_document_find_get_result),
4484 (ev_document_find_get_progress), (ev_document_find_changed):
4485 * backend/ev-document-find.h:
4487 Enanche the find interface to be really able to do
4490 * pdf/xpdf/pdf-document.cc:
4494 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4495 (expose_bin_window), (ev_view_init),
4496 (ev_view_get_find_status_message), (find_changed_cb),
4497 (ev_view_set_document), (set_document_page):
4499 Adapt to the new interface. A few things are regressed sorry,
4500 I will finish it soon.
4502 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4504 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4505 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4506 ev_sidebar_thumbnails_parent_class variable, don't define another
4507 parent_class variable.
4509 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4510 (ev_page_action_class_init): ditto.
4512 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4513 (pixbuf_document_class_init): ditto.
4515 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4518 * .cvsignore: ignore various valgrind output files.
4520 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4522 * data/evince-ui.xml:
4523 * shell/Makefile.am:
4524 * shell/ev-history.c:
4525 * shell/ev-history.h:
4526 * shell/ev-navigation-action.c:
4527 * shell/ev-navigation-action.h:
4528 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4529 (ev_view_set_page), (ev_view_fit_width):
4531 * shell/ev-window.c: (update_action_sensitivity),
4532 (ev_window_setup_document), (register_custom_actions):
4534 Kill session history
4536 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4538 * shell/ev-window.c: (update_action_sensitivity):
4540 Fix inverted up/down buttons
4542 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4544 * shell/ev-sidebar-thumbnails.c
4545 (ev_sidebar_thumbnails_select_page): make sure the selected
4546 thumbnail stays visible.
4548 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4550 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4551 scrolled window for Federico.
4553 2005-01-26 Ole Laursen <olau@hardworking.dk>
4555 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4557 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4560 * pdf/splash/SplashFTFontEngine.cc:
4562 Fix CID fonts with freetype 2.1.9
4564 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4566 * TODO: added item for desktop icon thumbnailer
4568 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4570 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4571 unloaded docs when the title is accessed.
4573 * shell/ev-password-view.[hc]: New widget for displaying password
4576 * shell/ev-window.[ch]: Refactor password handling code to handle
4579 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4587 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4589 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4590 ignore page offset here, to make search results independent of it,
4592 * shell/ev-view.c (expose_bin_window): but take offsets into
4593 account here. Bug #164932
4595 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4596 scale at the right time. Bug #164996
4598 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4600 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4601 fix the problem. Now I just removed the Adobe font names and hope
4602 that the URW fonts are always in outline format. Bug #164934
4604 * shell/ev-window.c (update_window_title): empty titles are
4605 useless, use filename in that case too.
4607 * NEWS: Add some content.
4609 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4611 * TODO: added one more TODO item and a TODONE section :)
4613 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4615 * ps/ps-document.h: add page_[xy]_offset fields.
4617 * ps/ps-document.c (ps_document_set_page_offset)
4618 (ps_document_render): Keep offset in consideration in a few
4619 places. Bug #164752 "postscript documents are not centered in
4622 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4623 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4625 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4626 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4627 stub out missing methods for complete EvDocument implementation.
4628 Fixes segfaults with Save A Copy and Copy actions.
4630 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4631 (ps_document_document_iface_init): ditto.
4633 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4637 * data/evince.desktop.in:
4641 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4643 * shell/ev-view.c: (ev_view_button_press_event),
4644 (ev_view_motion_notify_event):
4646 Make selection work in any direction
4648 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4651 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4653 Use shorter labels for some of the toolbars items
4655 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4657 * pdf/xpdf/pdf-document.cc:
4659 Check the links info is initialized before
4660 using it. Should fix a crash on startup.
4662 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4664 * pixbuf/pixbuf-document.c
4665 (pixbuf_document_thumbnails_get_dimensions): force floating point
4666 division to calculate page_ratio. Fixes crash with landscape
4669 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4671 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4673 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4675 * shell/ev-view.c (set_document_page): unset has_selection when
4677 (set_document_page): handle paper size changes when the page
4678 changes (test with Free Culture, page 2).
4680 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4682 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4683 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4685 Use normal style color for the widget background and
4686 draw a black box around the page.
4688 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4690 * pdf/xpdf/pdf-document.cc:
4692 Keep offset in consideration in a few places
4694 * shell/ev-view.c: (expose_bin_window):
4696 Set the offsets so that the document is ever centered
4698 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4700 * TODO: Added TODO items and finished off the first todo item
4702 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4703 reflect current authors
4705 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4707 * pdf/xpdf/pdf-document.cc:
4708 * shell/ev-view.c: (ev_view_set_cursor),
4709 (ev_view_motion_notify_event), (document_changed_callback),
4710 (set_document_page):
4712 Show a wait cursor while the page is rendering
4714 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4716 * shell/ev-sidebar-thumbnails.c:
4717 (ev_sidebar_tree_selection_changed),
4718 (ev_sidebar_thumbnails_select_page):
4719 * shell/ev-sidebar-thumbnails.h:
4720 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4721 (ev_view_can_go_forward):
4722 * shell/ev-window.c: (ev_window_open_page),
4723 (ev_window_setup_document), (update_current_page),
4724 (view_page_changed_cb), (ev_window_init):
4725 * shell/ev-window.h:
4727 Ensure thumbnails selection, toolbar page control and
4728 current page are in sync.
4730 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4736 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4738 * backend/Makefile.am:
4739 * backend/ev-document-links.h:
4740 * backend/ev-document-security.c: (ev_document_security_get_type),
4741 (ev_document_security_has_document_security),
4742 (ev_document_security_set_password):
4743 * backend/ev-document-security.h:
4744 * backend/ev-document.c: (ev_document_error_quark):
4745 * backend/ev-document.h:
4747 * data/evince-password.glade:
4748 * pdf/xpdf/pdf-document.cc:
4749 * shell/Makefile.am:
4750 * shell/ev-password.c: (ev_password_set_bad_password_label),
4751 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4752 (ev_password_dialog_get_password),
4753 (ev_password_dialog_set_bad_pass):
4754 * shell/ev-password.h:
4755 * shell/ev-window.c: (ev_window_get_attribute),
4756 (ev_window_set_property), (update_action_sensitivity),
4757 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4758 (ev_window_setup_document), (ev_window_get_password),
4759 (ev_window_open), (ev_window_cmd_save_as),
4760 (using_postscript_printer), (ev_window_print),
4761 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4762 (update_fullscreen_popup), (ev_window_fullscreen),
4763 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4764 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4765 (menu_item_select_cb), (find_bar_search_changed_cb),
4766 (ev_window_dispose), (ev_window_init):
4768 Add initial support for password-supported dialogs. This could be
4769 a lot cooler, but it'll do for now.
4771 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4773 * pdf/xpdf/pdf-document.cc:
4774 * shell/ev-view.c: (status_message_from_link),
4775 (ev_view_set_status), (ev_view_set_cursor),
4776 (ev_view_motion_notify_event), (ev_view_init):
4777 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4779 Fix bugs in the links implementation and change cursor
4780 when hovering a link.
4782 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4784 * viewer/.cvsignore: added cvsignore file for viewer directory
4786 * TODO: created TODO document
4788 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4791 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4792 new functions to help with implementation of sensitivity code
4793 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4794 of all actions that might require it. Fixes a crash when you
4795 click on the Zoom actions in a window lacking a document.
4797 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4799 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4802 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4804 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4805 (pixbuf_document_document_iface_init):
4806 * ps/ps-document.c: (ps_document_get_link),
4807 (ps_document_document_iface_init):
4808 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4809 (status_message_from_link), (ev_view_set_status),
4810 (ev_view_set_find_status), (ev_view_motion_notify_event),
4811 (ev_view_button_release_event), (ev_view_set_property),
4812 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4813 (ev_view_get_find_status_message), (update_find_results),
4814 (ev_view_get_status), (ev_view_get_find_status):
4816 * shell/ev-window.c: (view_status_changed_cb),
4817 (view_find_status_changed_cb), (ev_window_init):
4819 View status message support, use it to show the links.
4822 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4824 * backend/ev-document.c: (ev_document_get_link):
4825 * backend/ev-document.h:
4826 * pdf/xpdf/pdf-document.cc:
4827 * shell/ev-application.c: (ev_application_open):
4828 * shell/ev-application.h:
4829 * shell/ev-sidebar-links.c: (selection_changed_cb):
4830 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4831 (ev_view_go_to_link):
4833 Add support for document links
4835 2005-01-13 Anders Carlsson <andersca@gnome.org>
4837 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4839 Set the spin button limits correctly.
4841 * shell/ev-sidebar-thumbnails.c:
4842 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4843 Support changing pages by clicking on the thumbnails.
4845 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4847 * pixbuf/pixbuf-document.c:
4848 (pixbuf_document_thumbnails_get_dimensions),
4849 (pixbuf_document_document_thumbnails_iface_init):
4851 implement get_dimensions
4853 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4855 * ps/ps-document.c: (ps_document_goto_page):
4857 Fix page switching on multipage documents
4859 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4861 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4863 check for NULL before assigning to width and height parameters
4865 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4867 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4868 (pixbuf_document_set_property), (pixbuf_document_get_property):
4870 implement get/set properties
4872 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4874 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4876 return NULL instead of "Unknown", letting the title get set to
4877 the filename when the pdf has no title.
4879 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4881 * ps/ps-document.c: (ps_document_get_page_count),
4882 (ps_document_goto_page):
4884 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4886 * shell/ev-history.c: (ev_history_get_property),
4887 (ev_history_set_property), (ev_history_class_init),
4888 (ev_history_add_page), (ev_history_set_current_index):
4889 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4890 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4891 (ev_navigation_action_finalize):
4892 * shell/ev-navigation-action.h:
4893 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4894 (ev_view_go_forward), (ev_view_get_find_status_message),
4895 (history_index_changed_cb), (ev_view_set_history):
4897 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4898 (update_current_page), (register_custom_actions):
4900 Implement history dropdowns
4902 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4904 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4905 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4906 (ev_view_go_forward):
4907 * shell/ev-window.c: (register_custom_actions):
4909 Fix several history bugs
4911 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4913 * configure.ac: Add «nb» to ALL_LINGUAS.
4915 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4917 * backend/Makefile.am:
4918 * backend/ev-bookmark.c:
4919 * backend/ev-bookmark.h:
4920 * backend/ev-document-bookmarks.c:
4921 * backend/ev-document-bookmarks.h:
4922 * backend/ev-document-links.c: (ev_document_links_get_type),
4923 (ev_document_links_has_document_links),
4924 (ev_document_links_begin_read), (ev_document_links_get_link),
4925 (ev_document_links_get_child), (ev_document_links_next),
4926 (ev_document_links_free_iter):
4927 * backend/ev-document-links.h:
4928 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4929 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4930 (ev_link_get_link_type), (ev_link_set_link_type),
4931 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4932 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4933 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4934 (ev_link_new_external):
4935 * backend/ev-link.h:
4936 * pdf/xpdf/pdf-document.cc:
4937 * shell/Makefile.am:
4938 * shell/ev-application.c: (ev_application_open_link):
4939 * shell/ev-application.h:
4940 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4941 (ev_history_get_link_nth):
4942 * shell/ev-history.h:
4943 * shell/ev-sidebar-bookmarks.c:
4944 * shell/ev-sidebar-bookmarks.h:
4945 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4946 (ev_sidebar_links_class_init), (selection_changed_cb),
4947 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4948 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4949 (do_one_iteration), (populate_links_idle),
4950 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4951 * shell/ev-sidebar-links.h:
4952 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4953 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4956 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4957 * shell/ev-window.h:
4959 Rename bookmark to link, and use "Index" for the sidebar panel.
4961 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4963 * shell/Makefile.am:
4964 * shell/ev-application.c: (ev_application_open_bookmark):
4965 * shell/ev-application.h:
4966 * shell/ev-history.c: (ev_history_init), (free_links_list),
4967 (ev_history_finalize), (ev_history_class_init),
4968 (ev_history_add_link), (ev_history_add_page),
4969 (ev_history_get_link_nth), (ev_history_get_n_links),
4970 (ev_history_get_current_index), (ev_history_set_current_index),
4972 * shell/ev-history.h:
4973 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4974 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4975 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4976 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4979 * shell/ev-window.c: (ev_window_open_bookmark),
4980 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4981 (goto_page_cb), (register_custom_actions):
4982 * shell/ev-window.h:
4984 Initial history implementation. Needs work.
4986 2005-01-09 Martin Kretzschmar <martink@gnome.org>
4988 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4990 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4992 * cut-n-paste/recent-files/egg-recent-item.c:
4993 * cut-n-paste/recent-files/egg-recent-item.h:
4994 * cut-n-paste/recent-files/egg-recent-model.c:
4995 * cut-n-paste/recent-files/egg-recent-util.c:
4996 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4997 * cut-n-paste/recent-files/egg-recent-view.c:
5001 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5003 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5004 (fillGlyph, fillImageMask, drawImage):
5005 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5006 pdf/splash/SplashTypes.h:
5007 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5008 packed mode for Splash.
5010 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5011 RGB8 packed mode, eliminates the pixbuf data creation loop.
5013 * shell/ev-print-job.c (ev_print_job_finalize)
5014 (ev_print_job_set_property, ev_print_job_get_property)
5015 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5016 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5017 (print_closure_finalize, ev_print_job_print): implement
5018 printing (for backends with EvPsExporter)
5020 * shell/ev_print_job.h: update prototypes.
5022 * shell/ev-window.c (ev_window_print): unref print job after
5025 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5026 unless the document implements the EvDocumentFind interface.
5028 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5030 * configure.ac: Added ja to ALL_LINGUAS.
5032 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5034 * pdf/xpdf/pdf-document.cc:
5036 add a FIXME. We should probably not allocate
5037 a bookmark object every time
5039 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5041 * shell/ev-application.c: (ev_application_open),
5042 (ev_application_open_bookmark):
5043 * shell/ev-application.h:
5045 Add a way to open bookmarks
5047 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5048 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5049 (ev_bookmark_set_property), (ev_bookmark_class_init),
5050 (ev_bookmark_new_title), (ev_bookmark_new_link),
5051 (ev_bookmark_new_external):
5053 Support for external uris, better constructors.
5055 * backend/ev-bookmark.h:
5056 * pdf/xpdf/pdf-document.cc:
5057 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5059 Handle external uris
5061 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5063 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5064 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5066 Hook up bookmarks navigation
5068 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5070 * backend/Makefile.am:
5071 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5072 (ev_bookmark_get_title), (ev_bookmark_set_title),
5073 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5074 (ev_bookmark_get_page), (ev_bookmark_set_page),
5075 (ev_bookmark_get_property), (ev_bookmark_set_property),
5076 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5078 * backend/ev-bookmark.h:
5079 * backend/ev-document-bookmarks.c:
5080 (ev_document_bookmarks_get_bookmark):
5081 * backend/ev-document-bookmarks.h:
5082 * pdf/xpdf/pdf-document.cc:
5083 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5085 Add a bookmark object to the backend and use it instead of get_values
5087 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5089 * data/evince-ui.xml:
5091 Cleanup and add select all.
5093 * shell/ev-view.c: (ev_view_select_all),
5094 (ev_view_button_press_event):
5096 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5099 Clear selection on click.
5101 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5103 * shell/ev-sidebar-thumbnails.c
5104 (ev_sidebar_thumbnails_set_document): forgot to unref the
5107 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5109 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5110 at the visible page, not just linearly. This makes it look fast.
5112 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5114 * backend/ev-document-misc.c
5115 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5117 * backend/ev-document-thumbnails.h: New interface to get the size
5120 2005-01-06 Jeremy Katz <katzj@redhat.com>
5122 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5125 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5127 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5128 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5131 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5133 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5135 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5136 fonts. Should fix font problems on systems that have the base
5137 fonts in bitmap format. Reported by James Henstridge
5138 <james@jamesh.id.au>.
5140 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5143 * pdf/xpdf/GfxState.cc:
5145 Fix for CAN-2004-1125
5147 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5149 * shell/ev-view.c: (ev_view_copy):
5151 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5153 Implement Edit->Copy
5155 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5157 * backend/ev-document.c: (ev_document_get_text):
5158 * backend/ev-document.h:
5159 * pdf/xpdf/pdf-document.cc:
5160 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5161 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5162 (ev_view_update_primary_selection), (ev_view_button_press_event),
5163 (ev_view_motion_notify_event), (ev_view_button_release_event):
5165 Beginnings of clipboard support. Incomplete but primary sort
5168 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5170 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5171 (expose_bin_window):
5173 Nicer rubberband drawing, from GtkIconView.
5175 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5177 * backend/ev-document.c: (ev_document_save):
5178 * backend/ev-document.h:
5179 * data/evince-ui.xml:
5180 * pdf/xpdf/pdf-document.cc:
5181 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5183 Implement "Save a copy..." menu item
5185 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5187 * shell/ev-view.c: (ev_view_zoom):
5189 Queue a resize when zoom changes
5191 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5193 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5196 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5199 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5201 * pdf/xpdf/pdf-document.cc
5202 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5204 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5206 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5207 It's slow, but I'll speed it up next!
5209 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5211 * shell/main.c (load_files):
5213 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5214 from the command line and because it seems more appropriate.
5216 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5218 * data/evince-ui.xml:
5219 * shell/ev-window.c: (update_action_sensitivity),
5220 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5222 s/next page/page down
5223 s/previous page/page up
5225 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5227 * data/evince-ui.xml:
5229 Change the layout to match clarkbw design.
5231 * shell/Makefile.am:
5232 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5233 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5234 (ev_navigation_action_finalize),
5235 (ev_navigation_action_set_property),
5236 (ev_navigation_action_get_property),
5237 (ev_navigation_action_class_init):
5238 * shell/ev-navigation-action.h:
5240 Implement clarkbw toolbar navigation controls (incomplete)
5242 * shell/ev-page-action.c: (update_label), (update_spin),
5243 (value_changed_cb), (create_tool_item), (connect_proxy),
5244 (ev_page_action_init), (ev_page_action_finalize),
5245 (ev_page_action_set_property), (ev_page_action_get_property),
5246 (ev_page_action_set_current_page),
5247 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5248 * shell/ev-page-action.h:
5250 Implement a page switcher in the toolbar
5252 * shell/ev-view.c: (ev_view_scroll_view):
5253 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5254 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5255 (register_custom_actions), (ev_window_init):
5257 Change page on PageUp/Down.
5259 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5261 * pdf/xpdf/pdf-document.cc
5262 (pdf_document_thumbnails_get_thumbnail): initial stab at
5263 implementing thumbnail support for pdfs. It only does documents
5264 with precached pdfs now.
5266 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5268 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5269 thumbnail code into a time-based idle as well. Also, turn off the
5270 shadow temporarily as it's really slow.
5272 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5274 * backend/ev-document.c: (ev_document_class_init):
5275 * pdf/xpdf/pdf-document.cc:
5276 * shell/ev-window.c: (ev_window_open):
5278 Fix document title bugs and fallback to
5279 filename when not available.
5281 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5283 * backend/ev-document.c: (ev_document_get_type),
5284 (ev_document_class_init), (ev_document_load),
5285 (ev_document_get_title):
5286 * backend/ev-document.h:
5287 * pdf/xpdf/pdf-document.cc:
5288 * ps/ps-document.c: (ps_document_set_property),
5289 (ps_document_get_property), (ps_document_class_init),
5293 * shell/ev-window.c: (update_window_title), (ev_window_open),
5296 Initial support for document title. Not working yet.
5298 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5300 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5302 Grab focus on the view when clicking it
5304 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5306 * shell/ev-marshal.list:
5307 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5308 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5310 Add key bindings to the view. Now if the focus would work
5313 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5316 * backend/Makefile.am:
5319 * dvi/dvilib/Makefile.am:
5320 * pdf/xpdf/Makefile.am:
5326 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5328 * shell/ev-view.c: (ev_view_realize):
5330 Fix mouse wheel scrolling
5332 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5338 * ps/ps-document.c: (catchPipe), (ps_document_init),
5339 (ps_document_class_init), (ps_document_cleanup),
5340 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5341 (set_up_page), (close_pipe), (is_interpreter_ready),
5342 (interpreter_failed), (output), (input), (start_interpreter),
5343 (stop_interpreter), (file_length), (file_readable),
5344 (check_filecompressed), (check_pdf), (compute_xdpi),
5345 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5346 (ps_document_get_type), (ps_document_emit_error_msg),
5347 (document_load), (ps_document_next_page),
5348 (ps_document_get_current_page), (ps_document_get_page_count),
5349 (ps_document_goto_page), (ps_document_set_page_size),
5350 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5351 (ps_document_load), (ps_document_get_n_pages),
5352 (ps_document_set_page), (ps_document_get_page),
5353 (ps_document_widget_event), (ps_document_set_target),
5354 (ps_document_set_scale), (ps_document_set_page_offset),
5355 (ps_document_get_page_size), (ps_document_render),
5356 (ps_document_document_iface_init):
5359 * shell/ev-window.c: (ev_window_open):
5361 Rename GtkGS to PSDocument
5363 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5365 * ps/gtkgs.c: (gtk_gs_class_init):
5368 Some more leftover...
5370 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5372 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5373 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5374 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5377 Remove unused code and make a lot of stuff private
5379 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5381 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5382 (gtk_gs_defaults_changed):
5388 Cleanup headers dependencies
5390 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5395 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5397 * ps/gtkgs.c: (file_length), (file_readable),
5398 (check_filecompressed), (check_pdf), (gtk_gs_load),
5399 (gtk_gs_get_postscript):
5403 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5408 * ps/gtkgs.c: (gtk_gs_set_zoom):
5412 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5414 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5416 Ensure the page is rerendered when changing zoom
5418 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5420 * backend/ev-document.c: (ev_document_base_init),
5421 (ev_document_changed):
5422 * backend/ev-document.h:
5424 Add a changed event that is emitted when the page content
5425 changes. This is necessary to deal with the fact that
5426 in ps backend rendering happen asycrounously.
5427 This makes the ps backend mostly work.
5429 * pdf/xpdf/pdf-document.cc:
5433 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5434 (ps_document_set_target):
5438 * shell/ev-view.c: (document_changed_callback),
5439 (ev_view_set_document), (ev_view_set_page):
5441 Redraw on the changed signal
5443 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5445 * configure.ac: Added pt_BR to ALL_LINGUAS.
5447 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5449 * backend/ev-document-bookmarks.c:
5450 (ev_document_bookmarks_get_child): *
5451 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5452 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5453 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5454 (ev_sidebar_bookmarks_destroy),
5455 (ev_sidebar_bookmarks_class_init),
5456 (ev_sidebar_bookmarks_construct), (stack_data_free),
5457 (do_one_iteration), (populate_bookmarks_idle),
5458 (ev_sidebar_bookmarks_clear_document),
5459 (ev_sidebar_bookmarks_set_document): *
5460 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5461 (ev_sidebar_add_page),
5462 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5463 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5464 it displays both the topics and the page numbers.
5466 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5468 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5470 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5473 2004-12-23 Adam Weinberger <adamw@gnome.org>
5475 * configure.ac: Added en_CA to ALL_LINGUAS.
5477 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5479 * ChangeLog: replace bottom of this ChangeLog (merged history of
5480 ggv and gpdf; where all paths were wrong and most of the files are
5481 not even in this tree) with ChangeLog (from arch) of the shell
5484 2004-12-23 Havoc Pennington <hp@redhat.com>
5486 * shell/ev-window.c: hook up potentially-questionable "find
5487 results status text" feature - something involving the sidebar or
5488 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5489 might be better in the end.
5491 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5492 with corresponding signal when it should be updated
5494 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5496 2004-12-22 Havoc Pennington <hp@redhat.com>
5498 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5499 find stuff on other pages, sort of (only returns one result on
5500 invisible pages, to show they have results; updates full results
5501 for a page when you view it). Currently repaints the current page
5502 every time a new result is found on any page, which isn't so nice.
5504 2004-12-22 Havoc Pennington <hp@redhat.com>
5506 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5507 the document doesn't support find (better ideas?)
5508 (find_bar_search_changed_cb): handle missing document or document
5509 that doesn't support find
5511 * pdf/xpdf/pdf-document.cc: port to implement the new
5514 * backend/ev-document-find.c: create a new interface for searching
5516 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5518 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5520 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5523 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5524 EvPrintJob constructor arguments.
5526 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5527 for documents that can export PostScript (page by page).
5529 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5531 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5532 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5533 (pdf_document_ps_exporter_iface_init:
5534 Implement EvPSExporter.
5536 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5538 2004-12-22 Anders Carlsson <andersca@gnome.org>
5540 * backend/Makefile.am:
5541 * backend/ev-document-thumbnails.c:
5542 (ev_document_thumbnails_get_type),
5543 (ev_document_thumbnails_get_thumbnail):
5544 * backend/ev-document-thumbnails.h:
5545 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5546 (pixbuf_document_thumbnails_get_thumbnail),
5547 (pixbuf_document_document_thumbnails_iface_init):
5548 * shell/Makefile.am:
5549 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5550 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5551 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5552 * shell/ev-sidebar-thumbnails.h:
5553 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5554 (ev_sidebar_set_document):
5555 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5556 (create_shadow), (ev_pixbuf_add_shadow):
5558 Add thumbnail support.
5560 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5562 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5563 (using_postscript_printer): Set up a print dialog for "PostScript
5566 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5569 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5571 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5573 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5574 (ps_document_set_target), (ps_document_get_page_size),
5575 (ps_document_render):
5580 2004-12-22 Christian Rose <menthos@menthos.com>
5582 * configure.ac: Added "sv" to ALL_LINGUAS.
5584 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5586 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5587 document supports bookmarks.
5589 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5591 * ps/ggvutils.c: (ggv_file_readable):
5593 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5594 (gtk_gs_get_postscript):
5598 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5600 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5601 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5602 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5603 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5604 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5605 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5606 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5607 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5608 (gtk_gs_set_antialiasing), (ps_document_load),
5609 (ps_document_render):
5612 Another check point for the ps backend. Now I can get it to show
5615 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5617 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5618 document setting code.
5620 2004-12-22 Anders Carlsson <andersca@gnome.org>
5622 * shell/eggfindbar.c: (entry_activate_callback):
5623 Animate the next button when activate is pressed.
5625 2004-12-22 Anders Carlsson <andersca@gnome.org>
5627 * shell/ev-window.c: (ev_window_cmd_edit_find),
5628 (update_fullscreen_popup), (ev_window_fullscreen),
5629 (ev_window_unfullscreen), (ev_window_state_event_cb),
5630 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5631 Fix bugs in fullscreen code.
5633 2004-12-22 Anders Carlsson <andersca@gnome.org>
5637 * pixbuf/Makefile.am:
5638 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5639 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5640 (pixbuf_document_set_page), (pixbuf_document_get_page),
5641 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5642 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5643 (pixbuf_document_render), (pixbuf_document_begin_find),
5644 (pixbuf_document_end_find), (pixbuf_document_finalize),
5645 (pixbuf_document_class_init),
5646 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5647 * pixbuf/pixbuf-document.h:
5648 * shell/Makefile.am:
5649 * shell/ev-application.c: (ev_application_open):
5650 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5654 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5657 * dvi/dvilib/Makefile.am:
5659 * configure.ac: Auto*ify dvi and dvi/dvilib
5661 * dvi/Makefile: Remove from CVS
5663 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5666 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5668 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5670 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5673 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5674 (gtk_gs_value_adjustment_changed), (compute_size),
5675 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5676 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5677 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5678 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5679 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5680 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5681 (ps_document_load), (ps_document_get_n_pages),
5682 (ps_document_set_page), (ps_document_get_page),
5683 (ps_document_set_target), (ps_document_set_scale),
5684 (ps_document_set_page_offset), (ps_document_get_page_size),
5685 (ps_document_render), (ps_document_begin_find),
5686 (ps_document_end_find), (ps_document_document_iface_init):
5688 * shell/Makefile.am:
5689 * shell/ev-window.c: (ev_window_open):
5691 Some work to integrate gtkgs with EvDocument
5693 2004-12-22 Anders Carlsson <andersca@gnome.org>
5695 * shell/ev-window.c: (update_fullscreen_popup),
5696 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5697 (exit_fullscreen_button_clicked_cb),
5698 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5699 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5700 (ev_window_state_event_cb), (ev_window_init):
5701 Add fullscreen support from Epiphany.
5703 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5705 * data/ev-stock-zoom-fit-width.png: fit-width
5706 stock icon from gpdf.
5708 * shell/ev-stock-icons.[ch]: copied from gpdf.
5710 * shell/main.c: (main): init stock icons.
5712 * shell/ev-window.c: use the fit-width icon.
5714 * data/evince-ui.xml: add zooming toolbar items.
5716 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5719 (ev_view_best_fit), (ev_view_fit_width): because
5720 get_page_size() returns the scaled page size, we
5721 need to calculate the scale factor relative to
5722 the previous scale factor. Should really just
5723 add get_real_page_size().
5725 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5727 * shell/ev-view.[ch]:
5728 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5729 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5732 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5733 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5734 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5737 * pdf/xpdf/pdf-document.cc:
5738 (pdf_document_begin_find),
5739 (pdf_document_end_find): make static.
5741 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5743 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5745 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5746 names to fontconfig patterns.
5747 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5749 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5752 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5768 Import ggv backend. Not hooked up yet.
5770 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5772 * shell/main.c: (load_files), (main): load files
5773 from the command line.
5775 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5777 * configure.ac: don't require bonobo.
5779 * cut-n-paste/recent-files/*: kill bonobo recent
5782 * shell/ev-window.c:
5783 (ev_window_is_empty): upd.
5784 (unable_to_load), (ev_window_open): load backend
5785 based on the mime type.
5787 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5789 * backend/.cvsignore: ignore generated marshalers source.
5791 * shell/main.c (main): this is not epiphany.
5793 2004-12-22 Havoc Pennington <hp@redhat.com>
5795 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5796 (expose_bin_window): draw find highlights
5798 * shell/ev-window.c (find_bar_search_changed_cb): implement
5800 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5801 (pdf_document_end_find): implement this interface
5803 * backend/ev-document.c (ev_document_found): add this to emit
5806 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5808 * data/evince-ui.xml: Add a few more toolbar items.
5810 * shell/ev-window.c: Hook up page navigation toolbar
5813 * shell/ev-view.[ch]: add ev_view_set/get_page and
5814 a page-changed signal.
5816 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5817 Add ev_document_get_page().
5819 * shell/ev-window.c: Sensitize/desensitize navigation
5822 2004-12-21 Havoc Pennington <hp@redhat.com>
5824 * backend/ev-backend-marshal.c,
5825 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5826 marshaler-generator thingy. I'm sure there's a better way to do
5827 this in the modern world.
5829 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5830 end_find methods and "found" signal.
5832 * configure.ac: find glib-genmarshal
5834 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5836 * shell/ev-sidebar.c: Construct an actual sidebar.
5837 * shell/ev-sidebar-bookmarks.[ch]:
5838 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5840 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5842 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5845 * shell/ev-view.c: Track the size from the document.
5847 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5849 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5850 constructor assumes ownership of the string passed in.
5852 * shell/ev-window.c (ev_window_open): Destroy the error
5853 dialog once we've displayed it.
5855 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5857 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5858 a bit, it works! (sort of)
5860 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5861 Move to .cc since we need to use C++ in the implementation.
5863 * shell/dummy.cc: Add a CC file to force evince
5864 to be linked as a C++ program.
5866 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5868 * shell/ev-view.[ch]: Start of content-area widget.
5870 * shell/ev-window.c: Create a EvView, update it
5871 as we change documents.
5873 * shell/Makefile.am shell/ev-marshal.list: Add
5874 generated marshalers.
5876 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5878 * Makefile.am (SUBDIRS): move shell.
5880 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5882 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5883 .a to libtool convenience libraries.
5885 * shell/ev-window.c (ev_window_open): Hard code loading
5888 * backend/ev-document.h: Add a boolean return to load(),
5889 fix GError * to GError **.
5891 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5892 object for a PDF backend EvDocument.
5894 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5896 * dvi/*: New directory with the beginning of a .dvi backend.
5898 2004-12-21 Havoc Pennington <hp@redhat.com>
5900 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5901 previous/next instead of back/forward
5903 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5905 * backend/ev-document.[ch]: Fix a couple of problems so
5908 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5910 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5911 to backend/ directory, rename EvViewer to EvDocument.
5913 2004-12-21 Havoc Pennington <hp@redhat.com>
5915 * shell/ev-window.c: hook up the find bar widget; now we just need
5916 a document to find things in
5918 * shell/eggfindbar.c: a find bar widget
5920 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5922 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5924 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5926 * pdf/**: Import of xpdf code from gpdf.
5928 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5930 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5931 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5932 Fix FreeType includes.
5934 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5935 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5936 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5937 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5938 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5939 Include xpdfconfig.h
5941 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5943 * shell/ev-window.c (ev_window_dispose): dispose can be called
5946 2004-12-21 Havoc Pennington <hp@redhat.com>
5948 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5951 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5952 items; really they should be synced with the strings, etc. from
5953 current gpdf, but just getting the boring typing out of the way
5955 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5958 * shell/ev-application.c: (window_destroy_cb):
5959 * shell/ev-window.c:
5960 * shell/main.c: (main):
5962 Actually show the window...
5964 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5967 * shell/Makefile.am:
5968 * shell/ev-application.c: (ev_application_class_init):
5969 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5973 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5975 Import to gnome cvs.
5977 * Remove copies of gpdf and ggv trees.
5978 * Rip out all the recursive configure code.
5979 * Remove bonobo machinery.
5980 * viewer/*: GInterfaces that backends should/can implement.
5982 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5984 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5987 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
5989 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5990 (ev_application_finalize, ev_application_class_init)
5991 (ev_application_init): use GType instance private data for priv.
5993 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5994 (ev_window_finalize, ev_window_class_init)
5995 (ev_window_init): ditto.
5997 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5999 * shell/ev-application.c (ev_application_new_window): make public
6000 (ev_application_show_initial_window): kill.
6002 * shell/ev-application.h: update prototypes.
6004 * shell/main.cc (main): inline ev_application_show_initial_window.
6006 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6008 * shell/ev-application.c (ev_application_new_window): impl.
6009 (ev_application_show_initial_window): use it.
6010 (is_window_empty, ev_application_get_empty_window): returns an
6011 existing empty window or a new one.
6012 (ev_application_open): from ev_window_cmd_file_open.
6014 * shell/ev-application.h: update prototypes
6016 * shell/ev-window.c (ev_window_is_empty): impl.
6017 (ev_window_open): make public.
6018 (ev_window_cmd_file_open): use ev_application_open
6020 * shell/ev-window.h: update prototypes, remove unused.
6022 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6024 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6025 move destroy handler out of here...
6027 * shell/ev-application.c, shell/ev-application.h: ...into this new
6028 class. Also handles initial window creation.
6030 * shell/main.cc (main): use EvApplication to create initial
6033 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6035 * Makefile.am (SUBDIRS): add cut-n-paste
6037 * cut-n-paste/Makefile.am: add
6039 * configure.ac: generate Makefiles in cut-n-paste
6041 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6043 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6044 (ev_window_class_init): install ev_window_dispose.
6046 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6048 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6049 char (gchar looks stupid).
6051 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6053 * po/de.po: updated German translation.
6055 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6057 * configure.ac: add more pkg-config library checks for gnome-vfs,
6060 * gpdf/configure.in: temporarily disable libpaper
6061 checks. Otherwise I'd have to add the checks for the shell, too.
6063 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6065 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6066 and * file filters to the file choose.
6068 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6070 * po/de.po: Updated German translation.
6072 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6074 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6076 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6078 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6080 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6081 (ev_window_init): implement those menuitems.
6083 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6085 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6087 * shell/ev-window.c (ev_window_init): use the toolbar.
6089 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6091 * shell/ev-window.c (ev_window_init): use menu translations
6093 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6095 * configure.ac: add "de" to ALL_LINGUAS.
6097 * po/de.po: add German translation.
6099 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6101 * Makefile.am (SUBDIRS): add po
6103 * configure.ac: check intltool, glib-gettext etc, generate
6106 * po, po/POTFILES.in, po/POTFILES.skip: new.
6108 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6110 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6111 already use (#ifdef ENABLE_NLS)
6113 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6114 pointer indirection thinko.
6116 * shell/main.c: include gi18n.h for bindtextdomain etc.
6118 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6120 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6121 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6122 tooltips for menu items in the statusbar.
6124 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6126 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6127 pkgdatadir drop UIDIR
6129 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6131 * data/evince-ui.xml: Add File->Open menu item
6133 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6134 chooser), hook it up in the ui manager.
6136 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6138 * shell/ev-window.c: fix Help->About tooltip.
6140 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6142 * configure.ac: set CFLAGS for libevprivate.
6144 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6145 definitions, factory etc.
6147 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6149 * shell/Makefile.am: link against libevprivate.a.
6151 * shell/ev-window.c (entries): add stock icon to Help->About.
6153 * shell/main.c (main): init stock icon code.
6155 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6157 * lib/recent-files: egg recent files code
6159 * lib/Makefile.am: add.
6161 * Makefile.am: add lib subdir.
6163 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6164 set CFLAGS for recent-files.
6166 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6168 * configure.ac: disable -ansi and -pedantic gcc flags. They
6169 disable POSIX stuff in stdio.h, but egg-recent uses them.
6171 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6173 * configure.ac: add --disable-deprecated flag (defaults to on in
6176 * shell/Makefile.am (INCLUDES): use it.
6178 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6180 * shell/main.c: add missing #include.
6182 * shell/ev-window.c: fix for pedantic gcc.
6183 (ev_window_cmd_help_about): split license into paragraphs for
6184 translators and pedantic compilers.
6186 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6188 * configure.ac: add more warning flags if compiling with gcc from
6189 cvs (or explicitly requested with --enable-more-warnings).
6191 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6193 * data/evince-ui.xml: add File and File->Close menu.
6195 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6196 (ev_window_destroy): quit after destroy.
6197 (ev_window_class_init): override GtkObject::destroy.
6198 (entries): install close_window callback.
6200 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6202 * Makefile.am (SUBDIRS): add data subdir.
6204 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6205 gtk+ 2.5.0 for GtkAboutDialog.
6207 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6210 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6212 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6214 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6216 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6218 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6220 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6222 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6224 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6226 * shell/*: Added shell directory boilerplate, build it.
6228 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6230 * configure.ac, Makefile.am: Added top-level configure.ac and