1 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * shell/ev-view.c: (ev_view_leave_notify_event),
6 Set cursor to normal then leaving view.
8 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
12 Fix required djvulibre version.
14 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
16 *configure.ac: Hindi (hi) language added
18 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
20 *configure.ac: Punjabi (pa) Language added
22 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
24 * data/evince-ui.xml, shell/ev-window.c:
26 Add keypad accelerators for zooming. Fix for bug 308128.
28 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
31 * backend/Makefile.am:
32 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
34 * shell/ev-document-types.c: (ev_document_types_add_filters):
36 Allow to enable/disable the pixbuf backend.
37 Default to off for now. If we want it enabled we should
38 really put mime types in the desktop, implement properties etc.
40 * properties/evince-properties.c:
42 Initialize error to NULL.
43 Check error is not NULL before freeing.
45 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
49 Use F5 as presentation accell
51 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
53 * shell/ev-window.c: (update_chrome_visibility),
54 (ev_window_create_fullscreen_popup), (ev_window_init):
56 Do not leak the fullscreen toolbar
58 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
60 * shell/ev-window.c: (view_actions_focus_in_cb),
61 (view_actions_focus_out_cb):
63 These has a return value! Fix totally random focus
66 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
68 * shell/main.c: (load_files_remote):
70 Allow open more than one file
72 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
74 * shell/main.c: (load_files_remote):
76 Fix for dbus 0.33. bug #309975
78 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
80 * properties/ev-properties-main.c: (ev_properties_get_pages):
82 Actually return NULL for types we dont support
84 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
90 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
92 * backend/ev-document-factory.c:
93 (ev_document_factory_get_document):
95 Do not try to create the object if type
98 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
100 * ps/ps-document.c: (ps_document_dispose),
101 (ps_async_renderer_render_pixbuf):
104 Do not leak the target window
106 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
108 * shell/ev-application.c: (ev_application_init):
110 Let tbe check file existence for us.
111 Add a comment about eggrecent mime filter.
113 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
115 * data/evince-ui.xml:
116 * shell/ev-application.c: (ev_application_shutdown),
117 (ev_application_init), (ev_application_get_toolbars_model),
118 (ev_application_get_recent_model),
119 (ev_application_save_toolbars_model):
120 * shell/ev-application.h:
121 * shell/ev-window.c: (ev_window_add_recent),
122 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
123 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
126 Use common toolbar and recent models for all windows.
127 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
129 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
131 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
132 successfully check for gtk_icon_view_get_visible_range.
134 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
139 Fix djvu and dvi backend build.
141 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
143 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
144 (new_separator_pixbuf):
148 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
150 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
152 HIGification of toolbar editor dialogue.
154 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
159 Ever build metadata manager since it's just
160 disabled at runtime now.
162 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
164 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
165 (ev_metadata_manager_get), (ev_metadata_manager_set):
166 * shell/ev-metadata-manager.h:
168 Add an _init functions that enabled metadata management
171 * shell/ev-window.c: (page_changed_cb),
172 (setup_document_from_metadata), (ev_window_setup_document),
173 (setup_view_from_metadata), (ev_window_open_uri),
174 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
175 (ev_window_run_presentation), (ev_window_stop_presentation),
176 (save_sizing_mode), (ev_window_zoom_changed_cb),
177 (ev_window_continuous_changed_cb),
178 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
179 (window_configure_event_cb):
181 Remove all ugly metadata define since we deal with it
184 * shell/main.c: (load_files_remote), (main):
186 Add support for dbus cvs head. Hopefully didnt break one
187 of the other versions now!
189 If we dont get a response from the dbus server just
190 give up with it and not enable metadata.
192 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
195 * backend/Makefile.am:
197 * cut-n-paste/recent-files/Makefile.am:
198 * cut-n-paste/toolbar-editor/Makefile.am:
199 * cut-n-paste/zoom-control/Makefile.am:
202 * pixbuf/Makefile.am:
203 * properties/Makefile.am:
206 * thumbnailer/Makefile.am:
209 Make frontends depend on just libev.
210 Rework and group CFLAGS/LIBS definitions.
213 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
217 do not unnecessarily save zoom
220 * lib/ev-file-helpers.c: (ev_dot_dir):
226 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
230 Remove unnecessary dependencies
232 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
234 * properties/Makefile.am:
235 * thumbnailer/Makefile.am:
238 Some more cleanups. Was really necessary
239 but I probably introduced bugs, feel free
242 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
244 * backend/Makefile.am:
246 * cut-n-paste/recent-files/Makefile.am:
247 * cut-n-paste/toolbar-editor/Makefile.am:
248 * cut-n-paste/zoom-control/Makefile.am:
251 * pixbuf/Makefile.am:
252 * properties/Makefile.am:
255 * thumbnailer/Makefile.am:
258 Use gnome-common macros when possible.
259 Cleanup dependencies.
260 Actually disable deprecated where possible.
262 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
265 * backend/Makefile.am:
266 * properties/Makefile.am:
268 * thumbnailer/Makefile.am:
270 This should solve the circular dep without
273 * shell/ev-window.c: (setup_view_from_metadata):
275 Never restore window size/position when the
276 window is already visible.
278 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
280 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
282 Return a boolean from timeout func. Fix ported from gedit.
284 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
286 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
288 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
290 * shell/ev-document-types.c: set "All Documents" as default filter in
293 2005-07-06 Martin Kretzschmar <martink@gnome.org>
295 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
296 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
297 (ev_metadata_manager_set_boolean): fix value/val thinko.
299 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
301 * shell/ev-window.c: (setup_view_from_metadata),
302 (window_state_event_cb), (window_configure_event_cb),
305 Remember window position and maximized state
307 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
311 Fix DBUS configure checks.
313 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
314 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
315 (ev_metadata_manager_set_boolean):
319 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
320 (ev_window_stop_fullscreen), (ev_window_run_presentation),
321 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
322 (ev_window_continuous_changed_cb),
323 (ev_window_dual_mode_changed_cb), (ev_window_new):
325 Fix the build without DBUS.
327 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
329 * shell/ev-metadata-manager.c: (parse_value), (save_values),
330 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
331 (ev_metadata_manager_set_string),
332 (ev_metadata_manager_set_boolean):
333 * shell/ev-metadata-manager.h:
335 Add support for some more types
337 * shell/ev-view.c: (scroll_to_current_page),
338 (ev_view_get_continuous), (ev_view_set_continuous),
339 (ev_view_get_dual_page):
341 * shell/ev-window.c: (page_changed_cb),
342 (setup_document_from_metadata), (ev_window_setup_document),
343 (setup_view_from_metadata), (ev_window_open_uri),
344 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
345 (ev_window_run_presentation), (ev_window_stop_presentation),
346 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
347 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
348 (ev_window_update_dual_page_action),
349 (ev_window_continuous_changed_cb),
350 (ev_window_dual_mode_changed_cb), (ev_window_init):
352 Remember a bunch of view/document properties. Prolly some
353 are still missing but it's getting interesting.
355 2005-07-05 Martin Kretzschmar <martink@gnome.org>
357 * configure.ac: check if dbus-binding-tool is installed. Not the
358 case on current Ubuntu breezy, it seems.
360 2005-07-05 Luca Ferretti <elle.uca@libero.it>
362 * data/evince.desktop.in.in:
364 Allow open uri lists and add TryExec field.
366 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
370 Enable dbus when available, do not require a configure
373 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
377 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
380 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
381 Marco Pesenti Gritti <mpg@redhat.com>
383 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
385 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
386 functions to the format required by dbus
388 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
389 errors. Use the RPC parameters in the expected way
391 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
394 * properties/Makefile.am:
395 * properties/ev-properties-main.c: (ev_properties_get_pages):
397 Support all mime types
400 * thumbnailer/Makefile.am:
401 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
402 (evince_thumbnail_pngenc_get):
404 Use the document factory
406 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
408 * backend/Makefile.am:
409 * backend/ev-document-factory.c:
410 (mime_type_supported_by_gdk_pixbuf),
411 (ev_document_type_get_from_mime),
412 (ev_document_factory_get_document),
413 (ev_document_factory_get_backend),
414 (ev_document_factory_get_mime_types),
415 (ev_document_factory_get_all_mime_types):
416 * backend/ev-document-factory.h:
418 * shell/ev-document-types.c: (get_document_from_uri),
419 (ev_document_types_get_document),
420 (file_filter_add_mime_list_and_free),
421 (ev_document_types_add_filters):
422 * shell/ev-document-types.h:
423 * shell/ev-job-xfer.c: (ev_job_xfer_run):
424 * shell/ev-properties-dialog.c:
425 (ev_properties_dialog_set_document):
426 * shell/ev-window.c: (ev_window_cmd_file_open),
427 (ev_window_cmd_save_as):
428 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
430 Rework document types managing to avoid code duplication
431 and actually abstract from backend implementations.
432 Also provide a minimal factory api that can be used by
433 thumbnailer/properties.
435 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
437 * properties/ev-properties-view.c: (ev_properties_view_set_info):
439 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
442 2005-07-04 Matthew S. Wilson <msw@rpath.com>
444 * shell/ev-properties-dialog.c
445 (ev_properties_dialog_set_document): only call
446 ev_properties_fonts_set_document() if the document implements the
449 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
452 * properties/Makefile.am:
453 * properties/ev-properties-view.c:
454 (ev_properties_view_register_type):
455 * properties/ev-properties-view.h:
456 * properties/ev-properties-main.h:
458 Implement nautilus plugin for properties.
459 Works only for pdf atm, I need to rework the
460 document types stuff to get this to work
463 2005-07-04 Martin Kretzschmar <martink@gnome.org>
465 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
466 (ev_properties_fonts_set_document): use
467 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
469 2005-07-04 Matthew S. Wilson <msw@rpath.com>
471 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
473 (PlaceImage, tiff2ps_process_page): use
474 g_ascii_dtostr to convert floats to strings in a locale-safe way.
477 2005-07-04 Martin Kretzschmar <martink@gnome.org>
479 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
480 (main): to call gnome_authentication_manager_init. Should fix
483 * configure.ac: that requires libgnomeui 2.6.0.
485 2005-07-04 Matthew S. Wilson <msw@rpath.com>
487 * tiff/tiff-document.c (tiff_document_ps_export_begin)
488 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
489 use the new tiff2ps interfaces
491 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
492 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
494 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
495 structure instead of global variables. Remove use of static
496 variables in functions.
498 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
500 * shell/ev-page-action.c: unref the completion after setting it to the
503 2005-07-04 Matthew S. Wilson <msw@rpath.com>
505 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
508 2005-07-04 Matthew S. Wilson <msw@rpath.com>
510 * shell/ev-window.c (update_action_sensitivity): disable
511 File->Print if the document does not implement the ps exporter
514 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
518 * data/evince-properties.glade:
519 * properties/.cvsignore:
520 * properties/Makefile.am:
521 * properties/ev-properties-view.c: (ev_properties_view_dispose),
522 (ev_properties_view_class_init), (ev_properties_view_format_date),
523 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
524 (ev_properties_view_init), (ev_properties_view_new):
525 * properties/ev-properties-view.h:
527 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
528 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
529 (ev_properties_dialog_new):
530 * shell/ev-properties-dialog.h:
531 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
532 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
533 (update_progress_label), (job_fonts_finished_cb),
534 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
535 * shell/ev-properties-fonts.h:
536 * shell/ev-properties.c:
537 * shell/ev-properties.h:
538 * shell/ev-window.c: (ev_window_setup_document),
539 (ev_window_cmd_file_properties):
541 Split the properties pages in two different objects, depend
542 only on the backend where possible, use widgets instead
543 of gobject for the glade part, reimplement the dialog
545 I need this to implement nautilus properties page.
547 2005-07-03 Matthew S. Wilson <msw@rpath.com>
549 * tiff/tiff-document.c (tiff_document_ps_export_begin)
550 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
551 (tiff_document_document_ps_exporter_iface_init): implement the ps
552 exporter interface for tiff documents
554 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
555 libtiff to implement TIFF postscript export
557 * tiff/tiff2ps.h: added a header file for external tiff2ps
560 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
563 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
565 * shell/ev-view.c: (scroll_to_current_page),
566 (ev_view_set_fullscreen), (ev_view_set_presentation):
568 Scroll to current page when exit from presentation
570 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
572 * shell/ev-window.c: (update_document_mode),
573 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
574 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
575 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
577 Exit from fullscreen mode when switch to presentation. Fix for
580 2005-07-02 Matthew S. Wilson <msw@rpath.com>
582 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
583 return NULL if the document does not implement the selection
586 2005-07-02 Matthew S. Wilson <msw@rpath.com>
588 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
589 reported height by using the resolution aspect ratio
590 (tiff_document_render_pixbuf): scale the pixbuf using the
591 resolution aspect ratio
593 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
597 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
598 <kiltedaco@gmail.com>
600 * djvu/djvu-document.c: (djvu_document_get_orientation),
601 (djvu_document_set_orientation), (djvu_document_get_page_size),
602 (rotate_pixbuf), (djvu_document_render_pixbuf),
603 (djvu_document_document_iface_init):
604 * dvi/dvi-document.c: (dvi_document_get_orientation),
605 (dvi_document_set_orientation), (dvi_document_get_page_size),
606 (rotate_pixbuf), (dvi_document_render_pixbuf),
607 (dvi_document_document_iface_init):
609 Dvi and djvu backends are ported to new API
611 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
613 * backend/ev-selection.c: (ev_selection_get_selection_region),
614 (ev_selection_get_selection_map):
615 * backend/ev-selection.h:
617 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
619 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
620 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
621 (ev_pixbuf_cache_get_text_mapping):
622 * shell/ev-pixbuf-cache.h:
623 * shell/ev-view.c: (location_in_text),
624 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
625 support to EvView. Now we can see where we can select! Sweet!
627 2005-06-30 Kristian Høgsberg <krh@redhat.com>
629 * shell/ev-view.c (ev_view_button_press_event): Fix
630 event->y + view->scroll_x typo.
632 2005-06-30 Kristian Høgsberg <krh@redhat.com>
634 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
635 sub-GdkPixbuf instead of passing dest_x and dest_y.
637 * shell/ev-view.c: (view_point_to_doc_point),
638 (view_rect_to_doc_rect), (ev_view_button_press_event),
639 (ev_view_motion_notify_event), (compute_new_selection_rect),
640 (gdk_rectangle_point_in), (compute_new_selection_text),
641 (compute_selections): Update selection code to keep the selection
642 around as two points and not as a normalized rectangle, and fix
643 page level selection in two-column mode.
645 2005-06-30 Alex Duggan <aldug@astrolinux.com>
647 * shell/ev-window.c: (window_configure_event_cb):
651 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
657 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
660 * shell/ev-metadata-manager.c: (item_free),
661 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
662 (parse_value), (parseItem), (load_values),
663 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
664 (save_values), (save_item), (get_oldest), (resize_items),
665 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
666 * shell/ev-metadata-manager.h:
668 Metadata manager from gedit but modified to use GValue, so that
669 we dont need to keep converting from strings.
673 ENABLE_METADATA conditional, on when dbus is on
675 * shell/ev-application.c: (ev_application_open_uri):
677 Show the window after load so that we can initialize
678 window size before it's showed.
680 * shell/ev-window.c: (ev_window_setup_from_metadata),
681 (ev_window_open_uri), (window_configure_event_cb),
684 Save and load metadata information about window size.
685 Not yet keeping states in account.
687 * shell/main.c: (main):
689 Shutdown metadata manager.
691 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
693 * shell/ev-application-service.xml:
696 * shell/ev-application.c:
697 * shell/ev-application.h:
702 Add an optional dbus interface (--enable-dbus).
703 Rework application code, mainly to be easier to
705 Do not open multiple windows with the same document,
708 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
710 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
711 pixbuf iff it exists.
713 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
716 * backend/ev-render-context.[ch]:
717 * backend/ev-selection.[ch]:
719 Massive changes. We now support text selection of pdfs, and not
720 just rectangular selection. This is pretty broken still, but I
721 want to get something into CVS.
723 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
727 Fix for Bug 309080: crash on window close.
729 * shell/ev-page-action.c: (page_changed_cb):
731 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
732 jensgr@gmx.net (Jens Granseuer).
734 2005-06-25 Marcel Telka <marcel@telka.sk>
736 * configure.in (ALL_LINGUAS): Added sk.
738 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
740 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
743 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
750 * cut-n-paste/recent-files/Makefile.am:
754 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
756 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
757 (pixbuf_document_set_orientation), (rotate_pixbuf),
758 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
759 (pixbuf_document_document_iface_init), (pixbuf_document_init):
761 Implement rotation and cleanup the code a bit.
763 * tiff/tiff-document.c: (tiff_document_get_page_size),
764 (tiff_document_get_orientation), (tiff_document_set_orientation),
765 (rotate_pixbuf), (tiff_document_render_pixbuf),
766 (tiff_document_document_iface_init), (tiff_document_init):
768 Implement rotation. Was the quicker solution for the release
769 but we really need to share this code in the shell.
771 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
775 Enable rotation, require poppler cvs. Fix a leak.
777 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
779 * shell/ev-window.c: (update_action_sensitivity):
781 Make properties unsensitive if document backend doesn't provide
784 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
786 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
787 (bitmap_flip_horizontally), (bitmap_flip_vertically),
788 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
789 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
790 (bitmap_flip_rotate_counter_clockwise):
791 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
792 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
794 * dvi/mdvi-lib/common.h:
795 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
796 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
797 (opendvi), (mdvi_reload), (mdvi_init_context),
798 (mdvi_destroy_context), (mdvi_dopage), (special):
799 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
800 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
801 (file_hash_free), (register_encoding), (parse_spec),
802 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
803 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
804 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
805 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
806 (mdvi_register_font_type), (mdvi_unregister_font_type),
807 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
808 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
809 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
810 (mdvi_hash_destroy_key), (mdvi_hash_reset):
811 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
812 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
813 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
814 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
815 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
816 * dvi/mdvi-lib/special.c: (mdvi_register_special),
817 (mdvi_unregister_special), (mdvi_flush_specials):
818 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
820 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
821 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
822 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
823 (free_font_metrics), (flush_font_metrics):
824 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
826 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
827 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
828 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
829 (dstring_insert), (dstring_new), (dstring_reset):
830 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
832 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
833 avoid conflict with libtool on FC4
835 * shell/ev-window.c: (ev_window_cmd_help_about):
837 Update copyright year. Fix for bug 308828.
839 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
841 * shell/ev-view.c: (add_scroll_binding_keypad),
842 (ev_view_binding_activated), (ev_view_class_init),
843 (on_adjustment_value_changed):
845 Bug 170874: Arrow keys switch pages in presentation mode
847 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
849 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
851 Fix for Bug 308265: Sidebar dissappears coming out of
854 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
856 * shell/ev-application.c: (ev_application_open):
857 * shell/ev-document-types.c: (ev_document_types_add_filters),
858 (ev_document_types_add_filters_for_type):
859 * shell/ev-document-types.h:
860 * shell/ev-window.c: (ev_window_cmd_save_as):
862 Suggest basename as template when saving, provide filters
863 for save dialog. It's bug 308402
865 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
868 * shell/ev-sidebar-links.c: (job_finished_callback):
869 * shell/ev-view.c: (update_find_status_message):
873 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
875 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
876 (egg_recent_view_uimanager_set_list):
878 Fix buglet in !show_numbers case.
880 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
882 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
883 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
885 Use pango ellipsisation.
889 Fix refcount leak, from nsh.
891 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
893 * cut-n-paste/recent-files/Makefile.am:
894 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
895 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
897 Removed EggRecentViewGtk
899 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
900 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
901 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
902 (ev_window_setup_recent):
904 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
907 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
909 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
910 (egg_recent_view_gtk_finalize):
914 * cut-n-paste/toolbar-editor/Makefile.am:
916 Fix location of cursor icon.
919 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
920 (display_completion_text), (match_completion):
921 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
922 (selection_changed_callback), (create_loading_model),
923 (print_section_cb), (links_page_num_func),
924 (update_page_callback_foreach):
925 * shell/ev-window.c: (ev_window_dispose):
927 Small memory fixes. Links model now store objects instead
928 of pointers to improve memory management.
930 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
932 * shell/ev-window.c: (zoom_control_changed_cb):
934 Fix update of zoom control (bug 308268).
936 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
938 * shell/ev-properties.c (set_property): escape the text correctly.
939 Handles non-UTF-8 properties and escaped properties. Also, sets
940 the text to "<i>None</i>" if the property isn't set.
942 * data/evince-properties.glade: Change the label to be ellipsized,
943 and give it a minimum size.
945 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
947 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
948 * shell/ev-sidebar-links.c: (create_loading_model):
949 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
950 * shell/ev-view.c: (ev_view_set_document):
951 * shell/ev-window.c: (ev_window_dispose):
953 Various small fixes, mostly memory leaks. Thanks to valgrind.
955 2005-06-19 Martin Kretzschmar <martink@gnome.org>
957 * ps/ps-document.c: remove the locale.h include again ;-). And
958 kill the (bogus) setlocale/savelocale business.
960 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
964 Include locale.h to fix build
966 * shell/ev-sidebar.c:
968 Remove unnecessary includes
970 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
972 * dvi/dvi-document.c: (dvi_document_load):
973 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
976 Check for incorrect dvi files. Fix parsing dvi on AMD64
977 platform. Thanks to tester@tester.ca (Olivier Crete).
979 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
981 * shell/ev-page-action.c: (match_selected_cb),
982 (display_completion_text), (match_completion), (update_model):
983 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
985 * shell/ev-sidebar.c: (ev_sidebar_destroy),
986 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
987 (ev_sidebar_set_document):
988 * shell/ev-window.c: (ev_window_xfer_job_cb),
989 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
991 Fixed lot's of memory leaks, for example, memory leak on reload,
992 described in bug 307793.
994 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
997 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
998 (update_visible_range), (adjustment_changed_cb),
999 (ev_sidebar_thumbnails_fill_model),
1000 (ev_sidebar_thumbnails_refresh),
1001 (ev_sidebar_tree_selection_changed),
1002 (ev_sidebar_icon_selection_changed),
1003 (ev_sidebar_thumbnails_use_icon_view),
1004 (ev_sidebar_thumbnails_set_document):
1005 * shell/ev-sidebar-thumbnails.h:
1006 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1007 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1009 Refresh thumbnails when changing orientation. Not fully
1010 working yet becuase of a sidebar bug.
1012 Set page orientation to poppler page everywhere. This sucks
1013 really need to fix poppler.
1015 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1017 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1018 (egg_recent_view_gtk_new_menu_item),
1019 (egg_recent_view_gtk_set_property),
1020 (egg_recent_view_gtk_get_property),
1021 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1022 (egg_recent_view_gtk_set_tooltip_func),
1023 (egg_recent_view_gtk_set_label_width),
1024 (egg_recent_view_gtk_get_label_width):
1025 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1027 Sync with libegg (ellipsize labels)
1029 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1031 * data/evince-ui.xml:
1032 * shell/ev-window.c: (ev_window_cmd_go_forward),
1033 (ev_window_cmd_go_backward):
1035 Shift + PageUp moves 10 Pages. Fix for 306125
1037 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1039 * pdf/ev-poppler.cc:
1041 Add a flag to check if orientation has been overriden
1043 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1045 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1048 * ps/ps.h: add creator field to document.
1050 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1053 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1055 * data/evince-properties.glade:
1056 * shell/ev-properties.c: (ev_properties_set_document):
1058 s/PDF Version/Format
1060 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1062 * shell/ev-properties.c: (ev_properties_set_document):
1064 Remove unnecessary translations
1066 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1068 * cut-n-paste/toolbar-editor/Makefile.am:
1070 Correct library name
1072 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1075 * cut-n-paste/recent-files/egg-recent-model.c:
1076 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1077 (egg_recent_model_unlock_file):
1078 * cut-n-paste/recent-files/egg-recent-util.c:
1079 (egg_recent_util_get_unique_id):
1080 * cut-n-paste/recent-files/update-from-egg.sh:
1081 * cut-n-paste/toolbar-editor/Makefile.am:
1082 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1083 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1084 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1085 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1086 (egg_toolbars_model_get_type):
1087 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1089 Better makefile for toolbar editor and update everything
1092 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1094 * shell/ev-window.c: (update_document_mode):
1096 Prefer presentation mode when the document
1099 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1101 * data/evince-ui.xml:
1102 * shell/ev-window.c:
1104 Add control-equal for zooming
1106 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1108 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1110 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1112 * backend/ev-document.c: (ev_document_get_orientation):
1113 * backend/ev-document.h:
1114 * pdf/ev-poppler.cc:
1115 * ps/ps-document.c: (ps_document_get_orientation),
1116 (ps_document_set_orientation), (ps_document_document_iface_init):
1118 Add a get_orientation api. Improve set_orientation.
1120 * data/evince-ui.xml:
1121 * shell/ev-view.c: (ev_view_set_orientation),
1122 (ev_view_rotate_right), (ev_view_rotate_left):
1124 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1125 (ev_window_cmd_edit_rotate_right):
1127 Better ui for changing document orientation
1129 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1131 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1132 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1133 * shell/ev-sidebar-links.h:
1134 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1135 (ev_sidebar_page_iface_init):
1136 * shell/ev-sidebar-page.h:
1137 * shell/ev-sidebar-thumbnails.c:
1138 (ev_sidebar_thumbnails_get_property),
1139 (ev_sidebar_thumbnails_class_init),
1140 (ev_sidebar_thumbnails_set_document):
1141 * shell/ev-sidebar-thumbnails.h:
1142 * shell/ev-view.c: (ev_view_motion_notify_event):
1143 * shell/ev-window.c: (update_chrome_visibility),
1144 (ev_window_cmd_focus_page_selector),
1145 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1146 (sidebar_page_main_widget_update_cb), (ev_window_init):
1148 Autoraise toolbar on GoToPage binding and fix bindings in
1149 EvSidebarThumbnails page.
1151 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1153 * shell/ev-properties.c: (update_progress_label):
1155 Hide the progress label when finished; bug #307697.
1157 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1159 * pdf/ev-poppler.cc:
1161 Enable is_open for links, you will need poppler cvs
1163 * shell/ev-properties.c: (job_fonts_finished_cb):
1165 Get a lock on the document when filling the tree view
1167 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1169 * backend/ev-document-links.h:
1170 * pdf/ev-poppler.cc:
1171 * shell/ev-sidebar-links.c: (create_loading_model),
1172 (expand_open_links), (job_finished_callback):
1174 Expand links when specified by the document.
1175 Depend on a poppler api (defined out for now)
1177 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1179 * shell/ev-properties.c: (ev_properties_dispose),
1180 (ev_properties_class_init), (dialog_destroy_cb),
1181 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1182 (ev_properties_set_document), (ev_properties_new),
1183 (ev_properties_show):
1184 * shell/ev-properties.h:
1186 Make it an object, cleanup the code, api to show it as transient
1187 and to set the document.
1189 * shell/ev-window.c: (ev_window_setup_document),
1190 (ev_window_cmd_file_properties):
1192 Adapt to EvProperties changes, do not show multiple
1193 times, update it when document changes.
1195 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1198 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1199 (ps_document_set_orientation), (ps_document_document_iface_init):
1202 Implement orientation here too
1204 * shell/ev-properties.c: (ev_properties_new):
1205 * data/evince-properties.glade:
1207 Hide the fonts page for backends that doesnt
1210 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1212 * backend/ev-document.c: (ev_document_set_orientation):
1213 * backend/ev-document.h:
1214 * pdf/ev-poppler.cc:
1216 Add orientation api. Currently poppler api is not optimal,
1217 we need to set orientation every time we _get a page.
1218 I will try to fix that at some point.
1220 * data/evince-ui.xml:
1221 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1222 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1224 Add orientation menu items
1226 * shell/ev-page-cache.c: (ev_page_cache_clear):
1227 * shell/ev-page-cache.h:
1229 Add api to clear the cache
1231 * shell/ev-view.c: (setup_caches), (clear_caches),
1232 (ev_view_set_document), (ev_view_zoom_out),
1233 (ev_view_set_orientation):
1236 Implement orientation changing
1238 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1240 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1241 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1242 * backend/ev-document-fonts.h:
1244 Separate scan and fill so that we can incrementally fill from
1245 the main thread. Add a progress api.
1247 * data/evince-properties.glade:
1248 * pdf/ev-poppler.cc:
1249 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1251 * shell/ev-properties.c: (update_progress_label),
1252 (job_fonts_finished_cb), (setup_fonts_view):
1254 Incrementally feel the list and show the progress
1255 percentage in a label like acrobat does.
1257 You are going to need poppler cvs
1259 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1261 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1262 * backend/ev-document-fonts.h:
1263 * pdf/ev-poppler.cc:
1265 Make fonts model fill incrementally.
1267 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1268 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1269 (ev_job_queue_remove_job):
1270 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1271 (ev_job_fonts_new), (ev_job_fonts_run):
1274 New job for fonts scanning
1276 * shell/ev-properties.c: (job_fonts_finished_cb),
1277 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1278 * shell/ev-properties.h:
1279 * shell/ev-window.c: (ev_window_cmd_file_properties):
1281 Incrementally feel the treeview using the new job. Show Loading...
1282 message until scanning is completed.
1284 Hopefully I didnt break the build without the poppler patch.
1286 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1288 * shell/ev-application.c: (ev_application_open):
1289 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1290 (ev_document_type_get_type), (ev_document_type_lookup):
1291 * shell/ev-document-types.h:
1292 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1293 * shell/ev-job-xfer.h:
1294 * shell/ev-window.c: (ev_window_clear_local_uri),
1295 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1296 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1297 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1299 Transfer remote documents to tmp directory to display them later.
1301 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1303 * backend/ev-document-info.h:
1304 * shell/ev-properties.c: (ev_properties_new):
1306 s/GTime*/GTime. Not sure why we was using a pointer
1309 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1311 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1312 situations. That situation is that you're using GTK+-HEAD with
1313 the patch at #306726 is applied, and you have a document with <
1314 1500 pages in it. It's not quite as uniformly nice as the
1315 TreeView, but should be better in the long run.
1317 I'm pretty sure I guarded against breaking compilation with
1318 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1321 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1322 widget yet, so I commented that code out
1323 enable_view_actions_for_widget() for now. Need to figure this
1326 * shell/ev-page-action.c (match_selected_cb): emit the right
1327 signals. Our cool C-l completion now works.
1329 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1331 * backend/Makefile.am:
1332 * backend/ev-document-fonts.c:
1333 * backend/ev-document-links.c:
1334 * backend/ev-document.c: (ev_document_load):
1335 * backend/ev-document.h:
1336 * backend/ev-job-queue.c:
1337 * backend/ev-job-queue.h:
1338 * backend/ev-jobs.c:
1339 * backend/ev-jobs.h:
1340 * backend/ev-page-cache.c:
1341 * backend/ev-page-cache.h:
1343 EvPageCache and EvJobs are moved to shell.
1345 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1347 * lib/ev-file-helpers.h:
1349 New helper to work with temporary files
1351 * shell/Makefile.am:
1352 * shell/ev-application.c: (ev_application_open):
1353 * shell/ev-application.h:
1354 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1355 (remove_job_from_async_queue), (add_job_to_async_queue),
1356 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1357 (handle_job), (search_for_jobs_unlocked),
1358 (no_jobs_available_unlocked), (ev_render_thread),
1359 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1360 (ev_job_queue_add_job), (move_job_async), (move_job),
1361 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1362 * shell/ev-job-queue.h:
1363 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1364 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1365 * shell/ev-job-xfer.h:
1366 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1367 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1368 (ev_job_links_class_init), (ev_job_render_init),
1369 (ev_job_render_dispose), (ev_job_render_class_init),
1370 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1371 (ev_job_thumbnail_class_init), (ev_job_load_init),
1372 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1373 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1374 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1375 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1377 * shell/ev-page-action.c: (ev_page_action_set_document):
1378 * shell/ev-page-cache.c: (ev_page_cache_init),
1379 (ev_page_cache_class_init), (ev_page_cache_finalize),
1380 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1381 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1382 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1383 (ev_page_cache_get_title), (ev_page_cache_get_size),
1384 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1385 (ev_page_cache_get_height_to_page),
1386 (ev_page_cache_get_max_label_chars),
1387 (ev_page_cache_get_page_label),
1388 (ev_page_cache_has_nonnumeric_page_labels),
1389 (ev_page_cache_get_info), (ev_page_cache_next_page),
1390 (ev_page_cache_prev_page), (ev_page_cache_get):
1391 * shell/ev-page-cache.h:
1392 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1393 (ev_pixbuf_cache_clear_job_sizes),
1394 (ev_pixbuf_cache_add_jobs_if_needed),
1395 (ev_pixbuf_cache_set_page_range):
1396 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1397 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1398 * shell/ev-sidebar-thumbnails.c:
1399 (ev_sidebar_tree_selection_changed),
1400 (ev_sidebar_thumbnails_set_document):
1401 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1402 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1403 (ev_statusbar_get_context_id), (ev_statusbar_push),
1404 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1405 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1406 (ev_statusbar_set_progress):
1407 * shell/ev-statusbar.h:
1408 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1409 (ev_view_find_previous):
1410 * shell/ev-window.c: (ev_window_is_empty),
1411 (ev_window_setup_document), (password_dialog_response),
1412 (ev_window_clear_jobs), (ev_window_load_job_cb),
1413 (ev_window_xfer_job_cb), (ev_window_open_uri),
1414 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1415 (ev_window_print), (ev_window_print_range),
1416 (ev_window_state_event), (ev_window_cmd_view_reload),
1417 (menu_item_select_cb), (menu_item_deselect_cb),
1418 (view_status_changed_cb), (ev_window_dispose),
1419 (drag_data_received_cb), (ev_window_init):
1420 * shell/ev-window.h:
1421 * shell/main.c: (load_files):
1423 New statusbar to show progress on idle. Two new jobs -
1424 xfer job and load job to load document in background. And update
1425 of page_cache clients to new location of code.
1427 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1429 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1430 selection in open dialog. It also remembers the last visited directory
1431 in the current session.
1433 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1435 * shell/ev-properties.c: (ev_properties_new):
1436 * shell/ev-properties.h:
1437 * shell/ev-window.c: (ev_window_cmd_file_properties):
1439 Get document info from page cache instead of document itself.
1440 This should fix crash related to race conditions described in
1443 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1445 * ps/ps-document.c: (ps_document_init),
1446 (send_ps), (get_page_box), (output), (catchPipe), (input),
1447 (stop_interpreter), (file_length), (file_readable),
1448 (check_filecompressedb), (ps_document_enable_interpreter),
1449 (document_load), (ps_async_renderer_render_pixbuf):
1452 Big cleanup of the ps code
1454 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1456 * backend/Makefile.am:
1457 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1458 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1459 * backend/ev-async-renderer.h:
1461 Add an async renderer interface (method + callback) which
1462 is useful for backends like ps.
1464 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1465 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1466 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1467 (ev_job_queue_add_job), (move_job_async), (move_job),
1468 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1470 Add queues for async renderer, these are executed on the
1473 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1474 (ev_job_render_run):
1475 * backend/ev-jobs.h:
1477 If the backend support async renderer interface use it.
1479 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1480 (setup_pixmap), (ps_document_get_type),
1481 (ps_async_renderer_render_pixbuf),
1482 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1484 Implement async renderer interface.
1486 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1488 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1490 Cleanup links job on exit.
1492 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1494 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1495 (drag_data_get_cb), (drag_data_received_cb):
1496 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1497 (drag_data_get_cb), (parse_item_list),
1498 (egg_toolbar_editor_load_actions):
1499 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1500 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1501 (parse_item_list), (parse_toolbars):
1502 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1503 (dvi_pixbuf_put_pixel):
1505 Fix gcc 4.0 warnings
1507 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1509 * ps/ps-document.c: (start_interpreter):
1511 Fix warning when loading ps
1513 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1515 * ps/ps-document.c: (output):
1517 Fix crash when priting gs error messages.
1519 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1521 * backend/ev-page-cache.c: (_ev_page_cache_new):
1522 * backend/ev-page-cache.h:
1524 Use a const to return title so that we dont double
1525 free it. Small cleanup and fix a leak.
1527 * shell/ev-window.c: (update_window_title):
1529 strdup value from get_title.
1531 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1533 * shell/ev-sidebar-links.c: (job_finished_callback),
1534 (ev_sidebar_links_set_document):
1536 Cleanup the old job when changing document
1538 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1540 * shell/ev-stock-icons.c:
1541 * shell/ev-stock-icons.h:
1542 * shell/ev-window.c:
1544 Add stock icons for actions that can appear in toolbar. Fix for
1547 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1549 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1550 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1551 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1552 * backend/ev-page-cache.h:
1553 * shell/ev-view.c: (scroll_to_current_page),
1554 (view_update_range_and_current_page), (get_page_y_offset),
1555 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1556 (ev_view_size_request_continuous),
1557 (ev_view_zoom_for_size_continuous_and_dual_page),
1558 (ev_view_zoom_for_size_continuous):
1560 More compact EvView layout in document with pages of different size.
1562 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1564 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1567 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1569 * shell/ev-view.c: (view_set_adjustment_values):
1570 * shell/ev-window.c: (ev_window_cmd_file_properties):
1572 A bit different fix for rounding problem but it has no
1573 problems on startup. Make properties window transient to parent.
1575 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1577 * pdf/ev-poppler.cc:
1579 More commenting of font stuff.
1581 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1583 * pdf/ev-poppler.cc:
1585 Comment out some more fonts stuff. Should really
1586 work without the poppler patch now.
1588 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1590 * pdf/ev-poppler.cc:
1594 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1596 * data/evince-properties.glade:
1597 * pdf/ev-poppler.cc:
1598 * shell/ev-properties.c: (setup_fonts_view):
1600 Set the column title. Show the dialog only
1601 once everything is setup.
1602 Getting font info can be very slow... will
1603 prolly need to make this threaded too.
1605 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1607 * backend/Makefile.am:
1608 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1609 (ev_document_fonts_get_fonts_model):
1610 * backend/ev-document-fonts.h:
1611 * data/evince-properties.glade:
1612 * pdf/ev-poppler.cc:
1613 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1614 * shell/ev-properties.h:
1615 * shell/ev-window.c: (ev_window_cmd_file_properties):
1617 Implement fonts list. Defined out for now, since it depends
1618 on a not yet committed poppler patch.
1620 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1622 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1625 * shell/ev-window.c: Make sure we add the timeout when we get a
1628 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1629 adjustment->value before calculating the zoom factor to average
1630 out all of our rounding errors. The page no longer 'drifts' when
1633 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1635 * data/evince-properties.glade:
1636 * shell/ev-properties.c: (ev_properties_format_date),
1639 Labels don't expand when the dialogue is resized.
1640 strftime result needs to be converted to UTF-8. Thanks
1641 to Christian Persch <chpe@gnome.org>.
1643 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1645 * data/evince-properties.glade:
1649 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1651 * backend/ev-document-info.h:
1652 * backend/ev-document.c: (ev_document_info_free):
1653 * data/evince-properties.glade:
1654 * pdf/ev-poppler.cc:
1655 * ps/ps-document.c: (ps_document_get_info):
1656 * shell/ev-properties.c: (ev_properties_format_date),
1657 (set_property), (ev_properties_new):
1658 * shell/ev-properties.h:
1659 * shell/ev-window.c: (ev_window_cmd_file_properties):
1661 Rework properties code to take only EvPropertyInfo
1662 in the constructor so that it can be useful for
1663 nautilus plugin too.
1665 Deal with backends that doesnt support some properties.
1666 Make set property code generic.
1668 2005-06-04 Christian Persch <chpe@gnome.org>
1670 * data/evince-properties.glade:
1672 fix spacings, make resizeable, and make data labels
1673 selectable + ellipsised
1675 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1677 * backend/ev-document-info.h:
1679 * data/evince-ui.xml:
1680 * pdf/ev-poppler.cc:
1681 * shell/Makefile.am:
1682 * shell/ev-window.c: (update_action_sensitivity),
1683 (ev_window_cmd_file_properties):
1685 Initial go at file properties. Patch by
1686 Emil Soleyman-Zomalan <emil@soleyman.com>.
1687 Needs love see #169583
1689 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1691 * ps/ps-document.c: (output):
1692 * ps/ps.c: (psscan):
1694 Try to render even if psscan fails.
1696 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1698 * ps/ps.c: (psscan), (pscopydoc):
1700 Port buffered reading code from gv
1702 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1704 * ps/ps-document.c: (interpreter_message), (output):
1706 Do not fail on interpreter messages
1708 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1710 * backend/ev-document-misc.c:
1711 (ev_document_misc_get_thumbnail_frame):
1713 Pages can be 0 x 0, dont assert on this case
1715 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1717 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1718 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1720 Correctly manage our reference on document. Finally the reload
1721 huge leak is gone...
1723 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1725 * ps/ps-document.c: (ps_document_dispose):
1727 Forgot to chain it to the parent. Thanks chpe.
1729 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1731 * ps/ps-document.c: (ps_document_dispose),
1732 (ps_document_class_init), (stop_interpreter), (document_load):
1734 Cleanup dispose a bit. Dont leak the whole pixmap.
1736 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1738 * pdf/ev-poppler.cc:
1740 Release the poppler document on dispose
1742 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1744 * shell/ev-view.c: (ev_view_set_document):
1746 Release ref on the pixbuf cache when changing
1749 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1751 * ps/ps-document.c: (ps_document_get_info):
1755 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1757 * backend/ev-page-cache.c: (ev_page_cache_init),
1758 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1759 * backend/ev-page-cache.h:
1760 * shell/ev-page-action.c: (page_changed_cb):
1762 Set page action entry width depending on labels width. Fix
1765 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1767 * backend/ev-link.c: (ev_link_class_init):
1769 Allow -1 as page value (error)
1771 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1773 * shell/ev-sidebar-thumbnails.c:
1774 (ev_sidebar_thumbnails_set_document):
1775 * shell/ev-view.c: (scroll_to_current_page),
1776 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1777 (page_changed_cb), (on_adjustment_value_changed),
1778 (ev_view_set_document):
1780 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1783 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1786 * djvu/djvu-document.c: (djvu_document_get_page_size):
1788 Require djvulibre CVS. Now djvu loading is much faster. Fix for
1791 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
1793 * shell/ev-view.c (draw_one_page): modify the expose handling to
1796 * shell/ev-window.c (update_action_sensitivity): Respect
1797 permissions field. Kowtow to the man.
1799 * pdf/ev-poppler.cc: Get the permissions field.
1801 * tiff/*c: Make a tiny bit more robust.
1803 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1805 * djvu/djvu-document.c:
1807 Pop messages from djvu context message queue.
1809 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1811 * configure.ac, Makefile.am, shell/Makefile.am:
1812 * tiff/Makefile.am, shell/ev-document-types.c:
1814 Cleanup tiff configure checks. Fix for bug 305218.
1816 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
1818 * configure.ac: Added "uk" to ALL_LINGUAS.
1820 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1822 * cut-n-paste/zoom-control/ephy-zoom.c:
1823 (ephy_zoom_get_changed_zoom_level):
1824 * cut-n-paste/zoom-control/ephy-zoom.h:
1825 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
1826 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
1827 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1828 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
1829 (zoom_control_changed_cb), (ev_window_init):
1831 Fix minor points related to moving best fit up. Introduce
1832 "zoom" property and make zoom control change it's value on
1833 notify::zoom signals. Fix for 305080.
1835 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1837 * data/evince-ui.xml:
1838 * shell/ev-window.c: (set_view_actions_sensitivity):
1840 Use + and - as accels for zoom in and zoom out. Fix for 305001.
1842 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1846 Depends on poppler 0.3.2
1848 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
1850 * cut-n-paste/recent-files/egg-recent-item.c:
1851 (egg_recent_item_get_short_name):
1852 * cut-n-paste/toolbar-editor/Makefile.am:
1853 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1854 (new_pixbuf_from_widget):
1855 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1856 * cut-n-paste/toolbar-editor/egg-marshal.c:
1857 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1858 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1862 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
1864 * tiff/tiff-document.c: Rough TIFF backend.
1866 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1870 * cut-n-paste/toolbar-editor/Makefile.am:
1874 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
1876 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
1877 (ev_view_find_next), (ev_view_find_previous):
1879 Remove the locks around get_n_results
1881 2005-05-21 Juerg Billeter <j@bitron.ch>
1883 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
1885 Pass correct number of pages to poppler.
1887 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1891 * data/evince.desktop.in:
1892 * data/evince.desktop.in.in:
1895 Add conditionally dvi and djvu to desktop types. Fix for 304658.
1897 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
1899 * shell/ev-view.c: (view_update_adjustments),
1900 (view_set_adjustment_values): cast adjustmen->value to (int)
1901 before using it. Otherwise, we get off by a pixel in some
1904 (draw_one_page): Draw the border on expose.
1906 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
1908 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
1909 adjustment when the mode changes, #304923
1911 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1913 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
1914 flickering on resize but still use gdk_window_scroll on
1917 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
1919 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
1922 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
1924 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
1925 second page on page_changed if possible, #304669
1927 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
1929 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
1930 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
1932 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
1935 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
1936 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
1937 (ev_view_zoom_for_size_presentation),
1938 (ev_view_zoom_for_size_continuous_and_dual_page),
1939 (ev_view_zoom_for_size_continuous),
1940 (ev_view_zoom_for_size_dual_page),
1941 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
1943 * shell/ev-window.c: (update_view_size),
1944 (ev_window_sizing_mode_changed_cb):
1946 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
1947 the scrollbars. It's not 100% right, but it's much closer. Kills
1948 an infinite loop, #304769
1951 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1953 * data/evince-ui.xml:
1954 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
1955 * shell/ev-window.c: (set_view_actions_sensitivity):
1957 Make PgUp/Down behave like Space
1959 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1961 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
1962 * backend/ev-ps-exporter.h:
1963 * pdf/ev-poppler.cc:
1964 * ps/ps-document.c: (ps_document_ps_export_begin):
1965 * shell/ev-print-job.c: (idle_print_handler):
1967 Adapt to new poppler api
1969 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1971 * cut-n-paste/zoom-control/ephy-zoom-control.c:
1972 (ephy_zoom_control_init):
1974 Translate zoom levels
1976 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
1978 * cut-n-paste/zoom-control/ephy-zoom.c:
1979 (ephy_zoom_get_zoom_level_index):
1981 Fix current zoom -> zoom control match
1983 2005-05-18 James Bowes <bowes@cs.dal.ca>
1985 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
1986 rather than the scrolled_window that it's in. Fixes bug #304655.
1988 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
1990 * shell/ev-view.c: (view_update_adjustments),
1991 (view_set_adjustment_values), (view_update_range_and_current_page),
1992 (view_scroll_to_page), (set_scroll_adjustment),
1993 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
1994 (ev_view_scroll), (ev_view_scroll_view),
1995 (ensure_rectangle_is_visible), (find_page_at_location),
1996 (get_link_at_location), (go_to_link), (status_message_from_link),
1997 (ev_view_size_request_continuous_dual_page),
1998 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
1999 (ev_view_unrealize), (ev_view_expose_event),
2000 (ev_view_button_press_event), (ev_view_motion_notify_event),
2001 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2002 (draw_rubberband), (highlight_find_results), (draw_one_page),
2003 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2004 (ev_view_init), (find_changed_cb), (page_changed_cb),
2005 (on_adjustment_value_changed), (ev_view_new),
2006 (ev_view_set_document), (ev_view_set_zoom),
2007 (ev_view_set_continuous), (ev_view_set_dual_page),
2008 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2009 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2010 (ev_view_zoom_for_size_presentation),
2011 (ev_view_zoom_for_size_continuous_dual_page),
2012 (ev_view_zoom_for_size_continuous),
2013 (ev_view_zoom_for_size_dual_page),
2014 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2015 (ev_view_get_status), (ev_view_set_status),
2016 (update_find_status_message), (ev_view_get_find_status),
2017 (ev_view_set_find_status), (jump_to_find_result),
2018 (jump_to_find_page), (compute_selections), (clear_selection),
2019 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2020 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2021 (ev_view_update_primary_selection),
2022 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2024 * shell/ev-window.c: (ev_window_open_page_label),
2025 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2027 * shell/ev-window.h:
2028 * shell/main.c: (load_files):
2030 Massive code clean up from Nickolay Shmyrev. Keep page offset
2031 when resizing. Remove the bin_window(). Also, patch from James
2032 Bowes to fix command line page, #300641
2034 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2036 * data/evince-ui.xml:
2039 * shell/ev-window.c: (update_action_sensitivity):
2041 Get rid of View->Normal Size, it's just confusing
2043 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2045 * backend/ev-document-info.h:
2046 * backend/ev-document.c: (ev_document_info_free): Free the
2049 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2050 (clear_range), (add_range), (update_visible_range),
2051 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2052 (ev_sidebar_thumbnails_set_document):
2053 * shell/ev-window.c: (ev_window_setup_document): Only render the
2054 visible thumbnails. It takes an instant to render, but it uses
2057 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2059 * shell/ev-sidebar-links.c: (popup_menu_cb):
2063 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2066 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2067 (button_press_cb), (ev_sidebar_links_construct):
2069 Show the popup menu also on keybindings
2071 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2073 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2074 * shell/ev-window.h:
2076 Expose api to print a range (with dialog). Make private _print use
2079 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2080 (ev_sidebar_links_construct):
2082 Show a print context menu on linkx, it prints the selected
2085 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2087 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2090 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2096 * shell/ev-window.c: (build_comments_string),
2097 (ev_window_cmd_help_about):
2099 Show poppler version/backend and authors
2101 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2103 * cut-n-paste/zoom-control/ephy-zoom.c:
2104 (ephy_zoom_get_zoom_level_index):
2105 * cut-n-paste/zoom-control/ephy-zoom.h:
2107 Move the best fit items at the top of the list
2109 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2111 * shell/ev-marshal.list:
2112 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2113 (activate_cb), (match_selected_cb), (activate_link_cb),
2114 (connect_proxy), (ev_page_action_class_init):
2115 * shell/ev-page-action.h:
2117 Use signals to notify action activation. Hopefully
2118 I did not break completion since I cant test...
2120 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2121 (register_custom_actions):
2123 Connect to page selector actions and also grab focus on
2124 the view when activated.
2126 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2128 * pdf/ev-poppler.cc:
2129 * backend/ev-page-cache.c: make page size calculation consistent
2130 and set it to (int)( width * scale + 0.5). This makes the weird
2131 line going through the middle of the page go away.
2133 * shell/ev-view.c: move painting the background page after
2134 checking the expose area covers us.
2136 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2138 * data/evince-password.glade:
2140 Mark labels as not translatable. Fix for bug 302842.
2142 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2144 * configure.ac: Added "es" to ALL_LINGUAS.
2146 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2148 * data/evince-toolbar.xml:
2149 * shell/ev-window.c: (update_action_sensitivity),
2150 (ev_window_setup_document), (ev_window_set_page_mode),
2153 Remove some leftover code from jrb first continous
2154 attempt. Use the new actions, we still need good icons
2157 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2159 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2161 Update label when connecting proxy. Fix a warning with NULL
2164 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2166 * data/evince-ui.xml:
2167 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2168 * shell/ev-page-action.h:
2169 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2171 Add mnemonic for edit toolbar.
2172 ctrl+l focus the page entry.
2174 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2177 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2179 * shell/main.c: (main):
2181 Put the toolbar xml in evince own dot dir
2183 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2185 * shell/ev-window.c: (ev_window_init):
2187 Make the toolbar not removable
2189 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2191 * data/evince-ui.xml:
2192 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2193 * shell/ev-sidebar-links.h:
2194 * shell/ev-sidebar-thumbnails.c:
2195 (ev_sidebar_thumbnails_get_treeview):
2196 * shell/ev-sidebar-thumbnails.h:
2197 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2198 (ev_view_class_init):
2200 * shell/ev-window.c: (update_action_sensitivity),
2201 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2202 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2203 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2206 This is evil... Make space/backspace global accelerators but
2207 enable them only for some widgets (sidebars and view).
2208 I dont like it, but I dont know a better way... :/
2210 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2212 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2213 (ev_page_action_widget_finalize),
2214 (ev_page_action_widget_class_init), (update_page_cache):
2216 Keep a weak reference on proxy->page_cache so that we
2217 dont try to disconnect the signal if the object is already
2218 gone. Maybe there is a better way to cleanup reference handling
2219 in page action though...
2221 2005-05-10 Juerg Billeter <j@bitron.ch>
2223 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2224 * backend/ev-ps-exporter.h:
2225 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2226 * ps/ps-document.c: (ps_document_ps_export_begin):
2228 Change api to pass print range to ps_exporter_begin. The pdf backend
2229 requires this information.
2231 * shell/ev-print-job.c: (idle_print_handler):
2235 2005-05-10 Juerg Billeter <j@bitron.ch>
2237 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2238 (idle_print_handler)
2239 * shell/ev-window.c: (ev_window_print):
2241 Support printing page range, based on patch by Amaury Jacquot
2243 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2245 * data/evince-toolbar.xml:
2247 Add zoom control to available items
2249 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2251 * shell/ev-window.c: (update_action_sensitivity):
2253 Set slash action insensitive when appropriate
2255 2005-05-10 Christian Persch <chpe@gnome.org>
2257 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2259 Fix warning on the overflow menu
2261 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2263 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2265 Check for uri correctness/existence
2267 2005-05-09 Juerg Billeter <j@bitron.ch>
2269 * shell/ev-window.c: (using_postscript_printer):
2271 LPD printers use postscript, too
2273 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2275 * shell/ev-window.c: (register_custom_actions):
2277 The zoom one is actually sort of useful,
2280 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2282 * shell/ev-window.c: (register_custom_actions):
2284 Hide page/zoom controls from overflow, they
2287 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2289 * cut-n-paste/update-from-egg.sh:
2291 Share it between all cut-n-paste subdirs
2293 * cut-n-paste/recent-files/Makefile.am:
2295 Fix to use "global" update-from-egg.sh
2297 * cut-n-paste/recent-files/egg-recent-model.c:
2298 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2299 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2300 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2301 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2305 * cut-n-paste/toolbar-editor/Makefile.am:
2307 Fix to use "global" update-from-egg.sh
2309 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2313 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2316 * cut-n-paste/Makefile.am:
2317 * cut-n-paste/recent-files/Makefile.am:
2318 * cut-n-paste/toolbar-editor/.cvsignore:
2319 * cut-n-paste/toolbar-editor/Makefile.am:
2320 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2321 (egg_editable_toolbar_get_type), (get_toolbar_position),
2322 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2323 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2324 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2325 (set_item_drag_source), (create_item_from_action), (create_item),
2326 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2327 (popup_toolbar_context_menu_cb), (free_dragged_item),
2328 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2329 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2330 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2331 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2332 (item_added_cb), (item_removed_cb),
2333 (egg_editable_toolbar_construct),
2334 (egg_editable_toolbar_disconnect_model),
2335 (egg_editable_toolbar_deconstruct),
2336 (egg_editable_toolbar_set_model),
2337 (egg_editable_toolbar_set_ui_manager),
2338 (egg_editable_toolbar_set_property),
2339 (egg_editable_toolbar_get_property),
2340 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2341 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2342 (egg_editable_toolbar_new_with_model),
2343 (egg_editable_toolbar_get_edit_mode),
2344 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2345 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2346 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2347 (new_pixbuf_from_widget), (new_separator_pixbuf),
2348 (update_separator_image), (style_set_cb),
2349 (_egg_editable_toolbar_new_separator_image),
2350 (egg_editable_toolbar_get_model):
2351 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2352 * cut-n-paste/toolbar-editor/egg-marshal.c:
2353 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2354 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2355 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2356 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2357 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2358 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2359 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2360 (editor_drag_data_delete_cb), (drag_data_get_cb),
2361 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2362 (editor_create_item), (update_editor_sheet), (setup_editor),
2363 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2364 (parse_item_list), (model_has_action), (update_actions_list),
2365 (egg_toolbar_editor_load_actions):
2366 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2367 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2368 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2369 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2370 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2371 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2372 (egg_toolbars_model_add_separator), (impl_add_item),
2373 (parse_item_list), (egg_toolbars_model_add_toolbar),
2374 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2375 (impl_get_item_data), (impl_get_item_type),
2376 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2377 (egg_toolbars_model_init), (free_toolbar),
2378 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2379 (egg_toolbars_model_remove_toolbar),
2380 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2381 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2382 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2383 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2384 (egg_toolbars_model_get_item_data),
2385 (egg_toolbars_model_get_item_type):
2386 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2387 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2389 * data/evince-toolbar.xml:
2390 * data/evince-ui.xml:
2391 * data/hand-open.png:
2393 * shell/Makefile.am:
2394 * shell/ev-window.c: (update_chrome_visibility),
2395 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2396 (ev_window_dispose), (ev_window_init):
2398 Implement epiphany like toolbar editor. Based on patch by
2399 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2401 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2403 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2405 Use set_cursor instead of set_selection, so that
2406 the keyboard focus moves too.
2408 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2410 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2412 Fix infinite loop when loading Type1 fonts
2414 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2416 * data/evince-ui.xml:
2417 * shell/ev-window.c:
2421 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2425 Make --disable really disable
2427 2005-05-07 Juerg Billeter <j@bitron.ch>
2429 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2431 Compare page labels even without has_labels set, fixes setting page
2434 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2436 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2437 (ev_view_set_cursor), (ev_view_button_press_event),
2438 (ev_view_motion_notify_event), (ev_view_button_release_event),
2441 Implement middle button scrolling. Based on a patch
2442 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2444 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2446 * shell/ev-document-types.c: (get_slow_mime_type),
2447 (get_document_type_from_mime), (ev_document_type_lookup):
2448 * shell/ev-document-types.h:
2450 Change api to lookup from uri. Do fast lookup first, if the
2451 type is unknown try with data sniffing.
2453 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2454 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2458 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2460 * thumbnailer/Makefile.am:
2464 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2471 * data/evince-ui.xml:
2473 Hide presentation mode for now
2475 * shell/ev-view.c: (highlight_find_results):
2477 Show current find selection only on current page
2479 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2481 * shell/ev-view.c: (ev_view_select_all):
2483 Compute size of the actual page, not of
2486 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2488 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2489 (view_rect_to_doc_rect), (compute_selections),
2490 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2491 (ev_view_copy), (ev_view_primary_get_cb),
2492 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2493 (ev_view_button_press_event), (ev_view_motion_notify_event),
2494 (ev_view_button_release_event), (page_changed_cb):
2498 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2500 * shell/ev-view.c: (compute_border), (get_page_extents),
2501 (doc_rect_to_view_rect), (highlight_find_results),
2502 (ev_view_bin_expose), (ev_view_select_all),
2503 (ev_view_motion_notify_event), (update_find_status_message),
2504 (jump_to_find_result), (jump_to_find_page):
2506 First go at fixing search, still buggy
2508 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2510 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2511 dropdown box and button at the top of the sidebar.
2513 2005-05-02 James Bowes <bowes@cs.dal.ca>
2515 * configure.ac: Output zoom-control Makefile.
2516 * cut-n-paste/Makefile.am: build zoom-control subdir.
2517 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2518 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2519 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2520 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2521 * cut-n-paste/zoom-control/ephy-zoom.c:
2522 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2523 from epiphany, and modified to add a separator into the menu.
2524 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2525 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2526 zoom-control action.
2527 * shell/Makefile.am: Include zoom-control flags.
2528 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2529 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2530 (ev_view_zoom_for_size_presentation),
2531 (ev_view_zoom_for_size_continuous_and_dual_page),
2532 (ev_view_zoom_for_size_continuous),
2533 (ev_view_zoom_for_size_dual_page),
2534 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2535 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2536 ev_view_get_zoom and ev_view_get_sizing_mode.
2538 * shell/ev-window.c: (update_action_sensitivity),
2539 (update_sizing_buttons), (zoom_control_changed_cb),
2540 (register_custom_actions): Initialize and use the zoom-control
2543 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2545 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2546 preview cache back to 1. Don't know when it got set to 0.
2548 * shell/ev-view.c: (compute_border), (ev_view_realize),
2549 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2550 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2551 (ev_view_get_fullscreen), (ev_view_set_presentation),
2552 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2553 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2555 * shell/ev-window.c:
2556 (update_chrome_visibility),
2557 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2558 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2559 (update_document_mode), (ev_window_update_fullscreen_action),
2560 (ev_window_fullscreen), (ev_window_unfullscreen),
2561 (ev_window_cmd_view_fullscreen),
2562 (ev_window_update_presentation_action),
2563 (ev_window_run_presentation), (ev_window_stop_presentation),
2564 (ev_window_cmd_view_presentation), (ev_window_state_event),
2565 (ev_window_focus_in_event), (ev_window_focus_out_event),
2566 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2567 * data/evince-ui.xml: Initial presentation mode. We should
2568 probably hide this until it's done, as it's quite rough. Also,
2569 change full-screen to fullscreen and add two getters to EvView.
2571 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2573 * shell/ev-page-action.c: (update_page_cache),
2574 (ev_page_action_dispose):
2575 * shell/ev-window.c: (destroy_fullscreen_popup),
2576 (ev_window_create_fullscreen_popup):
2578 Use connect_object rather than explicitly
2579 disconnect on dispose.
2581 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2583 * shell/ev-page-action.c: (update_page_cache),
2584 (ev_page_action_dispose):
2586 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2588 * backend/ev-page-cache.c: (_ev_page_cache_new),
2589 (ev_page_cache_set_page_label),
2590 (ev_page_cache_has_nonnumeric_page_labels):
2591 * backend/ev-page-cache.h:
2592 * shell/ev-page-action.c: (update_pages_label):
2594 If all page labels are numeric, fallback to default
2595 way to display number of pages. See bug 173185.
2597 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2599 * shell/ev-page-action.c: (ev_page_action_dispose):
2600 * shell/ev-view.c: (view_update_range_and_current_page):
2601 * shell/ev-window.c: (ev_window_dispose):
2603 Set page on scroll in continuous mode. Fixes bug 301986.
2604 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2606 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2610 Require poppler 0.3.0
2612 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2614 * shell/Makefile.am, configure.ac: Fix build problems
2615 with t1lib. Bug 301996.
2617 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2619 * shell/ev-view.c: (ev_view_scroll_event):
2621 Scroll up increase zoom
2623 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2625 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2626 (ev_view_set_sizing_mode),
2627 (ev_view_zoom_for_size_continuous_and_dual_page),
2628 (ev_view_zoom_for_size_continuous):
2629 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2630 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2631 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2634 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2635 Fix for 165473 and 165472.
2637 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2640 * thumbnailer/Makefile.am:
2641 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2642 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2643 * thumbnailer/evince-thumbnailer.schemas.in:
2645 Make thumbnailer schemas translatable. Fix for bug 301773
2647 * thumbnailer/evince-thumbnailer-djvu.schemas:
2648 * thumbnailer/evince-thumbnailer-dvi.schemas:
2649 * thumbnailer/evince-thumbnailer.schemas:
2653 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2655 * shell/ev-view.c (ev_view_init): forgot to set this.
2657 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2659 * shell/ev-view.c: (find_page_at_location),
2660 (get_link_at_location),
2661 (ev_view_set_show_border), (ev_view_set_spacing),
2662 (ev_view_zoom_for_size_continuous_and_dual_page),
2663 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2664 Also, add a quick fix measuring of widths. Also, removed
2665 ev_view_set_spacing and ev_view_set_show_border.
2667 * shell/ev-window.c: (ev_window_unfullscreen),
2668 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2670 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2672 * shell/ev-view.c: (view_update_range_and_current_page),
2675 Fix crash on exit and scrolling to page in continuous view.
2677 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2680 * backend/ev-page-cache.c: (_ev_page_cache_new),
2681 (ev_page_cache_get_max_width_size),
2682 (ev_page_cache_get_max_height_size):
2683 * backend/ev-page-cache.h:
2684 * data/evince-ui.xml:
2685 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2686 * shell/ev-view.c: (view_update_adjustments),
2687 (view_update_range_and_current_page), (get_bounding_box_size),
2688 (ev_view_size_request_continuous_and_dual_page),
2689 (ev_view_size_request_continuous),
2690 (ev_view_size_request_dual_page),
2691 (ev_view_size_request_single_page), (ev_view_size_request),
2692 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2693 (ev_view_bin_expose), (ev_view_expose_event),
2694 (ev_view_set_property), (ev_view_get_property),
2695 (ev_view_class_init), (ev_view_init), (ev_view_new),
2696 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2697 (ev_view_set_dual_page), (ev_view_set_full_screen),
2698 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2699 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2700 (ev_view_zoom_out), (zoom_for_size_fit_width),
2701 (zoom_for_size_best_fit),
2702 (ev_view_zoom_for_size_continuous_and_dual_page),
2703 (ev_view_zoom_for_size_continuous),
2704 (ev_view_zoom_for_size_dual_page),
2705 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2706 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2708 * shell/ev-window.c: (update_action_sensitivity),
2709 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2710 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2711 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2712 (ev_window_cmd_view_zoom_out), (update_view_size),
2713 (ev_window_set_sizing_mode), (ev_window_init):
2715 Add Continuous and Dual page modes.
2717 2005-04-23 James Bowes <bowes@cs.dal.ca>
2719 * dvi/dvi-document.c: (dvi_document_load),
2720 (dvi_document_thumbnails_get_thumbnail),
2721 (dvi_document_init_params): Fix up some mixups between
2722 width and height to correct thumbnail rendering.
2724 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2726 * dvi/mdvi-lib/private.h:
2727 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2729 Suppess output for kpathsea during font generation. Thanks to
2732 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2739 * Makefile.am: fix distcheck.
2741 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2743 * shell/ev-sidebar-links.c: (selection_changed_callback),
2744 (update_page_callback), (row_activated_callback),
2745 (job_finished_callback), (ev_sidebar_links_set_document):
2747 Fix for bug #169901. Double click on links expands tree.
2749 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2751 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2752 hard-coded style. Fix for bug 170111
2754 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2756 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2759 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2761 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2763 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2765 * pdf/ev-poppler.cc:
2766 * shell/ev-view.c: (highlight_find_results):
2768 Fix find on single page documents
2770 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2772 * data/evince.schemas.in: fix for bug 301390
2774 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2776 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2777 (ev_view_zoom_out), (ev_view_zoom_normal):
2779 * shell/ev-window.c: (update_action_sensitivity),
2780 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2781 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2782 (ev_window_cmd_view_normal_size):
2784 Fix normal size zoom. Make zoom in/zoom out unsensitive when
2785 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
2788 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2792 Depend on 2.57, 2.59 doesnt seem to be necessary
2794 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2796 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
2799 Put back total number of pages as (1 of 1234)
2801 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
2803 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
2806 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
2807 function. This helps debugging.
2809 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2811 * djvu/djvu-document.c: (djvu_document_class_init),
2812 (djvu_document_get_info), (djvu_document_document_iface_init):
2813 * dvi/dvi-document.c: (dvi_document_class_init),
2814 (dvi_document_get_info), (dvi_document_document_iface_init):
2816 Dummy implementation of get_info method for dvi and djvu. Fix
2817 crashes with those backends
2819 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
2821 * data/evince.desktop.in:
2823 Add application/x-gzpostscript
2825 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
2827 * data/evince.schemas.in: Added real long descriptions,
2830 * README: Added actual text, closes bug 171869
2832 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2834 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2838 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2840 * backend/ev-document-info.h:
2842 s/GDate */GDate so we can just use g_free
2844 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2846 * shell/ev-window.c: (update_document_mode),
2847 (ev_window_setup_document):
2849 Show the window in fullscreen when specified by
2852 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2854 * backend/ev-document.c: (ev_document_class_init),
2855 (ev_document_get_info), (ev_document_render_pixbuf):
2856 * backend/ev-document.h:
2857 * backend/ev-page-cache.c: (_ev_page_cache_new):
2858 * pdf/ev-poppler.cc:
2859 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2860 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
2861 * ps/ps-document.c: (ps_document_class_init), (document_load),
2862 (ps_document_get_info), (ps_document_document_iface_init):
2864 Remove get_title from the interface, we can just use document info
2866 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
2868 * backend/Makefile.am:
2869 * backend/ev-document.c: (ev_document_render_get_info):
2870 * backend/ev-document.h:
2871 * pdf/ev-poppler.cc:
2873 Initial support for document info. Based on jrb patch.
2875 2005-04-19 Paolo Borelli <pborelli@katamail.com>
2877 * shell/ev-window.c: (ev_window_state_event),
2878 (ev_window_class_init), (ev_window_init):
2880 Doesn't show resize grip when maximized. See bug #301053
2882 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2886 ev-sidebar-thumbnails now has translatable labels
2888 * shell/Makefile.am:
2889 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
2890 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
2891 (ev_sidebar_links_page_iface_init):
2892 * shell/ev-sidebar-links.h:
2893 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2894 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
2895 (ev_sidebar_page_get_label):
2896 * shell/ev-sidebar-page.h:
2897 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
2898 (ev_sidebar_thumbnails_set_document),
2899 (ev_sidebar_thumbnails_support_document),
2900 (ev_sidebar_thumbnails_get_label),
2901 (ev_sidebar_thumbnails_page_iface_init):
2902 * shell/ev-sidebar-thumbnails.h:
2903 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2904 (ev_sidebar_set_document):
2905 * shell/ev-sidebar.h:
2906 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
2908 Small rework of sidebar code. Now sidebar pages should implement
2909 EvSidebarPage interface. That makes page management in EvSidebar
2910 easier. See bug #164811 for details
2912 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2914 * shell/ev-application.c: (ev_application_open):
2915 * shell/ev-document-types.c:
2917 Fix build error and small problem with application exit
2919 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2921 * thumbnailer/Makefile.am:
2922 * thumbnailer/evince-thumbnailer-djvu.schemas:
2923 * thumbnailer/evince-thumbnailer-dvi.schemas:
2925 Conditionally install schemas for djvu/dvi thumbnailer
2927 2005-04-18 David Malcolm <dmalcolm@redhat.com>
2929 * shell/ev-document-types.h:
2930 * shell/ev-document-types.c:
2931 New files, handling the mapping from mimetypes to backends
2933 * shell/ev-window.c:
2934 * thumbnailer/evince-thumbnailer.c:
2935 Use the ev-document-types code
2937 * shell/Makefile.am:
2938 Added new convenience library libevbackendfactory_la, containing
2939 the new mimetype->backend logic; moved the backends into it.
2941 * thumbnailer/Makefile.am:
2942 Make the thumbnailer link with the libevbackend.la convenience
2943 library, rather than having a duplicate of the backend logic here.
2945 2005-04-18 Paolo Borelli <pborelli@katamail.com>
2947 * shell/ev-stock-icons.c: constify some vars.
2948 * shell/ev-window.c: ditto.
2950 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
2952 * ps/ps-document.c (get_page_orientation):
2954 Respect document orientation
2956 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2960 * shell/Makefile.am:
2962 Move library dependencies to components.
2964 * shell/ev-window.c: (update_window_title),
2965 (start_loading_document):
2967 Fix display of uris with spaces. Bug 168358.
2969 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
2971 * shell/ev-sidebar-links.c: (selection_changed_cb):
2972 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
2973 (ev_view_button_release_event), (ev_view_set_document):
2975 * shell/ev-window.c: (find_bar_search_changed_cb):
2976 * shell/ev-window.h: Minor cleanups removing some dead code.
2978 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2980 * backend/ev-page-cache.c: (_ev_page_cache_new):
2982 Set current page to 0 if document has pages.
2984 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2986 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2988 Initialize GError to NULL, fix a crash when loading fails.
2990 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2992 * shell/ev-window.c: (update_view_size):
2994 Calculate shadow size only when there is actually
2997 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
2999 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3002 Allow setting view spacing, default to 0
3004 * shell/ev-window.c: (ev_window_unfullscreen),
3005 (ev_window_cmd_view_fullscreen), (ev_window_init):
3007 Remove spacing in fullscreen mode
3009 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3011 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3012 (ev_view_size_request), (expose_bin_window),
3013 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3015 * shell/ev-window.c: (ev_window_unfullscreen),
3016 (ev_window_cmd_view_fullscreen):
3018 Do not draw the border in fulscreen
3020 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3022 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3023 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3024 (find_page_at_location), (page_changed_cb):
3026 Rework border calculation, so that I can more easily disable it.
3027 Code somewhat cleaner too.
3029 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3031 * backend/ev-page-cache.c: (ev_page_cache_init),
3032 (_ev_page_cache_new):
3034 Remove some assertions, documents can have 0 pages.
3035 Make initial current page -1.
3037 * shell/ev-page-action.c: (page_changed_cb):
3039 Show "" if current page is -1
3041 * shell/ev-window.c: (update_action_sensitivity),
3042 (ev_window_setup_document):
3044 When document has 0 pages do not set the view
3045 and make nearly everything insensitive.
3047 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3049 * shell/ev-page-view.c:
3050 * shell/ev-page-view.h:
3052 Remove unused files.
3054 * shell/ev-sidebar-thumbnails.c:
3055 (ev_sidebar_thumbnails_set_document):
3056 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3057 (ev_sidebar_supports_document):
3058 * shell/ev-sidebar.h:
3059 * shell/ev-window.c: (ev_window_setup_document):
3061 Doesn't show thumbnails if document has 1 page. Make
3062 sidebar menu entries sensitive only if if they have
3063 sense. Fix bug 164811.
3065 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3067 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3068 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3069 (ev_view_zoom_out), (ev_view_set_size):
3071 Rework sizing to deal with documents with not uniform page
3074 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3076 * backend/ev-page-cache.c: (_ev_page_cache_new):
3078 Fix several page size caching bugs
3080 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3082 * shell/ev-window.c: (set_action_properties):
3084 Make all toolbar items translatable
3086 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3088 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3089 (save_page_list), (ps_document_save),
3090 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3091 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3092 (ps_document_ps_exporter_iface_init):
3095 Based on a patch by J�rg Billeter <j@bitron.ch>
3097 Implement print and save a copy for the ps backend.
3099 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3101 * backend/ev-document.h:
3102 * djvu/djvu-document.c: (djvu_document_can_get_text),
3103 (djvu_document_document_iface_init):
3104 * dvi/dvi-document.c: (dvi_document_can_get_text),
3105 (dvi_document_document_iface_init):
3106 * pdf/ev-poppler.cc:
3107 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3108 (pixbuf_document_document_iface_init):
3109 * ps/ps-document.c: (ps_document_can_get_text),
3110 (ps_document_document_iface_init):
3111 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3112 * shell/ev-window.c: (update_action_sensitivity):
3114 Fix the crash when trying to copy in backends that doesnt
3115 support it. We can implement a better solution once we
3116 do real text selection.
3118 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3120 * data/evince-ui.xml:
3121 * shell/ev-window.c: (ev_window_cmd_escape):
3123 Work around the Escape conflict (find bar and unfullscreen)
3125 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3127 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3129 Fix for #300233. Next page correctly handles document end.
3131 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3132 (ev_sidebar_thumbnails_class_init),
3133 (ev_sidebar_thumbnails_set_document),
3134 (ev_sidebar_thumbnails_clear_job),
3135 (ev_sidebar_thumbnails_clear_model):
3137 Cleanup thumbnail jobs on document changes.
3139 * shell/ev-view.c: (add_scroll_binding_keypad),
3140 (add_scroll_binding_shifted), (ev_view_class_init):
3142 Shift + Space scrolls up. Fix for #173184
3144 * shell/ev-window.c: (ev_window_open_page),
3145 (ev_window_cmd_view_reload):
3147 Fix reload (Bug #300094)
3149 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3152 * dvi/mdvi-lib/assoc.c:
3153 * dvi/mdvi-lib/assoc.h: Removed garbage files
3155 * dvi/mdvi-lib/bitmap.c:
3156 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3157 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3158 * dvi/mdvi-lib/color.h: Antialias of rules
3160 * dvi/mdvi-lib/common.h:
3161 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3162 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3163 * dvi/mdvi-lib/files.c:
3164 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3165 * dvi/mdvi-lib/mdvi.h:
3166 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3167 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3168 * dvi/mdvi-lib/util.c: Fix compile warnings
3170 * dvi/dvi-document.c:
3171 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3172 (dvi_document_thumbnails_get_thumbnail),
3173 (dvi_document_document_thumbnails_iface_init):
3174 * dvi/mdvi-lib/Makefile.am:
3175 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3176 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3178 Dvi backend now renders thumbnails
3180 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3182 * shell/main.c: (main):
3184 Save accelerators on exit. Fixes bug #172095.
3186 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3188 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3189 update priority" comment.
3191 * backend/ev-job-queue.c: Give a way to change priority.
3193 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3195 * shell/ev-page-action.c: Fix logic.
3197 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3199 * shell/ev-view.c: (ev_view_can_find_next):
3200 * shell/ev-window.c: (ev_window_setup_document):
3202 Check that the document supports find
3204 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3206 * data/evince-ui.xml:
3207 * shell/ev-view.c: (ev_view_can_find_next):
3209 * shell/ev-window.c: (update_action_sensitivity),
3210 (find_changed_cb), (ev_window_setup_document),
3211 (ev_window_cmd_edit_find_next):
3215 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3217 * pdf/ev-poppler.cc:
3218 * shell/ev-print-job.c: (idle_print_handler):
3220 Make printing work again
3222 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3224 * shell/ev-page-action.h:
3225 * shell/ev-page-action.c: (ev_page_action_widget_init),
3226 (ev_page_action_widget_class_init), (page_changed_cb),
3227 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3228 (get_filter_model_from_model), (match_selected_cb),
3229 (display_completion_text), (match_completion), (update_model),
3230 (connect_proxy), (ev_page_action_set_property),
3231 (ev_page_action_get_property), (ev_page_action_set_document),
3232 (ev_page_action_set_model), (ev_page_action_class_init): Big
3233 reworking to make completions work iff we have >= GTK-2.7.0
3235 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3236 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3237 (job_finished_cb): We now have a 'model' property that is set when
3238 the links are loaded. This can be caught with "notify::model"
3240 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3241 listen for the model to be set, and propagate it to the action.
3243 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3245 * cut-n-paste/recent-files/egg-recent-item.c:
3246 (egg_recent_item_set_uri), (make_valid_utf8),
3247 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3248 * cut-n-paste/recent-files/egg-recent-item.h:
3250 Update egg-recent from libegg. This should fix long
3251 startup problem. For details see
3252 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3254 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3256 * cut-n-paste/recent-files/Makefile.am:
3257 * data/evince-ui.xml, shell/Makefile.am:
3258 * shell/ev-application.c, shell/ev-application.h:
3259 * shell/ev-window.c: Recent files support.
3261 * configure.ac: Added "ru" to ALL_LINGUAS.
3263 * dvju: new backend to support DJVU files.
3264 * dvi: new backend to support DVI.
3266 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3267 * ev-application.c: Support for new backends.
3269 * help, ev-window.c, main.c shell/Makefile.am:
3270 Evince user documentation.
3272 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3275 * shell/ev-window.c:
3276 * thumbnailer/evince-thumbnailer.c:
3278 s/pdf-document/ev-poppler
3280 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3287 * ps/ps-document.c: (setup_pixmap):
3291 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3293 * backend/ev-page-cache.c (ev_page_cache_next_page):
3294 * shell/ev-window.c (ev_window_cmd_go_next_page)
3295 (ev_window_cmd_go_first_page): Fix of by one errors.
3297 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3299 * ps/ps-document.c: (get_page_box):
3301 Fix page size calculation
3303 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3305 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3306 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3307 (get_page_orientation), (setup_page), (document_load),
3308 (ps_document_get_page_size), (render_pixbuf_idle):
3311 More refactoring to adapt to EvDocument changes
3313 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3315 * ps/ps-document.c: (start_interpreter):
3317 Actually add alpha args
3319 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3321 * pdf/ev-poppler.cc:
3323 Make clipboard work again
3325 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3327 Make searching work again.
3329 * backend/ev-document.c:
3330 * backend/ev-document.h:
3331 * backend/ev-document-find.c:
3332 * backend/ev-document-find.h: Change EvDocumentIface so we no
3333 longer store the current page or zoom level in the document. The
3334 consequence is that all calls that operate on the current page now
3335 instead take the page number as an extra argument, and all
3336 coordinates are now doubles in document coordinate system.
3338 * pdf/ev-poppler.cc:
3339 * pixbuf/pixbuf-document.c:
3340 * ps/ps-document.c: Update backends accordingly.
3342 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3346 Add required gettext version
3348 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3350 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3351 make F1 bring up non-existent help.
3353 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3354 epiphany's find bar, #167477
3356 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3357 <emil@nishra.com> to add space-bar scrolling,
3359 * shell/ev-window.c (static GtkActionEntry entries): add default
3360 keybinding for Help (F1)
3363 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3364 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3367 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3370 * pixbuf/pixbuf-document.c:
3372 Got pixbuf backend working again
3374 2005-04-01 Steve Murphy <murf@e-tools.com>
3376 * configure.in: Added "rw" to ALL_LINGUAS.
3378 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3380 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3381 model types, noticed by Martin Kretzschmar.
3383 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3385 * pdf/ev-poppler.cc: Implement search based on
3386 poppler_page_find_text(). Currently a bit crude since we remember
3387 all matches from all pages. Also, we grab the big document lock
3388 when we search since searching changes the underlying stream and
3389 thus conflicts with the rendering thread.
3391 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3392 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3393 (ev_view_find_previous): Fix some page indexes to be 0 based,
3394 offset rubber band by view offset,
3396 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3398 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3400 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3402 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3403 completely because I didn't understand GtkActions. I should
3404 read Marco's code more carefully in the future.
3406 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3409 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3411 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3412 PopplerRectangle change from poppler CVS.
3414 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3416 * backend/ev-document.c: (ev_document_get_page_label):
3417 * backend/ev-document.h:
3418 * backend/ev-page-cache.c: (_ev_page_cache_new),
3419 (ev_page_cache_get_page_label):
3420 * backend/ev-page-cache.h:
3421 * pdf/ev-poppler.cc:
3422 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3423 (links_page_num_func):
3424 * shell/ev-sidebar-thumbnails.c:
3425 (ev_sidebar_thumbnails_set_document):
3426 * shell/ev-view.c: (status_message_from_link),
3427 (ev_view_motion_notify_event):
3428 * shell/ev-window.c: (document_supports_sidebar): Add in page
3429 label support. It's not perfect yet, but it's the first 'feature'
3431 Also, fix a bogus comment noticed by crispin.
3433 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3435 * Makefile.am: Remove pixbuf backend for now
3437 * configure.ac: Require poppler-glib instead of just poppler.
3439 * backend/ev-document-thumbnails.h: Add a comment
3441 * backend/ev-document.h:
3442 * backend/ev-document.c: (ev_document_class_init),
3443 (ev_document_load), (ev_document_get_link),
3444 (ev_document_get_links): Remove 3 methods and add get_links.
3447 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3448 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3450 * backend/ev-link.c: (ev_link_set_title),
3451 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3452 (ev_link_mapping_find):
3453 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3455 * backend/ev-page-cache.c: (ev_page_cache_init),
3456 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3457 (ev_page_cache_get_size), (ev_page_cache_next_page),
3458 (ev_page_cache_prev_page): Fix to be 0 based.
3462 * pdf/ev-poppler.cc: New backend.
3464 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3465 (ps_document_get_page), (ps_document_document_iface_init):
3467 * shell/ev-pixbuf-cache.h:
3468 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3469 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3470 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3471 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3472 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3473 Fix up code to grab a page cache per each doc. Also, fix to be 0
3476 * shell/ev-sidebar-thumbnails.c:
3477 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3478 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3480 * shell/ev-view.c: (status_message_from_link),
3481 (find_page_at_location), (get_link_at_location),
3482 (ev_view_motion_notify_event), (ev_view_button_release_event),
3483 (ev_view_init): Use the new link code. Fix to be 0 based.
3485 * shell/ev-window.c: (update_action_sensitivity),
3486 (document_supports_sidebar): 0 based.
3488 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3490 * pdf/pdf-document.cc: Patch from Fernando Herrera
3491 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3494 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3496 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3497 1 to the page, as this seems to be 1 based. I thought we has this
3500 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3503 * backend/Makefile.am:
3504 * backend/ev-document-links.c:
3505 (ev_document_links_has_document_links),
3506 (ev_document_links_get_links_model):
3507 * backend/ev-document-links.h:
3508 * backend/ev-document.c: (ev_document_get_page_cache),
3509 (ev_document_get_doc_mutex), (ev_document_load),
3510 (ev_document_save), (ev_document_get_title),
3511 (ev_document_get_n_pages), (ev_document_set_page),
3512 (ev_document_get_page), (ev_document_set_target),
3513 (ev_document_set_scale), (ev_document_set_page_offset),
3514 (ev_document_get_page_size), (ev_document_get_text),
3515 (ev_document_get_link), (ev_document_render),
3516 (ev_document_render_pixbuf), (ev_document_scale_changed):
3517 * backend/ev-document.h:
3518 * backend/ev-job-queue.c: (remove_object_from_queue),
3519 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3520 (no_jobs_available_unlocked), (ev_render_thread),
3521 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3522 (ev_job_queue_remove_job):
3523 * backend/ev-job-queue.h:
3524 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3525 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3526 (ev_job_links_class_init), (ev_job_render_init),
3527 (ev_job_render_dispose), (ev_job_render_class_init),
3528 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3529 (ev_job_thumbnail_class_init), (ev_job_finished),
3530 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3531 (ev_job_render_run), (ev_job_thumbnail_new),
3532 (ev_job_thumbnail_run):
3533 * backend/ev-jobs.h:
3534 * backend/ev-link.c:
3535 * backend/ev-link.h:
3536 * backend/ev-page-cache.c: (ev_page_cache_init),
3537 (ev_page_cache_class_init), (ev_page_cache_finalize),
3538 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3539 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3540 (ev_page_cache_set_link), (ev_page_cache_get_title),
3541 (ev_page_cache_get_size), (ev_page_cache_next_page),
3542 (ev_page_cache_prev_page):
3543 * backend/ev-page-cache.h:
3544 * pdf/pdf-document.cc:
3547 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3548 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3549 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3550 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3551 (is_interpreter_ready), (output), (catchPipe), (input),
3552 (start_interpreter), (check_filecompressed), (compute_dimensions),
3553 (ps_document_enable_interpreter), (document_load),
3554 (ps_document_next_page), (render_page), (ps_document_set_page),
3555 (ps_document_set_scale), (render_pixbuf_idle),
3556 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3558 * shell/Makefile.am:
3559 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3560 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3561 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3562 (ev_pixbuf_cache_new), (job_finished_cb),
3563 (check_job_size_and_unref), (move_one_job),
3564 (ev_pixbuf_cache_update_range), (find_job_cache),
3565 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3566 (ev_pixbuf_cache_add_jobs_if_needed),
3567 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3568 * shell/ev-pixbuf-cache.h:
3569 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3570 (idle_print_handler):
3571 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3572 (selection_changed_cb), (create_loading_model),
3573 (ev_sidebar_links_construct), (links_page_num_func),
3574 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3575 (update_page_callback), (job_finished_cb),
3576 (ev_sidebar_links_set_document):
3577 * shell/ev-sidebar-thumbnails.c:
3578 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3579 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3580 (page_changed_cb), (thumbnail_job_completed_callback),
3581 (ev_sidebar_thumbnails_set_document):
3582 * shell/ev-sidebar-thumbnails.h:
3583 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3584 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3585 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3586 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3587 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3588 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3589 (ev_view_button_release_event), (ev_view_scroll_view),
3590 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3591 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3592 (ev_view_new), (job_finished_cb), (page_changed_cb),
3593 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3594 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3595 (ev_view_find_previous):
3597 * shell/ev-window.c: (update_action_sensitivity),
3598 (ev_window_open_page), (update_window_title), (update_total_pages),
3599 (page_changed_cb), (ev_window_setup_document),
3600 (password_dialog_response), (ev_window_cmd_save_as),
3601 (ev_window_print), (ev_window_cmd_go_previous_page),
3602 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3603 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3604 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3605 * shell/main.c: (main):
3607 Merge evince-threads branch
3609 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3611 * configure.ac: Added "lt" to ALL_LINGUAS.
3613 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3620 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3622 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3624 Fix here also the thumbnails 1-basedness :)
3626 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3633 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3635 * pdf/pdf-document.cc:
3636 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3637 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3639 Fix the mess we did with thumbnails and 1-basedness
3641 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3643 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3645 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3652 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3655 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3656 (gtk_gs_defaults_get_alpha_parameters),
3657 (gtk_gs_defaults_get_ungzip_cmd),
3658 (gtk_gs_defaults_get_unbzip2_cmd):
3660 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3661 (ps_document_get_orientation), (document_load),
3662 (ps_document_goto_page), (ps_document_set_page_size):
3665 Some more sanitization of the ps backend. Remove a lot
3666 of unused code and do not base our defaults on ggv
3669 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3671 * thumbnailer/evince-thumbnailer.schemas:
3672 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3673 (main): add -s option for thumbnail size.
3675 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3679 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3682 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3684 * pdf/pdf-document.cc:
3686 Remove 4 pixels of useless border from the
3689 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3691 * backend/ev-document-thumbnails.c:
3692 (ev_document_thumbnails_get_thumbnail):
3693 * backend/ev-document-thumbnails.h:
3695 Rework API a bit. Add a border flag and
3696 change sizing logic (now the size we specify
3697 applies to the bigger dimension).
3699 * pdf/pdf-document.cc:
3700 * pixbuf/pixbuf-document.c:
3701 (pixbuf_document_thumbnails_get_thumbnail):
3702 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3703 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3705 Adapt to the new API and do not draw a border for nautilus
3708 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3710 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3711 take thumbnails from page "0" instead of "1". Added a copyright header.
3713 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3715 * ps/ps-document.c: (set_up_page), (start_interpreter):
3717 Make it C89 compliant
3719 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3724 * pdf/pdf-document.cc:
3725 * thumbnailer/Makefile.am:
3726 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3728 * thumbnailer/evince-thumbnailer.schemas:
3729 * thumbnailer/pdf-icon.png:
3731 Add a nautilus thumbnailer.
3732 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3734 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3742 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3744 Use poppler instead of including xpdf source code. Poppler is a
3745 fork of xpdf to build it as a shared library. See
3746 http://freedesktop.org/wiki/Software/poppler.
3748 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3751 * pdf/Makefile.am: Build libpdfdocument.a here.
3753 * pdf/GDKSplashOutputDev.cc:
3754 * pdf/GDKSplashOutputDev.h:
3755 * pdf/GnomeVFSStream.cc:
3756 * pdf/GnomeVFSStream.h:
3759 * test-gdk-output-dev.cc
3761 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3764 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3766 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3768 Clear idle stack before unsetting the document
3770 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3772 * ps/ps-document.c: (ps_document_widget_event),
3773 (ps_document_set_target), (ps_document_finalize),
3774 (ps_document_get_page):
3776 Disconnect the widget event signal on finalize.
3779 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3781 * ps/ps-document.c: (set_up_page):
3783 If there is no bpixmap create one, even if size
3786 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3788 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
3789 (set_up_page), (document_load), (ps_document_set_zoom):
3791 Default page is 0. Calculate size even when we have no
3794 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
3796 * shell/ev-sidebar.c: expand the selection widget to be always as
3799 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3801 * shell/ev-sidebar-thumbnails.c:
3802 (ev_sidebar_thumbnails_set_document):
3804 Clear the list store when setting document
3806 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3808 * shell/ev-page-action.c: (update_entry), (sync_entry),
3809 (activate_cb), (entry_size_request_cb), (create_tool_item),
3812 Use an entry for the page control instead of spinbuttons
3814 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3816 * data/evince.schemas.in:
3818 Correct confusing string
3820 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
3822 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
3823 for real. Gosh, how long has this been broken.
3825 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
3826 check for a NULL link. We crash otherwise.
3828 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
3835 2005-02-25 Sebastien Bacher <seb128@debian.org>
3837 * configure.ac: add the french translation.
3839 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3841 * shell/ev-window.c:
3843 Remove unused header -> fix distcheck
3845 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3847 * shell/ev-window.c: (update_window_title),
3848 (ev_window_popup_password_dialog):
3850 Unescape filename for display
3852 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3854 * pdf/xpdf/pdf-document.cc:
3856 In get_page_size deal with rotation. Also
3857 cleanup the function a bit.
3859 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3861 * pdf/xpdf/pdf-document.cc:
3863 Fix crash when opening in new window
3865 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
3869 Check ghostscript >= 7
3871 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
3873 * shell/ev-window.c:
3875 Make page width the default sizing mode
3877 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
3878 Marco Pesenti Gritti <marco@gnome.org>
3880 * shell/ev-window.c: Remember the sidebar size
3882 * data/evince.schemas.in: Add a new gconf key to store the size of
3885 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
3887 * data/evince-ui.xml:
3888 * shell/ev-window.c: (update_action_sensitivity),
3889 (ev_window_cmd_view_reload):
3891 Add a "Reload" action and menu entry
3893 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
3895 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
3896 iff the type doesn't support thumbnailing and indexing.
3898 2005-02-24 Martin Kretzschmar <martink@gnome.org>
3900 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
3902 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3904 * pdf/splash/Splash.cc:
3906 Port fix for a crasher from kde bug
3907 http://bugs.kde.org/show_bug.cgi?id=97131
3909 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3911 * pdf/xpdf/pdf-document.cc:
3913 Return a link even if it's of an unrecognized
3914 type. Otherwise we go in an infinte cycle.
3916 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3918 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
3919 (size_allocate_cb), (ev_window_set_sizing_mode):
3921 Update size when switching mode
3923 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3925 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3926 (ev_window_cmd_view_page_width), (update_sizing_buttons),
3927 (ev_window_cmd_view_normal_size):
3929 Fix size toggle buttons behavior
3931 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3933 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
3934 (doc_rect_to_view_rect), (ev_view_size_allocate),
3935 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
3936 (scale_changed_callback):
3938 Do not cache offsets in size_allocate.
3940 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3942 * shell/ev-view.c: (ev_view_size_allocate):
3944 Calculate offsets before calling the parent
3945 class (which does a redraw)
3947 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3949 * pdf/xpdf/pdf-document.cc:
3951 Fix a crasher on exit. Unused code, put a TODO
3953 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
3955 * backend/ev-document.c: (ev_document_class_init),
3956 (ev_document_page_changed), (ev_document_scale_changed):
3957 * backend/ev-document.h:
3959 Separate page/scale notifications
3961 * pdf/xpdf/pdf-document.cc:
3963 Emit the new signals.
3964 Do not display the pdf page in _render, do it
3965 when scale/page are requested.
3967 * ps/ps-document.c: (ps_document_set_zoom),
3968 (ps_document_widget_event):
3971 Emit the new signals.
3973 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
3974 (ev_view_init), (page_changed_callback), (scale_changed_callback),
3975 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
3976 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
3978 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
3979 (ev_window_cmd_view_page_width), (size_allocate_cb),
3980 (ev_window_set_sizing_mode):
3982 Rework sizing to be pixel based.
3983 There are bugs but should be already way better.
3985 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
3987 * shell/ev-window.c: (ev_window_init):
3989 Do not allow to shrink sidebar smaller then
3992 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
3994 * shell/ev-sidebar.[ch]
3995 * shell/ev-window.c:
3997 Improved sidebar widget. Fixes #166683
3999 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4001 * shell/ev-view.c (update_find_status_message): Give translators
4002 more flexibility with ngettext plural handling.
4004 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4006 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4007 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4008 page when we get the page size.
4010 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4012 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4014 ps pages are 0 based, convert
4016 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4018 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4020 Initialize correct parent class. Set GError on document load
4022 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4024 * pdf/xpdf/pdf-document.cc:
4026 Fixup selection offset calculation
4028 * shell/ev-view.c: (view_rect_to_doc_rect),
4029 (doc_rect_to_view_rect), (ev_view_size_allocate),
4030 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4031 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4033 Store selection as document relative, so that zooming
4034 and offset changing doesnt break it.
4036 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4038 * shell/ev-view.c: (ev_view_best_fit):
4040 Do not try to best fit if the view is not realized
4042 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4044 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4046 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4048 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4050 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4052 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4053 the popup window. That prevents it resizing when in full screen
4056 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4057 multiple rerenders. This pretty much sucks.
4059 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4060 rest of the toolbar.
4062 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4064 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4066 2005-02-17 Alexander Shopov <ash@contact.bg>
4068 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4070 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4072 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4074 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4076 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4077 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4078 (set_document_page), (document_changed_callback),
4079 (ev_view_set_document), (ev_view_find_previous),
4080 (ev_view_hide_cursor), (ev_view_show_cursor):
4082 * shell/ev-window.c: (update_chrome_visibility),
4083 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4084 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4085 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4086 (ev_window_unfullscreen):
4087 * shell/main.c: (main):
4089 Automatically hide the fullscreen button.
4090 Patch by Kristian Høgsberg <krh@redhat.com>
4092 2005-02-16 Vincent Noel <vnoel@cox.net>
4094 * shell/main.c (main): Specify an icon for the window. Patch by
4095 Jaap A. Haitsma. Fixes #166177.
4097 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4099 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4101 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4103 * backend/ev-document-misc.h:
4104 * backend/ev-document-misc.c:
4105 (ev_document_misc_get_page_border_size),
4106 (ev_document_misc_paint_one_page): New function to canonicalize
4107 sizing/painting a border.
4109 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4112 * pdf/xpdf/pdf-document.cc: use new function
4114 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4115 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4116 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4117 shell/ev-window.c: (update_sizing_buttons),
4118 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4119 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4120 (ev_window_cmd_view_page_width), (size_allocate_cb),
4121 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4122 and "fit width" values act as toggle buttons so they stay
4123 toggled. It's not 100% perfect, and it's a little slow, but it's
4124 good enough to commit I think.
4126 2005-02-15 David Lodge <dave@cirt.net>
4128 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4130 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4132 * shell/ev-window.c (update_window_title): replace newlines in
4133 the title by spaces. Bug #166107.
4135 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4137 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4138 parameters providing allocation width and height without
4139 scrollbars and width of a possible vertical scrollbar. With this
4140 additional information the functions can work as
4141 intended. Unfortunately they're not idempotent. We should
4142 transform these commands to toggles. Fixes Bug #164976
4143 Initial patch by Stephane Loeuillet, then heavily modified.
4145 * shell/ev-view.h: update prototypes.
4147 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4148 (ev_window_cmd_view_page_width): provide EvView fit functions with
4149 all the information they need. Formulas to calculate this
4150 information taken from GtkScrolledWindow.
4152 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4154 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4155 created a thumbnail, the list store is updated to know
4156 that the thumbnail is set. Fixes bug #166792
4158 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4160 * shell/ev-window.c: fixed typo, closes bug 166897
4162 * TODO: updated TODO with bug numbers that are relevant
4164 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4166 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4168 2005-02-09 Vincent Noel <vnoel@cox.net>
4170 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4171 and "Next" toolbar buttons as important to make them stand out.
4173 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4177 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4178 (start_interpreter), (stop_interpreter), (document_load),
4179 (ps_document_next_page), (ps_document_goto_page),
4180 (ps_document_set_page_size), (ps_document_widget_event),
4181 (ps_document_render):
4182 * shell/ev-page-view.c: (ev_page_view_dispose):
4183 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4185 Fix compilation on non-gcc platforms
4187 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4194 * pdf/xpdf/Catalog.cc:
4197 Fix the fix for CAN-2004-0888
4199 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4202 * data/evince-ui.xml:
4203 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4204 * shell/ev-stock-icons.h:
4205 * shell/ev-window.c: (update_action_sensitivity),
4206 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4207 (set_action_properties):
4209 Improve toolbar layout/icons
4211 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4213 * pdf/xpdf/pdf-document.cc:
4215 Add warnings about unimplemented/unknown link
4218 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4220 * ps/ps-document.c: (set_up_page):
4224 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4226 * ps/ps-document.c: (start_interpreter):
4230 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4232 * shell/ev-page-view.c: (ev_page_view_dispose):
4233 * shell/ev-view.c: (ev_view_finalize):
4234 * shell/ev-window.c: (ev_window_setup_document),
4235 (ev_window_dispose), (ev_window_init):
4237 Solve more refs issues.
4239 I commented out the page_view initialization for now:
4240 it was never destroyed (because it's never added
4241 to a container). Because of that we was leaking
4242 gs processes. Couldnt think to a clean fix.
4243 We need to figure this out, password view has the
4244 same issue probably.
4246 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4248 * ps/ps-document.c: (ps_document_finalize),
4249 (ps_document_get_n_pages), (ps_document_get_page):
4251 Some cleanups, stop the interpreter on finalize
4253 * shell/ev-page-view.c: (ev_page_view_dispose),
4254 (ev_page_view_class_init):
4256 Release our reference on the document
4258 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4262 * doc/debugging.txt:
4265 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4266 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4267 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4270 Add debugging helpers
4273 * ps/ps-document.c: (set_up_page), (start_interpreter),
4274 (stop_interpreter), (document_load), (ps_document_next_page),
4275 (ps_document_goto_page), (ps_document_set_page_size),
4276 (ps_document_widget_event), (ps_document_render):
4277 * shell/Makefile.am:
4278 * shell/ev-view.c: (expose_bin_window):
4279 * shell/main.c: (main):
4283 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4285 * ps/ps-document.c: (ps_document_widget_event):
4287 Initialize message_window, this should make ps
4288 rendering really work! (Never noticed because I was
4289 testing with a ps that is causing gs to exit every time!)
4291 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4293 * data/evince.schemas.in: updated simple error in applyto closing tag
4295 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4301 * data/evince-ui.xml:
4302 A data/evince.schemas.in:
4304 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4305 * shell/ev-stock-icons.h:
4306 * shell/ev-window.c: (update_chrome_visibility),
4307 (update_chrome_flag), (ev_window_cmd_edit_find),
4308 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4309 (ev_window_unfullscreen), (ev_window_focus_in_event),
4310 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4311 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4312 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4313 (ev_window_dispose), (ev_window_class_init),
4314 (set_action_properties), (set_chrome_actions), (load_chrome),
4317 Implement fullscreen mode changes from bug #164776.
4318 Also implement persistent chrome toggles.
4320 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4322 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4324 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4330 Add another check for find interface
4334 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4336 * shell/ev-application.c: (ev_application_open):
4337 * shell/ev-window.c: (ev_window_open):
4339 Open gzipped ps documents
4341 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4344 * shell/ev-view.c: (set_document_page):
4346 Clamp page number, dont try to move to
4349 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4351 * backend/ev-document-find.c: (ev_document_find_changed):
4352 * backend/ev-document-find.h:
4353 * pdf/xpdf/pdf-document.cc:
4354 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4355 * shell/ev-window.c: (find_bar_search_changed_cb):
4357 Fix several bugs with find
4359 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4361 * shell/ev-sidebar-thumbnails.c
4362 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4363 document. Prevents warning from scroll_to_cell.
4365 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4367 * configure.ac: Add «nb» to ALL_LINGUAS too.
4369 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4371 * NOTES: New file with some random thoughts.
4375 * backend/ev-document-misc.c:
4376 (ev_document_misc_get_page_border_size): New function to
4377 canonicalize shadow drawing sizes. Possibly goofy.
4379 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4380 (ev_view_best_fit), (ev_view_fit_width):
4381 * pdf/xpdf/pdf-document.cc:
4382 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4383 * ps/ps-document.c: (ps_document_get_page_size):
4384 * backend/ev-document-misc.h:
4385 * backend/ev-document.c: (ev_document_get_page_size):
4386 * backend/ev-document.h: get_page_size now takes a page number
4387 parameter. Made all the backends/frontends honor it.
4389 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4390 see. Doesn't work yet.
4392 * shell/Makefile.am:
4393 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4394 Doesn't do anything yet.
4396 * shell/ev-sidebar-thumbnails.c:
4397 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4400 * shell/ev-window.c: (update_action_sensitivity),
4401 (ev_window_setup_document), (ev_window_set_page_mode),
4402 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4403 view-swapping code a bit so we can have multiple views on a
4404 document. Add the multi-page view, though it can't be turned on
4407 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4409 * shell/ev-application.c: (ev_application_open):
4410 * shell/ev-view.c: (expose_bin_window):
4411 * shell/ev-window.c: (ev_window_open):
4413 Support eps and check document supports find
4414 before drawing highlightings in expose.
4416 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4418 * pixbuf/pixbuf-document.c:
4419 (pixbuf_document_thumbnails_get_dimensions),
4420 (pixbuf_document_document_thumbnails_iface_init):
4422 implement get_dimensions
4424 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4431 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4433 * shell/ev-view.c: (set_document_page):
4435 Scroll at the top of the page when changing page
4437 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4439 * shell/ev-view.c: (ev_view_motion_notify_event):
4441 Do not redraw unnecessarily
4443 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4445 * pdf/xpdf/pdf-document.cc:
4446 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4447 (expose_bin_window), (find_changed_cb):
4449 Yay! find works now... Now to find bugs...
4451 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4453 * backend/ev-document-find.c: (ev_document_find_base_init),
4454 (ev_document_find_changed):
4455 * backend/ev-document-find.h:
4456 * pdf/xpdf/pdf-document.cc:
4457 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4458 (expose_bin_window), (ev_view_init), (set_document_page),
4459 (ensure_rectangle_is_visible), (jump_to_find_result),
4460 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4461 (ev_view_find_next), (ev_view_find_previous):
4463 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4465 More work on find implementation, mostly there now
4467 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4469 * backend/ev-backend-marshalers.list:
4470 * backend/ev-document-find.c: (ev_document_find_base_init),
4471 (ev_document_find_cancel), (ev_document_find_page_has_results),
4472 (ev_document_find_get_n_results), (ev_document_find_get_result),
4473 (ev_document_find_get_progress), (ev_document_find_changed):
4474 * backend/ev-document-find.h:
4476 Enanche the find interface to be really able to do
4479 * pdf/xpdf/pdf-document.cc:
4483 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4484 (expose_bin_window), (ev_view_init),
4485 (ev_view_get_find_status_message), (find_changed_cb),
4486 (ev_view_set_document), (set_document_page):
4488 Adapt to the new interface. A few things are regressed sorry,
4489 I will finish it soon.
4491 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4493 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4494 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4495 ev_sidebar_thumbnails_parent_class variable, don't define another
4496 parent_class variable.
4498 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4499 (ev_page_action_class_init): ditto.
4501 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4502 (pixbuf_document_class_init): ditto.
4504 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4507 * .cvsignore: ignore various valgrind output files.
4509 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4511 * data/evince-ui.xml:
4512 * shell/Makefile.am:
4513 * shell/ev-history.c:
4514 * shell/ev-history.h:
4515 * shell/ev-navigation-action.c:
4516 * shell/ev-navigation-action.h:
4517 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4518 (ev_view_set_page), (ev_view_fit_width):
4520 * shell/ev-window.c: (update_action_sensitivity),
4521 (ev_window_setup_document), (register_custom_actions):
4523 Kill session history
4525 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4527 * shell/ev-window.c: (update_action_sensitivity):
4529 Fix inverted up/down buttons
4531 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4533 * shell/ev-sidebar-thumbnails.c
4534 (ev_sidebar_thumbnails_select_page): make sure the selected
4535 thumbnail stays visible.
4537 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4539 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4540 scrolled window for Federico.
4542 2005-01-26 Ole Laursen <olau@hardworking.dk>
4544 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4546 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4549 * pdf/splash/SplashFTFontEngine.cc:
4551 Fix CID fonts with freetype 2.1.9
4553 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4555 * TODO: added item for desktop icon thumbnailer
4557 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4559 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4560 unloaded docs when the title is accessed.
4562 * shell/ev-password-view.[hc]: New widget for displaying password
4565 * shell/ev-window.[ch]: Refactor password handling code to handle
4568 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4576 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4578 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4579 ignore page offset here, to make search results independent of it,
4581 * shell/ev-view.c (expose_bin_window): but take offsets into
4582 account here. Bug #164932
4584 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4585 scale at the right time. Bug #164996
4587 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4589 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4590 fix the problem. Now I just removed the Adobe font names and hope
4591 that the URW fonts are always in outline format. Bug #164934
4593 * shell/ev-window.c (update_window_title): empty titles are
4594 useless, use filename in that case too.
4596 * NEWS: Add some content.
4598 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4600 * TODO: added one more TODO item and a TODONE section :)
4602 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4604 * ps/ps-document.h: add page_[xy]_offset fields.
4606 * ps/ps-document.c (ps_document_set_page_offset)
4607 (ps_document_render): Keep offset in consideration in a few
4608 places. Bug #164752 "postscript documents are not centered in
4611 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4612 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4614 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4615 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4616 stub out missing methods for complete EvDocument implementation.
4617 Fixes segfaults with Save A Copy and Copy actions.
4619 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4620 (ps_document_document_iface_init): ditto.
4622 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4626 * data/evince.desktop.in:
4630 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4632 * shell/ev-view.c: (ev_view_button_press_event),
4633 (ev_view_motion_notify_event):
4635 Make selection work in any direction
4637 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4640 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4642 Use shorter labels for some of the toolbars items
4644 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4646 * pdf/xpdf/pdf-document.cc:
4648 Check the links info is initialized before
4649 using it. Should fix a crash on startup.
4651 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4653 * pixbuf/pixbuf-document.c
4654 (pixbuf_document_thumbnails_get_dimensions): force floating point
4655 division to calculate page_ratio. Fixes crash with landscape
4658 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4660 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4662 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4664 * shell/ev-view.c (set_document_page): unset has_selection when
4666 (set_document_page): handle paper size changes when the page
4667 changes (test with Free Culture, page 2).
4669 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4671 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4672 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4674 Use normal style color for the widget background and
4675 draw a black box around the page.
4677 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4679 * pdf/xpdf/pdf-document.cc:
4681 Keep offset in consideration in a few places
4683 * shell/ev-view.c: (expose_bin_window):
4685 Set the offsets so that the document is ever centered
4687 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4689 * TODO: Added TODO items and finished off the first todo item
4691 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4692 reflect current authors
4694 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4696 * pdf/xpdf/pdf-document.cc:
4697 * shell/ev-view.c: (ev_view_set_cursor),
4698 (ev_view_motion_notify_event), (document_changed_callback),
4699 (set_document_page):
4701 Show a wait cursor while the page is rendering
4703 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4705 * shell/ev-sidebar-thumbnails.c:
4706 (ev_sidebar_tree_selection_changed),
4707 (ev_sidebar_thumbnails_select_page):
4708 * shell/ev-sidebar-thumbnails.h:
4709 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4710 (ev_view_can_go_forward):
4711 * shell/ev-window.c: (ev_window_open_page),
4712 (ev_window_setup_document), (update_current_page),
4713 (view_page_changed_cb), (ev_window_init):
4714 * shell/ev-window.h:
4716 Ensure thumbnails selection, toolbar page control and
4717 current page are in sync.
4719 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4725 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4727 * backend/Makefile.am:
4728 * backend/ev-document-links.h:
4729 * backend/ev-document-security.c: (ev_document_security_get_type),
4730 (ev_document_security_has_document_security),
4731 (ev_document_security_set_password):
4732 * backend/ev-document-security.h:
4733 * backend/ev-document.c: (ev_document_error_quark):
4734 * backend/ev-document.h:
4736 * data/evince-password.glade:
4737 * pdf/xpdf/pdf-document.cc:
4738 * shell/Makefile.am:
4739 * shell/ev-password.c: (ev_password_set_bad_password_label),
4740 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4741 (ev_password_dialog_get_password),
4742 (ev_password_dialog_set_bad_pass):
4743 * shell/ev-password.h:
4744 * shell/ev-window.c: (ev_window_get_attribute),
4745 (ev_window_set_property), (update_action_sensitivity),
4746 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4747 (ev_window_setup_document), (ev_window_get_password),
4748 (ev_window_open), (ev_window_cmd_save_as),
4749 (using_postscript_printer), (ev_window_print),
4750 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4751 (update_fullscreen_popup), (ev_window_fullscreen),
4752 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4753 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4754 (menu_item_select_cb), (find_bar_search_changed_cb),
4755 (ev_window_dispose), (ev_window_init):
4757 Add initial support for password-supported dialogs. This could be
4758 a lot cooler, but it'll do for now.
4760 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4762 * pdf/xpdf/pdf-document.cc:
4763 * shell/ev-view.c: (status_message_from_link),
4764 (ev_view_set_status), (ev_view_set_cursor),
4765 (ev_view_motion_notify_event), (ev_view_init):
4766 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4768 Fix bugs in the links implementation and change cursor
4769 when hovering a link.
4771 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4773 * viewer/.cvsignore: added cvsignore file for viewer directory
4775 * TODO: created TODO document
4777 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4780 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4781 new functions to help with implementation of sensitivity code
4782 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4783 of all actions that might require it. Fixes a crash when you
4784 click on the Zoom actions in a window lacking a document.
4786 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
4788 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4791 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4793 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
4794 (pixbuf_document_document_iface_init):
4795 * ps/ps-document.c: (ps_document_get_link),
4796 (ps_document_document_iface_init):
4797 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
4798 (status_message_from_link), (ev_view_set_status),
4799 (ev_view_set_find_status), (ev_view_motion_notify_event),
4800 (ev_view_button_release_event), (ev_view_set_property),
4801 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
4802 (ev_view_get_find_status_message), (update_find_results),
4803 (ev_view_get_status), (ev_view_get_find_status):
4805 * shell/ev-window.c: (view_status_changed_cb),
4806 (view_find_status_changed_cb), (ev_window_init):
4808 View status message support, use it to show the links.
4811 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4813 * backend/ev-document.c: (ev_document_get_link):
4814 * backend/ev-document.h:
4815 * pdf/xpdf/pdf-document.cc:
4816 * shell/ev-application.c: (ev_application_open):
4817 * shell/ev-application.h:
4818 * shell/ev-sidebar-links.c: (selection_changed_cb):
4819 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
4820 (ev_view_go_to_link):
4822 Add support for document links
4824 2005-01-13 Anders Carlsson <andersca@gnome.org>
4826 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
4828 Set the spin button limits correctly.
4830 * shell/ev-sidebar-thumbnails.c:
4831 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
4832 Support changing pages by clicking on the thumbnails.
4834 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4836 * pixbuf/pixbuf-document.c:
4837 (pixbuf_document_thumbnails_get_dimensions),
4838 (pixbuf_document_document_thumbnails_iface_init):
4840 implement get_dimensions
4842 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
4844 * ps/ps-document.c: (ps_document_goto_page):
4846 Fix page switching on multipage documents
4848 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
4850 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4852 check for NULL before assigning to width and height parameters
4854 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4856 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4857 (pixbuf_document_set_property), (pixbuf_document_get_property):
4859 implement get/set properties
4861 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
4863 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
4865 return NULL instead of "Unknown", letting the title get set to
4866 the filename when the pdf has no title.
4868 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4870 * ps/ps-document.c: (ps_document_get_page_count),
4871 (ps_document_goto_page):
4873 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4875 * shell/ev-history.c: (ev_history_get_property),
4876 (ev_history_set_property), (ev_history_class_init),
4877 (ev_history_add_page), (ev_history_set_current_index):
4878 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
4879 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
4880 (ev_navigation_action_finalize):
4881 * shell/ev-navigation-action.h:
4882 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4883 (ev_view_go_forward), (ev_view_get_find_status_message),
4884 (history_index_changed_cb), (ev_view_set_history):
4886 * shell/ev-window.c: (update_total_pages), (ev_window_open),
4887 (update_current_page), (register_custom_actions):
4889 Implement history dropdowns
4891 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
4893 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
4894 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
4895 (ev_view_go_forward):
4896 * shell/ev-window.c: (register_custom_actions):
4898 Fix several history bugs
4900 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
4902 * configure.ac: Add «nb» to ALL_LINGUAS.
4904 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
4906 * backend/Makefile.am:
4907 * backend/ev-bookmark.c:
4908 * backend/ev-bookmark.h:
4909 * backend/ev-document-bookmarks.c:
4910 * backend/ev-document-bookmarks.h:
4911 * backend/ev-document-links.c: (ev_document_links_get_type),
4912 (ev_document_links_has_document_links),
4913 (ev_document_links_begin_read), (ev_document_links_get_link),
4914 (ev_document_links_get_child), (ev_document_links_next),
4915 (ev_document_links_free_iter):
4916 * backend/ev-document-links.h:
4917 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
4918 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
4919 (ev_link_get_link_type), (ev_link_set_link_type),
4920 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
4921 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
4922 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
4923 (ev_link_new_external):
4924 * backend/ev-link.h:
4925 * pdf/xpdf/pdf-document.cc:
4926 * shell/Makefile.am:
4927 * shell/ev-application.c: (ev_application_open_link):
4928 * shell/ev-application.h:
4929 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
4930 (ev_history_get_link_nth):
4931 * shell/ev-history.h:
4932 * shell/ev-sidebar-bookmarks.c:
4933 * shell/ev-sidebar-bookmarks.h:
4934 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4935 (ev_sidebar_links_class_init), (selection_changed_cb),
4936 (ev_sidebar_links_construct), (ev_sidebar_links_init),
4937 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
4938 (do_one_iteration), (populate_links_idle),
4939 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
4940 * shell/ev-sidebar-links.h:
4941 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4942 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
4945 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
4946 * shell/ev-window.h:
4948 Rename bookmark to link, and use "Index" for the sidebar panel.
4950 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4952 * shell/Makefile.am:
4953 * shell/ev-application.c: (ev_application_open_bookmark):
4954 * shell/ev-application.h:
4955 * shell/ev-history.c: (ev_history_init), (free_links_list),
4956 (ev_history_finalize), (ev_history_class_init),
4957 (ev_history_add_link), (ev_history_add_page),
4958 (ev_history_get_link_nth), (ev_history_get_n_links),
4959 (ev_history_get_current_index), (ev_history_set_current_index),
4961 * shell/ev-history.h:
4962 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
4963 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
4964 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
4965 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
4968 * shell/ev-window.c: (ev_window_open_bookmark),
4969 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
4970 (goto_page_cb), (register_custom_actions):
4971 * shell/ev-window.h:
4973 Initial history implementation. Needs work.
4975 2005-01-09 Martin Kretzschmar <martink@gnome.org>
4977 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
4979 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
4981 * cut-n-paste/recent-files/egg-recent-item.c:
4982 * cut-n-paste/recent-files/egg-recent-item.h:
4983 * cut-n-paste/recent-files/egg-recent-model.c:
4984 * cut-n-paste/recent-files/egg-recent-util.c:
4985 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4986 * cut-n-paste/recent-files/egg-recent-view.c:
4990 2005-01-08 Martin Kretzschmar <martink@gnome.org>
4992 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
4993 (fillGlyph, fillImageMask, drawImage):
4994 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
4995 pdf/splash/SplashTypes.h:
4996 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
4997 packed mode for Splash.
4999 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5000 RGB8 packed mode, eliminates the pixbuf data creation loop.
5002 * shell/ev-print-job.c (ev_print_job_finalize)
5003 (ev_print_job_set_property, ev_print_job_get_property)
5004 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5005 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5006 (print_closure_finalize, ev_print_job_print): implement
5007 printing (for backends with EvPsExporter)
5009 * shell/ev_print_job.h: update prototypes.
5011 * shell/ev-window.c (ev_window_print): unref print job after
5014 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5015 unless the document implements the EvDocumentFind interface.
5017 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5019 * configure.ac: Added ja to ALL_LINGUAS.
5021 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5023 * pdf/xpdf/pdf-document.cc:
5025 add a FIXME. We should probably not allocate
5026 a bookmark object every time
5028 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5030 * shell/ev-application.c: (ev_application_open),
5031 (ev_application_open_bookmark):
5032 * shell/ev-application.h:
5034 Add a way to open bookmarks
5036 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5037 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5038 (ev_bookmark_set_property), (ev_bookmark_class_init),
5039 (ev_bookmark_new_title), (ev_bookmark_new_link),
5040 (ev_bookmark_new_external):
5042 Support for external uris, better constructors.
5044 * backend/ev-bookmark.h:
5045 * pdf/xpdf/pdf-document.cc:
5046 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5048 Handle external uris
5050 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5052 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5053 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5055 Hook up bookmarks navigation
5057 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5059 * backend/Makefile.am:
5060 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5061 (ev_bookmark_get_title), (ev_bookmark_set_title),
5062 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5063 (ev_bookmark_get_page), (ev_bookmark_set_page),
5064 (ev_bookmark_get_property), (ev_bookmark_set_property),
5065 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5067 * backend/ev-bookmark.h:
5068 * backend/ev-document-bookmarks.c:
5069 (ev_document_bookmarks_get_bookmark):
5070 * backend/ev-document-bookmarks.h:
5071 * pdf/xpdf/pdf-document.cc:
5072 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5074 Add a bookmark object to the backend and use it instead of get_values
5076 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5078 * data/evince-ui.xml:
5080 Cleanup and add select all.
5082 * shell/ev-view.c: (ev_view_select_all),
5083 (ev_view_button_press_event):
5085 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5088 Clear selection on click.
5090 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5092 * shell/ev-sidebar-thumbnails.c
5093 (ev_sidebar_thumbnails_set_document): forgot to unref the
5096 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5098 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5099 at the visible page, not just linearly. This makes it look fast.
5101 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5103 * backend/ev-document-misc.c
5104 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5106 * backend/ev-document-thumbnails.h: New interface to get the size
5109 2005-01-06 Jeremy Katz <katzj@redhat.com>
5111 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5114 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5116 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5117 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5120 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5122 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5124 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5125 fonts. Should fix font problems on systems that have the base
5126 fonts in bitmap format. Reported by James Henstridge
5127 <james@jamesh.id.au>.
5129 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5132 * pdf/xpdf/GfxState.cc:
5134 Fix for CAN-2004-1125
5136 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5138 * shell/ev-view.c: (ev_view_copy):
5140 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5142 Implement Edit->Copy
5144 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5146 * backend/ev-document.c: (ev_document_get_text):
5147 * backend/ev-document.h:
5148 * pdf/xpdf/pdf-document.cc:
5149 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5150 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5151 (ev_view_update_primary_selection), (ev_view_button_press_event),
5152 (ev_view_motion_notify_event), (ev_view_button_release_event):
5154 Beginnings of clipboard support. Incomplete but primary sort
5157 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5159 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5160 (expose_bin_window):
5162 Nicer rubberband drawing, from GtkIconView.
5164 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5166 * backend/ev-document.c: (ev_document_save):
5167 * backend/ev-document.h:
5168 * data/evince-ui.xml:
5169 * pdf/xpdf/pdf-document.cc:
5170 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5172 Implement "Save a copy..." menu item
5174 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5176 * shell/ev-view.c: (ev_view_zoom):
5178 Queue a resize when zoom changes
5180 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5182 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5185 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5188 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5190 * pdf/xpdf/pdf-document.cc
5191 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5193 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5195 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5196 It's slow, but I'll speed it up next!
5198 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5200 * shell/main.c (load_files):
5202 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5203 from the command line and because it seems more appropriate.
5205 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5207 * data/evince-ui.xml:
5208 * shell/ev-window.c: (update_action_sensitivity),
5209 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5211 s/next page/page down
5212 s/previous page/page up
5214 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5216 * data/evince-ui.xml:
5218 Change the layout to match clarkbw design.
5220 * shell/Makefile.am:
5221 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5222 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5223 (ev_navigation_action_finalize),
5224 (ev_navigation_action_set_property),
5225 (ev_navigation_action_get_property),
5226 (ev_navigation_action_class_init):
5227 * shell/ev-navigation-action.h:
5229 Implement clarkbw toolbar navigation controls (incomplete)
5231 * shell/ev-page-action.c: (update_label), (update_spin),
5232 (value_changed_cb), (create_tool_item), (connect_proxy),
5233 (ev_page_action_init), (ev_page_action_finalize),
5234 (ev_page_action_set_property), (ev_page_action_get_property),
5235 (ev_page_action_set_current_page),
5236 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5237 * shell/ev-page-action.h:
5239 Implement a page switcher in the toolbar
5241 * shell/ev-view.c: (ev_view_scroll_view):
5242 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5243 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5244 (register_custom_actions), (ev_window_init):
5246 Change page on PageUp/Down.
5248 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5250 * pdf/xpdf/pdf-document.cc
5251 (pdf_document_thumbnails_get_thumbnail): initial stab at
5252 implementing thumbnail support for pdfs. It only does documents
5253 with precached pdfs now.
5255 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5257 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5258 thumbnail code into a time-based idle as well. Also, turn off the
5259 shadow temporarily as it's really slow.
5261 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5263 * backend/ev-document.c: (ev_document_class_init):
5264 * pdf/xpdf/pdf-document.cc:
5265 * shell/ev-window.c: (ev_window_open):
5267 Fix document title bugs and fallback to
5268 filename when not available.
5270 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5272 * backend/ev-document.c: (ev_document_get_type),
5273 (ev_document_class_init), (ev_document_load),
5274 (ev_document_get_title):
5275 * backend/ev-document.h:
5276 * pdf/xpdf/pdf-document.cc:
5277 * ps/ps-document.c: (ps_document_set_property),
5278 (ps_document_get_property), (ps_document_class_init),
5282 * shell/ev-window.c: (update_window_title), (ev_window_open),
5285 Initial support for document title. Not working yet.
5287 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5289 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5291 Grab focus on the view when clicking it
5293 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5295 * shell/ev-marshal.list:
5296 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5297 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5299 Add key bindings to the view. Now if the focus would work
5302 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5305 * backend/Makefile.am:
5308 * dvi/dvilib/Makefile.am:
5309 * pdf/xpdf/Makefile.am:
5315 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5317 * shell/ev-view.c: (ev_view_realize):
5319 Fix mouse wheel scrolling
5321 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5327 * ps/ps-document.c: (catchPipe), (ps_document_init),
5328 (ps_document_class_init), (ps_document_cleanup),
5329 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5330 (set_up_page), (close_pipe), (is_interpreter_ready),
5331 (interpreter_failed), (output), (input), (start_interpreter),
5332 (stop_interpreter), (file_length), (file_readable),
5333 (check_filecompressed), (check_pdf), (compute_xdpi),
5334 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5335 (ps_document_get_type), (ps_document_emit_error_msg),
5336 (document_load), (ps_document_next_page),
5337 (ps_document_get_current_page), (ps_document_get_page_count),
5338 (ps_document_goto_page), (ps_document_set_page_size),
5339 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5340 (ps_document_load), (ps_document_get_n_pages),
5341 (ps_document_set_page), (ps_document_get_page),
5342 (ps_document_widget_event), (ps_document_set_target),
5343 (ps_document_set_scale), (ps_document_set_page_offset),
5344 (ps_document_get_page_size), (ps_document_render),
5345 (ps_document_document_iface_init):
5348 * shell/ev-window.c: (ev_window_open):
5350 Rename GtkGS to PSDocument
5352 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5354 * ps/gtkgs.c: (gtk_gs_class_init):
5357 Some more leftover...
5359 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5361 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5362 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5363 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5366 Remove unused code and make a lot of stuff private
5368 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5370 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5371 (gtk_gs_defaults_changed):
5377 Cleanup headers dependencies
5379 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5384 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5386 * ps/gtkgs.c: (file_length), (file_readable),
5387 (check_filecompressed), (check_pdf), (gtk_gs_load),
5388 (gtk_gs_get_postscript):
5392 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5397 * ps/gtkgs.c: (gtk_gs_set_zoom):
5401 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5403 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5405 Ensure the page is rerendered when changing zoom
5407 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5409 * backend/ev-document.c: (ev_document_base_init),
5410 (ev_document_changed):
5411 * backend/ev-document.h:
5413 Add a changed event that is emitted when the page content
5414 changes. This is necessary to deal with the fact that
5415 in ps backend rendering happen asycrounously.
5416 This makes the ps backend mostly work.
5418 * pdf/xpdf/pdf-document.cc:
5422 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5423 (ps_document_set_target):
5427 * shell/ev-view.c: (document_changed_callback),
5428 (ev_view_set_document), (ev_view_set_page):
5430 Redraw on the changed signal
5432 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5434 * configure.ac: Added pt_BR to ALL_LINGUAS.
5436 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5438 * backend/ev-document-bookmarks.c:
5439 (ev_document_bookmarks_get_child): *
5440 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5441 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5442 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5443 (ev_sidebar_bookmarks_destroy),
5444 (ev_sidebar_bookmarks_class_init),
5445 (ev_sidebar_bookmarks_construct), (stack_data_free),
5446 (do_one_iteration), (populate_bookmarks_idle),
5447 (ev_sidebar_bookmarks_clear_document),
5448 (ev_sidebar_bookmarks_set_document): *
5449 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5450 (ev_sidebar_add_page),
5451 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5452 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5453 it displays both the topics and the page numbers.
5455 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5457 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5459 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5462 2004-12-23 Adam Weinberger <adamw@gnome.org>
5464 * configure.ac: Added en_CA to ALL_LINGUAS.
5466 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5468 * ChangeLog: replace bottom of this ChangeLog (merged history of
5469 ggv and gpdf; where all paths were wrong and most of the files are
5470 not even in this tree) with ChangeLog (from arch) of the shell
5473 2004-12-23 Havoc Pennington <hp@redhat.com>
5475 * shell/ev-window.c: hook up potentially-questionable "find
5476 results status text" feature - something involving the sidebar or
5477 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5478 might be better in the end.
5480 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5481 with corresponding signal when it should be updated
5483 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5485 2004-12-22 Havoc Pennington <hp@redhat.com>
5487 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5488 find stuff on other pages, sort of (only returns one result on
5489 invisible pages, to show they have results; updates full results
5490 for a page when you view it). Currently repaints the current page
5491 every time a new result is found on any page, which isn't so nice.
5493 2004-12-22 Havoc Pennington <hp@redhat.com>
5495 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5496 the document doesn't support find (better ideas?)
5497 (find_bar_search_changed_cb): handle missing document or document
5498 that doesn't support find
5500 * pdf/xpdf/pdf-document.cc: port to implement the new
5503 * backend/ev-document-find.c: create a new interface for searching
5505 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5507 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5509 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5512 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5513 EvPrintJob constructor arguments.
5515 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5516 for documents that can export PostScript (page by page).
5518 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5520 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5521 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5522 (pdf_document_ps_exporter_iface_init:
5523 Implement EvPSExporter.
5525 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5527 2004-12-22 Anders Carlsson <andersca@gnome.org>
5529 * backend/Makefile.am:
5530 * backend/ev-document-thumbnails.c:
5531 (ev_document_thumbnails_get_type),
5532 (ev_document_thumbnails_get_thumbnail):
5533 * backend/ev-document-thumbnails.h:
5534 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5535 (pixbuf_document_thumbnails_get_thumbnail),
5536 (pixbuf_document_document_thumbnails_iface_init):
5537 * shell/Makefile.am:
5538 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5539 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5540 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5541 * shell/ev-sidebar-thumbnails.h:
5542 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5543 (ev_sidebar_set_document):
5544 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5545 (create_shadow), (ev_pixbuf_add_shadow):
5547 Add thumbnail support.
5549 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5551 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5552 (using_postscript_printer): Set up a print dialog for "PostScript
5555 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5558 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5560 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5562 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5563 (ps_document_set_target), (ps_document_get_page_size),
5564 (ps_document_render):
5569 2004-12-22 Christian Rose <menthos@menthos.com>
5571 * configure.ac: Added "sv" to ALL_LINGUAS.
5573 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5575 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5576 document supports bookmarks.
5578 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5580 * ps/ggvutils.c: (ggv_file_readable):
5582 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5583 (gtk_gs_get_postscript):
5587 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5589 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5590 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5591 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5592 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5593 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5594 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5595 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5596 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5597 (gtk_gs_set_antialiasing), (ps_document_load),
5598 (ps_document_render):
5601 Another check point for the ps backend. Now I can get it to show
5604 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5606 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5607 document setting code.
5609 2004-12-22 Anders Carlsson <andersca@gnome.org>
5611 * shell/eggfindbar.c: (entry_activate_callback):
5612 Animate the next button when activate is pressed.
5614 2004-12-22 Anders Carlsson <andersca@gnome.org>
5616 * shell/ev-window.c: (ev_window_cmd_edit_find),
5617 (update_fullscreen_popup), (ev_window_fullscreen),
5618 (ev_window_unfullscreen), (ev_window_state_event_cb),
5619 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5620 Fix bugs in fullscreen code.
5622 2004-12-22 Anders Carlsson <andersca@gnome.org>
5626 * pixbuf/Makefile.am:
5627 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5628 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5629 (pixbuf_document_set_page), (pixbuf_document_get_page),
5630 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5631 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5632 (pixbuf_document_render), (pixbuf_document_begin_find),
5633 (pixbuf_document_end_find), (pixbuf_document_finalize),
5634 (pixbuf_document_class_init),
5635 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5636 * pixbuf/pixbuf-document.h:
5637 * shell/Makefile.am:
5638 * shell/ev-application.c: (ev_application_open):
5639 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5643 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5646 * dvi/dvilib/Makefile.am:
5648 * configure.ac: Auto*ify dvi and dvi/dvilib
5650 * dvi/Makefile: Remove from CVS
5652 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5655 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5657 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5659 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5662 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5663 (gtk_gs_value_adjustment_changed), (compute_size),
5664 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5665 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5666 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5667 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5668 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5669 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5670 (ps_document_load), (ps_document_get_n_pages),
5671 (ps_document_set_page), (ps_document_get_page),
5672 (ps_document_set_target), (ps_document_set_scale),
5673 (ps_document_set_page_offset), (ps_document_get_page_size),
5674 (ps_document_render), (ps_document_begin_find),
5675 (ps_document_end_find), (ps_document_document_iface_init):
5677 * shell/Makefile.am:
5678 * shell/ev-window.c: (ev_window_open):
5680 Some work to integrate gtkgs with EvDocument
5682 2004-12-22 Anders Carlsson <andersca@gnome.org>
5684 * shell/ev-window.c: (update_fullscreen_popup),
5685 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5686 (exit_fullscreen_button_clicked_cb),
5687 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5688 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5689 (ev_window_state_event_cb), (ev_window_init):
5690 Add fullscreen support from Epiphany.
5692 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5694 * data/ev-stock-zoom-fit-width.png: fit-width
5695 stock icon from gpdf.
5697 * shell/ev-stock-icons.[ch]: copied from gpdf.
5699 * shell/main.c: (main): init stock icons.
5701 * shell/ev-window.c: use the fit-width icon.
5703 * data/evince-ui.xml: add zooming toolbar items.
5705 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5708 (ev_view_best_fit), (ev_view_fit_width): because
5709 get_page_size() returns the scaled page size, we
5710 need to calculate the scale factor relative to
5711 the previous scale factor. Should really just
5712 add get_real_page_size().
5714 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5716 * shell/ev-view.[ch]:
5717 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5718 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5721 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5722 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5723 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5726 * pdf/xpdf/pdf-document.cc:
5727 (pdf_document_begin_find),
5728 (pdf_document_end_find): make static.
5730 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5732 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5734 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5735 names to fontconfig patterns.
5736 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5738 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5741 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5757 Import ggv backend. Not hooked up yet.
5759 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5761 * shell/main.c: (load_files), (main): load files
5762 from the command line.
5764 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5766 * configure.ac: don't require bonobo.
5768 * cut-n-paste/recent-files/*: kill bonobo recent
5771 * shell/ev-window.c:
5772 (ev_window_is_empty): upd.
5773 (unable_to_load), (ev_window_open): load backend
5774 based on the mime type.
5776 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5778 * backend/.cvsignore: ignore generated marshalers source.
5780 * shell/main.c (main): this is not epiphany.
5782 2004-12-22 Havoc Pennington <hp@redhat.com>
5784 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
5785 (expose_bin_window): draw find highlights
5787 * shell/ev-window.c (find_bar_search_changed_cb): implement
5789 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
5790 (pdf_document_end_find): implement this interface
5792 * backend/ev-document.c (ev_document_found): add this to emit
5795 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
5797 * data/evince-ui.xml: Add a few more toolbar items.
5799 * shell/ev-window.c: Hook up page navigation toolbar
5802 * shell/ev-view.[ch]: add ev_view_set/get_page and
5803 a page-changed signal.
5805 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
5806 Add ev_document_get_page().
5808 * shell/ev-window.c: Sensitize/desensitize navigation
5811 2004-12-21 Havoc Pennington <hp@redhat.com>
5813 * backend/ev-backend-marshal.c,
5814 backend/ev-backend-marshalers.list, backend/Makefile.am: add
5815 marshaler-generator thingy. I'm sure there's a better way to do
5816 this in the modern world.
5818 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
5819 end_find methods and "found" signal.
5821 * configure.ac: find glib-genmarshal
5823 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
5825 * shell/ev-sidebar.c: Construct an actual sidebar.
5826 * shell/ev-sidebar-bookmarks.[ch]:
5827 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
5829 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
5831 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
5834 * shell/ev-view.c: Track the size from the document.
5836 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
5838 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
5839 constructor assumes ownership of the string passed in.
5841 * shell/ev-window.c (ev_window_open): Destroy the error
5842 dialog once we've displayed it.
5844 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
5846 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
5847 a bit, it works! (sort of)
5849 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
5850 Move to .cc since we need to use C++ in the implementation.
5852 * shell/dummy.cc: Add a CC file to force evince
5853 to be linked as a C++ program.
5855 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
5857 * shell/ev-view.[ch]: Start of content-area widget.
5859 * shell/ev-window.c: Create a EvView, update it
5860 as we change documents.
5862 * shell/Makefile.am shell/ev-marshal.list: Add
5863 generated marshalers.
5865 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
5867 * Makefile.am (SUBDIRS): move shell.
5869 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
5871 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
5872 .a to libtool convenience libraries.
5874 * shell/ev-window.c (ev_window_open): Hard code loading
5877 * backend/ev-document.h: Add a boolean return to load(),
5878 fix GError * to GError **.
5880 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
5881 object for a PDF backend EvDocument.
5883 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
5885 * dvi/*: New directory with the beginning of a .dvi backend.
5887 2004-12-21 Havoc Pennington <hp@redhat.com>
5889 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
5890 previous/next instead of back/forward
5892 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
5894 * backend/ev-document.[ch]: Fix a couple of problems so
5897 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
5899 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
5900 to backend/ directory, rename EvViewer to EvDocument.
5902 2004-12-21 Havoc Pennington <hp@redhat.com>
5904 * shell/ev-window.c: hook up the find bar widget; now we just need
5905 a document to find things in
5907 * shell/eggfindbar.c: a find bar widget
5909 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
5911 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
5913 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
5915 * pdf/**: Import of xpdf code from gpdf.
5917 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
5919 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
5920 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
5921 Fix FreeType includes.
5923 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
5924 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
5925 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
5926 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
5927 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
5928 Include xpdfconfig.h
5930 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
5932 * shell/ev-window.c (ev_window_dispose): dispose can be called
5935 2004-12-21 Havoc Pennington <hp@redhat.com>
5937 * shell/ev-window.c (ev_window_init): set title to Document Viewer
5940 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
5941 items; really they should be synced with the strings, etc. from
5942 current gpdf, but just getting the boring typing out of the way
5944 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5947 * shell/ev-application.c: (window_destroy_cb):
5948 * shell/ev-window.c:
5949 * shell/main.c: (main):
5951 Actually show the window...
5953 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5956 * shell/Makefile.am:
5957 * shell/ev-application.c: (ev_application_class_init):
5958 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
5962 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
5964 Import to gnome cvs.
5966 * Remove copies of gpdf and ggv trees.
5967 * Rip out all the recursive configure code.
5968 * Remove bonobo machinery.
5969 * viewer/*: GInterfaces that backends should/can implement.
5971 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
5973 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
5976 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
5978 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
5979 (ev_application_finalize, ev_application_class_init)
5980 (ev_application_init): use GType instance private data for priv.
5982 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
5983 (ev_window_finalize, ev_window_class_init)
5984 (ev_window_init): ditto.
5986 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5988 * shell/ev-application.c (ev_application_new_window): make public
5989 (ev_application_show_initial_window): kill.
5991 * shell/ev-application.h: update prototypes.
5993 * shell/main.cc (main): inline ev_application_show_initial_window.
5995 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
5997 * shell/ev-application.c (ev_application_new_window): impl.
5998 (ev_application_show_initial_window): use it.
5999 (is_window_empty, ev_application_get_empty_window): returns an
6000 existing empty window or a new one.
6001 (ev_application_open): from ev_window_cmd_file_open.
6003 * shell/ev-application.h: update prototypes
6005 * shell/ev-window.c (ev_window_is_empty): impl.
6006 (ev_window_open): make public.
6007 (ev_window_cmd_file_open): use ev_application_open
6009 * shell/ev-window.h: update prototypes, remove unused.
6011 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6013 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6014 move destroy handler out of here...
6016 * shell/ev-application.c, shell/ev-application.h: ...into this new
6017 class. Also handles initial window creation.
6019 * shell/main.cc (main): use EvApplication to create initial
6022 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6024 * Makefile.am (SUBDIRS): add cut-n-paste
6026 * cut-n-paste/Makefile.am: add
6028 * configure.ac: generate Makefiles in cut-n-paste
6030 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6032 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6033 (ev_window_class_init): install ev_window_dispose.
6035 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6037 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6038 char (gchar looks stupid).
6040 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6042 * po/de.po: updated German translation.
6044 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6046 * configure.ac: add more pkg-config library checks for gnome-vfs,
6049 * gpdf/configure.in: temporarily disable libpaper
6050 checks. Otherwise I'd have to add the checks for the shell, too.
6052 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6054 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6055 and * file filters to the file choose.
6057 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6059 * po/de.po: Updated German translation.
6061 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6063 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6065 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6067 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6069 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6070 (ev_window_init): implement those menuitems.
6072 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6074 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6076 * shell/ev-window.c (ev_window_init): use the toolbar.
6078 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6080 * shell/ev-window.c (ev_window_init): use menu translations
6082 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6084 * configure.ac: add "de" to ALL_LINGUAS.
6086 * po/de.po: add German translation.
6088 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6090 * Makefile.am (SUBDIRS): add po
6092 * configure.ac: check intltool, glib-gettext etc, generate
6095 * po, po/POTFILES.in, po/POTFILES.skip: new.
6097 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6099 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6100 already use (#ifdef ENABLE_NLS)
6102 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6103 pointer indirection thinko.
6105 * shell/main.c: include gi18n.h for bindtextdomain etc.
6107 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6109 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6110 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6111 tooltips for menu items in the statusbar.
6113 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6115 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6116 pkgdatadir drop UIDIR
6118 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6120 * data/evince-ui.xml: Add File->Open menu item
6122 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6123 chooser), hook it up in the ui manager.
6125 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6127 * shell/ev-window.c: fix Help->About tooltip.
6129 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6131 * configure.ac: set CFLAGS for libevprivate.
6133 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6134 definitions, factory etc.
6136 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6138 * shell/Makefile.am: link against libevprivate.a.
6140 * shell/ev-window.c (entries): add stock icon to Help->About.
6142 * shell/main.c (main): init stock icon code.
6144 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6146 * lib/recent-files: egg recent files code
6148 * lib/Makefile.am: add.
6150 * Makefile.am: add lib subdir.
6152 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6153 set CFLAGS for recent-files.
6155 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6157 * configure.ac: disable -ansi and -pedantic gcc flags. They
6158 disable POSIX stuff in stdio.h, but egg-recent uses them.
6160 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6162 * configure.ac: add --disable-deprecated flag (defaults to on in
6165 * shell/Makefile.am (INCLUDES): use it.
6167 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6169 * shell/main.c: add missing #include.
6171 * shell/ev-window.c: fix for pedantic gcc.
6172 (ev_window_cmd_help_about): split license into paragraphs for
6173 translators and pedantic compilers.
6175 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6177 * configure.ac: add more warning flags if compiling with gcc from
6178 cvs (or explicitly requested with --enable-more-warnings).
6180 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6182 * data/evince-ui.xml: add File and File->Close menu.
6184 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6185 (ev_window_destroy): quit after destroy.
6186 (ev_window_class_init): override GtkObject::destroy.
6187 (entries): install close_window callback.
6189 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6191 * Makefile.am (SUBDIRS): add data subdir.
6193 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6194 gtk+ 2.5.0 for GtkAboutDialog.
6196 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6199 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6201 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6203 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6205 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6207 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6209 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6211 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6213 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6215 * shell/*: Added shell directory boilerplate, build it.
6217 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6219 * configure.ac, Makefile.am: Added top-level configure.ac and