1 2005-07-29 set REAL_NAME environment variable <set EMAIL_ADDRESS environment variable>
3 reviewed by: <delete if not using a buddy>
5 * shell/ev-page-cache.c: (ev_page_cache_new):
6 * shell/ev-window.c: (update_action_sensitivity):
8 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
10 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
11 (ev_view_rotate_left):
13 Account rotation in doc_rect_to_view_rect.
14 Ensure rotation doesnt go out of bounds.
16 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
18 * shell/ev-page-cache.c: (ev_page_cache_get_size):
20 Correct and cleanup w/h swapping
22 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
24 * backend/ev-document-thumbnails.c:
25 (ev_document_thumbnails_get_thumbnail):
26 * backend/ev-document-thumbnails.h:
27 * backend/ev-document.c:
28 * backend/ev-document.h:
29 * backend/ev-render-context.c: (ev_render_context_new),
30 (ev_render_context_set_rotation):
31 * backend/ev-render-context.h:
33 * ps/ps-document.c: (ps_document_document_iface_init):
34 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
36 * shell/ev-page-cache.c: (build_height_to_page),
37 (ev_page_cache_new), (ev_page_cache_get_size),
38 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
39 (ev_page_cache_get_height_to_page):
40 * shell/ev-page-cache.h:
41 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
42 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
43 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
44 (ev_pixbuf_cache_get_selection_pixbuf):
45 * shell/ev-pixbuf-cache.h:
46 * shell/ev-print-job.c: (idle_print_handler):
47 * shell/ev-sidebar-thumbnails.c: (add_range):
48 * shell/ev-view.c: (view_update_range_and_current_page),
49 (get_page_y_offset), (get_page_extents),
50 (ev_view_size_request_continuous_dual_page),
51 (ev_view_size_request_continuous),
52 (ev_view_size_request_dual_page),
53 (ev_view_size_request_single_page), (draw_one_page),
54 (ev_view_set_rotation), (ev_view_rotate_right),
55 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
56 (ev_view_zoom_for_size_continuous_and_dual_page),
57 (ev_view_zoom_for_size_continuous),
58 (ev_view_zoom_for_size_dual_page),
59 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
61 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
62 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
63 (tiff_document_document_iface_init),
64 (tiff_document_thumbnails_get_thumbnail):
66 Use rotation rather than orientation. It's easier and enough
69 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
71 * shell/ev-page-cache.c: (build_height_to_page),
72 (ev_page_cache_new), (ev_page_cache_get_size),
73 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
74 (ev_page_cache_get_height_to_page):
75 * shell/ev-page-cache.h:
76 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
77 (ev_view_size_request_continuous_dual_page),
78 (ev_view_size_request_continuous),
79 (ev_view_zoom_for_size_continuous_and_dual_page),
80 (ev_view_zoom_for_size_continuous):
82 Make the page cache aware of page orientation.
84 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
86 * backend/ev-document-thumbnails.c:
87 (ev_document_thumbnails_get_thumbnail):
88 * backend/ev-document-thumbnails.h:
89 * backend/ev-document.c:
90 * backend/ev-document.h:
91 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
92 * backend/ev-ps-exporter.h:
94 * ps/ps-document.c: (ps_document_document_iface_init),
95 (ps_document_ps_export_do_page):
96 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
98 * shell/ev-page-cache.c: (ev_page_cache_get_size),
100 * shell/ev-page-cache.h:
101 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
102 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
103 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
104 * shell/ev-pixbuf-cache.h:
105 * shell/ev-print-job.c: (idle_print_handler):
106 * shell/ev-sidebar-thumbnails.c: (add_range):
107 * shell/ev-view.c: (view_update_range_and_current_page),
108 (get_page_extents), (ev_view_size_request_dual_page),
109 (ev_view_size_request_single_page), (draw_one_page),
110 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
111 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
112 (ev_view_zoom_for_size_dual_page),
113 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
114 (ev_view_select_all):
115 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
116 * tiff/tiff-document.c: (tiff_document_get_page_size),
117 (tiff_document_get_orientation), (rotate_pixbuf),
118 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
119 (tiff_document_thumbnails_get_thumbnail),
120 (tiff_document_ps_export_do_page), (tiff_document_init):
122 Really make use of the orientation bit of the render context.
123 Use the render context in a few more places in the backend API.
124 This regress orientation, but now it's done right. Will try to
127 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
129 * shell/ev-view.c: (ensure_rectangle_is_visible):
131 Patch by Nickolay V. Shmyrev to fix find flickering
133 2005-07-27 Martin Kretzschmar <martink@gnome.org>
135 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
136 duplex parameters to ::begin.
138 * tiff/tiff-document.c (tiff_document_ps_export_begin):
139 * shell/ev-print-job.c (idle_print_handler):
140 * ps/ps-document.c (ps_document_ps_export_begin):
141 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
142 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
143 implementations. Poppler backend needs poppler cvs. Rest has
146 2005-07-25 Martin Kretzschmar <martink@gnome.org>
148 * shell/ev-window.c (using_pdf_printer): new function.
149 (ev_window_print_range): print a less techy message if someone
150 tries to print to PDF.
152 2005-07-25 Martin Kretzschmar <martink@gnome.org>
154 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
155 from "unknown font" string. Bug #311431
157 2005-07-24 Martin Kretzschmar <martink@gnome.org>
159 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
161 2005-07-24 Martin Kretzschmar <martink@gnome.org>
165 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
166 name for PopplerFontTypes
167 (pdf_document_fonts_fill_model): add font type to the detail column
169 * backend/ev-document-fonts.h: added
170 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
172 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
173 font name and font details, add a little markup.
174 (ev_properties_fonts_init): use the new cell data func, specify ypad
175 property for the cell renderer.
176 (ev_properties_fonts_set_document): add the details column.
178 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
180 * configure.ac: Added "pl" to ALL_LINGUAS.
182 2005-07-24 Danilo Ĺ egan <danilo@gnome.org>
184 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
186 2005-07-23 Tommi Vainikainen <thv@iki.fi>
188 * help/ChangeLog: Started this for translations of manual.
189 * configure.ac, autogen.sh, .cvsignore: Migrated to
190 gnome-doc-utils. Patch in bug #311222.
192 2005-07-22 Martin Kretzschmar <martink@gnome.org>
194 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
195 #ifdef this away to fix an unused-function warning.
197 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
199 * configure.ac: Added 'gl' to ALL_LINGUAS.
201 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
203 * configure.ac: Added ne in ALL_LINGUAS
205 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
207 * shell/ev-view.c: (ev_view_leave_notify_event):
209 Clear status message when pointer leaves view. Fix for bug
212 2005-07-20 Ankit Patel <ankit644@yahoo.com>
214 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
216 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
218 * shell/ev-view.c: (ev_view_leave_notify_event),
219 (ev_view_class_init):
221 Set cursor to normal then leaving view.
223 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
227 Fix required djvulibre version.
229 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
231 *configure.ac: Hindi (hi) language added
233 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
235 *configure.ac: Punjabi (pa) Language added
237 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
239 * data/evince-ui.xml, shell/ev-window.c:
241 Add keypad accelerators for zooming. Fix for bug 308128.
243 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
246 * backend/Makefile.am:
247 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
249 * shell/ev-document-types.c: (ev_document_types_add_filters):
251 Allow to enable/disable the pixbuf backend.
252 Default to off for now. If we want it enabled we should
253 really put mime types in the desktop, implement properties etc.
255 * properties/evince-properties.c:
257 Initialize error to NULL.
258 Check error is not NULL before freeing.
260 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
264 Use F5 as presentation accell
266 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
268 * shell/ev-window.c: (update_chrome_visibility),
269 (ev_window_create_fullscreen_popup), (ev_window_init):
271 Do not leak the fullscreen toolbar
273 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
275 * shell/ev-window.c: (view_actions_focus_in_cb),
276 (view_actions_focus_out_cb):
278 These has a return value! Fix totally random focus
279 issues we was seeing.
281 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
283 * shell/main.c: (load_files_remote):
285 Allow open more than one file
287 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
289 * shell/main.c: (load_files_remote):
291 Fix for dbus 0.33. bug #309975
293 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
295 * properties/ev-properties-main.c: (ev_properties_get_pages):
297 Actually return NULL for types we dont support
299 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
305 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
307 * backend/ev-document-factory.c:
308 (ev_document_factory_get_document):
310 Do not try to create the object if type
313 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
315 * ps/ps-document.c: (ps_document_dispose),
316 (ps_async_renderer_render_pixbuf):
319 Do not leak the target window
321 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
323 * shell/ev-application.c: (ev_application_init):
325 Let tbe check file existence for us.
326 Add a comment about eggrecent mime filter.
328 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
330 * data/evince-ui.xml:
331 * shell/ev-application.c: (ev_application_shutdown),
332 (ev_application_init), (ev_application_get_toolbars_model),
333 (ev_application_get_recent_model),
334 (ev_application_save_toolbars_model):
335 * shell/ev-application.h:
336 * shell/ev-window.c: (ev_window_add_recent),
337 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
338 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
341 Use common toolbar and recent models for all windows.
342 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
344 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
346 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
347 successfully check for gtk_icon_view_get_visible_range.
349 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
354 Fix djvu and dvi backend build.
356 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
358 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
359 (new_separator_pixbuf):
363 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
365 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
367 HIGification of toolbar editor dialogue.
369 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
374 Ever build metadata manager since it's just
375 disabled at runtime now.
377 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
379 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
380 (ev_metadata_manager_get), (ev_metadata_manager_set):
381 * shell/ev-metadata-manager.h:
383 Add an _init functions that enabled metadata management
386 * shell/ev-window.c: (page_changed_cb),
387 (setup_document_from_metadata), (ev_window_setup_document),
388 (setup_view_from_metadata), (ev_window_open_uri),
389 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
390 (ev_window_run_presentation), (ev_window_stop_presentation),
391 (save_sizing_mode), (ev_window_zoom_changed_cb),
392 (ev_window_continuous_changed_cb),
393 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
394 (window_configure_event_cb):
396 Remove all ugly metadata define since we deal with it
399 * shell/main.c: (load_files_remote), (main):
401 Add support for dbus cvs head. Hopefully didnt break one
402 of the other versions now!
404 If we dont get a response from the dbus server just
405 give up with it and not enable metadata.
407 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
410 * backend/Makefile.am:
412 * cut-n-paste/recent-files/Makefile.am:
413 * cut-n-paste/toolbar-editor/Makefile.am:
414 * cut-n-paste/zoom-control/Makefile.am:
417 * pixbuf/Makefile.am:
418 * properties/Makefile.am:
421 * thumbnailer/Makefile.am:
424 Make frontends depend on just libev.
425 Rework and group CFLAGS/LIBS definitions.
428 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
432 do not unnecessarily save zoom
435 * lib/ev-file-helpers.c: (ev_dot_dir):
441 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
445 Remove unnecessary dependencies
447 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
449 * properties/Makefile.am:
450 * thumbnailer/Makefile.am:
453 Some more cleanups. Was really necessary
454 but I probably introduced bugs, feel free
457 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
459 * backend/Makefile.am:
461 * cut-n-paste/recent-files/Makefile.am:
462 * cut-n-paste/toolbar-editor/Makefile.am:
463 * cut-n-paste/zoom-control/Makefile.am:
466 * pixbuf/Makefile.am:
467 * properties/Makefile.am:
470 * thumbnailer/Makefile.am:
473 Use gnome-common macros when possible.
474 Cleanup dependencies.
475 Actually disable deprecated where possible.
477 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
480 * backend/Makefile.am:
481 * properties/Makefile.am:
483 * thumbnailer/Makefile.am:
485 This should solve the circular dep without
488 * shell/ev-window.c: (setup_view_from_metadata):
490 Never restore window size/position when the
491 window is already visible.
493 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
495 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
497 Return a boolean from timeout func. Fix ported from gedit.
499 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
501 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
503 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
505 * shell/ev-document-types.c: set "All Documents" as default filter in
508 2005-07-06 Martin Kretzschmar <martink@gnome.org>
510 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
511 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
512 (ev_metadata_manager_set_boolean): fix value/val thinko.
514 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
516 * shell/ev-window.c: (setup_view_from_metadata),
517 (window_state_event_cb), (window_configure_event_cb),
520 Remember window position and maximized state
522 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
526 Fix DBUS configure checks.
528 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
529 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
530 (ev_metadata_manager_set_boolean):
534 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
535 (ev_window_stop_fullscreen), (ev_window_run_presentation),
536 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
537 (ev_window_continuous_changed_cb),
538 (ev_window_dual_mode_changed_cb), (ev_window_new):
540 Fix the build without DBUS.
542 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
544 * shell/ev-metadata-manager.c: (parse_value), (save_values),
545 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
546 (ev_metadata_manager_set_string),
547 (ev_metadata_manager_set_boolean):
548 * shell/ev-metadata-manager.h:
550 Add support for some more types
552 * shell/ev-view.c: (scroll_to_current_page),
553 (ev_view_get_continuous), (ev_view_set_continuous),
554 (ev_view_get_dual_page):
556 * shell/ev-window.c: (page_changed_cb),
557 (setup_document_from_metadata), (ev_window_setup_document),
558 (setup_view_from_metadata), (ev_window_open_uri),
559 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
560 (ev_window_run_presentation), (ev_window_stop_presentation),
561 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
562 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
563 (ev_window_update_dual_page_action),
564 (ev_window_continuous_changed_cb),
565 (ev_window_dual_mode_changed_cb), (ev_window_init):
567 Remember a bunch of view/document properties. Prolly some
568 are still missing but it's getting interesting.
570 2005-07-05 Martin Kretzschmar <martink@gnome.org>
572 * configure.ac: check if dbus-binding-tool is installed. Not the
573 case on current Ubuntu breezy, it seems.
575 2005-07-05 Luca Ferretti <elle.uca@libero.it>
577 * data/evince.desktop.in.in:
579 Allow open uri lists and add TryExec field.
581 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
585 Enable dbus when available, do not require a configure
588 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
592 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
595 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
596 Marco Pesenti Gritti <mpg@redhat.com>
598 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
600 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
601 functions to the format required by dbus
603 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
604 errors. Use the RPC parameters in the expected way
606 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
609 * properties/Makefile.am:
610 * properties/ev-properties-main.c: (ev_properties_get_pages):
612 Support all mime types
615 * thumbnailer/Makefile.am:
616 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
617 (evince_thumbnail_pngenc_get):
619 Use the document factory
621 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
623 * backend/Makefile.am:
624 * backend/ev-document-factory.c:
625 (mime_type_supported_by_gdk_pixbuf),
626 (ev_document_type_get_from_mime),
627 (ev_document_factory_get_document),
628 (ev_document_factory_get_backend),
629 (ev_document_factory_get_mime_types),
630 (ev_document_factory_get_all_mime_types):
631 * backend/ev-document-factory.h:
633 * shell/ev-document-types.c: (get_document_from_uri),
634 (ev_document_types_get_document),
635 (file_filter_add_mime_list_and_free),
636 (ev_document_types_add_filters):
637 * shell/ev-document-types.h:
638 * shell/ev-job-xfer.c: (ev_job_xfer_run):
639 * shell/ev-properties-dialog.c:
640 (ev_properties_dialog_set_document):
641 * shell/ev-window.c: (ev_window_cmd_file_open),
642 (ev_window_cmd_save_as):
643 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
645 Rework document types managing to avoid code duplication
646 and actually abstract from backend implementations.
647 Also provide a minimal factory api that can be used by
648 thumbnailer/properties.
650 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
652 * properties/ev-properties-view.c: (ev_properties_view_set_info):
654 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
657 2005-07-04 Matthew S. Wilson <msw@rpath.com>
659 * shell/ev-properties-dialog.c
660 (ev_properties_dialog_set_document): only call
661 ev_properties_fonts_set_document() if the document implements the
664 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
667 * properties/Makefile.am:
668 * properties/ev-properties-view.c:
669 (ev_properties_view_register_type):
670 * properties/ev-properties-view.h:
671 * properties/ev-properties-main.h:
673 Implement nautilus plugin for properties.
674 Works only for pdf atm, I need to rework the
675 document types stuff to get this to work
678 2005-07-04 Martin Kretzschmar <martink@gnome.org>
680 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
681 (ev_properties_fonts_set_document): use
682 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
684 2005-07-04 Matthew S. Wilson <msw@rpath.com>
686 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
688 (PlaceImage, tiff2ps_process_page): use
689 g_ascii_dtostr to convert floats to strings in a locale-safe way.
692 2005-07-04 Martin Kretzschmar <martink@gnome.org>
694 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
695 (main): to call gnome_authentication_manager_init. Should fix
698 * configure.ac: that requires libgnomeui 2.6.0.
700 2005-07-04 Matthew S. Wilson <msw@rpath.com>
702 * tiff/tiff-document.c (tiff_document_ps_export_begin)
703 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
704 use the new tiff2ps interfaces
706 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
707 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
709 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
710 structure instead of global variables. Remove use of static
711 variables in functions.
713 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
715 * shell/ev-page-action.c: unref the completion after setting it to the
718 2005-07-04 Matthew S. Wilson <msw@rpath.com>
720 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
723 2005-07-04 Matthew S. Wilson <msw@rpath.com>
725 * shell/ev-window.c (update_action_sensitivity): disable
726 File->Print if the document does not implement the ps exporter
729 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
733 * data/evince-properties.glade:
734 * properties/.cvsignore:
735 * properties/Makefile.am:
736 * properties/ev-properties-view.c: (ev_properties_view_dispose),
737 (ev_properties_view_class_init), (ev_properties_view_format_date),
738 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
739 (ev_properties_view_init), (ev_properties_view_new):
740 * properties/ev-properties-view.h:
742 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
743 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
744 (ev_properties_dialog_new):
745 * shell/ev-properties-dialog.h:
746 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
747 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
748 (update_progress_label), (job_fonts_finished_cb),
749 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
750 * shell/ev-properties-fonts.h:
751 * shell/ev-properties.c:
752 * shell/ev-properties.h:
753 * shell/ev-window.c: (ev_window_setup_document),
754 (ev_window_cmd_file_properties):
756 Split the properties pages in two different objects, depend
757 only on the backend where possible, use widgets instead
758 of gobject for the glade part, reimplement the dialog
760 I need this to implement nautilus properties page.
762 2005-07-03 Matthew S. Wilson <msw@rpath.com>
764 * tiff/tiff-document.c (tiff_document_ps_export_begin)
765 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
766 (tiff_document_document_ps_exporter_iface_init): implement the ps
767 exporter interface for tiff documents
769 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
770 libtiff to implement TIFF postscript export
772 * tiff/tiff2ps.h: added a header file for external tiff2ps
775 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
778 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
780 * shell/ev-view.c: (scroll_to_current_page),
781 (ev_view_set_fullscreen), (ev_view_set_presentation):
783 Scroll to current page when exit from presentation
785 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
787 * shell/ev-window.c: (update_document_mode),
788 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
789 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
790 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
792 Exit from fullscreen mode when switch to presentation. Fix for
795 2005-07-02 Matthew S. Wilson <msw@rpath.com>
797 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
798 return NULL if the document does not implement the selection
801 2005-07-02 Matthew S. Wilson <msw@rpath.com>
803 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
804 reported height by using the resolution aspect ratio
805 (tiff_document_render_pixbuf): scale the pixbuf using the
806 resolution aspect ratio
808 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
812 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
813 <kiltedaco@gmail.com>
815 * djvu/djvu-document.c: (djvu_document_get_orientation),
816 (djvu_document_set_orientation), (djvu_document_get_page_size),
817 (rotate_pixbuf), (djvu_document_render_pixbuf),
818 (djvu_document_document_iface_init):
819 * dvi/dvi-document.c: (dvi_document_get_orientation),
820 (dvi_document_set_orientation), (dvi_document_get_page_size),
821 (rotate_pixbuf), (dvi_document_render_pixbuf),
822 (dvi_document_document_iface_init):
824 Dvi and djvu backends are ported to new API
826 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
828 * backend/ev-selection.c: (ev_selection_get_selection_region),
829 (ev_selection_get_selection_map):
830 * backend/ev-selection.h:
832 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
834 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
835 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
836 (ev_pixbuf_cache_get_text_mapping):
837 * shell/ev-pixbuf-cache.h:
838 * shell/ev-view.c: (location_in_text),
839 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
840 support to EvView. Now we can see where we can select! Sweet!
842 2005-06-30 Kristian Høgsberg <krh@redhat.com>
844 * shell/ev-view.c (ev_view_button_press_event): Fix
845 event->y + view->scroll_x typo.
847 2005-06-30 Kristian Høgsberg <krh@redhat.com>
849 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
850 sub-GdkPixbuf instead of passing dest_x and dest_y.
852 * shell/ev-view.c: (view_point_to_doc_point),
853 (view_rect_to_doc_rect), (ev_view_button_press_event),
854 (ev_view_motion_notify_event), (compute_new_selection_rect),
855 (gdk_rectangle_point_in), (compute_new_selection_text),
856 (compute_selections): Update selection code to keep the selection
857 around as two points and not as a normalized rectangle, and fix
858 page level selection in two-column mode.
860 2005-06-30 Alex Duggan <aldug@astrolinux.com>
862 * shell/ev-window.c: (window_configure_event_cb):
866 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
872 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
875 * shell/ev-metadata-manager.c: (item_free),
876 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
877 (parse_value), (parseItem), (load_values),
878 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
879 (save_values), (save_item), (get_oldest), (resize_items),
880 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
881 * shell/ev-metadata-manager.h:
883 Metadata manager from gedit but modified to use GValue, so that
884 we dont need to keep converting from strings.
888 ENABLE_METADATA conditional, on when dbus is on
890 * shell/ev-application.c: (ev_application_open_uri):
892 Show the window after load so that we can initialize
893 window size before it's showed.
895 * shell/ev-window.c: (ev_window_setup_from_metadata),
896 (ev_window_open_uri), (window_configure_event_cb),
899 Save and load metadata information about window size.
900 Not yet keeping states in account.
902 * shell/main.c: (main):
904 Shutdown metadata manager.
906 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
908 * shell/ev-application-service.xml:
911 * shell/ev-application.c:
912 * shell/ev-application.h:
917 Add an optional dbus interface (--enable-dbus).
918 Rework application code, mainly to be easier to
920 Do not open multiple windows with the same document,
923 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
925 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
926 pixbuf iff it exists.
928 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
931 * backend/ev-render-context.[ch]:
932 * backend/ev-selection.[ch]:
934 Massive changes. We now support text selection of pdfs, and not
935 just rectangular selection. This is pretty broken still, but I
936 want to get something into CVS.
938 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
942 Fix for Bug 309080: crash on window close.
944 * shell/ev-page-action.c: (page_changed_cb):
946 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
947 jensgr@gmx.net (Jens Granseuer).
949 2005-06-25 Marcel Telka <marcel@telka.sk>
951 * configure.in (ALL_LINGUAS): Added sk.
953 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
955 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
958 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
965 * cut-n-paste/recent-files/Makefile.am:
969 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
971 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
972 (pixbuf_document_set_orientation), (rotate_pixbuf),
973 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
974 (pixbuf_document_document_iface_init), (pixbuf_document_init):
976 Implement rotation and cleanup the code a bit.
978 * tiff/tiff-document.c: (tiff_document_get_page_size),
979 (tiff_document_get_orientation), (tiff_document_set_orientation),
980 (rotate_pixbuf), (tiff_document_render_pixbuf),
981 (tiff_document_document_iface_init), (tiff_document_init):
983 Implement rotation. Was the quicker solution for the release
984 but we really need to share this code in the shell.
986 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
990 Enable rotation, require poppler cvs. Fix a leak.
992 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
994 * shell/ev-window.c: (update_action_sensitivity):
996 Make properties unsensitive if document backend doesn't provide
999 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1001 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1002 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1003 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1004 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1005 (bitmap_flip_rotate_counter_clockwise):
1006 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1007 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1009 * dvi/mdvi-lib/common.h:
1010 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1011 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1012 (opendvi), (mdvi_reload), (mdvi_init_context),
1013 (mdvi_destroy_context), (mdvi_dopage), (special):
1014 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1015 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1016 (file_hash_free), (register_encoding), (parse_spec),
1017 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1018 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1019 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1020 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1021 (mdvi_register_font_type), (mdvi_unregister_font_type),
1022 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1023 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1024 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1025 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1026 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1027 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1028 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1029 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1030 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1031 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1032 (mdvi_unregister_special), (mdvi_flush_specials):
1033 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1035 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1036 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1037 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1038 (free_font_metrics), (flush_font_metrics):
1039 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1041 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1042 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1043 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1044 (dstring_insert), (dstring_new), (dstring_reset):
1045 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1047 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1048 avoid conflict with libtool on FC4
1050 * shell/ev-window.c: (ev_window_cmd_help_about):
1052 Update copyright year. Fix for bug 308828.
1054 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1056 * shell/ev-view.c: (add_scroll_binding_keypad),
1057 (ev_view_binding_activated), (ev_view_class_init),
1058 (on_adjustment_value_changed):
1060 Bug 170874: Arrow keys switch pages in presentation mode
1062 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1064 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1066 Fix for Bug 308265: Sidebar dissappears coming out of
1069 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1071 * shell/ev-application.c: (ev_application_open):
1072 * shell/ev-document-types.c: (ev_document_types_add_filters),
1073 (ev_document_types_add_filters_for_type):
1074 * shell/ev-document-types.h:
1075 * shell/ev-window.c: (ev_window_cmd_save_as):
1077 Suggest basename as template when saving, provide filters
1078 for save dialog. It's bug 308402
1080 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1082 * pdf/ev-poppler.cc:
1083 * shell/ev-sidebar-links.c: (job_finished_callback):
1084 * shell/ev-view.c: (update_find_status_message):
1088 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1090 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1091 (egg_recent_view_uimanager_set_list):
1093 Fix buglet in !show_numbers case.
1095 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1097 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1098 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1100 Use pango ellipsisation.
1102 * pdf/ev-poppler.cc:
1104 Fix refcount leak, from nsh.
1106 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1108 * cut-n-paste/recent-files/Makefile.am:
1109 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1110 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1112 Removed EggRecentViewGtk
1114 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1115 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1116 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1117 (ev_window_setup_recent):
1119 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1122 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1124 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1125 (egg_recent_view_gtk_finalize):
1129 * cut-n-paste/toolbar-editor/Makefile.am:
1131 Fix location of cursor icon.
1133 * pdf/ev-poppler.cc:
1134 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1135 (display_completion_text), (match_completion):
1136 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1137 (selection_changed_callback), (create_loading_model),
1138 (print_section_cb), (links_page_num_func),
1139 (update_page_callback_foreach):
1140 * shell/ev-window.c: (ev_window_dispose):
1142 Small memory fixes. Links model now store objects instead
1143 of pointers to improve memory management.
1145 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1147 * shell/ev-window.c: (zoom_control_changed_cb):
1149 Fix update of zoom control (bug 308268).
1151 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1153 * shell/ev-properties.c (set_property): escape the text correctly.
1154 Handles non-UTF-8 properties and escaped properties. Also, sets
1155 the text to "<i>None</i>" if the property isn't set.
1157 * data/evince-properties.glade: Change the label to be ellipsized,
1158 and give it a minimum size.
1160 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1162 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1163 * shell/ev-sidebar-links.c: (create_loading_model):
1164 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1165 * shell/ev-view.c: (ev_view_set_document):
1166 * shell/ev-window.c: (ev_window_dispose):
1168 Various small fixes, mostly memory leaks. Thanks to valgrind.
1170 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1172 * ps/ps-document.c: remove the locale.h include again ;-). And
1173 kill the (bogus) setlocale/savelocale business.
1175 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1179 Include locale.h to fix build
1181 * shell/ev-sidebar.c:
1183 Remove unnecessary includes
1185 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1187 * dvi/dvi-document.c: (dvi_document_load):
1188 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1191 Check for incorrect dvi files. Fix parsing dvi on AMD64
1192 platform. Thanks to tester@tester.ca (Olivier Crete).
1194 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1196 * shell/ev-page-action.c: (match_selected_cb),
1197 (display_completion_text), (match_completion), (update_model):
1198 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1199 (expand_open_links):
1200 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1201 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1202 (ev_sidebar_set_document):
1203 * shell/ev-window.c: (ev_window_xfer_job_cb),
1204 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1206 Fixed lot's of memory leaks, for example, memory leak on reload,
1207 described in bug 307793.
1209 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1211 * pdf/ev-poppler.cc:
1212 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1213 (update_visible_range), (adjustment_changed_cb),
1214 (ev_sidebar_thumbnails_fill_model),
1215 (ev_sidebar_thumbnails_refresh),
1216 (ev_sidebar_tree_selection_changed),
1217 (ev_sidebar_icon_selection_changed),
1218 (ev_sidebar_thumbnails_use_icon_view),
1219 (ev_sidebar_thumbnails_set_document):
1220 * shell/ev-sidebar-thumbnails.h:
1221 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1222 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1224 Refresh thumbnails when changing orientation. Not fully
1225 working yet becuase of a sidebar bug.
1227 Set page orientation to poppler page everywhere. This sucks
1228 really need to fix poppler.
1230 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1232 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1233 (egg_recent_view_gtk_new_menu_item),
1234 (egg_recent_view_gtk_set_property),
1235 (egg_recent_view_gtk_get_property),
1236 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1237 (egg_recent_view_gtk_set_tooltip_func),
1238 (egg_recent_view_gtk_set_label_width),
1239 (egg_recent_view_gtk_get_label_width):
1240 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1242 Sync with libegg (ellipsize labels)
1244 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1246 * data/evince-ui.xml:
1247 * shell/ev-window.c: (ev_window_cmd_go_forward),
1248 (ev_window_cmd_go_backward):
1250 Shift + PageUp moves 10 Pages. Fix for 306125
1252 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1254 * pdf/ev-poppler.cc:
1256 Add a flag to check if orientation has been overriden
1258 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1260 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1263 * ps/ps.h: add creator field to document.
1265 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1268 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1270 * data/evince-properties.glade:
1271 * shell/ev-properties.c: (ev_properties_set_document):
1273 s/PDF Version/Format
1275 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1277 * shell/ev-properties.c: (ev_properties_set_document):
1279 Remove unnecessary translations
1281 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1283 * cut-n-paste/toolbar-editor/Makefile.am:
1285 Correct library name
1287 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1290 * cut-n-paste/recent-files/egg-recent-model.c:
1291 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1292 (egg_recent_model_unlock_file):
1293 * cut-n-paste/recent-files/egg-recent-util.c:
1294 (egg_recent_util_get_unique_id):
1295 * cut-n-paste/recent-files/update-from-egg.sh:
1296 * cut-n-paste/toolbar-editor/Makefile.am:
1297 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1298 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1299 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1300 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1301 (egg_toolbars_model_get_type):
1302 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1304 Better makefile for toolbar editor and update everything
1307 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1309 * shell/ev-window.c: (update_document_mode):
1311 Prefer presentation mode when the document
1314 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1316 * data/evince-ui.xml:
1317 * shell/ev-window.c:
1319 Add control-equal for zooming
1321 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1323 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1325 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1327 * backend/ev-document.c: (ev_document_get_orientation):
1328 * backend/ev-document.h:
1329 * pdf/ev-poppler.cc:
1330 * ps/ps-document.c: (ps_document_get_orientation),
1331 (ps_document_set_orientation), (ps_document_document_iface_init):
1333 Add a get_orientation api. Improve set_orientation.
1335 * data/evince-ui.xml:
1336 * shell/ev-view.c: (ev_view_set_orientation),
1337 (ev_view_rotate_right), (ev_view_rotate_left):
1339 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1340 (ev_window_cmd_edit_rotate_right):
1342 Better ui for changing document orientation
1344 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1346 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1347 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1348 * shell/ev-sidebar-links.h:
1349 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1350 (ev_sidebar_page_iface_init):
1351 * shell/ev-sidebar-page.h:
1352 * shell/ev-sidebar-thumbnails.c:
1353 (ev_sidebar_thumbnails_get_property),
1354 (ev_sidebar_thumbnails_class_init),
1355 (ev_sidebar_thumbnails_set_document):
1356 * shell/ev-sidebar-thumbnails.h:
1357 * shell/ev-view.c: (ev_view_motion_notify_event):
1358 * shell/ev-window.c: (update_chrome_visibility),
1359 (ev_window_cmd_focus_page_selector),
1360 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1361 (sidebar_page_main_widget_update_cb), (ev_window_init):
1363 Autoraise toolbar on GoToPage binding and fix bindings in
1364 EvSidebarThumbnails page.
1366 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1368 * shell/ev-properties.c: (update_progress_label):
1370 Hide the progress label when finished; bug #307697.
1372 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1374 * pdf/ev-poppler.cc:
1376 Enable is_open for links, you will need poppler cvs
1378 * shell/ev-properties.c: (job_fonts_finished_cb):
1380 Get a lock on the document when filling the tree view
1382 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1384 * backend/ev-document-links.h:
1385 * pdf/ev-poppler.cc:
1386 * shell/ev-sidebar-links.c: (create_loading_model),
1387 (expand_open_links), (job_finished_callback):
1389 Expand links when specified by the document.
1390 Depend on a poppler api (defined out for now)
1392 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1394 * shell/ev-properties.c: (ev_properties_dispose),
1395 (ev_properties_class_init), (dialog_destroy_cb),
1396 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1397 (ev_properties_set_document), (ev_properties_new),
1398 (ev_properties_show):
1399 * shell/ev-properties.h:
1401 Make it an object, cleanup the code, api to show it as transient
1402 and to set the document.
1404 * shell/ev-window.c: (ev_window_setup_document),
1405 (ev_window_cmd_file_properties):
1407 Adapt to EvProperties changes, do not show multiple
1408 times, update it when document changes.
1410 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1413 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1414 (ps_document_set_orientation), (ps_document_document_iface_init):
1417 Implement orientation here too
1419 * shell/ev-properties.c: (ev_properties_new):
1420 * data/evince-properties.glade:
1422 Hide the fonts page for backends that doesnt
1425 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1427 * backend/ev-document.c: (ev_document_set_orientation):
1428 * backend/ev-document.h:
1429 * pdf/ev-poppler.cc:
1431 Add orientation api. Currently poppler api is not optimal,
1432 we need to set orientation every time we _get a page.
1433 I will try to fix that at some point.
1435 * data/evince-ui.xml:
1436 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1437 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1439 Add orientation menu items
1441 * shell/ev-page-cache.c: (ev_page_cache_clear):
1442 * shell/ev-page-cache.h:
1444 Add api to clear the cache
1446 * shell/ev-view.c: (setup_caches), (clear_caches),
1447 (ev_view_set_document), (ev_view_zoom_out),
1448 (ev_view_set_orientation):
1451 Implement orientation changing
1453 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1455 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1456 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1457 * backend/ev-document-fonts.h:
1459 Separate scan and fill so that we can incrementally fill from
1460 the main thread. Add a progress api.
1462 * data/evince-properties.glade:
1463 * pdf/ev-poppler.cc:
1464 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1466 * shell/ev-properties.c: (update_progress_label),
1467 (job_fonts_finished_cb), (setup_fonts_view):
1469 Incrementally feel the list and show the progress
1470 percentage in a label like acrobat does.
1472 You are going to need poppler cvs
1474 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1476 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1477 * backend/ev-document-fonts.h:
1478 * pdf/ev-poppler.cc:
1480 Make fonts model fill incrementally.
1482 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1483 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1484 (ev_job_queue_remove_job):
1485 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1486 (ev_job_fonts_new), (ev_job_fonts_run):
1489 New job for fonts scanning
1491 * shell/ev-properties.c: (job_fonts_finished_cb),
1492 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1493 * shell/ev-properties.h:
1494 * shell/ev-window.c: (ev_window_cmd_file_properties):
1496 Incrementally feel the treeview using the new job. Show Loading...
1497 message until scanning is completed.
1499 Hopefully I didnt break the build without the poppler patch.
1501 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1503 * shell/ev-application.c: (ev_application_open):
1504 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1505 (ev_document_type_get_type), (ev_document_type_lookup):
1506 * shell/ev-document-types.h:
1507 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1508 * shell/ev-job-xfer.h:
1509 * shell/ev-window.c: (ev_window_clear_local_uri),
1510 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1511 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1512 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1514 Transfer remote documents to tmp directory to display them later.
1516 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1518 * backend/ev-document-info.h:
1519 * shell/ev-properties.c: (ev_properties_new):
1521 s/GTime*/GTime. Not sure why we was using a pointer
1524 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1526 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1527 situations. That situation is that you're using GTK+-HEAD with
1528 the patch at #306726 is applied, and you have a document with <
1529 1500 pages in it. It's not quite as uniformly nice as the
1530 TreeView, but should be better in the long run.
1532 I'm pretty sure I guarded against breaking compilation with
1533 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1536 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1537 widget yet, so I commented that code out
1538 enable_view_actions_for_widget() for now. Need to figure this
1541 * shell/ev-page-action.c (match_selected_cb): emit the right
1542 signals. Our cool C-l completion now works.
1544 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1546 * backend/Makefile.am:
1547 * backend/ev-document-fonts.c:
1548 * backend/ev-document-links.c:
1549 * backend/ev-document.c: (ev_document_load):
1550 * backend/ev-document.h:
1551 * backend/ev-job-queue.c:
1552 * backend/ev-job-queue.h:
1553 * backend/ev-jobs.c:
1554 * backend/ev-jobs.h:
1555 * backend/ev-page-cache.c:
1556 * backend/ev-page-cache.h:
1558 EvPageCache and EvJobs are moved to shell.
1560 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1562 * lib/ev-file-helpers.h:
1564 New helper to work with temporary files
1566 * shell/Makefile.am:
1567 * shell/ev-application.c: (ev_application_open):
1568 * shell/ev-application.h:
1569 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1570 (remove_job_from_async_queue), (add_job_to_async_queue),
1571 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1572 (handle_job), (search_for_jobs_unlocked),
1573 (no_jobs_available_unlocked), (ev_render_thread),
1574 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1575 (ev_job_queue_add_job), (move_job_async), (move_job),
1576 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1577 * shell/ev-job-queue.h:
1578 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1579 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1580 * shell/ev-job-xfer.h:
1581 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1582 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1583 (ev_job_links_class_init), (ev_job_render_init),
1584 (ev_job_render_dispose), (ev_job_render_class_init),
1585 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1586 (ev_job_thumbnail_class_init), (ev_job_load_init),
1587 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1588 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1589 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1590 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1592 * shell/ev-page-action.c: (ev_page_action_set_document):
1593 * shell/ev-page-cache.c: (ev_page_cache_init),
1594 (ev_page_cache_class_init), (ev_page_cache_finalize),
1595 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1596 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1597 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1598 (ev_page_cache_get_title), (ev_page_cache_get_size),
1599 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1600 (ev_page_cache_get_height_to_page),
1601 (ev_page_cache_get_max_label_chars),
1602 (ev_page_cache_get_page_label),
1603 (ev_page_cache_has_nonnumeric_page_labels),
1604 (ev_page_cache_get_info), (ev_page_cache_next_page),
1605 (ev_page_cache_prev_page), (ev_page_cache_get):
1606 * shell/ev-page-cache.h:
1607 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1608 (ev_pixbuf_cache_clear_job_sizes),
1609 (ev_pixbuf_cache_add_jobs_if_needed),
1610 (ev_pixbuf_cache_set_page_range):
1611 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1612 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1613 * shell/ev-sidebar-thumbnails.c:
1614 (ev_sidebar_tree_selection_changed),
1615 (ev_sidebar_thumbnails_set_document):
1616 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1617 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1618 (ev_statusbar_get_context_id), (ev_statusbar_push),
1619 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1620 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1621 (ev_statusbar_set_progress):
1622 * shell/ev-statusbar.h:
1623 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1624 (ev_view_find_previous):
1625 * shell/ev-window.c: (ev_window_is_empty),
1626 (ev_window_setup_document), (password_dialog_response),
1627 (ev_window_clear_jobs), (ev_window_load_job_cb),
1628 (ev_window_xfer_job_cb), (ev_window_open_uri),
1629 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1630 (ev_window_print), (ev_window_print_range),
1631 (ev_window_state_event), (ev_window_cmd_view_reload),
1632 (menu_item_select_cb), (menu_item_deselect_cb),
1633 (view_status_changed_cb), (ev_window_dispose),
1634 (drag_data_received_cb), (ev_window_init):
1635 * shell/ev-window.h:
1636 * shell/main.c: (load_files):
1638 New statusbar to show progress on idle. Two new jobs -
1639 xfer job and load job to load document in background. And update
1640 of page_cache clients to new location of code.
1642 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1644 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1645 selection in open dialog. It also remembers the last visited directory
1646 in the current session.
1648 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1650 * shell/ev-properties.c: (ev_properties_new):
1651 * shell/ev-properties.h:
1652 * shell/ev-window.c: (ev_window_cmd_file_properties):
1654 Get document info from page cache instead of document itself.
1655 This should fix crash related to race conditions described in
1658 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1660 * ps/ps-document.c: (ps_document_init),
1661 (send_ps), (get_page_box), (output), (catchPipe), (input),
1662 (stop_interpreter), (file_length), (file_readable),
1663 (check_filecompressedb), (ps_document_enable_interpreter),
1664 (document_load), (ps_async_renderer_render_pixbuf):
1667 Big cleanup of the ps code
1669 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1671 * backend/Makefile.am:
1672 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1673 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1674 * backend/ev-async-renderer.h:
1676 Add an async renderer interface (method + callback) which
1677 is useful for backends like ps.
1679 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1680 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1681 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1682 (ev_job_queue_add_job), (move_job_async), (move_job),
1683 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1685 Add queues for async renderer, these are executed on the
1688 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1689 (ev_job_render_run):
1690 * backend/ev-jobs.h:
1692 If the backend support async renderer interface use it.
1694 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1695 (setup_pixmap), (ps_document_get_type),
1696 (ps_async_renderer_render_pixbuf),
1697 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1699 Implement async renderer interface.
1701 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1703 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1705 Cleanup links job on exit.
1707 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1709 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1710 (drag_data_get_cb), (drag_data_received_cb):
1711 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1712 (drag_data_get_cb), (parse_item_list),
1713 (egg_toolbar_editor_load_actions):
1714 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1715 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1716 (parse_item_list), (parse_toolbars):
1717 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1718 (dvi_pixbuf_put_pixel):
1720 Fix gcc 4.0 warnings
1722 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1724 * ps/ps-document.c: (start_interpreter):
1726 Fix warning when loading ps
1728 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1730 * ps/ps-document.c: (output):
1732 Fix crash when priting gs error messages.
1734 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1736 * backend/ev-page-cache.c: (_ev_page_cache_new):
1737 * backend/ev-page-cache.h:
1739 Use a const to return title so that we dont double
1740 free it. Small cleanup and fix a leak.
1742 * shell/ev-window.c: (update_window_title):
1744 strdup value from get_title.
1746 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1748 * shell/ev-sidebar-links.c: (job_finished_callback),
1749 (ev_sidebar_links_set_document):
1751 Cleanup the old job when changing document
1753 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1755 * shell/ev-stock-icons.c:
1756 * shell/ev-stock-icons.h:
1757 * shell/ev-window.c:
1759 Add stock icons for actions that can appear in toolbar. Fix for
1762 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1764 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1765 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1766 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1767 * backend/ev-page-cache.h:
1768 * shell/ev-view.c: (scroll_to_current_page),
1769 (view_update_range_and_current_page), (get_page_y_offset),
1770 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1771 (ev_view_size_request_continuous),
1772 (ev_view_zoom_for_size_continuous_and_dual_page),
1773 (ev_view_zoom_for_size_continuous):
1775 More compact EvView layout in document with pages of different size.
1777 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1779 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1782 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1784 * shell/ev-view.c: (view_set_adjustment_values):
1785 * shell/ev-window.c: (ev_window_cmd_file_properties):
1787 A bit different fix for rounding problem but it has no
1788 problems on startup. Make properties window transient to parent.
1790 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1792 * pdf/ev-poppler.cc:
1794 More commenting of font stuff.
1796 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1798 * pdf/ev-poppler.cc:
1800 Comment out some more fonts stuff. Should really
1801 work without the poppler patch now.
1803 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1805 * pdf/ev-poppler.cc:
1809 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1811 * data/evince-properties.glade:
1812 * pdf/ev-poppler.cc:
1813 * shell/ev-properties.c: (setup_fonts_view):
1815 Set the column title. Show the dialog only
1816 once everything is setup.
1817 Getting font info can be very slow... will
1818 prolly need to make this threaded too.
1820 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1822 * backend/Makefile.am:
1823 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1824 (ev_document_fonts_get_fonts_model):
1825 * backend/ev-document-fonts.h:
1826 * data/evince-properties.glade:
1827 * pdf/ev-poppler.cc:
1828 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1829 * shell/ev-properties.h:
1830 * shell/ev-window.c: (ev_window_cmd_file_properties):
1832 Implement fonts list. Defined out for now, since it depends
1833 on a not yet committed poppler patch.
1835 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1837 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1840 * shell/ev-window.c: Make sure we add the timeout when we get a
1843 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1844 adjustment->value before calculating the zoom factor to average
1845 out all of our rounding errors. The page no longer 'drifts' when
1848 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1850 * data/evince-properties.glade:
1851 * shell/ev-properties.c: (ev_properties_format_date),
1854 Labels don't expand when the dialogue is resized.
1855 strftime result needs to be converted to UTF-8. Thanks
1856 to Christian Persch <chpe@gnome.org>.
1858 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1860 * data/evince-properties.glade:
1864 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1866 * backend/ev-document-info.h:
1867 * backend/ev-document.c: (ev_document_info_free):
1868 * data/evince-properties.glade:
1869 * pdf/ev-poppler.cc:
1870 * ps/ps-document.c: (ps_document_get_info):
1871 * shell/ev-properties.c: (ev_properties_format_date),
1872 (set_property), (ev_properties_new):
1873 * shell/ev-properties.h:
1874 * shell/ev-window.c: (ev_window_cmd_file_properties):
1876 Rework properties code to take only EvPropertyInfo
1877 in the constructor so that it can be useful for
1878 nautilus plugin too.
1880 Deal with backends that doesnt support some properties.
1881 Make set property code generic.
1883 2005-06-04 Christian Persch <chpe@gnome.org>
1885 * data/evince-properties.glade:
1887 fix spacings, make resizeable, and make data labels
1888 selectable + ellipsised
1890 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1892 * backend/ev-document-info.h:
1894 * data/evince-ui.xml:
1895 * pdf/ev-poppler.cc:
1896 * shell/Makefile.am:
1897 * shell/ev-window.c: (update_action_sensitivity),
1898 (ev_window_cmd_file_properties):
1900 Initial go at file properties. Patch by
1901 Emil Soleyman-Zomalan <emil@soleyman.com>.
1902 Needs love see #169583
1904 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1906 * ps/ps-document.c: (output):
1907 * ps/ps.c: (psscan):
1909 Try to render even if psscan fails.
1911 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1913 * ps/ps.c: (psscan), (pscopydoc):
1915 Port buffered reading code from gv
1917 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1919 * ps/ps-document.c: (interpreter_message), (output):
1921 Do not fail on interpreter messages
1923 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1925 * backend/ev-document-misc.c:
1926 (ev_document_misc_get_thumbnail_frame):
1928 Pages can be 0 x 0, dont assert on this case
1930 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1932 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1933 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1935 Correctly manage our reference on document. Finally the reload
1936 huge leak is gone...
1938 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1940 * ps/ps-document.c: (ps_document_dispose):
1942 Forgot to chain it to the parent. Thanks chpe.
1944 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1946 * ps/ps-document.c: (ps_document_dispose),
1947 (ps_document_class_init), (stop_interpreter), (document_load):
1949 Cleanup dispose a bit. Dont leak the whole pixmap.
1951 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1953 * pdf/ev-poppler.cc:
1955 Release the poppler document on dispose
1957 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1959 * shell/ev-view.c: (ev_view_set_document):
1961 Release ref on the pixbuf cache when changing
1964 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1966 * ps/ps-document.c: (ps_document_get_info):
1970 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1972 * backend/ev-page-cache.c: (ev_page_cache_init),
1973 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1974 * backend/ev-page-cache.h:
1975 * shell/ev-page-action.c: (page_changed_cb):
1977 Set page action entry width depending on labels width. Fix
1980 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1982 * backend/ev-link.c: (ev_link_class_init):
1984 Allow -1 as page value (error)
1986 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1988 * shell/ev-sidebar-thumbnails.c:
1989 (ev_sidebar_thumbnails_set_document):
1990 * shell/ev-view.c: (scroll_to_current_page),
1991 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1992 (page_changed_cb), (on_adjustment_value_changed),
1993 (ev_view_set_document):
1995 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
1998 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2001 * djvu/djvu-document.c: (djvu_document_get_page_size):
2003 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2006 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2008 * shell/ev-view.c (draw_one_page): modify the expose handling to
2011 * shell/ev-window.c (update_action_sensitivity): Respect
2012 permissions field. Kowtow to the man.
2014 * pdf/ev-poppler.cc: Get the permissions field.
2016 * tiff/*c: Make a tiny bit more robust.
2018 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2020 * djvu/djvu-document.c:
2022 Pop messages from djvu context message queue.
2024 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2026 * configure.ac, Makefile.am, shell/Makefile.am:
2027 * tiff/Makefile.am, shell/ev-document-types.c:
2029 Cleanup tiff configure checks. Fix for bug 305218.
2031 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2033 * configure.ac: Added "uk" to ALL_LINGUAS.
2035 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2037 * cut-n-paste/zoom-control/ephy-zoom.c:
2038 (ephy_zoom_get_changed_zoom_level):
2039 * cut-n-paste/zoom-control/ephy-zoom.h:
2040 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2041 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2042 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2043 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2044 (zoom_control_changed_cb), (ev_window_init):
2046 Fix minor points related to moving best fit up. Introduce
2047 "zoom" property and make zoom control change it's value on
2048 notify::zoom signals. Fix for 305080.
2050 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2052 * data/evince-ui.xml:
2053 * shell/ev-window.c: (set_view_actions_sensitivity):
2055 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2057 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2061 Depends on poppler 0.3.2
2063 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2065 * cut-n-paste/recent-files/egg-recent-item.c:
2066 (egg_recent_item_get_short_name):
2067 * cut-n-paste/toolbar-editor/Makefile.am:
2068 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2069 (new_pixbuf_from_widget):
2070 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2071 * cut-n-paste/toolbar-editor/egg-marshal.c:
2072 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2073 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2077 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2079 * tiff/tiff-document.c: Rough TIFF backend.
2081 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2085 * cut-n-paste/toolbar-editor/Makefile.am:
2089 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2091 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2092 (ev_view_find_next), (ev_view_find_previous):
2094 Remove the locks around get_n_results
2096 2005-05-21 Juerg Billeter <j@bitron.ch>
2098 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2100 Pass correct number of pages to poppler.
2102 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2106 * data/evince.desktop.in:
2107 * data/evince.desktop.in.in:
2110 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2112 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2114 * shell/ev-view.c: (view_update_adjustments),
2115 (view_set_adjustment_values): cast adjustmen->value to (int)
2116 before using it. Otherwise, we get off by a pixel in some
2119 (draw_one_page): Draw the border on expose.
2121 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2123 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2124 adjustment when the mode changes, #304923
2126 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2128 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2129 flickering on resize but still use gdk_window_scroll on
2132 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2134 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2137 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2139 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2140 second page on page_changed if possible, #304669
2142 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2144 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2145 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2147 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2150 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2151 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2152 (ev_view_zoom_for_size_presentation),
2153 (ev_view_zoom_for_size_continuous_and_dual_page),
2154 (ev_view_zoom_for_size_continuous),
2155 (ev_view_zoom_for_size_dual_page),
2156 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2158 * shell/ev-window.c: (update_view_size),
2159 (ev_window_sizing_mode_changed_cb):
2161 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2162 the scrollbars. It's not 100% right, but it's much closer. Kills
2163 an infinite loop, #304769
2166 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2168 * data/evince-ui.xml:
2169 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2170 * shell/ev-window.c: (set_view_actions_sensitivity):
2172 Make PgUp/Down behave like Space
2174 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2176 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2177 * backend/ev-ps-exporter.h:
2178 * pdf/ev-poppler.cc:
2179 * ps/ps-document.c: (ps_document_ps_export_begin):
2180 * shell/ev-print-job.c: (idle_print_handler):
2182 Adapt to new poppler api
2184 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2186 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2187 (ephy_zoom_control_init):
2189 Translate zoom levels
2191 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2193 * cut-n-paste/zoom-control/ephy-zoom.c:
2194 (ephy_zoom_get_zoom_level_index):
2196 Fix current zoom -> zoom control match
2198 2005-05-18 James Bowes <bowes@cs.dal.ca>
2200 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2201 rather than the scrolled_window that it's in. Fixes bug #304655.
2203 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2205 * shell/ev-view.c: (view_update_adjustments),
2206 (view_set_adjustment_values), (view_update_range_and_current_page),
2207 (view_scroll_to_page), (set_scroll_adjustment),
2208 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2209 (ev_view_scroll), (ev_view_scroll_view),
2210 (ensure_rectangle_is_visible), (find_page_at_location),
2211 (get_link_at_location), (go_to_link), (status_message_from_link),
2212 (ev_view_size_request_continuous_dual_page),
2213 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2214 (ev_view_unrealize), (ev_view_expose_event),
2215 (ev_view_button_press_event), (ev_view_motion_notify_event),
2216 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2217 (draw_rubberband), (highlight_find_results), (draw_one_page),
2218 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2219 (ev_view_init), (find_changed_cb), (page_changed_cb),
2220 (on_adjustment_value_changed), (ev_view_new),
2221 (ev_view_set_document), (ev_view_set_zoom),
2222 (ev_view_set_continuous), (ev_view_set_dual_page),
2223 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2224 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2225 (ev_view_zoom_for_size_presentation),
2226 (ev_view_zoom_for_size_continuous_dual_page),
2227 (ev_view_zoom_for_size_continuous),
2228 (ev_view_zoom_for_size_dual_page),
2229 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2230 (ev_view_get_status), (ev_view_set_status),
2231 (update_find_status_message), (ev_view_get_find_status),
2232 (ev_view_set_find_status), (jump_to_find_result),
2233 (jump_to_find_page), (compute_selections), (clear_selection),
2234 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2235 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2236 (ev_view_update_primary_selection),
2237 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2239 * shell/ev-window.c: (ev_window_open_page_label),
2240 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2242 * shell/ev-window.h:
2243 * shell/main.c: (load_files):
2245 Massive code clean up from Nickolay Shmyrev. Keep page offset
2246 when resizing. Remove the bin_window(). Also, patch from James
2247 Bowes to fix command line page, #300641
2249 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2251 * data/evince-ui.xml:
2254 * shell/ev-window.c: (update_action_sensitivity):
2256 Get rid of View->Normal Size, it's just confusing
2258 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2260 * backend/ev-document-info.h:
2261 * backend/ev-document.c: (ev_document_info_free): Free the
2264 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2265 (clear_range), (add_range), (update_visible_range),
2266 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2267 (ev_sidebar_thumbnails_set_document):
2268 * shell/ev-window.c: (ev_window_setup_document): Only render the
2269 visible thumbnails. It takes an instant to render, but it uses
2272 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2274 * shell/ev-sidebar-links.c: (popup_menu_cb):
2278 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2281 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2282 (button_press_cb), (ev_sidebar_links_construct):
2284 Show the popup menu also on keybindings
2286 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2288 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2289 * shell/ev-window.h:
2291 Expose api to print a range (with dialog). Make private _print use
2294 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2295 (ev_sidebar_links_construct):
2297 Show a print context menu on linkx, it prints the selected
2300 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2302 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2305 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2311 * shell/ev-window.c: (build_comments_string),
2312 (ev_window_cmd_help_about):
2314 Show poppler version/backend and authors
2316 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2318 * cut-n-paste/zoom-control/ephy-zoom.c:
2319 (ephy_zoom_get_zoom_level_index):
2320 * cut-n-paste/zoom-control/ephy-zoom.h:
2322 Move the best fit items at the top of the list
2324 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2326 * shell/ev-marshal.list:
2327 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2328 (activate_cb), (match_selected_cb), (activate_link_cb),
2329 (connect_proxy), (ev_page_action_class_init):
2330 * shell/ev-page-action.h:
2332 Use signals to notify action activation. Hopefully
2333 I did not break completion since I cant test...
2335 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2336 (register_custom_actions):
2338 Connect to page selector actions and also grab focus on
2339 the view when activated.
2341 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2343 * pdf/ev-poppler.cc:
2344 * backend/ev-page-cache.c: make page size calculation consistent
2345 and set it to (int)( width * scale + 0.5). This makes the weird
2346 line going through the middle of the page go away.
2348 * shell/ev-view.c: move painting the background page after
2349 checking the expose area covers us.
2351 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2353 * data/evince-password.glade:
2355 Mark labels as not translatable. Fix for bug 302842.
2357 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2359 * configure.ac: Added "es" to ALL_LINGUAS.
2361 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2363 * data/evince-toolbar.xml:
2364 * shell/ev-window.c: (update_action_sensitivity),
2365 (ev_window_setup_document), (ev_window_set_page_mode),
2368 Remove some leftover code from jrb first continous
2369 attempt. Use the new actions, we still need good icons
2372 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2374 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2376 Update label when connecting proxy. Fix a warning with NULL
2379 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2381 * data/evince-ui.xml:
2382 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2383 * shell/ev-page-action.h:
2384 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2386 Add mnemonic for edit toolbar.
2387 ctrl+l focus the page entry.
2389 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2392 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2394 * shell/main.c: (main):
2396 Put the toolbar xml in evince own dot dir
2398 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2400 * shell/ev-window.c: (ev_window_init):
2402 Make the toolbar not removable
2404 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2406 * data/evince-ui.xml:
2407 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2408 * shell/ev-sidebar-links.h:
2409 * shell/ev-sidebar-thumbnails.c:
2410 (ev_sidebar_thumbnails_get_treeview):
2411 * shell/ev-sidebar-thumbnails.h:
2412 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2413 (ev_view_class_init):
2415 * shell/ev-window.c: (update_action_sensitivity),
2416 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2417 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2418 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2421 This is evil... Make space/backspace global accelerators but
2422 enable them only for some widgets (sidebars and view).
2423 I dont like it, but I dont know a better way... :/
2425 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2427 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2428 (ev_page_action_widget_finalize),
2429 (ev_page_action_widget_class_init), (update_page_cache):
2431 Keep a weak reference on proxy->page_cache so that we
2432 dont try to disconnect the signal if the object is already
2433 gone. Maybe there is a better way to cleanup reference handling
2434 in page action though...
2436 2005-05-10 Juerg Billeter <j@bitron.ch>
2438 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2439 * backend/ev-ps-exporter.h:
2440 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2441 * ps/ps-document.c: (ps_document_ps_export_begin):
2443 Change api to pass print range to ps_exporter_begin. The pdf backend
2444 requires this information.
2446 * shell/ev-print-job.c: (idle_print_handler):
2450 2005-05-10 Juerg Billeter <j@bitron.ch>
2452 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2453 (idle_print_handler)
2454 * shell/ev-window.c: (ev_window_print):
2456 Support printing page range, based on patch by Amaury Jacquot
2458 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2460 * data/evince-toolbar.xml:
2462 Add zoom control to available items
2464 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2466 * shell/ev-window.c: (update_action_sensitivity):
2468 Set slash action insensitive when appropriate
2470 2005-05-10 Christian Persch <chpe@gnome.org>
2472 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2474 Fix warning on the overflow menu
2476 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2478 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2480 Check for uri correctness/existence
2482 2005-05-09 Juerg Billeter <j@bitron.ch>
2484 * shell/ev-window.c: (using_postscript_printer):
2486 LPD printers use postscript, too
2488 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2490 * shell/ev-window.c: (register_custom_actions):
2492 The zoom one is actually sort of useful,
2495 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2497 * shell/ev-window.c: (register_custom_actions):
2499 Hide page/zoom controls from overflow, they
2502 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2504 * cut-n-paste/update-from-egg.sh:
2506 Share it between all cut-n-paste subdirs
2508 * cut-n-paste/recent-files/Makefile.am:
2510 Fix to use "global" update-from-egg.sh
2512 * cut-n-paste/recent-files/egg-recent-model.c:
2513 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2514 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2515 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2516 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2520 * cut-n-paste/toolbar-editor/Makefile.am:
2522 Fix to use "global" update-from-egg.sh
2524 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2528 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2531 * cut-n-paste/Makefile.am:
2532 * cut-n-paste/recent-files/Makefile.am:
2533 * cut-n-paste/toolbar-editor/.cvsignore:
2534 * cut-n-paste/toolbar-editor/Makefile.am:
2535 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2536 (egg_editable_toolbar_get_type), (get_toolbar_position),
2537 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2538 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2539 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2540 (set_item_drag_source), (create_item_from_action), (create_item),
2541 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2542 (popup_toolbar_context_menu_cb), (free_dragged_item),
2543 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2544 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2545 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2546 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2547 (item_added_cb), (item_removed_cb),
2548 (egg_editable_toolbar_construct),
2549 (egg_editable_toolbar_disconnect_model),
2550 (egg_editable_toolbar_deconstruct),
2551 (egg_editable_toolbar_set_model),
2552 (egg_editable_toolbar_set_ui_manager),
2553 (egg_editable_toolbar_set_property),
2554 (egg_editable_toolbar_get_property),
2555 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2556 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2557 (egg_editable_toolbar_new_with_model),
2558 (egg_editable_toolbar_get_edit_mode),
2559 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2560 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2561 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2562 (new_pixbuf_from_widget), (new_separator_pixbuf),
2563 (update_separator_image), (style_set_cb),
2564 (_egg_editable_toolbar_new_separator_image),
2565 (egg_editable_toolbar_get_model):
2566 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2567 * cut-n-paste/toolbar-editor/egg-marshal.c:
2568 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2569 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2570 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2571 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2572 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2573 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2574 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2575 (editor_drag_data_delete_cb), (drag_data_get_cb),
2576 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2577 (editor_create_item), (update_editor_sheet), (setup_editor),
2578 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2579 (parse_item_list), (model_has_action), (update_actions_list),
2580 (egg_toolbar_editor_load_actions):
2581 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2582 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2583 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2584 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2585 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2586 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2587 (egg_toolbars_model_add_separator), (impl_add_item),
2588 (parse_item_list), (egg_toolbars_model_add_toolbar),
2589 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2590 (impl_get_item_data), (impl_get_item_type),
2591 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2592 (egg_toolbars_model_init), (free_toolbar),
2593 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2594 (egg_toolbars_model_remove_toolbar),
2595 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2596 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2597 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2598 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2599 (egg_toolbars_model_get_item_data),
2600 (egg_toolbars_model_get_item_type):
2601 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2602 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2604 * data/evince-toolbar.xml:
2605 * data/evince-ui.xml:
2606 * data/hand-open.png:
2608 * shell/Makefile.am:
2609 * shell/ev-window.c: (update_chrome_visibility),
2610 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2611 (ev_window_dispose), (ev_window_init):
2613 Implement epiphany like toolbar editor. Based on patch by
2614 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2616 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2618 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2620 Use set_cursor instead of set_selection, so that
2621 the keyboard focus moves too.
2623 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2625 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2627 Fix infinite loop when loading Type1 fonts
2629 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2631 * data/evince-ui.xml:
2632 * shell/ev-window.c:
2636 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2640 Make --disable really disable
2642 2005-05-07 Juerg Billeter <j@bitron.ch>
2644 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2646 Compare page labels even without has_labels set, fixes setting page
2649 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2651 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2652 (ev_view_set_cursor), (ev_view_button_press_event),
2653 (ev_view_motion_notify_event), (ev_view_button_release_event),
2656 Implement middle button scrolling. Based on a patch
2657 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2659 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2661 * shell/ev-document-types.c: (get_slow_mime_type),
2662 (get_document_type_from_mime), (ev_document_type_lookup):
2663 * shell/ev-document-types.h:
2665 Change api to lookup from uri. Do fast lookup first, if the
2666 type is unknown try with data sniffing.
2668 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2669 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2673 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2675 * thumbnailer/Makefile.am:
2679 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2686 * data/evince-ui.xml:
2688 Hide presentation mode for now
2690 * shell/ev-view.c: (highlight_find_results):
2692 Show current find selection only on current page
2694 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2696 * shell/ev-view.c: (ev_view_select_all):
2698 Compute size of the actual page, not of
2701 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2703 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2704 (view_rect_to_doc_rect), (compute_selections),
2705 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2706 (ev_view_copy), (ev_view_primary_get_cb),
2707 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2708 (ev_view_button_press_event), (ev_view_motion_notify_event),
2709 (ev_view_button_release_event), (page_changed_cb):
2713 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2715 * shell/ev-view.c: (compute_border), (get_page_extents),
2716 (doc_rect_to_view_rect), (highlight_find_results),
2717 (ev_view_bin_expose), (ev_view_select_all),
2718 (ev_view_motion_notify_event), (update_find_status_message),
2719 (jump_to_find_result), (jump_to_find_page):
2721 First go at fixing search, still buggy
2723 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2725 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2726 dropdown box and button at the top of the sidebar.
2728 2005-05-02 James Bowes <bowes@cs.dal.ca>
2730 * configure.ac: Output zoom-control Makefile.
2731 * cut-n-paste/Makefile.am: build zoom-control subdir.
2732 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2733 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2734 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2735 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2736 * cut-n-paste/zoom-control/ephy-zoom.c:
2737 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2738 from epiphany, and modified to add a separator into the menu.
2739 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2740 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2741 zoom-control action.
2742 * shell/Makefile.am: Include zoom-control flags.
2743 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2744 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2745 (ev_view_zoom_for_size_presentation),
2746 (ev_view_zoom_for_size_continuous_and_dual_page),
2747 (ev_view_zoom_for_size_continuous),
2748 (ev_view_zoom_for_size_dual_page),
2749 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2750 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2751 ev_view_get_zoom and ev_view_get_sizing_mode.
2753 * shell/ev-window.c: (update_action_sensitivity),
2754 (update_sizing_buttons), (zoom_control_changed_cb),
2755 (register_custom_actions): Initialize and use the zoom-control
2758 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2760 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2761 preview cache back to 1. Don't know when it got set to 0.
2763 * shell/ev-view.c: (compute_border), (ev_view_realize),
2764 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2765 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2766 (ev_view_get_fullscreen), (ev_view_set_presentation),
2767 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2768 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2770 * shell/ev-window.c:
2771 (update_chrome_visibility),
2772 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2773 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2774 (update_document_mode), (ev_window_update_fullscreen_action),
2775 (ev_window_fullscreen), (ev_window_unfullscreen),
2776 (ev_window_cmd_view_fullscreen),
2777 (ev_window_update_presentation_action),
2778 (ev_window_run_presentation), (ev_window_stop_presentation),
2779 (ev_window_cmd_view_presentation), (ev_window_state_event),
2780 (ev_window_focus_in_event), (ev_window_focus_out_event),
2781 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2782 * data/evince-ui.xml: Initial presentation mode. We should
2783 probably hide this until it's done, as it's quite rough. Also,
2784 change full-screen to fullscreen and add two getters to EvView.
2786 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2788 * shell/ev-page-action.c: (update_page_cache),
2789 (ev_page_action_dispose):
2790 * shell/ev-window.c: (destroy_fullscreen_popup),
2791 (ev_window_create_fullscreen_popup):
2793 Use connect_object rather than explicitly
2794 disconnect on dispose.
2796 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2798 * shell/ev-page-action.c: (update_page_cache),
2799 (ev_page_action_dispose):
2801 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2803 * backend/ev-page-cache.c: (_ev_page_cache_new),
2804 (ev_page_cache_set_page_label),
2805 (ev_page_cache_has_nonnumeric_page_labels):
2806 * backend/ev-page-cache.h:
2807 * shell/ev-page-action.c: (update_pages_label):
2809 If all page labels are numeric, fallback to default
2810 way to display number of pages. See bug 173185.
2812 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2814 * shell/ev-page-action.c: (ev_page_action_dispose):
2815 * shell/ev-view.c: (view_update_range_and_current_page):
2816 * shell/ev-window.c: (ev_window_dispose):
2818 Set page on scroll in continuous mode. Fixes bug 301986.
2819 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2821 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2825 Require poppler 0.3.0
2827 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2829 * shell/Makefile.am, configure.ac: Fix build problems
2830 with t1lib. Bug 301996.
2832 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2834 * shell/ev-view.c: (ev_view_scroll_event):
2836 Scroll up increase zoom
2838 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2840 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2841 (ev_view_set_sizing_mode),
2842 (ev_view_zoom_for_size_continuous_and_dual_page),
2843 (ev_view_zoom_for_size_continuous):
2844 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2845 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2846 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2849 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2850 Fix for 165473 and 165472.
2852 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2855 * thumbnailer/Makefile.am:
2856 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2857 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2858 * thumbnailer/evince-thumbnailer.schemas.in:
2860 Make thumbnailer schemas translatable. Fix for bug 301773
2862 * thumbnailer/evince-thumbnailer-djvu.schemas:
2863 * thumbnailer/evince-thumbnailer-dvi.schemas:
2864 * thumbnailer/evince-thumbnailer.schemas:
2868 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2870 * shell/ev-view.c (ev_view_init): forgot to set this.
2872 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2874 * shell/ev-view.c: (find_page_at_location),
2875 (get_link_at_location),
2876 (ev_view_set_show_border), (ev_view_set_spacing),
2877 (ev_view_zoom_for_size_continuous_and_dual_page),
2878 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2879 Also, add a quick fix measuring of widths. Also, removed
2880 ev_view_set_spacing and ev_view_set_show_border.
2882 * shell/ev-window.c: (ev_window_unfullscreen),
2883 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2885 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2887 * shell/ev-view.c: (view_update_range_and_current_page),
2890 Fix crash on exit and scrolling to page in continuous view.
2892 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2895 * backend/ev-page-cache.c: (_ev_page_cache_new),
2896 (ev_page_cache_get_max_width_size),
2897 (ev_page_cache_get_max_height_size):
2898 * backend/ev-page-cache.h:
2899 * data/evince-ui.xml:
2900 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2901 * shell/ev-view.c: (view_update_adjustments),
2902 (view_update_range_and_current_page), (get_bounding_box_size),
2903 (ev_view_size_request_continuous_and_dual_page),
2904 (ev_view_size_request_continuous),
2905 (ev_view_size_request_dual_page),
2906 (ev_view_size_request_single_page), (ev_view_size_request),
2907 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2908 (ev_view_bin_expose), (ev_view_expose_event),
2909 (ev_view_set_property), (ev_view_get_property),
2910 (ev_view_class_init), (ev_view_init), (ev_view_new),
2911 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2912 (ev_view_set_dual_page), (ev_view_set_full_screen),
2913 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2914 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2915 (ev_view_zoom_out), (zoom_for_size_fit_width),
2916 (zoom_for_size_best_fit),
2917 (ev_view_zoom_for_size_continuous_and_dual_page),
2918 (ev_view_zoom_for_size_continuous),
2919 (ev_view_zoom_for_size_dual_page),
2920 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2921 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2923 * shell/ev-window.c: (update_action_sensitivity),
2924 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2925 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2926 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2927 (ev_window_cmd_view_zoom_out), (update_view_size),
2928 (ev_window_set_sizing_mode), (ev_window_init):
2930 Add Continuous and Dual page modes.
2932 2005-04-23 James Bowes <bowes@cs.dal.ca>
2934 * dvi/dvi-document.c: (dvi_document_load),
2935 (dvi_document_thumbnails_get_thumbnail),
2936 (dvi_document_init_params): Fix up some mixups between
2937 width and height to correct thumbnail rendering.
2939 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2941 * dvi/mdvi-lib/private.h:
2942 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2944 Suppess output for kpathsea during font generation. Thanks to
2947 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2954 * Makefile.am: fix distcheck.
2956 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2958 * shell/ev-sidebar-links.c: (selection_changed_callback),
2959 (update_page_callback), (row_activated_callback),
2960 (job_finished_callback), (ev_sidebar_links_set_document):
2962 Fix for bug #169901. Double click on links expands tree.
2964 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2966 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2967 hard-coded style. Fix for bug 170111
2969 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2971 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2974 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2976 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2978 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2980 * pdf/ev-poppler.cc:
2981 * shell/ev-view.c: (highlight_find_results):
2983 Fix find on single page documents
2985 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2987 * data/evince.schemas.in: fix for bug 301390
2989 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2991 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2992 (ev_view_zoom_out), (ev_view_zoom_normal):
2994 * shell/ev-window.c: (update_action_sensitivity),
2995 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2996 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2997 (ev_window_cmd_view_normal_size):
2999 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3000 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3003 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3007 Depend on 2.57, 2.59 doesnt seem to be necessary
3009 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3011 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3014 Put back total number of pages as (1 of 1234)
3016 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3018 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3021 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3022 function. This helps debugging.
3024 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3026 * djvu/djvu-document.c: (djvu_document_class_init),
3027 (djvu_document_get_info), (djvu_document_document_iface_init):
3028 * dvi/dvi-document.c: (dvi_document_class_init),
3029 (dvi_document_get_info), (dvi_document_document_iface_init):
3031 Dummy implementation of get_info method for dvi and djvu. Fix
3032 crashes with those backends
3034 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3036 * data/evince.desktop.in:
3038 Add application/x-gzpostscript
3040 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3042 * data/evince.schemas.in: Added real long descriptions,
3045 * README: Added actual text, closes bug 171869
3047 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3049 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3053 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3055 * backend/ev-document-info.h:
3057 s/GDate */GDate so we can just use g_free
3059 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3061 * shell/ev-window.c: (update_document_mode),
3062 (ev_window_setup_document):
3064 Show the window in fullscreen when specified by
3067 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3069 * backend/ev-document.c: (ev_document_class_init),
3070 (ev_document_get_info), (ev_document_render_pixbuf):
3071 * backend/ev-document.h:
3072 * backend/ev-page-cache.c: (_ev_page_cache_new):
3073 * pdf/ev-poppler.cc:
3074 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3075 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3076 * ps/ps-document.c: (ps_document_class_init), (document_load),
3077 (ps_document_get_info), (ps_document_document_iface_init):
3079 Remove get_title from the interface, we can just use document info
3081 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3083 * backend/Makefile.am:
3084 * backend/ev-document.c: (ev_document_render_get_info):
3085 * backend/ev-document.h:
3086 * pdf/ev-poppler.cc:
3088 Initial support for document info. Based on jrb patch.
3090 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3092 * shell/ev-window.c: (ev_window_state_event),
3093 (ev_window_class_init), (ev_window_init):
3095 Doesn't show resize grip when maximized. See bug #301053
3097 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3101 ev-sidebar-thumbnails now has translatable labels
3103 * shell/Makefile.am:
3104 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3105 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3106 (ev_sidebar_links_page_iface_init):
3107 * shell/ev-sidebar-links.h:
3108 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3109 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3110 (ev_sidebar_page_get_label):
3111 * shell/ev-sidebar-page.h:
3112 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3113 (ev_sidebar_thumbnails_set_document),
3114 (ev_sidebar_thumbnails_support_document),
3115 (ev_sidebar_thumbnails_get_label),
3116 (ev_sidebar_thumbnails_page_iface_init):
3117 * shell/ev-sidebar-thumbnails.h:
3118 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3119 (ev_sidebar_set_document):
3120 * shell/ev-sidebar.h:
3121 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3123 Small rework of sidebar code. Now sidebar pages should implement
3124 EvSidebarPage interface. That makes page management in EvSidebar
3125 easier. See bug #164811 for details
3127 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3129 * shell/ev-application.c: (ev_application_open):
3130 * shell/ev-document-types.c:
3132 Fix build error and small problem with application exit
3134 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3136 * thumbnailer/Makefile.am:
3137 * thumbnailer/evince-thumbnailer-djvu.schemas:
3138 * thumbnailer/evince-thumbnailer-dvi.schemas:
3140 Conditionally install schemas for djvu/dvi thumbnailer
3142 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3144 * shell/ev-document-types.h:
3145 * shell/ev-document-types.c:
3146 New files, handling the mapping from mimetypes to backends
3148 * shell/ev-window.c:
3149 * thumbnailer/evince-thumbnailer.c:
3150 Use the ev-document-types code
3152 * shell/Makefile.am:
3153 Added new convenience library libevbackendfactory_la, containing
3154 the new mimetype->backend logic; moved the backends into it.
3156 * thumbnailer/Makefile.am:
3157 Make the thumbnailer link with the libevbackend.la convenience
3158 library, rather than having a duplicate of the backend logic here.
3160 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3162 * shell/ev-stock-icons.c: constify some vars.
3163 * shell/ev-window.c: ditto.
3165 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3167 * ps/ps-document.c (get_page_orientation):
3169 Respect document orientation
3171 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3175 * shell/Makefile.am:
3177 Move library dependencies to components.
3179 * shell/ev-window.c: (update_window_title),
3180 (start_loading_document):
3182 Fix display of uris with spaces. Bug 168358.
3184 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3186 * shell/ev-sidebar-links.c: (selection_changed_cb):
3187 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3188 (ev_view_button_release_event), (ev_view_set_document):
3190 * shell/ev-window.c: (find_bar_search_changed_cb):
3191 * shell/ev-window.h: Minor cleanups removing some dead code.
3193 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3195 * backend/ev-page-cache.c: (_ev_page_cache_new):
3197 Set current page to 0 if document has pages.
3199 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3201 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3203 Initialize GError to NULL, fix a crash when loading fails.
3205 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3207 * shell/ev-window.c: (update_view_size):
3209 Calculate shadow size only when there is actually
3212 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3214 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3217 Allow setting view spacing, default to 0
3219 * shell/ev-window.c: (ev_window_unfullscreen),
3220 (ev_window_cmd_view_fullscreen), (ev_window_init):
3222 Remove spacing in fullscreen mode
3224 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3226 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3227 (ev_view_size_request), (expose_bin_window),
3228 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3230 * shell/ev-window.c: (ev_window_unfullscreen),
3231 (ev_window_cmd_view_fullscreen):
3233 Do not draw the border in fulscreen
3235 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3237 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3238 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3239 (find_page_at_location), (page_changed_cb):
3241 Rework border calculation, so that I can more easily disable it.
3242 Code somewhat cleaner too.
3244 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3246 * backend/ev-page-cache.c: (ev_page_cache_init),
3247 (_ev_page_cache_new):
3249 Remove some assertions, documents can have 0 pages.
3250 Make initial current page -1.
3252 * shell/ev-page-action.c: (page_changed_cb):
3254 Show "" if current page is -1
3256 * shell/ev-window.c: (update_action_sensitivity),
3257 (ev_window_setup_document):
3259 When document has 0 pages do not set the view
3260 and make nearly everything insensitive.
3262 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3264 * shell/ev-page-view.c:
3265 * shell/ev-page-view.h:
3267 Remove unused files.
3269 * shell/ev-sidebar-thumbnails.c:
3270 (ev_sidebar_thumbnails_set_document):
3271 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3272 (ev_sidebar_supports_document):
3273 * shell/ev-sidebar.h:
3274 * shell/ev-window.c: (ev_window_setup_document):
3276 Doesn't show thumbnails if document has 1 page. Make
3277 sidebar menu entries sensitive only if if they have
3278 sense. Fix bug 164811.
3280 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3282 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3283 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3284 (ev_view_zoom_out), (ev_view_set_size):
3286 Rework sizing to deal with documents with not uniform page
3289 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3291 * backend/ev-page-cache.c: (_ev_page_cache_new):
3293 Fix several page size caching bugs
3295 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3297 * shell/ev-window.c: (set_action_properties):
3299 Make all toolbar items translatable
3301 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3303 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3304 (save_page_list), (ps_document_save),
3305 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3306 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3307 (ps_document_ps_exporter_iface_init):
3310 Based on a patch by J�rg Billeter <j@bitron.ch>
3312 Implement print and save a copy for the ps backend.
3314 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3316 * backend/ev-document.h:
3317 * djvu/djvu-document.c: (djvu_document_can_get_text),
3318 (djvu_document_document_iface_init):
3319 * dvi/dvi-document.c: (dvi_document_can_get_text),
3320 (dvi_document_document_iface_init):
3321 * pdf/ev-poppler.cc:
3322 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3323 (pixbuf_document_document_iface_init):
3324 * ps/ps-document.c: (ps_document_can_get_text),
3325 (ps_document_document_iface_init):
3326 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3327 * shell/ev-window.c: (update_action_sensitivity):
3329 Fix the crash when trying to copy in backends that doesnt
3330 support it. We can implement a better solution once we
3331 do real text selection.
3333 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3335 * data/evince-ui.xml:
3336 * shell/ev-window.c: (ev_window_cmd_escape):
3338 Work around the Escape conflict (find bar and unfullscreen)
3340 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3342 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3344 Fix for #300233. Next page correctly handles document end.
3346 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3347 (ev_sidebar_thumbnails_class_init),
3348 (ev_sidebar_thumbnails_set_document),
3349 (ev_sidebar_thumbnails_clear_job),
3350 (ev_sidebar_thumbnails_clear_model):
3352 Cleanup thumbnail jobs on document changes.
3354 * shell/ev-view.c: (add_scroll_binding_keypad),
3355 (add_scroll_binding_shifted), (ev_view_class_init):
3357 Shift + Space scrolls up. Fix for #173184
3359 * shell/ev-window.c: (ev_window_open_page),
3360 (ev_window_cmd_view_reload):
3362 Fix reload (Bug #300094)
3364 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3367 * dvi/mdvi-lib/assoc.c:
3368 * dvi/mdvi-lib/assoc.h: Removed garbage files
3370 * dvi/mdvi-lib/bitmap.c:
3371 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3372 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3373 * dvi/mdvi-lib/color.h: Antialias of rules
3375 * dvi/mdvi-lib/common.h:
3376 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3377 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3378 * dvi/mdvi-lib/files.c:
3379 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3380 * dvi/mdvi-lib/mdvi.h:
3381 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3382 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3383 * dvi/mdvi-lib/util.c: Fix compile warnings
3385 * dvi/dvi-document.c:
3386 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3387 (dvi_document_thumbnails_get_thumbnail),
3388 (dvi_document_document_thumbnails_iface_init):
3389 * dvi/mdvi-lib/Makefile.am:
3390 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3391 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3393 Dvi backend now renders thumbnails
3395 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3397 * shell/main.c: (main):
3399 Save accelerators on exit. Fixes bug #172095.
3401 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3403 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3404 update priority" comment.
3406 * backend/ev-job-queue.c: Give a way to change priority.
3408 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3410 * shell/ev-page-action.c: Fix logic.
3412 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3414 * shell/ev-view.c: (ev_view_can_find_next):
3415 * shell/ev-window.c: (ev_window_setup_document):
3417 Check that the document supports find
3419 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3421 * data/evince-ui.xml:
3422 * shell/ev-view.c: (ev_view_can_find_next):
3424 * shell/ev-window.c: (update_action_sensitivity),
3425 (find_changed_cb), (ev_window_setup_document),
3426 (ev_window_cmd_edit_find_next):
3430 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3432 * pdf/ev-poppler.cc:
3433 * shell/ev-print-job.c: (idle_print_handler):
3435 Make printing work again
3437 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3439 * shell/ev-page-action.h:
3440 * shell/ev-page-action.c: (ev_page_action_widget_init),
3441 (ev_page_action_widget_class_init), (page_changed_cb),
3442 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3443 (get_filter_model_from_model), (match_selected_cb),
3444 (display_completion_text), (match_completion), (update_model),
3445 (connect_proxy), (ev_page_action_set_property),
3446 (ev_page_action_get_property), (ev_page_action_set_document),
3447 (ev_page_action_set_model), (ev_page_action_class_init): Big
3448 reworking to make completions work iff we have >= GTK-2.7.0
3450 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3451 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3452 (job_finished_cb): We now have a 'model' property that is set when
3453 the links are loaded. This can be caught with "notify::model"
3455 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3456 listen for the model to be set, and propagate it to the action.
3458 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3460 * cut-n-paste/recent-files/egg-recent-item.c:
3461 (egg_recent_item_set_uri), (make_valid_utf8),
3462 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3463 * cut-n-paste/recent-files/egg-recent-item.h:
3465 Update egg-recent from libegg. This should fix long
3466 startup problem. For details see
3467 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3469 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3471 * cut-n-paste/recent-files/Makefile.am:
3472 * data/evince-ui.xml, shell/Makefile.am:
3473 * shell/ev-application.c, shell/ev-application.h:
3474 * shell/ev-window.c: Recent files support.
3476 * configure.ac: Added "ru" to ALL_LINGUAS.
3478 * dvju: new backend to support DJVU files.
3479 * dvi: new backend to support DVI.
3481 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3482 * ev-application.c: Support for new backends.
3484 * help, ev-window.c, main.c shell/Makefile.am:
3485 Evince user documentation.
3487 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3490 * shell/ev-window.c:
3491 * thumbnailer/evince-thumbnailer.c:
3493 s/pdf-document/ev-poppler
3495 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3502 * ps/ps-document.c: (setup_pixmap):
3506 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3508 * backend/ev-page-cache.c (ev_page_cache_next_page):
3509 * shell/ev-window.c (ev_window_cmd_go_next_page)
3510 (ev_window_cmd_go_first_page): Fix of by one errors.
3512 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3514 * ps/ps-document.c: (get_page_box):
3516 Fix page size calculation
3518 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3520 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3521 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3522 (get_page_orientation), (setup_page), (document_load),
3523 (ps_document_get_page_size), (render_pixbuf_idle):
3526 More refactoring to adapt to EvDocument changes
3528 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3530 * ps/ps-document.c: (start_interpreter):
3532 Actually add alpha args
3534 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3536 * pdf/ev-poppler.cc:
3538 Make clipboard work again
3540 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3542 Make searching work again.
3544 * backend/ev-document.c:
3545 * backend/ev-document.h:
3546 * backend/ev-document-find.c:
3547 * backend/ev-document-find.h: Change EvDocumentIface so we no
3548 longer store the current page or zoom level in the document. The
3549 consequence is that all calls that operate on the current page now
3550 instead take the page number as an extra argument, and all
3551 coordinates are now doubles in document coordinate system.
3553 * pdf/ev-poppler.cc:
3554 * pixbuf/pixbuf-document.c:
3555 * ps/ps-document.c: Update backends accordingly.
3557 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3561 Add required gettext version
3563 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3565 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3566 make F1 bring up non-existent help.
3568 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3569 epiphany's find bar, #167477
3571 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3572 <emil@nishra.com> to add space-bar scrolling,
3574 * shell/ev-window.c (static GtkActionEntry entries): add default
3575 keybinding for Help (F1)
3578 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3579 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3582 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3585 * pixbuf/pixbuf-document.c:
3587 Got pixbuf backend working again
3589 2005-04-01 Steve Murphy <murf@e-tools.com>
3591 * configure.in: Added "rw" to ALL_LINGUAS.
3593 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3595 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3596 model types, noticed by Martin Kretzschmar.
3598 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3600 * pdf/ev-poppler.cc: Implement search based on
3601 poppler_page_find_text(). Currently a bit crude since we remember
3602 all matches from all pages. Also, we grab the big document lock
3603 when we search since searching changes the underlying stream and
3604 thus conflicts with the rendering thread.
3606 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3607 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3608 (ev_view_find_previous): Fix some page indexes to be 0 based,
3609 offset rubber band by view offset,
3611 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3613 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3615 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3617 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3618 completely because I didn't understand GtkActions. I should
3619 read Marco's code more carefully in the future.
3621 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3624 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3626 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3627 PopplerRectangle change from poppler CVS.
3629 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3631 * backend/ev-document.c: (ev_document_get_page_label):
3632 * backend/ev-document.h:
3633 * backend/ev-page-cache.c: (_ev_page_cache_new),
3634 (ev_page_cache_get_page_label):
3635 * backend/ev-page-cache.h:
3636 * pdf/ev-poppler.cc:
3637 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3638 (links_page_num_func):
3639 * shell/ev-sidebar-thumbnails.c:
3640 (ev_sidebar_thumbnails_set_document):
3641 * shell/ev-view.c: (status_message_from_link),
3642 (ev_view_motion_notify_event):
3643 * shell/ev-window.c: (document_supports_sidebar): Add in page
3644 label support. It's not perfect yet, but it's the first 'feature'
3646 Also, fix a bogus comment noticed by crispin.
3648 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3650 * Makefile.am: Remove pixbuf backend for now
3652 * configure.ac: Require poppler-glib instead of just poppler.
3654 * backend/ev-document-thumbnails.h: Add a comment
3656 * backend/ev-document.h:
3657 * backend/ev-document.c: (ev_document_class_init),
3658 (ev_document_load), (ev_document_get_link),
3659 (ev_document_get_links): Remove 3 methods and add get_links.
3662 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3663 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3665 * backend/ev-link.c: (ev_link_set_title),
3666 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3667 (ev_link_mapping_find):
3668 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3670 * backend/ev-page-cache.c: (ev_page_cache_init),
3671 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3672 (ev_page_cache_get_size), (ev_page_cache_next_page),
3673 (ev_page_cache_prev_page): Fix to be 0 based.
3677 * pdf/ev-poppler.cc: New backend.
3679 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3680 (ps_document_get_page), (ps_document_document_iface_init):
3682 * shell/ev-pixbuf-cache.h:
3683 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3684 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3685 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3686 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3687 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3688 Fix up code to grab a page cache per each doc. Also, fix to be 0
3691 * shell/ev-sidebar-thumbnails.c:
3692 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3693 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3695 * shell/ev-view.c: (status_message_from_link),
3696 (find_page_at_location), (get_link_at_location),
3697 (ev_view_motion_notify_event), (ev_view_button_release_event),
3698 (ev_view_init): Use the new link code. Fix to be 0 based.
3700 * shell/ev-window.c: (update_action_sensitivity),
3701 (document_supports_sidebar): 0 based.
3703 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3705 * pdf/pdf-document.cc: Patch from Fernando Herrera
3706 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3709 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3711 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3712 1 to the page, as this seems to be 1 based. I thought we has this
3715 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3718 * backend/Makefile.am:
3719 * backend/ev-document-links.c:
3720 (ev_document_links_has_document_links),
3721 (ev_document_links_get_links_model):
3722 * backend/ev-document-links.h:
3723 * backend/ev-document.c: (ev_document_get_page_cache),
3724 (ev_document_get_doc_mutex), (ev_document_load),
3725 (ev_document_save), (ev_document_get_title),
3726 (ev_document_get_n_pages), (ev_document_set_page),
3727 (ev_document_get_page), (ev_document_set_target),
3728 (ev_document_set_scale), (ev_document_set_page_offset),
3729 (ev_document_get_page_size), (ev_document_get_text),
3730 (ev_document_get_link), (ev_document_render),
3731 (ev_document_render_pixbuf), (ev_document_scale_changed):
3732 * backend/ev-document.h:
3733 * backend/ev-job-queue.c: (remove_object_from_queue),
3734 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3735 (no_jobs_available_unlocked), (ev_render_thread),
3736 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3737 (ev_job_queue_remove_job):
3738 * backend/ev-job-queue.h:
3739 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3740 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3741 (ev_job_links_class_init), (ev_job_render_init),
3742 (ev_job_render_dispose), (ev_job_render_class_init),
3743 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3744 (ev_job_thumbnail_class_init), (ev_job_finished),
3745 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3746 (ev_job_render_run), (ev_job_thumbnail_new),
3747 (ev_job_thumbnail_run):
3748 * backend/ev-jobs.h:
3749 * backend/ev-link.c:
3750 * backend/ev-link.h:
3751 * backend/ev-page-cache.c: (ev_page_cache_init),
3752 (ev_page_cache_class_init), (ev_page_cache_finalize),
3753 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3754 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3755 (ev_page_cache_set_link), (ev_page_cache_get_title),
3756 (ev_page_cache_get_size), (ev_page_cache_next_page),
3757 (ev_page_cache_prev_page):
3758 * backend/ev-page-cache.h:
3759 * pdf/pdf-document.cc:
3762 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3763 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3764 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3765 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3766 (is_interpreter_ready), (output), (catchPipe), (input),
3767 (start_interpreter), (check_filecompressed), (compute_dimensions),
3768 (ps_document_enable_interpreter), (document_load),
3769 (ps_document_next_page), (render_page), (ps_document_set_page),
3770 (ps_document_set_scale), (render_pixbuf_idle),
3771 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3773 * shell/Makefile.am:
3774 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3775 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3776 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3777 (ev_pixbuf_cache_new), (job_finished_cb),
3778 (check_job_size_and_unref), (move_one_job),
3779 (ev_pixbuf_cache_update_range), (find_job_cache),
3780 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3781 (ev_pixbuf_cache_add_jobs_if_needed),
3782 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3783 * shell/ev-pixbuf-cache.h:
3784 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3785 (idle_print_handler):
3786 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3787 (selection_changed_cb), (create_loading_model),
3788 (ev_sidebar_links_construct), (links_page_num_func),
3789 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3790 (update_page_callback), (job_finished_cb),
3791 (ev_sidebar_links_set_document):
3792 * shell/ev-sidebar-thumbnails.c:
3793 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3794 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3795 (page_changed_cb), (thumbnail_job_completed_callback),
3796 (ev_sidebar_thumbnails_set_document):
3797 * shell/ev-sidebar-thumbnails.h:
3798 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3799 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3800 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3801 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3802 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3803 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3804 (ev_view_button_release_event), (ev_view_scroll_view),
3805 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3806 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3807 (ev_view_new), (job_finished_cb), (page_changed_cb),
3808 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3809 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3810 (ev_view_find_previous):
3812 * shell/ev-window.c: (update_action_sensitivity),
3813 (ev_window_open_page), (update_window_title), (update_total_pages),
3814 (page_changed_cb), (ev_window_setup_document),
3815 (password_dialog_response), (ev_window_cmd_save_as),
3816 (ev_window_print), (ev_window_cmd_go_previous_page),
3817 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3818 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3819 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3820 * shell/main.c: (main):
3822 Merge evince-threads branch
3824 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3826 * configure.ac: Added "lt" to ALL_LINGUAS.
3828 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3835 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3837 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3839 Fix here also the thumbnails 1-basedness :)
3841 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3848 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3850 * pdf/pdf-document.cc:
3851 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3852 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3854 Fix the mess we did with thumbnails and 1-basedness
3856 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3858 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3860 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3867 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3870 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3871 (gtk_gs_defaults_get_alpha_parameters),
3872 (gtk_gs_defaults_get_ungzip_cmd),
3873 (gtk_gs_defaults_get_unbzip2_cmd):
3875 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3876 (ps_document_get_orientation), (document_load),
3877 (ps_document_goto_page), (ps_document_set_page_size):
3880 Some more sanitization of the ps backend. Remove a lot
3881 of unused code and do not base our defaults on ggv
3884 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3886 * thumbnailer/evince-thumbnailer.schemas:
3887 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3888 (main): add -s option for thumbnail size.
3890 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3894 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3897 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3899 * pdf/pdf-document.cc:
3901 Remove 4 pixels of useless border from the
3904 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3906 * backend/ev-document-thumbnails.c:
3907 (ev_document_thumbnails_get_thumbnail):
3908 * backend/ev-document-thumbnails.h:
3910 Rework API a bit. Add a border flag and
3911 change sizing logic (now the size we specify
3912 applies to the bigger dimension).
3914 * pdf/pdf-document.cc:
3915 * pixbuf/pixbuf-document.c:
3916 (pixbuf_document_thumbnails_get_thumbnail):
3917 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3918 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3920 Adapt to the new API and do not draw a border for nautilus
3923 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3925 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3926 take thumbnails from page "0" instead of "1". Added a copyright header.
3928 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3930 * ps/ps-document.c: (set_up_page), (start_interpreter):
3932 Make it C89 compliant
3934 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3939 * pdf/pdf-document.cc:
3940 * thumbnailer/Makefile.am:
3941 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3943 * thumbnailer/evince-thumbnailer.schemas:
3944 * thumbnailer/pdf-icon.png:
3946 Add a nautilus thumbnailer.
3947 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3949 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3957 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3959 Use poppler instead of including xpdf source code. Poppler is a
3960 fork of xpdf to build it as a shared library. See
3961 http://freedesktop.org/wiki/Software/poppler.
3963 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3966 * pdf/Makefile.am: Build libpdfdocument.a here.
3968 * pdf/GDKSplashOutputDev.cc:
3969 * pdf/GDKSplashOutputDev.h:
3970 * pdf/GnomeVFSStream.cc:
3971 * pdf/GnomeVFSStream.h:
3974 * test-gdk-output-dev.cc
3976 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3979 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3981 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3983 Clear idle stack before unsetting the document
3985 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3987 * ps/ps-document.c: (ps_document_widget_event),
3988 (ps_document_set_target), (ps_document_finalize),
3989 (ps_document_get_page):
3991 Disconnect the widget event signal on finalize.
3994 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3996 * ps/ps-document.c: (set_up_page):
3998 If there is no bpixmap create one, even if size
4001 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4003 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4004 (set_up_page), (document_load), (ps_document_set_zoom):
4006 Default page is 0. Calculate size even when we have no
4009 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4011 * shell/ev-sidebar.c: expand the selection widget to be always as
4014 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4016 * shell/ev-sidebar-thumbnails.c:
4017 (ev_sidebar_thumbnails_set_document):
4019 Clear the list store when setting document
4021 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4023 * shell/ev-page-action.c: (update_entry), (sync_entry),
4024 (activate_cb), (entry_size_request_cb), (create_tool_item),
4027 Use an entry for the page control instead of spinbuttons
4029 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4031 * data/evince.schemas.in:
4033 Correct confusing string
4035 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4037 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4038 for real. Gosh, how long has this been broken.
4040 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4041 check for a NULL link. We crash otherwise.
4043 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4050 2005-02-25 Sebastien Bacher <seb128@debian.org>
4052 * configure.ac: add the french translation.
4054 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4056 * shell/ev-window.c:
4058 Remove unused header -> fix distcheck
4060 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4062 * shell/ev-window.c: (update_window_title),
4063 (ev_window_popup_password_dialog):
4065 Unescape filename for display
4067 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4069 * pdf/xpdf/pdf-document.cc:
4071 In get_page_size deal with rotation. Also
4072 cleanup the function a bit.
4074 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4076 * pdf/xpdf/pdf-document.cc:
4078 Fix crash when opening in new window
4080 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4084 Check ghostscript >= 7
4086 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4088 * shell/ev-window.c:
4090 Make page width the default sizing mode
4092 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4093 Marco Pesenti Gritti <marco@gnome.org>
4095 * shell/ev-window.c: Remember the sidebar size
4097 * data/evince.schemas.in: Add a new gconf key to store the size of
4100 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4102 * data/evince-ui.xml:
4103 * shell/ev-window.c: (update_action_sensitivity),
4104 (ev_window_cmd_view_reload):
4106 Add a "Reload" action and menu entry
4108 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4110 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4111 iff the type doesn't support thumbnailing and indexing.
4113 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4115 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4117 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4119 * pdf/splash/Splash.cc:
4121 Port fix for a crasher from kde bug
4122 http://bugs.kde.org/show_bug.cgi?id=97131
4124 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4126 * pdf/xpdf/pdf-document.cc:
4128 Return a link even if it's of an unrecognized
4129 type. Otherwise we go in an infinte cycle.
4131 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4133 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4134 (size_allocate_cb), (ev_window_set_sizing_mode):
4136 Update size when switching mode
4138 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4140 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4141 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4142 (ev_window_cmd_view_normal_size):
4144 Fix size toggle buttons behavior
4146 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4148 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4149 (doc_rect_to_view_rect), (ev_view_size_allocate),
4150 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4151 (scale_changed_callback):
4153 Do not cache offsets in size_allocate.
4155 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4157 * shell/ev-view.c: (ev_view_size_allocate):
4159 Calculate offsets before calling the parent
4160 class (which does a redraw)
4162 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4164 * pdf/xpdf/pdf-document.cc:
4166 Fix a crasher on exit. Unused code, put a TODO
4168 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4170 * backend/ev-document.c: (ev_document_class_init),
4171 (ev_document_page_changed), (ev_document_scale_changed):
4172 * backend/ev-document.h:
4174 Separate page/scale notifications
4176 * pdf/xpdf/pdf-document.cc:
4178 Emit the new signals.
4179 Do not display the pdf page in _render, do it
4180 when scale/page are requested.
4182 * ps/ps-document.c: (ps_document_set_zoom),
4183 (ps_document_widget_event):
4186 Emit the new signals.
4188 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4189 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4190 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4191 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4193 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4194 (ev_window_cmd_view_page_width), (size_allocate_cb),
4195 (ev_window_set_sizing_mode):
4197 Rework sizing to be pixel based.
4198 There are bugs but should be already way better.
4200 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4202 * shell/ev-window.c: (ev_window_init):
4204 Do not allow to shrink sidebar smaller then
4207 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4209 * shell/ev-sidebar.[ch]
4210 * shell/ev-window.c:
4212 Improved sidebar widget. Fixes #166683
4214 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4216 * shell/ev-view.c (update_find_status_message): Give translators
4217 more flexibility with ngettext plural handling.
4219 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4221 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4222 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4223 page when we get the page size.
4225 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4227 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4229 ps pages are 0 based, convert
4231 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4233 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4235 Initialize correct parent class. Set GError on document load
4237 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4239 * pdf/xpdf/pdf-document.cc:
4241 Fixup selection offset calculation
4243 * shell/ev-view.c: (view_rect_to_doc_rect),
4244 (doc_rect_to_view_rect), (ev_view_size_allocate),
4245 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4246 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4248 Store selection as document relative, so that zooming
4249 and offset changing doesnt break it.
4251 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4253 * shell/ev-view.c: (ev_view_best_fit):
4255 Do not try to best fit if the view is not realized
4257 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4259 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4261 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4263 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4265 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4267 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4268 the popup window. That prevents it resizing when in full screen
4271 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4272 multiple rerenders. This pretty much sucks.
4274 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4275 rest of the toolbar.
4277 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4279 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4281 2005-02-17 Alexander Shopov <ash@contact.bg>
4283 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4285 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4287 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4289 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4291 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4292 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4293 (set_document_page), (document_changed_callback),
4294 (ev_view_set_document), (ev_view_find_previous),
4295 (ev_view_hide_cursor), (ev_view_show_cursor):
4297 * shell/ev-window.c: (update_chrome_visibility),
4298 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4299 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4300 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4301 (ev_window_unfullscreen):
4302 * shell/main.c: (main):
4304 Automatically hide the fullscreen button.
4305 Patch by Kristian Høgsberg <krh@redhat.com>
4307 2005-02-16 Vincent Noel <vnoel@cox.net>
4309 * shell/main.c (main): Specify an icon for the window. Patch by
4310 Jaap A. Haitsma. Fixes #166177.
4312 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4314 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4316 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4318 * backend/ev-document-misc.h:
4319 * backend/ev-document-misc.c:
4320 (ev_document_misc_get_page_border_size),
4321 (ev_document_misc_paint_one_page): New function to canonicalize
4322 sizing/painting a border.
4324 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4327 * pdf/xpdf/pdf-document.cc: use new function
4329 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4330 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4331 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4332 shell/ev-window.c: (update_sizing_buttons),
4333 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4334 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4335 (ev_window_cmd_view_page_width), (size_allocate_cb),
4336 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4337 and "fit width" values act as toggle buttons so they stay
4338 toggled. It's not 100% perfect, and it's a little slow, but it's
4339 good enough to commit I think.
4341 2005-02-15 David Lodge <dave@cirt.net>
4343 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4345 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4347 * shell/ev-window.c (update_window_title): replace newlines in
4348 the title by spaces. Bug #166107.
4350 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4352 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4353 parameters providing allocation width and height without
4354 scrollbars and width of a possible vertical scrollbar. With this
4355 additional information the functions can work as
4356 intended. Unfortunately they're not idempotent. We should
4357 transform these commands to toggles. Fixes Bug #164976
4358 Initial patch by Stephane Loeuillet, then heavily modified.
4360 * shell/ev-view.h: update prototypes.
4362 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4363 (ev_window_cmd_view_page_width): provide EvView fit functions with
4364 all the information they need. Formulas to calculate this
4365 information taken from GtkScrolledWindow.
4367 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4369 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4370 created a thumbnail, the list store is updated to know
4371 that the thumbnail is set. Fixes bug #166792
4373 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4375 * shell/ev-window.c: fixed typo, closes bug 166897
4377 * TODO: updated TODO with bug numbers that are relevant
4379 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4381 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4383 2005-02-09 Vincent Noel <vnoel@cox.net>
4385 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4386 and "Next" toolbar buttons as important to make them stand out.
4388 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4392 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4393 (start_interpreter), (stop_interpreter), (document_load),
4394 (ps_document_next_page), (ps_document_goto_page),
4395 (ps_document_set_page_size), (ps_document_widget_event),
4396 (ps_document_render):
4397 * shell/ev-page-view.c: (ev_page_view_dispose):
4398 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4400 Fix compilation on non-gcc platforms
4402 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4409 * pdf/xpdf/Catalog.cc:
4412 Fix the fix for CAN-2004-0888
4414 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4417 * data/evince-ui.xml:
4418 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4419 * shell/ev-stock-icons.h:
4420 * shell/ev-window.c: (update_action_sensitivity),
4421 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4422 (set_action_properties):
4424 Improve toolbar layout/icons
4426 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4428 * pdf/xpdf/pdf-document.cc:
4430 Add warnings about unimplemented/unknown link
4433 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4435 * ps/ps-document.c: (set_up_page):
4439 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4441 * ps/ps-document.c: (start_interpreter):
4445 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4447 * shell/ev-page-view.c: (ev_page_view_dispose):
4448 * shell/ev-view.c: (ev_view_finalize):
4449 * shell/ev-window.c: (ev_window_setup_document),
4450 (ev_window_dispose), (ev_window_init):
4452 Solve more refs issues.
4454 I commented out the page_view initialization for now:
4455 it was never destroyed (because it's never added
4456 to a container). Because of that we was leaking
4457 gs processes. Couldnt think to a clean fix.
4458 We need to figure this out, password view has the
4459 same issue probably.
4461 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4463 * ps/ps-document.c: (ps_document_finalize),
4464 (ps_document_get_n_pages), (ps_document_get_page):
4466 Some cleanups, stop the interpreter on finalize
4468 * shell/ev-page-view.c: (ev_page_view_dispose),
4469 (ev_page_view_class_init):
4471 Release our reference on the document
4473 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4477 * doc/debugging.txt:
4480 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4481 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4482 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4485 Add debugging helpers
4488 * ps/ps-document.c: (set_up_page), (start_interpreter),
4489 (stop_interpreter), (document_load), (ps_document_next_page),
4490 (ps_document_goto_page), (ps_document_set_page_size),
4491 (ps_document_widget_event), (ps_document_render):
4492 * shell/Makefile.am:
4493 * shell/ev-view.c: (expose_bin_window):
4494 * shell/main.c: (main):
4498 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4500 * ps/ps-document.c: (ps_document_widget_event):
4502 Initialize message_window, this should make ps
4503 rendering really work! (Never noticed because I was
4504 testing with a ps that is causing gs to exit every time!)
4506 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4508 * data/evince.schemas.in: updated simple error in applyto closing tag
4510 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4516 * data/evince-ui.xml:
4517 A data/evince.schemas.in:
4519 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4520 * shell/ev-stock-icons.h:
4521 * shell/ev-window.c: (update_chrome_visibility),
4522 (update_chrome_flag), (ev_window_cmd_edit_find),
4523 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4524 (ev_window_unfullscreen), (ev_window_focus_in_event),
4525 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4526 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4527 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4528 (ev_window_dispose), (ev_window_class_init),
4529 (set_action_properties), (set_chrome_actions), (load_chrome),
4532 Implement fullscreen mode changes from bug #164776.
4533 Also implement persistent chrome toggles.
4535 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4537 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4539 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4545 Add another check for find interface
4549 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4551 * shell/ev-application.c: (ev_application_open):
4552 * shell/ev-window.c: (ev_window_open):
4554 Open gzipped ps documents
4556 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4559 * shell/ev-view.c: (set_document_page):
4561 Clamp page number, dont try to move to
4564 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4566 * backend/ev-document-find.c: (ev_document_find_changed):
4567 * backend/ev-document-find.h:
4568 * pdf/xpdf/pdf-document.cc:
4569 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4570 * shell/ev-window.c: (find_bar_search_changed_cb):
4572 Fix several bugs with find
4574 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4576 * shell/ev-sidebar-thumbnails.c
4577 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4578 document. Prevents warning from scroll_to_cell.
4580 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4582 * configure.ac: Add «nb» to ALL_LINGUAS too.
4584 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4586 * NOTES: New file with some random thoughts.
4590 * backend/ev-document-misc.c:
4591 (ev_document_misc_get_page_border_size): New function to
4592 canonicalize shadow drawing sizes. Possibly goofy.
4594 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4595 (ev_view_best_fit), (ev_view_fit_width):
4596 * pdf/xpdf/pdf-document.cc:
4597 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4598 * ps/ps-document.c: (ps_document_get_page_size):
4599 * backend/ev-document-misc.h:
4600 * backend/ev-document.c: (ev_document_get_page_size):
4601 * backend/ev-document.h: get_page_size now takes a page number
4602 parameter. Made all the backends/frontends honor it.
4604 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4605 see. Doesn't work yet.
4607 * shell/Makefile.am:
4608 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4609 Doesn't do anything yet.
4611 * shell/ev-sidebar-thumbnails.c:
4612 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4615 * shell/ev-window.c: (update_action_sensitivity),
4616 (ev_window_setup_document), (ev_window_set_page_mode),
4617 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4618 view-swapping code a bit so we can have multiple views on a
4619 document. Add the multi-page view, though it can't be turned on
4622 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4624 * shell/ev-application.c: (ev_application_open):
4625 * shell/ev-view.c: (expose_bin_window):
4626 * shell/ev-window.c: (ev_window_open):
4628 Support eps and check document supports find
4629 before drawing highlightings in expose.
4631 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4633 * pixbuf/pixbuf-document.c:
4634 (pixbuf_document_thumbnails_get_dimensions),
4635 (pixbuf_document_document_thumbnails_iface_init):
4637 implement get_dimensions
4639 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4646 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4648 * shell/ev-view.c: (set_document_page):
4650 Scroll at the top of the page when changing page
4652 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4654 * shell/ev-view.c: (ev_view_motion_notify_event):
4656 Do not redraw unnecessarily
4658 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4660 * pdf/xpdf/pdf-document.cc:
4661 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4662 (expose_bin_window), (find_changed_cb):
4664 Yay! find works now... Now to find bugs...
4666 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4668 * backend/ev-document-find.c: (ev_document_find_base_init),
4669 (ev_document_find_changed):
4670 * backend/ev-document-find.h:
4671 * pdf/xpdf/pdf-document.cc:
4672 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4673 (expose_bin_window), (ev_view_init), (set_document_page),
4674 (ensure_rectangle_is_visible), (jump_to_find_result),
4675 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4676 (ev_view_find_next), (ev_view_find_previous):
4678 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4680 More work on find implementation, mostly there now
4682 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4684 * backend/ev-backend-marshalers.list:
4685 * backend/ev-document-find.c: (ev_document_find_base_init),
4686 (ev_document_find_cancel), (ev_document_find_page_has_results),
4687 (ev_document_find_get_n_results), (ev_document_find_get_result),
4688 (ev_document_find_get_progress), (ev_document_find_changed):
4689 * backend/ev-document-find.h:
4691 Enanche the find interface to be really able to do
4694 * pdf/xpdf/pdf-document.cc:
4698 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4699 (expose_bin_window), (ev_view_init),
4700 (ev_view_get_find_status_message), (find_changed_cb),
4701 (ev_view_set_document), (set_document_page):
4703 Adapt to the new interface. A few things are regressed sorry,
4704 I will finish it soon.
4706 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4708 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4709 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4710 ev_sidebar_thumbnails_parent_class variable, don't define another
4711 parent_class variable.
4713 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4714 (ev_page_action_class_init): ditto.
4716 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4717 (pixbuf_document_class_init): ditto.
4719 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4722 * .cvsignore: ignore various valgrind output files.
4724 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4726 * data/evince-ui.xml:
4727 * shell/Makefile.am:
4728 * shell/ev-history.c:
4729 * shell/ev-history.h:
4730 * shell/ev-navigation-action.c:
4731 * shell/ev-navigation-action.h:
4732 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4733 (ev_view_set_page), (ev_view_fit_width):
4735 * shell/ev-window.c: (update_action_sensitivity),
4736 (ev_window_setup_document), (register_custom_actions):
4738 Kill session history
4740 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4742 * shell/ev-window.c: (update_action_sensitivity):
4744 Fix inverted up/down buttons
4746 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4748 * shell/ev-sidebar-thumbnails.c
4749 (ev_sidebar_thumbnails_select_page): make sure the selected
4750 thumbnail stays visible.
4752 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4754 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4755 scrolled window for Federico.
4757 2005-01-26 Ole Laursen <olau@hardworking.dk>
4759 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4761 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4764 * pdf/splash/SplashFTFontEngine.cc:
4766 Fix CID fonts with freetype 2.1.9
4768 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4770 * TODO: added item for desktop icon thumbnailer
4772 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4774 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4775 unloaded docs when the title is accessed.
4777 * shell/ev-password-view.[hc]: New widget for displaying password
4780 * shell/ev-window.[ch]: Refactor password handling code to handle
4783 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4791 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4793 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4794 ignore page offset here, to make search results independent of it,
4796 * shell/ev-view.c (expose_bin_window): but take offsets into
4797 account here. Bug #164932
4799 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4800 scale at the right time. Bug #164996
4802 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4804 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4805 fix the problem. Now I just removed the Adobe font names and hope
4806 that the URW fonts are always in outline format. Bug #164934
4808 * shell/ev-window.c (update_window_title): empty titles are
4809 useless, use filename in that case too.
4811 * NEWS: Add some content.
4813 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4815 * TODO: added one more TODO item and a TODONE section :)
4817 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4819 * ps/ps-document.h: add page_[xy]_offset fields.
4821 * ps/ps-document.c (ps_document_set_page_offset)
4822 (ps_document_render): Keep offset in consideration in a few
4823 places. Bug #164752 "postscript documents are not centered in
4826 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4827 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4829 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4830 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4831 stub out missing methods for complete EvDocument implementation.
4832 Fixes segfaults with Save A Copy and Copy actions.
4834 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4835 (ps_document_document_iface_init): ditto.
4837 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4841 * data/evince.desktop.in:
4845 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4847 * shell/ev-view.c: (ev_view_button_press_event),
4848 (ev_view_motion_notify_event):
4850 Make selection work in any direction
4852 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4855 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4857 Use shorter labels for some of the toolbars items
4859 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4861 * pdf/xpdf/pdf-document.cc:
4863 Check the links info is initialized before
4864 using it. Should fix a crash on startup.
4866 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4868 * pixbuf/pixbuf-document.c
4869 (pixbuf_document_thumbnails_get_dimensions): force floating point
4870 division to calculate page_ratio. Fixes crash with landscape
4873 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4875 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4877 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4879 * shell/ev-view.c (set_document_page): unset has_selection when
4881 (set_document_page): handle paper size changes when the page
4882 changes (test with Free Culture, page 2).
4884 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4886 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4887 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4889 Use normal style color for the widget background and
4890 draw a black box around the page.
4892 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4894 * pdf/xpdf/pdf-document.cc:
4896 Keep offset in consideration in a few places
4898 * shell/ev-view.c: (expose_bin_window):
4900 Set the offsets so that the document is ever centered
4902 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4904 * TODO: Added TODO items and finished off the first todo item
4906 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4907 reflect current authors
4909 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4911 * pdf/xpdf/pdf-document.cc:
4912 * shell/ev-view.c: (ev_view_set_cursor),
4913 (ev_view_motion_notify_event), (document_changed_callback),
4914 (set_document_page):
4916 Show a wait cursor while the page is rendering
4918 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4920 * shell/ev-sidebar-thumbnails.c:
4921 (ev_sidebar_tree_selection_changed),
4922 (ev_sidebar_thumbnails_select_page):
4923 * shell/ev-sidebar-thumbnails.h:
4924 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4925 (ev_view_can_go_forward):
4926 * shell/ev-window.c: (ev_window_open_page),
4927 (ev_window_setup_document), (update_current_page),
4928 (view_page_changed_cb), (ev_window_init):
4929 * shell/ev-window.h:
4931 Ensure thumbnails selection, toolbar page control and
4932 current page are in sync.
4934 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4940 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4942 * backend/Makefile.am:
4943 * backend/ev-document-links.h:
4944 * backend/ev-document-security.c: (ev_document_security_get_type),
4945 (ev_document_security_has_document_security),
4946 (ev_document_security_set_password):
4947 * backend/ev-document-security.h:
4948 * backend/ev-document.c: (ev_document_error_quark):
4949 * backend/ev-document.h:
4951 * data/evince-password.glade:
4952 * pdf/xpdf/pdf-document.cc:
4953 * shell/Makefile.am:
4954 * shell/ev-password.c: (ev_password_set_bad_password_label),
4955 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4956 (ev_password_dialog_get_password),
4957 (ev_password_dialog_set_bad_pass):
4958 * shell/ev-password.h:
4959 * shell/ev-window.c: (ev_window_get_attribute),
4960 (ev_window_set_property), (update_action_sensitivity),
4961 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4962 (ev_window_setup_document), (ev_window_get_password),
4963 (ev_window_open), (ev_window_cmd_save_as),
4964 (using_postscript_printer), (ev_window_print),
4965 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4966 (update_fullscreen_popup), (ev_window_fullscreen),
4967 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4968 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4969 (menu_item_select_cb), (find_bar_search_changed_cb),
4970 (ev_window_dispose), (ev_window_init):
4972 Add initial support for password-supported dialogs. This could be
4973 a lot cooler, but it'll do for now.
4975 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4977 * pdf/xpdf/pdf-document.cc:
4978 * shell/ev-view.c: (status_message_from_link),
4979 (ev_view_set_status), (ev_view_set_cursor),
4980 (ev_view_motion_notify_event), (ev_view_init):
4981 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4983 Fix bugs in the links implementation and change cursor
4984 when hovering a link.
4986 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
4988 * viewer/.cvsignore: added cvsignore file for viewer directory
4990 * TODO: created TODO document
4992 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
4995 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
4996 new functions to help with implementation of sensitivity code
4997 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4998 of all actions that might require it. Fixes a crash when you
4999 click on the Zoom actions in a window lacking a document.
5001 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5003 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5006 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5008 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5009 (pixbuf_document_document_iface_init):
5010 * ps/ps-document.c: (ps_document_get_link),
5011 (ps_document_document_iface_init):
5012 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5013 (status_message_from_link), (ev_view_set_status),
5014 (ev_view_set_find_status), (ev_view_motion_notify_event),
5015 (ev_view_button_release_event), (ev_view_set_property),
5016 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5017 (ev_view_get_find_status_message), (update_find_results),
5018 (ev_view_get_status), (ev_view_get_find_status):
5020 * shell/ev-window.c: (view_status_changed_cb),
5021 (view_find_status_changed_cb), (ev_window_init):
5023 View status message support, use it to show the links.
5026 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5028 * backend/ev-document.c: (ev_document_get_link):
5029 * backend/ev-document.h:
5030 * pdf/xpdf/pdf-document.cc:
5031 * shell/ev-application.c: (ev_application_open):
5032 * shell/ev-application.h:
5033 * shell/ev-sidebar-links.c: (selection_changed_cb):
5034 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5035 (ev_view_go_to_link):
5037 Add support for document links
5039 2005-01-13 Anders Carlsson <andersca@gnome.org>
5041 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5043 Set the spin button limits correctly.
5045 * shell/ev-sidebar-thumbnails.c:
5046 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5047 Support changing pages by clicking on the thumbnails.
5049 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5051 * pixbuf/pixbuf-document.c:
5052 (pixbuf_document_thumbnails_get_dimensions),
5053 (pixbuf_document_document_thumbnails_iface_init):
5055 implement get_dimensions
5057 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5059 * ps/ps-document.c: (ps_document_goto_page):
5061 Fix page switching on multipage documents
5063 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5065 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5067 check for NULL before assigning to width and height parameters
5069 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5071 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5072 (pixbuf_document_set_property), (pixbuf_document_get_property):
5074 implement get/set properties
5076 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5078 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5080 return NULL instead of "Unknown", letting the title get set to
5081 the filename when the pdf has no title.
5083 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5085 * ps/ps-document.c: (ps_document_get_page_count),
5086 (ps_document_goto_page):
5088 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5090 * shell/ev-history.c: (ev_history_get_property),
5091 (ev_history_set_property), (ev_history_class_init),
5092 (ev_history_add_page), (ev_history_set_current_index):
5093 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5094 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5095 (ev_navigation_action_finalize):
5096 * shell/ev-navigation-action.h:
5097 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5098 (ev_view_go_forward), (ev_view_get_find_status_message),
5099 (history_index_changed_cb), (ev_view_set_history):
5101 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5102 (update_current_page), (register_custom_actions):
5104 Implement history dropdowns
5106 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5108 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5109 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5110 (ev_view_go_forward):
5111 * shell/ev-window.c: (register_custom_actions):
5113 Fix several history bugs
5115 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5117 * configure.ac: Add «nb» to ALL_LINGUAS.
5119 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5121 * backend/Makefile.am:
5122 * backend/ev-bookmark.c:
5123 * backend/ev-bookmark.h:
5124 * backend/ev-document-bookmarks.c:
5125 * backend/ev-document-bookmarks.h:
5126 * backend/ev-document-links.c: (ev_document_links_get_type),
5127 (ev_document_links_has_document_links),
5128 (ev_document_links_begin_read), (ev_document_links_get_link),
5129 (ev_document_links_get_child), (ev_document_links_next),
5130 (ev_document_links_free_iter):
5131 * backend/ev-document-links.h:
5132 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5133 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5134 (ev_link_get_link_type), (ev_link_set_link_type),
5135 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5136 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5137 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5138 (ev_link_new_external):
5139 * backend/ev-link.h:
5140 * pdf/xpdf/pdf-document.cc:
5141 * shell/Makefile.am:
5142 * shell/ev-application.c: (ev_application_open_link):
5143 * shell/ev-application.h:
5144 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5145 (ev_history_get_link_nth):
5146 * shell/ev-history.h:
5147 * shell/ev-sidebar-bookmarks.c:
5148 * shell/ev-sidebar-bookmarks.h:
5149 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5150 (ev_sidebar_links_class_init), (selection_changed_cb),
5151 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5152 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5153 (do_one_iteration), (populate_links_idle),
5154 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5155 * shell/ev-sidebar-links.h:
5156 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5157 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5160 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5161 * shell/ev-window.h:
5163 Rename bookmark to link, and use "Index" for the sidebar panel.
5165 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5167 * shell/Makefile.am:
5168 * shell/ev-application.c: (ev_application_open_bookmark):
5169 * shell/ev-application.h:
5170 * shell/ev-history.c: (ev_history_init), (free_links_list),
5171 (ev_history_finalize), (ev_history_class_init),
5172 (ev_history_add_link), (ev_history_add_page),
5173 (ev_history_get_link_nth), (ev_history_get_n_links),
5174 (ev_history_get_current_index), (ev_history_set_current_index),
5176 * shell/ev-history.h:
5177 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5178 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5179 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5180 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5183 * shell/ev-window.c: (ev_window_open_bookmark),
5184 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5185 (goto_page_cb), (register_custom_actions):
5186 * shell/ev-window.h:
5188 Initial history implementation. Needs work.
5190 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5192 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5194 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5196 * cut-n-paste/recent-files/egg-recent-item.c:
5197 * cut-n-paste/recent-files/egg-recent-item.h:
5198 * cut-n-paste/recent-files/egg-recent-model.c:
5199 * cut-n-paste/recent-files/egg-recent-util.c:
5200 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5201 * cut-n-paste/recent-files/egg-recent-view.c:
5205 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5207 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5208 (fillGlyph, fillImageMask, drawImage):
5209 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5210 pdf/splash/SplashTypes.h:
5211 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5212 packed mode for Splash.
5214 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5215 RGB8 packed mode, eliminates the pixbuf data creation loop.
5217 * shell/ev-print-job.c (ev_print_job_finalize)
5218 (ev_print_job_set_property, ev_print_job_get_property)
5219 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5220 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5221 (print_closure_finalize, ev_print_job_print): implement
5222 printing (for backends with EvPsExporter)
5224 * shell/ev_print_job.h: update prototypes.
5226 * shell/ev-window.c (ev_window_print): unref print job after
5229 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5230 unless the document implements the EvDocumentFind interface.
5232 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5234 * configure.ac: Added ja to ALL_LINGUAS.
5236 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5238 * pdf/xpdf/pdf-document.cc:
5240 add a FIXME. We should probably not allocate
5241 a bookmark object every time
5243 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5245 * shell/ev-application.c: (ev_application_open),
5246 (ev_application_open_bookmark):
5247 * shell/ev-application.h:
5249 Add a way to open bookmarks
5251 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5252 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5253 (ev_bookmark_set_property), (ev_bookmark_class_init),
5254 (ev_bookmark_new_title), (ev_bookmark_new_link),
5255 (ev_bookmark_new_external):
5257 Support for external uris, better constructors.
5259 * backend/ev-bookmark.h:
5260 * pdf/xpdf/pdf-document.cc:
5261 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5263 Handle external uris
5265 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5267 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5268 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5270 Hook up bookmarks navigation
5272 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5274 * backend/Makefile.am:
5275 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5276 (ev_bookmark_get_title), (ev_bookmark_set_title),
5277 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5278 (ev_bookmark_get_page), (ev_bookmark_set_page),
5279 (ev_bookmark_get_property), (ev_bookmark_set_property),
5280 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5282 * backend/ev-bookmark.h:
5283 * backend/ev-document-bookmarks.c:
5284 (ev_document_bookmarks_get_bookmark):
5285 * backend/ev-document-bookmarks.h:
5286 * pdf/xpdf/pdf-document.cc:
5287 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5289 Add a bookmark object to the backend and use it instead of get_values
5291 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5293 * data/evince-ui.xml:
5295 Cleanup and add select all.
5297 * shell/ev-view.c: (ev_view_select_all),
5298 (ev_view_button_press_event):
5300 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5303 Clear selection on click.
5305 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5307 * shell/ev-sidebar-thumbnails.c
5308 (ev_sidebar_thumbnails_set_document): forgot to unref the
5311 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5313 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5314 at the visible page, not just linearly. This makes it look fast.
5316 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5318 * backend/ev-document-misc.c
5319 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5321 * backend/ev-document-thumbnails.h: New interface to get the size
5324 2005-01-06 Jeremy Katz <katzj@redhat.com>
5326 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5329 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5331 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5332 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5335 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5337 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5339 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5340 fonts. Should fix font problems on systems that have the base
5341 fonts in bitmap format. Reported by James Henstridge
5342 <james@jamesh.id.au>.
5344 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5347 * pdf/xpdf/GfxState.cc:
5349 Fix for CAN-2004-1125
5351 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5353 * shell/ev-view.c: (ev_view_copy):
5355 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5357 Implement Edit->Copy
5359 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5361 * backend/ev-document.c: (ev_document_get_text):
5362 * backend/ev-document.h:
5363 * pdf/xpdf/pdf-document.cc:
5364 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5365 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5366 (ev_view_update_primary_selection), (ev_view_button_press_event),
5367 (ev_view_motion_notify_event), (ev_view_button_release_event):
5369 Beginnings of clipboard support. Incomplete but primary sort
5372 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5374 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5375 (expose_bin_window):
5377 Nicer rubberband drawing, from GtkIconView.
5379 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5381 * backend/ev-document.c: (ev_document_save):
5382 * backend/ev-document.h:
5383 * data/evince-ui.xml:
5384 * pdf/xpdf/pdf-document.cc:
5385 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5387 Implement "Save a copy..." menu item
5389 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5391 * shell/ev-view.c: (ev_view_zoom):
5393 Queue a resize when zoom changes
5395 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5397 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5400 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5403 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5405 * pdf/xpdf/pdf-document.cc
5406 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5408 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5410 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5411 It's slow, but I'll speed it up next!
5413 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5415 * shell/main.c (load_files):
5417 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5418 from the command line and because it seems more appropriate.
5420 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5422 * data/evince-ui.xml:
5423 * shell/ev-window.c: (update_action_sensitivity),
5424 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5426 s/next page/page down
5427 s/previous page/page up
5429 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5431 * data/evince-ui.xml:
5433 Change the layout to match clarkbw design.
5435 * shell/Makefile.am:
5436 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5437 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5438 (ev_navigation_action_finalize),
5439 (ev_navigation_action_set_property),
5440 (ev_navigation_action_get_property),
5441 (ev_navigation_action_class_init):
5442 * shell/ev-navigation-action.h:
5444 Implement clarkbw toolbar navigation controls (incomplete)
5446 * shell/ev-page-action.c: (update_label), (update_spin),
5447 (value_changed_cb), (create_tool_item), (connect_proxy),
5448 (ev_page_action_init), (ev_page_action_finalize),
5449 (ev_page_action_set_property), (ev_page_action_get_property),
5450 (ev_page_action_set_current_page),
5451 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5452 * shell/ev-page-action.h:
5454 Implement a page switcher in the toolbar
5456 * shell/ev-view.c: (ev_view_scroll_view):
5457 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5458 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5459 (register_custom_actions), (ev_window_init):
5461 Change page on PageUp/Down.
5463 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5465 * pdf/xpdf/pdf-document.cc
5466 (pdf_document_thumbnails_get_thumbnail): initial stab at
5467 implementing thumbnail support for pdfs. It only does documents
5468 with precached pdfs now.
5470 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5472 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5473 thumbnail code into a time-based idle as well. Also, turn off the
5474 shadow temporarily as it's really slow.
5476 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5478 * backend/ev-document.c: (ev_document_class_init):
5479 * pdf/xpdf/pdf-document.cc:
5480 * shell/ev-window.c: (ev_window_open):
5482 Fix document title bugs and fallback to
5483 filename when not available.
5485 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5487 * backend/ev-document.c: (ev_document_get_type),
5488 (ev_document_class_init), (ev_document_load),
5489 (ev_document_get_title):
5490 * backend/ev-document.h:
5491 * pdf/xpdf/pdf-document.cc:
5492 * ps/ps-document.c: (ps_document_set_property),
5493 (ps_document_get_property), (ps_document_class_init),
5497 * shell/ev-window.c: (update_window_title), (ev_window_open),
5500 Initial support for document title. Not working yet.
5502 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5504 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5506 Grab focus on the view when clicking it
5508 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5510 * shell/ev-marshal.list:
5511 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5512 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5514 Add key bindings to the view. Now if the focus would work
5517 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5520 * backend/Makefile.am:
5523 * dvi/dvilib/Makefile.am:
5524 * pdf/xpdf/Makefile.am:
5530 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5532 * shell/ev-view.c: (ev_view_realize):
5534 Fix mouse wheel scrolling
5536 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5542 * ps/ps-document.c: (catchPipe), (ps_document_init),
5543 (ps_document_class_init), (ps_document_cleanup),
5544 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5545 (set_up_page), (close_pipe), (is_interpreter_ready),
5546 (interpreter_failed), (output), (input), (start_interpreter),
5547 (stop_interpreter), (file_length), (file_readable),
5548 (check_filecompressed), (check_pdf), (compute_xdpi),
5549 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5550 (ps_document_get_type), (ps_document_emit_error_msg),
5551 (document_load), (ps_document_next_page),
5552 (ps_document_get_current_page), (ps_document_get_page_count),
5553 (ps_document_goto_page), (ps_document_set_page_size),
5554 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5555 (ps_document_load), (ps_document_get_n_pages),
5556 (ps_document_set_page), (ps_document_get_page),
5557 (ps_document_widget_event), (ps_document_set_target),
5558 (ps_document_set_scale), (ps_document_set_page_offset),
5559 (ps_document_get_page_size), (ps_document_render),
5560 (ps_document_document_iface_init):
5563 * shell/ev-window.c: (ev_window_open):
5565 Rename GtkGS to PSDocument
5567 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5569 * ps/gtkgs.c: (gtk_gs_class_init):
5572 Some more leftover...
5574 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5576 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5577 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5578 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5581 Remove unused code and make a lot of stuff private
5583 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5585 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5586 (gtk_gs_defaults_changed):
5592 Cleanup headers dependencies
5594 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5599 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5601 * ps/gtkgs.c: (file_length), (file_readable),
5602 (check_filecompressed), (check_pdf), (gtk_gs_load),
5603 (gtk_gs_get_postscript):
5607 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5612 * ps/gtkgs.c: (gtk_gs_set_zoom):
5616 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5618 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5620 Ensure the page is rerendered when changing zoom
5622 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5624 * backend/ev-document.c: (ev_document_base_init),
5625 (ev_document_changed):
5626 * backend/ev-document.h:
5628 Add a changed event that is emitted when the page content
5629 changes. This is necessary to deal with the fact that
5630 in ps backend rendering happen asycrounously.
5631 This makes the ps backend mostly work.
5633 * pdf/xpdf/pdf-document.cc:
5637 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5638 (ps_document_set_target):
5642 * shell/ev-view.c: (document_changed_callback),
5643 (ev_view_set_document), (ev_view_set_page):
5645 Redraw on the changed signal
5647 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5649 * configure.ac: Added pt_BR to ALL_LINGUAS.
5651 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5653 * backend/ev-document-bookmarks.c:
5654 (ev_document_bookmarks_get_child): *
5655 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5656 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5657 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5658 (ev_sidebar_bookmarks_destroy),
5659 (ev_sidebar_bookmarks_class_init),
5660 (ev_sidebar_bookmarks_construct), (stack_data_free),
5661 (do_one_iteration), (populate_bookmarks_idle),
5662 (ev_sidebar_bookmarks_clear_document),
5663 (ev_sidebar_bookmarks_set_document): *
5664 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5665 (ev_sidebar_add_page),
5666 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5667 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5668 it displays both the topics and the page numbers.
5670 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5672 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5674 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5677 2004-12-23 Adam Weinberger <adamw@gnome.org>
5679 * configure.ac: Added en_CA to ALL_LINGUAS.
5681 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5683 * ChangeLog: replace bottom of this ChangeLog (merged history of
5684 ggv and gpdf; where all paths were wrong and most of the files are
5685 not even in this tree) with ChangeLog (from arch) of the shell
5688 2004-12-23 Havoc Pennington <hp@redhat.com>
5690 * shell/ev-window.c: hook up potentially-questionable "find
5691 results status text" feature - something involving the sidebar or
5692 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5693 might be better in the end.
5695 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5696 with corresponding signal when it should be updated
5698 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5700 2004-12-22 Havoc Pennington <hp@redhat.com>
5702 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5703 find stuff on other pages, sort of (only returns one result on
5704 invisible pages, to show they have results; updates full results
5705 for a page when you view it). Currently repaints the current page
5706 every time a new result is found on any page, which isn't so nice.
5708 2004-12-22 Havoc Pennington <hp@redhat.com>
5710 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5711 the document doesn't support find (better ideas?)
5712 (find_bar_search_changed_cb): handle missing document or document
5713 that doesn't support find
5715 * pdf/xpdf/pdf-document.cc: port to implement the new
5718 * backend/ev-document-find.c: create a new interface for searching
5720 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5722 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5724 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5727 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5728 EvPrintJob constructor arguments.
5730 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5731 for documents that can export PostScript (page by page).
5733 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5735 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5736 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5737 (pdf_document_ps_exporter_iface_init:
5738 Implement EvPSExporter.
5740 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5742 2004-12-22 Anders Carlsson <andersca@gnome.org>
5744 * backend/Makefile.am:
5745 * backend/ev-document-thumbnails.c:
5746 (ev_document_thumbnails_get_type),
5747 (ev_document_thumbnails_get_thumbnail):
5748 * backend/ev-document-thumbnails.h:
5749 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5750 (pixbuf_document_thumbnails_get_thumbnail),
5751 (pixbuf_document_document_thumbnails_iface_init):
5752 * shell/Makefile.am:
5753 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5754 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5755 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5756 * shell/ev-sidebar-thumbnails.h:
5757 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5758 (ev_sidebar_set_document):
5759 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5760 (create_shadow), (ev_pixbuf_add_shadow):
5762 Add thumbnail support.
5764 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5766 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5767 (using_postscript_printer): Set up a print dialog for "PostScript
5770 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5773 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5775 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5777 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5778 (ps_document_set_target), (ps_document_get_page_size),
5779 (ps_document_render):
5784 2004-12-22 Christian Rose <menthos@menthos.com>
5786 * configure.ac: Added "sv" to ALL_LINGUAS.
5788 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5790 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5791 document supports bookmarks.
5793 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5795 * ps/ggvutils.c: (ggv_file_readable):
5797 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5798 (gtk_gs_get_postscript):
5802 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5804 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5805 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5806 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5807 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5808 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5809 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5810 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5811 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5812 (gtk_gs_set_antialiasing), (ps_document_load),
5813 (ps_document_render):
5816 Another check point for the ps backend. Now I can get it to show
5819 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5821 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5822 document setting code.
5824 2004-12-22 Anders Carlsson <andersca@gnome.org>
5826 * shell/eggfindbar.c: (entry_activate_callback):
5827 Animate the next button when activate is pressed.
5829 2004-12-22 Anders Carlsson <andersca@gnome.org>
5831 * shell/ev-window.c: (ev_window_cmd_edit_find),
5832 (update_fullscreen_popup), (ev_window_fullscreen),
5833 (ev_window_unfullscreen), (ev_window_state_event_cb),
5834 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5835 Fix bugs in fullscreen code.
5837 2004-12-22 Anders Carlsson <andersca@gnome.org>
5841 * pixbuf/Makefile.am:
5842 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5843 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5844 (pixbuf_document_set_page), (pixbuf_document_get_page),
5845 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5846 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5847 (pixbuf_document_render), (pixbuf_document_begin_find),
5848 (pixbuf_document_end_find), (pixbuf_document_finalize),
5849 (pixbuf_document_class_init),
5850 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5851 * pixbuf/pixbuf-document.h:
5852 * shell/Makefile.am:
5853 * shell/ev-application.c: (ev_application_open):
5854 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5858 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5861 * dvi/dvilib/Makefile.am:
5863 * configure.ac: Auto*ify dvi and dvi/dvilib
5865 * dvi/Makefile: Remove from CVS
5867 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5870 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5872 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5874 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5877 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5878 (gtk_gs_value_adjustment_changed), (compute_size),
5879 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5880 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5881 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5882 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5883 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5884 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5885 (ps_document_load), (ps_document_get_n_pages),
5886 (ps_document_set_page), (ps_document_get_page),
5887 (ps_document_set_target), (ps_document_set_scale),
5888 (ps_document_set_page_offset), (ps_document_get_page_size),
5889 (ps_document_render), (ps_document_begin_find),
5890 (ps_document_end_find), (ps_document_document_iface_init):
5892 * shell/Makefile.am:
5893 * shell/ev-window.c: (ev_window_open):
5895 Some work to integrate gtkgs with EvDocument
5897 2004-12-22 Anders Carlsson <andersca@gnome.org>
5899 * shell/ev-window.c: (update_fullscreen_popup),
5900 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5901 (exit_fullscreen_button_clicked_cb),
5902 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5903 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5904 (ev_window_state_event_cb), (ev_window_init):
5905 Add fullscreen support from Epiphany.
5907 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5909 * data/ev-stock-zoom-fit-width.png: fit-width
5910 stock icon from gpdf.
5912 * shell/ev-stock-icons.[ch]: copied from gpdf.
5914 * shell/main.c: (main): init stock icons.
5916 * shell/ev-window.c: use the fit-width icon.
5918 * data/evince-ui.xml: add zooming toolbar items.
5920 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5923 (ev_view_best_fit), (ev_view_fit_width): because
5924 get_page_size() returns the scaled page size, we
5925 need to calculate the scale factor relative to
5926 the previous scale factor. Should really just
5927 add get_real_page_size().
5929 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5931 * shell/ev-view.[ch]:
5932 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5933 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5936 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5937 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5938 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5941 * pdf/xpdf/pdf-document.cc:
5942 (pdf_document_begin_find),
5943 (pdf_document_end_find): make static.
5945 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5947 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5949 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5950 names to fontconfig patterns.
5951 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5953 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5956 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5972 Import ggv backend. Not hooked up yet.
5974 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5976 * shell/main.c: (load_files), (main): load files
5977 from the command line.
5979 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5981 * configure.ac: don't require bonobo.
5983 * cut-n-paste/recent-files/*: kill bonobo recent
5986 * shell/ev-window.c:
5987 (ev_window_is_empty): upd.
5988 (unable_to_load), (ev_window_open): load backend
5989 based on the mime type.
5991 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5993 * backend/.cvsignore: ignore generated marshalers source.
5995 * shell/main.c (main): this is not epiphany.
5997 2004-12-22 Havoc Pennington <hp@redhat.com>
5999 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6000 (expose_bin_window): draw find highlights
6002 * shell/ev-window.c (find_bar_search_changed_cb): implement
6004 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6005 (pdf_document_end_find): implement this interface
6007 * backend/ev-document.c (ev_document_found): add this to emit
6010 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6012 * data/evince-ui.xml: Add a few more toolbar items.
6014 * shell/ev-window.c: Hook up page navigation toolbar
6017 * shell/ev-view.[ch]: add ev_view_set/get_page and
6018 a page-changed signal.
6020 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6021 Add ev_document_get_page().
6023 * shell/ev-window.c: Sensitize/desensitize navigation
6026 2004-12-21 Havoc Pennington <hp@redhat.com>
6028 * backend/ev-backend-marshal.c,
6029 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6030 marshaler-generator thingy. I'm sure there's a better way to do
6031 this in the modern world.
6033 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6034 end_find methods and "found" signal.
6036 * configure.ac: find glib-genmarshal
6038 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6040 * shell/ev-sidebar.c: Construct an actual sidebar.
6041 * shell/ev-sidebar-bookmarks.[ch]:
6042 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6044 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6046 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6049 * shell/ev-view.c: Track the size from the document.
6051 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6053 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6054 constructor assumes ownership of the string passed in.
6056 * shell/ev-window.c (ev_window_open): Destroy the error
6057 dialog once we've displayed it.
6059 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6061 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6062 a bit, it works! (sort of)
6064 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6065 Move to .cc since we need to use C++ in the implementation.
6067 * shell/dummy.cc: Add a CC file to force evince
6068 to be linked as a C++ program.
6070 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6072 * shell/ev-view.[ch]: Start of content-area widget.
6074 * shell/ev-window.c: Create a EvView, update it
6075 as we change documents.
6077 * shell/Makefile.am shell/ev-marshal.list: Add
6078 generated marshalers.
6080 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6082 * Makefile.am (SUBDIRS): move shell.
6084 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6086 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6087 .a to libtool convenience libraries.
6089 * shell/ev-window.c (ev_window_open): Hard code loading
6092 * backend/ev-document.h: Add a boolean return to load(),
6093 fix GError * to GError **.
6095 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6096 object for a PDF backend EvDocument.
6098 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6100 * dvi/*: New directory with the beginning of a .dvi backend.
6102 2004-12-21 Havoc Pennington <hp@redhat.com>
6104 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6105 previous/next instead of back/forward
6107 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6109 * backend/ev-document.[ch]: Fix a couple of problems so
6112 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6114 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6115 to backend/ directory, rename EvViewer to EvDocument.
6117 2004-12-21 Havoc Pennington <hp@redhat.com>
6119 * shell/ev-window.c: hook up the find bar widget; now we just need
6120 a document to find things in
6122 * shell/eggfindbar.c: a find bar widget
6124 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6126 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6128 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6130 * pdf/**: Import of xpdf code from gpdf.
6132 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6134 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6135 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6136 Fix FreeType includes.
6138 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6139 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6140 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6141 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6142 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6143 Include xpdfconfig.h
6145 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6147 * shell/ev-window.c (ev_window_dispose): dispose can be called
6150 2004-12-21 Havoc Pennington <hp@redhat.com>
6152 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6155 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6156 items; really they should be synced with the strings, etc. from
6157 current gpdf, but just getting the boring typing out of the way
6159 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6162 * shell/ev-application.c: (window_destroy_cb):
6163 * shell/ev-window.c:
6164 * shell/main.c: (main):
6166 Actually show the window...
6168 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6171 * shell/Makefile.am:
6172 * shell/ev-application.c: (ev_application_class_init):
6173 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6177 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6179 Import to gnome cvs.
6181 * Remove copies of gpdf and ggv trees.
6182 * Rip out all the recursive configure code.
6183 * Remove bonobo machinery.
6184 * viewer/*: GInterfaces that backends should/can implement.
6186 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6188 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6191 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6193 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6194 (ev_application_finalize, ev_application_class_init)
6195 (ev_application_init): use GType instance private data for priv.
6197 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6198 (ev_window_finalize, ev_window_class_init)
6199 (ev_window_init): ditto.
6201 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6203 * shell/ev-application.c (ev_application_new_window): make public
6204 (ev_application_show_initial_window): kill.
6206 * shell/ev-application.h: update prototypes.
6208 * shell/main.cc (main): inline ev_application_show_initial_window.
6210 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6212 * shell/ev-application.c (ev_application_new_window): impl.
6213 (ev_application_show_initial_window): use it.
6214 (is_window_empty, ev_application_get_empty_window): returns an
6215 existing empty window or a new one.
6216 (ev_application_open): from ev_window_cmd_file_open.
6218 * shell/ev-application.h: update prototypes
6220 * shell/ev-window.c (ev_window_is_empty): impl.
6221 (ev_window_open): make public.
6222 (ev_window_cmd_file_open): use ev_application_open
6224 * shell/ev-window.h: update prototypes, remove unused.
6226 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6228 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6229 move destroy handler out of here...
6231 * shell/ev-application.c, shell/ev-application.h: ...into this new
6232 class. Also handles initial window creation.
6234 * shell/main.cc (main): use EvApplication to create initial
6237 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6239 * Makefile.am (SUBDIRS): add cut-n-paste
6241 * cut-n-paste/Makefile.am: add
6243 * configure.ac: generate Makefiles in cut-n-paste
6245 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6247 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6248 (ev_window_class_init): install ev_window_dispose.
6250 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6252 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6253 char (gchar looks stupid).
6255 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6257 * po/de.po: updated German translation.
6259 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6261 * configure.ac: add more pkg-config library checks for gnome-vfs,
6264 * gpdf/configure.in: temporarily disable libpaper
6265 checks. Otherwise I'd have to add the checks for the shell, too.
6267 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6269 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6270 and * file filters to the file choose.
6272 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6274 * po/de.po: Updated German translation.
6276 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6278 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6280 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6282 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6284 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6285 (ev_window_init): implement those menuitems.
6287 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6289 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6291 * shell/ev-window.c (ev_window_init): use the toolbar.
6293 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6295 * shell/ev-window.c (ev_window_init): use menu translations
6297 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6299 * configure.ac: add "de" to ALL_LINGUAS.
6301 * po/de.po: add German translation.
6303 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6305 * Makefile.am (SUBDIRS): add po
6307 * configure.ac: check intltool, glib-gettext etc, generate
6310 * po, po/POTFILES.in, po/POTFILES.skip: new.
6312 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6314 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6315 already use (#ifdef ENABLE_NLS)
6317 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6318 pointer indirection thinko.
6320 * shell/main.c: include gi18n.h for bindtextdomain etc.
6322 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6324 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6325 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6326 tooltips for menu items in the statusbar.
6328 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6330 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6331 pkgdatadir drop UIDIR
6333 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6335 * data/evince-ui.xml: Add File->Open menu item
6337 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6338 chooser), hook it up in the ui manager.
6340 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6342 * shell/ev-window.c: fix Help->About tooltip.
6344 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6346 * configure.ac: set CFLAGS for libevprivate.
6348 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6349 definitions, factory etc.
6351 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6353 * shell/Makefile.am: link against libevprivate.a.
6355 * shell/ev-window.c (entries): add stock icon to Help->About.
6357 * shell/main.c (main): init stock icon code.
6359 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6361 * lib/recent-files: egg recent files code
6363 * lib/Makefile.am: add.
6365 * Makefile.am: add lib subdir.
6367 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6368 set CFLAGS for recent-files.
6370 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6372 * configure.ac: disable -ansi and -pedantic gcc flags. They
6373 disable POSIX stuff in stdio.h, but egg-recent uses them.
6375 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6377 * configure.ac: add --disable-deprecated flag (defaults to on in
6380 * shell/Makefile.am (INCLUDES): use it.
6382 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6384 * shell/main.c: add missing #include.
6386 * shell/ev-window.c: fix for pedantic gcc.
6387 (ev_window_cmd_help_about): split license into paragraphs for
6388 translators and pedantic compilers.
6390 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6392 * configure.ac: add more warning flags if compiling with gcc from
6393 cvs (or explicitly requested with --enable-more-warnings).
6395 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6397 * data/evince-ui.xml: add File and File->Close menu.
6399 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6400 (ev_window_destroy): quit after destroy.
6401 (ev_window_class_init): override GtkObject::destroy.
6402 (entries): install close_window callback.
6404 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6406 * Makefile.am (SUBDIRS): add data subdir.
6408 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6409 gtk+ 2.5.0 for GtkAboutDialog.
6411 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6414 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6416 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6418 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6420 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6422 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6424 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6426 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6428 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6430 * shell/*: Added shell directory boilerplate, build it.
6432 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6434 * configure.ac, Makefile.am: Added top-level configure.ac and