1 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * data/evince-ui.xml, shell/ev-window.c:
5 Add keypad accelerators for zooming. Fix for bug 308128.
7 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
10 * backend/Makefile.am:
11 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
13 * shell/ev-document-types.c: (ev_document_types_add_filters):
15 Allow to enable/disable the pixbuf backend.
16 Default to off for now. If we want it enabled we should
17 really put mime types in the desktop, implement properties etc.
19 * properties/evince-properties.c:
21 Initialize error to NULL.
22 Check error is not NULL before freeing.
24 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
28 Use F5 as presentation accell
30 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
32 * shell/ev-window.c: (update_chrome_visibility),
33 (ev_window_create_fullscreen_popup), (ev_window_init):
35 Do not leak the fullscreen toolbar
37 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
39 * shell/ev-window.c: (view_actions_focus_in_cb),
40 (view_actions_focus_out_cb):
42 These has a return value! Fix totally random focus
45 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
47 * shell/main.c: (load_files_remote):
49 Allow open more than one file
51 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
53 * shell/main.c: (load_files_remote):
55 Fix for dbus 0.33. bug #309975
57 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
59 * properties/ev-properties-main.c: (ev_properties_get_pages):
61 Actually return NULL for types we dont support
63 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
69 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
71 * backend/ev-document-factory.c:
72 (ev_document_factory_get_document):
74 Do not try to create the object if type
77 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
79 * ps/ps-document.c: (ps_document_dispose),
80 (ps_async_renderer_render_pixbuf):
83 Do not leak the target window
85 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
87 * shell/ev-application.c: (ev_application_init):
89 Let tbe check file existence for us.
90 Add a comment about eggrecent mime filter.
92 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
95 * shell/ev-application.c: (ev_application_shutdown),
96 (ev_application_init), (ev_application_get_toolbars_model),
97 (ev_application_get_recent_model),
98 (ev_application_save_toolbars_model):
99 * shell/ev-application.h:
100 * shell/ev-window.c: (ev_window_add_recent),
101 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
102 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
105 Use common toolbar and recent models for all windows.
106 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
108 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
110 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
111 successfully check for gtk_icon_view_get_visible_range.
113 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
118 Fix djvu and dvi backend build.
120 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
122 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
123 (new_separator_pixbuf):
127 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
129 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
131 HIGification of toolbar editor dialogue.
133 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
138 Ever build metadata manager since it's just
139 disabled at runtime now.
141 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
143 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
144 (ev_metadata_manager_get), (ev_metadata_manager_set):
145 * shell/ev-metadata-manager.h:
147 Add an _init functions that enabled metadata management
150 * shell/ev-window.c: (page_changed_cb),
151 (setup_document_from_metadata), (ev_window_setup_document),
152 (setup_view_from_metadata), (ev_window_open_uri),
153 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
154 (ev_window_run_presentation), (ev_window_stop_presentation),
155 (save_sizing_mode), (ev_window_zoom_changed_cb),
156 (ev_window_continuous_changed_cb),
157 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
158 (window_configure_event_cb):
160 Remove all ugly metadata define since we deal with it
163 * shell/main.c: (load_files_remote), (main):
165 Add support for dbus cvs head. Hopefully didnt break one
166 of the other versions now!
168 If we dont get a response from the dbus server just
169 give up with it and not enable metadata.
171 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
174 * backend/Makefile.am:
176 * cut-n-paste/recent-files/Makefile.am:
177 * cut-n-paste/toolbar-editor/Makefile.am:
178 * cut-n-paste/zoom-control/Makefile.am:
181 * pixbuf/Makefile.am:
182 * properties/Makefile.am:
185 * thumbnailer/Makefile.am:
188 Make frontends depend on just libev.
189 Rework and group CFLAGS/LIBS definitions.
192 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
196 do not unnecessarily save zoom
199 * lib/ev-file-helpers.c: (ev_dot_dir):
205 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
209 Remove unnecessary dependencies
211 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
213 * properties/Makefile.am:
214 * thumbnailer/Makefile.am:
217 Some more cleanups. Was really necessary
218 but I probably introduced bugs, feel free
221 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
223 * backend/Makefile.am:
225 * cut-n-paste/recent-files/Makefile.am:
226 * cut-n-paste/toolbar-editor/Makefile.am:
227 * cut-n-paste/zoom-control/Makefile.am:
230 * pixbuf/Makefile.am:
231 * properties/Makefile.am:
234 * thumbnailer/Makefile.am:
237 Use gnome-common macros when possible.
238 Cleanup dependencies.
239 Actually disable deprecated where possible.
241 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
244 * backend/Makefile.am:
245 * properties/Makefile.am:
247 * thumbnailer/Makefile.am:
249 This should solve the circular dep without
252 * shell/ev-window.c: (setup_view_from_metadata):
254 Never restore window size/position when the
255 window is already visible.
257 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
259 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
261 Return a boolean from timeout func. Fix ported from gedit.
263 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
265 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
267 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
269 * shell/ev-document-types.c: set "All Documents" as default filter in
272 2005-07-06 Martin Kretzschmar <martink@gnome.org>
274 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
275 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
276 (ev_metadata_manager_set_boolean): fix value/val thinko.
278 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
280 * shell/ev-window.c: (setup_view_from_metadata),
281 (window_state_event_cb), (window_configure_event_cb),
284 Remember window position and maximized state
286 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
290 Fix DBUS configure checks.
292 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
293 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
294 (ev_metadata_manager_set_boolean):
298 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
299 (ev_window_stop_fullscreen), (ev_window_run_presentation),
300 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
301 (ev_window_continuous_changed_cb),
302 (ev_window_dual_mode_changed_cb), (ev_window_new):
304 Fix the build without DBUS.
306 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
308 * shell/ev-metadata-manager.c: (parse_value), (save_values),
309 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
310 (ev_metadata_manager_set_string),
311 (ev_metadata_manager_set_boolean):
312 * shell/ev-metadata-manager.h:
314 Add support for some more types
316 * shell/ev-view.c: (scroll_to_current_page),
317 (ev_view_get_continuous), (ev_view_set_continuous),
318 (ev_view_get_dual_page):
320 * shell/ev-window.c: (page_changed_cb),
321 (setup_document_from_metadata), (ev_window_setup_document),
322 (setup_view_from_metadata), (ev_window_open_uri),
323 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
324 (ev_window_run_presentation), (ev_window_stop_presentation),
325 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
326 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
327 (ev_window_update_dual_page_action),
328 (ev_window_continuous_changed_cb),
329 (ev_window_dual_mode_changed_cb), (ev_window_init):
331 Remember a bunch of view/document properties. Prolly some
332 are still missing but it's getting interesting.
334 2005-07-05 Martin Kretzschmar <martink@gnome.org>
336 * configure.ac: check if dbus-binding-tool is installed. Not the
337 case on current Ubuntu breezy, it seems.
339 2005-07-05 Luca Ferretti <elle.uca@libero.it>
341 * data/evince.desktop.in.in:
343 Allow open uri lists and add TryExec field.
345 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
349 Enable dbus when available, do not require a configure
352 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
356 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
359 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
360 Marco Pesenti Gritti <mpg@redhat.com>
362 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
364 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
365 functions to the format required by dbus
367 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
368 errors. Use the RPC parameters in the expected way
370 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
373 * properties/Makefile.am:
374 * properties/ev-properties-main.c: (ev_properties_get_pages):
376 Support all mime types
379 * thumbnailer/Makefile.am:
380 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
381 (evince_thumbnail_pngenc_get):
383 Use the document factory
385 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
387 * backend/Makefile.am:
388 * backend/ev-document-factory.c:
389 (mime_type_supported_by_gdk_pixbuf),
390 (ev_document_type_get_from_mime),
391 (ev_document_factory_get_document),
392 (ev_document_factory_get_backend),
393 (ev_document_factory_get_mime_types),
394 (ev_document_factory_get_all_mime_types):
395 * backend/ev-document-factory.h:
397 * shell/ev-document-types.c: (get_document_from_uri),
398 (ev_document_types_get_document),
399 (file_filter_add_mime_list_and_free),
400 (ev_document_types_add_filters):
401 * shell/ev-document-types.h:
402 * shell/ev-job-xfer.c: (ev_job_xfer_run):
403 * shell/ev-properties-dialog.c:
404 (ev_properties_dialog_set_document):
405 * shell/ev-window.c: (ev_window_cmd_file_open),
406 (ev_window_cmd_save_as):
407 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
409 Rework document types managing to avoid code duplication
410 and actually abstract from backend implementations.
411 Also provide a minimal factory api that can be used by
412 thumbnailer/properties.
414 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
416 * properties/ev-properties-view.c: (ev_properties_view_set_info):
418 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
421 2005-07-04 Matthew S. Wilson <msw@rpath.com>
423 * shell/ev-properties-dialog.c
424 (ev_properties_dialog_set_document): only call
425 ev_properties_fonts_set_document() if the document implements the
428 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
431 * properties/Makefile.am:
432 * properties/ev-properties-view.c:
433 (ev_properties_view_register_type):
434 * properties/ev-properties-view.h:
435 * properties/ev-properties-main.h:
437 Implement nautilus plugin for properties.
438 Works only for pdf atm, I need to rework the
439 document types stuff to get this to work
442 2005-07-04 Martin Kretzschmar <martink@gnome.org>
444 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
445 (ev_properties_fonts_set_document): use
446 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
448 2005-07-04 Matthew S. Wilson <msw@rpath.com>
450 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
452 (PlaceImage, tiff2ps_process_page): use
453 g_ascii_dtostr to convert floats to strings in a locale-safe way.
456 2005-07-04 Martin Kretzschmar <martink@gnome.org>
458 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
459 (main): to call gnome_authentication_manager_init. Should fix
462 * configure.ac: that requires libgnomeui 2.6.0.
464 2005-07-04 Matthew S. Wilson <msw@rpath.com>
466 * tiff/tiff-document.c (tiff_document_ps_export_begin)
467 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
468 use the new tiff2ps interfaces
470 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
471 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
473 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
474 structure instead of global variables. Remove use of static
475 variables in functions.
477 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
479 * shell/ev-page-action.c: unref the completion after setting it to the
482 2005-07-04 Matthew S. Wilson <msw@rpath.com>
484 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
487 2005-07-04 Matthew S. Wilson <msw@rpath.com>
489 * shell/ev-window.c (update_action_sensitivity): disable
490 File->Print if the document does not implement the ps exporter
493 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
497 * data/evince-properties.glade:
498 * properties/.cvsignore:
499 * properties/Makefile.am:
500 * properties/ev-properties-view.c: (ev_properties_view_dispose),
501 (ev_properties_view_class_init), (ev_properties_view_format_date),
502 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
503 (ev_properties_view_init), (ev_properties_view_new):
504 * properties/ev-properties-view.h:
506 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
507 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
508 (ev_properties_dialog_new):
509 * shell/ev-properties-dialog.h:
510 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
511 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
512 (update_progress_label), (job_fonts_finished_cb),
513 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
514 * shell/ev-properties-fonts.h:
515 * shell/ev-properties.c:
516 * shell/ev-properties.h:
517 * shell/ev-window.c: (ev_window_setup_document),
518 (ev_window_cmd_file_properties):
520 Split the properties pages in two different objects, depend
521 only on the backend where possible, use widgets instead
522 of gobject for the glade part, reimplement the dialog
524 I need this to implement nautilus properties page.
526 2005-07-03 Matthew S. Wilson <msw@rpath.com>
528 * tiff/tiff-document.c (tiff_document_ps_export_begin)
529 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
530 (tiff_document_document_ps_exporter_iface_init): implement the ps
531 exporter interface for tiff documents
533 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
534 libtiff to implement TIFF postscript export
536 * tiff/tiff2ps.h: added a header file for external tiff2ps
539 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
542 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
544 * shell/ev-view.c: (scroll_to_current_page),
545 (ev_view_set_fullscreen), (ev_view_set_presentation):
547 Scroll to current page when exit from presentation
549 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
551 * shell/ev-window.c: (update_document_mode),
552 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
553 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
554 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
556 Exit from fullscreen mode when switch to presentation. Fix for
559 2005-07-02 Matthew S. Wilson <msw@rpath.com>
561 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
562 return NULL if the document does not implement the selection
565 2005-07-02 Matthew S. Wilson <msw@rpath.com>
567 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
568 reported height by using the resolution aspect ratio
569 (tiff_document_render_pixbuf): scale the pixbuf using the
570 resolution aspect ratio
572 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
576 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
577 <kiltedaco@gmail.com>
579 * djvu/djvu-document.c: (djvu_document_get_orientation),
580 (djvu_document_set_orientation), (djvu_document_get_page_size),
581 (rotate_pixbuf), (djvu_document_render_pixbuf),
582 (djvu_document_document_iface_init):
583 * dvi/dvi-document.c: (dvi_document_get_orientation),
584 (dvi_document_set_orientation), (dvi_document_get_page_size),
585 (rotate_pixbuf), (dvi_document_render_pixbuf),
586 (dvi_document_document_iface_init):
588 Dvi and djvu backends are ported to new API
590 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
592 * backend/ev-selection.c: (ev_selection_get_selection_region),
593 (ev_selection_get_selection_map):
594 * backend/ev-selection.h:
596 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
598 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
599 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
600 (ev_pixbuf_cache_get_text_mapping):
601 * shell/ev-pixbuf-cache.h:
602 * shell/ev-view.c: (location_in_text),
603 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
604 support to EvView. Now we can see where we can select! Sweet!
606 2005-06-30 Kristian Høgsberg <krh@redhat.com>
608 * shell/ev-view.c (ev_view_button_press_event): Fix
609 event->y + view->scroll_x typo.
611 2005-06-30 Kristian Høgsberg <krh@redhat.com>
613 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
614 sub-GdkPixbuf instead of passing dest_x and dest_y.
616 * shell/ev-view.c: (view_point_to_doc_point),
617 (view_rect_to_doc_rect), (ev_view_button_press_event),
618 (ev_view_motion_notify_event), (compute_new_selection_rect),
619 (gdk_rectangle_point_in), (compute_new_selection_text),
620 (compute_selections): Update selection code to keep the selection
621 around as two points and not as a normalized rectangle, and fix
622 page level selection in two-column mode.
624 2005-06-30 Alex Duggan <aldug@astrolinux.com>
626 * shell/ev-window.c: (window_configure_event_cb):
630 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
636 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
639 * shell/ev-metadata-manager.c: (item_free),
640 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
641 (parse_value), (parseItem), (load_values),
642 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
643 (save_values), (save_item), (get_oldest), (resize_items),
644 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
645 * shell/ev-metadata-manager.h:
647 Metadata manager from gedit but modified to use GValue, so that
648 we dont need to keep converting from strings.
652 ENABLE_METADATA conditional, on when dbus is on
654 * shell/ev-application.c: (ev_application_open_uri):
656 Show the window after load so that we can initialize
657 window size before it's showed.
659 * shell/ev-window.c: (ev_window_setup_from_metadata),
660 (ev_window_open_uri), (window_configure_event_cb),
663 Save and load metadata information about window size.
664 Not yet keeping states in account.
666 * shell/main.c: (main):
668 Shutdown metadata manager.
670 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
672 * shell/ev-application-service.xml:
675 * shell/ev-application.c:
676 * shell/ev-application.h:
681 Add an optional dbus interface (--enable-dbus).
682 Rework application code, mainly to be easier to
684 Do not open multiple windows with the same document,
687 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
689 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
690 pixbuf iff it exists.
692 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
695 * backend/ev-render-context.[ch]:
696 * backend/ev-selection.[ch]:
698 Massive changes. We now support text selection of pdfs, and not
699 just rectangular selection. This is pretty broken still, but I
700 want to get something into CVS.
702 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
706 Fix for Bug 309080: crash on window close.
708 * shell/ev-page-action.c: (page_changed_cb):
710 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
711 jensgr@gmx.net (Jens Granseuer).
713 2005-06-25 Marcel Telka <marcel@telka.sk>
715 * configure.in (ALL_LINGUAS): Added sk.
717 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
719 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
722 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
729 * cut-n-paste/recent-files/Makefile.am:
733 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
735 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
736 (pixbuf_document_set_orientation), (rotate_pixbuf),
737 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
738 (pixbuf_document_document_iface_init), (pixbuf_document_init):
740 Implement rotation and cleanup the code a bit.
742 * tiff/tiff-document.c: (tiff_document_get_page_size),
743 (tiff_document_get_orientation), (tiff_document_set_orientation),
744 (rotate_pixbuf), (tiff_document_render_pixbuf),
745 (tiff_document_document_iface_init), (tiff_document_init):
747 Implement rotation. Was the quicker solution for the release
748 but we really need to share this code in the shell.
750 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
754 Enable rotation, require poppler cvs. Fix a leak.
756 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
758 * shell/ev-window.c: (update_action_sensitivity):
760 Make properties unsensitive if document backend doesn't provide
763 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
765 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
766 (bitmap_flip_horizontally), (bitmap_flip_vertically),
767 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
768 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
769 (bitmap_flip_rotate_counter_clockwise):
770 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
771 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
773 * dvi/mdvi-lib/common.h:
774 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
775 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
776 (opendvi), (mdvi_reload), (mdvi_init_context),
777 (mdvi_destroy_context), (mdvi_dopage), (special):
778 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
779 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
780 (file_hash_free), (register_encoding), (parse_spec),
781 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
782 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
783 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
784 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
785 (mdvi_register_font_type), (mdvi_unregister_font_type),
786 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
787 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
788 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
789 (mdvi_hash_destroy_key), (mdvi_hash_reset):
790 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
791 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
792 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
793 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
794 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
795 * dvi/mdvi-lib/special.c: (mdvi_register_special),
796 (mdvi_unregister_special), (mdvi_flush_specials):
797 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
799 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
800 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
801 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
802 (free_font_metrics), (flush_font_metrics):
803 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
805 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
806 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
807 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
808 (dstring_insert), (dstring_new), (dstring_reset):
809 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
811 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
812 avoid conflict with libtool on FC4
814 * shell/ev-window.c: (ev_window_cmd_help_about):
816 Update copyright year. Fix for bug 308828.
818 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
820 * shell/ev-view.c: (add_scroll_binding_keypad),
821 (ev_view_binding_activated), (ev_view_class_init),
822 (on_adjustment_value_changed):
824 Bug 170874: Arrow keys switch pages in presentation mode
826 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
828 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
830 Fix for Bug 308265: Sidebar dissappears coming out of
833 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
835 * shell/ev-application.c: (ev_application_open):
836 * shell/ev-document-types.c: (ev_document_types_add_filters),
837 (ev_document_types_add_filters_for_type):
838 * shell/ev-document-types.h:
839 * shell/ev-window.c: (ev_window_cmd_save_as):
841 Suggest basename as template when saving, provide filters
842 for save dialog. It's bug 308402
844 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
847 * shell/ev-sidebar-links.c: (job_finished_callback):
848 * shell/ev-view.c: (update_find_status_message):
852 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
854 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
855 (egg_recent_view_uimanager_set_list):
857 Fix buglet in !show_numbers case.
859 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
861 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
862 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
864 Use pango ellipsisation.
868 Fix refcount leak, from nsh.
870 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
872 * cut-n-paste/recent-files/Makefile.am:
873 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
874 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
876 Removed EggRecentViewGtk
878 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
879 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
880 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
881 (ev_window_setup_recent):
883 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
886 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
888 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
889 (egg_recent_view_gtk_finalize):
893 * cut-n-paste/toolbar-editor/Makefile.am:
895 Fix location of cursor icon.
898 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
899 (display_completion_text), (match_completion):
900 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
901 (selection_changed_callback), (create_loading_model),
902 (print_section_cb), (links_page_num_func),
903 (update_page_callback_foreach):
904 * shell/ev-window.c: (ev_window_dispose):
906 Small memory fixes. Links model now store objects instead
907 of pointers to improve memory management.
909 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
911 * shell/ev-window.c: (zoom_control_changed_cb):
913 Fix update of zoom control (bug 308268).
915 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
917 * shell/ev-properties.c (set_property): escape the text correctly.
918 Handles non-UTF-8 properties and escaped properties. Also, sets
919 the text to "<i>None</i>" if the property isn't set.
921 * data/evince-properties.glade: Change the label to be ellipsized,
922 and give it a minimum size.
924 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
926 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
927 * shell/ev-sidebar-links.c: (create_loading_model):
928 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
929 * shell/ev-view.c: (ev_view_set_document):
930 * shell/ev-window.c: (ev_window_dispose):
932 Various small fixes, mostly memory leaks. Thanks to valgrind.
934 2005-06-19 Martin Kretzschmar <martink@gnome.org>
936 * ps/ps-document.c: remove the locale.h include again ;-). And
937 kill the (bogus) setlocale/savelocale business.
939 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
943 Include locale.h to fix build
945 * shell/ev-sidebar.c:
947 Remove unnecessary includes
949 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
951 * dvi/dvi-document.c: (dvi_document_load):
952 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
955 Check for incorrect dvi files. Fix parsing dvi on AMD64
956 platform. Thanks to tester@tester.ca (Olivier Crete).
958 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
960 * shell/ev-page-action.c: (match_selected_cb),
961 (display_completion_text), (match_completion), (update_model):
962 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
964 * shell/ev-sidebar.c: (ev_sidebar_destroy),
965 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
966 (ev_sidebar_set_document):
967 * shell/ev-window.c: (ev_window_xfer_job_cb),
968 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
970 Fixed lot's of memory leaks, for example, memory leak on reload,
971 described in bug 307793.
973 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
976 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
977 (update_visible_range), (adjustment_changed_cb),
978 (ev_sidebar_thumbnails_fill_model),
979 (ev_sidebar_thumbnails_refresh),
980 (ev_sidebar_tree_selection_changed),
981 (ev_sidebar_icon_selection_changed),
982 (ev_sidebar_thumbnails_use_icon_view),
983 (ev_sidebar_thumbnails_set_document):
984 * shell/ev-sidebar-thumbnails.h:
985 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
986 (ev_window_cmd_edit_rotate_right), (ev_window_init):
988 Refresh thumbnails when changing orientation. Not fully
989 working yet becuase of a sidebar bug.
991 Set page orientation to poppler page everywhere. This sucks
992 really need to fix poppler.
994 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
996 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
997 (egg_recent_view_gtk_new_menu_item),
998 (egg_recent_view_gtk_set_property),
999 (egg_recent_view_gtk_get_property),
1000 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1001 (egg_recent_view_gtk_set_tooltip_func),
1002 (egg_recent_view_gtk_set_label_width),
1003 (egg_recent_view_gtk_get_label_width):
1004 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1006 Sync with libegg (ellipsize labels)
1008 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1010 * data/evince-ui.xml:
1011 * shell/ev-window.c: (ev_window_cmd_go_forward),
1012 (ev_window_cmd_go_backward):
1014 Shift + PageUp moves 10 Pages. Fix for 306125
1016 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1018 * pdf/ev-poppler.cc:
1020 Add a flag to check if orientation has been overriden
1022 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1024 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1027 * ps/ps.h: add creator field to document.
1029 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1032 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1034 * data/evince-properties.glade:
1035 * shell/ev-properties.c: (ev_properties_set_document):
1037 s/PDF Version/Format
1039 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1041 * shell/ev-properties.c: (ev_properties_set_document):
1043 Remove unnecessary translations
1045 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1047 * cut-n-paste/toolbar-editor/Makefile.am:
1049 Correct library name
1051 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1054 * cut-n-paste/recent-files/egg-recent-model.c:
1055 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1056 (egg_recent_model_unlock_file):
1057 * cut-n-paste/recent-files/egg-recent-util.c:
1058 (egg_recent_util_get_unique_id):
1059 * cut-n-paste/recent-files/update-from-egg.sh:
1060 * cut-n-paste/toolbar-editor/Makefile.am:
1061 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1062 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1063 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1064 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1065 (egg_toolbars_model_get_type):
1066 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1068 Better makefile for toolbar editor and update everything
1071 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1073 * shell/ev-window.c: (update_document_mode):
1075 Prefer presentation mode when the document
1078 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1080 * data/evince-ui.xml:
1081 * shell/ev-window.c:
1083 Add control-equal for zooming
1085 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1087 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1089 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1091 * backend/ev-document.c: (ev_document_get_orientation):
1092 * backend/ev-document.h:
1093 * pdf/ev-poppler.cc:
1094 * ps/ps-document.c: (ps_document_get_orientation),
1095 (ps_document_set_orientation), (ps_document_document_iface_init):
1097 Add a get_orientation api. Improve set_orientation.
1099 * data/evince-ui.xml:
1100 * shell/ev-view.c: (ev_view_set_orientation),
1101 (ev_view_rotate_right), (ev_view_rotate_left):
1103 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1104 (ev_window_cmd_edit_rotate_right):
1106 Better ui for changing document orientation
1108 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1110 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1111 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1112 * shell/ev-sidebar-links.h:
1113 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1114 (ev_sidebar_page_iface_init):
1115 * shell/ev-sidebar-page.h:
1116 * shell/ev-sidebar-thumbnails.c:
1117 (ev_sidebar_thumbnails_get_property),
1118 (ev_sidebar_thumbnails_class_init),
1119 (ev_sidebar_thumbnails_set_document):
1120 * shell/ev-sidebar-thumbnails.h:
1121 * shell/ev-view.c: (ev_view_motion_notify_event):
1122 * shell/ev-window.c: (update_chrome_visibility),
1123 (ev_window_cmd_focus_page_selector),
1124 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1125 (sidebar_page_main_widget_update_cb), (ev_window_init):
1127 Autoraise toolbar on GoToPage binding and fix bindings in
1128 EvSidebarThumbnails page.
1130 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1132 * shell/ev-properties.c: (update_progress_label):
1134 Hide the progress label when finished; bug #307697.
1136 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1138 * pdf/ev-poppler.cc:
1140 Enable is_open for links, you will need poppler cvs
1142 * shell/ev-properties.c: (job_fonts_finished_cb):
1144 Get a lock on the document when filling the tree view
1146 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1148 * backend/ev-document-links.h:
1149 * pdf/ev-poppler.cc:
1150 * shell/ev-sidebar-links.c: (create_loading_model),
1151 (expand_open_links), (job_finished_callback):
1153 Expand links when specified by the document.
1154 Depend on a poppler api (defined out for now)
1156 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1158 * shell/ev-properties.c: (ev_properties_dispose),
1159 (ev_properties_class_init), (dialog_destroy_cb),
1160 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1161 (ev_properties_set_document), (ev_properties_new),
1162 (ev_properties_show):
1163 * shell/ev-properties.h:
1165 Make it an object, cleanup the code, api to show it as transient
1166 and to set the document.
1168 * shell/ev-window.c: (ev_window_setup_document),
1169 (ev_window_cmd_file_properties):
1171 Adapt to EvProperties changes, do not show multiple
1172 times, update it when document changes.
1174 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1177 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1178 (ps_document_set_orientation), (ps_document_document_iface_init):
1181 Implement orientation here too
1183 * shell/ev-properties.c: (ev_properties_new):
1184 * data/evince-properties.glade:
1186 Hide the fonts page for backends that doesnt
1189 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1191 * backend/ev-document.c: (ev_document_set_orientation):
1192 * backend/ev-document.h:
1193 * pdf/ev-poppler.cc:
1195 Add orientation api. Currently poppler api is not optimal,
1196 we need to set orientation every time we _get a page.
1197 I will try to fix that at some point.
1199 * data/evince-ui.xml:
1200 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1201 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1203 Add orientation menu items
1205 * shell/ev-page-cache.c: (ev_page_cache_clear):
1206 * shell/ev-page-cache.h:
1208 Add api to clear the cache
1210 * shell/ev-view.c: (setup_caches), (clear_caches),
1211 (ev_view_set_document), (ev_view_zoom_out),
1212 (ev_view_set_orientation):
1215 Implement orientation changing
1217 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1219 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1220 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1221 * backend/ev-document-fonts.h:
1223 Separate scan and fill so that we can incrementally fill from
1224 the main thread. Add a progress api.
1226 * data/evince-properties.glade:
1227 * pdf/ev-poppler.cc:
1228 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1230 * shell/ev-properties.c: (update_progress_label),
1231 (job_fonts_finished_cb), (setup_fonts_view):
1233 Incrementally feel the list and show the progress
1234 percentage in a label like acrobat does.
1236 You are going to need poppler cvs
1238 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1240 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1241 * backend/ev-document-fonts.h:
1242 * pdf/ev-poppler.cc:
1244 Make fonts model fill incrementally.
1246 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1247 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1248 (ev_job_queue_remove_job):
1249 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1250 (ev_job_fonts_new), (ev_job_fonts_run):
1253 New job for fonts scanning
1255 * shell/ev-properties.c: (job_fonts_finished_cb),
1256 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1257 * shell/ev-properties.h:
1258 * shell/ev-window.c: (ev_window_cmd_file_properties):
1260 Incrementally feel the treeview using the new job. Show Loading...
1261 message until scanning is completed.
1263 Hopefully I didnt break the build without the poppler patch.
1265 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1267 * shell/ev-application.c: (ev_application_open):
1268 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1269 (ev_document_type_get_type), (ev_document_type_lookup):
1270 * shell/ev-document-types.h:
1271 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1272 * shell/ev-job-xfer.h:
1273 * shell/ev-window.c: (ev_window_clear_local_uri),
1274 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1275 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1276 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1278 Transfer remote documents to tmp directory to display them later.
1280 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1282 * backend/ev-document-info.h:
1283 * shell/ev-properties.c: (ev_properties_new):
1285 s/GTime*/GTime. Not sure why we was using a pointer
1288 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1290 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1291 situations. That situation is that you're using GTK+-HEAD with
1292 the patch at #306726 is applied, and you have a document with <
1293 1500 pages in it. It's not quite as uniformly nice as the
1294 TreeView, but should be better in the long run.
1296 I'm pretty sure I guarded against breaking compilation with
1297 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1300 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1301 widget yet, so I commented that code out
1302 enable_view_actions_for_widget() for now. Need to figure this
1305 * shell/ev-page-action.c (match_selected_cb): emit the right
1306 signals. Our cool C-l completion now works.
1308 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1310 * backend/Makefile.am:
1311 * backend/ev-document-fonts.c:
1312 * backend/ev-document-links.c:
1313 * backend/ev-document.c: (ev_document_load):
1314 * backend/ev-document.h:
1315 * backend/ev-job-queue.c:
1316 * backend/ev-job-queue.h:
1317 * backend/ev-jobs.c:
1318 * backend/ev-jobs.h:
1319 * backend/ev-page-cache.c:
1320 * backend/ev-page-cache.h:
1322 EvPageCache and EvJobs are moved to shell.
1324 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1326 * lib/ev-file-helpers.h:
1328 New helper to work with temporary files
1330 * shell/Makefile.am:
1331 * shell/ev-application.c: (ev_application_open):
1332 * shell/ev-application.h:
1333 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1334 (remove_job_from_async_queue), (add_job_to_async_queue),
1335 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1336 (handle_job), (search_for_jobs_unlocked),
1337 (no_jobs_available_unlocked), (ev_render_thread),
1338 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1339 (ev_job_queue_add_job), (move_job_async), (move_job),
1340 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1341 * shell/ev-job-queue.h:
1342 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1343 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1344 * shell/ev-job-xfer.h:
1345 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1346 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1347 (ev_job_links_class_init), (ev_job_render_init),
1348 (ev_job_render_dispose), (ev_job_render_class_init),
1349 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1350 (ev_job_thumbnail_class_init), (ev_job_load_init),
1351 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1352 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1353 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1354 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1356 * shell/ev-page-action.c: (ev_page_action_set_document):
1357 * shell/ev-page-cache.c: (ev_page_cache_init),
1358 (ev_page_cache_class_init), (ev_page_cache_finalize),
1359 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1360 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1361 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1362 (ev_page_cache_get_title), (ev_page_cache_get_size),
1363 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1364 (ev_page_cache_get_height_to_page),
1365 (ev_page_cache_get_max_label_chars),
1366 (ev_page_cache_get_page_label),
1367 (ev_page_cache_has_nonnumeric_page_labels),
1368 (ev_page_cache_get_info), (ev_page_cache_next_page),
1369 (ev_page_cache_prev_page), (ev_page_cache_get):
1370 * shell/ev-page-cache.h:
1371 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1372 (ev_pixbuf_cache_clear_job_sizes),
1373 (ev_pixbuf_cache_add_jobs_if_needed),
1374 (ev_pixbuf_cache_set_page_range):
1375 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1376 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1377 * shell/ev-sidebar-thumbnails.c:
1378 (ev_sidebar_tree_selection_changed),
1379 (ev_sidebar_thumbnails_set_document):
1380 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1381 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1382 (ev_statusbar_get_context_id), (ev_statusbar_push),
1383 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1384 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1385 (ev_statusbar_set_progress):
1386 * shell/ev-statusbar.h:
1387 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1388 (ev_view_find_previous):
1389 * shell/ev-window.c: (ev_window_is_empty),
1390 (ev_window_setup_document), (password_dialog_response),
1391 (ev_window_clear_jobs), (ev_window_load_job_cb),
1392 (ev_window_xfer_job_cb), (ev_window_open_uri),
1393 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1394 (ev_window_print), (ev_window_print_range),
1395 (ev_window_state_event), (ev_window_cmd_view_reload),
1396 (menu_item_select_cb), (menu_item_deselect_cb),
1397 (view_status_changed_cb), (ev_window_dispose),
1398 (drag_data_received_cb), (ev_window_init):
1399 * shell/ev-window.h:
1400 * shell/main.c: (load_files):
1402 New statusbar to show progress on idle. Two new jobs -
1403 xfer job and load job to load document in background. And update
1404 of page_cache clients to new location of code.
1406 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1408 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1409 selection in open dialog. It also remembers the last visited directory
1410 in the current session.
1412 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1414 * shell/ev-properties.c: (ev_properties_new):
1415 * shell/ev-properties.h:
1416 * shell/ev-window.c: (ev_window_cmd_file_properties):
1418 Get document info from page cache instead of document itself.
1419 This should fix crash related to race conditions described in
1422 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1424 * ps/ps-document.c: (ps_document_init),
1425 (send_ps), (get_page_box), (output), (catchPipe), (input),
1426 (stop_interpreter), (file_length), (file_readable),
1427 (check_filecompressedb), (ps_document_enable_interpreter),
1428 (document_load), (ps_async_renderer_render_pixbuf):
1431 Big cleanup of the ps code
1433 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1435 * backend/Makefile.am:
1436 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1437 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1438 * backend/ev-async-renderer.h:
1440 Add an async renderer interface (method + callback) which
1441 is useful for backends like ps.
1443 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1444 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1445 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1446 (ev_job_queue_add_job), (move_job_async), (move_job),
1447 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1449 Add queues for async renderer, these are executed on the
1452 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1453 (ev_job_render_run):
1454 * backend/ev-jobs.h:
1456 If the backend support async renderer interface use it.
1458 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1459 (setup_pixmap), (ps_document_get_type),
1460 (ps_async_renderer_render_pixbuf),
1461 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1463 Implement async renderer interface.
1465 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1467 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1469 Cleanup links job on exit.
1471 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1473 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1474 (drag_data_get_cb), (drag_data_received_cb):
1475 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1476 (drag_data_get_cb), (parse_item_list),
1477 (egg_toolbar_editor_load_actions):
1478 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1479 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1480 (parse_item_list), (parse_toolbars):
1481 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1482 (dvi_pixbuf_put_pixel):
1484 Fix gcc 4.0 warnings
1486 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1488 * ps/ps-document.c: (start_interpreter):
1490 Fix warning when loading ps
1492 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1494 * ps/ps-document.c: (output):
1496 Fix crash when priting gs error messages.
1498 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1500 * backend/ev-page-cache.c: (_ev_page_cache_new):
1501 * backend/ev-page-cache.h:
1503 Use a const to return title so that we dont double
1504 free it. Small cleanup and fix a leak.
1506 * shell/ev-window.c: (update_window_title):
1508 strdup value from get_title.
1510 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1512 * shell/ev-sidebar-links.c: (job_finished_callback),
1513 (ev_sidebar_links_set_document):
1515 Cleanup the old job when changing document
1517 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1519 * shell/ev-stock-icons.c:
1520 * shell/ev-stock-icons.h:
1521 * shell/ev-window.c:
1523 Add stock icons for actions that can appear in toolbar. Fix for
1526 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1528 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1529 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1530 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1531 * backend/ev-page-cache.h:
1532 * shell/ev-view.c: (scroll_to_current_page),
1533 (view_update_range_and_current_page), (get_page_y_offset),
1534 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1535 (ev_view_size_request_continuous),
1536 (ev_view_zoom_for_size_continuous_and_dual_page),
1537 (ev_view_zoom_for_size_continuous):
1539 More compact EvView layout in document with pages of different size.
1541 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1543 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1546 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1548 * shell/ev-view.c: (view_set_adjustment_values):
1549 * shell/ev-window.c: (ev_window_cmd_file_properties):
1551 A bit different fix for rounding problem but it has no
1552 problems on startup. Make properties window transient to parent.
1554 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1556 * pdf/ev-poppler.cc:
1558 More commenting of font stuff.
1560 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1562 * pdf/ev-poppler.cc:
1564 Comment out some more fonts stuff. Should really
1565 work without the poppler patch now.
1567 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1569 * pdf/ev-poppler.cc:
1573 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1575 * data/evince-properties.glade:
1576 * pdf/ev-poppler.cc:
1577 * shell/ev-properties.c: (setup_fonts_view):
1579 Set the column title. Show the dialog only
1580 once everything is setup.
1581 Getting font info can be very slow... will
1582 prolly need to make this threaded too.
1584 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1586 * backend/Makefile.am:
1587 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1588 (ev_document_fonts_get_fonts_model):
1589 * backend/ev-document-fonts.h:
1590 * data/evince-properties.glade:
1591 * pdf/ev-poppler.cc:
1592 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1593 * shell/ev-properties.h:
1594 * shell/ev-window.c: (ev_window_cmd_file_properties):
1596 Implement fonts list. Defined out for now, since it depends
1597 on a not yet committed poppler patch.
1599 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1601 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1604 * shell/ev-window.c: Make sure we add the timeout when we get a
1607 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1608 adjustment->value before calculating the zoom factor to average
1609 out all of our rounding errors. The page no longer 'drifts' when
1612 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1614 * data/evince-properties.glade:
1615 * shell/ev-properties.c: (ev_properties_format_date),
1618 Labels don't expand when the dialogue is resized.
1619 strftime result needs to be converted to UTF-8. Thanks
1620 to Christian Persch <chpe@gnome.org>.
1622 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1624 * data/evince-properties.glade:
1628 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1630 * backend/ev-document-info.h:
1631 * backend/ev-document.c: (ev_document_info_free):
1632 * data/evince-properties.glade:
1633 * pdf/ev-poppler.cc:
1634 * ps/ps-document.c: (ps_document_get_info):
1635 * shell/ev-properties.c: (ev_properties_format_date),
1636 (set_property), (ev_properties_new):
1637 * shell/ev-properties.h:
1638 * shell/ev-window.c: (ev_window_cmd_file_properties):
1640 Rework properties code to take only EvPropertyInfo
1641 in the constructor so that it can be useful for
1642 nautilus plugin too.
1644 Deal with backends that doesnt support some properties.
1645 Make set property code generic.
1647 2005-06-04 Christian Persch <chpe@gnome.org>
1649 * data/evince-properties.glade:
1651 fix spacings, make resizeable, and make data labels
1652 selectable + ellipsised
1654 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1656 * backend/ev-document-info.h:
1658 * data/evince-ui.xml:
1659 * pdf/ev-poppler.cc:
1660 * shell/Makefile.am:
1661 * shell/ev-window.c: (update_action_sensitivity),
1662 (ev_window_cmd_file_properties):
1664 Initial go at file properties. Patch by
1665 Emil Soleyman-Zomalan <emil@soleyman.com>.
1666 Needs love see #169583
1668 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1670 * ps/ps-document.c: (output):
1671 * ps/ps.c: (psscan):
1673 Try to render even if psscan fails.
1675 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1677 * ps/ps.c: (psscan), (pscopydoc):
1679 Port buffered reading code from gv
1681 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1683 * ps/ps-document.c: (interpreter_message), (output):
1685 Do not fail on interpreter messages
1687 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1689 * backend/ev-document-misc.c:
1690 (ev_document_misc_get_thumbnail_frame):
1692 Pages can be 0 x 0, dont assert on this case
1694 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1696 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1697 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1699 Correctly manage our reference on document. Finally the reload
1700 huge leak is gone...
1702 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1704 * ps/ps-document.c: (ps_document_dispose):
1706 Forgot to chain it to the parent. Thanks chpe.
1708 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1710 * ps/ps-document.c: (ps_document_dispose),
1711 (ps_document_class_init), (stop_interpreter), (document_load):
1713 Cleanup dispose a bit. Dont leak the whole pixmap.
1715 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1717 * pdf/ev-poppler.cc:
1719 Release the poppler document on dispose
1721 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1723 * shell/ev-view.c: (ev_view_set_document):
1725 Release ref on the pixbuf cache when changing
1728 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1730 * ps/ps-document.c: (ps_document_get_info):
1734 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1736 * backend/ev-page-cache.c: (ev_page_cache_init),
1737 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1738 * backend/ev-page-cache.h:
1739 * shell/ev-page-action.c: (page_changed_cb):
1741 Set page action entry width depending on labels width. Fix
1744 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1746 * backend/ev-link.c: (ev_link_class_init):
1748 Allow -1 as page value (error)
1750 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1752 * shell/ev-sidebar-thumbnails.c:
1753 (ev_sidebar_thumbnails_set_document):
1754 * shell/ev-view.c: (scroll_to_current_page),
1755 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1756 (page_changed_cb), (on_adjustment_value_changed),
1757 (ev_view_set_document):
1759 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1762 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1765 * djvu/djvu-document.c: (djvu_document_get_page_size):
1767 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1770 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1772 * shell/ev-view.c (draw_one_page): modify the expose handling to
1775 * shell/ev-window.c (update_action_sensitivity): Respect
1776 permissions field. Kowtow to the man.
1778 * pdf/ev-poppler.cc: Get the permissions field.
1780 * tiff/*c: Make a tiny bit more robust.
1782 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1784 * djvu/djvu-document.c:
1786 Pop messages from djvu context message queue.
1788 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1790 * configure.ac, Makefile.am, shell/Makefile.am:
1791 * tiff/Makefile.am, shell/ev-document-types.c:
1793 Cleanup tiff configure checks. Fix for bug 305218.
1795 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1797 * configure.ac: Added "uk" to ALL_LINGUAS.
1799 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1801 * cut-n-paste/zoom-control/ephy-zoom.c:
1802 (ephy_zoom_get_changed_zoom_level):
1803 * cut-n-paste/zoom-control/ephy-zoom.h:
1804 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1805 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1806 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1807 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1808 (zoom_control_changed_cb), (ev_window_init):
1810 Fix minor points related to moving best fit up. Introduce
1811 "zoom" property and make zoom control change it's value on
1812 notify::zoom signals. Fix for 305080.
1814 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1816 * data/evince-ui.xml:
1817 * shell/ev-window.c: (set_view_actions_sensitivity):
1819 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1821 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1825 Depends on poppler 0.3.2
1827 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1829 * cut-n-paste/recent-files/egg-recent-item.c:
1830 (egg_recent_item_get_short_name):
1831 * cut-n-paste/toolbar-editor/Makefile.am:
1832 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1833 (new_pixbuf_from_widget):
1834 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1835 * cut-n-paste/toolbar-editor/egg-marshal.c:
1836 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1837 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1841 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1843 * tiff/tiff-document.c: Rough TIFF backend.
1845 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1849 * cut-n-paste/toolbar-editor/Makefile.am:
1853 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1855 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1856 (ev_view_find_next), (ev_view_find_previous):
1858 Remove the locks around get_n_results
1860 2005-05-21 Juerg Billeter <j@bitron.ch>
1862 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1864 Pass correct number of pages to poppler.
1866 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1870 * data/evince.desktop.in:
1871 * data/evince.desktop.in.in:
1874 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1876 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1878 * shell/ev-view.c: (view_update_adjustments),
1879 (view_set_adjustment_values): cast adjustmen->value to (int)
1880 before using it. Otherwise, we get off by a pixel in some
1883 (draw_one_page): Draw the border on expose.
1885 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1887 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1888 adjustment when the mode changes, #304923
1890 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1892 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1893 flickering on resize but still use gdk_window_scroll on
1896 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1898 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1901 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1903 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1904 second page on page_changed if possible, #304669
1906 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1908 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1909 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1911 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1914 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1915 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1916 (ev_view_zoom_for_size_presentation),
1917 (ev_view_zoom_for_size_continuous_and_dual_page),
1918 (ev_view_zoom_for_size_continuous),
1919 (ev_view_zoom_for_size_dual_page),
1920 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1922 * shell/ev-window.c: (update_view_size),
1923 (ev_window_sizing_mode_changed_cb):
1925 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1926 the scrollbars. It's not 100% right, but it's much closer. Kills
1927 an infinite loop, #304769
1930 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1932 * data/evince-ui.xml:
1933 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1934 * shell/ev-window.c: (set_view_actions_sensitivity):
1936 Make PgUp/Down behave like Space
1938 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1940 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1941 * backend/ev-ps-exporter.h:
1942 * pdf/ev-poppler.cc:
1943 * ps/ps-document.c: (ps_document_ps_export_begin):
1944 * shell/ev-print-job.c: (idle_print_handler):
1946 Adapt to new poppler api
1948 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1950 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1951 (ephy_zoom_control_init):
1953 Translate zoom levels
1955 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1957 * cut-n-paste/zoom-control/ephy-zoom.c:
1958 (ephy_zoom_get_zoom_level_index):
1960 Fix current zoom -> zoom control match
1962 2005-05-18 James Bowes <bowes@cs.dal.ca>
1964 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
1965 rather than the scrolled_window that it's in. Fixes bug #304655.
1967 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
1969 * shell/ev-view.c: (view_update_adjustments),
1970 (view_set_adjustment_values), (view_update_range_and_current_page),
1971 (view_scroll_to_page), (set_scroll_adjustment),
1972 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
1973 (ev_view_scroll), (ev_view_scroll_view),
1974 (ensure_rectangle_is_visible), (find_page_at_location),
1975 (get_link_at_location), (go_to_link), (status_message_from_link),
1976 (ev_view_size_request_continuous_dual_page),
1977 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
1978 (ev_view_unrealize), (ev_view_expose_event),
1979 (ev_view_button_press_event), (ev_view_motion_notify_event),
1980 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
1981 (draw_rubberband), (highlight_find_results), (draw_one_page),
1982 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
1983 (ev_view_init), (find_changed_cb), (page_changed_cb),
1984 (on_adjustment_value_changed), (ev_view_new),
1985 (ev_view_set_document), (ev_view_set_zoom),
1986 (ev_view_set_continuous), (ev_view_set_dual_page),
1987 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
1988 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1989 (ev_view_zoom_for_size_presentation),
1990 (ev_view_zoom_for_size_continuous_dual_page),
1991 (ev_view_zoom_for_size_continuous),
1992 (ev_view_zoom_for_size_dual_page),
1993 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1994 (ev_view_get_status), (ev_view_set_status),
1995 (update_find_status_message), (ev_view_get_find_status),
1996 (ev_view_set_find_status), (jump_to_find_result),
1997 (jump_to_find_page), (compute_selections), (clear_selection),
1998 (ev_view_select_all), (get_selected_text), (ev_view_copy),
1999 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2000 (ev_view_update_primary_selection),
2001 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2003 * shell/ev-window.c: (ev_window_open_page_label),
2004 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2006 * shell/ev-window.h:
2007 * shell/main.c: (load_files):
2009 Massive code clean up from Nickolay Shmyrev. Keep page offset
2010 when resizing. Remove the bin_window(). Also, patch from James
2011 Bowes to fix command line page, #300641
2013 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2015 * data/evince-ui.xml:
2018 * shell/ev-window.c: (update_action_sensitivity):
2020 Get rid of View->Normal Size, it's just confusing
2022 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2024 * backend/ev-document-info.h:
2025 * backend/ev-document.c: (ev_document_info_free): Free the
2028 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2029 (clear_range), (add_range), (update_visible_range),
2030 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2031 (ev_sidebar_thumbnails_set_document):
2032 * shell/ev-window.c: (ev_window_setup_document): Only render the
2033 visible thumbnails. It takes an instant to render, but it uses
2036 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2038 * shell/ev-sidebar-links.c: (popup_menu_cb):
2042 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2045 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2046 (button_press_cb), (ev_sidebar_links_construct):
2048 Show the popup menu also on keybindings
2050 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2052 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2053 * shell/ev-window.h:
2055 Expose api to print a range (with dialog). Make private _print use
2058 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2059 (ev_sidebar_links_construct):
2061 Show a print context menu on linkx, it prints the selected
2064 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2066 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2069 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2075 * shell/ev-window.c: (build_comments_string),
2076 (ev_window_cmd_help_about):
2078 Show poppler version/backend and authors
2080 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2082 * cut-n-paste/zoom-control/ephy-zoom.c:
2083 (ephy_zoom_get_zoom_level_index):
2084 * cut-n-paste/zoom-control/ephy-zoom.h:
2086 Move the best fit items at the top of the list
2088 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2090 * shell/ev-marshal.list:
2091 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2092 (activate_cb), (match_selected_cb), (activate_link_cb),
2093 (connect_proxy), (ev_page_action_class_init):
2094 * shell/ev-page-action.h:
2096 Use signals to notify action activation. Hopefully
2097 I did not break completion since I cant test...
2099 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2100 (register_custom_actions):
2102 Connect to page selector actions and also grab focus on
2103 the view when activated.
2105 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2107 * pdf/ev-poppler.cc:
2108 * backend/ev-page-cache.c: make page size calculation consistent
2109 and set it to (int)( width * scale + 0.5). This makes the weird
2110 line going through the middle of the page go away.
2112 * shell/ev-view.c: move painting the background page after
2113 checking the expose area covers us.
2115 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2117 * data/evince-password.glade:
2119 Mark labels as not translatable. Fix for bug 302842.
2121 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2123 * configure.ac: Added "es" to ALL_LINGUAS.
2125 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2127 * data/evince-toolbar.xml:
2128 * shell/ev-window.c: (update_action_sensitivity),
2129 (ev_window_setup_document), (ev_window_set_page_mode),
2132 Remove some leftover code from jrb first continous
2133 attempt. Use the new actions, we still need good icons
2136 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2138 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2140 Update label when connecting proxy. Fix a warning with NULL
2143 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2145 * data/evince-ui.xml:
2146 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2147 * shell/ev-page-action.h:
2148 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2150 Add mnemonic for edit toolbar.
2151 ctrl+l focus the page entry.
2153 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2156 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2158 * shell/main.c: (main):
2160 Put the toolbar xml in evince own dot dir
2162 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2164 * shell/ev-window.c: (ev_window_init):
2166 Make the toolbar not removable
2168 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2170 * data/evince-ui.xml:
2171 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2172 * shell/ev-sidebar-links.h:
2173 * shell/ev-sidebar-thumbnails.c:
2174 (ev_sidebar_thumbnails_get_treeview):
2175 * shell/ev-sidebar-thumbnails.h:
2176 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2177 (ev_view_class_init):
2179 * shell/ev-window.c: (update_action_sensitivity),
2180 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2181 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2182 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2185 This is evil... Make space/backspace global accelerators but
2186 enable them only for some widgets (sidebars and view).
2187 I dont like it, but I dont know a better way... :/
2189 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2191 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2192 (ev_page_action_widget_finalize),
2193 (ev_page_action_widget_class_init), (update_page_cache):
2195 Keep a weak reference on proxy->page_cache so that we
2196 dont try to disconnect the signal if the object is already
2197 gone. Maybe there is a better way to cleanup reference handling
2198 in page action though...
2200 2005-05-10 Juerg Billeter <j@bitron.ch>
2202 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2203 * backend/ev-ps-exporter.h:
2204 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2205 * ps/ps-document.c: (ps_document_ps_export_begin):
2207 Change api to pass print range to ps_exporter_begin. The pdf backend
2208 requires this information.
2210 * shell/ev-print-job.c: (idle_print_handler):
2214 2005-05-10 Juerg Billeter <j@bitron.ch>
2216 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2217 (idle_print_handler)
2218 * shell/ev-window.c: (ev_window_print):
2220 Support printing page range, based on patch by Amaury Jacquot
2222 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2224 * data/evince-toolbar.xml:
2226 Add zoom control to available items
2228 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2230 * shell/ev-window.c: (update_action_sensitivity):
2232 Set slash action insensitive when appropriate
2234 2005-05-10 Christian Persch <chpe@gnome.org>
2236 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2238 Fix warning on the overflow menu
2240 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2242 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2244 Check for uri correctness/existence
2246 2005-05-09 Juerg Billeter <j@bitron.ch>
2248 * shell/ev-window.c: (using_postscript_printer):
2250 LPD printers use postscript, too
2252 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2254 * shell/ev-window.c: (register_custom_actions):
2256 The zoom one is actually sort of useful,
2259 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2261 * shell/ev-window.c: (register_custom_actions):
2263 Hide page/zoom controls from overflow, they
2266 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2268 * cut-n-paste/update-from-egg.sh:
2270 Share it between all cut-n-paste subdirs
2272 * cut-n-paste/recent-files/Makefile.am:
2274 Fix to use "global" update-from-egg.sh
2276 * cut-n-paste/recent-files/egg-recent-model.c:
2277 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2278 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2279 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2280 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2284 * cut-n-paste/toolbar-editor/Makefile.am:
2286 Fix to use "global" update-from-egg.sh
2288 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2292 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2295 * cut-n-paste/Makefile.am:
2296 * cut-n-paste/recent-files/Makefile.am:
2297 * cut-n-paste/toolbar-editor/.cvsignore:
2298 * cut-n-paste/toolbar-editor/Makefile.am:
2299 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2300 (egg_editable_toolbar_get_type), (get_toolbar_position),
2301 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2302 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2303 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2304 (set_item_drag_source), (create_item_from_action), (create_item),
2305 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2306 (popup_toolbar_context_menu_cb), (free_dragged_item),
2307 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2308 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2309 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2310 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2311 (item_added_cb), (item_removed_cb),
2312 (egg_editable_toolbar_construct),
2313 (egg_editable_toolbar_disconnect_model),
2314 (egg_editable_toolbar_deconstruct),
2315 (egg_editable_toolbar_set_model),
2316 (egg_editable_toolbar_set_ui_manager),
2317 (egg_editable_toolbar_set_property),
2318 (egg_editable_toolbar_get_property),
2319 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2320 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2321 (egg_editable_toolbar_new_with_model),
2322 (egg_editable_toolbar_get_edit_mode),
2323 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2324 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2325 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2326 (new_pixbuf_from_widget), (new_separator_pixbuf),
2327 (update_separator_image), (style_set_cb),
2328 (_egg_editable_toolbar_new_separator_image),
2329 (egg_editable_toolbar_get_model):
2330 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2331 * cut-n-paste/toolbar-editor/egg-marshal.c:
2332 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2333 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2334 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2335 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2336 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2337 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2338 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2339 (editor_drag_data_delete_cb), (drag_data_get_cb),
2340 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2341 (editor_create_item), (update_editor_sheet), (setup_editor),
2342 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2343 (parse_item_list), (model_has_action), (update_actions_list),
2344 (egg_toolbar_editor_load_actions):
2345 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2346 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2347 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2348 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2349 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2350 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2351 (egg_toolbars_model_add_separator), (impl_add_item),
2352 (parse_item_list), (egg_toolbars_model_add_toolbar),
2353 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2354 (impl_get_item_data), (impl_get_item_type),
2355 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2356 (egg_toolbars_model_init), (free_toolbar),
2357 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2358 (egg_toolbars_model_remove_toolbar),
2359 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2360 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2361 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2362 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2363 (egg_toolbars_model_get_item_data),
2364 (egg_toolbars_model_get_item_type):
2365 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2366 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2368 * data/evince-toolbar.xml:
2369 * data/evince-ui.xml:
2370 * data/hand-open.png:
2372 * shell/Makefile.am:
2373 * shell/ev-window.c: (update_chrome_visibility),
2374 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2375 (ev_window_dispose), (ev_window_init):
2377 Implement epiphany like toolbar editor. Based on patch by
2378 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2380 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2382 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2384 Use set_cursor instead of set_selection, so that
2385 the keyboard focus moves too.
2387 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2389 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2391 Fix infinite loop when loading Type1 fonts
2393 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2395 * data/evince-ui.xml:
2396 * shell/ev-window.c:
2400 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2404 Make --disable really disable
2406 2005-05-07 Juerg Billeter <j@bitron.ch>
2408 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2410 Compare page labels even without has_labels set, fixes setting page
2413 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2415 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2416 (ev_view_set_cursor), (ev_view_button_press_event),
2417 (ev_view_motion_notify_event), (ev_view_button_release_event),
2420 Implement middle button scrolling. Based on a patch
2421 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2423 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2425 * shell/ev-document-types.c: (get_slow_mime_type),
2426 (get_document_type_from_mime), (ev_document_type_lookup):
2427 * shell/ev-document-types.h:
2429 Change api to lookup from uri. Do fast lookup first, if the
2430 type is unknown try with data sniffing.
2432 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2433 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2437 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2439 * thumbnailer/Makefile.am:
2443 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2450 * data/evince-ui.xml:
2452 Hide presentation mode for now
2454 * shell/ev-view.c: (highlight_find_results):
2456 Show current find selection only on current page
2458 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2460 * shell/ev-view.c: (ev_view_select_all):
2462 Compute size of the actual page, not of
2465 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2467 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2468 (view_rect_to_doc_rect), (compute_selections),
2469 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2470 (ev_view_copy), (ev_view_primary_get_cb),
2471 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2472 (ev_view_button_press_event), (ev_view_motion_notify_event),
2473 (ev_view_button_release_event), (page_changed_cb):
2477 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2479 * shell/ev-view.c: (compute_border), (get_page_extents),
2480 (doc_rect_to_view_rect), (highlight_find_results),
2481 (ev_view_bin_expose), (ev_view_select_all),
2482 (ev_view_motion_notify_event), (update_find_status_message),
2483 (jump_to_find_result), (jump_to_find_page):
2485 First go at fixing search, still buggy
2487 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2489 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2490 dropdown box and button at the top of the sidebar.
2492 2005-05-02 James Bowes <bowes@cs.dal.ca>
2494 * configure.ac: Output zoom-control Makefile.
2495 * cut-n-paste/Makefile.am: build zoom-control subdir.
2496 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2497 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2498 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2499 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2500 * cut-n-paste/zoom-control/ephy-zoom.c:
2501 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2502 from epiphany, and modified to add a separator into the menu.
2503 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2504 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2505 zoom-control action.
2506 * shell/Makefile.am: Include zoom-control flags.
2507 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2508 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2509 (ev_view_zoom_for_size_presentation),
2510 (ev_view_zoom_for_size_continuous_and_dual_page),
2511 (ev_view_zoom_for_size_continuous),
2512 (ev_view_zoom_for_size_dual_page),
2513 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2514 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2515 ev_view_get_zoom and ev_view_get_sizing_mode.
2517 * shell/ev-window.c: (update_action_sensitivity),
2518 (update_sizing_buttons), (zoom_control_changed_cb),
2519 (register_custom_actions): Initialize and use the zoom-control
2522 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2524 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2525 preview cache back to 1. Don't know when it got set to 0.
2527 * shell/ev-view.c: (compute_border), (ev_view_realize),
2528 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2529 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2530 (ev_view_get_fullscreen), (ev_view_set_presentation),
2531 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2532 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2534 * shell/ev-window.c:
2535 (update_chrome_visibility),
2536 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2537 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2538 (update_document_mode), (ev_window_update_fullscreen_action),
2539 (ev_window_fullscreen), (ev_window_unfullscreen),
2540 (ev_window_cmd_view_fullscreen),
2541 (ev_window_update_presentation_action),
2542 (ev_window_run_presentation), (ev_window_stop_presentation),
2543 (ev_window_cmd_view_presentation), (ev_window_state_event),
2544 (ev_window_focus_in_event), (ev_window_focus_out_event),
2545 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2546 * data/evince-ui.xml: Initial presentation mode. We should
2547 probably hide this until it's done, as it's quite rough. Also,
2548 change full-screen to fullscreen and add two getters to EvView.
2550 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2552 * shell/ev-page-action.c: (update_page_cache),
2553 (ev_page_action_dispose):
2554 * shell/ev-window.c: (destroy_fullscreen_popup),
2555 (ev_window_create_fullscreen_popup):
2557 Use connect_object rather than explicitly
2558 disconnect on dispose.
2560 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2562 * shell/ev-page-action.c: (update_page_cache),
2563 (ev_page_action_dispose):
2565 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2567 * backend/ev-page-cache.c: (_ev_page_cache_new),
2568 (ev_page_cache_set_page_label),
2569 (ev_page_cache_has_nonnumeric_page_labels):
2570 * backend/ev-page-cache.h:
2571 * shell/ev-page-action.c: (update_pages_label):
2573 If all page labels are numeric, fallback to default
2574 way to display number of pages. See bug 173185.
2576 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2578 * shell/ev-page-action.c: (ev_page_action_dispose):
2579 * shell/ev-view.c: (view_update_range_and_current_page):
2580 * shell/ev-window.c: (ev_window_dispose):
2582 Set page on scroll in continuous mode. Fixes bug 301986.
2583 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2585 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2589 Require poppler 0.3.0
2591 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2593 * shell/Makefile.am, configure.ac: Fix build problems
2594 with t1lib. Bug 301996.
2596 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2598 * shell/ev-view.c: (ev_view_scroll_event):
2600 Scroll up increase zoom
2602 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2604 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2605 (ev_view_set_sizing_mode),
2606 (ev_view_zoom_for_size_continuous_and_dual_page),
2607 (ev_view_zoom_for_size_continuous):
2608 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2609 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2610 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2613 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2614 Fix for 165473 and 165472.
2616 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2619 * thumbnailer/Makefile.am:
2620 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2621 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2622 * thumbnailer/evince-thumbnailer.schemas.in:
2624 Make thumbnailer schemas translatable. Fix for bug 301773
2626 * thumbnailer/evince-thumbnailer-djvu.schemas:
2627 * thumbnailer/evince-thumbnailer-dvi.schemas:
2628 * thumbnailer/evince-thumbnailer.schemas:
2632 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2634 * shell/ev-view.c (ev_view_init): forgot to set this.
2636 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2638 * shell/ev-view.c: (find_page_at_location),
2639 (get_link_at_location),
2640 (ev_view_set_show_border), (ev_view_set_spacing),
2641 (ev_view_zoom_for_size_continuous_and_dual_page),
2642 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2643 Also, add a quick fix measuring of widths. Also, removed
2644 ev_view_set_spacing and ev_view_set_show_border.
2646 * shell/ev-window.c: (ev_window_unfullscreen),
2647 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2649 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2651 * shell/ev-view.c: (view_update_range_and_current_page),
2654 Fix crash on exit and scrolling to page in continuous view.
2656 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2659 * backend/ev-page-cache.c: (_ev_page_cache_new),
2660 (ev_page_cache_get_max_width_size),
2661 (ev_page_cache_get_max_height_size):
2662 * backend/ev-page-cache.h:
2663 * data/evince-ui.xml:
2664 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2665 * shell/ev-view.c: (view_update_adjustments),
2666 (view_update_range_and_current_page), (get_bounding_box_size),
2667 (ev_view_size_request_continuous_and_dual_page),
2668 (ev_view_size_request_continuous),
2669 (ev_view_size_request_dual_page),
2670 (ev_view_size_request_single_page), (ev_view_size_request),
2671 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2672 (ev_view_bin_expose), (ev_view_expose_event),
2673 (ev_view_set_property), (ev_view_get_property),
2674 (ev_view_class_init), (ev_view_init), (ev_view_new),
2675 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2676 (ev_view_set_dual_page), (ev_view_set_full_screen),
2677 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2678 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2679 (ev_view_zoom_out), (zoom_for_size_fit_width),
2680 (zoom_for_size_best_fit),
2681 (ev_view_zoom_for_size_continuous_and_dual_page),
2682 (ev_view_zoom_for_size_continuous),
2683 (ev_view_zoom_for_size_dual_page),
2684 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2685 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2687 * shell/ev-window.c: (update_action_sensitivity),
2688 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2689 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2690 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2691 (ev_window_cmd_view_zoom_out), (update_view_size),
2692 (ev_window_set_sizing_mode), (ev_window_init):
2694 Add Continuous and Dual page modes.
2696 2005-04-23 James Bowes <bowes@cs.dal.ca>
2698 * dvi/dvi-document.c: (dvi_document_load),
2699 (dvi_document_thumbnails_get_thumbnail),
2700 (dvi_document_init_params): Fix up some mixups between
2701 width and height to correct thumbnail rendering.
2703 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2705 * dvi/mdvi-lib/private.h:
2706 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2708 Suppess output for kpathsea during font generation. Thanks to
2711 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2718 * Makefile.am: fix distcheck.
2720 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2722 * shell/ev-sidebar-links.c: (selection_changed_callback),
2723 (update_page_callback), (row_activated_callback),
2724 (job_finished_callback), (ev_sidebar_links_set_document):
2726 Fix for bug #169901. Double click on links expands tree.
2728 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2730 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2731 hard-coded style. Fix for bug 170111
2733 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2735 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2738 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2740 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2742 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2744 * pdf/ev-poppler.cc:
2745 * shell/ev-view.c: (highlight_find_results):
2747 Fix find on single page documents
2749 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2751 * data/evince.schemas.in: fix for bug 301390
2753 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2755 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2756 (ev_view_zoom_out), (ev_view_zoom_normal):
2758 * shell/ev-window.c: (update_action_sensitivity),
2759 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2760 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2761 (ev_window_cmd_view_normal_size):
2763 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2764 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2767 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2771 Depend on 2.57, 2.59 doesnt seem to be necessary
2773 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2775 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2778 Put back total number of pages as (1 of 1234)
2780 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2782 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2785 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2786 function. This helps debugging.
2788 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2790 * djvu/djvu-document.c: (djvu_document_class_init),
2791 (djvu_document_get_info), (djvu_document_document_iface_init):
2792 * dvi/dvi-document.c: (dvi_document_class_init),
2793 (dvi_document_get_info), (dvi_document_document_iface_init):
2795 Dummy implementation of get_info method for dvi and djvu. Fix
2796 crashes with those backends
2798 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2800 * data/evince.desktop.in:
2802 Add application/x-gzpostscript
2804 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2806 * data/evince.schemas.in: Added real long descriptions,
2809 * README: Added actual text, closes bug 171869
2811 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2813 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2817 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2819 * backend/ev-document-info.h:
2821 s/GDate */GDate so we can just use g_free
2823 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2825 * shell/ev-window.c: (update_document_mode),
2826 (ev_window_setup_document):
2828 Show the window in fullscreen when specified by
2831 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2833 * backend/ev-document.c: (ev_document_class_init),
2834 (ev_document_get_info), (ev_document_render_pixbuf):
2835 * backend/ev-document.h:
2836 * backend/ev-page-cache.c: (_ev_page_cache_new):
2837 * pdf/ev-poppler.cc:
2838 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2839 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2840 * ps/ps-document.c: (ps_document_class_init), (document_load),
2841 (ps_document_get_info), (ps_document_document_iface_init):
2843 Remove get_title from the interface, we can just use document info
2845 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2847 * backend/Makefile.am:
2848 * backend/ev-document.c: (ev_document_render_get_info):
2849 * backend/ev-document.h:
2850 * pdf/ev-poppler.cc:
2852 Initial support for document info. Based on jrb patch.
2854 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2856 * shell/ev-window.c: (ev_window_state_event),
2857 (ev_window_class_init), (ev_window_init):
2859 Doesn't show resize grip when maximized. See bug #301053
2861 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2865 ev-sidebar-thumbnails now has translatable labels
2867 * shell/Makefile.am:
2868 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2869 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2870 (ev_sidebar_links_page_iface_init):
2871 * shell/ev-sidebar-links.h:
2872 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2873 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2874 (ev_sidebar_page_get_label):
2875 * shell/ev-sidebar-page.h:
2876 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2877 (ev_sidebar_thumbnails_set_document),
2878 (ev_sidebar_thumbnails_support_document),
2879 (ev_sidebar_thumbnails_get_label),
2880 (ev_sidebar_thumbnails_page_iface_init):
2881 * shell/ev-sidebar-thumbnails.h:
2882 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2883 (ev_sidebar_set_document):
2884 * shell/ev-sidebar.h:
2885 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2887 Small rework of sidebar code. Now sidebar pages should implement
2888 EvSidebarPage interface. That makes page management in EvSidebar
2889 easier. See bug #164811 for details
2891 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2893 * shell/ev-application.c: (ev_application_open):
2894 * shell/ev-document-types.c:
2896 Fix build error and small problem with application exit
2898 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2900 * thumbnailer/Makefile.am:
2901 * thumbnailer/evince-thumbnailer-djvu.schemas:
2902 * thumbnailer/evince-thumbnailer-dvi.schemas:
2904 Conditionally install schemas for djvu/dvi thumbnailer
2906 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2908 * shell/ev-document-types.h:
2909 * shell/ev-document-types.c:
2910 New files, handling the mapping from mimetypes to backends
2912 * shell/ev-window.c:
2913 * thumbnailer/evince-thumbnailer.c:
2914 Use the ev-document-types code
2916 * shell/Makefile.am:
2917 Added new convenience library libevbackendfactory_la, containing
2918 the new mimetype->backend logic; moved the backends into it.
2920 * thumbnailer/Makefile.am:
2921 Make the thumbnailer link with the libevbackend.la convenience
2922 library, rather than having a duplicate of the backend logic here.
2924 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2926 * shell/ev-stock-icons.c: constify some vars.
2927 * shell/ev-window.c: ditto.
2929 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2931 * ps/ps-document.c (get_page_orientation):
2933 Respect document orientation
2935 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2939 * shell/Makefile.am:
2941 Move library dependencies to components.
2943 * shell/ev-window.c: (update_window_title),
2944 (start_loading_document):
2946 Fix display of uris with spaces. Bug 168358.
2948 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2950 * shell/ev-sidebar-links.c: (selection_changed_cb):
2951 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2952 (ev_view_button_release_event), (ev_view_set_document):
2954 * shell/ev-window.c: (find_bar_search_changed_cb):
2955 * shell/ev-window.h: Minor cleanups removing some dead code.
2957 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2959 * backend/ev-page-cache.c: (_ev_page_cache_new):
2961 Set current page to 0 if document has pages.
2963 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2965 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2967 Initialize GError to NULL, fix a crash when loading fails.
2969 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2971 * shell/ev-window.c: (update_view_size):
2973 Calculate shadow size only when there is actually
2976 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2978 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
2981 Allow setting view spacing, default to 0
2983 * shell/ev-window.c: (ev_window_unfullscreen),
2984 (ev_window_cmd_view_fullscreen), (ev_window_init):
2986 Remove spacing in fullscreen mode
2988 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2990 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
2991 (ev_view_size_request), (expose_bin_window),
2992 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
2994 * shell/ev-window.c: (ev_window_unfullscreen),
2995 (ev_window_cmd_view_fullscreen):
2997 Do not draw the border in fulscreen
2999 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3001 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3002 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3003 (find_page_at_location), (page_changed_cb):
3005 Rework border calculation, so that I can more easily disable it.
3006 Code somewhat cleaner too.
3008 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3010 * backend/ev-page-cache.c: (ev_page_cache_init),
3011 (_ev_page_cache_new):
3013 Remove some assertions, documents can have 0 pages.
3014 Make initial current page -1.
3016 * shell/ev-page-action.c: (page_changed_cb):
3018 Show "" if current page is -1
3020 * shell/ev-window.c: (update_action_sensitivity),
3021 (ev_window_setup_document):
3023 When document has 0 pages do not set the view
3024 and make nearly everything insensitive.
3026 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3028 * shell/ev-page-view.c:
3029 * shell/ev-page-view.h:
3031 Remove unused files.
3033 * shell/ev-sidebar-thumbnails.c:
3034 (ev_sidebar_thumbnails_set_document):
3035 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3036 (ev_sidebar_supports_document):
3037 * shell/ev-sidebar.h:
3038 * shell/ev-window.c: (ev_window_setup_document):
3040 Doesn't show thumbnails if document has 1 page. Make
3041 sidebar menu entries sensitive only if if they have
3042 sense. Fix bug 164811.
3044 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3046 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3047 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3048 (ev_view_zoom_out), (ev_view_set_size):
3050 Rework sizing to deal with documents with not uniform page
3053 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3055 * backend/ev-page-cache.c: (_ev_page_cache_new):
3057 Fix several page size caching bugs
3059 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3061 * shell/ev-window.c: (set_action_properties):
3063 Make all toolbar items translatable
3065 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3067 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3068 (save_page_list), (ps_document_save),
3069 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3070 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3071 (ps_document_ps_exporter_iface_init):
3074 Based on a patch by J�rg Billeter <j@bitron.ch>
3076 Implement print and save a copy for the ps backend.
3078 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3080 * backend/ev-document.h:
3081 * djvu/djvu-document.c: (djvu_document_can_get_text),
3082 (djvu_document_document_iface_init):
3083 * dvi/dvi-document.c: (dvi_document_can_get_text),
3084 (dvi_document_document_iface_init):
3085 * pdf/ev-poppler.cc:
3086 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3087 (pixbuf_document_document_iface_init):
3088 * ps/ps-document.c: (ps_document_can_get_text),
3089 (ps_document_document_iface_init):
3090 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3091 * shell/ev-window.c: (update_action_sensitivity):
3093 Fix the crash when trying to copy in backends that doesnt
3094 support it. We can implement a better solution once we
3095 do real text selection.
3097 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3099 * data/evince-ui.xml:
3100 * shell/ev-window.c: (ev_window_cmd_escape):
3102 Work around the Escape conflict (find bar and unfullscreen)
3104 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3106 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3108 Fix for #300233. Next page correctly handles document end.
3110 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3111 (ev_sidebar_thumbnails_class_init),
3112 (ev_sidebar_thumbnails_set_document),
3113 (ev_sidebar_thumbnails_clear_job),
3114 (ev_sidebar_thumbnails_clear_model):
3116 Cleanup thumbnail jobs on document changes.
3118 * shell/ev-view.c: (add_scroll_binding_keypad),
3119 (add_scroll_binding_shifted), (ev_view_class_init):
3121 Shift + Space scrolls up. Fix for #173184
3123 * shell/ev-window.c: (ev_window_open_page),
3124 (ev_window_cmd_view_reload):
3126 Fix reload (Bug #300094)
3128 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3131 * dvi/mdvi-lib/assoc.c:
3132 * dvi/mdvi-lib/assoc.h: Removed garbage files
3134 * dvi/mdvi-lib/bitmap.c:
3135 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3136 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3137 * dvi/mdvi-lib/color.h: Antialias of rules
3139 * dvi/mdvi-lib/common.h:
3140 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3141 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3142 * dvi/mdvi-lib/files.c:
3143 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3144 * dvi/mdvi-lib/mdvi.h:
3145 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3146 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3147 * dvi/mdvi-lib/util.c: Fix compile warnings
3149 * dvi/dvi-document.c:
3150 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3151 (dvi_document_thumbnails_get_thumbnail),
3152 (dvi_document_document_thumbnails_iface_init):
3153 * dvi/mdvi-lib/Makefile.am:
3154 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3155 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3157 Dvi backend now renders thumbnails
3159 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3161 * shell/main.c: (main):
3163 Save accelerators on exit. Fixes bug #172095.
3165 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3167 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3168 update priority" comment.
3170 * backend/ev-job-queue.c: Give a way to change priority.
3172 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3174 * shell/ev-page-action.c: Fix logic.
3176 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3178 * shell/ev-view.c: (ev_view_can_find_next):
3179 * shell/ev-window.c: (ev_window_setup_document):
3181 Check that the document supports find
3183 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3185 * data/evince-ui.xml:
3186 * shell/ev-view.c: (ev_view_can_find_next):
3188 * shell/ev-window.c: (update_action_sensitivity),
3189 (find_changed_cb), (ev_window_setup_document),
3190 (ev_window_cmd_edit_find_next):
3194 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3196 * pdf/ev-poppler.cc:
3197 * shell/ev-print-job.c: (idle_print_handler):
3199 Make printing work again
3201 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3203 * shell/ev-page-action.h:
3204 * shell/ev-page-action.c: (ev_page_action_widget_init),
3205 (ev_page_action_widget_class_init), (page_changed_cb),
3206 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3207 (get_filter_model_from_model), (match_selected_cb),
3208 (display_completion_text), (match_completion), (update_model),
3209 (connect_proxy), (ev_page_action_set_property),
3210 (ev_page_action_get_property), (ev_page_action_set_document),
3211 (ev_page_action_set_model), (ev_page_action_class_init): Big
3212 reworking to make completions work iff we have >= GTK-2.7.0
3214 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3215 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3216 (job_finished_cb): We now have a 'model' property that is set when
3217 the links are loaded. This can be caught with "notify::model"
3219 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3220 listen for the model to be set, and propagate it to the action.
3222 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3224 * cut-n-paste/recent-files/egg-recent-item.c:
3225 (egg_recent_item_set_uri), (make_valid_utf8),
3226 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3227 * cut-n-paste/recent-files/egg-recent-item.h:
3229 Update egg-recent from libegg. This should fix long
3230 startup problem. For details see
3231 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3233 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3235 * cut-n-paste/recent-files/Makefile.am:
3236 * data/evince-ui.xml, shell/Makefile.am:
3237 * shell/ev-application.c, shell/ev-application.h:
3238 * shell/ev-window.c: Recent files support.
3240 * configure.ac: Added "ru" to ALL_LINGUAS.
3242 * dvju: new backend to support DJVU files.
3243 * dvi: new backend to support DVI.
3245 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3246 * ev-application.c: Support for new backends.
3248 * help, ev-window.c, main.c shell/Makefile.am:
3249 Evince user documentation.
3251 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3254 * shell/ev-window.c:
3255 * thumbnailer/evince-thumbnailer.c:
3257 s/pdf-document/ev-poppler
3259 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3266 * ps/ps-document.c: (setup_pixmap):
3270 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3272 * backend/ev-page-cache.c (ev_page_cache_next_page):
3273 * shell/ev-window.c (ev_window_cmd_go_next_page)
3274 (ev_window_cmd_go_first_page): Fix of by one errors.
3276 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3278 * ps/ps-document.c: (get_page_box):
3280 Fix page size calculation
3282 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3284 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3285 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3286 (get_page_orientation), (setup_page), (document_load),
3287 (ps_document_get_page_size), (render_pixbuf_idle):
3290 More refactoring to adapt to EvDocument changes
3292 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3294 * ps/ps-document.c: (start_interpreter):
3296 Actually add alpha args
3298 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3300 * pdf/ev-poppler.cc:
3302 Make clipboard work again
3304 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3306 Make searching work again.
3308 * backend/ev-document.c:
3309 * backend/ev-document.h:
3310 * backend/ev-document-find.c:
3311 * backend/ev-document-find.h: Change EvDocumentIface so we no
3312 longer store the current page or zoom level in the document. The
3313 consequence is that all calls that operate on the current page now
3314 instead take the page number as an extra argument, and all
3315 coordinates are now doubles in document coordinate system.
3317 * pdf/ev-poppler.cc:
3318 * pixbuf/pixbuf-document.c:
3319 * ps/ps-document.c: Update backends accordingly.
3321 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3325 Add required gettext version
3327 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3329 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3330 make F1 bring up non-existent help.
3332 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3333 epiphany's find bar, #167477
3335 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3336 <emil@nishra.com> to add space-bar scrolling,
3338 * shell/ev-window.c (static GtkActionEntry entries): add default
3339 keybinding for Help (F1)
3342 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3343 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3346 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3349 * pixbuf/pixbuf-document.c:
3351 Got pixbuf backend working again
3353 2005-04-01 Steve Murphy <murf@e-tools.com>
3355 * configure.in: Added "rw" to ALL_LINGUAS.
3357 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3359 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3360 model types, noticed by Martin Kretzschmar.
3362 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3364 * pdf/ev-poppler.cc: Implement search based on
3365 poppler_page_find_text(). Currently a bit crude since we remember
3366 all matches from all pages. Also, we grab the big document lock
3367 when we search since searching changes the underlying stream and
3368 thus conflicts with the rendering thread.
3370 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3371 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3372 (ev_view_find_previous): Fix some page indexes to be 0 based,
3373 offset rubber band by view offset,
3375 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3377 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3379 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3381 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3382 completely because I didn't understand GtkActions. I should
3383 read Marco's code more carefully in the future.
3385 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3388 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3390 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3391 PopplerRectangle change from poppler CVS.
3393 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3395 * backend/ev-document.c: (ev_document_get_page_label):
3396 * backend/ev-document.h:
3397 * backend/ev-page-cache.c: (_ev_page_cache_new),
3398 (ev_page_cache_get_page_label):
3399 * backend/ev-page-cache.h:
3400 * pdf/ev-poppler.cc:
3401 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3402 (links_page_num_func):
3403 * shell/ev-sidebar-thumbnails.c:
3404 (ev_sidebar_thumbnails_set_document):
3405 * shell/ev-view.c: (status_message_from_link),
3406 (ev_view_motion_notify_event):
3407 * shell/ev-window.c: (document_supports_sidebar): Add in page
3408 label support. It's not perfect yet, but it's the first 'feature'
3410 Also, fix a bogus comment noticed by crispin.
3412 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3414 * Makefile.am: Remove pixbuf backend for now
3416 * configure.ac: Require poppler-glib instead of just poppler.
3418 * backend/ev-document-thumbnails.h: Add a comment
3420 * backend/ev-document.h:
3421 * backend/ev-document.c: (ev_document_class_init),
3422 (ev_document_load), (ev_document_get_link),
3423 (ev_document_get_links): Remove 3 methods and add get_links.
3426 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3427 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3429 * backend/ev-link.c: (ev_link_set_title),
3430 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3431 (ev_link_mapping_find):
3432 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3434 * backend/ev-page-cache.c: (ev_page_cache_init),
3435 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3436 (ev_page_cache_get_size), (ev_page_cache_next_page),
3437 (ev_page_cache_prev_page): Fix to be 0 based.
3441 * pdf/ev-poppler.cc: New backend.
3443 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3444 (ps_document_get_page), (ps_document_document_iface_init):
3446 * shell/ev-pixbuf-cache.h:
3447 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3448 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3449 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3450 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3451 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3452 Fix up code to grab a page cache per each doc. Also, fix to be 0
3455 * shell/ev-sidebar-thumbnails.c:
3456 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3457 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3459 * shell/ev-view.c: (status_message_from_link),
3460 (find_page_at_location), (get_link_at_location),
3461 (ev_view_motion_notify_event), (ev_view_button_release_event),
3462 (ev_view_init): Use the new link code. Fix to be 0 based.
3464 * shell/ev-window.c: (update_action_sensitivity),
3465 (document_supports_sidebar): 0 based.
3467 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3469 * pdf/pdf-document.cc: Patch from Fernando Herrera
3470 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3473 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3475 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3476 1 to the page, as this seems to be 1 based. I thought we has this
3479 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3482 * backend/Makefile.am:
3483 * backend/ev-document-links.c:
3484 (ev_document_links_has_document_links),
3485 (ev_document_links_get_links_model):
3486 * backend/ev-document-links.h:
3487 * backend/ev-document.c: (ev_document_get_page_cache),
3488 (ev_document_get_doc_mutex), (ev_document_load),
3489 (ev_document_save), (ev_document_get_title),
3490 (ev_document_get_n_pages), (ev_document_set_page),
3491 (ev_document_get_page), (ev_document_set_target),
3492 (ev_document_set_scale), (ev_document_set_page_offset),
3493 (ev_document_get_page_size), (ev_document_get_text),
3494 (ev_document_get_link), (ev_document_render),
3495 (ev_document_render_pixbuf), (ev_document_scale_changed):
3496 * backend/ev-document.h:
3497 * backend/ev-job-queue.c: (remove_object_from_queue),
3498 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3499 (no_jobs_available_unlocked), (ev_render_thread),
3500 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3501 (ev_job_queue_remove_job):
3502 * backend/ev-job-queue.h:
3503 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3504 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3505 (ev_job_links_class_init), (ev_job_render_init),
3506 (ev_job_render_dispose), (ev_job_render_class_init),
3507 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3508 (ev_job_thumbnail_class_init), (ev_job_finished),
3509 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3510 (ev_job_render_run), (ev_job_thumbnail_new),
3511 (ev_job_thumbnail_run):
3512 * backend/ev-jobs.h:
3513 * backend/ev-link.c:
3514 * backend/ev-link.h:
3515 * backend/ev-page-cache.c: (ev_page_cache_init),
3516 (ev_page_cache_class_init), (ev_page_cache_finalize),
3517 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3518 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3519 (ev_page_cache_set_link), (ev_page_cache_get_title),
3520 (ev_page_cache_get_size), (ev_page_cache_next_page),
3521 (ev_page_cache_prev_page):
3522 * backend/ev-page-cache.h:
3523 * pdf/pdf-document.cc:
3526 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3527 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3528 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3529 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3530 (is_interpreter_ready), (output), (catchPipe), (input),
3531 (start_interpreter), (check_filecompressed), (compute_dimensions),
3532 (ps_document_enable_interpreter), (document_load),
3533 (ps_document_next_page), (render_page), (ps_document_set_page),
3534 (ps_document_set_scale), (render_pixbuf_idle),
3535 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3537 * shell/Makefile.am:
3538 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3539 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3540 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3541 (ev_pixbuf_cache_new), (job_finished_cb),
3542 (check_job_size_and_unref), (move_one_job),
3543 (ev_pixbuf_cache_update_range), (find_job_cache),
3544 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3545 (ev_pixbuf_cache_add_jobs_if_needed),
3546 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3547 * shell/ev-pixbuf-cache.h:
3548 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3549 (idle_print_handler):
3550 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3551 (selection_changed_cb), (create_loading_model),
3552 (ev_sidebar_links_construct), (links_page_num_func),
3553 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3554 (update_page_callback), (job_finished_cb),
3555 (ev_sidebar_links_set_document):
3556 * shell/ev-sidebar-thumbnails.c:
3557 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3558 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3559 (page_changed_cb), (thumbnail_job_completed_callback),
3560 (ev_sidebar_thumbnails_set_document):
3561 * shell/ev-sidebar-thumbnails.h:
3562 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3563 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3564 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3565 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3566 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3567 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3568 (ev_view_button_release_event), (ev_view_scroll_view),
3569 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3570 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3571 (ev_view_new), (job_finished_cb), (page_changed_cb),
3572 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3573 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3574 (ev_view_find_previous):
3576 * shell/ev-window.c: (update_action_sensitivity),
3577 (ev_window_open_page), (update_window_title), (update_total_pages),
3578 (page_changed_cb), (ev_window_setup_document),
3579 (password_dialog_response), (ev_window_cmd_save_as),
3580 (ev_window_print), (ev_window_cmd_go_previous_page),
3581 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3582 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3583 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3584 * shell/main.c: (main):
3586 Merge evince-threads branch
3588 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3590 * configure.ac: Added "lt" to ALL_LINGUAS.
3592 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3599 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3601 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3603 Fix here also the thumbnails 1-basedness :)
3605 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3612 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3614 * pdf/pdf-document.cc:
3615 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3616 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3618 Fix the mess we did with thumbnails and 1-basedness
3620 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3622 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3624 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3631 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3634 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3635 (gtk_gs_defaults_get_alpha_parameters),
3636 (gtk_gs_defaults_get_ungzip_cmd),
3637 (gtk_gs_defaults_get_unbzip2_cmd):
3639 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3640 (ps_document_get_orientation), (document_load),
3641 (ps_document_goto_page), (ps_document_set_page_size):
3644 Some more sanitization of the ps backend. Remove a lot
3645 of unused code and do not base our defaults on ggv
3648 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3650 * thumbnailer/evince-thumbnailer.schemas:
3651 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3652 (main): add -s option for thumbnail size.
3654 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3658 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3661 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3663 * pdf/pdf-document.cc:
3665 Remove 4 pixels of useless border from the
3668 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3670 * backend/ev-document-thumbnails.c:
3671 (ev_document_thumbnails_get_thumbnail):
3672 * backend/ev-document-thumbnails.h:
3674 Rework API a bit. Add a border flag and
3675 change sizing logic (now the size we specify
3676 applies to the bigger dimension).
3678 * pdf/pdf-document.cc:
3679 * pixbuf/pixbuf-document.c:
3680 (pixbuf_document_thumbnails_get_thumbnail):
3681 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3682 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3684 Adapt to the new API and do not draw a border for nautilus
3687 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3689 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3690 take thumbnails from page "0" instead of "1". Added a copyright header.
3692 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3694 * ps/ps-document.c: (set_up_page), (start_interpreter):
3696 Make it C89 compliant
3698 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3703 * pdf/pdf-document.cc:
3704 * thumbnailer/Makefile.am:
3705 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3707 * thumbnailer/evince-thumbnailer.schemas:
3708 * thumbnailer/pdf-icon.png:
3710 Add a nautilus thumbnailer.
3711 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3713 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3721 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3723 Use poppler instead of including xpdf source code. Poppler is a
3724 fork of xpdf to build it as a shared library. See
3725 http://freedesktop.org/wiki/Software/poppler.
3727 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3730 * pdf/Makefile.am: Build libpdfdocument.a here.
3732 * pdf/GDKSplashOutputDev.cc:
3733 * pdf/GDKSplashOutputDev.h:
3734 * pdf/GnomeVFSStream.cc:
3735 * pdf/GnomeVFSStream.h:
3738 * test-gdk-output-dev.cc
3740 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3743 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3745 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3747 Clear idle stack before unsetting the document
3749 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3751 * ps/ps-document.c: (ps_document_widget_event),
3752 (ps_document_set_target), (ps_document_finalize),
3753 (ps_document_get_page):
3755 Disconnect the widget event signal on finalize.
3758 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3760 * ps/ps-document.c: (set_up_page):
3762 If there is no bpixmap create one, even if size
3765 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3767 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3768 (set_up_page), (document_load), (ps_document_set_zoom):
3770 Default page is 0. Calculate size even when we have no
3773 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3775 * shell/ev-sidebar.c: expand the selection widget to be always as
3778 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3780 * shell/ev-sidebar-thumbnails.c:
3781 (ev_sidebar_thumbnails_set_document):
3783 Clear the list store when setting document
3785 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3787 * shell/ev-page-action.c: (update_entry), (sync_entry),
3788 (activate_cb), (entry_size_request_cb), (create_tool_item),
3791 Use an entry for the page control instead of spinbuttons
3793 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3795 * data/evince.schemas.in:
3797 Correct confusing string
3799 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3801 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3802 for real. Gosh, how long has this been broken.
3804 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3805 check for a NULL link. We crash otherwise.
3807 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3814 2005-02-25 Sebastien Bacher <seb128@debian.org>
3816 * configure.ac: add the french translation.
3818 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3820 * shell/ev-window.c:
3822 Remove unused header -> fix distcheck
3824 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3826 * shell/ev-window.c: (update_window_title),
3827 (ev_window_popup_password_dialog):
3829 Unescape filename for display
3831 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3833 * pdf/xpdf/pdf-document.cc:
3835 In get_page_size deal with rotation. Also
3836 cleanup the function a bit.
3838 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3840 * pdf/xpdf/pdf-document.cc:
3842 Fix crash when opening in new window
3844 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3848 Check ghostscript >= 7
3850 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3852 * shell/ev-window.c:
3854 Make page width the default sizing mode
3856 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3857 Marco Pesenti Gritti <marco@gnome.org>
3859 * shell/ev-window.c: Remember the sidebar size
3861 * data/evince.schemas.in: Add a new gconf key to store the size of
3864 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3866 * data/evince-ui.xml:
3867 * shell/ev-window.c: (update_action_sensitivity),
3868 (ev_window_cmd_view_reload):
3870 Add a "Reload" action and menu entry
3872 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3874 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3875 iff the type doesn't support thumbnailing and indexing.
3877 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3879 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3881 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3883 * pdf/splash/Splash.cc:
3885 Port fix for a crasher from kde bug
3886 http://bugs.kde.org/show_bug.cgi?id=97131
3888 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3890 * pdf/xpdf/pdf-document.cc:
3892 Return a link even if it's of an unrecognized
3893 type. Otherwise we go in an infinte cycle.
3895 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3897 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3898 (size_allocate_cb), (ev_window_set_sizing_mode):
3900 Update size when switching mode
3902 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3904 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3905 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3906 (ev_window_cmd_view_normal_size):
3908 Fix size toggle buttons behavior
3910 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3912 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3913 (doc_rect_to_view_rect), (ev_view_size_allocate),
3914 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3915 (scale_changed_callback):
3917 Do not cache offsets in size_allocate.
3919 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3921 * shell/ev-view.c: (ev_view_size_allocate):
3923 Calculate offsets before calling the parent
3924 class (which does a redraw)
3926 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3928 * pdf/xpdf/pdf-document.cc:
3930 Fix a crasher on exit. Unused code, put a TODO
3932 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3934 * backend/ev-document.c: (ev_document_class_init),
3935 (ev_document_page_changed), (ev_document_scale_changed):
3936 * backend/ev-document.h:
3938 Separate page/scale notifications
3940 * pdf/xpdf/pdf-document.cc:
3942 Emit the new signals.
3943 Do not display the pdf page in _render, do it
3944 when scale/page are requested.
3946 * ps/ps-document.c: (ps_document_set_zoom),
3947 (ps_document_widget_event):
3950 Emit the new signals.
3952 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3953 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3954 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3955 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3957 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3958 (ev_window_cmd_view_page_width), (size_allocate_cb),
3959 (ev_window_set_sizing_mode):
3961 Rework sizing to be pixel based.
3962 There are bugs but should be already way better.
3964 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
3966 * shell/ev-window.c: (ev_window_init):
3968 Do not allow to shrink sidebar smaller then
3971 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
3973 * shell/ev-sidebar.[ch]
3974 * shell/ev-window.c:
3976 Improved sidebar widget. Fixes #166683
3978 2005-02-23 Tommi Vainikainen <thv@iki.fi>
3980 * shell/ev-view.c (update_find_status_message): Give translators
3981 more flexibility with ngettext plural handling.
3983 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
3985 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
3986 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
3987 page when we get the page size.
3989 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3991 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
3993 ps pages are 0 based, convert
3995 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
3997 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
3999 Initialize correct parent class. Set GError on document load
4001 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4003 * pdf/xpdf/pdf-document.cc:
4005 Fixup selection offset calculation
4007 * shell/ev-view.c: (view_rect_to_doc_rect),
4008 (doc_rect_to_view_rect), (ev_view_size_allocate),
4009 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4010 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4012 Store selection as document relative, so that zooming
4013 and offset changing doesnt break it.
4015 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4017 * shell/ev-view.c: (ev_view_best_fit):
4019 Do not try to best fit if the view is not realized
4021 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4023 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4025 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4027 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4029 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4031 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4032 the popup window. That prevents it resizing when in full screen
4035 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4036 multiple rerenders. This pretty much sucks.
4038 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4039 rest of the toolbar.
4041 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4043 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4045 2005-02-17 Alexander Shopov <ash@contact.bg>
4047 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4049 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4051 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4053 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4055 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4056 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4057 (set_document_page), (document_changed_callback),
4058 (ev_view_set_document), (ev_view_find_previous),
4059 (ev_view_hide_cursor), (ev_view_show_cursor):
4061 * shell/ev-window.c: (update_chrome_visibility),
4062 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4063 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4064 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4065 (ev_window_unfullscreen):
4066 * shell/main.c: (main):
4068 Automatically hide the fullscreen button.
4069 Patch by Kristian Høgsberg <krh@redhat.com>
4071 2005-02-16 Vincent Noel <vnoel@cox.net>
4073 * shell/main.c (main): Specify an icon for the window. Patch by
4074 Jaap A. Haitsma. Fixes #166177.
4076 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4078 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4080 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4082 * backend/ev-document-misc.h:
4083 * backend/ev-document-misc.c:
4084 (ev_document_misc_get_page_border_size),
4085 (ev_document_misc_paint_one_page): New function to canonicalize
4086 sizing/painting a border.
4088 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4091 * pdf/xpdf/pdf-document.cc: use new function
4093 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4094 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4095 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4096 shell/ev-window.c: (update_sizing_buttons),
4097 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4098 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4099 (ev_window_cmd_view_page_width), (size_allocate_cb),
4100 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4101 and "fit width" values act as toggle buttons so they stay
4102 toggled. It's not 100% perfect, and it's a little slow, but it's
4103 good enough to commit I think.
4105 2005-02-15 David Lodge <dave@cirt.net>
4107 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4109 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4111 * shell/ev-window.c (update_window_title): replace newlines in
4112 the title by spaces. Bug #166107.
4114 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4116 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4117 parameters providing allocation width and height without
4118 scrollbars and width of a possible vertical scrollbar. With this
4119 additional information the functions can work as
4120 intended. Unfortunately they're not idempotent. We should
4121 transform these commands to toggles. Fixes Bug #164976
4122 Initial patch by Stephane Loeuillet, then heavily modified.
4124 * shell/ev-view.h: update prototypes.
4126 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4127 (ev_window_cmd_view_page_width): provide EvView fit functions with
4128 all the information they need. Formulas to calculate this
4129 information taken from GtkScrolledWindow.
4131 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4133 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4134 created a thumbnail, the list store is updated to know
4135 that the thumbnail is set. Fixes bug #166792
4137 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4139 * shell/ev-window.c: fixed typo, closes bug 166897
4141 * TODO: updated TODO with bug numbers that are relevant
4143 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4145 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4147 2005-02-09 Vincent Noel <vnoel@cox.net>
4149 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4150 and "Next" toolbar buttons as important to make them stand out.
4152 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4156 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4157 (start_interpreter), (stop_interpreter), (document_load),
4158 (ps_document_next_page), (ps_document_goto_page),
4159 (ps_document_set_page_size), (ps_document_widget_event),
4160 (ps_document_render):
4161 * shell/ev-page-view.c: (ev_page_view_dispose):
4162 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4164 Fix compilation on non-gcc platforms
4166 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4173 * pdf/xpdf/Catalog.cc:
4176 Fix the fix for CAN-2004-0888
4178 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4181 * data/evince-ui.xml:
4182 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4183 * shell/ev-stock-icons.h:
4184 * shell/ev-window.c: (update_action_sensitivity),
4185 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4186 (set_action_properties):
4188 Improve toolbar layout/icons
4190 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4192 * pdf/xpdf/pdf-document.cc:
4194 Add warnings about unimplemented/unknown link
4197 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4199 * ps/ps-document.c: (set_up_page):
4203 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4205 * ps/ps-document.c: (start_interpreter):
4209 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4211 * shell/ev-page-view.c: (ev_page_view_dispose):
4212 * shell/ev-view.c: (ev_view_finalize):
4213 * shell/ev-window.c: (ev_window_setup_document),
4214 (ev_window_dispose), (ev_window_init):
4216 Solve more refs issues.
4218 I commented out the page_view initialization for now:
4219 it was never destroyed (because it's never added
4220 to a container). Because of that we was leaking
4221 gs processes. Couldnt think to a clean fix.
4222 We need to figure this out, password view has the
4223 same issue probably.
4225 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4227 * ps/ps-document.c: (ps_document_finalize),
4228 (ps_document_get_n_pages), (ps_document_get_page):
4230 Some cleanups, stop the interpreter on finalize
4232 * shell/ev-page-view.c: (ev_page_view_dispose),
4233 (ev_page_view_class_init):
4235 Release our reference on the document
4237 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4241 * doc/debugging.txt:
4244 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4245 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4246 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4249 Add debugging helpers
4252 * ps/ps-document.c: (set_up_page), (start_interpreter),
4253 (stop_interpreter), (document_load), (ps_document_next_page),
4254 (ps_document_goto_page), (ps_document_set_page_size),
4255 (ps_document_widget_event), (ps_document_render):
4256 * shell/Makefile.am:
4257 * shell/ev-view.c: (expose_bin_window):
4258 * shell/main.c: (main):
4262 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4264 * ps/ps-document.c: (ps_document_widget_event):
4266 Initialize message_window, this should make ps
4267 rendering really work! (Never noticed because I was
4268 testing with a ps that is causing gs to exit every time!)
4270 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4272 * data/evince.schemas.in: updated simple error in applyto closing tag
4274 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4280 * data/evince-ui.xml:
4281 A data/evince.schemas.in:
4283 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4284 * shell/ev-stock-icons.h:
4285 * shell/ev-window.c: (update_chrome_visibility),
4286 (update_chrome_flag), (ev_window_cmd_edit_find),
4287 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4288 (ev_window_unfullscreen), (ev_window_focus_in_event),
4289 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4290 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4291 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4292 (ev_window_dispose), (ev_window_class_init),
4293 (set_action_properties), (set_chrome_actions), (load_chrome),
4296 Implement fullscreen mode changes from bug #164776.
4297 Also implement persistent chrome toggles.
4299 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4301 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4303 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4309 Add another check for find interface
4313 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4315 * shell/ev-application.c: (ev_application_open):
4316 * shell/ev-window.c: (ev_window_open):
4318 Open gzipped ps documents
4320 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4323 * shell/ev-view.c: (set_document_page):
4325 Clamp page number, dont try to move to
4328 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4330 * backend/ev-document-find.c: (ev_document_find_changed):
4331 * backend/ev-document-find.h:
4332 * pdf/xpdf/pdf-document.cc:
4333 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4334 * shell/ev-window.c: (find_bar_search_changed_cb):
4336 Fix several bugs with find
4338 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4340 * shell/ev-sidebar-thumbnails.c
4341 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4342 document. Prevents warning from scroll_to_cell.
4344 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4346 * configure.ac: Add «nb» to ALL_LINGUAS too.
4348 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4350 * NOTES: New file with some random thoughts.
4354 * backend/ev-document-misc.c:
4355 (ev_document_misc_get_page_border_size): New function to
4356 canonicalize shadow drawing sizes. Possibly goofy.
4358 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4359 (ev_view_best_fit), (ev_view_fit_width):
4360 * pdf/xpdf/pdf-document.cc:
4361 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4362 * ps/ps-document.c: (ps_document_get_page_size):
4363 * backend/ev-document-misc.h:
4364 * backend/ev-document.c: (ev_document_get_page_size):
4365 * backend/ev-document.h: get_page_size now takes a page number
4366 parameter. Made all the backends/frontends honor it.
4368 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4369 see. Doesn't work yet.
4371 * shell/Makefile.am:
4372 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4373 Doesn't do anything yet.
4375 * shell/ev-sidebar-thumbnails.c:
4376 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4379 * shell/ev-window.c: (update_action_sensitivity),
4380 (ev_window_setup_document), (ev_window_set_page_mode),
4381 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4382 view-swapping code a bit so we can have multiple views on a
4383 document. Add the multi-page view, though it can't be turned on
4386 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4388 * shell/ev-application.c: (ev_application_open):
4389 * shell/ev-view.c: (expose_bin_window):
4390 * shell/ev-window.c: (ev_window_open):
4392 Support eps and check document supports find
4393 before drawing highlightings in expose.
4395 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4397 * pixbuf/pixbuf-document.c:
4398 (pixbuf_document_thumbnails_get_dimensions),
4399 (pixbuf_document_document_thumbnails_iface_init):
4401 implement get_dimensions
4403 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4410 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4412 * shell/ev-view.c: (set_document_page):
4414 Scroll at the top of the page when changing page
4416 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4418 * shell/ev-view.c: (ev_view_motion_notify_event):
4420 Do not redraw unnecessarily
4422 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4424 * pdf/xpdf/pdf-document.cc:
4425 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4426 (expose_bin_window), (find_changed_cb):
4428 Yay! find works now... Now to find bugs...
4430 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4432 * backend/ev-document-find.c: (ev_document_find_base_init),
4433 (ev_document_find_changed):
4434 * backend/ev-document-find.h:
4435 * pdf/xpdf/pdf-document.cc:
4436 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4437 (expose_bin_window), (ev_view_init), (set_document_page),
4438 (ensure_rectangle_is_visible), (jump_to_find_result),
4439 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4440 (ev_view_find_next), (ev_view_find_previous):
4442 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4444 More work on find implementation, mostly there now
4446 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4448 * backend/ev-backend-marshalers.list:
4449 * backend/ev-document-find.c: (ev_document_find_base_init),
4450 (ev_document_find_cancel), (ev_document_find_page_has_results),
4451 (ev_document_find_get_n_results), (ev_document_find_get_result),
4452 (ev_document_find_get_progress), (ev_document_find_changed):
4453 * backend/ev-document-find.h:
4455 Enanche the find interface to be really able to do
4458 * pdf/xpdf/pdf-document.cc:
4462 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4463 (expose_bin_window), (ev_view_init),
4464 (ev_view_get_find_status_message), (find_changed_cb),
4465 (ev_view_set_document), (set_document_page):
4467 Adapt to the new interface. A few things are regressed sorry,
4468 I will finish it soon.
4470 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4472 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4473 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4474 ev_sidebar_thumbnails_parent_class variable, don't define another
4475 parent_class variable.
4477 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4478 (ev_page_action_class_init): ditto.
4480 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4481 (pixbuf_document_class_init): ditto.
4483 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4486 * .cvsignore: ignore various valgrind output files.
4488 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4490 * data/evince-ui.xml:
4491 * shell/Makefile.am:
4492 * shell/ev-history.c:
4493 * shell/ev-history.h:
4494 * shell/ev-navigation-action.c:
4495 * shell/ev-navigation-action.h:
4496 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4497 (ev_view_set_page), (ev_view_fit_width):
4499 * shell/ev-window.c: (update_action_sensitivity),
4500 (ev_window_setup_document), (register_custom_actions):
4502 Kill session history
4504 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4506 * shell/ev-window.c: (update_action_sensitivity):
4508 Fix inverted up/down buttons
4510 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4512 * shell/ev-sidebar-thumbnails.c
4513 (ev_sidebar_thumbnails_select_page): make sure the selected
4514 thumbnail stays visible.
4516 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4518 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4519 scrolled window for Federico.
4521 2005-01-26 Ole Laursen <olau@hardworking.dk>
4523 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4525 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4528 * pdf/splash/SplashFTFontEngine.cc:
4530 Fix CID fonts with freetype 2.1.9
4532 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4534 * TODO: added item for desktop icon thumbnailer
4536 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4538 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4539 unloaded docs when the title is accessed.
4541 * shell/ev-password-view.[hc]: New widget for displaying password
4544 * shell/ev-window.[ch]: Refactor password handling code to handle
4547 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4555 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4557 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4558 ignore page offset here, to make search results independent of it,
4560 * shell/ev-view.c (expose_bin_window): but take offsets into
4561 account here. Bug #164932
4563 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4564 scale at the right time. Bug #164996
4566 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4568 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4569 fix the problem. Now I just removed the Adobe font names and hope
4570 that the URW fonts are always in outline format. Bug #164934
4572 * shell/ev-window.c (update_window_title): empty titles are
4573 useless, use filename in that case too.
4575 * NEWS: Add some content.
4577 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4579 * TODO: added one more TODO item and a TODONE section :)
4581 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4583 * ps/ps-document.h: add page_[xy]_offset fields.
4585 * ps/ps-document.c (ps_document_set_page_offset)
4586 (ps_document_render): Keep offset in consideration in a few
4587 places. Bug #164752 "postscript documents are not centered in
4590 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4591 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4593 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4594 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4595 stub out missing methods for complete EvDocument implementation.
4596 Fixes segfaults with Save A Copy and Copy actions.
4598 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4599 (ps_document_document_iface_init): ditto.
4601 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4605 * data/evince.desktop.in:
4609 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4611 * shell/ev-view.c: (ev_view_button_press_event),
4612 (ev_view_motion_notify_event):
4614 Make selection work in any direction
4616 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4619 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4621 Use shorter labels for some of the toolbars items
4623 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4625 * pdf/xpdf/pdf-document.cc:
4627 Check the links info is initialized before
4628 using it. Should fix a crash on startup.
4630 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4632 * pixbuf/pixbuf-document.c
4633 (pixbuf_document_thumbnails_get_dimensions): force floating point
4634 division to calculate page_ratio. Fixes crash with landscape
4637 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4639 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4641 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4643 * shell/ev-view.c (set_document_page): unset has_selection when
4645 (set_document_page): handle paper size changes when the page
4646 changes (test with Free Culture, page 2).
4648 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4650 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4651 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4653 Use normal style color for the widget background and
4654 draw a black box around the page.
4656 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4658 * pdf/xpdf/pdf-document.cc:
4660 Keep offset in consideration in a few places
4662 * shell/ev-view.c: (expose_bin_window):
4664 Set the offsets so that the document is ever centered
4666 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4668 * TODO: Added TODO items and finished off the first todo item
4670 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4671 reflect current authors
4673 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4675 * pdf/xpdf/pdf-document.cc:
4676 * shell/ev-view.c: (ev_view_set_cursor),
4677 (ev_view_motion_notify_event), (document_changed_callback),
4678 (set_document_page):
4680 Show a wait cursor while the page is rendering
4682 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4684 * shell/ev-sidebar-thumbnails.c:
4685 (ev_sidebar_tree_selection_changed),
4686 (ev_sidebar_thumbnails_select_page):
4687 * shell/ev-sidebar-thumbnails.h:
4688 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4689 (ev_view_can_go_forward):
4690 * shell/ev-window.c: (ev_window_open_page),
4691 (ev_window_setup_document), (update_current_page),
4692 (view_page_changed_cb), (ev_window_init):
4693 * shell/ev-window.h:
4695 Ensure thumbnails selection, toolbar page control and
4696 current page are in sync.
4698 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4704 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4706 * backend/Makefile.am:
4707 * backend/ev-document-links.h:
4708 * backend/ev-document-security.c: (ev_document_security_get_type),
4709 (ev_document_security_has_document_security),
4710 (ev_document_security_set_password):
4711 * backend/ev-document-security.h:
4712 * backend/ev-document.c: (ev_document_error_quark):
4713 * backend/ev-document.h:
4715 * data/evince-password.glade:
4716 * pdf/xpdf/pdf-document.cc:
4717 * shell/Makefile.am:
4718 * shell/ev-password.c: (ev_password_set_bad_password_label),
4719 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4720 (ev_password_dialog_get_password),
4721 (ev_password_dialog_set_bad_pass):
4722 * shell/ev-password.h:
4723 * shell/ev-window.c: (ev_window_get_attribute),
4724 (ev_window_set_property), (update_action_sensitivity),
4725 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4726 (ev_window_setup_document), (ev_window_get_password),
4727 (ev_window_open), (ev_window_cmd_save_as),
4728 (using_postscript_printer), (ev_window_print),
4729 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4730 (update_fullscreen_popup), (ev_window_fullscreen),
4731 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4732 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4733 (menu_item_select_cb), (find_bar_search_changed_cb),
4734 (ev_window_dispose), (ev_window_init):
4736 Add initial support for password-supported dialogs. This could be
4737 a lot cooler, but it'll do for now.
4739 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4741 * pdf/xpdf/pdf-document.cc:
4742 * shell/ev-view.c: (status_message_from_link),
4743 (ev_view_set_status), (ev_view_set_cursor),
4744 (ev_view_motion_notify_event), (ev_view_init):
4745 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4747 Fix bugs in the links implementation and change cursor
4748 when hovering a link.
4750 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4752 * viewer/.cvsignore: added cvsignore file for viewer directory
4754 * TODO: created TODO document
4756 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4759 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4760 new functions to help with implementation of sensitivity code
4761 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4762 of all actions that might require it. Fixes a crash when you
4763 click on the Zoom actions in a window lacking a document.
4765 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4767 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4770 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4772 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4773 (pixbuf_document_document_iface_init):
4774 * ps/ps-document.c: (ps_document_get_link),
4775 (ps_document_document_iface_init):
4776 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4777 (status_message_from_link), (ev_view_set_status),
4778 (ev_view_set_find_status), (ev_view_motion_notify_event),
4779 (ev_view_button_release_event), (ev_view_set_property),
4780 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4781 (ev_view_get_find_status_message), (update_find_results),
4782 (ev_view_get_status), (ev_view_get_find_status):
4784 * shell/ev-window.c: (view_status_changed_cb),
4785 (view_find_status_changed_cb), (ev_window_init):
4787 View status message support, use it to show the links.
4790 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4792 * backend/ev-document.c: (ev_document_get_link):
4793 * backend/ev-document.h:
4794 * pdf/xpdf/pdf-document.cc:
4795 * shell/ev-application.c: (ev_application_open):
4796 * shell/ev-application.h:
4797 * shell/ev-sidebar-links.c: (selection_changed_cb):
4798 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4799 (ev_view_go_to_link):
4801 Add support for document links
4803 2005-01-13 Anders Carlsson <andersca@gnome.org>
4805 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4807 Set the spin button limits correctly.
4809 * shell/ev-sidebar-thumbnails.c:
4810 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4811 Support changing pages by clicking on the thumbnails.
4813 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4815 * pixbuf/pixbuf-document.c:
4816 (pixbuf_document_thumbnails_get_dimensions),
4817 (pixbuf_document_document_thumbnails_iface_init):
4819 implement get_dimensions
4821 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4823 * ps/ps-document.c: (ps_document_goto_page):
4825 Fix page switching on multipage documents
4827 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4829 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4831 check for NULL before assigning to width and height parameters
4833 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4835 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4836 (pixbuf_document_set_property), (pixbuf_document_get_property):
4838 implement get/set properties
4840 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4842 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4844 return NULL instead of "Unknown", letting the title get set to
4845 the filename when the pdf has no title.
4847 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4849 * ps/ps-document.c: (ps_document_get_page_count),
4850 (ps_document_goto_page):
4852 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4854 * shell/ev-history.c: (ev_history_get_property),
4855 (ev_history_set_property), (ev_history_class_init),
4856 (ev_history_add_page), (ev_history_set_current_index):
4857 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4858 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4859 (ev_navigation_action_finalize):
4860 * shell/ev-navigation-action.h:
4861 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4862 (ev_view_go_forward), (ev_view_get_find_status_message),
4863 (history_index_changed_cb), (ev_view_set_history):
4865 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4866 (update_current_page), (register_custom_actions):
4868 Implement history dropdowns
4870 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4872 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4873 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4874 (ev_view_go_forward):
4875 * shell/ev-window.c: (register_custom_actions):
4877 Fix several history bugs
4879 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4881 * configure.ac: Add «nb» to ALL_LINGUAS.
4883 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4885 * backend/Makefile.am:
4886 * backend/ev-bookmark.c:
4887 * backend/ev-bookmark.h:
4888 * backend/ev-document-bookmarks.c:
4889 * backend/ev-document-bookmarks.h:
4890 * backend/ev-document-links.c: (ev_document_links_get_type),
4891 (ev_document_links_has_document_links),
4892 (ev_document_links_begin_read), (ev_document_links_get_link),
4893 (ev_document_links_get_child), (ev_document_links_next),
4894 (ev_document_links_free_iter):
4895 * backend/ev-document-links.h:
4896 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4897 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4898 (ev_link_get_link_type), (ev_link_set_link_type),
4899 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4900 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4901 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4902 (ev_link_new_external):
4903 * backend/ev-link.h:
4904 * pdf/xpdf/pdf-document.cc:
4905 * shell/Makefile.am:
4906 * shell/ev-application.c: (ev_application_open_link):
4907 * shell/ev-application.h:
4908 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4909 (ev_history_get_link_nth):
4910 * shell/ev-history.h:
4911 * shell/ev-sidebar-bookmarks.c:
4912 * shell/ev-sidebar-bookmarks.h:
4913 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4914 (ev_sidebar_links_class_init), (selection_changed_cb),
4915 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4916 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4917 (do_one_iteration), (populate_links_idle),
4918 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4919 * shell/ev-sidebar-links.h:
4920 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4921 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4924 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4925 * shell/ev-window.h:
4927 Rename bookmark to link, and use "Index" for the sidebar panel.
4929 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4931 * shell/Makefile.am:
4932 * shell/ev-application.c: (ev_application_open_bookmark):
4933 * shell/ev-application.h:
4934 * shell/ev-history.c: (ev_history_init), (free_links_list),
4935 (ev_history_finalize), (ev_history_class_init),
4936 (ev_history_add_link), (ev_history_add_page),
4937 (ev_history_get_link_nth), (ev_history_get_n_links),
4938 (ev_history_get_current_index), (ev_history_set_current_index),
4940 * shell/ev-history.h:
4941 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4942 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4943 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4944 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4947 * shell/ev-window.c: (ev_window_open_bookmark),
4948 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4949 (goto_page_cb), (register_custom_actions):
4950 * shell/ev-window.h:
4952 Initial history implementation. Needs work.
4954 2005-01-09 Martin Kretzschmar <martink@gnome.org>
4956 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4958 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4960 * cut-n-paste/recent-files/egg-recent-item.c:
4961 * cut-n-paste/recent-files/egg-recent-item.h:
4962 * cut-n-paste/recent-files/egg-recent-model.c:
4963 * cut-n-paste/recent-files/egg-recent-util.c:
4964 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4965 * cut-n-paste/recent-files/egg-recent-view.c:
4969 2005-01-08 Martin Kretzschmar <martink@gnome.org>
4971 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
4972 (fillGlyph, fillImageMask, drawImage):
4973 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
4974 pdf/splash/SplashTypes.h:
4975 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
4976 packed mode for Splash.
4978 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
4979 RGB8 packed mode, eliminates the pixbuf data creation loop.
4981 * shell/ev-print-job.c (ev_print_job_finalize)
4982 (ev_print_job_set_property, ev_print_job_get_property)
4983 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
4984 (ev_print_job_use_print_dialog_settings, idle_print_handler)
4985 (print_closure_finalize, ev_print_job_print): implement
4986 printing (for backends with EvPsExporter)
4988 * shell/ev_print_job.h: update prototypes.
4990 * shell/ev-window.c (ev_window_print): unref print job after
4993 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
4994 unless the document implements the EvDocumentFind interface.
4996 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
4998 * configure.ac: Added ja to ALL_LINGUAS.
5000 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5002 * pdf/xpdf/pdf-document.cc:
5004 add a FIXME. We should probably not allocate
5005 a bookmark object every time
5007 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5009 * shell/ev-application.c: (ev_application_open),
5010 (ev_application_open_bookmark):
5011 * shell/ev-application.h:
5013 Add a way to open bookmarks
5015 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5016 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5017 (ev_bookmark_set_property), (ev_bookmark_class_init),
5018 (ev_bookmark_new_title), (ev_bookmark_new_link),
5019 (ev_bookmark_new_external):
5021 Support for external uris, better constructors.
5023 * backend/ev-bookmark.h:
5024 * pdf/xpdf/pdf-document.cc:
5025 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5027 Handle external uris
5029 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5031 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5032 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5034 Hook up bookmarks navigation
5036 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5038 * backend/Makefile.am:
5039 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5040 (ev_bookmark_get_title), (ev_bookmark_set_title),
5041 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5042 (ev_bookmark_get_page), (ev_bookmark_set_page),
5043 (ev_bookmark_get_property), (ev_bookmark_set_property),
5044 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5046 * backend/ev-bookmark.h:
5047 * backend/ev-document-bookmarks.c:
5048 (ev_document_bookmarks_get_bookmark):
5049 * backend/ev-document-bookmarks.h:
5050 * pdf/xpdf/pdf-document.cc:
5051 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5053 Add a bookmark object to the backend and use it instead of get_values
5055 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5057 * data/evince-ui.xml:
5059 Cleanup and add select all.
5061 * shell/ev-view.c: (ev_view_select_all),
5062 (ev_view_button_press_event):
5064 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5067 Clear selection on click.
5069 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5071 * shell/ev-sidebar-thumbnails.c
5072 (ev_sidebar_thumbnails_set_document): forgot to unref the
5075 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5077 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5078 at the visible page, not just linearly. This makes it look fast.
5080 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5082 * backend/ev-document-misc.c
5083 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5085 * backend/ev-document-thumbnails.h: New interface to get the size
5088 2005-01-06 Jeremy Katz <katzj@redhat.com>
5090 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5093 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5095 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5096 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5099 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5101 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5103 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5104 fonts. Should fix font problems on systems that have the base
5105 fonts in bitmap format. Reported by James Henstridge
5106 <james@jamesh.id.au>.
5108 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5111 * pdf/xpdf/GfxState.cc:
5113 Fix for CAN-2004-1125
5115 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5117 * shell/ev-view.c: (ev_view_copy):
5119 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5121 Implement Edit->Copy
5123 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5125 * backend/ev-document.c: (ev_document_get_text):
5126 * backend/ev-document.h:
5127 * pdf/xpdf/pdf-document.cc:
5128 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5129 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5130 (ev_view_update_primary_selection), (ev_view_button_press_event),
5131 (ev_view_motion_notify_event), (ev_view_button_release_event):
5133 Beginnings of clipboard support. Incomplete but primary sort
5136 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5138 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5139 (expose_bin_window):
5141 Nicer rubberband drawing, from GtkIconView.
5143 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5145 * backend/ev-document.c: (ev_document_save):
5146 * backend/ev-document.h:
5147 * data/evince-ui.xml:
5148 * pdf/xpdf/pdf-document.cc:
5149 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5151 Implement "Save a copy..." menu item
5153 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5155 * shell/ev-view.c: (ev_view_zoom):
5157 Queue a resize when zoom changes
5159 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5161 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5164 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5167 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5169 * pdf/xpdf/pdf-document.cc
5170 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5172 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5174 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5175 It's slow, but I'll speed it up next!
5177 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5179 * shell/main.c (load_files):
5181 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5182 from the command line and because it seems more appropriate.
5184 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5186 * data/evince-ui.xml:
5187 * shell/ev-window.c: (update_action_sensitivity),
5188 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5190 s/next page/page down
5191 s/previous page/page up
5193 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5195 * data/evince-ui.xml:
5197 Change the layout to match clarkbw design.
5199 * shell/Makefile.am:
5200 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5201 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5202 (ev_navigation_action_finalize),
5203 (ev_navigation_action_set_property),
5204 (ev_navigation_action_get_property),
5205 (ev_navigation_action_class_init):
5206 * shell/ev-navigation-action.h:
5208 Implement clarkbw toolbar navigation controls (incomplete)
5210 * shell/ev-page-action.c: (update_label), (update_spin),
5211 (value_changed_cb), (create_tool_item), (connect_proxy),
5212 (ev_page_action_init), (ev_page_action_finalize),
5213 (ev_page_action_set_property), (ev_page_action_get_property),
5214 (ev_page_action_set_current_page),
5215 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5216 * shell/ev-page-action.h:
5218 Implement a page switcher in the toolbar
5220 * shell/ev-view.c: (ev_view_scroll_view):
5221 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5222 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5223 (register_custom_actions), (ev_window_init):
5225 Change page on PageUp/Down.
5227 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5229 * pdf/xpdf/pdf-document.cc
5230 (pdf_document_thumbnails_get_thumbnail): initial stab at
5231 implementing thumbnail support for pdfs. It only does documents
5232 with precached pdfs now.
5234 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5236 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5237 thumbnail code into a time-based idle as well. Also, turn off the
5238 shadow temporarily as it's really slow.
5240 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5242 * backend/ev-document.c: (ev_document_class_init):
5243 * pdf/xpdf/pdf-document.cc:
5244 * shell/ev-window.c: (ev_window_open):
5246 Fix document title bugs and fallback to
5247 filename when not available.
5249 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5251 * backend/ev-document.c: (ev_document_get_type),
5252 (ev_document_class_init), (ev_document_load),
5253 (ev_document_get_title):
5254 * backend/ev-document.h:
5255 * pdf/xpdf/pdf-document.cc:
5256 * ps/ps-document.c: (ps_document_set_property),
5257 (ps_document_get_property), (ps_document_class_init),
5261 * shell/ev-window.c: (update_window_title), (ev_window_open),
5264 Initial support for document title. Not working yet.
5266 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5268 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5270 Grab focus on the view when clicking it
5272 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5274 * shell/ev-marshal.list:
5275 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5276 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5278 Add key bindings to the view. Now if the focus would work
5281 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5284 * backend/Makefile.am:
5287 * dvi/dvilib/Makefile.am:
5288 * pdf/xpdf/Makefile.am:
5294 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5296 * shell/ev-view.c: (ev_view_realize):
5298 Fix mouse wheel scrolling
5300 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5306 * ps/ps-document.c: (catchPipe), (ps_document_init),
5307 (ps_document_class_init), (ps_document_cleanup),
5308 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5309 (set_up_page), (close_pipe), (is_interpreter_ready),
5310 (interpreter_failed), (output), (input), (start_interpreter),
5311 (stop_interpreter), (file_length), (file_readable),
5312 (check_filecompressed), (check_pdf), (compute_xdpi),
5313 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5314 (ps_document_get_type), (ps_document_emit_error_msg),
5315 (document_load), (ps_document_next_page),
5316 (ps_document_get_current_page), (ps_document_get_page_count),
5317 (ps_document_goto_page), (ps_document_set_page_size),
5318 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5319 (ps_document_load), (ps_document_get_n_pages),
5320 (ps_document_set_page), (ps_document_get_page),
5321 (ps_document_widget_event), (ps_document_set_target),
5322 (ps_document_set_scale), (ps_document_set_page_offset),
5323 (ps_document_get_page_size), (ps_document_render),
5324 (ps_document_document_iface_init):
5327 * shell/ev-window.c: (ev_window_open):
5329 Rename GtkGS to PSDocument
5331 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5333 * ps/gtkgs.c: (gtk_gs_class_init):
5336 Some more leftover...
5338 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5340 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5341 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5342 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5345 Remove unused code and make a lot of stuff private
5347 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5349 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5350 (gtk_gs_defaults_changed):
5356 Cleanup headers dependencies
5358 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5363 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5365 * ps/gtkgs.c: (file_length), (file_readable),
5366 (check_filecompressed), (check_pdf), (gtk_gs_load),
5367 (gtk_gs_get_postscript):
5371 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5376 * ps/gtkgs.c: (gtk_gs_set_zoom):
5380 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5382 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5384 Ensure the page is rerendered when changing zoom
5386 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5388 * backend/ev-document.c: (ev_document_base_init),
5389 (ev_document_changed):
5390 * backend/ev-document.h:
5392 Add a changed event that is emitted when the page content
5393 changes. This is necessary to deal with the fact that
5394 in ps backend rendering happen asycrounously.
5395 This makes the ps backend mostly work.
5397 * pdf/xpdf/pdf-document.cc:
5401 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5402 (ps_document_set_target):
5406 * shell/ev-view.c: (document_changed_callback),
5407 (ev_view_set_document), (ev_view_set_page):
5409 Redraw on the changed signal
5411 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5413 * configure.ac: Added pt_BR to ALL_LINGUAS.
5415 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5417 * backend/ev-document-bookmarks.c:
5418 (ev_document_bookmarks_get_child): *
5419 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5420 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5421 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5422 (ev_sidebar_bookmarks_destroy),
5423 (ev_sidebar_bookmarks_class_init),
5424 (ev_sidebar_bookmarks_construct), (stack_data_free),
5425 (do_one_iteration), (populate_bookmarks_idle),
5426 (ev_sidebar_bookmarks_clear_document),
5427 (ev_sidebar_bookmarks_set_document): *
5428 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5429 (ev_sidebar_add_page),
5430 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5431 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5432 it displays both the topics and the page numbers.
5434 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5436 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5438 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5441 2004-12-23 Adam Weinberger <adamw@gnome.org>
5443 * configure.ac: Added en_CA to ALL_LINGUAS.
5445 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5447 * ChangeLog: replace bottom of this ChangeLog (merged history of
5448 ggv and gpdf; where all paths were wrong and most of the files are
5449 not even in this tree) with ChangeLog (from arch) of the shell
5452 2004-12-23 Havoc Pennington <hp@redhat.com>
5454 * shell/ev-window.c: hook up potentially-questionable "find
5455 results status text" feature - something involving the sidebar or
5456 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5457 might be better in the end.
5459 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5460 with corresponding signal when it should be updated
5462 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5464 2004-12-22 Havoc Pennington <hp@redhat.com>
5466 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5467 find stuff on other pages, sort of (only returns one result on
5468 invisible pages, to show they have results; updates full results
5469 for a page when you view it). Currently repaints the current page
5470 every time a new result is found on any page, which isn't so nice.
5472 2004-12-22 Havoc Pennington <hp@redhat.com>
5474 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5475 the document doesn't support find (better ideas?)
5476 (find_bar_search_changed_cb): handle missing document or document
5477 that doesn't support find
5479 * pdf/xpdf/pdf-document.cc: port to implement the new
5482 * backend/ev-document-find.c: create a new interface for searching
5484 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5486 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5488 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5491 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5492 EvPrintJob constructor arguments.
5494 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5495 for documents that can export PostScript (page by page).
5497 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5499 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5500 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5501 (pdf_document_ps_exporter_iface_init:
5502 Implement EvPSExporter.
5504 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5506 2004-12-22 Anders Carlsson <andersca@gnome.org>
5508 * backend/Makefile.am:
5509 * backend/ev-document-thumbnails.c:
5510 (ev_document_thumbnails_get_type),
5511 (ev_document_thumbnails_get_thumbnail):
5512 * backend/ev-document-thumbnails.h:
5513 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5514 (pixbuf_document_thumbnails_get_thumbnail),
5515 (pixbuf_document_document_thumbnails_iface_init):
5516 * shell/Makefile.am:
5517 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5518 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5519 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5520 * shell/ev-sidebar-thumbnails.h:
5521 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5522 (ev_sidebar_set_document):
5523 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5524 (create_shadow), (ev_pixbuf_add_shadow):
5526 Add thumbnail support.
5528 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5530 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5531 (using_postscript_printer): Set up a print dialog for "PostScript
5534 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5537 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5539 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5541 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5542 (ps_document_set_target), (ps_document_get_page_size),
5543 (ps_document_render):
5548 2004-12-22 Christian Rose <menthos@menthos.com>
5550 * configure.ac: Added "sv" to ALL_LINGUAS.
5552 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5554 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5555 document supports bookmarks.
5557 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5559 * ps/ggvutils.c: (ggv_file_readable):
5561 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5562 (gtk_gs_get_postscript):
5566 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5568 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5569 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5570 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5571 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5572 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5573 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5574 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5575 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5576 (gtk_gs_set_antialiasing), (ps_document_load),
5577 (ps_document_render):
5580 Another check point for the ps backend. Now I can get it to show
5583 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5585 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5586 document setting code.
5588 2004-12-22 Anders Carlsson <andersca@gnome.org>
5590 * shell/eggfindbar.c: (entry_activate_callback):
5591 Animate the next button when activate is pressed.
5593 2004-12-22 Anders Carlsson <andersca@gnome.org>
5595 * shell/ev-window.c: (ev_window_cmd_edit_find),
5596 (update_fullscreen_popup), (ev_window_fullscreen),
5597 (ev_window_unfullscreen), (ev_window_state_event_cb),
5598 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5599 Fix bugs in fullscreen code.
5601 2004-12-22 Anders Carlsson <andersca@gnome.org>
5605 * pixbuf/Makefile.am:
5606 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5607 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5608 (pixbuf_document_set_page), (pixbuf_document_get_page),
5609 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5610 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5611 (pixbuf_document_render), (pixbuf_document_begin_find),
5612 (pixbuf_document_end_find), (pixbuf_document_finalize),
5613 (pixbuf_document_class_init),
5614 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5615 * pixbuf/pixbuf-document.h:
5616 * shell/Makefile.am:
5617 * shell/ev-application.c: (ev_application_open):
5618 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5622 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5625 * dvi/dvilib/Makefile.am:
5627 * configure.ac: Auto*ify dvi and dvi/dvilib
5629 * dvi/Makefile: Remove from CVS
5631 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5634 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5636 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5638 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5641 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5642 (gtk_gs_value_adjustment_changed), (compute_size),
5643 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5644 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5645 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5646 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5647 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5648 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5649 (ps_document_load), (ps_document_get_n_pages),
5650 (ps_document_set_page), (ps_document_get_page),
5651 (ps_document_set_target), (ps_document_set_scale),
5652 (ps_document_set_page_offset), (ps_document_get_page_size),
5653 (ps_document_render), (ps_document_begin_find),
5654 (ps_document_end_find), (ps_document_document_iface_init):
5656 * shell/Makefile.am:
5657 * shell/ev-window.c: (ev_window_open):
5659 Some work to integrate gtkgs with EvDocument
5661 2004-12-22 Anders Carlsson <andersca@gnome.org>
5663 * shell/ev-window.c: (update_fullscreen_popup),
5664 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5665 (exit_fullscreen_button_clicked_cb),
5666 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5667 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5668 (ev_window_state_event_cb), (ev_window_init):
5669 Add fullscreen support from Epiphany.
5671 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5673 * data/ev-stock-zoom-fit-width.png: fit-width
5674 stock icon from gpdf.
5676 * shell/ev-stock-icons.[ch]: copied from gpdf.
5678 * shell/main.c: (main): init stock icons.
5680 * shell/ev-window.c: use the fit-width icon.
5682 * data/evince-ui.xml: add zooming toolbar items.
5684 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5687 (ev_view_best_fit), (ev_view_fit_width): because
5688 get_page_size() returns the scaled page size, we
5689 need to calculate the scale factor relative to
5690 the previous scale factor. Should really just
5691 add get_real_page_size().
5693 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5695 * shell/ev-view.[ch]:
5696 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5697 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5700 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5701 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5702 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5705 * pdf/xpdf/pdf-document.cc:
5706 (pdf_document_begin_find),
5707 (pdf_document_end_find): make static.
5709 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5711 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5713 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5714 names to fontconfig patterns.
5715 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5717 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5720 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5736 Import ggv backend. Not hooked up yet.
5738 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5740 * shell/main.c: (load_files), (main): load files
5741 from the command line.
5743 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5745 * configure.ac: don't require bonobo.
5747 * cut-n-paste/recent-files/*: kill bonobo recent
5750 * shell/ev-window.c:
5751 (ev_window_is_empty): upd.
5752 (unable_to_load), (ev_window_open): load backend
5753 based on the mime type.
5755 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5757 * backend/.cvsignore: ignore generated marshalers source.
5759 * shell/main.c (main): this is not epiphany.
5761 2004-12-22 Havoc Pennington <hp@redhat.com>
5763 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5764 (expose_bin_window): draw find highlights
5766 * shell/ev-window.c (find_bar_search_changed_cb): implement
5768 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5769 (pdf_document_end_find): implement this interface
5771 * backend/ev-document.c (ev_document_found): add this to emit
5774 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5776 * data/evince-ui.xml: Add a few more toolbar items.
5778 * shell/ev-window.c: Hook up page navigation toolbar
5781 * shell/ev-view.[ch]: add ev_view_set/get_page and
5782 a page-changed signal.
5784 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5785 Add ev_document_get_page().
5787 * shell/ev-window.c: Sensitize/desensitize navigation
5790 2004-12-21 Havoc Pennington <hp@redhat.com>
5792 * backend/ev-backend-marshal.c,
5793 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5794 marshaler-generator thingy. I'm sure there's a better way to do
5795 this in the modern world.
5797 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5798 end_find methods and "found" signal.
5800 * configure.ac: find glib-genmarshal
5802 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5804 * shell/ev-sidebar.c: Construct an actual sidebar.
5805 * shell/ev-sidebar-bookmarks.[ch]:
5806 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5808 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5810 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5813 * shell/ev-view.c: Track the size from the document.
5815 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5817 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5818 constructor assumes ownership of the string passed in.
5820 * shell/ev-window.c (ev_window_open): Destroy the error
5821 dialog once we've displayed it.
5823 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5825 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5826 a bit, it works! (sort of)
5828 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5829 Move to .cc since we need to use C++ in the implementation.
5831 * shell/dummy.cc: Add a CC file to force evince
5832 to be linked as a C++ program.
5834 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5836 * shell/ev-view.[ch]: Start of content-area widget.
5838 * shell/ev-window.c: Create a EvView, update it
5839 as we change documents.
5841 * shell/Makefile.am shell/ev-marshal.list: Add
5842 generated marshalers.
5844 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5846 * Makefile.am (SUBDIRS): move shell.
5848 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5850 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5851 .a to libtool convenience libraries.
5853 * shell/ev-window.c (ev_window_open): Hard code loading
5856 * backend/ev-document.h: Add a boolean return to load(),
5857 fix GError * to GError **.
5859 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5860 object for a PDF backend EvDocument.
5862 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5864 * dvi/*: New directory with the beginning of a .dvi backend.
5866 2004-12-21 Havoc Pennington <hp@redhat.com>
5868 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5869 previous/next instead of back/forward
5871 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5873 * backend/ev-document.[ch]: Fix a couple of problems so
5876 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5878 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5879 to backend/ directory, rename EvViewer to EvDocument.
5881 2004-12-21 Havoc Pennington <hp@redhat.com>
5883 * shell/ev-window.c: hook up the find bar widget; now we just need
5884 a document to find things in
5886 * shell/eggfindbar.c: a find bar widget
5888 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5890 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5892 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5894 * pdf/**: Import of xpdf code from gpdf.
5896 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5898 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5899 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5900 Fix FreeType includes.
5902 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5903 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5904 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5905 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5906 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5907 Include xpdfconfig.h
5909 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5911 * shell/ev-window.c (ev_window_dispose): dispose can be called
5914 2004-12-21 Havoc Pennington <hp@redhat.com>
5916 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5919 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5920 items; really they should be synced with the strings, etc. from
5921 current gpdf, but just getting the boring typing out of the way
5923 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5926 * shell/ev-application.c: (window_destroy_cb):
5927 * shell/ev-window.c:
5928 * shell/main.c: (main):
5930 Actually show the window...
5932 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5935 * shell/Makefile.am:
5936 * shell/ev-application.c: (ev_application_class_init):
5937 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5941 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5943 Import to gnome cvs.
5945 * Remove copies of gpdf and ggv trees.
5946 * Rip out all the recursive configure code.
5947 * Remove bonobo machinery.
5948 * viewer/*: GInterfaces that backends should/can implement.
5950 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5952 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5955 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
5957 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5958 (ev_application_finalize, ev_application_class_init)
5959 (ev_application_init): use GType instance private data for priv.
5961 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5962 (ev_window_finalize, ev_window_class_init)
5963 (ev_window_init): ditto.
5965 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5967 * shell/ev-application.c (ev_application_new_window): make public
5968 (ev_application_show_initial_window): kill.
5970 * shell/ev-application.h: update prototypes.
5972 * shell/main.cc (main): inline ev_application_show_initial_window.
5974 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5976 * shell/ev-application.c (ev_application_new_window): impl.
5977 (ev_application_show_initial_window): use it.
5978 (is_window_empty, ev_application_get_empty_window): returns an
5979 existing empty window or a new one.
5980 (ev_application_open): from ev_window_cmd_file_open.
5982 * shell/ev-application.h: update prototypes
5984 * shell/ev-window.c (ev_window_is_empty): impl.
5985 (ev_window_open): make public.
5986 (ev_window_cmd_file_open): use ev_application_open
5988 * shell/ev-window.h: update prototypes, remove unused.
5990 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
5992 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
5993 move destroy handler out of here...
5995 * shell/ev-application.c, shell/ev-application.h: ...into this new
5996 class. Also handles initial window creation.
5998 * shell/main.cc (main): use EvApplication to create initial
6001 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6003 * Makefile.am (SUBDIRS): add cut-n-paste
6005 * cut-n-paste/Makefile.am: add
6007 * configure.ac: generate Makefiles in cut-n-paste
6009 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6011 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6012 (ev_window_class_init): install ev_window_dispose.
6014 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6016 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6017 char (gchar looks stupid).
6019 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6021 * po/de.po: updated German translation.
6023 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6025 * configure.ac: add more pkg-config library checks for gnome-vfs,
6028 * gpdf/configure.in: temporarily disable libpaper
6029 checks. Otherwise I'd have to add the checks for the shell, too.
6031 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6033 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6034 and * file filters to the file choose.
6036 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6038 * po/de.po: Updated German translation.
6040 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6042 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6044 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6046 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6048 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6049 (ev_window_init): implement those menuitems.
6051 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6053 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6055 * shell/ev-window.c (ev_window_init): use the toolbar.
6057 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6059 * shell/ev-window.c (ev_window_init): use menu translations
6061 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6063 * configure.ac: add "de" to ALL_LINGUAS.
6065 * po/de.po: add German translation.
6067 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6069 * Makefile.am (SUBDIRS): add po
6071 * configure.ac: check intltool, glib-gettext etc, generate
6074 * po, po/POTFILES.in, po/POTFILES.skip: new.
6076 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6078 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6079 already use (#ifdef ENABLE_NLS)
6081 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6082 pointer indirection thinko.
6084 * shell/main.c: include gi18n.h for bindtextdomain etc.
6086 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6088 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6089 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6090 tooltips for menu items in the statusbar.
6092 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6094 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6095 pkgdatadir drop UIDIR
6097 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6099 * data/evince-ui.xml: Add File->Open menu item
6101 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6102 chooser), hook it up in the ui manager.
6104 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6106 * shell/ev-window.c: fix Help->About tooltip.
6108 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6110 * configure.ac: set CFLAGS for libevprivate.
6112 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6113 definitions, factory etc.
6115 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6117 * shell/Makefile.am: link against libevprivate.a.
6119 * shell/ev-window.c (entries): add stock icon to Help->About.
6121 * shell/main.c (main): init stock icon code.
6123 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6125 * lib/recent-files: egg recent files code
6127 * lib/Makefile.am: add.
6129 * Makefile.am: add lib subdir.
6131 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6132 set CFLAGS for recent-files.
6134 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6136 * configure.ac: disable -ansi and -pedantic gcc flags. They
6137 disable POSIX stuff in stdio.h, but egg-recent uses them.
6139 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6141 * configure.ac: add --disable-deprecated flag (defaults to on in
6144 * shell/Makefile.am (INCLUDES): use it.
6146 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6148 * shell/main.c: add missing #include.
6150 * shell/ev-window.c: fix for pedantic gcc.
6151 (ev_window_cmd_help_about): split license into paragraphs for
6152 translators and pedantic compilers.
6154 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6156 * configure.ac: add more warning flags if compiling with gcc from
6157 cvs (or explicitly requested with --enable-more-warnings).
6159 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6161 * data/evince-ui.xml: add File and File->Close menu.
6163 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6164 (ev_window_destroy): quit after destroy.
6165 (ev_window_class_init): override GtkObject::destroy.
6166 (entries): install close_window callback.
6168 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6170 * Makefile.am (SUBDIRS): add data subdir.
6172 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6173 gtk+ 2.5.0 for GtkAboutDialog.
6175 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6178 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6180 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6182 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6184 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6186 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6188 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6190 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6192 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6194 * shell/*: Added shell directory boilerplate, build it.
6196 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6198 * configure.ac, Makefile.am: Added top-level configure.ac and