1 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * shell/ev-window.c: (update_action_sensitivity):
5 Disable print and save respect to lockdown gconf keys. Fix
8 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
11 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
12 (write_to_temp_file), (ev_file_set_contents):
14 * shell/ev-window.c: (save_print_config_to_file):
16 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
19 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
21 * shell/ev-window.c: (load_print_config_from_file),
22 (save_print_config_to_file), (ev_window_print_range):
24 Persist the print settings. Fixes bug #311578.
26 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
28 * djvu/djvu-document.c: (djvu_document_get_page_size),
29 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
30 (djvu_document_thumbnails_get_thumbnail):
31 * dvi/dvi-document.c: (dvi_document_get_page_size),
32 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
33 (dvi_document_thumbnails_get_dimensions),
34 (dvi_document_thumbnails_get_thumbnail):
35 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
36 (pixbuf_document_render_pixbuf),
37 (pixbuf_document_document_iface_init),
38 (pixbuf_document_thumbnails_get_thumbnail):
40 Update backends to make them build with new rotation system.
42 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
44 * help/C/figures/evince_start_window.png:
46 Update documentation image from Luca Ferretti <elle.uca@libero.it>
48 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
50 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
51 * shell/ev-pixbuf-cache.h:
52 * shell/ev-sidebar-thumbnails.c:
53 (ev_sidebar_thumbnails_get_property), (add_range),
54 (adjustment_changed_cb):
55 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
56 pixbuf cache. Make thumbnailing work again. Also, fix bug where
57 we were thumbnailing the entire docment on startup, slowing us
60 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
62 * shell/ev-page-cache.c: (ev_page_cache_new):
63 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
66 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
68 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
69 (ev_view_rotate_left):
71 Account rotation in doc_rect_to_view_rect.
72 Ensure rotation doesnt go out of bounds.
74 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
76 * shell/ev-page-cache.c: (ev_page_cache_get_size):
78 Correct and cleanup w/h swapping
80 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
82 * backend/ev-document-thumbnails.c:
83 (ev_document_thumbnails_get_thumbnail):
84 * backend/ev-document-thumbnails.h:
85 * backend/ev-document.c:
86 * backend/ev-document.h:
87 * backend/ev-render-context.c: (ev_render_context_new),
88 (ev_render_context_set_rotation):
89 * backend/ev-render-context.h:
91 * ps/ps-document.c: (ps_document_document_iface_init):
92 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
94 * shell/ev-page-cache.c: (build_height_to_page),
95 (ev_page_cache_new), (ev_page_cache_get_size),
96 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
97 (ev_page_cache_get_height_to_page):
98 * shell/ev-page-cache.h:
99 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
100 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
101 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
102 (ev_pixbuf_cache_get_selection_pixbuf):
103 * shell/ev-pixbuf-cache.h:
104 * shell/ev-print-job.c: (idle_print_handler):
105 * shell/ev-sidebar-thumbnails.c: (add_range):
106 * shell/ev-view.c: (view_update_range_and_current_page),
107 (get_page_y_offset), (get_page_extents),
108 (ev_view_size_request_continuous_dual_page),
109 (ev_view_size_request_continuous),
110 (ev_view_size_request_dual_page),
111 (ev_view_size_request_single_page), (draw_one_page),
112 (ev_view_set_rotation), (ev_view_rotate_right),
113 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
114 (ev_view_zoom_for_size_continuous_and_dual_page),
115 (ev_view_zoom_for_size_continuous),
116 (ev_view_zoom_for_size_dual_page),
117 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
118 (ev_view_select_all):
119 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
120 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
121 (tiff_document_document_iface_init),
122 (tiff_document_thumbnails_get_thumbnail):
124 Use rotation rather than orientation. It's easier and enough
127 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
129 * shell/ev-page-cache.c: (build_height_to_page),
130 (ev_page_cache_new), (ev_page_cache_get_size),
131 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
132 (ev_page_cache_get_height_to_page):
133 * shell/ev-page-cache.h:
134 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
135 (ev_view_size_request_continuous_dual_page),
136 (ev_view_size_request_continuous),
137 (ev_view_zoom_for_size_continuous_and_dual_page),
138 (ev_view_zoom_for_size_continuous):
140 Make the page cache aware of page orientation.
142 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
144 * backend/ev-document-thumbnails.c:
145 (ev_document_thumbnails_get_thumbnail):
146 * backend/ev-document-thumbnails.h:
147 * backend/ev-document.c:
148 * backend/ev-document.h:
149 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
150 * backend/ev-ps-exporter.h:
152 * ps/ps-document.c: (ps_document_document_iface_init),
153 (ps_document_ps_export_do_page):
154 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
156 * shell/ev-page-cache.c: (ev_page_cache_get_size),
158 * shell/ev-page-cache.h:
159 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
160 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
161 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
162 * shell/ev-pixbuf-cache.h:
163 * shell/ev-print-job.c: (idle_print_handler):
164 * shell/ev-sidebar-thumbnails.c: (add_range):
165 * shell/ev-view.c: (view_update_range_and_current_page),
166 (get_page_extents), (ev_view_size_request_dual_page),
167 (ev_view_size_request_single_page), (draw_one_page),
168 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
169 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
170 (ev_view_zoom_for_size_dual_page),
171 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
172 (ev_view_select_all):
173 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
174 * tiff/tiff-document.c: (tiff_document_get_page_size),
175 (tiff_document_get_orientation), (rotate_pixbuf),
176 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
177 (tiff_document_thumbnails_get_thumbnail),
178 (tiff_document_ps_export_do_page), (tiff_document_init):
180 Really make use of the orientation bit of the render context.
181 Use the render context in a few more places in the backend API.
182 This regress orientation, but now it's done right. Will try to
185 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
187 * shell/ev-view.c: (ensure_rectangle_is_visible):
189 Patch by Nickolay V. Shmyrev to fix find flickering
191 2005-07-27 Martin Kretzschmar <martink@gnome.org>
193 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
194 duplex parameters to ::begin.
196 * tiff/tiff-document.c (tiff_document_ps_export_begin):
197 * shell/ev-print-job.c (idle_print_handler):
198 * ps/ps-document.c (ps_document_ps_export_begin):
199 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
200 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
201 implementations. Poppler backend needs poppler cvs. Rest has
204 2005-07-25 Martin Kretzschmar <martink@gnome.org>
206 * shell/ev-window.c (using_pdf_printer): new function.
207 (ev_window_print_range): print a less techy message if someone
208 tries to print to PDF.
210 2005-07-25 Martin Kretzschmar <martink@gnome.org>
212 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
213 from "unknown font" string. Bug #311431
215 2005-07-24 Martin Kretzschmar <martink@gnome.org>
217 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
219 2005-07-24 Martin Kretzschmar <martink@gnome.org>
223 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
224 name for PopplerFontTypes
225 (pdf_document_fonts_fill_model): add font type to the detail column
227 * backend/ev-document-fonts.h: added
228 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
230 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
231 font name and font details, add a little markup.
232 (ev_properties_fonts_init): use the new cell data func, specify ypad
233 property for the cell renderer.
234 (ev_properties_fonts_set_document): add the details column.
236 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
238 * configure.ac: Added "pl" to ALL_LINGUAS.
240 2005-07-24 Danilo Šegan <danilo@gnome.org>
242 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
244 2005-07-23 Tommi Vainikainen <thv@iki.fi>
246 * help/ChangeLog: Started this for translations of manual.
247 * configure.ac, autogen.sh, .cvsignore: Migrated to
248 gnome-doc-utils. Patch in bug #311222.
250 2005-07-22 Martin Kretzschmar <martink@gnome.org>
252 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
253 #ifdef this away to fix an unused-function warning.
255 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
257 * configure.ac: Added 'gl' to ALL_LINGUAS.
259 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
261 * configure.ac: Added ne in ALL_LINGUAS
263 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
265 * shell/ev-view.c: (ev_view_leave_notify_event):
267 Clear status message when pointer leaves view. Fix for bug
270 2005-07-20 Ankit Patel <ankit644@yahoo.com>
272 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
274 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
276 * shell/ev-view.c: (ev_view_leave_notify_event),
277 (ev_view_class_init):
279 Set cursor to normal then leaving view.
281 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
285 Fix required djvulibre version.
287 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
289 *configure.ac: Hindi (hi) language added
291 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
293 *configure.ac: Punjabi (pa) Language added
295 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
297 * data/evince-ui.xml, shell/ev-window.c:
299 Add keypad accelerators for zooming. Fix for bug 308128.
301 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
304 * backend/Makefile.am:
305 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
307 * shell/ev-document-types.c: (ev_document_types_add_filters):
309 Allow to enable/disable the pixbuf backend.
310 Default to off for now. If we want it enabled we should
311 really put mime types in the desktop, implement properties etc.
313 * properties/evince-properties.c:
315 Initialize error to NULL.
316 Check error is not NULL before freeing.
318 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
322 Use F5 as presentation accell
324 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
326 * shell/ev-window.c: (update_chrome_visibility),
327 (ev_window_create_fullscreen_popup), (ev_window_init):
329 Do not leak the fullscreen toolbar
331 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
333 * shell/ev-window.c: (view_actions_focus_in_cb),
334 (view_actions_focus_out_cb):
336 These has a return value! Fix totally random focus
337 issues we was seeing.
339 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
341 * shell/main.c: (load_files_remote):
343 Allow open more than one file
345 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
347 * shell/main.c: (load_files_remote):
349 Fix for dbus 0.33. bug #309975
351 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
353 * properties/ev-properties-main.c: (ev_properties_get_pages):
355 Actually return NULL for types we dont support
357 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
363 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
365 * backend/ev-document-factory.c:
366 (ev_document_factory_get_document):
368 Do not try to create the object if type
371 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
373 * ps/ps-document.c: (ps_document_dispose),
374 (ps_async_renderer_render_pixbuf):
377 Do not leak the target window
379 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
381 * shell/ev-application.c: (ev_application_init):
383 Let tbe check file existence for us.
384 Add a comment about eggrecent mime filter.
386 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
388 * data/evince-ui.xml:
389 * shell/ev-application.c: (ev_application_shutdown),
390 (ev_application_init), (ev_application_get_toolbars_model),
391 (ev_application_get_recent_model),
392 (ev_application_save_toolbars_model):
393 * shell/ev-application.h:
394 * shell/ev-window.c: (ev_window_add_recent),
395 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
396 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
399 Use common toolbar and recent models for all windows.
400 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
402 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
404 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
405 successfully check for gtk_icon_view_get_visible_range.
407 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
412 Fix djvu and dvi backend build.
414 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
416 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
417 (new_separator_pixbuf):
421 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
423 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
425 HIGification of toolbar editor dialogue.
427 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
432 Ever build metadata manager since it's just
433 disabled at runtime now.
435 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
437 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
438 (ev_metadata_manager_get), (ev_metadata_manager_set):
439 * shell/ev-metadata-manager.h:
441 Add an _init functions that enabled metadata management
444 * shell/ev-window.c: (page_changed_cb),
445 (setup_document_from_metadata), (ev_window_setup_document),
446 (setup_view_from_metadata), (ev_window_open_uri),
447 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
448 (ev_window_run_presentation), (ev_window_stop_presentation),
449 (save_sizing_mode), (ev_window_zoom_changed_cb),
450 (ev_window_continuous_changed_cb),
451 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
452 (window_configure_event_cb):
454 Remove all ugly metadata define since we deal with it
457 * shell/main.c: (load_files_remote), (main):
459 Add support for dbus cvs head. Hopefully didnt break one
460 of the other versions now!
462 If we dont get a response from the dbus server just
463 give up with it and not enable metadata.
465 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
468 * backend/Makefile.am:
470 * cut-n-paste/recent-files/Makefile.am:
471 * cut-n-paste/toolbar-editor/Makefile.am:
472 * cut-n-paste/zoom-control/Makefile.am:
475 * pixbuf/Makefile.am:
476 * properties/Makefile.am:
479 * thumbnailer/Makefile.am:
482 Make frontends depend on just libev.
483 Rework and group CFLAGS/LIBS definitions.
486 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
490 do not unnecessarily save zoom
493 * lib/ev-file-helpers.c: (ev_dot_dir):
499 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
503 Remove unnecessary dependencies
505 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
507 * properties/Makefile.am:
508 * thumbnailer/Makefile.am:
511 Some more cleanups. Was really necessary
512 but I probably introduced bugs, feel free
515 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
517 * backend/Makefile.am:
519 * cut-n-paste/recent-files/Makefile.am:
520 * cut-n-paste/toolbar-editor/Makefile.am:
521 * cut-n-paste/zoom-control/Makefile.am:
524 * pixbuf/Makefile.am:
525 * properties/Makefile.am:
528 * thumbnailer/Makefile.am:
531 Use gnome-common macros when possible.
532 Cleanup dependencies.
533 Actually disable deprecated where possible.
535 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
538 * backend/Makefile.am:
539 * properties/Makefile.am:
541 * thumbnailer/Makefile.am:
543 This should solve the circular dep without
546 * shell/ev-window.c: (setup_view_from_metadata):
548 Never restore window size/position when the
549 window is already visible.
551 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
553 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
555 Return a boolean from timeout func. Fix ported from gedit.
557 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
559 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
561 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
563 * shell/ev-document-types.c: set "All Documents" as default filter in
566 2005-07-06 Martin Kretzschmar <martink@gnome.org>
568 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
569 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
570 (ev_metadata_manager_set_boolean): fix value/val thinko.
572 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
574 * shell/ev-window.c: (setup_view_from_metadata),
575 (window_state_event_cb), (window_configure_event_cb),
578 Remember window position and maximized state
580 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
584 Fix DBUS configure checks.
586 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
587 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
588 (ev_metadata_manager_set_boolean):
592 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
593 (ev_window_stop_fullscreen), (ev_window_run_presentation),
594 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
595 (ev_window_continuous_changed_cb),
596 (ev_window_dual_mode_changed_cb), (ev_window_new):
598 Fix the build without DBUS.
600 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
602 * shell/ev-metadata-manager.c: (parse_value), (save_values),
603 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
604 (ev_metadata_manager_set_string),
605 (ev_metadata_manager_set_boolean):
606 * shell/ev-metadata-manager.h:
608 Add support for some more types
610 * shell/ev-view.c: (scroll_to_current_page),
611 (ev_view_get_continuous), (ev_view_set_continuous),
612 (ev_view_get_dual_page):
614 * shell/ev-window.c: (page_changed_cb),
615 (setup_document_from_metadata), (ev_window_setup_document),
616 (setup_view_from_metadata), (ev_window_open_uri),
617 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
618 (ev_window_run_presentation), (ev_window_stop_presentation),
619 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
620 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
621 (ev_window_update_dual_page_action),
622 (ev_window_continuous_changed_cb),
623 (ev_window_dual_mode_changed_cb), (ev_window_init):
625 Remember a bunch of view/document properties. Prolly some
626 are still missing but it's getting interesting.
628 2005-07-05 Martin Kretzschmar <martink@gnome.org>
630 * configure.ac: check if dbus-binding-tool is installed. Not the
631 case on current Ubuntu breezy, it seems.
633 2005-07-05 Luca Ferretti <elle.uca@libero.it>
635 * data/evince.desktop.in.in:
637 Allow open uri lists and add TryExec field.
639 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
643 Enable dbus when available, do not require a configure
646 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
650 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
653 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
654 Marco Pesenti Gritti <mpg@redhat.com>
656 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
658 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
659 functions to the format required by dbus
661 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
662 errors. Use the RPC parameters in the expected way
664 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
667 * properties/Makefile.am:
668 * properties/ev-properties-main.c: (ev_properties_get_pages):
670 Support all mime types
673 * thumbnailer/Makefile.am:
674 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
675 (evince_thumbnail_pngenc_get):
677 Use the document factory
679 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
681 * backend/Makefile.am:
682 * backend/ev-document-factory.c:
683 (mime_type_supported_by_gdk_pixbuf),
684 (ev_document_type_get_from_mime),
685 (ev_document_factory_get_document),
686 (ev_document_factory_get_backend),
687 (ev_document_factory_get_mime_types),
688 (ev_document_factory_get_all_mime_types):
689 * backend/ev-document-factory.h:
691 * shell/ev-document-types.c: (get_document_from_uri),
692 (ev_document_types_get_document),
693 (file_filter_add_mime_list_and_free),
694 (ev_document_types_add_filters):
695 * shell/ev-document-types.h:
696 * shell/ev-job-xfer.c: (ev_job_xfer_run):
697 * shell/ev-properties-dialog.c:
698 (ev_properties_dialog_set_document):
699 * shell/ev-window.c: (ev_window_cmd_file_open),
700 (ev_window_cmd_save_as):
701 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
703 Rework document types managing to avoid code duplication
704 and actually abstract from backend implementations.
705 Also provide a minimal factory api that can be used by
706 thumbnailer/properties.
708 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
710 * properties/ev-properties-view.c: (ev_properties_view_set_info):
712 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
715 2005-07-04 Matthew S. Wilson <msw@rpath.com>
717 * shell/ev-properties-dialog.c
718 (ev_properties_dialog_set_document): only call
719 ev_properties_fonts_set_document() if the document implements the
722 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
725 * properties/Makefile.am:
726 * properties/ev-properties-view.c:
727 (ev_properties_view_register_type):
728 * properties/ev-properties-view.h:
729 * properties/ev-properties-main.h:
731 Implement nautilus plugin for properties.
732 Works only for pdf atm, I need to rework the
733 document types stuff to get this to work
736 2005-07-04 Martin Kretzschmar <martink@gnome.org>
738 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
739 (ev_properties_fonts_set_document): use
740 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
742 2005-07-04 Matthew S. Wilson <msw@rpath.com>
744 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
746 (PlaceImage, tiff2ps_process_page): use
747 g_ascii_dtostr to convert floats to strings in a locale-safe way.
750 2005-07-04 Martin Kretzschmar <martink@gnome.org>
752 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
753 (main): to call gnome_authentication_manager_init. Should fix
756 * configure.ac: that requires libgnomeui 2.6.0.
758 2005-07-04 Matthew S. Wilson <msw@rpath.com>
760 * tiff/tiff-document.c (tiff_document_ps_export_begin)
761 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
762 use the new tiff2ps interfaces
764 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
765 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
767 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
768 structure instead of global variables. Remove use of static
769 variables in functions.
771 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
773 * shell/ev-page-action.c: unref the completion after setting it to the
776 2005-07-04 Matthew S. Wilson <msw@rpath.com>
778 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
781 2005-07-04 Matthew S. Wilson <msw@rpath.com>
783 * shell/ev-window.c (update_action_sensitivity): disable
784 File->Print if the document does not implement the ps exporter
787 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
791 * data/evince-properties.glade:
792 * properties/.cvsignore:
793 * properties/Makefile.am:
794 * properties/ev-properties-view.c: (ev_properties_view_dispose),
795 (ev_properties_view_class_init), (ev_properties_view_format_date),
796 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
797 (ev_properties_view_init), (ev_properties_view_new):
798 * properties/ev-properties-view.h:
800 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
801 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
802 (ev_properties_dialog_new):
803 * shell/ev-properties-dialog.h:
804 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
805 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
806 (update_progress_label), (job_fonts_finished_cb),
807 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
808 * shell/ev-properties-fonts.h:
809 * shell/ev-properties.c:
810 * shell/ev-properties.h:
811 * shell/ev-window.c: (ev_window_setup_document),
812 (ev_window_cmd_file_properties):
814 Split the properties pages in two different objects, depend
815 only on the backend where possible, use widgets instead
816 of gobject for the glade part, reimplement the dialog
818 I need this to implement nautilus properties page.
820 2005-07-03 Matthew S. Wilson <msw@rpath.com>
822 * tiff/tiff-document.c (tiff_document_ps_export_begin)
823 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
824 (tiff_document_document_ps_exporter_iface_init): implement the ps
825 exporter interface for tiff documents
827 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
828 libtiff to implement TIFF postscript export
830 * tiff/tiff2ps.h: added a header file for external tiff2ps
833 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
836 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
838 * shell/ev-view.c: (scroll_to_current_page),
839 (ev_view_set_fullscreen), (ev_view_set_presentation):
841 Scroll to current page when exit from presentation
843 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
845 * shell/ev-window.c: (update_document_mode),
846 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
847 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
848 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
850 Exit from fullscreen mode when switch to presentation. Fix for
853 2005-07-02 Matthew S. Wilson <msw@rpath.com>
855 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
856 return NULL if the document does not implement the selection
859 2005-07-02 Matthew S. Wilson <msw@rpath.com>
861 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
862 reported height by using the resolution aspect ratio
863 (tiff_document_render_pixbuf): scale the pixbuf using the
864 resolution aspect ratio
866 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
870 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
871 <kiltedaco@gmail.com>
873 * djvu/djvu-document.c: (djvu_document_get_orientation),
874 (djvu_document_set_orientation), (djvu_document_get_page_size),
875 (rotate_pixbuf), (djvu_document_render_pixbuf),
876 (djvu_document_document_iface_init):
877 * dvi/dvi-document.c: (dvi_document_get_orientation),
878 (dvi_document_set_orientation), (dvi_document_get_page_size),
879 (rotate_pixbuf), (dvi_document_render_pixbuf),
880 (dvi_document_document_iface_init):
882 Dvi and djvu backends are ported to new API
884 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
886 * backend/ev-selection.c: (ev_selection_get_selection_region),
887 (ev_selection_get_selection_map):
888 * backend/ev-selection.h:
890 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
892 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
893 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
894 (ev_pixbuf_cache_get_text_mapping):
895 * shell/ev-pixbuf-cache.h:
896 * shell/ev-view.c: (location_in_text),
897 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
898 support to EvView. Now we can see where we can select! Sweet!
900 2005-06-30 Kristian Høgsberg <krh@redhat.com>
902 * shell/ev-view.c (ev_view_button_press_event): Fix
903 event->y + view->scroll_x typo.
905 2005-06-30 Kristian Høgsberg <krh@redhat.com>
907 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
908 sub-GdkPixbuf instead of passing dest_x and dest_y.
910 * shell/ev-view.c: (view_point_to_doc_point),
911 (view_rect_to_doc_rect), (ev_view_button_press_event),
912 (ev_view_motion_notify_event), (compute_new_selection_rect),
913 (gdk_rectangle_point_in), (compute_new_selection_text),
914 (compute_selections): Update selection code to keep the selection
915 around as two points and not as a normalized rectangle, and fix
916 page level selection in two-column mode.
918 2005-06-30 Alex Duggan <aldug@astrolinux.com>
920 * shell/ev-window.c: (window_configure_event_cb):
924 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
930 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
933 * shell/ev-metadata-manager.c: (item_free),
934 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
935 (parse_value), (parseItem), (load_values),
936 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
937 (save_values), (save_item), (get_oldest), (resize_items),
938 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
939 * shell/ev-metadata-manager.h:
941 Metadata manager from gedit but modified to use GValue, so that
942 we dont need to keep converting from strings.
946 ENABLE_METADATA conditional, on when dbus is on
948 * shell/ev-application.c: (ev_application_open_uri):
950 Show the window after load so that we can initialize
951 window size before it's showed.
953 * shell/ev-window.c: (ev_window_setup_from_metadata),
954 (ev_window_open_uri), (window_configure_event_cb),
957 Save and load metadata information about window size.
958 Not yet keeping states in account.
960 * shell/main.c: (main):
962 Shutdown metadata manager.
964 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
966 * shell/ev-application-service.xml:
969 * shell/ev-application.c:
970 * shell/ev-application.h:
975 Add an optional dbus interface (--enable-dbus).
976 Rework application code, mainly to be easier to
978 Do not open multiple windows with the same document,
981 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
983 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
984 pixbuf iff it exists.
986 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
989 * backend/ev-render-context.[ch]:
990 * backend/ev-selection.[ch]:
992 Massive changes. We now support text selection of pdfs, and not
993 just rectangular selection. This is pretty broken still, but I
994 want to get something into CVS.
996 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1000 Fix for Bug 309080: crash on window close.
1002 * shell/ev-page-action.c: (page_changed_cb):
1004 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1005 jensgr@gmx.net (Jens Granseuer).
1007 2005-06-25 Marcel Telka <marcel@telka.sk>
1009 * configure.in (ALL_LINGUAS): Added sk.
1011 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1013 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1016 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1023 * cut-n-paste/recent-files/Makefile.am:
1027 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1029 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1030 (pixbuf_document_set_orientation), (rotate_pixbuf),
1031 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1032 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1034 Implement rotation and cleanup the code a bit.
1036 * tiff/tiff-document.c: (tiff_document_get_page_size),
1037 (tiff_document_get_orientation), (tiff_document_set_orientation),
1038 (rotate_pixbuf), (tiff_document_render_pixbuf),
1039 (tiff_document_document_iface_init), (tiff_document_init):
1041 Implement rotation. Was the quicker solution for the release
1042 but we really need to share this code in the shell.
1044 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1046 * pdf/ev-poppler.cc:
1048 Enable rotation, require poppler cvs. Fix a leak.
1050 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1052 * shell/ev-window.c: (update_action_sensitivity):
1054 Make properties unsensitive if document backend doesn't provide
1057 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1059 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1060 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1061 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1062 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1063 (bitmap_flip_rotate_counter_clockwise):
1064 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1065 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1067 * dvi/mdvi-lib/common.h:
1068 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1069 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1070 (opendvi), (mdvi_reload), (mdvi_init_context),
1071 (mdvi_destroy_context), (mdvi_dopage), (special):
1072 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1073 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1074 (file_hash_free), (register_encoding), (parse_spec),
1075 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1076 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1077 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1078 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1079 (mdvi_register_font_type), (mdvi_unregister_font_type),
1080 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1081 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1082 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1083 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1084 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1085 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1086 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1087 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1088 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1089 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1090 (mdvi_unregister_special), (mdvi_flush_specials):
1091 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1093 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1094 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1095 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1096 (free_font_metrics), (flush_font_metrics):
1097 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1099 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1100 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1101 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1102 (dstring_insert), (dstring_new), (dstring_reset):
1103 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1105 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1106 avoid conflict with libtool on FC4
1108 * shell/ev-window.c: (ev_window_cmd_help_about):
1110 Update copyright year. Fix for bug 308828.
1112 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1114 * shell/ev-view.c: (add_scroll_binding_keypad),
1115 (ev_view_binding_activated), (ev_view_class_init),
1116 (on_adjustment_value_changed):
1118 Bug 170874: Arrow keys switch pages in presentation mode
1120 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1122 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1124 Fix for Bug 308265: Sidebar dissappears coming out of
1127 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1129 * shell/ev-application.c: (ev_application_open):
1130 * shell/ev-document-types.c: (ev_document_types_add_filters),
1131 (ev_document_types_add_filters_for_type):
1132 * shell/ev-document-types.h:
1133 * shell/ev-window.c: (ev_window_cmd_save_as):
1135 Suggest basename as template when saving, provide filters
1136 for save dialog. It's bug 308402
1138 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1140 * pdf/ev-poppler.cc:
1141 * shell/ev-sidebar-links.c: (job_finished_callback):
1142 * shell/ev-view.c: (update_find_status_message):
1146 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1148 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1149 (egg_recent_view_uimanager_set_list):
1151 Fix buglet in !show_numbers case.
1153 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1155 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1156 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1158 Use pango ellipsisation.
1160 * pdf/ev-poppler.cc:
1162 Fix refcount leak, from nsh.
1164 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1166 * cut-n-paste/recent-files/Makefile.am:
1167 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1168 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1170 Removed EggRecentViewGtk
1172 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1173 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1174 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1175 (ev_window_setup_recent):
1177 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1180 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1182 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1183 (egg_recent_view_gtk_finalize):
1187 * cut-n-paste/toolbar-editor/Makefile.am:
1189 Fix location of cursor icon.
1191 * pdf/ev-poppler.cc:
1192 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1193 (display_completion_text), (match_completion):
1194 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1195 (selection_changed_callback), (create_loading_model),
1196 (print_section_cb), (links_page_num_func),
1197 (update_page_callback_foreach):
1198 * shell/ev-window.c: (ev_window_dispose):
1200 Small memory fixes. Links model now store objects instead
1201 of pointers to improve memory management.
1203 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1205 * shell/ev-window.c: (zoom_control_changed_cb):
1207 Fix update of zoom control (bug 308268).
1209 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1211 * shell/ev-properties.c (set_property): escape the text correctly.
1212 Handles non-UTF-8 properties and escaped properties. Also, sets
1213 the text to "<i>None</i>" if the property isn't set.
1215 * data/evince-properties.glade: Change the label to be ellipsized,
1216 and give it a minimum size.
1218 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1220 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1221 * shell/ev-sidebar-links.c: (create_loading_model):
1222 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1223 * shell/ev-view.c: (ev_view_set_document):
1224 * shell/ev-window.c: (ev_window_dispose):
1226 Various small fixes, mostly memory leaks. Thanks to valgrind.
1228 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1230 * ps/ps-document.c: remove the locale.h include again ;-). And
1231 kill the (bogus) setlocale/savelocale business.
1233 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1237 Include locale.h to fix build
1239 * shell/ev-sidebar.c:
1241 Remove unnecessary includes
1243 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1245 * dvi/dvi-document.c: (dvi_document_load):
1246 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1249 Check for incorrect dvi files. Fix parsing dvi on AMD64
1250 platform. Thanks to tester@tester.ca (Olivier Crete).
1252 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1254 * shell/ev-page-action.c: (match_selected_cb),
1255 (display_completion_text), (match_completion), (update_model):
1256 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1257 (expand_open_links):
1258 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1259 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1260 (ev_sidebar_set_document):
1261 * shell/ev-window.c: (ev_window_xfer_job_cb),
1262 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1264 Fixed lot's of memory leaks, for example, memory leak on reload,
1265 described in bug 307793.
1267 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1269 * pdf/ev-poppler.cc:
1270 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1271 (update_visible_range), (adjustment_changed_cb),
1272 (ev_sidebar_thumbnails_fill_model),
1273 (ev_sidebar_thumbnails_refresh),
1274 (ev_sidebar_tree_selection_changed),
1275 (ev_sidebar_icon_selection_changed),
1276 (ev_sidebar_thumbnails_use_icon_view),
1277 (ev_sidebar_thumbnails_set_document):
1278 * shell/ev-sidebar-thumbnails.h:
1279 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1280 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1282 Refresh thumbnails when changing orientation. Not fully
1283 working yet becuase of a sidebar bug.
1285 Set page orientation to poppler page everywhere. This sucks
1286 really need to fix poppler.
1288 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1290 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1291 (egg_recent_view_gtk_new_menu_item),
1292 (egg_recent_view_gtk_set_property),
1293 (egg_recent_view_gtk_get_property),
1294 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1295 (egg_recent_view_gtk_set_tooltip_func),
1296 (egg_recent_view_gtk_set_label_width),
1297 (egg_recent_view_gtk_get_label_width):
1298 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1300 Sync with libegg (ellipsize labels)
1302 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1304 * data/evince-ui.xml:
1305 * shell/ev-window.c: (ev_window_cmd_go_forward),
1306 (ev_window_cmd_go_backward):
1308 Shift + PageUp moves 10 Pages. Fix for 306125
1310 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1312 * pdf/ev-poppler.cc:
1314 Add a flag to check if orientation has been overriden
1316 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1318 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1321 * ps/ps.h: add creator field to document.
1323 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1326 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1328 * data/evince-properties.glade:
1329 * shell/ev-properties.c: (ev_properties_set_document):
1331 s/PDF Version/Format
1333 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1335 * shell/ev-properties.c: (ev_properties_set_document):
1337 Remove unnecessary translations
1339 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1341 * cut-n-paste/toolbar-editor/Makefile.am:
1343 Correct library name
1345 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1348 * cut-n-paste/recent-files/egg-recent-model.c:
1349 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1350 (egg_recent_model_unlock_file):
1351 * cut-n-paste/recent-files/egg-recent-util.c:
1352 (egg_recent_util_get_unique_id):
1353 * cut-n-paste/recent-files/update-from-egg.sh:
1354 * cut-n-paste/toolbar-editor/Makefile.am:
1355 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1356 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1357 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1358 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1359 (egg_toolbars_model_get_type):
1360 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1362 Better makefile for toolbar editor and update everything
1365 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1367 * shell/ev-window.c: (update_document_mode):
1369 Prefer presentation mode when the document
1372 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1374 * data/evince-ui.xml:
1375 * shell/ev-window.c:
1377 Add control-equal for zooming
1379 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1381 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1383 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1385 * backend/ev-document.c: (ev_document_get_orientation):
1386 * backend/ev-document.h:
1387 * pdf/ev-poppler.cc:
1388 * ps/ps-document.c: (ps_document_get_orientation),
1389 (ps_document_set_orientation), (ps_document_document_iface_init):
1391 Add a get_orientation api. Improve set_orientation.
1393 * data/evince-ui.xml:
1394 * shell/ev-view.c: (ev_view_set_orientation),
1395 (ev_view_rotate_right), (ev_view_rotate_left):
1397 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1398 (ev_window_cmd_edit_rotate_right):
1400 Better ui for changing document orientation
1402 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1404 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1405 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1406 * shell/ev-sidebar-links.h:
1407 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1408 (ev_sidebar_page_iface_init):
1409 * shell/ev-sidebar-page.h:
1410 * shell/ev-sidebar-thumbnails.c:
1411 (ev_sidebar_thumbnails_get_property),
1412 (ev_sidebar_thumbnails_class_init),
1413 (ev_sidebar_thumbnails_set_document):
1414 * shell/ev-sidebar-thumbnails.h:
1415 * shell/ev-view.c: (ev_view_motion_notify_event):
1416 * shell/ev-window.c: (update_chrome_visibility),
1417 (ev_window_cmd_focus_page_selector),
1418 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1419 (sidebar_page_main_widget_update_cb), (ev_window_init):
1421 Autoraise toolbar on GoToPage binding and fix bindings in
1422 EvSidebarThumbnails page.
1424 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1426 * shell/ev-properties.c: (update_progress_label):
1428 Hide the progress label when finished; bug #307697.
1430 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1432 * pdf/ev-poppler.cc:
1434 Enable is_open for links, you will need poppler cvs
1436 * shell/ev-properties.c: (job_fonts_finished_cb):
1438 Get a lock on the document when filling the tree view
1440 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1442 * backend/ev-document-links.h:
1443 * pdf/ev-poppler.cc:
1444 * shell/ev-sidebar-links.c: (create_loading_model),
1445 (expand_open_links), (job_finished_callback):
1447 Expand links when specified by the document.
1448 Depend on a poppler api (defined out for now)
1450 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1452 * shell/ev-properties.c: (ev_properties_dispose),
1453 (ev_properties_class_init), (dialog_destroy_cb),
1454 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1455 (ev_properties_set_document), (ev_properties_new),
1456 (ev_properties_show):
1457 * shell/ev-properties.h:
1459 Make it an object, cleanup the code, api to show it as transient
1460 and to set the document.
1462 * shell/ev-window.c: (ev_window_setup_document),
1463 (ev_window_cmd_file_properties):
1465 Adapt to EvProperties changes, do not show multiple
1466 times, update it when document changes.
1468 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1471 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1472 (ps_document_set_orientation), (ps_document_document_iface_init):
1475 Implement orientation here too
1477 * shell/ev-properties.c: (ev_properties_new):
1478 * data/evince-properties.glade:
1480 Hide the fonts page for backends that doesnt
1483 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1485 * backend/ev-document.c: (ev_document_set_orientation):
1486 * backend/ev-document.h:
1487 * pdf/ev-poppler.cc:
1489 Add orientation api. Currently poppler api is not optimal,
1490 we need to set orientation every time we _get a page.
1491 I will try to fix that at some point.
1493 * data/evince-ui.xml:
1494 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1495 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1497 Add orientation menu items
1499 * shell/ev-page-cache.c: (ev_page_cache_clear):
1500 * shell/ev-page-cache.h:
1502 Add api to clear the cache
1504 * shell/ev-view.c: (setup_caches), (clear_caches),
1505 (ev_view_set_document), (ev_view_zoom_out),
1506 (ev_view_set_orientation):
1509 Implement orientation changing
1511 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1513 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1514 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1515 * backend/ev-document-fonts.h:
1517 Separate scan and fill so that we can incrementally fill from
1518 the main thread. Add a progress api.
1520 * data/evince-properties.glade:
1521 * pdf/ev-poppler.cc:
1522 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1524 * shell/ev-properties.c: (update_progress_label),
1525 (job_fonts_finished_cb), (setup_fonts_view):
1527 Incrementally feel the list and show the progress
1528 percentage in a label like acrobat does.
1530 You are going to need poppler cvs
1532 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1534 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1535 * backend/ev-document-fonts.h:
1536 * pdf/ev-poppler.cc:
1538 Make fonts model fill incrementally.
1540 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1541 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1542 (ev_job_queue_remove_job):
1543 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1544 (ev_job_fonts_new), (ev_job_fonts_run):
1547 New job for fonts scanning
1549 * shell/ev-properties.c: (job_fonts_finished_cb),
1550 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1551 * shell/ev-properties.h:
1552 * shell/ev-window.c: (ev_window_cmd_file_properties):
1554 Incrementally feel the treeview using the new job. Show Loading...
1555 message until scanning is completed.
1557 Hopefully I didnt break the build without the poppler patch.
1559 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1561 * shell/ev-application.c: (ev_application_open):
1562 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1563 (ev_document_type_get_type), (ev_document_type_lookup):
1564 * shell/ev-document-types.h:
1565 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1566 * shell/ev-job-xfer.h:
1567 * shell/ev-window.c: (ev_window_clear_local_uri),
1568 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1569 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1570 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1572 Transfer remote documents to tmp directory to display them later.
1574 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1576 * backend/ev-document-info.h:
1577 * shell/ev-properties.c: (ev_properties_new):
1579 s/GTime*/GTime. Not sure why we was using a pointer
1582 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1584 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1585 situations. That situation is that you're using GTK+-HEAD with
1586 the patch at #306726 is applied, and you have a document with <
1587 1500 pages in it. It's not quite as uniformly nice as the
1588 TreeView, but should be better in the long run.
1590 I'm pretty sure I guarded against breaking compilation with
1591 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1594 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1595 widget yet, so I commented that code out
1596 enable_view_actions_for_widget() for now. Need to figure this
1599 * shell/ev-page-action.c (match_selected_cb): emit the right
1600 signals. Our cool C-l completion now works.
1602 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1604 * backend/Makefile.am:
1605 * backend/ev-document-fonts.c:
1606 * backend/ev-document-links.c:
1607 * backend/ev-document.c: (ev_document_load):
1608 * backend/ev-document.h:
1609 * backend/ev-job-queue.c:
1610 * backend/ev-job-queue.h:
1611 * backend/ev-jobs.c:
1612 * backend/ev-jobs.h:
1613 * backend/ev-page-cache.c:
1614 * backend/ev-page-cache.h:
1616 EvPageCache and EvJobs are moved to shell.
1618 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1620 * lib/ev-file-helpers.h:
1622 New helper to work with temporary files
1624 * shell/Makefile.am:
1625 * shell/ev-application.c: (ev_application_open):
1626 * shell/ev-application.h:
1627 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1628 (remove_job_from_async_queue), (add_job_to_async_queue),
1629 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1630 (handle_job), (search_for_jobs_unlocked),
1631 (no_jobs_available_unlocked), (ev_render_thread),
1632 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1633 (ev_job_queue_add_job), (move_job_async), (move_job),
1634 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1635 * shell/ev-job-queue.h:
1636 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1637 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1638 * shell/ev-job-xfer.h:
1639 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1640 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1641 (ev_job_links_class_init), (ev_job_render_init),
1642 (ev_job_render_dispose), (ev_job_render_class_init),
1643 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1644 (ev_job_thumbnail_class_init), (ev_job_load_init),
1645 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1646 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1647 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1648 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1650 * shell/ev-page-action.c: (ev_page_action_set_document):
1651 * shell/ev-page-cache.c: (ev_page_cache_init),
1652 (ev_page_cache_class_init), (ev_page_cache_finalize),
1653 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1654 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1655 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1656 (ev_page_cache_get_title), (ev_page_cache_get_size),
1657 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1658 (ev_page_cache_get_height_to_page),
1659 (ev_page_cache_get_max_label_chars),
1660 (ev_page_cache_get_page_label),
1661 (ev_page_cache_has_nonnumeric_page_labels),
1662 (ev_page_cache_get_info), (ev_page_cache_next_page),
1663 (ev_page_cache_prev_page), (ev_page_cache_get):
1664 * shell/ev-page-cache.h:
1665 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1666 (ev_pixbuf_cache_clear_job_sizes),
1667 (ev_pixbuf_cache_add_jobs_if_needed),
1668 (ev_pixbuf_cache_set_page_range):
1669 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1670 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1671 * shell/ev-sidebar-thumbnails.c:
1672 (ev_sidebar_tree_selection_changed),
1673 (ev_sidebar_thumbnails_set_document):
1674 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1675 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1676 (ev_statusbar_get_context_id), (ev_statusbar_push),
1677 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1678 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1679 (ev_statusbar_set_progress):
1680 * shell/ev-statusbar.h:
1681 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1682 (ev_view_find_previous):
1683 * shell/ev-window.c: (ev_window_is_empty),
1684 (ev_window_setup_document), (password_dialog_response),
1685 (ev_window_clear_jobs), (ev_window_load_job_cb),
1686 (ev_window_xfer_job_cb), (ev_window_open_uri),
1687 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1688 (ev_window_print), (ev_window_print_range),
1689 (ev_window_state_event), (ev_window_cmd_view_reload),
1690 (menu_item_select_cb), (menu_item_deselect_cb),
1691 (view_status_changed_cb), (ev_window_dispose),
1692 (drag_data_received_cb), (ev_window_init):
1693 * shell/ev-window.h:
1694 * shell/main.c: (load_files):
1696 New statusbar to show progress on idle. Two new jobs -
1697 xfer job and load job to load document in background. And update
1698 of page_cache clients to new location of code.
1700 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1702 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1703 selection in open dialog. It also remembers the last visited directory
1704 in the current session.
1706 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1708 * shell/ev-properties.c: (ev_properties_new):
1709 * shell/ev-properties.h:
1710 * shell/ev-window.c: (ev_window_cmd_file_properties):
1712 Get document info from page cache instead of document itself.
1713 This should fix crash related to race conditions described in
1716 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1718 * ps/ps-document.c: (ps_document_init),
1719 (send_ps), (get_page_box), (output), (catchPipe), (input),
1720 (stop_interpreter), (file_length), (file_readable),
1721 (check_filecompressedb), (ps_document_enable_interpreter),
1722 (document_load), (ps_async_renderer_render_pixbuf):
1725 Big cleanup of the ps code
1727 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1729 * backend/Makefile.am:
1730 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1731 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1732 * backend/ev-async-renderer.h:
1734 Add an async renderer interface (method + callback) which
1735 is useful for backends like ps.
1737 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1738 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1739 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1740 (ev_job_queue_add_job), (move_job_async), (move_job),
1741 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1743 Add queues for async renderer, these are executed on the
1746 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1747 (ev_job_render_run):
1748 * backend/ev-jobs.h:
1750 If the backend support async renderer interface use it.
1752 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1753 (setup_pixmap), (ps_document_get_type),
1754 (ps_async_renderer_render_pixbuf),
1755 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1757 Implement async renderer interface.
1759 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1761 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1763 Cleanup links job on exit.
1765 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1767 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1768 (drag_data_get_cb), (drag_data_received_cb):
1769 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1770 (drag_data_get_cb), (parse_item_list),
1771 (egg_toolbar_editor_load_actions):
1772 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1773 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1774 (parse_item_list), (parse_toolbars):
1775 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1776 (dvi_pixbuf_put_pixel):
1778 Fix gcc 4.0 warnings
1780 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1782 * ps/ps-document.c: (start_interpreter):
1784 Fix warning when loading ps
1786 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1788 * ps/ps-document.c: (output):
1790 Fix crash when priting gs error messages.
1792 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1794 * backend/ev-page-cache.c: (_ev_page_cache_new):
1795 * backend/ev-page-cache.h:
1797 Use a const to return title so that we dont double
1798 free it. Small cleanup and fix a leak.
1800 * shell/ev-window.c: (update_window_title):
1802 strdup value from get_title.
1804 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1806 * shell/ev-sidebar-links.c: (job_finished_callback),
1807 (ev_sidebar_links_set_document):
1809 Cleanup the old job when changing document
1811 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1813 * shell/ev-stock-icons.c:
1814 * shell/ev-stock-icons.h:
1815 * shell/ev-window.c:
1817 Add stock icons for actions that can appear in toolbar. Fix for
1820 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1822 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1823 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1824 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1825 * backend/ev-page-cache.h:
1826 * shell/ev-view.c: (scroll_to_current_page),
1827 (view_update_range_and_current_page), (get_page_y_offset),
1828 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1829 (ev_view_size_request_continuous),
1830 (ev_view_zoom_for_size_continuous_and_dual_page),
1831 (ev_view_zoom_for_size_continuous):
1833 More compact EvView layout in document with pages of different size.
1835 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1837 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1840 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1842 * shell/ev-view.c: (view_set_adjustment_values):
1843 * shell/ev-window.c: (ev_window_cmd_file_properties):
1845 A bit different fix for rounding problem but it has no
1846 problems on startup. Make properties window transient to parent.
1848 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1850 * pdf/ev-poppler.cc:
1852 More commenting of font stuff.
1854 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1856 * pdf/ev-poppler.cc:
1858 Comment out some more fonts stuff. Should really
1859 work without the poppler patch now.
1861 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1863 * pdf/ev-poppler.cc:
1867 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1869 * data/evince-properties.glade:
1870 * pdf/ev-poppler.cc:
1871 * shell/ev-properties.c: (setup_fonts_view):
1873 Set the column title. Show the dialog only
1874 once everything is setup.
1875 Getting font info can be very slow... will
1876 prolly need to make this threaded too.
1878 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1880 * backend/Makefile.am:
1881 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1882 (ev_document_fonts_get_fonts_model):
1883 * backend/ev-document-fonts.h:
1884 * data/evince-properties.glade:
1885 * pdf/ev-poppler.cc:
1886 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1887 * shell/ev-properties.h:
1888 * shell/ev-window.c: (ev_window_cmd_file_properties):
1890 Implement fonts list. Defined out for now, since it depends
1891 on a not yet committed poppler patch.
1893 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1895 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1898 * shell/ev-window.c: Make sure we add the timeout when we get a
1901 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1902 adjustment->value before calculating the zoom factor to average
1903 out all of our rounding errors. The page no longer 'drifts' when
1906 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1908 * data/evince-properties.glade:
1909 * shell/ev-properties.c: (ev_properties_format_date),
1912 Labels don't expand when the dialogue is resized.
1913 strftime result needs to be converted to UTF-8. Thanks
1914 to Christian Persch <chpe@gnome.org>.
1916 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1918 * data/evince-properties.glade:
1922 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1924 * backend/ev-document-info.h:
1925 * backend/ev-document.c: (ev_document_info_free):
1926 * data/evince-properties.glade:
1927 * pdf/ev-poppler.cc:
1928 * ps/ps-document.c: (ps_document_get_info):
1929 * shell/ev-properties.c: (ev_properties_format_date),
1930 (set_property), (ev_properties_new):
1931 * shell/ev-properties.h:
1932 * shell/ev-window.c: (ev_window_cmd_file_properties):
1934 Rework properties code to take only EvPropertyInfo
1935 in the constructor so that it can be useful for
1936 nautilus plugin too.
1938 Deal with backends that doesnt support some properties.
1939 Make set property code generic.
1941 2005-06-04 Christian Persch <chpe@gnome.org>
1943 * data/evince-properties.glade:
1945 fix spacings, make resizeable, and make data labels
1946 selectable + ellipsised
1948 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
1950 * backend/ev-document-info.h:
1952 * data/evince-ui.xml:
1953 * pdf/ev-poppler.cc:
1954 * shell/Makefile.am:
1955 * shell/ev-window.c: (update_action_sensitivity),
1956 (ev_window_cmd_file_properties):
1958 Initial go at file properties. Patch by
1959 Emil Soleyman-Zomalan <emil@soleyman.com>.
1960 Needs love see #169583
1962 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
1964 * ps/ps-document.c: (output):
1965 * ps/ps.c: (psscan):
1967 Try to render even if psscan fails.
1969 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1971 * ps/ps.c: (psscan), (pscopydoc):
1973 Port buffered reading code from gv
1975 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1977 * ps/ps-document.c: (interpreter_message), (output):
1979 Do not fail on interpreter messages
1981 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
1983 * backend/ev-document-misc.c:
1984 (ev_document_misc_get_thumbnail_frame):
1986 Pages can be 0 x 0, dont assert on this case
1988 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1990 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1991 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1993 Correctly manage our reference on document. Finally the reload
1994 huge leak is gone...
1996 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
1998 * ps/ps-document.c: (ps_document_dispose):
2000 Forgot to chain it to the parent. Thanks chpe.
2002 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2004 * ps/ps-document.c: (ps_document_dispose),
2005 (ps_document_class_init), (stop_interpreter), (document_load):
2007 Cleanup dispose a bit. Dont leak the whole pixmap.
2009 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2011 * pdf/ev-poppler.cc:
2013 Release the poppler document on dispose
2015 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2017 * shell/ev-view.c: (ev_view_set_document):
2019 Release ref on the pixbuf cache when changing
2022 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2024 * ps/ps-document.c: (ps_document_get_info):
2028 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2030 * backend/ev-page-cache.c: (ev_page_cache_init),
2031 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2032 * backend/ev-page-cache.h:
2033 * shell/ev-page-action.c: (page_changed_cb):
2035 Set page action entry width depending on labels width. Fix
2038 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2040 * backend/ev-link.c: (ev_link_class_init):
2042 Allow -1 as page value (error)
2044 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2046 * shell/ev-sidebar-thumbnails.c:
2047 (ev_sidebar_thumbnails_set_document):
2048 * shell/ev-view.c: (scroll_to_current_page),
2049 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2050 (page_changed_cb), (on_adjustment_value_changed),
2051 (ev_view_set_document):
2053 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2056 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2059 * djvu/djvu-document.c: (djvu_document_get_page_size):
2061 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2064 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2066 * shell/ev-view.c (draw_one_page): modify the expose handling to
2069 * shell/ev-window.c (update_action_sensitivity): Respect
2070 permissions field. Kowtow to the man.
2072 * pdf/ev-poppler.cc: Get the permissions field.
2074 * tiff/*c: Make a tiny bit more robust.
2076 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2078 * djvu/djvu-document.c:
2080 Pop messages from djvu context message queue.
2082 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2084 * configure.ac, Makefile.am, shell/Makefile.am:
2085 * tiff/Makefile.am, shell/ev-document-types.c:
2087 Cleanup tiff configure checks. Fix for bug 305218.
2089 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2091 * configure.ac: Added "uk" to ALL_LINGUAS.
2093 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2095 * cut-n-paste/zoom-control/ephy-zoom.c:
2096 (ephy_zoom_get_changed_zoom_level):
2097 * cut-n-paste/zoom-control/ephy-zoom.h:
2098 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2099 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2100 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2101 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2102 (zoom_control_changed_cb), (ev_window_init):
2104 Fix minor points related to moving best fit up. Introduce
2105 "zoom" property and make zoom control change it's value on
2106 notify::zoom signals. Fix for 305080.
2108 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2110 * data/evince-ui.xml:
2111 * shell/ev-window.c: (set_view_actions_sensitivity):
2113 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2115 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2119 Depends on poppler 0.3.2
2121 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2123 * cut-n-paste/recent-files/egg-recent-item.c:
2124 (egg_recent_item_get_short_name):
2125 * cut-n-paste/toolbar-editor/Makefile.am:
2126 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2127 (new_pixbuf_from_widget):
2128 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2129 * cut-n-paste/toolbar-editor/egg-marshal.c:
2130 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2131 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2135 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2137 * tiff/tiff-document.c: Rough TIFF backend.
2139 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2143 * cut-n-paste/toolbar-editor/Makefile.am:
2147 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2149 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2150 (ev_view_find_next), (ev_view_find_previous):
2152 Remove the locks around get_n_results
2154 2005-05-21 Juerg Billeter <j@bitron.ch>
2156 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2158 Pass correct number of pages to poppler.
2160 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2164 * data/evince.desktop.in:
2165 * data/evince.desktop.in.in:
2168 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2170 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2172 * shell/ev-view.c: (view_update_adjustments),
2173 (view_set_adjustment_values): cast adjustmen->value to (int)
2174 before using it. Otherwise, we get off by a pixel in some
2177 (draw_one_page): Draw the border on expose.
2179 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2181 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2182 adjustment when the mode changes, #304923
2184 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2186 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2187 flickering on resize but still use gdk_window_scroll on
2190 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2192 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2195 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2197 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2198 second page on page_changed if possible, #304669
2200 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2202 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2203 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2205 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2208 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2209 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2210 (ev_view_zoom_for_size_presentation),
2211 (ev_view_zoom_for_size_continuous_and_dual_page),
2212 (ev_view_zoom_for_size_continuous),
2213 (ev_view_zoom_for_size_dual_page),
2214 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2216 * shell/ev-window.c: (update_view_size),
2217 (ev_window_sizing_mode_changed_cb):
2219 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2220 the scrollbars. It's not 100% right, but it's much closer. Kills
2221 an infinite loop, #304769
2224 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2226 * data/evince-ui.xml:
2227 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2228 * shell/ev-window.c: (set_view_actions_sensitivity):
2230 Make PgUp/Down behave like Space
2232 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2234 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2235 * backend/ev-ps-exporter.h:
2236 * pdf/ev-poppler.cc:
2237 * ps/ps-document.c: (ps_document_ps_export_begin):
2238 * shell/ev-print-job.c: (idle_print_handler):
2240 Adapt to new poppler api
2242 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2244 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2245 (ephy_zoom_control_init):
2247 Translate zoom levels
2249 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2251 * cut-n-paste/zoom-control/ephy-zoom.c:
2252 (ephy_zoom_get_zoom_level_index):
2254 Fix current zoom -> zoom control match
2256 2005-05-18 James Bowes <bowes@cs.dal.ca>
2258 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2259 rather than the scrolled_window that it's in. Fixes bug #304655.
2261 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2263 * shell/ev-view.c: (view_update_adjustments),
2264 (view_set_adjustment_values), (view_update_range_and_current_page),
2265 (view_scroll_to_page), (set_scroll_adjustment),
2266 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2267 (ev_view_scroll), (ev_view_scroll_view),
2268 (ensure_rectangle_is_visible), (find_page_at_location),
2269 (get_link_at_location), (go_to_link), (status_message_from_link),
2270 (ev_view_size_request_continuous_dual_page),
2271 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2272 (ev_view_unrealize), (ev_view_expose_event),
2273 (ev_view_button_press_event), (ev_view_motion_notify_event),
2274 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2275 (draw_rubberband), (highlight_find_results), (draw_one_page),
2276 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2277 (ev_view_init), (find_changed_cb), (page_changed_cb),
2278 (on_adjustment_value_changed), (ev_view_new),
2279 (ev_view_set_document), (ev_view_set_zoom),
2280 (ev_view_set_continuous), (ev_view_set_dual_page),
2281 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2282 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2283 (ev_view_zoom_for_size_presentation),
2284 (ev_view_zoom_for_size_continuous_dual_page),
2285 (ev_view_zoom_for_size_continuous),
2286 (ev_view_zoom_for_size_dual_page),
2287 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2288 (ev_view_get_status), (ev_view_set_status),
2289 (update_find_status_message), (ev_view_get_find_status),
2290 (ev_view_set_find_status), (jump_to_find_result),
2291 (jump_to_find_page), (compute_selections), (clear_selection),
2292 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2293 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2294 (ev_view_update_primary_selection),
2295 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2297 * shell/ev-window.c: (ev_window_open_page_label),
2298 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2300 * shell/ev-window.h:
2301 * shell/main.c: (load_files):
2303 Massive code clean up from Nickolay Shmyrev. Keep page offset
2304 when resizing. Remove the bin_window(). Also, patch from James
2305 Bowes to fix command line page, #300641
2307 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2309 * data/evince-ui.xml:
2312 * shell/ev-window.c: (update_action_sensitivity):
2314 Get rid of View->Normal Size, it's just confusing
2316 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2318 * backend/ev-document-info.h:
2319 * backend/ev-document.c: (ev_document_info_free): Free the
2322 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2323 (clear_range), (add_range), (update_visible_range),
2324 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2325 (ev_sidebar_thumbnails_set_document):
2326 * shell/ev-window.c: (ev_window_setup_document): Only render the
2327 visible thumbnails. It takes an instant to render, but it uses
2330 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2332 * shell/ev-sidebar-links.c: (popup_menu_cb):
2336 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2339 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2340 (button_press_cb), (ev_sidebar_links_construct):
2342 Show the popup menu also on keybindings
2344 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2346 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2347 * shell/ev-window.h:
2349 Expose api to print a range (with dialog). Make private _print use
2352 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2353 (ev_sidebar_links_construct):
2355 Show a print context menu on linkx, it prints the selected
2358 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2360 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2363 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2369 * shell/ev-window.c: (build_comments_string),
2370 (ev_window_cmd_help_about):
2372 Show poppler version/backend and authors
2374 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2376 * cut-n-paste/zoom-control/ephy-zoom.c:
2377 (ephy_zoom_get_zoom_level_index):
2378 * cut-n-paste/zoom-control/ephy-zoom.h:
2380 Move the best fit items at the top of the list
2382 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2384 * shell/ev-marshal.list:
2385 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2386 (activate_cb), (match_selected_cb), (activate_link_cb),
2387 (connect_proxy), (ev_page_action_class_init):
2388 * shell/ev-page-action.h:
2390 Use signals to notify action activation. Hopefully
2391 I did not break completion since I cant test...
2393 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2394 (register_custom_actions):
2396 Connect to page selector actions and also grab focus on
2397 the view when activated.
2399 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2401 * pdf/ev-poppler.cc:
2402 * backend/ev-page-cache.c: make page size calculation consistent
2403 and set it to (int)( width * scale + 0.5). This makes the weird
2404 line going through the middle of the page go away.
2406 * shell/ev-view.c: move painting the background page after
2407 checking the expose area covers us.
2409 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2411 * data/evince-password.glade:
2413 Mark labels as not translatable. Fix for bug 302842.
2415 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2417 * configure.ac: Added "es" to ALL_LINGUAS.
2419 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2421 * data/evince-toolbar.xml:
2422 * shell/ev-window.c: (update_action_sensitivity),
2423 (ev_window_setup_document), (ev_window_set_page_mode),
2426 Remove some leftover code from jrb first continous
2427 attempt. Use the new actions, we still need good icons
2430 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2432 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2434 Update label when connecting proxy. Fix a warning with NULL
2437 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2439 * data/evince-ui.xml:
2440 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2441 * shell/ev-page-action.h:
2442 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2444 Add mnemonic for edit toolbar.
2445 ctrl+l focus the page entry.
2447 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2450 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2452 * shell/main.c: (main):
2454 Put the toolbar xml in evince own dot dir
2456 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2458 * shell/ev-window.c: (ev_window_init):
2460 Make the toolbar not removable
2462 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2464 * data/evince-ui.xml:
2465 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2466 * shell/ev-sidebar-links.h:
2467 * shell/ev-sidebar-thumbnails.c:
2468 (ev_sidebar_thumbnails_get_treeview):
2469 * shell/ev-sidebar-thumbnails.h:
2470 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2471 (ev_view_class_init):
2473 * shell/ev-window.c: (update_action_sensitivity),
2474 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2475 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2476 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2479 This is evil... Make space/backspace global accelerators but
2480 enable them only for some widgets (sidebars and view).
2481 I dont like it, but I dont know a better way... :/
2483 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2485 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2486 (ev_page_action_widget_finalize),
2487 (ev_page_action_widget_class_init), (update_page_cache):
2489 Keep a weak reference on proxy->page_cache so that we
2490 dont try to disconnect the signal if the object is already
2491 gone. Maybe there is a better way to cleanup reference handling
2492 in page action though...
2494 2005-05-10 Juerg Billeter <j@bitron.ch>
2496 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2497 * backend/ev-ps-exporter.h:
2498 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2499 * ps/ps-document.c: (ps_document_ps_export_begin):
2501 Change api to pass print range to ps_exporter_begin. The pdf backend
2502 requires this information.
2504 * shell/ev-print-job.c: (idle_print_handler):
2508 2005-05-10 Juerg Billeter <j@bitron.ch>
2510 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2511 (idle_print_handler)
2512 * shell/ev-window.c: (ev_window_print):
2514 Support printing page range, based on patch by Amaury Jacquot
2516 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2518 * data/evince-toolbar.xml:
2520 Add zoom control to available items
2522 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2524 * shell/ev-window.c: (update_action_sensitivity):
2526 Set slash action insensitive when appropriate
2528 2005-05-10 Christian Persch <chpe@gnome.org>
2530 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2532 Fix warning on the overflow menu
2534 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2536 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2538 Check for uri correctness/existence
2540 2005-05-09 Juerg Billeter <j@bitron.ch>
2542 * shell/ev-window.c: (using_postscript_printer):
2544 LPD printers use postscript, too
2546 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2548 * shell/ev-window.c: (register_custom_actions):
2550 The zoom one is actually sort of useful,
2553 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2555 * shell/ev-window.c: (register_custom_actions):
2557 Hide page/zoom controls from overflow, they
2560 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2562 * cut-n-paste/update-from-egg.sh:
2564 Share it between all cut-n-paste subdirs
2566 * cut-n-paste/recent-files/Makefile.am:
2568 Fix to use "global" update-from-egg.sh
2570 * cut-n-paste/recent-files/egg-recent-model.c:
2571 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2572 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2573 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2574 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2578 * cut-n-paste/toolbar-editor/Makefile.am:
2580 Fix to use "global" update-from-egg.sh
2582 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2586 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2589 * cut-n-paste/Makefile.am:
2590 * cut-n-paste/recent-files/Makefile.am:
2591 * cut-n-paste/toolbar-editor/.cvsignore:
2592 * cut-n-paste/toolbar-editor/Makefile.am:
2593 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2594 (egg_editable_toolbar_get_type), (get_toolbar_position),
2595 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2596 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2597 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2598 (set_item_drag_source), (create_item_from_action), (create_item),
2599 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2600 (popup_toolbar_context_menu_cb), (free_dragged_item),
2601 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2602 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2603 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2604 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2605 (item_added_cb), (item_removed_cb),
2606 (egg_editable_toolbar_construct),
2607 (egg_editable_toolbar_disconnect_model),
2608 (egg_editable_toolbar_deconstruct),
2609 (egg_editable_toolbar_set_model),
2610 (egg_editable_toolbar_set_ui_manager),
2611 (egg_editable_toolbar_set_property),
2612 (egg_editable_toolbar_get_property),
2613 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2614 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2615 (egg_editable_toolbar_new_with_model),
2616 (egg_editable_toolbar_get_edit_mode),
2617 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2618 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2619 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2620 (new_pixbuf_from_widget), (new_separator_pixbuf),
2621 (update_separator_image), (style_set_cb),
2622 (_egg_editable_toolbar_new_separator_image),
2623 (egg_editable_toolbar_get_model):
2624 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2625 * cut-n-paste/toolbar-editor/egg-marshal.c:
2626 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2627 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2628 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2629 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2630 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2631 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2632 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2633 (editor_drag_data_delete_cb), (drag_data_get_cb),
2634 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2635 (editor_create_item), (update_editor_sheet), (setup_editor),
2636 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2637 (parse_item_list), (model_has_action), (update_actions_list),
2638 (egg_toolbar_editor_load_actions):
2639 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2640 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2641 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2642 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2643 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2644 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2645 (egg_toolbars_model_add_separator), (impl_add_item),
2646 (parse_item_list), (egg_toolbars_model_add_toolbar),
2647 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2648 (impl_get_item_data), (impl_get_item_type),
2649 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2650 (egg_toolbars_model_init), (free_toolbar),
2651 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2652 (egg_toolbars_model_remove_toolbar),
2653 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2654 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2655 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2656 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2657 (egg_toolbars_model_get_item_data),
2658 (egg_toolbars_model_get_item_type):
2659 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2660 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2662 * data/evince-toolbar.xml:
2663 * data/evince-ui.xml:
2664 * data/hand-open.png:
2666 * shell/Makefile.am:
2667 * shell/ev-window.c: (update_chrome_visibility),
2668 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2669 (ev_window_dispose), (ev_window_init):
2671 Implement epiphany like toolbar editor. Based on patch by
2672 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2674 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2676 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2678 Use set_cursor instead of set_selection, so that
2679 the keyboard focus moves too.
2681 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2683 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2685 Fix infinite loop when loading Type1 fonts
2687 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2689 * data/evince-ui.xml:
2690 * shell/ev-window.c:
2694 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2698 Make --disable really disable
2700 2005-05-07 Juerg Billeter <j@bitron.ch>
2702 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2704 Compare page labels even without has_labels set, fixes setting page
2707 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2709 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2710 (ev_view_set_cursor), (ev_view_button_press_event),
2711 (ev_view_motion_notify_event), (ev_view_button_release_event),
2714 Implement middle button scrolling. Based on a patch
2715 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2717 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2719 * shell/ev-document-types.c: (get_slow_mime_type),
2720 (get_document_type_from_mime), (ev_document_type_lookup):
2721 * shell/ev-document-types.h:
2723 Change api to lookup from uri. Do fast lookup first, if the
2724 type is unknown try with data sniffing.
2726 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2727 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2731 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2733 * thumbnailer/Makefile.am:
2737 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2744 * data/evince-ui.xml:
2746 Hide presentation mode for now
2748 * shell/ev-view.c: (highlight_find_results):
2750 Show current find selection only on current page
2752 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2754 * shell/ev-view.c: (ev_view_select_all):
2756 Compute size of the actual page, not of
2759 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2761 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2762 (view_rect_to_doc_rect), (compute_selections),
2763 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2764 (ev_view_copy), (ev_view_primary_get_cb),
2765 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2766 (ev_view_button_press_event), (ev_view_motion_notify_event),
2767 (ev_view_button_release_event), (page_changed_cb):
2771 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2773 * shell/ev-view.c: (compute_border), (get_page_extents),
2774 (doc_rect_to_view_rect), (highlight_find_results),
2775 (ev_view_bin_expose), (ev_view_select_all),
2776 (ev_view_motion_notify_event), (update_find_status_message),
2777 (jump_to_find_result), (jump_to_find_page):
2779 First go at fixing search, still buggy
2781 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2783 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2784 dropdown box and button at the top of the sidebar.
2786 2005-05-02 James Bowes <bowes@cs.dal.ca>
2788 * configure.ac: Output zoom-control Makefile.
2789 * cut-n-paste/Makefile.am: build zoom-control subdir.
2790 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2791 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2792 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2793 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2794 * cut-n-paste/zoom-control/ephy-zoom.c:
2795 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2796 from epiphany, and modified to add a separator into the menu.
2797 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2798 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2799 zoom-control action.
2800 * shell/Makefile.am: Include zoom-control flags.
2801 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2802 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2803 (ev_view_zoom_for_size_presentation),
2804 (ev_view_zoom_for_size_continuous_and_dual_page),
2805 (ev_view_zoom_for_size_continuous),
2806 (ev_view_zoom_for_size_dual_page),
2807 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2808 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2809 ev_view_get_zoom and ev_view_get_sizing_mode.
2811 * shell/ev-window.c: (update_action_sensitivity),
2812 (update_sizing_buttons), (zoom_control_changed_cb),
2813 (register_custom_actions): Initialize and use the zoom-control
2816 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2818 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2819 preview cache back to 1. Don't know when it got set to 0.
2821 * shell/ev-view.c: (compute_border), (ev_view_realize),
2822 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2823 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2824 (ev_view_get_fullscreen), (ev_view_set_presentation),
2825 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2826 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2828 * shell/ev-window.c:
2829 (update_chrome_visibility),
2830 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2831 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2832 (update_document_mode), (ev_window_update_fullscreen_action),
2833 (ev_window_fullscreen), (ev_window_unfullscreen),
2834 (ev_window_cmd_view_fullscreen),
2835 (ev_window_update_presentation_action),
2836 (ev_window_run_presentation), (ev_window_stop_presentation),
2837 (ev_window_cmd_view_presentation), (ev_window_state_event),
2838 (ev_window_focus_in_event), (ev_window_focus_out_event),
2839 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2840 * data/evince-ui.xml: Initial presentation mode. We should
2841 probably hide this until it's done, as it's quite rough. Also,
2842 change full-screen to fullscreen and add two getters to EvView.
2844 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2846 * shell/ev-page-action.c: (update_page_cache),
2847 (ev_page_action_dispose):
2848 * shell/ev-window.c: (destroy_fullscreen_popup),
2849 (ev_window_create_fullscreen_popup):
2851 Use connect_object rather than explicitly
2852 disconnect on dispose.
2854 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2856 * shell/ev-page-action.c: (update_page_cache),
2857 (ev_page_action_dispose):
2859 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2861 * backend/ev-page-cache.c: (_ev_page_cache_new),
2862 (ev_page_cache_set_page_label),
2863 (ev_page_cache_has_nonnumeric_page_labels):
2864 * backend/ev-page-cache.h:
2865 * shell/ev-page-action.c: (update_pages_label):
2867 If all page labels are numeric, fallback to default
2868 way to display number of pages. See bug 173185.
2870 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2872 * shell/ev-page-action.c: (ev_page_action_dispose):
2873 * shell/ev-view.c: (view_update_range_and_current_page):
2874 * shell/ev-window.c: (ev_window_dispose):
2876 Set page on scroll in continuous mode. Fixes bug 301986.
2877 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2879 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2883 Require poppler 0.3.0
2885 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2887 * shell/Makefile.am, configure.ac: Fix build problems
2888 with t1lib. Bug 301996.
2890 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2892 * shell/ev-view.c: (ev_view_scroll_event):
2894 Scroll up increase zoom
2896 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2898 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2899 (ev_view_set_sizing_mode),
2900 (ev_view_zoom_for_size_continuous_and_dual_page),
2901 (ev_view_zoom_for_size_continuous):
2902 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2903 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2904 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2907 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2908 Fix for 165473 and 165472.
2910 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2913 * thumbnailer/Makefile.am:
2914 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2915 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2916 * thumbnailer/evince-thumbnailer.schemas.in:
2918 Make thumbnailer schemas translatable. Fix for bug 301773
2920 * thumbnailer/evince-thumbnailer-djvu.schemas:
2921 * thumbnailer/evince-thumbnailer-dvi.schemas:
2922 * thumbnailer/evince-thumbnailer.schemas:
2926 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2928 * shell/ev-view.c (ev_view_init): forgot to set this.
2930 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2932 * shell/ev-view.c: (find_page_at_location),
2933 (get_link_at_location),
2934 (ev_view_set_show_border), (ev_view_set_spacing),
2935 (ev_view_zoom_for_size_continuous_and_dual_page),
2936 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2937 Also, add a quick fix measuring of widths. Also, removed
2938 ev_view_set_spacing and ev_view_set_show_border.
2940 * shell/ev-window.c: (ev_window_unfullscreen),
2941 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2943 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2945 * shell/ev-view.c: (view_update_range_and_current_page),
2948 Fix crash on exit and scrolling to page in continuous view.
2950 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
2953 * backend/ev-page-cache.c: (_ev_page_cache_new),
2954 (ev_page_cache_get_max_width_size),
2955 (ev_page_cache_get_max_height_size):
2956 * backend/ev-page-cache.h:
2957 * data/evince-ui.xml:
2958 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2959 * shell/ev-view.c: (view_update_adjustments),
2960 (view_update_range_and_current_page), (get_bounding_box_size),
2961 (ev_view_size_request_continuous_and_dual_page),
2962 (ev_view_size_request_continuous),
2963 (ev_view_size_request_dual_page),
2964 (ev_view_size_request_single_page), (ev_view_size_request),
2965 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2966 (ev_view_bin_expose), (ev_view_expose_event),
2967 (ev_view_set_property), (ev_view_get_property),
2968 (ev_view_class_init), (ev_view_init), (ev_view_new),
2969 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2970 (ev_view_set_dual_page), (ev_view_set_full_screen),
2971 (ev_view_set_presentation), (ev_view_set_sizing_mode),
2972 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2973 (ev_view_zoom_out), (zoom_for_size_fit_width),
2974 (zoom_for_size_best_fit),
2975 (ev_view_zoom_for_size_continuous_and_dual_page),
2976 (ev_view_zoom_for_size_continuous),
2977 (ev_view_zoom_for_size_dual_page),
2978 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2979 (ev_view_show_cursor), (ev_sizing_mode_get_type):
2981 * shell/ev-window.c: (update_action_sensitivity),
2982 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2983 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2984 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2985 (ev_window_cmd_view_zoom_out), (update_view_size),
2986 (ev_window_set_sizing_mode), (ev_window_init):
2988 Add Continuous and Dual page modes.
2990 2005-04-23 James Bowes <bowes@cs.dal.ca>
2992 * dvi/dvi-document.c: (dvi_document_load),
2993 (dvi_document_thumbnails_get_thumbnail),
2994 (dvi_document_init_params): Fix up some mixups between
2995 width and height to correct thumbnail rendering.
2997 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2999 * dvi/mdvi-lib/private.h:
3000 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3002 Suppess output for kpathsea during font generation. Thanks to
3005 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3012 * Makefile.am: fix distcheck.
3014 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3016 * shell/ev-sidebar-links.c: (selection_changed_callback),
3017 (update_page_callback), (row_activated_callback),
3018 (job_finished_callback), (ev_sidebar_links_set_document):
3020 Fix for bug #169901. Double click on links expands tree.
3022 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3024 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3025 hard-coded style. Fix for bug 170111
3027 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3029 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3032 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3034 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3036 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3038 * pdf/ev-poppler.cc:
3039 * shell/ev-view.c: (highlight_find_results):
3041 Fix find on single page documents
3043 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3045 * data/evince.schemas.in: fix for bug 301390
3047 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3049 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3050 (ev_view_zoom_out), (ev_view_zoom_normal):
3052 * shell/ev-window.c: (update_action_sensitivity),
3053 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3054 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3055 (ev_window_cmd_view_normal_size):
3057 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3058 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3061 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3065 Depend on 2.57, 2.59 doesnt seem to be necessary
3067 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3069 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3072 Put back total number of pages as (1 of 1234)
3074 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3076 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3079 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3080 function. This helps debugging.
3082 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3084 * djvu/djvu-document.c: (djvu_document_class_init),
3085 (djvu_document_get_info), (djvu_document_document_iface_init):
3086 * dvi/dvi-document.c: (dvi_document_class_init),
3087 (dvi_document_get_info), (dvi_document_document_iface_init):
3089 Dummy implementation of get_info method for dvi and djvu. Fix
3090 crashes with those backends
3092 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3094 * data/evince.desktop.in:
3096 Add application/x-gzpostscript
3098 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3100 * data/evince.schemas.in: Added real long descriptions,
3103 * README: Added actual text, closes bug 171869
3105 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3107 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3111 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3113 * backend/ev-document-info.h:
3115 s/GDate */GDate so we can just use g_free
3117 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3119 * shell/ev-window.c: (update_document_mode),
3120 (ev_window_setup_document):
3122 Show the window in fullscreen when specified by
3125 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3127 * backend/ev-document.c: (ev_document_class_init),
3128 (ev_document_get_info), (ev_document_render_pixbuf):
3129 * backend/ev-document.h:
3130 * backend/ev-page-cache.c: (_ev_page_cache_new):
3131 * pdf/ev-poppler.cc:
3132 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3133 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3134 * ps/ps-document.c: (ps_document_class_init), (document_load),
3135 (ps_document_get_info), (ps_document_document_iface_init):
3137 Remove get_title from the interface, we can just use document info
3139 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3141 * backend/Makefile.am:
3142 * backend/ev-document.c: (ev_document_render_get_info):
3143 * backend/ev-document.h:
3144 * pdf/ev-poppler.cc:
3146 Initial support for document info. Based on jrb patch.
3148 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3150 * shell/ev-window.c: (ev_window_state_event),
3151 (ev_window_class_init), (ev_window_init):
3153 Doesn't show resize grip when maximized. See bug #301053
3155 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3159 ev-sidebar-thumbnails now has translatable labels
3161 * shell/Makefile.am:
3162 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3163 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3164 (ev_sidebar_links_page_iface_init):
3165 * shell/ev-sidebar-links.h:
3166 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3167 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3168 (ev_sidebar_page_get_label):
3169 * shell/ev-sidebar-page.h:
3170 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3171 (ev_sidebar_thumbnails_set_document),
3172 (ev_sidebar_thumbnails_support_document),
3173 (ev_sidebar_thumbnails_get_label),
3174 (ev_sidebar_thumbnails_page_iface_init):
3175 * shell/ev-sidebar-thumbnails.h:
3176 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3177 (ev_sidebar_set_document):
3178 * shell/ev-sidebar.h:
3179 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3181 Small rework of sidebar code. Now sidebar pages should implement
3182 EvSidebarPage interface. That makes page management in EvSidebar
3183 easier. See bug #164811 for details
3185 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3187 * shell/ev-application.c: (ev_application_open):
3188 * shell/ev-document-types.c:
3190 Fix build error and small problem with application exit
3192 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3194 * thumbnailer/Makefile.am:
3195 * thumbnailer/evince-thumbnailer-djvu.schemas:
3196 * thumbnailer/evince-thumbnailer-dvi.schemas:
3198 Conditionally install schemas for djvu/dvi thumbnailer
3200 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3202 * shell/ev-document-types.h:
3203 * shell/ev-document-types.c:
3204 New files, handling the mapping from mimetypes to backends
3206 * shell/ev-window.c:
3207 * thumbnailer/evince-thumbnailer.c:
3208 Use the ev-document-types code
3210 * shell/Makefile.am:
3211 Added new convenience library libevbackendfactory_la, containing
3212 the new mimetype->backend logic; moved the backends into it.
3214 * thumbnailer/Makefile.am:
3215 Make the thumbnailer link with the libevbackend.la convenience
3216 library, rather than having a duplicate of the backend logic here.
3218 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3220 * shell/ev-stock-icons.c: constify some vars.
3221 * shell/ev-window.c: ditto.
3223 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3225 * ps/ps-document.c (get_page_orientation):
3227 Respect document orientation
3229 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3233 * shell/Makefile.am:
3235 Move library dependencies to components.
3237 * shell/ev-window.c: (update_window_title),
3238 (start_loading_document):
3240 Fix display of uris with spaces. Bug 168358.
3242 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3244 * shell/ev-sidebar-links.c: (selection_changed_cb):
3245 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3246 (ev_view_button_release_event), (ev_view_set_document):
3248 * shell/ev-window.c: (find_bar_search_changed_cb):
3249 * shell/ev-window.h: Minor cleanups removing some dead code.
3251 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3253 * backend/ev-page-cache.c: (_ev_page_cache_new):
3255 Set current page to 0 if document has pages.
3257 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3259 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3261 Initialize GError to NULL, fix a crash when loading fails.
3263 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3265 * shell/ev-window.c: (update_view_size):
3267 Calculate shadow size only when there is actually
3270 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3272 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3275 Allow setting view spacing, default to 0
3277 * shell/ev-window.c: (ev_window_unfullscreen),
3278 (ev_window_cmd_view_fullscreen), (ev_window_init):
3280 Remove spacing in fullscreen mode
3282 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3284 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3285 (ev_view_size_request), (expose_bin_window),
3286 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3288 * shell/ev-window.c: (ev_window_unfullscreen),
3289 (ev_window_cmd_view_fullscreen):
3291 Do not draw the border in fulscreen
3293 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3295 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3296 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3297 (find_page_at_location), (page_changed_cb):
3299 Rework border calculation, so that I can more easily disable it.
3300 Code somewhat cleaner too.
3302 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3304 * backend/ev-page-cache.c: (ev_page_cache_init),
3305 (_ev_page_cache_new):
3307 Remove some assertions, documents can have 0 pages.
3308 Make initial current page -1.
3310 * shell/ev-page-action.c: (page_changed_cb):
3312 Show "" if current page is -1
3314 * shell/ev-window.c: (update_action_sensitivity),
3315 (ev_window_setup_document):
3317 When document has 0 pages do not set the view
3318 and make nearly everything insensitive.
3320 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3322 * shell/ev-page-view.c:
3323 * shell/ev-page-view.h:
3325 Remove unused files.
3327 * shell/ev-sidebar-thumbnails.c:
3328 (ev_sidebar_thumbnails_set_document):
3329 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3330 (ev_sidebar_supports_document):
3331 * shell/ev-sidebar.h:
3332 * shell/ev-window.c: (ev_window_setup_document):
3334 Doesn't show thumbnails if document has 1 page. Make
3335 sidebar menu entries sensitive only if if they have
3336 sense. Fix bug 164811.
3338 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3340 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3341 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3342 (ev_view_zoom_out), (ev_view_set_size):
3344 Rework sizing to deal with documents with not uniform page
3347 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3349 * backend/ev-page-cache.c: (_ev_page_cache_new):
3351 Fix several page size caching bugs
3353 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3355 * shell/ev-window.c: (set_action_properties):
3357 Make all toolbar items translatable
3359 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3361 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3362 (save_page_list), (ps_document_save),
3363 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3364 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3365 (ps_document_ps_exporter_iface_init):
3368 Based on a patch by J�rg Billeter <j@bitron.ch>
3370 Implement print and save a copy for the ps backend.
3372 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3374 * backend/ev-document.h:
3375 * djvu/djvu-document.c: (djvu_document_can_get_text),
3376 (djvu_document_document_iface_init):
3377 * dvi/dvi-document.c: (dvi_document_can_get_text),
3378 (dvi_document_document_iface_init):
3379 * pdf/ev-poppler.cc:
3380 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3381 (pixbuf_document_document_iface_init):
3382 * ps/ps-document.c: (ps_document_can_get_text),
3383 (ps_document_document_iface_init):
3384 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3385 * shell/ev-window.c: (update_action_sensitivity):
3387 Fix the crash when trying to copy in backends that doesnt
3388 support it. We can implement a better solution once we
3389 do real text selection.
3391 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3393 * data/evince-ui.xml:
3394 * shell/ev-window.c: (ev_window_cmd_escape):
3396 Work around the Escape conflict (find bar and unfullscreen)
3398 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3400 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3402 Fix for #300233. Next page correctly handles document end.
3404 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3405 (ev_sidebar_thumbnails_class_init),
3406 (ev_sidebar_thumbnails_set_document),
3407 (ev_sidebar_thumbnails_clear_job),
3408 (ev_sidebar_thumbnails_clear_model):
3410 Cleanup thumbnail jobs on document changes.
3412 * shell/ev-view.c: (add_scroll_binding_keypad),
3413 (add_scroll_binding_shifted), (ev_view_class_init):
3415 Shift + Space scrolls up. Fix for #173184
3417 * shell/ev-window.c: (ev_window_open_page),
3418 (ev_window_cmd_view_reload):
3420 Fix reload (Bug #300094)
3422 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3425 * dvi/mdvi-lib/assoc.c:
3426 * dvi/mdvi-lib/assoc.h: Removed garbage files
3428 * dvi/mdvi-lib/bitmap.c:
3429 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3430 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3431 * dvi/mdvi-lib/color.h: Antialias of rules
3433 * dvi/mdvi-lib/common.h:
3434 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3435 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3436 * dvi/mdvi-lib/files.c:
3437 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3438 * dvi/mdvi-lib/mdvi.h:
3439 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3440 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3441 * dvi/mdvi-lib/util.c: Fix compile warnings
3443 * dvi/dvi-document.c:
3444 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3445 (dvi_document_thumbnails_get_thumbnail),
3446 (dvi_document_document_thumbnails_iface_init):
3447 * dvi/mdvi-lib/Makefile.am:
3448 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3449 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3451 Dvi backend now renders thumbnails
3453 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3455 * shell/main.c: (main):
3457 Save accelerators on exit. Fixes bug #172095.
3459 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3461 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3462 update priority" comment.
3464 * backend/ev-job-queue.c: Give a way to change priority.
3466 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3468 * shell/ev-page-action.c: Fix logic.
3470 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3472 * shell/ev-view.c: (ev_view_can_find_next):
3473 * shell/ev-window.c: (ev_window_setup_document):
3475 Check that the document supports find
3477 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3479 * data/evince-ui.xml:
3480 * shell/ev-view.c: (ev_view_can_find_next):
3482 * shell/ev-window.c: (update_action_sensitivity),
3483 (find_changed_cb), (ev_window_setup_document),
3484 (ev_window_cmd_edit_find_next):
3488 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3490 * pdf/ev-poppler.cc:
3491 * shell/ev-print-job.c: (idle_print_handler):
3493 Make printing work again
3495 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3497 * shell/ev-page-action.h:
3498 * shell/ev-page-action.c: (ev_page_action_widget_init),
3499 (ev_page_action_widget_class_init), (page_changed_cb),
3500 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3501 (get_filter_model_from_model), (match_selected_cb),
3502 (display_completion_text), (match_completion), (update_model),
3503 (connect_proxy), (ev_page_action_set_property),
3504 (ev_page_action_get_property), (ev_page_action_set_document),
3505 (ev_page_action_set_model), (ev_page_action_class_init): Big
3506 reworking to make completions work iff we have >= GTK-2.7.0
3508 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3509 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3510 (job_finished_cb): We now have a 'model' property that is set when
3511 the links are loaded. This can be caught with "notify::model"
3513 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3514 listen for the model to be set, and propagate it to the action.
3516 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3518 * cut-n-paste/recent-files/egg-recent-item.c:
3519 (egg_recent_item_set_uri), (make_valid_utf8),
3520 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3521 * cut-n-paste/recent-files/egg-recent-item.h:
3523 Update egg-recent from libegg. This should fix long
3524 startup problem. For details see
3525 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3527 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3529 * cut-n-paste/recent-files/Makefile.am:
3530 * data/evince-ui.xml, shell/Makefile.am:
3531 * shell/ev-application.c, shell/ev-application.h:
3532 * shell/ev-window.c: Recent files support.
3534 * configure.ac: Added "ru" to ALL_LINGUAS.
3536 * dvju: new backend to support DJVU files.
3537 * dvi: new backend to support DVI.
3539 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3540 * ev-application.c: Support for new backends.
3542 * help, ev-window.c, main.c shell/Makefile.am:
3543 Evince user documentation.
3545 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3548 * shell/ev-window.c:
3549 * thumbnailer/evince-thumbnailer.c:
3551 s/pdf-document/ev-poppler
3553 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3560 * ps/ps-document.c: (setup_pixmap):
3564 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3566 * backend/ev-page-cache.c (ev_page_cache_next_page):
3567 * shell/ev-window.c (ev_window_cmd_go_next_page)
3568 (ev_window_cmd_go_first_page): Fix of by one errors.
3570 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3572 * ps/ps-document.c: (get_page_box):
3574 Fix page size calculation
3576 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3578 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3579 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3580 (get_page_orientation), (setup_page), (document_load),
3581 (ps_document_get_page_size), (render_pixbuf_idle):
3584 More refactoring to adapt to EvDocument changes
3586 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3588 * ps/ps-document.c: (start_interpreter):
3590 Actually add alpha args
3592 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3594 * pdf/ev-poppler.cc:
3596 Make clipboard work again
3598 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3600 Make searching work again.
3602 * backend/ev-document.c:
3603 * backend/ev-document.h:
3604 * backend/ev-document-find.c:
3605 * backend/ev-document-find.h: Change EvDocumentIface so we no
3606 longer store the current page or zoom level in the document. The
3607 consequence is that all calls that operate on the current page now
3608 instead take the page number as an extra argument, and all
3609 coordinates are now doubles in document coordinate system.
3611 * pdf/ev-poppler.cc:
3612 * pixbuf/pixbuf-document.c:
3613 * ps/ps-document.c: Update backends accordingly.
3615 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3619 Add required gettext version
3621 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3623 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3624 make F1 bring up non-existent help.
3626 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3627 epiphany's find bar, #167477
3629 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3630 <emil@nishra.com> to add space-bar scrolling,
3632 * shell/ev-window.c (static GtkActionEntry entries): add default
3633 keybinding for Help (F1)
3636 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3637 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3640 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3643 * pixbuf/pixbuf-document.c:
3645 Got pixbuf backend working again
3647 2005-04-01 Steve Murphy <murf@e-tools.com>
3649 * configure.in: Added "rw" to ALL_LINGUAS.
3651 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3653 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3654 model types, noticed by Martin Kretzschmar.
3656 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3658 * pdf/ev-poppler.cc: Implement search based on
3659 poppler_page_find_text(). Currently a bit crude since we remember
3660 all matches from all pages. Also, we grab the big document lock
3661 when we search since searching changes the underlying stream and
3662 thus conflicts with the rendering thread.
3664 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3665 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3666 (ev_view_find_previous): Fix some page indexes to be 0 based,
3667 offset rubber band by view offset,
3669 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3671 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3673 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3675 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3676 completely because I didn't understand GtkActions. I should
3677 read Marco's code more carefully in the future.
3679 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3682 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3684 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3685 PopplerRectangle change from poppler CVS.
3687 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3689 * backend/ev-document.c: (ev_document_get_page_label):
3690 * backend/ev-document.h:
3691 * backend/ev-page-cache.c: (_ev_page_cache_new),
3692 (ev_page_cache_get_page_label):
3693 * backend/ev-page-cache.h:
3694 * pdf/ev-poppler.cc:
3695 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3696 (links_page_num_func):
3697 * shell/ev-sidebar-thumbnails.c:
3698 (ev_sidebar_thumbnails_set_document):
3699 * shell/ev-view.c: (status_message_from_link),
3700 (ev_view_motion_notify_event):
3701 * shell/ev-window.c: (document_supports_sidebar): Add in page
3702 label support. It's not perfect yet, but it's the first 'feature'
3704 Also, fix a bogus comment noticed by crispin.
3706 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3708 * Makefile.am: Remove pixbuf backend for now
3710 * configure.ac: Require poppler-glib instead of just poppler.
3712 * backend/ev-document-thumbnails.h: Add a comment
3714 * backend/ev-document.h:
3715 * backend/ev-document.c: (ev_document_class_init),
3716 (ev_document_load), (ev_document_get_link),
3717 (ev_document_get_links): Remove 3 methods and add get_links.
3720 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3721 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3723 * backend/ev-link.c: (ev_link_set_title),
3724 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3725 (ev_link_mapping_find):
3726 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3728 * backend/ev-page-cache.c: (ev_page_cache_init),
3729 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3730 (ev_page_cache_get_size), (ev_page_cache_next_page),
3731 (ev_page_cache_prev_page): Fix to be 0 based.
3735 * pdf/ev-poppler.cc: New backend.
3737 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3738 (ps_document_get_page), (ps_document_document_iface_init):
3740 * shell/ev-pixbuf-cache.h:
3741 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3742 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3743 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3744 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3745 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3746 Fix up code to grab a page cache per each doc. Also, fix to be 0
3749 * shell/ev-sidebar-thumbnails.c:
3750 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3751 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3753 * shell/ev-view.c: (status_message_from_link),
3754 (find_page_at_location), (get_link_at_location),
3755 (ev_view_motion_notify_event), (ev_view_button_release_event),
3756 (ev_view_init): Use the new link code. Fix to be 0 based.
3758 * shell/ev-window.c: (update_action_sensitivity),
3759 (document_supports_sidebar): 0 based.
3761 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3763 * pdf/pdf-document.cc: Patch from Fernando Herrera
3764 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3767 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3769 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3770 1 to the page, as this seems to be 1 based. I thought we has this
3773 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3776 * backend/Makefile.am:
3777 * backend/ev-document-links.c:
3778 (ev_document_links_has_document_links),
3779 (ev_document_links_get_links_model):
3780 * backend/ev-document-links.h:
3781 * backend/ev-document.c: (ev_document_get_page_cache),
3782 (ev_document_get_doc_mutex), (ev_document_load),
3783 (ev_document_save), (ev_document_get_title),
3784 (ev_document_get_n_pages), (ev_document_set_page),
3785 (ev_document_get_page), (ev_document_set_target),
3786 (ev_document_set_scale), (ev_document_set_page_offset),
3787 (ev_document_get_page_size), (ev_document_get_text),
3788 (ev_document_get_link), (ev_document_render),
3789 (ev_document_render_pixbuf), (ev_document_scale_changed):
3790 * backend/ev-document.h:
3791 * backend/ev-job-queue.c: (remove_object_from_queue),
3792 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3793 (no_jobs_available_unlocked), (ev_render_thread),
3794 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3795 (ev_job_queue_remove_job):
3796 * backend/ev-job-queue.h:
3797 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3798 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3799 (ev_job_links_class_init), (ev_job_render_init),
3800 (ev_job_render_dispose), (ev_job_render_class_init),
3801 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3802 (ev_job_thumbnail_class_init), (ev_job_finished),
3803 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3804 (ev_job_render_run), (ev_job_thumbnail_new),
3805 (ev_job_thumbnail_run):
3806 * backend/ev-jobs.h:
3807 * backend/ev-link.c:
3808 * backend/ev-link.h:
3809 * backend/ev-page-cache.c: (ev_page_cache_init),
3810 (ev_page_cache_class_init), (ev_page_cache_finalize),
3811 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3812 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3813 (ev_page_cache_set_link), (ev_page_cache_get_title),
3814 (ev_page_cache_get_size), (ev_page_cache_next_page),
3815 (ev_page_cache_prev_page):
3816 * backend/ev-page-cache.h:
3817 * pdf/pdf-document.cc:
3820 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3821 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3822 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3823 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3824 (is_interpreter_ready), (output), (catchPipe), (input),
3825 (start_interpreter), (check_filecompressed), (compute_dimensions),
3826 (ps_document_enable_interpreter), (document_load),
3827 (ps_document_next_page), (render_page), (ps_document_set_page),
3828 (ps_document_set_scale), (render_pixbuf_idle),
3829 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3831 * shell/Makefile.am:
3832 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3833 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3834 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3835 (ev_pixbuf_cache_new), (job_finished_cb),
3836 (check_job_size_and_unref), (move_one_job),
3837 (ev_pixbuf_cache_update_range), (find_job_cache),
3838 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3839 (ev_pixbuf_cache_add_jobs_if_needed),
3840 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3841 * shell/ev-pixbuf-cache.h:
3842 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3843 (idle_print_handler):
3844 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3845 (selection_changed_cb), (create_loading_model),
3846 (ev_sidebar_links_construct), (links_page_num_func),
3847 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3848 (update_page_callback), (job_finished_cb),
3849 (ev_sidebar_links_set_document):
3850 * shell/ev-sidebar-thumbnails.c:
3851 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3852 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3853 (page_changed_cb), (thumbnail_job_completed_callback),
3854 (ev_sidebar_thumbnails_set_document):
3855 * shell/ev-sidebar-thumbnails.h:
3856 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3857 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3858 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3859 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3860 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3861 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3862 (ev_view_button_release_event), (ev_view_scroll_view),
3863 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3864 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3865 (ev_view_new), (job_finished_cb), (page_changed_cb),
3866 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3867 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3868 (ev_view_find_previous):
3870 * shell/ev-window.c: (update_action_sensitivity),
3871 (ev_window_open_page), (update_window_title), (update_total_pages),
3872 (page_changed_cb), (ev_window_setup_document),
3873 (password_dialog_response), (ev_window_cmd_save_as),
3874 (ev_window_print), (ev_window_cmd_go_previous_page),
3875 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3876 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3877 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3878 * shell/main.c: (main):
3880 Merge evince-threads branch
3882 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3884 * configure.ac: Added "lt" to ALL_LINGUAS.
3886 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3893 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3895 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3897 Fix here also the thumbnails 1-basedness :)
3899 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3906 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3908 * pdf/pdf-document.cc:
3909 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3910 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3912 Fix the mess we did with thumbnails and 1-basedness
3914 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3916 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3918 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3925 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3928 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3929 (gtk_gs_defaults_get_alpha_parameters),
3930 (gtk_gs_defaults_get_ungzip_cmd),
3931 (gtk_gs_defaults_get_unbzip2_cmd):
3933 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3934 (ps_document_get_orientation), (document_load),
3935 (ps_document_goto_page), (ps_document_set_page_size):
3938 Some more sanitization of the ps backend. Remove a lot
3939 of unused code and do not base our defaults on ggv
3942 2005-03-08 Fernando Herrera <fherrera@onirica.com>
3944 * thumbnailer/evince-thumbnailer.schemas:
3945 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3946 (main): add -s option for thumbnail size.
3948 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
3952 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3955 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3957 * pdf/pdf-document.cc:
3959 Remove 4 pixels of useless border from the
3962 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
3964 * backend/ev-document-thumbnails.c:
3965 (ev_document_thumbnails_get_thumbnail):
3966 * backend/ev-document-thumbnails.h:
3968 Rework API a bit. Add a border flag and
3969 change sizing logic (now the size we specify
3970 applies to the bigger dimension).
3972 * pdf/pdf-document.cc:
3973 * pixbuf/pixbuf-document.c:
3974 (pixbuf_document_thumbnails_get_thumbnail):
3975 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3976 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3978 Adapt to the new API and do not draw a border for nautilus
3981 2005-03-03 Fernando Herrera <fherrera@onirica.com>
3983 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3984 take thumbnails from page "0" instead of "1". Added a copyright header.
3986 2005-03-03 Jens Granseuer <jensgr@gmx.net>
3988 * ps/ps-document.c: (set_up_page), (start_interpreter):
3990 Make it C89 compliant
3992 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
3997 * pdf/pdf-document.cc:
3998 * thumbnailer/Makefile.am:
3999 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4001 * thumbnailer/evince-thumbnailer.schemas:
4002 * thumbnailer/pdf-icon.png:
4004 Add a nautilus thumbnailer.
4005 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4007 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4015 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4017 Use poppler instead of including xpdf source code. Poppler is a
4018 fork of xpdf to build it as a shared library. See
4019 http://freedesktop.org/wiki/Software/poppler.
4021 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4024 * pdf/Makefile.am: Build libpdfdocument.a here.
4026 * pdf/GDKSplashOutputDev.cc:
4027 * pdf/GDKSplashOutputDev.h:
4028 * pdf/GnomeVFSStream.cc:
4029 * pdf/GnomeVFSStream.h:
4032 * test-gdk-output-dev.cc
4034 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4037 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4039 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4041 Clear idle stack before unsetting the document
4043 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4045 * ps/ps-document.c: (ps_document_widget_event),
4046 (ps_document_set_target), (ps_document_finalize),
4047 (ps_document_get_page):
4049 Disconnect the widget event signal on finalize.
4052 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4054 * ps/ps-document.c: (set_up_page):
4056 If there is no bpixmap create one, even if size
4059 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4061 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4062 (set_up_page), (document_load), (ps_document_set_zoom):
4064 Default page is 0. Calculate size even when we have no
4067 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4069 * shell/ev-sidebar.c: expand the selection widget to be always as
4072 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4074 * shell/ev-sidebar-thumbnails.c:
4075 (ev_sidebar_thumbnails_set_document):
4077 Clear the list store when setting document
4079 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4081 * shell/ev-page-action.c: (update_entry), (sync_entry),
4082 (activate_cb), (entry_size_request_cb), (create_tool_item),
4085 Use an entry for the page control instead of spinbuttons
4087 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4089 * data/evince.schemas.in:
4091 Correct confusing string
4093 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4095 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4096 for real. Gosh, how long has this been broken.
4098 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4099 check for a NULL link. We crash otherwise.
4101 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4108 2005-02-25 Sebastien Bacher <seb128@debian.org>
4110 * configure.ac: add the french translation.
4112 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4114 * shell/ev-window.c:
4116 Remove unused header -> fix distcheck
4118 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4120 * shell/ev-window.c: (update_window_title),
4121 (ev_window_popup_password_dialog):
4123 Unescape filename for display
4125 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4127 * pdf/xpdf/pdf-document.cc:
4129 In get_page_size deal with rotation. Also
4130 cleanup the function a bit.
4132 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4134 * pdf/xpdf/pdf-document.cc:
4136 Fix crash when opening in new window
4138 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4142 Check ghostscript >= 7
4144 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4146 * shell/ev-window.c:
4148 Make page width the default sizing mode
4150 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4151 Marco Pesenti Gritti <marco@gnome.org>
4153 * shell/ev-window.c: Remember the sidebar size
4155 * data/evince.schemas.in: Add a new gconf key to store the size of
4158 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4160 * data/evince-ui.xml:
4161 * shell/ev-window.c: (update_action_sensitivity),
4162 (ev_window_cmd_view_reload):
4164 Add a "Reload" action and menu entry
4166 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4168 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4169 iff the type doesn't support thumbnailing and indexing.
4171 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4173 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4175 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4177 * pdf/splash/Splash.cc:
4179 Port fix for a crasher from kde bug
4180 http://bugs.kde.org/show_bug.cgi?id=97131
4182 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4184 * pdf/xpdf/pdf-document.cc:
4186 Return a link even if it's of an unrecognized
4187 type. Otherwise we go in an infinte cycle.
4189 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4191 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4192 (size_allocate_cb), (ev_window_set_sizing_mode):
4194 Update size when switching mode
4196 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4198 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4199 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4200 (ev_window_cmd_view_normal_size):
4202 Fix size toggle buttons behavior
4204 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4206 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4207 (doc_rect_to_view_rect), (ev_view_size_allocate),
4208 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4209 (scale_changed_callback):
4211 Do not cache offsets in size_allocate.
4213 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4215 * shell/ev-view.c: (ev_view_size_allocate):
4217 Calculate offsets before calling the parent
4218 class (which does a redraw)
4220 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4222 * pdf/xpdf/pdf-document.cc:
4224 Fix a crasher on exit. Unused code, put a TODO
4226 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4228 * backend/ev-document.c: (ev_document_class_init),
4229 (ev_document_page_changed), (ev_document_scale_changed):
4230 * backend/ev-document.h:
4232 Separate page/scale notifications
4234 * pdf/xpdf/pdf-document.cc:
4236 Emit the new signals.
4237 Do not display the pdf page in _render, do it
4238 when scale/page are requested.
4240 * ps/ps-document.c: (ps_document_set_zoom),
4241 (ps_document_widget_event):
4244 Emit the new signals.
4246 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4247 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4248 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4249 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4251 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4252 (ev_window_cmd_view_page_width), (size_allocate_cb),
4253 (ev_window_set_sizing_mode):
4255 Rework sizing to be pixel based.
4256 There are bugs but should be already way better.
4258 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4260 * shell/ev-window.c: (ev_window_init):
4262 Do not allow to shrink sidebar smaller then
4265 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4267 * shell/ev-sidebar.[ch]
4268 * shell/ev-window.c:
4270 Improved sidebar widget. Fixes #166683
4272 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4274 * shell/ev-view.c (update_find_status_message): Give translators
4275 more flexibility with ngettext plural handling.
4277 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4279 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4280 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4281 page when we get the page size.
4283 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4285 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4287 ps pages are 0 based, convert
4289 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4291 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4293 Initialize correct parent class. Set GError on document load
4295 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4297 * pdf/xpdf/pdf-document.cc:
4299 Fixup selection offset calculation
4301 * shell/ev-view.c: (view_rect_to_doc_rect),
4302 (doc_rect_to_view_rect), (ev_view_size_allocate),
4303 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4304 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4306 Store selection as document relative, so that zooming
4307 and offset changing doesnt break it.
4309 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4311 * shell/ev-view.c: (ev_view_best_fit):
4313 Do not try to best fit if the view is not realized
4315 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4317 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4319 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4321 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4323 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4325 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4326 the popup window. That prevents it resizing when in full screen
4329 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4330 multiple rerenders. This pretty much sucks.
4332 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4333 rest of the toolbar.
4335 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4337 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4339 2005-02-17 Alexander Shopov <ash@contact.bg>
4341 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4343 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4345 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4347 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4349 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4350 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4351 (set_document_page), (document_changed_callback),
4352 (ev_view_set_document), (ev_view_find_previous),
4353 (ev_view_hide_cursor), (ev_view_show_cursor):
4355 * shell/ev-window.c: (update_chrome_visibility),
4356 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4357 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4358 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4359 (ev_window_unfullscreen):
4360 * shell/main.c: (main):
4362 Automatically hide the fullscreen button.
4363 Patch by Kristian Høgsberg <krh@redhat.com>
4365 2005-02-16 Vincent Noel <vnoel@cox.net>
4367 * shell/main.c (main): Specify an icon for the window. Patch by
4368 Jaap A. Haitsma. Fixes #166177.
4370 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4372 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4374 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4376 * backend/ev-document-misc.h:
4377 * backend/ev-document-misc.c:
4378 (ev_document_misc_get_page_border_size),
4379 (ev_document_misc_paint_one_page): New function to canonicalize
4380 sizing/painting a border.
4382 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4385 * pdf/xpdf/pdf-document.cc: use new function
4387 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4388 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4389 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4390 shell/ev-window.c: (update_sizing_buttons),
4391 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4392 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4393 (ev_window_cmd_view_page_width), (size_allocate_cb),
4394 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4395 and "fit width" values act as toggle buttons so they stay
4396 toggled. It's not 100% perfect, and it's a little slow, but it's
4397 good enough to commit I think.
4399 2005-02-15 David Lodge <dave@cirt.net>
4401 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4403 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4405 * shell/ev-window.c (update_window_title): replace newlines in
4406 the title by spaces. Bug #166107.
4408 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4410 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4411 parameters providing allocation width and height without
4412 scrollbars and width of a possible vertical scrollbar. With this
4413 additional information the functions can work as
4414 intended. Unfortunately they're not idempotent. We should
4415 transform these commands to toggles. Fixes Bug #164976
4416 Initial patch by Stephane Loeuillet, then heavily modified.
4418 * shell/ev-view.h: update prototypes.
4420 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4421 (ev_window_cmd_view_page_width): provide EvView fit functions with
4422 all the information they need. Formulas to calculate this
4423 information taken from GtkScrolledWindow.
4425 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4427 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4428 created a thumbnail, the list store is updated to know
4429 that the thumbnail is set. Fixes bug #166792
4431 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4433 * shell/ev-window.c: fixed typo, closes bug 166897
4435 * TODO: updated TODO with bug numbers that are relevant
4437 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4439 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4441 2005-02-09 Vincent Noel <vnoel@cox.net>
4443 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4444 and "Next" toolbar buttons as important to make them stand out.
4446 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4450 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4451 (start_interpreter), (stop_interpreter), (document_load),
4452 (ps_document_next_page), (ps_document_goto_page),
4453 (ps_document_set_page_size), (ps_document_widget_event),
4454 (ps_document_render):
4455 * shell/ev-page-view.c: (ev_page_view_dispose):
4456 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4458 Fix compilation on non-gcc platforms
4460 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4467 * pdf/xpdf/Catalog.cc:
4470 Fix the fix for CAN-2004-0888
4472 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4475 * data/evince-ui.xml:
4476 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4477 * shell/ev-stock-icons.h:
4478 * shell/ev-window.c: (update_action_sensitivity),
4479 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4480 (set_action_properties):
4482 Improve toolbar layout/icons
4484 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4486 * pdf/xpdf/pdf-document.cc:
4488 Add warnings about unimplemented/unknown link
4491 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4493 * ps/ps-document.c: (set_up_page):
4497 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4499 * ps/ps-document.c: (start_interpreter):
4503 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4505 * shell/ev-page-view.c: (ev_page_view_dispose):
4506 * shell/ev-view.c: (ev_view_finalize):
4507 * shell/ev-window.c: (ev_window_setup_document),
4508 (ev_window_dispose), (ev_window_init):
4510 Solve more refs issues.
4512 I commented out the page_view initialization for now:
4513 it was never destroyed (because it's never added
4514 to a container). Because of that we was leaking
4515 gs processes. Couldnt think to a clean fix.
4516 We need to figure this out, password view has the
4517 same issue probably.
4519 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4521 * ps/ps-document.c: (ps_document_finalize),
4522 (ps_document_get_n_pages), (ps_document_get_page):
4524 Some cleanups, stop the interpreter on finalize
4526 * shell/ev-page-view.c: (ev_page_view_dispose),
4527 (ev_page_view_class_init):
4529 Release our reference on the document
4531 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4535 * doc/debugging.txt:
4538 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4539 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4540 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4543 Add debugging helpers
4546 * ps/ps-document.c: (set_up_page), (start_interpreter),
4547 (stop_interpreter), (document_load), (ps_document_next_page),
4548 (ps_document_goto_page), (ps_document_set_page_size),
4549 (ps_document_widget_event), (ps_document_render):
4550 * shell/Makefile.am:
4551 * shell/ev-view.c: (expose_bin_window):
4552 * shell/main.c: (main):
4556 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4558 * ps/ps-document.c: (ps_document_widget_event):
4560 Initialize message_window, this should make ps
4561 rendering really work! (Never noticed because I was
4562 testing with a ps that is causing gs to exit every time!)
4564 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4566 * data/evince.schemas.in: updated simple error in applyto closing tag
4568 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4574 * data/evince-ui.xml:
4575 A data/evince.schemas.in:
4577 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4578 * shell/ev-stock-icons.h:
4579 * shell/ev-window.c: (update_chrome_visibility),
4580 (update_chrome_flag), (ev_window_cmd_edit_find),
4581 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4582 (ev_window_unfullscreen), (ev_window_focus_in_event),
4583 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4584 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4585 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4586 (ev_window_dispose), (ev_window_class_init),
4587 (set_action_properties), (set_chrome_actions), (load_chrome),
4590 Implement fullscreen mode changes from bug #164776.
4591 Also implement persistent chrome toggles.
4593 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4595 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4597 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4603 Add another check for find interface
4607 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4609 * shell/ev-application.c: (ev_application_open):
4610 * shell/ev-window.c: (ev_window_open):
4612 Open gzipped ps documents
4614 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4617 * shell/ev-view.c: (set_document_page):
4619 Clamp page number, dont try to move to
4622 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4624 * backend/ev-document-find.c: (ev_document_find_changed):
4625 * backend/ev-document-find.h:
4626 * pdf/xpdf/pdf-document.cc:
4627 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4628 * shell/ev-window.c: (find_bar_search_changed_cb):
4630 Fix several bugs with find
4632 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4634 * shell/ev-sidebar-thumbnails.c
4635 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4636 document. Prevents warning from scroll_to_cell.
4638 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4640 * configure.ac: Add «nb» to ALL_LINGUAS too.
4642 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4644 * NOTES: New file with some random thoughts.
4648 * backend/ev-document-misc.c:
4649 (ev_document_misc_get_page_border_size): New function to
4650 canonicalize shadow drawing sizes. Possibly goofy.
4652 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4653 (ev_view_best_fit), (ev_view_fit_width):
4654 * pdf/xpdf/pdf-document.cc:
4655 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4656 * ps/ps-document.c: (ps_document_get_page_size):
4657 * backend/ev-document-misc.h:
4658 * backend/ev-document.c: (ev_document_get_page_size):
4659 * backend/ev-document.h: get_page_size now takes a page number
4660 parameter. Made all the backends/frontends honor it.
4662 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4663 see. Doesn't work yet.
4665 * shell/Makefile.am:
4666 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4667 Doesn't do anything yet.
4669 * shell/ev-sidebar-thumbnails.c:
4670 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4673 * shell/ev-window.c: (update_action_sensitivity),
4674 (ev_window_setup_document), (ev_window_set_page_mode),
4675 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4676 view-swapping code a bit so we can have multiple views on a
4677 document. Add the multi-page view, though it can't be turned on
4680 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4682 * shell/ev-application.c: (ev_application_open):
4683 * shell/ev-view.c: (expose_bin_window):
4684 * shell/ev-window.c: (ev_window_open):
4686 Support eps and check document supports find
4687 before drawing highlightings in expose.
4689 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4691 * pixbuf/pixbuf-document.c:
4692 (pixbuf_document_thumbnails_get_dimensions),
4693 (pixbuf_document_document_thumbnails_iface_init):
4695 implement get_dimensions
4697 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4704 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4706 * shell/ev-view.c: (set_document_page):
4708 Scroll at the top of the page when changing page
4710 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4712 * shell/ev-view.c: (ev_view_motion_notify_event):
4714 Do not redraw unnecessarily
4716 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4718 * pdf/xpdf/pdf-document.cc:
4719 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4720 (expose_bin_window), (find_changed_cb):
4722 Yay! find works now... Now to find bugs...
4724 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4726 * backend/ev-document-find.c: (ev_document_find_base_init),
4727 (ev_document_find_changed):
4728 * backend/ev-document-find.h:
4729 * pdf/xpdf/pdf-document.cc:
4730 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4731 (expose_bin_window), (ev_view_init), (set_document_page),
4732 (ensure_rectangle_is_visible), (jump_to_find_result),
4733 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4734 (ev_view_find_next), (ev_view_find_previous):
4736 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4738 More work on find implementation, mostly there now
4740 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4742 * backend/ev-backend-marshalers.list:
4743 * backend/ev-document-find.c: (ev_document_find_base_init),
4744 (ev_document_find_cancel), (ev_document_find_page_has_results),
4745 (ev_document_find_get_n_results), (ev_document_find_get_result),
4746 (ev_document_find_get_progress), (ev_document_find_changed):
4747 * backend/ev-document-find.h:
4749 Enanche the find interface to be really able to do
4752 * pdf/xpdf/pdf-document.cc:
4756 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4757 (expose_bin_window), (ev_view_init),
4758 (ev_view_get_find_status_message), (find_changed_cb),
4759 (ev_view_set_document), (set_document_page):
4761 Adapt to the new interface. A few things are regressed sorry,
4762 I will finish it soon.
4764 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4766 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4767 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4768 ev_sidebar_thumbnails_parent_class variable, don't define another
4769 parent_class variable.
4771 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4772 (ev_page_action_class_init): ditto.
4774 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4775 (pixbuf_document_class_init): ditto.
4777 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4780 * .cvsignore: ignore various valgrind output files.
4782 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4784 * data/evince-ui.xml:
4785 * shell/Makefile.am:
4786 * shell/ev-history.c:
4787 * shell/ev-history.h:
4788 * shell/ev-navigation-action.c:
4789 * shell/ev-navigation-action.h:
4790 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4791 (ev_view_set_page), (ev_view_fit_width):
4793 * shell/ev-window.c: (update_action_sensitivity),
4794 (ev_window_setup_document), (register_custom_actions):
4796 Kill session history
4798 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4800 * shell/ev-window.c: (update_action_sensitivity):
4802 Fix inverted up/down buttons
4804 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4806 * shell/ev-sidebar-thumbnails.c
4807 (ev_sidebar_thumbnails_select_page): make sure the selected
4808 thumbnail stays visible.
4810 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4812 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4813 scrolled window for Federico.
4815 2005-01-26 Ole Laursen <olau@hardworking.dk>
4817 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4819 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4822 * pdf/splash/SplashFTFontEngine.cc:
4824 Fix CID fonts with freetype 2.1.9
4826 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4828 * TODO: added item for desktop icon thumbnailer
4830 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4832 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4833 unloaded docs when the title is accessed.
4835 * shell/ev-password-view.[hc]: New widget for displaying password
4838 * shell/ev-window.[ch]: Refactor password handling code to handle
4841 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4849 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4851 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4852 ignore page offset here, to make search results independent of it,
4854 * shell/ev-view.c (expose_bin_window): but take offsets into
4855 account here. Bug #164932
4857 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4858 scale at the right time. Bug #164996
4860 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4862 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4863 fix the problem. Now I just removed the Adobe font names and hope
4864 that the URW fonts are always in outline format. Bug #164934
4866 * shell/ev-window.c (update_window_title): empty titles are
4867 useless, use filename in that case too.
4869 * NEWS: Add some content.
4871 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4873 * TODO: added one more TODO item and a TODONE section :)
4875 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4877 * ps/ps-document.h: add page_[xy]_offset fields.
4879 * ps/ps-document.c (ps_document_set_page_offset)
4880 (ps_document_render): Keep offset in consideration in a few
4881 places. Bug #164752 "postscript documents are not centered in
4884 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4885 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4887 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4888 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4889 stub out missing methods for complete EvDocument implementation.
4890 Fixes segfaults with Save A Copy and Copy actions.
4892 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4893 (ps_document_document_iface_init): ditto.
4895 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4899 * data/evince.desktop.in:
4903 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4905 * shell/ev-view.c: (ev_view_button_press_event),
4906 (ev_view_motion_notify_event):
4908 Make selection work in any direction
4910 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4913 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4915 Use shorter labels for some of the toolbars items
4917 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4919 * pdf/xpdf/pdf-document.cc:
4921 Check the links info is initialized before
4922 using it. Should fix a crash on startup.
4924 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4926 * pixbuf/pixbuf-document.c
4927 (pixbuf_document_thumbnails_get_dimensions): force floating point
4928 division to calculate page_ratio. Fixes crash with landscape
4931 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4933 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4935 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4937 * shell/ev-view.c (set_document_page): unset has_selection when
4939 (set_document_page): handle paper size changes when the page
4940 changes (test with Free Culture, page 2).
4942 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4944 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4945 (expose_bin_window), (ev_view_class_init), (ev_view_init):
4947 Use normal style color for the widget background and
4948 draw a black box around the page.
4950 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4952 * pdf/xpdf/pdf-document.cc:
4954 Keep offset in consideration in a few places
4956 * shell/ev-view.c: (expose_bin_window):
4958 Set the offsets so that the document is ever centered
4960 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
4962 * TODO: Added TODO items and finished off the first todo item
4964 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4965 reflect current authors
4967 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4969 * pdf/xpdf/pdf-document.cc:
4970 * shell/ev-view.c: (ev_view_set_cursor),
4971 (ev_view_motion_notify_event), (document_changed_callback),
4972 (set_document_page):
4974 Show a wait cursor while the page is rendering
4976 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
4978 * shell/ev-sidebar-thumbnails.c:
4979 (ev_sidebar_tree_selection_changed),
4980 (ev_sidebar_thumbnails_select_page):
4981 * shell/ev-sidebar-thumbnails.h:
4982 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4983 (ev_view_can_go_forward):
4984 * shell/ev-window.c: (ev_window_open_page),
4985 (ev_window_setup_document), (update_current_page),
4986 (view_page_changed_cb), (ev_window_init):
4987 * shell/ev-window.h:
4989 Ensure thumbnails selection, toolbar page control and
4990 current page are in sync.
4992 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
4998 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5000 * backend/Makefile.am:
5001 * backend/ev-document-links.h:
5002 * backend/ev-document-security.c: (ev_document_security_get_type),
5003 (ev_document_security_has_document_security),
5004 (ev_document_security_set_password):
5005 * backend/ev-document-security.h:
5006 * backend/ev-document.c: (ev_document_error_quark):
5007 * backend/ev-document.h:
5009 * data/evince-password.glade:
5010 * pdf/xpdf/pdf-document.cc:
5011 * shell/Makefile.am:
5012 * shell/ev-password.c: (ev_password_set_bad_password_label),
5013 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5014 (ev_password_dialog_get_password),
5015 (ev_password_dialog_set_bad_pass):
5016 * shell/ev-password.h:
5017 * shell/ev-window.c: (ev_window_get_attribute),
5018 (ev_window_set_property), (update_action_sensitivity),
5019 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5020 (ev_window_setup_document), (ev_window_get_password),
5021 (ev_window_open), (ev_window_cmd_save_as),
5022 (using_postscript_printer), (ev_window_print),
5023 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5024 (update_fullscreen_popup), (ev_window_fullscreen),
5025 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5026 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5027 (menu_item_select_cb), (find_bar_search_changed_cb),
5028 (ev_window_dispose), (ev_window_init):
5030 Add initial support for password-supported dialogs. This could be
5031 a lot cooler, but it'll do for now.
5033 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5035 * pdf/xpdf/pdf-document.cc:
5036 * shell/ev-view.c: (status_message_from_link),
5037 (ev_view_set_status), (ev_view_set_cursor),
5038 (ev_view_motion_notify_event), (ev_view_init):
5039 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5041 Fix bugs in the links implementation and change cursor
5042 when hovering a link.
5044 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5046 * viewer/.cvsignore: added cvsignore file for viewer directory
5048 * TODO: created TODO document
5050 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5053 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5054 new functions to help with implementation of sensitivity code
5055 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5056 of all actions that might require it. Fixes a crash when you
5057 click on the Zoom actions in a window lacking a document.
5059 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5061 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5064 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5066 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5067 (pixbuf_document_document_iface_init):
5068 * ps/ps-document.c: (ps_document_get_link),
5069 (ps_document_document_iface_init):
5070 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5071 (status_message_from_link), (ev_view_set_status),
5072 (ev_view_set_find_status), (ev_view_motion_notify_event),
5073 (ev_view_button_release_event), (ev_view_set_property),
5074 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5075 (ev_view_get_find_status_message), (update_find_results),
5076 (ev_view_get_status), (ev_view_get_find_status):
5078 * shell/ev-window.c: (view_status_changed_cb),
5079 (view_find_status_changed_cb), (ev_window_init):
5081 View status message support, use it to show the links.
5084 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5086 * backend/ev-document.c: (ev_document_get_link):
5087 * backend/ev-document.h:
5088 * pdf/xpdf/pdf-document.cc:
5089 * shell/ev-application.c: (ev_application_open):
5090 * shell/ev-application.h:
5091 * shell/ev-sidebar-links.c: (selection_changed_cb):
5092 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5093 (ev_view_go_to_link):
5095 Add support for document links
5097 2005-01-13 Anders Carlsson <andersca@gnome.org>
5099 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5101 Set the spin button limits correctly.
5103 * shell/ev-sidebar-thumbnails.c:
5104 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5105 Support changing pages by clicking on the thumbnails.
5107 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5109 * pixbuf/pixbuf-document.c:
5110 (pixbuf_document_thumbnails_get_dimensions),
5111 (pixbuf_document_document_thumbnails_iface_init):
5113 implement get_dimensions
5115 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5117 * ps/ps-document.c: (ps_document_goto_page):
5119 Fix page switching on multipage documents
5121 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5123 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5125 check for NULL before assigning to width and height parameters
5127 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5129 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5130 (pixbuf_document_set_property), (pixbuf_document_get_property):
5132 implement get/set properties
5134 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5136 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5138 return NULL instead of "Unknown", letting the title get set to
5139 the filename when the pdf has no title.
5141 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5143 * ps/ps-document.c: (ps_document_get_page_count),
5144 (ps_document_goto_page):
5146 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5148 * shell/ev-history.c: (ev_history_get_property),
5149 (ev_history_set_property), (ev_history_class_init),
5150 (ev_history_add_page), (ev_history_set_current_index):
5151 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5152 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5153 (ev_navigation_action_finalize):
5154 * shell/ev-navigation-action.h:
5155 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5156 (ev_view_go_forward), (ev_view_get_find_status_message),
5157 (history_index_changed_cb), (ev_view_set_history):
5159 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5160 (update_current_page), (register_custom_actions):
5162 Implement history dropdowns
5164 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5166 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5167 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5168 (ev_view_go_forward):
5169 * shell/ev-window.c: (register_custom_actions):
5171 Fix several history bugs
5173 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5175 * configure.ac: Add «nb» to ALL_LINGUAS.
5177 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5179 * backend/Makefile.am:
5180 * backend/ev-bookmark.c:
5181 * backend/ev-bookmark.h:
5182 * backend/ev-document-bookmarks.c:
5183 * backend/ev-document-bookmarks.h:
5184 * backend/ev-document-links.c: (ev_document_links_get_type),
5185 (ev_document_links_has_document_links),
5186 (ev_document_links_begin_read), (ev_document_links_get_link),
5187 (ev_document_links_get_child), (ev_document_links_next),
5188 (ev_document_links_free_iter):
5189 * backend/ev-document-links.h:
5190 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5191 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5192 (ev_link_get_link_type), (ev_link_set_link_type),
5193 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5194 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5195 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5196 (ev_link_new_external):
5197 * backend/ev-link.h:
5198 * pdf/xpdf/pdf-document.cc:
5199 * shell/Makefile.am:
5200 * shell/ev-application.c: (ev_application_open_link):
5201 * shell/ev-application.h:
5202 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5203 (ev_history_get_link_nth):
5204 * shell/ev-history.h:
5205 * shell/ev-sidebar-bookmarks.c:
5206 * shell/ev-sidebar-bookmarks.h:
5207 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5208 (ev_sidebar_links_class_init), (selection_changed_cb),
5209 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5210 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5211 (do_one_iteration), (populate_links_idle),
5212 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5213 * shell/ev-sidebar-links.h:
5214 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5215 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5218 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5219 * shell/ev-window.h:
5221 Rename bookmark to link, and use "Index" for the sidebar panel.
5223 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5225 * shell/Makefile.am:
5226 * shell/ev-application.c: (ev_application_open_bookmark):
5227 * shell/ev-application.h:
5228 * shell/ev-history.c: (ev_history_init), (free_links_list),
5229 (ev_history_finalize), (ev_history_class_init),
5230 (ev_history_add_link), (ev_history_add_page),
5231 (ev_history_get_link_nth), (ev_history_get_n_links),
5232 (ev_history_get_current_index), (ev_history_set_current_index),
5234 * shell/ev-history.h:
5235 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5236 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5237 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5238 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5241 * shell/ev-window.c: (ev_window_open_bookmark),
5242 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5243 (goto_page_cb), (register_custom_actions):
5244 * shell/ev-window.h:
5246 Initial history implementation. Needs work.
5248 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5250 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5252 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5254 * cut-n-paste/recent-files/egg-recent-item.c:
5255 * cut-n-paste/recent-files/egg-recent-item.h:
5256 * cut-n-paste/recent-files/egg-recent-model.c:
5257 * cut-n-paste/recent-files/egg-recent-util.c:
5258 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5259 * cut-n-paste/recent-files/egg-recent-view.c:
5263 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5265 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5266 (fillGlyph, fillImageMask, drawImage):
5267 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5268 pdf/splash/SplashTypes.h:
5269 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5270 packed mode for Splash.
5272 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5273 RGB8 packed mode, eliminates the pixbuf data creation loop.
5275 * shell/ev-print-job.c (ev_print_job_finalize)
5276 (ev_print_job_set_property, ev_print_job_get_property)
5277 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5278 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5279 (print_closure_finalize, ev_print_job_print): implement
5280 printing (for backends with EvPsExporter)
5282 * shell/ev_print_job.h: update prototypes.
5284 * shell/ev-window.c (ev_window_print): unref print job after
5287 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5288 unless the document implements the EvDocumentFind interface.
5290 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5292 * configure.ac: Added ja to ALL_LINGUAS.
5294 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5296 * pdf/xpdf/pdf-document.cc:
5298 add a FIXME. We should probably not allocate
5299 a bookmark object every time
5301 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5303 * shell/ev-application.c: (ev_application_open),
5304 (ev_application_open_bookmark):
5305 * shell/ev-application.h:
5307 Add a way to open bookmarks
5309 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5310 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5311 (ev_bookmark_set_property), (ev_bookmark_class_init),
5312 (ev_bookmark_new_title), (ev_bookmark_new_link),
5313 (ev_bookmark_new_external):
5315 Support for external uris, better constructors.
5317 * backend/ev-bookmark.h:
5318 * pdf/xpdf/pdf-document.cc:
5319 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5321 Handle external uris
5323 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5325 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5326 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5328 Hook up bookmarks navigation
5330 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5332 * backend/Makefile.am:
5333 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5334 (ev_bookmark_get_title), (ev_bookmark_set_title),
5335 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5336 (ev_bookmark_get_page), (ev_bookmark_set_page),
5337 (ev_bookmark_get_property), (ev_bookmark_set_property),
5338 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5340 * backend/ev-bookmark.h:
5341 * backend/ev-document-bookmarks.c:
5342 (ev_document_bookmarks_get_bookmark):
5343 * backend/ev-document-bookmarks.h:
5344 * pdf/xpdf/pdf-document.cc:
5345 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5347 Add a bookmark object to the backend and use it instead of get_values
5349 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5351 * data/evince-ui.xml:
5353 Cleanup and add select all.
5355 * shell/ev-view.c: (ev_view_select_all),
5356 (ev_view_button_press_event):
5358 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5361 Clear selection on click.
5363 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5365 * shell/ev-sidebar-thumbnails.c
5366 (ev_sidebar_thumbnails_set_document): forgot to unref the
5369 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5371 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5372 at the visible page, not just linearly. This makes it look fast.
5374 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5376 * backend/ev-document-misc.c
5377 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5379 * backend/ev-document-thumbnails.h: New interface to get the size
5382 2005-01-06 Jeremy Katz <katzj@redhat.com>
5384 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5387 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5389 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5390 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5393 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5395 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5397 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5398 fonts. Should fix font problems on systems that have the base
5399 fonts in bitmap format. Reported by James Henstridge
5400 <james@jamesh.id.au>.
5402 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5405 * pdf/xpdf/GfxState.cc:
5407 Fix for CAN-2004-1125
5409 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5411 * shell/ev-view.c: (ev_view_copy):
5413 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5415 Implement Edit->Copy
5417 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5419 * backend/ev-document.c: (ev_document_get_text):
5420 * backend/ev-document.h:
5421 * pdf/xpdf/pdf-document.cc:
5422 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5423 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5424 (ev_view_update_primary_selection), (ev_view_button_press_event),
5425 (ev_view_motion_notify_event), (ev_view_button_release_event):
5427 Beginnings of clipboard support. Incomplete but primary sort
5430 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5432 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5433 (expose_bin_window):
5435 Nicer rubberband drawing, from GtkIconView.
5437 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5439 * backend/ev-document.c: (ev_document_save):
5440 * backend/ev-document.h:
5441 * data/evince-ui.xml:
5442 * pdf/xpdf/pdf-document.cc:
5443 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5445 Implement "Save a copy..." menu item
5447 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5449 * shell/ev-view.c: (ev_view_zoom):
5451 Queue a resize when zoom changes
5453 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5455 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5458 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5461 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5463 * pdf/xpdf/pdf-document.cc
5464 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5466 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5468 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5469 It's slow, but I'll speed it up next!
5471 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5473 * shell/main.c (load_files):
5475 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5476 from the command line and because it seems more appropriate.
5478 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5480 * data/evince-ui.xml:
5481 * shell/ev-window.c: (update_action_sensitivity),
5482 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5484 s/next page/page down
5485 s/previous page/page up
5487 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5489 * data/evince-ui.xml:
5491 Change the layout to match clarkbw design.
5493 * shell/Makefile.am:
5494 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5495 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5496 (ev_navigation_action_finalize),
5497 (ev_navigation_action_set_property),
5498 (ev_navigation_action_get_property),
5499 (ev_navigation_action_class_init):
5500 * shell/ev-navigation-action.h:
5502 Implement clarkbw toolbar navigation controls (incomplete)
5504 * shell/ev-page-action.c: (update_label), (update_spin),
5505 (value_changed_cb), (create_tool_item), (connect_proxy),
5506 (ev_page_action_init), (ev_page_action_finalize),
5507 (ev_page_action_set_property), (ev_page_action_get_property),
5508 (ev_page_action_set_current_page),
5509 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5510 * shell/ev-page-action.h:
5512 Implement a page switcher in the toolbar
5514 * shell/ev-view.c: (ev_view_scroll_view):
5515 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5516 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5517 (register_custom_actions), (ev_window_init):
5519 Change page on PageUp/Down.
5521 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5523 * pdf/xpdf/pdf-document.cc
5524 (pdf_document_thumbnails_get_thumbnail): initial stab at
5525 implementing thumbnail support for pdfs. It only does documents
5526 with precached pdfs now.
5528 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5530 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5531 thumbnail code into a time-based idle as well. Also, turn off the
5532 shadow temporarily as it's really slow.
5534 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5536 * backend/ev-document.c: (ev_document_class_init):
5537 * pdf/xpdf/pdf-document.cc:
5538 * shell/ev-window.c: (ev_window_open):
5540 Fix document title bugs and fallback to
5541 filename when not available.
5543 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5545 * backend/ev-document.c: (ev_document_get_type),
5546 (ev_document_class_init), (ev_document_load),
5547 (ev_document_get_title):
5548 * backend/ev-document.h:
5549 * pdf/xpdf/pdf-document.cc:
5550 * ps/ps-document.c: (ps_document_set_property),
5551 (ps_document_get_property), (ps_document_class_init),
5555 * shell/ev-window.c: (update_window_title), (ev_window_open),
5558 Initial support for document title. Not working yet.
5560 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5562 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5564 Grab focus on the view when clicking it
5566 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5568 * shell/ev-marshal.list:
5569 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5570 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5572 Add key bindings to the view. Now if the focus would work
5575 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5578 * backend/Makefile.am:
5581 * dvi/dvilib/Makefile.am:
5582 * pdf/xpdf/Makefile.am:
5588 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5590 * shell/ev-view.c: (ev_view_realize):
5592 Fix mouse wheel scrolling
5594 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5600 * ps/ps-document.c: (catchPipe), (ps_document_init),
5601 (ps_document_class_init), (ps_document_cleanup),
5602 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5603 (set_up_page), (close_pipe), (is_interpreter_ready),
5604 (interpreter_failed), (output), (input), (start_interpreter),
5605 (stop_interpreter), (file_length), (file_readable),
5606 (check_filecompressed), (check_pdf), (compute_xdpi),
5607 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5608 (ps_document_get_type), (ps_document_emit_error_msg),
5609 (document_load), (ps_document_next_page),
5610 (ps_document_get_current_page), (ps_document_get_page_count),
5611 (ps_document_goto_page), (ps_document_set_page_size),
5612 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5613 (ps_document_load), (ps_document_get_n_pages),
5614 (ps_document_set_page), (ps_document_get_page),
5615 (ps_document_widget_event), (ps_document_set_target),
5616 (ps_document_set_scale), (ps_document_set_page_offset),
5617 (ps_document_get_page_size), (ps_document_render),
5618 (ps_document_document_iface_init):
5621 * shell/ev-window.c: (ev_window_open):
5623 Rename GtkGS to PSDocument
5625 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5627 * ps/gtkgs.c: (gtk_gs_class_init):
5630 Some more leftover...
5632 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5634 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5635 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5636 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5639 Remove unused code and make a lot of stuff private
5641 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5643 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5644 (gtk_gs_defaults_changed):
5650 Cleanup headers dependencies
5652 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5657 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5659 * ps/gtkgs.c: (file_length), (file_readable),
5660 (check_filecompressed), (check_pdf), (gtk_gs_load),
5661 (gtk_gs_get_postscript):
5665 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5670 * ps/gtkgs.c: (gtk_gs_set_zoom):
5674 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5676 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5678 Ensure the page is rerendered when changing zoom
5680 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5682 * backend/ev-document.c: (ev_document_base_init),
5683 (ev_document_changed):
5684 * backend/ev-document.h:
5686 Add a changed event that is emitted when the page content
5687 changes. This is necessary to deal with the fact that
5688 in ps backend rendering happen asycrounously.
5689 This makes the ps backend mostly work.
5691 * pdf/xpdf/pdf-document.cc:
5695 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5696 (ps_document_set_target):
5700 * shell/ev-view.c: (document_changed_callback),
5701 (ev_view_set_document), (ev_view_set_page):
5703 Redraw on the changed signal
5705 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5707 * configure.ac: Added pt_BR to ALL_LINGUAS.
5709 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5711 * backend/ev-document-bookmarks.c:
5712 (ev_document_bookmarks_get_child): *
5713 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5714 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5715 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5716 (ev_sidebar_bookmarks_destroy),
5717 (ev_sidebar_bookmarks_class_init),
5718 (ev_sidebar_bookmarks_construct), (stack_data_free),
5719 (do_one_iteration), (populate_bookmarks_idle),
5720 (ev_sidebar_bookmarks_clear_document),
5721 (ev_sidebar_bookmarks_set_document): *
5722 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5723 (ev_sidebar_add_page),
5724 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5725 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5726 it displays both the topics and the page numbers.
5728 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5730 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5732 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5735 2004-12-23 Adam Weinberger <adamw@gnome.org>
5737 * configure.ac: Added en_CA to ALL_LINGUAS.
5739 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5741 * ChangeLog: replace bottom of this ChangeLog (merged history of
5742 ggv and gpdf; where all paths were wrong and most of the files are
5743 not even in this tree) with ChangeLog (from arch) of the shell
5746 2004-12-23 Havoc Pennington <hp@redhat.com>
5748 * shell/ev-window.c: hook up potentially-questionable "find
5749 results status text" feature - something involving the sidebar or
5750 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5751 might be better in the end.
5753 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5754 with corresponding signal when it should be updated
5756 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5758 2004-12-22 Havoc Pennington <hp@redhat.com>
5760 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5761 find stuff on other pages, sort of (only returns one result on
5762 invisible pages, to show they have results; updates full results
5763 for a page when you view it). Currently repaints the current page
5764 every time a new result is found on any page, which isn't so nice.
5766 2004-12-22 Havoc Pennington <hp@redhat.com>
5768 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5769 the document doesn't support find (better ideas?)
5770 (find_bar_search_changed_cb): handle missing document or document
5771 that doesn't support find
5773 * pdf/xpdf/pdf-document.cc: port to implement the new
5776 * backend/ev-document-find.c: create a new interface for searching
5778 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5780 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5782 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5785 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5786 EvPrintJob constructor arguments.
5788 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5789 for documents that can export PostScript (page by page).
5791 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5793 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5794 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5795 (pdf_document_ps_exporter_iface_init:
5796 Implement EvPSExporter.
5798 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5800 2004-12-22 Anders Carlsson <andersca@gnome.org>
5802 * backend/Makefile.am:
5803 * backend/ev-document-thumbnails.c:
5804 (ev_document_thumbnails_get_type),
5805 (ev_document_thumbnails_get_thumbnail):
5806 * backend/ev-document-thumbnails.h:
5807 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5808 (pixbuf_document_thumbnails_get_thumbnail),
5809 (pixbuf_document_document_thumbnails_iface_init):
5810 * shell/Makefile.am:
5811 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5812 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5813 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5814 * shell/ev-sidebar-thumbnails.h:
5815 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5816 (ev_sidebar_set_document):
5817 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5818 (create_shadow), (ev_pixbuf_add_shadow):
5820 Add thumbnail support.
5822 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5824 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5825 (using_postscript_printer): Set up a print dialog for "PostScript
5828 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5831 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5833 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5835 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5836 (ps_document_set_target), (ps_document_get_page_size),
5837 (ps_document_render):
5842 2004-12-22 Christian Rose <menthos@menthos.com>
5844 * configure.ac: Added "sv" to ALL_LINGUAS.
5846 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5848 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5849 document supports bookmarks.
5851 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5853 * ps/ggvutils.c: (ggv_file_readable):
5855 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5856 (gtk_gs_get_postscript):
5860 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5862 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5863 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5864 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5865 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5866 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5867 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5868 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5869 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5870 (gtk_gs_set_antialiasing), (ps_document_load),
5871 (ps_document_render):
5874 Another check point for the ps backend. Now I can get it to show
5877 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5879 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5880 document setting code.
5882 2004-12-22 Anders Carlsson <andersca@gnome.org>
5884 * shell/eggfindbar.c: (entry_activate_callback):
5885 Animate the next button when activate is pressed.
5887 2004-12-22 Anders Carlsson <andersca@gnome.org>
5889 * shell/ev-window.c: (ev_window_cmd_edit_find),
5890 (update_fullscreen_popup), (ev_window_fullscreen),
5891 (ev_window_unfullscreen), (ev_window_state_event_cb),
5892 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5893 Fix bugs in fullscreen code.
5895 2004-12-22 Anders Carlsson <andersca@gnome.org>
5899 * pixbuf/Makefile.am:
5900 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5901 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5902 (pixbuf_document_set_page), (pixbuf_document_get_page),
5903 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5904 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5905 (pixbuf_document_render), (pixbuf_document_begin_find),
5906 (pixbuf_document_end_find), (pixbuf_document_finalize),
5907 (pixbuf_document_class_init),
5908 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5909 * pixbuf/pixbuf-document.h:
5910 * shell/Makefile.am:
5911 * shell/ev-application.c: (ev_application_open):
5912 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5916 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5919 * dvi/dvilib/Makefile.am:
5921 * configure.ac: Auto*ify dvi and dvi/dvilib
5923 * dvi/Makefile: Remove from CVS
5925 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5928 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5930 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5932 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5935 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5936 (gtk_gs_value_adjustment_changed), (compute_size),
5937 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5938 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5939 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5940 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5941 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5942 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5943 (ps_document_load), (ps_document_get_n_pages),
5944 (ps_document_set_page), (ps_document_get_page),
5945 (ps_document_set_target), (ps_document_set_scale),
5946 (ps_document_set_page_offset), (ps_document_get_page_size),
5947 (ps_document_render), (ps_document_begin_find),
5948 (ps_document_end_find), (ps_document_document_iface_init):
5950 * shell/Makefile.am:
5951 * shell/ev-window.c: (ev_window_open):
5953 Some work to integrate gtkgs with EvDocument
5955 2004-12-22 Anders Carlsson <andersca@gnome.org>
5957 * shell/ev-window.c: (update_fullscreen_popup),
5958 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5959 (exit_fullscreen_button_clicked_cb),
5960 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5961 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5962 (ev_window_state_event_cb), (ev_window_init):
5963 Add fullscreen support from Epiphany.
5965 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5967 * data/ev-stock-zoom-fit-width.png: fit-width
5968 stock icon from gpdf.
5970 * shell/ev-stock-icons.[ch]: copied from gpdf.
5972 * shell/main.c: (main): init stock icons.
5974 * shell/ev-window.c: use the fit-width icon.
5976 * data/evince-ui.xml: add zooming toolbar items.
5978 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5981 (ev_view_best_fit), (ev_view_fit_width): because
5982 get_page_size() returns the scaled page size, we
5983 need to calculate the scale factor relative to
5984 the previous scale factor. Should really just
5985 add get_real_page_size().
5987 2004-12-22 Mark McLoughlin <mark@skynet.ie>
5989 * shell/ev-view.[ch]:
5990 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5991 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5994 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5995 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5996 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5999 * pdf/xpdf/pdf-document.cc:
6000 (pdf_document_begin_find),
6001 (pdf_document_end_find): make static.
6003 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6005 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6007 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6008 names to fontconfig patterns.
6009 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6011 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6014 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6030 Import ggv backend. Not hooked up yet.
6032 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6034 * shell/main.c: (load_files), (main): load files
6035 from the command line.
6037 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6039 * configure.ac: don't require bonobo.
6041 * cut-n-paste/recent-files/*: kill bonobo recent
6044 * shell/ev-window.c:
6045 (ev_window_is_empty): upd.
6046 (unable_to_load), (ev_window_open): load backend
6047 based on the mime type.
6049 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6051 * backend/.cvsignore: ignore generated marshalers source.
6053 * shell/main.c (main): this is not epiphany.
6055 2004-12-22 Havoc Pennington <hp@redhat.com>
6057 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6058 (expose_bin_window): draw find highlights
6060 * shell/ev-window.c (find_bar_search_changed_cb): implement
6062 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6063 (pdf_document_end_find): implement this interface
6065 * backend/ev-document.c (ev_document_found): add this to emit
6068 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6070 * data/evince-ui.xml: Add a few more toolbar items.
6072 * shell/ev-window.c: Hook up page navigation toolbar
6075 * shell/ev-view.[ch]: add ev_view_set/get_page and
6076 a page-changed signal.
6078 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6079 Add ev_document_get_page().
6081 * shell/ev-window.c: Sensitize/desensitize navigation
6084 2004-12-21 Havoc Pennington <hp@redhat.com>
6086 * backend/ev-backend-marshal.c,
6087 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6088 marshaler-generator thingy. I'm sure there's a better way to do
6089 this in the modern world.
6091 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6092 end_find methods and "found" signal.
6094 * configure.ac: find glib-genmarshal
6096 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6098 * shell/ev-sidebar.c: Construct an actual sidebar.
6099 * shell/ev-sidebar-bookmarks.[ch]:
6100 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6102 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6104 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6107 * shell/ev-view.c: Track the size from the document.
6109 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6111 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6112 constructor assumes ownership of the string passed in.
6114 * shell/ev-window.c (ev_window_open): Destroy the error
6115 dialog once we've displayed it.
6117 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6119 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6120 a bit, it works! (sort of)
6122 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6123 Move to .cc since we need to use C++ in the implementation.
6125 * shell/dummy.cc: Add a CC file to force evince
6126 to be linked as a C++ program.
6128 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6130 * shell/ev-view.[ch]: Start of content-area widget.
6132 * shell/ev-window.c: Create a EvView, update it
6133 as we change documents.
6135 * shell/Makefile.am shell/ev-marshal.list: Add
6136 generated marshalers.
6138 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6140 * Makefile.am (SUBDIRS): move shell.
6142 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6144 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6145 .a to libtool convenience libraries.
6147 * shell/ev-window.c (ev_window_open): Hard code loading
6150 * backend/ev-document.h: Add a boolean return to load(),
6151 fix GError * to GError **.
6153 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6154 object for a PDF backend EvDocument.
6156 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6158 * dvi/*: New directory with the beginning of a .dvi backend.
6160 2004-12-21 Havoc Pennington <hp@redhat.com>
6162 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6163 previous/next instead of back/forward
6165 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6167 * backend/ev-document.[ch]: Fix a couple of problems so
6170 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6172 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6173 to backend/ directory, rename EvViewer to EvDocument.
6175 2004-12-21 Havoc Pennington <hp@redhat.com>
6177 * shell/ev-window.c: hook up the find bar widget; now we just need
6178 a document to find things in
6180 * shell/eggfindbar.c: a find bar widget
6182 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6184 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6186 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6188 * pdf/**: Import of xpdf code from gpdf.
6190 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6192 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6193 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6194 Fix FreeType includes.
6196 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6197 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6198 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6199 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6200 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6201 Include xpdfconfig.h
6203 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6205 * shell/ev-window.c (ev_window_dispose): dispose can be called
6208 2004-12-21 Havoc Pennington <hp@redhat.com>
6210 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6213 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6214 items; really they should be synced with the strings, etc. from
6215 current gpdf, but just getting the boring typing out of the way
6217 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6220 * shell/ev-application.c: (window_destroy_cb):
6221 * shell/ev-window.c:
6222 * shell/main.c: (main):
6224 Actually show the window...
6226 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6229 * shell/Makefile.am:
6230 * shell/ev-application.c: (ev_application_class_init):
6231 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6235 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6237 Import to gnome cvs.
6239 * Remove copies of gpdf and ggv trees.
6240 * Rip out all the recursive configure code.
6241 * Remove bonobo machinery.
6242 * viewer/*: GInterfaces that backends should/can implement.
6244 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6246 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6249 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6251 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6252 (ev_application_finalize, ev_application_class_init)
6253 (ev_application_init): use GType instance private data for priv.
6255 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6256 (ev_window_finalize, ev_window_class_init)
6257 (ev_window_init): ditto.
6259 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6261 * shell/ev-application.c (ev_application_new_window): make public
6262 (ev_application_show_initial_window): kill.
6264 * shell/ev-application.h: update prototypes.
6266 * shell/main.cc (main): inline ev_application_show_initial_window.
6268 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6270 * shell/ev-application.c (ev_application_new_window): impl.
6271 (ev_application_show_initial_window): use it.
6272 (is_window_empty, ev_application_get_empty_window): returns an
6273 existing empty window or a new one.
6274 (ev_application_open): from ev_window_cmd_file_open.
6276 * shell/ev-application.h: update prototypes
6278 * shell/ev-window.c (ev_window_is_empty): impl.
6279 (ev_window_open): make public.
6280 (ev_window_cmd_file_open): use ev_application_open
6282 * shell/ev-window.h: update prototypes, remove unused.
6284 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6286 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6287 move destroy handler out of here...
6289 * shell/ev-application.c, shell/ev-application.h: ...into this new
6290 class. Also handles initial window creation.
6292 * shell/main.cc (main): use EvApplication to create initial
6295 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6297 * Makefile.am (SUBDIRS): add cut-n-paste
6299 * cut-n-paste/Makefile.am: add
6301 * configure.ac: generate Makefiles in cut-n-paste
6303 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6305 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6306 (ev_window_class_init): install ev_window_dispose.
6308 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6310 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6311 char (gchar looks stupid).
6313 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6315 * po/de.po: updated German translation.
6317 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6319 * configure.ac: add more pkg-config library checks for gnome-vfs,
6322 * gpdf/configure.in: temporarily disable libpaper
6323 checks. Otherwise I'd have to add the checks for the shell, too.
6325 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6327 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6328 and * file filters to the file choose.
6330 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6332 * po/de.po: Updated German translation.
6334 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6336 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6338 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6340 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6342 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6343 (ev_window_init): implement those menuitems.
6345 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6347 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6349 * shell/ev-window.c (ev_window_init): use the toolbar.
6351 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6353 * shell/ev-window.c (ev_window_init): use menu translations
6355 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6357 * configure.ac: add "de" to ALL_LINGUAS.
6359 * po/de.po: add German translation.
6361 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6363 * Makefile.am (SUBDIRS): add po
6365 * configure.ac: check intltool, glib-gettext etc, generate
6368 * po, po/POTFILES.in, po/POTFILES.skip: new.
6370 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6372 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6373 already use (#ifdef ENABLE_NLS)
6375 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6376 pointer indirection thinko.
6378 * shell/main.c: include gi18n.h for bindtextdomain etc.
6380 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6382 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6383 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6384 tooltips for menu items in the statusbar.
6386 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6388 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6389 pkgdatadir drop UIDIR
6391 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6393 * data/evince-ui.xml: Add File->Open menu item
6395 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6396 chooser), hook it up in the ui manager.
6398 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6400 * shell/ev-window.c: fix Help->About tooltip.
6402 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6404 * configure.ac: set CFLAGS for libevprivate.
6406 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6407 definitions, factory etc.
6409 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6411 * shell/Makefile.am: link against libevprivate.a.
6413 * shell/ev-window.c (entries): add stock icon to Help->About.
6415 * shell/main.c (main): init stock icon code.
6417 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6419 * lib/recent-files: egg recent files code
6421 * lib/Makefile.am: add.
6423 * Makefile.am: add lib subdir.
6425 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6426 set CFLAGS for recent-files.
6428 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6430 * configure.ac: disable -ansi and -pedantic gcc flags. They
6431 disable POSIX stuff in stdio.h, but egg-recent uses them.
6433 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6435 * configure.ac: add --disable-deprecated flag (defaults to on in
6438 * shell/Makefile.am (INCLUDES): use it.
6440 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6442 * shell/main.c: add missing #include.
6444 * shell/ev-window.c: fix for pedantic gcc.
6445 (ev_window_cmd_help_about): split license into paragraphs for
6446 translators and pedantic compilers.
6448 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6450 * configure.ac: add more warning flags if compiling with gcc from
6451 cvs (or explicitly requested with --enable-more-warnings).
6453 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6455 * data/evince-ui.xml: add File and File->Close menu.
6457 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6458 (ev_window_destroy): quit after destroy.
6459 (ev_window_class_init): override GtkObject::destroy.
6460 (entries): install close_window callback.
6462 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6464 * Makefile.am (SUBDIRS): add data subdir.
6466 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6467 gtk+ 2.5.0 for GtkAboutDialog.
6469 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6472 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6474 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6476 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6478 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6480 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6482 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6484 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6486 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6488 * shell/*: Added shell directory boilerplate, build it.
6490 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6492 * configure.ac, Makefile.am: Added top-level configure.ac and