1 2005-08-05 Kristian Høgsberg <krh@redhat.com>
3 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
4 to poppler_page_render_selection().
6 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
8 * ps/ps-document.c: (save_page_list): Use
9 unzipped document when printing. Thanks to
10 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
13 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
15 * shell/ev-window.c: (update_action_sensitivity):
17 Disable print and save respect to lockdown gconf keys. Fix
20 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
23 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
24 (write_to_temp_file), (ev_file_set_contents):
26 * shell/ev-window.c: (save_print_config_to_file):
28 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
31 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
33 * shell/ev-window.c: (load_print_config_from_file),
34 (save_print_config_to_file), (ev_window_print_range):
36 Persist the print settings. Fixes bug #311578.
38 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
40 * djvu/djvu-document.c: (djvu_document_get_page_size),
41 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
42 (djvu_document_thumbnails_get_thumbnail):
43 * dvi/dvi-document.c: (dvi_document_get_page_size),
44 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
45 (dvi_document_thumbnails_get_dimensions),
46 (dvi_document_thumbnails_get_thumbnail):
47 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
48 (pixbuf_document_render_pixbuf),
49 (pixbuf_document_document_iface_init),
50 (pixbuf_document_thumbnails_get_thumbnail):
52 Update backends to make them build with new rotation system.
54 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
56 * help/C/figures/evince_start_window.png:
58 Update documentation image from Luca Ferretti <elle.uca@libero.it>
60 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
62 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
63 * shell/ev-pixbuf-cache.h:
64 * shell/ev-sidebar-thumbnails.c:
65 (ev_sidebar_thumbnails_get_property), (add_range),
66 (adjustment_changed_cb):
67 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
68 pixbuf cache. Make thumbnailing work again. Also, fix bug where
69 we were thumbnailing the entire docment on startup, slowing us
72 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
74 * shell/ev-page-cache.c: (ev_page_cache_new):
75 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
78 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
80 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
81 (ev_view_rotate_left):
83 Account rotation in doc_rect_to_view_rect.
84 Ensure rotation doesnt go out of bounds.
86 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
88 * shell/ev-page-cache.c: (ev_page_cache_get_size):
90 Correct and cleanup w/h swapping
92 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
94 * backend/ev-document-thumbnails.c:
95 (ev_document_thumbnails_get_thumbnail):
96 * backend/ev-document-thumbnails.h:
97 * backend/ev-document.c:
98 * backend/ev-document.h:
99 * backend/ev-render-context.c: (ev_render_context_new),
100 (ev_render_context_set_rotation):
101 * backend/ev-render-context.h:
103 * ps/ps-document.c: (ps_document_document_iface_init):
104 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
106 * shell/ev-page-cache.c: (build_height_to_page),
107 (ev_page_cache_new), (ev_page_cache_get_size),
108 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
109 (ev_page_cache_get_height_to_page):
110 * shell/ev-page-cache.h:
111 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
112 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
113 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
114 (ev_pixbuf_cache_get_selection_pixbuf):
115 * shell/ev-pixbuf-cache.h:
116 * shell/ev-print-job.c: (idle_print_handler):
117 * shell/ev-sidebar-thumbnails.c: (add_range):
118 * shell/ev-view.c: (view_update_range_and_current_page),
119 (get_page_y_offset), (get_page_extents),
120 (ev_view_size_request_continuous_dual_page),
121 (ev_view_size_request_continuous),
122 (ev_view_size_request_dual_page),
123 (ev_view_size_request_single_page), (draw_one_page),
124 (ev_view_set_rotation), (ev_view_rotate_right),
125 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
126 (ev_view_zoom_for_size_continuous_and_dual_page),
127 (ev_view_zoom_for_size_continuous),
128 (ev_view_zoom_for_size_dual_page),
129 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
130 (ev_view_select_all):
131 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
132 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
133 (tiff_document_document_iface_init),
134 (tiff_document_thumbnails_get_thumbnail):
136 Use rotation rather than orientation. It's easier and enough
139 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
141 * shell/ev-page-cache.c: (build_height_to_page),
142 (ev_page_cache_new), (ev_page_cache_get_size),
143 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
144 (ev_page_cache_get_height_to_page):
145 * shell/ev-page-cache.h:
146 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
147 (ev_view_size_request_continuous_dual_page),
148 (ev_view_size_request_continuous),
149 (ev_view_zoom_for_size_continuous_and_dual_page),
150 (ev_view_zoom_for_size_continuous):
152 Make the page cache aware of page orientation.
154 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
156 * backend/ev-document-thumbnails.c:
157 (ev_document_thumbnails_get_thumbnail):
158 * backend/ev-document-thumbnails.h:
159 * backend/ev-document.c:
160 * backend/ev-document.h:
161 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
162 * backend/ev-ps-exporter.h:
164 * ps/ps-document.c: (ps_document_document_iface_init),
165 (ps_document_ps_export_do_page):
166 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
168 * shell/ev-page-cache.c: (ev_page_cache_get_size),
170 * shell/ev-page-cache.h:
171 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
172 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
173 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
174 * shell/ev-pixbuf-cache.h:
175 * shell/ev-print-job.c: (idle_print_handler):
176 * shell/ev-sidebar-thumbnails.c: (add_range):
177 * shell/ev-view.c: (view_update_range_and_current_page),
178 (get_page_extents), (ev_view_size_request_dual_page),
179 (ev_view_size_request_single_page), (draw_one_page),
180 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
181 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
182 (ev_view_zoom_for_size_dual_page),
183 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
184 (ev_view_select_all):
185 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
186 * tiff/tiff-document.c: (tiff_document_get_page_size),
187 (tiff_document_get_orientation), (rotate_pixbuf),
188 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
189 (tiff_document_thumbnails_get_thumbnail),
190 (tiff_document_ps_export_do_page), (tiff_document_init):
192 Really make use of the orientation bit of the render context.
193 Use the render context in a few more places in the backend API.
194 This regress orientation, but now it's done right. Will try to
197 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
199 * shell/ev-view.c: (ensure_rectangle_is_visible):
201 Patch by Nickolay V. Shmyrev to fix find flickering
203 2005-07-27 Martin Kretzschmar <martink@gnome.org>
205 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
206 duplex parameters to ::begin.
208 * tiff/tiff-document.c (tiff_document_ps_export_begin):
209 * shell/ev-print-job.c (idle_print_handler):
210 * ps/ps-document.c (ps_document_ps_export_begin):
211 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
212 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
213 implementations. Poppler backend needs poppler cvs. Rest has
216 2005-07-25 Martin Kretzschmar <martink@gnome.org>
218 * shell/ev-window.c (using_pdf_printer): new function.
219 (ev_window_print_range): print a less techy message if someone
220 tries to print to PDF.
222 2005-07-25 Martin Kretzschmar <martink@gnome.org>
224 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
225 from "unknown font" string. Bug #311431
227 2005-07-24 Martin Kretzschmar <martink@gnome.org>
229 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
231 2005-07-24 Martin Kretzschmar <martink@gnome.org>
235 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
236 name for PopplerFontTypes
237 (pdf_document_fonts_fill_model): add font type to the detail column
239 * backend/ev-document-fonts.h: added
240 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
242 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
243 font name and font details, add a little markup.
244 (ev_properties_fonts_init): use the new cell data func, specify ypad
245 property for the cell renderer.
246 (ev_properties_fonts_set_document): add the details column.
248 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
250 * configure.ac: Added "pl" to ALL_LINGUAS.
252 2005-07-24 Danilo Šegan <danilo@gnome.org>
254 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
256 2005-07-23 Tommi Vainikainen <thv@iki.fi>
258 * help/ChangeLog: Started this for translations of manual.
259 * configure.ac, autogen.sh, .cvsignore: Migrated to
260 gnome-doc-utils. Patch in bug #311222.
262 2005-07-22 Martin Kretzschmar <martink@gnome.org>
264 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
265 #ifdef this away to fix an unused-function warning.
267 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
269 * configure.ac: Added 'gl' to ALL_LINGUAS.
271 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
273 * configure.ac: Added ne in ALL_LINGUAS
275 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
277 * shell/ev-view.c: (ev_view_leave_notify_event):
279 Clear status message when pointer leaves view. Fix for bug
282 2005-07-20 Ankit Patel <ankit644@yahoo.com>
284 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
286 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
288 * shell/ev-view.c: (ev_view_leave_notify_event),
289 (ev_view_class_init):
291 Set cursor to normal then leaving view.
293 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
297 Fix required djvulibre version.
299 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
301 *configure.ac: Hindi (hi) language added
303 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
305 *configure.ac: Punjabi (pa) Language added
307 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
309 * data/evince-ui.xml, shell/ev-window.c:
311 Add keypad accelerators for zooming. Fix for bug 308128.
313 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
316 * backend/Makefile.am:
317 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
319 * shell/ev-document-types.c: (ev_document_types_add_filters):
321 Allow to enable/disable the pixbuf backend.
322 Default to off for now. If we want it enabled we should
323 really put mime types in the desktop, implement properties etc.
325 * properties/evince-properties.c:
327 Initialize error to NULL.
328 Check error is not NULL before freeing.
330 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
334 Use F5 as presentation accell
336 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
338 * shell/ev-window.c: (update_chrome_visibility),
339 (ev_window_create_fullscreen_popup), (ev_window_init):
341 Do not leak the fullscreen toolbar
343 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
345 * shell/ev-window.c: (view_actions_focus_in_cb),
346 (view_actions_focus_out_cb):
348 These has a return value! Fix totally random focus
349 issues we was seeing.
351 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
353 * shell/main.c: (load_files_remote):
355 Allow open more than one file
357 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
359 * shell/main.c: (load_files_remote):
361 Fix for dbus 0.33. bug #309975
363 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
365 * properties/ev-properties-main.c: (ev_properties_get_pages):
367 Actually return NULL for types we dont support
369 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
375 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
377 * backend/ev-document-factory.c:
378 (ev_document_factory_get_document):
380 Do not try to create the object if type
383 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
385 * ps/ps-document.c: (ps_document_dispose),
386 (ps_async_renderer_render_pixbuf):
389 Do not leak the target window
391 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
393 * shell/ev-application.c: (ev_application_init):
395 Let tbe check file existence for us.
396 Add a comment about eggrecent mime filter.
398 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
400 * data/evince-ui.xml:
401 * shell/ev-application.c: (ev_application_shutdown),
402 (ev_application_init), (ev_application_get_toolbars_model),
403 (ev_application_get_recent_model),
404 (ev_application_save_toolbars_model):
405 * shell/ev-application.h:
406 * shell/ev-window.c: (ev_window_add_recent),
407 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
408 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
411 Use common toolbar and recent models for all windows.
412 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
414 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
416 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
417 successfully check for gtk_icon_view_get_visible_range.
419 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
424 Fix djvu and dvi backend build.
426 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
428 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
429 (new_separator_pixbuf):
433 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
435 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
437 HIGification of toolbar editor dialogue.
439 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
444 Ever build metadata manager since it's just
445 disabled at runtime now.
447 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
449 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
450 (ev_metadata_manager_get), (ev_metadata_manager_set):
451 * shell/ev-metadata-manager.h:
453 Add an _init functions that enabled metadata management
456 * shell/ev-window.c: (page_changed_cb),
457 (setup_document_from_metadata), (ev_window_setup_document),
458 (setup_view_from_metadata), (ev_window_open_uri),
459 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
460 (ev_window_run_presentation), (ev_window_stop_presentation),
461 (save_sizing_mode), (ev_window_zoom_changed_cb),
462 (ev_window_continuous_changed_cb),
463 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
464 (window_configure_event_cb):
466 Remove all ugly metadata define since we deal with it
469 * shell/main.c: (load_files_remote), (main):
471 Add support for dbus cvs head. Hopefully didnt break one
472 of the other versions now!
474 If we dont get a response from the dbus server just
475 give up with it and not enable metadata.
477 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
480 * backend/Makefile.am:
482 * cut-n-paste/recent-files/Makefile.am:
483 * cut-n-paste/toolbar-editor/Makefile.am:
484 * cut-n-paste/zoom-control/Makefile.am:
487 * pixbuf/Makefile.am:
488 * properties/Makefile.am:
491 * thumbnailer/Makefile.am:
494 Make frontends depend on just libev.
495 Rework and group CFLAGS/LIBS definitions.
498 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
502 do not unnecessarily save zoom
505 * lib/ev-file-helpers.c: (ev_dot_dir):
511 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
515 Remove unnecessary dependencies
517 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
519 * properties/Makefile.am:
520 * thumbnailer/Makefile.am:
523 Some more cleanups. Was really necessary
524 but I probably introduced bugs, feel free
527 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
529 * backend/Makefile.am:
531 * cut-n-paste/recent-files/Makefile.am:
532 * cut-n-paste/toolbar-editor/Makefile.am:
533 * cut-n-paste/zoom-control/Makefile.am:
536 * pixbuf/Makefile.am:
537 * properties/Makefile.am:
540 * thumbnailer/Makefile.am:
543 Use gnome-common macros when possible.
544 Cleanup dependencies.
545 Actually disable deprecated where possible.
547 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
550 * backend/Makefile.am:
551 * properties/Makefile.am:
553 * thumbnailer/Makefile.am:
555 This should solve the circular dep without
558 * shell/ev-window.c: (setup_view_from_metadata):
560 Never restore window size/position when the
561 window is already visible.
563 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
565 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
567 Return a boolean from timeout func. Fix ported from gedit.
569 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
571 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
573 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
575 * shell/ev-document-types.c: set "All Documents" as default filter in
578 2005-07-06 Martin Kretzschmar <martink@gnome.org>
580 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
581 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
582 (ev_metadata_manager_set_boolean): fix value/val thinko.
584 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
586 * shell/ev-window.c: (setup_view_from_metadata),
587 (window_state_event_cb), (window_configure_event_cb),
590 Remember window position and maximized state
592 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
596 Fix DBUS configure checks.
598 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
599 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
600 (ev_metadata_manager_set_boolean):
604 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
605 (ev_window_stop_fullscreen), (ev_window_run_presentation),
606 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
607 (ev_window_continuous_changed_cb),
608 (ev_window_dual_mode_changed_cb), (ev_window_new):
610 Fix the build without DBUS.
612 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
614 * shell/ev-metadata-manager.c: (parse_value), (save_values),
615 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
616 (ev_metadata_manager_set_string),
617 (ev_metadata_manager_set_boolean):
618 * shell/ev-metadata-manager.h:
620 Add support for some more types
622 * shell/ev-view.c: (scroll_to_current_page),
623 (ev_view_get_continuous), (ev_view_set_continuous),
624 (ev_view_get_dual_page):
626 * shell/ev-window.c: (page_changed_cb),
627 (setup_document_from_metadata), (ev_window_setup_document),
628 (setup_view_from_metadata), (ev_window_open_uri),
629 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
630 (ev_window_run_presentation), (ev_window_stop_presentation),
631 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
632 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
633 (ev_window_update_dual_page_action),
634 (ev_window_continuous_changed_cb),
635 (ev_window_dual_mode_changed_cb), (ev_window_init):
637 Remember a bunch of view/document properties. Prolly some
638 are still missing but it's getting interesting.
640 2005-07-05 Martin Kretzschmar <martink@gnome.org>
642 * configure.ac: check if dbus-binding-tool is installed. Not the
643 case on current Ubuntu breezy, it seems.
645 2005-07-05 Luca Ferretti <elle.uca@libero.it>
647 * data/evince.desktop.in.in:
649 Allow open uri lists and add TryExec field.
651 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
655 Enable dbus when available, do not require a configure
658 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
662 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
665 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
666 Marco Pesenti Gritti <mpg@redhat.com>
668 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
670 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
671 functions to the format required by dbus
673 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
674 errors. Use the RPC parameters in the expected way
676 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
679 * properties/Makefile.am:
680 * properties/ev-properties-main.c: (ev_properties_get_pages):
682 Support all mime types
685 * thumbnailer/Makefile.am:
686 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
687 (evince_thumbnail_pngenc_get):
689 Use the document factory
691 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
693 * backend/Makefile.am:
694 * backend/ev-document-factory.c:
695 (mime_type_supported_by_gdk_pixbuf),
696 (ev_document_type_get_from_mime),
697 (ev_document_factory_get_document),
698 (ev_document_factory_get_backend),
699 (ev_document_factory_get_mime_types),
700 (ev_document_factory_get_all_mime_types):
701 * backend/ev-document-factory.h:
703 * shell/ev-document-types.c: (get_document_from_uri),
704 (ev_document_types_get_document),
705 (file_filter_add_mime_list_and_free),
706 (ev_document_types_add_filters):
707 * shell/ev-document-types.h:
708 * shell/ev-job-xfer.c: (ev_job_xfer_run):
709 * shell/ev-properties-dialog.c:
710 (ev_properties_dialog_set_document):
711 * shell/ev-window.c: (ev_window_cmd_file_open),
712 (ev_window_cmd_save_as):
713 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
715 Rework document types managing to avoid code duplication
716 and actually abstract from backend implementations.
717 Also provide a minimal factory api that can be used by
718 thumbnailer/properties.
720 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
722 * properties/ev-properties-view.c: (ev_properties_view_set_info):
724 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
727 2005-07-04 Matthew S. Wilson <msw@rpath.com>
729 * shell/ev-properties-dialog.c
730 (ev_properties_dialog_set_document): only call
731 ev_properties_fonts_set_document() if the document implements the
734 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
737 * properties/Makefile.am:
738 * properties/ev-properties-view.c:
739 (ev_properties_view_register_type):
740 * properties/ev-properties-view.h:
741 * properties/ev-properties-main.h:
743 Implement nautilus plugin for properties.
744 Works only for pdf atm, I need to rework the
745 document types stuff to get this to work
748 2005-07-04 Martin Kretzschmar <martink@gnome.org>
750 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
751 (ev_properties_fonts_set_document): use
752 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
754 2005-07-04 Matthew S. Wilson <msw@rpath.com>
756 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
758 (PlaceImage, tiff2ps_process_page): use
759 g_ascii_dtostr to convert floats to strings in a locale-safe way.
762 2005-07-04 Martin Kretzschmar <martink@gnome.org>
764 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
765 (main): to call gnome_authentication_manager_init. Should fix
768 * configure.ac: that requires libgnomeui 2.6.0.
770 2005-07-04 Matthew S. Wilson <msw@rpath.com>
772 * tiff/tiff-document.c (tiff_document_ps_export_begin)
773 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
774 use the new tiff2ps interfaces
776 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
777 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
779 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
780 structure instead of global variables. Remove use of static
781 variables in functions.
783 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
785 * shell/ev-page-action.c: unref the completion after setting it to the
788 2005-07-04 Matthew S. Wilson <msw@rpath.com>
790 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
793 2005-07-04 Matthew S. Wilson <msw@rpath.com>
795 * shell/ev-window.c (update_action_sensitivity): disable
796 File->Print if the document does not implement the ps exporter
799 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
803 * data/evince-properties.glade:
804 * properties/.cvsignore:
805 * properties/Makefile.am:
806 * properties/ev-properties-view.c: (ev_properties_view_dispose),
807 (ev_properties_view_class_init), (ev_properties_view_format_date),
808 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
809 (ev_properties_view_init), (ev_properties_view_new):
810 * properties/ev-properties-view.h:
812 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
813 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
814 (ev_properties_dialog_new):
815 * shell/ev-properties-dialog.h:
816 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
817 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
818 (update_progress_label), (job_fonts_finished_cb),
819 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
820 * shell/ev-properties-fonts.h:
821 * shell/ev-properties.c:
822 * shell/ev-properties.h:
823 * shell/ev-window.c: (ev_window_setup_document),
824 (ev_window_cmd_file_properties):
826 Split the properties pages in two different objects, depend
827 only on the backend where possible, use widgets instead
828 of gobject for the glade part, reimplement the dialog
830 I need this to implement nautilus properties page.
832 2005-07-03 Matthew S. Wilson <msw@rpath.com>
834 * tiff/tiff-document.c (tiff_document_ps_export_begin)
835 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
836 (tiff_document_document_ps_exporter_iface_init): implement the ps
837 exporter interface for tiff documents
839 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
840 libtiff to implement TIFF postscript export
842 * tiff/tiff2ps.h: added a header file for external tiff2ps
845 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
848 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
850 * shell/ev-view.c: (scroll_to_current_page),
851 (ev_view_set_fullscreen), (ev_view_set_presentation):
853 Scroll to current page when exit from presentation
855 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
857 * shell/ev-window.c: (update_document_mode),
858 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
859 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
860 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
862 Exit from fullscreen mode when switch to presentation. Fix for
865 2005-07-02 Matthew S. Wilson <msw@rpath.com>
867 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
868 return NULL if the document does not implement the selection
871 2005-07-02 Matthew S. Wilson <msw@rpath.com>
873 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
874 reported height by using the resolution aspect ratio
875 (tiff_document_render_pixbuf): scale the pixbuf using the
876 resolution aspect ratio
878 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
882 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
883 <kiltedaco@gmail.com>
885 * djvu/djvu-document.c: (djvu_document_get_orientation),
886 (djvu_document_set_orientation), (djvu_document_get_page_size),
887 (rotate_pixbuf), (djvu_document_render_pixbuf),
888 (djvu_document_document_iface_init):
889 * dvi/dvi-document.c: (dvi_document_get_orientation),
890 (dvi_document_set_orientation), (dvi_document_get_page_size),
891 (rotate_pixbuf), (dvi_document_render_pixbuf),
892 (dvi_document_document_iface_init):
894 Dvi and djvu backends are ported to new API
896 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
898 * backend/ev-selection.c: (ev_selection_get_selection_region),
899 (ev_selection_get_selection_map):
900 * backend/ev-selection.h:
902 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
904 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
905 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
906 (ev_pixbuf_cache_get_text_mapping):
907 * shell/ev-pixbuf-cache.h:
908 * shell/ev-view.c: (location_in_text),
909 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
910 support to EvView. Now we can see where we can select! Sweet!
912 2005-06-30 Kristian Høgsberg <krh@redhat.com>
914 * shell/ev-view.c (ev_view_button_press_event): Fix
915 event->y + view->scroll_x typo.
917 2005-06-30 Kristian Høgsberg <krh@redhat.com>
919 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
920 sub-GdkPixbuf instead of passing dest_x and dest_y.
922 * shell/ev-view.c: (view_point_to_doc_point),
923 (view_rect_to_doc_rect), (ev_view_button_press_event),
924 (ev_view_motion_notify_event), (compute_new_selection_rect),
925 (gdk_rectangle_point_in), (compute_new_selection_text),
926 (compute_selections): Update selection code to keep the selection
927 around as two points and not as a normalized rectangle, and fix
928 page level selection in two-column mode.
930 2005-06-30 Alex Duggan <aldug@astrolinux.com>
932 * shell/ev-window.c: (window_configure_event_cb):
936 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
942 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
945 * shell/ev-metadata-manager.c: (item_free),
946 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
947 (parse_value), (parseItem), (load_values),
948 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
949 (save_values), (save_item), (get_oldest), (resize_items),
950 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
951 * shell/ev-metadata-manager.h:
953 Metadata manager from gedit but modified to use GValue, so that
954 we dont need to keep converting from strings.
958 ENABLE_METADATA conditional, on when dbus is on
960 * shell/ev-application.c: (ev_application_open_uri):
962 Show the window after load so that we can initialize
963 window size before it's showed.
965 * shell/ev-window.c: (ev_window_setup_from_metadata),
966 (ev_window_open_uri), (window_configure_event_cb),
969 Save and load metadata information about window size.
970 Not yet keeping states in account.
972 * shell/main.c: (main):
974 Shutdown metadata manager.
976 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
978 * shell/ev-application-service.xml:
981 * shell/ev-application.c:
982 * shell/ev-application.h:
987 Add an optional dbus interface (--enable-dbus).
988 Rework application code, mainly to be easier to
990 Do not open multiple windows with the same document,
993 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
995 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
996 pixbuf iff it exists.
998 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1001 * backend/ev-render-context.[ch]:
1002 * backend/ev-selection.[ch]:
1004 Massive changes. We now support text selection of pdfs, and not
1005 just rectangular selection. This is pretty broken still, but I
1006 want to get something into CVS.
1008 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1010 * pdf/ev-poppler.cc:
1012 Fix for Bug 309080: crash on window close.
1014 * shell/ev-page-action.c: (page_changed_cb):
1016 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1017 jensgr@gmx.net (Jens Granseuer).
1019 2005-06-25 Marcel Telka <marcel@telka.sk>
1021 * configure.in (ALL_LINGUAS): Added sk.
1023 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1025 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1028 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1035 * cut-n-paste/recent-files/Makefile.am:
1039 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1041 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1042 (pixbuf_document_set_orientation), (rotate_pixbuf),
1043 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1044 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1046 Implement rotation and cleanup the code a bit.
1048 * tiff/tiff-document.c: (tiff_document_get_page_size),
1049 (tiff_document_get_orientation), (tiff_document_set_orientation),
1050 (rotate_pixbuf), (tiff_document_render_pixbuf),
1051 (tiff_document_document_iface_init), (tiff_document_init):
1053 Implement rotation. Was the quicker solution for the release
1054 but we really need to share this code in the shell.
1056 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1058 * pdf/ev-poppler.cc:
1060 Enable rotation, require poppler cvs. Fix a leak.
1062 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1064 * shell/ev-window.c: (update_action_sensitivity):
1066 Make properties unsensitive if document backend doesn't provide
1069 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1071 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1072 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1073 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1074 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1075 (bitmap_flip_rotate_counter_clockwise):
1076 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1077 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1079 * dvi/mdvi-lib/common.h:
1080 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1081 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1082 (opendvi), (mdvi_reload), (mdvi_init_context),
1083 (mdvi_destroy_context), (mdvi_dopage), (special):
1084 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1085 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1086 (file_hash_free), (register_encoding), (parse_spec),
1087 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1088 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1089 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1090 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1091 (mdvi_register_font_type), (mdvi_unregister_font_type),
1092 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1093 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1094 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1095 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1096 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1097 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1098 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1099 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1100 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1101 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1102 (mdvi_unregister_special), (mdvi_flush_specials):
1103 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1105 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1106 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1107 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1108 (free_font_metrics), (flush_font_metrics):
1109 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1111 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1112 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1113 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1114 (dstring_insert), (dstring_new), (dstring_reset):
1115 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1117 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1118 avoid conflict with libtool on FC4
1120 * shell/ev-window.c: (ev_window_cmd_help_about):
1122 Update copyright year. Fix for bug 308828.
1124 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1126 * shell/ev-view.c: (add_scroll_binding_keypad),
1127 (ev_view_binding_activated), (ev_view_class_init),
1128 (on_adjustment_value_changed):
1130 Bug 170874: Arrow keys switch pages in presentation mode
1132 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1134 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1136 Fix for Bug 308265: Sidebar dissappears coming out of
1139 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1141 * shell/ev-application.c: (ev_application_open):
1142 * shell/ev-document-types.c: (ev_document_types_add_filters),
1143 (ev_document_types_add_filters_for_type):
1144 * shell/ev-document-types.h:
1145 * shell/ev-window.c: (ev_window_cmd_save_as):
1147 Suggest basename as template when saving, provide filters
1148 for save dialog. It's bug 308402
1150 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1152 * pdf/ev-poppler.cc:
1153 * shell/ev-sidebar-links.c: (job_finished_callback):
1154 * shell/ev-view.c: (update_find_status_message):
1158 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1160 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1161 (egg_recent_view_uimanager_set_list):
1163 Fix buglet in !show_numbers case.
1165 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1167 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1168 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1170 Use pango ellipsisation.
1172 * pdf/ev-poppler.cc:
1174 Fix refcount leak, from nsh.
1176 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1178 * cut-n-paste/recent-files/Makefile.am:
1179 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1180 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1182 Removed EggRecentViewGtk
1184 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1185 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1186 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1187 (ev_window_setup_recent):
1189 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1192 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1194 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1195 (egg_recent_view_gtk_finalize):
1199 * cut-n-paste/toolbar-editor/Makefile.am:
1201 Fix location of cursor icon.
1203 * pdf/ev-poppler.cc:
1204 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1205 (display_completion_text), (match_completion):
1206 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1207 (selection_changed_callback), (create_loading_model),
1208 (print_section_cb), (links_page_num_func),
1209 (update_page_callback_foreach):
1210 * shell/ev-window.c: (ev_window_dispose):
1212 Small memory fixes. Links model now store objects instead
1213 of pointers to improve memory management.
1215 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1217 * shell/ev-window.c: (zoom_control_changed_cb):
1219 Fix update of zoom control (bug 308268).
1221 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1223 * shell/ev-properties.c (set_property): escape the text correctly.
1224 Handles non-UTF-8 properties and escaped properties. Also, sets
1225 the text to "<i>None</i>" if the property isn't set.
1227 * data/evince-properties.glade: Change the label to be ellipsized,
1228 and give it a minimum size.
1230 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1232 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1233 * shell/ev-sidebar-links.c: (create_loading_model):
1234 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1235 * shell/ev-view.c: (ev_view_set_document):
1236 * shell/ev-window.c: (ev_window_dispose):
1238 Various small fixes, mostly memory leaks. Thanks to valgrind.
1240 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1242 * ps/ps-document.c: remove the locale.h include again ;-). And
1243 kill the (bogus) setlocale/savelocale business.
1245 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1249 Include locale.h to fix build
1251 * shell/ev-sidebar.c:
1253 Remove unnecessary includes
1255 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1257 * dvi/dvi-document.c: (dvi_document_load):
1258 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1261 Check for incorrect dvi files. Fix parsing dvi on AMD64
1262 platform. Thanks to tester@tester.ca (Olivier Crete).
1264 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1266 * shell/ev-page-action.c: (match_selected_cb),
1267 (display_completion_text), (match_completion), (update_model):
1268 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1269 (expand_open_links):
1270 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1271 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1272 (ev_sidebar_set_document):
1273 * shell/ev-window.c: (ev_window_xfer_job_cb),
1274 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1276 Fixed lot's of memory leaks, for example, memory leak on reload,
1277 described in bug 307793.
1279 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1281 * pdf/ev-poppler.cc:
1282 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1283 (update_visible_range), (adjustment_changed_cb),
1284 (ev_sidebar_thumbnails_fill_model),
1285 (ev_sidebar_thumbnails_refresh),
1286 (ev_sidebar_tree_selection_changed),
1287 (ev_sidebar_icon_selection_changed),
1288 (ev_sidebar_thumbnails_use_icon_view),
1289 (ev_sidebar_thumbnails_set_document):
1290 * shell/ev-sidebar-thumbnails.h:
1291 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1292 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1294 Refresh thumbnails when changing orientation. Not fully
1295 working yet becuase of a sidebar bug.
1297 Set page orientation to poppler page everywhere. This sucks
1298 really need to fix poppler.
1300 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1302 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1303 (egg_recent_view_gtk_new_menu_item),
1304 (egg_recent_view_gtk_set_property),
1305 (egg_recent_view_gtk_get_property),
1306 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1307 (egg_recent_view_gtk_set_tooltip_func),
1308 (egg_recent_view_gtk_set_label_width),
1309 (egg_recent_view_gtk_get_label_width):
1310 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1312 Sync with libegg (ellipsize labels)
1314 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1316 * data/evince-ui.xml:
1317 * shell/ev-window.c: (ev_window_cmd_go_forward),
1318 (ev_window_cmd_go_backward):
1320 Shift + PageUp moves 10 Pages. Fix for 306125
1322 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1324 * pdf/ev-poppler.cc:
1326 Add a flag to check if orientation has been overriden
1328 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1330 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1333 * ps/ps.h: add creator field to document.
1335 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1338 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1340 * data/evince-properties.glade:
1341 * shell/ev-properties.c: (ev_properties_set_document):
1343 s/PDF Version/Format
1345 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1347 * shell/ev-properties.c: (ev_properties_set_document):
1349 Remove unnecessary translations
1351 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1353 * cut-n-paste/toolbar-editor/Makefile.am:
1355 Correct library name
1357 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1360 * cut-n-paste/recent-files/egg-recent-model.c:
1361 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1362 (egg_recent_model_unlock_file):
1363 * cut-n-paste/recent-files/egg-recent-util.c:
1364 (egg_recent_util_get_unique_id):
1365 * cut-n-paste/recent-files/update-from-egg.sh:
1366 * cut-n-paste/toolbar-editor/Makefile.am:
1367 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1368 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1369 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1370 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1371 (egg_toolbars_model_get_type):
1372 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1374 Better makefile for toolbar editor and update everything
1377 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1379 * shell/ev-window.c: (update_document_mode):
1381 Prefer presentation mode when the document
1384 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1386 * data/evince-ui.xml:
1387 * shell/ev-window.c:
1389 Add control-equal for zooming
1391 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1393 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1395 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1397 * backend/ev-document.c: (ev_document_get_orientation):
1398 * backend/ev-document.h:
1399 * pdf/ev-poppler.cc:
1400 * ps/ps-document.c: (ps_document_get_orientation),
1401 (ps_document_set_orientation), (ps_document_document_iface_init):
1403 Add a get_orientation api. Improve set_orientation.
1405 * data/evince-ui.xml:
1406 * shell/ev-view.c: (ev_view_set_orientation),
1407 (ev_view_rotate_right), (ev_view_rotate_left):
1409 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1410 (ev_window_cmd_edit_rotate_right):
1412 Better ui for changing document orientation
1414 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1416 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1417 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1418 * shell/ev-sidebar-links.h:
1419 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1420 (ev_sidebar_page_iface_init):
1421 * shell/ev-sidebar-page.h:
1422 * shell/ev-sidebar-thumbnails.c:
1423 (ev_sidebar_thumbnails_get_property),
1424 (ev_sidebar_thumbnails_class_init),
1425 (ev_sidebar_thumbnails_set_document):
1426 * shell/ev-sidebar-thumbnails.h:
1427 * shell/ev-view.c: (ev_view_motion_notify_event):
1428 * shell/ev-window.c: (update_chrome_visibility),
1429 (ev_window_cmd_focus_page_selector),
1430 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1431 (sidebar_page_main_widget_update_cb), (ev_window_init):
1433 Autoraise toolbar on GoToPage binding and fix bindings in
1434 EvSidebarThumbnails page.
1436 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1438 * shell/ev-properties.c: (update_progress_label):
1440 Hide the progress label when finished; bug #307697.
1442 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1444 * pdf/ev-poppler.cc:
1446 Enable is_open for links, you will need poppler cvs
1448 * shell/ev-properties.c: (job_fonts_finished_cb):
1450 Get a lock on the document when filling the tree view
1452 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1454 * backend/ev-document-links.h:
1455 * pdf/ev-poppler.cc:
1456 * shell/ev-sidebar-links.c: (create_loading_model),
1457 (expand_open_links), (job_finished_callback):
1459 Expand links when specified by the document.
1460 Depend on a poppler api (defined out for now)
1462 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1464 * shell/ev-properties.c: (ev_properties_dispose),
1465 (ev_properties_class_init), (dialog_destroy_cb),
1466 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1467 (ev_properties_set_document), (ev_properties_new),
1468 (ev_properties_show):
1469 * shell/ev-properties.h:
1471 Make it an object, cleanup the code, api to show it as transient
1472 and to set the document.
1474 * shell/ev-window.c: (ev_window_setup_document),
1475 (ev_window_cmd_file_properties):
1477 Adapt to EvProperties changes, do not show multiple
1478 times, update it when document changes.
1480 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1483 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1484 (ps_document_set_orientation), (ps_document_document_iface_init):
1487 Implement orientation here too
1489 * shell/ev-properties.c: (ev_properties_new):
1490 * data/evince-properties.glade:
1492 Hide the fonts page for backends that doesnt
1495 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1497 * backend/ev-document.c: (ev_document_set_orientation):
1498 * backend/ev-document.h:
1499 * pdf/ev-poppler.cc:
1501 Add orientation api. Currently poppler api is not optimal,
1502 we need to set orientation every time we _get a page.
1503 I will try to fix that at some point.
1505 * data/evince-ui.xml:
1506 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1507 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1509 Add orientation menu items
1511 * shell/ev-page-cache.c: (ev_page_cache_clear):
1512 * shell/ev-page-cache.h:
1514 Add api to clear the cache
1516 * shell/ev-view.c: (setup_caches), (clear_caches),
1517 (ev_view_set_document), (ev_view_zoom_out),
1518 (ev_view_set_orientation):
1521 Implement orientation changing
1523 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1525 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1526 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1527 * backend/ev-document-fonts.h:
1529 Separate scan and fill so that we can incrementally fill from
1530 the main thread. Add a progress api.
1532 * data/evince-properties.glade:
1533 * pdf/ev-poppler.cc:
1534 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1536 * shell/ev-properties.c: (update_progress_label),
1537 (job_fonts_finished_cb), (setup_fonts_view):
1539 Incrementally feel the list and show the progress
1540 percentage in a label like acrobat does.
1542 You are going to need poppler cvs
1544 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1546 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1547 * backend/ev-document-fonts.h:
1548 * pdf/ev-poppler.cc:
1550 Make fonts model fill incrementally.
1552 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1553 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1554 (ev_job_queue_remove_job):
1555 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1556 (ev_job_fonts_new), (ev_job_fonts_run):
1559 New job for fonts scanning
1561 * shell/ev-properties.c: (job_fonts_finished_cb),
1562 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1563 * shell/ev-properties.h:
1564 * shell/ev-window.c: (ev_window_cmd_file_properties):
1566 Incrementally feel the treeview using the new job. Show Loading...
1567 message until scanning is completed.
1569 Hopefully I didnt break the build without the poppler patch.
1571 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1573 * shell/ev-application.c: (ev_application_open):
1574 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1575 (ev_document_type_get_type), (ev_document_type_lookup):
1576 * shell/ev-document-types.h:
1577 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1578 * shell/ev-job-xfer.h:
1579 * shell/ev-window.c: (ev_window_clear_local_uri),
1580 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1581 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1582 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1584 Transfer remote documents to tmp directory to display them later.
1586 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1588 * backend/ev-document-info.h:
1589 * shell/ev-properties.c: (ev_properties_new):
1591 s/GTime*/GTime. Not sure why we was using a pointer
1594 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1596 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1597 situations. That situation is that you're using GTK+-HEAD with
1598 the patch at #306726 is applied, and you have a document with <
1599 1500 pages in it. It's not quite as uniformly nice as the
1600 TreeView, but should be better in the long run.
1602 I'm pretty sure I guarded against breaking compilation with
1603 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1606 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1607 widget yet, so I commented that code out
1608 enable_view_actions_for_widget() for now. Need to figure this
1611 * shell/ev-page-action.c (match_selected_cb): emit the right
1612 signals. Our cool C-l completion now works.
1614 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1616 * backend/Makefile.am:
1617 * backend/ev-document-fonts.c:
1618 * backend/ev-document-links.c:
1619 * backend/ev-document.c: (ev_document_load):
1620 * backend/ev-document.h:
1621 * backend/ev-job-queue.c:
1622 * backend/ev-job-queue.h:
1623 * backend/ev-jobs.c:
1624 * backend/ev-jobs.h:
1625 * backend/ev-page-cache.c:
1626 * backend/ev-page-cache.h:
1628 EvPageCache and EvJobs are moved to shell.
1630 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1632 * lib/ev-file-helpers.h:
1634 New helper to work with temporary files
1636 * shell/Makefile.am:
1637 * shell/ev-application.c: (ev_application_open):
1638 * shell/ev-application.h:
1639 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1640 (remove_job_from_async_queue), (add_job_to_async_queue),
1641 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1642 (handle_job), (search_for_jobs_unlocked),
1643 (no_jobs_available_unlocked), (ev_render_thread),
1644 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1645 (ev_job_queue_add_job), (move_job_async), (move_job),
1646 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1647 * shell/ev-job-queue.h:
1648 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1649 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1650 * shell/ev-job-xfer.h:
1651 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1652 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1653 (ev_job_links_class_init), (ev_job_render_init),
1654 (ev_job_render_dispose), (ev_job_render_class_init),
1655 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1656 (ev_job_thumbnail_class_init), (ev_job_load_init),
1657 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1658 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1659 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1660 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1662 * shell/ev-page-action.c: (ev_page_action_set_document):
1663 * shell/ev-page-cache.c: (ev_page_cache_init),
1664 (ev_page_cache_class_init), (ev_page_cache_finalize),
1665 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1666 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1667 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1668 (ev_page_cache_get_title), (ev_page_cache_get_size),
1669 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1670 (ev_page_cache_get_height_to_page),
1671 (ev_page_cache_get_max_label_chars),
1672 (ev_page_cache_get_page_label),
1673 (ev_page_cache_has_nonnumeric_page_labels),
1674 (ev_page_cache_get_info), (ev_page_cache_next_page),
1675 (ev_page_cache_prev_page), (ev_page_cache_get):
1676 * shell/ev-page-cache.h:
1677 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1678 (ev_pixbuf_cache_clear_job_sizes),
1679 (ev_pixbuf_cache_add_jobs_if_needed),
1680 (ev_pixbuf_cache_set_page_range):
1681 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1682 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1683 * shell/ev-sidebar-thumbnails.c:
1684 (ev_sidebar_tree_selection_changed),
1685 (ev_sidebar_thumbnails_set_document):
1686 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1687 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1688 (ev_statusbar_get_context_id), (ev_statusbar_push),
1689 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1690 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1691 (ev_statusbar_set_progress):
1692 * shell/ev-statusbar.h:
1693 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1694 (ev_view_find_previous):
1695 * shell/ev-window.c: (ev_window_is_empty),
1696 (ev_window_setup_document), (password_dialog_response),
1697 (ev_window_clear_jobs), (ev_window_load_job_cb),
1698 (ev_window_xfer_job_cb), (ev_window_open_uri),
1699 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1700 (ev_window_print), (ev_window_print_range),
1701 (ev_window_state_event), (ev_window_cmd_view_reload),
1702 (menu_item_select_cb), (menu_item_deselect_cb),
1703 (view_status_changed_cb), (ev_window_dispose),
1704 (drag_data_received_cb), (ev_window_init):
1705 * shell/ev-window.h:
1706 * shell/main.c: (load_files):
1708 New statusbar to show progress on idle. Two new jobs -
1709 xfer job and load job to load document in background. And update
1710 of page_cache clients to new location of code.
1712 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1714 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1715 selection in open dialog. It also remembers the last visited directory
1716 in the current session.
1718 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1720 * shell/ev-properties.c: (ev_properties_new):
1721 * shell/ev-properties.h:
1722 * shell/ev-window.c: (ev_window_cmd_file_properties):
1724 Get document info from page cache instead of document itself.
1725 This should fix crash related to race conditions described in
1728 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1730 * ps/ps-document.c: (ps_document_init),
1731 (send_ps), (get_page_box), (output), (catchPipe), (input),
1732 (stop_interpreter), (file_length), (file_readable),
1733 (check_filecompressedb), (ps_document_enable_interpreter),
1734 (document_load), (ps_async_renderer_render_pixbuf):
1737 Big cleanup of the ps code
1739 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1741 * backend/Makefile.am:
1742 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1743 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1744 * backend/ev-async-renderer.h:
1746 Add an async renderer interface (method + callback) which
1747 is useful for backends like ps.
1749 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1750 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1751 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1752 (ev_job_queue_add_job), (move_job_async), (move_job),
1753 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1755 Add queues for async renderer, these are executed on the
1758 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1759 (ev_job_render_run):
1760 * backend/ev-jobs.h:
1762 If the backend support async renderer interface use it.
1764 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1765 (setup_pixmap), (ps_document_get_type),
1766 (ps_async_renderer_render_pixbuf),
1767 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1769 Implement async renderer interface.
1771 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1773 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1775 Cleanup links job on exit.
1777 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1779 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1780 (drag_data_get_cb), (drag_data_received_cb):
1781 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1782 (drag_data_get_cb), (parse_item_list),
1783 (egg_toolbar_editor_load_actions):
1784 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1785 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1786 (parse_item_list), (parse_toolbars):
1787 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1788 (dvi_pixbuf_put_pixel):
1790 Fix gcc 4.0 warnings
1792 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1794 * ps/ps-document.c: (start_interpreter):
1796 Fix warning when loading ps
1798 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1800 * ps/ps-document.c: (output):
1802 Fix crash when priting gs error messages.
1804 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1806 * backend/ev-page-cache.c: (_ev_page_cache_new):
1807 * backend/ev-page-cache.h:
1809 Use a const to return title so that we dont double
1810 free it. Small cleanup and fix a leak.
1812 * shell/ev-window.c: (update_window_title):
1814 strdup value from get_title.
1816 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1818 * shell/ev-sidebar-links.c: (job_finished_callback),
1819 (ev_sidebar_links_set_document):
1821 Cleanup the old job when changing document
1823 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1825 * shell/ev-stock-icons.c:
1826 * shell/ev-stock-icons.h:
1827 * shell/ev-window.c:
1829 Add stock icons for actions that can appear in toolbar. Fix for
1832 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1834 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1835 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1836 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1837 * backend/ev-page-cache.h:
1838 * shell/ev-view.c: (scroll_to_current_page),
1839 (view_update_range_and_current_page), (get_page_y_offset),
1840 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1841 (ev_view_size_request_continuous),
1842 (ev_view_zoom_for_size_continuous_and_dual_page),
1843 (ev_view_zoom_for_size_continuous):
1845 More compact EvView layout in document with pages of different size.
1847 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1849 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1852 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1854 * shell/ev-view.c: (view_set_adjustment_values):
1855 * shell/ev-window.c: (ev_window_cmd_file_properties):
1857 A bit different fix for rounding problem but it has no
1858 problems on startup. Make properties window transient to parent.
1860 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1862 * pdf/ev-poppler.cc:
1864 More commenting of font stuff.
1866 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1868 * pdf/ev-poppler.cc:
1870 Comment out some more fonts stuff. Should really
1871 work without the poppler patch now.
1873 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1875 * pdf/ev-poppler.cc:
1879 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1881 * data/evince-properties.glade:
1882 * pdf/ev-poppler.cc:
1883 * shell/ev-properties.c: (setup_fonts_view):
1885 Set the column title. Show the dialog only
1886 once everything is setup.
1887 Getting font info can be very slow... will
1888 prolly need to make this threaded too.
1890 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1892 * backend/Makefile.am:
1893 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1894 (ev_document_fonts_get_fonts_model):
1895 * backend/ev-document-fonts.h:
1896 * data/evince-properties.glade:
1897 * pdf/ev-poppler.cc:
1898 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1899 * shell/ev-properties.h:
1900 * shell/ev-window.c: (ev_window_cmd_file_properties):
1902 Implement fonts list. Defined out for now, since it depends
1903 on a not yet committed poppler patch.
1905 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1907 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1910 * shell/ev-window.c: Make sure we add the timeout when we get a
1913 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1914 adjustment->value before calculating the zoom factor to average
1915 out all of our rounding errors. The page no longer 'drifts' when
1918 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1920 * data/evince-properties.glade:
1921 * shell/ev-properties.c: (ev_properties_format_date),
1924 Labels don't expand when the dialogue is resized.
1925 strftime result needs to be converted to UTF-8. Thanks
1926 to Christian Persch <chpe@gnome.org>.
1928 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1930 * data/evince-properties.glade:
1934 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1936 * backend/ev-document-info.h:
1937 * backend/ev-document.c: (ev_document_info_free):
1938 * data/evince-properties.glade:
1939 * pdf/ev-poppler.cc:
1940 * ps/ps-document.c: (ps_document_get_info):
1941 * shell/ev-properties.c: (ev_properties_format_date),
1942 (set_property), (ev_properties_new):
1943 * shell/ev-properties.h:
1944 * shell/ev-window.c: (ev_window_cmd_file_properties):
1946 Rework properties code to take only EvPropertyInfo
1947 in the constructor so that it can be useful for
1948 nautilus plugin too.
1950 Deal with backends that doesnt support some properties.
1951 Make set property code generic.
1953 2005-06-04 Christian Persch <chpe@gnome.org>
1955 * data/evince-properties.glade:
1957 fix spacings, make resizeable, and make data labels
1958 selectable + ellipsised
1960 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1962 * backend/ev-document-info.h:
1964 * data/evince-ui.xml:
1965 * pdf/ev-poppler.cc:
1966 * shell/Makefile.am:
1967 * shell/ev-window.c: (update_action_sensitivity),
1968 (ev_window_cmd_file_properties):
1970 Initial go at file properties. Patch by
1971 Emil Soleyman-Zomalan <emil@soleyman.com>.
1972 Needs love see #169583
1974 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1976 * ps/ps-document.c: (output):
1977 * ps/ps.c: (psscan):
1979 Try to render even if psscan fails.
1981 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1983 * ps/ps.c: (psscan), (pscopydoc):
1985 Port buffered reading code from gv
1987 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1989 * ps/ps-document.c: (interpreter_message), (output):
1991 Do not fail on interpreter messages
1993 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1995 * backend/ev-document-misc.c:
1996 (ev_document_misc_get_thumbnail_frame):
1998 Pages can be 0 x 0, dont assert on this case
2000 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2002 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2003 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2005 Correctly manage our reference on document. Finally the reload
2006 huge leak is gone...
2008 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2010 * ps/ps-document.c: (ps_document_dispose):
2012 Forgot to chain it to the parent. Thanks chpe.
2014 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2016 * ps/ps-document.c: (ps_document_dispose),
2017 (ps_document_class_init), (stop_interpreter), (document_load):
2019 Cleanup dispose a bit. Dont leak the whole pixmap.
2021 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2023 * pdf/ev-poppler.cc:
2025 Release the poppler document on dispose
2027 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2029 * shell/ev-view.c: (ev_view_set_document):
2031 Release ref on the pixbuf cache when changing
2034 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2036 * ps/ps-document.c: (ps_document_get_info):
2040 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2042 * backend/ev-page-cache.c: (ev_page_cache_init),
2043 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2044 * backend/ev-page-cache.h:
2045 * shell/ev-page-action.c: (page_changed_cb):
2047 Set page action entry width depending on labels width. Fix
2050 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2052 * backend/ev-link.c: (ev_link_class_init):
2054 Allow -1 as page value (error)
2056 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2058 * shell/ev-sidebar-thumbnails.c:
2059 (ev_sidebar_thumbnails_set_document):
2060 * shell/ev-view.c: (scroll_to_current_page),
2061 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2062 (page_changed_cb), (on_adjustment_value_changed),
2063 (ev_view_set_document):
2065 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2068 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2071 * djvu/djvu-document.c: (djvu_document_get_page_size):
2073 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2076 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2078 * shell/ev-view.c (draw_one_page): modify the expose handling to
2081 * shell/ev-window.c (update_action_sensitivity): Respect
2082 permissions field. Kowtow to the man.
2084 * pdf/ev-poppler.cc: Get the permissions field.
2086 * tiff/*c: Make a tiny bit more robust.
2088 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2090 * djvu/djvu-document.c:
2092 Pop messages from djvu context message queue.
2094 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2096 * configure.ac, Makefile.am, shell/Makefile.am:
2097 * tiff/Makefile.am, shell/ev-document-types.c:
2099 Cleanup tiff configure checks. Fix for bug 305218.
2101 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2103 * configure.ac: Added "uk" to ALL_LINGUAS.
2105 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2107 * cut-n-paste/zoom-control/ephy-zoom.c:
2108 (ephy_zoom_get_changed_zoom_level):
2109 * cut-n-paste/zoom-control/ephy-zoom.h:
2110 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2111 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2112 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2113 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2114 (zoom_control_changed_cb), (ev_window_init):
2116 Fix minor points related to moving best fit up. Introduce
2117 "zoom" property and make zoom control change it's value on
2118 notify::zoom signals. Fix for 305080.
2120 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2122 * data/evince-ui.xml:
2123 * shell/ev-window.c: (set_view_actions_sensitivity):
2125 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2127 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2131 Depends on poppler 0.3.2
2133 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2135 * cut-n-paste/recent-files/egg-recent-item.c:
2136 (egg_recent_item_get_short_name):
2137 * cut-n-paste/toolbar-editor/Makefile.am:
2138 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2139 (new_pixbuf_from_widget):
2140 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2141 * cut-n-paste/toolbar-editor/egg-marshal.c:
2142 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2143 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2147 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2149 * tiff/tiff-document.c: Rough TIFF backend.
2151 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2155 * cut-n-paste/toolbar-editor/Makefile.am:
2159 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2161 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2162 (ev_view_find_next), (ev_view_find_previous):
2164 Remove the locks around get_n_results
2166 2005-05-21 Juerg Billeter <j@bitron.ch>
2168 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2170 Pass correct number of pages to poppler.
2172 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2176 * data/evince.desktop.in:
2177 * data/evince.desktop.in.in:
2180 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2182 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2184 * shell/ev-view.c: (view_update_adjustments),
2185 (view_set_adjustment_values): cast adjustmen->value to (int)
2186 before using it. Otherwise, we get off by a pixel in some
2189 (draw_one_page): Draw the border on expose.
2191 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2193 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2194 adjustment when the mode changes, #304923
2196 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2198 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2199 flickering on resize but still use gdk_window_scroll on
2202 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2204 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2207 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2209 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2210 second page on page_changed if possible, #304669
2212 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2214 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2215 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2217 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2220 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2221 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2222 (ev_view_zoom_for_size_presentation),
2223 (ev_view_zoom_for_size_continuous_and_dual_page),
2224 (ev_view_zoom_for_size_continuous),
2225 (ev_view_zoom_for_size_dual_page),
2226 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2228 * shell/ev-window.c: (update_view_size),
2229 (ev_window_sizing_mode_changed_cb):
2231 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2232 the scrollbars. It's not 100% right, but it's much closer. Kills
2233 an infinite loop, #304769
2236 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2238 * data/evince-ui.xml:
2239 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2240 * shell/ev-window.c: (set_view_actions_sensitivity):
2242 Make PgUp/Down behave like Space
2244 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2246 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2247 * backend/ev-ps-exporter.h:
2248 * pdf/ev-poppler.cc:
2249 * ps/ps-document.c: (ps_document_ps_export_begin):
2250 * shell/ev-print-job.c: (idle_print_handler):
2252 Adapt to new poppler api
2254 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2256 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2257 (ephy_zoom_control_init):
2259 Translate zoom levels
2261 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2263 * cut-n-paste/zoom-control/ephy-zoom.c:
2264 (ephy_zoom_get_zoom_level_index):
2266 Fix current zoom -> zoom control match
2268 2005-05-18 James Bowes <bowes@cs.dal.ca>
2270 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2271 rather than the scrolled_window that it's in. Fixes bug #304655.
2273 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2275 * shell/ev-view.c: (view_update_adjustments),
2276 (view_set_adjustment_values), (view_update_range_and_current_page),
2277 (view_scroll_to_page), (set_scroll_adjustment),
2278 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2279 (ev_view_scroll), (ev_view_scroll_view),
2280 (ensure_rectangle_is_visible), (find_page_at_location),
2281 (get_link_at_location), (go_to_link), (status_message_from_link),
2282 (ev_view_size_request_continuous_dual_page),
2283 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2284 (ev_view_unrealize), (ev_view_expose_event),
2285 (ev_view_button_press_event), (ev_view_motion_notify_event),
2286 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2287 (draw_rubberband), (highlight_find_results), (draw_one_page),
2288 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2289 (ev_view_init), (find_changed_cb), (page_changed_cb),
2290 (on_adjustment_value_changed), (ev_view_new),
2291 (ev_view_set_document), (ev_view_set_zoom),
2292 (ev_view_set_continuous), (ev_view_set_dual_page),
2293 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2294 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2295 (ev_view_zoom_for_size_presentation),
2296 (ev_view_zoom_for_size_continuous_dual_page),
2297 (ev_view_zoom_for_size_continuous),
2298 (ev_view_zoom_for_size_dual_page),
2299 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2300 (ev_view_get_status), (ev_view_set_status),
2301 (update_find_status_message), (ev_view_get_find_status),
2302 (ev_view_set_find_status), (jump_to_find_result),
2303 (jump_to_find_page), (compute_selections), (clear_selection),
2304 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2305 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2306 (ev_view_update_primary_selection),
2307 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2309 * shell/ev-window.c: (ev_window_open_page_label),
2310 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2312 * shell/ev-window.h:
2313 * shell/main.c: (load_files):
2315 Massive code clean up from Nickolay Shmyrev. Keep page offset
2316 when resizing. Remove the bin_window(). Also, patch from James
2317 Bowes to fix command line page, #300641
2319 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2321 * data/evince-ui.xml:
2324 * shell/ev-window.c: (update_action_sensitivity):
2326 Get rid of View->Normal Size, it's just confusing
2328 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2330 * backend/ev-document-info.h:
2331 * backend/ev-document.c: (ev_document_info_free): Free the
2334 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2335 (clear_range), (add_range), (update_visible_range),
2336 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2337 (ev_sidebar_thumbnails_set_document):
2338 * shell/ev-window.c: (ev_window_setup_document): Only render the
2339 visible thumbnails. It takes an instant to render, but it uses
2342 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2344 * shell/ev-sidebar-links.c: (popup_menu_cb):
2348 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2351 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2352 (button_press_cb), (ev_sidebar_links_construct):
2354 Show the popup menu also on keybindings
2356 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2358 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2359 * shell/ev-window.h:
2361 Expose api to print a range (with dialog). Make private _print use
2364 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2365 (ev_sidebar_links_construct):
2367 Show a print context menu on linkx, it prints the selected
2370 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2372 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2375 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2381 * shell/ev-window.c: (build_comments_string),
2382 (ev_window_cmd_help_about):
2384 Show poppler version/backend and authors
2386 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2388 * cut-n-paste/zoom-control/ephy-zoom.c:
2389 (ephy_zoom_get_zoom_level_index):
2390 * cut-n-paste/zoom-control/ephy-zoom.h:
2392 Move the best fit items at the top of the list
2394 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2396 * shell/ev-marshal.list:
2397 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2398 (activate_cb), (match_selected_cb), (activate_link_cb),
2399 (connect_proxy), (ev_page_action_class_init):
2400 * shell/ev-page-action.h:
2402 Use signals to notify action activation. Hopefully
2403 I did not break completion since I cant test...
2405 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2406 (register_custom_actions):
2408 Connect to page selector actions and also grab focus on
2409 the view when activated.
2411 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2413 * pdf/ev-poppler.cc:
2414 * backend/ev-page-cache.c: make page size calculation consistent
2415 and set it to (int)( width * scale + 0.5). This makes the weird
2416 line going through the middle of the page go away.
2418 * shell/ev-view.c: move painting the background page after
2419 checking the expose area covers us.
2421 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2423 * data/evince-password.glade:
2425 Mark labels as not translatable. Fix for bug 302842.
2427 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2429 * configure.ac: Added "es" to ALL_LINGUAS.
2431 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2433 * data/evince-toolbar.xml:
2434 * shell/ev-window.c: (update_action_sensitivity),
2435 (ev_window_setup_document), (ev_window_set_page_mode),
2438 Remove some leftover code from jrb first continous
2439 attempt. Use the new actions, we still need good icons
2442 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2444 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2446 Update label when connecting proxy. Fix a warning with NULL
2449 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2451 * data/evince-ui.xml:
2452 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2453 * shell/ev-page-action.h:
2454 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2456 Add mnemonic for edit toolbar.
2457 ctrl+l focus the page entry.
2459 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2462 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2464 * shell/main.c: (main):
2466 Put the toolbar xml in evince own dot dir
2468 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2470 * shell/ev-window.c: (ev_window_init):
2472 Make the toolbar not removable
2474 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2476 * data/evince-ui.xml:
2477 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2478 * shell/ev-sidebar-links.h:
2479 * shell/ev-sidebar-thumbnails.c:
2480 (ev_sidebar_thumbnails_get_treeview):
2481 * shell/ev-sidebar-thumbnails.h:
2482 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2483 (ev_view_class_init):
2485 * shell/ev-window.c: (update_action_sensitivity),
2486 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2487 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2488 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2491 This is evil... Make space/backspace global accelerators but
2492 enable them only for some widgets (sidebars and view).
2493 I dont like it, but I dont know a better way... :/
2495 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2497 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2498 (ev_page_action_widget_finalize),
2499 (ev_page_action_widget_class_init), (update_page_cache):
2501 Keep a weak reference on proxy->page_cache so that we
2502 dont try to disconnect the signal if the object is already
2503 gone. Maybe there is a better way to cleanup reference handling
2504 in page action though...
2506 2005-05-10 Juerg Billeter <j@bitron.ch>
2508 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2509 * backend/ev-ps-exporter.h:
2510 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2511 * ps/ps-document.c: (ps_document_ps_export_begin):
2513 Change api to pass print range to ps_exporter_begin. The pdf backend
2514 requires this information.
2516 * shell/ev-print-job.c: (idle_print_handler):
2520 2005-05-10 Juerg Billeter <j@bitron.ch>
2522 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2523 (idle_print_handler)
2524 * shell/ev-window.c: (ev_window_print):
2526 Support printing page range, based on patch by Amaury Jacquot
2528 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2530 * data/evince-toolbar.xml:
2532 Add zoom control to available items
2534 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2536 * shell/ev-window.c: (update_action_sensitivity):
2538 Set slash action insensitive when appropriate
2540 2005-05-10 Christian Persch <chpe@gnome.org>
2542 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2544 Fix warning on the overflow menu
2546 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2548 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2550 Check for uri correctness/existence
2552 2005-05-09 Juerg Billeter <j@bitron.ch>
2554 * shell/ev-window.c: (using_postscript_printer):
2556 LPD printers use postscript, too
2558 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2560 * shell/ev-window.c: (register_custom_actions):
2562 The zoom one is actually sort of useful,
2565 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2567 * shell/ev-window.c: (register_custom_actions):
2569 Hide page/zoom controls from overflow, they
2572 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2574 * cut-n-paste/update-from-egg.sh:
2576 Share it between all cut-n-paste subdirs
2578 * cut-n-paste/recent-files/Makefile.am:
2580 Fix to use "global" update-from-egg.sh
2582 * cut-n-paste/recent-files/egg-recent-model.c:
2583 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2584 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2585 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2586 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2590 * cut-n-paste/toolbar-editor/Makefile.am:
2592 Fix to use "global" update-from-egg.sh
2594 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2598 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2601 * cut-n-paste/Makefile.am:
2602 * cut-n-paste/recent-files/Makefile.am:
2603 * cut-n-paste/toolbar-editor/.cvsignore:
2604 * cut-n-paste/toolbar-editor/Makefile.am:
2605 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2606 (egg_editable_toolbar_get_type), (get_toolbar_position),
2607 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2608 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2609 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2610 (set_item_drag_source), (create_item_from_action), (create_item),
2611 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2612 (popup_toolbar_context_menu_cb), (free_dragged_item),
2613 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2614 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2615 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2616 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2617 (item_added_cb), (item_removed_cb),
2618 (egg_editable_toolbar_construct),
2619 (egg_editable_toolbar_disconnect_model),
2620 (egg_editable_toolbar_deconstruct),
2621 (egg_editable_toolbar_set_model),
2622 (egg_editable_toolbar_set_ui_manager),
2623 (egg_editable_toolbar_set_property),
2624 (egg_editable_toolbar_get_property),
2625 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2626 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2627 (egg_editable_toolbar_new_with_model),
2628 (egg_editable_toolbar_get_edit_mode),
2629 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2630 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2631 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2632 (new_pixbuf_from_widget), (new_separator_pixbuf),
2633 (update_separator_image), (style_set_cb),
2634 (_egg_editable_toolbar_new_separator_image),
2635 (egg_editable_toolbar_get_model):
2636 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2637 * cut-n-paste/toolbar-editor/egg-marshal.c:
2638 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2639 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2640 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2641 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2642 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2643 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2644 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2645 (editor_drag_data_delete_cb), (drag_data_get_cb),
2646 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2647 (editor_create_item), (update_editor_sheet), (setup_editor),
2648 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2649 (parse_item_list), (model_has_action), (update_actions_list),
2650 (egg_toolbar_editor_load_actions):
2651 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2652 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2653 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2654 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2655 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2656 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2657 (egg_toolbars_model_add_separator), (impl_add_item),
2658 (parse_item_list), (egg_toolbars_model_add_toolbar),
2659 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2660 (impl_get_item_data), (impl_get_item_type),
2661 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2662 (egg_toolbars_model_init), (free_toolbar),
2663 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2664 (egg_toolbars_model_remove_toolbar),
2665 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2666 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2667 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2668 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2669 (egg_toolbars_model_get_item_data),
2670 (egg_toolbars_model_get_item_type):
2671 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2672 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2674 * data/evince-toolbar.xml:
2675 * data/evince-ui.xml:
2676 * data/hand-open.png:
2678 * shell/Makefile.am:
2679 * shell/ev-window.c: (update_chrome_visibility),
2680 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2681 (ev_window_dispose), (ev_window_init):
2683 Implement epiphany like toolbar editor. Based on patch by
2684 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2686 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2688 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2690 Use set_cursor instead of set_selection, so that
2691 the keyboard focus moves too.
2693 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2695 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2697 Fix infinite loop when loading Type1 fonts
2699 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2701 * data/evince-ui.xml:
2702 * shell/ev-window.c:
2706 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2710 Make --disable really disable
2712 2005-05-07 Juerg Billeter <j@bitron.ch>
2714 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2716 Compare page labels even without has_labels set, fixes setting page
2719 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2721 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2722 (ev_view_set_cursor), (ev_view_button_press_event),
2723 (ev_view_motion_notify_event), (ev_view_button_release_event),
2726 Implement middle button scrolling. Based on a patch
2727 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2729 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2731 * shell/ev-document-types.c: (get_slow_mime_type),
2732 (get_document_type_from_mime), (ev_document_type_lookup):
2733 * shell/ev-document-types.h:
2735 Change api to lookup from uri. Do fast lookup first, if the
2736 type is unknown try with data sniffing.
2738 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2739 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2743 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2745 * thumbnailer/Makefile.am:
2749 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2756 * data/evince-ui.xml:
2758 Hide presentation mode for now
2760 * shell/ev-view.c: (highlight_find_results):
2762 Show current find selection only on current page
2764 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2766 * shell/ev-view.c: (ev_view_select_all):
2768 Compute size of the actual page, not of
2771 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2773 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2774 (view_rect_to_doc_rect), (compute_selections),
2775 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2776 (ev_view_copy), (ev_view_primary_get_cb),
2777 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2778 (ev_view_button_press_event), (ev_view_motion_notify_event),
2779 (ev_view_button_release_event), (page_changed_cb):
2783 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2785 * shell/ev-view.c: (compute_border), (get_page_extents),
2786 (doc_rect_to_view_rect), (highlight_find_results),
2787 (ev_view_bin_expose), (ev_view_select_all),
2788 (ev_view_motion_notify_event), (update_find_status_message),
2789 (jump_to_find_result), (jump_to_find_page):
2791 First go at fixing search, still buggy
2793 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2795 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2796 dropdown box and button at the top of the sidebar.
2798 2005-05-02 James Bowes <bowes@cs.dal.ca>
2800 * configure.ac: Output zoom-control Makefile.
2801 * cut-n-paste/Makefile.am: build zoom-control subdir.
2802 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2803 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2804 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2805 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2806 * cut-n-paste/zoom-control/ephy-zoom.c:
2807 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2808 from epiphany, and modified to add a separator into the menu.
2809 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2810 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2811 zoom-control action.
2812 * shell/Makefile.am: Include zoom-control flags.
2813 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2814 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2815 (ev_view_zoom_for_size_presentation),
2816 (ev_view_zoom_for_size_continuous_and_dual_page),
2817 (ev_view_zoom_for_size_continuous),
2818 (ev_view_zoom_for_size_dual_page),
2819 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2820 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2821 ev_view_get_zoom and ev_view_get_sizing_mode.
2823 * shell/ev-window.c: (update_action_sensitivity),
2824 (update_sizing_buttons), (zoom_control_changed_cb),
2825 (register_custom_actions): Initialize and use the zoom-control
2828 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2830 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2831 preview cache back to 1. Don't know when it got set to 0.
2833 * shell/ev-view.c: (compute_border), (ev_view_realize),
2834 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2835 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2836 (ev_view_get_fullscreen), (ev_view_set_presentation),
2837 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2838 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2840 * shell/ev-window.c:
2841 (update_chrome_visibility),
2842 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2843 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2844 (update_document_mode), (ev_window_update_fullscreen_action),
2845 (ev_window_fullscreen), (ev_window_unfullscreen),
2846 (ev_window_cmd_view_fullscreen),
2847 (ev_window_update_presentation_action),
2848 (ev_window_run_presentation), (ev_window_stop_presentation),
2849 (ev_window_cmd_view_presentation), (ev_window_state_event),
2850 (ev_window_focus_in_event), (ev_window_focus_out_event),
2851 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2852 * data/evince-ui.xml: Initial presentation mode. We should
2853 probably hide this until it's done, as it's quite rough. Also,
2854 change full-screen to fullscreen and add two getters to EvView.
2856 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2858 * shell/ev-page-action.c: (update_page_cache),
2859 (ev_page_action_dispose):
2860 * shell/ev-window.c: (destroy_fullscreen_popup),
2861 (ev_window_create_fullscreen_popup):
2863 Use connect_object rather than explicitly
2864 disconnect on dispose.
2866 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2868 * shell/ev-page-action.c: (update_page_cache),
2869 (ev_page_action_dispose):
2871 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2873 * backend/ev-page-cache.c: (_ev_page_cache_new),
2874 (ev_page_cache_set_page_label),
2875 (ev_page_cache_has_nonnumeric_page_labels):
2876 * backend/ev-page-cache.h:
2877 * shell/ev-page-action.c: (update_pages_label):
2879 If all page labels are numeric, fallback to default
2880 way to display number of pages. See bug 173185.
2882 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2884 * shell/ev-page-action.c: (ev_page_action_dispose):
2885 * shell/ev-view.c: (view_update_range_and_current_page):
2886 * shell/ev-window.c: (ev_window_dispose):
2888 Set page on scroll in continuous mode. Fixes bug 301986.
2889 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2891 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2895 Require poppler 0.3.0
2897 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2899 * shell/Makefile.am, configure.ac: Fix build problems
2900 with t1lib. Bug 301996.
2902 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2904 * shell/ev-view.c: (ev_view_scroll_event):
2906 Scroll up increase zoom
2908 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2910 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2911 (ev_view_set_sizing_mode),
2912 (ev_view_zoom_for_size_continuous_and_dual_page),
2913 (ev_view_zoom_for_size_continuous):
2914 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2915 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2916 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2919 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2920 Fix for 165473 and 165472.
2922 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2925 * thumbnailer/Makefile.am:
2926 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2927 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2928 * thumbnailer/evince-thumbnailer.schemas.in:
2930 Make thumbnailer schemas translatable. Fix for bug 301773
2932 * thumbnailer/evince-thumbnailer-djvu.schemas:
2933 * thumbnailer/evince-thumbnailer-dvi.schemas:
2934 * thumbnailer/evince-thumbnailer.schemas:
2938 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2940 * shell/ev-view.c (ev_view_init): forgot to set this.
2942 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2944 * shell/ev-view.c: (find_page_at_location),
2945 (get_link_at_location),
2946 (ev_view_set_show_border), (ev_view_set_spacing),
2947 (ev_view_zoom_for_size_continuous_and_dual_page),
2948 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2949 Also, add a quick fix measuring of widths. Also, removed
2950 ev_view_set_spacing and ev_view_set_show_border.
2952 * shell/ev-window.c: (ev_window_unfullscreen),
2953 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2955 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2957 * shell/ev-view.c: (view_update_range_and_current_page),
2960 Fix crash on exit and scrolling to page in continuous view.
2962 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2965 * backend/ev-page-cache.c: (_ev_page_cache_new),
2966 (ev_page_cache_get_max_width_size),
2967 (ev_page_cache_get_max_height_size):
2968 * backend/ev-page-cache.h:
2969 * data/evince-ui.xml:
2970 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2971 * shell/ev-view.c: (view_update_adjustments),
2972 (view_update_range_and_current_page), (get_bounding_box_size),
2973 (ev_view_size_request_continuous_and_dual_page),
2974 (ev_view_size_request_continuous),
2975 (ev_view_size_request_dual_page),
2976 (ev_view_size_request_single_page), (ev_view_size_request),
2977 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2978 (ev_view_bin_expose), (ev_view_expose_event),
2979 (ev_view_set_property), (ev_view_get_property),
2980 (ev_view_class_init), (ev_view_init), (ev_view_new),
2981 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2982 (ev_view_set_dual_page), (ev_view_set_full_screen),
2983 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2984 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2985 (ev_view_zoom_out), (zoom_for_size_fit_width),
2986 (zoom_for_size_best_fit),
2987 (ev_view_zoom_for_size_continuous_and_dual_page),
2988 (ev_view_zoom_for_size_continuous),
2989 (ev_view_zoom_for_size_dual_page),
2990 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2991 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2993 * shell/ev-window.c: (update_action_sensitivity),
2994 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2995 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2996 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2997 (ev_window_cmd_view_zoom_out), (update_view_size),
2998 (ev_window_set_sizing_mode), (ev_window_init):
3000 Add Continuous and Dual page modes.
3002 2005-04-23 James Bowes <bowes@cs.dal.ca>
3004 * dvi/dvi-document.c: (dvi_document_load),
3005 (dvi_document_thumbnails_get_thumbnail),
3006 (dvi_document_init_params): Fix up some mixups between
3007 width and height to correct thumbnail rendering.
3009 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3011 * dvi/mdvi-lib/private.h:
3012 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3014 Suppess output for kpathsea during font generation. Thanks to
3017 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3024 * Makefile.am: fix distcheck.
3026 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3028 * shell/ev-sidebar-links.c: (selection_changed_callback),
3029 (update_page_callback), (row_activated_callback),
3030 (job_finished_callback), (ev_sidebar_links_set_document):
3032 Fix for bug #169901. Double click on links expands tree.
3034 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3036 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3037 hard-coded style. Fix for bug 170111
3039 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3041 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3044 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3046 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3048 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3050 * pdf/ev-poppler.cc:
3051 * shell/ev-view.c: (highlight_find_results):
3053 Fix find on single page documents
3055 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3057 * data/evince.schemas.in: fix for bug 301390
3059 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3061 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3062 (ev_view_zoom_out), (ev_view_zoom_normal):
3064 * shell/ev-window.c: (update_action_sensitivity),
3065 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3066 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3067 (ev_window_cmd_view_normal_size):
3069 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3070 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3073 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3077 Depend on 2.57, 2.59 doesnt seem to be necessary
3079 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3081 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3084 Put back total number of pages as (1 of 1234)
3086 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3088 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3091 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3092 function. This helps debugging.
3094 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3096 * djvu/djvu-document.c: (djvu_document_class_init),
3097 (djvu_document_get_info), (djvu_document_document_iface_init):
3098 * dvi/dvi-document.c: (dvi_document_class_init),
3099 (dvi_document_get_info), (dvi_document_document_iface_init):
3101 Dummy implementation of get_info method for dvi and djvu. Fix
3102 crashes with those backends
3104 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3106 * data/evince.desktop.in:
3108 Add application/x-gzpostscript
3110 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3112 * data/evince.schemas.in: Added real long descriptions,
3115 * README: Added actual text, closes bug 171869
3117 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3119 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3123 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3125 * backend/ev-document-info.h:
3127 s/GDate */GDate so we can just use g_free
3129 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3131 * shell/ev-window.c: (update_document_mode),
3132 (ev_window_setup_document):
3134 Show the window in fullscreen when specified by
3137 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3139 * backend/ev-document.c: (ev_document_class_init),
3140 (ev_document_get_info), (ev_document_render_pixbuf):
3141 * backend/ev-document.h:
3142 * backend/ev-page-cache.c: (_ev_page_cache_new):
3143 * pdf/ev-poppler.cc:
3144 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3145 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3146 * ps/ps-document.c: (ps_document_class_init), (document_load),
3147 (ps_document_get_info), (ps_document_document_iface_init):
3149 Remove get_title from the interface, we can just use document info
3151 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3153 * backend/Makefile.am:
3154 * backend/ev-document.c: (ev_document_render_get_info):
3155 * backend/ev-document.h:
3156 * pdf/ev-poppler.cc:
3158 Initial support for document info. Based on jrb patch.
3160 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3162 * shell/ev-window.c: (ev_window_state_event),
3163 (ev_window_class_init), (ev_window_init):
3165 Doesn't show resize grip when maximized. See bug #301053
3167 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3171 ev-sidebar-thumbnails now has translatable labels
3173 * shell/Makefile.am:
3174 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3175 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3176 (ev_sidebar_links_page_iface_init):
3177 * shell/ev-sidebar-links.h:
3178 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3179 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3180 (ev_sidebar_page_get_label):
3181 * shell/ev-sidebar-page.h:
3182 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3183 (ev_sidebar_thumbnails_set_document),
3184 (ev_sidebar_thumbnails_support_document),
3185 (ev_sidebar_thumbnails_get_label),
3186 (ev_sidebar_thumbnails_page_iface_init):
3187 * shell/ev-sidebar-thumbnails.h:
3188 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3189 (ev_sidebar_set_document):
3190 * shell/ev-sidebar.h:
3191 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3193 Small rework of sidebar code. Now sidebar pages should implement
3194 EvSidebarPage interface. That makes page management in EvSidebar
3195 easier. See bug #164811 for details
3197 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3199 * shell/ev-application.c: (ev_application_open):
3200 * shell/ev-document-types.c:
3202 Fix build error and small problem with application exit
3204 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3206 * thumbnailer/Makefile.am:
3207 * thumbnailer/evince-thumbnailer-djvu.schemas:
3208 * thumbnailer/evince-thumbnailer-dvi.schemas:
3210 Conditionally install schemas for djvu/dvi thumbnailer
3212 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3214 * shell/ev-document-types.h:
3215 * shell/ev-document-types.c:
3216 New files, handling the mapping from mimetypes to backends
3218 * shell/ev-window.c:
3219 * thumbnailer/evince-thumbnailer.c:
3220 Use the ev-document-types code
3222 * shell/Makefile.am:
3223 Added new convenience library libevbackendfactory_la, containing
3224 the new mimetype->backend logic; moved the backends into it.
3226 * thumbnailer/Makefile.am:
3227 Make the thumbnailer link with the libevbackend.la convenience
3228 library, rather than having a duplicate of the backend logic here.
3230 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3232 * shell/ev-stock-icons.c: constify some vars.
3233 * shell/ev-window.c: ditto.
3235 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3237 * ps/ps-document.c (get_page_orientation):
3239 Respect document orientation
3241 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3245 * shell/Makefile.am:
3247 Move library dependencies to components.
3249 * shell/ev-window.c: (update_window_title),
3250 (start_loading_document):
3252 Fix display of uris with spaces. Bug 168358.
3254 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3256 * shell/ev-sidebar-links.c: (selection_changed_cb):
3257 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3258 (ev_view_button_release_event), (ev_view_set_document):
3260 * shell/ev-window.c: (find_bar_search_changed_cb):
3261 * shell/ev-window.h: Minor cleanups removing some dead code.
3263 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3265 * backend/ev-page-cache.c: (_ev_page_cache_new):
3267 Set current page to 0 if document has pages.
3269 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3271 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3273 Initialize GError to NULL, fix a crash when loading fails.
3275 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3277 * shell/ev-window.c: (update_view_size):
3279 Calculate shadow size only when there is actually
3282 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3284 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3287 Allow setting view spacing, default to 0
3289 * shell/ev-window.c: (ev_window_unfullscreen),
3290 (ev_window_cmd_view_fullscreen), (ev_window_init):
3292 Remove spacing in fullscreen mode
3294 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3296 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3297 (ev_view_size_request), (expose_bin_window),
3298 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3300 * shell/ev-window.c: (ev_window_unfullscreen),
3301 (ev_window_cmd_view_fullscreen):
3303 Do not draw the border in fulscreen
3305 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3307 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3308 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3309 (find_page_at_location), (page_changed_cb):
3311 Rework border calculation, so that I can more easily disable it.
3312 Code somewhat cleaner too.
3314 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3316 * backend/ev-page-cache.c: (ev_page_cache_init),
3317 (_ev_page_cache_new):
3319 Remove some assertions, documents can have 0 pages.
3320 Make initial current page -1.
3322 * shell/ev-page-action.c: (page_changed_cb):
3324 Show "" if current page is -1
3326 * shell/ev-window.c: (update_action_sensitivity),
3327 (ev_window_setup_document):
3329 When document has 0 pages do not set the view
3330 and make nearly everything insensitive.
3332 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3334 * shell/ev-page-view.c:
3335 * shell/ev-page-view.h:
3337 Remove unused files.
3339 * shell/ev-sidebar-thumbnails.c:
3340 (ev_sidebar_thumbnails_set_document):
3341 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3342 (ev_sidebar_supports_document):
3343 * shell/ev-sidebar.h:
3344 * shell/ev-window.c: (ev_window_setup_document):
3346 Doesn't show thumbnails if document has 1 page. Make
3347 sidebar menu entries sensitive only if if they have
3348 sense. Fix bug 164811.
3350 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3352 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3353 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3354 (ev_view_zoom_out), (ev_view_set_size):
3356 Rework sizing to deal with documents with not uniform page
3359 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3361 * backend/ev-page-cache.c: (_ev_page_cache_new):
3363 Fix several page size caching bugs
3365 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3367 * shell/ev-window.c: (set_action_properties):
3369 Make all toolbar items translatable
3371 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3373 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3374 (save_page_list), (ps_document_save),
3375 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3376 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3377 (ps_document_ps_exporter_iface_init):
3380 Based on a patch by J�rg Billeter <j@bitron.ch>
3382 Implement print and save a copy for the ps backend.
3384 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3386 * backend/ev-document.h:
3387 * djvu/djvu-document.c: (djvu_document_can_get_text),
3388 (djvu_document_document_iface_init):
3389 * dvi/dvi-document.c: (dvi_document_can_get_text),
3390 (dvi_document_document_iface_init):
3391 * pdf/ev-poppler.cc:
3392 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3393 (pixbuf_document_document_iface_init):
3394 * ps/ps-document.c: (ps_document_can_get_text),
3395 (ps_document_document_iface_init):
3396 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3397 * shell/ev-window.c: (update_action_sensitivity):
3399 Fix the crash when trying to copy in backends that doesnt
3400 support it. We can implement a better solution once we
3401 do real text selection.
3403 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3405 * data/evince-ui.xml:
3406 * shell/ev-window.c: (ev_window_cmd_escape):
3408 Work around the Escape conflict (find bar and unfullscreen)
3410 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3412 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3414 Fix for #300233. Next page correctly handles document end.
3416 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3417 (ev_sidebar_thumbnails_class_init),
3418 (ev_sidebar_thumbnails_set_document),
3419 (ev_sidebar_thumbnails_clear_job),
3420 (ev_sidebar_thumbnails_clear_model):
3422 Cleanup thumbnail jobs on document changes.
3424 * shell/ev-view.c: (add_scroll_binding_keypad),
3425 (add_scroll_binding_shifted), (ev_view_class_init):
3427 Shift + Space scrolls up. Fix for #173184
3429 * shell/ev-window.c: (ev_window_open_page),
3430 (ev_window_cmd_view_reload):
3432 Fix reload (Bug #300094)
3434 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3437 * dvi/mdvi-lib/assoc.c:
3438 * dvi/mdvi-lib/assoc.h: Removed garbage files
3440 * dvi/mdvi-lib/bitmap.c:
3441 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3442 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3443 * dvi/mdvi-lib/color.h: Antialias of rules
3445 * dvi/mdvi-lib/common.h:
3446 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3447 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3448 * dvi/mdvi-lib/files.c:
3449 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3450 * dvi/mdvi-lib/mdvi.h:
3451 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3452 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3453 * dvi/mdvi-lib/util.c: Fix compile warnings
3455 * dvi/dvi-document.c:
3456 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3457 (dvi_document_thumbnails_get_thumbnail),
3458 (dvi_document_document_thumbnails_iface_init):
3459 * dvi/mdvi-lib/Makefile.am:
3460 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3461 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3463 Dvi backend now renders thumbnails
3465 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3467 * shell/main.c: (main):
3469 Save accelerators on exit. Fixes bug #172095.
3471 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3473 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3474 update priority" comment.
3476 * backend/ev-job-queue.c: Give a way to change priority.
3478 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3480 * shell/ev-page-action.c: Fix logic.
3482 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3484 * shell/ev-view.c: (ev_view_can_find_next):
3485 * shell/ev-window.c: (ev_window_setup_document):
3487 Check that the document supports find
3489 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3491 * data/evince-ui.xml:
3492 * shell/ev-view.c: (ev_view_can_find_next):
3494 * shell/ev-window.c: (update_action_sensitivity),
3495 (find_changed_cb), (ev_window_setup_document),
3496 (ev_window_cmd_edit_find_next):
3500 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3502 * pdf/ev-poppler.cc:
3503 * shell/ev-print-job.c: (idle_print_handler):
3505 Make printing work again
3507 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3509 * shell/ev-page-action.h:
3510 * shell/ev-page-action.c: (ev_page_action_widget_init),
3511 (ev_page_action_widget_class_init), (page_changed_cb),
3512 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3513 (get_filter_model_from_model), (match_selected_cb),
3514 (display_completion_text), (match_completion), (update_model),
3515 (connect_proxy), (ev_page_action_set_property),
3516 (ev_page_action_get_property), (ev_page_action_set_document),
3517 (ev_page_action_set_model), (ev_page_action_class_init): Big
3518 reworking to make completions work iff we have >= GTK-2.7.0
3520 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3521 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3522 (job_finished_cb): We now have a 'model' property that is set when
3523 the links are loaded. This can be caught with "notify::model"
3525 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3526 listen for the model to be set, and propagate it to the action.
3528 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3530 * cut-n-paste/recent-files/egg-recent-item.c:
3531 (egg_recent_item_set_uri), (make_valid_utf8),
3532 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3533 * cut-n-paste/recent-files/egg-recent-item.h:
3535 Update egg-recent from libegg. This should fix long
3536 startup problem. For details see
3537 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3539 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3541 * cut-n-paste/recent-files/Makefile.am:
3542 * data/evince-ui.xml, shell/Makefile.am:
3543 * shell/ev-application.c, shell/ev-application.h:
3544 * shell/ev-window.c: Recent files support.
3546 * configure.ac: Added "ru" to ALL_LINGUAS.
3548 * dvju: new backend to support DJVU files.
3549 * dvi: new backend to support DVI.
3551 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3552 * ev-application.c: Support for new backends.
3554 * help, ev-window.c, main.c shell/Makefile.am:
3555 Evince user documentation.
3557 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3560 * shell/ev-window.c:
3561 * thumbnailer/evince-thumbnailer.c:
3563 s/pdf-document/ev-poppler
3565 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3572 * ps/ps-document.c: (setup_pixmap):
3576 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3578 * backend/ev-page-cache.c (ev_page_cache_next_page):
3579 * shell/ev-window.c (ev_window_cmd_go_next_page)
3580 (ev_window_cmd_go_first_page): Fix of by one errors.
3582 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3584 * ps/ps-document.c: (get_page_box):
3586 Fix page size calculation
3588 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3590 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3591 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3592 (get_page_orientation), (setup_page), (document_load),
3593 (ps_document_get_page_size), (render_pixbuf_idle):
3596 More refactoring to adapt to EvDocument changes
3598 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3600 * ps/ps-document.c: (start_interpreter):
3602 Actually add alpha args
3604 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3606 * pdf/ev-poppler.cc:
3608 Make clipboard work again
3610 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3612 Make searching work again.
3614 * backend/ev-document.c:
3615 * backend/ev-document.h:
3616 * backend/ev-document-find.c:
3617 * backend/ev-document-find.h: Change EvDocumentIface so we no
3618 longer store the current page or zoom level in the document. The
3619 consequence is that all calls that operate on the current page now
3620 instead take the page number as an extra argument, and all
3621 coordinates are now doubles in document coordinate system.
3623 * pdf/ev-poppler.cc:
3624 * pixbuf/pixbuf-document.c:
3625 * ps/ps-document.c: Update backends accordingly.
3627 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3631 Add required gettext version
3633 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3635 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3636 make F1 bring up non-existent help.
3638 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3639 epiphany's find bar, #167477
3641 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3642 <emil@nishra.com> to add space-bar scrolling,
3644 * shell/ev-window.c (static GtkActionEntry entries): add default
3645 keybinding for Help (F1)
3648 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3649 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3652 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3655 * pixbuf/pixbuf-document.c:
3657 Got pixbuf backend working again
3659 2005-04-01 Steve Murphy <murf@e-tools.com>
3661 * configure.in: Added "rw" to ALL_LINGUAS.
3663 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3665 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3666 model types, noticed by Martin Kretzschmar.
3668 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3670 * pdf/ev-poppler.cc: Implement search based on
3671 poppler_page_find_text(). Currently a bit crude since we remember
3672 all matches from all pages. Also, we grab the big document lock
3673 when we search since searching changes the underlying stream and
3674 thus conflicts with the rendering thread.
3676 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3677 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3678 (ev_view_find_previous): Fix some page indexes to be 0 based,
3679 offset rubber band by view offset,
3681 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3683 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3685 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3687 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3688 completely because I didn't understand GtkActions. I should
3689 read Marco's code more carefully in the future.
3691 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3694 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3696 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3697 PopplerRectangle change from poppler CVS.
3699 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3701 * backend/ev-document.c: (ev_document_get_page_label):
3702 * backend/ev-document.h:
3703 * backend/ev-page-cache.c: (_ev_page_cache_new),
3704 (ev_page_cache_get_page_label):
3705 * backend/ev-page-cache.h:
3706 * pdf/ev-poppler.cc:
3707 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3708 (links_page_num_func):
3709 * shell/ev-sidebar-thumbnails.c:
3710 (ev_sidebar_thumbnails_set_document):
3711 * shell/ev-view.c: (status_message_from_link),
3712 (ev_view_motion_notify_event):
3713 * shell/ev-window.c: (document_supports_sidebar): Add in page
3714 label support. It's not perfect yet, but it's the first 'feature'
3716 Also, fix a bogus comment noticed by crispin.
3718 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3720 * Makefile.am: Remove pixbuf backend for now
3722 * configure.ac: Require poppler-glib instead of just poppler.
3724 * backend/ev-document-thumbnails.h: Add a comment
3726 * backend/ev-document.h:
3727 * backend/ev-document.c: (ev_document_class_init),
3728 (ev_document_load), (ev_document_get_link),
3729 (ev_document_get_links): Remove 3 methods and add get_links.
3732 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3733 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3735 * backend/ev-link.c: (ev_link_set_title),
3736 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3737 (ev_link_mapping_find):
3738 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3740 * backend/ev-page-cache.c: (ev_page_cache_init),
3741 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3742 (ev_page_cache_get_size), (ev_page_cache_next_page),
3743 (ev_page_cache_prev_page): Fix to be 0 based.
3747 * pdf/ev-poppler.cc: New backend.
3749 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3750 (ps_document_get_page), (ps_document_document_iface_init):
3752 * shell/ev-pixbuf-cache.h:
3753 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3754 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3755 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3756 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3757 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3758 Fix up code to grab a page cache per each doc. Also, fix to be 0
3761 * shell/ev-sidebar-thumbnails.c:
3762 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3763 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3765 * shell/ev-view.c: (status_message_from_link),
3766 (find_page_at_location), (get_link_at_location),
3767 (ev_view_motion_notify_event), (ev_view_button_release_event),
3768 (ev_view_init): Use the new link code. Fix to be 0 based.
3770 * shell/ev-window.c: (update_action_sensitivity),
3771 (document_supports_sidebar): 0 based.
3773 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3775 * pdf/pdf-document.cc: Patch from Fernando Herrera
3776 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3779 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3781 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3782 1 to the page, as this seems to be 1 based. I thought we has this
3785 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3788 * backend/Makefile.am:
3789 * backend/ev-document-links.c:
3790 (ev_document_links_has_document_links),
3791 (ev_document_links_get_links_model):
3792 * backend/ev-document-links.h:
3793 * backend/ev-document.c: (ev_document_get_page_cache),
3794 (ev_document_get_doc_mutex), (ev_document_load),
3795 (ev_document_save), (ev_document_get_title),
3796 (ev_document_get_n_pages), (ev_document_set_page),
3797 (ev_document_get_page), (ev_document_set_target),
3798 (ev_document_set_scale), (ev_document_set_page_offset),
3799 (ev_document_get_page_size), (ev_document_get_text),
3800 (ev_document_get_link), (ev_document_render),
3801 (ev_document_render_pixbuf), (ev_document_scale_changed):
3802 * backend/ev-document.h:
3803 * backend/ev-job-queue.c: (remove_object_from_queue),
3804 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3805 (no_jobs_available_unlocked), (ev_render_thread),
3806 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3807 (ev_job_queue_remove_job):
3808 * backend/ev-job-queue.h:
3809 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3810 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3811 (ev_job_links_class_init), (ev_job_render_init),
3812 (ev_job_render_dispose), (ev_job_render_class_init),
3813 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3814 (ev_job_thumbnail_class_init), (ev_job_finished),
3815 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3816 (ev_job_render_run), (ev_job_thumbnail_new),
3817 (ev_job_thumbnail_run):
3818 * backend/ev-jobs.h:
3819 * backend/ev-link.c:
3820 * backend/ev-link.h:
3821 * backend/ev-page-cache.c: (ev_page_cache_init),
3822 (ev_page_cache_class_init), (ev_page_cache_finalize),
3823 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3824 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3825 (ev_page_cache_set_link), (ev_page_cache_get_title),
3826 (ev_page_cache_get_size), (ev_page_cache_next_page),
3827 (ev_page_cache_prev_page):
3828 * backend/ev-page-cache.h:
3829 * pdf/pdf-document.cc:
3832 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3833 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3834 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3835 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3836 (is_interpreter_ready), (output), (catchPipe), (input),
3837 (start_interpreter), (check_filecompressed), (compute_dimensions),
3838 (ps_document_enable_interpreter), (document_load),
3839 (ps_document_next_page), (render_page), (ps_document_set_page),
3840 (ps_document_set_scale), (render_pixbuf_idle),
3841 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3843 * shell/Makefile.am:
3844 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3845 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3846 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3847 (ev_pixbuf_cache_new), (job_finished_cb),
3848 (check_job_size_and_unref), (move_one_job),
3849 (ev_pixbuf_cache_update_range), (find_job_cache),
3850 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3851 (ev_pixbuf_cache_add_jobs_if_needed),
3852 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3853 * shell/ev-pixbuf-cache.h:
3854 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3855 (idle_print_handler):
3856 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3857 (selection_changed_cb), (create_loading_model),
3858 (ev_sidebar_links_construct), (links_page_num_func),
3859 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3860 (update_page_callback), (job_finished_cb),
3861 (ev_sidebar_links_set_document):
3862 * shell/ev-sidebar-thumbnails.c:
3863 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3864 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3865 (page_changed_cb), (thumbnail_job_completed_callback),
3866 (ev_sidebar_thumbnails_set_document):
3867 * shell/ev-sidebar-thumbnails.h:
3868 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3869 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3870 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3871 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3872 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3873 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3874 (ev_view_button_release_event), (ev_view_scroll_view),
3875 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3876 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3877 (ev_view_new), (job_finished_cb), (page_changed_cb),
3878 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3879 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3880 (ev_view_find_previous):
3882 * shell/ev-window.c: (update_action_sensitivity),
3883 (ev_window_open_page), (update_window_title), (update_total_pages),
3884 (page_changed_cb), (ev_window_setup_document),
3885 (password_dialog_response), (ev_window_cmd_save_as),
3886 (ev_window_print), (ev_window_cmd_go_previous_page),
3887 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3888 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3889 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3890 * shell/main.c: (main):
3892 Merge evince-threads branch
3894 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3896 * configure.ac: Added "lt" to ALL_LINGUAS.
3898 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3905 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3907 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3909 Fix here also the thumbnails 1-basedness :)
3911 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3918 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3920 * pdf/pdf-document.cc:
3921 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3922 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3924 Fix the mess we did with thumbnails and 1-basedness
3926 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3928 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3930 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3937 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3940 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3941 (gtk_gs_defaults_get_alpha_parameters),
3942 (gtk_gs_defaults_get_ungzip_cmd),
3943 (gtk_gs_defaults_get_unbzip2_cmd):
3945 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3946 (ps_document_get_orientation), (document_load),
3947 (ps_document_goto_page), (ps_document_set_page_size):
3950 Some more sanitization of the ps backend. Remove a lot
3951 of unused code and do not base our defaults on ggv
3954 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3956 * thumbnailer/evince-thumbnailer.schemas:
3957 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3958 (main): add -s option for thumbnail size.
3960 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3964 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3967 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3969 * pdf/pdf-document.cc:
3971 Remove 4 pixels of useless border from the
3974 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3976 * backend/ev-document-thumbnails.c:
3977 (ev_document_thumbnails_get_thumbnail):
3978 * backend/ev-document-thumbnails.h:
3980 Rework API a bit. Add a border flag and
3981 change sizing logic (now the size we specify
3982 applies to the bigger dimension).
3984 * pdf/pdf-document.cc:
3985 * pixbuf/pixbuf-document.c:
3986 (pixbuf_document_thumbnails_get_thumbnail):
3987 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3988 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3990 Adapt to the new API and do not draw a border for nautilus
3993 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3995 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3996 take thumbnails from page "0" instead of "1". Added a copyright header.
3998 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4000 * ps/ps-document.c: (set_up_page), (start_interpreter):
4002 Make it C89 compliant
4004 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4009 * pdf/pdf-document.cc:
4010 * thumbnailer/Makefile.am:
4011 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4013 * thumbnailer/evince-thumbnailer.schemas:
4014 * thumbnailer/pdf-icon.png:
4016 Add a nautilus thumbnailer.
4017 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4019 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4027 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4029 Use poppler instead of including xpdf source code. Poppler is a
4030 fork of xpdf to build it as a shared library. See
4031 http://freedesktop.org/wiki/Software/poppler.
4033 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4036 * pdf/Makefile.am: Build libpdfdocument.a here.
4038 * pdf/GDKSplashOutputDev.cc:
4039 * pdf/GDKSplashOutputDev.h:
4040 * pdf/GnomeVFSStream.cc:
4041 * pdf/GnomeVFSStream.h:
4044 * test-gdk-output-dev.cc
4046 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4049 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4051 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4053 Clear idle stack before unsetting the document
4055 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4057 * ps/ps-document.c: (ps_document_widget_event),
4058 (ps_document_set_target), (ps_document_finalize),
4059 (ps_document_get_page):
4061 Disconnect the widget event signal on finalize.
4064 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4066 * ps/ps-document.c: (set_up_page):
4068 If there is no bpixmap create one, even if size
4071 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4073 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4074 (set_up_page), (document_load), (ps_document_set_zoom):
4076 Default page is 0. Calculate size even when we have no
4079 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4081 * shell/ev-sidebar.c: expand the selection widget to be always as
4084 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4086 * shell/ev-sidebar-thumbnails.c:
4087 (ev_sidebar_thumbnails_set_document):
4089 Clear the list store when setting document
4091 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4093 * shell/ev-page-action.c: (update_entry), (sync_entry),
4094 (activate_cb), (entry_size_request_cb), (create_tool_item),
4097 Use an entry for the page control instead of spinbuttons
4099 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4101 * data/evince.schemas.in:
4103 Correct confusing string
4105 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4107 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4108 for real. Gosh, how long has this been broken.
4110 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4111 check for a NULL link. We crash otherwise.
4113 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4120 2005-02-25 Sebastien Bacher <seb128@debian.org>
4122 * configure.ac: add the french translation.
4124 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4126 * shell/ev-window.c:
4128 Remove unused header -> fix distcheck
4130 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4132 * shell/ev-window.c: (update_window_title),
4133 (ev_window_popup_password_dialog):
4135 Unescape filename for display
4137 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4139 * pdf/xpdf/pdf-document.cc:
4141 In get_page_size deal with rotation. Also
4142 cleanup the function a bit.
4144 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4146 * pdf/xpdf/pdf-document.cc:
4148 Fix crash when opening in new window
4150 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4154 Check ghostscript >= 7
4156 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4158 * shell/ev-window.c:
4160 Make page width the default sizing mode
4162 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4163 Marco Pesenti Gritti <marco@gnome.org>
4165 * shell/ev-window.c: Remember the sidebar size
4167 * data/evince.schemas.in: Add a new gconf key to store the size of
4170 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4172 * data/evince-ui.xml:
4173 * shell/ev-window.c: (update_action_sensitivity),
4174 (ev_window_cmd_view_reload):
4176 Add a "Reload" action and menu entry
4178 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4180 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4181 iff the type doesn't support thumbnailing and indexing.
4183 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4185 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4187 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4189 * pdf/splash/Splash.cc:
4191 Port fix for a crasher from kde bug
4192 http://bugs.kde.org/show_bug.cgi?id=97131
4194 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4196 * pdf/xpdf/pdf-document.cc:
4198 Return a link even if it's of an unrecognized
4199 type. Otherwise we go in an infinte cycle.
4201 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4203 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4204 (size_allocate_cb), (ev_window_set_sizing_mode):
4206 Update size when switching mode
4208 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4210 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4211 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4212 (ev_window_cmd_view_normal_size):
4214 Fix size toggle buttons behavior
4216 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4218 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4219 (doc_rect_to_view_rect), (ev_view_size_allocate),
4220 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4221 (scale_changed_callback):
4223 Do not cache offsets in size_allocate.
4225 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4227 * shell/ev-view.c: (ev_view_size_allocate):
4229 Calculate offsets before calling the parent
4230 class (which does a redraw)
4232 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4234 * pdf/xpdf/pdf-document.cc:
4236 Fix a crasher on exit. Unused code, put a TODO
4238 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4240 * backend/ev-document.c: (ev_document_class_init),
4241 (ev_document_page_changed), (ev_document_scale_changed):
4242 * backend/ev-document.h:
4244 Separate page/scale notifications
4246 * pdf/xpdf/pdf-document.cc:
4248 Emit the new signals.
4249 Do not display the pdf page in _render, do it
4250 when scale/page are requested.
4252 * ps/ps-document.c: (ps_document_set_zoom),
4253 (ps_document_widget_event):
4256 Emit the new signals.
4258 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4259 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4260 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4261 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4263 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4264 (ev_window_cmd_view_page_width), (size_allocate_cb),
4265 (ev_window_set_sizing_mode):
4267 Rework sizing to be pixel based.
4268 There are bugs but should be already way better.
4270 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4272 * shell/ev-window.c: (ev_window_init):
4274 Do not allow to shrink sidebar smaller then
4277 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4279 * shell/ev-sidebar.[ch]
4280 * shell/ev-window.c:
4282 Improved sidebar widget. Fixes #166683
4284 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4286 * shell/ev-view.c (update_find_status_message): Give translators
4287 more flexibility with ngettext plural handling.
4289 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4291 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4292 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4293 page when we get the page size.
4295 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4297 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4299 ps pages are 0 based, convert
4301 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4303 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4305 Initialize correct parent class. Set GError on document load
4307 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4309 * pdf/xpdf/pdf-document.cc:
4311 Fixup selection offset calculation
4313 * shell/ev-view.c: (view_rect_to_doc_rect),
4314 (doc_rect_to_view_rect), (ev_view_size_allocate),
4315 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4316 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4318 Store selection as document relative, so that zooming
4319 and offset changing doesnt break it.
4321 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4323 * shell/ev-view.c: (ev_view_best_fit):
4325 Do not try to best fit if the view is not realized
4327 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4329 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4331 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4333 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4335 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4337 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4338 the popup window. That prevents it resizing when in full screen
4341 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4342 multiple rerenders. This pretty much sucks.
4344 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4345 rest of the toolbar.
4347 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4349 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4351 2005-02-17 Alexander Shopov <ash@contact.bg>
4353 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4355 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4357 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4359 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4361 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4362 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4363 (set_document_page), (document_changed_callback),
4364 (ev_view_set_document), (ev_view_find_previous),
4365 (ev_view_hide_cursor), (ev_view_show_cursor):
4367 * shell/ev-window.c: (update_chrome_visibility),
4368 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4369 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4370 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4371 (ev_window_unfullscreen):
4372 * shell/main.c: (main):
4374 Automatically hide the fullscreen button.
4375 Patch by Kristian Høgsberg <krh@redhat.com>
4377 2005-02-16 Vincent Noel <vnoel@cox.net>
4379 * shell/main.c (main): Specify an icon for the window. Patch by
4380 Jaap A. Haitsma. Fixes #166177.
4382 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4384 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4386 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4388 * backend/ev-document-misc.h:
4389 * backend/ev-document-misc.c:
4390 (ev_document_misc_get_page_border_size),
4391 (ev_document_misc_paint_one_page): New function to canonicalize
4392 sizing/painting a border.
4394 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4397 * pdf/xpdf/pdf-document.cc: use new function
4399 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4400 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4401 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4402 shell/ev-window.c: (update_sizing_buttons),
4403 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4404 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4405 (ev_window_cmd_view_page_width), (size_allocate_cb),
4406 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4407 and "fit width" values act as toggle buttons so they stay
4408 toggled. It's not 100% perfect, and it's a little slow, but it's
4409 good enough to commit I think.
4411 2005-02-15 David Lodge <dave@cirt.net>
4413 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4415 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4417 * shell/ev-window.c (update_window_title): replace newlines in
4418 the title by spaces. Bug #166107.
4420 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4422 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4423 parameters providing allocation width and height without
4424 scrollbars and width of a possible vertical scrollbar. With this
4425 additional information the functions can work as
4426 intended. Unfortunately they're not idempotent. We should
4427 transform these commands to toggles. Fixes Bug #164976
4428 Initial patch by Stephane Loeuillet, then heavily modified.
4430 * shell/ev-view.h: update prototypes.
4432 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4433 (ev_window_cmd_view_page_width): provide EvView fit functions with
4434 all the information they need. Formulas to calculate this
4435 information taken from GtkScrolledWindow.
4437 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4439 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4440 created a thumbnail, the list store is updated to know
4441 that the thumbnail is set. Fixes bug #166792
4443 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4445 * shell/ev-window.c: fixed typo, closes bug 166897
4447 * TODO: updated TODO with bug numbers that are relevant
4449 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4451 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4453 2005-02-09 Vincent Noel <vnoel@cox.net>
4455 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4456 and "Next" toolbar buttons as important to make them stand out.
4458 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4462 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4463 (start_interpreter), (stop_interpreter), (document_load),
4464 (ps_document_next_page), (ps_document_goto_page),
4465 (ps_document_set_page_size), (ps_document_widget_event),
4466 (ps_document_render):
4467 * shell/ev-page-view.c: (ev_page_view_dispose):
4468 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4470 Fix compilation on non-gcc platforms
4472 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4479 * pdf/xpdf/Catalog.cc:
4482 Fix the fix for CAN-2004-0888
4484 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4487 * data/evince-ui.xml:
4488 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4489 * shell/ev-stock-icons.h:
4490 * shell/ev-window.c: (update_action_sensitivity),
4491 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4492 (set_action_properties):
4494 Improve toolbar layout/icons
4496 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4498 * pdf/xpdf/pdf-document.cc:
4500 Add warnings about unimplemented/unknown link
4503 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4505 * ps/ps-document.c: (set_up_page):
4509 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4511 * ps/ps-document.c: (start_interpreter):
4515 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4517 * shell/ev-page-view.c: (ev_page_view_dispose):
4518 * shell/ev-view.c: (ev_view_finalize):
4519 * shell/ev-window.c: (ev_window_setup_document),
4520 (ev_window_dispose), (ev_window_init):
4522 Solve more refs issues.
4524 I commented out the page_view initialization for now:
4525 it was never destroyed (because it's never added
4526 to a container). Because of that we was leaking
4527 gs processes. Couldnt think to a clean fix.
4528 We need to figure this out, password view has the
4529 same issue probably.
4531 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4533 * ps/ps-document.c: (ps_document_finalize),
4534 (ps_document_get_n_pages), (ps_document_get_page):
4536 Some cleanups, stop the interpreter on finalize
4538 * shell/ev-page-view.c: (ev_page_view_dispose),
4539 (ev_page_view_class_init):
4541 Release our reference on the document
4543 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4547 * doc/debugging.txt:
4550 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4551 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4552 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4555 Add debugging helpers
4558 * ps/ps-document.c: (set_up_page), (start_interpreter),
4559 (stop_interpreter), (document_load), (ps_document_next_page),
4560 (ps_document_goto_page), (ps_document_set_page_size),
4561 (ps_document_widget_event), (ps_document_render):
4562 * shell/Makefile.am:
4563 * shell/ev-view.c: (expose_bin_window):
4564 * shell/main.c: (main):
4568 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4570 * ps/ps-document.c: (ps_document_widget_event):
4572 Initialize message_window, this should make ps
4573 rendering really work! (Never noticed because I was
4574 testing with a ps that is causing gs to exit every time!)
4576 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4578 * data/evince.schemas.in: updated simple error in applyto closing tag
4580 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4586 * data/evince-ui.xml:
4587 A data/evince.schemas.in:
4589 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4590 * shell/ev-stock-icons.h:
4591 * shell/ev-window.c: (update_chrome_visibility),
4592 (update_chrome_flag), (ev_window_cmd_edit_find),
4593 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4594 (ev_window_unfullscreen), (ev_window_focus_in_event),
4595 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4596 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4597 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4598 (ev_window_dispose), (ev_window_class_init),
4599 (set_action_properties), (set_chrome_actions), (load_chrome),
4602 Implement fullscreen mode changes from bug #164776.
4603 Also implement persistent chrome toggles.
4605 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4607 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4609 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4615 Add another check for find interface
4619 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4621 * shell/ev-application.c: (ev_application_open):
4622 * shell/ev-window.c: (ev_window_open):
4624 Open gzipped ps documents
4626 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4629 * shell/ev-view.c: (set_document_page):
4631 Clamp page number, dont try to move to
4634 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4636 * backend/ev-document-find.c: (ev_document_find_changed):
4637 * backend/ev-document-find.h:
4638 * pdf/xpdf/pdf-document.cc:
4639 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4640 * shell/ev-window.c: (find_bar_search_changed_cb):
4642 Fix several bugs with find
4644 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4646 * shell/ev-sidebar-thumbnails.c
4647 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4648 document. Prevents warning from scroll_to_cell.
4650 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4652 * configure.ac: Add «nb» to ALL_LINGUAS too.
4654 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4656 * NOTES: New file with some random thoughts.
4660 * backend/ev-document-misc.c:
4661 (ev_document_misc_get_page_border_size): New function to
4662 canonicalize shadow drawing sizes. Possibly goofy.
4664 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4665 (ev_view_best_fit), (ev_view_fit_width):
4666 * pdf/xpdf/pdf-document.cc:
4667 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4668 * ps/ps-document.c: (ps_document_get_page_size):
4669 * backend/ev-document-misc.h:
4670 * backend/ev-document.c: (ev_document_get_page_size):
4671 * backend/ev-document.h: get_page_size now takes a page number
4672 parameter. Made all the backends/frontends honor it.
4674 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4675 see. Doesn't work yet.
4677 * shell/Makefile.am:
4678 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4679 Doesn't do anything yet.
4681 * shell/ev-sidebar-thumbnails.c:
4682 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4685 * shell/ev-window.c: (update_action_sensitivity),
4686 (ev_window_setup_document), (ev_window_set_page_mode),
4687 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4688 view-swapping code a bit so we can have multiple views on a
4689 document. Add the multi-page view, though it can't be turned on
4692 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4694 * shell/ev-application.c: (ev_application_open):
4695 * shell/ev-view.c: (expose_bin_window):
4696 * shell/ev-window.c: (ev_window_open):
4698 Support eps and check document supports find
4699 before drawing highlightings in expose.
4701 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4703 * pixbuf/pixbuf-document.c:
4704 (pixbuf_document_thumbnails_get_dimensions),
4705 (pixbuf_document_document_thumbnails_iface_init):
4707 implement get_dimensions
4709 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4716 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4718 * shell/ev-view.c: (set_document_page):
4720 Scroll at the top of the page when changing page
4722 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4724 * shell/ev-view.c: (ev_view_motion_notify_event):
4726 Do not redraw unnecessarily
4728 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4730 * pdf/xpdf/pdf-document.cc:
4731 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4732 (expose_bin_window), (find_changed_cb):
4734 Yay! find works now... Now to find bugs...
4736 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4738 * backend/ev-document-find.c: (ev_document_find_base_init),
4739 (ev_document_find_changed):
4740 * backend/ev-document-find.h:
4741 * pdf/xpdf/pdf-document.cc:
4742 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4743 (expose_bin_window), (ev_view_init), (set_document_page),
4744 (ensure_rectangle_is_visible), (jump_to_find_result),
4745 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4746 (ev_view_find_next), (ev_view_find_previous):
4748 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4750 More work on find implementation, mostly there now
4752 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4754 * backend/ev-backend-marshalers.list:
4755 * backend/ev-document-find.c: (ev_document_find_base_init),
4756 (ev_document_find_cancel), (ev_document_find_page_has_results),
4757 (ev_document_find_get_n_results), (ev_document_find_get_result),
4758 (ev_document_find_get_progress), (ev_document_find_changed):
4759 * backend/ev-document-find.h:
4761 Enanche the find interface to be really able to do
4764 * pdf/xpdf/pdf-document.cc:
4768 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4769 (expose_bin_window), (ev_view_init),
4770 (ev_view_get_find_status_message), (find_changed_cb),
4771 (ev_view_set_document), (set_document_page):
4773 Adapt to the new interface. A few things are regressed sorry,
4774 I will finish it soon.
4776 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4778 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4779 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4780 ev_sidebar_thumbnails_parent_class variable, don't define another
4781 parent_class variable.
4783 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4784 (ev_page_action_class_init): ditto.
4786 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4787 (pixbuf_document_class_init): ditto.
4789 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4792 * .cvsignore: ignore various valgrind output files.
4794 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4796 * data/evince-ui.xml:
4797 * shell/Makefile.am:
4798 * shell/ev-history.c:
4799 * shell/ev-history.h:
4800 * shell/ev-navigation-action.c:
4801 * shell/ev-navigation-action.h:
4802 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4803 (ev_view_set_page), (ev_view_fit_width):
4805 * shell/ev-window.c: (update_action_sensitivity),
4806 (ev_window_setup_document), (register_custom_actions):
4808 Kill session history
4810 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4812 * shell/ev-window.c: (update_action_sensitivity):
4814 Fix inverted up/down buttons
4816 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4818 * shell/ev-sidebar-thumbnails.c
4819 (ev_sidebar_thumbnails_select_page): make sure the selected
4820 thumbnail stays visible.
4822 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4824 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4825 scrolled window for Federico.
4827 2005-01-26 Ole Laursen <olau@hardworking.dk>
4829 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4831 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4834 * pdf/splash/SplashFTFontEngine.cc:
4836 Fix CID fonts with freetype 2.1.9
4838 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4840 * TODO: added item for desktop icon thumbnailer
4842 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4844 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4845 unloaded docs when the title is accessed.
4847 * shell/ev-password-view.[hc]: New widget for displaying password
4850 * shell/ev-window.[ch]: Refactor password handling code to handle
4853 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4861 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4863 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4864 ignore page offset here, to make search results independent of it,
4866 * shell/ev-view.c (expose_bin_window): but take offsets into
4867 account here. Bug #164932
4869 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4870 scale at the right time. Bug #164996
4872 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4874 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4875 fix the problem. Now I just removed the Adobe font names and hope
4876 that the URW fonts are always in outline format. Bug #164934
4878 * shell/ev-window.c (update_window_title): empty titles are
4879 useless, use filename in that case too.
4881 * NEWS: Add some content.
4883 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4885 * TODO: added one more TODO item and a TODONE section :)
4887 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4889 * ps/ps-document.h: add page_[xy]_offset fields.
4891 * ps/ps-document.c (ps_document_set_page_offset)
4892 (ps_document_render): Keep offset in consideration in a few
4893 places. Bug #164752 "postscript documents are not centered in
4896 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4897 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4899 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4900 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4901 stub out missing methods for complete EvDocument implementation.
4902 Fixes segfaults with Save A Copy and Copy actions.
4904 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4905 (ps_document_document_iface_init): ditto.
4907 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4911 * data/evince.desktop.in:
4915 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4917 * shell/ev-view.c: (ev_view_button_press_event),
4918 (ev_view_motion_notify_event):
4920 Make selection work in any direction
4922 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4925 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4927 Use shorter labels for some of the toolbars items
4929 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4931 * pdf/xpdf/pdf-document.cc:
4933 Check the links info is initialized before
4934 using it. Should fix a crash on startup.
4936 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4938 * pixbuf/pixbuf-document.c
4939 (pixbuf_document_thumbnails_get_dimensions): force floating point
4940 division to calculate page_ratio. Fixes crash with landscape
4943 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4945 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4947 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4949 * shell/ev-view.c (set_document_page): unset has_selection when
4951 (set_document_page): handle paper size changes when the page
4952 changes (test with Free Culture, page 2).
4954 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4956 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4957 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4959 Use normal style color for the widget background and
4960 draw a black box around the page.
4962 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4964 * pdf/xpdf/pdf-document.cc:
4966 Keep offset in consideration in a few places
4968 * shell/ev-view.c: (expose_bin_window):
4970 Set the offsets so that the document is ever centered
4972 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4974 * TODO: Added TODO items and finished off the first todo item
4976 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4977 reflect current authors
4979 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4981 * pdf/xpdf/pdf-document.cc:
4982 * shell/ev-view.c: (ev_view_set_cursor),
4983 (ev_view_motion_notify_event), (document_changed_callback),
4984 (set_document_page):
4986 Show a wait cursor while the page is rendering
4988 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4990 * shell/ev-sidebar-thumbnails.c:
4991 (ev_sidebar_tree_selection_changed),
4992 (ev_sidebar_thumbnails_select_page):
4993 * shell/ev-sidebar-thumbnails.h:
4994 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4995 (ev_view_can_go_forward):
4996 * shell/ev-window.c: (ev_window_open_page),
4997 (ev_window_setup_document), (update_current_page),
4998 (view_page_changed_cb), (ev_window_init):
4999 * shell/ev-window.h:
5001 Ensure thumbnails selection, toolbar page control and
5002 current page are in sync.
5004 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5010 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5012 * backend/Makefile.am:
5013 * backend/ev-document-links.h:
5014 * backend/ev-document-security.c: (ev_document_security_get_type),
5015 (ev_document_security_has_document_security),
5016 (ev_document_security_set_password):
5017 * backend/ev-document-security.h:
5018 * backend/ev-document.c: (ev_document_error_quark):
5019 * backend/ev-document.h:
5021 * data/evince-password.glade:
5022 * pdf/xpdf/pdf-document.cc:
5023 * shell/Makefile.am:
5024 * shell/ev-password.c: (ev_password_set_bad_password_label),
5025 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5026 (ev_password_dialog_get_password),
5027 (ev_password_dialog_set_bad_pass):
5028 * shell/ev-password.h:
5029 * shell/ev-window.c: (ev_window_get_attribute),
5030 (ev_window_set_property), (update_action_sensitivity),
5031 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5032 (ev_window_setup_document), (ev_window_get_password),
5033 (ev_window_open), (ev_window_cmd_save_as),
5034 (using_postscript_printer), (ev_window_print),
5035 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5036 (update_fullscreen_popup), (ev_window_fullscreen),
5037 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5038 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5039 (menu_item_select_cb), (find_bar_search_changed_cb),
5040 (ev_window_dispose), (ev_window_init):
5042 Add initial support for password-supported dialogs. This could be
5043 a lot cooler, but it'll do for now.
5045 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5047 * pdf/xpdf/pdf-document.cc:
5048 * shell/ev-view.c: (status_message_from_link),
5049 (ev_view_set_status), (ev_view_set_cursor),
5050 (ev_view_motion_notify_event), (ev_view_init):
5051 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5053 Fix bugs in the links implementation and change cursor
5054 when hovering a link.
5056 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5058 * viewer/.cvsignore: added cvsignore file for viewer directory
5060 * TODO: created TODO document
5062 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5065 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5066 new functions to help with implementation of sensitivity code
5067 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5068 of all actions that might require it. Fixes a crash when you
5069 click on the Zoom actions in a window lacking a document.
5071 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5073 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5076 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5078 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5079 (pixbuf_document_document_iface_init):
5080 * ps/ps-document.c: (ps_document_get_link),
5081 (ps_document_document_iface_init):
5082 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5083 (status_message_from_link), (ev_view_set_status),
5084 (ev_view_set_find_status), (ev_view_motion_notify_event),
5085 (ev_view_button_release_event), (ev_view_set_property),
5086 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5087 (ev_view_get_find_status_message), (update_find_results),
5088 (ev_view_get_status), (ev_view_get_find_status):
5090 * shell/ev-window.c: (view_status_changed_cb),
5091 (view_find_status_changed_cb), (ev_window_init):
5093 View status message support, use it to show the links.
5096 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5098 * backend/ev-document.c: (ev_document_get_link):
5099 * backend/ev-document.h:
5100 * pdf/xpdf/pdf-document.cc:
5101 * shell/ev-application.c: (ev_application_open):
5102 * shell/ev-application.h:
5103 * shell/ev-sidebar-links.c: (selection_changed_cb):
5104 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5105 (ev_view_go_to_link):
5107 Add support for document links
5109 2005-01-13 Anders Carlsson <andersca@gnome.org>
5111 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5113 Set the spin button limits correctly.
5115 * shell/ev-sidebar-thumbnails.c:
5116 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5117 Support changing pages by clicking on the thumbnails.
5119 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5121 * pixbuf/pixbuf-document.c:
5122 (pixbuf_document_thumbnails_get_dimensions),
5123 (pixbuf_document_document_thumbnails_iface_init):
5125 implement get_dimensions
5127 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5129 * ps/ps-document.c: (ps_document_goto_page):
5131 Fix page switching on multipage documents
5133 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5135 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5137 check for NULL before assigning to width and height parameters
5139 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5141 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5142 (pixbuf_document_set_property), (pixbuf_document_get_property):
5144 implement get/set properties
5146 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5148 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5150 return NULL instead of "Unknown", letting the title get set to
5151 the filename when the pdf has no title.
5153 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5155 * ps/ps-document.c: (ps_document_get_page_count),
5156 (ps_document_goto_page):
5158 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5160 * shell/ev-history.c: (ev_history_get_property),
5161 (ev_history_set_property), (ev_history_class_init),
5162 (ev_history_add_page), (ev_history_set_current_index):
5163 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5164 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5165 (ev_navigation_action_finalize):
5166 * shell/ev-navigation-action.h:
5167 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5168 (ev_view_go_forward), (ev_view_get_find_status_message),
5169 (history_index_changed_cb), (ev_view_set_history):
5171 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5172 (update_current_page), (register_custom_actions):
5174 Implement history dropdowns
5176 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5178 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5179 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5180 (ev_view_go_forward):
5181 * shell/ev-window.c: (register_custom_actions):
5183 Fix several history bugs
5185 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5187 * configure.ac: Add «nb» to ALL_LINGUAS.
5189 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5191 * backend/Makefile.am:
5192 * backend/ev-bookmark.c:
5193 * backend/ev-bookmark.h:
5194 * backend/ev-document-bookmarks.c:
5195 * backend/ev-document-bookmarks.h:
5196 * backend/ev-document-links.c: (ev_document_links_get_type),
5197 (ev_document_links_has_document_links),
5198 (ev_document_links_begin_read), (ev_document_links_get_link),
5199 (ev_document_links_get_child), (ev_document_links_next),
5200 (ev_document_links_free_iter):
5201 * backend/ev-document-links.h:
5202 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5203 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5204 (ev_link_get_link_type), (ev_link_set_link_type),
5205 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5206 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5207 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5208 (ev_link_new_external):
5209 * backend/ev-link.h:
5210 * pdf/xpdf/pdf-document.cc:
5211 * shell/Makefile.am:
5212 * shell/ev-application.c: (ev_application_open_link):
5213 * shell/ev-application.h:
5214 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5215 (ev_history_get_link_nth):
5216 * shell/ev-history.h:
5217 * shell/ev-sidebar-bookmarks.c:
5218 * shell/ev-sidebar-bookmarks.h:
5219 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5220 (ev_sidebar_links_class_init), (selection_changed_cb),
5221 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5222 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5223 (do_one_iteration), (populate_links_idle),
5224 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5225 * shell/ev-sidebar-links.h:
5226 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5227 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5230 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5231 * shell/ev-window.h:
5233 Rename bookmark to link, and use "Index" for the sidebar panel.
5235 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5237 * shell/Makefile.am:
5238 * shell/ev-application.c: (ev_application_open_bookmark):
5239 * shell/ev-application.h:
5240 * shell/ev-history.c: (ev_history_init), (free_links_list),
5241 (ev_history_finalize), (ev_history_class_init),
5242 (ev_history_add_link), (ev_history_add_page),
5243 (ev_history_get_link_nth), (ev_history_get_n_links),
5244 (ev_history_get_current_index), (ev_history_set_current_index),
5246 * shell/ev-history.h:
5247 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5248 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5249 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5250 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5253 * shell/ev-window.c: (ev_window_open_bookmark),
5254 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5255 (goto_page_cb), (register_custom_actions):
5256 * shell/ev-window.h:
5258 Initial history implementation. Needs work.
5260 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5262 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5264 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5266 * cut-n-paste/recent-files/egg-recent-item.c:
5267 * cut-n-paste/recent-files/egg-recent-item.h:
5268 * cut-n-paste/recent-files/egg-recent-model.c:
5269 * cut-n-paste/recent-files/egg-recent-util.c:
5270 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5271 * cut-n-paste/recent-files/egg-recent-view.c:
5275 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5277 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5278 (fillGlyph, fillImageMask, drawImage):
5279 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5280 pdf/splash/SplashTypes.h:
5281 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5282 packed mode for Splash.
5284 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5285 RGB8 packed mode, eliminates the pixbuf data creation loop.
5287 * shell/ev-print-job.c (ev_print_job_finalize)
5288 (ev_print_job_set_property, ev_print_job_get_property)
5289 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5290 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5291 (print_closure_finalize, ev_print_job_print): implement
5292 printing (for backends with EvPsExporter)
5294 * shell/ev_print_job.h: update prototypes.
5296 * shell/ev-window.c (ev_window_print): unref print job after
5299 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5300 unless the document implements the EvDocumentFind interface.
5302 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5304 * configure.ac: Added ja to ALL_LINGUAS.
5306 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5308 * pdf/xpdf/pdf-document.cc:
5310 add a FIXME. We should probably not allocate
5311 a bookmark object every time
5313 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5315 * shell/ev-application.c: (ev_application_open),
5316 (ev_application_open_bookmark):
5317 * shell/ev-application.h:
5319 Add a way to open bookmarks
5321 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5322 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5323 (ev_bookmark_set_property), (ev_bookmark_class_init),
5324 (ev_bookmark_new_title), (ev_bookmark_new_link),
5325 (ev_bookmark_new_external):
5327 Support for external uris, better constructors.
5329 * backend/ev-bookmark.h:
5330 * pdf/xpdf/pdf-document.cc:
5331 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5333 Handle external uris
5335 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5337 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5338 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5340 Hook up bookmarks navigation
5342 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5344 * backend/Makefile.am:
5345 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5346 (ev_bookmark_get_title), (ev_bookmark_set_title),
5347 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5348 (ev_bookmark_get_page), (ev_bookmark_set_page),
5349 (ev_bookmark_get_property), (ev_bookmark_set_property),
5350 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5352 * backend/ev-bookmark.h:
5353 * backend/ev-document-bookmarks.c:
5354 (ev_document_bookmarks_get_bookmark):
5355 * backend/ev-document-bookmarks.h:
5356 * pdf/xpdf/pdf-document.cc:
5357 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5359 Add a bookmark object to the backend and use it instead of get_values
5361 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5363 * data/evince-ui.xml:
5365 Cleanup and add select all.
5367 * shell/ev-view.c: (ev_view_select_all),
5368 (ev_view_button_press_event):
5370 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5373 Clear selection on click.
5375 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5377 * shell/ev-sidebar-thumbnails.c
5378 (ev_sidebar_thumbnails_set_document): forgot to unref the
5381 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5383 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5384 at the visible page, not just linearly. This makes it look fast.
5386 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5388 * backend/ev-document-misc.c
5389 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5391 * backend/ev-document-thumbnails.h: New interface to get the size
5394 2005-01-06 Jeremy Katz <katzj@redhat.com>
5396 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5399 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5401 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5402 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5405 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5407 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5409 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5410 fonts. Should fix font problems on systems that have the base
5411 fonts in bitmap format. Reported by James Henstridge
5412 <james@jamesh.id.au>.
5414 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5417 * pdf/xpdf/GfxState.cc:
5419 Fix for CAN-2004-1125
5421 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5423 * shell/ev-view.c: (ev_view_copy):
5425 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5427 Implement Edit->Copy
5429 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5431 * backend/ev-document.c: (ev_document_get_text):
5432 * backend/ev-document.h:
5433 * pdf/xpdf/pdf-document.cc:
5434 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5435 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5436 (ev_view_update_primary_selection), (ev_view_button_press_event),
5437 (ev_view_motion_notify_event), (ev_view_button_release_event):
5439 Beginnings of clipboard support. Incomplete but primary sort
5442 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5444 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5445 (expose_bin_window):
5447 Nicer rubberband drawing, from GtkIconView.
5449 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5451 * backend/ev-document.c: (ev_document_save):
5452 * backend/ev-document.h:
5453 * data/evince-ui.xml:
5454 * pdf/xpdf/pdf-document.cc:
5455 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5457 Implement "Save a copy..." menu item
5459 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5461 * shell/ev-view.c: (ev_view_zoom):
5463 Queue a resize when zoom changes
5465 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5467 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5470 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5473 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5475 * pdf/xpdf/pdf-document.cc
5476 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5478 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5480 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5481 It's slow, but I'll speed it up next!
5483 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5485 * shell/main.c (load_files):
5487 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5488 from the command line and because it seems more appropriate.
5490 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5492 * data/evince-ui.xml:
5493 * shell/ev-window.c: (update_action_sensitivity),
5494 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5496 s/next page/page down
5497 s/previous page/page up
5499 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5501 * data/evince-ui.xml:
5503 Change the layout to match clarkbw design.
5505 * shell/Makefile.am:
5506 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5507 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5508 (ev_navigation_action_finalize),
5509 (ev_navigation_action_set_property),
5510 (ev_navigation_action_get_property),
5511 (ev_navigation_action_class_init):
5512 * shell/ev-navigation-action.h:
5514 Implement clarkbw toolbar navigation controls (incomplete)
5516 * shell/ev-page-action.c: (update_label), (update_spin),
5517 (value_changed_cb), (create_tool_item), (connect_proxy),
5518 (ev_page_action_init), (ev_page_action_finalize),
5519 (ev_page_action_set_property), (ev_page_action_get_property),
5520 (ev_page_action_set_current_page),
5521 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5522 * shell/ev-page-action.h:
5524 Implement a page switcher in the toolbar
5526 * shell/ev-view.c: (ev_view_scroll_view):
5527 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5528 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5529 (register_custom_actions), (ev_window_init):
5531 Change page on PageUp/Down.
5533 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5535 * pdf/xpdf/pdf-document.cc
5536 (pdf_document_thumbnails_get_thumbnail): initial stab at
5537 implementing thumbnail support for pdfs. It only does documents
5538 with precached pdfs now.
5540 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5542 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5543 thumbnail code into a time-based idle as well. Also, turn off the
5544 shadow temporarily as it's really slow.
5546 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5548 * backend/ev-document.c: (ev_document_class_init):
5549 * pdf/xpdf/pdf-document.cc:
5550 * shell/ev-window.c: (ev_window_open):
5552 Fix document title bugs and fallback to
5553 filename when not available.
5555 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5557 * backend/ev-document.c: (ev_document_get_type),
5558 (ev_document_class_init), (ev_document_load),
5559 (ev_document_get_title):
5560 * backend/ev-document.h:
5561 * pdf/xpdf/pdf-document.cc:
5562 * ps/ps-document.c: (ps_document_set_property),
5563 (ps_document_get_property), (ps_document_class_init),
5567 * shell/ev-window.c: (update_window_title), (ev_window_open),
5570 Initial support for document title. Not working yet.
5572 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5574 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5576 Grab focus on the view when clicking it
5578 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5580 * shell/ev-marshal.list:
5581 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5582 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5584 Add key bindings to the view. Now if the focus would work
5587 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5590 * backend/Makefile.am:
5593 * dvi/dvilib/Makefile.am:
5594 * pdf/xpdf/Makefile.am:
5600 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5602 * shell/ev-view.c: (ev_view_realize):
5604 Fix mouse wheel scrolling
5606 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5612 * ps/ps-document.c: (catchPipe), (ps_document_init),
5613 (ps_document_class_init), (ps_document_cleanup),
5614 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5615 (set_up_page), (close_pipe), (is_interpreter_ready),
5616 (interpreter_failed), (output), (input), (start_interpreter),
5617 (stop_interpreter), (file_length), (file_readable),
5618 (check_filecompressed), (check_pdf), (compute_xdpi),
5619 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5620 (ps_document_get_type), (ps_document_emit_error_msg),
5621 (document_load), (ps_document_next_page),
5622 (ps_document_get_current_page), (ps_document_get_page_count),
5623 (ps_document_goto_page), (ps_document_set_page_size),
5624 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5625 (ps_document_load), (ps_document_get_n_pages),
5626 (ps_document_set_page), (ps_document_get_page),
5627 (ps_document_widget_event), (ps_document_set_target),
5628 (ps_document_set_scale), (ps_document_set_page_offset),
5629 (ps_document_get_page_size), (ps_document_render),
5630 (ps_document_document_iface_init):
5633 * shell/ev-window.c: (ev_window_open):
5635 Rename GtkGS to PSDocument
5637 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5639 * ps/gtkgs.c: (gtk_gs_class_init):
5642 Some more leftover...
5644 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5646 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5647 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5648 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5651 Remove unused code and make a lot of stuff private
5653 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5655 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5656 (gtk_gs_defaults_changed):
5662 Cleanup headers dependencies
5664 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5669 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5671 * ps/gtkgs.c: (file_length), (file_readable),
5672 (check_filecompressed), (check_pdf), (gtk_gs_load),
5673 (gtk_gs_get_postscript):
5677 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5682 * ps/gtkgs.c: (gtk_gs_set_zoom):
5686 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5688 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5690 Ensure the page is rerendered when changing zoom
5692 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5694 * backend/ev-document.c: (ev_document_base_init),
5695 (ev_document_changed):
5696 * backend/ev-document.h:
5698 Add a changed event that is emitted when the page content
5699 changes. This is necessary to deal with the fact that
5700 in ps backend rendering happen asycrounously.
5701 This makes the ps backend mostly work.
5703 * pdf/xpdf/pdf-document.cc:
5707 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5708 (ps_document_set_target):
5712 * shell/ev-view.c: (document_changed_callback),
5713 (ev_view_set_document), (ev_view_set_page):
5715 Redraw on the changed signal
5717 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5719 * configure.ac: Added pt_BR to ALL_LINGUAS.
5721 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5723 * backend/ev-document-bookmarks.c:
5724 (ev_document_bookmarks_get_child): *
5725 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5726 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5727 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5728 (ev_sidebar_bookmarks_destroy),
5729 (ev_sidebar_bookmarks_class_init),
5730 (ev_sidebar_bookmarks_construct), (stack_data_free),
5731 (do_one_iteration), (populate_bookmarks_idle),
5732 (ev_sidebar_bookmarks_clear_document),
5733 (ev_sidebar_bookmarks_set_document): *
5734 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5735 (ev_sidebar_add_page),
5736 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5737 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5738 it displays both the topics and the page numbers.
5740 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5742 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5744 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5747 2004-12-23 Adam Weinberger <adamw@gnome.org>
5749 * configure.ac: Added en_CA to ALL_LINGUAS.
5751 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5753 * ChangeLog: replace bottom of this ChangeLog (merged history of
5754 ggv and gpdf; where all paths were wrong and most of the files are
5755 not even in this tree) with ChangeLog (from arch) of the shell
5758 2004-12-23 Havoc Pennington <hp@redhat.com>
5760 * shell/ev-window.c: hook up potentially-questionable "find
5761 results status text" feature - something involving the sidebar or
5762 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5763 might be better in the end.
5765 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5766 with corresponding signal when it should be updated
5768 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5770 2004-12-22 Havoc Pennington <hp@redhat.com>
5772 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5773 find stuff on other pages, sort of (only returns one result on
5774 invisible pages, to show they have results; updates full results
5775 for a page when you view it). Currently repaints the current page
5776 every time a new result is found on any page, which isn't so nice.
5778 2004-12-22 Havoc Pennington <hp@redhat.com>
5780 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5781 the document doesn't support find (better ideas?)
5782 (find_bar_search_changed_cb): handle missing document or document
5783 that doesn't support find
5785 * pdf/xpdf/pdf-document.cc: port to implement the new
5788 * backend/ev-document-find.c: create a new interface for searching
5790 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5792 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5794 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5797 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5798 EvPrintJob constructor arguments.
5800 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5801 for documents that can export PostScript (page by page).
5803 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5805 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5806 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5807 (pdf_document_ps_exporter_iface_init:
5808 Implement EvPSExporter.
5810 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5812 2004-12-22 Anders Carlsson <andersca@gnome.org>
5814 * backend/Makefile.am:
5815 * backend/ev-document-thumbnails.c:
5816 (ev_document_thumbnails_get_type),
5817 (ev_document_thumbnails_get_thumbnail):
5818 * backend/ev-document-thumbnails.h:
5819 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5820 (pixbuf_document_thumbnails_get_thumbnail),
5821 (pixbuf_document_document_thumbnails_iface_init):
5822 * shell/Makefile.am:
5823 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5824 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5825 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5826 * shell/ev-sidebar-thumbnails.h:
5827 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5828 (ev_sidebar_set_document):
5829 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5830 (create_shadow), (ev_pixbuf_add_shadow):
5832 Add thumbnail support.
5834 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5836 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5837 (using_postscript_printer): Set up a print dialog for "PostScript
5840 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5843 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5845 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5847 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5848 (ps_document_set_target), (ps_document_get_page_size),
5849 (ps_document_render):
5854 2004-12-22 Christian Rose <menthos@menthos.com>
5856 * configure.ac: Added "sv" to ALL_LINGUAS.
5858 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5860 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5861 document supports bookmarks.
5863 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5865 * ps/ggvutils.c: (ggv_file_readable):
5867 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5868 (gtk_gs_get_postscript):
5872 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5874 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5875 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5876 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5877 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5878 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5879 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5880 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5881 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5882 (gtk_gs_set_antialiasing), (ps_document_load),
5883 (ps_document_render):
5886 Another check point for the ps backend. Now I can get it to show
5889 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5891 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5892 document setting code.
5894 2004-12-22 Anders Carlsson <andersca@gnome.org>
5896 * shell/eggfindbar.c: (entry_activate_callback):
5897 Animate the next button when activate is pressed.
5899 2004-12-22 Anders Carlsson <andersca@gnome.org>
5901 * shell/ev-window.c: (ev_window_cmd_edit_find),
5902 (update_fullscreen_popup), (ev_window_fullscreen),
5903 (ev_window_unfullscreen), (ev_window_state_event_cb),
5904 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5905 Fix bugs in fullscreen code.
5907 2004-12-22 Anders Carlsson <andersca@gnome.org>
5911 * pixbuf/Makefile.am:
5912 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5913 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5914 (pixbuf_document_set_page), (pixbuf_document_get_page),
5915 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5916 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5917 (pixbuf_document_render), (pixbuf_document_begin_find),
5918 (pixbuf_document_end_find), (pixbuf_document_finalize),
5919 (pixbuf_document_class_init),
5920 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5921 * pixbuf/pixbuf-document.h:
5922 * shell/Makefile.am:
5923 * shell/ev-application.c: (ev_application_open):
5924 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5928 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5931 * dvi/dvilib/Makefile.am:
5933 * configure.ac: Auto*ify dvi and dvi/dvilib
5935 * dvi/Makefile: Remove from CVS
5937 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5940 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5942 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5944 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5947 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5948 (gtk_gs_value_adjustment_changed), (compute_size),
5949 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5950 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5951 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5952 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5953 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5954 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5955 (ps_document_load), (ps_document_get_n_pages),
5956 (ps_document_set_page), (ps_document_get_page),
5957 (ps_document_set_target), (ps_document_set_scale),
5958 (ps_document_set_page_offset), (ps_document_get_page_size),
5959 (ps_document_render), (ps_document_begin_find),
5960 (ps_document_end_find), (ps_document_document_iface_init):
5962 * shell/Makefile.am:
5963 * shell/ev-window.c: (ev_window_open):
5965 Some work to integrate gtkgs with EvDocument
5967 2004-12-22 Anders Carlsson <andersca@gnome.org>
5969 * shell/ev-window.c: (update_fullscreen_popup),
5970 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5971 (exit_fullscreen_button_clicked_cb),
5972 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5973 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5974 (ev_window_state_event_cb), (ev_window_init):
5975 Add fullscreen support from Epiphany.
5977 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5979 * data/ev-stock-zoom-fit-width.png: fit-width
5980 stock icon from gpdf.
5982 * shell/ev-stock-icons.[ch]: copied from gpdf.
5984 * shell/main.c: (main): init stock icons.
5986 * shell/ev-window.c: use the fit-width icon.
5988 * data/evince-ui.xml: add zooming toolbar items.
5990 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5993 (ev_view_best_fit), (ev_view_fit_width): because
5994 get_page_size() returns the scaled page size, we
5995 need to calculate the scale factor relative to
5996 the previous scale factor. Should really just
5997 add get_real_page_size().
5999 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6001 * shell/ev-view.[ch]:
6002 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6003 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6006 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6007 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6008 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6011 * pdf/xpdf/pdf-document.cc:
6012 (pdf_document_begin_find),
6013 (pdf_document_end_find): make static.
6015 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6017 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6019 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6020 names to fontconfig patterns.
6021 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6023 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6026 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6042 Import ggv backend. Not hooked up yet.
6044 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6046 * shell/main.c: (load_files), (main): load files
6047 from the command line.
6049 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6051 * configure.ac: don't require bonobo.
6053 * cut-n-paste/recent-files/*: kill bonobo recent
6056 * shell/ev-window.c:
6057 (ev_window_is_empty): upd.
6058 (unable_to_load), (ev_window_open): load backend
6059 based on the mime type.
6061 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6063 * backend/.cvsignore: ignore generated marshalers source.
6065 * shell/main.c (main): this is not epiphany.
6067 2004-12-22 Havoc Pennington <hp@redhat.com>
6069 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6070 (expose_bin_window): draw find highlights
6072 * shell/ev-window.c (find_bar_search_changed_cb): implement
6074 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6075 (pdf_document_end_find): implement this interface
6077 * backend/ev-document.c (ev_document_found): add this to emit
6080 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6082 * data/evince-ui.xml: Add a few more toolbar items.
6084 * shell/ev-window.c: Hook up page navigation toolbar
6087 * shell/ev-view.[ch]: add ev_view_set/get_page and
6088 a page-changed signal.
6090 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6091 Add ev_document_get_page().
6093 * shell/ev-window.c: Sensitize/desensitize navigation
6096 2004-12-21 Havoc Pennington <hp@redhat.com>
6098 * backend/ev-backend-marshal.c,
6099 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6100 marshaler-generator thingy. I'm sure there's a better way to do
6101 this in the modern world.
6103 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6104 end_find methods and "found" signal.
6106 * configure.ac: find glib-genmarshal
6108 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6110 * shell/ev-sidebar.c: Construct an actual sidebar.
6111 * shell/ev-sidebar-bookmarks.[ch]:
6112 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6114 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6116 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6119 * shell/ev-view.c: Track the size from the document.
6121 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6123 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6124 constructor assumes ownership of the string passed in.
6126 * shell/ev-window.c (ev_window_open): Destroy the error
6127 dialog once we've displayed it.
6129 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6131 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6132 a bit, it works! (sort of)
6134 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6135 Move to .cc since we need to use C++ in the implementation.
6137 * shell/dummy.cc: Add a CC file to force evince
6138 to be linked as a C++ program.
6140 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6142 * shell/ev-view.[ch]: Start of content-area widget.
6144 * shell/ev-window.c: Create a EvView, update it
6145 as we change documents.
6147 * shell/Makefile.am shell/ev-marshal.list: Add
6148 generated marshalers.
6150 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6152 * Makefile.am (SUBDIRS): move shell.
6154 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6156 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6157 .a to libtool convenience libraries.
6159 * shell/ev-window.c (ev_window_open): Hard code loading
6162 * backend/ev-document.h: Add a boolean return to load(),
6163 fix GError * to GError **.
6165 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6166 object for a PDF backend EvDocument.
6168 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6170 * dvi/*: New directory with the beginning of a .dvi backend.
6172 2004-12-21 Havoc Pennington <hp@redhat.com>
6174 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6175 previous/next instead of back/forward
6177 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6179 * backend/ev-document.[ch]: Fix a couple of problems so
6182 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6184 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6185 to backend/ directory, rename EvViewer to EvDocument.
6187 2004-12-21 Havoc Pennington <hp@redhat.com>
6189 * shell/ev-window.c: hook up the find bar widget; now we just need
6190 a document to find things in
6192 * shell/eggfindbar.c: a find bar widget
6194 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6196 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6198 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6200 * pdf/**: Import of xpdf code from gpdf.
6202 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6204 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6205 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6206 Fix FreeType includes.
6208 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6209 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6210 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6211 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6212 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6213 Include xpdfconfig.h
6215 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6217 * shell/ev-window.c (ev_window_dispose): dispose can be called
6220 2004-12-21 Havoc Pennington <hp@redhat.com>
6222 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6225 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6226 items; really they should be synced with the strings, etc. from
6227 current gpdf, but just getting the boring typing out of the way
6229 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6232 * shell/ev-application.c: (window_destroy_cb):
6233 * shell/ev-window.c:
6234 * shell/main.c: (main):
6236 Actually show the window...
6238 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6241 * shell/Makefile.am:
6242 * shell/ev-application.c: (ev_application_class_init):
6243 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6247 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6249 Import to gnome cvs.
6251 * Remove copies of gpdf and ggv trees.
6252 * Rip out all the recursive configure code.
6253 * Remove bonobo machinery.
6254 * viewer/*: GInterfaces that backends should/can implement.
6256 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6258 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6261 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6263 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6264 (ev_application_finalize, ev_application_class_init)
6265 (ev_application_init): use GType instance private data for priv.
6267 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6268 (ev_window_finalize, ev_window_class_init)
6269 (ev_window_init): ditto.
6271 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6273 * shell/ev-application.c (ev_application_new_window): make public
6274 (ev_application_show_initial_window): kill.
6276 * shell/ev-application.h: update prototypes.
6278 * shell/main.cc (main): inline ev_application_show_initial_window.
6280 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6282 * shell/ev-application.c (ev_application_new_window): impl.
6283 (ev_application_show_initial_window): use it.
6284 (is_window_empty, ev_application_get_empty_window): returns an
6285 existing empty window or a new one.
6286 (ev_application_open): from ev_window_cmd_file_open.
6288 * shell/ev-application.h: update prototypes
6290 * shell/ev-window.c (ev_window_is_empty): impl.
6291 (ev_window_open): make public.
6292 (ev_window_cmd_file_open): use ev_application_open
6294 * shell/ev-window.h: update prototypes, remove unused.
6296 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6298 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6299 move destroy handler out of here...
6301 * shell/ev-application.c, shell/ev-application.h: ...into this new
6302 class. Also handles initial window creation.
6304 * shell/main.cc (main): use EvApplication to create initial
6307 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6309 * Makefile.am (SUBDIRS): add cut-n-paste
6311 * cut-n-paste/Makefile.am: add
6313 * configure.ac: generate Makefiles in cut-n-paste
6315 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6317 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6318 (ev_window_class_init): install ev_window_dispose.
6320 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6322 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6323 char (gchar looks stupid).
6325 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6327 * po/de.po: updated German translation.
6329 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6331 * configure.ac: add more pkg-config library checks for gnome-vfs,
6334 * gpdf/configure.in: temporarily disable libpaper
6335 checks. Otherwise I'd have to add the checks for the shell, too.
6337 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6339 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6340 and * file filters to the file choose.
6342 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6344 * po/de.po: Updated German translation.
6346 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6348 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6350 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6352 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6354 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6355 (ev_window_init): implement those menuitems.
6357 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6359 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6361 * shell/ev-window.c (ev_window_init): use the toolbar.
6363 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6365 * shell/ev-window.c (ev_window_init): use menu translations
6367 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6369 * configure.ac: add "de" to ALL_LINGUAS.
6371 * po/de.po: add German translation.
6373 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6375 * Makefile.am (SUBDIRS): add po
6377 * configure.ac: check intltool, glib-gettext etc, generate
6380 * po, po/POTFILES.in, po/POTFILES.skip: new.
6382 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6384 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6385 already use (#ifdef ENABLE_NLS)
6387 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6388 pointer indirection thinko.
6390 * shell/main.c: include gi18n.h for bindtextdomain etc.
6392 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6394 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6395 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6396 tooltips for menu items in the statusbar.
6398 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6400 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6401 pkgdatadir drop UIDIR
6403 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6405 * data/evince-ui.xml: Add File->Open menu item
6407 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6408 chooser), hook it up in the ui manager.
6410 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6412 * shell/ev-window.c: fix Help->About tooltip.
6414 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6416 * configure.ac: set CFLAGS for libevprivate.
6418 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6419 definitions, factory etc.
6421 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6423 * shell/Makefile.am: link against libevprivate.a.
6425 * shell/ev-window.c (entries): add stock icon to Help->About.
6427 * shell/main.c (main): init stock icon code.
6429 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6431 * lib/recent-files: egg recent files code
6433 * lib/Makefile.am: add.
6435 * Makefile.am: add lib subdir.
6437 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6438 set CFLAGS for recent-files.
6440 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6442 * configure.ac: disable -ansi and -pedantic gcc flags. They
6443 disable POSIX stuff in stdio.h, but egg-recent uses them.
6445 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6447 * configure.ac: add --disable-deprecated flag (defaults to on in
6450 * shell/Makefile.am (INCLUDES): use it.
6452 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6454 * shell/main.c: add missing #include.
6456 * shell/ev-window.c: fix for pedantic gcc.
6457 (ev_window_cmd_help_about): split license into paragraphs for
6458 translators and pedantic compilers.
6460 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6462 * configure.ac: add more warning flags if compiling with gcc from
6463 cvs (or explicitly requested with --enable-more-warnings).
6465 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6467 * data/evince-ui.xml: add File and File->Close menu.
6469 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6470 (ev_window_destroy): quit after destroy.
6471 (ev_window_class_init): override GtkObject::destroy.
6472 (entries): install close_window callback.
6474 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6476 * Makefile.am (SUBDIRS): add data subdir.
6478 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6479 gtk+ 2.5.0 for GtkAboutDialog.
6481 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6484 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6486 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6488 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6490 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6492 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6494 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6496 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6498 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6500 * shell/*: Added shell directory boilerplate, build it.
6502 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6504 * configure.ac, Makefile.am: Added top-level configure.ac and