1 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
3 * shell/ev-window.c: (load_print_config_from_file),
4 (save_print_config_to_file), (ev_window_print_range):
6 Persist the print settings. Fixes bug #311578.
8 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
10 * djvu/djvu-document.c: (djvu_document_get_page_size),
11 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
12 (djvu_document_thumbnails_get_thumbnail):
13 * dvi/dvi-document.c: (dvi_document_get_page_size),
14 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
15 (dvi_document_thumbnails_get_dimensions),
16 (dvi_document_thumbnails_get_thumbnail):
17 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
18 (pixbuf_document_render_pixbuf),
19 (pixbuf_document_document_iface_init),
20 (pixbuf_document_thumbnails_get_thumbnail):
22 Update backends to make them build with new rotation system.
24 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
26 * help/C/figures/evince_start_window.png:
28 Update documentation image from Luca Ferretti <elle.uca@libero.it>
30 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
32 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
33 * shell/ev-pixbuf-cache.h:
34 * shell/ev-sidebar-thumbnails.c:
35 (ev_sidebar_thumbnails_get_property), (add_range),
36 (adjustment_changed_cb):
37 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
38 pixbuf cache. Make thumbnailing work again. Also, fix bug where
39 we were thumbnailing the entire docment on startup, slowing us
42 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
44 * shell/ev-page-cache.c: (ev_page_cache_new):
45 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
48 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
50 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
51 (ev_view_rotate_left):
53 Account rotation in doc_rect_to_view_rect.
54 Ensure rotation doesnt go out of bounds.
56 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
58 * shell/ev-page-cache.c: (ev_page_cache_get_size):
60 Correct and cleanup w/h swapping
62 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
64 * backend/ev-document-thumbnails.c:
65 (ev_document_thumbnails_get_thumbnail):
66 * backend/ev-document-thumbnails.h:
67 * backend/ev-document.c:
68 * backend/ev-document.h:
69 * backend/ev-render-context.c: (ev_render_context_new),
70 (ev_render_context_set_rotation):
71 * backend/ev-render-context.h:
73 * ps/ps-document.c: (ps_document_document_iface_init):
74 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
76 * shell/ev-page-cache.c: (build_height_to_page),
77 (ev_page_cache_new), (ev_page_cache_get_size),
78 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
79 (ev_page_cache_get_height_to_page):
80 * shell/ev-page-cache.h:
81 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
82 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
83 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
84 (ev_pixbuf_cache_get_selection_pixbuf):
85 * shell/ev-pixbuf-cache.h:
86 * shell/ev-print-job.c: (idle_print_handler):
87 * shell/ev-sidebar-thumbnails.c: (add_range):
88 * shell/ev-view.c: (view_update_range_and_current_page),
89 (get_page_y_offset), (get_page_extents),
90 (ev_view_size_request_continuous_dual_page),
91 (ev_view_size_request_continuous),
92 (ev_view_size_request_dual_page),
93 (ev_view_size_request_single_page), (draw_one_page),
94 (ev_view_set_rotation), (ev_view_rotate_right),
95 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
96 (ev_view_zoom_for_size_continuous_and_dual_page),
97 (ev_view_zoom_for_size_continuous),
98 (ev_view_zoom_for_size_dual_page),
99 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
100 (ev_view_select_all):
101 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
102 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
103 (tiff_document_document_iface_init),
104 (tiff_document_thumbnails_get_thumbnail):
106 Use rotation rather than orientation. It's easier and enough
109 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
111 * shell/ev-page-cache.c: (build_height_to_page),
112 (ev_page_cache_new), (ev_page_cache_get_size),
113 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
114 (ev_page_cache_get_height_to_page):
115 * shell/ev-page-cache.h:
116 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
117 (ev_view_size_request_continuous_dual_page),
118 (ev_view_size_request_continuous),
119 (ev_view_zoom_for_size_continuous_and_dual_page),
120 (ev_view_zoom_for_size_continuous):
122 Make the page cache aware of page orientation.
124 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
126 * backend/ev-document-thumbnails.c:
127 (ev_document_thumbnails_get_thumbnail):
128 * backend/ev-document-thumbnails.h:
129 * backend/ev-document.c:
130 * backend/ev-document.h:
131 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
132 * backend/ev-ps-exporter.h:
134 * ps/ps-document.c: (ps_document_document_iface_init),
135 (ps_document_ps_export_do_page):
136 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
138 * shell/ev-page-cache.c: (ev_page_cache_get_size),
140 * shell/ev-page-cache.h:
141 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
142 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
143 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
144 * shell/ev-pixbuf-cache.h:
145 * shell/ev-print-job.c: (idle_print_handler):
146 * shell/ev-sidebar-thumbnails.c: (add_range):
147 * shell/ev-view.c: (view_update_range_and_current_page),
148 (get_page_extents), (ev_view_size_request_dual_page),
149 (ev_view_size_request_single_page), (draw_one_page),
150 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
151 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
152 (ev_view_zoom_for_size_dual_page),
153 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
154 (ev_view_select_all):
155 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
156 * tiff/tiff-document.c: (tiff_document_get_page_size),
157 (tiff_document_get_orientation), (rotate_pixbuf),
158 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
159 (tiff_document_thumbnails_get_thumbnail),
160 (tiff_document_ps_export_do_page), (tiff_document_init):
162 Really make use of the orientation bit of the render context.
163 Use the render context in a few more places in the backend API.
164 This regress orientation, but now it's done right. Will try to
167 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
169 * shell/ev-view.c: (ensure_rectangle_is_visible):
171 Patch by Nickolay V. Shmyrev to fix find flickering
173 2005-07-27 Martin Kretzschmar <martink@gnome.org>
175 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
176 duplex parameters to ::begin.
178 * tiff/tiff-document.c (tiff_document_ps_export_begin):
179 * shell/ev-print-job.c (idle_print_handler):
180 * ps/ps-document.c (ps_document_ps_export_begin):
181 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
182 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
183 implementations. Poppler backend needs poppler cvs. Rest has
186 2005-07-25 Martin Kretzschmar <martink@gnome.org>
188 * shell/ev-window.c (using_pdf_printer): new function.
189 (ev_window_print_range): print a less techy message if someone
190 tries to print to PDF.
192 2005-07-25 Martin Kretzschmar <martink@gnome.org>
194 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
195 from "unknown font" string. Bug #311431
197 2005-07-24 Martin Kretzschmar <martink@gnome.org>
199 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
201 2005-07-24 Martin Kretzschmar <martink@gnome.org>
205 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
206 name for PopplerFontTypes
207 (pdf_document_fonts_fill_model): add font type to the detail column
209 * backend/ev-document-fonts.h: added
210 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
212 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
213 font name and font details, add a little markup.
214 (ev_properties_fonts_init): use the new cell data func, specify ypad
215 property for the cell renderer.
216 (ev_properties_fonts_set_document): add the details column.
218 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
220 * configure.ac: Added "pl" to ALL_LINGUAS.
222 2005-07-24 Danilo Ĺ egan <danilo@gnome.org>
224 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
226 2005-07-23 Tommi Vainikainen <thv@iki.fi>
228 * help/ChangeLog: Started this for translations of manual.
229 * configure.ac, autogen.sh, .cvsignore: Migrated to
230 gnome-doc-utils. Patch in bug #311222.
232 2005-07-22 Martin Kretzschmar <martink@gnome.org>
234 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
235 #ifdef this away to fix an unused-function warning.
237 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
239 * configure.ac: Added 'gl' to ALL_LINGUAS.
241 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
243 * configure.ac: Added ne in ALL_LINGUAS
245 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
247 * shell/ev-view.c: (ev_view_leave_notify_event):
249 Clear status message when pointer leaves view. Fix for bug
252 2005-07-20 Ankit Patel <ankit644@yahoo.com>
254 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
256 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
258 * shell/ev-view.c: (ev_view_leave_notify_event),
259 (ev_view_class_init):
261 Set cursor to normal then leaving view.
263 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
267 Fix required djvulibre version.
269 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
271 *configure.ac: Hindi (hi) language added
273 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
275 *configure.ac: Punjabi (pa) Language added
277 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
279 * data/evince-ui.xml, shell/ev-window.c:
281 Add keypad accelerators for zooming. Fix for bug 308128.
283 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
286 * backend/Makefile.am:
287 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
289 * shell/ev-document-types.c: (ev_document_types_add_filters):
291 Allow to enable/disable the pixbuf backend.
292 Default to off for now. If we want it enabled we should
293 really put mime types in the desktop, implement properties etc.
295 * properties/evince-properties.c:
297 Initialize error to NULL.
298 Check error is not NULL before freeing.
300 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
304 Use F5 as presentation accell
306 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
308 * shell/ev-window.c: (update_chrome_visibility),
309 (ev_window_create_fullscreen_popup), (ev_window_init):
311 Do not leak the fullscreen toolbar
313 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
315 * shell/ev-window.c: (view_actions_focus_in_cb),
316 (view_actions_focus_out_cb):
318 These has a return value! Fix totally random focus
319 issues we was seeing.
321 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
323 * shell/main.c: (load_files_remote):
325 Allow open more than one file
327 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
329 * shell/main.c: (load_files_remote):
331 Fix for dbus 0.33. bug #309975
333 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
335 * properties/ev-properties-main.c: (ev_properties_get_pages):
337 Actually return NULL for types we dont support
339 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
345 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
347 * backend/ev-document-factory.c:
348 (ev_document_factory_get_document):
350 Do not try to create the object if type
353 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
355 * ps/ps-document.c: (ps_document_dispose),
356 (ps_async_renderer_render_pixbuf):
359 Do not leak the target window
361 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
363 * shell/ev-application.c: (ev_application_init):
365 Let tbe check file existence for us.
366 Add a comment about eggrecent mime filter.
368 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
370 * data/evince-ui.xml:
371 * shell/ev-application.c: (ev_application_shutdown),
372 (ev_application_init), (ev_application_get_toolbars_model),
373 (ev_application_get_recent_model),
374 (ev_application_save_toolbars_model):
375 * shell/ev-application.h:
376 * shell/ev-window.c: (ev_window_add_recent),
377 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
378 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
381 Use common toolbar and recent models for all windows.
382 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
384 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
386 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
387 successfully check for gtk_icon_view_get_visible_range.
389 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
394 Fix djvu and dvi backend build.
396 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
398 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
399 (new_separator_pixbuf):
403 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
405 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
407 HIGification of toolbar editor dialogue.
409 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
414 Ever build metadata manager since it's just
415 disabled at runtime now.
417 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
419 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
420 (ev_metadata_manager_get), (ev_metadata_manager_set):
421 * shell/ev-metadata-manager.h:
423 Add an _init functions that enabled metadata management
426 * shell/ev-window.c: (page_changed_cb),
427 (setup_document_from_metadata), (ev_window_setup_document),
428 (setup_view_from_metadata), (ev_window_open_uri),
429 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
430 (ev_window_run_presentation), (ev_window_stop_presentation),
431 (save_sizing_mode), (ev_window_zoom_changed_cb),
432 (ev_window_continuous_changed_cb),
433 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
434 (window_configure_event_cb):
436 Remove all ugly metadata define since we deal with it
439 * shell/main.c: (load_files_remote), (main):
441 Add support for dbus cvs head. Hopefully didnt break one
442 of the other versions now!
444 If we dont get a response from the dbus server just
445 give up with it and not enable metadata.
447 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
450 * backend/Makefile.am:
452 * cut-n-paste/recent-files/Makefile.am:
453 * cut-n-paste/toolbar-editor/Makefile.am:
454 * cut-n-paste/zoom-control/Makefile.am:
457 * pixbuf/Makefile.am:
458 * properties/Makefile.am:
461 * thumbnailer/Makefile.am:
464 Make frontends depend on just libev.
465 Rework and group CFLAGS/LIBS definitions.
468 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
472 do not unnecessarily save zoom
475 * lib/ev-file-helpers.c: (ev_dot_dir):
481 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
485 Remove unnecessary dependencies
487 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
489 * properties/Makefile.am:
490 * thumbnailer/Makefile.am:
493 Some more cleanups. Was really necessary
494 but I probably introduced bugs, feel free
497 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
499 * backend/Makefile.am:
501 * cut-n-paste/recent-files/Makefile.am:
502 * cut-n-paste/toolbar-editor/Makefile.am:
503 * cut-n-paste/zoom-control/Makefile.am:
506 * pixbuf/Makefile.am:
507 * properties/Makefile.am:
510 * thumbnailer/Makefile.am:
513 Use gnome-common macros when possible.
514 Cleanup dependencies.
515 Actually disable deprecated where possible.
517 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
520 * backend/Makefile.am:
521 * properties/Makefile.am:
523 * thumbnailer/Makefile.am:
525 This should solve the circular dep without
528 * shell/ev-window.c: (setup_view_from_metadata):
530 Never restore window size/position when the
531 window is already visible.
533 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
535 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
537 Return a boolean from timeout func. Fix ported from gedit.
539 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
541 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
543 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
545 * shell/ev-document-types.c: set "All Documents" as default filter in
548 2005-07-06 Martin Kretzschmar <martink@gnome.org>
550 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
551 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
552 (ev_metadata_manager_set_boolean): fix value/val thinko.
554 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
556 * shell/ev-window.c: (setup_view_from_metadata),
557 (window_state_event_cb), (window_configure_event_cb),
560 Remember window position and maximized state
562 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
566 Fix DBUS configure checks.
568 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
569 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
570 (ev_metadata_manager_set_boolean):
574 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
575 (ev_window_stop_fullscreen), (ev_window_run_presentation),
576 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
577 (ev_window_continuous_changed_cb),
578 (ev_window_dual_mode_changed_cb), (ev_window_new):
580 Fix the build without DBUS.
582 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
584 * shell/ev-metadata-manager.c: (parse_value), (save_values),
585 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
586 (ev_metadata_manager_set_string),
587 (ev_metadata_manager_set_boolean):
588 * shell/ev-metadata-manager.h:
590 Add support for some more types
592 * shell/ev-view.c: (scroll_to_current_page),
593 (ev_view_get_continuous), (ev_view_set_continuous),
594 (ev_view_get_dual_page):
596 * shell/ev-window.c: (page_changed_cb),
597 (setup_document_from_metadata), (ev_window_setup_document),
598 (setup_view_from_metadata), (ev_window_open_uri),
599 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
600 (ev_window_run_presentation), (ev_window_stop_presentation),
601 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
602 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
603 (ev_window_update_dual_page_action),
604 (ev_window_continuous_changed_cb),
605 (ev_window_dual_mode_changed_cb), (ev_window_init):
607 Remember a bunch of view/document properties. Prolly some
608 are still missing but it's getting interesting.
610 2005-07-05 Martin Kretzschmar <martink@gnome.org>
612 * configure.ac: check if dbus-binding-tool is installed. Not the
613 case on current Ubuntu breezy, it seems.
615 2005-07-05 Luca Ferretti <elle.uca@libero.it>
617 * data/evince.desktop.in.in:
619 Allow open uri lists and add TryExec field.
621 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
625 Enable dbus when available, do not require a configure
628 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
632 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
635 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
636 Marco Pesenti Gritti <mpg@redhat.com>
638 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
640 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
641 functions to the format required by dbus
643 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
644 errors. Use the RPC parameters in the expected way
646 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
649 * properties/Makefile.am:
650 * properties/ev-properties-main.c: (ev_properties_get_pages):
652 Support all mime types
655 * thumbnailer/Makefile.am:
656 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
657 (evince_thumbnail_pngenc_get):
659 Use the document factory
661 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
663 * backend/Makefile.am:
664 * backend/ev-document-factory.c:
665 (mime_type_supported_by_gdk_pixbuf),
666 (ev_document_type_get_from_mime),
667 (ev_document_factory_get_document),
668 (ev_document_factory_get_backend),
669 (ev_document_factory_get_mime_types),
670 (ev_document_factory_get_all_mime_types):
671 * backend/ev-document-factory.h:
673 * shell/ev-document-types.c: (get_document_from_uri),
674 (ev_document_types_get_document),
675 (file_filter_add_mime_list_and_free),
676 (ev_document_types_add_filters):
677 * shell/ev-document-types.h:
678 * shell/ev-job-xfer.c: (ev_job_xfer_run):
679 * shell/ev-properties-dialog.c:
680 (ev_properties_dialog_set_document):
681 * shell/ev-window.c: (ev_window_cmd_file_open),
682 (ev_window_cmd_save_as):
683 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
685 Rework document types managing to avoid code duplication
686 and actually abstract from backend implementations.
687 Also provide a minimal factory api that can be used by
688 thumbnailer/properties.
690 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
692 * properties/ev-properties-view.c: (ev_properties_view_set_info):
694 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
697 2005-07-04 Matthew S. Wilson <msw@rpath.com>
699 * shell/ev-properties-dialog.c
700 (ev_properties_dialog_set_document): only call
701 ev_properties_fonts_set_document() if the document implements the
704 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
707 * properties/Makefile.am:
708 * properties/ev-properties-view.c:
709 (ev_properties_view_register_type):
710 * properties/ev-properties-view.h:
711 * properties/ev-properties-main.h:
713 Implement nautilus plugin for properties.
714 Works only for pdf atm, I need to rework the
715 document types stuff to get this to work
718 2005-07-04 Martin Kretzschmar <martink@gnome.org>
720 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
721 (ev_properties_fonts_set_document): use
722 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
724 2005-07-04 Matthew S. Wilson <msw@rpath.com>
726 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
728 (PlaceImage, tiff2ps_process_page): use
729 g_ascii_dtostr to convert floats to strings in a locale-safe way.
732 2005-07-04 Martin Kretzschmar <martink@gnome.org>
734 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
735 (main): to call gnome_authentication_manager_init. Should fix
738 * configure.ac: that requires libgnomeui 2.6.0.
740 2005-07-04 Matthew S. Wilson <msw@rpath.com>
742 * tiff/tiff-document.c (tiff_document_ps_export_begin)
743 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
744 use the new tiff2ps interfaces
746 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
747 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
749 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
750 structure instead of global variables. Remove use of static
751 variables in functions.
753 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
755 * shell/ev-page-action.c: unref the completion after setting it to the
758 2005-07-04 Matthew S. Wilson <msw@rpath.com>
760 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
763 2005-07-04 Matthew S. Wilson <msw@rpath.com>
765 * shell/ev-window.c (update_action_sensitivity): disable
766 File->Print if the document does not implement the ps exporter
769 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
773 * data/evince-properties.glade:
774 * properties/.cvsignore:
775 * properties/Makefile.am:
776 * properties/ev-properties-view.c: (ev_properties_view_dispose),
777 (ev_properties_view_class_init), (ev_properties_view_format_date),
778 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
779 (ev_properties_view_init), (ev_properties_view_new):
780 * properties/ev-properties-view.h:
782 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
783 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
784 (ev_properties_dialog_new):
785 * shell/ev-properties-dialog.h:
786 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
787 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
788 (update_progress_label), (job_fonts_finished_cb),
789 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
790 * shell/ev-properties-fonts.h:
791 * shell/ev-properties.c:
792 * shell/ev-properties.h:
793 * shell/ev-window.c: (ev_window_setup_document),
794 (ev_window_cmd_file_properties):
796 Split the properties pages in two different objects, depend
797 only on the backend where possible, use widgets instead
798 of gobject for the glade part, reimplement the dialog
800 I need this to implement nautilus properties page.
802 2005-07-03 Matthew S. Wilson <msw@rpath.com>
804 * tiff/tiff-document.c (tiff_document_ps_export_begin)
805 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
806 (tiff_document_document_ps_exporter_iface_init): implement the ps
807 exporter interface for tiff documents
809 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
810 libtiff to implement TIFF postscript export
812 * tiff/tiff2ps.h: added a header file for external tiff2ps
815 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
818 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
820 * shell/ev-view.c: (scroll_to_current_page),
821 (ev_view_set_fullscreen), (ev_view_set_presentation):
823 Scroll to current page when exit from presentation
825 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
827 * shell/ev-window.c: (update_document_mode),
828 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
829 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
830 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
832 Exit from fullscreen mode when switch to presentation. Fix for
835 2005-07-02 Matthew S. Wilson <msw@rpath.com>
837 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
838 return NULL if the document does not implement the selection
841 2005-07-02 Matthew S. Wilson <msw@rpath.com>
843 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
844 reported height by using the resolution aspect ratio
845 (tiff_document_render_pixbuf): scale the pixbuf using the
846 resolution aspect ratio
848 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
852 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
853 <kiltedaco@gmail.com>
855 * djvu/djvu-document.c: (djvu_document_get_orientation),
856 (djvu_document_set_orientation), (djvu_document_get_page_size),
857 (rotate_pixbuf), (djvu_document_render_pixbuf),
858 (djvu_document_document_iface_init):
859 * dvi/dvi-document.c: (dvi_document_get_orientation),
860 (dvi_document_set_orientation), (dvi_document_get_page_size),
861 (rotate_pixbuf), (dvi_document_render_pixbuf),
862 (dvi_document_document_iface_init):
864 Dvi and djvu backends are ported to new API
866 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
868 * backend/ev-selection.c: (ev_selection_get_selection_region),
869 (ev_selection_get_selection_map):
870 * backend/ev-selection.h:
872 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
874 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
875 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
876 (ev_pixbuf_cache_get_text_mapping):
877 * shell/ev-pixbuf-cache.h:
878 * shell/ev-view.c: (location_in_text),
879 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
880 support to EvView. Now we can see where we can select! Sweet!
882 2005-06-30 Kristian Høgsberg <krh@redhat.com>
884 * shell/ev-view.c (ev_view_button_press_event): Fix
885 event->y + view->scroll_x typo.
887 2005-06-30 Kristian Høgsberg <krh@redhat.com>
889 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
890 sub-GdkPixbuf instead of passing dest_x and dest_y.
892 * shell/ev-view.c: (view_point_to_doc_point),
893 (view_rect_to_doc_rect), (ev_view_button_press_event),
894 (ev_view_motion_notify_event), (compute_new_selection_rect),
895 (gdk_rectangle_point_in), (compute_new_selection_text),
896 (compute_selections): Update selection code to keep the selection
897 around as two points and not as a normalized rectangle, and fix
898 page level selection in two-column mode.
900 2005-06-30 Alex Duggan <aldug@astrolinux.com>
902 * shell/ev-window.c: (window_configure_event_cb):
906 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
912 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
915 * shell/ev-metadata-manager.c: (item_free),
916 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
917 (parse_value), (parseItem), (load_values),
918 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
919 (save_values), (save_item), (get_oldest), (resize_items),
920 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
921 * shell/ev-metadata-manager.h:
923 Metadata manager from gedit but modified to use GValue, so that
924 we dont need to keep converting from strings.
928 ENABLE_METADATA conditional, on when dbus is on
930 * shell/ev-application.c: (ev_application_open_uri):
932 Show the window after load so that we can initialize
933 window size before it's showed.
935 * shell/ev-window.c: (ev_window_setup_from_metadata),
936 (ev_window_open_uri), (window_configure_event_cb),
939 Save and load metadata information about window size.
940 Not yet keeping states in account.
942 * shell/main.c: (main):
944 Shutdown metadata manager.
946 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
948 * shell/ev-application-service.xml:
951 * shell/ev-application.c:
952 * shell/ev-application.h:
957 Add an optional dbus interface (--enable-dbus).
958 Rework application code, mainly to be easier to
960 Do not open multiple windows with the same document,
963 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
965 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
966 pixbuf iff it exists.
968 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
971 * backend/ev-render-context.[ch]:
972 * backend/ev-selection.[ch]:
974 Massive changes. We now support text selection of pdfs, and not
975 just rectangular selection. This is pretty broken still, but I
976 want to get something into CVS.
978 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
982 Fix for Bug 309080: crash on window close.
984 * shell/ev-page-action.c: (page_changed_cb):
986 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
987 jensgr@gmx.net (Jens Granseuer).
989 2005-06-25 Marcel Telka <marcel@telka.sk>
991 * configure.in (ALL_LINGUAS): Added sk.
993 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
995 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
998 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1005 * cut-n-paste/recent-files/Makefile.am:
1009 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1011 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1012 (pixbuf_document_set_orientation), (rotate_pixbuf),
1013 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1014 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1016 Implement rotation and cleanup the code a bit.
1018 * tiff/tiff-document.c: (tiff_document_get_page_size),
1019 (tiff_document_get_orientation), (tiff_document_set_orientation),
1020 (rotate_pixbuf), (tiff_document_render_pixbuf),
1021 (tiff_document_document_iface_init), (tiff_document_init):
1023 Implement rotation. Was the quicker solution for the release
1024 but we really need to share this code in the shell.
1026 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1028 * pdf/ev-poppler.cc:
1030 Enable rotation, require poppler cvs. Fix a leak.
1032 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1034 * shell/ev-window.c: (update_action_sensitivity):
1036 Make properties unsensitive if document backend doesn't provide
1039 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1041 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1042 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1043 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1044 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1045 (bitmap_flip_rotate_counter_clockwise):
1046 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1047 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1049 * dvi/mdvi-lib/common.h:
1050 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1051 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1052 (opendvi), (mdvi_reload), (mdvi_init_context),
1053 (mdvi_destroy_context), (mdvi_dopage), (special):
1054 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1055 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1056 (file_hash_free), (register_encoding), (parse_spec),
1057 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1058 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1059 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1060 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1061 (mdvi_register_font_type), (mdvi_unregister_font_type),
1062 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1063 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1064 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1065 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1066 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1067 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1068 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1069 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1070 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1071 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1072 (mdvi_unregister_special), (mdvi_flush_specials):
1073 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1075 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1076 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1077 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1078 (free_font_metrics), (flush_font_metrics):
1079 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1081 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1082 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1083 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1084 (dstring_insert), (dstring_new), (dstring_reset):
1085 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1087 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1088 avoid conflict with libtool on FC4
1090 * shell/ev-window.c: (ev_window_cmd_help_about):
1092 Update copyright year. Fix for bug 308828.
1094 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1096 * shell/ev-view.c: (add_scroll_binding_keypad),
1097 (ev_view_binding_activated), (ev_view_class_init),
1098 (on_adjustment_value_changed):
1100 Bug 170874: Arrow keys switch pages in presentation mode
1102 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1104 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1106 Fix for Bug 308265: Sidebar dissappears coming out of
1109 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1111 * shell/ev-application.c: (ev_application_open):
1112 * shell/ev-document-types.c: (ev_document_types_add_filters),
1113 (ev_document_types_add_filters_for_type):
1114 * shell/ev-document-types.h:
1115 * shell/ev-window.c: (ev_window_cmd_save_as):
1117 Suggest basename as template when saving, provide filters
1118 for save dialog. It's bug 308402
1120 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1122 * pdf/ev-poppler.cc:
1123 * shell/ev-sidebar-links.c: (job_finished_callback):
1124 * shell/ev-view.c: (update_find_status_message):
1128 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1130 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1131 (egg_recent_view_uimanager_set_list):
1133 Fix buglet in !show_numbers case.
1135 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1137 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1138 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1140 Use pango ellipsisation.
1142 * pdf/ev-poppler.cc:
1144 Fix refcount leak, from nsh.
1146 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1148 * cut-n-paste/recent-files/Makefile.am:
1149 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1150 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1152 Removed EggRecentViewGtk
1154 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1155 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1156 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1157 (ev_window_setup_recent):
1159 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1162 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1164 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1165 (egg_recent_view_gtk_finalize):
1169 * cut-n-paste/toolbar-editor/Makefile.am:
1171 Fix location of cursor icon.
1173 * pdf/ev-poppler.cc:
1174 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1175 (display_completion_text), (match_completion):
1176 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1177 (selection_changed_callback), (create_loading_model),
1178 (print_section_cb), (links_page_num_func),
1179 (update_page_callback_foreach):
1180 * shell/ev-window.c: (ev_window_dispose):
1182 Small memory fixes. Links model now store objects instead
1183 of pointers to improve memory management.
1185 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1187 * shell/ev-window.c: (zoom_control_changed_cb):
1189 Fix update of zoom control (bug 308268).
1191 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1193 * shell/ev-properties.c (set_property): escape the text correctly.
1194 Handles non-UTF-8 properties and escaped properties. Also, sets
1195 the text to "<i>None</i>" if the property isn't set.
1197 * data/evince-properties.glade: Change the label to be ellipsized,
1198 and give it a minimum size.
1200 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1202 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1203 * shell/ev-sidebar-links.c: (create_loading_model):
1204 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1205 * shell/ev-view.c: (ev_view_set_document):
1206 * shell/ev-window.c: (ev_window_dispose):
1208 Various small fixes, mostly memory leaks. Thanks to valgrind.
1210 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1212 * ps/ps-document.c: remove the locale.h include again ;-). And
1213 kill the (bogus) setlocale/savelocale business.
1215 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1219 Include locale.h to fix build
1221 * shell/ev-sidebar.c:
1223 Remove unnecessary includes
1225 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1227 * dvi/dvi-document.c: (dvi_document_load):
1228 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1231 Check for incorrect dvi files. Fix parsing dvi on AMD64
1232 platform. Thanks to tester@tester.ca (Olivier Crete).
1234 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1236 * shell/ev-page-action.c: (match_selected_cb),
1237 (display_completion_text), (match_completion), (update_model):
1238 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1239 (expand_open_links):
1240 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1241 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1242 (ev_sidebar_set_document):
1243 * shell/ev-window.c: (ev_window_xfer_job_cb),
1244 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1246 Fixed lot's of memory leaks, for example, memory leak on reload,
1247 described in bug 307793.
1249 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1251 * pdf/ev-poppler.cc:
1252 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1253 (update_visible_range), (adjustment_changed_cb),
1254 (ev_sidebar_thumbnails_fill_model),
1255 (ev_sidebar_thumbnails_refresh),
1256 (ev_sidebar_tree_selection_changed),
1257 (ev_sidebar_icon_selection_changed),
1258 (ev_sidebar_thumbnails_use_icon_view),
1259 (ev_sidebar_thumbnails_set_document):
1260 * shell/ev-sidebar-thumbnails.h:
1261 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1262 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1264 Refresh thumbnails when changing orientation. Not fully
1265 working yet becuase of a sidebar bug.
1267 Set page orientation to poppler page everywhere. This sucks
1268 really need to fix poppler.
1270 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1272 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1273 (egg_recent_view_gtk_new_menu_item),
1274 (egg_recent_view_gtk_set_property),
1275 (egg_recent_view_gtk_get_property),
1276 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1277 (egg_recent_view_gtk_set_tooltip_func),
1278 (egg_recent_view_gtk_set_label_width),
1279 (egg_recent_view_gtk_get_label_width):
1280 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1282 Sync with libegg (ellipsize labels)
1284 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1286 * data/evince-ui.xml:
1287 * shell/ev-window.c: (ev_window_cmd_go_forward),
1288 (ev_window_cmd_go_backward):
1290 Shift + PageUp moves 10 Pages. Fix for 306125
1292 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1294 * pdf/ev-poppler.cc:
1296 Add a flag to check if orientation has been overriden
1298 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1300 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1303 * ps/ps.h: add creator field to document.
1305 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1308 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1310 * data/evince-properties.glade:
1311 * shell/ev-properties.c: (ev_properties_set_document):
1313 s/PDF Version/Format
1315 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1317 * shell/ev-properties.c: (ev_properties_set_document):
1319 Remove unnecessary translations
1321 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1323 * cut-n-paste/toolbar-editor/Makefile.am:
1325 Correct library name
1327 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1330 * cut-n-paste/recent-files/egg-recent-model.c:
1331 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1332 (egg_recent_model_unlock_file):
1333 * cut-n-paste/recent-files/egg-recent-util.c:
1334 (egg_recent_util_get_unique_id):
1335 * cut-n-paste/recent-files/update-from-egg.sh:
1336 * cut-n-paste/toolbar-editor/Makefile.am:
1337 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1338 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1339 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1340 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1341 (egg_toolbars_model_get_type):
1342 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1344 Better makefile for toolbar editor and update everything
1347 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1349 * shell/ev-window.c: (update_document_mode):
1351 Prefer presentation mode when the document
1354 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1356 * data/evince-ui.xml:
1357 * shell/ev-window.c:
1359 Add control-equal for zooming
1361 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1363 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1365 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1367 * backend/ev-document.c: (ev_document_get_orientation):
1368 * backend/ev-document.h:
1369 * pdf/ev-poppler.cc:
1370 * ps/ps-document.c: (ps_document_get_orientation),
1371 (ps_document_set_orientation), (ps_document_document_iface_init):
1373 Add a get_orientation api. Improve set_orientation.
1375 * data/evince-ui.xml:
1376 * shell/ev-view.c: (ev_view_set_orientation),
1377 (ev_view_rotate_right), (ev_view_rotate_left):
1379 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1380 (ev_window_cmd_edit_rotate_right):
1382 Better ui for changing document orientation
1384 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1386 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1387 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1388 * shell/ev-sidebar-links.h:
1389 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1390 (ev_sidebar_page_iface_init):
1391 * shell/ev-sidebar-page.h:
1392 * shell/ev-sidebar-thumbnails.c:
1393 (ev_sidebar_thumbnails_get_property),
1394 (ev_sidebar_thumbnails_class_init),
1395 (ev_sidebar_thumbnails_set_document):
1396 * shell/ev-sidebar-thumbnails.h:
1397 * shell/ev-view.c: (ev_view_motion_notify_event):
1398 * shell/ev-window.c: (update_chrome_visibility),
1399 (ev_window_cmd_focus_page_selector),
1400 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1401 (sidebar_page_main_widget_update_cb), (ev_window_init):
1403 Autoraise toolbar on GoToPage binding and fix bindings in
1404 EvSidebarThumbnails page.
1406 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1408 * shell/ev-properties.c: (update_progress_label):
1410 Hide the progress label when finished; bug #307697.
1412 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1414 * pdf/ev-poppler.cc:
1416 Enable is_open for links, you will need poppler cvs
1418 * shell/ev-properties.c: (job_fonts_finished_cb):
1420 Get a lock on the document when filling the tree view
1422 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1424 * backend/ev-document-links.h:
1425 * pdf/ev-poppler.cc:
1426 * shell/ev-sidebar-links.c: (create_loading_model),
1427 (expand_open_links), (job_finished_callback):
1429 Expand links when specified by the document.
1430 Depend on a poppler api (defined out for now)
1432 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1434 * shell/ev-properties.c: (ev_properties_dispose),
1435 (ev_properties_class_init), (dialog_destroy_cb),
1436 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1437 (ev_properties_set_document), (ev_properties_new),
1438 (ev_properties_show):
1439 * shell/ev-properties.h:
1441 Make it an object, cleanup the code, api to show it as transient
1442 and to set the document.
1444 * shell/ev-window.c: (ev_window_setup_document),
1445 (ev_window_cmd_file_properties):
1447 Adapt to EvProperties changes, do not show multiple
1448 times, update it when document changes.
1450 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1453 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1454 (ps_document_set_orientation), (ps_document_document_iface_init):
1457 Implement orientation here too
1459 * shell/ev-properties.c: (ev_properties_new):
1460 * data/evince-properties.glade:
1462 Hide the fonts page for backends that doesnt
1465 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1467 * backend/ev-document.c: (ev_document_set_orientation):
1468 * backend/ev-document.h:
1469 * pdf/ev-poppler.cc:
1471 Add orientation api. Currently poppler api is not optimal,
1472 we need to set orientation every time we _get a page.
1473 I will try to fix that at some point.
1475 * data/evince-ui.xml:
1476 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1477 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1479 Add orientation menu items
1481 * shell/ev-page-cache.c: (ev_page_cache_clear):
1482 * shell/ev-page-cache.h:
1484 Add api to clear the cache
1486 * shell/ev-view.c: (setup_caches), (clear_caches),
1487 (ev_view_set_document), (ev_view_zoom_out),
1488 (ev_view_set_orientation):
1491 Implement orientation changing
1493 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1495 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1496 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1497 * backend/ev-document-fonts.h:
1499 Separate scan and fill so that we can incrementally fill from
1500 the main thread. Add a progress api.
1502 * data/evince-properties.glade:
1503 * pdf/ev-poppler.cc:
1504 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1506 * shell/ev-properties.c: (update_progress_label),
1507 (job_fonts_finished_cb), (setup_fonts_view):
1509 Incrementally feel the list and show the progress
1510 percentage in a label like acrobat does.
1512 You are going to need poppler cvs
1514 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1516 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1517 * backend/ev-document-fonts.h:
1518 * pdf/ev-poppler.cc:
1520 Make fonts model fill incrementally.
1522 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1523 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1524 (ev_job_queue_remove_job):
1525 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1526 (ev_job_fonts_new), (ev_job_fonts_run):
1529 New job for fonts scanning
1531 * shell/ev-properties.c: (job_fonts_finished_cb),
1532 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1533 * shell/ev-properties.h:
1534 * shell/ev-window.c: (ev_window_cmd_file_properties):
1536 Incrementally feel the treeview using the new job. Show Loading...
1537 message until scanning is completed.
1539 Hopefully I didnt break the build without the poppler patch.
1541 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1543 * shell/ev-application.c: (ev_application_open):
1544 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1545 (ev_document_type_get_type), (ev_document_type_lookup):
1546 * shell/ev-document-types.h:
1547 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1548 * shell/ev-job-xfer.h:
1549 * shell/ev-window.c: (ev_window_clear_local_uri),
1550 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1551 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1552 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1554 Transfer remote documents to tmp directory to display them later.
1556 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1558 * backend/ev-document-info.h:
1559 * shell/ev-properties.c: (ev_properties_new):
1561 s/GTime*/GTime. Not sure why we was using a pointer
1564 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1566 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1567 situations. That situation is that you're using GTK+-HEAD with
1568 the patch at #306726 is applied, and you have a document with <
1569 1500 pages in it. It's not quite as uniformly nice as the
1570 TreeView, but should be better in the long run.
1572 I'm pretty sure I guarded against breaking compilation with
1573 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1576 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1577 widget yet, so I commented that code out
1578 enable_view_actions_for_widget() for now. Need to figure this
1581 * shell/ev-page-action.c (match_selected_cb): emit the right
1582 signals. Our cool C-l completion now works.
1584 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1586 * backend/Makefile.am:
1587 * backend/ev-document-fonts.c:
1588 * backend/ev-document-links.c:
1589 * backend/ev-document.c: (ev_document_load):
1590 * backend/ev-document.h:
1591 * backend/ev-job-queue.c:
1592 * backend/ev-job-queue.h:
1593 * backend/ev-jobs.c:
1594 * backend/ev-jobs.h:
1595 * backend/ev-page-cache.c:
1596 * backend/ev-page-cache.h:
1598 EvPageCache and EvJobs are moved to shell.
1600 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1602 * lib/ev-file-helpers.h:
1604 New helper to work with temporary files
1606 * shell/Makefile.am:
1607 * shell/ev-application.c: (ev_application_open):
1608 * shell/ev-application.h:
1609 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1610 (remove_job_from_async_queue), (add_job_to_async_queue),
1611 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1612 (handle_job), (search_for_jobs_unlocked),
1613 (no_jobs_available_unlocked), (ev_render_thread),
1614 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1615 (ev_job_queue_add_job), (move_job_async), (move_job),
1616 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1617 * shell/ev-job-queue.h:
1618 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1619 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1620 * shell/ev-job-xfer.h:
1621 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1622 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1623 (ev_job_links_class_init), (ev_job_render_init),
1624 (ev_job_render_dispose), (ev_job_render_class_init),
1625 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1626 (ev_job_thumbnail_class_init), (ev_job_load_init),
1627 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1628 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1629 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1630 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1632 * shell/ev-page-action.c: (ev_page_action_set_document):
1633 * shell/ev-page-cache.c: (ev_page_cache_init),
1634 (ev_page_cache_class_init), (ev_page_cache_finalize),
1635 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1636 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1637 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1638 (ev_page_cache_get_title), (ev_page_cache_get_size),
1639 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1640 (ev_page_cache_get_height_to_page),
1641 (ev_page_cache_get_max_label_chars),
1642 (ev_page_cache_get_page_label),
1643 (ev_page_cache_has_nonnumeric_page_labels),
1644 (ev_page_cache_get_info), (ev_page_cache_next_page),
1645 (ev_page_cache_prev_page), (ev_page_cache_get):
1646 * shell/ev-page-cache.h:
1647 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1648 (ev_pixbuf_cache_clear_job_sizes),
1649 (ev_pixbuf_cache_add_jobs_if_needed),
1650 (ev_pixbuf_cache_set_page_range):
1651 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1652 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1653 * shell/ev-sidebar-thumbnails.c:
1654 (ev_sidebar_tree_selection_changed),
1655 (ev_sidebar_thumbnails_set_document):
1656 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1657 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1658 (ev_statusbar_get_context_id), (ev_statusbar_push),
1659 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1660 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1661 (ev_statusbar_set_progress):
1662 * shell/ev-statusbar.h:
1663 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1664 (ev_view_find_previous):
1665 * shell/ev-window.c: (ev_window_is_empty),
1666 (ev_window_setup_document), (password_dialog_response),
1667 (ev_window_clear_jobs), (ev_window_load_job_cb),
1668 (ev_window_xfer_job_cb), (ev_window_open_uri),
1669 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1670 (ev_window_print), (ev_window_print_range),
1671 (ev_window_state_event), (ev_window_cmd_view_reload),
1672 (menu_item_select_cb), (menu_item_deselect_cb),
1673 (view_status_changed_cb), (ev_window_dispose),
1674 (drag_data_received_cb), (ev_window_init):
1675 * shell/ev-window.h:
1676 * shell/main.c: (load_files):
1678 New statusbar to show progress on idle. Two new jobs -
1679 xfer job and load job to load document in background. And update
1680 of page_cache clients to new location of code.
1682 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1684 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1685 selection in open dialog. It also remembers the last visited directory
1686 in the current session.
1688 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1690 * shell/ev-properties.c: (ev_properties_new):
1691 * shell/ev-properties.h:
1692 * shell/ev-window.c: (ev_window_cmd_file_properties):
1694 Get document info from page cache instead of document itself.
1695 This should fix crash related to race conditions described in
1698 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1700 * ps/ps-document.c: (ps_document_init),
1701 (send_ps), (get_page_box), (output), (catchPipe), (input),
1702 (stop_interpreter), (file_length), (file_readable),
1703 (check_filecompressedb), (ps_document_enable_interpreter),
1704 (document_load), (ps_async_renderer_render_pixbuf):
1707 Big cleanup of the ps code
1709 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1711 * backend/Makefile.am:
1712 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1713 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1714 * backend/ev-async-renderer.h:
1716 Add an async renderer interface (method + callback) which
1717 is useful for backends like ps.
1719 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1720 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1721 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1722 (ev_job_queue_add_job), (move_job_async), (move_job),
1723 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1725 Add queues for async renderer, these are executed on the
1728 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1729 (ev_job_render_run):
1730 * backend/ev-jobs.h:
1732 If the backend support async renderer interface use it.
1734 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1735 (setup_pixmap), (ps_document_get_type),
1736 (ps_async_renderer_render_pixbuf),
1737 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1739 Implement async renderer interface.
1741 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1743 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1745 Cleanup links job on exit.
1747 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1749 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1750 (drag_data_get_cb), (drag_data_received_cb):
1751 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1752 (drag_data_get_cb), (parse_item_list),
1753 (egg_toolbar_editor_load_actions):
1754 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1755 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1756 (parse_item_list), (parse_toolbars):
1757 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1758 (dvi_pixbuf_put_pixel):
1760 Fix gcc 4.0 warnings
1762 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1764 * ps/ps-document.c: (start_interpreter):
1766 Fix warning when loading ps
1768 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1770 * ps/ps-document.c: (output):
1772 Fix crash when priting gs error messages.
1774 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1776 * backend/ev-page-cache.c: (_ev_page_cache_new):
1777 * backend/ev-page-cache.h:
1779 Use a const to return title so that we dont double
1780 free it. Small cleanup and fix a leak.
1782 * shell/ev-window.c: (update_window_title):
1784 strdup value from get_title.
1786 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1788 * shell/ev-sidebar-links.c: (job_finished_callback),
1789 (ev_sidebar_links_set_document):
1791 Cleanup the old job when changing document
1793 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1795 * shell/ev-stock-icons.c:
1796 * shell/ev-stock-icons.h:
1797 * shell/ev-window.c:
1799 Add stock icons for actions that can appear in toolbar. Fix for
1802 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1804 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1805 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1806 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1807 * backend/ev-page-cache.h:
1808 * shell/ev-view.c: (scroll_to_current_page),
1809 (view_update_range_and_current_page), (get_page_y_offset),
1810 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1811 (ev_view_size_request_continuous),
1812 (ev_view_zoom_for_size_continuous_and_dual_page),
1813 (ev_view_zoom_for_size_continuous):
1815 More compact EvView layout in document with pages of different size.
1817 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1819 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1822 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1824 * shell/ev-view.c: (view_set_adjustment_values):
1825 * shell/ev-window.c: (ev_window_cmd_file_properties):
1827 A bit different fix for rounding problem but it has no
1828 problems on startup. Make properties window transient to parent.
1830 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1832 * pdf/ev-poppler.cc:
1834 More commenting of font stuff.
1836 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1838 * pdf/ev-poppler.cc:
1840 Comment out some more fonts stuff. Should really
1841 work without the poppler patch now.
1843 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1845 * pdf/ev-poppler.cc:
1849 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1851 * data/evince-properties.glade:
1852 * pdf/ev-poppler.cc:
1853 * shell/ev-properties.c: (setup_fonts_view):
1855 Set the column title. Show the dialog only
1856 once everything is setup.
1857 Getting font info can be very slow... will
1858 prolly need to make this threaded too.
1860 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1862 * backend/Makefile.am:
1863 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1864 (ev_document_fonts_get_fonts_model):
1865 * backend/ev-document-fonts.h:
1866 * data/evince-properties.glade:
1867 * pdf/ev-poppler.cc:
1868 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1869 * shell/ev-properties.h:
1870 * shell/ev-window.c: (ev_window_cmd_file_properties):
1872 Implement fonts list. Defined out for now, since it depends
1873 on a not yet committed poppler patch.
1875 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1877 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1880 * shell/ev-window.c: Make sure we add the timeout when we get a
1883 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1884 adjustment->value before calculating the zoom factor to average
1885 out all of our rounding errors. The page no longer 'drifts' when
1888 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1890 * data/evince-properties.glade:
1891 * shell/ev-properties.c: (ev_properties_format_date),
1894 Labels don't expand when the dialogue is resized.
1895 strftime result needs to be converted to UTF-8. Thanks
1896 to Christian Persch <chpe@gnome.org>.
1898 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1900 * data/evince-properties.glade:
1904 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1906 * backend/ev-document-info.h:
1907 * backend/ev-document.c: (ev_document_info_free):
1908 * data/evince-properties.glade:
1909 * pdf/ev-poppler.cc:
1910 * ps/ps-document.c: (ps_document_get_info):
1911 * shell/ev-properties.c: (ev_properties_format_date),
1912 (set_property), (ev_properties_new):
1913 * shell/ev-properties.h:
1914 * shell/ev-window.c: (ev_window_cmd_file_properties):
1916 Rework properties code to take only EvPropertyInfo
1917 in the constructor so that it can be useful for
1918 nautilus plugin too.
1920 Deal with backends that doesnt support some properties.
1921 Make set property code generic.
1923 2005-06-04 Christian Persch <chpe@gnome.org>
1925 * data/evince-properties.glade:
1927 fix spacings, make resizeable, and make data labels
1928 selectable + ellipsised
1930 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1932 * backend/ev-document-info.h:
1934 * data/evince-ui.xml:
1935 * pdf/ev-poppler.cc:
1936 * shell/Makefile.am:
1937 * shell/ev-window.c: (update_action_sensitivity),
1938 (ev_window_cmd_file_properties):
1940 Initial go at file properties. Patch by
1941 Emil Soleyman-Zomalan <emil@soleyman.com>.
1942 Needs love see #169583
1944 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1946 * ps/ps-document.c: (output):
1947 * ps/ps.c: (psscan):
1949 Try to render even if psscan fails.
1951 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1953 * ps/ps.c: (psscan), (pscopydoc):
1955 Port buffered reading code from gv
1957 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1959 * ps/ps-document.c: (interpreter_message), (output):
1961 Do not fail on interpreter messages
1963 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1965 * backend/ev-document-misc.c:
1966 (ev_document_misc_get_thumbnail_frame):
1968 Pages can be 0 x 0, dont assert on this case
1970 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1972 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1973 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1975 Correctly manage our reference on document. Finally the reload
1976 huge leak is gone...
1978 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1980 * ps/ps-document.c: (ps_document_dispose):
1982 Forgot to chain it to the parent. Thanks chpe.
1984 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1986 * ps/ps-document.c: (ps_document_dispose),
1987 (ps_document_class_init), (stop_interpreter), (document_load):
1989 Cleanup dispose a bit. Dont leak the whole pixmap.
1991 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1993 * pdf/ev-poppler.cc:
1995 Release the poppler document on dispose
1997 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1999 * shell/ev-view.c: (ev_view_set_document):
2001 Release ref on the pixbuf cache when changing
2004 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2006 * ps/ps-document.c: (ps_document_get_info):
2010 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2012 * backend/ev-page-cache.c: (ev_page_cache_init),
2013 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2014 * backend/ev-page-cache.h:
2015 * shell/ev-page-action.c: (page_changed_cb):
2017 Set page action entry width depending on labels width. Fix
2020 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2022 * backend/ev-link.c: (ev_link_class_init):
2024 Allow -1 as page value (error)
2026 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2028 * shell/ev-sidebar-thumbnails.c:
2029 (ev_sidebar_thumbnails_set_document):
2030 * shell/ev-view.c: (scroll_to_current_page),
2031 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2032 (page_changed_cb), (on_adjustment_value_changed),
2033 (ev_view_set_document):
2035 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2038 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2041 * djvu/djvu-document.c: (djvu_document_get_page_size):
2043 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2046 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2048 * shell/ev-view.c (draw_one_page): modify the expose handling to
2051 * shell/ev-window.c (update_action_sensitivity): Respect
2052 permissions field. Kowtow to the man.
2054 * pdf/ev-poppler.cc: Get the permissions field.
2056 * tiff/*c: Make a tiny bit more robust.
2058 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2060 * djvu/djvu-document.c:
2062 Pop messages from djvu context message queue.
2064 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2066 * configure.ac, Makefile.am, shell/Makefile.am:
2067 * tiff/Makefile.am, shell/ev-document-types.c:
2069 Cleanup tiff configure checks. Fix for bug 305218.
2071 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2073 * configure.ac: Added "uk" to ALL_LINGUAS.
2075 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2077 * cut-n-paste/zoom-control/ephy-zoom.c:
2078 (ephy_zoom_get_changed_zoom_level):
2079 * cut-n-paste/zoom-control/ephy-zoom.h:
2080 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2081 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2082 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2083 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2084 (zoom_control_changed_cb), (ev_window_init):
2086 Fix minor points related to moving best fit up. Introduce
2087 "zoom" property and make zoom control change it's value on
2088 notify::zoom signals. Fix for 305080.
2090 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2092 * data/evince-ui.xml:
2093 * shell/ev-window.c: (set_view_actions_sensitivity):
2095 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2097 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2101 Depends on poppler 0.3.2
2103 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2105 * cut-n-paste/recent-files/egg-recent-item.c:
2106 (egg_recent_item_get_short_name):
2107 * cut-n-paste/toolbar-editor/Makefile.am:
2108 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2109 (new_pixbuf_from_widget):
2110 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2111 * cut-n-paste/toolbar-editor/egg-marshal.c:
2112 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2113 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2117 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2119 * tiff/tiff-document.c: Rough TIFF backend.
2121 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2125 * cut-n-paste/toolbar-editor/Makefile.am:
2129 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2131 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2132 (ev_view_find_next), (ev_view_find_previous):
2134 Remove the locks around get_n_results
2136 2005-05-21 Juerg Billeter <j@bitron.ch>
2138 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2140 Pass correct number of pages to poppler.
2142 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2146 * data/evince.desktop.in:
2147 * data/evince.desktop.in.in:
2150 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2152 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2154 * shell/ev-view.c: (view_update_adjustments),
2155 (view_set_adjustment_values): cast adjustmen->value to (int)
2156 before using it. Otherwise, we get off by a pixel in some
2159 (draw_one_page): Draw the border on expose.
2161 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2163 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2164 adjustment when the mode changes, #304923
2166 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2168 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2169 flickering on resize but still use gdk_window_scroll on
2172 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2174 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2177 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2179 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2180 second page on page_changed if possible, #304669
2182 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2184 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2185 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2187 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2190 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2191 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2192 (ev_view_zoom_for_size_presentation),
2193 (ev_view_zoom_for_size_continuous_and_dual_page),
2194 (ev_view_zoom_for_size_continuous),
2195 (ev_view_zoom_for_size_dual_page),
2196 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2198 * shell/ev-window.c: (update_view_size),
2199 (ev_window_sizing_mode_changed_cb):
2201 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2202 the scrollbars. It's not 100% right, but it's much closer. Kills
2203 an infinite loop, #304769
2206 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2208 * data/evince-ui.xml:
2209 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2210 * shell/ev-window.c: (set_view_actions_sensitivity):
2212 Make PgUp/Down behave like Space
2214 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2216 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2217 * backend/ev-ps-exporter.h:
2218 * pdf/ev-poppler.cc:
2219 * ps/ps-document.c: (ps_document_ps_export_begin):
2220 * shell/ev-print-job.c: (idle_print_handler):
2222 Adapt to new poppler api
2224 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2226 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2227 (ephy_zoom_control_init):
2229 Translate zoom levels
2231 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2233 * cut-n-paste/zoom-control/ephy-zoom.c:
2234 (ephy_zoom_get_zoom_level_index):
2236 Fix current zoom -> zoom control match
2238 2005-05-18 James Bowes <bowes@cs.dal.ca>
2240 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2241 rather than the scrolled_window that it's in. Fixes bug #304655.
2243 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2245 * shell/ev-view.c: (view_update_adjustments),
2246 (view_set_adjustment_values), (view_update_range_and_current_page),
2247 (view_scroll_to_page), (set_scroll_adjustment),
2248 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2249 (ev_view_scroll), (ev_view_scroll_view),
2250 (ensure_rectangle_is_visible), (find_page_at_location),
2251 (get_link_at_location), (go_to_link), (status_message_from_link),
2252 (ev_view_size_request_continuous_dual_page),
2253 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2254 (ev_view_unrealize), (ev_view_expose_event),
2255 (ev_view_button_press_event), (ev_view_motion_notify_event),
2256 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2257 (draw_rubberband), (highlight_find_results), (draw_one_page),
2258 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2259 (ev_view_init), (find_changed_cb), (page_changed_cb),
2260 (on_adjustment_value_changed), (ev_view_new),
2261 (ev_view_set_document), (ev_view_set_zoom),
2262 (ev_view_set_continuous), (ev_view_set_dual_page),
2263 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2264 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2265 (ev_view_zoom_for_size_presentation),
2266 (ev_view_zoom_for_size_continuous_dual_page),
2267 (ev_view_zoom_for_size_continuous),
2268 (ev_view_zoom_for_size_dual_page),
2269 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2270 (ev_view_get_status), (ev_view_set_status),
2271 (update_find_status_message), (ev_view_get_find_status),
2272 (ev_view_set_find_status), (jump_to_find_result),
2273 (jump_to_find_page), (compute_selections), (clear_selection),
2274 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2275 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2276 (ev_view_update_primary_selection),
2277 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2279 * shell/ev-window.c: (ev_window_open_page_label),
2280 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2282 * shell/ev-window.h:
2283 * shell/main.c: (load_files):
2285 Massive code clean up from Nickolay Shmyrev. Keep page offset
2286 when resizing. Remove the bin_window(). Also, patch from James
2287 Bowes to fix command line page, #300641
2289 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2291 * data/evince-ui.xml:
2294 * shell/ev-window.c: (update_action_sensitivity):
2296 Get rid of View->Normal Size, it's just confusing
2298 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2300 * backend/ev-document-info.h:
2301 * backend/ev-document.c: (ev_document_info_free): Free the
2304 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2305 (clear_range), (add_range), (update_visible_range),
2306 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2307 (ev_sidebar_thumbnails_set_document):
2308 * shell/ev-window.c: (ev_window_setup_document): Only render the
2309 visible thumbnails. It takes an instant to render, but it uses
2312 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2314 * shell/ev-sidebar-links.c: (popup_menu_cb):
2318 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2321 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2322 (button_press_cb), (ev_sidebar_links_construct):
2324 Show the popup menu also on keybindings
2326 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2328 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2329 * shell/ev-window.h:
2331 Expose api to print a range (with dialog). Make private _print use
2334 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2335 (ev_sidebar_links_construct):
2337 Show a print context menu on linkx, it prints the selected
2340 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2342 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2345 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2351 * shell/ev-window.c: (build_comments_string),
2352 (ev_window_cmd_help_about):
2354 Show poppler version/backend and authors
2356 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2358 * cut-n-paste/zoom-control/ephy-zoom.c:
2359 (ephy_zoom_get_zoom_level_index):
2360 * cut-n-paste/zoom-control/ephy-zoom.h:
2362 Move the best fit items at the top of the list
2364 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2366 * shell/ev-marshal.list:
2367 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2368 (activate_cb), (match_selected_cb), (activate_link_cb),
2369 (connect_proxy), (ev_page_action_class_init):
2370 * shell/ev-page-action.h:
2372 Use signals to notify action activation. Hopefully
2373 I did not break completion since I cant test...
2375 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2376 (register_custom_actions):
2378 Connect to page selector actions and also grab focus on
2379 the view when activated.
2381 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2383 * pdf/ev-poppler.cc:
2384 * backend/ev-page-cache.c: make page size calculation consistent
2385 and set it to (int)( width * scale + 0.5). This makes the weird
2386 line going through the middle of the page go away.
2388 * shell/ev-view.c: move painting the background page after
2389 checking the expose area covers us.
2391 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2393 * data/evince-password.glade:
2395 Mark labels as not translatable. Fix for bug 302842.
2397 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2399 * configure.ac: Added "es" to ALL_LINGUAS.
2401 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2403 * data/evince-toolbar.xml:
2404 * shell/ev-window.c: (update_action_sensitivity),
2405 (ev_window_setup_document), (ev_window_set_page_mode),
2408 Remove some leftover code from jrb first continous
2409 attempt. Use the new actions, we still need good icons
2412 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2414 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2416 Update label when connecting proxy. Fix a warning with NULL
2419 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2421 * data/evince-ui.xml:
2422 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2423 * shell/ev-page-action.h:
2424 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2426 Add mnemonic for edit toolbar.
2427 ctrl+l focus the page entry.
2429 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2432 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2434 * shell/main.c: (main):
2436 Put the toolbar xml in evince own dot dir
2438 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2440 * shell/ev-window.c: (ev_window_init):
2442 Make the toolbar not removable
2444 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2446 * data/evince-ui.xml:
2447 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2448 * shell/ev-sidebar-links.h:
2449 * shell/ev-sidebar-thumbnails.c:
2450 (ev_sidebar_thumbnails_get_treeview):
2451 * shell/ev-sidebar-thumbnails.h:
2452 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2453 (ev_view_class_init):
2455 * shell/ev-window.c: (update_action_sensitivity),
2456 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2457 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2458 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2461 This is evil... Make space/backspace global accelerators but
2462 enable them only for some widgets (sidebars and view).
2463 I dont like it, but I dont know a better way... :/
2465 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2467 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2468 (ev_page_action_widget_finalize),
2469 (ev_page_action_widget_class_init), (update_page_cache):
2471 Keep a weak reference on proxy->page_cache so that we
2472 dont try to disconnect the signal if the object is already
2473 gone. Maybe there is a better way to cleanup reference handling
2474 in page action though...
2476 2005-05-10 Juerg Billeter <j@bitron.ch>
2478 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2479 * backend/ev-ps-exporter.h:
2480 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2481 * ps/ps-document.c: (ps_document_ps_export_begin):
2483 Change api to pass print range to ps_exporter_begin. The pdf backend
2484 requires this information.
2486 * shell/ev-print-job.c: (idle_print_handler):
2490 2005-05-10 Juerg Billeter <j@bitron.ch>
2492 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2493 (idle_print_handler)
2494 * shell/ev-window.c: (ev_window_print):
2496 Support printing page range, based on patch by Amaury Jacquot
2498 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2500 * data/evince-toolbar.xml:
2502 Add zoom control to available items
2504 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2506 * shell/ev-window.c: (update_action_sensitivity):
2508 Set slash action insensitive when appropriate
2510 2005-05-10 Christian Persch <chpe@gnome.org>
2512 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2514 Fix warning on the overflow menu
2516 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2518 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2520 Check for uri correctness/existence
2522 2005-05-09 Juerg Billeter <j@bitron.ch>
2524 * shell/ev-window.c: (using_postscript_printer):
2526 LPD printers use postscript, too
2528 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2530 * shell/ev-window.c: (register_custom_actions):
2532 The zoom one is actually sort of useful,
2535 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2537 * shell/ev-window.c: (register_custom_actions):
2539 Hide page/zoom controls from overflow, they
2542 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2544 * cut-n-paste/update-from-egg.sh:
2546 Share it between all cut-n-paste subdirs
2548 * cut-n-paste/recent-files/Makefile.am:
2550 Fix to use "global" update-from-egg.sh
2552 * cut-n-paste/recent-files/egg-recent-model.c:
2553 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2554 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2555 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2556 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2560 * cut-n-paste/toolbar-editor/Makefile.am:
2562 Fix to use "global" update-from-egg.sh
2564 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2568 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2571 * cut-n-paste/Makefile.am:
2572 * cut-n-paste/recent-files/Makefile.am:
2573 * cut-n-paste/toolbar-editor/.cvsignore:
2574 * cut-n-paste/toolbar-editor/Makefile.am:
2575 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2576 (egg_editable_toolbar_get_type), (get_toolbar_position),
2577 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2578 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2579 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2580 (set_item_drag_source), (create_item_from_action), (create_item),
2581 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2582 (popup_toolbar_context_menu_cb), (free_dragged_item),
2583 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2584 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2585 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2586 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2587 (item_added_cb), (item_removed_cb),
2588 (egg_editable_toolbar_construct),
2589 (egg_editable_toolbar_disconnect_model),
2590 (egg_editable_toolbar_deconstruct),
2591 (egg_editable_toolbar_set_model),
2592 (egg_editable_toolbar_set_ui_manager),
2593 (egg_editable_toolbar_set_property),
2594 (egg_editable_toolbar_get_property),
2595 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2596 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2597 (egg_editable_toolbar_new_with_model),
2598 (egg_editable_toolbar_get_edit_mode),
2599 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2600 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2601 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2602 (new_pixbuf_from_widget), (new_separator_pixbuf),
2603 (update_separator_image), (style_set_cb),
2604 (_egg_editable_toolbar_new_separator_image),
2605 (egg_editable_toolbar_get_model):
2606 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2607 * cut-n-paste/toolbar-editor/egg-marshal.c:
2608 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2609 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2610 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2611 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2612 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2613 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2614 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2615 (editor_drag_data_delete_cb), (drag_data_get_cb),
2616 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2617 (editor_create_item), (update_editor_sheet), (setup_editor),
2618 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2619 (parse_item_list), (model_has_action), (update_actions_list),
2620 (egg_toolbar_editor_load_actions):
2621 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2622 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2623 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2624 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2625 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2626 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2627 (egg_toolbars_model_add_separator), (impl_add_item),
2628 (parse_item_list), (egg_toolbars_model_add_toolbar),
2629 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2630 (impl_get_item_data), (impl_get_item_type),
2631 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2632 (egg_toolbars_model_init), (free_toolbar),
2633 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2634 (egg_toolbars_model_remove_toolbar),
2635 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2636 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2637 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2638 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2639 (egg_toolbars_model_get_item_data),
2640 (egg_toolbars_model_get_item_type):
2641 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2642 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2644 * data/evince-toolbar.xml:
2645 * data/evince-ui.xml:
2646 * data/hand-open.png:
2648 * shell/Makefile.am:
2649 * shell/ev-window.c: (update_chrome_visibility),
2650 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2651 (ev_window_dispose), (ev_window_init):
2653 Implement epiphany like toolbar editor. Based on patch by
2654 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2656 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2658 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2660 Use set_cursor instead of set_selection, so that
2661 the keyboard focus moves too.
2663 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2665 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2667 Fix infinite loop when loading Type1 fonts
2669 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2671 * data/evince-ui.xml:
2672 * shell/ev-window.c:
2676 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2680 Make --disable really disable
2682 2005-05-07 Juerg Billeter <j@bitron.ch>
2684 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2686 Compare page labels even without has_labels set, fixes setting page
2689 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2691 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2692 (ev_view_set_cursor), (ev_view_button_press_event),
2693 (ev_view_motion_notify_event), (ev_view_button_release_event),
2696 Implement middle button scrolling. Based on a patch
2697 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2699 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2701 * shell/ev-document-types.c: (get_slow_mime_type),
2702 (get_document_type_from_mime), (ev_document_type_lookup):
2703 * shell/ev-document-types.h:
2705 Change api to lookup from uri. Do fast lookup first, if the
2706 type is unknown try with data sniffing.
2708 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2709 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2713 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2715 * thumbnailer/Makefile.am:
2719 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2726 * data/evince-ui.xml:
2728 Hide presentation mode for now
2730 * shell/ev-view.c: (highlight_find_results):
2732 Show current find selection only on current page
2734 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2736 * shell/ev-view.c: (ev_view_select_all):
2738 Compute size of the actual page, not of
2741 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2743 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2744 (view_rect_to_doc_rect), (compute_selections),
2745 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2746 (ev_view_copy), (ev_view_primary_get_cb),
2747 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2748 (ev_view_button_press_event), (ev_view_motion_notify_event),
2749 (ev_view_button_release_event), (page_changed_cb):
2753 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2755 * shell/ev-view.c: (compute_border), (get_page_extents),
2756 (doc_rect_to_view_rect), (highlight_find_results),
2757 (ev_view_bin_expose), (ev_view_select_all),
2758 (ev_view_motion_notify_event), (update_find_status_message),
2759 (jump_to_find_result), (jump_to_find_page):
2761 First go at fixing search, still buggy
2763 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2765 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2766 dropdown box and button at the top of the sidebar.
2768 2005-05-02 James Bowes <bowes@cs.dal.ca>
2770 * configure.ac: Output zoom-control Makefile.
2771 * cut-n-paste/Makefile.am: build zoom-control subdir.
2772 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2773 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2774 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2775 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2776 * cut-n-paste/zoom-control/ephy-zoom.c:
2777 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2778 from epiphany, and modified to add a separator into the menu.
2779 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2780 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2781 zoom-control action.
2782 * shell/Makefile.am: Include zoom-control flags.
2783 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2784 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2785 (ev_view_zoom_for_size_presentation),
2786 (ev_view_zoom_for_size_continuous_and_dual_page),
2787 (ev_view_zoom_for_size_continuous),
2788 (ev_view_zoom_for_size_dual_page),
2789 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2790 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2791 ev_view_get_zoom and ev_view_get_sizing_mode.
2793 * shell/ev-window.c: (update_action_sensitivity),
2794 (update_sizing_buttons), (zoom_control_changed_cb),
2795 (register_custom_actions): Initialize and use the zoom-control
2798 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2800 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2801 preview cache back to 1. Don't know when it got set to 0.
2803 * shell/ev-view.c: (compute_border), (ev_view_realize),
2804 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2805 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2806 (ev_view_get_fullscreen), (ev_view_set_presentation),
2807 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2808 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2810 * shell/ev-window.c:
2811 (update_chrome_visibility),
2812 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2813 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2814 (update_document_mode), (ev_window_update_fullscreen_action),
2815 (ev_window_fullscreen), (ev_window_unfullscreen),
2816 (ev_window_cmd_view_fullscreen),
2817 (ev_window_update_presentation_action),
2818 (ev_window_run_presentation), (ev_window_stop_presentation),
2819 (ev_window_cmd_view_presentation), (ev_window_state_event),
2820 (ev_window_focus_in_event), (ev_window_focus_out_event),
2821 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2822 * data/evince-ui.xml: Initial presentation mode. We should
2823 probably hide this until it's done, as it's quite rough. Also,
2824 change full-screen to fullscreen and add two getters to EvView.
2826 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2828 * shell/ev-page-action.c: (update_page_cache),
2829 (ev_page_action_dispose):
2830 * shell/ev-window.c: (destroy_fullscreen_popup),
2831 (ev_window_create_fullscreen_popup):
2833 Use connect_object rather than explicitly
2834 disconnect on dispose.
2836 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2838 * shell/ev-page-action.c: (update_page_cache),
2839 (ev_page_action_dispose):
2841 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2843 * backend/ev-page-cache.c: (_ev_page_cache_new),
2844 (ev_page_cache_set_page_label),
2845 (ev_page_cache_has_nonnumeric_page_labels):
2846 * backend/ev-page-cache.h:
2847 * shell/ev-page-action.c: (update_pages_label):
2849 If all page labels are numeric, fallback to default
2850 way to display number of pages. See bug 173185.
2852 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2854 * shell/ev-page-action.c: (ev_page_action_dispose):
2855 * shell/ev-view.c: (view_update_range_and_current_page):
2856 * shell/ev-window.c: (ev_window_dispose):
2858 Set page on scroll in continuous mode. Fixes bug 301986.
2859 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2861 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2865 Require poppler 0.3.0
2867 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2869 * shell/Makefile.am, configure.ac: Fix build problems
2870 with t1lib. Bug 301996.
2872 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2874 * shell/ev-view.c: (ev_view_scroll_event):
2876 Scroll up increase zoom
2878 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2880 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2881 (ev_view_set_sizing_mode),
2882 (ev_view_zoom_for_size_continuous_and_dual_page),
2883 (ev_view_zoom_for_size_continuous):
2884 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2885 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2886 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2889 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2890 Fix for 165473 and 165472.
2892 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2895 * thumbnailer/Makefile.am:
2896 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2897 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2898 * thumbnailer/evince-thumbnailer.schemas.in:
2900 Make thumbnailer schemas translatable. Fix for bug 301773
2902 * thumbnailer/evince-thumbnailer-djvu.schemas:
2903 * thumbnailer/evince-thumbnailer-dvi.schemas:
2904 * thumbnailer/evince-thumbnailer.schemas:
2908 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2910 * shell/ev-view.c (ev_view_init): forgot to set this.
2912 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2914 * shell/ev-view.c: (find_page_at_location),
2915 (get_link_at_location),
2916 (ev_view_set_show_border), (ev_view_set_spacing),
2917 (ev_view_zoom_for_size_continuous_and_dual_page),
2918 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2919 Also, add a quick fix measuring of widths. Also, removed
2920 ev_view_set_spacing and ev_view_set_show_border.
2922 * shell/ev-window.c: (ev_window_unfullscreen),
2923 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2925 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2927 * shell/ev-view.c: (view_update_range_and_current_page),
2930 Fix crash on exit and scrolling to page in continuous view.
2932 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2935 * backend/ev-page-cache.c: (_ev_page_cache_new),
2936 (ev_page_cache_get_max_width_size),
2937 (ev_page_cache_get_max_height_size):
2938 * backend/ev-page-cache.h:
2939 * data/evince-ui.xml:
2940 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2941 * shell/ev-view.c: (view_update_adjustments),
2942 (view_update_range_and_current_page), (get_bounding_box_size),
2943 (ev_view_size_request_continuous_and_dual_page),
2944 (ev_view_size_request_continuous),
2945 (ev_view_size_request_dual_page),
2946 (ev_view_size_request_single_page), (ev_view_size_request),
2947 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2948 (ev_view_bin_expose), (ev_view_expose_event),
2949 (ev_view_set_property), (ev_view_get_property),
2950 (ev_view_class_init), (ev_view_init), (ev_view_new),
2951 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2952 (ev_view_set_dual_page), (ev_view_set_full_screen),
2953 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2954 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2955 (ev_view_zoom_out), (zoom_for_size_fit_width),
2956 (zoom_for_size_best_fit),
2957 (ev_view_zoom_for_size_continuous_and_dual_page),
2958 (ev_view_zoom_for_size_continuous),
2959 (ev_view_zoom_for_size_dual_page),
2960 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2961 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2963 * shell/ev-window.c: (update_action_sensitivity),
2964 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2965 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2966 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2967 (ev_window_cmd_view_zoom_out), (update_view_size),
2968 (ev_window_set_sizing_mode), (ev_window_init):
2970 Add Continuous and Dual page modes.
2972 2005-04-23 James Bowes <bowes@cs.dal.ca>
2974 * dvi/dvi-document.c: (dvi_document_load),
2975 (dvi_document_thumbnails_get_thumbnail),
2976 (dvi_document_init_params): Fix up some mixups between
2977 width and height to correct thumbnail rendering.
2979 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2981 * dvi/mdvi-lib/private.h:
2982 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2984 Suppess output for kpathsea during font generation. Thanks to
2987 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2994 * Makefile.am: fix distcheck.
2996 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2998 * shell/ev-sidebar-links.c: (selection_changed_callback),
2999 (update_page_callback), (row_activated_callback),
3000 (job_finished_callback), (ev_sidebar_links_set_document):
3002 Fix for bug #169901. Double click on links expands tree.
3004 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3006 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3007 hard-coded style. Fix for bug 170111
3009 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3011 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3014 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3016 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3018 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3020 * pdf/ev-poppler.cc:
3021 * shell/ev-view.c: (highlight_find_results):
3023 Fix find on single page documents
3025 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3027 * data/evince.schemas.in: fix for bug 301390
3029 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3031 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3032 (ev_view_zoom_out), (ev_view_zoom_normal):
3034 * shell/ev-window.c: (update_action_sensitivity),
3035 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3036 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3037 (ev_window_cmd_view_normal_size):
3039 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3040 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3043 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3047 Depend on 2.57, 2.59 doesnt seem to be necessary
3049 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3051 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3054 Put back total number of pages as (1 of 1234)
3056 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3058 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3061 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3062 function. This helps debugging.
3064 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3066 * djvu/djvu-document.c: (djvu_document_class_init),
3067 (djvu_document_get_info), (djvu_document_document_iface_init):
3068 * dvi/dvi-document.c: (dvi_document_class_init),
3069 (dvi_document_get_info), (dvi_document_document_iface_init):
3071 Dummy implementation of get_info method for dvi and djvu. Fix
3072 crashes with those backends
3074 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3076 * data/evince.desktop.in:
3078 Add application/x-gzpostscript
3080 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3082 * data/evince.schemas.in: Added real long descriptions,
3085 * README: Added actual text, closes bug 171869
3087 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3089 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3093 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3095 * backend/ev-document-info.h:
3097 s/GDate */GDate so we can just use g_free
3099 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3101 * shell/ev-window.c: (update_document_mode),
3102 (ev_window_setup_document):
3104 Show the window in fullscreen when specified by
3107 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3109 * backend/ev-document.c: (ev_document_class_init),
3110 (ev_document_get_info), (ev_document_render_pixbuf):
3111 * backend/ev-document.h:
3112 * backend/ev-page-cache.c: (_ev_page_cache_new):
3113 * pdf/ev-poppler.cc:
3114 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3115 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3116 * ps/ps-document.c: (ps_document_class_init), (document_load),
3117 (ps_document_get_info), (ps_document_document_iface_init):
3119 Remove get_title from the interface, we can just use document info
3121 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3123 * backend/Makefile.am:
3124 * backend/ev-document.c: (ev_document_render_get_info):
3125 * backend/ev-document.h:
3126 * pdf/ev-poppler.cc:
3128 Initial support for document info. Based on jrb patch.
3130 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3132 * shell/ev-window.c: (ev_window_state_event),
3133 (ev_window_class_init), (ev_window_init):
3135 Doesn't show resize grip when maximized. See bug #301053
3137 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3141 ev-sidebar-thumbnails now has translatable labels
3143 * shell/Makefile.am:
3144 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3145 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3146 (ev_sidebar_links_page_iface_init):
3147 * shell/ev-sidebar-links.h:
3148 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3149 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3150 (ev_sidebar_page_get_label):
3151 * shell/ev-sidebar-page.h:
3152 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3153 (ev_sidebar_thumbnails_set_document),
3154 (ev_sidebar_thumbnails_support_document),
3155 (ev_sidebar_thumbnails_get_label),
3156 (ev_sidebar_thumbnails_page_iface_init):
3157 * shell/ev-sidebar-thumbnails.h:
3158 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3159 (ev_sidebar_set_document):
3160 * shell/ev-sidebar.h:
3161 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3163 Small rework of sidebar code. Now sidebar pages should implement
3164 EvSidebarPage interface. That makes page management in EvSidebar
3165 easier. See bug #164811 for details
3167 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3169 * shell/ev-application.c: (ev_application_open):
3170 * shell/ev-document-types.c:
3172 Fix build error and small problem with application exit
3174 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3176 * thumbnailer/Makefile.am:
3177 * thumbnailer/evince-thumbnailer-djvu.schemas:
3178 * thumbnailer/evince-thumbnailer-dvi.schemas:
3180 Conditionally install schemas for djvu/dvi thumbnailer
3182 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3184 * shell/ev-document-types.h:
3185 * shell/ev-document-types.c:
3186 New files, handling the mapping from mimetypes to backends
3188 * shell/ev-window.c:
3189 * thumbnailer/evince-thumbnailer.c:
3190 Use the ev-document-types code
3192 * shell/Makefile.am:
3193 Added new convenience library libevbackendfactory_la, containing
3194 the new mimetype->backend logic; moved the backends into it.
3196 * thumbnailer/Makefile.am:
3197 Make the thumbnailer link with the libevbackend.la convenience
3198 library, rather than having a duplicate of the backend logic here.
3200 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3202 * shell/ev-stock-icons.c: constify some vars.
3203 * shell/ev-window.c: ditto.
3205 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3207 * ps/ps-document.c (get_page_orientation):
3209 Respect document orientation
3211 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3215 * shell/Makefile.am:
3217 Move library dependencies to components.
3219 * shell/ev-window.c: (update_window_title),
3220 (start_loading_document):
3222 Fix display of uris with spaces. Bug 168358.
3224 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3226 * shell/ev-sidebar-links.c: (selection_changed_cb):
3227 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3228 (ev_view_button_release_event), (ev_view_set_document):
3230 * shell/ev-window.c: (find_bar_search_changed_cb):
3231 * shell/ev-window.h: Minor cleanups removing some dead code.
3233 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3235 * backend/ev-page-cache.c: (_ev_page_cache_new):
3237 Set current page to 0 if document has pages.
3239 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3241 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3243 Initialize GError to NULL, fix a crash when loading fails.
3245 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3247 * shell/ev-window.c: (update_view_size):
3249 Calculate shadow size only when there is actually
3252 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3254 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3257 Allow setting view spacing, default to 0
3259 * shell/ev-window.c: (ev_window_unfullscreen),
3260 (ev_window_cmd_view_fullscreen), (ev_window_init):
3262 Remove spacing in fullscreen mode
3264 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3266 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3267 (ev_view_size_request), (expose_bin_window),
3268 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3270 * shell/ev-window.c: (ev_window_unfullscreen),
3271 (ev_window_cmd_view_fullscreen):
3273 Do not draw the border in fulscreen
3275 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3277 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3278 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3279 (find_page_at_location), (page_changed_cb):
3281 Rework border calculation, so that I can more easily disable it.
3282 Code somewhat cleaner too.
3284 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3286 * backend/ev-page-cache.c: (ev_page_cache_init),
3287 (_ev_page_cache_new):
3289 Remove some assertions, documents can have 0 pages.
3290 Make initial current page -1.
3292 * shell/ev-page-action.c: (page_changed_cb):
3294 Show "" if current page is -1
3296 * shell/ev-window.c: (update_action_sensitivity),
3297 (ev_window_setup_document):
3299 When document has 0 pages do not set the view
3300 and make nearly everything insensitive.
3302 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3304 * shell/ev-page-view.c:
3305 * shell/ev-page-view.h:
3307 Remove unused files.
3309 * shell/ev-sidebar-thumbnails.c:
3310 (ev_sidebar_thumbnails_set_document):
3311 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3312 (ev_sidebar_supports_document):
3313 * shell/ev-sidebar.h:
3314 * shell/ev-window.c: (ev_window_setup_document):
3316 Doesn't show thumbnails if document has 1 page. Make
3317 sidebar menu entries sensitive only if if they have
3318 sense. Fix bug 164811.
3320 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3322 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3323 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3324 (ev_view_zoom_out), (ev_view_set_size):
3326 Rework sizing to deal with documents with not uniform page
3329 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3331 * backend/ev-page-cache.c: (_ev_page_cache_new):
3333 Fix several page size caching bugs
3335 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3337 * shell/ev-window.c: (set_action_properties):
3339 Make all toolbar items translatable
3341 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3343 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3344 (save_page_list), (ps_document_save),
3345 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3346 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3347 (ps_document_ps_exporter_iface_init):
3350 Based on a patch by J�rg Billeter <j@bitron.ch>
3352 Implement print and save a copy for the ps backend.
3354 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3356 * backend/ev-document.h:
3357 * djvu/djvu-document.c: (djvu_document_can_get_text),
3358 (djvu_document_document_iface_init):
3359 * dvi/dvi-document.c: (dvi_document_can_get_text),
3360 (dvi_document_document_iface_init):
3361 * pdf/ev-poppler.cc:
3362 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3363 (pixbuf_document_document_iface_init):
3364 * ps/ps-document.c: (ps_document_can_get_text),
3365 (ps_document_document_iface_init):
3366 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3367 * shell/ev-window.c: (update_action_sensitivity):
3369 Fix the crash when trying to copy in backends that doesnt
3370 support it. We can implement a better solution once we
3371 do real text selection.
3373 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3375 * data/evince-ui.xml:
3376 * shell/ev-window.c: (ev_window_cmd_escape):
3378 Work around the Escape conflict (find bar and unfullscreen)
3380 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3382 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3384 Fix for #300233. Next page correctly handles document end.
3386 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3387 (ev_sidebar_thumbnails_class_init),
3388 (ev_sidebar_thumbnails_set_document),
3389 (ev_sidebar_thumbnails_clear_job),
3390 (ev_sidebar_thumbnails_clear_model):
3392 Cleanup thumbnail jobs on document changes.
3394 * shell/ev-view.c: (add_scroll_binding_keypad),
3395 (add_scroll_binding_shifted), (ev_view_class_init):
3397 Shift + Space scrolls up. Fix for #173184
3399 * shell/ev-window.c: (ev_window_open_page),
3400 (ev_window_cmd_view_reload):
3402 Fix reload (Bug #300094)
3404 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3407 * dvi/mdvi-lib/assoc.c:
3408 * dvi/mdvi-lib/assoc.h: Removed garbage files
3410 * dvi/mdvi-lib/bitmap.c:
3411 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3412 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3413 * dvi/mdvi-lib/color.h: Antialias of rules
3415 * dvi/mdvi-lib/common.h:
3416 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3417 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3418 * dvi/mdvi-lib/files.c:
3419 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3420 * dvi/mdvi-lib/mdvi.h:
3421 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3422 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3423 * dvi/mdvi-lib/util.c: Fix compile warnings
3425 * dvi/dvi-document.c:
3426 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3427 (dvi_document_thumbnails_get_thumbnail),
3428 (dvi_document_document_thumbnails_iface_init):
3429 * dvi/mdvi-lib/Makefile.am:
3430 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3431 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3433 Dvi backend now renders thumbnails
3435 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3437 * shell/main.c: (main):
3439 Save accelerators on exit. Fixes bug #172095.
3441 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3443 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3444 update priority" comment.
3446 * backend/ev-job-queue.c: Give a way to change priority.
3448 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3450 * shell/ev-page-action.c: Fix logic.
3452 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3454 * shell/ev-view.c: (ev_view_can_find_next):
3455 * shell/ev-window.c: (ev_window_setup_document):
3457 Check that the document supports find
3459 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3461 * data/evince-ui.xml:
3462 * shell/ev-view.c: (ev_view_can_find_next):
3464 * shell/ev-window.c: (update_action_sensitivity),
3465 (find_changed_cb), (ev_window_setup_document),
3466 (ev_window_cmd_edit_find_next):
3470 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3472 * pdf/ev-poppler.cc:
3473 * shell/ev-print-job.c: (idle_print_handler):
3475 Make printing work again
3477 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3479 * shell/ev-page-action.h:
3480 * shell/ev-page-action.c: (ev_page_action_widget_init),
3481 (ev_page_action_widget_class_init), (page_changed_cb),
3482 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3483 (get_filter_model_from_model), (match_selected_cb),
3484 (display_completion_text), (match_completion), (update_model),
3485 (connect_proxy), (ev_page_action_set_property),
3486 (ev_page_action_get_property), (ev_page_action_set_document),
3487 (ev_page_action_set_model), (ev_page_action_class_init): Big
3488 reworking to make completions work iff we have >= GTK-2.7.0
3490 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3491 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3492 (job_finished_cb): We now have a 'model' property that is set when
3493 the links are loaded. This can be caught with "notify::model"
3495 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3496 listen for the model to be set, and propagate it to the action.
3498 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3500 * cut-n-paste/recent-files/egg-recent-item.c:
3501 (egg_recent_item_set_uri), (make_valid_utf8),
3502 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3503 * cut-n-paste/recent-files/egg-recent-item.h:
3505 Update egg-recent from libegg. This should fix long
3506 startup problem. For details see
3507 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3509 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3511 * cut-n-paste/recent-files/Makefile.am:
3512 * data/evince-ui.xml, shell/Makefile.am:
3513 * shell/ev-application.c, shell/ev-application.h:
3514 * shell/ev-window.c: Recent files support.
3516 * configure.ac: Added "ru" to ALL_LINGUAS.
3518 * dvju: new backend to support DJVU files.
3519 * dvi: new backend to support DVI.
3521 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3522 * ev-application.c: Support for new backends.
3524 * help, ev-window.c, main.c shell/Makefile.am:
3525 Evince user documentation.
3527 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3530 * shell/ev-window.c:
3531 * thumbnailer/evince-thumbnailer.c:
3533 s/pdf-document/ev-poppler
3535 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3542 * ps/ps-document.c: (setup_pixmap):
3546 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3548 * backend/ev-page-cache.c (ev_page_cache_next_page):
3549 * shell/ev-window.c (ev_window_cmd_go_next_page)
3550 (ev_window_cmd_go_first_page): Fix of by one errors.
3552 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3554 * ps/ps-document.c: (get_page_box):
3556 Fix page size calculation
3558 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3560 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3561 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3562 (get_page_orientation), (setup_page), (document_load),
3563 (ps_document_get_page_size), (render_pixbuf_idle):
3566 More refactoring to adapt to EvDocument changes
3568 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3570 * ps/ps-document.c: (start_interpreter):
3572 Actually add alpha args
3574 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3576 * pdf/ev-poppler.cc:
3578 Make clipboard work again
3580 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3582 Make searching work again.
3584 * backend/ev-document.c:
3585 * backend/ev-document.h:
3586 * backend/ev-document-find.c:
3587 * backend/ev-document-find.h: Change EvDocumentIface so we no
3588 longer store the current page or zoom level in the document. The
3589 consequence is that all calls that operate on the current page now
3590 instead take the page number as an extra argument, and all
3591 coordinates are now doubles in document coordinate system.
3593 * pdf/ev-poppler.cc:
3594 * pixbuf/pixbuf-document.c:
3595 * ps/ps-document.c: Update backends accordingly.
3597 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3601 Add required gettext version
3603 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3605 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3606 make F1 bring up non-existent help.
3608 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3609 epiphany's find bar, #167477
3611 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3612 <emil@nishra.com> to add space-bar scrolling,
3614 * shell/ev-window.c (static GtkActionEntry entries): add default
3615 keybinding for Help (F1)
3618 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3619 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3622 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3625 * pixbuf/pixbuf-document.c:
3627 Got pixbuf backend working again
3629 2005-04-01 Steve Murphy <murf@e-tools.com>
3631 * configure.in: Added "rw" to ALL_LINGUAS.
3633 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3635 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3636 model types, noticed by Martin Kretzschmar.
3638 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3640 * pdf/ev-poppler.cc: Implement search based on
3641 poppler_page_find_text(). Currently a bit crude since we remember
3642 all matches from all pages. Also, we grab the big document lock
3643 when we search since searching changes the underlying stream and
3644 thus conflicts with the rendering thread.
3646 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3647 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3648 (ev_view_find_previous): Fix some page indexes to be 0 based,
3649 offset rubber band by view offset,
3651 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3653 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3655 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3657 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3658 completely because I didn't understand GtkActions. I should
3659 read Marco's code more carefully in the future.
3661 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3664 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3666 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3667 PopplerRectangle change from poppler CVS.
3669 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3671 * backend/ev-document.c: (ev_document_get_page_label):
3672 * backend/ev-document.h:
3673 * backend/ev-page-cache.c: (_ev_page_cache_new),
3674 (ev_page_cache_get_page_label):
3675 * backend/ev-page-cache.h:
3676 * pdf/ev-poppler.cc:
3677 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3678 (links_page_num_func):
3679 * shell/ev-sidebar-thumbnails.c:
3680 (ev_sidebar_thumbnails_set_document):
3681 * shell/ev-view.c: (status_message_from_link),
3682 (ev_view_motion_notify_event):
3683 * shell/ev-window.c: (document_supports_sidebar): Add in page
3684 label support. It's not perfect yet, but it's the first 'feature'
3686 Also, fix a bogus comment noticed by crispin.
3688 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3690 * Makefile.am: Remove pixbuf backend for now
3692 * configure.ac: Require poppler-glib instead of just poppler.
3694 * backend/ev-document-thumbnails.h: Add a comment
3696 * backend/ev-document.h:
3697 * backend/ev-document.c: (ev_document_class_init),
3698 (ev_document_load), (ev_document_get_link),
3699 (ev_document_get_links): Remove 3 methods and add get_links.
3702 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3703 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3705 * backend/ev-link.c: (ev_link_set_title),
3706 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3707 (ev_link_mapping_find):
3708 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3710 * backend/ev-page-cache.c: (ev_page_cache_init),
3711 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3712 (ev_page_cache_get_size), (ev_page_cache_next_page),
3713 (ev_page_cache_prev_page): Fix to be 0 based.
3717 * pdf/ev-poppler.cc: New backend.
3719 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3720 (ps_document_get_page), (ps_document_document_iface_init):
3722 * shell/ev-pixbuf-cache.h:
3723 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3724 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3725 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3726 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3727 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3728 Fix up code to grab a page cache per each doc. Also, fix to be 0
3731 * shell/ev-sidebar-thumbnails.c:
3732 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3733 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3735 * shell/ev-view.c: (status_message_from_link),
3736 (find_page_at_location), (get_link_at_location),
3737 (ev_view_motion_notify_event), (ev_view_button_release_event),
3738 (ev_view_init): Use the new link code. Fix to be 0 based.
3740 * shell/ev-window.c: (update_action_sensitivity),
3741 (document_supports_sidebar): 0 based.
3743 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3745 * pdf/pdf-document.cc: Patch from Fernando Herrera
3746 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3749 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3751 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3752 1 to the page, as this seems to be 1 based. I thought we has this
3755 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3758 * backend/Makefile.am:
3759 * backend/ev-document-links.c:
3760 (ev_document_links_has_document_links),
3761 (ev_document_links_get_links_model):
3762 * backend/ev-document-links.h:
3763 * backend/ev-document.c: (ev_document_get_page_cache),
3764 (ev_document_get_doc_mutex), (ev_document_load),
3765 (ev_document_save), (ev_document_get_title),
3766 (ev_document_get_n_pages), (ev_document_set_page),
3767 (ev_document_get_page), (ev_document_set_target),
3768 (ev_document_set_scale), (ev_document_set_page_offset),
3769 (ev_document_get_page_size), (ev_document_get_text),
3770 (ev_document_get_link), (ev_document_render),
3771 (ev_document_render_pixbuf), (ev_document_scale_changed):
3772 * backend/ev-document.h:
3773 * backend/ev-job-queue.c: (remove_object_from_queue),
3774 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3775 (no_jobs_available_unlocked), (ev_render_thread),
3776 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3777 (ev_job_queue_remove_job):
3778 * backend/ev-job-queue.h:
3779 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3780 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3781 (ev_job_links_class_init), (ev_job_render_init),
3782 (ev_job_render_dispose), (ev_job_render_class_init),
3783 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3784 (ev_job_thumbnail_class_init), (ev_job_finished),
3785 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3786 (ev_job_render_run), (ev_job_thumbnail_new),
3787 (ev_job_thumbnail_run):
3788 * backend/ev-jobs.h:
3789 * backend/ev-link.c:
3790 * backend/ev-link.h:
3791 * backend/ev-page-cache.c: (ev_page_cache_init),
3792 (ev_page_cache_class_init), (ev_page_cache_finalize),
3793 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3794 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3795 (ev_page_cache_set_link), (ev_page_cache_get_title),
3796 (ev_page_cache_get_size), (ev_page_cache_next_page),
3797 (ev_page_cache_prev_page):
3798 * backend/ev-page-cache.h:
3799 * pdf/pdf-document.cc:
3802 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3803 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3804 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3805 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3806 (is_interpreter_ready), (output), (catchPipe), (input),
3807 (start_interpreter), (check_filecompressed), (compute_dimensions),
3808 (ps_document_enable_interpreter), (document_load),
3809 (ps_document_next_page), (render_page), (ps_document_set_page),
3810 (ps_document_set_scale), (render_pixbuf_idle),
3811 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3813 * shell/Makefile.am:
3814 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3815 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3816 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3817 (ev_pixbuf_cache_new), (job_finished_cb),
3818 (check_job_size_and_unref), (move_one_job),
3819 (ev_pixbuf_cache_update_range), (find_job_cache),
3820 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3821 (ev_pixbuf_cache_add_jobs_if_needed),
3822 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3823 * shell/ev-pixbuf-cache.h:
3824 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3825 (idle_print_handler):
3826 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3827 (selection_changed_cb), (create_loading_model),
3828 (ev_sidebar_links_construct), (links_page_num_func),
3829 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3830 (update_page_callback), (job_finished_cb),
3831 (ev_sidebar_links_set_document):
3832 * shell/ev-sidebar-thumbnails.c:
3833 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3834 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3835 (page_changed_cb), (thumbnail_job_completed_callback),
3836 (ev_sidebar_thumbnails_set_document):
3837 * shell/ev-sidebar-thumbnails.h:
3838 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3839 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3840 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3841 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3842 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3843 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3844 (ev_view_button_release_event), (ev_view_scroll_view),
3845 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3846 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3847 (ev_view_new), (job_finished_cb), (page_changed_cb),
3848 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3849 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3850 (ev_view_find_previous):
3852 * shell/ev-window.c: (update_action_sensitivity),
3853 (ev_window_open_page), (update_window_title), (update_total_pages),
3854 (page_changed_cb), (ev_window_setup_document),
3855 (password_dialog_response), (ev_window_cmd_save_as),
3856 (ev_window_print), (ev_window_cmd_go_previous_page),
3857 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3858 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3859 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3860 * shell/main.c: (main):
3862 Merge evince-threads branch
3864 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3866 * configure.ac: Added "lt" to ALL_LINGUAS.
3868 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3875 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3877 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3879 Fix here also the thumbnails 1-basedness :)
3881 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3888 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3890 * pdf/pdf-document.cc:
3891 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3892 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3894 Fix the mess we did with thumbnails and 1-basedness
3896 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3898 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3900 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3907 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3910 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3911 (gtk_gs_defaults_get_alpha_parameters),
3912 (gtk_gs_defaults_get_ungzip_cmd),
3913 (gtk_gs_defaults_get_unbzip2_cmd):
3915 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3916 (ps_document_get_orientation), (document_load),
3917 (ps_document_goto_page), (ps_document_set_page_size):
3920 Some more sanitization of the ps backend. Remove a lot
3921 of unused code and do not base our defaults on ggv
3924 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3926 * thumbnailer/evince-thumbnailer.schemas:
3927 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3928 (main): add -s option for thumbnail size.
3930 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3934 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3937 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3939 * pdf/pdf-document.cc:
3941 Remove 4 pixels of useless border from the
3944 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3946 * backend/ev-document-thumbnails.c:
3947 (ev_document_thumbnails_get_thumbnail):
3948 * backend/ev-document-thumbnails.h:
3950 Rework API a bit. Add a border flag and
3951 change sizing logic (now the size we specify
3952 applies to the bigger dimension).
3954 * pdf/pdf-document.cc:
3955 * pixbuf/pixbuf-document.c:
3956 (pixbuf_document_thumbnails_get_thumbnail):
3957 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3958 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3960 Adapt to the new API and do not draw a border for nautilus
3963 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3965 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3966 take thumbnails from page "0" instead of "1". Added a copyright header.
3968 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3970 * ps/ps-document.c: (set_up_page), (start_interpreter):
3972 Make it C89 compliant
3974 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3979 * pdf/pdf-document.cc:
3980 * thumbnailer/Makefile.am:
3981 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3983 * thumbnailer/evince-thumbnailer.schemas:
3984 * thumbnailer/pdf-icon.png:
3986 Add a nautilus thumbnailer.
3987 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3989 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3997 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3999 Use poppler instead of including xpdf source code. Poppler is a
4000 fork of xpdf to build it as a shared library. See
4001 http://freedesktop.org/wiki/Software/poppler.
4003 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4006 * pdf/Makefile.am: Build libpdfdocument.a here.
4008 * pdf/GDKSplashOutputDev.cc:
4009 * pdf/GDKSplashOutputDev.h:
4010 * pdf/GnomeVFSStream.cc:
4011 * pdf/GnomeVFSStream.h:
4014 * test-gdk-output-dev.cc
4016 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4019 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4021 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4023 Clear idle stack before unsetting the document
4025 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4027 * ps/ps-document.c: (ps_document_widget_event),
4028 (ps_document_set_target), (ps_document_finalize),
4029 (ps_document_get_page):
4031 Disconnect the widget event signal on finalize.
4034 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4036 * ps/ps-document.c: (set_up_page):
4038 If there is no bpixmap create one, even if size
4041 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4043 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4044 (set_up_page), (document_load), (ps_document_set_zoom):
4046 Default page is 0. Calculate size even when we have no
4049 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4051 * shell/ev-sidebar.c: expand the selection widget to be always as
4054 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4056 * shell/ev-sidebar-thumbnails.c:
4057 (ev_sidebar_thumbnails_set_document):
4059 Clear the list store when setting document
4061 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4063 * shell/ev-page-action.c: (update_entry), (sync_entry),
4064 (activate_cb), (entry_size_request_cb), (create_tool_item),
4067 Use an entry for the page control instead of spinbuttons
4069 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4071 * data/evince.schemas.in:
4073 Correct confusing string
4075 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4077 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4078 for real. Gosh, how long has this been broken.
4080 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4081 check for a NULL link. We crash otherwise.
4083 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4090 2005-02-25 Sebastien Bacher <seb128@debian.org>
4092 * configure.ac: add the french translation.
4094 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4096 * shell/ev-window.c:
4098 Remove unused header -> fix distcheck
4100 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4102 * shell/ev-window.c: (update_window_title),
4103 (ev_window_popup_password_dialog):
4105 Unescape filename for display
4107 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4109 * pdf/xpdf/pdf-document.cc:
4111 In get_page_size deal with rotation. Also
4112 cleanup the function a bit.
4114 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4116 * pdf/xpdf/pdf-document.cc:
4118 Fix crash when opening in new window
4120 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4124 Check ghostscript >= 7
4126 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4128 * shell/ev-window.c:
4130 Make page width the default sizing mode
4132 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4133 Marco Pesenti Gritti <marco@gnome.org>
4135 * shell/ev-window.c: Remember the sidebar size
4137 * data/evince.schemas.in: Add a new gconf key to store the size of
4140 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4142 * data/evince-ui.xml:
4143 * shell/ev-window.c: (update_action_sensitivity),
4144 (ev_window_cmd_view_reload):
4146 Add a "Reload" action and menu entry
4148 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4150 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4151 iff the type doesn't support thumbnailing and indexing.
4153 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4155 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4157 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4159 * pdf/splash/Splash.cc:
4161 Port fix for a crasher from kde bug
4162 http://bugs.kde.org/show_bug.cgi?id=97131
4164 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4166 * pdf/xpdf/pdf-document.cc:
4168 Return a link even if it's of an unrecognized
4169 type. Otherwise we go in an infinte cycle.
4171 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4173 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4174 (size_allocate_cb), (ev_window_set_sizing_mode):
4176 Update size when switching mode
4178 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4180 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4181 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4182 (ev_window_cmd_view_normal_size):
4184 Fix size toggle buttons behavior
4186 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4188 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4189 (doc_rect_to_view_rect), (ev_view_size_allocate),
4190 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4191 (scale_changed_callback):
4193 Do not cache offsets in size_allocate.
4195 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4197 * shell/ev-view.c: (ev_view_size_allocate):
4199 Calculate offsets before calling the parent
4200 class (which does a redraw)
4202 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4204 * pdf/xpdf/pdf-document.cc:
4206 Fix a crasher on exit. Unused code, put a TODO
4208 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4210 * backend/ev-document.c: (ev_document_class_init),
4211 (ev_document_page_changed), (ev_document_scale_changed):
4212 * backend/ev-document.h:
4214 Separate page/scale notifications
4216 * pdf/xpdf/pdf-document.cc:
4218 Emit the new signals.
4219 Do not display the pdf page in _render, do it
4220 when scale/page are requested.
4222 * ps/ps-document.c: (ps_document_set_zoom),
4223 (ps_document_widget_event):
4226 Emit the new signals.
4228 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4229 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4230 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4231 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4233 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4234 (ev_window_cmd_view_page_width), (size_allocate_cb),
4235 (ev_window_set_sizing_mode):
4237 Rework sizing to be pixel based.
4238 There are bugs but should be already way better.
4240 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4242 * shell/ev-window.c: (ev_window_init):
4244 Do not allow to shrink sidebar smaller then
4247 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4249 * shell/ev-sidebar.[ch]
4250 * shell/ev-window.c:
4252 Improved sidebar widget. Fixes #166683
4254 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4256 * shell/ev-view.c (update_find_status_message): Give translators
4257 more flexibility with ngettext plural handling.
4259 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4261 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4262 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4263 page when we get the page size.
4265 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4267 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4269 ps pages are 0 based, convert
4271 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4273 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4275 Initialize correct parent class. Set GError on document load
4277 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4279 * pdf/xpdf/pdf-document.cc:
4281 Fixup selection offset calculation
4283 * shell/ev-view.c: (view_rect_to_doc_rect),
4284 (doc_rect_to_view_rect), (ev_view_size_allocate),
4285 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4286 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4288 Store selection as document relative, so that zooming
4289 and offset changing doesnt break it.
4291 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4293 * shell/ev-view.c: (ev_view_best_fit):
4295 Do not try to best fit if the view is not realized
4297 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4299 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4301 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4303 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4305 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4307 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4308 the popup window. That prevents it resizing when in full screen
4311 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4312 multiple rerenders. This pretty much sucks.
4314 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4315 rest of the toolbar.
4317 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4319 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4321 2005-02-17 Alexander Shopov <ash@contact.bg>
4323 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4325 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4327 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4329 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4331 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4332 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4333 (set_document_page), (document_changed_callback),
4334 (ev_view_set_document), (ev_view_find_previous),
4335 (ev_view_hide_cursor), (ev_view_show_cursor):
4337 * shell/ev-window.c: (update_chrome_visibility),
4338 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4339 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4340 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4341 (ev_window_unfullscreen):
4342 * shell/main.c: (main):
4344 Automatically hide the fullscreen button.
4345 Patch by Kristian Høgsberg <krh@redhat.com>
4347 2005-02-16 Vincent Noel <vnoel@cox.net>
4349 * shell/main.c (main): Specify an icon for the window. Patch by
4350 Jaap A. Haitsma. Fixes #166177.
4352 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4354 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4356 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4358 * backend/ev-document-misc.h:
4359 * backend/ev-document-misc.c:
4360 (ev_document_misc_get_page_border_size),
4361 (ev_document_misc_paint_one_page): New function to canonicalize
4362 sizing/painting a border.
4364 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4367 * pdf/xpdf/pdf-document.cc: use new function
4369 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4370 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4371 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4372 shell/ev-window.c: (update_sizing_buttons),
4373 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4374 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4375 (ev_window_cmd_view_page_width), (size_allocate_cb),
4376 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4377 and "fit width" values act as toggle buttons so they stay
4378 toggled. It's not 100% perfect, and it's a little slow, but it's
4379 good enough to commit I think.
4381 2005-02-15 David Lodge <dave@cirt.net>
4383 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4385 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4387 * shell/ev-window.c (update_window_title): replace newlines in
4388 the title by spaces. Bug #166107.
4390 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4392 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4393 parameters providing allocation width and height without
4394 scrollbars and width of a possible vertical scrollbar. With this
4395 additional information the functions can work as
4396 intended. Unfortunately they're not idempotent. We should
4397 transform these commands to toggles. Fixes Bug #164976
4398 Initial patch by Stephane Loeuillet, then heavily modified.
4400 * shell/ev-view.h: update prototypes.
4402 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4403 (ev_window_cmd_view_page_width): provide EvView fit functions with
4404 all the information they need. Formulas to calculate this
4405 information taken from GtkScrolledWindow.
4407 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4409 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4410 created a thumbnail, the list store is updated to know
4411 that the thumbnail is set. Fixes bug #166792
4413 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4415 * shell/ev-window.c: fixed typo, closes bug 166897
4417 * TODO: updated TODO with bug numbers that are relevant
4419 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4421 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4423 2005-02-09 Vincent Noel <vnoel@cox.net>
4425 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4426 and "Next" toolbar buttons as important to make them stand out.
4428 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4432 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4433 (start_interpreter), (stop_interpreter), (document_load),
4434 (ps_document_next_page), (ps_document_goto_page),
4435 (ps_document_set_page_size), (ps_document_widget_event),
4436 (ps_document_render):
4437 * shell/ev-page-view.c: (ev_page_view_dispose):
4438 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4440 Fix compilation on non-gcc platforms
4442 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4449 * pdf/xpdf/Catalog.cc:
4452 Fix the fix for CAN-2004-0888
4454 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4457 * data/evince-ui.xml:
4458 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4459 * shell/ev-stock-icons.h:
4460 * shell/ev-window.c: (update_action_sensitivity),
4461 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4462 (set_action_properties):
4464 Improve toolbar layout/icons
4466 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4468 * pdf/xpdf/pdf-document.cc:
4470 Add warnings about unimplemented/unknown link
4473 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4475 * ps/ps-document.c: (set_up_page):
4479 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4481 * ps/ps-document.c: (start_interpreter):
4485 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4487 * shell/ev-page-view.c: (ev_page_view_dispose):
4488 * shell/ev-view.c: (ev_view_finalize):
4489 * shell/ev-window.c: (ev_window_setup_document),
4490 (ev_window_dispose), (ev_window_init):
4492 Solve more refs issues.
4494 I commented out the page_view initialization for now:
4495 it was never destroyed (because it's never added
4496 to a container). Because of that we was leaking
4497 gs processes. Couldnt think to a clean fix.
4498 We need to figure this out, password view has the
4499 same issue probably.
4501 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4503 * ps/ps-document.c: (ps_document_finalize),
4504 (ps_document_get_n_pages), (ps_document_get_page):
4506 Some cleanups, stop the interpreter on finalize
4508 * shell/ev-page-view.c: (ev_page_view_dispose),
4509 (ev_page_view_class_init):
4511 Release our reference on the document
4513 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4517 * doc/debugging.txt:
4520 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4521 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4522 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4525 Add debugging helpers
4528 * ps/ps-document.c: (set_up_page), (start_interpreter),
4529 (stop_interpreter), (document_load), (ps_document_next_page),
4530 (ps_document_goto_page), (ps_document_set_page_size),
4531 (ps_document_widget_event), (ps_document_render):
4532 * shell/Makefile.am:
4533 * shell/ev-view.c: (expose_bin_window):
4534 * shell/main.c: (main):
4538 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4540 * ps/ps-document.c: (ps_document_widget_event):
4542 Initialize message_window, this should make ps
4543 rendering really work! (Never noticed because I was
4544 testing with a ps that is causing gs to exit every time!)
4546 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4548 * data/evince.schemas.in: updated simple error in applyto closing tag
4550 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4556 * data/evince-ui.xml:
4557 A data/evince.schemas.in:
4559 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4560 * shell/ev-stock-icons.h:
4561 * shell/ev-window.c: (update_chrome_visibility),
4562 (update_chrome_flag), (ev_window_cmd_edit_find),
4563 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4564 (ev_window_unfullscreen), (ev_window_focus_in_event),
4565 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4566 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4567 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4568 (ev_window_dispose), (ev_window_class_init),
4569 (set_action_properties), (set_chrome_actions), (load_chrome),
4572 Implement fullscreen mode changes from bug #164776.
4573 Also implement persistent chrome toggles.
4575 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4577 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4579 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4585 Add another check for find interface
4589 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4591 * shell/ev-application.c: (ev_application_open):
4592 * shell/ev-window.c: (ev_window_open):
4594 Open gzipped ps documents
4596 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4599 * shell/ev-view.c: (set_document_page):
4601 Clamp page number, dont try to move to
4604 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4606 * backend/ev-document-find.c: (ev_document_find_changed):
4607 * backend/ev-document-find.h:
4608 * pdf/xpdf/pdf-document.cc:
4609 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4610 * shell/ev-window.c: (find_bar_search_changed_cb):
4612 Fix several bugs with find
4614 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4616 * shell/ev-sidebar-thumbnails.c
4617 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4618 document. Prevents warning from scroll_to_cell.
4620 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4622 * configure.ac: Add «nb» to ALL_LINGUAS too.
4624 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4626 * NOTES: New file with some random thoughts.
4630 * backend/ev-document-misc.c:
4631 (ev_document_misc_get_page_border_size): New function to
4632 canonicalize shadow drawing sizes. Possibly goofy.
4634 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4635 (ev_view_best_fit), (ev_view_fit_width):
4636 * pdf/xpdf/pdf-document.cc:
4637 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4638 * ps/ps-document.c: (ps_document_get_page_size):
4639 * backend/ev-document-misc.h:
4640 * backend/ev-document.c: (ev_document_get_page_size):
4641 * backend/ev-document.h: get_page_size now takes a page number
4642 parameter. Made all the backends/frontends honor it.
4644 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4645 see. Doesn't work yet.
4647 * shell/Makefile.am:
4648 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4649 Doesn't do anything yet.
4651 * shell/ev-sidebar-thumbnails.c:
4652 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4655 * shell/ev-window.c: (update_action_sensitivity),
4656 (ev_window_setup_document), (ev_window_set_page_mode),
4657 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4658 view-swapping code a bit so we can have multiple views on a
4659 document. Add the multi-page view, though it can't be turned on
4662 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4664 * shell/ev-application.c: (ev_application_open):
4665 * shell/ev-view.c: (expose_bin_window):
4666 * shell/ev-window.c: (ev_window_open):
4668 Support eps and check document supports find
4669 before drawing highlightings in expose.
4671 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4673 * pixbuf/pixbuf-document.c:
4674 (pixbuf_document_thumbnails_get_dimensions),
4675 (pixbuf_document_document_thumbnails_iface_init):
4677 implement get_dimensions
4679 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4686 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4688 * shell/ev-view.c: (set_document_page):
4690 Scroll at the top of the page when changing page
4692 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4694 * shell/ev-view.c: (ev_view_motion_notify_event):
4696 Do not redraw unnecessarily
4698 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4700 * pdf/xpdf/pdf-document.cc:
4701 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4702 (expose_bin_window), (find_changed_cb):
4704 Yay! find works now... Now to find bugs...
4706 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4708 * backend/ev-document-find.c: (ev_document_find_base_init),
4709 (ev_document_find_changed):
4710 * backend/ev-document-find.h:
4711 * pdf/xpdf/pdf-document.cc:
4712 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4713 (expose_bin_window), (ev_view_init), (set_document_page),
4714 (ensure_rectangle_is_visible), (jump_to_find_result),
4715 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4716 (ev_view_find_next), (ev_view_find_previous):
4718 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4720 More work on find implementation, mostly there now
4722 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4724 * backend/ev-backend-marshalers.list:
4725 * backend/ev-document-find.c: (ev_document_find_base_init),
4726 (ev_document_find_cancel), (ev_document_find_page_has_results),
4727 (ev_document_find_get_n_results), (ev_document_find_get_result),
4728 (ev_document_find_get_progress), (ev_document_find_changed):
4729 * backend/ev-document-find.h:
4731 Enanche the find interface to be really able to do
4734 * pdf/xpdf/pdf-document.cc:
4738 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4739 (expose_bin_window), (ev_view_init),
4740 (ev_view_get_find_status_message), (find_changed_cb),
4741 (ev_view_set_document), (set_document_page):
4743 Adapt to the new interface. A few things are regressed sorry,
4744 I will finish it soon.
4746 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4748 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4749 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4750 ev_sidebar_thumbnails_parent_class variable, don't define another
4751 parent_class variable.
4753 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4754 (ev_page_action_class_init): ditto.
4756 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4757 (pixbuf_document_class_init): ditto.
4759 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4762 * .cvsignore: ignore various valgrind output files.
4764 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4766 * data/evince-ui.xml:
4767 * shell/Makefile.am:
4768 * shell/ev-history.c:
4769 * shell/ev-history.h:
4770 * shell/ev-navigation-action.c:
4771 * shell/ev-navigation-action.h:
4772 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4773 (ev_view_set_page), (ev_view_fit_width):
4775 * shell/ev-window.c: (update_action_sensitivity),
4776 (ev_window_setup_document), (register_custom_actions):
4778 Kill session history
4780 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4782 * shell/ev-window.c: (update_action_sensitivity):
4784 Fix inverted up/down buttons
4786 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4788 * shell/ev-sidebar-thumbnails.c
4789 (ev_sidebar_thumbnails_select_page): make sure the selected
4790 thumbnail stays visible.
4792 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4794 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4795 scrolled window for Federico.
4797 2005-01-26 Ole Laursen <olau@hardworking.dk>
4799 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4801 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4804 * pdf/splash/SplashFTFontEngine.cc:
4806 Fix CID fonts with freetype 2.1.9
4808 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4810 * TODO: added item for desktop icon thumbnailer
4812 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4814 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4815 unloaded docs when the title is accessed.
4817 * shell/ev-password-view.[hc]: New widget for displaying password
4820 * shell/ev-window.[ch]: Refactor password handling code to handle
4823 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4831 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4833 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4834 ignore page offset here, to make search results independent of it,
4836 * shell/ev-view.c (expose_bin_window): but take offsets into
4837 account here. Bug #164932
4839 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4840 scale at the right time. Bug #164996
4842 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4844 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4845 fix the problem. Now I just removed the Adobe font names and hope
4846 that the URW fonts are always in outline format. Bug #164934
4848 * shell/ev-window.c (update_window_title): empty titles are
4849 useless, use filename in that case too.
4851 * NEWS: Add some content.
4853 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4855 * TODO: added one more TODO item and a TODONE section :)
4857 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4859 * ps/ps-document.h: add page_[xy]_offset fields.
4861 * ps/ps-document.c (ps_document_set_page_offset)
4862 (ps_document_render): Keep offset in consideration in a few
4863 places. Bug #164752 "postscript documents are not centered in
4866 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4867 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4869 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4870 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4871 stub out missing methods for complete EvDocument implementation.
4872 Fixes segfaults with Save A Copy and Copy actions.
4874 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4875 (ps_document_document_iface_init): ditto.
4877 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4881 * data/evince.desktop.in:
4885 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4887 * shell/ev-view.c: (ev_view_button_press_event),
4888 (ev_view_motion_notify_event):
4890 Make selection work in any direction
4892 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4895 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4897 Use shorter labels for some of the toolbars items
4899 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4901 * pdf/xpdf/pdf-document.cc:
4903 Check the links info is initialized before
4904 using it. Should fix a crash on startup.
4906 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4908 * pixbuf/pixbuf-document.c
4909 (pixbuf_document_thumbnails_get_dimensions): force floating point
4910 division to calculate page_ratio. Fixes crash with landscape
4913 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4915 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4917 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4919 * shell/ev-view.c (set_document_page): unset has_selection when
4921 (set_document_page): handle paper size changes when the page
4922 changes (test with Free Culture, page 2).
4924 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4926 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4927 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4929 Use normal style color for the widget background and
4930 draw a black box around the page.
4932 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4934 * pdf/xpdf/pdf-document.cc:
4936 Keep offset in consideration in a few places
4938 * shell/ev-view.c: (expose_bin_window):
4940 Set the offsets so that the document is ever centered
4942 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4944 * TODO: Added TODO items and finished off the first todo item
4946 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4947 reflect current authors
4949 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4951 * pdf/xpdf/pdf-document.cc:
4952 * shell/ev-view.c: (ev_view_set_cursor),
4953 (ev_view_motion_notify_event), (document_changed_callback),
4954 (set_document_page):
4956 Show a wait cursor while the page is rendering
4958 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4960 * shell/ev-sidebar-thumbnails.c:
4961 (ev_sidebar_tree_selection_changed),
4962 (ev_sidebar_thumbnails_select_page):
4963 * shell/ev-sidebar-thumbnails.h:
4964 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4965 (ev_view_can_go_forward):
4966 * shell/ev-window.c: (ev_window_open_page),
4967 (ev_window_setup_document), (update_current_page),
4968 (view_page_changed_cb), (ev_window_init):
4969 * shell/ev-window.h:
4971 Ensure thumbnails selection, toolbar page control and
4972 current page are in sync.
4974 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4980 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4982 * backend/Makefile.am:
4983 * backend/ev-document-links.h:
4984 * backend/ev-document-security.c: (ev_document_security_get_type),
4985 (ev_document_security_has_document_security),
4986 (ev_document_security_set_password):
4987 * backend/ev-document-security.h:
4988 * backend/ev-document.c: (ev_document_error_quark):
4989 * backend/ev-document.h:
4991 * data/evince-password.glade:
4992 * pdf/xpdf/pdf-document.cc:
4993 * shell/Makefile.am:
4994 * shell/ev-password.c: (ev_password_set_bad_password_label),
4995 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4996 (ev_password_dialog_get_password),
4997 (ev_password_dialog_set_bad_pass):
4998 * shell/ev-password.h:
4999 * shell/ev-window.c: (ev_window_get_attribute),
5000 (ev_window_set_property), (update_action_sensitivity),
5001 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5002 (ev_window_setup_document), (ev_window_get_password),
5003 (ev_window_open), (ev_window_cmd_save_as),
5004 (using_postscript_printer), (ev_window_print),
5005 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5006 (update_fullscreen_popup), (ev_window_fullscreen),
5007 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5008 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5009 (menu_item_select_cb), (find_bar_search_changed_cb),
5010 (ev_window_dispose), (ev_window_init):
5012 Add initial support for password-supported dialogs. This could be
5013 a lot cooler, but it'll do for now.
5015 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5017 * pdf/xpdf/pdf-document.cc:
5018 * shell/ev-view.c: (status_message_from_link),
5019 (ev_view_set_status), (ev_view_set_cursor),
5020 (ev_view_motion_notify_event), (ev_view_init):
5021 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5023 Fix bugs in the links implementation and change cursor
5024 when hovering a link.
5026 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5028 * viewer/.cvsignore: added cvsignore file for viewer directory
5030 * TODO: created TODO document
5032 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5035 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5036 new functions to help with implementation of sensitivity code
5037 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5038 of all actions that might require it. Fixes a crash when you
5039 click on the Zoom actions in a window lacking a document.
5041 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5043 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5046 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5048 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5049 (pixbuf_document_document_iface_init):
5050 * ps/ps-document.c: (ps_document_get_link),
5051 (ps_document_document_iface_init):
5052 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5053 (status_message_from_link), (ev_view_set_status),
5054 (ev_view_set_find_status), (ev_view_motion_notify_event),
5055 (ev_view_button_release_event), (ev_view_set_property),
5056 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5057 (ev_view_get_find_status_message), (update_find_results),
5058 (ev_view_get_status), (ev_view_get_find_status):
5060 * shell/ev-window.c: (view_status_changed_cb),
5061 (view_find_status_changed_cb), (ev_window_init):
5063 View status message support, use it to show the links.
5066 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5068 * backend/ev-document.c: (ev_document_get_link):
5069 * backend/ev-document.h:
5070 * pdf/xpdf/pdf-document.cc:
5071 * shell/ev-application.c: (ev_application_open):
5072 * shell/ev-application.h:
5073 * shell/ev-sidebar-links.c: (selection_changed_cb):
5074 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5075 (ev_view_go_to_link):
5077 Add support for document links
5079 2005-01-13 Anders Carlsson <andersca@gnome.org>
5081 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5083 Set the spin button limits correctly.
5085 * shell/ev-sidebar-thumbnails.c:
5086 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5087 Support changing pages by clicking on the thumbnails.
5089 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5091 * pixbuf/pixbuf-document.c:
5092 (pixbuf_document_thumbnails_get_dimensions),
5093 (pixbuf_document_document_thumbnails_iface_init):
5095 implement get_dimensions
5097 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5099 * ps/ps-document.c: (ps_document_goto_page):
5101 Fix page switching on multipage documents
5103 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5105 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5107 check for NULL before assigning to width and height parameters
5109 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5111 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5112 (pixbuf_document_set_property), (pixbuf_document_get_property):
5114 implement get/set properties
5116 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5118 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5120 return NULL instead of "Unknown", letting the title get set to
5121 the filename when the pdf has no title.
5123 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5125 * ps/ps-document.c: (ps_document_get_page_count),
5126 (ps_document_goto_page):
5128 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5130 * shell/ev-history.c: (ev_history_get_property),
5131 (ev_history_set_property), (ev_history_class_init),
5132 (ev_history_add_page), (ev_history_set_current_index):
5133 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5134 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5135 (ev_navigation_action_finalize):
5136 * shell/ev-navigation-action.h:
5137 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5138 (ev_view_go_forward), (ev_view_get_find_status_message),
5139 (history_index_changed_cb), (ev_view_set_history):
5141 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5142 (update_current_page), (register_custom_actions):
5144 Implement history dropdowns
5146 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5148 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5149 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5150 (ev_view_go_forward):
5151 * shell/ev-window.c: (register_custom_actions):
5153 Fix several history bugs
5155 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5157 * configure.ac: Add «nb» to ALL_LINGUAS.
5159 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5161 * backend/Makefile.am:
5162 * backend/ev-bookmark.c:
5163 * backend/ev-bookmark.h:
5164 * backend/ev-document-bookmarks.c:
5165 * backend/ev-document-bookmarks.h:
5166 * backend/ev-document-links.c: (ev_document_links_get_type),
5167 (ev_document_links_has_document_links),
5168 (ev_document_links_begin_read), (ev_document_links_get_link),
5169 (ev_document_links_get_child), (ev_document_links_next),
5170 (ev_document_links_free_iter):
5171 * backend/ev-document-links.h:
5172 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5173 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5174 (ev_link_get_link_type), (ev_link_set_link_type),
5175 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5176 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5177 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5178 (ev_link_new_external):
5179 * backend/ev-link.h:
5180 * pdf/xpdf/pdf-document.cc:
5181 * shell/Makefile.am:
5182 * shell/ev-application.c: (ev_application_open_link):
5183 * shell/ev-application.h:
5184 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5185 (ev_history_get_link_nth):
5186 * shell/ev-history.h:
5187 * shell/ev-sidebar-bookmarks.c:
5188 * shell/ev-sidebar-bookmarks.h:
5189 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5190 (ev_sidebar_links_class_init), (selection_changed_cb),
5191 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5192 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5193 (do_one_iteration), (populate_links_idle),
5194 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5195 * shell/ev-sidebar-links.h:
5196 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5197 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5200 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5201 * shell/ev-window.h:
5203 Rename bookmark to link, and use "Index" for the sidebar panel.
5205 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5207 * shell/Makefile.am:
5208 * shell/ev-application.c: (ev_application_open_bookmark):
5209 * shell/ev-application.h:
5210 * shell/ev-history.c: (ev_history_init), (free_links_list),
5211 (ev_history_finalize), (ev_history_class_init),
5212 (ev_history_add_link), (ev_history_add_page),
5213 (ev_history_get_link_nth), (ev_history_get_n_links),
5214 (ev_history_get_current_index), (ev_history_set_current_index),
5216 * shell/ev-history.h:
5217 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5218 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5219 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5220 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5223 * shell/ev-window.c: (ev_window_open_bookmark),
5224 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5225 (goto_page_cb), (register_custom_actions):
5226 * shell/ev-window.h:
5228 Initial history implementation. Needs work.
5230 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5232 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5234 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5236 * cut-n-paste/recent-files/egg-recent-item.c:
5237 * cut-n-paste/recent-files/egg-recent-item.h:
5238 * cut-n-paste/recent-files/egg-recent-model.c:
5239 * cut-n-paste/recent-files/egg-recent-util.c:
5240 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5241 * cut-n-paste/recent-files/egg-recent-view.c:
5245 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5247 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5248 (fillGlyph, fillImageMask, drawImage):
5249 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5250 pdf/splash/SplashTypes.h:
5251 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5252 packed mode for Splash.
5254 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5255 RGB8 packed mode, eliminates the pixbuf data creation loop.
5257 * shell/ev-print-job.c (ev_print_job_finalize)
5258 (ev_print_job_set_property, ev_print_job_get_property)
5259 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5260 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5261 (print_closure_finalize, ev_print_job_print): implement
5262 printing (for backends with EvPsExporter)
5264 * shell/ev_print_job.h: update prototypes.
5266 * shell/ev-window.c (ev_window_print): unref print job after
5269 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5270 unless the document implements the EvDocumentFind interface.
5272 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5274 * configure.ac: Added ja to ALL_LINGUAS.
5276 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5278 * pdf/xpdf/pdf-document.cc:
5280 add a FIXME. We should probably not allocate
5281 a bookmark object every time
5283 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5285 * shell/ev-application.c: (ev_application_open),
5286 (ev_application_open_bookmark):
5287 * shell/ev-application.h:
5289 Add a way to open bookmarks
5291 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5292 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5293 (ev_bookmark_set_property), (ev_bookmark_class_init),
5294 (ev_bookmark_new_title), (ev_bookmark_new_link),
5295 (ev_bookmark_new_external):
5297 Support for external uris, better constructors.
5299 * backend/ev-bookmark.h:
5300 * pdf/xpdf/pdf-document.cc:
5301 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5303 Handle external uris
5305 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5307 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5308 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5310 Hook up bookmarks navigation
5312 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5314 * backend/Makefile.am:
5315 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5316 (ev_bookmark_get_title), (ev_bookmark_set_title),
5317 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5318 (ev_bookmark_get_page), (ev_bookmark_set_page),
5319 (ev_bookmark_get_property), (ev_bookmark_set_property),
5320 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5322 * backend/ev-bookmark.h:
5323 * backend/ev-document-bookmarks.c:
5324 (ev_document_bookmarks_get_bookmark):
5325 * backend/ev-document-bookmarks.h:
5326 * pdf/xpdf/pdf-document.cc:
5327 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5329 Add a bookmark object to the backend and use it instead of get_values
5331 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5333 * data/evince-ui.xml:
5335 Cleanup and add select all.
5337 * shell/ev-view.c: (ev_view_select_all),
5338 (ev_view_button_press_event):
5340 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5343 Clear selection on click.
5345 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5347 * shell/ev-sidebar-thumbnails.c
5348 (ev_sidebar_thumbnails_set_document): forgot to unref the
5351 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5353 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5354 at the visible page, not just linearly. This makes it look fast.
5356 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5358 * backend/ev-document-misc.c
5359 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5361 * backend/ev-document-thumbnails.h: New interface to get the size
5364 2005-01-06 Jeremy Katz <katzj@redhat.com>
5366 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5369 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5371 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5372 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5375 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5377 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5379 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5380 fonts. Should fix font problems on systems that have the base
5381 fonts in bitmap format. Reported by James Henstridge
5382 <james@jamesh.id.au>.
5384 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5387 * pdf/xpdf/GfxState.cc:
5389 Fix for CAN-2004-1125
5391 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5393 * shell/ev-view.c: (ev_view_copy):
5395 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5397 Implement Edit->Copy
5399 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5401 * backend/ev-document.c: (ev_document_get_text):
5402 * backend/ev-document.h:
5403 * pdf/xpdf/pdf-document.cc:
5404 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5405 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5406 (ev_view_update_primary_selection), (ev_view_button_press_event),
5407 (ev_view_motion_notify_event), (ev_view_button_release_event):
5409 Beginnings of clipboard support. Incomplete but primary sort
5412 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5414 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5415 (expose_bin_window):
5417 Nicer rubberband drawing, from GtkIconView.
5419 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5421 * backend/ev-document.c: (ev_document_save):
5422 * backend/ev-document.h:
5423 * data/evince-ui.xml:
5424 * pdf/xpdf/pdf-document.cc:
5425 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5427 Implement "Save a copy..." menu item
5429 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5431 * shell/ev-view.c: (ev_view_zoom):
5433 Queue a resize when zoom changes
5435 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5437 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5440 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5443 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5445 * pdf/xpdf/pdf-document.cc
5446 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5448 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5450 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5451 It's slow, but I'll speed it up next!
5453 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5455 * shell/main.c (load_files):
5457 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5458 from the command line and because it seems more appropriate.
5460 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5462 * data/evince-ui.xml:
5463 * shell/ev-window.c: (update_action_sensitivity),
5464 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5466 s/next page/page down
5467 s/previous page/page up
5469 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5471 * data/evince-ui.xml:
5473 Change the layout to match clarkbw design.
5475 * shell/Makefile.am:
5476 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5477 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5478 (ev_navigation_action_finalize),
5479 (ev_navigation_action_set_property),
5480 (ev_navigation_action_get_property),
5481 (ev_navigation_action_class_init):
5482 * shell/ev-navigation-action.h:
5484 Implement clarkbw toolbar navigation controls (incomplete)
5486 * shell/ev-page-action.c: (update_label), (update_spin),
5487 (value_changed_cb), (create_tool_item), (connect_proxy),
5488 (ev_page_action_init), (ev_page_action_finalize),
5489 (ev_page_action_set_property), (ev_page_action_get_property),
5490 (ev_page_action_set_current_page),
5491 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5492 * shell/ev-page-action.h:
5494 Implement a page switcher in the toolbar
5496 * shell/ev-view.c: (ev_view_scroll_view):
5497 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5498 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5499 (register_custom_actions), (ev_window_init):
5501 Change page on PageUp/Down.
5503 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5505 * pdf/xpdf/pdf-document.cc
5506 (pdf_document_thumbnails_get_thumbnail): initial stab at
5507 implementing thumbnail support for pdfs. It only does documents
5508 with precached pdfs now.
5510 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5512 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5513 thumbnail code into a time-based idle as well. Also, turn off the
5514 shadow temporarily as it's really slow.
5516 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5518 * backend/ev-document.c: (ev_document_class_init):
5519 * pdf/xpdf/pdf-document.cc:
5520 * shell/ev-window.c: (ev_window_open):
5522 Fix document title bugs and fallback to
5523 filename when not available.
5525 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5527 * backend/ev-document.c: (ev_document_get_type),
5528 (ev_document_class_init), (ev_document_load),
5529 (ev_document_get_title):
5530 * backend/ev-document.h:
5531 * pdf/xpdf/pdf-document.cc:
5532 * ps/ps-document.c: (ps_document_set_property),
5533 (ps_document_get_property), (ps_document_class_init),
5537 * shell/ev-window.c: (update_window_title), (ev_window_open),
5540 Initial support for document title. Not working yet.
5542 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5544 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5546 Grab focus on the view when clicking it
5548 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5550 * shell/ev-marshal.list:
5551 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5552 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5554 Add key bindings to the view. Now if the focus would work
5557 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5560 * backend/Makefile.am:
5563 * dvi/dvilib/Makefile.am:
5564 * pdf/xpdf/Makefile.am:
5570 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5572 * shell/ev-view.c: (ev_view_realize):
5574 Fix mouse wheel scrolling
5576 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5582 * ps/ps-document.c: (catchPipe), (ps_document_init),
5583 (ps_document_class_init), (ps_document_cleanup),
5584 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5585 (set_up_page), (close_pipe), (is_interpreter_ready),
5586 (interpreter_failed), (output), (input), (start_interpreter),
5587 (stop_interpreter), (file_length), (file_readable),
5588 (check_filecompressed), (check_pdf), (compute_xdpi),
5589 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5590 (ps_document_get_type), (ps_document_emit_error_msg),
5591 (document_load), (ps_document_next_page),
5592 (ps_document_get_current_page), (ps_document_get_page_count),
5593 (ps_document_goto_page), (ps_document_set_page_size),
5594 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5595 (ps_document_load), (ps_document_get_n_pages),
5596 (ps_document_set_page), (ps_document_get_page),
5597 (ps_document_widget_event), (ps_document_set_target),
5598 (ps_document_set_scale), (ps_document_set_page_offset),
5599 (ps_document_get_page_size), (ps_document_render),
5600 (ps_document_document_iface_init):
5603 * shell/ev-window.c: (ev_window_open):
5605 Rename GtkGS to PSDocument
5607 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5609 * ps/gtkgs.c: (gtk_gs_class_init):
5612 Some more leftover...
5614 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5616 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5617 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5618 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5621 Remove unused code and make a lot of stuff private
5623 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5625 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5626 (gtk_gs_defaults_changed):
5632 Cleanup headers dependencies
5634 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5639 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5641 * ps/gtkgs.c: (file_length), (file_readable),
5642 (check_filecompressed), (check_pdf), (gtk_gs_load),
5643 (gtk_gs_get_postscript):
5647 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5652 * ps/gtkgs.c: (gtk_gs_set_zoom):
5656 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5658 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5660 Ensure the page is rerendered when changing zoom
5662 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5664 * backend/ev-document.c: (ev_document_base_init),
5665 (ev_document_changed):
5666 * backend/ev-document.h:
5668 Add a changed event that is emitted when the page content
5669 changes. This is necessary to deal with the fact that
5670 in ps backend rendering happen asycrounously.
5671 This makes the ps backend mostly work.
5673 * pdf/xpdf/pdf-document.cc:
5677 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5678 (ps_document_set_target):
5682 * shell/ev-view.c: (document_changed_callback),
5683 (ev_view_set_document), (ev_view_set_page):
5685 Redraw on the changed signal
5687 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5689 * configure.ac: Added pt_BR to ALL_LINGUAS.
5691 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5693 * backend/ev-document-bookmarks.c:
5694 (ev_document_bookmarks_get_child): *
5695 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5696 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5697 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5698 (ev_sidebar_bookmarks_destroy),
5699 (ev_sidebar_bookmarks_class_init),
5700 (ev_sidebar_bookmarks_construct), (stack_data_free),
5701 (do_one_iteration), (populate_bookmarks_idle),
5702 (ev_sidebar_bookmarks_clear_document),
5703 (ev_sidebar_bookmarks_set_document): *
5704 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5705 (ev_sidebar_add_page),
5706 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5707 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5708 it displays both the topics and the page numbers.
5710 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5712 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5714 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5717 2004-12-23 Adam Weinberger <adamw@gnome.org>
5719 * configure.ac: Added en_CA to ALL_LINGUAS.
5721 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5723 * ChangeLog: replace bottom of this ChangeLog (merged history of
5724 ggv and gpdf; where all paths were wrong and most of the files are
5725 not even in this tree) with ChangeLog (from arch) of the shell
5728 2004-12-23 Havoc Pennington <hp@redhat.com>
5730 * shell/ev-window.c: hook up potentially-questionable "find
5731 results status text" feature - something involving the sidebar or
5732 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5733 might be better in the end.
5735 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5736 with corresponding signal when it should be updated
5738 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5740 2004-12-22 Havoc Pennington <hp@redhat.com>
5742 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5743 find stuff on other pages, sort of (only returns one result on
5744 invisible pages, to show they have results; updates full results
5745 for a page when you view it). Currently repaints the current page
5746 every time a new result is found on any page, which isn't so nice.
5748 2004-12-22 Havoc Pennington <hp@redhat.com>
5750 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5751 the document doesn't support find (better ideas?)
5752 (find_bar_search_changed_cb): handle missing document or document
5753 that doesn't support find
5755 * pdf/xpdf/pdf-document.cc: port to implement the new
5758 * backend/ev-document-find.c: create a new interface for searching
5760 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5762 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5764 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5767 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5768 EvPrintJob constructor arguments.
5770 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5771 for documents that can export PostScript (page by page).
5773 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5775 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5776 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5777 (pdf_document_ps_exporter_iface_init:
5778 Implement EvPSExporter.
5780 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5782 2004-12-22 Anders Carlsson <andersca@gnome.org>
5784 * backend/Makefile.am:
5785 * backend/ev-document-thumbnails.c:
5786 (ev_document_thumbnails_get_type),
5787 (ev_document_thumbnails_get_thumbnail):
5788 * backend/ev-document-thumbnails.h:
5789 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5790 (pixbuf_document_thumbnails_get_thumbnail),
5791 (pixbuf_document_document_thumbnails_iface_init):
5792 * shell/Makefile.am:
5793 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5794 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5795 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5796 * shell/ev-sidebar-thumbnails.h:
5797 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5798 (ev_sidebar_set_document):
5799 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5800 (create_shadow), (ev_pixbuf_add_shadow):
5802 Add thumbnail support.
5804 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5806 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5807 (using_postscript_printer): Set up a print dialog for "PostScript
5810 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5813 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5815 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5817 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5818 (ps_document_set_target), (ps_document_get_page_size),
5819 (ps_document_render):
5824 2004-12-22 Christian Rose <menthos@menthos.com>
5826 * configure.ac: Added "sv" to ALL_LINGUAS.
5828 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5830 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5831 document supports bookmarks.
5833 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5835 * ps/ggvutils.c: (ggv_file_readable):
5837 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5838 (gtk_gs_get_postscript):
5842 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5844 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5845 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5846 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5847 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5848 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5849 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5850 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5851 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5852 (gtk_gs_set_antialiasing), (ps_document_load),
5853 (ps_document_render):
5856 Another check point for the ps backend. Now I can get it to show
5859 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5861 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5862 document setting code.
5864 2004-12-22 Anders Carlsson <andersca@gnome.org>
5866 * shell/eggfindbar.c: (entry_activate_callback):
5867 Animate the next button when activate is pressed.
5869 2004-12-22 Anders Carlsson <andersca@gnome.org>
5871 * shell/ev-window.c: (ev_window_cmd_edit_find),
5872 (update_fullscreen_popup), (ev_window_fullscreen),
5873 (ev_window_unfullscreen), (ev_window_state_event_cb),
5874 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5875 Fix bugs in fullscreen code.
5877 2004-12-22 Anders Carlsson <andersca@gnome.org>
5881 * pixbuf/Makefile.am:
5882 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5883 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5884 (pixbuf_document_set_page), (pixbuf_document_get_page),
5885 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5886 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5887 (pixbuf_document_render), (pixbuf_document_begin_find),
5888 (pixbuf_document_end_find), (pixbuf_document_finalize),
5889 (pixbuf_document_class_init),
5890 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5891 * pixbuf/pixbuf-document.h:
5892 * shell/Makefile.am:
5893 * shell/ev-application.c: (ev_application_open):
5894 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5898 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5901 * dvi/dvilib/Makefile.am:
5903 * configure.ac: Auto*ify dvi and dvi/dvilib
5905 * dvi/Makefile: Remove from CVS
5907 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5910 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5912 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5914 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5917 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5918 (gtk_gs_value_adjustment_changed), (compute_size),
5919 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5920 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5921 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5922 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5923 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5924 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5925 (ps_document_load), (ps_document_get_n_pages),
5926 (ps_document_set_page), (ps_document_get_page),
5927 (ps_document_set_target), (ps_document_set_scale),
5928 (ps_document_set_page_offset), (ps_document_get_page_size),
5929 (ps_document_render), (ps_document_begin_find),
5930 (ps_document_end_find), (ps_document_document_iface_init):
5932 * shell/Makefile.am:
5933 * shell/ev-window.c: (ev_window_open):
5935 Some work to integrate gtkgs with EvDocument
5937 2004-12-22 Anders Carlsson <andersca@gnome.org>
5939 * shell/ev-window.c: (update_fullscreen_popup),
5940 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5941 (exit_fullscreen_button_clicked_cb),
5942 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5943 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5944 (ev_window_state_event_cb), (ev_window_init):
5945 Add fullscreen support from Epiphany.
5947 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5949 * data/ev-stock-zoom-fit-width.png: fit-width
5950 stock icon from gpdf.
5952 * shell/ev-stock-icons.[ch]: copied from gpdf.
5954 * shell/main.c: (main): init stock icons.
5956 * shell/ev-window.c: use the fit-width icon.
5958 * data/evince-ui.xml: add zooming toolbar items.
5960 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5963 (ev_view_best_fit), (ev_view_fit_width): because
5964 get_page_size() returns the scaled page size, we
5965 need to calculate the scale factor relative to
5966 the previous scale factor. Should really just
5967 add get_real_page_size().
5969 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5971 * shell/ev-view.[ch]:
5972 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5973 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5976 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5977 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5978 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5981 * pdf/xpdf/pdf-document.cc:
5982 (pdf_document_begin_find),
5983 (pdf_document_end_find): make static.
5985 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5987 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5989 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5990 names to fontconfig patterns.
5991 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5993 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5996 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6012 Import ggv backend. Not hooked up yet.
6014 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6016 * shell/main.c: (load_files), (main): load files
6017 from the command line.
6019 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6021 * configure.ac: don't require bonobo.
6023 * cut-n-paste/recent-files/*: kill bonobo recent
6026 * shell/ev-window.c:
6027 (ev_window_is_empty): upd.
6028 (unable_to_load), (ev_window_open): load backend
6029 based on the mime type.
6031 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6033 * backend/.cvsignore: ignore generated marshalers source.
6035 * shell/main.c (main): this is not epiphany.
6037 2004-12-22 Havoc Pennington <hp@redhat.com>
6039 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6040 (expose_bin_window): draw find highlights
6042 * shell/ev-window.c (find_bar_search_changed_cb): implement
6044 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6045 (pdf_document_end_find): implement this interface
6047 * backend/ev-document.c (ev_document_found): add this to emit
6050 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6052 * data/evince-ui.xml: Add a few more toolbar items.
6054 * shell/ev-window.c: Hook up page navigation toolbar
6057 * shell/ev-view.[ch]: add ev_view_set/get_page and
6058 a page-changed signal.
6060 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6061 Add ev_document_get_page().
6063 * shell/ev-window.c: Sensitize/desensitize navigation
6066 2004-12-21 Havoc Pennington <hp@redhat.com>
6068 * backend/ev-backend-marshal.c,
6069 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6070 marshaler-generator thingy. I'm sure there's a better way to do
6071 this in the modern world.
6073 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6074 end_find methods and "found" signal.
6076 * configure.ac: find glib-genmarshal
6078 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6080 * shell/ev-sidebar.c: Construct an actual sidebar.
6081 * shell/ev-sidebar-bookmarks.[ch]:
6082 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6084 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6086 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6089 * shell/ev-view.c: Track the size from the document.
6091 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6093 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6094 constructor assumes ownership of the string passed in.
6096 * shell/ev-window.c (ev_window_open): Destroy the error
6097 dialog once we've displayed it.
6099 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6101 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6102 a bit, it works! (sort of)
6104 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6105 Move to .cc since we need to use C++ in the implementation.
6107 * shell/dummy.cc: Add a CC file to force evince
6108 to be linked as a C++ program.
6110 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6112 * shell/ev-view.[ch]: Start of content-area widget.
6114 * shell/ev-window.c: Create a EvView, update it
6115 as we change documents.
6117 * shell/Makefile.am shell/ev-marshal.list: Add
6118 generated marshalers.
6120 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6122 * Makefile.am (SUBDIRS): move shell.
6124 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6126 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6127 .a to libtool convenience libraries.
6129 * shell/ev-window.c (ev_window_open): Hard code loading
6132 * backend/ev-document.h: Add a boolean return to load(),
6133 fix GError * to GError **.
6135 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6136 object for a PDF backend EvDocument.
6138 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6140 * dvi/*: New directory with the beginning of a .dvi backend.
6142 2004-12-21 Havoc Pennington <hp@redhat.com>
6144 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6145 previous/next instead of back/forward
6147 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6149 * backend/ev-document.[ch]: Fix a couple of problems so
6152 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6154 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6155 to backend/ directory, rename EvViewer to EvDocument.
6157 2004-12-21 Havoc Pennington <hp@redhat.com>
6159 * shell/ev-window.c: hook up the find bar widget; now we just need
6160 a document to find things in
6162 * shell/eggfindbar.c: a find bar widget
6164 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6166 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6168 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6170 * pdf/**: Import of xpdf code from gpdf.
6172 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6174 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6175 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6176 Fix FreeType includes.
6178 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6179 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6180 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6181 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6182 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6183 Include xpdfconfig.h
6185 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6187 * shell/ev-window.c (ev_window_dispose): dispose can be called
6190 2004-12-21 Havoc Pennington <hp@redhat.com>
6192 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6195 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6196 items; really they should be synced with the strings, etc. from
6197 current gpdf, but just getting the boring typing out of the way
6199 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6202 * shell/ev-application.c: (window_destroy_cb):
6203 * shell/ev-window.c:
6204 * shell/main.c: (main):
6206 Actually show the window...
6208 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6211 * shell/Makefile.am:
6212 * shell/ev-application.c: (ev_application_class_init):
6213 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6217 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6219 Import to gnome cvs.
6221 * Remove copies of gpdf and ggv trees.
6222 * Rip out all the recursive configure code.
6223 * Remove bonobo machinery.
6224 * viewer/*: GInterfaces that backends should/can implement.
6226 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6228 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6231 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6233 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6234 (ev_application_finalize, ev_application_class_init)
6235 (ev_application_init): use GType instance private data for priv.
6237 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6238 (ev_window_finalize, ev_window_class_init)
6239 (ev_window_init): ditto.
6241 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6243 * shell/ev-application.c (ev_application_new_window): make public
6244 (ev_application_show_initial_window): kill.
6246 * shell/ev-application.h: update prototypes.
6248 * shell/main.cc (main): inline ev_application_show_initial_window.
6250 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6252 * shell/ev-application.c (ev_application_new_window): impl.
6253 (ev_application_show_initial_window): use it.
6254 (is_window_empty, ev_application_get_empty_window): returns an
6255 existing empty window or a new one.
6256 (ev_application_open): from ev_window_cmd_file_open.
6258 * shell/ev-application.h: update prototypes
6260 * shell/ev-window.c (ev_window_is_empty): impl.
6261 (ev_window_open): make public.
6262 (ev_window_cmd_file_open): use ev_application_open
6264 * shell/ev-window.h: update prototypes, remove unused.
6266 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6268 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6269 move destroy handler out of here...
6271 * shell/ev-application.c, shell/ev-application.h: ...into this new
6272 class. Also handles initial window creation.
6274 * shell/main.cc (main): use EvApplication to create initial
6277 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6279 * Makefile.am (SUBDIRS): add cut-n-paste
6281 * cut-n-paste/Makefile.am: add
6283 * configure.ac: generate Makefiles in cut-n-paste
6285 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6287 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6288 (ev_window_class_init): install ev_window_dispose.
6290 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6292 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6293 char (gchar looks stupid).
6295 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6297 * po/de.po: updated German translation.
6299 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6301 * configure.ac: add more pkg-config library checks for gnome-vfs,
6304 * gpdf/configure.in: temporarily disable libpaper
6305 checks. Otherwise I'd have to add the checks for the shell, too.
6307 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6309 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6310 and * file filters to the file choose.
6312 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6314 * po/de.po: Updated German translation.
6316 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6318 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6320 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6322 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6324 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6325 (ev_window_init): implement those menuitems.
6327 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6329 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6331 * shell/ev-window.c (ev_window_init): use the toolbar.
6333 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6335 * shell/ev-window.c (ev_window_init): use menu translations
6337 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6339 * configure.ac: add "de" to ALL_LINGUAS.
6341 * po/de.po: add German translation.
6343 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6345 * Makefile.am (SUBDIRS): add po
6347 * configure.ac: check intltool, glib-gettext etc, generate
6350 * po, po/POTFILES.in, po/POTFILES.skip: new.
6352 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6354 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6355 already use (#ifdef ENABLE_NLS)
6357 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6358 pointer indirection thinko.
6360 * shell/main.c: include gi18n.h for bindtextdomain etc.
6362 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6364 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6365 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6366 tooltips for menu items in the statusbar.
6368 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6370 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6371 pkgdatadir drop UIDIR
6373 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6375 * data/evince-ui.xml: Add File->Open menu item
6377 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6378 chooser), hook it up in the ui manager.
6380 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6382 * shell/ev-window.c: fix Help->About tooltip.
6384 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6386 * configure.ac: set CFLAGS for libevprivate.
6388 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6389 definitions, factory etc.
6391 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6393 * shell/Makefile.am: link against libevprivate.a.
6395 * shell/ev-window.c (entries): add stock icon to Help->About.
6397 * shell/main.c (main): init stock icon code.
6399 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6401 * lib/recent-files: egg recent files code
6403 * lib/Makefile.am: add.
6405 * Makefile.am: add lib subdir.
6407 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6408 set CFLAGS for recent-files.
6410 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6412 * configure.ac: disable -ansi and -pedantic gcc flags. They
6413 disable POSIX stuff in stdio.h, but egg-recent uses them.
6415 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6417 * configure.ac: add --disable-deprecated flag (defaults to on in
6420 * shell/Makefile.am (INCLUDES): use it.
6422 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6424 * shell/main.c: add missing #include.
6426 * shell/ev-window.c: fix for pedantic gcc.
6427 (ev_window_cmd_help_about): split license into paragraphs for
6428 translators and pedantic compilers.
6430 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6432 * configure.ac: add more warning flags if compiling with gcc from
6433 cvs (or explicitly requested with --enable-more-warnings).
6435 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6437 * data/evince-ui.xml: add File and File->Close menu.
6439 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6440 (ev_window_destroy): quit after destroy.
6441 (ev_window_class_init): override GtkObject::destroy.
6442 (entries): install close_window callback.
6444 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6446 * Makefile.am (SUBDIRS): add data subdir.
6448 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6449 gtk+ 2.5.0 for GtkAboutDialog.
6451 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6454 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6456 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6458 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6460 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6462 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6464 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6466 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6468 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6470 * shell/*: Added shell directory boilerplate, build it.
6472 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6474 * configure.ac, Makefile.am: Added top-level configure.ac and