1 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * djvu/djvu-document.c: (djvu_document_get_page_size),
4 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
5 (djvu_document_thumbnails_get_thumbnail):
6 * dvi/dvi-document.c: (dvi_document_get_page_size),
7 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
8 (dvi_document_thumbnails_get_dimensions),
9 (dvi_document_thumbnails_get_thumbnail):
10 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
11 (pixbuf_document_render_pixbuf),
12 (pixbuf_document_document_iface_init),
13 (pixbuf_document_thumbnails_get_thumbnail):
15 Update backends to make them build with new rotation system.
17 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
19 * help/C/figures/evince_start_window.png:
21 Update documentation image from Luca Ferretti <elle.uca@libero.it>
23 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
25 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
26 * shell/ev-pixbuf-cache.h:
27 * shell/ev-sidebar-thumbnails.c:
28 (ev_sidebar_thumbnails_get_property), (add_range),
29 (adjustment_changed_cb):
30 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
31 pixbuf cache. Make thumbnailing work again. Also, fix bug where
32 we were thumbnailing the entire docment on startup, slowing us
35 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
37 * shell/ev-page-cache.c: (ev_page_cache_new):
38 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
41 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
43 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
44 (ev_view_rotate_left):
46 Account rotation in doc_rect_to_view_rect.
47 Ensure rotation doesnt go out of bounds.
49 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
51 * shell/ev-page-cache.c: (ev_page_cache_get_size):
53 Correct and cleanup w/h swapping
55 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
57 * backend/ev-document-thumbnails.c:
58 (ev_document_thumbnails_get_thumbnail):
59 * backend/ev-document-thumbnails.h:
60 * backend/ev-document.c:
61 * backend/ev-document.h:
62 * backend/ev-render-context.c: (ev_render_context_new),
63 (ev_render_context_set_rotation):
64 * backend/ev-render-context.h:
66 * ps/ps-document.c: (ps_document_document_iface_init):
67 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
69 * shell/ev-page-cache.c: (build_height_to_page),
70 (ev_page_cache_new), (ev_page_cache_get_size),
71 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
72 (ev_page_cache_get_height_to_page):
73 * shell/ev-page-cache.h:
74 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
75 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
76 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
77 (ev_pixbuf_cache_get_selection_pixbuf):
78 * shell/ev-pixbuf-cache.h:
79 * shell/ev-print-job.c: (idle_print_handler):
80 * shell/ev-sidebar-thumbnails.c: (add_range):
81 * shell/ev-view.c: (view_update_range_and_current_page),
82 (get_page_y_offset), (get_page_extents),
83 (ev_view_size_request_continuous_dual_page),
84 (ev_view_size_request_continuous),
85 (ev_view_size_request_dual_page),
86 (ev_view_size_request_single_page), (draw_one_page),
87 (ev_view_set_rotation), (ev_view_rotate_right),
88 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
89 (ev_view_zoom_for_size_continuous_and_dual_page),
90 (ev_view_zoom_for_size_continuous),
91 (ev_view_zoom_for_size_dual_page),
92 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
94 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
95 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
96 (tiff_document_document_iface_init),
97 (tiff_document_thumbnails_get_thumbnail):
99 Use rotation rather than orientation. It's easier and enough
102 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
104 * shell/ev-page-cache.c: (build_height_to_page),
105 (ev_page_cache_new), (ev_page_cache_get_size),
106 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
107 (ev_page_cache_get_height_to_page):
108 * shell/ev-page-cache.h:
109 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
110 (ev_view_size_request_continuous_dual_page),
111 (ev_view_size_request_continuous),
112 (ev_view_zoom_for_size_continuous_and_dual_page),
113 (ev_view_zoom_for_size_continuous):
115 Make the page cache aware of page orientation.
117 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
119 * backend/ev-document-thumbnails.c:
120 (ev_document_thumbnails_get_thumbnail):
121 * backend/ev-document-thumbnails.h:
122 * backend/ev-document.c:
123 * backend/ev-document.h:
124 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
125 * backend/ev-ps-exporter.h:
127 * ps/ps-document.c: (ps_document_document_iface_init),
128 (ps_document_ps_export_do_page):
129 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
131 * shell/ev-page-cache.c: (ev_page_cache_get_size),
133 * shell/ev-page-cache.h:
134 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
135 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
136 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
137 * shell/ev-pixbuf-cache.h:
138 * shell/ev-print-job.c: (idle_print_handler):
139 * shell/ev-sidebar-thumbnails.c: (add_range):
140 * shell/ev-view.c: (view_update_range_and_current_page),
141 (get_page_extents), (ev_view_size_request_dual_page),
142 (ev_view_size_request_single_page), (draw_one_page),
143 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
144 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
145 (ev_view_zoom_for_size_dual_page),
146 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
147 (ev_view_select_all):
148 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
149 * tiff/tiff-document.c: (tiff_document_get_page_size),
150 (tiff_document_get_orientation), (rotate_pixbuf),
151 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
152 (tiff_document_thumbnails_get_thumbnail),
153 (tiff_document_ps_export_do_page), (tiff_document_init):
155 Really make use of the orientation bit of the render context.
156 Use the render context in a few more places in the backend API.
157 This regress orientation, but now it's done right. Will try to
160 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
162 * shell/ev-view.c: (ensure_rectangle_is_visible):
164 Patch by Nickolay V. Shmyrev to fix find flickering
166 2005-07-27 Martin Kretzschmar <martink@gnome.org>
168 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
169 duplex parameters to ::begin.
171 * tiff/tiff-document.c (tiff_document_ps_export_begin):
172 * shell/ev-print-job.c (idle_print_handler):
173 * ps/ps-document.c (ps_document_ps_export_begin):
174 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
175 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
176 implementations. Poppler backend needs poppler cvs. Rest has
179 2005-07-25 Martin Kretzschmar <martink@gnome.org>
181 * shell/ev-window.c (using_pdf_printer): new function.
182 (ev_window_print_range): print a less techy message if someone
183 tries to print to PDF.
185 2005-07-25 Martin Kretzschmar <martink@gnome.org>
187 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
188 from "unknown font" string. Bug #311431
190 2005-07-24 Martin Kretzschmar <martink@gnome.org>
192 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
194 2005-07-24 Martin Kretzschmar <martink@gnome.org>
198 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
199 name for PopplerFontTypes
200 (pdf_document_fonts_fill_model): add font type to the detail column
202 * backend/ev-document-fonts.h: added
203 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
205 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
206 font name and font details, add a little markup.
207 (ev_properties_fonts_init): use the new cell data func, specify ypad
208 property for the cell renderer.
209 (ev_properties_fonts_set_document): add the details column.
211 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
213 * configure.ac: Added "pl" to ALL_LINGUAS.
215 2005-07-24 Danilo Ĺ egan <danilo@gnome.org>
217 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
219 2005-07-23 Tommi Vainikainen <thv@iki.fi>
221 * help/ChangeLog: Started this for translations of manual.
222 * configure.ac, autogen.sh, .cvsignore: Migrated to
223 gnome-doc-utils. Patch in bug #311222.
225 2005-07-22 Martin Kretzschmar <martink@gnome.org>
227 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
228 #ifdef this away to fix an unused-function warning.
230 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
232 * configure.ac: Added 'gl' to ALL_LINGUAS.
234 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
236 * configure.ac: Added ne in ALL_LINGUAS
238 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
240 * shell/ev-view.c: (ev_view_leave_notify_event):
242 Clear status message when pointer leaves view. Fix for bug
245 2005-07-20 Ankit Patel <ankit644@yahoo.com>
247 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
249 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
251 * shell/ev-view.c: (ev_view_leave_notify_event),
252 (ev_view_class_init):
254 Set cursor to normal then leaving view.
256 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
260 Fix required djvulibre version.
262 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
264 *configure.ac: Hindi (hi) language added
266 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
268 *configure.ac: Punjabi (pa) Language added
270 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
272 * data/evince-ui.xml, shell/ev-window.c:
274 Add keypad accelerators for zooming. Fix for bug 308128.
276 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
279 * backend/Makefile.am:
280 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
282 * shell/ev-document-types.c: (ev_document_types_add_filters):
284 Allow to enable/disable the pixbuf backend.
285 Default to off for now. If we want it enabled we should
286 really put mime types in the desktop, implement properties etc.
288 * properties/evince-properties.c:
290 Initialize error to NULL.
291 Check error is not NULL before freeing.
293 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
297 Use F5 as presentation accell
299 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
301 * shell/ev-window.c: (update_chrome_visibility),
302 (ev_window_create_fullscreen_popup), (ev_window_init):
304 Do not leak the fullscreen toolbar
306 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
308 * shell/ev-window.c: (view_actions_focus_in_cb),
309 (view_actions_focus_out_cb):
311 These has a return value! Fix totally random focus
312 issues we was seeing.
314 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
316 * shell/main.c: (load_files_remote):
318 Allow open more than one file
320 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
322 * shell/main.c: (load_files_remote):
324 Fix for dbus 0.33. bug #309975
326 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
328 * properties/ev-properties-main.c: (ev_properties_get_pages):
330 Actually return NULL for types we dont support
332 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
338 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
340 * backend/ev-document-factory.c:
341 (ev_document_factory_get_document):
343 Do not try to create the object if type
346 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
348 * ps/ps-document.c: (ps_document_dispose),
349 (ps_async_renderer_render_pixbuf):
352 Do not leak the target window
354 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
356 * shell/ev-application.c: (ev_application_init):
358 Let tbe check file existence for us.
359 Add a comment about eggrecent mime filter.
361 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
363 * data/evince-ui.xml:
364 * shell/ev-application.c: (ev_application_shutdown),
365 (ev_application_init), (ev_application_get_toolbars_model),
366 (ev_application_get_recent_model),
367 (ev_application_save_toolbars_model):
368 * shell/ev-application.h:
369 * shell/ev-window.c: (ev_window_add_recent),
370 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
371 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
374 Use common toolbar and recent models for all windows.
375 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
377 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
379 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
380 successfully check for gtk_icon_view_get_visible_range.
382 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
387 Fix djvu and dvi backend build.
389 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
391 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
392 (new_separator_pixbuf):
396 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
398 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
400 HIGification of toolbar editor dialogue.
402 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
407 Ever build metadata manager since it's just
408 disabled at runtime now.
410 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
412 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
413 (ev_metadata_manager_get), (ev_metadata_manager_set):
414 * shell/ev-metadata-manager.h:
416 Add an _init functions that enabled metadata management
419 * shell/ev-window.c: (page_changed_cb),
420 (setup_document_from_metadata), (ev_window_setup_document),
421 (setup_view_from_metadata), (ev_window_open_uri),
422 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
423 (ev_window_run_presentation), (ev_window_stop_presentation),
424 (save_sizing_mode), (ev_window_zoom_changed_cb),
425 (ev_window_continuous_changed_cb),
426 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
427 (window_configure_event_cb):
429 Remove all ugly metadata define since we deal with it
432 * shell/main.c: (load_files_remote), (main):
434 Add support for dbus cvs head. Hopefully didnt break one
435 of the other versions now!
437 If we dont get a response from the dbus server just
438 give up with it and not enable metadata.
440 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
443 * backend/Makefile.am:
445 * cut-n-paste/recent-files/Makefile.am:
446 * cut-n-paste/toolbar-editor/Makefile.am:
447 * cut-n-paste/zoom-control/Makefile.am:
450 * pixbuf/Makefile.am:
451 * properties/Makefile.am:
454 * thumbnailer/Makefile.am:
457 Make frontends depend on just libev.
458 Rework and group CFLAGS/LIBS definitions.
461 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
465 do not unnecessarily save zoom
468 * lib/ev-file-helpers.c: (ev_dot_dir):
474 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
478 Remove unnecessary dependencies
480 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
482 * properties/Makefile.am:
483 * thumbnailer/Makefile.am:
486 Some more cleanups. Was really necessary
487 but I probably introduced bugs, feel free
490 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
492 * backend/Makefile.am:
494 * cut-n-paste/recent-files/Makefile.am:
495 * cut-n-paste/toolbar-editor/Makefile.am:
496 * cut-n-paste/zoom-control/Makefile.am:
499 * pixbuf/Makefile.am:
500 * properties/Makefile.am:
503 * thumbnailer/Makefile.am:
506 Use gnome-common macros when possible.
507 Cleanup dependencies.
508 Actually disable deprecated where possible.
510 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
513 * backend/Makefile.am:
514 * properties/Makefile.am:
516 * thumbnailer/Makefile.am:
518 This should solve the circular dep without
521 * shell/ev-window.c: (setup_view_from_metadata):
523 Never restore window size/position when the
524 window is already visible.
526 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
528 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
530 Return a boolean from timeout func. Fix ported from gedit.
532 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
534 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
536 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
538 * shell/ev-document-types.c: set "All Documents" as default filter in
541 2005-07-06 Martin Kretzschmar <martink@gnome.org>
543 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
544 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
545 (ev_metadata_manager_set_boolean): fix value/val thinko.
547 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
549 * shell/ev-window.c: (setup_view_from_metadata),
550 (window_state_event_cb), (window_configure_event_cb),
553 Remember window position and maximized state
555 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
559 Fix DBUS configure checks.
561 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
562 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
563 (ev_metadata_manager_set_boolean):
567 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
568 (ev_window_stop_fullscreen), (ev_window_run_presentation),
569 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
570 (ev_window_continuous_changed_cb),
571 (ev_window_dual_mode_changed_cb), (ev_window_new):
573 Fix the build without DBUS.
575 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
577 * shell/ev-metadata-manager.c: (parse_value), (save_values),
578 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
579 (ev_metadata_manager_set_string),
580 (ev_metadata_manager_set_boolean):
581 * shell/ev-metadata-manager.h:
583 Add support for some more types
585 * shell/ev-view.c: (scroll_to_current_page),
586 (ev_view_get_continuous), (ev_view_set_continuous),
587 (ev_view_get_dual_page):
589 * shell/ev-window.c: (page_changed_cb),
590 (setup_document_from_metadata), (ev_window_setup_document),
591 (setup_view_from_metadata), (ev_window_open_uri),
592 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
593 (ev_window_run_presentation), (ev_window_stop_presentation),
594 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
595 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
596 (ev_window_update_dual_page_action),
597 (ev_window_continuous_changed_cb),
598 (ev_window_dual_mode_changed_cb), (ev_window_init):
600 Remember a bunch of view/document properties. Prolly some
601 are still missing but it's getting interesting.
603 2005-07-05 Martin Kretzschmar <martink@gnome.org>
605 * configure.ac: check if dbus-binding-tool is installed. Not the
606 case on current Ubuntu breezy, it seems.
608 2005-07-05 Luca Ferretti <elle.uca@libero.it>
610 * data/evince.desktop.in.in:
612 Allow open uri lists and add TryExec field.
614 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
618 Enable dbus when available, do not require a configure
621 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
625 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
628 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
629 Marco Pesenti Gritti <mpg@redhat.com>
631 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
633 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
634 functions to the format required by dbus
636 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
637 errors. Use the RPC parameters in the expected way
639 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
642 * properties/Makefile.am:
643 * properties/ev-properties-main.c: (ev_properties_get_pages):
645 Support all mime types
648 * thumbnailer/Makefile.am:
649 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
650 (evince_thumbnail_pngenc_get):
652 Use the document factory
654 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
656 * backend/Makefile.am:
657 * backend/ev-document-factory.c:
658 (mime_type_supported_by_gdk_pixbuf),
659 (ev_document_type_get_from_mime),
660 (ev_document_factory_get_document),
661 (ev_document_factory_get_backend),
662 (ev_document_factory_get_mime_types),
663 (ev_document_factory_get_all_mime_types):
664 * backend/ev-document-factory.h:
666 * shell/ev-document-types.c: (get_document_from_uri),
667 (ev_document_types_get_document),
668 (file_filter_add_mime_list_and_free),
669 (ev_document_types_add_filters):
670 * shell/ev-document-types.h:
671 * shell/ev-job-xfer.c: (ev_job_xfer_run):
672 * shell/ev-properties-dialog.c:
673 (ev_properties_dialog_set_document):
674 * shell/ev-window.c: (ev_window_cmd_file_open),
675 (ev_window_cmd_save_as):
676 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
678 Rework document types managing to avoid code duplication
679 and actually abstract from backend implementations.
680 Also provide a minimal factory api that can be used by
681 thumbnailer/properties.
683 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
685 * properties/ev-properties-view.c: (ev_properties_view_set_info):
687 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
690 2005-07-04 Matthew S. Wilson <msw@rpath.com>
692 * shell/ev-properties-dialog.c
693 (ev_properties_dialog_set_document): only call
694 ev_properties_fonts_set_document() if the document implements the
697 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
700 * properties/Makefile.am:
701 * properties/ev-properties-view.c:
702 (ev_properties_view_register_type):
703 * properties/ev-properties-view.h:
704 * properties/ev-properties-main.h:
706 Implement nautilus plugin for properties.
707 Works only for pdf atm, I need to rework the
708 document types stuff to get this to work
711 2005-07-04 Martin Kretzschmar <martink@gnome.org>
713 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
714 (ev_properties_fonts_set_document): use
715 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
717 2005-07-04 Matthew S. Wilson <msw@rpath.com>
719 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
721 (PlaceImage, tiff2ps_process_page): use
722 g_ascii_dtostr to convert floats to strings in a locale-safe way.
725 2005-07-04 Martin Kretzschmar <martink@gnome.org>
727 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
728 (main): to call gnome_authentication_manager_init. Should fix
731 * configure.ac: that requires libgnomeui 2.6.0.
733 2005-07-04 Matthew S. Wilson <msw@rpath.com>
735 * tiff/tiff-document.c (tiff_document_ps_export_begin)
736 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
737 use the new tiff2ps interfaces
739 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
740 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
742 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
743 structure instead of global variables. Remove use of static
744 variables in functions.
746 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
748 * shell/ev-page-action.c: unref the completion after setting it to the
751 2005-07-04 Matthew S. Wilson <msw@rpath.com>
753 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
756 2005-07-04 Matthew S. Wilson <msw@rpath.com>
758 * shell/ev-window.c (update_action_sensitivity): disable
759 File->Print if the document does not implement the ps exporter
762 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
766 * data/evince-properties.glade:
767 * properties/.cvsignore:
768 * properties/Makefile.am:
769 * properties/ev-properties-view.c: (ev_properties_view_dispose),
770 (ev_properties_view_class_init), (ev_properties_view_format_date),
771 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
772 (ev_properties_view_init), (ev_properties_view_new):
773 * properties/ev-properties-view.h:
775 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
776 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
777 (ev_properties_dialog_new):
778 * shell/ev-properties-dialog.h:
779 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
780 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
781 (update_progress_label), (job_fonts_finished_cb),
782 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
783 * shell/ev-properties-fonts.h:
784 * shell/ev-properties.c:
785 * shell/ev-properties.h:
786 * shell/ev-window.c: (ev_window_setup_document),
787 (ev_window_cmd_file_properties):
789 Split the properties pages in two different objects, depend
790 only on the backend where possible, use widgets instead
791 of gobject for the glade part, reimplement the dialog
793 I need this to implement nautilus properties page.
795 2005-07-03 Matthew S. Wilson <msw@rpath.com>
797 * tiff/tiff-document.c (tiff_document_ps_export_begin)
798 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
799 (tiff_document_document_ps_exporter_iface_init): implement the ps
800 exporter interface for tiff documents
802 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
803 libtiff to implement TIFF postscript export
805 * tiff/tiff2ps.h: added a header file for external tiff2ps
808 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
811 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
813 * shell/ev-view.c: (scroll_to_current_page),
814 (ev_view_set_fullscreen), (ev_view_set_presentation):
816 Scroll to current page when exit from presentation
818 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
820 * shell/ev-window.c: (update_document_mode),
821 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
822 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
823 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
825 Exit from fullscreen mode when switch to presentation. Fix for
828 2005-07-02 Matthew S. Wilson <msw@rpath.com>
830 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
831 return NULL if the document does not implement the selection
834 2005-07-02 Matthew S. Wilson <msw@rpath.com>
836 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
837 reported height by using the resolution aspect ratio
838 (tiff_document_render_pixbuf): scale the pixbuf using the
839 resolution aspect ratio
841 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
845 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
846 <kiltedaco@gmail.com>
848 * djvu/djvu-document.c: (djvu_document_get_orientation),
849 (djvu_document_set_orientation), (djvu_document_get_page_size),
850 (rotate_pixbuf), (djvu_document_render_pixbuf),
851 (djvu_document_document_iface_init):
852 * dvi/dvi-document.c: (dvi_document_get_orientation),
853 (dvi_document_set_orientation), (dvi_document_get_page_size),
854 (rotate_pixbuf), (dvi_document_render_pixbuf),
855 (dvi_document_document_iface_init):
857 Dvi and djvu backends are ported to new API
859 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
861 * backend/ev-selection.c: (ev_selection_get_selection_region),
862 (ev_selection_get_selection_map):
863 * backend/ev-selection.h:
865 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
867 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
868 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
869 (ev_pixbuf_cache_get_text_mapping):
870 * shell/ev-pixbuf-cache.h:
871 * shell/ev-view.c: (location_in_text),
872 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
873 support to EvView. Now we can see where we can select! Sweet!
875 2005-06-30 Kristian Høgsberg <krh@redhat.com>
877 * shell/ev-view.c (ev_view_button_press_event): Fix
878 event->y + view->scroll_x typo.
880 2005-06-30 Kristian Høgsberg <krh@redhat.com>
882 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
883 sub-GdkPixbuf instead of passing dest_x and dest_y.
885 * shell/ev-view.c: (view_point_to_doc_point),
886 (view_rect_to_doc_rect), (ev_view_button_press_event),
887 (ev_view_motion_notify_event), (compute_new_selection_rect),
888 (gdk_rectangle_point_in), (compute_new_selection_text),
889 (compute_selections): Update selection code to keep the selection
890 around as two points and not as a normalized rectangle, and fix
891 page level selection in two-column mode.
893 2005-06-30 Alex Duggan <aldug@astrolinux.com>
895 * shell/ev-window.c: (window_configure_event_cb):
899 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
905 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
908 * shell/ev-metadata-manager.c: (item_free),
909 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
910 (parse_value), (parseItem), (load_values),
911 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
912 (save_values), (save_item), (get_oldest), (resize_items),
913 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
914 * shell/ev-metadata-manager.h:
916 Metadata manager from gedit but modified to use GValue, so that
917 we dont need to keep converting from strings.
921 ENABLE_METADATA conditional, on when dbus is on
923 * shell/ev-application.c: (ev_application_open_uri):
925 Show the window after load so that we can initialize
926 window size before it's showed.
928 * shell/ev-window.c: (ev_window_setup_from_metadata),
929 (ev_window_open_uri), (window_configure_event_cb),
932 Save and load metadata information about window size.
933 Not yet keeping states in account.
935 * shell/main.c: (main):
937 Shutdown metadata manager.
939 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
941 * shell/ev-application-service.xml:
944 * shell/ev-application.c:
945 * shell/ev-application.h:
950 Add an optional dbus interface (--enable-dbus).
951 Rework application code, mainly to be easier to
953 Do not open multiple windows with the same document,
956 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
958 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
959 pixbuf iff it exists.
961 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
964 * backend/ev-render-context.[ch]:
965 * backend/ev-selection.[ch]:
967 Massive changes. We now support text selection of pdfs, and not
968 just rectangular selection. This is pretty broken still, but I
969 want to get something into CVS.
971 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
975 Fix for Bug 309080: crash on window close.
977 * shell/ev-page-action.c: (page_changed_cb):
979 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
980 jensgr@gmx.net (Jens Granseuer).
982 2005-06-25 Marcel Telka <marcel@telka.sk>
984 * configure.in (ALL_LINGUAS): Added sk.
986 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
988 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
991 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
998 * cut-n-paste/recent-files/Makefile.am:
1002 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1004 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1005 (pixbuf_document_set_orientation), (rotate_pixbuf),
1006 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1007 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1009 Implement rotation and cleanup the code a bit.
1011 * tiff/tiff-document.c: (tiff_document_get_page_size),
1012 (tiff_document_get_orientation), (tiff_document_set_orientation),
1013 (rotate_pixbuf), (tiff_document_render_pixbuf),
1014 (tiff_document_document_iface_init), (tiff_document_init):
1016 Implement rotation. Was the quicker solution for the release
1017 but we really need to share this code in the shell.
1019 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1021 * pdf/ev-poppler.cc:
1023 Enable rotation, require poppler cvs. Fix a leak.
1025 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1027 * shell/ev-window.c: (update_action_sensitivity):
1029 Make properties unsensitive if document backend doesn't provide
1032 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1034 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1035 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1036 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1037 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1038 (bitmap_flip_rotate_counter_clockwise):
1039 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1040 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1042 * dvi/mdvi-lib/common.h:
1043 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1044 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1045 (opendvi), (mdvi_reload), (mdvi_init_context),
1046 (mdvi_destroy_context), (mdvi_dopage), (special):
1047 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1048 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1049 (file_hash_free), (register_encoding), (parse_spec),
1050 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1051 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1052 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1053 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1054 (mdvi_register_font_type), (mdvi_unregister_font_type),
1055 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1056 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1057 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1058 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1059 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1060 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1061 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1062 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1063 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1064 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1065 (mdvi_unregister_special), (mdvi_flush_specials):
1066 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1068 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1069 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1070 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1071 (free_font_metrics), (flush_font_metrics):
1072 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1074 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1075 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1076 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1077 (dstring_insert), (dstring_new), (dstring_reset):
1078 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1080 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1081 avoid conflict with libtool on FC4
1083 * shell/ev-window.c: (ev_window_cmd_help_about):
1085 Update copyright year. Fix for bug 308828.
1087 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1089 * shell/ev-view.c: (add_scroll_binding_keypad),
1090 (ev_view_binding_activated), (ev_view_class_init),
1091 (on_adjustment_value_changed):
1093 Bug 170874: Arrow keys switch pages in presentation mode
1095 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1097 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1099 Fix for Bug 308265: Sidebar dissappears coming out of
1102 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1104 * shell/ev-application.c: (ev_application_open):
1105 * shell/ev-document-types.c: (ev_document_types_add_filters),
1106 (ev_document_types_add_filters_for_type):
1107 * shell/ev-document-types.h:
1108 * shell/ev-window.c: (ev_window_cmd_save_as):
1110 Suggest basename as template when saving, provide filters
1111 for save dialog. It's bug 308402
1113 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1115 * pdf/ev-poppler.cc:
1116 * shell/ev-sidebar-links.c: (job_finished_callback):
1117 * shell/ev-view.c: (update_find_status_message):
1121 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1123 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1124 (egg_recent_view_uimanager_set_list):
1126 Fix buglet in !show_numbers case.
1128 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1130 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1131 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1133 Use pango ellipsisation.
1135 * pdf/ev-poppler.cc:
1137 Fix refcount leak, from nsh.
1139 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1141 * cut-n-paste/recent-files/Makefile.am:
1142 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1143 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1145 Removed EggRecentViewGtk
1147 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1148 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1149 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1150 (ev_window_setup_recent):
1152 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1155 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1157 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1158 (egg_recent_view_gtk_finalize):
1162 * cut-n-paste/toolbar-editor/Makefile.am:
1164 Fix location of cursor icon.
1166 * pdf/ev-poppler.cc:
1167 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1168 (display_completion_text), (match_completion):
1169 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1170 (selection_changed_callback), (create_loading_model),
1171 (print_section_cb), (links_page_num_func),
1172 (update_page_callback_foreach):
1173 * shell/ev-window.c: (ev_window_dispose):
1175 Small memory fixes. Links model now store objects instead
1176 of pointers to improve memory management.
1178 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1180 * shell/ev-window.c: (zoom_control_changed_cb):
1182 Fix update of zoom control (bug 308268).
1184 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1186 * shell/ev-properties.c (set_property): escape the text correctly.
1187 Handles non-UTF-8 properties and escaped properties. Also, sets
1188 the text to "<i>None</i>" if the property isn't set.
1190 * data/evince-properties.glade: Change the label to be ellipsized,
1191 and give it a minimum size.
1193 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1195 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1196 * shell/ev-sidebar-links.c: (create_loading_model):
1197 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1198 * shell/ev-view.c: (ev_view_set_document):
1199 * shell/ev-window.c: (ev_window_dispose):
1201 Various small fixes, mostly memory leaks. Thanks to valgrind.
1203 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1205 * ps/ps-document.c: remove the locale.h include again ;-). And
1206 kill the (bogus) setlocale/savelocale business.
1208 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1212 Include locale.h to fix build
1214 * shell/ev-sidebar.c:
1216 Remove unnecessary includes
1218 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1220 * dvi/dvi-document.c: (dvi_document_load):
1221 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1224 Check for incorrect dvi files. Fix parsing dvi on AMD64
1225 platform. Thanks to tester@tester.ca (Olivier Crete).
1227 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1229 * shell/ev-page-action.c: (match_selected_cb),
1230 (display_completion_text), (match_completion), (update_model):
1231 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1232 (expand_open_links):
1233 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1234 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1235 (ev_sidebar_set_document):
1236 * shell/ev-window.c: (ev_window_xfer_job_cb),
1237 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1239 Fixed lot's of memory leaks, for example, memory leak on reload,
1240 described in bug 307793.
1242 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1244 * pdf/ev-poppler.cc:
1245 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1246 (update_visible_range), (adjustment_changed_cb),
1247 (ev_sidebar_thumbnails_fill_model),
1248 (ev_sidebar_thumbnails_refresh),
1249 (ev_sidebar_tree_selection_changed),
1250 (ev_sidebar_icon_selection_changed),
1251 (ev_sidebar_thumbnails_use_icon_view),
1252 (ev_sidebar_thumbnails_set_document):
1253 * shell/ev-sidebar-thumbnails.h:
1254 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1255 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1257 Refresh thumbnails when changing orientation. Not fully
1258 working yet becuase of a sidebar bug.
1260 Set page orientation to poppler page everywhere. This sucks
1261 really need to fix poppler.
1263 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1265 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1266 (egg_recent_view_gtk_new_menu_item),
1267 (egg_recent_view_gtk_set_property),
1268 (egg_recent_view_gtk_get_property),
1269 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1270 (egg_recent_view_gtk_set_tooltip_func),
1271 (egg_recent_view_gtk_set_label_width),
1272 (egg_recent_view_gtk_get_label_width):
1273 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1275 Sync with libegg (ellipsize labels)
1277 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1279 * data/evince-ui.xml:
1280 * shell/ev-window.c: (ev_window_cmd_go_forward),
1281 (ev_window_cmd_go_backward):
1283 Shift + PageUp moves 10 Pages. Fix for 306125
1285 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1287 * pdf/ev-poppler.cc:
1289 Add a flag to check if orientation has been overriden
1291 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1293 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1296 * ps/ps.h: add creator field to document.
1298 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1301 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1303 * data/evince-properties.glade:
1304 * shell/ev-properties.c: (ev_properties_set_document):
1306 s/PDF Version/Format
1308 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1310 * shell/ev-properties.c: (ev_properties_set_document):
1312 Remove unnecessary translations
1314 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1316 * cut-n-paste/toolbar-editor/Makefile.am:
1318 Correct library name
1320 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1323 * cut-n-paste/recent-files/egg-recent-model.c:
1324 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1325 (egg_recent_model_unlock_file):
1326 * cut-n-paste/recent-files/egg-recent-util.c:
1327 (egg_recent_util_get_unique_id):
1328 * cut-n-paste/recent-files/update-from-egg.sh:
1329 * cut-n-paste/toolbar-editor/Makefile.am:
1330 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1331 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1332 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1333 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1334 (egg_toolbars_model_get_type):
1335 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1337 Better makefile for toolbar editor and update everything
1340 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1342 * shell/ev-window.c: (update_document_mode):
1344 Prefer presentation mode when the document
1347 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1349 * data/evince-ui.xml:
1350 * shell/ev-window.c:
1352 Add control-equal for zooming
1354 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1356 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1358 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1360 * backend/ev-document.c: (ev_document_get_orientation):
1361 * backend/ev-document.h:
1362 * pdf/ev-poppler.cc:
1363 * ps/ps-document.c: (ps_document_get_orientation),
1364 (ps_document_set_orientation), (ps_document_document_iface_init):
1366 Add a get_orientation api. Improve set_orientation.
1368 * data/evince-ui.xml:
1369 * shell/ev-view.c: (ev_view_set_orientation),
1370 (ev_view_rotate_right), (ev_view_rotate_left):
1372 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1373 (ev_window_cmd_edit_rotate_right):
1375 Better ui for changing document orientation
1377 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1379 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1380 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1381 * shell/ev-sidebar-links.h:
1382 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1383 (ev_sidebar_page_iface_init):
1384 * shell/ev-sidebar-page.h:
1385 * shell/ev-sidebar-thumbnails.c:
1386 (ev_sidebar_thumbnails_get_property),
1387 (ev_sidebar_thumbnails_class_init),
1388 (ev_sidebar_thumbnails_set_document):
1389 * shell/ev-sidebar-thumbnails.h:
1390 * shell/ev-view.c: (ev_view_motion_notify_event):
1391 * shell/ev-window.c: (update_chrome_visibility),
1392 (ev_window_cmd_focus_page_selector),
1393 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1394 (sidebar_page_main_widget_update_cb), (ev_window_init):
1396 Autoraise toolbar on GoToPage binding and fix bindings in
1397 EvSidebarThumbnails page.
1399 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1401 * shell/ev-properties.c: (update_progress_label):
1403 Hide the progress label when finished; bug #307697.
1405 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1407 * pdf/ev-poppler.cc:
1409 Enable is_open for links, you will need poppler cvs
1411 * shell/ev-properties.c: (job_fonts_finished_cb):
1413 Get a lock on the document when filling the tree view
1415 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1417 * backend/ev-document-links.h:
1418 * pdf/ev-poppler.cc:
1419 * shell/ev-sidebar-links.c: (create_loading_model),
1420 (expand_open_links), (job_finished_callback):
1422 Expand links when specified by the document.
1423 Depend on a poppler api (defined out for now)
1425 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1427 * shell/ev-properties.c: (ev_properties_dispose),
1428 (ev_properties_class_init), (dialog_destroy_cb),
1429 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1430 (ev_properties_set_document), (ev_properties_new),
1431 (ev_properties_show):
1432 * shell/ev-properties.h:
1434 Make it an object, cleanup the code, api to show it as transient
1435 and to set the document.
1437 * shell/ev-window.c: (ev_window_setup_document),
1438 (ev_window_cmd_file_properties):
1440 Adapt to EvProperties changes, do not show multiple
1441 times, update it when document changes.
1443 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1446 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1447 (ps_document_set_orientation), (ps_document_document_iface_init):
1450 Implement orientation here too
1452 * shell/ev-properties.c: (ev_properties_new):
1453 * data/evince-properties.glade:
1455 Hide the fonts page for backends that doesnt
1458 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1460 * backend/ev-document.c: (ev_document_set_orientation):
1461 * backend/ev-document.h:
1462 * pdf/ev-poppler.cc:
1464 Add orientation api. Currently poppler api is not optimal,
1465 we need to set orientation every time we _get a page.
1466 I will try to fix that at some point.
1468 * data/evince-ui.xml:
1469 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1470 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1472 Add orientation menu items
1474 * shell/ev-page-cache.c: (ev_page_cache_clear):
1475 * shell/ev-page-cache.h:
1477 Add api to clear the cache
1479 * shell/ev-view.c: (setup_caches), (clear_caches),
1480 (ev_view_set_document), (ev_view_zoom_out),
1481 (ev_view_set_orientation):
1484 Implement orientation changing
1486 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1488 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1489 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1490 * backend/ev-document-fonts.h:
1492 Separate scan and fill so that we can incrementally fill from
1493 the main thread. Add a progress api.
1495 * data/evince-properties.glade:
1496 * pdf/ev-poppler.cc:
1497 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1499 * shell/ev-properties.c: (update_progress_label),
1500 (job_fonts_finished_cb), (setup_fonts_view):
1502 Incrementally feel the list and show the progress
1503 percentage in a label like acrobat does.
1505 You are going to need poppler cvs
1507 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1509 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1510 * backend/ev-document-fonts.h:
1511 * pdf/ev-poppler.cc:
1513 Make fonts model fill incrementally.
1515 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1516 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1517 (ev_job_queue_remove_job):
1518 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1519 (ev_job_fonts_new), (ev_job_fonts_run):
1522 New job for fonts scanning
1524 * shell/ev-properties.c: (job_fonts_finished_cb),
1525 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1526 * shell/ev-properties.h:
1527 * shell/ev-window.c: (ev_window_cmd_file_properties):
1529 Incrementally feel the treeview using the new job. Show Loading...
1530 message until scanning is completed.
1532 Hopefully I didnt break the build without the poppler patch.
1534 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1536 * shell/ev-application.c: (ev_application_open):
1537 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1538 (ev_document_type_get_type), (ev_document_type_lookup):
1539 * shell/ev-document-types.h:
1540 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1541 * shell/ev-job-xfer.h:
1542 * shell/ev-window.c: (ev_window_clear_local_uri),
1543 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1544 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1545 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1547 Transfer remote documents to tmp directory to display them later.
1549 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1551 * backend/ev-document-info.h:
1552 * shell/ev-properties.c: (ev_properties_new):
1554 s/GTime*/GTime. Not sure why we was using a pointer
1557 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1559 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1560 situations. That situation is that you're using GTK+-HEAD with
1561 the patch at #306726 is applied, and you have a document with <
1562 1500 pages in it. It's not quite as uniformly nice as the
1563 TreeView, but should be better in the long run.
1565 I'm pretty sure I guarded against breaking compilation with
1566 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1569 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1570 widget yet, so I commented that code out
1571 enable_view_actions_for_widget() for now. Need to figure this
1574 * shell/ev-page-action.c (match_selected_cb): emit the right
1575 signals. Our cool C-l completion now works.
1577 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1579 * backend/Makefile.am:
1580 * backend/ev-document-fonts.c:
1581 * backend/ev-document-links.c:
1582 * backend/ev-document.c: (ev_document_load):
1583 * backend/ev-document.h:
1584 * backend/ev-job-queue.c:
1585 * backend/ev-job-queue.h:
1586 * backend/ev-jobs.c:
1587 * backend/ev-jobs.h:
1588 * backend/ev-page-cache.c:
1589 * backend/ev-page-cache.h:
1591 EvPageCache and EvJobs are moved to shell.
1593 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1595 * lib/ev-file-helpers.h:
1597 New helper to work with temporary files
1599 * shell/Makefile.am:
1600 * shell/ev-application.c: (ev_application_open):
1601 * shell/ev-application.h:
1602 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1603 (remove_job_from_async_queue), (add_job_to_async_queue),
1604 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1605 (handle_job), (search_for_jobs_unlocked),
1606 (no_jobs_available_unlocked), (ev_render_thread),
1607 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1608 (ev_job_queue_add_job), (move_job_async), (move_job),
1609 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1610 * shell/ev-job-queue.h:
1611 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1612 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1613 * shell/ev-job-xfer.h:
1614 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1615 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1616 (ev_job_links_class_init), (ev_job_render_init),
1617 (ev_job_render_dispose), (ev_job_render_class_init),
1618 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1619 (ev_job_thumbnail_class_init), (ev_job_load_init),
1620 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1621 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1622 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1623 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1625 * shell/ev-page-action.c: (ev_page_action_set_document):
1626 * shell/ev-page-cache.c: (ev_page_cache_init),
1627 (ev_page_cache_class_init), (ev_page_cache_finalize),
1628 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1629 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1630 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1631 (ev_page_cache_get_title), (ev_page_cache_get_size),
1632 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1633 (ev_page_cache_get_height_to_page),
1634 (ev_page_cache_get_max_label_chars),
1635 (ev_page_cache_get_page_label),
1636 (ev_page_cache_has_nonnumeric_page_labels),
1637 (ev_page_cache_get_info), (ev_page_cache_next_page),
1638 (ev_page_cache_prev_page), (ev_page_cache_get):
1639 * shell/ev-page-cache.h:
1640 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1641 (ev_pixbuf_cache_clear_job_sizes),
1642 (ev_pixbuf_cache_add_jobs_if_needed),
1643 (ev_pixbuf_cache_set_page_range):
1644 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1645 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1646 * shell/ev-sidebar-thumbnails.c:
1647 (ev_sidebar_tree_selection_changed),
1648 (ev_sidebar_thumbnails_set_document):
1649 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1650 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1651 (ev_statusbar_get_context_id), (ev_statusbar_push),
1652 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1653 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1654 (ev_statusbar_set_progress):
1655 * shell/ev-statusbar.h:
1656 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1657 (ev_view_find_previous):
1658 * shell/ev-window.c: (ev_window_is_empty),
1659 (ev_window_setup_document), (password_dialog_response),
1660 (ev_window_clear_jobs), (ev_window_load_job_cb),
1661 (ev_window_xfer_job_cb), (ev_window_open_uri),
1662 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1663 (ev_window_print), (ev_window_print_range),
1664 (ev_window_state_event), (ev_window_cmd_view_reload),
1665 (menu_item_select_cb), (menu_item_deselect_cb),
1666 (view_status_changed_cb), (ev_window_dispose),
1667 (drag_data_received_cb), (ev_window_init):
1668 * shell/ev-window.h:
1669 * shell/main.c: (load_files):
1671 New statusbar to show progress on idle. Two new jobs -
1672 xfer job and load job to load document in background. And update
1673 of page_cache clients to new location of code.
1675 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1677 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1678 selection in open dialog. It also remembers the last visited directory
1679 in the current session.
1681 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1683 * shell/ev-properties.c: (ev_properties_new):
1684 * shell/ev-properties.h:
1685 * shell/ev-window.c: (ev_window_cmd_file_properties):
1687 Get document info from page cache instead of document itself.
1688 This should fix crash related to race conditions described in
1691 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1693 * ps/ps-document.c: (ps_document_init),
1694 (send_ps), (get_page_box), (output), (catchPipe), (input),
1695 (stop_interpreter), (file_length), (file_readable),
1696 (check_filecompressedb), (ps_document_enable_interpreter),
1697 (document_load), (ps_async_renderer_render_pixbuf):
1700 Big cleanup of the ps code
1702 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1704 * backend/Makefile.am:
1705 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1706 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1707 * backend/ev-async-renderer.h:
1709 Add an async renderer interface (method + callback) which
1710 is useful for backends like ps.
1712 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1713 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1714 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1715 (ev_job_queue_add_job), (move_job_async), (move_job),
1716 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1718 Add queues for async renderer, these are executed on the
1721 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1722 (ev_job_render_run):
1723 * backend/ev-jobs.h:
1725 If the backend support async renderer interface use it.
1727 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1728 (setup_pixmap), (ps_document_get_type),
1729 (ps_async_renderer_render_pixbuf),
1730 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1732 Implement async renderer interface.
1734 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1736 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1738 Cleanup links job on exit.
1740 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1742 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1743 (drag_data_get_cb), (drag_data_received_cb):
1744 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1745 (drag_data_get_cb), (parse_item_list),
1746 (egg_toolbar_editor_load_actions):
1747 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1748 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1749 (parse_item_list), (parse_toolbars):
1750 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1751 (dvi_pixbuf_put_pixel):
1753 Fix gcc 4.0 warnings
1755 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1757 * ps/ps-document.c: (start_interpreter):
1759 Fix warning when loading ps
1761 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1763 * ps/ps-document.c: (output):
1765 Fix crash when priting gs error messages.
1767 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1769 * backend/ev-page-cache.c: (_ev_page_cache_new):
1770 * backend/ev-page-cache.h:
1772 Use a const to return title so that we dont double
1773 free it. Small cleanup and fix a leak.
1775 * shell/ev-window.c: (update_window_title):
1777 strdup value from get_title.
1779 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1781 * shell/ev-sidebar-links.c: (job_finished_callback),
1782 (ev_sidebar_links_set_document):
1784 Cleanup the old job when changing document
1786 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1788 * shell/ev-stock-icons.c:
1789 * shell/ev-stock-icons.h:
1790 * shell/ev-window.c:
1792 Add stock icons for actions that can appear in toolbar. Fix for
1795 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1797 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1798 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1799 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1800 * backend/ev-page-cache.h:
1801 * shell/ev-view.c: (scroll_to_current_page),
1802 (view_update_range_and_current_page), (get_page_y_offset),
1803 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1804 (ev_view_size_request_continuous),
1805 (ev_view_zoom_for_size_continuous_and_dual_page),
1806 (ev_view_zoom_for_size_continuous):
1808 More compact EvView layout in document with pages of different size.
1810 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1812 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1815 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1817 * shell/ev-view.c: (view_set_adjustment_values):
1818 * shell/ev-window.c: (ev_window_cmd_file_properties):
1820 A bit different fix for rounding problem but it has no
1821 problems on startup. Make properties window transient to parent.
1823 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1825 * pdf/ev-poppler.cc:
1827 More commenting of font stuff.
1829 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1831 * pdf/ev-poppler.cc:
1833 Comment out some more fonts stuff. Should really
1834 work without the poppler patch now.
1836 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1838 * pdf/ev-poppler.cc:
1842 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1844 * data/evince-properties.glade:
1845 * pdf/ev-poppler.cc:
1846 * shell/ev-properties.c: (setup_fonts_view):
1848 Set the column title. Show the dialog only
1849 once everything is setup.
1850 Getting font info can be very slow... will
1851 prolly need to make this threaded too.
1853 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1855 * backend/Makefile.am:
1856 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1857 (ev_document_fonts_get_fonts_model):
1858 * backend/ev-document-fonts.h:
1859 * data/evince-properties.glade:
1860 * pdf/ev-poppler.cc:
1861 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1862 * shell/ev-properties.h:
1863 * shell/ev-window.c: (ev_window_cmd_file_properties):
1865 Implement fonts list. Defined out for now, since it depends
1866 on a not yet committed poppler patch.
1868 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1870 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1873 * shell/ev-window.c: Make sure we add the timeout when we get a
1876 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1877 adjustment->value before calculating the zoom factor to average
1878 out all of our rounding errors. The page no longer 'drifts' when
1881 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1883 * data/evince-properties.glade:
1884 * shell/ev-properties.c: (ev_properties_format_date),
1887 Labels don't expand when the dialogue is resized.
1888 strftime result needs to be converted to UTF-8. Thanks
1889 to Christian Persch <chpe@gnome.org>.
1891 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1893 * data/evince-properties.glade:
1897 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1899 * backend/ev-document-info.h:
1900 * backend/ev-document.c: (ev_document_info_free):
1901 * data/evince-properties.glade:
1902 * pdf/ev-poppler.cc:
1903 * ps/ps-document.c: (ps_document_get_info):
1904 * shell/ev-properties.c: (ev_properties_format_date),
1905 (set_property), (ev_properties_new):
1906 * shell/ev-properties.h:
1907 * shell/ev-window.c: (ev_window_cmd_file_properties):
1909 Rework properties code to take only EvPropertyInfo
1910 in the constructor so that it can be useful for
1911 nautilus plugin too.
1913 Deal with backends that doesnt support some properties.
1914 Make set property code generic.
1916 2005-06-04 Christian Persch <chpe@gnome.org>
1918 * data/evince-properties.glade:
1920 fix spacings, make resizeable, and make data labels
1921 selectable + ellipsised
1923 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1925 * backend/ev-document-info.h:
1927 * data/evince-ui.xml:
1928 * pdf/ev-poppler.cc:
1929 * shell/Makefile.am:
1930 * shell/ev-window.c: (update_action_sensitivity),
1931 (ev_window_cmd_file_properties):
1933 Initial go at file properties. Patch by
1934 Emil Soleyman-Zomalan <emil@soleyman.com>.
1935 Needs love see #169583
1937 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1939 * ps/ps-document.c: (output):
1940 * ps/ps.c: (psscan):
1942 Try to render even if psscan fails.
1944 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1946 * ps/ps.c: (psscan), (pscopydoc):
1948 Port buffered reading code from gv
1950 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1952 * ps/ps-document.c: (interpreter_message), (output):
1954 Do not fail on interpreter messages
1956 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1958 * backend/ev-document-misc.c:
1959 (ev_document_misc_get_thumbnail_frame):
1961 Pages can be 0 x 0, dont assert on this case
1963 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1965 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1966 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1968 Correctly manage our reference on document. Finally the reload
1969 huge leak is gone...
1971 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1973 * ps/ps-document.c: (ps_document_dispose):
1975 Forgot to chain it to the parent. Thanks chpe.
1977 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1979 * ps/ps-document.c: (ps_document_dispose),
1980 (ps_document_class_init), (stop_interpreter), (document_load):
1982 Cleanup dispose a bit. Dont leak the whole pixmap.
1984 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1986 * pdf/ev-poppler.cc:
1988 Release the poppler document on dispose
1990 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1992 * shell/ev-view.c: (ev_view_set_document):
1994 Release ref on the pixbuf cache when changing
1997 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1999 * ps/ps-document.c: (ps_document_get_info):
2003 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2005 * backend/ev-page-cache.c: (ev_page_cache_init),
2006 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2007 * backend/ev-page-cache.h:
2008 * shell/ev-page-action.c: (page_changed_cb):
2010 Set page action entry width depending on labels width. Fix
2013 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2015 * backend/ev-link.c: (ev_link_class_init):
2017 Allow -1 as page value (error)
2019 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2021 * shell/ev-sidebar-thumbnails.c:
2022 (ev_sidebar_thumbnails_set_document):
2023 * shell/ev-view.c: (scroll_to_current_page),
2024 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2025 (page_changed_cb), (on_adjustment_value_changed),
2026 (ev_view_set_document):
2028 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2031 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2034 * djvu/djvu-document.c: (djvu_document_get_page_size):
2036 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2039 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2041 * shell/ev-view.c (draw_one_page): modify the expose handling to
2044 * shell/ev-window.c (update_action_sensitivity): Respect
2045 permissions field. Kowtow to the man.
2047 * pdf/ev-poppler.cc: Get the permissions field.
2049 * tiff/*c: Make a tiny bit more robust.
2051 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2053 * djvu/djvu-document.c:
2055 Pop messages from djvu context message queue.
2057 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2059 * configure.ac, Makefile.am, shell/Makefile.am:
2060 * tiff/Makefile.am, shell/ev-document-types.c:
2062 Cleanup tiff configure checks. Fix for bug 305218.
2064 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2066 * configure.ac: Added "uk" to ALL_LINGUAS.
2068 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2070 * cut-n-paste/zoom-control/ephy-zoom.c:
2071 (ephy_zoom_get_changed_zoom_level):
2072 * cut-n-paste/zoom-control/ephy-zoom.h:
2073 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2074 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2075 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2076 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2077 (zoom_control_changed_cb), (ev_window_init):
2079 Fix minor points related to moving best fit up. Introduce
2080 "zoom" property and make zoom control change it's value on
2081 notify::zoom signals. Fix for 305080.
2083 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2085 * data/evince-ui.xml:
2086 * shell/ev-window.c: (set_view_actions_sensitivity):
2088 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2090 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2094 Depends on poppler 0.3.2
2096 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2098 * cut-n-paste/recent-files/egg-recent-item.c:
2099 (egg_recent_item_get_short_name):
2100 * cut-n-paste/toolbar-editor/Makefile.am:
2101 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2102 (new_pixbuf_from_widget):
2103 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2104 * cut-n-paste/toolbar-editor/egg-marshal.c:
2105 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2106 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2110 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2112 * tiff/tiff-document.c: Rough TIFF backend.
2114 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2118 * cut-n-paste/toolbar-editor/Makefile.am:
2122 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2124 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2125 (ev_view_find_next), (ev_view_find_previous):
2127 Remove the locks around get_n_results
2129 2005-05-21 Juerg Billeter <j@bitron.ch>
2131 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2133 Pass correct number of pages to poppler.
2135 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2139 * data/evince.desktop.in:
2140 * data/evince.desktop.in.in:
2143 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2145 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2147 * shell/ev-view.c: (view_update_adjustments),
2148 (view_set_adjustment_values): cast adjustmen->value to (int)
2149 before using it. Otherwise, we get off by a pixel in some
2152 (draw_one_page): Draw the border on expose.
2154 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2156 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2157 adjustment when the mode changes, #304923
2159 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2161 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2162 flickering on resize but still use gdk_window_scroll on
2165 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2167 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2170 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2172 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2173 second page on page_changed if possible, #304669
2175 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2177 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2178 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2180 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2183 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2184 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2185 (ev_view_zoom_for_size_presentation),
2186 (ev_view_zoom_for_size_continuous_and_dual_page),
2187 (ev_view_zoom_for_size_continuous),
2188 (ev_view_zoom_for_size_dual_page),
2189 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2191 * shell/ev-window.c: (update_view_size),
2192 (ev_window_sizing_mode_changed_cb):
2194 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2195 the scrollbars. It's not 100% right, but it's much closer. Kills
2196 an infinite loop, #304769
2199 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2201 * data/evince-ui.xml:
2202 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2203 * shell/ev-window.c: (set_view_actions_sensitivity):
2205 Make PgUp/Down behave like Space
2207 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2209 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2210 * backend/ev-ps-exporter.h:
2211 * pdf/ev-poppler.cc:
2212 * ps/ps-document.c: (ps_document_ps_export_begin):
2213 * shell/ev-print-job.c: (idle_print_handler):
2215 Adapt to new poppler api
2217 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2219 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2220 (ephy_zoom_control_init):
2222 Translate zoom levels
2224 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2226 * cut-n-paste/zoom-control/ephy-zoom.c:
2227 (ephy_zoom_get_zoom_level_index):
2229 Fix current zoom -> zoom control match
2231 2005-05-18 James Bowes <bowes@cs.dal.ca>
2233 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2234 rather than the scrolled_window that it's in. Fixes bug #304655.
2236 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2238 * shell/ev-view.c: (view_update_adjustments),
2239 (view_set_adjustment_values), (view_update_range_and_current_page),
2240 (view_scroll_to_page), (set_scroll_adjustment),
2241 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2242 (ev_view_scroll), (ev_view_scroll_view),
2243 (ensure_rectangle_is_visible), (find_page_at_location),
2244 (get_link_at_location), (go_to_link), (status_message_from_link),
2245 (ev_view_size_request_continuous_dual_page),
2246 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2247 (ev_view_unrealize), (ev_view_expose_event),
2248 (ev_view_button_press_event), (ev_view_motion_notify_event),
2249 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2250 (draw_rubberband), (highlight_find_results), (draw_one_page),
2251 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2252 (ev_view_init), (find_changed_cb), (page_changed_cb),
2253 (on_adjustment_value_changed), (ev_view_new),
2254 (ev_view_set_document), (ev_view_set_zoom),
2255 (ev_view_set_continuous), (ev_view_set_dual_page),
2256 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2257 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2258 (ev_view_zoom_for_size_presentation),
2259 (ev_view_zoom_for_size_continuous_dual_page),
2260 (ev_view_zoom_for_size_continuous),
2261 (ev_view_zoom_for_size_dual_page),
2262 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2263 (ev_view_get_status), (ev_view_set_status),
2264 (update_find_status_message), (ev_view_get_find_status),
2265 (ev_view_set_find_status), (jump_to_find_result),
2266 (jump_to_find_page), (compute_selections), (clear_selection),
2267 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2268 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2269 (ev_view_update_primary_selection),
2270 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2272 * shell/ev-window.c: (ev_window_open_page_label),
2273 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2275 * shell/ev-window.h:
2276 * shell/main.c: (load_files):
2278 Massive code clean up from Nickolay Shmyrev. Keep page offset
2279 when resizing. Remove the bin_window(). Also, patch from James
2280 Bowes to fix command line page, #300641
2282 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2284 * data/evince-ui.xml:
2287 * shell/ev-window.c: (update_action_sensitivity):
2289 Get rid of View->Normal Size, it's just confusing
2291 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2293 * backend/ev-document-info.h:
2294 * backend/ev-document.c: (ev_document_info_free): Free the
2297 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2298 (clear_range), (add_range), (update_visible_range),
2299 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2300 (ev_sidebar_thumbnails_set_document):
2301 * shell/ev-window.c: (ev_window_setup_document): Only render the
2302 visible thumbnails. It takes an instant to render, but it uses
2305 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2307 * shell/ev-sidebar-links.c: (popup_menu_cb):
2311 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2314 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2315 (button_press_cb), (ev_sidebar_links_construct):
2317 Show the popup menu also on keybindings
2319 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2321 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2322 * shell/ev-window.h:
2324 Expose api to print a range (with dialog). Make private _print use
2327 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2328 (ev_sidebar_links_construct):
2330 Show a print context menu on linkx, it prints the selected
2333 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2335 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2338 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2344 * shell/ev-window.c: (build_comments_string),
2345 (ev_window_cmd_help_about):
2347 Show poppler version/backend and authors
2349 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2351 * cut-n-paste/zoom-control/ephy-zoom.c:
2352 (ephy_zoom_get_zoom_level_index):
2353 * cut-n-paste/zoom-control/ephy-zoom.h:
2355 Move the best fit items at the top of the list
2357 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2359 * shell/ev-marshal.list:
2360 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2361 (activate_cb), (match_selected_cb), (activate_link_cb),
2362 (connect_proxy), (ev_page_action_class_init):
2363 * shell/ev-page-action.h:
2365 Use signals to notify action activation. Hopefully
2366 I did not break completion since I cant test...
2368 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2369 (register_custom_actions):
2371 Connect to page selector actions and also grab focus on
2372 the view when activated.
2374 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2376 * pdf/ev-poppler.cc:
2377 * backend/ev-page-cache.c: make page size calculation consistent
2378 and set it to (int)( width * scale + 0.5). This makes the weird
2379 line going through the middle of the page go away.
2381 * shell/ev-view.c: move painting the background page after
2382 checking the expose area covers us.
2384 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2386 * data/evince-password.glade:
2388 Mark labels as not translatable. Fix for bug 302842.
2390 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2392 * configure.ac: Added "es" to ALL_LINGUAS.
2394 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2396 * data/evince-toolbar.xml:
2397 * shell/ev-window.c: (update_action_sensitivity),
2398 (ev_window_setup_document), (ev_window_set_page_mode),
2401 Remove some leftover code from jrb first continous
2402 attempt. Use the new actions, we still need good icons
2405 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2407 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2409 Update label when connecting proxy. Fix a warning with NULL
2412 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2414 * data/evince-ui.xml:
2415 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2416 * shell/ev-page-action.h:
2417 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2419 Add mnemonic for edit toolbar.
2420 ctrl+l focus the page entry.
2422 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2425 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2427 * shell/main.c: (main):
2429 Put the toolbar xml in evince own dot dir
2431 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2433 * shell/ev-window.c: (ev_window_init):
2435 Make the toolbar not removable
2437 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2439 * data/evince-ui.xml:
2440 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2441 * shell/ev-sidebar-links.h:
2442 * shell/ev-sidebar-thumbnails.c:
2443 (ev_sidebar_thumbnails_get_treeview):
2444 * shell/ev-sidebar-thumbnails.h:
2445 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2446 (ev_view_class_init):
2448 * shell/ev-window.c: (update_action_sensitivity),
2449 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2450 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2451 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2454 This is evil... Make space/backspace global accelerators but
2455 enable them only for some widgets (sidebars and view).
2456 I dont like it, but I dont know a better way... :/
2458 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2460 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2461 (ev_page_action_widget_finalize),
2462 (ev_page_action_widget_class_init), (update_page_cache):
2464 Keep a weak reference on proxy->page_cache so that we
2465 dont try to disconnect the signal if the object is already
2466 gone. Maybe there is a better way to cleanup reference handling
2467 in page action though...
2469 2005-05-10 Juerg Billeter <j@bitron.ch>
2471 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2472 * backend/ev-ps-exporter.h:
2473 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2474 * ps/ps-document.c: (ps_document_ps_export_begin):
2476 Change api to pass print range to ps_exporter_begin. The pdf backend
2477 requires this information.
2479 * shell/ev-print-job.c: (idle_print_handler):
2483 2005-05-10 Juerg Billeter <j@bitron.ch>
2485 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2486 (idle_print_handler)
2487 * shell/ev-window.c: (ev_window_print):
2489 Support printing page range, based on patch by Amaury Jacquot
2491 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2493 * data/evince-toolbar.xml:
2495 Add zoom control to available items
2497 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2499 * shell/ev-window.c: (update_action_sensitivity):
2501 Set slash action insensitive when appropriate
2503 2005-05-10 Christian Persch <chpe@gnome.org>
2505 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2507 Fix warning on the overflow menu
2509 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2511 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2513 Check for uri correctness/existence
2515 2005-05-09 Juerg Billeter <j@bitron.ch>
2517 * shell/ev-window.c: (using_postscript_printer):
2519 LPD printers use postscript, too
2521 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2523 * shell/ev-window.c: (register_custom_actions):
2525 The zoom one is actually sort of useful,
2528 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2530 * shell/ev-window.c: (register_custom_actions):
2532 Hide page/zoom controls from overflow, they
2535 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2537 * cut-n-paste/update-from-egg.sh:
2539 Share it between all cut-n-paste subdirs
2541 * cut-n-paste/recent-files/Makefile.am:
2543 Fix to use "global" update-from-egg.sh
2545 * cut-n-paste/recent-files/egg-recent-model.c:
2546 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2547 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2548 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2549 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2553 * cut-n-paste/toolbar-editor/Makefile.am:
2555 Fix to use "global" update-from-egg.sh
2557 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2561 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2564 * cut-n-paste/Makefile.am:
2565 * cut-n-paste/recent-files/Makefile.am:
2566 * cut-n-paste/toolbar-editor/.cvsignore:
2567 * cut-n-paste/toolbar-editor/Makefile.am:
2568 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2569 (egg_editable_toolbar_get_type), (get_toolbar_position),
2570 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2571 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2572 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2573 (set_item_drag_source), (create_item_from_action), (create_item),
2574 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2575 (popup_toolbar_context_menu_cb), (free_dragged_item),
2576 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2577 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2578 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2579 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2580 (item_added_cb), (item_removed_cb),
2581 (egg_editable_toolbar_construct),
2582 (egg_editable_toolbar_disconnect_model),
2583 (egg_editable_toolbar_deconstruct),
2584 (egg_editable_toolbar_set_model),
2585 (egg_editable_toolbar_set_ui_manager),
2586 (egg_editable_toolbar_set_property),
2587 (egg_editable_toolbar_get_property),
2588 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2589 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2590 (egg_editable_toolbar_new_with_model),
2591 (egg_editable_toolbar_get_edit_mode),
2592 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2593 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2594 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2595 (new_pixbuf_from_widget), (new_separator_pixbuf),
2596 (update_separator_image), (style_set_cb),
2597 (_egg_editable_toolbar_new_separator_image),
2598 (egg_editable_toolbar_get_model):
2599 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2600 * cut-n-paste/toolbar-editor/egg-marshal.c:
2601 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2602 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2603 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2604 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2605 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2606 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2607 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2608 (editor_drag_data_delete_cb), (drag_data_get_cb),
2609 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2610 (editor_create_item), (update_editor_sheet), (setup_editor),
2611 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2612 (parse_item_list), (model_has_action), (update_actions_list),
2613 (egg_toolbar_editor_load_actions):
2614 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2615 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2616 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2617 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2618 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2619 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2620 (egg_toolbars_model_add_separator), (impl_add_item),
2621 (parse_item_list), (egg_toolbars_model_add_toolbar),
2622 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2623 (impl_get_item_data), (impl_get_item_type),
2624 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2625 (egg_toolbars_model_init), (free_toolbar),
2626 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2627 (egg_toolbars_model_remove_toolbar),
2628 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2629 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2630 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2631 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2632 (egg_toolbars_model_get_item_data),
2633 (egg_toolbars_model_get_item_type):
2634 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2635 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2637 * data/evince-toolbar.xml:
2638 * data/evince-ui.xml:
2639 * data/hand-open.png:
2641 * shell/Makefile.am:
2642 * shell/ev-window.c: (update_chrome_visibility),
2643 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2644 (ev_window_dispose), (ev_window_init):
2646 Implement epiphany like toolbar editor. Based on patch by
2647 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2649 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2651 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2653 Use set_cursor instead of set_selection, so that
2654 the keyboard focus moves too.
2656 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2658 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2660 Fix infinite loop when loading Type1 fonts
2662 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2664 * data/evince-ui.xml:
2665 * shell/ev-window.c:
2669 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2673 Make --disable really disable
2675 2005-05-07 Juerg Billeter <j@bitron.ch>
2677 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2679 Compare page labels even without has_labels set, fixes setting page
2682 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2684 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2685 (ev_view_set_cursor), (ev_view_button_press_event),
2686 (ev_view_motion_notify_event), (ev_view_button_release_event),
2689 Implement middle button scrolling. Based on a patch
2690 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2692 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2694 * shell/ev-document-types.c: (get_slow_mime_type),
2695 (get_document_type_from_mime), (ev_document_type_lookup):
2696 * shell/ev-document-types.h:
2698 Change api to lookup from uri. Do fast lookup first, if the
2699 type is unknown try with data sniffing.
2701 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2702 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2706 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2708 * thumbnailer/Makefile.am:
2712 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2719 * data/evince-ui.xml:
2721 Hide presentation mode for now
2723 * shell/ev-view.c: (highlight_find_results):
2725 Show current find selection only on current page
2727 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2729 * shell/ev-view.c: (ev_view_select_all):
2731 Compute size of the actual page, not of
2734 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2736 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2737 (view_rect_to_doc_rect), (compute_selections),
2738 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2739 (ev_view_copy), (ev_view_primary_get_cb),
2740 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2741 (ev_view_button_press_event), (ev_view_motion_notify_event),
2742 (ev_view_button_release_event), (page_changed_cb):
2746 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2748 * shell/ev-view.c: (compute_border), (get_page_extents),
2749 (doc_rect_to_view_rect), (highlight_find_results),
2750 (ev_view_bin_expose), (ev_view_select_all),
2751 (ev_view_motion_notify_event), (update_find_status_message),
2752 (jump_to_find_result), (jump_to_find_page):
2754 First go at fixing search, still buggy
2756 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2758 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2759 dropdown box and button at the top of the sidebar.
2761 2005-05-02 James Bowes <bowes@cs.dal.ca>
2763 * configure.ac: Output zoom-control Makefile.
2764 * cut-n-paste/Makefile.am: build zoom-control subdir.
2765 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2766 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2767 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2768 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2769 * cut-n-paste/zoom-control/ephy-zoom.c:
2770 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2771 from epiphany, and modified to add a separator into the menu.
2772 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2773 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2774 zoom-control action.
2775 * shell/Makefile.am: Include zoom-control flags.
2776 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2777 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2778 (ev_view_zoom_for_size_presentation),
2779 (ev_view_zoom_for_size_continuous_and_dual_page),
2780 (ev_view_zoom_for_size_continuous),
2781 (ev_view_zoom_for_size_dual_page),
2782 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2783 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2784 ev_view_get_zoom and ev_view_get_sizing_mode.
2786 * shell/ev-window.c: (update_action_sensitivity),
2787 (update_sizing_buttons), (zoom_control_changed_cb),
2788 (register_custom_actions): Initialize and use the zoom-control
2791 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2793 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2794 preview cache back to 1. Don't know when it got set to 0.
2796 * shell/ev-view.c: (compute_border), (ev_view_realize),
2797 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2798 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2799 (ev_view_get_fullscreen), (ev_view_set_presentation),
2800 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2801 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2803 * shell/ev-window.c:
2804 (update_chrome_visibility),
2805 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2806 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2807 (update_document_mode), (ev_window_update_fullscreen_action),
2808 (ev_window_fullscreen), (ev_window_unfullscreen),
2809 (ev_window_cmd_view_fullscreen),
2810 (ev_window_update_presentation_action),
2811 (ev_window_run_presentation), (ev_window_stop_presentation),
2812 (ev_window_cmd_view_presentation), (ev_window_state_event),
2813 (ev_window_focus_in_event), (ev_window_focus_out_event),
2814 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2815 * data/evince-ui.xml: Initial presentation mode. We should
2816 probably hide this until it's done, as it's quite rough. Also,
2817 change full-screen to fullscreen and add two getters to EvView.
2819 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2821 * shell/ev-page-action.c: (update_page_cache),
2822 (ev_page_action_dispose):
2823 * shell/ev-window.c: (destroy_fullscreen_popup),
2824 (ev_window_create_fullscreen_popup):
2826 Use connect_object rather than explicitly
2827 disconnect on dispose.
2829 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2831 * shell/ev-page-action.c: (update_page_cache),
2832 (ev_page_action_dispose):
2834 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2836 * backend/ev-page-cache.c: (_ev_page_cache_new),
2837 (ev_page_cache_set_page_label),
2838 (ev_page_cache_has_nonnumeric_page_labels):
2839 * backend/ev-page-cache.h:
2840 * shell/ev-page-action.c: (update_pages_label):
2842 If all page labels are numeric, fallback to default
2843 way to display number of pages. See bug 173185.
2845 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2847 * shell/ev-page-action.c: (ev_page_action_dispose):
2848 * shell/ev-view.c: (view_update_range_and_current_page):
2849 * shell/ev-window.c: (ev_window_dispose):
2851 Set page on scroll in continuous mode. Fixes bug 301986.
2852 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2854 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2858 Require poppler 0.3.0
2860 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2862 * shell/Makefile.am, configure.ac: Fix build problems
2863 with t1lib. Bug 301996.
2865 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2867 * shell/ev-view.c: (ev_view_scroll_event):
2869 Scroll up increase zoom
2871 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2873 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2874 (ev_view_set_sizing_mode),
2875 (ev_view_zoom_for_size_continuous_and_dual_page),
2876 (ev_view_zoom_for_size_continuous):
2877 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2878 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2879 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2882 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2883 Fix for 165473 and 165472.
2885 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2888 * thumbnailer/Makefile.am:
2889 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2890 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2891 * thumbnailer/evince-thumbnailer.schemas.in:
2893 Make thumbnailer schemas translatable. Fix for bug 301773
2895 * thumbnailer/evince-thumbnailer-djvu.schemas:
2896 * thumbnailer/evince-thumbnailer-dvi.schemas:
2897 * thumbnailer/evince-thumbnailer.schemas:
2901 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2903 * shell/ev-view.c (ev_view_init): forgot to set this.
2905 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2907 * shell/ev-view.c: (find_page_at_location),
2908 (get_link_at_location),
2909 (ev_view_set_show_border), (ev_view_set_spacing),
2910 (ev_view_zoom_for_size_continuous_and_dual_page),
2911 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2912 Also, add a quick fix measuring of widths. Also, removed
2913 ev_view_set_spacing and ev_view_set_show_border.
2915 * shell/ev-window.c: (ev_window_unfullscreen),
2916 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2918 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2920 * shell/ev-view.c: (view_update_range_and_current_page),
2923 Fix crash on exit and scrolling to page in continuous view.
2925 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2928 * backend/ev-page-cache.c: (_ev_page_cache_new),
2929 (ev_page_cache_get_max_width_size),
2930 (ev_page_cache_get_max_height_size):
2931 * backend/ev-page-cache.h:
2932 * data/evince-ui.xml:
2933 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2934 * shell/ev-view.c: (view_update_adjustments),
2935 (view_update_range_and_current_page), (get_bounding_box_size),
2936 (ev_view_size_request_continuous_and_dual_page),
2937 (ev_view_size_request_continuous),
2938 (ev_view_size_request_dual_page),
2939 (ev_view_size_request_single_page), (ev_view_size_request),
2940 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2941 (ev_view_bin_expose), (ev_view_expose_event),
2942 (ev_view_set_property), (ev_view_get_property),
2943 (ev_view_class_init), (ev_view_init), (ev_view_new),
2944 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2945 (ev_view_set_dual_page), (ev_view_set_full_screen),
2946 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2947 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2948 (ev_view_zoom_out), (zoom_for_size_fit_width),
2949 (zoom_for_size_best_fit),
2950 (ev_view_zoom_for_size_continuous_and_dual_page),
2951 (ev_view_zoom_for_size_continuous),
2952 (ev_view_zoom_for_size_dual_page),
2953 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2954 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2956 * shell/ev-window.c: (update_action_sensitivity),
2957 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2958 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2959 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2960 (ev_window_cmd_view_zoom_out), (update_view_size),
2961 (ev_window_set_sizing_mode), (ev_window_init):
2963 Add Continuous and Dual page modes.
2965 2005-04-23 James Bowes <bowes@cs.dal.ca>
2967 * dvi/dvi-document.c: (dvi_document_load),
2968 (dvi_document_thumbnails_get_thumbnail),
2969 (dvi_document_init_params): Fix up some mixups between
2970 width and height to correct thumbnail rendering.
2972 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2974 * dvi/mdvi-lib/private.h:
2975 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2977 Suppess output for kpathsea during font generation. Thanks to
2980 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2987 * Makefile.am: fix distcheck.
2989 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2991 * shell/ev-sidebar-links.c: (selection_changed_callback),
2992 (update_page_callback), (row_activated_callback),
2993 (job_finished_callback), (ev_sidebar_links_set_document):
2995 Fix for bug #169901. Double click on links expands tree.
2997 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2999 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3000 hard-coded style. Fix for bug 170111
3002 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3004 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3007 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3009 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3011 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3013 * pdf/ev-poppler.cc:
3014 * shell/ev-view.c: (highlight_find_results):
3016 Fix find on single page documents
3018 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3020 * data/evince.schemas.in: fix for bug 301390
3022 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3024 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3025 (ev_view_zoom_out), (ev_view_zoom_normal):
3027 * shell/ev-window.c: (update_action_sensitivity),
3028 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3029 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3030 (ev_window_cmd_view_normal_size):
3032 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3033 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3036 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3040 Depend on 2.57, 2.59 doesnt seem to be necessary
3042 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3044 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3047 Put back total number of pages as (1 of 1234)
3049 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3051 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3054 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3055 function. This helps debugging.
3057 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3059 * djvu/djvu-document.c: (djvu_document_class_init),
3060 (djvu_document_get_info), (djvu_document_document_iface_init):
3061 * dvi/dvi-document.c: (dvi_document_class_init),
3062 (dvi_document_get_info), (dvi_document_document_iface_init):
3064 Dummy implementation of get_info method for dvi and djvu. Fix
3065 crashes with those backends
3067 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3069 * data/evince.desktop.in:
3071 Add application/x-gzpostscript
3073 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3075 * data/evince.schemas.in: Added real long descriptions,
3078 * README: Added actual text, closes bug 171869
3080 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3082 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3086 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3088 * backend/ev-document-info.h:
3090 s/GDate */GDate so we can just use g_free
3092 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3094 * shell/ev-window.c: (update_document_mode),
3095 (ev_window_setup_document):
3097 Show the window in fullscreen when specified by
3100 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3102 * backend/ev-document.c: (ev_document_class_init),
3103 (ev_document_get_info), (ev_document_render_pixbuf):
3104 * backend/ev-document.h:
3105 * backend/ev-page-cache.c: (_ev_page_cache_new):
3106 * pdf/ev-poppler.cc:
3107 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3108 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3109 * ps/ps-document.c: (ps_document_class_init), (document_load),
3110 (ps_document_get_info), (ps_document_document_iface_init):
3112 Remove get_title from the interface, we can just use document info
3114 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3116 * backend/Makefile.am:
3117 * backend/ev-document.c: (ev_document_render_get_info):
3118 * backend/ev-document.h:
3119 * pdf/ev-poppler.cc:
3121 Initial support for document info. Based on jrb patch.
3123 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3125 * shell/ev-window.c: (ev_window_state_event),
3126 (ev_window_class_init), (ev_window_init):
3128 Doesn't show resize grip when maximized. See bug #301053
3130 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3134 ev-sidebar-thumbnails now has translatable labels
3136 * shell/Makefile.am:
3137 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3138 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3139 (ev_sidebar_links_page_iface_init):
3140 * shell/ev-sidebar-links.h:
3141 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3142 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3143 (ev_sidebar_page_get_label):
3144 * shell/ev-sidebar-page.h:
3145 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3146 (ev_sidebar_thumbnails_set_document),
3147 (ev_sidebar_thumbnails_support_document),
3148 (ev_sidebar_thumbnails_get_label),
3149 (ev_sidebar_thumbnails_page_iface_init):
3150 * shell/ev-sidebar-thumbnails.h:
3151 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3152 (ev_sidebar_set_document):
3153 * shell/ev-sidebar.h:
3154 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3156 Small rework of sidebar code. Now sidebar pages should implement
3157 EvSidebarPage interface. That makes page management in EvSidebar
3158 easier. See bug #164811 for details
3160 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3162 * shell/ev-application.c: (ev_application_open):
3163 * shell/ev-document-types.c:
3165 Fix build error and small problem with application exit
3167 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3169 * thumbnailer/Makefile.am:
3170 * thumbnailer/evince-thumbnailer-djvu.schemas:
3171 * thumbnailer/evince-thumbnailer-dvi.schemas:
3173 Conditionally install schemas for djvu/dvi thumbnailer
3175 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3177 * shell/ev-document-types.h:
3178 * shell/ev-document-types.c:
3179 New files, handling the mapping from mimetypes to backends
3181 * shell/ev-window.c:
3182 * thumbnailer/evince-thumbnailer.c:
3183 Use the ev-document-types code
3185 * shell/Makefile.am:
3186 Added new convenience library libevbackendfactory_la, containing
3187 the new mimetype->backend logic; moved the backends into it.
3189 * thumbnailer/Makefile.am:
3190 Make the thumbnailer link with the libevbackend.la convenience
3191 library, rather than having a duplicate of the backend logic here.
3193 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3195 * shell/ev-stock-icons.c: constify some vars.
3196 * shell/ev-window.c: ditto.
3198 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3200 * ps/ps-document.c (get_page_orientation):
3202 Respect document orientation
3204 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3208 * shell/Makefile.am:
3210 Move library dependencies to components.
3212 * shell/ev-window.c: (update_window_title),
3213 (start_loading_document):
3215 Fix display of uris with spaces. Bug 168358.
3217 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3219 * shell/ev-sidebar-links.c: (selection_changed_cb):
3220 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3221 (ev_view_button_release_event), (ev_view_set_document):
3223 * shell/ev-window.c: (find_bar_search_changed_cb):
3224 * shell/ev-window.h: Minor cleanups removing some dead code.
3226 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3228 * backend/ev-page-cache.c: (_ev_page_cache_new):
3230 Set current page to 0 if document has pages.
3232 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3234 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3236 Initialize GError to NULL, fix a crash when loading fails.
3238 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3240 * shell/ev-window.c: (update_view_size):
3242 Calculate shadow size only when there is actually
3245 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3247 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3250 Allow setting view spacing, default to 0
3252 * shell/ev-window.c: (ev_window_unfullscreen),
3253 (ev_window_cmd_view_fullscreen), (ev_window_init):
3255 Remove spacing in fullscreen mode
3257 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3259 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3260 (ev_view_size_request), (expose_bin_window),
3261 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3263 * shell/ev-window.c: (ev_window_unfullscreen),
3264 (ev_window_cmd_view_fullscreen):
3266 Do not draw the border in fulscreen
3268 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3270 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3271 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3272 (find_page_at_location), (page_changed_cb):
3274 Rework border calculation, so that I can more easily disable it.
3275 Code somewhat cleaner too.
3277 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3279 * backend/ev-page-cache.c: (ev_page_cache_init),
3280 (_ev_page_cache_new):
3282 Remove some assertions, documents can have 0 pages.
3283 Make initial current page -1.
3285 * shell/ev-page-action.c: (page_changed_cb):
3287 Show "" if current page is -1
3289 * shell/ev-window.c: (update_action_sensitivity),
3290 (ev_window_setup_document):
3292 When document has 0 pages do not set the view
3293 and make nearly everything insensitive.
3295 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3297 * shell/ev-page-view.c:
3298 * shell/ev-page-view.h:
3300 Remove unused files.
3302 * shell/ev-sidebar-thumbnails.c:
3303 (ev_sidebar_thumbnails_set_document):
3304 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3305 (ev_sidebar_supports_document):
3306 * shell/ev-sidebar.h:
3307 * shell/ev-window.c: (ev_window_setup_document):
3309 Doesn't show thumbnails if document has 1 page. Make
3310 sidebar menu entries sensitive only if if they have
3311 sense. Fix bug 164811.
3313 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3315 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3316 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3317 (ev_view_zoom_out), (ev_view_set_size):
3319 Rework sizing to deal with documents with not uniform page
3322 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3324 * backend/ev-page-cache.c: (_ev_page_cache_new):
3326 Fix several page size caching bugs
3328 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3330 * shell/ev-window.c: (set_action_properties):
3332 Make all toolbar items translatable
3334 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3336 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3337 (save_page_list), (ps_document_save),
3338 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3339 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3340 (ps_document_ps_exporter_iface_init):
3343 Based on a patch by J�rg Billeter <j@bitron.ch>
3345 Implement print and save a copy for the ps backend.
3347 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3349 * backend/ev-document.h:
3350 * djvu/djvu-document.c: (djvu_document_can_get_text),
3351 (djvu_document_document_iface_init):
3352 * dvi/dvi-document.c: (dvi_document_can_get_text),
3353 (dvi_document_document_iface_init):
3354 * pdf/ev-poppler.cc:
3355 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3356 (pixbuf_document_document_iface_init):
3357 * ps/ps-document.c: (ps_document_can_get_text),
3358 (ps_document_document_iface_init):
3359 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3360 * shell/ev-window.c: (update_action_sensitivity):
3362 Fix the crash when trying to copy in backends that doesnt
3363 support it. We can implement a better solution once we
3364 do real text selection.
3366 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3368 * data/evince-ui.xml:
3369 * shell/ev-window.c: (ev_window_cmd_escape):
3371 Work around the Escape conflict (find bar and unfullscreen)
3373 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3375 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3377 Fix for #300233. Next page correctly handles document end.
3379 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3380 (ev_sidebar_thumbnails_class_init),
3381 (ev_sidebar_thumbnails_set_document),
3382 (ev_sidebar_thumbnails_clear_job),
3383 (ev_sidebar_thumbnails_clear_model):
3385 Cleanup thumbnail jobs on document changes.
3387 * shell/ev-view.c: (add_scroll_binding_keypad),
3388 (add_scroll_binding_shifted), (ev_view_class_init):
3390 Shift + Space scrolls up. Fix for #173184
3392 * shell/ev-window.c: (ev_window_open_page),
3393 (ev_window_cmd_view_reload):
3395 Fix reload (Bug #300094)
3397 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3400 * dvi/mdvi-lib/assoc.c:
3401 * dvi/mdvi-lib/assoc.h: Removed garbage files
3403 * dvi/mdvi-lib/bitmap.c:
3404 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3405 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3406 * dvi/mdvi-lib/color.h: Antialias of rules
3408 * dvi/mdvi-lib/common.h:
3409 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3410 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3411 * dvi/mdvi-lib/files.c:
3412 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3413 * dvi/mdvi-lib/mdvi.h:
3414 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3415 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3416 * dvi/mdvi-lib/util.c: Fix compile warnings
3418 * dvi/dvi-document.c:
3419 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3420 (dvi_document_thumbnails_get_thumbnail),
3421 (dvi_document_document_thumbnails_iface_init):
3422 * dvi/mdvi-lib/Makefile.am:
3423 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3424 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3426 Dvi backend now renders thumbnails
3428 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3430 * shell/main.c: (main):
3432 Save accelerators on exit. Fixes bug #172095.
3434 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3436 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3437 update priority" comment.
3439 * backend/ev-job-queue.c: Give a way to change priority.
3441 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3443 * shell/ev-page-action.c: Fix logic.
3445 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3447 * shell/ev-view.c: (ev_view_can_find_next):
3448 * shell/ev-window.c: (ev_window_setup_document):
3450 Check that the document supports find
3452 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3454 * data/evince-ui.xml:
3455 * shell/ev-view.c: (ev_view_can_find_next):
3457 * shell/ev-window.c: (update_action_sensitivity),
3458 (find_changed_cb), (ev_window_setup_document),
3459 (ev_window_cmd_edit_find_next):
3463 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3465 * pdf/ev-poppler.cc:
3466 * shell/ev-print-job.c: (idle_print_handler):
3468 Make printing work again
3470 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3472 * shell/ev-page-action.h:
3473 * shell/ev-page-action.c: (ev_page_action_widget_init),
3474 (ev_page_action_widget_class_init), (page_changed_cb),
3475 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3476 (get_filter_model_from_model), (match_selected_cb),
3477 (display_completion_text), (match_completion), (update_model),
3478 (connect_proxy), (ev_page_action_set_property),
3479 (ev_page_action_get_property), (ev_page_action_set_document),
3480 (ev_page_action_set_model), (ev_page_action_class_init): Big
3481 reworking to make completions work iff we have >= GTK-2.7.0
3483 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3484 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3485 (job_finished_cb): We now have a 'model' property that is set when
3486 the links are loaded. This can be caught with "notify::model"
3488 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3489 listen for the model to be set, and propagate it to the action.
3491 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3493 * cut-n-paste/recent-files/egg-recent-item.c:
3494 (egg_recent_item_set_uri), (make_valid_utf8),
3495 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3496 * cut-n-paste/recent-files/egg-recent-item.h:
3498 Update egg-recent from libegg. This should fix long
3499 startup problem. For details see
3500 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3502 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3504 * cut-n-paste/recent-files/Makefile.am:
3505 * data/evince-ui.xml, shell/Makefile.am:
3506 * shell/ev-application.c, shell/ev-application.h:
3507 * shell/ev-window.c: Recent files support.
3509 * configure.ac: Added "ru" to ALL_LINGUAS.
3511 * dvju: new backend to support DJVU files.
3512 * dvi: new backend to support DVI.
3514 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3515 * ev-application.c: Support for new backends.
3517 * help, ev-window.c, main.c shell/Makefile.am:
3518 Evince user documentation.
3520 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3523 * shell/ev-window.c:
3524 * thumbnailer/evince-thumbnailer.c:
3526 s/pdf-document/ev-poppler
3528 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3535 * ps/ps-document.c: (setup_pixmap):
3539 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3541 * backend/ev-page-cache.c (ev_page_cache_next_page):
3542 * shell/ev-window.c (ev_window_cmd_go_next_page)
3543 (ev_window_cmd_go_first_page): Fix of by one errors.
3545 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3547 * ps/ps-document.c: (get_page_box):
3549 Fix page size calculation
3551 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3553 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3554 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3555 (get_page_orientation), (setup_page), (document_load),
3556 (ps_document_get_page_size), (render_pixbuf_idle):
3559 More refactoring to adapt to EvDocument changes
3561 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3563 * ps/ps-document.c: (start_interpreter):
3565 Actually add alpha args
3567 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3569 * pdf/ev-poppler.cc:
3571 Make clipboard work again
3573 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3575 Make searching work again.
3577 * backend/ev-document.c:
3578 * backend/ev-document.h:
3579 * backend/ev-document-find.c:
3580 * backend/ev-document-find.h: Change EvDocumentIface so we no
3581 longer store the current page or zoom level in the document. The
3582 consequence is that all calls that operate on the current page now
3583 instead take the page number as an extra argument, and all
3584 coordinates are now doubles in document coordinate system.
3586 * pdf/ev-poppler.cc:
3587 * pixbuf/pixbuf-document.c:
3588 * ps/ps-document.c: Update backends accordingly.
3590 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3594 Add required gettext version
3596 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3598 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3599 make F1 bring up non-existent help.
3601 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3602 epiphany's find bar, #167477
3604 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3605 <emil@nishra.com> to add space-bar scrolling,
3607 * shell/ev-window.c (static GtkActionEntry entries): add default
3608 keybinding for Help (F1)
3611 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3612 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3615 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3618 * pixbuf/pixbuf-document.c:
3620 Got pixbuf backend working again
3622 2005-04-01 Steve Murphy <murf@e-tools.com>
3624 * configure.in: Added "rw" to ALL_LINGUAS.
3626 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3628 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3629 model types, noticed by Martin Kretzschmar.
3631 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3633 * pdf/ev-poppler.cc: Implement search based on
3634 poppler_page_find_text(). Currently a bit crude since we remember
3635 all matches from all pages. Also, we grab the big document lock
3636 when we search since searching changes the underlying stream and
3637 thus conflicts with the rendering thread.
3639 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3640 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3641 (ev_view_find_previous): Fix some page indexes to be 0 based,
3642 offset rubber band by view offset,
3644 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3646 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3648 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3650 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3651 completely because I didn't understand GtkActions. I should
3652 read Marco's code more carefully in the future.
3654 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3657 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3659 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3660 PopplerRectangle change from poppler CVS.
3662 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3664 * backend/ev-document.c: (ev_document_get_page_label):
3665 * backend/ev-document.h:
3666 * backend/ev-page-cache.c: (_ev_page_cache_new),
3667 (ev_page_cache_get_page_label):
3668 * backend/ev-page-cache.h:
3669 * pdf/ev-poppler.cc:
3670 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3671 (links_page_num_func):
3672 * shell/ev-sidebar-thumbnails.c:
3673 (ev_sidebar_thumbnails_set_document):
3674 * shell/ev-view.c: (status_message_from_link),
3675 (ev_view_motion_notify_event):
3676 * shell/ev-window.c: (document_supports_sidebar): Add in page
3677 label support. It's not perfect yet, but it's the first 'feature'
3679 Also, fix a bogus comment noticed by crispin.
3681 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3683 * Makefile.am: Remove pixbuf backend for now
3685 * configure.ac: Require poppler-glib instead of just poppler.
3687 * backend/ev-document-thumbnails.h: Add a comment
3689 * backend/ev-document.h:
3690 * backend/ev-document.c: (ev_document_class_init),
3691 (ev_document_load), (ev_document_get_link),
3692 (ev_document_get_links): Remove 3 methods and add get_links.
3695 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3696 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3698 * backend/ev-link.c: (ev_link_set_title),
3699 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3700 (ev_link_mapping_find):
3701 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3703 * backend/ev-page-cache.c: (ev_page_cache_init),
3704 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3705 (ev_page_cache_get_size), (ev_page_cache_next_page),
3706 (ev_page_cache_prev_page): Fix to be 0 based.
3710 * pdf/ev-poppler.cc: New backend.
3712 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3713 (ps_document_get_page), (ps_document_document_iface_init):
3715 * shell/ev-pixbuf-cache.h:
3716 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3717 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3718 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3719 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3720 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3721 Fix up code to grab a page cache per each doc. Also, fix to be 0
3724 * shell/ev-sidebar-thumbnails.c:
3725 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3726 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3728 * shell/ev-view.c: (status_message_from_link),
3729 (find_page_at_location), (get_link_at_location),
3730 (ev_view_motion_notify_event), (ev_view_button_release_event),
3731 (ev_view_init): Use the new link code. Fix to be 0 based.
3733 * shell/ev-window.c: (update_action_sensitivity),
3734 (document_supports_sidebar): 0 based.
3736 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3738 * pdf/pdf-document.cc: Patch from Fernando Herrera
3739 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3742 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3744 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3745 1 to the page, as this seems to be 1 based. I thought we has this
3748 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3751 * backend/Makefile.am:
3752 * backend/ev-document-links.c:
3753 (ev_document_links_has_document_links),
3754 (ev_document_links_get_links_model):
3755 * backend/ev-document-links.h:
3756 * backend/ev-document.c: (ev_document_get_page_cache),
3757 (ev_document_get_doc_mutex), (ev_document_load),
3758 (ev_document_save), (ev_document_get_title),
3759 (ev_document_get_n_pages), (ev_document_set_page),
3760 (ev_document_get_page), (ev_document_set_target),
3761 (ev_document_set_scale), (ev_document_set_page_offset),
3762 (ev_document_get_page_size), (ev_document_get_text),
3763 (ev_document_get_link), (ev_document_render),
3764 (ev_document_render_pixbuf), (ev_document_scale_changed):
3765 * backend/ev-document.h:
3766 * backend/ev-job-queue.c: (remove_object_from_queue),
3767 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3768 (no_jobs_available_unlocked), (ev_render_thread),
3769 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3770 (ev_job_queue_remove_job):
3771 * backend/ev-job-queue.h:
3772 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3773 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3774 (ev_job_links_class_init), (ev_job_render_init),
3775 (ev_job_render_dispose), (ev_job_render_class_init),
3776 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3777 (ev_job_thumbnail_class_init), (ev_job_finished),
3778 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3779 (ev_job_render_run), (ev_job_thumbnail_new),
3780 (ev_job_thumbnail_run):
3781 * backend/ev-jobs.h:
3782 * backend/ev-link.c:
3783 * backend/ev-link.h:
3784 * backend/ev-page-cache.c: (ev_page_cache_init),
3785 (ev_page_cache_class_init), (ev_page_cache_finalize),
3786 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3787 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3788 (ev_page_cache_set_link), (ev_page_cache_get_title),
3789 (ev_page_cache_get_size), (ev_page_cache_next_page),
3790 (ev_page_cache_prev_page):
3791 * backend/ev-page-cache.h:
3792 * pdf/pdf-document.cc:
3795 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3796 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3797 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3798 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3799 (is_interpreter_ready), (output), (catchPipe), (input),
3800 (start_interpreter), (check_filecompressed), (compute_dimensions),
3801 (ps_document_enable_interpreter), (document_load),
3802 (ps_document_next_page), (render_page), (ps_document_set_page),
3803 (ps_document_set_scale), (render_pixbuf_idle),
3804 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3806 * shell/Makefile.am:
3807 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3808 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3809 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3810 (ev_pixbuf_cache_new), (job_finished_cb),
3811 (check_job_size_and_unref), (move_one_job),
3812 (ev_pixbuf_cache_update_range), (find_job_cache),
3813 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3814 (ev_pixbuf_cache_add_jobs_if_needed),
3815 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3816 * shell/ev-pixbuf-cache.h:
3817 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3818 (idle_print_handler):
3819 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3820 (selection_changed_cb), (create_loading_model),
3821 (ev_sidebar_links_construct), (links_page_num_func),
3822 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3823 (update_page_callback), (job_finished_cb),
3824 (ev_sidebar_links_set_document):
3825 * shell/ev-sidebar-thumbnails.c:
3826 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3827 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3828 (page_changed_cb), (thumbnail_job_completed_callback),
3829 (ev_sidebar_thumbnails_set_document):
3830 * shell/ev-sidebar-thumbnails.h:
3831 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3832 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3833 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3834 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3835 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3836 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3837 (ev_view_button_release_event), (ev_view_scroll_view),
3838 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3839 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3840 (ev_view_new), (job_finished_cb), (page_changed_cb),
3841 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3842 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3843 (ev_view_find_previous):
3845 * shell/ev-window.c: (update_action_sensitivity),
3846 (ev_window_open_page), (update_window_title), (update_total_pages),
3847 (page_changed_cb), (ev_window_setup_document),
3848 (password_dialog_response), (ev_window_cmd_save_as),
3849 (ev_window_print), (ev_window_cmd_go_previous_page),
3850 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3851 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3852 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3853 * shell/main.c: (main):
3855 Merge evince-threads branch
3857 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3859 * configure.ac: Added "lt" to ALL_LINGUAS.
3861 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3868 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3870 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3872 Fix here also the thumbnails 1-basedness :)
3874 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3881 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3883 * pdf/pdf-document.cc:
3884 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3885 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3887 Fix the mess we did with thumbnails and 1-basedness
3889 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3891 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3893 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3900 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3903 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3904 (gtk_gs_defaults_get_alpha_parameters),
3905 (gtk_gs_defaults_get_ungzip_cmd),
3906 (gtk_gs_defaults_get_unbzip2_cmd):
3908 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3909 (ps_document_get_orientation), (document_load),
3910 (ps_document_goto_page), (ps_document_set_page_size):
3913 Some more sanitization of the ps backend. Remove a lot
3914 of unused code and do not base our defaults on ggv
3917 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3919 * thumbnailer/evince-thumbnailer.schemas:
3920 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3921 (main): add -s option for thumbnail size.
3923 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3927 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3930 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3932 * pdf/pdf-document.cc:
3934 Remove 4 pixels of useless border from the
3937 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3939 * backend/ev-document-thumbnails.c:
3940 (ev_document_thumbnails_get_thumbnail):
3941 * backend/ev-document-thumbnails.h:
3943 Rework API a bit. Add a border flag and
3944 change sizing logic (now the size we specify
3945 applies to the bigger dimension).
3947 * pdf/pdf-document.cc:
3948 * pixbuf/pixbuf-document.c:
3949 (pixbuf_document_thumbnails_get_thumbnail):
3950 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3951 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3953 Adapt to the new API and do not draw a border for nautilus
3956 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3958 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3959 take thumbnails from page "0" instead of "1". Added a copyright header.
3961 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3963 * ps/ps-document.c: (set_up_page), (start_interpreter):
3965 Make it C89 compliant
3967 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3972 * pdf/pdf-document.cc:
3973 * thumbnailer/Makefile.am:
3974 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3976 * thumbnailer/evince-thumbnailer.schemas:
3977 * thumbnailer/pdf-icon.png:
3979 Add a nautilus thumbnailer.
3980 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3982 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3990 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3992 Use poppler instead of including xpdf source code. Poppler is a
3993 fork of xpdf to build it as a shared library. See
3994 http://freedesktop.org/wiki/Software/poppler.
3996 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3999 * pdf/Makefile.am: Build libpdfdocument.a here.
4001 * pdf/GDKSplashOutputDev.cc:
4002 * pdf/GDKSplashOutputDev.h:
4003 * pdf/GnomeVFSStream.cc:
4004 * pdf/GnomeVFSStream.h:
4007 * test-gdk-output-dev.cc
4009 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4012 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4014 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4016 Clear idle stack before unsetting the document
4018 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4020 * ps/ps-document.c: (ps_document_widget_event),
4021 (ps_document_set_target), (ps_document_finalize),
4022 (ps_document_get_page):
4024 Disconnect the widget event signal on finalize.
4027 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4029 * ps/ps-document.c: (set_up_page):
4031 If there is no bpixmap create one, even if size
4034 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4036 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4037 (set_up_page), (document_load), (ps_document_set_zoom):
4039 Default page is 0. Calculate size even when we have no
4042 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4044 * shell/ev-sidebar.c: expand the selection widget to be always as
4047 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4049 * shell/ev-sidebar-thumbnails.c:
4050 (ev_sidebar_thumbnails_set_document):
4052 Clear the list store when setting document
4054 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4056 * shell/ev-page-action.c: (update_entry), (sync_entry),
4057 (activate_cb), (entry_size_request_cb), (create_tool_item),
4060 Use an entry for the page control instead of spinbuttons
4062 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4064 * data/evince.schemas.in:
4066 Correct confusing string
4068 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4070 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4071 for real. Gosh, how long has this been broken.
4073 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4074 check for a NULL link. We crash otherwise.
4076 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4083 2005-02-25 Sebastien Bacher <seb128@debian.org>
4085 * configure.ac: add the french translation.
4087 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4089 * shell/ev-window.c:
4091 Remove unused header -> fix distcheck
4093 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4095 * shell/ev-window.c: (update_window_title),
4096 (ev_window_popup_password_dialog):
4098 Unescape filename for display
4100 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4102 * pdf/xpdf/pdf-document.cc:
4104 In get_page_size deal with rotation. Also
4105 cleanup the function a bit.
4107 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4109 * pdf/xpdf/pdf-document.cc:
4111 Fix crash when opening in new window
4113 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4117 Check ghostscript >= 7
4119 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4121 * shell/ev-window.c:
4123 Make page width the default sizing mode
4125 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4126 Marco Pesenti Gritti <marco@gnome.org>
4128 * shell/ev-window.c: Remember the sidebar size
4130 * data/evince.schemas.in: Add a new gconf key to store the size of
4133 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4135 * data/evince-ui.xml:
4136 * shell/ev-window.c: (update_action_sensitivity),
4137 (ev_window_cmd_view_reload):
4139 Add a "Reload" action and menu entry
4141 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4143 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4144 iff the type doesn't support thumbnailing and indexing.
4146 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4148 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4150 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4152 * pdf/splash/Splash.cc:
4154 Port fix for a crasher from kde bug
4155 http://bugs.kde.org/show_bug.cgi?id=97131
4157 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4159 * pdf/xpdf/pdf-document.cc:
4161 Return a link even if it's of an unrecognized
4162 type. Otherwise we go in an infinte cycle.
4164 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4166 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4167 (size_allocate_cb), (ev_window_set_sizing_mode):
4169 Update size when switching mode
4171 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4173 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4174 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4175 (ev_window_cmd_view_normal_size):
4177 Fix size toggle buttons behavior
4179 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4181 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4182 (doc_rect_to_view_rect), (ev_view_size_allocate),
4183 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4184 (scale_changed_callback):
4186 Do not cache offsets in size_allocate.
4188 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4190 * shell/ev-view.c: (ev_view_size_allocate):
4192 Calculate offsets before calling the parent
4193 class (which does a redraw)
4195 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4197 * pdf/xpdf/pdf-document.cc:
4199 Fix a crasher on exit. Unused code, put a TODO
4201 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4203 * backend/ev-document.c: (ev_document_class_init),
4204 (ev_document_page_changed), (ev_document_scale_changed):
4205 * backend/ev-document.h:
4207 Separate page/scale notifications
4209 * pdf/xpdf/pdf-document.cc:
4211 Emit the new signals.
4212 Do not display the pdf page in _render, do it
4213 when scale/page are requested.
4215 * ps/ps-document.c: (ps_document_set_zoom),
4216 (ps_document_widget_event):
4219 Emit the new signals.
4221 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4222 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4223 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4224 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4226 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4227 (ev_window_cmd_view_page_width), (size_allocate_cb),
4228 (ev_window_set_sizing_mode):
4230 Rework sizing to be pixel based.
4231 There are bugs but should be already way better.
4233 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4235 * shell/ev-window.c: (ev_window_init):
4237 Do not allow to shrink sidebar smaller then
4240 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4242 * shell/ev-sidebar.[ch]
4243 * shell/ev-window.c:
4245 Improved sidebar widget. Fixes #166683
4247 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4249 * shell/ev-view.c (update_find_status_message): Give translators
4250 more flexibility with ngettext plural handling.
4252 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4254 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4255 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4256 page when we get the page size.
4258 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4260 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4262 ps pages are 0 based, convert
4264 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4266 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4268 Initialize correct parent class. Set GError on document load
4270 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4272 * pdf/xpdf/pdf-document.cc:
4274 Fixup selection offset calculation
4276 * shell/ev-view.c: (view_rect_to_doc_rect),
4277 (doc_rect_to_view_rect), (ev_view_size_allocate),
4278 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4279 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4281 Store selection as document relative, so that zooming
4282 and offset changing doesnt break it.
4284 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4286 * shell/ev-view.c: (ev_view_best_fit):
4288 Do not try to best fit if the view is not realized
4290 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4292 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4294 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4296 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4298 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4300 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4301 the popup window. That prevents it resizing when in full screen
4304 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4305 multiple rerenders. This pretty much sucks.
4307 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4308 rest of the toolbar.
4310 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4312 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4314 2005-02-17 Alexander Shopov <ash@contact.bg>
4316 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4318 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4320 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4322 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4324 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4325 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4326 (set_document_page), (document_changed_callback),
4327 (ev_view_set_document), (ev_view_find_previous),
4328 (ev_view_hide_cursor), (ev_view_show_cursor):
4330 * shell/ev-window.c: (update_chrome_visibility),
4331 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4332 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4333 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4334 (ev_window_unfullscreen):
4335 * shell/main.c: (main):
4337 Automatically hide the fullscreen button.
4338 Patch by Kristian Høgsberg <krh@redhat.com>
4340 2005-02-16 Vincent Noel <vnoel@cox.net>
4342 * shell/main.c (main): Specify an icon for the window. Patch by
4343 Jaap A. Haitsma. Fixes #166177.
4345 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4347 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4349 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4351 * backend/ev-document-misc.h:
4352 * backend/ev-document-misc.c:
4353 (ev_document_misc_get_page_border_size),
4354 (ev_document_misc_paint_one_page): New function to canonicalize
4355 sizing/painting a border.
4357 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4360 * pdf/xpdf/pdf-document.cc: use new function
4362 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4363 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4364 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4365 shell/ev-window.c: (update_sizing_buttons),
4366 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4367 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4368 (ev_window_cmd_view_page_width), (size_allocate_cb),
4369 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4370 and "fit width" values act as toggle buttons so they stay
4371 toggled. It's not 100% perfect, and it's a little slow, but it's
4372 good enough to commit I think.
4374 2005-02-15 David Lodge <dave@cirt.net>
4376 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4378 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4380 * shell/ev-window.c (update_window_title): replace newlines in
4381 the title by spaces. Bug #166107.
4383 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4385 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4386 parameters providing allocation width and height without
4387 scrollbars and width of a possible vertical scrollbar. With this
4388 additional information the functions can work as
4389 intended. Unfortunately they're not idempotent. We should
4390 transform these commands to toggles. Fixes Bug #164976
4391 Initial patch by Stephane Loeuillet, then heavily modified.
4393 * shell/ev-view.h: update prototypes.
4395 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4396 (ev_window_cmd_view_page_width): provide EvView fit functions with
4397 all the information they need. Formulas to calculate this
4398 information taken from GtkScrolledWindow.
4400 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4402 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4403 created a thumbnail, the list store is updated to know
4404 that the thumbnail is set. Fixes bug #166792
4406 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4408 * shell/ev-window.c: fixed typo, closes bug 166897
4410 * TODO: updated TODO with bug numbers that are relevant
4412 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4414 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4416 2005-02-09 Vincent Noel <vnoel@cox.net>
4418 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4419 and "Next" toolbar buttons as important to make them stand out.
4421 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4425 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4426 (start_interpreter), (stop_interpreter), (document_load),
4427 (ps_document_next_page), (ps_document_goto_page),
4428 (ps_document_set_page_size), (ps_document_widget_event),
4429 (ps_document_render):
4430 * shell/ev-page-view.c: (ev_page_view_dispose):
4431 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4433 Fix compilation on non-gcc platforms
4435 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4442 * pdf/xpdf/Catalog.cc:
4445 Fix the fix for CAN-2004-0888
4447 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4450 * data/evince-ui.xml:
4451 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4452 * shell/ev-stock-icons.h:
4453 * shell/ev-window.c: (update_action_sensitivity),
4454 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4455 (set_action_properties):
4457 Improve toolbar layout/icons
4459 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4461 * pdf/xpdf/pdf-document.cc:
4463 Add warnings about unimplemented/unknown link
4466 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4468 * ps/ps-document.c: (set_up_page):
4472 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4474 * ps/ps-document.c: (start_interpreter):
4478 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4480 * shell/ev-page-view.c: (ev_page_view_dispose):
4481 * shell/ev-view.c: (ev_view_finalize):
4482 * shell/ev-window.c: (ev_window_setup_document),
4483 (ev_window_dispose), (ev_window_init):
4485 Solve more refs issues.
4487 I commented out the page_view initialization for now:
4488 it was never destroyed (because it's never added
4489 to a container). Because of that we was leaking
4490 gs processes. Couldnt think to a clean fix.
4491 We need to figure this out, password view has the
4492 same issue probably.
4494 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4496 * ps/ps-document.c: (ps_document_finalize),
4497 (ps_document_get_n_pages), (ps_document_get_page):
4499 Some cleanups, stop the interpreter on finalize
4501 * shell/ev-page-view.c: (ev_page_view_dispose),
4502 (ev_page_view_class_init):
4504 Release our reference on the document
4506 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4510 * doc/debugging.txt:
4513 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4514 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4515 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4518 Add debugging helpers
4521 * ps/ps-document.c: (set_up_page), (start_interpreter),
4522 (stop_interpreter), (document_load), (ps_document_next_page),
4523 (ps_document_goto_page), (ps_document_set_page_size),
4524 (ps_document_widget_event), (ps_document_render):
4525 * shell/Makefile.am:
4526 * shell/ev-view.c: (expose_bin_window):
4527 * shell/main.c: (main):
4531 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4533 * ps/ps-document.c: (ps_document_widget_event):
4535 Initialize message_window, this should make ps
4536 rendering really work! (Never noticed because I was
4537 testing with a ps that is causing gs to exit every time!)
4539 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4541 * data/evince.schemas.in: updated simple error in applyto closing tag
4543 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4549 * data/evince-ui.xml:
4550 A data/evince.schemas.in:
4552 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4553 * shell/ev-stock-icons.h:
4554 * shell/ev-window.c: (update_chrome_visibility),
4555 (update_chrome_flag), (ev_window_cmd_edit_find),
4556 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4557 (ev_window_unfullscreen), (ev_window_focus_in_event),
4558 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4559 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4560 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4561 (ev_window_dispose), (ev_window_class_init),
4562 (set_action_properties), (set_chrome_actions), (load_chrome),
4565 Implement fullscreen mode changes from bug #164776.
4566 Also implement persistent chrome toggles.
4568 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4570 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4572 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4578 Add another check for find interface
4582 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4584 * shell/ev-application.c: (ev_application_open):
4585 * shell/ev-window.c: (ev_window_open):
4587 Open gzipped ps documents
4589 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4592 * shell/ev-view.c: (set_document_page):
4594 Clamp page number, dont try to move to
4597 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4599 * backend/ev-document-find.c: (ev_document_find_changed):
4600 * backend/ev-document-find.h:
4601 * pdf/xpdf/pdf-document.cc:
4602 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4603 * shell/ev-window.c: (find_bar_search_changed_cb):
4605 Fix several bugs with find
4607 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4609 * shell/ev-sidebar-thumbnails.c
4610 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4611 document. Prevents warning from scroll_to_cell.
4613 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4615 * configure.ac: Add «nb» to ALL_LINGUAS too.
4617 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4619 * NOTES: New file with some random thoughts.
4623 * backend/ev-document-misc.c:
4624 (ev_document_misc_get_page_border_size): New function to
4625 canonicalize shadow drawing sizes. Possibly goofy.
4627 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4628 (ev_view_best_fit), (ev_view_fit_width):
4629 * pdf/xpdf/pdf-document.cc:
4630 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4631 * ps/ps-document.c: (ps_document_get_page_size):
4632 * backend/ev-document-misc.h:
4633 * backend/ev-document.c: (ev_document_get_page_size):
4634 * backend/ev-document.h: get_page_size now takes a page number
4635 parameter. Made all the backends/frontends honor it.
4637 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4638 see. Doesn't work yet.
4640 * shell/Makefile.am:
4641 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4642 Doesn't do anything yet.
4644 * shell/ev-sidebar-thumbnails.c:
4645 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4648 * shell/ev-window.c: (update_action_sensitivity),
4649 (ev_window_setup_document), (ev_window_set_page_mode),
4650 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4651 view-swapping code a bit so we can have multiple views on a
4652 document. Add the multi-page view, though it can't be turned on
4655 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4657 * shell/ev-application.c: (ev_application_open):
4658 * shell/ev-view.c: (expose_bin_window):
4659 * shell/ev-window.c: (ev_window_open):
4661 Support eps and check document supports find
4662 before drawing highlightings in expose.
4664 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4666 * pixbuf/pixbuf-document.c:
4667 (pixbuf_document_thumbnails_get_dimensions),
4668 (pixbuf_document_document_thumbnails_iface_init):
4670 implement get_dimensions
4672 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4679 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4681 * shell/ev-view.c: (set_document_page):
4683 Scroll at the top of the page when changing page
4685 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4687 * shell/ev-view.c: (ev_view_motion_notify_event):
4689 Do not redraw unnecessarily
4691 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4693 * pdf/xpdf/pdf-document.cc:
4694 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4695 (expose_bin_window), (find_changed_cb):
4697 Yay! find works now... Now to find bugs...
4699 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4701 * backend/ev-document-find.c: (ev_document_find_base_init),
4702 (ev_document_find_changed):
4703 * backend/ev-document-find.h:
4704 * pdf/xpdf/pdf-document.cc:
4705 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4706 (expose_bin_window), (ev_view_init), (set_document_page),
4707 (ensure_rectangle_is_visible), (jump_to_find_result),
4708 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4709 (ev_view_find_next), (ev_view_find_previous):
4711 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4713 More work on find implementation, mostly there now
4715 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4717 * backend/ev-backend-marshalers.list:
4718 * backend/ev-document-find.c: (ev_document_find_base_init),
4719 (ev_document_find_cancel), (ev_document_find_page_has_results),
4720 (ev_document_find_get_n_results), (ev_document_find_get_result),
4721 (ev_document_find_get_progress), (ev_document_find_changed):
4722 * backend/ev-document-find.h:
4724 Enanche the find interface to be really able to do
4727 * pdf/xpdf/pdf-document.cc:
4731 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4732 (expose_bin_window), (ev_view_init),
4733 (ev_view_get_find_status_message), (find_changed_cb),
4734 (ev_view_set_document), (set_document_page):
4736 Adapt to the new interface. A few things are regressed sorry,
4737 I will finish it soon.
4739 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4741 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4742 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4743 ev_sidebar_thumbnails_parent_class variable, don't define another
4744 parent_class variable.
4746 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4747 (ev_page_action_class_init): ditto.
4749 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4750 (pixbuf_document_class_init): ditto.
4752 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4755 * .cvsignore: ignore various valgrind output files.
4757 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4759 * data/evince-ui.xml:
4760 * shell/Makefile.am:
4761 * shell/ev-history.c:
4762 * shell/ev-history.h:
4763 * shell/ev-navigation-action.c:
4764 * shell/ev-navigation-action.h:
4765 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4766 (ev_view_set_page), (ev_view_fit_width):
4768 * shell/ev-window.c: (update_action_sensitivity),
4769 (ev_window_setup_document), (register_custom_actions):
4771 Kill session history
4773 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4775 * shell/ev-window.c: (update_action_sensitivity):
4777 Fix inverted up/down buttons
4779 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4781 * shell/ev-sidebar-thumbnails.c
4782 (ev_sidebar_thumbnails_select_page): make sure the selected
4783 thumbnail stays visible.
4785 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4787 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4788 scrolled window for Federico.
4790 2005-01-26 Ole Laursen <olau@hardworking.dk>
4792 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4794 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4797 * pdf/splash/SplashFTFontEngine.cc:
4799 Fix CID fonts with freetype 2.1.9
4801 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4803 * TODO: added item for desktop icon thumbnailer
4805 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4807 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4808 unloaded docs when the title is accessed.
4810 * shell/ev-password-view.[hc]: New widget for displaying password
4813 * shell/ev-window.[ch]: Refactor password handling code to handle
4816 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4824 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4826 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4827 ignore page offset here, to make search results independent of it,
4829 * shell/ev-view.c (expose_bin_window): but take offsets into
4830 account here. Bug #164932
4832 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4833 scale at the right time. Bug #164996
4835 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4837 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4838 fix the problem. Now I just removed the Adobe font names and hope
4839 that the URW fonts are always in outline format. Bug #164934
4841 * shell/ev-window.c (update_window_title): empty titles are
4842 useless, use filename in that case too.
4844 * NEWS: Add some content.
4846 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4848 * TODO: added one more TODO item and a TODONE section :)
4850 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4852 * ps/ps-document.h: add page_[xy]_offset fields.
4854 * ps/ps-document.c (ps_document_set_page_offset)
4855 (ps_document_render): Keep offset in consideration in a few
4856 places. Bug #164752 "postscript documents are not centered in
4859 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4860 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4862 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4863 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4864 stub out missing methods for complete EvDocument implementation.
4865 Fixes segfaults with Save A Copy and Copy actions.
4867 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4868 (ps_document_document_iface_init): ditto.
4870 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4874 * data/evince.desktop.in:
4878 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4880 * shell/ev-view.c: (ev_view_button_press_event),
4881 (ev_view_motion_notify_event):
4883 Make selection work in any direction
4885 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4888 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4890 Use shorter labels for some of the toolbars items
4892 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4894 * pdf/xpdf/pdf-document.cc:
4896 Check the links info is initialized before
4897 using it. Should fix a crash on startup.
4899 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4901 * pixbuf/pixbuf-document.c
4902 (pixbuf_document_thumbnails_get_dimensions): force floating point
4903 division to calculate page_ratio. Fixes crash with landscape
4906 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4908 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4910 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4912 * shell/ev-view.c (set_document_page): unset has_selection when
4914 (set_document_page): handle paper size changes when the page
4915 changes (test with Free Culture, page 2).
4917 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4919 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4920 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4922 Use normal style color for the widget background and
4923 draw a black box around the page.
4925 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4927 * pdf/xpdf/pdf-document.cc:
4929 Keep offset in consideration in a few places
4931 * shell/ev-view.c: (expose_bin_window):
4933 Set the offsets so that the document is ever centered
4935 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4937 * TODO: Added TODO items and finished off the first todo item
4939 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4940 reflect current authors
4942 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4944 * pdf/xpdf/pdf-document.cc:
4945 * shell/ev-view.c: (ev_view_set_cursor),
4946 (ev_view_motion_notify_event), (document_changed_callback),
4947 (set_document_page):
4949 Show a wait cursor while the page is rendering
4951 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4953 * shell/ev-sidebar-thumbnails.c:
4954 (ev_sidebar_tree_selection_changed),
4955 (ev_sidebar_thumbnails_select_page):
4956 * shell/ev-sidebar-thumbnails.h:
4957 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4958 (ev_view_can_go_forward):
4959 * shell/ev-window.c: (ev_window_open_page),
4960 (ev_window_setup_document), (update_current_page),
4961 (view_page_changed_cb), (ev_window_init):
4962 * shell/ev-window.h:
4964 Ensure thumbnails selection, toolbar page control and
4965 current page are in sync.
4967 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4973 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4975 * backend/Makefile.am:
4976 * backend/ev-document-links.h:
4977 * backend/ev-document-security.c: (ev_document_security_get_type),
4978 (ev_document_security_has_document_security),
4979 (ev_document_security_set_password):
4980 * backend/ev-document-security.h:
4981 * backend/ev-document.c: (ev_document_error_quark):
4982 * backend/ev-document.h:
4984 * data/evince-password.glade:
4985 * pdf/xpdf/pdf-document.cc:
4986 * shell/Makefile.am:
4987 * shell/ev-password.c: (ev_password_set_bad_password_label),
4988 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4989 (ev_password_dialog_get_password),
4990 (ev_password_dialog_set_bad_pass):
4991 * shell/ev-password.h:
4992 * shell/ev-window.c: (ev_window_get_attribute),
4993 (ev_window_set_property), (update_action_sensitivity),
4994 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4995 (ev_window_setup_document), (ev_window_get_password),
4996 (ev_window_open), (ev_window_cmd_save_as),
4997 (using_postscript_printer), (ev_window_print),
4998 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4999 (update_fullscreen_popup), (ev_window_fullscreen),
5000 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5001 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5002 (menu_item_select_cb), (find_bar_search_changed_cb),
5003 (ev_window_dispose), (ev_window_init):
5005 Add initial support for password-supported dialogs. This could be
5006 a lot cooler, but it'll do for now.
5008 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5010 * pdf/xpdf/pdf-document.cc:
5011 * shell/ev-view.c: (status_message_from_link),
5012 (ev_view_set_status), (ev_view_set_cursor),
5013 (ev_view_motion_notify_event), (ev_view_init):
5014 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5016 Fix bugs in the links implementation and change cursor
5017 when hovering a link.
5019 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5021 * viewer/.cvsignore: added cvsignore file for viewer directory
5023 * TODO: created TODO document
5025 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5028 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5029 new functions to help with implementation of sensitivity code
5030 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5031 of all actions that might require it. Fixes a crash when you
5032 click on the Zoom actions in a window lacking a document.
5034 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5036 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5039 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5041 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5042 (pixbuf_document_document_iface_init):
5043 * ps/ps-document.c: (ps_document_get_link),
5044 (ps_document_document_iface_init):
5045 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5046 (status_message_from_link), (ev_view_set_status),
5047 (ev_view_set_find_status), (ev_view_motion_notify_event),
5048 (ev_view_button_release_event), (ev_view_set_property),
5049 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5050 (ev_view_get_find_status_message), (update_find_results),
5051 (ev_view_get_status), (ev_view_get_find_status):
5053 * shell/ev-window.c: (view_status_changed_cb),
5054 (view_find_status_changed_cb), (ev_window_init):
5056 View status message support, use it to show the links.
5059 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5061 * backend/ev-document.c: (ev_document_get_link):
5062 * backend/ev-document.h:
5063 * pdf/xpdf/pdf-document.cc:
5064 * shell/ev-application.c: (ev_application_open):
5065 * shell/ev-application.h:
5066 * shell/ev-sidebar-links.c: (selection_changed_cb):
5067 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5068 (ev_view_go_to_link):
5070 Add support for document links
5072 2005-01-13 Anders Carlsson <andersca@gnome.org>
5074 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5076 Set the spin button limits correctly.
5078 * shell/ev-sidebar-thumbnails.c:
5079 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5080 Support changing pages by clicking on the thumbnails.
5082 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5084 * pixbuf/pixbuf-document.c:
5085 (pixbuf_document_thumbnails_get_dimensions),
5086 (pixbuf_document_document_thumbnails_iface_init):
5088 implement get_dimensions
5090 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5092 * ps/ps-document.c: (ps_document_goto_page):
5094 Fix page switching on multipage documents
5096 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5098 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5100 check for NULL before assigning to width and height parameters
5102 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5104 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5105 (pixbuf_document_set_property), (pixbuf_document_get_property):
5107 implement get/set properties
5109 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5111 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5113 return NULL instead of "Unknown", letting the title get set to
5114 the filename when the pdf has no title.
5116 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5118 * ps/ps-document.c: (ps_document_get_page_count),
5119 (ps_document_goto_page):
5121 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5123 * shell/ev-history.c: (ev_history_get_property),
5124 (ev_history_set_property), (ev_history_class_init),
5125 (ev_history_add_page), (ev_history_set_current_index):
5126 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5127 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5128 (ev_navigation_action_finalize):
5129 * shell/ev-navigation-action.h:
5130 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5131 (ev_view_go_forward), (ev_view_get_find_status_message),
5132 (history_index_changed_cb), (ev_view_set_history):
5134 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5135 (update_current_page), (register_custom_actions):
5137 Implement history dropdowns
5139 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5141 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5142 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5143 (ev_view_go_forward):
5144 * shell/ev-window.c: (register_custom_actions):
5146 Fix several history bugs
5148 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5150 * configure.ac: Add «nb» to ALL_LINGUAS.
5152 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5154 * backend/Makefile.am:
5155 * backend/ev-bookmark.c:
5156 * backend/ev-bookmark.h:
5157 * backend/ev-document-bookmarks.c:
5158 * backend/ev-document-bookmarks.h:
5159 * backend/ev-document-links.c: (ev_document_links_get_type),
5160 (ev_document_links_has_document_links),
5161 (ev_document_links_begin_read), (ev_document_links_get_link),
5162 (ev_document_links_get_child), (ev_document_links_next),
5163 (ev_document_links_free_iter):
5164 * backend/ev-document-links.h:
5165 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5166 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5167 (ev_link_get_link_type), (ev_link_set_link_type),
5168 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5169 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5170 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5171 (ev_link_new_external):
5172 * backend/ev-link.h:
5173 * pdf/xpdf/pdf-document.cc:
5174 * shell/Makefile.am:
5175 * shell/ev-application.c: (ev_application_open_link):
5176 * shell/ev-application.h:
5177 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5178 (ev_history_get_link_nth):
5179 * shell/ev-history.h:
5180 * shell/ev-sidebar-bookmarks.c:
5181 * shell/ev-sidebar-bookmarks.h:
5182 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5183 (ev_sidebar_links_class_init), (selection_changed_cb),
5184 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5185 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5186 (do_one_iteration), (populate_links_idle),
5187 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5188 * shell/ev-sidebar-links.h:
5189 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5190 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5193 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5194 * shell/ev-window.h:
5196 Rename bookmark to link, and use "Index" for the sidebar panel.
5198 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5200 * shell/Makefile.am:
5201 * shell/ev-application.c: (ev_application_open_bookmark):
5202 * shell/ev-application.h:
5203 * shell/ev-history.c: (ev_history_init), (free_links_list),
5204 (ev_history_finalize), (ev_history_class_init),
5205 (ev_history_add_link), (ev_history_add_page),
5206 (ev_history_get_link_nth), (ev_history_get_n_links),
5207 (ev_history_get_current_index), (ev_history_set_current_index),
5209 * shell/ev-history.h:
5210 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5211 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5212 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5213 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5216 * shell/ev-window.c: (ev_window_open_bookmark),
5217 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5218 (goto_page_cb), (register_custom_actions):
5219 * shell/ev-window.h:
5221 Initial history implementation. Needs work.
5223 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5225 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5227 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5229 * cut-n-paste/recent-files/egg-recent-item.c:
5230 * cut-n-paste/recent-files/egg-recent-item.h:
5231 * cut-n-paste/recent-files/egg-recent-model.c:
5232 * cut-n-paste/recent-files/egg-recent-util.c:
5233 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5234 * cut-n-paste/recent-files/egg-recent-view.c:
5238 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5240 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5241 (fillGlyph, fillImageMask, drawImage):
5242 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5243 pdf/splash/SplashTypes.h:
5244 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5245 packed mode for Splash.
5247 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5248 RGB8 packed mode, eliminates the pixbuf data creation loop.
5250 * shell/ev-print-job.c (ev_print_job_finalize)
5251 (ev_print_job_set_property, ev_print_job_get_property)
5252 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5253 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5254 (print_closure_finalize, ev_print_job_print): implement
5255 printing (for backends with EvPsExporter)
5257 * shell/ev_print_job.h: update prototypes.
5259 * shell/ev-window.c (ev_window_print): unref print job after
5262 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5263 unless the document implements the EvDocumentFind interface.
5265 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5267 * configure.ac: Added ja to ALL_LINGUAS.
5269 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5271 * pdf/xpdf/pdf-document.cc:
5273 add a FIXME. We should probably not allocate
5274 a bookmark object every time
5276 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5278 * shell/ev-application.c: (ev_application_open),
5279 (ev_application_open_bookmark):
5280 * shell/ev-application.h:
5282 Add a way to open bookmarks
5284 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5285 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5286 (ev_bookmark_set_property), (ev_bookmark_class_init),
5287 (ev_bookmark_new_title), (ev_bookmark_new_link),
5288 (ev_bookmark_new_external):
5290 Support for external uris, better constructors.
5292 * backend/ev-bookmark.h:
5293 * pdf/xpdf/pdf-document.cc:
5294 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5296 Handle external uris
5298 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5300 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5301 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5303 Hook up bookmarks navigation
5305 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5307 * backend/Makefile.am:
5308 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5309 (ev_bookmark_get_title), (ev_bookmark_set_title),
5310 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5311 (ev_bookmark_get_page), (ev_bookmark_set_page),
5312 (ev_bookmark_get_property), (ev_bookmark_set_property),
5313 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5315 * backend/ev-bookmark.h:
5316 * backend/ev-document-bookmarks.c:
5317 (ev_document_bookmarks_get_bookmark):
5318 * backend/ev-document-bookmarks.h:
5319 * pdf/xpdf/pdf-document.cc:
5320 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5322 Add a bookmark object to the backend and use it instead of get_values
5324 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5326 * data/evince-ui.xml:
5328 Cleanup and add select all.
5330 * shell/ev-view.c: (ev_view_select_all),
5331 (ev_view_button_press_event):
5333 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5336 Clear selection on click.
5338 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5340 * shell/ev-sidebar-thumbnails.c
5341 (ev_sidebar_thumbnails_set_document): forgot to unref the
5344 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5346 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5347 at the visible page, not just linearly. This makes it look fast.
5349 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5351 * backend/ev-document-misc.c
5352 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5354 * backend/ev-document-thumbnails.h: New interface to get the size
5357 2005-01-06 Jeremy Katz <katzj@redhat.com>
5359 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5362 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5364 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5365 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5368 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5370 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5372 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5373 fonts. Should fix font problems on systems that have the base
5374 fonts in bitmap format. Reported by James Henstridge
5375 <james@jamesh.id.au>.
5377 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5380 * pdf/xpdf/GfxState.cc:
5382 Fix for CAN-2004-1125
5384 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5386 * shell/ev-view.c: (ev_view_copy):
5388 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5390 Implement Edit->Copy
5392 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5394 * backend/ev-document.c: (ev_document_get_text):
5395 * backend/ev-document.h:
5396 * pdf/xpdf/pdf-document.cc:
5397 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5398 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5399 (ev_view_update_primary_selection), (ev_view_button_press_event),
5400 (ev_view_motion_notify_event), (ev_view_button_release_event):
5402 Beginnings of clipboard support. Incomplete but primary sort
5405 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5407 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5408 (expose_bin_window):
5410 Nicer rubberband drawing, from GtkIconView.
5412 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5414 * backend/ev-document.c: (ev_document_save):
5415 * backend/ev-document.h:
5416 * data/evince-ui.xml:
5417 * pdf/xpdf/pdf-document.cc:
5418 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5420 Implement "Save a copy..." menu item
5422 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5424 * shell/ev-view.c: (ev_view_zoom):
5426 Queue a resize when zoom changes
5428 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5430 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5433 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5436 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5438 * pdf/xpdf/pdf-document.cc
5439 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5441 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5443 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5444 It's slow, but I'll speed it up next!
5446 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5448 * shell/main.c (load_files):
5450 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5451 from the command line and because it seems more appropriate.
5453 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5455 * data/evince-ui.xml:
5456 * shell/ev-window.c: (update_action_sensitivity),
5457 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5459 s/next page/page down
5460 s/previous page/page up
5462 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5464 * data/evince-ui.xml:
5466 Change the layout to match clarkbw design.
5468 * shell/Makefile.am:
5469 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5470 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5471 (ev_navigation_action_finalize),
5472 (ev_navigation_action_set_property),
5473 (ev_navigation_action_get_property),
5474 (ev_navigation_action_class_init):
5475 * shell/ev-navigation-action.h:
5477 Implement clarkbw toolbar navigation controls (incomplete)
5479 * shell/ev-page-action.c: (update_label), (update_spin),
5480 (value_changed_cb), (create_tool_item), (connect_proxy),
5481 (ev_page_action_init), (ev_page_action_finalize),
5482 (ev_page_action_set_property), (ev_page_action_get_property),
5483 (ev_page_action_set_current_page),
5484 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5485 * shell/ev-page-action.h:
5487 Implement a page switcher in the toolbar
5489 * shell/ev-view.c: (ev_view_scroll_view):
5490 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5491 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5492 (register_custom_actions), (ev_window_init):
5494 Change page on PageUp/Down.
5496 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5498 * pdf/xpdf/pdf-document.cc
5499 (pdf_document_thumbnails_get_thumbnail): initial stab at
5500 implementing thumbnail support for pdfs. It only does documents
5501 with precached pdfs now.
5503 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5505 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5506 thumbnail code into a time-based idle as well. Also, turn off the
5507 shadow temporarily as it's really slow.
5509 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5511 * backend/ev-document.c: (ev_document_class_init):
5512 * pdf/xpdf/pdf-document.cc:
5513 * shell/ev-window.c: (ev_window_open):
5515 Fix document title bugs and fallback to
5516 filename when not available.
5518 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5520 * backend/ev-document.c: (ev_document_get_type),
5521 (ev_document_class_init), (ev_document_load),
5522 (ev_document_get_title):
5523 * backend/ev-document.h:
5524 * pdf/xpdf/pdf-document.cc:
5525 * ps/ps-document.c: (ps_document_set_property),
5526 (ps_document_get_property), (ps_document_class_init),
5530 * shell/ev-window.c: (update_window_title), (ev_window_open),
5533 Initial support for document title. Not working yet.
5535 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5537 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5539 Grab focus on the view when clicking it
5541 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5543 * shell/ev-marshal.list:
5544 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5545 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5547 Add key bindings to the view. Now if the focus would work
5550 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5553 * backend/Makefile.am:
5556 * dvi/dvilib/Makefile.am:
5557 * pdf/xpdf/Makefile.am:
5563 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5565 * shell/ev-view.c: (ev_view_realize):
5567 Fix mouse wheel scrolling
5569 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5575 * ps/ps-document.c: (catchPipe), (ps_document_init),
5576 (ps_document_class_init), (ps_document_cleanup),
5577 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5578 (set_up_page), (close_pipe), (is_interpreter_ready),
5579 (interpreter_failed), (output), (input), (start_interpreter),
5580 (stop_interpreter), (file_length), (file_readable),
5581 (check_filecompressed), (check_pdf), (compute_xdpi),
5582 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5583 (ps_document_get_type), (ps_document_emit_error_msg),
5584 (document_load), (ps_document_next_page),
5585 (ps_document_get_current_page), (ps_document_get_page_count),
5586 (ps_document_goto_page), (ps_document_set_page_size),
5587 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5588 (ps_document_load), (ps_document_get_n_pages),
5589 (ps_document_set_page), (ps_document_get_page),
5590 (ps_document_widget_event), (ps_document_set_target),
5591 (ps_document_set_scale), (ps_document_set_page_offset),
5592 (ps_document_get_page_size), (ps_document_render),
5593 (ps_document_document_iface_init):
5596 * shell/ev-window.c: (ev_window_open):
5598 Rename GtkGS to PSDocument
5600 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5602 * ps/gtkgs.c: (gtk_gs_class_init):
5605 Some more leftover...
5607 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5609 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5610 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5611 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5614 Remove unused code and make a lot of stuff private
5616 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5618 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5619 (gtk_gs_defaults_changed):
5625 Cleanup headers dependencies
5627 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5632 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5634 * ps/gtkgs.c: (file_length), (file_readable),
5635 (check_filecompressed), (check_pdf), (gtk_gs_load),
5636 (gtk_gs_get_postscript):
5640 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5645 * ps/gtkgs.c: (gtk_gs_set_zoom):
5649 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5651 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5653 Ensure the page is rerendered when changing zoom
5655 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5657 * backend/ev-document.c: (ev_document_base_init),
5658 (ev_document_changed):
5659 * backend/ev-document.h:
5661 Add a changed event that is emitted when the page content
5662 changes. This is necessary to deal with the fact that
5663 in ps backend rendering happen asycrounously.
5664 This makes the ps backend mostly work.
5666 * pdf/xpdf/pdf-document.cc:
5670 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5671 (ps_document_set_target):
5675 * shell/ev-view.c: (document_changed_callback),
5676 (ev_view_set_document), (ev_view_set_page):
5678 Redraw on the changed signal
5680 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5682 * configure.ac: Added pt_BR to ALL_LINGUAS.
5684 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5686 * backend/ev-document-bookmarks.c:
5687 (ev_document_bookmarks_get_child): *
5688 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5689 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5690 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5691 (ev_sidebar_bookmarks_destroy),
5692 (ev_sidebar_bookmarks_class_init),
5693 (ev_sidebar_bookmarks_construct), (stack_data_free),
5694 (do_one_iteration), (populate_bookmarks_idle),
5695 (ev_sidebar_bookmarks_clear_document),
5696 (ev_sidebar_bookmarks_set_document): *
5697 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5698 (ev_sidebar_add_page),
5699 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5700 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5701 it displays both the topics and the page numbers.
5703 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5705 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5707 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5710 2004-12-23 Adam Weinberger <adamw@gnome.org>
5712 * configure.ac: Added en_CA to ALL_LINGUAS.
5714 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5716 * ChangeLog: replace bottom of this ChangeLog (merged history of
5717 ggv and gpdf; where all paths were wrong and most of the files are
5718 not even in this tree) with ChangeLog (from arch) of the shell
5721 2004-12-23 Havoc Pennington <hp@redhat.com>
5723 * shell/ev-window.c: hook up potentially-questionable "find
5724 results status text" feature - something involving the sidebar or
5725 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5726 might be better in the end.
5728 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5729 with corresponding signal when it should be updated
5731 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5733 2004-12-22 Havoc Pennington <hp@redhat.com>
5735 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5736 find stuff on other pages, sort of (only returns one result on
5737 invisible pages, to show they have results; updates full results
5738 for a page when you view it). Currently repaints the current page
5739 every time a new result is found on any page, which isn't so nice.
5741 2004-12-22 Havoc Pennington <hp@redhat.com>
5743 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5744 the document doesn't support find (better ideas?)
5745 (find_bar_search_changed_cb): handle missing document or document
5746 that doesn't support find
5748 * pdf/xpdf/pdf-document.cc: port to implement the new
5751 * backend/ev-document-find.c: create a new interface for searching
5753 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5755 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5757 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5760 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5761 EvPrintJob constructor arguments.
5763 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5764 for documents that can export PostScript (page by page).
5766 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5768 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5769 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5770 (pdf_document_ps_exporter_iface_init:
5771 Implement EvPSExporter.
5773 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5775 2004-12-22 Anders Carlsson <andersca@gnome.org>
5777 * backend/Makefile.am:
5778 * backend/ev-document-thumbnails.c:
5779 (ev_document_thumbnails_get_type),
5780 (ev_document_thumbnails_get_thumbnail):
5781 * backend/ev-document-thumbnails.h:
5782 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5783 (pixbuf_document_thumbnails_get_thumbnail),
5784 (pixbuf_document_document_thumbnails_iface_init):
5785 * shell/Makefile.am:
5786 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5787 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5788 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5789 * shell/ev-sidebar-thumbnails.h:
5790 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5791 (ev_sidebar_set_document):
5792 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5793 (create_shadow), (ev_pixbuf_add_shadow):
5795 Add thumbnail support.
5797 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5799 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5800 (using_postscript_printer): Set up a print dialog for "PostScript
5803 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5806 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5808 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5810 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5811 (ps_document_set_target), (ps_document_get_page_size),
5812 (ps_document_render):
5817 2004-12-22 Christian Rose <menthos@menthos.com>
5819 * configure.ac: Added "sv" to ALL_LINGUAS.
5821 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5823 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5824 document supports bookmarks.
5826 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5828 * ps/ggvutils.c: (ggv_file_readable):
5830 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5831 (gtk_gs_get_postscript):
5835 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5837 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5838 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5839 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5840 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5841 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5842 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5843 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5844 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5845 (gtk_gs_set_antialiasing), (ps_document_load),
5846 (ps_document_render):
5849 Another check point for the ps backend. Now I can get it to show
5852 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5854 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5855 document setting code.
5857 2004-12-22 Anders Carlsson <andersca@gnome.org>
5859 * shell/eggfindbar.c: (entry_activate_callback):
5860 Animate the next button when activate is pressed.
5862 2004-12-22 Anders Carlsson <andersca@gnome.org>
5864 * shell/ev-window.c: (ev_window_cmd_edit_find),
5865 (update_fullscreen_popup), (ev_window_fullscreen),
5866 (ev_window_unfullscreen), (ev_window_state_event_cb),
5867 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5868 Fix bugs in fullscreen code.
5870 2004-12-22 Anders Carlsson <andersca@gnome.org>
5874 * pixbuf/Makefile.am:
5875 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5876 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5877 (pixbuf_document_set_page), (pixbuf_document_get_page),
5878 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5879 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5880 (pixbuf_document_render), (pixbuf_document_begin_find),
5881 (pixbuf_document_end_find), (pixbuf_document_finalize),
5882 (pixbuf_document_class_init),
5883 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5884 * pixbuf/pixbuf-document.h:
5885 * shell/Makefile.am:
5886 * shell/ev-application.c: (ev_application_open):
5887 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5891 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5894 * dvi/dvilib/Makefile.am:
5896 * configure.ac: Auto*ify dvi and dvi/dvilib
5898 * dvi/Makefile: Remove from CVS
5900 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5903 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5905 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5907 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5910 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5911 (gtk_gs_value_adjustment_changed), (compute_size),
5912 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5913 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5914 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5915 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5916 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5917 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5918 (ps_document_load), (ps_document_get_n_pages),
5919 (ps_document_set_page), (ps_document_get_page),
5920 (ps_document_set_target), (ps_document_set_scale),
5921 (ps_document_set_page_offset), (ps_document_get_page_size),
5922 (ps_document_render), (ps_document_begin_find),
5923 (ps_document_end_find), (ps_document_document_iface_init):
5925 * shell/Makefile.am:
5926 * shell/ev-window.c: (ev_window_open):
5928 Some work to integrate gtkgs with EvDocument
5930 2004-12-22 Anders Carlsson <andersca@gnome.org>
5932 * shell/ev-window.c: (update_fullscreen_popup),
5933 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5934 (exit_fullscreen_button_clicked_cb),
5935 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5936 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5937 (ev_window_state_event_cb), (ev_window_init):
5938 Add fullscreen support from Epiphany.
5940 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5942 * data/ev-stock-zoom-fit-width.png: fit-width
5943 stock icon from gpdf.
5945 * shell/ev-stock-icons.[ch]: copied from gpdf.
5947 * shell/main.c: (main): init stock icons.
5949 * shell/ev-window.c: use the fit-width icon.
5951 * data/evince-ui.xml: add zooming toolbar items.
5953 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5956 (ev_view_best_fit), (ev_view_fit_width): because
5957 get_page_size() returns the scaled page size, we
5958 need to calculate the scale factor relative to
5959 the previous scale factor. Should really just
5960 add get_real_page_size().
5962 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5964 * shell/ev-view.[ch]:
5965 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5966 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5969 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5970 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5971 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5974 * pdf/xpdf/pdf-document.cc:
5975 (pdf_document_begin_find),
5976 (pdf_document_end_find): make static.
5978 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5980 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5982 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5983 names to fontconfig patterns.
5984 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5986 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5989 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6005 Import ggv backend. Not hooked up yet.
6007 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6009 * shell/main.c: (load_files), (main): load files
6010 from the command line.
6012 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6014 * configure.ac: don't require bonobo.
6016 * cut-n-paste/recent-files/*: kill bonobo recent
6019 * shell/ev-window.c:
6020 (ev_window_is_empty): upd.
6021 (unable_to_load), (ev_window_open): load backend
6022 based on the mime type.
6024 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6026 * backend/.cvsignore: ignore generated marshalers source.
6028 * shell/main.c (main): this is not epiphany.
6030 2004-12-22 Havoc Pennington <hp@redhat.com>
6032 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6033 (expose_bin_window): draw find highlights
6035 * shell/ev-window.c (find_bar_search_changed_cb): implement
6037 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6038 (pdf_document_end_find): implement this interface
6040 * backend/ev-document.c (ev_document_found): add this to emit
6043 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6045 * data/evince-ui.xml: Add a few more toolbar items.
6047 * shell/ev-window.c: Hook up page navigation toolbar
6050 * shell/ev-view.[ch]: add ev_view_set/get_page and
6051 a page-changed signal.
6053 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6054 Add ev_document_get_page().
6056 * shell/ev-window.c: Sensitize/desensitize navigation
6059 2004-12-21 Havoc Pennington <hp@redhat.com>
6061 * backend/ev-backend-marshal.c,
6062 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6063 marshaler-generator thingy. I'm sure there's a better way to do
6064 this in the modern world.
6066 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6067 end_find methods and "found" signal.
6069 * configure.ac: find glib-genmarshal
6071 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6073 * shell/ev-sidebar.c: Construct an actual sidebar.
6074 * shell/ev-sidebar-bookmarks.[ch]:
6075 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6077 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6079 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6082 * shell/ev-view.c: Track the size from the document.
6084 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6086 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6087 constructor assumes ownership of the string passed in.
6089 * shell/ev-window.c (ev_window_open): Destroy the error
6090 dialog once we've displayed it.
6092 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6094 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6095 a bit, it works! (sort of)
6097 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6098 Move to .cc since we need to use C++ in the implementation.
6100 * shell/dummy.cc: Add a CC file to force evince
6101 to be linked as a C++ program.
6103 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6105 * shell/ev-view.[ch]: Start of content-area widget.
6107 * shell/ev-window.c: Create a EvView, update it
6108 as we change documents.
6110 * shell/Makefile.am shell/ev-marshal.list: Add
6111 generated marshalers.
6113 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6115 * Makefile.am (SUBDIRS): move shell.
6117 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6119 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6120 .a to libtool convenience libraries.
6122 * shell/ev-window.c (ev_window_open): Hard code loading
6125 * backend/ev-document.h: Add a boolean return to load(),
6126 fix GError * to GError **.
6128 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6129 object for a PDF backend EvDocument.
6131 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6133 * dvi/*: New directory with the beginning of a .dvi backend.
6135 2004-12-21 Havoc Pennington <hp@redhat.com>
6137 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6138 previous/next instead of back/forward
6140 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6142 * backend/ev-document.[ch]: Fix a couple of problems so
6145 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6147 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6148 to backend/ directory, rename EvViewer to EvDocument.
6150 2004-12-21 Havoc Pennington <hp@redhat.com>
6152 * shell/ev-window.c: hook up the find bar widget; now we just need
6153 a document to find things in
6155 * shell/eggfindbar.c: a find bar widget
6157 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6159 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6161 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6163 * pdf/**: Import of xpdf code from gpdf.
6165 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6167 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6168 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6169 Fix FreeType includes.
6171 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6172 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6173 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6174 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6175 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6176 Include xpdfconfig.h
6178 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6180 * shell/ev-window.c (ev_window_dispose): dispose can be called
6183 2004-12-21 Havoc Pennington <hp@redhat.com>
6185 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6188 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6189 items; really they should be synced with the strings, etc. from
6190 current gpdf, but just getting the boring typing out of the way
6192 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6195 * shell/ev-application.c: (window_destroy_cb):
6196 * shell/ev-window.c:
6197 * shell/main.c: (main):
6199 Actually show the window...
6201 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6204 * shell/Makefile.am:
6205 * shell/ev-application.c: (ev_application_class_init):
6206 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6210 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6212 Import to gnome cvs.
6214 * Remove copies of gpdf and ggv trees.
6215 * Rip out all the recursive configure code.
6216 * Remove bonobo machinery.
6217 * viewer/*: GInterfaces that backends should/can implement.
6219 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6221 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6224 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6226 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6227 (ev_application_finalize, ev_application_class_init)
6228 (ev_application_init): use GType instance private data for priv.
6230 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6231 (ev_window_finalize, ev_window_class_init)
6232 (ev_window_init): ditto.
6234 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6236 * shell/ev-application.c (ev_application_new_window): make public
6237 (ev_application_show_initial_window): kill.
6239 * shell/ev-application.h: update prototypes.
6241 * shell/main.cc (main): inline ev_application_show_initial_window.
6243 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6245 * shell/ev-application.c (ev_application_new_window): impl.
6246 (ev_application_show_initial_window): use it.
6247 (is_window_empty, ev_application_get_empty_window): returns an
6248 existing empty window or a new one.
6249 (ev_application_open): from ev_window_cmd_file_open.
6251 * shell/ev-application.h: update prototypes
6253 * shell/ev-window.c (ev_window_is_empty): impl.
6254 (ev_window_open): make public.
6255 (ev_window_cmd_file_open): use ev_application_open
6257 * shell/ev-window.h: update prototypes, remove unused.
6259 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6261 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6262 move destroy handler out of here...
6264 * shell/ev-application.c, shell/ev-application.h: ...into this new
6265 class. Also handles initial window creation.
6267 * shell/main.cc (main): use EvApplication to create initial
6270 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6272 * Makefile.am (SUBDIRS): add cut-n-paste
6274 * cut-n-paste/Makefile.am: add
6276 * configure.ac: generate Makefiles in cut-n-paste
6278 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6280 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6281 (ev_window_class_init): install ev_window_dispose.
6283 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6285 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6286 char (gchar looks stupid).
6288 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6290 * po/de.po: updated German translation.
6292 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6294 * configure.ac: add more pkg-config library checks for gnome-vfs,
6297 * gpdf/configure.in: temporarily disable libpaper
6298 checks. Otherwise I'd have to add the checks for the shell, too.
6300 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6302 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6303 and * file filters to the file choose.
6305 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6307 * po/de.po: Updated German translation.
6309 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6311 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6313 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6315 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6317 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6318 (ev_window_init): implement those menuitems.
6320 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6322 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6324 * shell/ev-window.c (ev_window_init): use the toolbar.
6326 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6328 * shell/ev-window.c (ev_window_init): use menu translations
6330 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6332 * configure.ac: add "de" to ALL_LINGUAS.
6334 * po/de.po: add German translation.
6336 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6338 * Makefile.am (SUBDIRS): add po
6340 * configure.ac: check intltool, glib-gettext etc, generate
6343 * po, po/POTFILES.in, po/POTFILES.skip: new.
6345 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6347 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6348 already use (#ifdef ENABLE_NLS)
6350 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6351 pointer indirection thinko.
6353 * shell/main.c: include gi18n.h for bindtextdomain etc.
6355 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6357 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6358 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6359 tooltips for menu items in the statusbar.
6361 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6363 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6364 pkgdatadir drop UIDIR
6366 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6368 * data/evince-ui.xml: Add File->Open menu item
6370 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6371 chooser), hook it up in the ui manager.
6373 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6375 * shell/ev-window.c: fix Help->About tooltip.
6377 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6379 * configure.ac: set CFLAGS for libevprivate.
6381 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6382 definitions, factory etc.
6384 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6386 * shell/Makefile.am: link against libevprivate.a.
6388 * shell/ev-window.c (entries): add stock icon to Help->About.
6390 * shell/main.c (main): init stock icon code.
6392 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6394 * lib/recent-files: egg recent files code
6396 * lib/Makefile.am: add.
6398 * Makefile.am: add lib subdir.
6400 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6401 set CFLAGS for recent-files.
6403 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6405 * configure.ac: disable -ansi and -pedantic gcc flags. They
6406 disable POSIX stuff in stdio.h, but egg-recent uses them.
6408 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6410 * configure.ac: add --disable-deprecated flag (defaults to on in
6413 * shell/Makefile.am (INCLUDES): use it.
6415 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6417 * shell/main.c: add missing #include.
6419 * shell/ev-window.c: fix for pedantic gcc.
6420 (ev_window_cmd_help_about): split license into paragraphs for
6421 translators and pedantic compilers.
6423 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6425 * configure.ac: add more warning flags if compiling with gcc from
6426 cvs (or explicitly requested with --enable-more-warnings).
6428 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6430 * data/evince-ui.xml: add File and File->Close menu.
6432 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6433 (ev_window_destroy): quit after destroy.
6434 (ev_window_class_init): override GtkObject::destroy.
6435 (entries): install close_window callback.
6437 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6439 * Makefile.am (SUBDIRS): add data subdir.
6441 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6442 gtk+ 2.5.0 for GtkAboutDialog.
6444 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6447 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6449 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6451 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6453 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6455 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6457 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6459 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6461 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6463 * shell/*: Added shell directory boilerplate, build it.
6465 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6467 * configure.ac, Makefile.am: Added top-level configure.ac and