1 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
3 * configure.ac: Added Hebrew translation
5 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
8 * backend/ev-selection.c: (ev_selection_render_selection):
9 * backend/ev-selection.h:
11 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
14 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
15 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
16 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
17 (ev_pixbuf_cache_style_changed),
18 (ev_pixbuf_cache_get_selection_pixbuf),
19 (ev_pixbuf_cache_set_selection_list),
20 (ev_pixbuf_cache_get_selection_list):
21 * shell/ev-pixbuf-cache.h:
22 * shell/ev-utils.c: (ev_print_region_contents):
24 * shell/ev-view.c: (ev_view_queue_draw_page),
25 (selection_update_idle_cb), (ev_view_motion_notify_event),
26 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
27 (setup_caches), (ev_view_find_next), (merge_selection_region),
29 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
31 Clean up selection to be much smoother!
33 2005-08-05 Kristian Høgsberg <krh@redhat.com>
35 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
36 to poppler_page_render_selection().
38 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
40 * ps/ps-document.c: (save_page_list): Use
41 unzipped document when printing. Thanks to
42 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
45 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
47 * shell/ev-window.c: (update_action_sensitivity):
49 Disable print and save respect to lockdown gconf keys. Fix
52 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
55 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
56 (write_to_temp_file), (ev_file_set_contents):
58 * shell/ev-window.c: (save_print_config_to_file):
60 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
63 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
65 * shell/ev-window.c: (load_print_config_from_file),
66 (save_print_config_to_file), (ev_window_print_range):
68 Persist the print settings. Fixes bug #311578.
70 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
72 * djvu/djvu-document.c: (djvu_document_get_page_size),
73 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
74 (djvu_document_thumbnails_get_thumbnail):
75 * dvi/dvi-document.c: (dvi_document_get_page_size),
76 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
77 (dvi_document_thumbnails_get_dimensions),
78 (dvi_document_thumbnails_get_thumbnail):
79 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
80 (pixbuf_document_render_pixbuf),
81 (pixbuf_document_document_iface_init),
82 (pixbuf_document_thumbnails_get_thumbnail):
84 Update backends to make them build with new rotation system.
86 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
88 * help/C/figures/evince_start_window.png:
90 Update documentation image from Luca Ferretti <elle.uca@libero.it>
92 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
94 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
95 * shell/ev-pixbuf-cache.h:
96 * shell/ev-sidebar-thumbnails.c:
97 (ev_sidebar_thumbnails_get_property), (add_range),
98 (adjustment_changed_cb):
99 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
100 pixbuf cache. Make thumbnailing work again. Also, fix bug where
101 we were thumbnailing the entire docment on startup, slowing us
104 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
106 * shell/ev-page-cache.c: (ev_page_cache_new):
107 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
110 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
112 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
113 (ev_view_rotate_left):
115 Account rotation in doc_rect_to_view_rect.
116 Ensure rotation doesnt go out of bounds.
118 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
120 * shell/ev-page-cache.c: (ev_page_cache_get_size):
122 Correct and cleanup w/h swapping
124 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
126 * backend/ev-document-thumbnails.c:
127 (ev_document_thumbnails_get_thumbnail):
128 * backend/ev-document-thumbnails.h:
129 * backend/ev-document.c:
130 * backend/ev-document.h:
131 * backend/ev-render-context.c: (ev_render_context_new),
132 (ev_render_context_set_rotation):
133 * backend/ev-render-context.h:
135 * ps/ps-document.c: (ps_document_document_iface_init):
136 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
138 * shell/ev-page-cache.c: (build_height_to_page),
139 (ev_page_cache_new), (ev_page_cache_get_size),
140 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
141 (ev_page_cache_get_height_to_page):
142 * shell/ev-page-cache.h:
143 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
144 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
145 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
146 (ev_pixbuf_cache_get_selection_pixbuf):
147 * shell/ev-pixbuf-cache.h:
148 * shell/ev-print-job.c: (idle_print_handler):
149 * shell/ev-sidebar-thumbnails.c: (add_range):
150 * shell/ev-view.c: (view_update_range_and_current_page),
151 (get_page_y_offset), (get_page_extents),
152 (ev_view_size_request_continuous_dual_page),
153 (ev_view_size_request_continuous),
154 (ev_view_size_request_dual_page),
155 (ev_view_size_request_single_page), (draw_one_page),
156 (ev_view_set_rotation), (ev_view_rotate_right),
157 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
158 (ev_view_zoom_for_size_continuous_and_dual_page),
159 (ev_view_zoom_for_size_continuous),
160 (ev_view_zoom_for_size_dual_page),
161 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
162 (ev_view_select_all):
163 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
164 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
165 (tiff_document_document_iface_init),
166 (tiff_document_thumbnails_get_thumbnail):
168 Use rotation rather than orientation. It's easier and enough
171 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
173 * shell/ev-page-cache.c: (build_height_to_page),
174 (ev_page_cache_new), (ev_page_cache_get_size),
175 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
176 (ev_page_cache_get_height_to_page):
177 * shell/ev-page-cache.h:
178 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
179 (ev_view_size_request_continuous_dual_page),
180 (ev_view_size_request_continuous),
181 (ev_view_zoom_for_size_continuous_and_dual_page),
182 (ev_view_zoom_for_size_continuous):
184 Make the page cache aware of page orientation.
186 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
188 * backend/ev-document-thumbnails.c:
189 (ev_document_thumbnails_get_thumbnail):
190 * backend/ev-document-thumbnails.h:
191 * backend/ev-document.c:
192 * backend/ev-document.h:
193 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
194 * backend/ev-ps-exporter.h:
196 * ps/ps-document.c: (ps_document_document_iface_init),
197 (ps_document_ps_export_do_page):
198 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
200 * shell/ev-page-cache.c: (ev_page_cache_get_size),
202 * shell/ev-page-cache.h:
203 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
204 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
205 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
206 * shell/ev-pixbuf-cache.h:
207 * shell/ev-print-job.c: (idle_print_handler):
208 * shell/ev-sidebar-thumbnails.c: (add_range):
209 * shell/ev-view.c: (view_update_range_and_current_page),
210 (get_page_extents), (ev_view_size_request_dual_page),
211 (ev_view_size_request_single_page), (draw_one_page),
212 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
213 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
214 (ev_view_zoom_for_size_dual_page),
215 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
216 (ev_view_select_all):
217 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
218 * tiff/tiff-document.c: (tiff_document_get_page_size),
219 (tiff_document_get_orientation), (rotate_pixbuf),
220 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
221 (tiff_document_thumbnails_get_thumbnail),
222 (tiff_document_ps_export_do_page), (tiff_document_init):
224 Really make use of the orientation bit of the render context.
225 Use the render context in a few more places in the backend API.
226 This regress orientation, but now it's done right. Will try to
229 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
231 * shell/ev-view.c: (ensure_rectangle_is_visible):
233 Patch by Nickolay V. Shmyrev to fix find flickering
235 2005-07-27 Martin Kretzschmar <martink@gnome.org>
237 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
238 duplex parameters to ::begin.
240 * tiff/tiff-document.c (tiff_document_ps_export_begin):
241 * shell/ev-print-job.c (idle_print_handler):
242 * ps/ps-document.c (ps_document_ps_export_begin):
243 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
244 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
245 implementations. Poppler backend needs poppler cvs. Rest has
248 2005-07-25 Martin Kretzschmar <martink@gnome.org>
250 * shell/ev-window.c (using_pdf_printer): new function.
251 (ev_window_print_range): print a less techy message if someone
252 tries to print to PDF.
254 2005-07-25 Martin Kretzschmar <martink@gnome.org>
256 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
257 from "unknown font" string. Bug #311431
259 2005-07-24 Martin Kretzschmar <martink@gnome.org>
261 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
263 2005-07-24 Martin Kretzschmar <martink@gnome.org>
267 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
268 name for PopplerFontTypes
269 (pdf_document_fonts_fill_model): add font type to the detail column
271 * backend/ev-document-fonts.h: added
272 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
274 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
275 font name and font details, add a little markup.
276 (ev_properties_fonts_init): use the new cell data func, specify ypad
277 property for the cell renderer.
278 (ev_properties_fonts_set_document): add the details column.
280 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
282 * configure.ac: Added "pl" to ALL_LINGUAS.
284 2005-07-24 Danilo Šegan <danilo@gnome.org>
286 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
288 2005-07-23 Tommi Vainikainen <thv@iki.fi>
290 * help/ChangeLog: Started this for translations of manual.
291 * configure.ac, autogen.sh, .cvsignore: Migrated to
292 gnome-doc-utils. Patch in bug #311222.
294 2005-07-22 Martin Kretzschmar <martink@gnome.org>
296 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
297 #ifdef this away to fix an unused-function warning.
299 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
301 * configure.ac: Added 'gl' to ALL_LINGUAS.
303 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
305 * configure.ac: Added ne in ALL_LINGUAS
307 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
309 * shell/ev-view.c: (ev_view_leave_notify_event):
311 Clear status message when pointer leaves view. Fix for bug
314 2005-07-20 Ankit Patel <ankit644@yahoo.com>
316 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
318 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
320 * shell/ev-view.c: (ev_view_leave_notify_event),
321 (ev_view_class_init):
323 Set cursor to normal then leaving view.
325 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
329 Fix required djvulibre version.
331 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
333 *configure.ac: Hindi (hi) language added
335 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
337 *configure.ac: Punjabi (pa) Language added
339 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
341 * data/evince-ui.xml, shell/ev-window.c:
343 Add keypad accelerators for zooming. Fix for bug 308128.
345 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
348 * backend/Makefile.am:
349 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
351 * shell/ev-document-types.c: (ev_document_types_add_filters):
353 Allow to enable/disable the pixbuf backend.
354 Default to off for now. If we want it enabled we should
355 really put mime types in the desktop, implement properties etc.
357 * properties/evince-properties.c:
359 Initialize error to NULL.
360 Check error is not NULL before freeing.
362 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
366 Use F5 as presentation accell
368 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
370 * shell/ev-window.c: (update_chrome_visibility),
371 (ev_window_create_fullscreen_popup), (ev_window_init):
373 Do not leak the fullscreen toolbar
375 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
377 * shell/ev-window.c: (view_actions_focus_in_cb),
378 (view_actions_focus_out_cb):
380 These has a return value! Fix totally random focus
381 issues we was seeing.
383 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
385 * shell/main.c: (load_files_remote):
387 Allow open more than one file
389 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
391 * shell/main.c: (load_files_remote):
393 Fix for dbus 0.33. bug #309975
395 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
397 * properties/ev-properties-main.c: (ev_properties_get_pages):
399 Actually return NULL for types we dont support
401 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
407 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
409 * backend/ev-document-factory.c:
410 (ev_document_factory_get_document):
412 Do not try to create the object if type
415 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
417 * ps/ps-document.c: (ps_document_dispose),
418 (ps_async_renderer_render_pixbuf):
421 Do not leak the target window
423 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
425 * shell/ev-application.c: (ev_application_init):
427 Let tbe check file existence for us.
428 Add a comment about eggrecent mime filter.
430 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
432 * data/evince-ui.xml:
433 * shell/ev-application.c: (ev_application_shutdown),
434 (ev_application_init), (ev_application_get_toolbars_model),
435 (ev_application_get_recent_model),
436 (ev_application_save_toolbars_model):
437 * shell/ev-application.h:
438 * shell/ev-window.c: (ev_window_add_recent),
439 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
440 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
443 Use common toolbar and recent models for all windows.
444 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
446 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
448 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
449 successfully check for gtk_icon_view_get_visible_range.
451 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
456 Fix djvu and dvi backend build.
458 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
460 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
461 (new_separator_pixbuf):
465 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
467 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
469 HIGification of toolbar editor dialogue.
471 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
476 Ever build metadata manager since it's just
477 disabled at runtime now.
479 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
481 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
482 (ev_metadata_manager_get), (ev_metadata_manager_set):
483 * shell/ev-metadata-manager.h:
485 Add an _init functions that enabled metadata management
488 * shell/ev-window.c: (page_changed_cb),
489 (setup_document_from_metadata), (ev_window_setup_document),
490 (setup_view_from_metadata), (ev_window_open_uri),
491 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
492 (ev_window_run_presentation), (ev_window_stop_presentation),
493 (save_sizing_mode), (ev_window_zoom_changed_cb),
494 (ev_window_continuous_changed_cb),
495 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
496 (window_configure_event_cb):
498 Remove all ugly metadata define since we deal with it
501 * shell/main.c: (load_files_remote), (main):
503 Add support for dbus cvs head. Hopefully didnt break one
504 of the other versions now!
506 If we dont get a response from the dbus server just
507 give up with it and not enable metadata.
509 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
512 * backend/Makefile.am:
514 * cut-n-paste/recent-files/Makefile.am:
515 * cut-n-paste/toolbar-editor/Makefile.am:
516 * cut-n-paste/zoom-control/Makefile.am:
519 * pixbuf/Makefile.am:
520 * properties/Makefile.am:
523 * thumbnailer/Makefile.am:
526 Make frontends depend on just libev.
527 Rework and group CFLAGS/LIBS definitions.
530 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
534 do not unnecessarily save zoom
537 * lib/ev-file-helpers.c: (ev_dot_dir):
543 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
547 Remove unnecessary dependencies
549 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
551 * properties/Makefile.am:
552 * thumbnailer/Makefile.am:
555 Some more cleanups. Was really necessary
556 but I probably introduced bugs, feel free
559 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
561 * backend/Makefile.am:
563 * cut-n-paste/recent-files/Makefile.am:
564 * cut-n-paste/toolbar-editor/Makefile.am:
565 * cut-n-paste/zoom-control/Makefile.am:
568 * pixbuf/Makefile.am:
569 * properties/Makefile.am:
572 * thumbnailer/Makefile.am:
575 Use gnome-common macros when possible.
576 Cleanup dependencies.
577 Actually disable deprecated where possible.
579 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
582 * backend/Makefile.am:
583 * properties/Makefile.am:
585 * thumbnailer/Makefile.am:
587 This should solve the circular dep without
590 * shell/ev-window.c: (setup_view_from_metadata):
592 Never restore window size/position when the
593 window is already visible.
595 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
597 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
599 Return a boolean from timeout func. Fix ported from gedit.
601 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
603 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
605 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
607 * shell/ev-document-types.c: set "All Documents" as default filter in
610 2005-07-06 Martin Kretzschmar <martink@gnome.org>
612 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
613 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
614 (ev_metadata_manager_set_boolean): fix value/val thinko.
616 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
618 * shell/ev-window.c: (setup_view_from_metadata),
619 (window_state_event_cb), (window_configure_event_cb),
622 Remember window position and maximized state
624 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
628 Fix DBUS configure checks.
630 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
631 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
632 (ev_metadata_manager_set_boolean):
636 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
637 (ev_window_stop_fullscreen), (ev_window_run_presentation),
638 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
639 (ev_window_continuous_changed_cb),
640 (ev_window_dual_mode_changed_cb), (ev_window_new):
642 Fix the build without DBUS.
644 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
646 * shell/ev-metadata-manager.c: (parse_value), (save_values),
647 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
648 (ev_metadata_manager_set_string),
649 (ev_metadata_manager_set_boolean):
650 * shell/ev-metadata-manager.h:
652 Add support for some more types
654 * shell/ev-view.c: (scroll_to_current_page),
655 (ev_view_get_continuous), (ev_view_set_continuous),
656 (ev_view_get_dual_page):
658 * shell/ev-window.c: (page_changed_cb),
659 (setup_document_from_metadata), (ev_window_setup_document),
660 (setup_view_from_metadata), (ev_window_open_uri),
661 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
662 (ev_window_run_presentation), (ev_window_stop_presentation),
663 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
664 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
665 (ev_window_update_dual_page_action),
666 (ev_window_continuous_changed_cb),
667 (ev_window_dual_mode_changed_cb), (ev_window_init):
669 Remember a bunch of view/document properties. Prolly some
670 are still missing but it's getting interesting.
672 2005-07-05 Martin Kretzschmar <martink@gnome.org>
674 * configure.ac: check if dbus-binding-tool is installed. Not the
675 case on current Ubuntu breezy, it seems.
677 2005-07-05 Luca Ferretti <elle.uca@libero.it>
679 * data/evince.desktop.in.in:
681 Allow open uri lists and add TryExec field.
683 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
687 Enable dbus when available, do not require a configure
690 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
694 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
697 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
698 Marco Pesenti Gritti <mpg@redhat.com>
700 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
702 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
703 functions to the format required by dbus
705 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
706 errors. Use the RPC parameters in the expected way
708 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
711 * properties/Makefile.am:
712 * properties/ev-properties-main.c: (ev_properties_get_pages):
714 Support all mime types
717 * thumbnailer/Makefile.am:
718 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
719 (evince_thumbnail_pngenc_get):
721 Use the document factory
723 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
725 * backend/Makefile.am:
726 * backend/ev-document-factory.c:
727 (mime_type_supported_by_gdk_pixbuf),
728 (ev_document_type_get_from_mime),
729 (ev_document_factory_get_document),
730 (ev_document_factory_get_backend),
731 (ev_document_factory_get_mime_types),
732 (ev_document_factory_get_all_mime_types):
733 * backend/ev-document-factory.h:
735 * shell/ev-document-types.c: (get_document_from_uri),
736 (ev_document_types_get_document),
737 (file_filter_add_mime_list_and_free),
738 (ev_document_types_add_filters):
739 * shell/ev-document-types.h:
740 * shell/ev-job-xfer.c: (ev_job_xfer_run):
741 * shell/ev-properties-dialog.c:
742 (ev_properties_dialog_set_document):
743 * shell/ev-window.c: (ev_window_cmd_file_open),
744 (ev_window_cmd_save_as):
745 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
747 Rework document types managing to avoid code duplication
748 and actually abstract from backend implementations.
749 Also provide a minimal factory api that can be used by
750 thumbnailer/properties.
752 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
754 * properties/ev-properties-view.c: (ev_properties_view_set_info):
756 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
759 2005-07-04 Matthew S. Wilson <msw@rpath.com>
761 * shell/ev-properties-dialog.c
762 (ev_properties_dialog_set_document): only call
763 ev_properties_fonts_set_document() if the document implements the
766 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
769 * properties/Makefile.am:
770 * properties/ev-properties-view.c:
771 (ev_properties_view_register_type):
772 * properties/ev-properties-view.h:
773 * properties/ev-properties-main.h:
775 Implement nautilus plugin for properties.
776 Works only for pdf atm, I need to rework the
777 document types stuff to get this to work
780 2005-07-04 Martin Kretzschmar <martink@gnome.org>
782 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
783 (ev_properties_fonts_set_document): use
784 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
786 2005-07-04 Matthew S. Wilson <msw@rpath.com>
788 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
790 (PlaceImage, tiff2ps_process_page): use
791 g_ascii_dtostr to convert floats to strings in a locale-safe way.
794 2005-07-04 Martin Kretzschmar <martink@gnome.org>
796 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
797 (main): to call gnome_authentication_manager_init. Should fix
800 * configure.ac: that requires libgnomeui 2.6.0.
802 2005-07-04 Matthew S. Wilson <msw@rpath.com>
804 * tiff/tiff-document.c (tiff_document_ps_export_begin)
805 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
806 use the new tiff2ps interfaces
808 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
809 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
811 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
812 structure instead of global variables. Remove use of static
813 variables in functions.
815 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
817 * shell/ev-page-action.c: unref the completion after setting it to the
820 2005-07-04 Matthew S. Wilson <msw@rpath.com>
822 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
825 2005-07-04 Matthew S. Wilson <msw@rpath.com>
827 * shell/ev-window.c (update_action_sensitivity): disable
828 File->Print if the document does not implement the ps exporter
831 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
835 * data/evince-properties.glade:
836 * properties/.cvsignore:
837 * properties/Makefile.am:
838 * properties/ev-properties-view.c: (ev_properties_view_dispose),
839 (ev_properties_view_class_init), (ev_properties_view_format_date),
840 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
841 (ev_properties_view_init), (ev_properties_view_new):
842 * properties/ev-properties-view.h:
844 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
845 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
846 (ev_properties_dialog_new):
847 * shell/ev-properties-dialog.h:
848 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
849 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
850 (update_progress_label), (job_fonts_finished_cb),
851 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
852 * shell/ev-properties-fonts.h:
853 * shell/ev-properties.c:
854 * shell/ev-properties.h:
855 * shell/ev-window.c: (ev_window_setup_document),
856 (ev_window_cmd_file_properties):
858 Split the properties pages in two different objects, depend
859 only on the backend where possible, use widgets instead
860 of gobject for the glade part, reimplement the dialog
862 I need this to implement nautilus properties page.
864 2005-07-03 Matthew S. Wilson <msw@rpath.com>
866 * tiff/tiff-document.c (tiff_document_ps_export_begin)
867 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
868 (tiff_document_document_ps_exporter_iface_init): implement the ps
869 exporter interface for tiff documents
871 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
872 libtiff to implement TIFF postscript export
874 * tiff/tiff2ps.h: added a header file for external tiff2ps
877 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
880 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
882 * shell/ev-view.c: (scroll_to_current_page),
883 (ev_view_set_fullscreen), (ev_view_set_presentation):
885 Scroll to current page when exit from presentation
887 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
889 * shell/ev-window.c: (update_document_mode),
890 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
891 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
892 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
894 Exit from fullscreen mode when switch to presentation. Fix for
897 2005-07-02 Matthew S. Wilson <msw@rpath.com>
899 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
900 return NULL if the document does not implement the selection
903 2005-07-02 Matthew S. Wilson <msw@rpath.com>
905 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
906 reported height by using the resolution aspect ratio
907 (tiff_document_render_pixbuf): scale the pixbuf using the
908 resolution aspect ratio
910 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
914 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
915 <kiltedaco@gmail.com>
917 * djvu/djvu-document.c: (djvu_document_get_orientation),
918 (djvu_document_set_orientation), (djvu_document_get_page_size),
919 (rotate_pixbuf), (djvu_document_render_pixbuf),
920 (djvu_document_document_iface_init):
921 * dvi/dvi-document.c: (dvi_document_get_orientation),
922 (dvi_document_set_orientation), (dvi_document_get_page_size),
923 (rotate_pixbuf), (dvi_document_render_pixbuf),
924 (dvi_document_document_iface_init):
926 Dvi and djvu backends are ported to new API
928 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
930 * backend/ev-selection.c: (ev_selection_get_selection_region),
931 (ev_selection_get_selection_map):
932 * backend/ev-selection.h:
934 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
936 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
937 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
938 (ev_pixbuf_cache_get_text_mapping):
939 * shell/ev-pixbuf-cache.h:
940 * shell/ev-view.c: (location_in_text),
941 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
942 support to EvView. Now we can see where we can select! Sweet!
944 2005-06-30 Kristian Høgsberg <krh@redhat.com>
946 * shell/ev-view.c (ev_view_button_press_event): Fix
947 event->y + view->scroll_x typo.
949 2005-06-30 Kristian Høgsberg <krh@redhat.com>
951 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
952 sub-GdkPixbuf instead of passing dest_x and dest_y.
954 * shell/ev-view.c: (view_point_to_doc_point),
955 (view_rect_to_doc_rect), (ev_view_button_press_event),
956 (ev_view_motion_notify_event), (compute_new_selection_rect),
957 (gdk_rectangle_point_in), (compute_new_selection_text),
958 (compute_selections): Update selection code to keep the selection
959 around as two points and not as a normalized rectangle, and fix
960 page level selection in two-column mode.
962 2005-06-30 Alex Duggan <aldug@astrolinux.com>
964 * shell/ev-window.c: (window_configure_event_cb):
968 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
974 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
977 * shell/ev-metadata-manager.c: (item_free),
978 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
979 (parse_value), (parseItem), (load_values),
980 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
981 (save_values), (save_item), (get_oldest), (resize_items),
982 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
983 * shell/ev-metadata-manager.h:
985 Metadata manager from gedit but modified to use GValue, so that
986 we dont need to keep converting from strings.
990 ENABLE_METADATA conditional, on when dbus is on
992 * shell/ev-application.c: (ev_application_open_uri):
994 Show the window after load so that we can initialize
995 window size before it's showed.
997 * shell/ev-window.c: (ev_window_setup_from_metadata),
998 (ev_window_open_uri), (window_configure_event_cb),
1001 Save and load metadata information about window size.
1002 Not yet keeping states in account.
1004 * shell/main.c: (main):
1006 Shutdown metadata manager.
1008 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1010 * shell/ev-application-service.xml:
1012 * shell/Makefile.am:
1013 * shell/ev-application.c:
1014 * shell/ev-application.h:
1015 * shell/ev-window.c:
1016 * shell/ev-window.h:
1019 Add an optional dbus interface (--enable-dbus).
1020 Rework application code, mainly to be easier to
1022 Do not open multiple windows with the same document,
1025 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1027 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1028 pixbuf iff it exists.
1030 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1033 * backend/ev-render-context.[ch]:
1034 * backend/ev-selection.[ch]:
1036 Massive changes. We now support text selection of pdfs, and not
1037 just rectangular selection. This is pretty broken still, but I
1038 want to get something into CVS.
1040 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1042 * pdf/ev-poppler.cc:
1044 Fix for Bug 309080: crash on window close.
1046 * shell/ev-page-action.c: (page_changed_cb):
1048 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1049 jensgr@gmx.net (Jens Granseuer).
1051 2005-06-25 Marcel Telka <marcel@telka.sk>
1053 * configure.in (ALL_LINGUAS): Added sk.
1055 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1057 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1060 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1067 * cut-n-paste/recent-files/Makefile.am:
1071 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1073 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1074 (pixbuf_document_set_orientation), (rotate_pixbuf),
1075 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1076 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1078 Implement rotation and cleanup the code a bit.
1080 * tiff/tiff-document.c: (tiff_document_get_page_size),
1081 (tiff_document_get_orientation), (tiff_document_set_orientation),
1082 (rotate_pixbuf), (tiff_document_render_pixbuf),
1083 (tiff_document_document_iface_init), (tiff_document_init):
1085 Implement rotation. Was the quicker solution for the release
1086 but we really need to share this code in the shell.
1088 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1090 * pdf/ev-poppler.cc:
1092 Enable rotation, require poppler cvs. Fix a leak.
1094 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1096 * shell/ev-window.c: (update_action_sensitivity):
1098 Make properties unsensitive if document backend doesn't provide
1101 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1103 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1104 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1105 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1106 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1107 (bitmap_flip_rotate_counter_clockwise):
1108 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1109 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1111 * dvi/mdvi-lib/common.h:
1112 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1113 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1114 (opendvi), (mdvi_reload), (mdvi_init_context),
1115 (mdvi_destroy_context), (mdvi_dopage), (special):
1116 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1117 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1118 (file_hash_free), (register_encoding), (parse_spec),
1119 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1120 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1121 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1122 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1123 (mdvi_register_font_type), (mdvi_unregister_font_type),
1124 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1125 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1126 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1127 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1128 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1129 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1130 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1131 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1132 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1133 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1134 (mdvi_unregister_special), (mdvi_flush_specials):
1135 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1137 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1138 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1139 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1140 (free_font_metrics), (flush_font_metrics):
1141 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1143 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1144 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1145 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1146 (dstring_insert), (dstring_new), (dstring_reset):
1147 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1149 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1150 avoid conflict with libtool on FC4
1152 * shell/ev-window.c: (ev_window_cmd_help_about):
1154 Update copyright year. Fix for bug 308828.
1156 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1158 * shell/ev-view.c: (add_scroll_binding_keypad),
1159 (ev_view_binding_activated), (ev_view_class_init),
1160 (on_adjustment_value_changed):
1162 Bug 170874: Arrow keys switch pages in presentation mode
1164 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1166 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1168 Fix for Bug 308265: Sidebar dissappears coming out of
1171 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1173 * shell/ev-application.c: (ev_application_open):
1174 * shell/ev-document-types.c: (ev_document_types_add_filters),
1175 (ev_document_types_add_filters_for_type):
1176 * shell/ev-document-types.h:
1177 * shell/ev-window.c: (ev_window_cmd_save_as):
1179 Suggest basename as template when saving, provide filters
1180 for save dialog. It's bug 308402
1182 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1184 * pdf/ev-poppler.cc:
1185 * shell/ev-sidebar-links.c: (job_finished_callback):
1186 * shell/ev-view.c: (update_find_status_message):
1190 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1192 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1193 (egg_recent_view_uimanager_set_list):
1195 Fix buglet in !show_numbers case.
1197 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1199 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1200 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1202 Use pango ellipsisation.
1204 * pdf/ev-poppler.cc:
1206 Fix refcount leak, from nsh.
1208 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1210 * cut-n-paste/recent-files/Makefile.am:
1211 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1212 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1214 Removed EggRecentViewGtk
1216 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1217 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1218 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1219 (ev_window_setup_recent):
1221 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1224 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1226 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1227 (egg_recent_view_gtk_finalize):
1231 * cut-n-paste/toolbar-editor/Makefile.am:
1233 Fix location of cursor icon.
1235 * pdf/ev-poppler.cc:
1236 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1237 (display_completion_text), (match_completion):
1238 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1239 (selection_changed_callback), (create_loading_model),
1240 (print_section_cb), (links_page_num_func),
1241 (update_page_callback_foreach):
1242 * shell/ev-window.c: (ev_window_dispose):
1244 Small memory fixes. Links model now store objects instead
1245 of pointers to improve memory management.
1247 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1249 * shell/ev-window.c: (zoom_control_changed_cb):
1251 Fix update of zoom control (bug 308268).
1253 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1255 * shell/ev-properties.c (set_property): escape the text correctly.
1256 Handles non-UTF-8 properties and escaped properties. Also, sets
1257 the text to "<i>None</i>" if the property isn't set.
1259 * data/evince-properties.glade: Change the label to be ellipsized,
1260 and give it a minimum size.
1262 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1264 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1265 * shell/ev-sidebar-links.c: (create_loading_model):
1266 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1267 * shell/ev-view.c: (ev_view_set_document):
1268 * shell/ev-window.c: (ev_window_dispose):
1270 Various small fixes, mostly memory leaks. Thanks to valgrind.
1272 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1274 * ps/ps-document.c: remove the locale.h include again ;-). And
1275 kill the (bogus) setlocale/savelocale business.
1277 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1281 Include locale.h to fix build
1283 * shell/ev-sidebar.c:
1285 Remove unnecessary includes
1287 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1289 * dvi/dvi-document.c: (dvi_document_load):
1290 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1293 Check for incorrect dvi files. Fix parsing dvi on AMD64
1294 platform. Thanks to tester@tester.ca (Olivier Crete).
1296 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1298 * shell/ev-page-action.c: (match_selected_cb),
1299 (display_completion_text), (match_completion), (update_model):
1300 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1301 (expand_open_links):
1302 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1303 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1304 (ev_sidebar_set_document):
1305 * shell/ev-window.c: (ev_window_xfer_job_cb),
1306 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1308 Fixed lot's of memory leaks, for example, memory leak on reload,
1309 described in bug 307793.
1311 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1313 * pdf/ev-poppler.cc:
1314 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1315 (update_visible_range), (adjustment_changed_cb),
1316 (ev_sidebar_thumbnails_fill_model),
1317 (ev_sidebar_thumbnails_refresh),
1318 (ev_sidebar_tree_selection_changed),
1319 (ev_sidebar_icon_selection_changed),
1320 (ev_sidebar_thumbnails_use_icon_view),
1321 (ev_sidebar_thumbnails_set_document):
1322 * shell/ev-sidebar-thumbnails.h:
1323 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1324 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1326 Refresh thumbnails when changing orientation. Not fully
1327 working yet becuase of a sidebar bug.
1329 Set page orientation to poppler page everywhere. This sucks
1330 really need to fix poppler.
1332 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1334 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1335 (egg_recent_view_gtk_new_menu_item),
1336 (egg_recent_view_gtk_set_property),
1337 (egg_recent_view_gtk_get_property),
1338 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1339 (egg_recent_view_gtk_set_tooltip_func),
1340 (egg_recent_view_gtk_set_label_width),
1341 (egg_recent_view_gtk_get_label_width):
1342 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1344 Sync with libegg (ellipsize labels)
1346 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1348 * data/evince-ui.xml:
1349 * shell/ev-window.c: (ev_window_cmd_go_forward),
1350 (ev_window_cmd_go_backward):
1352 Shift + PageUp moves 10 Pages. Fix for 306125
1354 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1356 * pdf/ev-poppler.cc:
1358 Add a flag to check if orientation has been overriden
1360 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1362 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1365 * ps/ps.h: add creator field to document.
1367 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1370 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1372 * data/evince-properties.glade:
1373 * shell/ev-properties.c: (ev_properties_set_document):
1375 s/PDF Version/Format
1377 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1379 * shell/ev-properties.c: (ev_properties_set_document):
1381 Remove unnecessary translations
1383 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1385 * cut-n-paste/toolbar-editor/Makefile.am:
1387 Correct library name
1389 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1392 * cut-n-paste/recent-files/egg-recent-model.c:
1393 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1394 (egg_recent_model_unlock_file):
1395 * cut-n-paste/recent-files/egg-recent-util.c:
1396 (egg_recent_util_get_unique_id):
1397 * cut-n-paste/recent-files/update-from-egg.sh:
1398 * cut-n-paste/toolbar-editor/Makefile.am:
1399 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1400 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1401 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1402 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1403 (egg_toolbars_model_get_type):
1404 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1406 Better makefile for toolbar editor and update everything
1409 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1411 * shell/ev-window.c: (update_document_mode):
1413 Prefer presentation mode when the document
1416 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1418 * data/evince-ui.xml:
1419 * shell/ev-window.c:
1421 Add control-equal for zooming
1423 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1425 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1427 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1429 * backend/ev-document.c: (ev_document_get_orientation):
1430 * backend/ev-document.h:
1431 * pdf/ev-poppler.cc:
1432 * ps/ps-document.c: (ps_document_get_orientation),
1433 (ps_document_set_orientation), (ps_document_document_iface_init):
1435 Add a get_orientation api. Improve set_orientation.
1437 * data/evince-ui.xml:
1438 * shell/ev-view.c: (ev_view_set_orientation),
1439 (ev_view_rotate_right), (ev_view_rotate_left):
1441 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1442 (ev_window_cmd_edit_rotate_right):
1444 Better ui for changing document orientation
1446 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1448 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1449 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1450 * shell/ev-sidebar-links.h:
1451 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1452 (ev_sidebar_page_iface_init):
1453 * shell/ev-sidebar-page.h:
1454 * shell/ev-sidebar-thumbnails.c:
1455 (ev_sidebar_thumbnails_get_property),
1456 (ev_sidebar_thumbnails_class_init),
1457 (ev_sidebar_thumbnails_set_document):
1458 * shell/ev-sidebar-thumbnails.h:
1459 * shell/ev-view.c: (ev_view_motion_notify_event):
1460 * shell/ev-window.c: (update_chrome_visibility),
1461 (ev_window_cmd_focus_page_selector),
1462 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1463 (sidebar_page_main_widget_update_cb), (ev_window_init):
1465 Autoraise toolbar on GoToPage binding and fix bindings in
1466 EvSidebarThumbnails page.
1468 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1470 * shell/ev-properties.c: (update_progress_label):
1472 Hide the progress label when finished; bug #307697.
1474 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1476 * pdf/ev-poppler.cc:
1478 Enable is_open for links, you will need poppler cvs
1480 * shell/ev-properties.c: (job_fonts_finished_cb):
1482 Get a lock on the document when filling the tree view
1484 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1486 * backend/ev-document-links.h:
1487 * pdf/ev-poppler.cc:
1488 * shell/ev-sidebar-links.c: (create_loading_model),
1489 (expand_open_links), (job_finished_callback):
1491 Expand links when specified by the document.
1492 Depend on a poppler api (defined out for now)
1494 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1496 * shell/ev-properties.c: (ev_properties_dispose),
1497 (ev_properties_class_init), (dialog_destroy_cb),
1498 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1499 (ev_properties_set_document), (ev_properties_new),
1500 (ev_properties_show):
1501 * shell/ev-properties.h:
1503 Make it an object, cleanup the code, api to show it as transient
1504 and to set the document.
1506 * shell/ev-window.c: (ev_window_setup_document),
1507 (ev_window_cmd_file_properties):
1509 Adapt to EvProperties changes, do not show multiple
1510 times, update it when document changes.
1512 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1515 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1516 (ps_document_set_orientation), (ps_document_document_iface_init):
1519 Implement orientation here too
1521 * shell/ev-properties.c: (ev_properties_new):
1522 * data/evince-properties.glade:
1524 Hide the fonts page for backends that doesnt
1527 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1529 * backend/ev-document.c: (ev_document_set_orientation):
1530 * backend/ev-document.h:
1531 * pdf/ev-poppler.cc:
1533 Add orientation api. Currently poppler api is not optimal,
1534 we need to set orientation every time we _get a page.
1535 I will try to fix that at some point.
1537 * data/evince-ui.xml:
1538 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1539 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1541 Add orientation menu items
1543 * shell/ev-page-cache.c: (ev_page_cache_clear):
1544 * shell/ev-page-cache.h:
1546 Add api to clear the cache
1548 * shell/ev-view.c: (setup_caches), (clear_caches),
1549 (ev_view_set_document), (ev_view_zoom_out),
1550 (ev_view_set_orientation):
1553 Implement orientation changing
1555 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1557 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1558 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1559 * backend/ev-document-fonts.h:
1561 Separate scan and fill so that we can incrementally fill from
1562 the main thread. Add a progress api.
1564 * data/evince-properties.glade:
1565 * pdf/ev-poppler.cc:
1566 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1568 * shell/ev-properties.c: (update_progress_label),
1569 (job_fonts_finished_cb), (setup_fonts_view):
1571 Incrementally feel the list and show the progress
1572 percentage in a label like acrobat does.
1574 You are going to need poppler cvs
1576 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1578 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1579 * backend/ev-document-fonts.h:
1580 * pdf/ev-poppler.cc:
1582 Make fonts model fill incrementally.
1584 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1585 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1586 (ev_job_queue_remove_job):
1587 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1588 (ev_job_fonts_new), (ev_job_fonts_run):
1591 New job for fonts scanning
1593 * shell/ev-properties.c: (job_fonts_finished_cb),
1594 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1595 * shell/ev-properties.h:
1596 * shell/ev-window.c: (ev_window_cmd_file_properties):
1598 Incrementally feel the treeview using the new job. Show Loading...
1599 message until scanning is completed.
1601 Hopefully I didnt break the build without the poppler patch.
1603 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1605 * shell/ev-application.c: (ev_application_open):
1606 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1607 (ev_document_type_get_type), (ev_document_type_lookup):
1608 * shell/ev-document-types.h:
1609 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1610 * shell/ev-job-xfer.h:
1611 * shell/ev-window.c: (ev_window_clear_local_uri),
1612 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1613 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1614 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1616 Transfer remote documents to tmp directory to display them later.
1618 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1620 * backend/ev-document-info.h:
1621 * shell/ev-properties.c: (ev_properties_new):
1623 s/GTime*/GTime. Not sure why we was using a pointer
1626 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1628 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1629 situations. That situation is that you're using GTK+-HEAD with
1630 the patch at #306726 is applied, and you have a document with <
1631 1500 pages in it. It's not quite as uniformly nice as the
1632 TreeView, but should be better in the long run.
1634 I'm pretty sure I guarded against breaking compilation with
1635 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1638 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1639 widget yet, so I commented that code out
1640 enable_view_actions_for_widget() for now. Need to figure this
1643 * shell/ev-page-action.c (match_selected_cb): emit the right
1644 signals. Our cool C-l completion now works.
1646 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1648 * backend/Makefile.am:
1649 * backend/ev-document-fonts.c:
1650 * backend/ev-document-links.c:
1651 * backend/ev-document.c: (ev_document_load):
1652 * backend/ev-document.h:
1653 * backend/ev-job-queue.c:
1654 * backend/ev-job-queue.h:
1655 * backend/ev-jobs.c:
1656 * backend/ev-jobs.h:
1657 * backend/ev-page-cache.c:
1658 * backend/ev-page-cache.h:
1660 EvPageCache and EvJobs are moved to shell.
1662 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1664 * lib/ev-file-helpers.h:
1666 New helper to work with temporary files
1668 * shell/Makefile.am:
1669 * shell/ev-application.c: (ev_application_open):
1670 * shell/ev-application.h:
1671 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1672 (remove_job_from_async_queue), (add_job_to_async_queue),
1673 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1674 (handle_job), (search_for_jobs_unlocked),
1675 (no_jobs_available_unlocked), (ev_render_thread),
1676 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1677 (ev_job_queue_add_job), (move_job_async), (move_job),
1678 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1679 * shell/ev-job-queue.h:
1680 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1681 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1682 * shell/ev-job-xfer.h:
1683 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1684 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1685 (ev_job_links_class_init), (ev_job_render_init),
1686 (ev_job_render_dispose), (ev_job_render_class_init),
1687 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1688 (ev_job_thumbnail_class_init), (ev_job_load_init),
1689 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1690 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1691 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1692 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1694 * shell/ev-page-action.c: (ev_page_action_set_document):
1695 * shell/ev-page-cache.c: (ev_page_cache_init),
1696 (ev_page_cache_class_init), (ev_page_cache_finalize),
1697 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1698 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1699 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1700 (ev_page_cache_get_title), (ev_page_cache_get_size),
1701 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1702 (ev_page_cache_get_height_to_page),
1703 (ev_page_cache_get_max_label_chars),
1704 (ev_page_cache_get_page_label),
1705 (ev_page_cache_has_nonnumeric_page_labels),
1706 (ev_page_cache_get_info), (ev_page_cache_next_page),
1707 (ev_page_cache_prev_page), (ev_page_cache_get):
1708 * shell/ev-page-cache.h:
1709 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1710 (ev_pixbuf_cache_clear_job_sizes),
1711 (ev_pixbuf_cache_add_jobs_if_needed),
1712 (ev_pixbuf_cache_set_page_range):
1713 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1714 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1715 * shell/ev-sidebar-thumbnails.c:
1716 (ev_sidebar_tree_selection_changed),
1717 (ev_sidebar_thumbnails_set_document):
1718 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1719 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1720 (ev_statusbar_get_context_id), (ev_statusbar_push),
1721 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1722 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1723 (ev_statusbar_set_progress):
1724 * shell/ev-statusbar.h:
1725 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1726 (ev_view_find_previous):
1727 * shell/ev-window.c: (ev_window_is_empty),
1728 (ev_window_setup_document), (password_dialog_response),
1729 (ev_window_clear_jobs), (ev_window_load_job_cb),
1730 (ev_window_xfer_job_cb), (ev_window_open_uri),
1731 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1732 (ev_window_print), (ev_window_print_range),
1733 (ev_window_state_event), (ev_window_cmd_view_reload),
1734 (menu_item_select_cb), (menu_item_deselect_cb),
1735 (view_status_changed_cb), (ev_window_dispose),
1736 (drag_data_received_cb), (ev_window_init):
1737 * shell/ev-window.h:
1738 * shell/main.c: (load_files):
1740 New statusbar to show progress on idle. Two new jobs -
1741 xfer job and load job to load document in background. And update
1742 of page_cache clients to new location of code.
1744 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1746 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1747 selection in open dialog. It also remembers the last visited directory
1748 in the current session.
1750 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1752 * shell/ev-properties.c: (ev_properties_new):
1753 * shell/ev-properties.h:
1754 * shell/ev-window.c: (ev_window_cmd_file_properties):
1756 Get document info from page cache instead of document itself.
1757 This should fix crash related to race conditions described in
1760 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1762 * ps/ps-document.c: (ps_document_init),
1763 (send_ps), (get_page_box), (output), (catchPipe), (input),
1764 (stop_interpreter), (file_length), (file_readable),
1765 (check_filecompressedb), (ps_document_enable_interpreter),
1766 (document_load), (ps_async_renderer_render_pixbuf):
1769 Big cleanup of the ps code
1771 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1773 * backend/Makefile.am:
1774 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1775 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1776 * backend/ev-async-renderer.h:
1778 Add an async renderer interface (method + callback) which
1779 is useful for backends like ps.
1781 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1782 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1783 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1784 (ev_job_queue_add_job), (move_job_async), (move_job),
1785 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1787 Add queues for async renderer, these are executed on the
1790 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1791 (ev_job_render_run):
1792 * backend/ev-jobs.h:
1794 If the backend support async renderer interface use it.
1796 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1797 (setup_pixmap), (ps_document_get_type),
1798 (ps_async_renderer_render_pixbuf),
1799 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1801 Implement async renderer interface.
1803 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1805 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1807 Cleanup links job on exit.
1809 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1811 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1812 (drag_data_get_cb), (drag_data_received_cb):
1813 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1814 (drag_data_get_cb), (parse_item_list),
1815 (egg_toolbar_editor_load_actions):
1816 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1817 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1818 (parse_item_list), (parse_toolbars):
1819 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1820 (dvi_pixbuf_put_pixel):
1822 Fix gcc 4.0 warnings
1824 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1826 * ps/ps-document.c: (start_interpreter):
1828 Fix warning when loading ps
1830 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1832 * ps/ps-document.c: (output):
1834 Fix crash when priting gs error messages.
1836 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1838 * backend/ev-page-cache.c: (_ev_page_cache_new):
1839 * backend/ev-page-cache.h:
1841 Use a const to return title so that we dont double
1842 free it. Small cleanup and fix a leak.
1844 * shell/ev-window.c: (update_window_title):
1846 strdup value from get_title.
1848 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1850 * shell/ev-sidebar-links.c: (job_finished_callback),
1851 (ev_sidebar_links_set_document):
1853 Cleanup the old job when changing document
1855 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1857 * shell/ev-stock-icons.c:
1858 * shell/ev-stock-icons.h:
1859 * shell/ev-window.c:
1861 Add stock icons for actions that can appear in toolbar. Fix for
1864 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1866 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1867 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1868 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1869 * backend/ev-page-cache.h:
1870 * shell/ev-view.c: (scroll_to_current_page),
1871 (view_update_range_and_current_page), (get_page_y_offset),
1872 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1873 (ev_view_size_request_continuous),
1874 (ev_view_zoom_for_size_continuous_and_dual_page),
1875 (ev_view_zoom_for_size_continuous):
1877 More compact EvView layout in document with pages of different size.
1879 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1881 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1884 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1886 * shell/ev-view.c: (view_set_adjustment_values):
1887 * shell/ev-window.c: (ev_window_cmd_file_properties):
1889 A bit different fix for rounding problem but it has no
1890 problems on startup. Make properties window transient to parent.
1892 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1894 * pdf/ev-poppler.cc:
1896 More commenting of font stuff.
1898 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1900 * pdf/ev-poppler.cc:
1902 Comment out some more fonts stuff. Should really
1903 work without the poppler patch now.
1905 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1907 * pdf/ev-poppler.cc:
1911 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1913 * data/evince-properties.glade:
1914 * pdf/ev-poppler.cc:
1915 * shell/ev-properties.c: (setup_fonts_view):
1917 Set the column title. Show the dialog only
1918 once everything is setup.
1919 Getting font info can be very slow... will
1920 prolly need to make this threaded too.
1922 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1924 * backend/Makefile.am:
1925 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1926 (ev_document_fonts_get_fonts_model):
1927 * backend/ev-document-fonts.h:
1928 * data/evince-properties.glade:
1929 * pdf/ev-poppler.cc:
1930 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1931 * shell/ev-properties.h:
1932 * shell/ev-window.c: (ev_window_cmd_file_properties):
1934 Implement fonts list. Defined out for now, since it depends
1935 on a not yet committed poppler patch.
1937 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1939 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1942 * shell/ev-window.c: Make sure we add the timeout when we get a
1945 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1946 adjustment->value before calculating the zoom factor to average
1947 out all of our rounding errors. The page no longer 'drifts' when
1950 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1952 * data/evince-properties.glade:
1953 * shell/ev-properties.c: (ev_properties_format_date),
1956 Labels don't expand when the dialogue is resized.
1957 strftime result needs to be converted to UTF-8. Thanks
1958 to Christian Persch <chpe@gnome.org>.
1960 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1962 * data/evince-properties.glade:
1966 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1968 * backend/ev-document-info.h:
1969 * backend/ev-document.c: (ev_document_info_free):
1970 * data/evince-properties.glade:
1971 * pdf/ev-poppler.cc:
1972 * ps/ps-document.c: (ps_document_get_info):
1973 * shell/ev-properties.c: (ev_properties_format_date),
1974 (set_property), (ev_properties_new):
1975 * shell/ev-properties.h:
1976 * shell/ev-window.c: (ev_window_cmd_file_properties):
1978 Rework properties code to take only EvPropertyInfo
1979 in the constructor so that it can be useful for
1980 nautilus plugin too.
1982 Deal with backends that doesnt support some properties.
1983 Make set property code generic.
1985 2005-06-04 Christian Persch <chpe@gnome.org>
1987 * data/evince-properties.glade:
1989 fix spacings, make resizeable, and make data labels
1990 selectable + ellipsised
1992 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1994 * backend/ev-document-info.h:
1996 * data/evince-ui.xml:
1997 * pdf/ev-poppler.cc:
1998 * shell/Makefile.am:
1999 * shell/ev-window.c: (update_action_sensitivity),
2000 (ev_window_cmd_file_properties):
2002 Initial go at file properties. Patch by
2003 Emil Soleyman-Zomalan <emil@soleyman.com>.
2004 Needs love see #169583
2006 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2008 * ps/ps-document.c: (output):
2009 * ps/ps.c: (psscan):
2011 Try to render even if psscan fails.
2013 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2015 * ps/ps.c: (psscan), (pscopydoc):
2017 Port buffered reading code from gv
2019 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2021 * ps/ps-document.c: (interpreter_message), (output):
2023 Do not fail on interpreter messages
2025 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2027 * backend/ev-document-misc.c:
2028 (ev_document_misc_get_thumbnail_frame):
2030 Pages can be 0 x 0, dont assert on this case
2032 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2034 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2035 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2037 Correctly manage our reference on document. Finally the reload
2038 huge leak is gone...
2040 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2042 * ps/ps-document.c: (ps_document_dispose):
2044 Forgot to chain it to the parent. Thanks chpe.
2046 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2048 * ps/ps-document.c: (ps_document_dispose),
2049 (ps_document_class_init), (stop_interpreter), (document_load):
2051 Cleanup dispose a bit. Dont leak the whole pixmap.
2053 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2055 * pdf/ev-poppler.cc:
2057 Release the poppler document on dispose
2059 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2061 * shell/ev-view.c: (ev_view_set_document):
2063 Release ref on the pixbuf cache when changing
2066 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2068 * ps/ps-document.c: (ps_document_get_info):
2072 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2074 * backend/ev-page-cache.c: (ev_page_cache_init),
2075 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2076 * backend/ev-page-cache.h:
2077 * shell/ev-page-action.c: (page_changed_cb):
2079 Set page action entry width depending on labels width. Fix
2082 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2084 * backend/ev-link.c: (ev_link_class_init):
2086 Allow -1 as page value (error)
2088 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2090 * shell/ev-sidebar-thumbnails.c:
2091 (ev_sidebar_thumbnails_set_document):
2092 * shell/ev-view.c: (scroll_to_current_page),
2093 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2094 (page_changed_cb), (on_adjustment_value_changed),
2095 (ev_view_set_document):
2097 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2100 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2103 * djvu/djvu-document.c: (djvu_document_get_page_size):
2105 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2108 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2110 * shell/ev-view.c (draw_one_page): modify the expose handling to
2113 * shell/ev-window.c (update_action_sensitivity): Respect
2114 permissions field. Kowtow to the man.
2116 * pdf/ev-poppler.cc: Get the permissions field.
2118 * tiff/*c: Make a tiny bit more robust.
2120 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2122 * djvu/djvu-document.c:
2124 Pop messages from djvu context message queue.
2126 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2128 * configure.ac, Makefile.am, shell/Makefile.am:
2129 * tiff/Makefile.am, shell/ev-document-types.c:
2131 Cleanup tiff configure checks. Fix for bug 305218.
2133 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2135 * configure.ac: Added "uk" to ALL_LINGUAS.
2137 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2139 * cut-n-paste/zoom-control/ephy-zoom.c:
2140 (ephy_zoom_get_changed_zoom_level):
2141 * cut-n-paste/zoom-control/ephy-zoom.h:
2142 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2143 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2144 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2145 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2146 (zoom_control_changed_cb), (ev_window_init):
2148 Fix minor points related to moving best fit up. Introduce
2149 "zoom" property and make zoom control change it's value on
2150 notify::zoom signals. Fix for 305080.
2152 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2154 * data/evince-ui.xml:
2155 * shell/ev-window.c: (set_view_actions_sensitivity):
2157 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2159 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2163 Depends on poppler 0.3.2
2165 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2167 * cut-n-paste/recent-files/egg-recent-item.c:
2168 (egg_recent_item_get_short_name):
2169 * cut-n-paste/toolbar-editor/Makefile.am:
2170 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2171 (new_pixbuf_from_widget):
2172 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2173 * cut-n-paste/toolbar-editor/egg-marshal.c:
2174 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2175 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2179 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2181 * tiff/tiff-document.c: Rough TIFF backend.
2183 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2187 * cut-n-paste/toolbar-editor/Makefile.am:
2191 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2193 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2194 (ev_view_find_next), (ev_view_find_previous):
2196 Remove the locks around get_n_results
2198 2005-05-21 Juerg Billeter <j@bitron.ch>
2200 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2202 Pass correct number of pages to poppler.
2204 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2208 * data/evince.desktop.in:
2209 * data/evince.desktop.in.in:
2212 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2214 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2216 * shell/ev-view.c: (view_update_adjustments),
2217 (view_set_adjustment_values): cast adjustmen->value to (int)
2218 before using it. Otherwise, we get off by a pixel in some
2221 (draw_one_page): Draw the border on expose.
2223 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2225 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2226 adjustment when the mode changes, #304923
2228 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2230 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2231 flickering on resize but still use gdk_window_scroll on
2234 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2236 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2239 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2241 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2242 second page on page_changed if possible, #304669
2244 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2246 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2247 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2249 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2252 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2253 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2254 (ev_view_zoom_for_size_presentation),
2255 (ev_view_zoom_for_size_continuous_and_dual_page),
2256 (ev_view_zoom_for_size_continuous),
2257 (ev_view_zoom_for_size_dual_page),
2258 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2260 * shell/ev-window.c: (update_view_size),
2261 (ev_window_sizing_mode_changed_cb):
2263 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2264 the scrollbars. It's not 100% right, but it's much closer. Kills
2265 an infinite loop, #304769
2268 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2270 * data/evince-ui.xml:
2271 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2272 * shell/ev-window.c: (set_view_actions_sensitivity):
2274 Make PgUp/Down behave like Space
2276 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2278 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2279 * backend/ev-ps-exporter.h:
2280 * pdf/ev-poppler.cc:
2281 * ps/ps-document.c: (ps_document_ps_export_begin):
2282 * shell/ev-print-job.c: (idle_print_handler):
2284 Adapt to new poppler api
2286 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2288 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2289 (ephy_zoom_control_init):
2291 Translate zoom levels
2293 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2295 * cut-n-paste/zoom-control/ephy-zoom.c:
2296 (ephy_zoom_get_zoom_level_index):
2298 Fix current zoom -> zoom control match
2300 2005-05-18 James Bowes <bowes@cs.dal.ca>
2302 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2303 rather than the scrolled_window that it's in. Fixes bug #304655.
2305 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2307 * shell/ev-view.c: (view_update_adjustments),
2308 (view_set_adjustment_values), (view_update_range_and_current_page),
2309 (view_scroll_to_page), (set_scroll_adjustment),
2310 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2311 (ev_view_scroll), (ev_view_scroll_view),
2312 (ensure_rectangle_is_visible), (find_page_at_location),
2313 (get_link_at_location), (go_to_link), (status_message_from_link),
2314 (ev_view_size_request_continuous_dual_page),
2315 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2316 (ev_view_unrealize), (ev_view_expose_event),
2317 (ev_view_button_press_event), (ev_view_motion_notify_event),
2318 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2319 (draw_rubberband), (highlight_find_results), (draw_one_page),
2320 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2321 (ev_view_init), (find_changed_cb), (page_changed_cb),
2322 (on_adjustment_value_changed), (ev_view_new),
2323 (ev_view_set_document), (ev_view_set_zoom),
2324 (ev_view_set_continuous), (ev_view_set_dual_page),
2325 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2326 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2327 (ev_view_zoom_for_size_presentation),
2328 (ev_view_zoom_for_size_continuous_dual_page),
2329 (ev_view_zoom_for_size_continuous),
2330 (ev_view_zoom_for_size_dual_page),
2331 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2332 (ev_view_get_status), (ev_view_set_status),
2333 (update_find_status_message), (ev_view_get_find_status),
2334 (ev_view_set_find_status), (jump_to_find_result),
2335 (jump_to_find_page), (compute_selections), (clear_selection),
2336 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2337 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2338 (ev_view_update_primary_selection),
2339 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2341 * shell/ev-window.c: (ev_window_open_page_label),
2342 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2344 * shell/ev-window.h:
2345 * shell/main.c: (load_files):
2347 Massive code clean up from Nickolay Shmyrev. Keep page offset
2348 when resizing. Remove the bin_window(). Also, patch from James
2349 Bowes to fix command line page, #300641
2351 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2353 * data/evince-ui.xml:
2356 * shell/ev-window.c: (update_action_sensitivity):
2358 Get rid of View->Normal Size, it's just confusing
2360 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2362 * backend/ev-document-info.h:
2363 * backend/ev-document.c: (ev_document_info_free): Free the
2366 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2367 (clear_range), (add_range), (update_visible_range),
2368 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2369 (ev_sidebar_thumbnails_set_document):
2370 * shell/ev-window.c: (ev_window_setup_document): Only render the
2371 visible thumbnails. It takes an instant to render, but it uses
2374 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2376 * shell/ev-sidebar-links.c: (popup_menu_cb):
2380 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2383 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2384 (button_press_cb), (ev_sidebar_links_construct):
2386 Show the popup menu also on keybindings
2388 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2390 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2391 * shell/ev-window.h:
2393 Expose api to print a range (with dialog). Make private _print use
2396 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2397 (ev_sidebar_links_construct):
2399 Show a print context menu on linkx, it prints the selected
2402 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2404 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2407 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2413 * shell/ev-window.c: (build_comments_string),
2414 (ev_window_cmd_help_about):
2416 Show poppler version/backend and authors
2418 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2420 * cut-n-paste/zoom-control/ephy-zoom.c:
2421 (ephy_zoom_get_zoom_level_index):
2422 * cut-n-paste/zoom-control/ephy-zoom.h:
2424 Move the best fit items at the top of the list
2426 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2428 * shell/ev-marshal.list:
2429 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2430 (activate_cb), (match_selected_cb), (activate_link_cb),
2431 (connect_proxy), (ev_page_action_class_init):
2432 * shell/ev-page-action.h:
2434 Use signals to notify action activation. Hopefully
2435 I did not break completion since I cant test...
2437 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2438 (register_custom_actions):
2440 Connect to page selector actions and also grab focus on
2441 the view when activated.
2443 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2445 * pdf/ev-poppler.cc:
2446 * backend/ev-page-cache.c: make page size calculation consistent
2447 and set it to (int)( width * scale + 0.5). This makes the weird
2448 line going through the middle of the page go away.
2450 * shell/ev-view.c: move painting the background page after
2451 checking the expose area covers us.
2453 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2455 * data/evince-password.glade:
2457 Mark labels as not translatable. Fix for bug 302842.
2459 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2461 * configure.ac: Added "es" to ALL_LINGUAS.
2463 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2465 * data/evince-toolbar.xml:
2466 * shell/ev-window.c: (update_action_sensitivity),
2467 (ev_window_setup_document), (ev_window_set_page_mode),
2470 Remove some leftover code from jrb first continous
2471 attempt. Use the new actions, we still need good icons
2474 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2476 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2478 Update label when connecting proxy. Fix a warning with NULL
2481 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2483 * data/evince-ui.xml:
2484 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2485 * shell/ev-page-action.h:
2486 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2488 Add mnemonic for edit toolbar.
2489 ctrl+l focus the page entry.
2491 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2494 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2496 * shell/main.c: (main):
2498 Put the toolbar xml in evince own dot dir
2500 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2502 * shell/ev-window.c: (ev_window_init):
2504 Make the toolbar not removable
2506 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2508 * data/evince-ui.xml:
2509 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2510 * shell/ev-sidebar-links.h:
2511 * shell/ev-sidebar-thumbnails.c:
2512 (ev_sidebar_thumbnails_get_treeview):
2513 * shell/ev-sidebar-thumbnails.h:
2514 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2515 (ev_view_class_init):
2517 * shell/ev-window.c: (update_action_sensitivity),
2518 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2519 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2520 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2523 This is evil... Make space/backspace global accelerators but
2524 enable them only for some widgets (sidebars and view).
2525 I dont like it, but I dont know a better way... :/
2527 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2529 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2530 (ev_page_action_widget_finalize),
2531 (ev_page_action_widget_class_init), (update_page_cache):
2533 Keep a weak reference on proxy->page_cache so that we
2534 dont try to disconnect the signal if the object is already
2535 gone. Maybe there is a better way to cleanup reference handling
2536 in page action though...
2538 2005-05-10 Juerg Billeter <j@bitron.ch>
2540 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2541 * backend/ev-ps-exporter.h:
2542 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2543 * ps/ps-document.c: (ps_document_ps_export_begin):
2545 Change api to pass print range to ps_exporter_begin. The pdf backend
2546 requires this information.
2548 * shell/ev-print-job.c: (idle_print_handler):
2552 2005-05-10 Juerg Billeter <j@bitron.ch>
2554 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2555 (idle_print_handler)
2556 * shell/ev-window.c: (ev_window_print):
2558 Support printing page range, based on patch by Amaury Jacquot
2560 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2562 * data/evince-toolbar.xml:
2564 Add zoom control to available items
2566 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2568 * shell/ev-window.c: (update_action_sensitivity):
2570 Set slash action insensitive when appropriate
2572 2005-05-10 Christian Persch <chpe@gnome.org>
2574 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2576 Fix warning on the overflow menu
2578 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2580 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2582 Check for uri correctness/existence
2584 2005-05-09 Juerg Billeter <j@bitron.ch>
2586 * shell/ev-window.c: (using_postscript_printer):
2588 LPD printers use postscript, too
2590 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2592 * shell/ev-window.c: (register_custom_actions):
2594 The zoom one is actually sort of useful,
2597 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2599 * shell/ev-window.c: (register_custom_actions):
2601 Hide page/zoom controls from overflow, they
2604 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2606 * cut-n-paste/update-from-egg.sh:
2608 Share it between all cut-n-paste subdirs
2610 * cut-n-paste/recent-files/Makefile.am:
2612 Fix to use "global" update-from-egg.sh
2614 * cut-n-paste/recent-files/egg-recent-model.c:
2615 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2616 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2617 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2618 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2622 * cut-n-paste/toolbar-editor/Makefile.am:
2624 Fix to use "global" update-from-egg.sh
2626 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2630 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2633 * cut-n-paste/Makefile.am:
2634 * cut-n-paste/recent-files/Makefile.am:
2635 * cut-n-paste/toolbar-editor/.cvsignore:
2636 * cut-n-paste/toolbar-editor/Makefile.am:
2637 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2638 (egg_editable_toolbar_get_type), (get_toolbar_position),
2639 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2640 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2641 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2642 (set_item_drag_source), (create_item_from_action), (create_item),
2643 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2644 (popup_toolbar_context_menu_cb), (free_dragged_item),
2645 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2646 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2647 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2648 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2649 (item_added_cb), (item_removed_cb),
2650 (egg_editable_toolbar_construct),
2651 (egg_editable_toolbar_disconnect_model),
2652 (egg_editable_toolbar_deconstruct),
2653 (egg_editable_toolbar_set_model),
2654 (egg_editable_toolbar_set_ui_manager),
2655 (egg_editable_toolbar_set_property),
2656 (egg_editable_toolbar_get_property),
2657 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2658 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2659 (egg_editable_toolbar_new_with_model),
2660 (egg_editable_toolbar_get_edit_mode),
2661 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2662 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2663 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2664 (new_pixbuf_from_widget), (new_separator_pixbuf),
2665 (update_separator_image), (style_set_cb),
2666 (_egg_editable_toolbar_new_separator_image),
2667 (egg_editable_toolbar_get_model):
2668 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2669 * cut-n-paste/toolbar-editor/egg-marshal.c:
2670 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2671 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2672 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2673 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2674 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2675 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2676 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2677 (editor_drag_data_delete_cb), (drag_data_get_cb),
2678 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2679 (editor_create_item), (update_editor_sheet), (setup_editor),
2680 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2681 (parse_item_list), (model_has_action), (update_actions_list),
2682 (egg_toolbar_editor_load_actions):
2683 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2684 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2685 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2686 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2687 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2688 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2689 (egg_toolbars_model_add_separator), (impl_add_item),
2690 (parse_item_list), (egg_toolbars_model_add_toolbar),
2691 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2692 (impl_get_item_data), (impl_get_item_type),
2693 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2694 (egg_toolbars_model_init), (free_toolbar),
2695 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2696 (egg_toolbars_model_remove_toolbar),
2697 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2698 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2699 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2700 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2701 (egg_toolbars_model_get_item_data),
2702 (egg_toolbars_model_get_item_type):
2703 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2704 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2706 * data/evince-toolbar.xml:
2707 * data/evince-ui.xml:
2708 * data/hand-open.png:
2710 * shell/Makefile.am:
2711 * shell/ev-window.c: (update_chrome_visibility),
2712 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2713 (ev_window_dispose), (ev_window_init):
2715 Implement epiphany like toolbar editor. Based on patch by
2716 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2718 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2720 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2722 Use set_cursor instead of set_selection, so that
2723 the keyboard focus moves too.
2725 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2727 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2729 Fix infinite loop when loading Type1 fonts
2731 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2733 * data/evince-ui.xml:
2734 * shell/ev-window.c:
2738 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2742 Make --disable really disable
2744 2005-05-07 Juerg Billeter <j@bitron.ch>
2746 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2748 Compare page labels even without has_labels set, fixes setting page
2751 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2753 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2754 (ev_view_set_cursor), (ev_view_button_press_event),
2755 (ev_view_motion_notify_event), (ev_view_button_release_event),
2758 Implement middle button scrolling. Based on a patch
2759 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2761 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2763 * shell/ev-document-types.c: (get_slow_mime_type),
2764 (get_document_type_from_mime), (ev_document_type_lookup):
2765 * shell/ev-document-types.h:
2767 Change api to lookup from uri. Do fast lookup first, if the
2768 type is unknown try with data sniffing.
2770 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2771 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2775 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2777 * thumbnailer/Makefile.am:
2781 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2788 * data/evince-ui.xml:
2790 Hide presentation mode for now
2792 * shell/ev-view.c: (highlight_find_results):
2794 Show current find selection only on current page
2796 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2798 * shell/ev-view.c: (ev_view_select_all):
2800 Compute size of the actual page, not of
2803 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2805 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2806 (view_rect_to_doc_rect), (compute_selections),
2807 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2808 (ev_view_copy), (ev_view_primary_get_cb),
2809 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2810 (ev_view_button_press_event), (ev_view_motion_notify_event),
2811 (ev_view_button_release_event), (page_changed_cb):
2815 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2817 * shell/ev-view.c: (compute_border), (get_page_extents),
2818 (doc_rect_to_view_rect), (highlight_find_results),
2819 (ev_view_bin_expose), (ev_view_select_all),
2820 (ev_view_motion_notify_event), (update_find_status_message),
2821 (jump_to_find_result), (jump_to_find_page):
2823 First go at fixing search, still buggy
2825 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2827 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2828 dropdown box and button at the top of the sidebar.
2830 2005-05-02 James Bowes <bowes@cs.dal.ca>
2832 * configure.ac: Output zoom-control Makefile.
2833 * cut-n-paste/Makefile.am: build zoom-control subdir.
2834 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2835 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2836 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2837 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2838 * cut-n-paste/zoom-control/ephy-zoom.c:
2839 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2840 from epiphany, and modified to add a separator into the menu.
2841 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2842 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2843 zoom-control action.
2844 * shell/Makefile.am: Include zoom-control flags.
2845 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2846 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2847 (ev_view_zoom_for_size_presentation),
2848 (ev_view_zoom_for_size_continuous_and_dual_page),
2849 (ev_view_zoom_for_size_continuous),
2850 (ev_view_zoom_for_size_dual_page),
2851 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2852 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2853 ev_view_get_zoom and ev_view_get_sizing_mode.
2855 * shell/ev-window.c: (update_action_sensitivity),
2856 (update_sizing_buttons), (zoom_control_changed_cb),
2857 (register_custom_actions): Initialize and use the zoom-control
2860 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2862 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2863 preview cache back to 1. Don't know when it got set to 0.
2865 * shell/ev-view.c: (compute_border), (ev_view_realize),
2866 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2867 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2868 (ev_view_get_fullscreen), (ev_view_set_presentation),
2869 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2870 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2872 * shell/ev-window.c:
2873 (update_chrome_visibility),
2874 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2875 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2876 (update_document_mode), (ev_window_update_fullscreen_action),
2877 (ev_window_fullscreen), (ev_window_unfullscreen),
2878 (ev_window_cmd_view_fullscreen),
2879 (ev_window_update_presentation_action),
2880 (ev_window_run_presentation), (ev_window_stop_presentation),
2881 (ev_window_cmd_view_presentation), (ev_window_state_event),
2882 (ev_window_focus_in_event), (ev_window_focus_out_event),
2883 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2884 * data/evince-ui.xml: Initial presentation mode. We should
2885 probably hide this until it's done, as it's quite rough. Also,
2886 change full-screen to fullscreen and add two getters to EvView.
2888 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2890 * shell/ev-page-action.c: (update_page_cache),
2891 (ev_page_action_dispose):
2892 * shell/ev-window.c: (destroy_fullscreen_popup),
2893 (ev_window_create_fullscreen_popup):
2895 Use connect_object rather than explicitly
2896 disconnect on dispose.
2898 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2900 * shell/ev-page-action.c: (update_page_cache),
2901 (ev_page_action_dispose):
2903 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2905 * backend/ev-page-cache.c: (_ev_page_cache_new),
2906 (ev_page_cache_set_page_label),
2907 (ev_page_cache_has_nonnumeric_page_labels):
2908 * backend/ev-page-cache.h:
2909 * shell/ev-page-action.c: (update_pages_label):
2911 If all page labels are numeric, fallback to default
2912 way to display number of pages. See bug 173185.
2914 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2916 * shell/ev-page-action.c: (ev_page_action_dispose):
2917 * shell/ev-view.c: (view_update_range_and_current_page):
2918 * shell/ev-window.c: (ev_window_dispose):
2920 Set page on scroll in continuous mode. Fixes bug 301986.
2921 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2923 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2927 Require poppler 0.3.0
2929 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2931 * shell/Makefile.am, configure.ac: Fix build problems
2932 with t1lib. Bug 301996.
2934 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2936 * shell/ev-view.c: (ev_view_scroll_event):
2938 Scroll up increase zoom
2940 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2942 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2943 (ev_view_set_sizing_mode),
2944 (ev_view_zoom_for_size_continuous_and_dual_page),
2945 (ev_view_zoom_for_size_continuous):
2946 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2947 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2948 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2951 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2952 Fix for 165473 and 165472.
2954 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2957 * thumbnailer/Makefile.am:
2958 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2959 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2960 * thumbnailer/evince-thumbnailer.schemas.in:
2962 Make thumbnailer schemas translatable. Fix for bug 301773
2964 * thumbnailer/evince-thumbnailer-djvu.schemas:
2965 * thumbnailer/evince-thumbnailer-dvi.schemas:
2966 * thumbnailer/evince-thumbnailer.schemas:
2970 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2972 * shell/ev-view.c (ev_view_init): forgot to set this.
2974 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2976 * shell/ev-view.c: (find_page_at_location),
2977 (get_link_at_location),
2978 (ev_view_set_show_border), (ev_view_set_spacing),
2979 (ev_view_zoom_for_size_continuous_and_dual_page),
2980 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2981 Also, add a quick fix measuring of widths. Also, removed
2982 ev_view_set_spacing and ev_view_set_show_border.
2984 * shell/ev-window.c: (ev_window_unfullscreen),
2985 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2987 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2989 * shell/ev-view.c: (view_update_range_and_current_page),
2992 Fix crash on exit and scrolling to page in continuous view.
2994 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2997 * backend/ev-page-cache.c: (_ev_page_cache_new),
2998 (ev_page_cache_get_max_width_size),
2999 (ev_page_cache_get_max_height_size):
3000 * backend/ev-page-cache.h:
3001 * data/evince-ui.xml:
3002 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3003 * shell/ev-view.c: (view_update_adjustments),
3004 (view_update_range_and_current_page), (get_bounding_box_size),
3005 (ev_view_size_request_continuous_and_dual_page),
3006 (ev_view_size_request_continuous),
3007 (ev_view_size_request_dual_page),
3008 (ev_view_size_request_single_page), (ev_view_size_request),
3009 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3010 (ev_view_bin_expose), (ev_view_expose_event),
3011 (ev_view_set_property), (ev_view_get_property),
3012 (ev_view_class_init), (ev_view_init), (ev_view_new),
3013 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3014 (ev_view_set_dual_page), (ev_view_set_full_screen),
3015 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3016 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3017 (ev_view_zoom_out), (zoom_for_size_fit_width),
3018 (zoom_for_size_best_fit),
3019 (ev_view_zoom_for_size_continuous_and_dual_page),
3020 (ev_view_zoom_for_size_continuous),
3021 (ev_view_zoom_for_size_dual_page),
3022 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3023 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3025 * shell/ev-window.c: (update_action_sensitivity),
3026 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3027 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3028 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3029 (ev_window_cmd_view_zoom_out), (update_view_size),
3030 (ev_window_set_sizing_mode), (ev_window_init):
3032 Add Continuous and Dual page modes.
3034 2005-04-23 James Bowes <bowes@cs.dal.ca>
3036 * dvi/dvi-document.c: (dvi_document_load),
3037 (dvi_document_thumbnails_get_thumbnail),
3038 (dvi_document_init_params): Fix up some mixups between
3039 width and height to correct thumbnail rendering.
3041 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3043 * dvi/mdvi-lib/private.h:
3044 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3046 Suppess output for kpathsea during font generation. Thanks to
3049 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3056 * Makefile.am: fix distcheck.
3058 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3060 * shell/ev-sidebar-links.c: (selection_changed_callback),
3061 (update_page_callback), (row_activated_callback),
3062 (job_finished_callback), (ev_sidebar_links_set_document):
3064 Fix for bug #169901. Double click on links expands tree.
3066 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3068 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3069 hard-coded style. Fix for bug 170111
3071 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3073 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3076 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3078 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3080 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3082 * pdf/ev-poppler.cc:
3083 * shell/ev-view.c: (highlight_find_results):
3085 Fix find on single page documents
3087 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3089 * data/evince.schemas.in: fix for bug 301390
3091 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3093 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3094 (ev_view_zoom_out), (ev_view_zoom_normal):
3096 * shell/ev-window.c: (update_action_sensitivity),
3097 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3098 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3099 (ev_window_cmd_view_normal_size):
3101 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3102 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3105 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3109 Depend on 2.57, 2.59 doesnt seem to be necessary
3111 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3113 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3116 Put back total number of pages as (1 of 1234)
3118 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3120 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3123 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3124 function. This helps debugging.
3126 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3128 * djvu/djvu-document.c: (djvu_document_class_init),
3129 (djvu_document_get_info), (djvu_document_document_iface_init):
3130 * dvi/dvi-document.c: (dvi_document_class_init),
3131 (dvi_document_get_info), (dvi_document_document_iface_init):
3133 Dummy implementation of get_info method for dvi and djvu. Fix
3134 crashes with those backends
3136 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3138 * data/evince.desktop.in:
3140 Add application/x-gzpostscript
3142 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3144 * data/evince.schemas.in: Added real long descriptions,
3147 * README: Added actual text, closes bug 171869
3149 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3151 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3155 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3157 * backend/ev-document-info.h:
3159 s/GDate */GDate so we can just use g_free
3161 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3163 * shell/ev-window.c: (update_document_mode),
3164 (ev_window_setup_document):
3166 Show the window in fullscreen when specified by
3169 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3171 * backend/ev-document.c: (ev_document_class_init),
3172 (ev_document_get_info), (ev_document_render_pixbuf):
3173 * backend/ev-document.h:
3174 * backend/ev-page-cache.c: (_ev_page_cache_new):
3175 * pdf/ev-poppler.cc:
3176 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3177 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3178 * ps/ps-document.c: (ps_document_class_init), (document_load),
3179 (ps_document_get_info), (ps_document_document_iface_init):
3181 Remove get_title from the interface, we can just use document info
3183 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3185 * backend/Makefile.am:
3186 * backend/ev-document.c: (ev_document_render_get_info):
3187 * backend/ev-document.h:
3188 * pdf/ev-poppler.cc:
3190 Initial support for document info. Based on jrb patch.
3192 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3194 * shell/ev-window.c: (ev_window_state_event),
3195 (ev_window_class_init), (ev_window_init):
3197 Doesn't show resize grip when maximized. See bug #301053
3199 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3203 ev-sidebar-thumbnails now has translatable labels
3205 * shell/Makefile.am:
3206 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3207 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3208 (ev_sidebar_links_page_iface_init):
3209 * shell/ev-sidebar-links.h:
3210 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3211 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3212 (ev_sidebar_page_get_label):
3213 * shell/ev-sidebar-page.h:
3214 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3215 (ev_sidebar_thumbnails_set_document),
3216 (ev_sidebar_thumbnails_support_document),
3217 (ev_sidebar_thumbnails_get_label),
3218 (ev_sidebar_thumbnails_page_iface_init):
3219 * shell/ev-sidebar-thumbnails.h:
3220 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3221 (ev_sidebar_set_document):
3222 * shell/ev-sidebar.h:
3223 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3225 Small rework of sidebar code. Now sidebar pages should implement
3226 EvSidebarPage interface. That makes page management in EvSidebar
3227 easier. See bug #164811 for details
3229 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3231 * shell/ev-application.c: (ev_application_open):
3232 * shell/ev-document-types.c:
3234 Fix build error and small problem with application exit
3236 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3238 * thumbnailer/Makefile.am:
3239 * thumbnailer/evince-thumbnailer-djvu.schemas:
3240 * thumbnailer/evince-thumbnailer-dvi.schemas:
3242 Conditionally install schemas for djvu/dvi thumbnailer
3244 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3246 * shell/ev-document-types.h:
3247 * shell/ev-document-types.c:
3248 New files, handling the mapping from mimetypes to backends
3250 * shell/ev-window.c:
3251 * thumbnailer/evince-thumbnailer.c:
3252 Use the ev-document-types code
3254 * shell/Makefile.am:
3255 Added new convenience library libevbackendfactory_la, containing
3256 the new mimetype->backend logic; moved the backends into it.
3258 * thumbnailer/Makefile.am:
3259 Make the thumbnailer link with the libevbackend.la convenience
3260 library, rather than having a duplicate of the backend logic here.
3262 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3264 * shell/ev-stock-icons.c: constify some vars.
3265 * shell/ev-window.c: ditto.
3267 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3269 * ps/ps-document.c (get_page_orientation):
3271 Respect document orientation
3273 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3277 * shell/Makefile.am:
3279 Move library dependencies to components.
3281 * shell/ev-window.c: (update_window_title),
3282 (start_loading_document):
3284 Fix display of uris with spaces. Bug 168358.
3286 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3288 * shell/ev-sidebar-links.c: (selection_changed_cb):
3289 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3290 (ev_view_button_release_event), (ev_view_set_document):
3292 * shell/ev-window.c: (find_bar_search_changed_cb):
3293 * shell/ev-window.h: Minor cleanups removing some dead code.
3295 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3297 * backend/ev-page-cache.c: (_ev_page_cache_new):
3299 Set current page to 0 if document has pages.
3301 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3303 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3305 Initialize GError to NULL, fix a crash when loading fails.
3307 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3309 * shell/ev-window.c: (update_view_size):
3311 Calculate shadow size only when there is actually
3314 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3316 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3319 Allow setting view spacing, default to 0
3321 * shell/ev-window.c: (ev_window_unfullscreen),
3322 (ev_window_cmd_view_fullscreen), (ev_window_init):
3324 Remove spacing in fullscreen mode
3326 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3328 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3329 (ev_view_size_request), (expose_bin_window),
3330 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3332 * shell/ev-window.c: (ev_window_unfullscreen),
3333 (ev_window_cmd_view_fullscreen):
3335 Do not draw the border in fulscreen
3337 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3339 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3340 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3341 (find_page_at_location), (page_changed_cb):
3343 Rework border calculation, so that I can more easily disable it.
3344 Code somewhat cleaner too.
3346 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3348 * backend/ev-page-cache.c: (ev_page_cache_init),
3349 (_ev_page_cache_new):
3351 Remove some assertions, documents can have 0 pages.
3352 Make initial current page -1.
3354 * shell/ev-page-action.c: (page_changed_cb):
3356 Show "" if current page is -1
3358 * shell/ev-window.c: (update_action_sensitivity),
3359 (ev_window_setup_document):
3361 When document has 0 pages do not set the view
3362 and make nearly everything insensitive.
3364 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3366 * shell/ev-page-view.c:
3367 * shell/ev-page-view.h:
3369 Remove unused files.
3371 * shell/ev-sidebar-thumbnails.c:
3372 (ev_sidebar_thumbnails_set_document):
3373 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3374 (ev_sidebar_supports_document):
3375 * shell/ev-sidebar.h:
3376 * shell/ev-window.c: (ev_window_setup_document):
3378 Doesn't show thumbnails if document has 1 page. Make
3379 sidebar menu entries sensitive only if if they have
3380 sense. Fix bug 164811.
3382 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3384 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3385 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3386 (ev_view_zoom_out), (ev_view_set_size):
3388 Rework sizing to deal with documents with not uniform page
3391 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3393 * backend/ev-page-cache.c: (_ev_page_cache_new):
3395 Fix several page size caching bugs
3397 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3399 * shell/ev-window.c: (set_action_properties):
3401 Make all toolbar items translatable
3403 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3405 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3406 (save_page_list), (ps_document_save),
3407 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3408 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3409 (ps_document_ps_exporter_iface_init):
3412 Based on a patch by J�rg Billeter <j@bitron.ch>
3414 Implement print and save a copy for the ps backend.
3416 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3418 * backend/ev-document.h:
3419 * djvu/djvu-document.c: (djvu_document_can_get_text),
3420 (djvu_document_document_iface_init):
3421 * dvi/dvi-document.c: (dvi_document_can_get_text),
3422 (dvi_document_document_iface_init):
3423 * pdf/ev-poppler.cc:
3424 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3425 (pixbuf_document_document_iface_init):
3426 * ps/ps-document.c: (ps_document_can_get_text),
3427 (ps_document_document_iface_init):
3428 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3429 * shell/ev-window.c: (update_action_sensitivity):
3431 Fix the crash when trying to copy in backends that doesnt
3432 support it. We can implement a better solution once we
3433 do real text selection.
3435 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3437 * data/evince-ui.xml:
3438 * shell/ev-window.c: (ev_window_cmd_escape):
3440 Work around the Escape conflict (find bar and unfullscreen)
3442 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3444 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3446 Fix for #300233. Next page correctly handles document end.
3448 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3449 (ev_sidebar_thumbnails_class_init),
3450 (ev_sidebar_thumbnails_set_document),
3451 (ev_sidebar_thumbnails_clear_job),
3452 (ev_sidebar_thumbnails_clear_model):
3454 Cleanup thumbnail jobs on document changes.
3456 * shell/ev-view.c: (add_scroll_binding_keypad),
3457 (add_scroll_binding_shifted), (ev_view_class_init):
3459 Shift + Space scrolls up. Fix for #173184
3461 * shell/ev-window.c: (ev_window_open_page),
3462 (ev_window_cmd_view_reload):
3464 Fix reload (Bug #300094)
3466 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3469 * dvi/mdvi-lib/assoc.c:
3470 * dvi/mdvi-lib/assoc.h: Removed garbage files
3472 * dvi/mdvi-lib/bitmap.c:
3473 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3474 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3475 * dvi/mdvi-lib/color.h: Antialias of rules
3477 * dvi/mdvi-lib/common.h:
3478 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3479 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3480 * dvi/mdvi-lib/files.c:
3481 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3482 * dvi/mdvi-lib/mdvi.h:
3483 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3484 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3485 * dvi/mdvi-lib/util.c: Fix compile warnings
3487 * dvi/dvi-document.c:
3488 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3489 (dvi_document_thumbnails_get_thumbnail),
3490 (dvi_document_document_thumbnails_iface_init):
3491 * dvi/mdvi-lib/Makefile.am:
3492 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3493 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3495 Dvi backend now renders thumbnails
3497 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3499 * shell/main.c: (main):
3501 Save accelerators on exit. Fixes bug #172095.
3503 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3505 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3506 update priority" comment.
3508 * backend/ev-job-queue.c: Give a way to change priority.
3510 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3512 * shell/ev-page-action.c: Fix logic.
3514 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3516 * shell/ev-view.c: (ev_view_can_find_next):
3517 * shell/ev-window.c: (ev_window_setup_document):
3519 Check that the document supports find
3521 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3523 * data/evince-ui.xml:
3524 * shell/ev-view.c: (ev_view_can_find_next):
3526 * shell/ev-window.c: (update_action_sensitivity),
3527 (find_changed_cb), (ev_window_setup_document),
3528 (ev_window_cmd_edit_find_next):
3532 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3534 * pdf/ev-poppler.cc:
3535 * shell/ev-print-job.c: (idle_print_handler):
3537 Make printing work again
3539 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3541 * shell/ev-page-action.h:
3542 * shell/ev-page-action.c: (ev_page_action_widget_init),
3543 (ev_page_action_widget_class_init), (page_changed_cb),
3544 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3545 (get_filter_model_from_model), (match_selected_cb),
3546 (display_completion_text), (match_completion), (update_model),
3547 (connect_proxy), (ev_page_action_set_property),
3548 (ev_page_action_get_property), (ev_page_action_set_document),
3549 (ev_page_action_set_model), (ev_page_action_class_init): Big
3550 reworking to make completions work iff we have >= GTK-2.7.0
3552 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3553 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3554 (job_finished_cb): We now have a 'model' property that is set when
3555 the links are loaded. This can be caught with "notify::model"
3557 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3558 listen for the model to be set, and propagate it to the action.
3560 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3562 * cut-n-paste/recent-files/egg-recent-item.c:
3563 (egg_recent_item_set_uri), (make_valid_utf8),
3564 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3565 * cut-n-paste/recent-files/egg-recent-item.h:
3567 Update egg-recent from libegg. This should fix long
3568 startup problem. For details see
3569 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3571 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3573 * cut-n-paste/recent-files/Makefile.am:
3574 * data/evince-ui.xml, shell/Makefile.am:
3575 * shell/ev-application.c, shell/ev-application.h:
3576 * shell/ev-window.c: Recent files support.
3578 * configure.ac: Added "ru" to ALL_LINGUAS.
3580 * dvju: new backend to support DJVU files.
3581 * dvi: new backend to support DVI.
3583 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3584 * ev-application.c: Support for new backends.
3586 * help, ev-window.c, main.c shell/Makefile.am:
3587 Evince user documentation.
3589 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3592 * shell/ev-window.c:
3593 * thumbnailer/evince-thumbnailer.c:
3595 s/pdf-document/ev-poppler
3597 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3604 * ps/ps-document.c: (setup_pixmap):
3608 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3610 * backend/ev-page-cache.c (ev_page_cache_next_page):
3611 * shell/ev-window.c (ev_window_cmd_go_next_page)
3612 (ev_window_cmd_go_first_page): Fix of by one errors.
3614 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3616 * ps/ps-document.c: (get_page_box):
3618 Fix page size calculation
3620 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3622 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3623 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3624 (get_page_orientation), (setup_page), (document_load),
3625 (ps_document_get_page_size), (render_pixbuf_idle):
3628 More refactoring to adapt to EvDocument changes
3630 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3632 * ps/ps-document.c: (start_interpreter):
3634 Actually add alpha args
3636 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3638 * pdf/ev-poppler.cc:
3640 Make clipboard work again
3642 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3644 Make searching work again.
3646 * backend/ev-document.c:
3647 * backend/ev-document.h:
3648 * backend/ev-document-find.c:
3649 * backend/ev-document-find.h: Change EvDocumentIface so we no
3650 longer store the current page or zoom level in the document. The
3651 consequence is that all calls that operate on the current page now
3652 instead take the page number as an extra argument, and all
3653 coordinates are now doubles in document coordinate system.
3655 * pdf/ev-poppler.cc:
3656 * pixbuf/pixbuf-document.c:
3657 * ps/ps-document.c: Update backends accordingly.
3659 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3663 Add required gettext version
3665 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3667 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3668 make F1 bring up non-existent help.
3670 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3671 epiphany's find bar, #167477
3673 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3674 <emil@nishra.com> to add space-bar scrolling,
3676 * shell/ev-window.c (static GtkActionEntry entries): add default
3677 keybinding for Help (F1)
3680 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3681 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3684 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3687 * pixbuf/pixbuf-document.c:
3689 Got pixbuf backend working again
3691 2005-04-01 Steve Murphy <murf@e-tools.com>
3693 * configure.in: Added "rw" to ALL_LINGUAS.
3695 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3697 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3698 model types, noticed by Martin Kretzschmar.
3700 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3702 * pdf/ev-poppler.cc: Implement search based on
3703 poppler_page_find_text(). Currently a bit crude since we remember
3704 all matches from all pages. Also, we grab the big document lock
3705 when we search since searching changes the underlying stream and
3706 thus conflicts with the rendering thread.
3708 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3709 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3710 (ev_view_find_previous): Fix some page indexes to be 0 based,
3711 offset rubber band by view offset,
3713 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3715 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3717 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3719 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3720 completely because I didn't understand GtkActions. I should
3721 read Marco's code more carefully in the future.
3723 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3726 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3728 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3729 PopplerRectangle change from poppler CVS.
3731 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3733 * backend/ev-document.c: (ev_document_get_page_label):
3734 * backend/ev-document.h:
3735 * backend/ev-page-cache.c: (_ev_page_cache_new),
3736 (ev_page_cache_get_page_label):
3737 * backend/ev-page-cache.h:
3738 * pdf/ev-poppler.cc:
3739 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3740 (links_page_num_func):
3741 * shell/ev-sidebar-thumbnails.c:
3742 (ev_sidebar_thumbnails_set_document):
3743 * shell/ev-view.c: (status_message_from_link),
3744 (ev_view_motion_notify_event):
3745 * shell/ev-window.c: (document_supports_sidebar): Add in page
3746 label support. It's not perfect yet, but it's the first 'feature'
3748 Also, fix a bogus comment noticed by crispin.
3750 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3752 * Makefile.am: Remove pixbuf backend for now
3754 * configure.ac: Require poppler-glib instead of just poppler.
3756 * backend/ev-document-thumbnails.h: Add a comment
3758 * backend/ev-document.h:
3759 * backend/ev-document.c: (ev_document_class_init),
3760 (ev_document_load), (ev_document_get_link),
3761 (ev_document_get_links): Remove 3 methods and add get_links.
3764 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3765 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3767 * backend/ev-link.c: (ev_link_set_title),
3768 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3769 (ev_link_mapping_find):
3770 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3772 * backend/ev-page-cache.c: (ev_page_cache_init),
3773 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3774 (ev_page_cache_get_size), (ev_page_cache_next_page),
3775 (ev_page_cache_prev_page): Fix to be 0 based.
3779 * pdf/ev-poppler.cc: New backend.
3781 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3782 (ps_document_get_page), (ps_document_document_iface_init):
3784 * shell/ev-pixbuf-cache.h:
3785 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3786 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3787 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3788 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3789 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3790 Fix up code to grab a page cache per each doc. Also, fix to be 0
3793 * shell/ev-sidebar-thumbnails.c:
3794 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3795 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3797 * shell/ev-view.c: (status_message_from_link),
3798 (find_page_at_location), (get_link_at_location),
3799 (ev_view_motion_notify_event), (ev_view_button_release_event),
3800 (ev_view_init): Use the new link code. Fix to be 0 based.
3802 * shell/ev-window.c: (update_action_sensitivity),
3803 (document_supports_sidebar): 0 based.
3805 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3807 * pdf/pdf-document.cc: Patch from Fernando Herrera
3808 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3811 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3813 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3814 1 to the page, as this seems to be 1 based. I thought we has this
3817 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3820 * backend/Makefile.am:
3821 * backend/ev-document-links.c:
3822 (ev_document_links_has_document_links),
3823 (ev_document_links_get_links_model):
3824 * backend/ev-document-links.h:
3825 * backend/ev-document.c: (ev_document_get_page_cache),
3826 (ev_document_get_doc_mutex), (ev_document_load),
3827 (ev_document_save), (ev_document_get_title),
3828 (ev_document_get_n_pages), (ev_document_set_page),
3829 (ev_document_get_page), (ev_document_set_target),
3830 (ev_document_set_scale), (ev_document_set_page_offset),
3831 (ev_document_get_page_size), (ev_document_get_text),
3832 (ev_document_get_link), (ev_document_render),
3833 (ev_document_render_pixbuf), (ev_document_scale_changed):
3834 * backend/ev-document.h:
3835 * backend/ev-job-queue.c: (remove_object_from_queue),
3836 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3837 (no_jobs_available_unlocked), (ev_render_thread),
3838 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3839 (ev_job_queue_remove_job):
3840 * backend/ev-job-queue.h:
3841 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3842 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3843 (ev_job_links_class_init), (ev_job_render_init),
3844 (ev_job_render_dispose), (ev_job_render_class_init),
3845 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3846 (ev_job_thumbnail_class_init), (ev_job_finished),
3847 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3848 (ev_job_render_run), (ev_job_thumbnail_new),
3849 (ev_job_thumbnail_run):
3850 * backend/ev-jobs.h:
3851 * backend/ev-link.c:
3852 * backend/ev-link.h:
3853 * backend/ev-page-cache.c: (ev_page_cache_init),
3854 (ev_page_cache_class_init), (ev_page_cache_finalize),
3855 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3856 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3857 (ev_page_cache_set_link), (ev_page_cache_get_title),
3858 (ev_page_cache_get_size), (ev_page_cache_next_page),
3859 (ev_page_cache_prev_page):
3860 * backend/ev-page-cache.h:
3861 * pdf/pdf-document.cc:
3864 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3865 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3866 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3867 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3868 (is_interpreter_ready), (output), (catchPipe), (input),
3869 (start_interpreter), (check_filecompressed), (compute_dimensions),
3870 (ps_document_enable_interpreter), (document_load),
3871 (ps_document_next_page), (render_page), (ps_document_set_page),
3872 (ps_document_set_scale), (render_pixbuf_idle),
3873 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3875 * shell/Makefile.am:
3876 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3877 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3878 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3879 (ev_pixbuf_cache_new), (job_finished_cb),
3880 (check_job_size_and_unref), (move_one_job),
3881 (ev_pixbuf_cache_update_range), (find_job_cache),
3882 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3883 (ev_pixbuf_cache_add_jobs_if_needed),
3884 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3885 * shell/ev-pixbuf-cache.h:
3886 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3887 (idle_print_handler):
3888 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3889 (selection_changed_cb), (create_loading_model),
3890 (ev_sidebar_links_construct), (links_page_num_func),
3891 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3892 (update_page_callback), (job_finished_cb),
3893 (ev_sidebar_links_set_document):
3894 * shell/ev-sidebar-thumbnails.c:
3895 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3896 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3897 (page_changed_cb), (thumbnail_job_completed_callback),
3898 (ev_sidebar_thumbnails_set_document):
3899 * shell/ev-sidebar-thumbnails.h:
3900 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3901 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3902 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3903 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3904 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3905 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3906 (ev_view_button_release_event), (ev_view_scroll_view),
3907 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3908 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3909 (ev_view_new), (job_finished_cb), (page_changed_cb),
3910 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3911 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3912 (ev_view_find_previous):
3914 * shell/ev-window.c: (update_action_sensitivity),
3915 (ev_window_open_page), (update_window_title), (update_total_pages),
3916 (page_changed_cb), (ev_window_setup_document),
3917 (password_dialog_response), (ev_window_cmd_save_as),
3918 (ev_window_print), (ev_window_cmd_go_previous_page),
3919 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3920 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3921 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3922 * shell/main.c: (main):
3924 Merge evince-threads branch
3926 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3928 * configure.ac: Added "lt" to ALL_LINGUAS.
3930 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3937 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3939 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3941 Fix here also the thumbnails 1-basedness :)
3943 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3950 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3952 * pdf/pdf-document.cc:
3953 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3954 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3956 Fix the mess we did with thumbnails and 1-basedness
3958 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3960 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3962 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3969 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3972 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3973 (gtk_gs_defaults_get_alpha_parameters),
3974 (gtk_gs_defaults_get_ungzip_cmd),
3975 (gtk_gs_defaults_get_unbzip2_cmd):
3977 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3978 (ps_document_get_orientation), (document_load),
3979 (ps_document_goto_page), (ps_document_set_page_size):
3982 Some more sanitization of the ps backend. Remove a lot
3983 of unused code and do not base our defaults on ggv
3986 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3988 * thumbnailer/evince-thumbnailer.schemas:
3989 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3990 (main): add -s option for thumbnail size.
3992 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3996 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3999 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4001 * pdf/pdf-document.cc:
4003 Remove 4 pixels of useless border from the
4006 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4008 * backend/ev-document-thumbnails.c:
4009 (ev_document_thumbnails_get_thumbnail):
4010 * backend/ev-document-thumbnails.h:
4012 Rework API a bit. Add a border flag and
4013 change sizing logic (now the size we specify
4014 applies to the bigger dimension).
4016 * pdf/pdf-document.cc:
4017 * pixbuf/pixbuf-document.c:
4018 (pixbuf_document_thumbnails_get_thumbnail):
4019 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4020 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4022 Adapt to the new API and do not draw a border for nautilus
4025 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4027 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4028 take thumbnails from page "0" instead of "1". Added a copyright header.
4030 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4032 * ps/ps-document.c: (set_up_page), (start_interpreter):
4034 Make it C89 compliant
4036 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4041 * pdf/pdf-document.cc:
4042 * thumbnailer/Makefile.am:
4043 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4045 * thumbnailer/evince-thumbnailer.schemas:
4046 * thumbnailer/pdf-icon.png:
4048 Add a nautilus thumbnailer.
4049 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4051 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4059 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4061 Use poppler instead of including xpdf source code. Poppler is a
4062 fork of xpdf to build it as a shared library. See
4063 http://freedesktop.org/wiki/Software/poppler.
4065 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4068 * pdf/Makefile.am: Build libpdfdocument.a here.
4070 * pdf/GDKSplashOutputDev.cc:
4071 * pdf/GDKSplashOutputDev.h:
4072 * pdf/GnomeVFSStream.cc:
4073 * pdf/GnomeVFSStream.h:
4076 * test-gdk-output-dev.cc
4078 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4081 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4083 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4085 Clear idle stack before unsetting the document
4087 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4089 * ps/ps-document.c: (ps_document_widget_event),
4090 (ps_document_set_target), (ps_document_finalize),
4091 (ps_document_get_page):
4093 Disconnect the widget event signal on finalize.
4096 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4098 * ps/ps-document.c: (set_up_page):
4100 If there is no bpixmap create one, even if size
4103 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4105 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4106 (set_up_page), (document_load), (ps_document_set_zoom):
4108 Default page is 0. Calculate size even when we have no
4111 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4113 * shell/ev-sidebar.c: expand the selection widget to be always as
4116 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4118 * shell/ev-sidebar-thumbnails.c:
4119 (ev_sidebar_thumbnails_set_document):
4121 Clear the list store when setting document
4123 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4125 * shell/ev-page-action.c: (update_entry), (sync_entry),
4126 (activate_cb), (entry_size_request_cb), (create_tool_item),
4129 Use an entry for the page control instead of spinbuttons
4131 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4133 * data/evince.schemas.in:
4135 Correct confusing string
4137 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4139 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4140 for real. Gosh, how long has this been broken.
4142 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4143 check for a NULL link. We crash otherwise.
4145 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4152 2005-02-25 Sebastien Bacher <seb128@debian.org>
4154 * configure.ac: add the french translation.
4156 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4158 * shell/ev-window.c:
4160 Remove unused header -> fix distcheck
4162 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4164 * shell/ev-window.c: (update_window_title),
4165 (ev_window_popup_password_dialog):
4167 Unescape filename for display
4169 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4171 * pdf/xpdf/pdf-document.cc:
4173 In get_page_size deal with rotation. Also
4174 cleanup the function a bit.
4176 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4178 * pdf/xpdf/pdf-document.cc:
4180 Fix crash when opening in new window
4182 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4186 Check ghostscript >= 7
4188 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4190 * shell/ev-window.c:
4192 Make page width the default sizing mode
4194 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4195 Marco Pesenti Gritti <marco@gnome.org>
4197 * shell/ev-window.c: Remember the sidebar size
4199 * data/evince.schemas.in: Add a new gconf key to store the size of
4202 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4204 * data/evince-ui.xml:
4205 * shell/ev-window.c: (update_action_sensitivity),
4206 (ev_window_cmd_view_reload):
4208 Add a "Reload" action and menu entry
4210 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4212 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4213 iff the type doesn't support thumbnailing and indexing.
4215 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4217 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4219 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4221 * pdf/splash/Splash.cc:
4223 Port fix for a crasher from kde bug
4224 http://bugs.kde.org/show_bug.cgi?id=97131
4226 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4228 * pdf/xpdf/pdf-document.cc:
4230 Return a link even if it's of an unrecognized
4231 type. Otherwise we go in an infinte cycle.
4233 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4235 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4236 (size_allocate_cb), (ev_window_set_sizing_mode):
4238 Update size when switching mode
4240 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4242 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4243 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4244 (ev_window_cmd_view_normal_size):
4246 Fix size toggle buttons behavior
4248 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4250 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4251 (doc_rect_to_view_rect), (ev_view_size_allocate),
4252 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4253 (scale_changed_callback):
4255 Do not cache offsets in size_allocate.
4257 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4259 * shell/ev-view.c: (ev_view_size_allocate):
4261 Calculate offsets before calling the parent
4262 class (which does a redraw)
4264 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4266 * pdf/xpdf/pdf-document.cc:
4268 Fix a crasher on exit. Unused code, put a TODO
4270 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4272 * backend/ev-document.c: (ev_document_class_init),
4273 (ev_document_page_changed), (ev_document_scale_changed):
4274 * backend/ev-document.h:
4276 Separate page/scale notifications
4278 * pdf/xpdf/pdf-document.cc:
4280 Emit the new signals.
4281 Do not display the pdf page in _render, do it
4282 when scale/page are requested.
4284 * ps/ps-document.c: (ps_document_set_zoom),
4285 (ps_document_widget_event):
4288 Emit the new signals.
4290 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4291 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4292 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4293 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4295 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4296 (ev_window_cmd_view_page_width), (size_allocate_cb),
4297 (ev_window_set_sizing_mode):
4299 Rework sizing to be pixel based.
4300 There are bugs but should be already way better.
4302 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4304 * shell/ev-window.c: (ev_window_init):
4306 Do not allow to shrink sidebar smaller then
4309 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4311 * shell/ev-sidebar.[ch]
4312 * shell/ev-window.c:
4314 Improved sidebar widget. Fixes #166683
4316 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4318 * shell/ev-view.c (update_find_status_message): Give translators
4319 more flexibility with ngettext plural handling.
4321 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4323 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4324 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4325 page when we get the page size.
4327 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4329 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4331 ps pages are 0 based, convert
4333 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4335 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4337 Initialize correct parent class. Set GError on document load
4339 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4341 * pdf/xpdf/pdf-document.cc:
4343 Fixup selection offset calculation
4345 * shell/ev-view.c: (view_rect_to_doc_rect),
4346 (doc_rect_to_view_rect), (ev_view_size_allocate),
4347 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4348 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4350 Store selection as document relative, so that zooming
4351 and offset changing doesnt break it.
4353 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4355 * shell/ev-view.c: (ev_view_best_fit):
4357 Do not try to best fit if the view is not realized
4359 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4361 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4363 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4365 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4367 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4369 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4370 the popup window. That prevents it resizing when in full screen
4373 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4374 multiple rerenders. This pretty much sucks.
4376 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4377 rest of the toolbar.
4379 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4381 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4383 2005-02-17 Alexander Shopov <ash@contact.bg>
4385 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4387 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4389 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4391 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4393 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4394 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4395 (set_document_page), (document_changed_callback),
4396 (ev_view_set_document), (ev_view_find_previous),
4397 (ev_view_hide_cursor), (ev_view_show_cursor):
4399 * shell/ev-window.c: (update_chrome_visibility),
4400 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4401 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4402 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4403 (ev_window_unfullscreen):
4404 * shell/main.c: (main):
4406 Automatically hide the fullscreen button.
4407 Patch by Kristian Høgsberg <krh@redhat.com>
4409 2005-02-16 Vincent Noel <vnoel@cox.net>
4411 * shell/main.c (main): Specify an icon for the window. Patch by
4412 Jaap A. Haitsma. Fixes #166177.
4414 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4416 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4418 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4420 * backend/ev-document-misc.h:
4421 * backend/ev-document-misc.c:
4422 (ev_document_misc_get_page_border_size),
4423 (ev_document_misc_paint_one_page): New function to canonicalize
4424 sizing/painting a border.
4426 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4429 * pdf/xpdf/pdf-document.cc: use new function
4431 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4432 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4433 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4434 shell/ev-window.c: (update_sizing_buttons),
4435 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4436 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4437 (ev_window_cmd_view_page_width), (size_allocate_cb),
4438 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4439 and "fit width" values act as toggle buttons so they stay
4440 toggled. It's not 100% perfect, and it's a little slow, but it's
4441 good enough to commit I think.
4443 2005-02-15 David Lodge <dave@cirt.net>
4445 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4447 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4449 * shell/ev-window.c (update_window_title): replace newlines in
4450 the title by spaces. Bug #166107.
4452 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4454 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4455 parameters providing allocation width and height without
4456 scrollbars and width of a possible vertical scrollbar. With this
4457 additional information the functions can work as
4458 intended. Unfortunately they're not idempotent. We should
4459 transform these commands to toggles. Fixes Bug #164976
4460 Initial patch by Stephane Loeuillet, then heavily modified.
4462 * shell/ev-view.h: update prototypes.
4464 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4465 (ev_window_cmd_view_page_width): provide EvView fit functions with
4466 all the information they need. Formulas to calculate this
4467 information taken from GtkScrolledWindow.
4469 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4471 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4472 created a thumbnail, the list store is updated to know
4473 that the thumbnail is set. Fixes bug #166792
4475 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4477 * shell/ev-window.c: fixed typo, closes bug 166897
4479 * TODO: updated TODO with bug numbers that are relevant
4481 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4483 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4485 2005-02-09 Vincent Noel <vnoel@cox.net>
4487 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4488 and "Next" toolbar buttons as important to make them stand out.
4490 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4494 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4495 (start_interpreter), (stop_interpreter), (document_load),
4496 (ps_document_next_page), (ps_document_goto_page),
4497 (ps_document_set_page_size), (ps_document_widget_event),
4498 (ps_document_render):
4499 * shell/ev-page-view.c: (ev_page_view_dispose):
4500 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4502 Fix compilation on non-gcc platforms
4504 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4511 * pdf/xpdf/Catalog.cc:
4514 Fix the fix for CAN-2004-0888
4516 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4519 * data/evince-ui.xml:
4520 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4521 * shell/ev-stock-icons.h:
4522 * shell/ev-window.c: (update_action_sensitivity),
4523 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4524 (set_action_properties):
4526 Improve toolbar layout/icons
4528 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4530 * pdf/xpdf/pdf-document.cc:
4532 Add warnings about unimplemented/unknown link
4535 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4537 * ps/ps-document.c: (set_up_page):
4541 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4543 * ps/ps-document.c: (start_interpreter):
4547 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4549 * shell/ev-page-view.c: (ev_page_view_dispose):
4550 * shell/ev-view.c: (ev_view_finalize):
4551 * shell/ev-window.c: (ev_window_setup_document),
4552 (ev_window_dispose), (ev_window_init):
4554 Solve more refs issues.
4556 I commented out the page_view initialization for now:
4557 it was never destroyed (because it's never added
4558 to a container). Because of that we was leaking
4559 gs processes. Couldnt think to a clean fix.
4560 We need to figure this out, password view has the
4561 same issue probably.
4563 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4565 * ps/ps-document.c: (ps_document_finalize),
4566 (ps_document_get_n_pages), (ps_document_get_page):
4568 Some cleanups, stop the interpreter on finalize
4570 * shell/ev-page-view.c: (ev_page_view_dispose),
4571 (ev_page_view_class_init):
4573 Release our reference on the document
4575 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4579 * doc/debugging.txt:
4582 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4583 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4584 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4587 Add debugging helpers
4590 * ps/ps-document.c: (set_up_page), (start_interpreter),
4591 (stop_interpreter), (document_load), (ps_document_next_page),
4592 (ps_document_goto_page), (ps_document_set_page_size),
4593 (ps_document_widget_event), (ps_document_render):
4594 * shell/Makefile.am:
4595 * shell/ev-view.c: (expose_bin_window):
4596 * shell/main.c: (main):
4600 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4602 * ps/ps-document.c: (ps_document_widget_event):
4604 Initialize message_window, this should make ps
4605 rendering really work! (Never noticed because I was
4606 testing with a ps that is causing gs to exit every time!)
4608 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4610 * data/evince.schemas.in: updated simple error in applyto closing tag
4612 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4618 * data/evince-ui.xml:
4619 A data/evince.schemas.in:
4621 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4622 * shell/ev-stock-icons.h:
4623 * shell/ev-window.c: (update_chrome_visibility),
4624 (update_chrome_flag), (ev_window_cmd_edit_find),
4625 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4626 (ev_window_unfullscreen), (ev_window_focus_in_event),
4627 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4628 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4629 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4630 (ev_window_dispose), (ev_window_class_init),
4631 (set_action_properties), (set_chrome_actions), (load_chrome),
4634 Implement fullscreen mode changes from bug #164776.
4635 Also implement persistent chrome toggles.
4637 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4639 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4641 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4647 Add another check for find interface
4651 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4653 * shell/ev-application.c: (ev_application_open):
4654 * shell/ev-window.c: (ev_window_open):
4656 Open gzipped ps documents
4658 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4661 * shell/ev-view.c: (set_document_page):
4663 Clamp page number, dont try to move to
4666 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4668 * backend/ev-document-find.c: (ev_document_find_changed):
4669 * backend/ev-document-find.h:
4670 * pdf/xpdf/pdf-document.cc:
4671 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4672 * shell/ev-window.c: (find_bar_search_changed_cb):
4674 Fix several bugs with find
4676 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4678 * shell/ev-sidebar-thumbnails.c
4679 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4680 document. Prevents warning from scroll_to_cell.
4682 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4684 * configure.ac: Add «nb» to ALL_LINGUAS too.
4686 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4688 * NOTES: New file with some random thoughts.
4692 * backend/ev-document-misc.c:
4693 (ev_document_misc_get_page_border_size): New function to
4694 canonicalize shadow drawing sizes. Possibly goofy.
4696 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4697 (ev_view_best_fit), (ev_view_fit_width):
4698 * pdf/xpdf/pdf-document.cc:
4699 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4700 * ps/ps-document.c: (ps_document_get_page_size):
4701 * backend/ev-document-misc.h:
4702 * backend/ev-document.c: (ev_document_get_page_size):
4703 * backend/ev-document.h: get_page_size now takes a page number
4704 parameter. Made all the backends/frontends honor it.
4706 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4707 see. Doesn't work yet.
4709 * shell/Makefile.am:
4710 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4711 Doesn't do anything yet.
4713 * shell/ev-sidebar-thumbnails.c:
4714 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4717 * shell/ev-window.c: (update_action_sensitivity),
4718 (ev_window_setup_document), (ev_window_set_page_mode),
4719 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4720 view-swapping code a bit so we can have multiple views on a
4721 document. Add the multi-page view, though it can't be turned on
4724 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4726 * shell/ev-application.c: (ev_application_open):
4727 * shell/ev-view.c: (expose_bin_window):
4728 * shell/ev-window.c: (ev_window_open):
4730 Support eps and check document supports find
4731 before drawing highlightings in expose.
4733 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4735 * pixbuf/pixbuf-document.c:
4736 (pixbuf_document_thumbnails_get_dimensions),
4737 (pixbuf_document_document_thumbnails_iface_init):
4739 implement get_dimensions
4741 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4748 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4750 * shell/ev-view.c: (set_document_page):
4752 Scroll at the top of the page when changing page
4754 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4756 * shell/ev-view.c: (ev_view_motion_notify_event):
4758 Do not redraw unnecessarily
4760 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4762 * pdf/xpdf/pdf-document.cc:
4763 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4764 (expose_bin_window), (find_changed_cb):
4766 Yay! find works now... Now to find bugs...
4768 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4770 * backend/ev-document-find.c: (ev_document_find_base_init),
4771 (ev_document_find_changed):
4772 * backend/ev-document-find.h:
4773 * pdf/xpdf/pdf-document.cc:
4774 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4775 (expose_bin_window), (ev_view_init), (set_document_page),
4776 (ensure_rectangle_is_visible), (jump_to_find_result),
4777 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4778 (ev_view_find_next), (ev_view_find_previous):
4780 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4782 More work on find implementation, mostly there now
4784 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4786 * backend/ev-backend-marshalers.list:
4787 * backend/ev-document-find.c: (ev_document_find_base_init),
4788 (ev_document_find_cancel), (ev_document_find_page_has_results),
4789 (ev_document_find_get_n_results), (ev_document_find_get_result),
4790 (ev_document_find_get_progress), (ev_document_find_changed):
4791 * backend/ev-document-find.h:
4793 Enanche the find interface to be really able to do
4796 * pdf/xpdf/pdf-document.cc:
4800 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4801 (expose_bin_window), (ev_view_init),
4802 (ev_view_get_find_status_message), (find_changed_cb),
4803 (ev_view_set_document), (set_document_page):
4805 Adapt to the new interface. A few things are regressed sorry,
4806 I will finish it soon.
4808 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4810 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4811 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4812 ev_sidebar_thumbnails_parent_class variable, don't define another
4813 parent_class variable.
4815 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4816 (ev_page_action_class_init): ditto.
4818 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4819 (pixbuf_document_class_init): ditto.
4821 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4824 * .cvsignore: ignore various valgrind output files.
4826 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4828 * data/evince-ui.xml:
4829 * shell/Makefile.am:
4830 * shell/ev-history.c:
4831 * shell/ev-history.h:
4832 * shell/ev-navigation-action.c:
4833 * shell/ev-navigation-action.h:
4834 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4835 (ev_view_set_page), (ev_view_fit_width):
4837 * shell/ev-window.c: (update_action_sensitivity),
4838 (ev_window_setup_document), (register_custom_actions):
4840 Kill session history
4842 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4844 * shell/ev-window.c: (update_action_sensitivity):
4846 Fix inverted up/down buttons
4848 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4850 * shell/ev-sidebar-thumbnails.c
4851 (ev_sidebar_thumbnails_select_page): make sure the selected
4852 thumbnail stays visible.
4854 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4856 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4857 scrolled window for Federico.
4859 2005-01-26 Ole Laursen <olau@hardworking.dk>
4861 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4863 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4866 * pdf/splash/SplashFTFontEngine.cc:
4868 Fix CID fonts with freetype 2.1.9
4870 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4872 * TODO: added item for desktop icon thumbnailer
4874 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4876 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4877 unloaded docs when the title is accessed.
4879 * shell/ev-password-view.[hc]: New widget for displaying password
4882 * shell/ev-window.[ch]: Refactor password handling code to handle
4885 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4893 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4895 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4896 ignore page offset here, to make search results independent of it,
4898 * shell/ev-view.c (expose_bin_window): but take offsets into
4899 account here. Bug #164932
4901 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4902 scale at the right time. Bug #164996
4904 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4906 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4907 fix the problem. Now I just removed the Adobe font names and hope
4908 that the URW fonts are always in outline format. Bug #164934
4910 * shell/ev-window.c (update_window_title): empty titles are
4911 useless, use filename in that case too.
4913 * NEWS: Add some content.
4915 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4917 * TODO: added one more TODO item and a TODONE section :)
4919 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4921 * ps/ps-document.h: add page_[xy]_offset fields.
4923 * ps/ps-document.c (ps_document_set_page_offset)
4924 (ps_document_render): Keep offset in consideration in a few
4925 places. Bug #164752 "postscript documents are not centered in
4928 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4929 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4931 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4932 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4933 stub out missing methods for complete EvDocument implementation.
4934 Fixes segfaults with Save A Copy and Copy actions.
4936 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4937 (ps_document_document_iface_init): ditto.
4939 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4943 * data/evince.desktop.in:
4947 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4949 * shell/ev-view.c: (ev_view_button_press_event),
4950 (ev_view_motion_notify_event):
4952 Make selection work in any direction
4954 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4957 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4959 Use shorter labels for some of the toolbars items
4961 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4963 * pdf/xpdf/pdf-document.cc:
4965 Check the links info is initialized before
4966 using it. Should fix a crash on startup.
4968 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4970 * pixbuf/pixbuf-document.c
4971 (pixbuf_document_thumbnails_get_dimensions): force floating point
4972 division to calculate page_ratio. Fixes crash with landscape
4975 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4977 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4979 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4981 * shell/ev-view.c (set_document_page): unset has_selection when
4983 (set_document_page): handle paper size changes when the page
4984 changes (test with Free Culture, page 2).
4986 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4988 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4989 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4991 Use normal style color for the widget background and
4992 draw a black box around the page.
4994 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4996 * pdf/xpdf/pdf-document.cc:
4998 Keep offset in consideration in a few places
5000 * shell/ev-view.c: (expose_bin_window):
5002 Set the offsets so that the document is ever centered
5004 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5006 * TODO: Added TODO items and finished off the first todo item
5008 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5009 reflect current authors
5011 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5013 * pdf/xpdf/pdf-document.cc:
5014 * shell/ev-view.c: (ev_view_set_cursor),
5015 (ev_view_motion_notify_event), (document_changed_callback),
5016 (set_document_page):
5018 Show a wait cursor while the page is rendering
5020 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5022 * shell/ev-sidebar-thumbnails.c:
5023 (ev_sidebar_tree_selection_changed),
5024 (ev_sidebar_thumbnails_select_page):
5025 * shell/ev-sidebar-thumbnails.h:
5026 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5027 (ev_view_can_go_forward):
5028 * shell/ev-window.c: (ev_window_open_page),
5029 (ev_window_setup_document), (update_current_page),
5030 (view_page_changed_cb), (ev_window_init):
5031 * shell/ev-window.h:
5033 Ensure thumbnails selection, toolbar page control and
5034 current page are in sync.
5036 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5042 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5044 * backend/Makefile.am:
5045 * backend/ev-document-links.h:
5046 * backend/ev-document-security.c: (ev_document_security_get_type),
5047 (ev_document_security_has_document_security),
5048 (ev_document_security_set_password):
5049 * backend/ev-document-security.h:
5050 * backend/ev-document.c: (ev_document_error_quark):
5051 * backend/ev-document.h:
5053 * data/evince-password.glade:
5054 * pdf/xpdf/pdf-document.cc:
5055 * shell/Makefile.am:
5056 * shell/ev-password.c: (ev_password_set_bad_password_label),
5057 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5058 (ev_password_dialog_get_password),
5059 (ev_password_dialog_set_bad_pass):
5060 * shell/ev-password.h:
5061 * shell/ev-window.c: (ev_window_get_attribute),
5062 (ev_window_set_property), (update_action_sensitivity),
5063 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5064 (ev_window_setup_document), (ev_window_get_password),
5065 (ev_window_open), (ev_window_cmd_save_as),
5066 (using_postscript_printer), (ev_window_print),
5067 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5068 (update_fullscreen_popup), (ev_window_fullscreen),
5069 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5070 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5071 (menu_item_select_cb), (find_bar_search_changed_cb),
5072 (ev_window_dispose), (ev_window_init):
5074 Add initial support for password-supported dialogs. This could be
5075 a lot cooler, but it'll do for now.
5077 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5079 * pdf/xpdf/pdf-document.cc:
5080 * shell/ev-view.c: (status_message_from_link),
5081 (ev_view_set_status), (ev_view_set_cursor),
5082 (ev_view_motion_notify_event), (ev_view_init):
5083 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5085 Fix bugs in the links implementation and change cursor
5086 when hovering a link.
5088 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5090 * viewer/.cvsignore: added cvsignore file for viewer directory
5092 * TODO: created TODO document
5094 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5097 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5098 new functions to help with implementation of sensitivity code
5099 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5100 of all actions that might require it. Fixes a crash when you
5101 click on the Zoom actions in a window lacking a document.
5103 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5105 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5108 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5110 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5111 (pixbuf_document_document_iface_init):
5112 * ps/ps-document.c: (ps_document_get_link),
5113 (ps_document_document_iface_init):
5114 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5115 (status_message_from_link), (ev_view_set_status),
5116 (ev_view_set_find_status), (ev_view_motion_notify_event),
5117 (ev_view_button_release_event), (ev_view_set_property),
5118 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5119 (ev_view_get_find_status_message), (update_find_results),
5120 (ev_view_get_status), (ev_view_get_find_status):
5122 * shell/ev-window.c: (view_status_changed_cb),
5123 (view_find_status_changed_cb), (ev_window_init):
5125 View status message support, use it to show the links.
5128 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5130 * backend/ev-document.c: (ev_document_get_link):
5131 * backend/ev-document.h:
5132 * pdf/xpdf/pdf-document.cc:
5133 * shell/ev-application.c: (ev_application_open):
5134 * shell/ev-application.h:
5135 * shell/ev-sidebar-links.c: (selection_changed_cb):
5136 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5137 (ev_view_go_to_link):
5139 Add support for document links
5141 2005-01-13 Anders Carlsson <andersca@gnome.org>
5143 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5145 Set the spin button limits correctly.
5147 * shell/ev-sidebar-thumbnails.c:
5148 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5149 Support changing pages by clicking on the thumbnails.
5151 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5153 * pixbuf/pixbuf-document.c:
5154 (pixbuf_document_thumbnails_get_dimensions),
5155 (pixbuf_document_document_thumbnails_iface_init):
5157 implement get_dimensions
5159 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5161 * ps/ps-document.c: (ps_document_goto_page):
5163 Fix page switching on multipage documents
5165 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5167 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5169 check for NULL before assigning to width and height parameters
5171 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5173 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5174 (pixbuf_document_set_property), (pixbuf_document_get_property):
5176 implement get/set properties
5178 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5180 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5182 return NULL instead of "Unknown", letting the title get set to
5183 the filename when the pdf has no title.
5185 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5187 * ps/ps-document.c: (ps_document_get_page_count),
5188 (ps_document_goto_page):
5190 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5192 * shell/ev-history.c: (ev_history_get_property),
5193 (ev_history_set_property), (ev_history_class_init),
5194 (ev_history_add_page), (ev_history_set_current_index):
5195 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5196 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5197 (ev_navigation_action_finalize):
5198 * shell/ev-navigation-action.h:
5199 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5200 (ev_view_go_forward), (ev_view_get_find_status_message),
5201 (history_index_changed_cb), (ev_view_set_history):
5203 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5204 (update_current_page), (register_custom_actions):
5206 Implement history dropdowns
5208 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5210 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5211 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5212 (ev_view_go_forward):
5213 * shell/ev-window.c: (register_custom_actions):
5215 Fix several history bugs
5217 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5219 * configure.ac: Add «nb» to ALL_LINGUAS.
5221 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5223 * backend/Makefile.am:
5224 * backend/ev-bookmark.c:
5225 * backend/ev-bookmark.h:
5226 * backend/ev-document-bookmarks.c:
5227 * backend/ev-document-bookmarks.h:
5228 * backend/ev-document-links.c: (ev_document_links_get_type),
5229 (ev_document_links_has_document_links),
5230 (ev_document_links_begin_read), (ev_document_links_get_link),
5231 (ev_document_links_get_child), (ev_document_links_next),
5232 (ev_document_links_free_iter):
5233 * backend/ev-document-links.h:
5234 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5235 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5236 (ev_link_get_link_type), (ev_link_set_link_type),
5237 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5238 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5239 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5240 (ev_link_new_external):
5241 * backend/ev-link.h:
5242 * pdf/xpdf/pdf-document.cc:
5243 * shell/Makefile.am:
5244 * shell/ev-application.c: (ev_application_open_link):
5245 * shell/ev-application.h:
5246 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5247 (ev_history_get_link_nth):
5248 * shell/ev-history.h:
5249 * shell/ev-sidebar-bookmarks.c:
5250 * shell/ev-sidebar-bookmarks.h:
5251 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5252 (ev_sidebar_links_class_init), (selection_changed_cb),
5253 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5254 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5255 (do_one_iteration), (populate_links_idle),
5256 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5257 * shell/ev-sidebar-links.h:
5258 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5259 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5262 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5263 * shell/ev-window.h:
5265 Rename bookmark to link, and use "Index" for the sidebar panel.
5267 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5269 * shell/Makefile.am:
5270 * shell/ev-application.c: (ev_application_open_bookmark):
5271 * shell/ev-application.h:
5272 * shell/ev-history.c: (ev_history_init), (free_links_list),
5273 (ev_history_finalize), (ev_history_class_init),
5274 (ev_history_add_link), (ev_history_add_page),
5275 (ev_history_get_link_nth), (ev_history_get_n_links),
5276 (ev_history_get_current_index), (ev_history_set_current_index),
5278 * shell/ev-history.h:
5279 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5280 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5281 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5282 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5285 * shell/ev-window.c: (ev_window_open_bookmark),
5286 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5287 (goto_page_cb), (register_custom_actions):
5288 * shell/ev-window.h:
5290 Initial history implementation. Needs work.
5292 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5294 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5296 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5298 * cut-n-paste/recent-files/egg-recent-item.c:
5299 * cut-n-paste/recent-files/egg-recent-item.h:
5300 * cut-n-paste/recent-files/egg-recent-model.c:
5301 * cut-n-paste/recent-files/egg-recent-util.c:
5302 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5303 * cut-n-paste/recent-files/egg-recent-view.c:
5307 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5309 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5310 (fillGlyph, fillImageMask, drawImage):
5311 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5312 pdf/splash/SplashTypes.h:
5313 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5314 packed mode for Splash.
5316 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5317 RGB8 packed mode, eliminates the pixbuf data creation loop.
5319 * shell/ev-print-job.c (ev_print_job_finalize)
5320 (ev_print_job_set_property, ev_print_job_get_property)
5321 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5322 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5323 (print_closure_finalize, ev_print_job_print): implement
5324 printing (for backends with EvPsExporter)
5326 * shell/ev_print_job.h: update prototypes.
5328 * shell/ev-window.c (ev_window_print): unref print job after
5331 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5332 unless the document implements the EvDocumentFind interface.
5334 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5336 * configure.ac: Added ja to ALL_LINGUAS.
5338 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5340 * pdf/xpdf/pdf-document.cc:
5342 add a FIXME. We should probably not allocate
5343 a bookmark object every time
5345 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5347 * shell/ev-application.c: (ev_application_open),
5348 (ev_application_open_bookmark):
5349 * shell/ev-application.h:
5351 Add a way to open bookmarks
5353 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5354 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5355 (ev_bookmark_set_property), (ev_bookmark_class_init),
5356 (ev_bookmark_new_title), (ev_bookmark_new_link),
5357 (ev_bookmark_new_external):
5359 Support for external uris, better constructors.
5361 * backend/ev-bookmark.h:
5362 * pdf/xpdf/pdf-document.cc:
5363 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5365 Handle external uris
5367 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5369 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5370 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5372 Hook up bookmarks navigation
5374 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5376 * backend/Makefile.am:
5377 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5378 (ev_bookmark_get_title), (ev_bookmark_set_title),
5379 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5380 (ev_bookmark_get_page), (ev_bookmark_set_page),
5381 (ev_bookmark_get_property), (ev_bookmark_set_property),
5382 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5384 * backend/ev-bookmark.h:
5385 * backend/ev-document-bookmarks.c:
5386 (ev_document_bookmarks_get_bookmark):
5387 * backend/ev-document-bookmarks.h:
5388 * pdf/xpdf/pdf-document.cc:
5389 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5391 Add a bookmark object to the backend and use it instead of get_values
5393 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5395 * data/evince-ui.xml:
5397 Cleanup and add select all.
5399 * shell/ev-view.c: (ev_view_select_all),
5400 (ev_view_button_press_event):
5402 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5405 Clear selection on click.
5407 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5409 * shell/ev-sidebar-thumbnails.c
5410 (ev_sidebar_thumbnails_set_document): forgot to unref the
5413 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5415 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5416 at the visible page, not just linearly. This makes it look fast.
5418 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5420 * backend/ev-document-misc.c
5421 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5423 * backend/ev-document-thumbnails.h: New interface to get the size
5426 2005-01-06 Jeremy Katz <katzj@redhat.com>
5428 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5431 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5433 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5434 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5437 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5439 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5441 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5442 fonts. Should fix font problems on systems that have the base
5443 fonts in bitmap format. Reported by James Henstridge
5444 <james@jamesh.id.au>.
5446 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5449 * pdf/xpdf/GfxState.cc:
5451 Fix for CAN-2004-1125
5453 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5455 * shell/ev-view.c: (ev_view_copy):
5457 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5459 Implement Edit->Copy
5461 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5463 * backend/ev-document.c: (ev_document_get_text):
5464 * backend/ev-document.h:
5465 * pdf/xpdf/pdf-document.cc:
5466 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5467 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5468 (ev_view_update_primary_selection), (ev_view_button_press_event),
5469 (ev_view_motion_notify_event), (ev_view_button_release_event):
5471 Beginnings of clipboard support. Incomplete but primary sort
5474 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5476 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5477 (expose_bin_window):
5479 Nicer rubberband drawing, from GtkIconView.
5481 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5483 * backend/ev-document.c: (ev_document_save):
5484 * backend/ev-document.h:
5485 * data/evince-ui.xml:
5486 * pdf/xpdf/pdf-document.cc:
5487 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5489 Implement "Save a copy..." menu item
5491 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5493 * shell/ev-view.c: (ev_view_zoom):
5495 Queue a resize when zoom changes
5497 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5499 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5502 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5505 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5507 * pdf/xpdf/pdf-document.cc
5508 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5510 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5512 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5513 It's slow, but I'll speed it up next!
5515 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5517 * shell/main.c (load_files):
5519 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5520 from the command line and because it seems more appropriate.
5522 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5524 * data/evince-ui.xml:
5525 * shell/ev-window.c: (update_action_sensitivity),
5526 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5528 s/next page/page down
5529 s/previous page/page up
5531 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5533 * data/evince-ui.xml:
5535 Change the layout to match clarkbw design.
5537 * shell/Makefile.am:
5538 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5539 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5540 (ev_navigation_action_finalize),
5541 (ev_navigation_action_set_property),
5542 (ev_navigation_action_get_property),
5543 (ev_navigation_action_class_init):
5544 * shell/ev-navigation-action.h:
5546 Implement clarkbw toolbar navigation controls (incomplete)
5548 * shell/ev-page-action.c: (update_label), (update_spin),
5549 (value_changed_cb), (create_tool_item), (connect_proxy),
5550 (ev_page_action_init), (ev_page_action_finalize),
5551 (ev_page_action_set_property), (ev_page_action_get_property),
5552 (ev_page_action_set_current_page),
5553 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5554 * shell/ev-page-action.h:
5556 Implement a page switcher in the toolbar
5558 * shell/ev-view.c: (ev_view_scroll_view):
5559 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5560 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5561 (register_custom_actions), (ev_window_init):
5563 Change page on PageUp/Down.
5565 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5567 * pdf/xpdf/pdf-document.cc
5568 (pdf_document_thumbnails_get_thumbnail): initial stab at
5569 implementing thumbnail support for pdfs. It only does documents
5570 with precached pdfs now.
5572 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5574 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5575 thumbnail code into a time-based idle as well. Also, turn off the
5576 shadow temporarily as it's really slow.
5578 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5580 * backend/ev-document.c: (ev_document_class_init):
5581 * pdf/xpdf/pdf-document.cc:
5582 * shell/ev-window.c: (ev_window_open):
5584 Fix document title bugs and fallback to
5585 filename when not available.
5587 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5589 * backend/ev-document.c: (ev_document_get_type),
5590 (ev_document_class_init), (ev_document_load),
5591 (ev_document_get_title):
5592 * backend/ev-document.h:
5593 * pdf/xpdf/pdf-document.cc:
5594 * ps/ps-document.c: (ps_document_set_property),
5595 (ps_document_get_property), (ps_document_class_init),
5599 * shell/ev-window.c: (update_window_title), (ev_window_open),
5602 Initial support for document title. Not working yet.
5604 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5606 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5608 Grab focus on the view when clicking it
5610 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5612 * shell/ev-marshal.list:
5613 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5614 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5616 Add key bindings to the view. Now if the focus would work
5619 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5622 * backend/Makefile.am:
5625 * dvi/dvilib/Makefile.am:
5626 * pdf/xpdf/Makefile.am:
5632 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5634 * shell/ev-view.c: (ev_view_realize):
5636 Fix mouse wheel scrolling
5638 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5644 * ps/ps-document.c: (catchPipe), (ps_document_init),
5645 (ps_document_class_init), (ps_document_cleanup),
5646 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5647 (set_up_page), (close_pipe), (is_interpreter_ready),
5648 (interpreter_failed), (output), (input), (start_interpreter),
5649 (stop_interpreter), (file_length), (file_readable),
5650 (check_filecompressed), (check_pdf), (compute_xdpi),
5651 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5652 (ps_document_get_type), (ps_document_emit_error_msg),
5653 (document_load), (ps_document_next_page),
5654 (ps_document_get_current_page), (ps_document_get_page_count),
5655 (ps_document_goto_page), (ps_document_set_page_size),
5656 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5657 (ps_document_load), (ps_document_get_n_pages),
5658 (ps_document_set_page), (ps_document_get_page),
5659 (ps_document_widget_event), (ps_document_set_target),
5660 (ps_document_set_scale), (ps_document_set_page_offset),
5661 (ps_document_get_page_size), (ps_document_render),
5662 (ps_document_document_iface_init):
5665 * shell/ev-window.c: (ev_window_open):
5667 Rename GtkGS to PSDocument
5669 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5671 * ps/gtkgs.c: (gtk_gs_class_init):
5674 Some more leftover...
5676 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5678 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5679 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5680 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5683 Remove unused code and make a lot of stuff private
5685 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5687 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5688 (gtk_gs_defaults_changed):
5694 Cleanup headers dependencies
5696 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5701 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5703 * ps/gtkgs.c: (file_length), (file_readable),
5704 (check_filecompressed), (check_pdf), (gtk_gs_load),
5705 (gtk_gs_get_postscript):
5709 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5714 * ps/gtkgs.c: (gtk_gs_set_zoom):
5718 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5720 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5722 Ensure the page is rerendered when changing zoom
5724 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5726 * backend/ev-document.c: (ev_document_base_init),
5727 (ev_document_changed):
5728 * backend/ev-document.h:
5730 Add a changed event that is emitted when the page content
5731 changes. This is necessary to deal with the fact that
5732 in ps backend rendering happen asycrounously.
5733 This makes the ps backend mostly work.
5735 * pdf/xpdf/pdf-document.cc:
5739 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5740 (ps_document_set_target):
5744 * shell/ev-view.c: (document_changed_callback),
5745 (ev_view_set_document), (ev_view_set_page):
5747 Redraw on the changed signal
5749 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5751 * configure.ac: Added pt_BR to ALL_LINGUAS.
5753 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5755 * backend/ev-document-bookmarks.c:
5756 (ev_document_bookmarks_get_child): *
5757 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5758 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5759 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5760 (ev_sidebar_bookmarks_destroy),
5761 (ev_sidebar_bookmarks_class_init),
5762 (ev_sidebar_bookmarks_construct), (stack_data_free),
5763 (do_one_iteration), (populate_bookmarks_idle),
5764 (ev_sidebar_bookmarks_clear_document),
5765 (ev_sidebar_bookmarks_set_document): *
5766 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5767 (ev_sidebar_add_page),
5768 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5769 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5770 it displays both the topics and the page numbers.
5772 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5774 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5776 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5779 2004-12-23 Adam Weinberger <adamw@gnome.org>
5781 * configure.ac: Added en_CA to ALL_LINGUAS.
5783 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5785 * ChangeLog: replace bottom of this ChangeLog (merged history of
5786 ggv and gpdf; where all paths were wrong and most of the files are
5787 not even in this tree) with ChangeLog (from arch) of the shell
5790 2004-12-23 Havoc Pennington <hp@redhat.com>
5792 * shell/ev-window.c: hook up potentially-questionable "find
5793 results status text" feature - something involving the sidebar or
5794 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5795 might be better in the end.
5797 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5798 with corresponding signal when it should be updated
5800 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5802 2004-12-22 Havoc Pennington <hp@redhat.com>
5804 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5805 find stuff on other pages, sort of (only returns one result on
5806 invisible pages, to show they have results; updates full results
5807 for a page when you view it). Currently repaints the current page
5808 every time a new result is found on any page, which isn't so nice.
5810 2004-12-22 Havoc Pennington <hp@redhat.com>
5812 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5813 the document doesn't support find (better ideas?)
5814 (find_bar_search_changed_cb): handle missing document or document
5815 that doesn't support find
5817 * pdf/xpdf/pdf-document.cc: port to implement the new
5820 * backend/ev-document-find.c: create a new interface for searching
5822 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5824 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5826 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5829 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5830 EvPrintJob constructor arguments.
5832 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5833 for documents that can export PostScript (page by page).
5835 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5837 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5838 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5839 (pdf_document_ps_exporter_iface_init:
5840 Implement EvPSExporter.
5842 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5844 2004-12-22 Anders Carlsson <andersca@gnome.org>
5846 * backend/Makefile.am:
5847 * backend/ev-document-thumbnails.c:
5848 (ev_document_thumbnails_get_type),
5849 (ev_document_thumbnails_get_thumbnail):
5850 * backend/ev-document-thumbnails.h:
5851 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5852 (pixbuf_document_thumbnails_get_thumbnail),
5853 (pixbuf_document_document_thumbnails_iface_init):
5854 * shell/Makefile.am:
5855 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5856 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5857 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5858 * shell/ev-sidebar-thumbnails.h:
5859 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5860 (ev_sidebar_set_document):
5861 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5862 (create_shadow), (ev_pixbuf_add_shadow):
5864 Add thumbnail support.
5866 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5868 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5869 (using_postscript_printer): Set up a print dialog for "PostScript
5872 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5875 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5877 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5879 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5880 (ps_document_set_target), (ps_document_get_page_size),
5881 (ps_document_render):
5886 2004-12-22 Christian Rose <menthos@menthos.com>
5888 * configure.ac: Added "sv" to ALL_LINGUAS.
5890 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5892 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5893 document supports bookmarks.
5895 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5897 * ps/ggvutils.c: (ggv_file_readable):
5899 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5900 (gtk_gs_get_postscript):
5904 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5906 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5907 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5908 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5909 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5910 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5911 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5912 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5913 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5914 (gtk_gs_set_antialiasing), (ps_document_load),
5915 (ps_document_render):
5918 Another check point for the ps backend. Now I can get it to show
5921 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5923 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5924 document setting code.
5926 2004-12-22 Anders Carlsson <andersca@gnome.org>
5928 * shell/eggfindbar.c: (entry_activate_callback):
5929 Animate the next button when activate is pressed.
5931 2004-12-22 Anders Carlsson <andersca@gnome.org>
5933 * shell/ev-window.c: (ev_window_cmd_edit_find),
5934 (update_fullscreen_popup), (ev_window_fullscreen),
5935 (ev_window_unfullscreen), (ev_window_state_event_cb),
5936 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5937 Fix bugs in fullscreen code.
5939 2004-12-22 Anders Carlsson <andersca@gnome.org>
5943 * pixbuf/Makefile.am:
5944 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5945 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5946 (pixbuf_document_set_page), (pixbuf_document_get_page),
5947 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5948 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5949 (pixbuf_document_render), (pixbuf_document_begin_find),
5950 (pixbuf_document_end_find), (pixbuf_document_finalize),
5951 (pixbuf_document_class_init),
5952 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5953 * pixbuf/pixbuf-document.h:
5954 * shell/Makefile.am:
5955 * shell/ev-application.c: (ev_application_open):
5956 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5960 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5963 * dvi/dvilib/Makefile.am:
5965 * configure.ac: Auto*ify dvi and dvi/dvilib
5967 * dvi/Makefile: Remove from CVS
5969 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5972 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5974 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5976 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5979 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5980 (gtk_gs_value_adjustment_changed), (compute_size),
5981 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5982 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5983 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5984 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5985 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5986 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5987 (ps_document_load), (ps_document_get_n_pages),
5988 (ps_document_set_page), (ps_document_get_page),
5989 (ps_document_set_target), (ps_document_set_scale),
5990 (ps_document_set_page_offset), (ps_document_get_page_size),
5991 (ps_document_render), (ps_document_begin_find),
5992 (ps_document_end_find), (ps_document_document_iface_init):
5994 * shell/Makefile.am:
5995 * shell/ev-window.c: (ev_window_open):
5997 Some work to integrate gtkgs with EvDocument
5999 2004-12-22 Anders Carlsson <andersca@gnome.org>
6001 * shell/ev-window.c: (update_fullscreen_popup),
6002 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6003 (exit_fullscreen_button_clicked_cb),
6004 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6005 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6006 (ev_window_state_event_cb), (ev_window_init):
6007 Add fullscreen support from Epiphany.
6009 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6011 * data/ev-stock-zoom-fit-width.png: fit-width
6012 stock icon from gpdf.
6014 * shell/ev-stock-icons.[ch]: copied from gpdf.
6016 * shell/main.c: (main): init stock icons.
6018 * shell/ev-window.c: use the fit-width icon.
6020 * data/evince-ui.xml: add zooming toolbar items.
6022 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6025 (ev_view_best_fit), (ev_view_fit_width): because
6026 get_page_size() returns the scaled page size, we
6027 need to calculate the scale factor relative to
6028 the previous scale factor. Should really just
6029 add get_real_page_size().
6031 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6033 * shell/ev-view.[ch]:
6034 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6035 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6038 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6039 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6040 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6043 * pdf/xpdf/pdf-document.cc:
6044 (pdf_document_begin_find),
6045 (pdf_document_end_find): make static.
6047 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6049 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6051 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6052 names to fontconfig patterns.
6053 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6055 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6058 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6074 Import ggv backend. Not hooked up yet.
6076 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6078 * shell/main.c: (load_files), (main): load files
6079 from the command line.
6081 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6083 * configure.ac: don't require bonobo.
6085 * cut-n-paste/recent-files/*: kill bonobo recent
6088 * shell/ev-window.c:
6089 (ev_window_is_empty): upd.
6090 (unable_to_load), (ev_window_open): load backend
6091 based on the mime type.
6093 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6095 * backend/.cvsignore: ignore generated marshalers source.
6097 * shell/main.c (main): this is not epiphany.
6099 2004-12-22 Havoc Pennington <hp@redhat.com>
6101 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6102 (expose_bin_window): draw find highlights
6104 * shell/ev-window.c (find_bar_search_changed_cb): implement
6106 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6107 (pdf_document_end_find): implement this interface
6109 * backend/ev-document.c (ev_document_found): add this to emit
6112 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6114 * data/evince-ui.xml: Add a few more toolbar items.
6116 * shell/ev-window.c: Hook up page navigation toolbar
6119 * shell/ev-view.[ch]: add ev_view_set/get_page and
6120 a page-changed signal.
6122 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6123 Add ev_document_get_page().
6125 * shell/ev-window.c: Sensitize/desensitize navigation
6128 2004-12-21 Havoc Pennington <hp@redhat.com>
6130 * backend/ev-backend-marshal.c,
6131 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6132 marshaler-generator thingy. I'm sure there's a better way to do
6133 this in the modern world.
6135 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6136 end_find methods and "found" signal.
6138 * configure.ac: find glib-genmarshal
6140 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6142 * shell/ev-sidebar.c: Construct an actual sidebar.
6143 * shell/ev-sidebar-bookmarks.[ch]:
6144 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6146 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6148 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6151 * shell/ev-view.c: Track the size from the document.
6153 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6155 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6156 constructor assumes ownership of the string passed in.
6158 * shell/ev-window.c (ev_window_open): Destroy the error
6159 dialog once we've displayed it.
6161 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6163 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6164 a bit, it works! (sort of)
6166 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6167 Move to .cc since we need to use C++ in the implementation.
6169 * shell/dummy.cc: Add a CC file to force evince
6170 to be linked as a C++ program.
6172 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6174 * shell/ev-view.[ch]: Start of content-area widget.
6176 * shell/ev-window.c: Create a EvView, update it
6177 as we change documents.
6179 * shell/Makefile.am shell/ev-marshal.list: Add
6180 generated marshalers.
6182 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6184 * Makefile.am (SUBDIRS): move shell.
6186 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6188 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6189 .a to libtool convenience libraries.
6191 * shell/ev-window.c (ev_window_open): Hard code loading
6194 * backend/ev-document.h: Add a boolean return to load(),
6195 fix GError * to GError **.
6197 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6198 object for a PDF backend EvDocument.
6200 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6202 * dvi/*: New directory with the beginning of a .dvi backend.
6204 2004-12-21 Havoc Pennington <hp@redhat.com>
6206 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6207 previous/next instead of back/forward
6209 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6211 * backend/ev-document.[ch]: Fix a couple of problems so
6214 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6216 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6217 to backend/ directory, rename EvViewer to EvDocument.
6219 2004-12-21 Havoc Pennington <hp@redhat.com>
6221 * shell/ev-window.c: hook up the find bar widget; now we just need
6222 a document to find things in
6224 * shell/eggfindbar.c: a find bar widget
6226 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6228 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6230 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6232 * pdf/**: Import of xpdf code from gpdf.
6234 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6236 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6237 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6238 Fix FreeType includes.
6240 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6241 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6242 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6243 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6244 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6245 Include xpdfconfig.h
6247 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6249 * shell/ev-window.c (ev_window_dispose): dispose can be called
6252 2004-12-21 Havoc Pennington <hp@redhat.com>
6254 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6257 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6258 items; really they should be synced with the strings, etc. from
6259 current gpdf, but just getting the boring typing out of the way
6261 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6264 * shell/ev-application.c: (window_destroy_cb):
6265 * shell/ev-window.c:
6266 * shell/main.c: (main):
6268 Actually show the window...
6270 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6273 * shell/Makefile.am:
6274 * shell/ev-application.c: (ev_application_class_init):
6275 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6279 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6281 Import to gnome cvs.
6283 * Remove copies of gpdf and ggv trees.
6284 * Rip out all the recursive configure code.
6285 * Remove bonobo machinery.
6286 * viewer/*: GInterfaces that backends should/can implement.
6288 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6290 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6293 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6295 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6296 (ev_application_finalize, ev_application_class_init)
6297 (ev_application_init): use GType instance private data for priv.
6299 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6300 (ev_window_finalize, ev_window_class_init)
6301 (ev_window_init): ditto.
6303 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6305 * shell/ev-application.c (ev_application_new_window): make public
6306 (ev_application_show_initial_window): kill.
6308 * shell/ev-application.h: update prototypes.
6310 * shell/main.cc (main): inline ev_application_show_initial_window.
6312 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6314 * shell/ev-application.c (ev_application_new_window): impl.
6315 (ev_application_show_initial_window): use it.
6316 (is_window_empty, ev_application_get_empty_window): returns an
6317 existing empty window or a new one.
6318 (ev_application_open): from ev_window_cmd_file_open.
6320 * shell/ev-application.h: update prototypes
6322 * shell/ev-window.c (ev_window_is_empty): impl.
6323 (ev_window_open): make public.
6324 (ev_window_cmd_file_open): use ev_application_open
6326 * shell/ev-window.h: update prototypes, remove unused.
6328 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6330 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6331 move destroy handler out of here...
6333 * shell/ev-application.c, shell/ev-application.h: ...into this new
6334 class. Also handles initial window creation.
6336 * shell/main.cc (main): use EvApplication to create initial
6339 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6341 * Makefile.am (SUBDIRS): add cut-n-paste
6343 * cut-n-paste/Makefile.am: add
6345 * configure.ac: generate Makefiles in cut-n-paste
6347 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6349 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6350 (ev_window_class_init): install ev_window_dispose.
6352 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6354 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6355 char (gchar looks stupid).
6357 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6359 * po/de.po: updated German translation.
6361 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6363 * configure.ac: add more pkg-config library checks for gnome-vfs,
6366 * gpdf/configure.in: temporarily disable libpaper
6367 checks. Otherwise I'd have to add the checks for the shell, too.
6369 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6371 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6372 and * file filters to the file choose.
6374 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6376 * po/de.po: Updated German translation.
6378 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6380 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6382 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6384 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6386 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6387 (ev_window_init): implement those menuitems.
6389 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6391 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6393 * shell/ev-window.c (ev_window_init): use the toolbar.
6395 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6397 * shell/ev-window.c (ev_window_init): use menu translations
6399 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6401 * configure.ac: add "de" to ALL_LINGUAS.
6403 * po/de.po: add German translation.
6405 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6407 * Makefile.am (SUBDIRS): add po
6409 * configure.ac: check intltool, glib-gettext etc, generate
6412 * po, po/POTFILES.in, po/POTFILES.skip: new.
6414 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6416 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6417 already use (#ifdef ENABLE_NLS)
6419 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6420 pointer indirection thinko.
6422 * shell/main.c: include gi18n.h for bindtextdomain etc.
6424 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6426 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6427 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6428 tooltips for menu items in the statusbar.
6430 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6432 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6433 pkgdatadir drop UIDIR
6435 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6437 * data/evince-ui.xml: Add File->Open menu item
6439 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6440 chooser), hook it up in the ui manager.
6442 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6444 * shell/ev-window.c: fix Help->About tooltip.
6446 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6448 * configure.ac: set CFLAGS for libevprivate.
6450 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6451 definitions, factory etc.
6453 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6455 * shell/Makefile.am: link against libevprivate.a.
6457 * shell/ev-window.c (entries): add stock icon to Help->About.
6459 * shell/main.c (main): init stock icon code.
6461 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6463 * lib/recent-files: egg recent files code
6465 * lib/Makefile.am: add.
6467 * Makefile.am: add lib subdir.
6469 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6470 set CFLAGS for recent-files.
6472 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6474 * configure.ac: disable -ansi and -pedantic gcc flags. They
6475 disable POSIX stuff in stdio.h, but egg-recent uses them.
6477 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6479 * configure.ac: add --disable-deprecated flag (defaults to on in
6482 * shell/Makefile.am (INCLUDES): use it.
6484 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6486 * shell/main.c: add missing #include.
6488 * shell/ev-window.c: fix for pedantic gcc.
6489 (ev_window_cmd_help_about): split license into paragraphs for
6490 translators and pedantic compilers.
6492 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6494 * configure.ac: add more warning flags if compiling with gcc from
6495 cvs (or explicitly requested with --enable-more-warnings).
6497 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6499 * data/evince-ui.xml: add File and File->Close menu.
6501 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6502 (ev_window_destroy): quit after destroy.
6503 (ev_window_class_init): override GtkObject::destroy.
6504 (entries): install close_window callback.
6506 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6508 * Makefile.am (SUBDIRS): add data subdir.
6510 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6511 gtk+ 2.5.0 for GtkAboutDialog.
6513 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6516 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6518 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6520 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6522 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6524 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6526 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6528 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6530 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6532 * shell/*: Added shell directory boilerplate, build it.
6534 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6536 * configure.ac, Makefile.am: Added top-level configure.ac and