1 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * ps/ps-document.c: (save_page_list): Use
4 unzipped document when printing. Thanks to
5 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
8 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
10 * shell/ev-window.c: (update_action_sensitivity):
12 Disable print and save respect to lockdown gconf keys. Fix
15 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
18 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
19 (write_to_temp_file), (ev_file_set_contents):
21 * shell/ev-window.c: (save_print_config_to_file):
23 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
26 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
28 * shell/ev-window.c: (load_print_config_from_file),
29 (save_print_config_to_file), (ev_window_print_range):
31 Persist the print settings. Fixes bug #311578.
33 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
35 * djvu/djvu-document.c: (djvu_document_get_page_size),
36 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
37 (djvu_document_thumbnails_get_thumbnail):
38 * dvi/dvi-document.c: (dvi_document_get_page_size),
39 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
40 (dvi_document_thumbnails_get_dimensions),
41 (dvi_document_thumbnails_get_thumbnail):
42 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
43 (pixbuf_document_render_pixbuf),
44 (pixbuf_document_document_iface_init),
45 (pixbuf_document_thumbnails_get_thumbnail):
47 Update backends to make them build with new rotation system.
49 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
51 * help/C/figures/evince_start_window.png:
53 Update documentation image from Luca Ferretti <elle.uca@libero.it>
55 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
57 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
58 * shell/ev-pixbuf-cache.h:
59 * shell/ev-sidebar-thumbnails.c:
60 (ev_sidebar_thumbnails_get_property), (add_range),
61 (adjustment_changed_cb):
62 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
63 pixbuf cache. Make thumbnailing work again. Also, fix bug where
64 we were thumbnailing the entire docment on startup, slowing us
67 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
69 * shell/ev-page-cache.c: (ev_page_cache_new):
70 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
73 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
75 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
76 (ev_view_rotate_left):
78 Account rotation in doc_rect_to_view_rect.
79 Ensure rotation doesnt go out of bounds.
81 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
83 * shell/ev-page-cache.c: (ev_page_cache_get_size):
85 Correct and cleanup w/h swapping
87 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
89 * backend/ev-document-thumbnails.c:
90 (ev_document_thumbnails_get_thumbnail):
91 * backend/ev-document-thumbnails.h:
92 * backend/ev-document.c:
93 * backend/ev-document.h:
94 * backend/ev-render-context.c: (ev_render_context_new),
95 (ev_render_context_set_rotation):
96 * backend/ev-render-context.h:
98 * ps/ps-document.c: (ps_document_document_iface_init):
99 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
101 * shell/ev-page-cache.c: (build_height_to_page),
102 (ev_page_cache_new), (ev_page_cache_get_size),
103 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
104 (ev_page_cache_get_height_to_page):
105 * shell/ev-page-cache.h:
106 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
107 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
108 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
109 (ev_pixbuf_cache_get_selection_pixbuf):
110 * shell/ev-pixbuf-cache.h:
111 * shell/ev-print-job.c: (idle_print_handler):
112 * shell/ev-sidebar-thumbnails.c: (add_range):
113 * shell/ev-view.c: (view_update_range_and_current_page),
114 (get_page_y_offset), (get_page_extents),
115 (ev_view_size_request_continuous_dual_page),
116 (ev_view_size_request_continuous),
117 (ev_view_size_request_dual_page),
118 (ev_view_size_request_single_page), (draw_one_page),
119 (ev_view_set_rotation), (ev_view_rotate_right),
120 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
121 (ev_view_zoom_for_size_continuous_and_dual_page),
122 (ev_view_zoom_for_size_continuous),
123 (ev_view_zoom_for_size_dual_page),
124 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
125 (ev_view_select_all):
126 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
127 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
128 (tiff_document_document_iface_init),
129 (tiff_document_thumbnails_get_thumbnail):
131 Use rotation rather than orientation. It's easier and enough
134 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
136 * shell/ev-page-cache.c: (build_height_to_page),
137 (ev_page_cache_new), (ev_page_cache_get_size),
138 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
139 (ev_page_cache_get_height_to_page):
140 * shell/ev-page-cache.h:
141 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
142 (ev_view_size_request_continuous_dual_page),
143 (ev_view_size_request_continuous),
144 (ev_view_zoom_for_size_continuous_and_dual_page),
145 (ev_view_zoom_for_size_continuous):
147 Make the page cache aware of page orientation.
149 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
151 * backend/ev-document-thumbnails.c:
152 (ev_document_thumbnails_get_thumbnail):
153 * backend/ev-document-thumbnails.h:
154 * backend/ev-document.c:
155 * backend/ev-document.h:
156 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
157 * backend/ev-ps-exporter.h:
159 * ps/ps-document.c: (ps_document_document_iface_init),
160 (ps_document_ps_export_do_page):
161 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
163 * shell/ev-page-cache.c: (ev_page_cache_get_size),
165 * shell/ev-page-cache.h:
166 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
167 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
168 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
169 * shell/ev-pixbuf-cache.h:
170 * shell/ev-print-job.c: (idle_print_handler):
171 * shell/ev-sidebar-thumbnails.c: (add_range):
172 * shell/ev-view.c: (view_update_range_and_current_page),
173 (get_page_extents), (ev_view_size_request_dual_page),
174 (ev_view_size_request_single_page), (draw_one_page),
175 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
176 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
177 (ev_view_zoom_for_size_dual_page),
178 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
179 (ev_view_select_all):
180 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
181 * tiff/tiff-document.c: (tiff_document_get_page_size),
182 (tiff_document_get_orientation), (rotate_pixbuf),
183 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
184 (tiff_document_thumbnails_get_thumbnail),
185 (tiff_document_ps_export_do_page), (tiff_document_init):
187 Really make use of the orientation bit of the render context.
188 Use the render context in a few more places in the backend API.
189 This regress orientation, but now it's done right. Will try to
192 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
194 * shell/ev-view.c: (ensure_rectangle_is_visible):
196 Patch by Nickolay V. Shmyrev to fix find flickering
198 2005-07-27 Martin Kretzschmar <martink@gnome.org>
200 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
201 duplex parameters to ::begin.
203 * tiff/tiff-document.c (tiff_document_ps_export_begin):
204 * shell/ev-print-job.c (idle_print_handler):
205 * ps/ps-document.c (ps_document_ps_export_begin):
206 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
207 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
208 implementations. Poppler backend needs poppler cvs. Rest has
211 2005-07-25 Martin Kretzschmar <martink@gnome.org>
213 * shell/ev-window.c (using_pdf_printer): new function.
214 (ev_window_print_range): print a less techy message if someone
215 tries to print to PDF.
217 2005-07-25 Martin Kretzschmar <martink@gnome.org>
219 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
220 from "unknown font" string. Bug #311431
222 2005-07-24 Martin Kretzschmar <martink@gnome.org>
224 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
226 2005-07-24 Martin Kretzschmar <martink@gnome.org>
230 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
231 name for PopplerFontTypes
232 (pdf_document_fonts_fill_model): add font type to the detail column
234 * backend/ev-document-fonts.h: added
235 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
237 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
238 font name and font details, add a little markup.
239 (ev_properties_fonts_init): use the new cell data func, specify ypad
240 property for the cell renderer.
241 (ev_properties_fonts_set_document): add the details column.
243 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
245 * configure.ac: Added "pl" to ALL_LINGUAS.
247 2005-07-24 Danilo Šegan <danilo@gnome.org>
249 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
251 2005-07-23 Tommi Vainikainen <thv@iki.fi>
253 * help/ChangeLog: Started this for translations of manual.
254 * configure.ac, autogen.sh, .cvsignore: Migrated to
255 gnome-doc-utils. Patch in bug #311222.
257 2005-07-22 Martin Kretzschmar <martink@gnome.org>
259 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
260 #ifdef this away to fix an unused-function warning.
262 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
264 * configure.ac: Added 'gl' to ALL_LINGUAS.
266 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
268 * configure.ac: Added ne in ALL_LINGUAS
270 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
272 * shell/ev-view.c: (ev_view_leave_notify_event):
274 Clear status message when pointer leaves view. Fix for bug
277 2005-07-20 Ankit Patel <ankit644@yahoo.com>
279 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
281 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
283 * shell/ev-view.c: (ev_view_leave_notify_event),
284 (ev_view_class_init):
286 Set cursor to normal then leaving view.
288 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
292 Fix required djvulibre version.
294 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
296 *configure.ac: Hindi (hi) language added
298 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
300 *configure.ac: Punjabi (pa) Language added
302 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
304 * data/evince-ui.xml, shell/ev-window.c:
306 Add keypad accelerators for zooming. Fix for bug 308128.
308 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
311 * backend/Makefile.am:
312 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
314 * shell/ev-document-types.c: (ev_document_types_add_filters):
316 Allow to enable/disable the pixbuf backend.
317 Default to off for now. If we want it enabled we should
318 really put mime types in the desktop, implement properties etc.
320 * properties/evince-properties.c:
322 Initialize error to NULL.
323 Check error is not NULL before freeing.
325 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
329 Use F5 as presentation accell
331 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
333 * shell/ev-window.c: (update_chrome_visibility),
334 (ev_window_create_fullscreen_popup), (ev_window_init):
336 Do not leak the fullscreen toolbar
338 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
340 * shell/ev-window.c: (view_actions_focus_in_cb),
341 (view_actions_focus_out_cb):
343 These has a return value! Fix totally random focus
344 issues we was seeing.
346 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
348 * shell/main.c: (load_files_remote):
350 Allow open more than one file
352 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
354 * shell/main.c: (load_files_remote):
356 Fix for dbus 0.33. bug #309975
358 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
360 * properties/ev-properties-main.c: (ev_properties_get_pages):
362 Actually return NULL for types we dont support
364 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
370 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
372 * backend/ev-document-factory.c:
373 (ev_document_factory_get_document):
375 Do not try to create the object if type
378 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
380 * ps/ps-document.c: (ps_document_dispose),
381 (ps_async_renderer_render_pixbuf):
384 Do not leak the target window
386 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
388 * shell/ev-application.c: (ev_application_init):
390 Let tbe check file existence for us.
391 Add a comment about eggrecent mime filter.
393 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
395 * data/evince-ui.xml:
396 * shell/ev-application.c: (ev_application_shutdown),
397 (ev_application_init), (ev_application_get_toolbars_model),
398 (ev_application_get_recent_model),
399 (ev_application_save_toolbars_model):
400 * shell/ev-application.h:
401 * shell/ev-window.c: (ev_window_add_recent),
402 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
403 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
406 Use common toolbar and recent models for all windows.
407 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
409 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
411 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
412 successfully check for gtk_icon_view_get_visible_range.
414 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
419 Fix djvu and dvi backend build.
421 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
423 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
424 (new_separator_pixbuf):
428 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
430 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
432 HIGification of toolbar editor dialogue.
434 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
439 Ever build metadata manager since it's just
440 disabled at runtime now.
442 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
444 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
445 (ev_metadata_manager_get), (ev_metadata_manager_set):
446 * shell/ev-metadata-manager.h:
448 Add an _init functions that enabled metadata management
451 * shell/ev-window.c: (page_changed_cb),
452 (setup_document_from_metadata), (ev_window_setup_document),
453 (setup_view_from_metadata), (ev_window_open_uri),
454 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
455 (ev_window_run_presentation), (ev_window_stop_presentation),
456 (save_sizing_mode), (ev_window_zoom_changed_cb),
457 (ev_window_continuous_changed_cb),
458 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
459 (window_configure_event_cb):
461 Remove all ugly metadata define since we deal with it
464 * shell/main.c: (load_files_remote), (main):
466 Add support for dbus cvs head. Hopefully didnt break one
467 of the other versions now!
469 If we dont get a response from the dbus server just
470 give up with it and not enable metadata.
472 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
475 * backend/Makefile.am:
477 * cut-n-paste/recent-files/Makefile.am:
478 * cut-n-paste/toolbar-editor/Makefile.am:
479 * cut-n-paste/zoom-control/Makefile.am:
482 * pixbuf/Makefile.am:
483 * properties/Makefile.am:
486 * thumbnailer/Makefile.am:
489 Make frontends depend on just libev.
490 Rework and group CFLAGS/LIBS definitions.
493 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
497 do not unnecessarily save zoom
500 * lib/ev-file-helpers.c: (ev_dot_dir):
506 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
510 Remove unnecessary dependencies
512 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
514 * properties/Makefile.am:
515 * thumbnailer/Makefile.am:
518 Some more cleanups. Was really necessary
519 but I probably introduced bugs, feel free
522 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
524 * backend/Makefile.am:
526 * cut-n-paste/recent-files/Makefile.am:
527 * cut-n-paste/toolbar-editor/Makefile.am:
528 * cut-n-paste/zoom-control/Makefile.am:
531 * pixbuf/Makefile.am:
532 * properties/Makefile.am:
535 * thumbnailer/Makefile.am:
538 Use gnome-common macros when possible.
539 Cleanup dependencies.
540 Actually disable deprecated where possible.
542 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
545 * backend/Makefile.am:
546 * properties/Makefile.am:
548 * thumbnailer/Makefile.am:
550 This should solve the circular dep without
553 * shell/ev-window.c: (setup_view_from_metadata):
555 Never restore window size/position when the
556 window is already visible.
558 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
560 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
562 Return a boolean from timeout func. Fix ported from gedit.
564 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
566 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
568 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
570 * shell/ev-document-types.c: set "All Documents" as default filter in
573 2005-07-06 Martin Kretzschmar <martink@gnome.org>
575 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
576 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
577 (ev_metadata_manager_set_boolean): fix value/val thinko.
579 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
581 * shell/ev-window.c: (setup_view_from_metadata),
582 (window_state_event_cb), (window_configure_event_cb),
585 Remember window position and maximized state
587 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
591 Fix DBUS configure checks.
593 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
594 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
595 (ev_metadata_manager_set_boolean):
599 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
600 (ev_window_stop_fullscreen), (ev_window_run_presentation),
601 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
602 (ev_window_continuous_changed_cb),
603 (ev_window_dual_mode_changed_cb), (ev_window_new):
605 Fix the build without DBUS.
607 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
609 * shell/ev-metadata-manager.c: (parse_value), (save_values),
610 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
611 (ev_metadata_manager_set_string),
612 (ev_metadata_manager_set_boolean):
613 * shell/ev-metadata-manager.h:
615 Add support for some more types
617 * shell/ev-view.c: (scroll_to_current_page),
618 (ev_view_get_continuous), (ev_view_set_continuous),
619 (ev_view_get_dual_page):
621 * shell/ev-window.c: (page_changed_cb),
622 (setup_document_from_metadata), (ev_window_setup_document),
623 (setup_view_from_metadata), (ev_window_open_uri),
624 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
625 (ev_window_run_presentation), (ev_window_stop_presentation),
626 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
627 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
628 (ev_window_update_dual_page_action),
629 (ev_window_continuous_changed_cb),
630 (ev_window_dual_mode_changed_cb), (ev_window_init):
632 Remember a bunch of view/document properties. Prolly some
633 are still missing but it's getting interesting.
635 2005-07-05 Martin Kretzschmar <martink@gnome.org>
637 * configure.ac: check if dbus-binding-tool is installed. Not the
638 case on current Ubuntu breezy, it seems.
640 2005-07-05 Luca Ferretti <elle.uca@libero.it>
642 * data/evince.desktop.in.in:
644 Allow open uri lists and add TryExec field.
646 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
650 Enable dbus when available, do not require a configure
653 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
657 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
660 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
661 Marco Pesenti Gritti <mpg@redhat.com>
663 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
665 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
666 functions to the format required by dbus
668 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
669 errors. Use the RPC parameters in the expected way
671 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
674 * properties/Makefile.am:
675 * properties/ev-properties-main.c: (ev_properties_get_pages):
677 Support all mime types
680 * thumbnailer/Makefile.am:
681 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
682 (evince_thumbnail_pngenc_get):
684 Use the document factory
686 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
688 * backend/Makefile.am:
689 * backend/ev-document-factory.c:
690 (mime_type_supported_by_gdk_pixbuf),
691 (ev_document_type_get_from_mime),
692 (ev_document_factory_get_document),
693 (ev_document_factory_get_backend),
694 (ev_document_factory_get_mime_types),
695 (ev_document_factory_get_all_mime_types):
696 * backend/ev-document-factory.h:
698 * shell/ev-document-types.c: (get_document_from_uri),
699 (ev_document_types_get_document),
700 (file_filter_add_mime_list_and_free),
701 (ev_document_types_add_filters):
702 * shell/ev-document-types.h:
703 * shell/ev-job-xfer.c: (ev_job_xfer_run):
704 * shell/ev-properties-dialog.c:
705 (ev_properties_dialog_set_document):
706 * shell/ev-window.c: (ev_window_cmd_file_open),
707 (ev_window_cmd_save_as):
708 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
710 Rework document types managing to avoid code duplication
711 and actually abstract from backend implementations.
712 Also provide a minimal factory api that can be used by
713 thumbnailer/properties.
715 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
717 * properties/ev-properties-view.c: (ev_properties_view_set_info):
719 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
722 2005-07-04 Matthew S. Wilson <msw@rpath.com>
724 * shell/ev-properties-dialog.c
725 (ev_properties_dialog_set_document): only call
726 ev_properties_fonts_set_document() if the document implements the
729 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
732 * properties/Makefile.am:
733 * properties/ev-properties-view.c:
734 (ev_properties_view_register_type):
735 * properties/ev-properties-view.h:
736 * properties/ev-properties-main.h:
738 Implement nautilus plugin for properties.
739 Works only for pdf atm, I need to rework the
740 document types stuff to get this to work
743 2005-07-04 Martin Kretzschmar <martink@gnome.org>
745 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
746 (ev_properties_fonts_set_document): use
747 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
749 2005-07-04 Matthew S. Wilson <msw@rpath.com>
751 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
753 (PlaceImage, tiff2ps_process_page): use
754 g_ascii_dtostr to convert floats to strings in a locale-safe way.
757 2005-07-04 Martin Kretzschmar <martink@gnome.org>
759 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
760 (main): to call gnome_authentication_manager_init. Should fix
763 * configure.ac: that requires libgnomeui 2.6.0.
765 2005-07-04 Matthew S. Wilson <msw@rpath.com>
767 * tiff/tiff-document.c (tiff_document_ps_export_begin)
768 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
769 use the new tiff2ps interfaces
771 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
772 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
774 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
775 structure instead of global variables. Remove use of static
776 variables in functions.
778 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
780 * shell/ev-page-action.c: unref the completion after setting it to the
783 2005-07-04 Matthew S. Wilson <msw@rpath.com>
785 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
788 2005-07-04 Matthew S. Wilson <msw@rpath.com>
790 * shell/ev-window.c (update_action_sensitivity): disable
791 File->Print if the document does not implement the ps exporter
794 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
798 * data/evince-properties.glade:
799 * properties/.cvsignore:
800 * properties/Makefile.am:
801 * properties/ev-properties-view.c: (ev_properties_view_dispose),
802 (ev_properties_view_class_init), (ev_properties_view_format_date),
803 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
804 (ev_properties_view_init), (ev_properties_view_new):
805 * properties/ev-properties-view.h:
807 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
808 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
809 (ev_properties_dialog_new):
810 * shell/ev-properties-dialog.h:
811 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
812 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
813 (update_progress_label), (job_fonts_finished_cb),
814 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
815 * shell/ev-properties-fonts.h:
816 * shell/ev-properties.c:
817 * shell/ev-properties.h:
818 * shell/ev-window.c: (ev_window_setup_document),
819 (ev_window_cmd_file_properties):
821 Split the properties pages in two different objects, depend
822 only on the backend where possible, use widgets instead
823 of gobject for the glade part, reimplement the dialog
825 I need this to implement nautilus properties page.
827 2005-07-03 Matthew S. Wilson <msw@rpath.com>
829 * tiff/tiff-document.c (tiff_document_ps_export_begin)
830 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
831 (tiff_document_document_ps_exporter_iface_init): implement the ps
832 exporter interface for tiff documents
834 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
835 libtiff to implement TIFF postscript export
837 * tiff/tiff2ps.h: added a header file for external tiff2ps
840 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
843 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
845 * shell/ev-view.c: (scroll_to_current_page),
846 (ev_view_set_fullscreen), (ev_view_set_presentation):
848 Scroll to current page when exit from presentation
850 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
852 * shell/ev-window.c: (update_document_mode),
853 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
854 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
855 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
857 Exit from fullscreen mode when switch to presentation. Fix for
860 2005-07-02 Matthew S. Wilson <msw@rpath.com>
862 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
863 return NULL if the document does not implement the selection
866 2005-07-02 Matthew S. Wilson <msw@rpath.com>
868 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
869 reported height by using the resolution aspect ratio
870 (tiff_document_render_pixbuf): scale the pixbuf using the
871 resolution aspect ratio
873 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
877 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
878 <kiltedaco@gmail.com>
880 * djvu/djvu-document.c: (djvu_document_get_orientation),
881 (djvu_document_set_orientation), (djvu_document_get_page_size),
882 (rotate_pixbuf), (djvu_document_render_pixbuf),
883 (djvu_document_document_iface_init):
884 * dvi/dvi-document.c: (dvi_document_get_orientation),
885 (dvi_document_set_orientation), (dvi_document_get_page_size),
886 (rotate_pixbuf), (dvi_document_render_pixbuf),
887 (dvi_document_document_iface_init):
889 Dvi and djvu backends are ported to new API
891 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
893 * backend/ev-selection.c: (ev_selection_get_selection_region),
894 (ev_selection_get_selection_map):
895 * backend/ev-selection.h:
897 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
899 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
900 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
901 (ev_pixbuf_cache_get_text_mapping):
902 * shell/ev-pixbuf-cache.h:
903 * shell/ev-view.c: (location_in_text),
904 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
905 support to EvView. Now we can see where we can select! Sweet!
907 2005-06-30 Kristian Høgsberg <krh@redhat.com>
909 * shell/ev-view.c (ev_view_button_press_event): Fix
910 event->y + view->scroll_x typo.
912 2005-06-30 Kristian Høgsberg <krh@redhat.com>
914 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
915 sub-GdkPixbuf instead of passing dest_x and dest_y.
917 * shell/ev-view.c: (view_point_to_doc_point),
918 (view_rect_to_doc_rect), (ev_view_button_press_event),
919 (ev_view_motion_notify_event), (compute_new_selection_rect),
920 (gdk_rectangle_point_in), (compute_new_selection_text),
921 (compute_selections): Update selection code to keep the selection
922 around as two points and not as a normalized rectangle, and fix
923 page level selection in two-column mode.
925 2005-06-30 Alex Duggan <aldug@astrolinux.com>
927 * shell/ev-window.c: (window_configure_event_cb):
931 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
937 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
940 * shell/ev-metadata-manager.c: (item_free),
941 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
942 (parse_value), (parseItem), (load_values),
943 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
944 (save_values), (save_item), (get_oldest), (resize_items),
945 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
946 * shell/ev-metadata-manager.h:
948 Metadata manager from gedit but modified to use GValue, so that
949 we dont need to keep converting from strings.
953 ENABLE_METADATA conditional, on when dbus is on
955 * shell/ev-application.c: (ev_application_open_uri):
957 Show the window after load so that we can initialize
958 window size before it's showed.
960 * shell/ev-window.c: (ev_window_setup_from_metadata),
961 (ev_window_open_uri), (window_configure_event_cb),
964 Save and load metadata information about window size.
965 Not yet keeping states in account.
967 * shell/main.c: (main):
969 Shutdown metadata manager.
971 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
973 * shell/ev-application-service.xml:
976 * shell/ev-application.c:
977 * shell/ev-application.h:
982 Add an optional dbus interface (--enable-dbus).
983 Rework application code, mainly to be easier to
985 Do not open multiple windows with the same document,
988 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
990 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
991 pixbuf iff it exists.
993 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
996 * backend/ev-render-context.[ch]:
997 * backend/ev-selection.[ch]:
999 Massive changes. We now support text selection of pdfs, and not
1000 just rectangular selection. This is pretty broken still, but I
1001 want to get something into CVS.
1003 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1005 * pdf/ev-poppler.cc:
1007 Fix for Bug 309080: crash on window close.
1009 * shell/ev-page-action.c: (page_changed_cb):
1011 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1012 jensgr@gmx.net (Jens Granseuer).
1014 2005-06-25 Marcel Telka <marcel@telka.sk>
1016 * configure.in (ALL_LINGUAS): Added sk.
1018 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1020 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1023 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1030 * cut-n-paste/recent-files/Makefile.am:
1034 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1036 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1037 (pixbuf_document_set_orientation), (rotate_pixbuf),
1038 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1039 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1041 Implement rotation and cleanup the code a bit.
1043 * tiff/tiff-document.c: (tiff_document_get_page_size),
1044 (tiff_document_get_orientation), (tiff_document_set_orientation),
1045 (rotate_pixbuf), (tiff_document_render_pixbuf),
1046 (tiff_document_document_iface_init), (tiff_document_init):
1048 Implement rotation. Was the quicker solution for the release
1049 but we really need to share this code in the shell.
1051 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1053 * pdf/ev-poppler.cc:
1055 Enable rotation, require poppler cvs. Fix a leak.
1057 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1059 * shell/ev-window.c: (update_action_sensitivity):
1061 Make properties unsensitive if document backend doesn't provide
1064 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1066 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1067 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1068 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1069 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1070 (bitmap_flip_rotate_counter_clockwise):
1071 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1072 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1074 * dvi/mdvi-lib/common.h:
1075 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1076 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1077 (opendvi), (mdvi_reload), (mdvi_init_context),
1078 (mdvi_destroy_context), (mdvi_dopage), (special):
1079 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1080 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1081 (file_hash_free), (register_encoding), (parse_spec),
1082 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1083 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1084 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1085 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1086 (mdvi_register_font_type), (mdvi_unregister_font_type),
1087 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1088 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1089 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1090 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1091 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1092 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1093 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1094 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1095 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1096 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1097 (mdvi_unregister_special), (mdvi_flush_specials):
1098 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1100 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1101 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1102 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1103 (free_font_metrics), (flush_font_metrics):
1104 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1106 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1107 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1108 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1109 (dstring_insert), (dstring_new), (dstring_reset):
1110 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1112 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1113 avoid conflict with libtool on FC4
1115 * shell/ev-window.c: (ev_window_cmd_help_about):
1117 Update copyright year. Fix for bug 308828.
1119 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1121 * shell/ev-view.c: (add_scroll_binding_keypad),
1122 (ev_view_binding_activated), (ev_view_class_init),
1123 (on_adjustment_value_changed):
1125 Bug 170874: Arrow keys switch pages in presentation mode
1127 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1129 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1131 Fix for Bug 308265: Sidebar dissappears coming out of
1134 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1136 * shell/ev-application.c: (ev_application_open):
1137 * shell/ev-document-types.c: (ev_document_types_add_filters),
1138 (ev_document_types_add_filters_for_type):
1139 * shell/ev-document-types.h:
1140 * shell/ev-window.c: (ev_window_cmd_save_as):
1142 Suggest basename as template when saving, provide filters
1143 for save dialog. It's bug 308402
1145 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1147 * pdf/ev-poppler.cc:
1148 * shell/ev-sidebar-links.c: (job_finished_callback):
1149 * shell/ev-view.c: (update_find_status_message):
1153 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1155 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1156 (egg_recent_view_uimanager_set_list):
1158 Fix buglet in !show_numbers case.
1160 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1162 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1163 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1165 Use pango ellipsisation.
1167 * pdf/ev-poppler.cc:
1169 Fix refcount leak, from nsh.
1171 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1173 * cut-n-paste/recent-files/Makefile.am:
1174 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1175 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1177 Removed EggRecentViewGtk
1179 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1180 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1181 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1182 (ev_window_setup_recent):
1184 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1187 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1189 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1190 (egg_recent_view_gtk_finalize):
1194 * cut-n-paste/toolbar-editor/Makefile.am:
1196 Fix location of cursor icon.
1198 * pdf/ev-poppler.cc:
1199 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1200 (display_completion_text), (match_completion):
1201 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1202 (selection_changed_callback), (create_loading_model),
1203 (print_section_cb), (links_page_num_func),
1204 (update_page_callback_foreach):
1205 * shell/ev-window.c: (ev_window_dispose):
1207 Small memory fixes. Links model now store objects instead
1208 of pointers to improve memory management.
1210 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1212 * shell/ev-window.c: (zoom_control_changed_cb):
1214 Fix update of zoom control (bug 308268).
1216 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1218 * shell/ev-properties.c (set_property): escape the text correctly.
1219 Handles non-UTF-8 properties and escaped properties. Also, sets
1220 the text to "<i>None</i>" if the property isn't set.
1222 * data/evince-properties.glade: Change the label to be ellipsized,
1223 and give it a minimum size.
1225 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1227 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1228 * shell/ev-sidebar-links.c: (create_loading_model):
1229 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1230 * shell/ev-view.c: (ev_view_set_document):
1231 * shell/ev-window.c: (ev_window_dispose):
1233 Various small fixes, mostly memory leaks. Thanks to valgrind.
1235 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1237 * ps/ps-document.c: remove the locale.h include again ;-). And
1238 kill the (bogus) setlocale/savelocale business.
1240 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1244 Include locale.h to fix build
1246 * shell/ev-sidebar.c:
1248 Remove unnecessary includes
1250 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1252 * dvi/dvi-document.c: (dvi_document_load):
1253 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1256 Check for incorrect dvi files. Fix parsing dvi on AMD64
1257 platform. Thanks to tester@tester.ca (Olivier Crete).
1259 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1261 * shell/ev-page-action.c: (match_selected_cb),
1262 (display_completion_text), (match_completion), (update_model):
1263 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1264 (expand_open_links):
1265 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1266 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1267 (ev_sidebar_set_document):
1268 * shell/ev-window.c: (ev_window_xfer_job_cb),
1269 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1271 Fixed lot's of memory leaks, for example, memory leak on reload,
1272 described in bug 307793.
1274 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1276 * pdf/ev-poppler.cc:
1277 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1278 (update_visible_range), (adjustment_changed_cb),
1279 (ev_sidebar_thumbnails_fill_model),
1280 (ev_sidebar_thumbnails_refresh),
1281 (ev_sidebar_tree_selection_changed),
1282 (ev_sidebar_icon_selection_changed),
1283 (ev_sidebar_thumbnails_use_icon_view),
1284 (ev_sidebar_thumbnails_set_document):
1285 * shell/ev-sidebar-thumbnails.h:
1286 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1287 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1289 Refresh thumbnails when changing orientation. Not fully
1290 working yet becuase of a sidebar bug.
1292 Set page orientation to poppler page everywhere. This sucks
1293 really need to fix poppler.
1295 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1297 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1298 (egg_recent_view_gtk_new_menu_item),
1299 (egg_recent_view_gtk_set_property),
1300 (egg_recent_view_gtk_get_property),
1301 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1302 (egg_recent_view_gtk_set_tooltip_func),
1303 (egg_recent_view_gtk_set_label_width),
1304 (egg_recent_view_gtk_get_label_width):
1305 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1307 Sync with libegg (ellipsize labels)
1309 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1311 * data/evince-ui.xml:
1312 * shell/ev-window.c: (ev_window_cmd_go_forward),
1313 (ev_window_cmd_go_backward):
1315 Shift + PageUp moves 10 Pages. Fix for 306125
1317 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1319 * pdf/ev-poppler.cc:
1321 Add a flag to check if orientation has been overriden
1323 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1325 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1328 * ps/ps.h: add creator field to document.
1330 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1333 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1335 * data/evince-properties.glade:
1336 * shell/ev-properties.c: (ev_properties_set_document):
1338 s/PDF Version/Format
1340 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1342 * shell/ev-properties.c: (ev_properties_set_document):
1344 Remove unnecessary translations
1346 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1348 * cut-n-paste/toolbar-editor/Makefile.am:
1350 Correct library name
1352 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1355 * cut-n-paste/recent-files/egg-recent-model.c:
1356 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1357 (egg_recent_model_unlock_file):
1358 * cut-n-paste/recent-files/egg-recent-util.c:
1359 (egg_recent_util_get_unique_id):
1360 * cut-n-paste/recent-files/update-from-egg.sh:
1361 * cut-n-paste/toolbar-editor/Makefile.am:
1362 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1363 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1364 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1365 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1366 (egg_toolbars_model_get_type):
1367 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1369 Better makefile for toolbar editor and update everything
1372 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1374 * shell/ev-window.c: (update_document_mode):
1376 Prefer presentation mode when the document
1379 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1381 * data/evince-ui.xml:
1382 * shell/ev-window.c:
1384 Add control-equal for zooming
1386 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1388 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1390 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1392 * backend/ev-document.c: (ev_document_get_orientation):
1393 * backend/ev-document.h:
1394 * pdf/ev-poppler.cc:
1395 * ps/ps-document.c: (ps_document_get_orientation),
1396 (ps_document_set_orientation), (ps_document_document_iface_init):
1398 Add a get_orientation api. Improve set_orientation.
1400 * data/evince-ui.xml:
1401 * shell/ev-view.c: (ev_view_set_orientation),
1402 (ev_view_rotate_right), (ev_view_rotate_left):
1404 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1405 (ev_window_cmd_edit_rotate_right):
1407 Better ui for changing document orientation
1409 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1411 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1412 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1413 * shell/ev-sidebar-links.h:
1414 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1415 (ev_sidebar_page_iface_init):
1416 * shell/ev-sidebar-page.h:
1417 * shell/ev-sidebar-thumbnails.c:
1418 (ev_sidebar_thumbnails_get_property),
1419 (ev_sidebar_thumbnails_class_init),
1420 (ev_sidebar_thumbnails_set_document):
1421 * shell/ev-sidebar-thumbnails.h:
1422 * shell/ev-view.c: (ev_view_motion_notify_event):
1423 * shell/ev-window.c: (update_chrome_visibility),
1424 (ev_window_cmd_focus_page_selector),
1425 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1426 (sidebar_page_main_widget_update_cb), (ev_window_init):
1428 Autoraise toolbar on GoToPage binding and fix bindings in
1429 EvSidebarThumbnails page.
1431 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1433 * shell/ev-properties.c: (update_progress_label):
1435 Hide the progress label when finished; bug #307697.
1437 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1439 * pdf/ev-poppler.cc:
1441 Enable is_open for links, you will need poppler cvs
1443 * shell/ev-properties.c: (job_fonts_finished_cb):
1445 Get a lock on the document when filling the tree view
1447 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1449 * backend/ev-document-links.h:
1450 * pdf/ev-poppler.cc:
1451 * shell/ev-sidebar-links.c: (create_loading_model),
1452 (expand_open_links), (job_finished_callback):
1454 Expand links when specified by the document.
1455 Depend on a poppler api (defined out for now)
1457 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1459 * shell/ev-properties.c: (ev_properties_dispose),
1460 (ev_properties_class_init), (dialog_destroy_cb),
1461 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1462 (ev_properties_set_document), (ev_properties_new),
1463 (ev_properties_show):
1464 * shell/ev-properties.h:
1466 Make it an object, cleanup the code, api to show it as transient
1467 and to set the document.
1469 * shell/ev-window.c: (ev_window_setup_document),
1470 (ev_window_cmd_file_properties):
1472 Adapt to EvProperties changes, do not show multiple
1473 times, update it when document changes.
1475 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1478 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1479 (ps_document_set_orientation), (ps_document_document_iface_init):
1482 Implement orientation here too
1484 * shell/ev-properties.c: (ev_properties_new):
1485 * data/evince-properties.glade:
1487 Hide the fonts page for backends that doesnt
1490 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1492 * backend/ev-document.c: (ev_document_set_orientation):
1493 * backend/ev-document.h:
1494 * pdf/ev-poppler.cc:
1496 Add orientation api. Currently poppler api is not optimal,
1497 we need to set orientation every time we _get a page.
1498 I will try to fix that at some point.
1500 * data/evince-ui.xml:
1501 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1502 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1504 Add orientation menu items
1506 * shell/ev-page-cache.c: (ev_page_cache_clear):
1507 * shell/ev-page-cache.h:
1509 Add api to clear the cache
1511 * shell/ev-view.c: (setup_caches), (clear_caches),
1512 (ev_view_set_document), (ev_view_zoom_out),
1513 (ev_view_set_orientation):
1516 Implement orientation changing
1518 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1520 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1521 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1522 * backend/ev-document-fonts.h:
1524 Separate scan and fill so that we can incrementally fill from
1525 the main thread. Add a progress api.
1527 * data/evince-properties.glade:
1528 * pdf/ev-poppler.cc:
1529 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1531 * shell/ev-properties.c: (update_progress_label),
1532 (job_fonts_finished_cb), (setup_fonts_view):
1534 Incrementally feel the list and show the progress
1535 percentage in a label like acrobat does.
1537 You are going to need poppler cvs
1539 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1541 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1542 * backend/ev-document-fonts.h:
1543 * pdf/ev-poppler.cc:
1545 Make fonts model fill incrementally.
1547 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1548 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1549 (ev_job_queue_remove_job):
1550 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1551 (ev_job_fonts_new), (ev_job_fonts_run):
1554 New job for fonts scanning
1556 * shell/ev-properties.c: (job_fonts_finished_cb),
1557 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1558 * shell/ev-properties.h:
1559 * shell/ev-window.c: (ev_window_cmd_file_properties):
1561 Incrementally feel the treeview using the new job. Show Loading...
1562 message until scanning is completed.
1564 Hopefully I didnt break the build without the poppler patch.
1566 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1568 * shell/ev-application.c: (ev_application_open):
1569 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1570 (ev_document_type_get_type), (ev_document_type_lookup):
1571 * shell/ev-document-types.h:
1572 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1573 * shell/ev-job-xfer.h:
1574 * shell/ev-window.c: (ev_window_clear_local_uri),
1575 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1576 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1577 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1579 Transfer remote documents to tmp directory to display them later.
1581 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1583 * backend/ev-document-info.h:
1584 * shell/ev-properties.c: (ev_properties_new):
1586 s/GTime*/GTime. Not sure why we was using a pointer
1589 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1591 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1592 situations. That situation is that you're using GTK+-HEAD with
1593 the patch at #306726 is applied, and you have a document with <
1594 1500 pages in it. It's not quite as uniformly nice as the
1595 TreeView, but should be better in the long run.
1597 I'm pretty sure I guarded against breaking compilation with
1598 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1601 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1602 widget yet, so I commented that code out
1603 enable_view_actions_for_widget() for now. Need to figure this
1606 * shell/ev-page-action.c (match_selected_cb): emit the right
1607 signals. Our cool C-l completion now works.
1609 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1611 * backend/Makefile.am:
1612 * backend/ev-document-fonts.c:
1613 * backend/ev-document-links.c:
1614 * backend/ev-document.c: (ev_document_load):
1615 * backend/ev-document.h:
1616 * backend/ev-job-queue.c:
1617 * backend/ev-job-queue.h:
1618 * backend/ev-jobs.c:
1619 * backend/ev-jobs.h:
1620 * backend/ev-page-cache.c:
1621 * backend/ev-page-cache.h:
1623 EvPageCache and EvJobs are moved to shell.
1625 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1627 * lib/ev-file-helpers.h:
1629 New helper to work with temporary files
1631 * shell/Makefile.am:
1632 * shell/ev-application.c: (ev_application_open):
1633 * shell/ev-application.h:
1634 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1635 (remove_job_from_async_queue), (add_job_to_async_queue),
1636 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1637 (handle_job), (search_for_jobs_unlocked),
1638 (no_jobs_available_unlocked), (ev_render_thread),
1639 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1640 (ev_job_queue_add_job), (move_job_async), (move_job),
1641 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1642 * shell/ev-job-queue.h:
1643 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1644 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1645 * shell/ev-job-xfer.h:
1646 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1647 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1648 (ev_job_links_class_init), (ev_job_render_init),
1649 (ev_job_render_dispose), (ev_job_render_class_init),
1650 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1651 (ev_job_thumbnail_class_init), (ev_job_load_init),
1652 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1653 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1654 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1655 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1657 * shell/ev-page-action.c: (ev_page_action_set_document):
1658 * shell/ev-page-cache.c: (ev_page_cache_init),
1659 (ev_page_cache_class_init), (ev_page_cache_finalize),
1660 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1661 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1662 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1663 (ev_page_cache_get_title), (ev_page_cache_get_size),
1664 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1665 (ev_page_cache_get_height_to_page),
1666 (ev_page_cache_get_max_label_chars),
1667 (ev_page_cache_get_page_label),
1668 (ev_page_cache_has_nonnumeric_page_labels),
1669 (ev_page_cache_get_info), (ev_page_cache_next_page),
1670 (ev_page_cache_prev_page), (ev_page_cache_get):
1671 * shell/ev-page-cache.h:
1672 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1673 (ev_pixbuf_cache_clear_job_sizes),
1674 (ev_pixbuf_cache_add_jobs_if_needed),
1675 (ev_pixbuf_cache_set_page_range):
1676 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1677 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1678 * shell/ev-sidebar-thumbnails.c:
1679 (ev_sidebar_tree_selection_changed),
1680 (ev_sidebar_thumbnails_set_document):
1681 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1682 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1683 (ev_statusbar_get_context_id), (ev_statusbar_push),
1684 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1685 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1686 (ev_statusbar_set_progress):
1687 * shell/ev-statusbar.h:
1688 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1689 (ev_view_find_previous):
1690 * shell/ev-window.c: (ev_window_is_empty),
1691 (ev_window_setup_document), (password_dialog_response),
1692 (ev_window_clear_jobs), (ev_window_load_job_cb),
1693 (ev_window_xfer_job_cb), (ev_window_open_uri),
1694 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1695 (ev_window_print), (ev_window_print_range),
1696 (ev_window_state_event), (ev_window_cmd_view_reload),
1697 (menu_item_select_cb), (menu_item_deselect_cb),
1698 (view_status_changed_cb), (ev_window_dispose),
1699 (drag_data_received_cb), (ev_window_init):
1700 * shell/ev-window.h:
1701 * shell/main.c: (load_files):
1703 New statusbar to show progress on idle. Two new jobs -
1704 xfer job and load job to load document in background. And update
1705 of page_cache clients to new location of code.
1707 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1709 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1710 selection in open dialog. It also remembers the last visited directory
1711 in the current session.
1713 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1715 * shell/ev-properties.c: (ev_properties_new):
1716 * shell/ev-properties.h:
1717 * shell/ev-window.c: (ev_window_cmd_file_properties):
1719 Get document info from page cache instead of document itself.
1720 This should fix crash related to race conditions described in
1723 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1725 * ps/ps-document.c: (ps_document_init),
1726 (send_ps), (get_page_box), (output), (catchPipe), (input),
1727 (stop_interpreter), (file_length), (file_readable),
1728 (check_filecompressedb), (ps_document_enable_interpreter),
1729 (document_load), (ps_async_renderer_render_pixbuf):
1732 Big cleanup of the ps code
1734 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1736 * backend/Makefile.am:
1737 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1738 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1739 * backend/ev-async-renderer.h:
1741 Add an async renderer interface (method + callback) which
1742 is useful for backends like ps.
1744 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1745 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1746 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1747 (ev_job_queue_add_job), (move_job_async), (move_job),
1748 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1750 Add queues for async renderer, these are executed on the
1753 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1754 (ev_job_render_run):
1755 * backend/ev-jobs.h:
1757 If the backend support async renderer interface use it.
1759 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1760 (setup_pixmap), (ps_document_get_type),
1761 (ps_async_renderer_render_pixbuf),
1762 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1764 Implement async renderer interface.
1766 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1768 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1770 Cleanup links job on exit.
1772 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1774 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1775 (drag_data_get_cb), (drag_data_received_cb):
1776 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1777 (drag_data_get_cb), (parse_item_list),
1778 (egg_toolbar_editor_load_actions):
1779 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1780 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1781 (parse_item_list), (parse_toolbars):
1782 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1783 (dvi_pixbuf_put_pixel):
1785 Fix gcc 4.0 warnings
1787 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1789 * ps/ps-document.c: (start_interpreter):
1791 Fix warning when loading ps
1793 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1795 * ps/ps-document.c: (output):
1797 Fix crash when priting gs error messages.
1799 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1801 * backend/ev-page-cache.c: (_ev_page_cache_new):
1802 * backend/ev-page-cache.h:
1804 Use a const to return title so that we dont double
1805 free it. Small cleanup and fix a leak.
1807 * shell/ev-window.c: (update_window_title):
1809 strdup value from get_title.
1811 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1813 * shell/ev-sidebar-links.c: (job_finished_callback),
1814 (ev_sidebar_links_set_document):
1816 Cleanup the old job when changing document
1818 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1820 * shell/ev-stock-icons.c:
1821 * shell/ev-stock-icons.h:
1822 * shell/ev-window.c:
1824 Add stock icons for actions that can appear in toolbar. Fix for
1827 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1829 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1830 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1831 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1832 * backend/ev-page-cache.h:
1833 * shell/ev-view.c: (scroll_to_current_page),
1834 (view_update_range_and_current_page), (get_page_y_offset),
1835 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1836 (ev_view_size_request_continuous),
1837 (ev_view_zoom_for_size_continuous_and_dual_page),
1838 (ev_view_zoom_for_size_continuous):
1840 More compact EvView layout in document with pages of different size.
1842 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1844 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1847 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1849 * shell/ev-view.c: (view_set_adjustment_values):
1850 * shell/ev-window.c: (ev_window_cmd_file_properties):
1852 A bit different fix for rounding problem but it has no
1853 problems on startup. Make properties window transient to parent.
1855 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1857 * pdf/ev-poppler.cc:
1859 More commenting of font stuff.
1861 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1863 * pdf/ev-poppler.cc:
1865 Comment out some more fonts stuff. Should really
1866 work without the poppler patch now.
1868 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1870 * pdf/ev-poppler.cc:
1874 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1876 * data/evince-properties.glade:
1877 * pdf/ev-poppler.cc:
1878 * shell/ev-properties.c: (setup_fonts_view):
1880 Set the column title. Show the dialog only
1881 once everything is setup.
1882 Getting font info can be very slow... will
1883 prolly need to make this threaded too.
1885 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1887 * backend/Makefile.am:
1888 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1889 (ev_document_fonts_get_fonts_model):
1890 * backend/ev-document-fonts.h:
1891 * data/evince-properties.glade:
1892 * pdf/ev-poppler.cc:
1893 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1894 * shell/ev-properties.h:
1895 * shell/ev-window.c: (ev_window_cmd_file_properties):
1897 Implement fonts list. Defined out for now, since it depends
1898 on a not yet committed poppler patch.
1900 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1902 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1905 * shell/ev-window.c: Make sure we add the timeout when we get a
1908 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1909 adjustment->value before calculating the zoom factor to average
1910 out all of our rounding errors. The page no longer 'drifts' when
1913 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1915 * data/evince-properties.glade:
1916 * shell/ev-properties.c: (ev_properties_format_date),
1919 Labels don't expand when the dialogue is resized.
1920 strftime result needs to be converted to UTF-8. Thanks
1921 to Christian Persch <chpe@gnome.org>.
1923 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1925 * data/evince-properties.glade:
1929 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1931 * backend/ev-document-info.h:
1932 * backend/ev-document.c: (ev_document_info_free):
1933 * data/evince-properties.glade:
1934 * pdf/ev-poppler.cc:
1935 * ps/ps-document.c: (ps_document_get_info):
1936 * shell/ev-properties.c: (ev_properties_format_date),
1937 (set_property), (ev_properties_new):
1938 * shell/ev-properties.h:
1939 * shell/ev-window.c: (ev_window_cmd_file_properties):
1941 Rework properties code to take only EvPropertyInfo
1942 in the constructor so that it can be useful for
1943 nautilus plugin too.
1945 Deal with backends that doesnt support some properties.
1946 Make set property code generic.
1948 2005-06-04 Christian Persch <chpe@gnome.org>
1950 * data/evince-properties.glade:
1952 fix spacings, make resizeable, and make data labels
1953 selectable + ellipsised
1955 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1957 * backend/ev-document-info.h:
1959 * data/evince-ui.xml:
1960 * pdf/ev-poppler.cc:
1961 * shell/Makefile.am:
1962 * shell/ev-window.c: (update_action_sensitivity),
1963 (ev_window_cmd_file_properties):
1965 Initial go at file properties. Patch by
1966 Emil Soleyman-Zomalan <emil@soleyman.com>.
1967 Needs love see #169583
1969 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1971 * ps/ps-document.c: (output):
1972 * ps/ps.c: (psscan):
1974 Try to render even if psscan fails.
1976 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1978 * ps/ps.c: (psscan), (pscopydoc):
1980 Port buffered reading code from gv
1982 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1984 * ps/ps-document.c: (interpreter_message), (output):
1986 Do not fail on interpreter messages
1988 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1990 * backend/ev-document-misc.c:
1991 (ev_document_misc_get_thumbnail_frame):
1993 Pages can be 0 x 0, dont assert on this case
1995 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1997 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1998 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2000 Correctly manage our reference on document. Finally the reload
2001 huge leak is gone...
2003 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2005 * ps/ps-document.c: (ps_document_dispose):
2007 Forgot to chain it to the parent. Thanks chpe.
2009 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2011 * ps/ps-document.c: (ps_document_dispose),
2012 (ps_document_class_init), (stop_interpreter), (document_load):
2014 Cleanup dispose a bit. Dont leak the whole pixmap.
2016 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2018 * pdf/ev-poppler.cc:
2020 Release the poppler document on dispose
2022 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2024 * shell/ev-view.c: (ev_view_set_document):
2026 Release ref on the pixbuf cache when changing
2029 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2031 * ps/ps-document.c: (ps_document_get_info):
2035 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2037 * backend/ev-page-cache.c: (ev_page_cache_init),
2038 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2039 * backend/ev-page-cache.h:
2040 * shell/ev-page-action.c: (page_changed_cb):
2042 Set page action entry width depending on labels width. Fix
2045 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2047 * backend/ev-link.c: (ev_link_class_init):
2049 Allow -1 as page value (error)
2051 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2053 * shell/ev-sidebar-thumbnails.c:
2054 (ev_sidebar_thumbnails_set_document):
2055 * shell/ev-view.c: (scroll_to_current_page),
2056 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2057 (page_changed_cb), (on_adjustment_value_changed),
2058 (ev_view_set_document):
2060 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2063 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2066 * djvu/djvu-document.c: (djvu_document_get_page_size):
2068 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2071 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2073 * shell/ev-view.c (draw_one_page): modify the expose handling to
2076 * shell/ev-window.c (update_action_sensitivity): Respect
2077 permissions field. Kowtow to the man.
2079 * pdf/ev-poppler.cc: Get the permissions field.
2081 * tiff/*c: Make a tiny bit more robust.
2083 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2085 * djvu/djvu-document.c:
2087 Pop messages from djvu context message queue.
2089 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2091 * configure.ac, Makefile.am, shell/Makefile.am:
2092 * tiff/Makefile.am, shell/ev-document-types.c:
2094 Cleanup tiff configure checks. Fix for bug 305218.
2096 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2098 * configure.ac: Added "uk" to ALL_LINGUAS.
2100 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2102 * cut-n-paste/zoom-control/ephy-zoom.c:
2103 (ephy_zoom_get_changed_zoom_level):
2104 * cut-n-paste/zoom-control/ephy-zoom.h:
2105 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2106 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2107 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2108 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2109 (zoom_control_changed_cb), (ev_window_init):
2111 Fix minor points related to moving best fit up. Introduce
2112 "zoom" property and make zoom control change it's value on
2113 notify::zoom signals. Fix for 305080.
2115 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2117 * data/evince-ui.xml:
2118 * shell/ev-window.c: (set_view_actions_sensitivity):
2120 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2122 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2126 Depends on poppler 0.3.2
2128 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2130 * cut-n-paste/recent-files/egg-recent-item.c:
2131 (egg_recent_item_get_short_name):
2132 * cut-n-paste/toolbar-editor/Makefile.am:
2133 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2134 (new_pixbuf_from_widget):
2135 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2136 * cut-n-paste/toolbar-editor/egg-marshal.c:
2137 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2138 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2142 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2144 * tiff/tiff-document.c: Rough TIFF backend.
2146 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2150 * cut-n-paste/toolbar-editor/Makefile.am:
2154 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2156 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2157 (ev_view_find_next), (ev_view_find_previous):
2159 Remove the locks around get_n_results
2161 2005-05-21 Juerg Billeter <j@bitron.ch>
2163 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2165 Pass correct number of pages to poppler.
2167 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2171 * data/evince.desktop.in:
2172 * data/evince.desktop.in.in:
2175 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2177 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2179 * shell/ev-view.c: (view_update_adjustments),
2180 (view_set_adjustment_values): cast adjustmen->value to (int)
2181 before using it. Otherwise, we get off by a pixel in some
2184 (draw_one_page): Draw the border on expose.
2186 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2188 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2189 adjustment when the mode changes, #304923
2191 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2193 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2194 flickering on resize but still use gdk_window_scroll on
2197 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2199 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2202 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2204 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2205 second page on page_changed if possible, #304669
2207 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2209 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2210 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2212 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2215 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2216 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2217 (ev_view_zoom_for_size_presentation),
2218 (ev_view_zoom_for_size_continuous_and_dual_page),
2219 (ev_view_zoom_for_size_continuous),
2220 (ev_view_zoom_for_size_dual_page),
2221 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2223 * shell/ev-window.c: (update_view_size),
2224 (ev_window_sizing_mode_changed_cb):
2226 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2227 the scrollbars. It's not 100% right, but it's much closer. Kills
2228 an infinite loop, #304769
2231 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2233 * data/evince-ui.xml:
2234 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2235 * shell/ev-window.c: (set_view_actions_sensitivity):
2237 Make PgUp/Down behave like Space
2239 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2241 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2242 * backend/ev-ps-exporter.h:
2243 * pdf/ev-poppler.cc:
2244 * ps/ps-document.c: (ps_document_ps_export_begin):
2245 * shell/ev-print-job.c: (idle_print_handler):
2247 Adapt to new poppler api
2249 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2251 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2252 (ephy_zoom_control_init):
2254 Translate zoom levels
2256 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2258 * cut-n-paste/zoom-control/ephy-zoom.c:
2259 (ephy_zoom_get_zoom_level_index):
2261 Fix current zoom -> zoom control match
2263 2005-05-18 James Bowes <bowes@cs.dal.ca>
2265 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2266 rather than the scrolled_window that it's in. Fixes bug #304655.
2268 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2270 * shell/ev-view.c: (view_update_adjustments),
2271 (view_set_adjustment_values), (view_update_range_and_current_page),
2272 (view_scroll_to_page), (set_scroll_adjustment),
2273 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2274 (ev_view_scroll), (ev_view_scroll_view),
2275 (ensure_rectangle_is_visible), (find_page_at_location),
2276 (get_link_at_location), (go_to_link), (status_message_from_link),
2277 (ev_view_size_request_continuous_dual_page),
2278 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2279 (ev_view_unrealize), (ev_view_expose_event),
2280 (ev_view_button_press_event), (ev_view_motion_notify_event),
2281 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2282 (draw_rubberband), (highlight_find_results), (draw_one_page),
2283 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2284 (ev_view_init), (find_changed_cb), (page_changed_cb),
2285 (on_adjustment_value_changed), (ev_view_new),
2286 (ev_view_set_document), (ev_view_set_zoom),
2287 (ev_view_set_continuous), (ev_view_set_dual_page),
2288 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2289 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2290 (ev_view_zoom_for_size_presentation),
2291 (ev_view_zoom_for_size_continuous_dual_page),
2292 (ev_view_zoom_for_size_continuous),
2293 (ev_view_zoom_for_size_dual_page),
2294 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2295 (ev_view_get_status), (ev_view_set_status),
2296 (update_find_status_message), (ev_view_get_find_status),
2297 (ev_view_set_find_status), (jump_to_find_result),
2298 (jump_to_find_page), (compute_selections), (clear_selection),
2299 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2300 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2301 (ev_view_update_primary_selection),
2302 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2304 * shell/ev-window.c: (ev_window_open_page_label),
2305 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2307 * shell/ev-window.h:
2308 * shell/main.c: (load_files):
2310 Massive code clean up from Nickolay Shmyrev. Keep page offset
2311 when resizing. Remove the bin_window(). Also, patch from James
2312 Bowes to fix command line page, #300641
2314 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2316 * data/evince-ui.xml:
2319 * shell/ev-window.c: (update_action_sensitivity):
2321 Get rid of View->Normal Size, it's just confusing
2323 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2325 * backend/ev-document-info.h:
2326 * backend/ev-document.c: (ev_document_info_free): Free the
2329 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2330 (clear_range), (add_range), (update_visible_range),
2331 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2332 (ev_sidebar_thumbnails_set_document):
2333 * shell/ev-window.c: (ev_window_setup_document): Only render the
2334 visible thumbnails. It takes an instant to render, but it uses
2337 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2339 * shell/ev-sidebar-links.c: (popup_menu_cb):
2343 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2346 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2347 (button_press_cb), (ev_sidebar_links_construct):
2349 Show the popup menu also on keybindings
2351 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2353 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2354 * shell/ev-window.h:
2356 Expose api to print a range (with dialog). Make private _print use
2359 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2360 (ev_sidebar_links_construct):
2362 Show a print context menu on linkx, it prints the selected
2365 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2367 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2370 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2376 * shell/ev-window.c: (build_comments_string),
2377 (ev_window_cmd_help_about):
2379 Show poppler version/backend and authors
2381 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2383 * cut-n-paste/zoom-control/ephy-zoom.c:
2384 (ephy_zoom_get_zoom_level_index):
2385 * cut-n-paste/zoom-control/ephy-zoom.h:
2387 Move the best fit items at the top of the list
2389 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2391 * shell/ev-marshal.list:
2392 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2393 (activate_cb), (match_selected_cb), (activate_link_cb),
2394 (connect_proxy), (ev_page_action_class_init):
2395 * shell/ev-page-action.h:
2397 Use signals to notify action activation. Hopefully
2398 I did not break completion since I cant test...
2400 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2401 (register_custom_actions):
2403 Connect to page selector actions and also grab focus on
2404 the view when activated.
2406 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2408 * pdf/ev-poppler.cc:
2409 * backend/ev-page-cache.c: make page size calculation consistent
2410 and set it to (int)( width * scale + 0.5). This makes the weird
2411 line going through the middle of the page go away.
2413 * shell/ev-view.c: move painting the background page after
2414 checking the expose area covers us.
2416 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2418 * data/evince-password.glade:
2420 Mark labels as not translatable. Fix for bug 302842.
2422 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2424 * configure.ac: Added "es" to ALL_LINGUAS.
2426 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2428 * data/evince-toolbar.xml:
2429 * shell/ev-window.c: (update_action_sensitivity),
2430 (ev_window_setup_document), (ev_window_set_page_mode),
2433 Remove some leftover code from jrb first continous
2434 attempt. Use the new actions, we still need good icons
2437 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2439 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2441 Update label when connecting proxy. Fix a warning with NULL
2444 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2446 * data/evince-ui.xml:
2447 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2448 * shell/ev-page-action.h:
2449 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2451 Add mnemonic for edit toolbar.
2452 ctrl+l focus the page entry.
2454 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2457 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2459 * shell/main.c: (main):
2461 Put the toolbar xml in evince own dot dir
2463 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2465 * shell/ev-window.c: (ev_window_init):
2467 Make the toolbar not removable
2469 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2471 * data/evince-ui.xml:
2472 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2473 * shell/ev-sidebar-links.h:
2474 * shell/ev-sidebar-thumbnails.c:
2475 (ev_sidebar_thumbnails_get_treeview):
2476 * shell/ev-sidebar-thumbnails.h:
2477 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2478 (ev_view_class_init):
2480 * shell/ev-window.c: (update_action_sensitivity),
2481 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2482 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2483 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2486 This is evil... Make space/backspace global accelerators but
2487 enable them only for some widgets (sidebars and view).
2488 I dont like it, but I dont know a better way... :/
2490 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2492 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2493 (ev_page_action_widget_finalize),
2494 (ev_page_action_widget_class_init), (update_page_cache):
2496 Keep a weak reference on proxy->page_cache so that we
2497 dont try to disconnect the signal if the object is already
2498 gone. Maybe there is a better way to cleanup reference handling
2499 in page action though...
2501 2005-05-10 Juerg Billeter <j@bitron.ch>
2503 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2504 * backend/ev-ps-exporter.h:
2505 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2506 * ps/ps-document.c: (ps_document_ps_export_begin):
2508 Change api to pass print range to ps_exporter_begin. The pdf backend
2509 requires this information.
2511 * shell/ev-print-job.c: (idle_print_handler):
2515 2005-05-10 Juerg Billeter <j@bitron.ch>
2517 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2518 (idle_print_handler)
2519 * shell/ev-window.c: (ev_window_print):
2521 Support printing page range, based on patch by Amaury Jacquot
2523 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2525 * data/evince-toolbar.xml:
2527 Add zoom control to available items
2529 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2531 * shell/ev-window.c: (update_action_sensitivity):
2533 Set slash action insensitive when appropriate
2535 2005-05-10 Christian Persch <chpe@gnome.org>
2537 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2539 Fix warning on the overflow menu
2541 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2543 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2545 Check for uri correctness/existence
2547 2005-05-09 Juerg Billeter <j@bitron.ch>
2549 * shell/ev-window.c: (using_postscript_printer):
2551 LPD printers use postscript, too
2553 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2555 * shell/ev-window.c: (register_custom_actions):
2557 The zoom one is actually sort of useful,
2560 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2562 * shell/ev-window.c: (register_custom_actions):
2564 Hide page/zoom controls from overflow, they
2567 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2569 * cut-n-paste/update-from-egg.sh:
2571 Share it between all cut-n-paste subdirs
2573 * cut-n-paste/recent-files/Makefile.am:
2575 Fix to use "global" update-from-egg.sh
2577 * cut-n-paste/recent-files/egg-recent-model.c:
2578 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2579 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2580 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2581 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2585 * cut-n-paste/toolbar-editor/Makefile.am:
2587 Fix to use "global" update-from-egg.sh
2589 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2593 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2596 * cut-n-paste/Makefile.am:
2597 * cut-n-paste/recent-files/Makefile.am:
2598 * cut-n-paste/toolbar-editor/.cvsignore:
2599 * cut-n-paste/toolbar-editor/Makefile.am:
2600 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2601 (egg_editable_toolbar_get_type), (get_toolbar_position),
2602 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2603 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2604 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2605 (set_item_drag_source), (create_item_from_action), (create_item),
2606 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2607 (popup_toolbar_context_menu_cb), (free_dragged_item),
2608 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2609 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2610 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2611 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2612 (item_added_cb), (item_removed_cb),
2613 (egg_editable_toolbar_construct),
2614 (egg_editable_toolbar_disconnect_model),
2615 (egg_editable_toolbar_deconstruct),
2616 (egg_editable_toolbar_set_model),
2617 (egg_editable_toolbar_set_ui_manager),
2618 (egg_editable_toolbar_set_property),
2619 (egg_editable_toolbar_get_property),
2620 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2621 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2622 (egg_editable_toolbar_new_with_model),
2623 (egg_editable_toolbar_get_edit_mode),
2624 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2625 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2626 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2627 (new_pixbuf_from_widget), (new_separator_pixbuf),
2628 (update_separator_image), (style_set_cb),
2629 (_egg_editable_toolbar_new_separator_image),
2630 (egg_editable_toolbar_get_model):
2631 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2632 * cut-n-paste/toolbar-editor/egg-marshal.c:
2633 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2634 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2635 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2636 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2637 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2638 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2639 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2640 (editor_drag_data_delete_cb), (drag_data_get_cb),
2641 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2642 (editor_create_item), (update_editor_sheet), (setup_editor),
2643 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2644 (parse_item_list), (model_has_action), (update_actions_list),
2645 (egg_toolbar_editor_load_actions):
2646 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2647 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2648 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2649 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2650 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2651 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2652 (egg_toolbars_model_add_separator), (impl_add_item),
2653 (parse_item_list), (egg_toolbars_model_add_toolbar),
2654 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2655 (impl_get_item_data), (impl_get_item_type),
2656 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2657 (egg_toolbars_model_init), (free_toolbar),
2658 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2659 (egg_toolbars_model_remove_toolbar),
2660 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2661 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2662 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2663 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2664 (egg_toolbars_model_get_item_data),
2665 (egg_toolbars_model_get_item_type):
2666 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2667 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2669 * data/evince-toolbar.xml:
2670 * data/evince-ui.xml:
2671 * data/hand-open.png:
2673 * shell/Makefile.am:
2674 * shell/ev-window.c: (update_chrome_visibility),
2675 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2676 (ev_window_dispose), (ev_window_init):
2678 Implement epiphany like toolbar editor. Based on patch by
2679 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2681 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2683 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2685 Use set_cursor instead of set_selection, so that
2686 the keyboard focus moves too.
2688 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2690 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2692 Fix infinite loop when loading Type1 fonts
2694 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2696 * data/evince-ui.xml:
2697 * shell/ev-window.c:
2701 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2705 Make --disable really disable
2707 2005-05-07 Juerg Billeter <j@bitron.ch>
2709 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2711 Compare page labels even without has_labels set, fixes setting page
2714 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2716 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2717 (ev_view_set_cursor), (ev_view_button_press_event),
2718 (ev_view_motion_notify_event), (ev_view_button_release_event),
2721 Implement middle button scrolling. Based on a patch
2722 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2724 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2726 * shell/ev-document-types.c: (get_slow_mime_type),
2727 (get_document_type_from_mime), (ev_document_type_lookup):
2728 * shell/ev-document-types.h:
2730 Change api to lookup from uri. Do fast lookup first, if the
2731 type is unknown try with data sniffing.
2733 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2734 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2738 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2740 * thumbnailer/Makefile.am:
2744 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2751 * data/evince-ui.xml:
2753 Hide presentation mode for now
2755 * shell/ev-view.c: (highlight_find_results):
2757 Show current find selection only on current page
2759 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2761 * shell/ev-view.c: (ev_view_select_all):
2763 Compute size of the actual page, not of
2766 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2768 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2769 (view_rect_to_doc_rect), (compute_selections),
2770 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2771 (ev_view_copy), (ev_view_primary_get_cb),
2772 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2773 (ev_view_button_press_event), (ev_view_motion_notify_event),
2774 (ev_view_button_release_event), (page_changed_cb):
2778 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2780 * shell/ev-view.c: (compute_border), (get_page_extents),
2781 (doc_rect_to_view_rect), (highlight_find_results),
2782 (ev_view_bin_expose), (ev_view_select_all),
2783 (ev_view_motion_notify_event), (update_find_status_message),
2784 (jump_to_find_result), (jump_to_find_page):
2786 First go at fixing search, still buggy
2788 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2790 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2791 dropdown box and button at the top of the sidebar.
2793 2005-05-02 James Bowes <bowes@cs.dal.ca>
2795 * configure.ac: Output zoom-control Makefile.
2796 * cut-n-paste/Makefile.am: build zoom-control subdir.
2797 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2798 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2799 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2800 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2801 * cut-n-paste/zoom-control/ephy-zoom.c:
2802 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2803 from epiphany, and modified to add a separator into the menu.
2804 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2805 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2806 zoom-control action.
2807 * shell/Makefile.am: Include zoom-control flags.
2808 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2809 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2810 (ev_view_zoom_for_size_presentation),
2811 (ev_view_zoom_for_size_continuous_and_dual_page),
2812 (ev_view_zoom_for_size_continuous),
2813 (ev_view_zoom_for_size_dual_page),
2814 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2815 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2816 ev_view_get_zoom and ev_view_get_sizing_mode.
2818 * shell/ev-window.c: (update_action_sensitivity),
2819 (update_sizing_buttons), (zoom_control_changed_cb),
2820 (register_custom_actions): Initialize and use the zoom-control
2823 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2825 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2826 preview cache back to 1. Don't know when it got set to 0.
2828 * shell/ev-view.c: (compute_border), (ev_view_realize),
2829 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2830 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2831 (ev_view_get_fullscreen), (ev_view_set_presentation),
2832 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2833 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2835 * shell/ev-window.c:
2836 (update_chrome_visibility),
2837 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2838 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2839 (update_document_mode), (ev_window_update_fullscreen_action),
2840 (ev_window_fullscreen), (ev_window_unfullscreen),
2841 (ev_window_cmd_view_fullscreen),
2842 (ev_window_update_presentation_action),
2843 (ev_window_run_presentation), (ev_window_stop_presentation),
2844 (ev_window_cmd_view_presentation), (ev_window_state_event),
2845 (ev_window_focus_in_event), (ev_window_focus_out_event),
2846 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2847 * data/evince-ui.xml: Initial presentation mode. We should
2848 probably hide this until it's done, as it's quite rough. Also,
2849 change full-screen to fullscreen and add two getters to EvView.
2851 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2853 * shell/ev-page-action.c: (update_page_cache),
2854 (ev_page_action_dispose):
2855 * shell/ev-window.c: (destroy_fullscreen_popup),
2856 (ev_window_create_fullscreen_popup):
2858 Use connect_object rather than explicitly
2859 disconnect on dispose.
2861 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2863 * shell/ev-page-action.c: (update_page_cache),
2864 (ev_page_action_dispose):
2866 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2868 * backend/ev-page-cache.c: (_ev_page_cache_new),
2869 (ev_page_cache_set_page_label),
2870 (ev_page_cache_has_nonnumeric_page_labels):
2871 * backend/ev-page-cache.h:
2872 * shell/ev-page-action.c: (update_pages_label):
2874 If all page labels are numeric, fallback to default
2875 way to display number of pages. See bug 173185.
2877 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2879 * shell/ev-page-action.c: (ev_page_action_dispose):
2880 * shell/ev-view.c: (view_update_range_and_current_page):
2881 * shell/ev-window.c: (ev_window_dispose):
2883 Set page on scroll in continuous mode. Fixes bug 301986.
2884 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2886 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2890 Require poppler 0.3.0
2892 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2894 * shell/Makefile.am, configure.ac: Fix build problems
2895 with t1lib. Bug 301996.
2897 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2899 * shell/ev-view.c: (ev_view_scroll_event):
2901 Scroll up increase zoom
2903 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2905 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2906 (ev_view_set_sizing_mode),
2907 (ev_view_zoom_for_size_continuous_and_dual_page),
2908 (ev_view_zoom_for_size_continuous):
2909 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2910 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2911 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2914 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2915 Fix for 165473 and 165472.
2917 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2920 * thumbnailer/Makefile.am:
2921 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2922 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2923 * thumbnailer/evince-thumbnailer.schemas.in:
2925 Make thumbnailer schemas translatable. Fix for bug 301773
2927 * thumbnailer/evince-thumbnailer-djvu.schemas:
2928 * thumbnailer/evince-thumbnailer-dvi.schemas:
2929 * thumbnailer/evince-thumbnailer.schemas:
2933 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2935 * shell/ev-view.c (ev_view_init): forgot to set this.
2937 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2939 * shell/ev-view.c: (find_page_at_location),
2940 (get_link_at_location),
2941 (ev_view_set_show_border), (ev_view_set_spacing),
2942 (ev_view_zoom_for_size_continuous_and_dual_page),
2943 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2944 Also, add a quick fix measuring of widths. Also, removed
2945 ev_view_set_spacing and ev_view_set_show_border.
2947 * shell/ev-window.c: (ev_window_unfullscreen),
2948 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2950 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2952 * shell/ev-view.c: (view_update_range_and_current_page),
2955 Fix crash on exit and scrolling to page in continuous view.
2957 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2960 * backend/ev-page-cache.c: (_ev_page_cache_new),
2961 (ev_page_cache_get_max_width_size),
2962 (ev_page_cache_get_max_height_size):
2963 * backend/ev-page-cache.h:
2964 * data/evince-ui.xml:
2965 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2966 * shell/ev-view.c: (view_update_adjustments),
2967 (view_update_range_and_current_page), (get_bounding_box_size),
2968 (ev_view_size_request_continuous_and_dual_page),
2969 (ev_view_size_request_continuous),
2970 (ev_view_size_request_dual_page),
2971 (ev_view_size_request_single_page), (ev_view_size_request),
2972 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2973 (ev_view_bin_expose), (ev_view_expose_event),
2974 (ev_view_set_property), (ev_view_get_property),
2975 (ev_view_class_init), (ev_view_init), (ev_view_new),
2976 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2977 (ev_view_set_dual_page), (ev_view_set_full_screen),
2978 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2979 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2980 (ev_view_zoom_out), (zoom_for_size_fit_width),
2981 (zoom_for_size_best_fit),
2982 (ev_view_zoom_for_size_continuous_and_dual_page),
2983 (ev_view_zoom_for_size_continuous),
2984 (ev_view_zoom_for_size_dual_page),
2985 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2986 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2988 * shell/ev-window.c: (update_action_sensitivity),
2989 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2990 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2991 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2992 (ev_window_cmd_view_zoom_out), (update_view_size),
2993 (ev_window_set_sizing_mode), (ev_window_init):
2995 Add Continuous and Dual page modes.
2997 2005-04-23 James Bowes <bowes@cs.dal.ca>
2999 * dvi/dvi-document.c: (dvi_document_load),
3000 (dvi_document_thumbnails_get_thumbnail),
3001 (dvi_document_init_params): Fix up some mixups between
3002 width and height to correct thumbnail rendering.
3004 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3006 * dvi/mdvi-lib/private.h:
3007 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3009 Suppess output for kpathsea during font generation. Thanks to
3012 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3019 * Makefile.am: fix distcheck.
3021 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3023 * shell/ev-sidebar-links.c: (selection_changed_callback),
3024 (update_page_callback), (row_activated_callback),
3025 (job_finished_callback), (ev_sidebar_links_set_document):
3027 Fix for bug #169901. Double click on links expands tree.
3029 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3031 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3032 hard-coded style. Fix for bug 170111
3034 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3036 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3039 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3041 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3043 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3045 * pdf/ev-poppler.cc:
3046 * shell/ev-view.c: (highlight_find_results):
3048 Fix find on single page documents
3050 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3052 * data/evince.schemas.in: fix for bug 301390
3054 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3056 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3057 (ev_view_zoom_out), (ev_view_zoom_normal):
3059 * shell/ev-window.c: (update_action_sensitivity),
3060 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3061 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3062 (ev_window_cmd_view_normal_size):
3064 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3065 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3068 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3072 Depend on 2.57, 2.59 doesnt seem to be necessary
3074 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3076 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3079 Put back total number of pages as (1 of 1234)
3081 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3083 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3086 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3087 function. This helps debugging.
3089 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3091 * djvu/djvu-document.c: (djvu_document_class_init),
3092 (djvu_document_get_info), (djvu_document_document_iface_init):
3093 * dvi/dvi-document.c: (dvi_document_class_init),
3094 (dvi_document_get_info), (dvi_document_document_iface_init):
3096 Dummy implementation of get_info method for dvi and djvu. Fix
3097 crashes with those backends
3099 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3101 * data/evince.desktop.in:
3103 Add application/x-gzpostscript
3105 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3107 * data/evince.schemas.in: Added real long descriptions,
3110 * README: Added actual text, closes bug 171869
3112 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3114 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3118 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3120 * backend/ev-document-info.h:
3122 s/GDate */GDate so we can just use g_free
3124 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3126 * shell/ev-window.c: (update_document_mode),
3127 (ev_window_setup_document):
3129 Show the window in fullscreen when specified by
3132 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3134 * backend/ev-document.c: (ev_document_class_init),
3135 (ev_document_get_info), (ev_document_render_pixbuf):
3136 * backend/ev-document.h:
3137 * backend/ev-page-cache.c: (_ev_page_cache_new):
3138 * pdf/ev-poppler.cc:
3139 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3140 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3141 * ps/ps-document.c: (ps_document_class_init), (document_load),
3142 (ps_document_get_info), (ps_document_document_iface_init):
3144 Remove get_title from the interface, we can just use document info
3146 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3148 * backend/Makefile.am:
3149 * backend/ev-document.c: (ev_document_render_get_info):
3150 * backend/ev-document.h:
3151 * pdf/ev-poppler.cc:
3153 Initial support for document info. Based on jrb patch.
3155 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3157 * shell/ev-window.c: (ev_window_state_event),
3158 (ev_window_class_init), (ev_window_init):
3160 Doesn't show resize grip when maximized. See bug #301053
3162 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3166 ev-sidebar-thumbnails now has translatable labels
3168 * shell/Makefile.am:
3169 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3170 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3171 (ev_sidebar_links_page_iface_init):
3172 * shell/ev-sidebar-links.h:
3173 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3174 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3175 (ev_sidebar_page_get_label):
3176 * shell/ev-sidebar-page.h:
3177 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3178 (ev_sidebar_thumbnails_set_document),
3179 (ev_sidebar_thumbnails_support_document),
3180 (ev_sidebar_thumbnails_get_label),
3181 (ev_sidebar_thumbnails_page_iface_init):
3182 * shell/ev-sidebar-thumbnails.h:
3183 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3184 (ev_sidebar_set_document):
3185 * shell/ev-sidebar.h:
3186 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3188 Small rework of sidebar code. Now sidebar pages should implement
3189 EvSidebarPage interface. That makes page management in EvSidebar
3190 easier. See bug #164811 for details
3192 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3194 * shell/ev-application.c: (ev_application_open):
3195 * shell/ev-document-types.c:
3197 Fix build error and small problem with application exit
3199 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3201 * thumbnailer/Makefile.am:
3202 * thumbnailer/evince-thumbnailer-djvu.schemas:
3203 * thumbnailer/evince-thumbnailer-dvi.schemas:
3205 Conditionally install schemas for djvu/dvi thumbnailer
3207 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3209 * shell/ev-document-types.h:
3210 * shell/ev-document-types.c:
3211 New files, handling the mapping from mimetypes to backends
3213 * shell/ev-window.c:
3214 * thumbnailer/evince-thumbnailer.c:
3215 Use the ev-document-types code
3217 * shell/Makefile.am:
3218 Added new convenience library libevbackendfactory_la, containing
3219 the new mimetype->backend logic; moved the backends into it.
3221 * thumbnailer/Makefile.am:
3222 Make the thumbnailer link with the libevbackend.la convenience
3223 library, rather than having a duplicate of the backend logic here.
3225 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3227 * shell/ev-stock-icons.c: constify some vars.
3228 * shell/ev-window.c: ditto.
3230 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3232 * ps/ps-document.c (get_page_orientation):
3234 Respect document orientation
3236 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3240 * shell/Makefile.am:
3242 Move library dependencies to components.
3244 * shell/ev-window.c: (update_window_title),
3245 (start_loading_document):
3247 Fix display of uris with spaces. Bug 168358.
3249 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3251 * shell/ev-sidebar-links.c: (selection_changed_cb):
3252 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3253 (ev_view_button_release_event), (ev_view_set_document):
3255 * shell/ev-window.c: (find_bar_search_changed_cb):
3256 * shell/ev-window.h: Minor cleanups removing some dead code.
3258 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3260 * backend/ev-page-cache.c: (_ev_page_cache_new):
3262 Set current page to 0 if document has pages.
3264 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3266 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3268 Initialize GError to NULL, fix a crash when loading fails.
3270 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3272 * shell/ev-window.c: (update_view_size):
3274 Calculate shadow size only when there is actually
3277 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3279 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3282 Allow setting view spacing, default to 0
3284 * shell/ev-window.c: (ev_window_unfullscreen),
3285 (ev_window_cmd_view_fullscreen), (ev_window_init):
3287 Remove spacing in fullscreen mode
3289 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3291 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3292 (ev_view_size_request), (expose_bin_window),
3293 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3295 * shell/ev-window.c: (ev_window_unfullscreen),
3296 (ev_window_cmd_view_fullscreen):
3298 Do not draw the border in fulscreen
3300 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3302 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3303 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3304 (find_page_at_location), (page_changed_cb):
3306 Rework border calculation, so that I can more easily disable it.
3307 Code somewhat cleaner too.
3309 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3311 * backend/ev-page-cache.c: (ev_page_cache_init),
3312 (_ev_page_cache_new):
3314 Remove some assertions, documents can have 0 pages.
3315 Make initial current page -1.
3317 * shell/ev-page-action.c: (page_changed_cb):
3319 Show "" if current page is -1
3321 * shell/ev-window.c: (update_action_sensitivity),
3322 (ev_window_setup_document):
3324 When document has 0 pages do not set the view
3325 and make nearly everything insensitive.
3327 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3329 * shell/ev-page-view.c:
3330 * shell/ev-page-view.h:
3332 Remove unused files.
3334 * shell/ev-sidebar-thumbnails.c:
3335 (ev_sidebar_thumbnails_set_document):
3336 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3337 (ev_sidebar_supports_document):
3338 * shell/ev-sidebar.h:
3339 * shell/ev-window.c: (ev_window_setup_document):
3341 Doesn't show thumbnails if document has 1 page. Make
3342 sidebar menu entries sensitive only if if they have
3343 sense. Fix bug 164811.
3345 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3347 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3348 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3349 (ev_view_zoom_out), (ev_view_set_size):
3351 Rework sizing to deal with documents with not uniform page
3354 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3356 * backend/ev-page-cache.c: (_ev_page_cache_new):
3358 Fix several page size caching bugs
3360 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3362 * shell/ev-window.c: (set_action_properties):
3364 Make all toolbar items translatable
3366 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3368 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3369 (save_page_list), (ps_document_save),
3370 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3371 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3372 (ps_document_ps_exporter_iface_init):
3375 Based on a patch by J�rg Billeter <j@bitron.ch>
3377 Implement print and save a copy for the ps backend.
3379 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3381 * backend/ev-document.h:
3382 * djvu/djvu-document.c: (djvu_document_can_get_text),
3383 (djvu_document_document_iface_init):
3384 * dvi/dvi-document.c: (dvi_document_can_get_text),
3385 (dvi_document_document_iface_init):
3386 * pdf/ev-poppler.cc:
3387 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3388 (pixbuf_document_document_iface_init):
3389 * ps/ps-document.c: (ps_document_can_get_text),
3390 (ps_document_document_iface_init):
3391 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3392 * shell/ev-window.c: (update_action_sensitivity):
3394 Fix the crash when trying to copy in backends that doesnt
3395 support it. We can implement a better solution once we
3396 do real text selection.
3398 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3400 * data/evince-ui.xml:
3401 * shell/ev-window.c: (ev_window_cmd_escape):
3403 Work around the Escape conflict (find bar and unfullscreen)
3405 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3407 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3409 Fix for #300233. Next page correctly handles document end.
3411 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3412 (ev_sidebar_thumbnails_class_init),
3413 (ev_sidebar_thumbnails_set_document),
3414 (ev_sidebar_thumbnails_clear_job),
3415 (ev_sidebar_thumbnails_clear_model):
3417 Cleanup thumbnail jobs on document changes.
3419 * shell/ev-view.c: (add_scroll_binding_keypad),
3420 (add_scroll_binding_shifted), (ev_view_class_init):
3422 Shift + Space scrolls up. Fix for #173184
3424 * shell/ev-window.c: (ev_window_open_page),
3425 (ev_window_cmd_view_reload):
3427 Fix reload (Bug #300094)
3429 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3432 * dvi/mdvi-lib/assoc.c:
3433 * dvi/mdvi-lib/assoc.h: Removed garbage files
3435 * dvi/mdvi-lib/bitmap.c:
3436 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3437 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3438 * dvi/mdvi-lib/color.h: Antialias of rules
3440 * dvi/mdvi-lib/common.h:
3441 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3442 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3443 * dvi/mdvi-lib/files.c:
3444 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3445 * dvi/mdvi-lib/mdvi.h:
3446 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3447 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3448 * dvi/mdvi-lib/util.c: Fix compile warnings
3450 * dvi/dvi-document.c:
3451 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3452 (dvi_document_thumbnails_get_thumbnail),
3453 (dvi_document_document_thumbnails_iface_init):
3454 * dvi/mdvi-lib/Makefile.am:
3455 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3456 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3458 Dvi backend now renders thumbnails
3460 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3462 * shell/main.c: (main):
3464 Save accelerators on exit. Fixes bug #172095.
3466 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3468 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3469 update priority" comment.
3471 * backend/ev-job-queue.c: Give a way to change priority.
3473 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3475 * shell/ev-page-action.c: Fix logic.
3477 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3479 * shell/ev-view.c: (ev_view_can_find_next):
3480 * shell/ev-window.c: (ev_window_setup_document):
3482 Check that the document supports find
3484 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3486 * data/evince-ui.xml:
3487 * shell/ev-view.c: (ev_view_can_find_next):
3489 * shell/ev-window.c: (update_action_sensitivity),
3490 (find_changed_cb), (ev_window_setup_document),
3491 (ev_window_cmd_edit_find_next):
3495 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3497 * pdf/ev-poppler.cc:
3498 * shell/ev-print-job.c: (idle_print_handler):
3500 Make printing work again
3502 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3504 * shell/ev-page-action.h:
3505 * shell/ev-page-action.c: (ev_page_action_widget_init),
3506 (ev_page_action_widget_class_init), (page_changed_cb),
3507 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3508 (get_filter_model_from_model), (match_selected_cb),
3509 (display_completion_text), (match_completion), (update_model),
3510 (connect_proxy), (ev_page_action_set_property),
3511 (ev_page_action_get_property), (ev_page_action_set_document),
3512 (ev_page_action_set_model), (ev_page_action_class_init): Big
3513 reworking to make completions work iff we have >= GTK-2.7.0
3515 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3516 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3517 (job_finished_cb): We now have a 'model' property that is set when
3518 the links are loaded. This can be caught with "notify::model"
3520 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3521 listen for the model to be set, and propagate it to the action.
3523 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3525 * cut-n-paste/recent-files/egg-recent-item.c:
3526 (egg_recent_item_set_uri), (make_valid_utf8),
3527 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3528 * cut-n-paste/recent-files/egg-recent-item.h:
3530 Update egg-recent from libegg. This should fix long
3531 startup problem. For details see
3532 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3534 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3536 * cut-n-paste/recent-files/Makefile.am:
3537 * data/evince-ui.xml, shell/Makefile.am:
3538 * shell/ev-application.c, shell/ev-application.h:
3539 * shell/ev-window.c: Recent files support.
3541 * configure.ac: Added "ru" to ALL_LINGUAS.
3543 * dvju: new backend to support DJVU files.
3544 * dvi: new backend to support DVI.
3546 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3547 * ev-application.c: Support for new backends.
3549 * help, ev-window.c, main.c shell/Makefile.am:
3550 Evince user documentation.
3552 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3555 * shell/ev-window.c:
3556 * thumbnailer/evince-thumbnailer.c:
3558 s/pdf-document/ev-poppler
3560 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3567 * ps/ps-document.c: (setup_pixmap):
3571 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3573 * backend/ev-page-cache.c (ev_page_cache_next_page):
3574 * shell/ev-window.c (ev_window_cmd_go_next_page)
3575 (ev_window_cmd_go_first_page): Fix of by one errors.
3577 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3579 * ps/ps-document.c: (get_page_box):
3581 Fix page size calculation
3583 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3585 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3586 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3587 (get_page_orientation), (setup_page), (document_load),
3588 (ps_document_get_page_size), (render_pixbuf_idle):
3591 More refactoring to adapt to EvDocument changes
3593 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3595 * ps/ps-document.c: (start_interpreter):
3597 Actually add alpha args
3599 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3601 * pdf/ev-poppler.cc:
3603 Make clipboard work again
3605 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3607 Make searching work again.
3609 * backend/ev-document.c:
3610 * backend/ev-document.h:
3611 * backend/ev-document-find.c:
3612 * backend/ev-document-find.h: Change EvDocumentIface so we no
3613 longer store the current page or zoom level in the document. The
3614 consequence is that all calls that operate on the current page now
3615 instead take the page number as an extra argument, and all
3616 coordinates are now doubles in document coordinate system.
3618 * pdf/ev-poppler.cc:
3619 * pixbuf/pixbuf-document.c:
3620 * ps/ps-document.c: Update backends accordingly.
3622 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3626 Add required gettext version
3628 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3630 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3631 make F1 bring up non-existent help.
3633 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3634 epiphany's find bar, #167477
3636 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3637 <emil@nishra.com> to add space-bar scrolling,
3639 * shell/ev-window.c (static GtkActionEntry entries): add default
3640 keybinding for Help (F1)
3643 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3644 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3647 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3650 * pixbuf/pixbuf-document.c:
3652 Got pixbuf backend working again
3654 2005-04-01 Steve Murphy <murf@e-tools.com>
3656 * configure.in: Added "rw" to ALL_LINGUAS.
3658 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3660 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3661 model types, noticed by Martin Kretzschmar.
3663 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3665 * pdf/ev-poppler.cc: Implement search based on
3666 poppler_page_find_text(). Currently a bit crude since we remember
3667 all matches from all pages. Also, we grab the big document lock
3668 when we search since searching changes the underlying stream and
3669 thus conflicts with the rendering thread.
3671 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3672 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3673 (ev_view_find_previous): Fix some page indexes to be 0 based,
3674 offset rubber band by view offset,
3676 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3678 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3680 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3682 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3683 completely because I didn't understand GtkActions. I should
3684 read Marco's code more carefully in the future.
3686 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3689 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3691 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3692 PopplerRectangle change from poppler CVS.
3694 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3696 * backend/ev-document.c: (ev_document_get_page_label):
3697 * backend/ev-document.h:
3698 * backend/ev-page-cache.c: (_ev_page_cache_new),
3699 (ev_page_cache_get_page_label):
3700 * backend/ev-page-cache.h:
3701 * pdf/ev-poppler.cc:
3702 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3703 (links_page_num_func):
3704 * shell/ev-sidebar-thumbnails.c:
3705 (ev_sidebar_thumbnails_set_document):
3706 * shell/ev-view.c: (status_message_from_link),
3707 (ev_view_motion_notify_event):
3708 * shell/ev-window.c: (document_supports_sidebar): Add in page
3709 label support. It's not perfect yet, but it's the first 'feature'
3711 Also, fix a bogus comment noticed by crispin.
3713 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3715 * Makefile.am: Remove pixbuf backend for now
3717 * configure.ac: Require poppler-glib instead of just poppler.
3719 * backend/ev-document-thumbnails.h: Add a comment
3721 * backend/ev-document.h:
3722 * backend/ev-document.c: (ev_document_class_init),
3723 (ev_document_load), (ev_document_get_link),
3724 (ev_document_get_links): Remove 3 methods and add get_links.
3727 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3728 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3730 * backend/ev-link.c: (ev_link_set_title),
3731 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3732 (ev_link_mapping_find):
3733 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3735 * backend/ev-page-cache.c: (ev_page_cache_init),
3736 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3737 (ev_page_cache_get_size), (ev_page_cache_next_page),
3738 (ev_page_cache_prev_page): Fix to be 0 based.
3742 * pdf/ev-poppler.cc: New backend.
3744 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3745 (ps_document_get_page), (ps_document_document_iface_init):
3747 * shell/ev-pixbuf-cache.h:
3748 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3749 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3750 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3751 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3752 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3753 Fix up code to grab a page cache per each doc. Also, fix to be 0
3756 * shell/ev-sidebar-thumbnails.c:
3757 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3758 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3760 * shell/ev-view.c: (status_message_from_link),
3761 (find_page_at_location), (get_link_at_location),
3762 (ev_view_motion_notify_event), (ev_view_button_release_event),
3763 (ev_view_init): Use the new link code. Fix to be 0 based.
3765 * shell/ev-window.c: (update_action_sensitivity),
3766 (document_supports_sidebar): 0 based.
3768 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3770 * pdf/pdf-document.cc: Patch from Fernando Herrera
3771 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3774 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3776 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3777 1 to the page, as this seems to be 1 based. I thought we has this
3780 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3783 * backend/Makefile.am:
3784 * backend/ev-document-links.c:
3785 (ev_document_links_has_document_links),
3786 (ev_document_links_get_links_model):
3787 * backend/ev-document-links.h:
3788 * backend/ev-document.c: (ev_document_get_page_cache),
3789 (ev_document_get_doc_mutex), (ev_document_load),
3790 (ev_document_save), (ev_document_get_title),
3791 (ev_document_get_n_pages), (ev_document_set_page),
3792 (ev_document_get_page), (ev_document_set_target),
3793 (ev_document_set_scale), (ev_document_set_page_offset),
3794 (ev_document_get_page_size), (ev_document_get_text),
3795 (ev_document_get_link), (ev_document_render),
3796 (ev_document_render_pixbuf), (ev_document_scale_changed):
3797 * backend/ev-document.h:
3798 * backend/ev-job-queue.c: (remove_object_from_queue),
3799 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3800 (no_jobs_available_unlocked), (ev_render_thread),
3801 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3802 (ev_job_queue_remove_job):
3803 * backend/ev-job-queue.h:
3804 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3805 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3806 (ev_job_links_class_init), (ev_job_render_init),
3807 (ev_job_render_dispose), (ev_job_render_class_init),
3808 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3809 (ev_job_thumbnail_class_init), (ev_job_finished),
3810 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3811 (ev_job_render_run), (ev_job_thumbnail_new),
3812 (ev_job_thumbnail_run):
3813 * backend/ev-jobs.h:
3814 * backend/ev-link.c:
3815 * backend/ev-link.h:
3816 * backend/ev-page-cache.c: (ev_page_cache_init),
3817 (ev_page_cache_class_init), (ev_page_cache_finalize),
3818 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3819 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3820 (ev_page_cache_set_link), (ev_page_cache_get_title),
3821 (ev_page_cache_get_size), (ev_page_cache_next_page),
3822 (ev_page_cache_prev_page):
3823 * backend/ev-page-cache.h:
3824 * pdf/pdf-document.cc:
3827 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3828 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3829 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3830 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3831 (is_interpreter_ready), (output), (catchPipe), (input),
3832 (start_interpreter), (check_filecompressed), (compute_dimensions),
3833 (ps_document_enable_interpreter), (document_load),
3834 (ps_document_next_page), (render_page), (ps_document_set_page),
3835 (ps_document_set_scale), (render_pixbuf_idle),
3836 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3838 * shell/Makefile.am:
3839 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3840 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3841 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3842 (ev_pixbuf_cache_new), (job_finished_cb),
3843 (check_job_size_and_unref), (move_one_job),
3844 (ev_pixbuf_cache_update_range), (find_job_cache),
3845 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3846 (ev_pixbuf_cache_add_jobs_if_needed),
3847 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3848 * shell/ev-pixbuf-cache.h:
3849 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3850 (idle_print_handler):
3851 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3852 (selection_changed_cb), (create_loading_model),
3853 (ev_sidebar_links_construct), (links_page_num_func),
3854 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3855 (update_page_callback), (job_finished_cb),
3856 (ev_sidebar_links_set_document):
3857 * shell/ev-sidebar-thumbnails.c:
3858 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3859 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3860 (page_changed_cb), (thumbnail_job_completed_callback),
3861 (ev_sidebar_thumbnails_set_document):
3862 * shell/ev-sidebar-thumbnails.h:
3863 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3864 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3865 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3866 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3867 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3868 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3869 (ev_view_button_release_event), (ev_view_scroll_view),
3870 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3871 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3872 (ev_view_new), (job_finished_cb), (page_changed_cb),
3873 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3874 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3875 (ev_view_find_previous):
3877 * shell/ev-window.c: (update_action_sensitivity),
3878 (ev_window_open_page), (update_window_title), (update_total_pages),
3879 (page_changed_cb), (ev_window_setup_document),
3880 (password_dialog_response), (ev_window_cmd_save_as),
3881 (ev_window_print), (ev_window_cmd_go_previous_page),
3882 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3883 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3884 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3885 * shell/main.c: (main):
3887 Merge evince-threads branch
3889 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3891 * configure.ac: Added "lt" to ALL_LINGUAS.
3893 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3900 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3902 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3904 Fix here also the thumbnails 1-basedness :)
3906 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3913 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3915 * pdf/pdf-document.cc:
3916 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3917 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3919 Fix the mess we did with thumbnails and 1-basedness
3921 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3923 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3925 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3932 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3935 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3936 (gtk_gs_defaults_get_alpha_parameters),
3937 (gtk_gs_defaults_get_ungzip_cmd),
3938 (gtk_gs_defaults_get_unbzip2_cmd):
3940 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3941 (ps_document_get_orientation), (document_load),
3942 (ps_document_goto_page), (ps_document_set_page_size):
3945 Some more sanitization of the ps backend. Remove a lot
3946 of unused code and do not base our defaults on ggv
3949 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3951 * thumbnailer/evince-thumbnailer.schemas:
3952 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3953 (main): add -s option for thumbnail size.
3955 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3959 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3962 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3964 * pdf/pdf-document.cc:
3966 Remove 4 pixels of useless border from the
3969 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3971 * backend/ev-document-thumbnails.c:
3972 (ev_document_thumbnails_get_thumbnail):
3973 * backend/ev-document-thumbnails.h:
3975 Rework API a bit. Add a border flag and
3976 change sizing logic (now the size we specify
3977 applies to the bigger dimension).
3979 * pdf/pdf-document.cc:
3980 * pixbuf/pixbuf-document.c:
3981 (pixbuf_document_thumbnails_get_thumbnail):
3982 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3983 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3985 Adapt to the new API and do not draw a border for nautilus
3988 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3990 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3991 take thumbnails from page "0" instead of "1". Added a copyright header.
3993 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3995 * ps/ps-document.c: (set_up_page), (start_interpreter):
3997 Make it C89 compliant
3999 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4004 * pdf/pdf-document.cc:
4005 * thumbnailer/Makefile.am:
4006 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4008 * thumbnailer/evince-thumbnailer.schemas:
4009 * thumbnailer/pdf-icon.png:
4011 Add a nautilus thumbnailer.
4012 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4014 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4022 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4024 Use poppler instead of including xpdf source code. Poppler is a
4025 fork of xpdf to build it as a shared library. See
4026 http://freedesktop.org/wiki/Software/poppler.
4028 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4031 * pdf/Makefile.am: Build libpdfdocument.a here.
4033 * pdf/GDKSplashOutputDev.cc:
4034 * pdf/GDKSplashOutputDev.h:
4035 * pdf/GnomeVFSStream.cc:
4036 * pdf/GnomeVFSStream.h:
4039 * test-gdk-output-dev.cc
4041 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4044 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4046 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4048 Clear idle stack before unsetting the document
4050 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4052 * ps/ps-document.c: (ps_document_widget_event),
4053 (ps_document_set_target), (ps_document_finalize),
4054 (ps_document_get_page):
4056 Disconnect the widget event signal on finalize.
4059 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4061 * ps/ps-document.c: (set_up_page):
4063 If there is no bpixmap create one, even if size
4066 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4068 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4069 (set_up_page), (document_load), (ps_document_set_zoom):
4071 Default page is 0. Calculate size even when we have no
4074 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4076 * shell/ev-sidebar.c: expand the selection widget to be always as
4079 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4081 * shell/ev-sidebar-thumbnails.c:
4082 (ev_sidebar_thumbnails_set_document):
4084 Clear the list store when setting document
4086 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4088 * shell/ev-page-action.c: (update_entry), (sync_entry),
4089 (activate_cb), (entry_size_request_cb), (create_tool_item),
4092 Use an entry for the page control instead of spinbuttons
4094 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4096 * data/evince.schemas.in:
4098 Correct confusing string
4100 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4102 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4103 for real. Gosh, how long has this been broken.
4105 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4106 check for a NULL link. We crash otherwise.
4108 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4115 2005-02-25 Sebastien Bacher <seb128@debian.org>
4117 * configure.ac: add the french translation.
4119 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4121 * shell/ev-window.c:
4123 Remove unused header -> fix distcheck
4125 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4127 * shell/ev-window.c: (update_window_title),
4128 (ev_window_popup_password_dialog):
4130 Unescape filename for display
4132 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4134 * pdf/xpdf/pdf-document.cc:
4136 In get_page_size deal with rotation. Also
4137 cleanup the function a bit.
4139 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4141 * pdf/xpdf/pdf-document.cc:
4143 Fix crash when opening in new window
4145 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4149 Check ghostscript >= 7
4151 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4153 * shell/ev-window.c:
4155 Make page width the default sizing mode
4157 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4158 Marco Pesenti Gritti <marco@gnome.org>
4160 * shell/ev-window.c: Remember the sidebar size
4162 * data/evince.schemas.in: Add a new gconf key to store the size of
4165 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4167 * data/evince-ui.xml:
4168 * shell/ev-window.c: (update_action_sensitivity),
4169 (ev_window_cmd_view_reload):
4171 Add a "Reload" action and menu entry
4173 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4175 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4176 iff the type doesn't support thumbnailing and indexing.
4178 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4180 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4182 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4184 * pdf/splash/Splash.cc:
4186 Port fix for a crasher from kde bug
4187 http://bugs.kde.org/show_bug.cgi?id=97131
4189 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4191 * pdf/xpdf/pdf-document.cc:
4193 Return a link even if it's of an unrecognized
4194 type. Otherwise we go in an infinte cycle.
4196 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4198 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4199 (size_allocate_cb), (ev_window_set_sizing_mode):
4201 Update size when switching mode
4203 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4205 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4206 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4207 (ev_window_cmd_view_normal_size):
4209 Fix size toggle buttons behavior
4211 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4213 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4214 (doc_rect_to_view_rect), (ev_view_size_allocate),
4215 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4216 (scale_changed_callback):
4218 Do not cache offsets in size_allocate.
4220 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4222 * shell/ev-view.c: (ev_view_size_allocate):
4224 Calculate offsets before calling the parent
4225 class (which does a redraw)
4227 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4229 * pdf/xpdf/pdf-document.cc:
4231 Fix a crasher on exit. Unused code, put a TODO
4233 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4235 * backend/ev-document.c: (ev_document_class_init),
4236 (ev_document_page_changed), (ev_document_scale_changed):
4237 * backend/ev-document.h:
4239 Separate page/scale notifications
4241 * pdf/xpdf/pdf-document.cc:
4243 Emit the new signals.
4244 Do not display the pdf page in _render, do it
4245 when scale/page are requested.
4247 * ps/ps-document.c: (ps_document_set_zoom),
4248 (ps_document_widget_event):
4251 Emit the new signals.
4253 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4254 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4255 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4256 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4258 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4259 (ev_window_cmd_view_page_width), (size_allocate_cb),
4260 (ev_window_set_sizing_mode):
4262 Rework sizing to be pixel based.
4263 There are bugs but should be already way better.
4265 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4267 * shell/ev-window.c: (ev_window_init):
4269 Do not allow to shrink sidebar smaller then
4272 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4274 * shell/ev-sidebar.[ch]
4275 * shell/ev-window.c:
4277 Improved sidebar widget. Fixes #166683
4279 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4281 * shell/ev-view.c (update_find_status_message): Give translators
4282 more flexibility with ngettext plural handling.
4284 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4286 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4287 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4288 page when we get the page size.
4290 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4292 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4294 ps pages are 0 based, convert
4296 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4298 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4300 Initialize correct parent class. Set GError on document load
4302 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4304 * pdf/xpdf/pdf-document.cc:
4306 Fixup selection offset calculation
4308 * shell/ev-view.c: (view_rect_to_doc_rect),
4309 (doc_rect_to_view_rect), (ev_view_size_allocate),
4310 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4311 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4313 Store selection as document relative, so that zooming
4314 and offset changing doesnt break it.
4316 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4318 * shell/ev-view.c: (ev_view_best_fit):
4320 Do not try to best fit if the view is not realized
4322 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4324 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4326 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4328 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4330 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4332 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4333 the popup window. That prevents it resizing when in full screen
4336 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4337 multiple rerenders. This pretty much sucks.
4339 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4340 rest of the toolbar.
4342 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4344 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4346 2005-02-17 Alexander Shopov <ash@contact.bg>
4348 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4350 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4352 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4354 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4356 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4357 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4358 (set_document_page), (document_changed_callback),
4359 (ev_view_set_document), (ev_view_find_previous),
4360 (ev_view_hide_cursor), (ev_view_show_cursor):
4362 * shell/ev-window.c: (update_chrome_visibility),
4363 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4364 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4365 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4366 (ev_window_unfullscreen):
4367 * shell/main.c: (main):
4369 Automatically hide the fullscreen button.
4370 Patch by Kristian Høgsberg <krh@redhat.com>
4372 2005-02-16 Vincent Noel <vnoel@cox.net>
4374 * shell/main.c (main): Specify an icon for the window. Patch by
4375 Jaap A. Haitsma. Fixes #166177.
4377 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4379 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4381 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4383 * backend/ev-document-misc.h:
4384 * backend/ev-document-misc.c:
4385 (ev_document_misc_get_page_border_size),
4386 (ev_document_misc_paint_one_page): New function to canonicalize
4387 sizing/painting a border.
4389 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4392 * pdf/xpdf/pdf-document.cc: use new function
4394 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4395 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4396 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4397 shell/ev-window.c: (update_sizing_buttons),
4398 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4399 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4400 (ev_window_cmd_view_page_width), (size_allocate_cb),
4401 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4402 and "fit width" values act as toggle buttons so they stay
4403 toggled. It's not 100% perfect, and it's a little slow, but it's
4404 good enough to commit I think.
4406 2005-02-15 David Lodge <dave@cirt.net>
4408 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4410 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4412 * shell/ev-window.c (update_window_title): replace newlines in
4413 the title by spaces. Bug #166107.
4415 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4417 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4418 parameters providing allocation width and height without
4419 scrollbars and width of a possible vertical scrollbar. With this
4420 additional information the functions can work as
4421 intended. Unfortunately they're not idempotent. We should
4422 transform these commands to toggles. Fixes Bug #164976
4423 Initial patch by Stephane Loeuillet, then heavily modified.
4425 * shell/ev-view.h: update prototypes.
4427 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4428 (ev_window_cmd_view_page_width): provide EvView fit functions with
4429 all the information they need. Formulas to calculate this
4430 information taken from GtkScrolledWindow.
4432 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4434 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4435 created a thumbnail, the list store is updated to know
4436 that the thumbnail is set. Fixes bug #166792
4438 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4440 * shell/ev-window.c: fixed typo, closes bug 166897
4442 * TODO: updated TODO with bug numbers that are relevant
4444 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4446 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4448 2005-02-09 Vincent Noel <vnoel@cox.net>
4450 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4451 and "Next" toolbar buttons as important to make them stand out.
4453 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4457 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4458 (start_interpreter), (stop_interpreter), (document_load),
4459 (ps_document_next_page), (ps_document_goto_page),
4460 (ps_document_set_page_size), (ps_document_widget_event),
4461 (ps_document_render):
4462 * shell/ev-page-view.c: (ev_page_view_dispose):
4463 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4465 Fix compilation on non-gcc platforms
4467 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4474 * pdf/xpdf/Catalog.cc:
4477 Fix the fix for CAN-2004-0888
4479 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4482 * data/evince-ui.xml:
4483 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4484 * shell/ev-stock-icons.h:
4485 * shell/ev-window.c: (update_action_sensitivity),
4486 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4487 (set_action_properties):
4489 Improve toolbar layout/icons
4491 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4493 * pdf/xpdf/pdf-document.cc:
4495 Add warnings about unimplemented/unknown link
4498 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4500 * ps/ps-document.c: (set_up_page):
4504 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4506 * ps/ps-document.c: (start_interpreter):
4510 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4512 * shell/ev-page-view.c: (ev_page_view_dispose):
4513 * shell/ev-view.c: (ev_view_finalize):
4514 * shell/ev-window.c: (ev_window_setup_document),
4515 (ev_window_dispose), (ev_window_init):
4517 Solve more refs issues.
4519 I commented out the page_view initialization for now:
4520 it was never destroyed (because it's never added
4521 to a container). Because of that we was leaking
4522 gs processes. Couldnt think to a clean fix.
4523 We need to figure this out, password view has the
4524 same issue probably.
4526 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4528 * ps/ps-document.c: (ps_document_finalize),
4529 (ps_document_get_n_pages), (ps_document_get_page):
4531 Some cleanups, stop the interpreter on finalize
4533 * shell/ev-page-view.c: (ev_page_view_dispose),
4534 (ev_page_view_class_init):
4536 Release our reference on the document
4538 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4542 * doc/debugging.txt:
4545 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4546 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4547 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4550 Add debugging helpers
4553 * ps/ps-document.c: (set_up_page), (start_interpreter),
4554 (stop_interpreter), (document_load), (ps_document_next_page),
4555 (ps_document_goto_page), (ps_document_set_page_size),
4556 (ps_document_widget_event), (ps_document_render):
4557 * shell/Makefile.am:
4558 * shell/ev-view.c: (expose_bin_window):
4559 * shell/main.c: (main):
4563 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4565 * ps/ps-document.c: (ps_document_widget_event):
4567 Initialize message_window, this should make ps
4568 rendering really work! (Never noticed because I was
4569 testing with a ps that is causing gs to exit every time!)
4571 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4573 * data/evince.schemas.in: updated simple error in applyto closing tag
4575 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4581 * data/evince-ui.xml:
4582 A data/evince.schemas.in:
4584 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4585 * shell/ev-stock-icons.h:
4586 * shell/ev-window.c: (update_chrome_visibility),
4587 (update_chrome_flag), (ev_window_cmd_edit_find),
4588 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4589 (ev_window_unfullscreen), (ev_window_focus_in_event),
4590 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4591 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4592 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4593 (ev_window_dispose), (ev_window_class_init),
4594 (set_action_properties), (set_chrome_actions), (load_chrome),
4597 Implement fullscreen mode changes from bug #164776.
4598 Also implement persistent chrome toggles.
4600 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4602 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4604 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4610 Add another check for find interface
4614 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4616 * shell/ev-application.c: (ev_application_open):
4617 * shell/ev-window.c: (ev_window_open):
4619 Open gzipped ps documents
4621 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4624 * shell/ev-view.c: (set_document_page):
4626 Clamp page number, dont try to move to
4629 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4631 * backend/ev-document-find.c: (ev_document_find_changed):
4632 * backend/ev-document-find.h:
4633 * pdf/xpdf/pdf-document.cc:
4634 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4635 * shell/ev-window.c: (find_bar_search_changed_cb):
4637 Fix several bugs with find
4639 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4641 * shell/ev-sidebar-thumbnails.c
4642 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4643 document. Prevents warning from scroll_to_cell.
4645 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4647 * configure.ac: Add «nb» to ALL_LINGUAS too.
4649 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4651 * NOTES: New file with some random thoughts.
4655 * backend/ev-document-misc.c:
4656 (ev_document_misc_get_page_border_size): New function to
4657 canonicalize shadow drawing sizes. Possibly goofy.
4659 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4660 (ev_view_best_fit), (ev_view_fit_width):
4661 * pdf/xpdf/pdf-document.cc:
4662 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4663 * ps/ps-document.c: (ps_document_get_page_size):
4664 * backend/ev-document-misc.h:
4665 * backend/ev-document.c: (ev_document_get_page_size):
4666 * backend/ev-document.h: get_page_size now takes a page number
4667 parameter. Made all the backends/frontends honor it.
4669 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4670 see. Doesn't work yet.
4672 * shell/Makefile.am:
4673 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4674 Doesn't do anything yet.
4676 * shell/ev-sidebar-thumbnails.c:
4677 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4680 * shell/ev-window.c: (update_action_sensitivity),
4681 (ev_window_setup_document), (ev_window_set_page_mode),
4682 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4683 view-swapping code a bit so we can have multiple views on a
4684 document. Add the multi-page view, though it can't be turned on
4687 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4689 * shell/ev-application.c: (ev_application_open):
4690 * shell/ev-view.c: (expose_bin_window):
4691 * shell/ev-window.c: (ev_window_open):
4693 Support eps and check document supports find
4694 before drawing highlightings in expose.
4696 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4698 * pixbuf/pixbuf-document.c:
4699 (pixbuf_document_thumbnails_get_dimensions),
4700 (pixbuf_document_document_thumbnails_iface_init):
4702 implement get_dimensions
4704 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4711 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4713 * shell/ev-view.c: (set_document_page):
4715 Scroll at the top of the page when changing page
4717 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4719 * shell/ev-view.c: (ev_view_motion_notify_event):
4721 Do not redraw unnecessarily
4723 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4725 * pdf/xpdf/pdf-document.cc:
4726 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4727 (expose_bin_window), (find_changed_cb):
4729 Yay! find works now... Now to find bugs...
4731 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4733 * backend/ev-document-find.c: (ev_document_find_base_init),
4734 (ev_document_find_changed):
4735 * backend/ev-document-find.h:
4736 * pdf/xpdf/pdf-document.cc:
4737 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4738 (expose_bin_window), (ev_view_init), (set_document_page),
4739 (ensure_rectangle_is_visible), (jump_to_find_result),
4740 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4741 (ev_view_find_next), (ev_view_find_previous):
4743 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4745 More work on find implementation, mostly there now
4747 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4749 * backend/ev-backend-marshalers.list:
4750 * backend/ev-document-find.c: (ev_document_find_base_init),
4751 (ev_document_find_cancel), (ev_document_find_page_has_results),
4752 (ev_document_find_get_n_results), (ev_document_find_get_result),
4753 (ev_document_find_get_progress), (ev_document_find_changed):
4754 * backend/ev-document-find.h:
4756 Enanche the find interface to be really able to do
4759 * pdf/xpdf/pdf-document.cc:
4763 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4764 (expose_bin_window), (ev_view_init),
4765 (ev_view_get_find_status_message), (find_changed_cb),
4766 (ev_view_set_document), (set_document_page):
4768 Adapt to the new interface. A few things are regressed sorry,
4769 I will finish it soon.
4771 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4773 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4774 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4775 ev_sidebar_thumbnails_parent_class variable, don't define another
4776 parent_class variable.
4778 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4779 (ev_page_action_class_init): ditto.
4781 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4782 (pixbuf_document_class_init): ditto.
4784 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4787 * .cvsignore: ignore various valgrind output files.
4789 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4791 * data/evince-ui.xml:
4792 * shell/Makefile.am:
4793 * shell/ev-history.c:
4794 * shell/ev-history.h:
4795 * shell/ev-navigation-action.c:
4796 * shell/ev-navigation-action.h:
4797 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4798 (ev_view_set_page), (ev_view_fit_width):
4800 * shell/ev-window.c: (update_action_sensitivity),
4801 (ev_window_setup_document), (register_custom_actions):
4803 Kill session history
4805 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4807 * shell/ev-window.c: (update_action_sensitivity):
4809 Fix inverted up/down buttons
4811 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4813 * shell/ev-sidebar-thumbnails.c
4814 (ev_sidebar_thumbnails_select_page): make sure the selected
4815 thumbnail stays visible.
4817 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4819 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4820 scrolled window for Federico.
4822 2005-01-26 Ole Laursen <olau@hardworking.dk>
4824 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4826 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4829 * pdf/splash/SplashFTFontEngine.cc:
4831 Fix CID fonts with freetype 2.1.9
4833 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4835 * TODO: added item for desktop icon thumbnailer
4837 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4839 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4840 unloaded docs when the title is accessed.
4842 * shell/ev-password-view.[hc]: New widget for displaying password
4845 * shell/ev-window.[ch]: Refactor password handling code to handle
4848 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4856 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4858 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4859 ignore page offset here, to make search results independent of it,
4861 * shell/ev-view.c (expose_bin_window): but take offsets into
4862 account here. Bug #164932
4864 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4865 scale at the right time. Bug #164996
4867 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4869 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4870 fix the problem. Now I just removed the Adobe font names and hope
4871 that the URW fonts are always in outline format. Bug #164934
4873 * shell/ev-window.c (update_window_title): empty titles are
4874 useless, use filename in that case too.
4876 * NEWS: Add some content.
4878 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4880 * TODO: added one more TODO item and a TODONE section :)
4882 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4884 * ps/ps-document.h: add page_[xy]_offset fields.
4886 * ps/ps-document.c (ps_document_set_page_offset)
4887 (ps_document_render): Keep offset in consideration in a few
4888 places. Bug #164752 "postscript documents are not centered in
4891 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4892 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4894 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4895 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4896 stub out missing methods for complete EvDocument implementation.
4897 Fixes segfaults with Save A Copy and Copy actions.
4899 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4900 (ps_document_document_iface_init): ditto.
4902 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4906 * data/evince.desktop.in:
4910 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4912 * shell/ev-view.c: (ev_view_button_press_event),
4913 (ev_view_motion_notify_event):
4915 Make selection work in any direction
4917 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4920 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4922 Use shorter labels for some of the toolbars items
4924 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4926 * pdf/xpdf/pdf-document.cc:
4928 Check the links info is initialized before
4929 using it. Should fix a crash on startup.
4931 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4933 * pixbuf/pixbuf-document.c
4934 (pixbuf_document_thumbnails_get_dimensions): force floating point
4935 division to calculate page_ratio. Fixes crash with landscape
4938 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4940 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4942 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4944 * shell/ev-view.c (set_document_page): unset has_selection when
4946 (set_document_page): handle paper size changes when the page
4947 changes (test with Free Culture, page 2).
4949 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4951 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4952 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4954 Use normal style color for the widget background and
4955 draw a black box around the page.
4957 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4959 * pdf/xpdf/pdf-document.cc:
4961 Keep offset in consideration in a few places
4963 * shell/ev-view.c: (expose_bin_window):
4965 Set the offsets so that the document is ever centered
4967 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4969 * TODO: Added TODO items and finished off the first todo item
4971 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4972 reflect current authors
4974 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4976 * pdf/xpdf/pdf-document.cc:
4977 * shell/ev-view.c: (ev_view_set_cursor),
4978 (ev_view_motion_notify_event), (document_changed_callback),
4979 (set_document_page):
4981 Show a wait cursor while the page is rendering
4983 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4985 * shell/ev-sidebar-thumbnails.c:
4986 (ev_sidebar_tree_selection_changed),
4987 (ev_sidebar_thumbnails_select_page):
4988 * shell/ev-sidebar-thumbnails.h:
4989 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4990 (ev_view_can_go_forward):
4991 * shell/ev-window.c: (ev_window_open_page),
4992 (ev_window_setup_document), (update_current_page),
4993 (view_page_changed_cb), (ev_window_init):
4994 * shell/ev-window.h:
4996 Ensure thumbnails selection, toolbar page control and
4997 current page are in sync.
4999 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5005 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5007 * backend/Makefile.am:
5008 * backend/ev-document-links.h:
5009 * backend/ev-document-security.c: (ev_document_security_get_type),
5010 (ev_document_security_has_document_security),
5011 (ev_document_security_set_password):
5012 * backend/ev-document-security.h:
5013 * backend/ev-document.c: (ev_document_error_quark):
5014 * backend/ev-document.h:
5016 * data/evince-password.glade:
5017 * pdf/xpdf/pdf-document.cc:
5018 * shell/Makefile.am:
5019 * shell/ev-password.c: (ev_password_set_bad_password_label),
5020 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5021 (ev_password_dialog_get_password),
5022 (ev_password_dialog_set_bad_pass):
5023 * shell/ev-password.h:
5024 * shell/ev-window.c: (ev_window_get_attribute),
5025 (ev_window_set_property), (update_action_sensitivity),
5026 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5027 (ev_window_setup_document), (ev_window_get_password),
5028 (ev_window_open), (ev_window_cmd_save_as),
5029 (using_postscript_printer), (ev_window_print),
5030 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5031 (update_fullscreen_popup), (ev_window_fullscreen),
5032 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5033 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5034 (menu_item_select_cb), (find_bar_search_changed_cb),
5035 (ev_window_dispose), (ev_window_init):
5037 Add initial support for password-supported dialogs. This could be
5038 a lot cooler, but it'll do for now.
5040 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5042 * pdf/xpdf/pdf-document.cc:
5043 * shell/ev-view.c: (status_message_from_link),
5044 (ev_view_set_status), (ev_view_set_cursor),
5045 (ev_view_motion_notify_event), (ev_view_init):
5046 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5048 Fix bugs in the links implementation and change cursor
5049 when hovering a link.
5051 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5053 * viewer/.cvsignore: added cvsignore file for viewer directory
5055 * TODO: created TODO document
5057 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5060 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5061 new functions to help with implementation of sensitivity code
5062 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5063 of all actions that might require it. Fixes a crash when you
5064 click on the Zoom actions in a window lacking a document.
5066 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5068 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5071 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5073 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5074 (pixbuf_document_document_iface_init):
5075 * ps/ps-document.c: (ps_document_get_link),
5076 (ps_document_document_iface_init):
5077 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5078 (status_message_from_link), (ev_view_set_status),
5079 (ev_view_set_find_status), (ev_view_motion_notify_event),
5080 (ev_view_button_release_event), (ev_view_set_property),
5081 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5082 (ev_view_get_find_status_message), (update_find_results),
5083 (ev_view_get_status), (ev_view_get_find_status):
5085 * shell/ev-window.c: (view_status_changed_cb),
5086 (view_find_status_changed_cb), (ev_window_init):
5088 View status message support, use it to show the links.
5091 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5093 * backend/ev-document.c: (ev_document_get_link):
5094 * backend/ev-document.h:
5095 * pdf/xpdf/pdf-document.cc:
5096 * shell/ev-application.c: (ev_application_open):
5097 * shell/ev-application.h:
5098 * shell/ev-sidebar-links.c: (selection_changed_cb):
5099 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5100 (ev_view_go_to_link):
5102 Add support for document links
5104 2005-01-13 Anders Carlsson <andersca@gnome.org>
5106 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5108 Set the spin button limits correctly.
5110 * shell/ev-sidebar-thumbnails.c:
5111 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5112 Support changing pages by clicking on the thumbnails.
5114 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5116 * pixbuf/pixbuf-document.c:
5117 (pixbuf_document_thumbnails_get_dimensions),
5118 (pixbuf_document_document_thumbnails_iface_init):
5120 implement get_dimensions
5122 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5124 * ps/ps-document.c: (ps_document_goto_page):
5126 Fix page switching on multipage documents
5128 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5130 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5132 check for NULL before assigning to width and height parameters
5134 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5136 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5137 (pixbuf_document_set_property), (pixbuf_document_get_property):
5139 implement get/set properties
5141 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5143 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5145 return NULL instead of "Unknown", letting the title get set to
5146 the filename when the pdf has no title.
5148 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5150 * ps/ps-document.c: (ps_document_get_page_count),
5151 (ps_document_goto_page):
5153 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5155 * shell/ev-history.c: (ev_history_get_property),
5156 (ev_history_set_property), (ev_history_class_init),
5157 (ev_history_add_page), (ev_history_set_current_index):
5158 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5159 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5160 (ev_navigation_action_finalize):
5161 * shell/ev-navigation-action.h:
5162 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5163 (ev_view_go_forward), (ev_view_get_find_status_message),
5164 (history_index_changed_cb), (ev_view_set_history):
5166 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5167 (update_current_page), (register_custom_actions):
5169 Implement history dropdowns
5171 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5173 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5174 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5175 (ev_view_go_forward):
5176 * shell/ev-window.c: (register_custom_actions):
5178 Fix several history bugs
5180 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5182 * configure.ac: Add «nb» to ALL_LINGUAS.
5184 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5186 * backend/Makefile.am:
5187 * backend/ev-bookmark.c:
5188 * backend/ev-bookmark.h:
5189 * backend/ev-document-bookmarks.c:
5190 * backend/ev-document-bookmarks.h:
5191 * backend/ev-document-links.c: (ev_document_links_get_type),
5192 (ev_document_links_has_document_links),
5193 (ev_document_links_begin_read), (ev_document_links_get_link),
5194 (ev_document_links_get_child), (ev_document_links_next),
5195 (ev_document_links_free_iter):
5196 * backend/ev-document-links.h:
5197 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5198 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5199 (ev_link_get_link_type), (ev_link_set_link_type),
5200 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5201 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5202 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5203 (ev_link_new_external):
5204 * backend/ev-link.h:
5205 * pdf/xpdf/pdf-document.cc:
5206 * shell/Makefile.am:
5207 * shell/ev-application.c: (ev_application_open_link):
5208 * shell/ev-application.h:
5209 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5210 (ev_history_get_link_nth):
5211 * shell/ev-history.h:
5212 * shell/ev-sidebar-bookmarks.c:
5213 * shell/ev-sidebar-bookmarks.h:
5214 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5215 (ev_sidebar_links_class_init), (selection_changed_cb),
5216 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5217 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5218 (do_one_iteration), (populate_links_idle),
5219 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5220 * shell/ev-sidebar-links.h:
5221 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5222 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5225 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5226 * shell/ev-window.h:
5228 Rename bookmark to link, and use "Index" for the sidebar panel.
5230 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5232 * shell/Makefile.am:
5233 * shell/ev-application.c: (ev_application_open_bookmark):
5234 * shell/ev-application.h:
5235 * shell/ev-history.c: (ev_history_init), (free_links_list),
5236 (ev_history_finalize), (ev_history_class_init),
5237 (ev_history_add_link), (ev_history_add_page),
5238 (ev_history_get_link_nth), (ev_history_get_n_links),
5239 (ev_history_get_current_index), (ev_history_set_current_index),
5241 * shell/ev-history.h:
5242 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5243 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5244 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5245 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5248 * shell/ev-window.c: (ev_window_open_bookmark),
5249 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5250 (goto_page_cb), (register_custom_actions):
5251 * shell/ev-window.h:
5253 Initial history implementation. Needs work.
5255 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5257 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5259 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5261 * cut-n-paste/recent-files/egg-recent-item.c:
5262 * cut-n-paste/recent-files/egg-recent-item.h:
5263 * cut-n-paste/recent-files/egg-recent-model.c:
5264 * cut-n-paste/recent-files/egg-recent-util.c:
5265 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5266 * cut-n-paste/recent-files/egg-recent-view.c:
5270 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5272 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5273 (fillGlyph, fillImageMask, drawImage):
5274 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5275 pdf/splash/SplashTypes.h:
5276 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5277 packed mode for Splash.
5279 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5280 RGB8 packed mode, eliminates the pixbuf data creation loop.
5282 * shell/ev-print-job.c (ev_print_job_finalize)
5283 (ev_print_job_set_property, ev_print_job_get_property)
5284 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5285 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5286 (print_closure_finalize, ev_print_job_print): implement
5287 printing (for backends with EvPsExporter)
5289 * shell/ev_print_job.h: update prototypes.
5291 * shell/ev-window.c (ev_window_print): unref print job after
5294 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5295 unless the document implements the EvDocumentFind interface.
5297 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5299 * configure.ac: Added ja to ALL_LINGUAS.
5301 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5303 * pdf/xpdf/pdf-document.cc:
5305 add a FIXME. We should probably not allocate
5306 a bookmark object every time
5308 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5310 * shell/ev-application.c: (ev_application_open),
5311 (ev_application_open_bookmark):
5312 * shell/ev-application.h:
5314 Add a way to open bookmarks
5316 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5317 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5318 (ev_bookmark_set_property), (ev_bookmark_class_init),
5319 (ev_bookmark_new_title), (ev_bookmark_new_link),
5320 (ev_bookmark_new_external):
5322 Support for external uris, better constructors.
5324 * backend/ev-bookmark.h:
5325 * pdf/xpdf/pdf-document.cc:
5326 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5328 Handle external uris
5330 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5332 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5333 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5335 Hook up bookmarks navigation
5337 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5339 * backend/Makefile.am:
5340 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5341 (ev_bookmark_get_title), (ev_bookmark_set_title),
5342 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5343 (ev_bookmark_get_page), (ev_bookmark_set_page),
5344 (ev_bookmark_get_property), (ev_bookmark_set_property),
5345 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5347 * backend/ev-bookmark.h:
5348 * backend/ev-document-bookmarks.c:
5349 (ev_document_bookmarks_get_bookmark):
5350 * backend/ev-document-bookmarks.h:
5351 * pdf/xpdf/pdf-document.cc:
5352 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5354 Add a bookmark object to the backend and use it instead of get_values
5356 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5358 * data/evince-ui.xml:
5360 Cleanup and add select all.
5362 * shell/ev-view.c: (ev_view_select_all),
5363 (ev_view_button_press_event):
5365 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5368 Clear selection on click.
5370 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5372 * shell/ev-sidebar-thumbnails.c
5373 (ev_sidebar_thumbnails_set_document): forgot to unref the
5376 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5378 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5379 at the visible page, not just linearly. This makes it look fast.
5381 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5383 * backend/ev-document-misc.c
5384 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5386 * backend/ev-document-thumbnails.h: New interface to get the size
5389 2005-01-06 Jeremy Katz <katzj@redhat.com>
5391 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5394 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5396 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5397 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5400 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5402 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5404 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5405 fonts. Should fix font problems on systems that have the base
5406 fonts in bitmap format. Reported by James Henstridge
5407 <james@jamesh.id.au>.
5409 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5412 * pdf/xpdf/GfxState.cc:
5414 Fix for CAN-2004-1125
5416 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5418 * shell/ev-view.c: (ev_view_copy):
5420 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5422 Implement Edit->Copy
5424 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5426 * backend/ev-document.c: (ev_document_get_text):
5427 * backend/ev-document.h:
5428 * pdf/xpdf/pdf-document.cc:
5429 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5430 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5431 (ev_view_update_primary_selection), (ev_view_button_press_event),
5432 (ev_view_motion_notify_event), (ev_view_button_release_event):
5434 Beginnings of clipboard support. Incomplete but primary sort
5437 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5439 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5440 (expose_bin_window):
5442 Nicer rubberband drawing, from GtkIconView.
5444 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5446 * backend/ev-document.c: (ev_document_save):
5447 * backend/ev-document.h:
5448 * data/evince-ui.xml:
5449 * pdf/xpdf/pdf-document.cc:
5450 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5452 Implement "Save a copy..." menu item
5454 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5456 * shell/ev-view.c: (ev_view_zoom):
5458 Queue a resize when zoom changes
5460 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5462 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5465 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5468 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5470 * pdf/xpdf/pdf-document.cc
5471 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5473 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5475 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5476 It's slow, but I'll speed it up next!
5478 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5480 * shell/main.c (load_files):
5482 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5483 from the command line and because it seems more appropriate.
5485 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5487 * data/evince-ui.xml:
5488 * shell/ev-window.c: (update_action_sensitivity),
5489 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5491 s/next page/page down
5492 s/previous page/page up
5494 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5496 * data/evince-ui.xml:
5498 Change the layout to match clarkbw design.
5500 * shell/Makefile.am:
5501 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5502 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5503 (ev_navigation_action_finalize),
5504 (ev_navigation_action_set_property),
5505 (ev_navigation_action_get_property),
5506 (ev_navigation_action_class_init):
5507 * shell/ev-navigation-action.h:
5509 Implement clarkbw toolbar navigation controls (incomplete)
5511 * shell/ev-page-action.c: (update_label), (update_spin),
5512 (value_changed_cb), (create_tool_item), (connect_proxy),
5513 (ev_page_action_init), (ev_page_action_finalize),
5514 (ev_page_action_set_property), (ev_page_action_get_property),
5515 (ev_page_action_set_current_page),
5516 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5517 * shell/ev-page-action.h:
5519 Implement a page switcher in the toolbar
5521 * shell/ev-view.c: (ev_view_scroll_view):
5522 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5523 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5524 (register_custom_actions), (ev_window_init):
5526 Change page on PageUp/Down.
5528 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5530 * pdf/xpdf/pdf-document.cc
5531 (pdf_document_thumbnails_get_thumbnail): initial stab at
5532 implementing thumbnail support for pdfs. It only does documents
5533 with precached pdfs now.
5535 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5537 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5538 thumbnail code into a time-based idle as well. Also, turn off the
5539 shadow temporarily as it's really slow.
5541 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5543 * backend/ev-document.c: (ev_document_class_init):
5544 * pdf/xpdf/pdf-document.cc:
5545 * shell/ev-window.c: (ev_window_open):
5547 Fix document title bugs and fallback to
5548 filename when not available.
5550 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5552 * backend/ev-document.c: (ev_document_get_type),
5553 (ev_document_class_init), (ev_document_load),
5554 (ev_document_get_title):
5555 * backend/ev-document.h:
5556 * pdf/xpdf/pdf-document.cc:
5557 * ps/ps-document.c: (ps_document_set_property),
5558 (ps_document_get_property), (ps_document_class_init),
5562 * shell/ev-window.c: (update_window_title), (ev_window_open),
5565 Initial support for document title. Not working yet.
5567 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5569 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5571 Grab focus on the view when clicking it
5573 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5575 * shell/ev-marshal.list:
5576 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5577 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5579 Add key bindings to the view. Now if the focus would work
5582 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5585 * backend/Makefile.am:
5588 * dvi/dvilib/Makefile.am:
5589 * pdf/xpdf/Makefile.am:
5595 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5597 * shell/ev-view.c: (ev_view_realize):
5599 Fix mouse wheel scrolling
5601 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5607 * ps/ps-document.c: (catchPipe), (ps_document_init),
5608 (ps_document_class_init), (ps_document_cleanup),
5609 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5610 (set_up_page), (close_pipe), (is_interpreter_ready),
5611 (interpreter_failed), (output), (input), (start_interpreter),
5612 (stop_interpreter), (file_length), (file_readable),
5613 (check_filecompressed), (check_pdf), (compute_xdpi),
5614 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5615 (ps_document_get_type), (ps_document_emit_error_msg),
5616 (document_load), (ps_document_next_page),
5617 (ps_document_get_current_page), (ps_document_get_page_count),
5618 (ps_document_goto_page), (ps_document_set_page_size),
5619 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5620 (ps_document_load), (ps_document_get_n_pages),
5621 (ps_document_set_page), (ps_document_get_page),
5622 (ps_document_widget_event), (ps_document_set_target),
5623 (ps_document_set_scale), (ps_document_set_page_offset),
5624 (ps_document_get_page_size), (ps_document_render),
5625 (ps_document_document_iface_init):
5628 * shell/ev-window.c: (ev_window_open):
5630 Rename GtkGS to PSDocument
5632 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5634 * ps/gtkgs.c: (gtk_gs_class_init):
5637 Some more leftover...
5639 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5641 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5642 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5643 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5646 Remove unused code and make a lot of stuff private
5648 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5650 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5651 (gtk_gs_defaults_changed):
5657 Cleanup headers dependencies
5659 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5664 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5666 * ps/gtkgs.c: (file_length), (file_readable),
5667 (check_filecompressed), (check_pdf), (gtk_gs_load),
5668 (gtk_gs_get_postscript):
5672 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5677 * ps/gtkgs.c: (gtk_gs_set_zoom):
5681 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5683 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5685 Ensure the page is rerendered when changing zoom
5687 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5689 * backend/ev-document.c: (ev_document_base_init),
5690 (ev_document_changed):
5691 * backend/ev-document.h:
5693 Add a changed event that is emitted when the page content
5694 changes. This is necessary to deal with the fact that
5695 in ps backend rendering happen asycrounously.
5696 This makes the ps backend mostly work.
5698 * pdf/xpdf/pdf-document.cc:
5702 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5703 (ps_document_set_target):
5707 * shell/ev-view.c: (document_changed_callback),
5708 (ev_view_set_document), (ev_view_set_page):
5710 Redraw on the changed signal
5712 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5714 * configure.ac: Added pt_BR to ALL_LINGUAS.
5716 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5718 * backend/ev-document-bookmarks.c:
5719 (ev_document_bookmarks_get_child): *
5720 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5721 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5722 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5723 (ev_sidebar_bookmarks_destroy),
5724 (ev_sidebar_bookmarks_class_init),
5725 (ev_sidebar_bookmarks_construct), (stack_data_free),
5726 (do_one_iteration), (populate_bookmarks_idle),
5727 (ev_sidebar_bookmarks_clear_document),
5728 (ev_sidebar_bookmarks_set_document): *
5729 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5730 (ev_sidebar_add_page),
5731 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5732 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5733 it displays both the topics and the page numbers.
5735 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5737 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5739 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5742 2004-12-23 Adam Weinberger <adamw@gnome.org>
5744 * configure.ac: Added en_CA to ALL_LINGUAS.
5746 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5748 * ChangeLog: replace bottom of this ChangeLog (merged history of
5749 ggv and gpdf; where all paths were wrong and most of the files are
5750 not even in this tree) with ChangeLog (from arch) of the shell
5753 2004-12-23 Havoc Pennington <hp@redhat.com>
5755 * shell/ev-window.c: hook up potentially-questionable "find
5756 results status text" feature - something involving the sidebar or
5757 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5758 might be better in the end.
5760 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5761 with corresponding signal when it should be updated
5763 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5765 2004-12-22 Havoc Pennington <hp@redhat.com>
5767 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5768 find stuff on other pages, sort of (only returns one result on
5769 invisible pages, to show they have results; updates full results
5770 for a page when you view it). Currently repaints the current page
5771 every time a new result is found on any page, which isn't so nice.
5773 2004-12-22 Havoc Pennington <hp@redhat.com>
5775 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5776 the document doesn't support find (better ideas?)
5777 (find_bar_search_changed_cb): handle missing document or document
5778 that doesn't support find
5780 * pdf/xpdf/pdf-document.cc: port to implement the new
5783 * backend/ev-document-find.c: create a new interface for searching
5785 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5787 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5789 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5792 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5793 EvPrintJob constructor arguments.
5795 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5796 for documents that can export PostScript (page by page).
5798 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5800 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5801 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5802 (pdf_document_ps_exporter_iface_init:
5803 Implement EvPSExporter.
5805 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5807 2004-12-22 Anders Carlsson <andersca@gnome.org>
5809 * backend/Makefile.am:
5810 * backend/ev-document-thumbnails.c:
5811 (ev_document_thumbnails_get_type),
5812 (ev_document_thumbnails_get_thumbnail):
5813 * backend/ev-document-thumbnails.h:
5814 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5815 (pixbuf_document_thumbnails_get_thumbnail),
5816 (pixbuf_document_document_thumbnails_iface_init):
5817 * shell/Makefile.am:
5818 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5819 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5820 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5821 * shell/ev-sidebar-thumbnails.h:
5822 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5823 (ev_sidebar_set_document):
5824 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5825 (create_shadow), (ev_pixbuf_add_shadow):
5827 Add thumbnail support.
5829 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5831 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5832 (using_postscript_printer): Set up a print dialog for "PostScript
5835 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5838 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5840 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5842 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5843 (ps_document_set_target), (ps_document_get_page_size),
5844 (ps_document_render):
5849 2004-12-22 Christian Rose <menthos@menthos.com>
5851 * configure.ac: Added "sv" to ALL_LINGUAS.
5853 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5855 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5856 document supports bookmarks.
5858 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5860 * ps/ggvutils.c: (ggv_file_readable):
5862 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5863 (gtk_gs_get_postscript):
5867 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5869 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5870 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5871 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5872 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5873 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5874 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5875 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5876 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5877 (gtk_gs_set_antialiasing), (ps_document_load),
5878 (ps_document_render):
5881 Another check point for the ps backend. Now I can get it to show
5884 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5886 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5887 document setting code.
5889 2004-12-22 Anders Carlsson <andersca@gnome.org>
5891 * shell/eggfindbar.c: (entry_activate_callback):
5892 Animate the next button when activate is pressed.
5894 2004-12-22 Anders Carlsson <andersca@gnome.org>
5896 * shell/ev-window.c: (ev_window_cmd_edit_find),
5897 (update_fullscreen_popup), (ev_window_fullscreen),
5898 (ev_window_unfullscreen), (ev_window_state_event_cb),
5899 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5900 Fix bugs in fullscreen code.
5902 2004-12-22 Anders Carlsson <andersca@gnome.org>
5906 * pixbuf/Makefile.am:
5907 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5908 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5909 (pixbuf_document_set_page), (pixbuf_document_get_page),
5910 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5911 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5912 (pixbuf_document_render), (pixbuf_document_begin_find),
5913 (pixbuf_document_end_find), (pixbuf_document_finalize),
5914 (pixbuf_document_class_init),
5915 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5916 * pixbuf/pixbuf-document.h:
5917 * shell/Makefile.am:
5918 * shell/ev-application.c: (ev_application_open):
5919 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5923 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5926 * dvi/dvilib/Makefile.am:
5928 * configure.ac: Auto*ify dvi and dvi/dvilib
5930 * dvi/Makefile: Remove from CVS
5932 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5935 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5937 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5939 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5942 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5943 (gtk_gs_value_adjustment_changed), (compute_size),
5944 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5945 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5946 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5947 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5948 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5949 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5950 (ps_document_load), (ps_document_get_n_pages),
5951 (ps_document_set_page), (ps_document_get_page),
5952 (ps_document_set_target), (ps_document_set_scale),
5953 (ps_document_set_page_offset), (ps_document_get_page_size),
5954 (ps_document_render), (ps_document_begin_find),
5955 (ps_document_end_find), (ps_document_document_iface_init):
5957 * shell/Makefile.am:
5958 * shell/ev-window.c: (ev_window_open):
5960 Some work to integrate gtkgs with EvDocument
5962 2004-12-22 Anders Carlsson <andersca@gnome.org>
5964 * shell/ev-window.c: (update_fullscreen_popup),
5965 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5966 (exit_fullscreen_button_clicked_cb),
5967 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5968 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5969 (ev_window_state_event_cb), (ev_window_init):
5970 Add fullscreen support from Epiphany.
5972 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5974 * data/ev-stock-zoom-fit-width.png: fit-width
5975 stock icon from gpdf.
5977 * shell/ev-stock-icons.[ch]: copied from gpdf.
5979 * shell/main.c: (main): init stock icons.
5981 * shell/ev-window.c: use the fit-width icon.
5983 * data/evince-ui.xml: add zooming toolbar items.
5985 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5988 (ev_view_best_fit), (ev_view_fit_width): because
5989 get_page_size() returns the scaled page size, we
5990 need to calculate the scale factor relative to
5991 the previous scale factor. Should really just
5992 add get_real_page_size().
5994 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5996 * shell/ev-view.[ch]:
5997 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5998 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6001 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6002 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6003 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6006 * pdf/xpdf/pdf-document.cc:
6007 (pdf_document_begin_find),
6008 (pdf_document_end_find): make static.
6010 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6012 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6014 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6015 names to fontconfig patterns.
6016 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6018 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6021 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6037 Import ggv backend. Not hooked up yet.
6039 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6041 * shell/main.c: (load_files), (main): load files
6042 from the command line.
6044 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6046 * configure.ac: don't require bonobo.
6048 * cut-n-paste/recent-files/*: kill bonobo recent
6051 * shell/ev-window.c:
6052 (ev_window_is_empty): upd.
6053 (unable_to_load), (ev_window_open): load backend
6054 based on the mime type.
6056 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6058 * backend/.cvsignore: ignore generated marshalers source.
6060 * shell/main.c (main): this is not epiphany.
6062 2004-12-22 Havoc Pennington <hp@redhat.com>
6064 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6065 (expose_bin_window): draw find highlights
6067 * shell/ev-window.c (find_bar_search_changed_cb): implement
6069 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6070 (pdf_document_end_find): implement this interface
6072 * backend/ev-document.c (ev_document_found): add this to emit
6075 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6077 * data/evince-ui.xml: Add a few more toolbar items.
6079 * shell/ev-window.c: Hook up page navigation toolbar
6082 * shell/ev-view.[ch]: add ev_view_set/get_page and
6083 a page-changed signal.
6085 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6086 Add ev_document_get_page().
6088 * shell/ev-window.c: Sensitize/desensitize navigation
6091 2004-12-21 Havoc Pennington <hp@redhat.com>
6093 * backend/ev-backend-marshal.c,
6094 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6095 marshaler-generator thingy. I'm sure there's a better way to do
6096 this in the modern world.
6098 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6099 end_find methods and "found" signal.
6101 * configure.ac: find glib-genmarshal
6103 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6105 * shell/ev-sidebar.c: Construct an actual sidebar.
6106 * shell/ev-sidebar-bookmarks.[ch]:
6107 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6109 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6111 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6114 * shell/ev-view.c: Track the size from the document.
6116 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6118 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6119 constructor assumes ownership of the string passed in.
6121 * shell/ev-window.c (ev_window_open): Destroy the error
6122 dialog once we've displayed it.
6124 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6126 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6127 a bit, it works! (sort of)
6129 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6130 Move to .cc since we need to use C++ in the implementation.
6132 * shell/dummy.cc: Add a CC file to force evince
6133 to be linked as a C++ program.
6135 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6137 * shell/ev-view.[ch]: Start of content-area widget.
6139 * shell/ev-window.c: Create a EvView, update it
6140 as we change documents.
6142 * shell/Makefile.am shell/ev-marshal.list: Add
6143 generated marshalers.
6145 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6147 * Makefile.am (SUBDIRS): move shell.
6149 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6151 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6152 .a to libtool convenience libraries.
6154 * shell/ev-window.c (ev_window_open): Hard code loading
6157 * backend/ev-document.h: Add a boolean return to load(),
6158 fix GError * to GError **.
6160 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6161 object for a PDF backend EvDocument.
6163 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6165 * dvi/*: New directory with the beginning of a .dvi backend.
6167 2004-12-21 Havoc Pennington <hp@redhat.com>
6169 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6170 previous/next instead of back/forward
6172 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6174 * backend/ev-document.[ch]: Fix a couple of problems so
6177 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6179 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6180 to backend/ directory, rename EvViewer to EvDocument.
6182 2004-12-21 Havoc Pennington <hp@redhat.com>
6184 * shell/ev-window.c: hook up the find bar widget; now we just need
6185 a document to find things in
6187 * shell/eggfindbar.c: a find bar widget
6189 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6191 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6193 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6195 * pdf/**: Import of xpdf code from gpdf.
6197 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6199 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6200 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6201 Fix FreeType includes.
6203 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6204 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6205 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6206 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6207 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6208 Include xpdfconfig.h
6210 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6212 * shell/ev-window.c (ev_window_dispose): dispose can be called
6215 2004-12-21 Havoc Pennington <hp@redhat.com>
6217 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6220 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6221 items; really they should be synced with the strings, etc. from
6222 current gpdf, but just getting the boring typing out of the way
6224 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6227 * shell/ev-application.c: (window_destroy_cb):
6228 * shell/ev-window.c:
6229 * shell/main.c: (main):
6231 Actually show the window...
6233 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6236 * shell/Makefile.am:
6237 * shell/ev-application.c: (ev_application_class_init):
6238 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6242 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6244 Import to gnome cvs.
6246 * Remove copies of gpdf and ggv trees.
6247 * Rip out all the recursive configure code.
6248 * Remove bonobo machinery.
6249 * viewer/*: GInterfaces that backends should/can implement.
6251 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6253 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6256 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6258 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6259 (ev_application_finalize, ev_application_class_init)
6260 (ev_application_init): use GType instance private data for priv.
6262 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6263 (ev_window_finalize, ev_window_class_init)
6264 (ev_window_init): ditto.
6266 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6268 * shell/ev-application.c (ev_application_new_window): make public
6269 (ev_application_show_initial_window): kill.
6271 * shell/ev-application.h: update prototypes.
6273 * shell/main.cc (main): inline ev_application_show_initial_window.
6275 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6277 * shell/ev-application.c (ev_application_new_window): impl.
6278 (ev_application_show_initial_window): use it.
6279 (is_window_empty, ev_application_get_empty_window): returns an
6280 existing empty window or a new one.
6281 (ev_application_open): from ev_window_cmd_file_open.
6283 * shell/ev-application.h: update prototypes
6285 * shell/ev-window.c (ev_window_is_empty): impl.
6286 (ev_window_open): make public.
6287 (ev_window_cmd_file_open): use ev_application_open
6289 * shell/ev-window.h: update prototypes, remove unused.
6291 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6293 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6294 move destroy handler out of here...
6296 * shell/ev-application.c, shell/ev-application.h: ...into this new
6297 class. Also handles initial window creation.
6299 * shell/main.cc (main): use EvApplication to create initial
6302 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6304 * Makefile.am (SUBDIRS): add cut-n-paste
6306 * cut-n-paste/Makefile.am: add
6308 * configure.ac: generate Makefiles in cut-n-paste
6310 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6312 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6313 (ev_window_class_init): install ev_window_dispose.
6315 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6317 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6318 char (gchar looks stupid).
6320 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6322 * po/de.po: updated German translation.
6324 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6326 * configure.ac: add more pkg-config library checks for gnome-vfs,
6329 * gpdf/configure.in: temporarily disable libpaper
6330 checks. Otherwise I'd have to add the checks for the shell, too.
6332 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6334 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6335 and * file filters to the file choose.
6337 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6339 * po/de.po: Updated German translation.
6341 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6343 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6345 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6347 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6349 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6350 (ev_window_init): implement those menuitems.
6352 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6354 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6356 * shell/ev-window.c (ev_window_init): use the toolbar.
6358 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6360 * shell/ev-window.c (ev_window_init): use menu translations
6362 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6364 * configure.ac: add "de" to ALL_LINGUAS.
6366 * po/de.po: add German translation.
6368 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6370 * Makefile.am (SUBDIRS): add po
6372 * configure.ac: check intltool, glib-gettext etc, generate
6375 * po, po/POTFILES.in, po/POTFILES.skip: new.
6377 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6379 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6380 already use (#ifdef ENABLE_NLS)
6382 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6383 pointer indirection thinko.
6385 * shell/main.c: include gi18n.h for bindtextdomain etc.
6387 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6389 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6390 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6391 tooltips for menu items in the statusbar.
6393 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6395 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6396 pkgdatadir drop UIDIR
6398 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6400 * data/evince-ui.xml: Add File->Open menu item
6402 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6403 chooser), hook it up in the ui manager.
6405 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6407 * shell/ev-window.c: fix Help->About tooltip.
6409 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6411 * configure.ac: set CFLAGS for libevprivate.
6413 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6414 definitions, factory etc.
6416 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6418 * shell/Makefile.am: link against libevprivate.a.
6420 * shell/ev-window.c (entries): add stock icon to Help->About.
6422 * shell/main.c (main): init stock icon code.
6424 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6426 * lib/recent-files: egg recent files code
6428 * lib/Makefile.am: add.
6430 * Makefile.am: add lib subdir.
6432 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6433 set CFLAGS for recent-files.
6435 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6437 * configure.ac: disable -ansi and -pedantic gcc flags. They
6438 disable POSIX stuff in stdio.h, but egg-recent uses them.
6440 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6442 * configure.ac: add --disable-deprecated flag (defaults to on in
6445 * shell/Makefile.am (INCLUDES): use it.
6447 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6449 * shell/main.c: add missing #include.
6451 * shell/ev-window.c: fix for pedantic gcc.
6452 (ev_window_cmd_help_about): split license into paragraphs for
6453 translators and pedantic compilers.
6455 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6457 * configure.ac: add more warning flags if compiling with gcc from
6458 cvs (or explicitly requested with --enable-more-warnings).
6460 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6462 * data/evince-ui.xml: add File and File->Close menu.
6464 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6465 (ev_window_destroy): quit after destroy.
6466 (ev_window_class_init): override GtkObject::destroy.
6467 (entries): install close_window callback.
6469 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6471 * Makefile.am (SUBDIRS): add data subdir.
6473 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6474 gtk+ 2.5.0 for GtkAboutDialog.
6476 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6479 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6481 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6483 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6485 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6487 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6489 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6491 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6493 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6495 * shell/*: Added shell directory boilerplate, build it.
6497 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6499 * configure.ac, Makefile.am: Added top-level configure.ac and