1 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * help/C/figures/evince_start_window.png:
5 Update documentation image from Luca Ferretti <elle.uca@libero.it>
7 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
9 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
10 * shell/ev-pixbuf-cache.h:
11 * shell/ev-sidebar-thumbnails.c:
12 (ev_sidebar_thumbnails_get_property), (add_range),
13 (adjustment_changed_cb):
14 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
15 pixbuf cache. Make thumbnailing work again. Also, fix bug where
16 we were thumbnailing the entire docment on startup, slowing us
19 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
21 * shell/ev-page-cache.c: (ev_page_cache_new):
22 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
25 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
27 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
28 (ev_view_rotate_left):
30 Account rotation in doc_rect_to_view_rect.
31 Ensure rotation doesnt go out of bounds.
33 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
35 * shell/ev-page-cache.c: (ev_page_cache_get_size):
37 Correct and cleanup w/h swapping
39 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
41 * backend/ev-document-thumbnails.c:
42 (ev_document_thumbnails_get_thumbnail):
43 * backend/ev-document-thumbnails.h:
44 * backend/ev-document.c:
45 * backend/ev-document.h:
46 * backend/ev-render-context.c: (ev_render_context_new),
47 (ev_render_context_set_rotation):
48 * backend/ev-render-context.h:
50 * ps/ps-document.c: (ps_document_document_iface_init):
51 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
53 * shell/ev-page-cache.c: (build_height_to_page),
54 (ev_page_cache_new), (ev_page_cache_get_size),
55 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
56 (ev_page_cache_get_height_to_page):
57 * shell/ev-page-cache.h:
58 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
59 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
60 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
61 (ev_pixbuf_cache_get_selection_pixbuf):
62 * shell/ev-pixbuf-cache.h:
63 * shell/ev-print-job.c: (idle_print_handler):
64 * shell/ev-sidebar-thumbnails.c: (add_range):
65 * shell/ev-view.c: (view_update_range_and_current_page),
66 (get_page_y_offset), (get_page_extents),
67 (ev_view_size_request_continuous_dual_page),
68 (ev_view_size_request_continuous),
69 (ev_view_size_request_dual_page),
70 (ev_view_size_request_single_page), (draw_one_page),
71 (ev_view_set_rotation), (ev_view_rotate_right),
72 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
73 (ev_view_zoom_for_size_continuous_and_dual_page),
74 (ev_view_zoom_for_size_continuous),
75 (ev_view_zoom_for_size_dual_page),
76 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
78 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
79 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
80 (tiff_document_document_iface_init),
81 (tiff_document_thumbnails_get_thumbnail):
83 Use rotation rather than orientation. It's easier and enough
86 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
88 * shell/ev-page-cache.c: (build_height_to_page),
89 (ev_page_cache_new), (ev_page_cache_get_size),
90 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
91 (ev_page_cache_get_height_to_page):
92 * shell/ev-page-cache.h:
93 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
94 (ev_view_size_request_continuous_dual_page),
95 (ev_view_size_request_continuous),
96 (ev_view_zoom_for_size_continuous_and_dual_page),
97 (ev_view_zoom_for_size_continuous):
99 Make the page cache aware of page orientation.
101 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
103 * backend/ev-document-thumbnails.c:
104 (ev_document_thumbnails_get_thumbnail):
105 * backend/ev-document-thumbnails.h:
106 * backend/ev-document.c:
107 * backend/ev-document.h:
108 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
109 * backend/ev-ps-exporter.h:
111 * ps/ps-document.c: (ps_document_document_iface_init),
112 (ps_document_ps_export_do_page):
113 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
115 * shell/ev-page-cache.c: (ev_page_cache_get_size),
117 * shell/ev-page-cache.h:
118 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
119 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
120 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
121 * shell/ev-pixbuf-cache.h:
122 * shell/ev-print-job.c: (idle_print_handler):
123 * shell/ev-sidebar-thumbnails.c: (add_range):
124 * shell/ev-view.c: (view_update_range_and_current_page),
125 (get_page_extents), (ev_view_size_request_dual_page),
126 (ev_view_size_request_single_page), (draw_one_page),
127 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
128 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
129 (ev_view_zoom_for_size_dual_page),
130 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
131 (ev_view_select_all):
132 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
133 * tiff/tiff-document.c: (tiff_document_get_page_size),
134 (tiff_document_get_orientation), (rotate_pixbuf),
135 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
136 (tiff_document_thumbnails_get_thumbnail),
137 (tiff_document_ps_export_do_page), (tiff_document_init):
139 Really make use of the orientation bit of the render context.
140 Use the render context in a few more places in the backend API.
141 This regress orientation, but now it's done right. Will try to
144 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
146 * shell/ev-view.c: (ensure_rectangle_is_visible):
148 Patch by Nickolay V. Shmyrev to fix find flickering
150 2005-07-27 Martin Kretzschmar <martink@gnome.org>
152 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
153 duplex parameters to ::begin.
155 * tiff/tiff-document.c (tiff_document_ps_export_begin):
156 * shell/ev-print-job.c (idle_print_handler):
157 * ps/ps-document.c (ps_document_ps_export_begin):
158 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
159 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
160 implementations. Poppler backend needs poppler cvs. Rest has
163 2005-07-25 Martin Kretzschmar <martink@gnome.org>
165 * shell/ev-window.c (using_pdf_printer): new function.
166 (ev_window_print_range): print a less techy message if someone
167 tries to print to PDF.
169 2005-07-25 Martin Kretzschmar <martink@gnome.org>
171 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
172 from "unknown font" string. Bug #311431
174 2005-07-24 Martin Kretzschmar <martink@gnome.org>
176 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
178 2005-07-24 Martin Kretzschmar <martink@gnome.org>
182 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
183 name for PopplerFontTypes
184 (pdf_document_fonts_fill_model): add font type to the detail column
186 * backend/ev-document-fonts.h: added
187 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
189 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
190 font name and font details, add a little markup.
191 (ev_properties_fonts_init): use the new cell data func, specify ypad
192 property for the cell renderer.
193 (ev_properties_fonts_set_document): add the details column.
195 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
197 * configure.ac: Added "pl" to ALL_LINGUAS.
199 2005-07-24 Danilo Ĺ egan <danilo@gnome.org>
201 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
203 2005-07-23 Tommi Vainikainen <thv@iki.fi>
205 * help/ChangeLog: Started this for translations of manual.
206 * configure.ac, autogen.sh, .cvsignore: Migrated to
207 gnome-doc-utils. Patch in bug #311222.
209 2005-07-22 Martin Kretzschmar <martink@gnome.org>
211 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
212 #ifdef this away to fix an unused-function warning.
214 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
216 * configure.ac: Added 'gl' to ALL_LINGUAS.
218 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
220 * configure.ac: Added ne in ALL_LINGUAS
222 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
224 * shell/ev-view.c: (ev_view_leave_notify_event):
226 Clear status message when pointer leaves view. Fix for bug
229 2005-07-20 Ankit Patel <ankit644@yahoo.com>
231 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
233 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
235 * shell/ev-view.c: (ev_view_leave_notify_event),
236 (ev_view_class_init):
238 Set cursor to normal then leaving view.
240 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
244 Fix required djvulibre version.
246 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
248 *configure.ac: Hindi (hi) language added
250 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
252 *configure.ac: Punjabi (pa) Language added
254 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
256 * data/evince-ui.xml, shell/ev-window.c:
258 Add keypad accelerators for zooming. Fix for bug 308128.
260 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
263 * backend/Makefile.am:
264 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
266 * shell/ev-document-types.c: (ev_document_types_add_filters):
268 Allow to enable/disable the pixbuf backend.
269 Default to off for now. If we want it enabled we should
270 really put mime types in the desktop, implement properties etc.
272 * properties/evince-properties.c:
274 Initialize error to NULL.
275 Check error is not NULL before freeing.
277 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
281 Use F5 as presentation accell
283 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
285 * shell/ev-window.c: (update_chrome_visibility),
286 (ev_window_create_fullscreen_popup), (ev_window_init):
288 Do not leak the fullscreen toolbar
290 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
292 * shell/ev-window.c: (view_actions_focus_in_cb),
293 (view_actions_focus_out_cb):
295 These has a return value! Fix totally random focus
296 issues we was seeing.
298 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
300 * shell/main.c: (load_files_remote):
302 Allow open more than one file
304 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
306 * shell/main.c: (load_files_remote):
308 Fix for dbus 0.33. bug #309975
310 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
312 * properties/ev-properties-main.c: (ev_properties_get_pages):
314 Actually return NULL for types we dont support
316 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
322 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
324 * backend/ev-document-factory.c:
325 (ev_document_factory_get_document):
327 Do not try to create the object if type
330 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
332 * ps/ps-document.c: (ps_document_dispose),
333 (ps_async_renderer_render_pixbuf):
336 Do not leak the target window
338 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
340 * shell/ev-application.c: (ev_application_init):
342 Let tbe check file existence for us.
343 Add a comment about eggrecent mime filter.
345 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
347 * data/evince-ui.xml:
348 * shell/ev-application.c: (ev_application_shutdown),
349 (ev_application_init), (ev_application_get_toolbars_model),
350 (ev_application_get_recent_model),
351 (ev_application_save_toolbars_model):
352 * shell/ev-application.h:
353 * shell/ev-window.c: (ev_window_add_recent),
354 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
355 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
358 Use common toolbar and recent models for all windows.
359 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
361 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
363 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
364 successfully check for gtk_icon_view_get_visible_range.
366 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
371 Fix djvu and dvi backend build.
373 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
375 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
376 (new_separator_pixbuf):
380 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
382 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
384 HIGification of toolbar editor dialogue.
386 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
391 Ever build metadata manager since it's just
392 disabled at runtime now.
394 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
396 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
397 (ev_metadata_manager_get), (ev_metadata_manager_set):
398 * shell/ev-metadata-manager.h:
400 Add an _init functions that enabled metadata management
403 * shell/ev-window.c: (page_changed_cb),
404 (setup_document_from_metadata), (ev_window_setup_document),
405 (setup_view_from_metadata), (ev_window_open_uri),
406 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
407 (ev_window_run_presentation), (ev_window_stop_presentation),
408 (save_sizing_mode), (ev_window_zoom_changed_cb),
409 (ev_window_continuous_changed_cb),
410 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
411 (window_configure_event_cb):
413 Remove all ugly metadata define since we deal with it
416 * shell/main.c: (load_files_remote), (main):
418 Add support for dbus cvs head. Hopefully didnt break one
419 of the other versions now!
421 If we dont get a response from the dbus server just
422 give up with it and not enable metadata.
424 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
427 * backend/Makefile.am:
429 * cut-n-paste/recent-files/Makefile.am:
430 * cut-n-paste/toolbar-editor/Makefile.am:
431 * cut-n-paste/zoom-control/Makefile.am:
434 * pixbuf/Makefile.am:
435 * properties/Makefile.am:
438 * thumbnailer/Makefile.am:
441 Make frontends depend on just libev.
442 Rework and group CFLAGS/LIBS definitions.
445 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
449 do not unnecessarily save zoom
452 * lib/ev-file-helpers.c: (ev_dot_dir):
458 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
462 Remove unnecessary dependencies
464 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
466 * properties/Makefile.am:
467 * thumbnailer/Makefile.am:
470 Some more cleanups. Was really necessary
471 but I probably introduced bugs, feel free
474 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
476 * backend/Makefile.am:
478 * cut-n-paste/recent-files/Makefile.am:
479 * cut-n-paste/toolbar-editor/Makefile.am:
480 * cut-n-paste/zoom-control/Makefile.am:
483 * pixbuf/Makefile.am:
484 * properties/Makefile.am:
487 * thumbnailer/Makefile.am:
490 Use gnome-common macros when possible.
491 Cleanup dependencies.
492 Actually disable deprecated where possible.
494 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
497 * backend/Makefile.am:
498 * properties/Makefile.am:
500 * thumbnailer/Makefile.am:
502 This should solve the circular dep without
505 * shell/ev-window.c: (setup_view_from_metadata):
507 Never restore window size/position when the
508 window is already visible.
510 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
512 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
514 Return a boolean from timeout func. Fix ported from gedit.
516 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
518 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
520 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
522 * shell/ev-document-types.c: set "All Documents" as default filter in
525 2005-07-06 Martin Kretzschmar <martink@gnome.org>
527 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
528 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
529 (ev_metadata_manager_set_boolean): fix value/val thinko.
531 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
533 * shell/ev-window.c: (setup_view_from_metadata),
534 (window_state_event_cb), (window_configure_event_cb),
537 Remember window position and maximized state
539 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
543 Fix DBUS configure checks.
545 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
546 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
547 (ev_metadata_manager_set_boolean):
551 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
552 (ev_window_stop_fullscreen), (ev_window_run_presentation),
553 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
554 (ev_window_continuous_changed_cb),
555 (ev_window_dual_mode_changed_cb), (ev_window_new):
557 Fix the build without DBUS.
559 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
561 * shell/ev-metadata-manager.c: (parse_value), (save_values),
562 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
563 (ev_metadata_manager_set_string),
564 (ev_metadata_manager_set_boolean):
565 * shell/ev-metadata-manager.h:
567 Add support for some more types
569 * shell/ev-view.c: (scroll_to_current_page),
570 (ev_view_get_continuous), (ev_view_set_continuous),
571 (ev_view_get_dual_page):
573 * shell/ev-window.c: (page_changed_cb),
574 (setup_document_from_metadata), (ev_window_setup_document),
575 (setup_view_from_metadata), (ev_window_open_uri),
576 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
577 (ev_window_run_presentation), (ev_window_stop_presentation),
578 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
579 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
580 (ev_window_update_dual_page_action),
581 (ev_window_continuous_changed_cb),
582 (ev_window_dual_mode_changed_cb), (ev_window_init):
584 Remember a bunch of view/document properties. Prolly some
585 are still missing but it's getting interesting.
587 2005-07-05 Martin Kretzschmar <martink@gnome.org>
589 * configure.ac: check if dbus-binding-tool is installed. Not the
590 case on current Ubuntu breezy, it seems.
592 2005-07-05 Luca Ferretti <elle.uca@libero.it>
594 * data/evince.desktop.in.in:
596 Allow open uri lists and add TryExec field.
598 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
602 Enable dbus when available, do not require a configure
605 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
609 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
612 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
613 Marco Pesenti Gritti <mpg@redhat.com>
615 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
617 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
618 functions to the format required by dbus
620 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
621 errors. Use the RPC parameters in the expected way
623 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
626 * properties/Makefile.am:
627 * properties/ev-properties-main.c: (ev_properties_get_pages):
629 Support all mime types
632 * thumbnailer/Makefile.am:
633 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
634 (evince_thumbnail_pngenc_get):
636 Use the document factory
638 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
640 * backend/Makefile.am:
641 * backend/ev-document-factory.c:
642 (mime_type_supported_by_gdk_pixbuf),
643 (ev_document_type_get_from_mime),
644 (ev_document_factory_get_document),
645 (ev_document_factory_get_backend),
646 (ev_document_factory_get_mime_types),
647 (ev_document_factory_get_all_mime_types):
648 * backend/ev-document-factory.h:
650 * shell/ev-document-types.c: (get_document_from_uri),
651 (ev_document_types_get_document),
652 (file_filter_add_mime_list_and_free),
653 (ev_document_types_add_filters):
654 * shell/ev-document-types.h:
655 * shell/ev-job-xfer.c: (ev_job_xfer_run):
656 * shell/ev-properties-dialog.c:
657 (ev_properties_dialog_set_document):
658 * shell/ev-window.c: (ev_window_cmd_file_open),
659 (ev_window_cmd_save_as):
660 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
662 Rework document types managing to avoid code duplication
663 and actually abstract from backend implementations.
664 Also provide a minimal factory api that can be used by
665 thumbnailer/properties.
667 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
669 * properties/ev-properties-view.c: (ev_properties_view_set_info):
671 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
674 2005-07-04 Matthew S. Wilson <msw@rpath.com>
676 * shell/ev-properties-dialog.c
677 (ev_properties_dialog_set_document): only call
678 ev_properties_fonts_set_document() if the document implements the
681 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
684 * properties/Makefile.am:
685 * properties/ev-properties-view.c:
686 (ev_properties_view_register_type):
687 * properties/ev-properties-view.h:
688 * properties/ev-properties-main.h:
690 Implement nautilus plugin for properties.
691 Works only for pdf atm, I need to rework the
692 document types stuff to get this to work
695 2005-07-04 Martin Kretzschmar <martink@gnome.org>
697 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
698 (ev_properties_fonts_set_document): use
699 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
701 2005-07-04 Matthew S. Wilson <msw@rpath.com>
703 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
705 (PlaceImage, tiff2ps_process_page): use
706 g_ascii_dtostr to convert floats to strings in a locale-safe way.
709 2005-07-04 Martin Kretzschmar <martink@gnome.org>
711 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
712 (main): to call gnome_authentication_manager_init. Should fix
715 * configure.ac: that requires libgnomeui 2.6.0.
717 2005-07-04 Matthew S. Wilson <msw@rpath.com>
719 * tiff/tiff-document.c (tiff_document_ps_export_begin)
720 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
721 use the new tiff2ps interfaces
723 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
724 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
726 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
727 structure instead of global variables. Remove use of static
728 variables in functions.
730 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
732 * shell/ev-page-action.c: unref the completion after setting it to the
735 2005-07-04 Matthew S. Wilson <msw@rpath.com>
737 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
740 2005-07-04 Matthew S. Wilson <msw@rpath.com>
742 * shell/ev-window.c (update_action_sensitivity): disable
743 File->Print if the document does not implement the ps exporter
746 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
750 * data/evince-properties.glade:
751 * properties/.cvsignore:
752 * properties/Makefile.am:
753 * properties/ev-properties-view.c: (ev_properties_view_dispose),
754 (ev_properties_view_class_init), (ev_properties_view_format_date),
755 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
756 (ev_properties_view_init), (ev_properties_view_new):
757 * properties/ev-properties-view.h:
759 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
760 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
761 (ev_properties_dialog_new):
762 * shell/ev-properties-dialog.h:
763 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
764 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
765 (update_progress_label), (job_fonts_finished_cb),
766 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
767 * shell/ev-properties-fonts.h:
768 * shell/ev-properties.c:
769 * shell/ev-properties.h:
770 * shell/ev-window.c: (ev_window_setup_document),
771 (ev_window_cmd_file_properties):
773 Split the properties pages in two different objects, depend
774 only on the backend where possible, use widgets instead
775 of gobject for the glade part, reimplement the dialog
777 I need this to implement nautilus properties page.
779 2005-07-03 Matthew S. Wilson <msw@rpath.com>
781 * tiff/tiff-document.c (tiff_document_ps_export_begin)
782 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
783 (tiff_document_document_ps_exporter_iface_init): implement the ps
784 exporter interface for tiff documents
786 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
787 libtiff to implement TIFF postscript export
789 * tiff/tiff2ps.h: added a header file for external tiff2ps
792 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
795 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
797 * shell/ev-view.c: (scroll_to_current_page),
798 (ev_view_set_fullscreen), (ev_view_set_presentation):
800 Scroll to current page when exit from presentation
802 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
804 * shell/ev-window.c: (update_document_mode),
805 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
806 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
807 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
809 Exit from fullscreen mode when switch to presentation. Fix for
812 2005-07-02 Matthew S. Wilson <msw@rpath.com>
814 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
815 return NULL if the document does not implement the selection
818 2005-07-02 Matthew S. Wilson <msw@rpath.com>
820 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
821 reported height by using the resolution aspect ratio
822 (tiff_document_render_pixbuf): scale the pixbuf using the
823 resolution aspect ratio
825 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
829 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
830 <kiltedaco@gmail.com>
832 * djvu/djvu-document.c: (djvu_document_get_orientation),
833 (djvu_document_set_orientation), (djvu_document_get_page_size),
834 (rotate_pixbuf), (djvu_document_render_pixbuf),
835 (djvu_document_document_iface_init):
836 * dvi/dvi-document.c: (dvi_document_get_orientation),
837 (dvi_document_set_orientation), (dvi_document_get_page_size),
838 (rotate_pixbuf), (dvi_document_render_pixbuf),
839 (dvi_document_document_iface_init):
841 Dvi and djvu backends are ported to new API
843 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
845 * backend/ev-selection.c: (ev_selection_get_selection_region),
846 (ev_selection_get_selection_map):
847 * backend/ev-selection.h:
849 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
851 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
852 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
853 (ev_pixbuf_cache_get_text_mapping):
854 * shell/ev-pixbuf-cache.h:
855 * shell/ev-view.c: (location_in_text),
856 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
857 support to EvView. Now we can see where we can select! Sweet!
859 2005-06-30 Kristian Høgsberg <krh@redhat.com>
861 * shell/ev-view.c (ev_view_button_press_event): Fix
862 event->y + view->scroll_x typo.
864 2005-06-30 Kristian Høgsberg <krh@redhat.com>
866 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
867 sub-GdkPixbuf instead of passing dest_x and dest_y.
869 * shell/ev-view.c: (view_point_to_doc_point),
870 (view_rect_to_doc_rect), (ev_view_button_press_event),
871 (ev_view_motion_notify_event), (compute_new_selection_rect),
872 (gdk_rectangle_point_in), (compute_new_selection_text),
873 (compute_selections): Update selection code to keep the selection
874 around as two points and not as a normalized rectangle, and fix
875 page level selection in two-column mode.
877 2005-06-30 Alex Duggan <aldug@astrolinux.com>
879 * shell/ev-window.c: (window_configure_event_cb):
883 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
889 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
892 * shell/ev-metadata-manager.c: (item_free),
893 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
894 (parse_value), (parseItem), (load_values),
895 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
896 (save_values), (save_item), (get_oldest), (resize_items),
897 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
898 * shell/ev-metadata-manager.h:
900 Metadata manager from gedit but modified to use GValue, so that
901 we dont need to keep converting from strings.
905 ENABLE_METADATA conditional, on when dbus is on
907 * shell/ev-application.c: (ev_application_open_uri):
909 Show the window after load so that we can initialize
910 window size before it's showed.
912 * shell/ev-window.c: (ev_window_setup_from_metadata),
913 (ev_window_open_uri), (window_configure_event_cb),
916 Save and load metadata information about window size.
917 Not yet keeping states in account.
919 * shell/main.c: (main):
921 Shutdown metadata manager.
923 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
925 * shell/ev-application-service.xml:
928 * shell/ev-application.c:
929 * shell/ev-application.h:
934 Add an optional dbus interface (--enable-dbus).
935 Rework application code, mainly to be easier to
937 Do not open multiple windows with the same document,
940 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
942 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
943 pixbuf iff it exists.
945 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
948 * backend/ev-render-context.[ch]:
949 * backend/ev-selection.[ch]:
951 Massive changes. We now support text selection of pdfs, and not
952 just rectangular selection. This is pretty broken still, but I
953 want to get something into CVS.
955 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
959 Fix for Bug 309080: crash on window close.
961 * shell/ev-page-action.c: (page_changed_cb):
963 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
964 jensgr@gmx.net (Jens Granseuer).
966 2005-06-25 Marcel Telka <marcel@telka.sk>
968 * configure.in (ALL_LINGUAS): Added sk.
970 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
972 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
975 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
982 * cut-n-paste/recent-files/Makefile.am:
986 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
988 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
989 (pixbuf_document_set_orientation), (rotate_pixbuf),
990 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
991 (pixbuf_document_document_iface_init), (pixbuf_document_init):
993 Implement rotation and cleanup the code a bit.
995 * tiff/tiff-document.c: (tiff_document_get_page_size),
996 (tiff_document_get_orientation), (tiff_document_set_orientation),
997 (rotate_pixbuf), (tiff_document_render_pixbuf),
998 (tiff_document_document_iface_init), (tiff_document_init):
1000 Implement rotation. Was the quicker solution for the release
1001 but we really need to share this code in the shell.
1003 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1005 * pdf/ev-poppler.cc:
1007 Enable rotation, require poppler cvs. Fix a leak.
1009 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1011 * shell/ev-window.c: (update_action_sensitivity):
1013 Make properties unsensitive if document backend doesn't provide
1016 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1018 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1019 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1020 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1021 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1022 (bitmap_flip_rotate_counter_clockwise):
1023 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1024 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1026 * dvi/mdvi-lib/common.h:
1027 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1028 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1029 (opendvi), (mdvi_reload), (mdvi_init_context),
1030 (mdvi_destroy_context), (mdvi_dopage), (special):
1031 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1032 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1033 (file_hash_free), (register_encoding), (parse_spec),
1034 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1035 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1036 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1037 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1038 (mdvi_register_font_type), (mdvi_unregister_font_type),
1039 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1040 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1041 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1042 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1043 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1044 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1045 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1046 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1047 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1048 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1049 (mdvi_unregister_special), (mdvi_flush_specials):
1050 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1052 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1053 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1054 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1055 (free_font_metrics), (flush_font_metrics):
1056 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1058 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1059 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1060 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1061 (dstring_insert), (dstring_new), (dstring_reset):
1062 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1064 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1065 avoid conflict with libtool on FC4
1067 * shell/ev-window.c: (ev_window_cmd_help_about):
1069 Update copyright year. Fix for bug 308828.
1071 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1073 * shell/ev-view.c: (add_scroll_binding_keypad),
1074 (ev_view_binding_activated), (ev_view_class_init),
1075 (on_adjustment_value_changed):
1077 Bug 170874: Arrow keys switch pages in presentation mode
1079 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1081 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1083 Fix for Bug 308265: Sidebar dissappears coming out of
1086 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1088 * shell/ev-application.c: (ev_application_open):
1089 * shell/ev-document-types.c: (ev_document_types_add_filters),
1090 (ev_document_types_add_filters_for_type):
1091 * shell/ev-document-types.h:
1092 * shell/ev-window.c: (ev_window_cmd_save_as):
1094 Suggest basename as template when saving, provide filters
1095 for save dialog. It's bug 308402
1097 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1099 * pdf/ev-poppler.cc:
1100 * shell/ev-sidebar-links.c: (job_finished_callback):
1101 * shell/ev-view.c: (update_find_status_message):
1105 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1107 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1108 (egg_recent_view_uimanager_set_list):
1110 Fix buglet in !show_numbers case.
1112 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1114 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1115 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1117 Use pango ellipsisation.
1119 * pdf/ev-poppler.cc:
1121 Fix refcount leak, from nsh.
1123 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1125 * cut-n-paste/recent-files/Makefile.am:
1126 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1127 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1129 Removed EggRecentViewGtk
1131 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1132 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1133 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1134 (ev_window_setup_recent):
1136 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1139 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1141 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1142 (egg_recent_view_gtk_finalize):
1146 * cut-n-paste/toolbar-editor/Makefile.am:
1148 Fix location of cursor icon.
1150 * pdf/ev-poppler.cc:
1151 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1152 (display_completion_text), (match_completion):
1153 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1154 (selection_changed_callback), (create_loading_model),
1155 (print_section_cb), (links_page_num_func),
1156 (update_page_callback_foreach):
1157 * shell/ev-window.c: (ev_window_dispose):
1159 Small memory fixes. Links model now store objects instead
1160 of pointers to improve memory management.
1162 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1164 * shell/ev-window.c: (zoom_control_changed_cb):
1166 Fix update of zoom control (bug 308268).
1168 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1170 * shell/ev-properties.c (set_property): escape the text correctly.
1171 Handles non-UTF-8 properties and escaped properties. Also, sets
1172 the text to "<i>None</i>" if the property isn't set.
1174 * data/evince-properties.glade: Change the label to be ellipsized,
1175 and give it a minimum size.
1177 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1179 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1180 * shell/ev-sidebar-links.c: (create_loading_model):
1181 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1182 * shell/ev-view.c: (ev_view_set_document):
1183 * shell/ev-window.c: (ev_window_dispose):
1185 Various small fixes, mostly memory leaks. Thanks to valgrind.
1187 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1189 * ps/ps-document.c: remove the locale.h include again ;-). And
1190 kill the (bogus) setlocale/savelocale business.
1192 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1196 Include locale.h to fix build
1198 * shell/ev-sidebar.c:
1200 Remove unnecessary includes
1202 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1204 * dvi/dvi-document.c: (dvi_document_load):
1205 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1208 Check for incorrect dvi files. Fix parsing dvi on AMD64
1209 platform. Thanks to tester@tester.ca (Olivier Crete).
1211 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1213 * shell/ev-page-action.c: (match_selected_cb),
1214 (display_completion_text), (match_completion), (update_model):
1215 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1216 (expand_open_links):
1217 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1218 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1219 (ev_sidebar_set_document):
1220 * shell/ev-window.c: (ev_window_xfer_job_cb),
1221 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1223 Fixed lot's of memory leaks, for example, memory leak on reload,
1224 described in bug 307793.
1226 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1228 * pdf/ev-poppler.cc:
1229 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1230 (update_visible_range), (adjustment_changed_cb),
1231 (ev_sidebar_thumbnails_fill_model),
1232 (ev_sidebar_thumbnails_refresh),
1233 (ev_sidebar_tree_selection_changed),
1234 (ev_sidebar_icon_selection_changed),
1235 (ev_sidebar_thumbnails_use_icon_view),
1236 (ev_sidebar_thumbnails_set_document):
1237 * shell/ev-sidebar-thumbnails.h:
1238 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1239 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1241 Refresh thumbnails when changing orientation. Not fully
1242 working yet becuase of a sidebar bug.
1244 Set page orientation to poppler page everywhere. This sucks
1245 really need to fix poppler.
1247 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1249 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1250 (egg_recent_view_gtk_new_menu_item),
1251 (egg_recent_view_gtk_set_property),
1252 (egg_recent_view_gtk_get_property),
1253 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1254 (egg_recent_view_gtk_set_tooltip_func),
1255 (egg_recent_view_gtk_set_label_width),
1256 (egg_recent_view_gtk_get_label_width):
1257 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1259 Sync with libegg (ellipsize labels)
1261 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1263 * data/evince-ui.xml:
1264 * shell/ev-window.c: (ev_window_cmd_go_forward),
1265 (ev_window_cmd_go_backward):
1267 Shift + PageUp moves 10 Pages. Fix for 306125
1269 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1271 * pdf/ev-poppler.cc:
1273 Add a flag to check if orientation has been overriden
1275 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1277 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1280 * ps/ps.h: add creator field to document.
1282 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1285 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1287 * data/evince-properties.glade:
1288 * shell/ev-properties.c: (ev_properties_set_document):
1290 s/PDF Version/Format
1292 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1294 * shell/ev-properties.c: (ev_properties_set_document):
1296 Remove unnecessary translations
1298 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1300 * cut-n-paste/toolbar-editor/Makefile.am:
1302 Correct library name
1304 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1307 * cut-n-paste/recent-files/egg-recent-model.c:
1308 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1309 (egg_recent_model_unlock_file):
1310 * cut-n-paste/recent-files/egg-recent-util.c:
1311 (egg_recent_util_get_unique_id):
1312 * cut-n-paste/recent-files/update-from-egg.sh:
1313 * cut-n-paste/toolbar-editor/Makefile.am:
1314 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1315 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1316 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1317 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1318 (egg_toolbars_model_get_type):
1319 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1321 Better makefile for toolbar editor and update everything
1324 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1326 * shell/ev-window.c: (update_document_mode):
1328 Prefer presentation mode when the document
1331 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1333 * data/evince-ui.xml:
1334 * shell/ev-window.c:
1336 Add control-equal for zooming
1338 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1340 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1342 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1344 * backend/ev-document.c: (ev_document_get_orientation):
1345 * backend/ev-document.h:
1346 * pdf/ev-poppler.cc:
1347 * ps/ps-document.c: (ps_document_get_orientation),
1348 (ps_document_set_orientation), (ps_document_document_iface_init):
1350 Add a get_orientation api. Improve set_orientation.
1352 * data/evince-ui.xml:
1353 * shell/ev-view.c: (ev_view_set_orientation),
1354 (ev_view_rotate_right), (ev_view_rotate_left):
1356 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1357 (ev_window_cmd_edit_rotate_right):
1359 Better ui for changing document orientation
1361 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1363 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1364 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1365 * shell/ev-sidebar-links.h:
1366 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1367 (ev_sidebar_page_iface_init):
1368 * shell/ev-sidebar-page.h:
1369 * shell/ev-sidebar-thumbnails.c:
1370 (ev_sidebar_thumbnails_get_property),
1371 (ev_sidebar_thumbnails_class_init),
1372 (ev_sidebar_thumbnails_set_document):
1373 * shell/ev-sidebar-thumbnails.h:
1374 * shell/ev-view.c: (ev_view_motion_notify_event):
1375 * shell/ev-window.c: (update_chrome_visibility),
1376 (ev_window_cmd_focus_page_selector),
1377 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1378 (sidebar_page_main_widget_update_cb), (ev_window_init):
1380 Autoraise toolbar on GoToPage binding and fix bindings in
1381 EvSidebarThumbnails page.
1383 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1385 * shell/ev-properties.c: (update_progress_label):
1387 Hide the progress label when finished; bug #307697.
1389 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1391 * pdf/ev-poppler.cc:
1393 Enable is_open for links, you will need poppler cvs
1395 * shell/ev-properties.c: (job_fonts_finished_cb):
1397 Get a lock on the document when filling the tree view
1399 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1401 * backend/ev-document-links.h:
1402 * pdf/ev-poppler.cc:
1403 * shell/ev-sidebar-links.c: (create_loading_model),
1404 (expand_open_links), (job_finished_callback):
1406 Expand links when specified by the document.
1407 Depend on a poppler api (defined out for now)
1409 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1411 * shell/ev-properties.c: (ev_properties_dispose),
1412 (ev_properties_class_init), (dialog_destroy_cb),
1413 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1414 (ev_properties_set_document), (ev_properties_new),
1415 (ev_properties_show):
1416 * shell/ev-properties.h:
1418 Make it an object, cleanup the code, api to show it as transient
1419 and to set the document.
1421 * shell/ev-window.c: (ev_window_setup_document),
1422 (ev_window_cmd_file_properties):
1424 Adapt to EvProperties changes, do not show multiple
1425 times, update it when document changes.
1427 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1430 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1431 (ps_document_set_orientation), (ps_document_document_iface_init):
1434 Implement orientation here too
1436 * shell/ev-properties.c: (ev_properties_new):
1437 * data/evince-properties.glade:
1439 Hide the fonts page for backends that doesnt
1442 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1444 * backend/ev-document.c: (ev_document_set_orientation):
1445 * backend/ev-document.h:
1446 * pdf/ev-poppler.cc:
1448 Add orientation api. Currently poppler api is not optimal,
1449 we need to set orientation every time we _get a page.
1450 I will try to fix that at some point.
1452 * data/evince-ui.xml:
1453 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1454 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1456 Add orientation menu items
1458 * shell/ev-page-cache.c: (ev_page_cache_clear):
1459 * shell/ev-page-cache.h:
1461 Add api to clear the cache
1463 * shell/ev-view.c: (setup_caches), (clear_caches),
1464 (ev_view_set_document), (ev_view_zoom_out),
1465 (ev_view_set_orientation):
1468 Implement orientation changing
1470 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1472 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1473 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1474 * backend/ev-document-fonts.h:
1476 Separate scan and fill so that we can incrementally fill from
1477 the main thread. Add a progress api.
1479 * data/evince-properties.glade:
1480 * pdf/ev-poppler.cc:
1481 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1483 * shell/ev-properties.c: (update_progress_label),
1484 (job_fonts_finished_cb), (setup_fonts_view):
1486 Incrementally feel the list and show the progress
1487 percentage in a label like acrobat does.
1489 You are going to need poppler cvs
1491 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1493 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1494 * backend/ev-document-fonts.h:
1495 * pdf/ev-poppler.cc:
1497 Make fonts model fill incrementally.
1499 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1500 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1501 (ev_job_queue_remove_job):
1502 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1503 (ev_job_fonts_new), (ev_job_fonts_run):
1506 New job for fonts scanning
1508 * shell/ev-properties.c: (job_fonts_finished_cb),
1509 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1510 * shell/ev-properties.h:
1511 * shell/ev-window.c: (ev_window_cmd_file_properties):
1513 Incrementally feel the treeview using the new job. Show Loading...
1514 message until scanning is completed.
1516 Hopefully I didnt break the build without the poppler patch.
1518 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1520 * shell/ev-application.c: (ev_application_open):
1521 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1522 (ev_document_type_get_type), (ev_document_type_lookup):
1523 * shell/ev-document-types.h:
1524 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1525 * shell/ev-job-xfer.h:
1526 * shell/ev-window.c: (ev_window_clear_local_uri),
1527 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1528 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1529 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1531 Transfer remote documents to tmp directory to display them later.
1533 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1535 * backend/ev-document-info.h:
1536 * shell/ev-properties.c: (ev_properties_new):
1538 s/GTime*/GTime. Not sure why we was using a pointer
1541 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1543 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1544 situations. That situation is that you're using GTK+-HEAD with
1545 the patch at #306726 is applied, and you have a document with <
1546 1500 pages in it. It's not quite as uniformly nice as the
1547 TreeView, but should be better in the long run.
1549 I'm pretty sure I guarded against breaking compilation with
1550 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1553 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1554 widget yet, so I commented that code out
1555 enable_view_actions_for_widget() for now. Need to figure this
1558 * shell/ev-page-action.c (match_selected_cb): emit the right
1559 signals. Our cool C-l completion now works.
1561 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1563 * backend/Makefile.am:
1564 * backend/ev-document-fonts.c:
1565 * backend/ev-document-links.c:
1566 * backend/ev-document.c: (ev_document_load):
1567 * backend/ev-document.h:
1568 * backend/ev-job-queue.c:
1569 * backend/ev-job-queue.h:
1570 * backend/ev-jobs.c:
1571 * backend/ev-jobs.h:
1572 * backend/ev-page-cache.c:
1573 * backend/ev-page-cache.h:
1575 EvPageCache and EvJobs are moved to shell.
1577 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1579 * lib/ev-file-helpers.h:
1581 New helper to work with temporary files
1583 * shell/Makefile.am:
1584 * shell/ev-application.c: (ev_application_open):
1585 * shell/ev-application.h:
1586 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1587 (remove_job_from_async_queue), (add_job_to_async_queue),
1588 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1589 (handle_job), (search_for_jobs_unlocked),
1590 (no_jobs_available_unlocked), (ev_render_thread),
1591 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1592 (ev_job_queue_add_job), (move_job_async), (move_job),
1593 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1594 * shell/ev-job-queue.h:
1595 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1596 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1597 * shell/ev-job-xfer.h:
1598 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1599 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1600 (ev_job_links_class_init), (ev_job_render_init),
1601 (ev_job_render_dispose), (ev_job_render_class_init),
1602 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1603 (ev_job_thumbnail_class_init), (ev_job_load_init),
1604 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1605 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1606 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1607 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1609 * shell/ev-page-action.c: (ev_page_action_set_document):
1610 * shell/ev-page-cache.c: (ev_page_cache_init),
1611 (ev_page_cache_class_init), (ev_page_cache_finalize),
1612 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1613 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1614 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1615 (ev_page_cache_get_title), (ev_page_cache_get_size),
1616 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1617 (ev_page_cache_get_height_to_page),
1618 (ev_page_cache_get_max_label_chars),
1619 (ev_page_cache_get_page_label),
1620 (ev_page_cache_has_nonnumeric_page_labels),
1621 (ev_page_cache_get_info), (ev_page_cache_next_page),
1622 (ev_page_cache_prev_page), (ev_page_cache_get):
1623 * shell/ev-page-cache.h:
1624 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1625 (ev_pixbuf_cache_clear_job_sizes),
1626 (ev_pixbuf_cache_add_jobs_if_needed),
1627 (ev_pixbuf_cache_set_page_range):
1628 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1629 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1630 * shell/ev-sidebar-thumbnails.c:
1631 (ev_sidebar_tree_selection_changed),
1632 (ev_sidebar_thumbnails_set_document):
1633 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1634 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1635 (ev_statusbar_get_context_id), (ev_statusbar_push),
1636 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1637 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1638 (ev_statusbar_set_progress):
1639 * shell/ev-statusbar.h:
1640 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1641 (ev_view_find_previous):
1642 * shell/ev-window.c: (ev_window_is_empty),
1643 (ev_window_setup_document), (password_dialog_response),
1644 (ev_window_clear_jobs), (ev_window_load_job_cb),
1645 (ev_window_xfer_job_cb), (ev_window_open_uri),
1646 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1647 (ev_window_print), (ev_window_print_range),
1648 (ev_window_state_event), (ev_window_cmd_view_reload),
1649 (menu_item_select_cb), (menu_item_deselect_cb),
1650 (view_status_changed_cb), (ev_window_dispose),
1651 (drag_data_received_cb), (ev_window_init):
1652 * shell/ev-window.h:
1653 * shell/main.c: (load_files):
1655 New statusbar to show progress on idle. Two new jobs -
1656 xfer job and load job to load document in background. And update
1657 of page_cache clients to new location of code.
1659 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1661 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1662 selection in open dialog. It also remembers the last visited directory
1663 in the current session.
1665 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1667 * shell/ev-properties.c: (ev_properties_new):
1668 * shell/ev-properties.h:
1669 * shell/ev-window.c: (ev_window_cmd_file_properties):
1671 Get document info from page cache instead of document itself.
1672 This should fix crash related to race conditions described in
1675 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1677 * ps/ps-document.c: (ps_document_init),
1678 (send_ps), (get_page_box), (output), (catchPipe), (input),
1679 (stop_interpreter), (file_length), (file_readable),
1680 (check_filecompressedb), (ps_document_enable_interpreter),
1681 (document_load), (ps_async_renderer_render_pixbuf):
1684 Big cleanup of the ps code
1686 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1688 * backend/Makefile.am:
1689 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1690 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1691 * backend/ev-async-renderer.h:
1693 Add an async renderer interface (method + callback) which
1694 is useful for backends like ps.
1696 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1697 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1698 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1699 (ev_job_queue_add_job), (move_job_async), (move_job),
1700 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1702 Add queues for async renderer, these are executed on the
1705 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1706 (ev_job_render_run):
1707 * backend/ev-jobs.h:
1709 If the backend support async renderer interface use it.
1711 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1712 (setup_pixmap), (ps_document_get_type),
1713 (ps_async_renderer_render_pixbuf),
1714 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1716 Implement async renderer interface.
1718 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1720 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1722 Cleanup links job on exit.
1724 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1726 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1727 (drag_data_get_cb), (drag_data_received_cb):
1728 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1729 (drag_data_get_cb), (parse_item_list),
1730 (egg_toolbar_editor_load_actions):
1731 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1732 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1733 (parse_item_list), (parse_toolbars):
1734 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1735 (dvi_pixbuf_put_pixel):
1737 Fix gcc 4.0 warnings
1739 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1741 * ps/ps-document.c: (start_interpreter):
1743 Fix warning when loading ps
1745 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1747 * ps/ps-document.c: (output):
1749 Fix crash when priting gs error messages.
1751 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1753 * backend/ev-page-cache.c: (_ev_page_cache_new):
1754 * backend/ev-page-cache.h:
1756 Use a const to return title so that we dont double
1757 free it. Small cleanup and fix a leak.
1759 * shell/ev-window.c: (update_window_title):
1761 strdup value from get_title.
1763 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1765 * shell/ev-sidebar-links.c: (job_finished_callback),
1766 (ev_sidebar_links_set_document):
1768 Cleanup the old job when changing document
1770 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1772 * shell/ev-stock-icons.c:
1773 * shell/ev-stock-icons.h:
1774 * shell/ev-window.c:
1776 Add stock icons for actions that can appear in toolbar. Fix for
1779 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1781 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1782 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1783 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1784 * backend/ev-page-cache.h:
1785 * shell/ev-view.c: (scroll_to_current_page),
1786 (view_update_range_and_current_page), (get_page_y_offset),
1787 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1788 (ev_view_size_request_continuous),
1789 (ev_view_zoom_for_size_continuous_and_dual_page),
1790 (ev_view_zoom_for_size_continuous):
1792 More compact EvView layout in document with pages of different size.
1794 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1796 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1799 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1801 * shell/ev-view.c: (view_set_adjustment_values):
1802 * shell/ev-window.c: (ev_window_cmd_file_properties):
1804 A bit different fix for rounding problem but it has no
1805 problems on startup. Make properties window transient to parent.
1807 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1809 * pdf/ev-poppler.cc:
1811 More commenting of font stuff.
1813 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1815 * pdf/ev-poppler.cc:
1817 Comment out some more fonts stuff. Should really
1818 work without the poppler patch now.
1820 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1822 * pdf/ev-poppler.cc:
1826 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1828 * data/evince-properties.glade:
1829 * pdf/ev-poppler.cc:
1830 * shell/ev-properties.c: (setup_fonts_view):
1832 Set the column title. Show the dialog only
1833 once everything is setup.
1834 Getting font info can be very slow... will
1835 prolly need to make this threaded too.
1837 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1839 * backend/Makefile.am:
1840 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1841 (ev_document_fonts_get_fonts_model):
1842 * backend/ev-document-fonts.h:
1843 * data/evince-properties.glade:
1844 * pdf/ev-poppler.cc:
1845 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1846 * shell/ev-properties.h:
1847 * shell/ev-window.c: (ev_window_cmd_file_properties):
1849 Implement fonts list. Defined out for now, since it depends
1850 on a not yet committed poppler patch.
1852 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1854 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1857 * shell/ev-window.c: Make sure we add the timeout when we get a
1860 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1861 adjustment->value before calculating the zoom factor to average
1862 out all of our rounding errors. The page no longer 'drifts' when
1865 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1867 * data/evince-properties.glade:
1868 * shell/ev-properties.c: (ev_properties_format_date),
1871 Labels don't expand when the dialogue is resized.
1872 strftime result needs to be converted to UTF-8. Thanks
1873 to Christian Persch <chpe@gnome.org>.
1875 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1877 * data/evince-properties.glade:
1881 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1883 * backend/ev-document-info.h:
1884 * backend/ev-document.c: (ev_document_info_free):
1885 * data/evince-properties.glade:
1886 * pdf/ev-poppler.cc:
1887 * ps/ps-document.c: (ps_document_get_info):
1888 * shell/ev-properties.c: (ev_properties_format_date),
1889 (set_property), (ev_properties_new):
1890 * shell/ev-properties.h:
1891 * shell/ev-window.c: (ev_window_cmd_file_properties):
1893 Rework properties code to take only EvPropertyInfo
1894 in the constructor so that it can be useful for
1895 nautilus plugin too.
1897 Deal with backends that doesnt support some properties.
1898 Make set property code generic.
1900 2005-06-04 Christian Persch <chpe@gnome.org>
1902 * data/evince-properties.glade:
1904 fix spacings, make resizeable, and make data labels
1905 selectable + ellipsised
1907 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1909 * backend/ev-document-info.h:
1911 * data/evince-ui.xml:
1912 * pdf/ev-poppler.cc:
1913 * shell/Makefile.am:
1914 * shell/ev-window.c: (update_action_sensitivity),
1915 (ev_window_cmd_file_properties):
1917 Initial go at file properties. Patch by
1918 Emil Soleyman-Zomalan <emil@soleyman.com>.
1919 Needs love see #169583
1921 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1923 * ps/ps-document.c: (output):
1924 * ps/ps.c: (psscan):
1926 Try to render even if psscan fails.
1928 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1930 * ps/ps.c: (psscan), (pscopydoc):
1932 Port buffered reading code from gv
1934 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1936 * ps/ps-document.c: (interpreter_message), (output):
1938 Do not fail on interpreter messages
1940 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1942 * backend/ev-document-misc.c:
1943 (ev_document_misc_get_thumbnail_frame):
1945 Pages can be 0 x 0, dont assert on this case
1947 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1949 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1950 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1952 Correctly manage our reference on document. Finally the reload
1953 huge leak is gone...
1955 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1957 * ps/ps-document.c: (ps_document_dispose):
1959 Forgot to chain it to the parent. Thanks chpe.
1961 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1963 * ps/ps-document.c: (ps_document_dispose),
1964 (ps_document_class_init), (stop_interpreter), (document_load):
1966 Cleanup dispose a bit. Dont leak the whole pixmap.
1968 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1970 * pdf/ev-poppler.cc:
1972 Release the poppler document on dispose
1974 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1976 * shell/ev-view.c: (ev_view_set_document):
1978 Release ref on the pixbuf cache when changing
1981 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1983 * ps/ps-document.c: (ps_document_get_info):
1987 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1989 * backend/ev-page-cache.c: (ev_page_cache_init),
1990 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1991 * backend/ev-page-cache.h:
1992 * shell/ev-page-action.c: (page_changed_cb):
1994 Set page action entry width depending on labels width. Fix
1997 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1999 * backend/ev-link.c: (ev_link_class_init):
2001 Allow -1 as page value (error)
2003 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2005 * shell/ev-sidebar-thumbnails.c:
2006 (ev_sidebar_thumbnails_set_document):
2007 * shell/ev-view.c: (scroll_to_current_page),
2008 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2009 (page_changed_cb), (on_adjustment_value_changed),
2010 (ev_view_set_document):
2012 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2015 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2018 * djvu/djvu-document.c: (djvu_document_get_page_size):
2020 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2023 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2025 * shell/ev-view.c (draw_one_page): modify the expose handling to
2028 * shell/ev-window.c (update_action_sensitivity): Respect
2029 permissions field. Kowtow to the man.
2031 * pdf/ev-poppler.cc: Get the permissions field.
2033 * tiff/*c: Make a tiny bit more robust.
2035 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2037 * djvu/djvu-document.c:
2039 Pop messages from djvu context message queue.
2041 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2043 * configure.ac, Makefile.am, shell/Makefile.am:
2044 * tiff/Makefile.am, shell/ev-document-types.c:
2046 Cleanup tiff configure checks. Fix for bug 305218.
2048 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2050 * configure.ac: Added "uk" to ALL_LINGUAS.
2052 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2054 * cut-n-paste/zoom-control/ephy-zoom.c:
2055 (ephy_zoom_get_changed_zoom_level):
2056 * cut-n-paste/zoom-control/ephy-zoom.h:
2057 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2058 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2059 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2060 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2061 (zoom_control_changed_cb), (ev_window_init):
2063 Fix minor points related to moving best fit up. Introduce
2064 "zoom" property and make zoom control change it's value on
2065 notify::zoom signals. Fix for 305080.
2067 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2069 * data/evince-ui.xml:
2070 * shell/ev-window.c: (set_view_actions_sensitivity):
2072 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2074 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2078 Depends on poppler 0.3.2
2080 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2082 * cut-n-paste/recent-files/egg-recent-item.c:
2083 (egg_recent_item_get_short_name):
2084 * cut-n-paste/toolbar-editor/Makefile.am:
2085 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2086 (new_pixbuf_from_widget):
2087 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2088 * cut-n-paste/toolbar-editor/egg-marshal.c:
2089 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2090 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2094 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2096 * tiff/tiff-document.c: Rough TIFF backend.
2098 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2102 * cut-n-paste/toolbar-editor/Makefile.am:
2106 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2108 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2109 (ev_view_find_next), (ev_view_find_previous):
2111 Remove the locks around get_n_results
2113 2005-05-21 Juerg Billeter <j@bitron.ch>
2115 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2117 Pass correct number of pages to poppler.
2119 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2123 * data/evince.desktop.in:
2124 * data/evince.desktop.in.in:
2127 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2129 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2131 * shell/ev-view.c: (view_update_adjustments),
2132 (view_set_adjustment_values): cast adjustmen->value to (int)
2133 before using it. Otherwise, we get off by a pixel in some
2136 (draw_one_page): Draw the border on expose.
2138 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2140 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2141 adjustment when the mode changes, #304923
2143 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2145 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2146 flickering on resize but still use gdk_window_scroll on
2149 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2151 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2154 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2156 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2157 second page on page_changed if possible, #304669
2159 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2161 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2162 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2164 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2167 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2168 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2169 (ev_view_zoom_for_size_presentation),
2170 (ev_view_zoom_for_size_continuous_and_dual_page),
2171 (ev_view_zoom_for_size_continuous),
2172 (ev_view_zoom_for_size_dual_page),
2173 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2175 * shell/ev-window.c: (update_view_size),
2176 (ev_window_sizing_mode_changed_cb):
2178 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2179 the scrollbars. It's not 100% right, but it's much closer. Kills
2180 an infinite loop, #304769
2183 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2185 * data/evince-ui.xml:
2186 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2187 * shell/ev-window.c: (set_view_actions_sensitivity):
2189 Make PgUp/Down behave like Space
2191 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2193 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2194 * backend/ev-ps-exporter.h:
2195 * pdf/ev-poppler.cc:
2196 * ps/ps-document.c: (ps_document_ps_export_begin):
2197 * shell/ev-print-job.c: (idle_print_handler):
2199 Adapt to new poppler api
2201 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2203 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2204 (ephy_zoom_control_init):
2206 Translate zoom levels
2208 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2210 * cut-n-paste/zoom-control/ephy-zoom.c:
2211 (ephy_zoom_get_zoom_level_index):
2213 Fix current zoom -> zoom control match
2215 2005-05-18 James Bowes <bowes@cs.dal.ca>
2217 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2218 rather than the scrolled_window that it's in. Fixes bug #304655.
2220 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2222 * shell/ev-view.c: (view_update_adjustments),
2223 (view_set_adjustment_values), (view_update_range_and_current_page),
2224 (view_scroll_to_page), (set_scroll_adjustment),
2225 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2226 (ev_view_scroll), (ev_view_scroll_view),
2227 (ensure_rectangle_is_visible), (find_page_at_location),
2228 (get_link_at_location), (go_to_link), (status_message_from_link),
2229 (ev_view_size_request_continuous_dual_page),
2230 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2231 (ev_view_unrealize), (ev_view_expose_event),
2232 (ev_view_button_press_event), (ev_view_motion_notify_event),
2233 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2234 (draw_rubberband), (highlight_find_results), (draw_one_page),
2235 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2236 (ev_view_init), (find_changed_cb), (page_changed_cb),
2237 (on_adjustment_value_changed), (ev_view_new),
2238 (ev_view_set_document), (ev_view_set_zoom),
2239 (ev_view_set_continuous), (ev_view_set_dual_page),
2240 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2241 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2242 (ev_view_zoom_for_size_presentation),
2243 (ev_view_zoom_for_size_continuous_dual_page),
2244 (ev_view_zoom_for_size_continuous),
2245 (ev_view_zoom_for_size_dual_page),
2246 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2247 (ev_view_get_status), (ev_view_set_status),
2248 (update_find_status_message), (ev_view_get_find_status),
2249 (ev_view_set_find_status), (jump_to_find_result),
2250 (jump_to_find_page), (compute_selections), (clear_selection),
2251 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2252 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2253 (ev_view_update_primary_selection),
2254 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2256 * shell/ev-window.c: (ev_window_open_page_label),
2257 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2259 * shell/ev-window.h:
2260 * shell/main.c: (load_files):
2262 Massive code clean up from Nickolay Shmyrev. Keep page offset
2263 when resizing. Remove the bin_window(). Also, patch from James
2264 Bowes to fix command line page, #300641
2266 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2268 * data/evince-ui.xml:
2271 * shell/ev-window.c: (update_action_sensitivity):
2273 Get rid of View->Normal Size, it's just confusing
2275 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2277 * backend/ev-document-info.h:
2278 * backend/ev-document.c: (ev_document_info_free): Free the
2281 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2282 (clear_range), (add_range), (update_visible_range),
2283 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2284 (ev_sidebar_thumbnails_set_document):
2285 * shell/ev-window.c: (ev_window_setup_document): Only render the
2286 visible thumbnails. It takes an instant to render, but it uses
2289 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2291 * shell/ev-sidebar-links.c: (popup_menu_cb):
2295 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2298 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2299 (button_press_cb), (ev_sidebar_links_construct):
2301 Show the popup menu also on keybindings
2303 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2305 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2306 * shell/ev-window.h:
2308 Expose api to print a range (with dialog). Make private _print use
2311 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2312 (ev_sidebar_links_construct):
2314 Show a print context menu on linkx, it prints the selected
2317 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2319 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2322 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2328 * shell/ev-window.c: (build_comments_string),
2329 (ev_window_cmd_help_about):
2331 Show poppler version/backend and authors
2333 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2335 * cut-n-paste/zoom-control/ephy-zoom.c:
2336 (ephy_zoom_get_zoom_level_index):
2337 * cut-n-paste/zoom-control/ephy-zoom.h:
2339 Move the best fit items at the top of the list
2341 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2343 * shell/ev-marshal.list:
2344 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2345 (activate_cb), (match_selected_cb), (activate_link_cb),
2346 (connect_proxy), (ev_page_action_class_init):
2347 * shell/ev-page-action.h:
2349 Use signals to notify action activation. Hopefully
2350 I did not break completion since I cant test...
2352 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2353 (register_custom_actions):
2355 Connect to page selector actions and also grab focus on
2356 the view when activated.
2358 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2360 * pdf/ev-poppler.cc:
2361 * backend/ev-page-cache.c: make page size calculation consistent
2362 and set it to (int)( width * scale + 0.5). This makes the weird
2363 line going through the middle of the page go away.
2365 * shell/ev-view.c: move painting the background page after
2366 checking the expose area covers us.
2368 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2370 * data/evince-password.glade:
2372 Mark labels as not translatable. Fix for bug 302842.
2374 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2376 * configure.ac: Added "es" to ALL_LINGUAS.
2378 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2380 * data/evince-toolbar.xml:
2381 * shell/ev-window.c: (update_action_sensitivity),
2382 (ev_window_setup_document), (ev_window_set_page_mode),
2385 Remove some leftover code from jrb first continous
2386 attempt. Use the new actions, we still need good icons
2389 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2391 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2393 Update label when connecting proxy. Fix a warning with NULL
2396 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2398 * data/evince-ui.xml:
2399 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2400 * shell/ev-page-action.h:
2401 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2403 Add mnemonic for edit toolbar.
2404 ctrl+l focus the page entry.
2406 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2409 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2411 * shell/main.c: (main):
2413 Put the toolbar xml in evince own dot dir
2415 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2417 * shell/ev-window.c: (ev_window_init):
2419 Make the toolbar not removable
2421 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2423 * data/evince-ui.xml:
2424 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2425 * shell/ev-sidebar-links.h:
2426 * shell/ev-sidebar-thumbnails.c:
2427 (ev_sidebar_thumbnails_get_treeview):
2428 * shell/ev-sidebar-thumbnails.h:
2429 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2430 (ev_view_class_init):
2432 * shell/ev-window.c: (update_action_sensitivity),
2433 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2434 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2435 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2438 This is evil... Make space/backspace global accelerators but
2439 enable them only for some widgets (sidebars and view).
2440 I dont like it, but I dont know a better way... :/
2442 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2444 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2445 (ev_page_action_widget_finalize),
2446 (ev_page_action_widget_class_init), (update_page_cache):
2448 Keep a weak reference on proxy->page_cache so that we
2449 dont try to disconnect the signal if the object is already
2450 gone. Maybe there is a better way to cleanup reference handling
2451 in page action though...
2453 2005-05-10 Juerg Billeter <j@bitron.ch>
2455 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2456 * backend/ev-ps-exporter.h:
2457 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2458 * ps/ps-document.c: (ps_document_ps_export_begin):
2460 Change api to pass print range to ps_exporter_begin. The pdf backend
2461 requires this information.
2463 * shell/ev-print-job.c: (idle_print_handler):
2467 2005-05-10 Juerg Billeter <j@bitron.ch>
2469 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2470 (idle_print_handler)
2471 * shell/ev-window.c: (ev_window_print):
2473 Support printing page range, based on patch by Amaury Jacquot
2475 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2477 * data/evince-toolbar.xml:
2479 Add zoom control to available items
2481 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2483 * shell/ev-window.c: (update_action_sensitivity):
2485 Set slash action insensitive when appropriate
2487 2005-05-10 Christian Persch <chpe@gnome.org>
2489 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2491 Fix warning on the overflow menu
2493 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2495 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2497 Check for uri correctness/existence
2499 2005-05-09 Juerg Billeter <j@bitron.ch>
2501 * shell/ev-window.c: (using_postscript_printer):
2503 LPD printers use postscript, too
2505 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2507 * shell/ev-window.c: (register_custom_actions):
2509 The zoom one is actually sort of useful,
2512 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2514 * shell/ev-window.c: (register_custom_actions):
2516 Hide page/zoom controls from overflow, they
2519 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2521 * cut-n-paste/update-from-egg.sh:
2523 Share it between all cut-n-paste subdirs
2525 * cut-n-paste/recent-files/Makefile.am:
2527 Fix to use "global" update-from-egg.sh
2529 * cut-n-paste/recent-files/egg-recent-model.c:
2530 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2531 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2532 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2533 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2537 * cut-n-paste/toolbar-editor/Makefile.am:
2539 Fix to use "global" update-from-egg.sh
2541 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2545 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2548 * cut-n-paste/Makefile.am:
2549 * cut-n-paste/recent-files/Makefile.am:
2550 * cut-n-paste/toolbar-editor/.cvsignore:
2551 * cut-n-paste/toolbar-editor/Makefile.am:
2552 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2553 (egg_editable_toolbar_get_type), (get_toolbar_position),
2554 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2555 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2556 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2557 (set_item_drag_source), (create_item_from_action), (create_item),
2558 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2559 (popup_toolbar_context_menu_cb), (free_dragged_item),
2560 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2561 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2562 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2563 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2564 (item_added_cb), (item_removed_cb),
2565 (egg_editable_toolbar_construct),
2566 (egg_editable_toolbar_disconnect_model),
2567 (egg_editable_toolbar_deconstruct),
2568 (egg_editable_toolbar_set_model),
2569 (egg_editable_toolbar_set_ui_manager),
2570 (egg_editable_toolbar_set_property),
2571 (egg_editable_toolbar_get_property),
2572 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2573 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2574 (egg_editable_toolbar_new_with_model),
2575 (egg_editable_toolbar_get_edit_mode),
2576 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2577 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2578 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2579 (new_pixbuf_from_widget), (new_separator_pixbuf),
2580 (update_separator_image), (style_set_cb),
2581 (_egg_editable_toolbar_new_separator_image),
2582 (egg_editable_toolbar_get_model):
2583 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2584 * cut-n-paste/toolbar-editor/egg-marshal.c:
2585 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2586 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2587 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2588 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2589 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2590 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2591 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2592 (editor_drag_data_delete_cb), (drag_data_get_cb),
2593 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2594 (editor_create_item), (update_editor_sheet), (setup_editor),
2595 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2596 (parse_item_list), (model_has_action), (update_actions_list),
2597 (egg_toolbar_editor_load_actions):
2598 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2599 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2600 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2601 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2602 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2603 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2604 (egg_toolbars_model_add_separator), (impl_add_item),
2605 (parse_item_list), (egg_toolbars_model_add_toolbar),
2606 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2607 (impl_get_item_data), (impl_get_item_type),
2608 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2609 (egg_toolbars_model_init), (free_toolbar),
2610 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2611 (egg_toolbars_model_remove_toolbar),
2612 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2613 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2614 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2615 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2616 (egg_toolbars_model_get_item_data),
2617 (egg_toolbars_model_get_item_type):
2618 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2619 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2621 * data/evince-toolbar.xml:
2622 * data/evince-ui.xml:
2623 * data/hand-open.png:
2625 * shell/Makefile.am:
2626 * shell/ev-window.c: (update_chrome_visibility),
2627 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2628 (ev_window_dispose), (ev_window_init):
2630 Implement epiphany like toolbar editor. Based on patch by
2631 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2633 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2635 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2637 Use set_cursor instead of set_selection, so that
2638 the keyboard focus moves too.
2640 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2642 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2644 Fix infinite loop when loading Type1 fonts
2646 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2648 * data/evince-ui.xml:
2649 * shell/ev-window.c:
2653 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2657 Make --disable really disable
2659 2005-05-07 Juerg Billeter <j@bitron.ch>
2661 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2663 Compare page labels even without has_labels set, fixes setting page
2666 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2668 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2669 (ev_view_set_cursor), (ev_view_button_press_event),
2670 (ev_view_motion_notify_event), (ev_view_button_release_event),
2673 Implement middle button scrolling. Based on a patch
2674 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2676 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2678 * shell/ev-document-types.c: (get_slow_mime_type),
2679 (get_document_type_from_mime), (ev_document_type_lookup):
2680 * shell/ev-document-types.h:
2682 Change api to lookup from uri. Do fast lookup first, if the
2683 type is unknown try with data sniffing.
2685 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2686 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2690 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2692 * thumbnailer/Makefile.am:
2696 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2703 * data/evince-ui.xml:
2705 Hide presentation mode for now
2707 * shell/ev-view.c: (highlight_find_results):
2709 Show current find selection only on current page
2711 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2713 * shell/ev-view.c: (ev_view_select_all):
2715 Compute size of the actual page, not of
2718 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2720 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2721 (view_rect_to_doc_rect), (compute_selections),
2722 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2723 (ev_view_copy), (ev_view_primary_get_cb),
2724 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2725 (ev_view_button_press_event), (ev_view_motion_notify_event),
2726 (ev_view_button_release_event), (page_changed_cb):
2730 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2732 * shell/ev-view.c: (compute_border), (get_page_extents),
2733 (doc_rect_to_view_rect), (highlight_find_results),
2734 (ev_view_bin_expose), (ev_view_select_all),
2735 (ev_view_motion_notify_event), (update_find_status_message),
2736 (jump_to_find_result), (jump_to_find_page):
2738 First go at fixing search, still buggy
2740 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2742 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2743 dropdown box and button at the top of the sidebar.
2745 2005-05-02 James Bowes <bowes@cs.dal.ca>
2747 * configure.ac: Output zoom-control Makefile.
2748 * cut-n-paste/Makefile.am: build zoom-control subdir.
2749 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2750 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2751 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2752 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2753 * cut-n-paste/zoom-control/ephy-zoom.c:
2754 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2755 from epiphany, and modified to add a separator into the menu.
2756 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2757 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2758 zoom-control action.
2759 * shell/Makefile.am: Include zoom-control flags.
2760 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2761 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2762 (ev_view_zoom_for_size_presentation),
2763 (ev_view_zoom_for_size_continuous_and_dual_page),
2764 (ev_view_zoom_for_size_continuous),
2765 (ev_view_zoom_for_size_dual_page),
2766 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2767 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2768 ev_view_get_zoom and ev_view_get_sizing_mode.
2770 * shell/ev-window.c: (update_action_sensitivity),
2771 (update_sizing_buttons), (zoom_control_changed_cb),
2772 (register_custom_actions): Initialize and use the zoom-control
2775 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2777 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2778 preview cache back to 1. Don't know when it got set to 0.
2780 * shell/ev-view.c: (compute_border), (ev_view_realize),
2781 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2782 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2783 (ev_view_get_fullscreen), (ev_view_set_presentation),
2784 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2785 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2787 * shell/ev-window.c:
2788 (update_chrome_visibility),
2789 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2790 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2791 (update_document_mode), (ev_window_update_fullscreen_action),
2792 (ev_window_fullscreen), (ev_window_unfullscreen),
2793 (ev_window_cmd_view_fullscreen),
2794 (ev_window_update_presentation_action),
2795 (ev_window_run_presentation), (ev_window_stop_presentation),
2796 (ev_window_cmd_view_presentation), (ev_window_state_event),
2797 (ev_window_focus_in_event), (ev_window_focus_out_event),
2798 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2799 * data/evince-ui.xml: Initial presentation mode. We should
2800 probably hide this until it's done, as it's quite rough. Also,
2801 change full-screen to fullscreen and add two getters to EvView.
2803 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2805 * shell/ev-page-action.c: (update_page_cache),
2806 (ev_page_action_dispose):
2807 * shell/ev-window.c: (destroy_fullscreen_popup),
2808 (ev_window_create_fullscreen_popup):
2810 Use connect_object rather than explicitly
2811 disconnect on dispose.
2813 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2815 * shell/ev-page-action.c: (update_page_cache),
2816 (ev_page_action_dispose):
2818 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2820 * backend/ev-page-cache.c: (_ev_page_cache_new),
2821 (ev_page_cache_set_page_label),
2822 (ev_page_cache_has_nonnumeric_page_labels):
2823 * backend/ev-page-cache.h:
2824 * shell/ev-page-action.c: (update_pages_label):
2826 If all page labels are numeric, fallback to default
2827 way to display number of pages. See bug 173185.
2829 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2831 * shell/ev-page-action.c: (ev_page_action_dispose):
2832 * shell/ev-view.c: (view_update_range_and_current_page):
2833 * shell/ev-window.c: (ev_window_dispose):
2835 Set page on scroll in continuous mode. Fixes bug 301986.
2836 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2838 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2842 Require poppler 0.3.0
2844 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2846 * shell/Makefile.am, configure.ac: Fix build problems
2847 with t1lib. Bug 301996.
2849 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2851 * shell/ev-view.c: (ev_view_scroll_event):
2853 Scroll up increase zoom
2855 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2857 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2858 (ev_view_set_sizing_mode),
2859 (ev_view_zoom_for_size_continuous_and_dual_page),
2860 (ev_view_zoom_for_size_continuous):
2861 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2862 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2863 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2866 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2867 Fix for 165473 and 165472.
2869 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2872 * thumbnailer/Makefile.am:
2873 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2874 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2875 * thumbnailer/evince-thumbnailer.schemas.in:
2877 Make thumbnailer schemas translatable. Fix for bug 301773
2879 * thumbnailer/evince-thumbnailer-djvu.schemas:
2880 * thumbnailer/evince-thumbnailer-dvi.schemas:
2881 * thumbnailer/evince-thumbnailer.schemas:
2885 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2887 * shell/ev-view.c (ev_view_init): forgot to set this.
2889 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2891 * shell/ev-view.c: (find_page_at_location),
2892 (get_link_at_location),
2893 (ev_view_set_show_border), (ev_view_set_spacing),
2894 (ev_view_zoom_for_size_continuous_and_dual_page),
2895 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2896 Also, add a quick fix measuring of widths. Also, removed
2897 ev_view_set_spacing and ev_view_set_show_border.
2899 * shell/ev-window.c: (ev_window_unfullscreen),
2900 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2902 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2904 * shell/ev-view.c: (view_update_range_and_current_page),
2907 Fix crash on exit and scrolling to page in continuous view.
2909 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2912 * backend/ev-page-cache.c: (_ev_page_cache_new),
2913 (ev_page_cache_get_max_width_size),
2914 (ev_page_cache_get_max_height_size):
2915 * backend/ev-page-cache.h:
2916 * data/evince-ui.xml:
2917 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2918 * shell/ev-view.c: (view_update_adjustments),
2919 (view_update_range_and_current_page), (get_bounding_box_size),
2920 (ev_view_size_request_continuous_and_dual_page),
2921 (ev_view_size_request_continuous),
2922 (ev_view_size_request_dual_page),
2923 (ev_view_size_request_single_page), (ev_view_size_request),
2924 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2925 (ev_view_bin_expose), (ev_view_expose_event),
2926 (ev_view_set_property), (ev_view_get_property),
2927 (ev_view_class_init), (ev_view_init), (ev_view_new),
2928 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2929 (ev_view_set_dual_page), (ev_view_set_full_screen),
2930 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2931 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2932 (ev_view_zoom_out), (zoom_for_size_fit_width),
2933 (zoom_for_size_best_fit),
2934 (ev_view_zoom_for_size_continuous_and_dual_page),
2935 (ev_view_zoom_for_size_continuous),
2936 (ev_view_zoom_for_size_dual_page),
2937 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2938 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2940 * shell/ev-window.c: (update_action_sensitivity),
2941 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2942 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2943 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2944 (ev_window_cmd_view_zoom_out), (update_view_size),
2945 (ev_window_set_sizing_mode), (ev_window_init):
2947 Add Continuous and Dual page modes.
2949 2005-04-23 James Bowes <bowes@cs.dal.ca>
2951 * dvi/dvi-document.c: (dvi_document_load),
2952 (dvi_document_thumbnails_get_thumbnail),
2953 (dvi_document_init_params): Fix up some mixups between
2954 width and height to correct thumbnail rendering.
2956 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2958 * dvi/mdvi-lib/private.h:
2959 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2961 Suppess output for kpathsea during font generation. Thanks to
2964 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
2971 * Makefile.am: fix distcheck.
2973 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2975 * shell/ev-sidebar-links.c: (selection_changed_callback),
2976 (update_page_callback), (row_activated_callback),
2977 (job_finished_callback), (ev_sidebar_links_set_document):
2979 Fix for bug #169901. Double click on links expands tree.
2981 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
2983 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2984 hard-coded style. Fix for bug 170111
2986 2005-04-22 Kristian Høgsberg <krh@redhat.com>
2988 * shell/ev-view.c (highlight_find_results): Remove unnecessary
2991 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
2993 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2995 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
2997 * pdf/ev-poppler.cc:
2998 * shell/ev-view.c: (highlight_find_results):
3000 Fix find on single page documents
3002 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3004 * data/evince.schemas.in: fix for bug 301390
3006 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3008 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3009 (ev_view_zoom_out), (ev_view_zoom_normal):
3011 * shell/ev-window.c: (update_action_sensitivity),
3012 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3013 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3014 (ev_window_cmd_view_normal_size):
3016 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3017 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3020 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3024 Depend on 2.57, 2.59 doesnt seem to be necessary
3026 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3028 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3031 Put back total number of pages as (1 of 1234)
3033 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3035 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3038 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3039 function. This helps debugging.
3041 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3043 * djvu/djvu-document.c: (djvu_document_class_init),
3044 (djvu_document_get_info), (djvu_document_document_iface_init):
3045 * dvi/dvi-document.c: (dvi_document_class_init),
3046 (dvi_document_get_info), (dvi_document_document_iface_init):
3048 Dummy implementation of get_info method for dvi and djvu. Fix
3049 crashes with those backends
3051 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3053 * data/evince.desktop.in:
3055 Add application/x-gzpostscript
3057 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3059 * data/evince.schemas.in: Added real long descriptions,
3062 * README: Added actual text, closes bug 171869
3064 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3066 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3070 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3072 * backend/ev-document-info.h:
3074 s/GDate */GDate so we can just use g_free
3076 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3078 * shell/ev-window.c: (update_document_mode),
3079 (ev_window_setup_document):
3081 Show the window in fullscreen when specified by
3084 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3086 * backend/ev-document.c: (ev_document_class_init),
3087 (ev_document_get_info), (ev_document_render_pixbuf):
3088 * backend/ev-document.h:
3089 * backend/ev-page-cache.c: (_ev_page_cache_new):
3090 * pdf/ev-poppler.cc:
3091 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3092 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3093 * ps/ps-document.c: (ps_document_class_init), (document_load),
3094 (ps_document_get_info), (ps_document_document_iface_init):
3096 Remove get_title from the interface, we can just use document info
3098 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3100 * backend/Makefile.am:
3101 * backend/ev-document.c: (ev_document_render_get_info):
3102 * backend/ev-document.h:
3103 * pdf/ev-poppler.cc:
3105 Initial support for document info. Based on jrb patch.
3107 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3109 * shell/ev-window.c: (ev_window_state_event),
3110 (ev_window_class_init), (ev_window_init):
3112 Doesn't show resize grip when maximized. See bug #301053
3114 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3118 ev-sidebar-thumbnails now has translatable labels
3120 * shell/Makefile.am:
3121 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3122 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3123 (ev_sidebar_links_page_iface_init):
3124 * shell/ev-sidebar-links.h:
3125 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3126 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3127 (ev_sidebar_page_get_label):
3128 * shell/ev-sidebar-page.h:
3129 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3130 (ev_sidebar_thumbnails_set_document),
3131 (ev_sidebar_thumbnails_support_document),
3132 (ev_sidebar_thumbnails_get_label),
3133 (ev_sidebar_thumbnails_page_iface_init):
3134 * shell/ev-sidebar-thumbnails.h:
3135 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3136 (ev_sidebar_set_document):
3137 * shell/ev-sidebar.h:
3138 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3140 Small rework of sidebar code. Now sidebar pages should implement
3141 EvSidebarPage interface. That makes page management in EvSidebar
3142 easier. See bug #164811 for details
3144 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3146 * shell/ev-application.c: (ev_application_open):
3147 * shell/ev-document-types.c:
3149 Fix build error and small problem with application exit
3151 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3153 * thumbnailer/Makefile.am:
3154 * thumbnailer/evince-thumbnailer-djvu.schemas:
3155 * thumbnailer/evince-thumbnailer-dvi.schemas:
3157 Conditionally install schemas for djvu/dvi thumbnailer
3159 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3161 * shell/ev-document-types.h:
3162 * shell/ev-document-types.c:
3163 New files, handling the mapping from mimetypes to backends
3165 * shell/ev-window.c:
3166 * thumbnailer/evince-thumbnailer.c:
3167 Use the ev-document-types code
3169 * shell/Makefile.am:
3170 Added new convenience library libevbackendfactory_la, containing
3171 the new mimetype->backend logic; moved the backends into it.
3173 * thumbnailer/Makefile.am:
3174 Make the thumbnailer link with the libevbackend.la convenience
3175 library, rather than having a duplicate of the backend logic here.
3177 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3179 * shell/ev-stock-icons.c: constify some vars.
3180 * shell/ev-window.c: ditto.
3182 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3184 * ps/ps-document.c (get_page_orientation):
3186 Respect document orientation
3188 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3192 * shell/Makefile.am:
3194 Move library dependencies to components.
3196 * shell/ev-window.c: (update_window_title),
3197 (start_loading_document):
3199 Fix display of uris with spaces. Bug 168358.
3201 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3203 * shell/ev-sidebar-links.c: (selection_changed_cb):
3204 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3205 (ev_view_button_release_event), (ev_view_set_document):
3207 * shell/ev-window.c: (find_bar_search_changed_cb):
3208 * shell/ev-window.h: Minor cleanups removing some dead code.
3210 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3212 * backend/ev-page-cache.c: (_ev_page_cache_new):
3214 Set current page to 0 if document has pages.
3216 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3218 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3220 Initialize GError to NULL, fix a crash when loading fails.
3222 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3224 * shell/ev-window.c: (update_view_size):
3226 Calculate shadow size only when there is actually
3229 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3231 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3234 Allow setting view spacing, default to 0
3236 * shell/ev-window.c: (ev_window_unfullscreen),
3237 (ev_window_cmd_view_fullscreen), (ev_window_init):
3239 Remove spacing in fullscreen mode
3241 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3243 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3244 (ev_view_size_request), (expose_bin_window),
3245 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3247 * shell/ev-window.c: (ev_window_unfullscreen),
3248 (ev_window_cmd_view_fullscreen):
3250 Do not draw the border in fulscreen
3252 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3254 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3255 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3256 (find_page_at_location), (page_changed_cb):
3258 Rework border calculation, so that I can more easily disable it.
3259 Code somewhat cleaner too.
3261 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3263 * backend/ev-page-cache.c: (ev_page_cache_init),
3264 (_ev_page_cache_new):
3266 Remove some assertions, documents can have 0 pages.
3267 Make initial current page -1.
3269 * shell/ev-page-action.c: (page_changed_cb):
3271 Show "" if current page is -1
3273 * shell/ev-window.c: (update_action_sensitivity),
3274 (ev_window_setup_document):
3276 When document has 0 pages do not set the view
3277 and make nearly everything insensitive.
3279 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3281 * shell/ev-page-view.c:
3282 * shell/ev-page-view.h:
3284 Remove unused files.
3286 * shell/ev-sidebar-thumbnails.c:
3287 (ev_sidebar_thumbnails_set_document):
3288 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3289 (ev_sidebar_supports_document):
3290 * shell/ev-sidebar.h:
3291 * shell/ev-window.c: (ev_window_setup_document):
3293 Doesn't show thumbnails if document has 1 page. Make
3294 sidebar menu entries sensitive only if if they have
3295 sense. Fix bug 164811.
3297 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3299 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3300 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3301 (ev_view_zoom_out), (ev_view_set_size):
3303 Rework sizing to deal with documents with not uniform page
3306 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3308 * backend/ev-page-cache.c: (_ev_page_cache_new):
3310 Fix several page size caching bugs
3312 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3314 * shell/ev-window.c: (set_action_properties):
3316 Make all toolbar items translatable
3318 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3320 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3321 (save_page_list), (ps_document_save),
3322 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3323 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3324 (ps_document_ps_exporter_iface_init):
3327 Based on a patch by J�rg Billeter <j@bitron.ch>
3329 Implement print and save a copy for the ps backend.
3331 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3333 * backend/ev-document.h:
3334 * djvu/djvu-document.c: (djvu_document_can_get_text),
3335 (djvu_document_document_iface_init):
3336 * dvi/dvi-document.c: (dvi_document_can_get_text),
3337 (dvi_document_document_iface_init):
3338 * pdf/ev-poppler.cc:
3339 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3340 (pixbuf_document_document_iface_init):
3341 * ps/ps-document.c: (ps_document_can_get_text),
3342 (ps_document_document_iface_init):
3343 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3344 * shell/ev-window.c: (update_action_sensitivity):
3346 Fix the crash when trying to copy in backends that doesnt
3347 support it. We can implement a better solution once we
3348 do real text selection.
3350 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3352 * data/evince-ui.xml:
3353 * shell/ev-window.c: (ev_window_cmd_escape):
3355 Work around the Escape conflict (find bar and unfullscreen)
3357 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3359 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3361 Fix for #300233. Next page correctly handles document end.
3363 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3364 (ev_sidebar_thumbnails_class_init),
3365 (ev_sidebar_thumbnails_set_document),
3366 (ev_sidebar_thumbnails_clear_job),
3367 (ev_sidebar_thumbnails_clear_model):
3369 Cleanup thumbnail jobs on document changes.
3371 * shell/ev-view.c: (add_scroll_binding_keypad),
3372 (add_scroll_binding_shifted), (ev_view_class_init):
3374 Shift + Space scrolls up. Fix for #173184
3376 * shell/ev-window.c: (ev_window_open_page),
3377 (ev_window_cmd_view_reload):
3379 Fix reload (Bug #300094)
3381 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3384 * dvi/mdvi-lib/assoc.c:
3385 * dvi/mdvi-lib/assoc.h: Removed garbage files
3387 * dvi/mdvi-lib/bitmap.c:
3388 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3389 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3390 * dvi/mdvi-lib/color.h: Antialias of rules
3392 * dvi/mdvi-lib/common.h:
3393 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3394 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3395 * dvi/mdvi-lib/files.c:
3396 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3397 * dvi/mdvi-lib/mdvi.h:
3398 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3399 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3400 * dvi/mdvi-lib/util.c: Fix compile warnings
3402 * dvi/dvi-document.c:
3403 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3404 (dvi_document_thumbnails_get_thumbnail),
3405 (dvi_document_document_thumbnails_iface_init):
3406 * dvi/mdvi-lib/Makefile.am:
3407 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3408 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3410 Dvi backend now renders thumbnails
3412 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3414 * shell/main.c: (main):
3416 Save accelerators on exit. Fixes bug #172095.
3418 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3420 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3421 update priority" comment.
3423 * backend/ev-job-queue.c: Give a way to change priority.
3425 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3427 * shell/ev-page-action.c: Fix logic.
3429 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3431 * shell/ev-view.c: (ev_view_can_find_next):
3432 * shell/ev-window.c: (ev_window_setup_document):
3434 Check that the document supports find
3436 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3438 * data/evince-ui.xml:
3439 * shell/ev-view.c: (ev_view_can_find_next):
3441 * shell/ev-window.c: (update_action_sensitivity),
3442 (find_changed_cb), (ev_window_setup_document),
3443 (ev_window_cmd_edit_find_next):
3447 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3449 * pdf/ev-poppler.cc:
3450 * shell/ev-print-job.c: (idle_print_handler):
3452 Make printing work again
3454 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3456 * shell/ev-page-action.h:
3457 * shell/ev-page-action.c: (ev_page_action_widget_init),
3458 (ev_page_action_widget_class_init), (page_changed_cb),
3459 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3460 (get_filter_model_from_model), (match_selected_cb),
3461 (display_completion_text), (match_completion), (update_model),
3462 (connect_proxy), (ev_page_action_set_property),
3463 (ev_page_action_get_property), (ev_page_action_set_document),
3464 (ev_page_action_set_model), (ev_page_action_class_init): Big
3465 reworking to make completions work iff we have >= GTK-2.7.0
3467 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3468 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3469 (job_finished_cb): We now have a 'model' property that is set when
3470 the links are loaded. This can be caught with "notify::model"
3472 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3473 listen for the model to be set, and propagate it to the action.
3475 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3477 * cut-n-paste/recent-files/egg-recent-item.c:
3478 (egg_recent_item_set_uri), (make_valid_utf8),
3479 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3480 * cut-n-paste/recent-files/egg-recent-item.h:
3482 Update egg-recent from libegg. This should fix long
3483 startup problem. For details see
3484 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3486 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3488 * cut-n-paste/recent-files/Makefile.am:
3489 * data/evince-ui.xml, shell/Makefile.am:
3490 * shell/ev-application.c, shell/ev-application.h:
3491 * shell/ev-window.c: Recent files support.
3493 * configure.ac: Added "ru" to ALL_LINGUAS.
3495 * dvju: new backend to support DJVU files.
3496 * dvi: new backend to support DVI.
3498 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3499 * ev-application.c: Support for new backends.
3501 * help, ev-window.c, main.c shell/Makefile.am:
3502 Evince user documentation.
3504 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3507 * shell/ev-window.c:
3508 * thumbnailer/evince-thumbnailer.c:
3510 s/pdf-document/ev-poppler
3512 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3519 * ps/ps-document.c: (setup_pixmap):
3523 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3525 * backend/ev-page-cache.c (ev_page_cache_next_page):
3526 * shell/ev-window.c (ev_window_cmd_go_next_page)
3527 (ev_window_cmd_go_first_page): Fix of by one errors.
3529 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3531 * ps/ps-document.c: (get_page_box):
3533 Fix page size calculation
3535 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3537 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3538 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3539 (get_page_orientation), (setup_page), (document_load),
3540 (ps_document_get_page_size), (render_pixbuf_idle):
3543 More refactoring to adapt to EvDocument changes
3545 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3547 * ps/ps-document.c: (start_interpreter):
3549 Actually add alpha args
3551 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3553 * pdf/ev-poppler.cc:
3555 Make clipboard work again
3557 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3559 Make searching work again.
3561 * backend/ev-document.c:
3562 * backend/ev-document.h:
3563 * backend/ev-document-find.c:
3564 * backend/ev-document-find.h: Change EvDocumentIface so we no
3565 longer store the current page or zoom level in the document. The
3566 consequence is that all calls that operate on the current page now
3567 instead take the page number as an extra argument, and all
3568 coordinates are now doubles in document coordinate system.
3570 * pdf/ev-poppler.cc:
3571 * pixbuf/pixbuf-document.c:
3572 * ps/ps-document.c: Update backends accordingly.
3574 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3578 Add required gettext version
3580 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3582 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3583 make F1 bring up non-existent help.
3585 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3586 epiphany's find bar, #167477
3588 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3589 <emil@nishra.com> to add space-bar scrolling,
3591 * shell/ev-window.c (static GtkActionEntry entries): add default
3592 keybinding for Help (F1)
3595 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3596 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3599 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3602 * pixbuf/pixbuf-document.c:
3604 Got pixbuf backend working again
3606 2005-04-01 Steve Murphy <murf@e-tools.com>
3608 * configure.in: Added "rw" to ALL_LINGUAS.
3610 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3612 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3613 model types, noticed by Martin Kretzschmar.
3615 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3617 * pdf/ev-poppler.cc: Implement search based on
3618 poppler_page_find_text(). Currently a bit crude since we remember
3619 all matches from all pages. Also, we grab the big document lock
3620 when we search since searching changes the underlying stream and
3621 thus conflicts with the rendering thread.
3623 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3624 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3625 (ev_view_find_previous): Fix some page indexes to be 0 based,
3626 offset rubber band by view offset,
3628 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3630 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3632 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3634 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3635 completely because I didn't understand GtkActions. I should
3636 read Marco's code more carefully in the future.
3638 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3641 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3643 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3644 PopplerRectangle change from poppler CVS.
3646 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3648 * backend/ev-document.c: (ev_document_get_page_label):
3649 * backend/ev-document.h:
3650 * backend/ev-page-cache.c: (_ev_page_cache_new),
3651 (ev_page_cache_get_page_label):
3652 * backend/ev-page-cache.h:
3653 * pdf/ev-poppler.cc:
3654 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3655 (links_page_num_func):
3656 * shell/ev-sidebar-thumbnails.c:
3657 (ev_sidebar_thumbnails_set_document):
3658 * shell/ev-view.c: (status_message_from_link),
3659 (ev_view_motion_notify_event):
3660 * shell/ev-window.c: (document_supports_sidebar): Add in page
3661 label support. It's not perfect yet, but it's the first 'feature'
3663 Also, fix a bogus comment noticed by crispin.
3665 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3667 * Makefile.am: Remove pixbuf backend for now
3669 * configure.ac: Require poppler-glib instead of just poppler.
3671 * backend/ev-document-thumbnails.h: Add a comment
3673 * backend/ev-document.h:
3674 * backend/ev-document.c: (ev_document_class_init),
3675 (ev_document_load), (ev_document_get_link),
3676 (ev_document_get_links): Remove 3 methods and add get_links.
3679 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3680 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3682 * backend/ev-link.c: (ev_link_set_title),
3683 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3684 (ev_link_mapping_find):
3685 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3687 * backend/ev-page-cache.c: (ev_page_cache_init),
3688 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3689 (ev_page_cache_get_size), (ev_page_cache_next_page),
3690 (ev_page_cache_prev_page): Fix to be 0 based.
3694 * pdf/ev-poppler.cc: New backend.
3696 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3697 (ps_document_get_page), (ps_document_document_iface_init):
3699 * shell/ev-pixbuf-cache.h:
3700 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3701 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3702 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3703 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3704 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3705 Fix up code to grab a page cache per each doc. Also, fix to be 0
3708 * shell/ev-sidebar-thumbnails.c:
3709 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3710 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3712 * shell/ev-view.c: (status_message_from_link),
3713 (find_page_at_location), (get_link_at_location),
3714 (ev_view_motion_notify_event), (ev_view_button_release_event),
3715 (ev_view_init): Use the new link code. Fix to be 0 based.
3717 * shell/ev-window.c: (update_action_sensitivity),
3718 (document_supports_sidebar): 0 based.
3720 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3722 * pdf/pdf-document.cc: Patch from Fernando Herrera
3723 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3726 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3728 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3729 1 to the page, as this seems to be 1 based. I thought we has this
3732 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3735 * backend/Makefile.am:
3736 * backend/ev-document-links.c:
3737 (ev_document_links_has_document_links),
3738 (ev_document_links_get_links_model):
3739 * backend/ev-document-links.h:
3740 * backend/ev-document.c: (ev_document_get_page_cache),
3741 (ev_document_get_doc_mutex), (ev_document_load),
3742 (ev_document_save), (ev_document_get_title),
3743 (ev_document_get_n_pages), (ev_document_set_page),
3744 (ev_document_get_page), (ev_document_set_target),
3745 (ev_document_set_scale), (ev_document_set_page_offset),
3746 (ev_document_get_page_size), (ev_document_get_text),
3747 (ev_document_get_link), (ev_document_render),
3748 (ev_document_render_pixbuf), (ev_document_scale_changed):
3749 * backend/ev-document.h:
3750 * backend/ev-job-queue.c: (remove_object_from_queue),
3751 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3752 (no_jobs_available_unlocked), (ev_render_thread),
3753 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3754 (ev_job_queue_remove_job):
3755 * backend/ev-job-queue.h:
3756 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3757 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3758 (ev_job_links_class_init), (ev_job_render_init),
3759 (ev_job_render_dispose), (ev_job_render_class_init),
3760 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3761 (ev_job_thumbnail_class_init), (ev_job_finished),
3762 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3763 (ev_job_render_run), (ev_job_thumbnail_new),
3764 (ev_job_thumbnail_run):
3765 * backend/ev-jobs.h:
3766 * backend/ev-link.c:
3767 * backend/ev-link.h:
3768 * backend/ev-page-cache.c: (ev_page_cache_init),
3769 (ev_page_cache_class_init), (ev_page_cache_finalize),
3770 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3771 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3772 (ev_page_cache_set_link), (ev_page_cache_get_title),
3773 (ev_page_cache_get_size), (ev_page_cache_next_page),
3774 (ev_page_cache_prev_page):
3775 * backend/ev-page-cache.h:
3776 * pdf/pdf-document.cc:
3779 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3780 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3781 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3782 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3783 (is_interpreter_ready), (output), (catchPipe), (input),
3784 (start_interpreter), (check_filecompressed), (compute_dimensions),
3785 (ps_document_enable_interpreter), (document_load),
3786 (ps_document_next_page), (render_page), (ps_document_set_page),
3787 (ps_document_set_scale), (render_pixbuf_idle),
3788 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3790 * shell/Makefile.am:
3791 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3792 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3793 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3794 (ev_pixbuf_cache_new), (job_finished_cb),
3795 (check_job_size_and_unref), (move_one_job),
3796 (ev_pixbuf_cache_update_range), (find_job_cache),
3797 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3798 (ev_pixbuf_cache_add_jobs_if_needed),
3799 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3800 * shell/ev-pixbuf-cache.h:
3801 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3802 (idle_print_handler):
3803 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3804 (selection_changed_cb), (create_loading_model),
3805 (ev_sidebar_links_construct), (links_page_num_func),
3806 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3807 (update_page_callback), (job_finished_cb),
3808 (ev_sidebar_links_set_document):
3809 * shell/ev-sidebar-thumbnails.c:
3810 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3811 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3812 (page_changed_cb), (thumbnail_job_completed_callback),
3813 (ev_sidebar_thumbnails_set_document):
3814 * shell/ev-sidebar-thumbnails.h:
3815 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3816 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3817 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3818 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3819 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3820 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3821 (ev_view_button_release_event), (ev_view_scroll_view),
3822 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3823 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3824 (ev_view_new), (job_finished_cb), (page_changed_cb),
3825 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3826 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3827 (ev_view_find_previous):
3829 * shell/ev-window.c: (update_action_sensitivity),
3830 (ev_window_open_page), (update_window_title), (update_total_pages),
3831 (page_changed_cb), (ev_window_setup_document),
3832 (password_dialog_response), (ev_window_cmd_save_as),
3833 (ev_window_print), (ev_window_cmd_go_previous_page),
3834 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3835 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3836 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3837 * shell/main.c: (main):
3839 Merge evince-threads branch
3841 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3843 * configure.ac: Added "lt" to ALL_LINGUAS.
3845 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3852 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3854 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3856 Fix here also the thumbnails 1-basedness :)
3858 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3865 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3867 * pdf/pdf-document.cc:
3868 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3869 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3871 Fix the mess we did with thumbnails and 1-basedness
3873 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3875 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3877 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3884 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3887 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3888 (gtk_gs_defaults_get_alpha_parameters),
3889 (gtk_gs_defaults_get_ungzip_cmd),
3890 (gtk_gs_defaults_get_unbzip2_cmd):
3892 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3893 (ps_document_get_orientation), (document_load),
3894 (ps_document_goto_page), (ps_document_set_page_size):
3897 Some more sanitization of the ps backend. Remove a lot
3898 of unused code and do not base our defaults on ggv
3901 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3903 * thumbnailer/evince-thumbnailer.schemas:
3904 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3905 (main): add -s option for thumbnail size.
3907 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3911 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3914 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3916 * pdf/pdf-document.cc:
3918 Remove 4 pixels of useless border from the
3921 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3923 * backend/ev-document-thumbnails.c:
3924 (ev_document_thumbnails_get_thumbnail):
3925 * backend/ev-document-thumbnails.h:
3927 Rework API a bit. Add a border flag and
3928 change sizing logic (now the size we specify
3929 applies to the bigger dimension).
3931 * pdf/pdf-document.cc:
3932 * pixbuf/pixbuf-document.c:
3933 (pixbuf_document_thumbnails_get_thumbnail):
3934 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3935 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3937 Adapt to the new API and do not draw a border for nautilus
3940 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3942 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3943 take thumbnails from page "0" instead of "1". Added a copyright header.
3945 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3947 * ps/ps-document.c: (set_up_page), (start_interpreter):
3949 Make it C89 compliant
3951 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3956 * pdf/pdf-document.cc:
3957 * thumbnailer/Makefile.am:
3958 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3960 * thumbnailer/evince-thumbnailer.schemas:
3961 * thumbnailer/pdf-icon.png:
3963 Add a nautilus thumbnailer.
3964 Based on patch by Fernando Herrera <fherrera@onirica.com>.
3966 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
3974 2005-03-01 Kristian Høgsberg <krh@redhat.com>
3976 Use poppler instead of including xpdf source code. Poppler is a
3977 fork of xpdf to build it as a shared library. See
3978 http://freedesktop.org/wiki/Software/poppler.
3980 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3983 * pdf/Makefile.am: Build libpdfdocument.a here.
3985 * pdf/GDKSplashOutputDev.cc:
3986 * pdf/GDKSplashOutputDev.h:
3987 * pdf/GnomeVFSStream.cc:
3988 * pdf/GnomeVFSStream.h:
3991 * test-gdk-output-dev.cc
3993 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3996 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
3998 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4000 Clear idle stack before unsetting the document
4002 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4004 * ps/ps-document.c: (ps_document_widget_event),
4005 (ps_document_set_target), (ps_document_finalize),
4006 (ps_document_get_page):
4008 Disconnect the widget event signal on finalize.
4011 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4013 * ps/ps-document.c: (set_up_page):
4015 If there is no bpixmap create one, even if size
4018 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4020 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4021 (set_up_page), (document_load), (ps_document_set_zoom):
4023 Default page is 0. Calculate size even when we have no
4026 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4028 * shell/ev-sidebar.c: expand the selection widget to be always as
4031 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4033 * shell/ev-sidebar-thumbnails.c:
4034 (ev_sidebar_thumbnails_set_document):
4036 Clear the list store when setting document
4038 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4040 * shell/ev-page-action.c: (update_entry), (sync_entry),
4041 (activate_cb), (entry_size_request_cb), (create_tool_item),
4044 Use an entry for the page control instead of spinbuttons
4046 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4048 * data/evince.schemas.in:
4050 Correct confusing string
4052 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4054 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4055 for real. Gosh, how long has this been broken.
4057 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4058 check for a NULL link. We crash otherwise.
4060 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4067 2005-02-25 Sebastien Bacher <seb128@debian.org>
4069 * configure.ac: add the french translation.
4071 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4073 * shell/ev-window.c:
4075 Remove unused header -> fix distcheck
4077 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4079 * shell/ev-window.c: (update_window_title),
4080 (ev_window_popup_password_dialog):
4082 Unescape filename for display
4084 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4086 * pdf/xpdf/pdf-document.cc:
4088 In get_page_size deal with rotation. Also
4089 cleanup the function a bit.
4091 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4093 * pdf/xpdf/pdf-document.cc:
4095 Fix crash when opening in new window
4097 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4101 Check ghostscript >= 7
4103 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4105 * shell/ev-window.c:
4107 Make page width the default sizing mode
4109 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4110 Marco Pesenti Gritti <marco@gnome.org>
4112 * shell/ev-window.c: Remember the sidebar size
4114 * data/evince.schemas.in: Add a new gconf key to store the size of
4117 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4119 * data/evince-ui.xml:
4120 * shell/ev-window.c: (update_action_sensitivity),
4121 (ev_window_cmd_view_reload):
4123 Add a "Reload" action and menu entry
4125 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4127 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4128 iff the type doesn't support thumbnailing and indexing.
4130 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4132 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4134 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4136 * pdf/splash/Splash.cc:
4138 Port fix for a crasher from kde bug
4139 http://bugs.kde.org/show_bug.cgi?id=97131
4141 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4143 * pdf/xpdf/pdf-document.cc:
4145 Return a link even if it's of an unrecognized
4146 type. Otherwise we go in an infinte cycle.
4148 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4150 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4151 (size_allocate_cb), (ev_window_set_sizing_mode):
4153 Update size when switching mode
4155 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4157 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4158 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4159 (ev_window_cmd_view_normal_size):
4161 Fix size toggle buttons behavior
4163 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4165 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4166 (doc_rect_to_view_rect), (ev_view_size_allocate),
4167 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4168 (scale_changed_callback):
4170 Do not cache offsets in size_allocate.
4172 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4174 * shell/ev-view.c: (ev_view_size_allocate):
4176 Calculate offsets before calling the parent
4177 class (which does a redraw)
4179 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4181 * pdf/xpdf/pdf-document.cc:
4183 Fix a crasher on exit. Unused code, put a TODO
4185 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4187 * backend/ev-document.c: (ev_document_class_init),
4188 (ev_document_page_changed), (ev_document_scale_changed):
4189 * backend/ev-document.h:
4191 Separate page/scale notifications
4193 * pdf/xpdf/pdf-document.cc:
4195 Emit the new signals.
4196 Do not display the pdf page in _render, do it
4197 when scale/page are requested.
4199 * ps/ps-document.c: (ps_document_set_zoom),
4200 (ps_document_widget_event):
4203 Emit the new signals.
4205 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4206 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4207 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4208 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4210 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4211 (ev_window_cmd_view_page_width), (size_allocate_cb),
4212 (ev_window_set_sizing_mode):
4214 Rework sizing to be pixel based.
4215 There are bugs but should be already way better.
4217 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4219 * shell/ev-window.c: (ev_window_init):
4221 Do not allow to shrink sidebar smaller then
4224 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4226 * shell/ev-sidebar.[ch]
4227 * shell/ev-window.c:
4229 Improved sidebar widget. Fixes #166683
4231 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4233 * shell/ev-view.c (update_find_status_message): Give translators
4234 more flexibility with ngettext plural handling.
4236 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4238 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4239 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4240 page when we get the page size.
4242 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4244 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4246 ps pages are 0 based, convert
4248 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4250 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4252 Initialize correct parent class. Set GError on document load
4254 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4256 * pdf/xpdf/pdf-document.cc:
4258 Fixup selection offset calculation
4260 * shell/ev-view.c: (view_rect_to_doc_rect),
4261 (doc_rect_to_view_rect), (ev_view_size_allocate),
4262 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4263 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4265 Store selection as document relative, so that zooming
4266 and offset changing doesnt break it.
4268 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4270 * shell/ev-view.c: (ev_view_best_fit):
4272 Do not try to best fit if the view is not realized
4274 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4276 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4278 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4280 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4282 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4284 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4285 the popup window. That prevents it resizing when in full screen
4288 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4289 multiple rerenders. This pretty much sucks.
4291 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4292 rest of the toolbar.
4294 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4296 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4298 2005-02-17 Alexander Shopov <ash@contact.bg>
4300 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4302 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4304 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4306 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4308 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4309 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4310 (set_document_page), (document_changed_callback),
4311 (ev_view_set_document), (ev_view_find_previous),
4312 (ev_view_hide_cursor), (ev_view_show_cursor):
4314 * shell/ev-window.c: (update_chrome_visibility),
4315 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4316 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4317 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4318 (ev_window_unfullscreen):
4319 * shell/main.c: (main):
4321 Automatically hide the fullscreen button.
4322 Patch by Kristian Høgsberg <krh@redhat.com>
4324 2005-02-16 Vincent Noel <vnoel@cox.net>
4326 * shell/main.c (main): Specify an icon for the window. Patch by
4327 Jaap A. Haitsma. Fixes #166177.
4329 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4331 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4333 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4335 * backend/ev-document-misc.h:
4336 * backend/ev-document-misc.c:
4337 (ev_document_misc_get_page_border_size),
4338 (ev_document_misc_paint_one_page): New function to canonicalize
4339 sizing/painting a border.
4341 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4344 * pdf/xpdf/pdf-document.cc: use new function
4346 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4347 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4348 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4349 shell/ev-window.c: (update_sizing_buttons),
4350 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4351 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4352 (ev_window_cmd_view_page_width), (size_allocate_cb),
4353 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4354 and "fit width" values act as toggle buttons so they stay
4355 toggled. It's not 100% perfect, and it's a little slow, but it's
4356 good enough to commit I think.
4358 2005-02-15 David Lodge <dave@cirt.net>
4360 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4362 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4364 * shell/ev-window.c (update_window_title): replace newlines in
4365 the title by spaces. Bug #166107.
4367 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4369 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4370 parameters providing allocation width and height without
4371 scrollbars and width of a possible vertical scrollbar. With this
4372 additional information the functions can work as
4373 intended. Unfortunately they're not idempotent. We should
4374 transform these commands to toggles. Fixes Bug #164976
4375 Initial patch by Stephane Loeuillet, then heavily modified.
4377 * shell/ev-view.h: update prototypes.
4379 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4380 (ev_window_cmd_view_page_width): provide EvView fit functions with
4381 all the information they need. Formulas to calculate this
4382 information taken from GtkScrolledWindow.
4384 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4386 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4387 created a thumbnail, the list store is updated to know
4388 that the thumbnail is set. Fixes bug #166792
4390 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4392 * shell/ev-window.c: fixed typo, closes bug 166897
4394 * TODO: updated TODO with bug numbers that are relevant
4396 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4398 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4400 2005-02-09 Vincent Noel <vnoel@cox.net>
4402 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4403 and "Next" toolbar buttons as important to make them stand out.
4405 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4409 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4410 (start_interpreter), (stop_interpreter), (document_load),
4411 (ps_document_next_page), (ps_document_goto_page),
4412 (ps_document_set_page_size), (ps_document_widget_event),
4413 (ps_document_render):
4414 * shell/ev-page-view.c: (ev_page_view_dispose):
4415 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4417 Fix compilation on non-gcc platforms
4419 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4426 * pdf/xpdf/Catalog.cc:
4429 Fix the fix for CAN-2004-0888
4431 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4434 * data/evince-ui.xml:
4435 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4436 * shell/ev-stock-icons.h:
4437 * shell/ev-window.c: (update_action_sensitivity),
4438 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4439 (set_action_properties):
4441 Improve toolbar layout/icons
4443 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4445 * pdf/xpdf/pdf-document.cc:
4447 Add warnings about unimplemented/unknown link
4450 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4452 * ps/ps-document.c: (set_up_page):
4456 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4458 * ps/ps-document.c: (start_interpreter):
4462 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4464 * shell/ev-page-view.c: (ev_page_view_dispose):
4465 * shell/ev-view.c: (ev_view_finalize):
4466 * shell/ev-window.c: (ev_window_setup_document),
4467 (ev_window_dispose), (ev_window_init):
4469 Solve more refs issues.
4471 I commented out the page_view initialization for now:
4472 it was never destroyed (because it's never added
4473 to a container). Because of that we was leaking
4474 gs processes. Couldnt think to a clean fix.
4475 We need to figure this out, password view has the
4476 same issue probably.
4478 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4480 * ps/ps-document.c: (ps_document_finalize),
4481 (ps_document_get_n_pages), (ps_document_get_page):
4483 Some cleanups, stop the interpreter on finalize
4485 * shell/ev-page-view.c: (ev_page_view_dispose),
4486 (ev_page_view_class_init):
4488 Release our reference on the document
4490 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4494 * doc/debugging.txt:
4497 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4498 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4499 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4502 Add debugging helpers
4505 * ps/ps-document.c: (set_up_page), (start_interpreter),
4506 (stop_interpreter), (document_load), (ps_document_next_page),
4507 (ps_document_goto_page), (ps_document_set_page_size),
4508 (ps_document_widget_event), (ps_document_render):
4509 * shell/Makefile.am:
4510 * shell/ev-view.c: (expose_bin_window):
4511 * shell/main.c: (main):
4515 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4517 * ps/ps-document.c: (ps_document_widget_event):
4519 Initialize message_window, this should make ps
4520 rendering really work! (Never noticed because I was
4521 testing with a ps that is causing gs to exit every time!)
4523 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4525 * data/evince.schemas.in: updated simple error in applyto closing tag
4527 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4533 * data/evince-ui.xml:
4534 A data/evince.schemas.in:
4536 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4537 * shell/ev-stock-icons.h:
4538 * shell/ev-window.c: (update_chrome_visibility),
4539 (update_chrome_flag), (ev_window_cmd_edit_find),
4540 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4541 (ev_window_unfullscreen), (ev_window_focus_in_event),
4542 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4543 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4544 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4545 (ev_window_dispose), (ev_window_class_init),
4546 (set_action_properties), (set_chrome_actions), (load_chrome),
4549 Implement fullscreen mode changes from bug #164776.
4550 Also implement persistent chrome toggles.
4552 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4554 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4556 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4562 Add another check for find interface
4566 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4568 * shell/ev-application.c: (ev_application_open):
4569 * shell/ev-window.c: (ev_window_open):
4571 Open gzipped ps documents
4573 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4576 * shell/ev-view.c: (set_document_page):
4578 Clamp page number, dont try to move to
4581 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4583 * backend/ev-document-find.c: (ev_document_find_changed):
4584 * backend/ev-document-find.h:
4585 * pdf/xpdf/pdf-document.cc:
4586 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4587 * shell/ev-window.c: (find_bar_search_changed_cb):
4589 Fix several bugs with find
4591 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4593 * shell/ev-sidebar-thumbnails.c
4594 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4595 document. Prevents warning from scroll_to_cell.
4597 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4599 * configure.ac: Add «nb» to ALL_LINGUAS too.
4601 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4603 * NOTES: New file with some random thoughts.
4607 * backend/ev-document-misc.c:
4608 (ev_document_misc_get_page_border_size): New function to
4609 canonicalize shadow drawing sizes. Possibly goofy.
4611 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4612 (ev_view_best_fit), (ev_view_fit_width):
4613 * pdf/xpdf/pdf-document.cc:
4614 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4615 * ps/ps-document.c: (ps_document_get_page_size):
4616 * backend/ev-document-misc.h:
4617 * backend/ev-document.c: (ev_document_get_page_size):
4618 * backend/ev-document.h: get_page_size now takes a page number
4619 parameter. Made all the backends/frontends honor it.
4621 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4622 see. Doesn't work yet.
4624 * shell/Makefile.am:
4625 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4626 Doesn't do anything yet.
4628 * shell/ev-sidebar-thumbnails.c:
4629 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4632 * shell/ev-window.c: (update_action_sensitivity),
4633 (ev_window_setup_document), (ev_window_set_page_mode),
4634 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4635 view-swapping code a bit so we can have multiple views on a
4636 document. Add the multi-page view, though it can't be turned on
4639 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4641 * shell/ev-application.c: (ev_application_open):
4642 * shell/ev-view.c: (expose_bin_window):
4643 * shell/ev-window.c: (ev_window_open):
4645 Support eps and check document supports find
4646 before drawing highlightings in expose.
4648 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4650 * pixbuf/pixbuf-document.c:
4651 (pixbuf_document_thumbnails_get_dimensions),
4652 (pixbuf_document_document_thumbnails_iface_init):
4654 implement get_dimensions
4656 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4663 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4665 * shell/ev-view.c: (set_document_page):
4667 Scroll at the top of the page when changing page
4669 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4671 * shell/ev-view.c: (ev_view_motion_notify_event):
4673 Do not redraw unnecessarily
4675 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4677 * pdf/xpdf/pdf-document.cc:
4678 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4679 (expose_bin_window), (find_changed_cb):
4681 Yay! find works now... Now to find bugs...
4683 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4685 * backend/ev-document-find.c: (ev_document_find_base_init),
4686 (ev_document_find_changed):
4687 * backend/ev-document-find.h:
4688 * pdf/xpdf/pdf-document.cc:
4689 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4690 (expose_bin_window), (ev_view_init), (set_document_page),
4691 (ensure_rectangle_is_visible), (jump_to_find_result),
4692 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4693 (ev_view_find_next), (ev_view_find_previous):
4695 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4697 More work on find implementation, mostly there now
4699 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4701 * backend/ev-backend-marshalers.list:
4702 * backend/ev-document-find.c: (ev_document_find_base_init),
4703 (ev_document_find_cancel), (ev_document_find_page_has_results),
4704 (ev_document_find_get_n_results), (ev_document_find_get_result),
4705 (ev_document_find_get_progress), (ev_document_find_changed):
4706 * backend/ev-document-find.h:
4708 Enanche the find interface to be really able to do
4711 * pdf/xpdf/pdf-document.cc:
4715 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4716 (expose_bin_window), (ev_view_init),
4717 (ev_view_get_find_status_message), (find_changed_cb),
4718 (ev_view_set_document), (set_document_page):
4720 Adapt to the new interface. A few things are regressed sorry,
4721 I will finish it soon.
4723 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4725 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4726 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4727 ev_sidebar_thumbnails_parent_class variable, don't define another
4728 parent_class variable.
4730 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4731 (ev_page_action_class_init): ditto.
4733 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4734 (pixbuf_document_class_init): ditto.
4736 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4739 * .cvsignore: ignore various valgrind output files.
4741 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4743 * data/evince-ui.xml:
4744 * shell/Makefile.am:
4745 * shell/ev-history.c:
4746 * shell/ev-history.h:
4747 * shell/ev-navigation-action.c:
4748 * shell/ev-navigation-action.h:
4749 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4750 (ev_view_set_page), (ev_view_fit_width):
4752 * shell/ev-window.c: (update_action_sensitivity),
4753 (ev_window_setup_document), (register_custom_actions):
4755 Kill session history
4757 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4759 * shell/ev-window.c: (update_action_sensitivity):
4761 Fix inverted up/down buttons
4763 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4765 * shell/ev-sidebar-thumbnails.c
4766 (ev_sidebar_thumbnails_select_page): make sure the selected
4767 thumbnail stays visible.
4769 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4771 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4772 scrolled window for Federico.
4774 2005-01-26 Ole Laursen <olau@hardworking.dk>
4776 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4778 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4781 * pdf/splash/SplashFTFontEngine.cc:
4783 Fix CID fonts with freetype 2.1.9
4785 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4787 * TODO: added item for desktop icon thumbnailer
4789 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4791 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4792 unloaded docs when the title is accessed.
4794 * shell/ev-password-view.[hc]: New widget for displaying password
4797 * shell/ev-window.[ch]: Refactor password handling code to handle
4800 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4808 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4810 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4811 ignore page offset here, to make search results independent of it,
4813 * shell/ev-view.c (expose_bin_window): but take offsets into
4814 account here. Bug #164932
4816 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4817 scale at the right time. Bug #164996
4819 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4821 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4822 fix the problem. Now I just removed the Adobe font names and hope
4823 that the URW fonts are always in outline format. Bug #164934
4825 * shell/ev-window.c (update_window_title): empty titles are
4826 useless, use filename in that case too.
4828 * NEWS: Add some content.
4830 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4832 * TODO: added one more TODO item and a TODONE section :)
4834 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4836 * ps/ps-document.h: add page_[xy]_offset fields.
4838 * ps/ps-document.c (ps_document_set_page_offset)
4839 (ps_document_render): Keep offset in consideration in a few
4840 places. Bug #164752 "postscript documents are not centered in
4843 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4844 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4846 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4847 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4848 stub out missing methods for complete EvDocument implementation.
4849 Fixes segfaults with Save A Copy and Copy actions.
4851 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4852 (ps_document_document_iface_init): ditto.
4854 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4858 * data/evince.desktop.in:
4862 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4864 * shell/ev-view.c: (ev_view_button_press_event),
4865 (ev_view_motion_notify_event):
4867 Make selection work in any direction
4869 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4872 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4874 Use shorter labels for some of the toolbars items
4876 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4878 * pdf/xpdf/pdf-document.cc:
4880 Check the links info is initialized before
4881 using it. Should fix a crash on startup.
4883 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4885 * pixbuf/pixbuf-document.c
4886 (pixbuf_document_thumbnails_get_dimensions): force floating point
4887 division to calculate page_ratio. Fixes crash with landscape
4890 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4892 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4894 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4896 * shell/ev-view.c (set_document_page): unset has_selection when
4898 (set_document_page): handle paper size changes when the page
4899 changes (test with Free Culture, page 2).
4901 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4903 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4904 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4906 Use normal style color for the widget background and
4907 draw a black box around the page.
4909 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4911 * pdf/xpdf/pdf-document.cc:
4913 Keep offset in consideration in a few places
4915 * shell/ev-view.c: (expose_bin_window):
4917 Set the offsets so that the document is ever centered
4919 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4921 * TODO: Added TODO items and finished off the first todo item
4923 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4924 reflect current authors
4926 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4928 * pdf/xpdf/pdf-document.cc:
4929 * shell/ev-view.c: (ev_view_set_cursor),
4930 (ev_view_motion_notify_event), (document_changed_callback),
4931 (set_document_page):
4933 Show a wait cursor while the page is rendering
4935 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4937 * shell/ev-sidebar-thumbnails.c:
4938 (ev_sidebar_tree_selection_changed),
4939 (ev_sidebar_thumbnails_select_page):
4940 * shell/ev-sidebar-thumbnails.h:
4941 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4942 (ev_view_can_go_forward):
4943 * shell/ev-window.c: (ev_window_open_page),
4944 (ev_window_setup_document), (update_current_page),
4945 (view_page_changed_cb), (ev_window_init):
4946 * shell/ev-window.h:
4948 Ensure thumbnails selection, toolbar page control and
4949 current page are in sync.
4951 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4957 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
4959 * backend/Makefile.am:
4960 * backend/ev-document-links.h:
4961 * backend/ev-document-security.c: (ev_document_security_get_type),
4962 (ev_document_security_has_document_security),
4963 (ev_document_security_set_password):
4964 * backend/ev-document-security.h:
4965 * backend/ev-document.c: (ev_document_error_quark):
4966 * backend/ev-document.h:
4968 * data/evince-password.glade:
4969 * pdf/xpdf/pdf-document.cc:
4970 * shell/Makefile.am:
4971 * shell/ev-password.c: (ev_password_set_bad_password_label),
4972 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4973 (ev_password_dialog_get_password),
4974 (ev_password_dialog_set_bad_pass):
4975 * shell/ev-password.h:
4976 * shell/ev-window.c: (ev_window_get_attribute),
4977 (ev_window_set_property), (update_action_sensitivity),
4978 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4979 (ev_window_setup_document), (ev_window_get_password),
4980 (ev_window_open), (ev_window_cmd_save_as),
4981 (using_postscript_printer), (ev_window_print),
4982 (find_not_supported_dialog), (ev_window_cmd_edit_find),
4983 (update_fullscreen_popup), (ev_window_fullscreen),
4984 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4985 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4986 (menu_item_select_cb), (find_bar_search_changed_cb),
4987 (ev_window_dispose), (ev_window_init):
4989 Add initial support for password-supported dialogs. This could be
4990 a lot cooler, but it'll do for now.
4992 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
4994 * pdf/xpdf/pdf-document.cc:
4995 * shell/ev-view.c: (status_message_from_link),
4996 (ev_view_set_status), (ev_view_set_cursor),
4997 (ev_view_motion_notify_event), (ev_view_init):
4998 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5000 Fix bugs in the links implementation and change cursor
5001 when hovering a link.
5003 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5005 * viewer/.cvsignore: added cvsignore file for viewer directory
5007 * TODO: created TODO document
5009 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5012 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5013 new functions to help with implementation of sensitivity code
5014 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5015 of all actions that might require it. Fixes a crash when you
5016 click on the Zoom actions in a window lacking a document.
5018 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5020 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5023 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5025 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5026 (pixbuf_document_document_iface_init):
5027 * ps/ps-document.c: (ps_document_get_link),
5028 (ps_document_document_iface_init):
5029 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5030 (status_message_from_link), (ev_view_set_status),
5031 (ev_view_set_find_status), (ev_view_motion_notify_event),
5032 (ev_view_button_release_event), (ev_view_set_property),
5033 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5034 (ev_view_get_find_status_message), (update_find_results),
5035 (ev_view_get_status), (ev_view_get_find_status):
5037 * shell/ev-window.c: (view_status_changed_cb),
5038 (view_find_status_changed_cb), (ev_window_init):
5040 View status message support, use it to show the links.
5043 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5045 * backend/ev-document.c: (ev_document_get_link):
5046 * backend/ev-document.h:
5047 * pdf/xpdf/pdf-document.cc:
5048 * shell/ev-application.c: (ev_application_open):
5049 * shell/ev-application.h:
5050 * shell/ev-sidebar-links.c: (selection_changed_cb):
5051 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5052 (ev_view_go_to_link):
5054 Add support for document links
5056 2005-01-13 Anders Carlsson <andersca@gnome.org>
5058 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5060 Set the spin button limits correctly.
5062 * shell/ev-sidebar-thumbnails.c:
5063 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5064 Support changing pages by clicking on the thumbnails.
5066 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5068 * pixbuf/pixbuf-document.c:
5069 (pixbuf_document_thumbnails_get_dimensions),
5070 (pixbuf_document_document_thumbnails_iface_init):
5072 implement get_dimensions
5074 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5076 * ps/ps-document.c: (ps_document_goto_page):
5078 Fix page switching on multipage documents
5080 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5082 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5084 check for NULL before assigning to width and height parameters
5086 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5088 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5089 (pixbuf_document_set_property), (pixbuf_document_get_property):
5091 implement get/set properties
5093 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5095 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5097 return NULL instead of "Unknown", letting the title get set to
5098 the filename when the pdf has no title.
5100 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5102 * ps/ps-document.c: (ps_document_get_page_count),
5103 (ps_document_goto_page):
5105 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5107 * shell/ev-history.c: (ev_history_get_property),
5108 (ev_history_set_property), (ev_history_class_init),
5109 (ev_history_add_page), (ev_history_set_current_index):
5110 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5111 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5112 (ev_navigation_action_finalize):
5113 * shell/ev-navigation-action.h:
5114 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5115 (ev_view_go_forward), (ev_view_get_find_status_message),
5116 (history_index_changed_cb), (ev_view_set_history):
5118 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5119 (update_current_page), (register_custom_actions):
5121 Implement history dropdowns
5123 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5125 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5126 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5127 (ev_view_go_forward):
5128 * shell/ev-window.c: (register_custom_actions):
5130 Fix several history bugs
5132 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5134 * configure.ac: Add «nb» to ALL_LINGUAS.
5136 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5138 * backend/Makefile.am:
5139 * backend/ev-bookmark.c:
5140 * backend/ev-bookmark.h:
5141 * backend/ev-document-bookmarks.c:
5142 * backend/ev-document-bookmarks.h:
5143 * backend/ev-document-links.c: (ev_document_links_get_type),
5144 (ev_document_links_has_document_links),
5145 (ev_document_links_begin_read), (ev_document_links_get_link),
5146 (ev_document_links_get_child), (ev_document_links_next),
5147 (ev_document_links_free_iter):
5148 * backend/ev-document-links.h:
5149 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5150 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5151 (ev_link_get_link_type), (ev_link_set_link_type),
5152 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5153 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5154 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5155 (ev_link_new_external):
5156 * backend/ev-link.h:
5157 * pdf/xpdf/pdf-document.cc:
5158 * shell/Makefile.am:
5159 * shell/ev-application.c: (ev_application_open_link):
5160 * shell/ev-application.h:
5161 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5162 (ev_history_get_link_nth):
5163 * shell/ev-history.h:
5164 * shell/ev-sidebar-bookmarks.c:
5165 * shell/ev-sidebar-bookmarks.h:
5166 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5167 (ev_sidebar_links_class_init), (selection_changed_cb),
5168 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5169 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5170 (do_one_iteration), (populate_links_idle),
5171 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5172 * shell/ev-sidebar-links.h:
5173 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5174 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5177 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5178 * shell/ev-window.h:
5180 Rename bookmark to link, and use "Index" for the sidebar panel.
5182 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5184 * shell/Makefile.am:
5185 * shell/ev-application.c: (ev_application_open_bookmark):
5186 * shell/ev-application.h:
5187 * shell/ev-history.c: (ev_history_init), (free_links_list),
5188 (ev_history_finalize), (ev_history_class_init),
5189 (ev_history_add_link), (ev_history_add_page),
5190 (ev_history_get_link_nth), (ev_history_get_n_links),
5191 (ev_history_get_current_index), (ev_history_set_current_index),
5193 * shell/ev-history.h:
5194 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5195 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5196 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5197 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5200 * shell/ev-window.c: (ev_window_open_bookmark),
5201 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5202 (goto_page_cb), (register_custom_actions):
5203 * shell/ev-window.h:
5205 Initial history implementation. Needs work.
5207 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5209 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5211 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5213 * cut-n-paste/recent-files/egg-recent-item.c:
5214 * cut-n-paste/recent-files/egg-recent-item.h:
5215 * cut-n-paste/recent-files/egg-recent-model.c:
5216 * cut-n-paste/recent-files/egg-recent-util.c:
5217 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5218 * cut-n-paste/recent-files/egg-recent-view.c:
5222 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5224 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5225 (fillGlyph, fillImageMask, drawImage):
5226 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5227 pdf/splash/SplashTypes.h:
5228 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5229 packed mode for Splash.
5231 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5232 RGB8 packed mode, eliminates the pixbuf data creation loop.
5234 * shell/ev-print-job.c (ev_print_job_finalize)
5235 (ev_print_job_set_property, ev_print_job_get_property)
5236 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5237 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5238 (print_closure_finalize, ev_print_job_print): implement
5239 printing (for backends with EvPsExporter)
5241 * shell/ev_print_job.h: update prototypes.
5243 * shell/ev-window.c (ev_window_print): unref print job after
5246 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5247 unless the document implements the EvDocumentFind interface.
5249 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5251 * configure.ac: Added ja to ALL_LINGUAS.
5253 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5255 * pdf/xpdf/pdf-document.cc:
5257 add a FIXME. We should probably not allocate
5258 a bookmark object every time
5260 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5262 * shell/ev-application.c: (ev_application_open),
5263 (ev_application_open_bookmark):
5264 * shell/ev-application.h:
5266 Add a way to open bookmarks
5268 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5269 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5270 (ev_bookmark_set_property), (ev_bookmark_class_init),
5271 (ev_bookmark_new_title), (ev_bookmark_new_link),
5272 (ev_bookmark_new_external):
5274 Support for external uris, better constructors.
5276 * backend/ev-bookmark.h:
5277 * pdf/xpdf/pdf-document.cc:
5278 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5280 Handle external uris
5282 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5284 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5285 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5287 Hook up bookmarks navigation
5289 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5291 * backend/Makefile.am:
5292 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5293 (ev_bookmark_get_title), (ev_bookmark_set_title),
5294 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5295 (ev_bookmark_get_page), (ev_bookmark_set_page),
5296 (ev_bookmark_get_property), (ev_bookmark_set_property),
5297 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5299 * backend/ev-bookmark.h:
5300 * backend/ev-document-bookmarks.c:
5301 (ev_document_bookmarks_get_bookmark):
5302 * backend/ev-document-bookmarks.h:
5303 * pdf/xpdf/pdf-document.cc:
5304 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5306 Add a bookmark object to the backend and use it instead of get_values
5308 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5310 * data/evince-ui.xml:
5312 Cleanup and add select all.
5314 * shell/ev-view.c: (ev_view_select_all),
5315 (ev_view_button_press_event):
5317 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5320 Clear selection on click.
5322 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5324 * shell/ev-sidebar-thumbnails.c
5325 (ev_sidebar_thumbnails_set_document): forgot to unref the
5328 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5330 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5331 at the visible page, not just linearly. This makes it look fast.
5333 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5335 * backend/ev-document-misc.c
5336 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5338 * backend/ev-document-thumbnails.h: New interface to get the size
5341 2005-01-06 Jeremy Katz <katzj@redhat.com>
5343 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5346 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5348 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5349 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5352 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5354 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5356 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5357 fonts. Should fix font problems on systems that have the base
5358 fonts in bitmap format. Reported by James Henstridge
5359 <james@jamesh.id.au>.
5361 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5364 * pdf/xpdf/GfxState.cc:
5366 Fix for CAN-2004-1125
5368 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5370 * shell/ev-view.c: (ev_view_copy):
5372 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5374 Implement Edit->Copy
5376 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5378 * backend/ev-document.c: (ev_document_get_text):
5379 * backend/ev-document.h:
5380 * pdf/xpdf/pdf-document.cc:
5381 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5382 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5383 (ev_view_update_primary_selection), (ev_view_button_press_event),
5384 (ev_view_motion_notify_event), (ev_view_button_release_event):
5386 Beginnings of clipboard support. Incomplete but primary sort
5389 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5391 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5392 (expose_bin_window):
5394 Nicer rubberband drawing, from GtkIconView.
5396 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5398 * backend/ev-document.c: (ev_document_save):
5399 * backend/ev-document.h:
5400 * data/evince-ui.xml:
5401 * pdf/xpdf/pdf-document.cc:
5402 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5404 Implement "Save a copy..." menu item
5406 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5408 * shell/ev-view.c: (ev_view_zoom):
5410 Queue a resize when zoom changes
5412 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5414 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5417 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5420 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5422 * pdf/xpdf/pdf-document.cc
5423 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5425 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5427 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5428 It's slow, but I'll speed it up next!
5430 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5432 * shell/main.c (load_files):
5434 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5435 from the command line and because it seems more appropriate.
5437 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5439 * data/evince-ui.xml:
5440 * shell/ev-window.c: (update_action_sensitivity),
5441 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5443 s/next page/page down
5444 s/previous page/page up
5446 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5448 * data/evince-ui.xml:
5450 Change the layout to match clarkbw design.
5452 * shell/Makefile.am:
5453 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5454 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5455 (ev_navigation_action_finalize),
5456 (ev_navigation_action_set_property),
5457 (ev_navigation_action_get_property),
5458 (ev_navigation_action_class_init):
5459 * shell/ev-navigation-action.h:
5461 Implement clarkbw toolbar navigation controls (incomplete)
5463 * shell/ev-page-action.c: (update_label), (update_spin),
5464 (value_changed_cb), (create_tool_item), (connect_proxy),
5465 (ev_page_action_init), (ev_page_action_finalize),
5466 (ev_page_action_set_property), (ev_page_action_get_property),
5467 (ev_page_action_set_current_page),
5468 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5469 * shell/ev-page-action.h:
5471 Implement a page switcher in the toolbar
5473 * shell/ev-view.c: (ev_view_scroll_view):
5474 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5475 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5476 (register_custom_actions), (ev_window_init):
5478 Change page on PageUp/Down.
5480 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5482 * pdf/xpdf/pdf-document.cc
5483 (pdf_document_thumbnails_get_thumbnail): initial stab at
5484 implementing thumbnail support for pdfs. It only does documents
5485 with precached pdfs now.
5487 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5489 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5490 thumbnail code into a time-based idle as well. Also, turn off the
5491 shadow temporarily as it's really slow.
5493 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5495 * backend/ev-document.c: (ev_document_class_init):
5496 * pdf/xpdf/pdf-document.cc:
5497 * shell/ev-window.c: (ev_window_open):
5499 Fix document title bugs and fallback to
5500 filename when not available.
5502 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5504 * backend/ev-document.c: (ev_document_get_type),
5505 (ev_document_class_init), (ev_document_load),
5506 (ev_document_get_title):
5507 * backend/ev-document.h:
5508 * pdf/xpdf/pdf-document.cc:
5509 * ps/ps-document.c: (ps_document_set_property),
5510 (ps_document_get_property), (ps_document_class_init),
5514 * shell/ev-window.c: (update_window_title), (ev_window_open),
5517 Initial support for document title. Not working yet.
5519 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5521 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5523 Grab focus on the view when clicking it
5525 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5527 * shell/ev-marshal.list:
5528 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5529 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5531 Add key bindings to the view. Now if the focus would work
5534 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5537 * backend/Makefile.am:
5540 * dvi/dvilib/Makefile.am:
5541 * pdf/xpdf/Makefile.am:
5547 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5549 * shell/ev-view.c: (ev_view_realize):
5551 Fix mouse wheel scrolling
5553 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5559 * ps/ps-document.c: (catchPipe), (ps_document_init),
5560 (ps_document_class_init), (ps_document_cleanup),
5561 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5562 (set_up_page), (close_pipe), (is_interpreter_ready),
5563 (interpreter_failed), (output), (input), (start_interpreter),
5564 (stop_interpreter), (file_length), (file_readable),
5565 (check_filecompressed), (check_pdf), (compute_xdpi),
5566 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5567 (ps_document_get_type), (ps_document_emit_error_msg),
5568 (document_load), (ps_document_next_page),
5569 (ps_document_get_current_page), (ps_document_get_page_count),
5570 (ps_document_goto_page), (ps_document_set_page_size),
5571 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5572 (ps_document_load), (ps_document_get_n_pages),
5573 (ps_document_set_page), (ps_document_get_page),
5574 (ps_document_widget_event), (ps_document_set_target),
5575 (ps_document_set_scale), (ps_document_set_page_offset),
5576 (ps_document_get_page_size), (ps_document_render),
5577 (ps_document_document_iface_init):
5580 * shell/ev-window.c: (ev_window_open):
5582 Rename GtkGS to PSDocument
5584 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5586 * ps/gtkgs.c: (gtk_gs_class_init):
5589 Some more leftover...
5591 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5593 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5594 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5595 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5598 Remove unused code and make a lot of stuff private
5600 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5602 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5603 (gtk_gs_defaults_changed):
5609 Cleanup headers dependencies
5611 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5616 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5618 * ps/gtkgs.c: (file_length), (file_readable),
5619 (check_filecompressed), (check_pdf), (gtk_gs_load),
5620 (gtk_gs_get_postscript):
5624 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5629 * ps/gtkgs.c: (gtk_gs_set_zoom):
5633 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5635 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5637 Ensure the page is rerendered when changing zoom
5639 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5641 * backend/ev-document.c: (ev_document_base_init),
5642 (ev_document_changed):
5643 * backend/ev-document.h:
5645 Add a changed event that is emitted when the page content
5646 changes. This is necessary to deal with the fact that
5647 in ps backend rendering happen asycrounously.
5648 This makes the ps backend mostly work.
5650 * pdf/xpdf/pdf-document.cc:
5654 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5655 (ps_document_set_target):
5659 * shell/ev-view.c: (document_changed_callback),
5660 (ev_view_set_document), (ev_view_set_page):
5662 Redraw on the changed signal
5664 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5666 * configure.ac: Added pt_BR to ALL_LINGUAS.
5668 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5670 * backend/ev-document-bookmarks.c:
5671 (ev_document_bookmarks_get_child): *
5672 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5673 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5674 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5675 (ev_sidebar_bookmarks_destroy),
5676 (ev_sidebar_bookmarks_class_init),
5677 (ev_sidebar_bookmarks_construct), (stack_data_free),
5678 (do_one_iteration), (populate_bookmarks_idle),
5679 (ev_sidebar_bookmarks_clear_document),
5680 (ev_sidebar_bookmarks_set_document): *
5681 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5682 (ev_sidebar_add_page),
5683 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5684 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5685 it displays both the topics and the page numbers.
5687 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5689 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5691 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5694 2004-12-23 Adam Weinberger <adamw@gnome.org>
5696 * configure.ac: Added en_CA to ALL_LINGUAS.
5698 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5700 * ChangeLog: replace bottom of this ChangeLog (merged history of
5701 ggv and gpdf; where all paths were wrong and most of the files are
5702 not even in this tree) with ChangeLog (from arch) of the shell
5705 2004-12-23 Havoc Pennington <hp@redhat.com>
5707 * shell/ev-window.c: hook up potentially-questionable "find
5708 results status text" feature - something involving the sidebar or
5709 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5710 might be better in the end.
5712 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5713 with corresponding signal when it should be updated
5715 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5717 2004-12-22 Havoc Pennington <hp@redhat.com>
5719 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5720 find stuff on other pages, sort of (only returns one result on
5721 invisible pages, to show they have results; updates full results
5722 for a page when you view it). Currently repaints the current page
5723 every time a new result is found on any page, which isn't so nice.
5725 2004-12-22 Havoc Pennington <hp@redhat.com>
5727 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5728 the document doesn't support find (better ideas?)
5729 (find_bar_search_changed_cb): handle missing document or document
5730 that doesn't support find
5732 * pdf/xpdf/pdf-document.cc: port to implement the new
5735 * backend/ev-document-find.c: create a new interface for searching
5737 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5739 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5741 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5744 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5745 EvPrintJob constructor arguments.
5747 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5748 for documents that can export PostScript (page by page).
5750 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5752 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5753 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5754 (pdf_document_ps_exporter_iface_init:
5755 Implement EvPSExporter.
5757 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5759 2004-12-22 Anders Carlsson <andersca@gnome.org>
5761 * backend/Makefile.am:
5762 * backend/ev-document-thumbnails.c:
5763 (ev_document_thumbnails_get_type),
5764 (ev_document_thumbnails_get_thumbnail):
5765 * backend/ev-document-thumbnails.h:
5766 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5767 (pixbuf_document_thumbnails_get_thumbnail),
5768 (pixbuf_document_document_thumbnails_iface_init):
5769 * shell/Makefile.am:
5770 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5771 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5772 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5773 * shell/ev-sidebar-thumbnails.h:
5774 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5775 (ev_sidebar_set_document):
5776 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5777 (create_shadow), (ev_pixbuf_add_shadow):
5779 Add thumbnail support.
5781 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5783 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5784 (using_postscript_printer): Set up a print dialog for "PostScript
5787 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5790 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5792 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5794 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5795 (ps_document_set_target), (ps_document_get_page_size),
5796 (ps_document_render):
5801 2004-12-22 Christian Rose <menthos@menthos.com>
5803 * configure.ac: Added "sv" to ALL_LINGUAS.
5805 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5807 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5808 document supports bookmarks.
5810 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5812 * ps/ggvutils.c: (ggv_file_readable):
5814 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5815 (gtk_gs_get_postscript):
5819 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5821 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5822 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5823 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5824 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5825 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5826 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5827 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5828 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5829 (gtk_gs_set_antialiasing), (ps_document_load),
5830 (ps_document_render):
5833 Another check point for the ps backend. Now I can get it to show
5836 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5838 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5839 document setting code.
5841 2004-12-22 Anders Carlsson <andersca@gnome.org>
5843 * shell/eggfindbar.c: (entry_activate_callback):
5844 Animate the next button when activate is pressed.
5846 2004-12-22 Anders Carlsson <andersca@gnome.org>
5848 * shell/ev-window.c: (ev_window_cmd_edit_find),
5849 (update_fullscreen_popup), (ev_window_fullscreen),
5850 (ev_window_unfullscreen), (ev_window_state_event_cb),
5851 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5852 Fix bugs in fullscreen code.
5854 2004-12-22 Anders Carlsson <andersca@gnome.org>
5858 * pixbuf/Makefile.am:
5859 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5860 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5861 (pixbuf_document_set_page), (pixbuf_document_get_page),
5862 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5863 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5864 (pixbuf_document_render), (pixbuf_document_begin_find),
5865 (pixbuf_document_end_find), (pixbuf_document_finalize),
5866 (pixbuf_document_class_init),
5867 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5868 * pixbuf/pixbuf-document.h:
5869 * shell/Makefile.am:
5870 * shell/ev-application.c: (ev_application_open):
5871 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5875 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5878 * dvi/dvilib/Makefile.am:
5880 * configure.ac: Auto*ify dvi and dvi/dvilib
5882 * dvi/Makefile: Remove from CVS
5884 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5887 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5889 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5891 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5894 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5895 (gtk_gs_value_adjustment_changed), (compute_size),
5896 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5897 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5898 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5899 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5900 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5901 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5902 (ps_document_load), (ps_document_get_n_pages),
5903 (ps_document_set_page), (ps_document_get_page),
5904 (ps_document_set_target), (ps_document_set_scale),
5905 (ps_document_set_page_offset), (ps_document_get_page_size),
5906 (ps_document_render), (ps_document_begin_find),
5907 (ps_document_end_find), (ps_document_document_iface_init):
5909 * shell/Makefile.am:
5910 * shell/ev-window.c: (ev_window_open):
5912 Some work to integrate gtkgs with EvDocument
5914 2004-12-22 Anders Carlsson <andersca@gnome.org>
5916 * shell/ev-window.c: (update_fullscreen_popup),
5917 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5918 (exit_fullscreen_button_clicked_cb),
5919 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5920 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5921 (ev_window_state_event_cb), (ev_window_init):
5922 Add fullscreen support from Epiphany.
5924 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5926 * data/ev-stock-zoom-fit-width.png: fit-width
5927 stock icon from gpdf.
5929 * shell/ev-stock-icons.[ch]: copied from gpdf.
5931 * shell/main.c: (main): init stock icons.
5933 * shell/ev-window.c: use the fit-width icon.
5935 * data/evince-ui.xml: add zooming toolbar items.
5937 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5940 (ev_view_best_fit), (ev_view_fit_width): because
5941 get_page_size() returns the scaled page size, we
5942 need to calculate the scale factor relative to
5943 the previous scale factor. Should really just
5944 add get_real_page_size().
5946 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5948 * shell/ev-view.[ch]:
5949 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5950 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5953 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5954 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5955 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5958 * pdf/xpdf/pdf-document.cc:
5959 (pdf_document_begin_find),
5960 (pdf_document_end_find): make static.
5962 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5964 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5966 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5967 names to fontconfig patterns.
5968 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5970 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5973 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5989 Import ggv backend. Not hooked up yet.
5991 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5993 * shell/main.c: (load_files), (main): load files
5994 from the command line.
5996 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5998 * configure.ac: don't require bonobo.
6000 * cut-n-paste/recent-files/*: kill bonobo recent
6003 * shell/ev-window.c:
6004 (ev_window_is_empty): upd.
6005 (unable_to_load), (ev_window_open): load backend
6006 based on the mime type.
6008 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6010 * backend/.cvsignore: ignore generated marshalers source.
6012 * shell/main.c (main): this is not epiphany.
6014 2004-12-22 Havoc Pennington <hp@redhat.com>
6016 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6017 (expose_bin_window): draw find highlights
6019 * shell/ev-window.c (find_bar_search_changed_cb): implement
6021 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6022 (pdf_document_end_find): implement this interface
6024 * backend/ev-document.c (ev_document_found): add this to emit
6027 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6029 * data/evince-ui.xml: Add a few more toolbar items.
6031 * shell/ev-window.c: Hook up page navigation toolbar
6034 * shell/ev-view.[ch]: add ev_view_set/get_page and
6035 a page-changed signal.
6037 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6038 Add ev_document_get_page().
6040 * shell/ev-window.c: Sensitize/desensitize navigation
6043 2004-12-21 Havoc Pennington <hp@redhat.com>
6045 * backend/ev-backend-marshal.c,
6046 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6047 marshaler-generator thingy. I'm sure there's a better way to do
6048 this in the modern world.
6050 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6051 end_find methods and "found" signal.
6053 * configure.ac: find glib-genmarshal
6055 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6057 * shell/ev-sidebar.c: Construct an actual sidebar.
6058 * shell/ev-sidebar-bookmarks.[ch]:
6059 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6061 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6063 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6066 * shell/ev-view.c: Track the size from the document.
6068 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6070 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6071 constructor assumes ownership of the string passed in.
6073 * shell/ev-window.c (ev_window_open): Destroy the error
6074 dialog once we've displayed it.
6076 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6078 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6079 a bit, it works! (sort of)
6081 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6082 Move to .cc since we need to use C++ in the implementation.
6084 * shell/dummy.cc: Add a CC file to force evince
6085 to be linked as a C++ program.
6087 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6089 * shell/ev-view.[ch]: Start of content-area widget.
6091 * shell/ev-window.c: Create a EvView, update it
6092 as we change documents.
6094 * shell/Makefile.am shell/ev-marshal.list: Add
6095 generated marshalers.
6097 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6099 * Makefile.am (SUBDIRS): move shell.
6101 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6103 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6104 .a to libtool convenience libraries.
6106 * shell/ev-window.c (ev_window_open): Hard code loading
6109 * backend/ev-document.h: Add a boolean return to load(),
6110 fix GError * to GError **.
6112 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6113 object for a PDF backend EvDocument.
6115 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6117 * dvi/*: New directory with the beginning of a .dvi backend.
6119 2004-12-21 Havoc Pennington <hp@redhat.com>
6121 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6122 previous/next instead of back/forward
6124 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6126 * backend/ev-document.[ch]: Fix a couple of problems so
6129 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6131 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6132 to backend/ directory, rename EvViewer to EvDocument.
6134 2004-12-21 Havoc Pennington <hp@redhat.com>
6136 * shell/ev-window.c: hook up the find bar widget; now we just need
6137 a document to find things in
6139 * shell/eggfindbar.c: a find bar widget
6141 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6143 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6145 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6147 * pdf/**: Import of xpdf code from gpdf.
6149 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6151 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6152 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6153 Fix FreeType includes.
6155 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6156 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6157 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6158 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6159 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6160 Include xpdfconfig.h
6162 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6164 * shell/ev-window.c (ev_window_dispose): dispose can be called
6167 2004-12-21 Havoc Pennington <hp@redhat.com>
6169 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6172 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6173 items; really they should be synced with the strings, etc. from
6174 current gpdf, but just getting the boring typing out of the way
6176 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6179 * shell/ev-application.c: (window_destroy_cb):
6180 * shell/ev-window.c:
6181 * shell/main.c: (main):
6183 Actually show the window...
6185 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6188 * shell/Makefile.am:
6189 * shell/ev-application.c: (ev_application_class_init):
6190 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6194 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6196 Import to gnome cvs.
6198 * Remove copies of gpdf and ggv trees.
6199 * Rip out all the recursive configure code.
6200 * Remove bonobo machinery.
6201 * viewer/*: GInterfaces that backends should/can implement.
6203 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6205 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6208 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6210 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6211 (ev_application_finalize, ev_application_class_init)
6212 (ev_application_init): use GType instance private data for priv.
6214 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6215 (ev_window_finalize, ev_window_class_init)
6216 (ev_window_init): ditto.
6218 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6220 * shell/ev-application.c (ev_application_new_window): make public
6221 (ev_application_show_initial_window): kill.
6223 * shell/ev-application.h: update prototypes.
6225 * shell/main.cc (main): inline ev_application_show_initial_window.
6227 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6229 * shell/ev-application.c (ev_application_new_window): impl.
6230 (ev_application_show_initial_window): use it.
6231 (is_window_empty, ev_application_get_empty_window): returns an
6232 existing empty window or a new one.
6233 (ev_application_open): from ev_window_cmd_file_open.
6235 * shell/ev-application.h: update prototypes
6237 * shell/ev-window.c (ev_window_is_empty): impl.
6238 (ev_window_open): make public.
6239 (ev_window_cmd_file_open): use ev_application_open
6241 * shell/ev-window.h: update prototypes, remove unused.
6243 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6245 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6246 move destroy handler out of here...
6248 * shell/ev-application.c, shell/ev-application.h: ...into this new
6249 class. Also handles initial window creation.
6251 * shell/main.cc (main): use EvApplication to create initial
6254 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6256 * Makefile.am (SUBDIRS): add cut-n-paste
6258 * cut-n-paste/Makefile.am: add
6260 * configure.ac: generate Makefiles in cut-n-paste
6262 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6264 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6265 (ev_window_class_init): install ev_window_dispose.
6267 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6269 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6270 char (gchar looks stupid).
6272 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6274 * po/de.po: updated German translation.
6276 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6278 * configure.ac: add more pkg-config library checks for gnome-vfs,
6281 * gpdf/configure.in: temporarily disable libpaper
6282 checks. Otherwise I'd have to add the checks for the shell, too.
6284 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6286 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6287 and * file filters to the file choose.
6289 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6291 * po/de.po: Updated German translation.
6293 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6295 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6297 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6299 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6301 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6302 (ev_window_init): implement those menuitems.
6304 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6306 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6308 * shell/ev-window.c (ev_window_init): use the toolbar.
6310 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6312 * shell/ev-window.c (ev_window_init): use menu translations
6314 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6316 * configure.ac: add "de" to ALL_LINGUAS.
6318 * po/de.po: add German translation.
6320 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6322 * Makefile.am (SUBDIRS): add po
6324 * configure.ac: check intltool, glib-gettext etc, generate
6327 * po, po/POTFILES.in, po/POTFILES.skip: new.
6329 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6331 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6332 already use (#ifdef ENABLE_NLS)
6334 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6335 pointer indirection thinko.
6337 * shell/main.c: include gi18n.h for bindtextdomain etc.
6339 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6341 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6342 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6343 tooltips for menu items in the statusbar.
6345 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6347 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6348 pkgdatadir drop UIDIR
6350 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6352 * data/evince-ui.xml: Add File->Open menu item
6354 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6355 chooser), hook it up in the ui manager.
6357 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6359 * shell/ev-window.c: fix Help->About tooltip.
6361 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6363 * configure.ac: set CFLAGS for libevprivate.
6365 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6366 definitions, factory etc.
6368 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6370 * shell/Makefile.am: link against libevprivate.a.
6372 * shell/ev-window.c (entries): add stock icon to Help->About.
6374 * shell/main.c (main): init stock icon code.
6376 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6378 * lib/recent-files: egg recent files code
6380 * lib/Makefile.am: add.
6382 * Makefile.am: add lib subdir.
6384 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6385 set CFLAGS for recent-files.
6387 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6389 * configure.ac: disable -ansi and -pedantic gcc flags. They
6390 disable POSIX stuff in stdio.h, but egg-recent uses them.
6392 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6394 * configure.ac: add --disable-deprecated flag (defaults to on in
6397 * shell/Makefile.am (INCLUDES): use it.
6399 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6401 * shell/main.c: add missing #include.
6403 * shell/ev-window.c: fix for pedantic gcc.
6404 (ev_window_cmd_help_about): split license into paragraphs for
6405 translators and pedantic compilers.
6407 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6409 * configure.ac: add more warning flags if compiling with gcc from
6410 cvs (or explicitly requested with --enable-more-warnings).
6412 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6414 * data/evince-ui.xml: add File and File->Close menu.
6416 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6417 (ev_window_destroy): quit after destroy.
6418 (ev_window_class_init): override GtkObject::destroy.
6419 (entries): install close_window callback.
6421 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6423 * Makefile.am (SUBDIRS): add data subdir.
6425 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6426 gtk+ 2.5.0 for GtkAboutDialog.
6428 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6431 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6433 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6435 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6437 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6439 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6441 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6443 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6445 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6447 * shell/*: Added shell directory boilerplate, build it.
6449 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6451 * configure.ac, Makefile.am: Added top-level configure.ac and