1 2005-08-06 Kristian Høgsberg <krh@redhat.com>
3 * backend/ev-selection.c: (ev_selection_render_selection):
4 * backend/ev-selection.h:
6 * shell/ev-jobs.c: (ev_job_render_new):
8 * shell/ev-pixbuf-cache.c: (get_selection_colors),
9 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
10 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
13 Change selection color on focus in and focus out events. Also,
14 poppler now uses GdkColor for specifying the selection colors, so
15 drop some awkward conversion code.
17 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
19 * configure.ac: Added Hebrew translation
21 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
24 * backend/ev-selection.c: (ev_selection_render_selection):
25 * backend/ev-selection.h:
27 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
30 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
31 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
32 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
33 (ev_pixbuf_cache_style_changed),
34 (ev_pixbuf_cache_get_selection_pixbuf),
35 (ev_pixbuf_cache_set_selection_list),
36 (ev_pixbuf_cache_get_selection_list):
37 * shell/ev-pixbuf-cache.h:
38 * shell/ev-utils.c: (ev_print_region_contents):
40 * shell/ev-view.c: (ev_view_queue_draw_page),
41 (selection_update_idle_cb), (ev_view_motion_notify_event),
42 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
43 (setup_caches), (ev_view_find_next), (merge_selection_region),
45 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
47 Clean up selection to be much smoother!
49 2005-08-05 Kristian Høgsberg <krh@redhat.com>
51 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
52 to poppler_page_render_selection().
54 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
56 * ps/ps-document.c: (save_page_list): Use
57 unzipped document when printing. Thanks to
58 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
61 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
63 * shell/ev-window.c: (update_action_sensitivity):
65 Disable print and save respect to lockdown gconf keys. Fix
68 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
71 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
72 (write_to_temp_file), (ev_file_set_contents):
74 * shell/ev-window.c: (save_print_config_to_file):
76 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
79 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
81 * shell/ev-window.c: (load_print_config_from_file),
82 (save_print_config_to_file), (ev_window_print_range):
84 Persist the print settings. Fixes bug #311578.
86 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
88 * djvu/djvu-document.c: (djvu_document_get_page_size),
89 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
90 (djvu_document_thumbnails_get_thumbnail):
91 * dvi/dvi-document.c: (dvi_document_get_page_size),
92 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
93 (dvi_document_thumbnails_get_dimensions),
94 (dvi_document_thumbnails_get_thumbnail):
95 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
96 (pixbuf_document_render_pixbuf),
97 (pixbuf_document_document_iface_init),
98 (pixbuf_document_thumbnails_get_thumbnail):
100 Update backends to make them build with new rotation system.
102 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
104 * help/C/figures/evince_start_window.png:
106 Update documentation image from Luca Ferretti <elle.uca@libero.it>
108 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
110 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
111 * shell/ev-pixbuf-cache.h:
112 * shell/ev-sidebar-thumbnails.c:
113 (ev_sidebar_thumbnails_get_property), (add_range),
114 (adjustment_changed_cb):
115 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
116 pixbuf cache. Make thumbnailing work again. Also, fix bug where
117 we were thumbnailing the entire docment on startup, slowing us
120 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
122 * shell/ev-page-cache.c: (ev_page_cache_new):
123 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
126 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
128 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
129 (ev_view_rotate_left):
131 Account rotation in doc_rect_to_view_rect.
132 Ensure rotation doesnt go out of bounds.
134 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
136 * shell/ev-page-cache.c: (ev_page_cache_get_size):
138 Correct and cleanup w/h swapping
140 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
142 * backend/ev-document-thumbnails.c:
143 (ev_document_thumbnails_get_thumbnail):
144 * backend/ev-document-thumbnails.h:
145 * backend/ev-document.c:
146 * backend/ev-document.h:
147 * backend/ev-render-context.c: (ev_render_context_new),
148 (ev_render_context_set_rotation):
149 * backend/ev-render-context.h:
151 * ps/ps-document.c: (ps_document_document_iface_init):
152 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
154 * shell/ev-page-cache.c: (build_height_to_page),
155 (ev_page_cache_new), (ev_page_cache_get_size),
156 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
157 (ev_page_cache_get_height_to_page):
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 (ev_pixbuf_cache_get_selection_pixbuf):
163 * shell/ev-pixbuf-cache.h:
164 * shell/ev-print-job.c: (idle_print_handler):
165 * shell/ev-sidebar-thumbnails.c: (add_range):
166 * shell/ev-view.c: (view_update_range_and_current_page),
167 (get_page_y_offset), (get_page_extents),
168 (ev_view_size_request_continuous_dual_page),
169 (ev_view_size_request_continuous),
170 (ev_view_size_request_dual_page),
171 (ev_view_size_request_single_page), (draw_one_page),
172 (ev_view_set_rotation), (ev_view_rotate_right),
173 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
174 (ev_view_zoom_for_size_continuous_and_dual_page),
175 (ev_view_zoom_for_size_continuous),
176 (ev_view_zoom_for_size_dual_page),
177 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
178 (ev_view_select_all):
179 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
180 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
181 (tiff_document_document_iface_init),
182 (tiff_document_thumbnails_get_thumbnail):
184 Use rotation rather than orientation. It's easier and enough
187 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
189 * shell/ev-page-cache.c: (build_height_to_page),
190 (ev_page_cache_new), (ev_page_cache_get_size),
191 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
192 (ev_page_cache_get_height_to_page):
193 * shell/ev-page-cache.h:
194 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
195 (ev_view_size_request_continuous_dual_page),
196 (ev_view_size_request_continuous),
197 (ev_view_zoom_for_size_continuous_and_dual_page),
198 (ev_view_zoom_for_size_continuous):
200 Make the page cache aware of page orientation.
202 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
204 * backend/ev-document-thumbnails.c:
205 (ev_document_thumbnails_get_thumbnail):
206 * backend/ev-document-thumbnails.h:
207 * backend/ev-document.c:
208 * backend/ev-document.h:
209 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
210 * backend/ev-ps-exporter.h:
212 * ps/ps-document.c: (ps_document_document_iface_init),
213 (ps_document_ps_export_do_page):
214 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
216 * shell/ev-page-cache.c: (ev_page_cache_get_size),
218 * shell/ev-page-cache.h:
219 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
220 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
221 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
222 * shell/ev-pixbuf-cache.h:
223 * shell/ev-print-job.c: (idle_print_handler):
224 * shell/ev-sidebar-thumbnails.c: (add_range):
225 * shell/ev-view.c: (view_update_range_and_current_page),
226 (get_page_extents), (ev_view_size_request_dual_page),
227 (ev_view_size_request_single_page), (draw_one_page),
228 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
229 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
230 (ev_view_zoom_for_size_dual_page),
231 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
232 (ev_view_select_all):
233 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
234 * tiff/tiff-document.c: (tiff_document_get_page_size),
235 (tiff_document_get_orientation), (rotate_pixbuf),
236 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
237 (tiff_document_thumbnails_get_thumbnail),
238 (tiff_document_ps_export_do_page), (tiff_document_init):
240 Really make use of the orientation bit of the render context.
241 Use the render context in a few more places in the backend API.
242 This regress orientation, but now it's done right. Will try to
245 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
247 * shell/ev-view.c: (ensure_rectangle_is_visible):
249 Patch by Nickolay V. Shmyrev to fix find flickering
251 2005-07-27 Martin Kretzschmar <martink@gnome.org>
253 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
254 duplex parameters to ::begin.
256 * tiff/tiff-document.c (tiff_document_ps_export_begin):
257 * shell/ev-print-job.c (idle_print_handler):
258 * ps/ps-document.c (ps_document_ps_export_begin):
259 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
260 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
261 implementations. Poppler backend needs poppler cvs. Rest has
264 2005-07-25 Martin Kretzschmar <martink@gnome.org>
266 * shell/ev-window.c (using_pdf_printer): new function.
267 (ev_window_print_range): print a less techy message if someone
268 tries to print to PDF.
270 2005-07-25 Martin Kretzschmar <martink@gnome.org>
272 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
273 from "unknown font" string. Bug #311431
275 2005-07-24 Martin Kretzschmar <martink@gnome.org>
277 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
279 2005-07-24 Martin Kretzschmar <martink@gnome.org>
283 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
284 name for PopplerFontTypes
285 (pdf_document_fonts_fill_model): add font type to the detail column
287 * backend/ev-document-fonts.h: added
288 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
290 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
291 font name and font details, add a little markup.
292 (ev_properties_fonts_init): use the new cell data func, specify ypad
293 property for the cell renderer.
294 (ev_properties_fonts_set_document): add the details column.
296 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
298 * configure.ac: Added "pl" to ALL_LINGUAS.
300 2005-07-24 Danilo Šegan <danilo@gnome.org>
302 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
304 2005-07-23 Tommi Vainikainen <thv@iki.fi>
306 * help/ChangeLog: Started this for translations of manual.
307 * configure.ac, autogen.sh, .cvsignore: Migrated to
308 gnome-doc-utils. Patch in bug #311222.
310 2005-07-22 Martin Kretzschmar <martink@gnome.org>
312 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
313 #ifdef this away to fix an unused-function warning.
315 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
317 * configure.ac: Added 'gl' to ALL_LINGUAS.
319 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
321 * configure.ac: Added ne in ALL_LINGUAS
323 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
325 * shell/ev-view.c: (ev_view_leave_notify_event):
327 Clear status message when pointer leaves view. Fix for bug
330 2005-07-20 Ankit Patel <ankit644@yahoo.com>
332 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
334 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
336 * shell/ev-view.c: (ev_view_leave_notify_event),
337 (ev_view_class_init):
339 Set cursor to normal then leaving view.
341 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
345 Fix required djvulibre version.
347 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
349 *configure.ac: Hindi (hi) language added
351 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
353 *configure.ac: Punjabi (pa) Language added
355 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
357 * data/evince-ui.xml, shell/ev-window.c:
359 Add keypad accelerators for zooming. Fix for bug 308128.
361 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
364 * backend/Makefile.am:
365 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
367 * shell/ev-document-types.c: (ev_document_types_add_filters):
369 Allow to enable/disable the pixbuf backend.
370 Default to off for now. If we want it enabled we should
371 really put mime types in the desktop, implement properties etc.
373 * properties/evince-properties.c:
375 Initialize error to NULL.
376 Check error is not NULL before freeing.
378 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
382 Use F5 as presentation accell
384 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
386 * shell/ev-window.c: (update_chrome_visibility),
387 (ev_window_create_fullscreen_popup), (ev_window_init):
389 Do not leak the fullscreen toolbar
391 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
393 * shell/ev-window.c: (view_actions_focus_in_cb),
394 (view_actions_focus_out_cb):
396 These has a return value! Fix totally random focus
397 issues we was seeing.
399 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
401 * shell/main.c: (load_files_remote):
403 Allow open more than one file
405 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
407 * shell/main.c: (load_files_remote):
409 Fix for dbus 0.33. bug #309975
411 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
413 * properties/ev-properties-main.c: (ev_properties_get_pages):
415 Actually return NULL for types we dont support
417 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
423 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
425 * backend/ev-document-factory.c:
426 (ev_document_factory_get_document):
428 Do not try to create the object if type
431 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
433 * ps/ps-document.c: (ps_document_dispose),
434 (ps_async_renderer_render_pixbuf):
437 Do not leak the target window
439 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
441 * shell/ev-application.c: (ev_application_init):
443 Let tbe check file existence for us.
444 Add a comment about eggrecent mime filter.
446 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
448 * data/evince-ui.xml:
449 * shell/ev-application.c: (ev_application_shutdown),
450 (ev_application_init), (ev_application_get_toolbars_model),
451 (ev_application_get_recent_model),
452 (ev_application_save_toolbars_model):
453 * shell/ev-application.h:
454 * shell/ev-window.c: (ev_window_add_recent),
455 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
456 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
459 Use common toolbar and recent models for all windows.
460 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
462 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
464 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
465 successfully check for gtk_icon_view_get_visible_range.
467 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
472 Fix djvu and dvi backend build.
474 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
476 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
477 (new_separator_pixbuf):
481 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
483 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
485 HIGification of toolbar editor dialogue.
487 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
492 Ever build metadata manager since it's just
493 disabled at runtime now.
495 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
497 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
498 (ev_metadata_manager_get), (ev_metadata_manager_set):
499 * shell/ev-metadata-manager.h:
501 Add an _init functions that enabled metadata management
504 * shell/ev-window.c: (page_changed_cb),
505 (setup_document_from_metadata), (ev_window_setup_document),
506 (setup_view_from_metadata), (ev_window_open_uri),
507 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
508 (ev_window_run_presentation), (ev_window_stop_presentation),
509 (save_sizing_mode), (ev_window_zoom_changed_cb),
510 (ev_window_continuous_changed_cb),
511 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
512 (window_configure_event_cb):
514 Remove all ugly metadata define since we deal with it
517 * shell/main.c: (load_files_remote), (main):
519 Add support for dbus cvs head. Hopefully didnt break one
520 of the other versions now!
522 If we dont get a response from the dbus server just
523 give up with it and not enable metadata.
525 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
528 * backend/Makefile.am:
530 * cut-n-paste/recent-files/Makefile.am:
531 * cut-n-paste/toolbar-editor/Makefile.am:
532 * cut-n-paste/zoom-control/Makefile.am:
535 * pixbuf/Makefile.am:
536 * properties/Makefile.am:
539 * thumbnailer/Makefile.am:
542 Make frontends depend on just libev.
543 Rework and group CFLAGS/LIBS definitions.
546 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
550 do not unnecessarily save zoom
553 * lib/ev-file-helpers.c: (ev_dot_dir):
559 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
563 Remove unnecessary dependencies
565 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
567 * properties/Makefile.am:
568 * thumbnailer/Makefile.am:
571 Some more cleanups. Was really necessary
572 but I probably introduced bugs, feel free
575 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
577 * backend/Makefile.am:
579 * cut-n-paste/recent-files/Makefile.am:
580 * cut-n-paste/toolbar-editor/Makefile.am:
581 * cut-n-paste/zoom-control/Makefile.am:
584 * pixbuf/Makefile.am:
585 * properties/Makefile.am:
588 * thumbnailer/Makefile.am:
591 Use gnome-common macros when possible.
592 Cleanup dependencies.
593 Actually disable deprecated where possible.
595 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
598 * backend/Makefile.am:
599 * properties/Makefile.am:
601 * thumbnailer/Makefile.am:
603 This should solve the circular dep without
606 * shell/ev-window.c: (setup_view_from_metadata):
608 Never restore window size/position when the
609 window is already visible.
611 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
613 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
615 Return a boolean from timeout func. Fix ported from gedit.
617 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
619 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
621 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
623 * shell/ev-document-types.c: set "All Documents" as default filter in
626 2005-07-06 Martin Kretzschmar <martink@gnome.org>
628 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
629 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
630 (ev_metadata_manager_set_boolean): fix value/val thinko.
632 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
634 * shell/ev-window.c: (setup_view_from_metadata),
635 (window_state_event_cb), (window_configure_event_cb),
638 Remember window position and maximized state
640 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
644 Fix DBUS configure checks.
646 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
647 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
648 (ev_metadata_manager_set_boolean):
652 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
653 (ev_window_stop_fullscreen), (ev_window_run_presentation),
654 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
655 (ev_window_continuous_changed_cb),
656 (ev_window_dual_mode_changed_cb), (ev_window_new):
658 Fix the build without DBUS.
660 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
662 * shell/ev-metadata-manager.c: (parse_value), (save_values),
663 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
664 (ev_metadata_manager_set_string),
665 (ev_metadata_manager_set_boolean):
666 * shell/ev-metadata-manager.h:
668 Add support for some more types
670 * shell/ev-view.c: (scroll_to_current_page),
671 (ev_view_get_continuous), (ev_view_set_continuous),
672 (ev_view_get_dual_page):
674 * shell/ev-window.c: (page_changed_cb),
675 (setup_document_from_metadata), (ev_window_setup_document),
676 (setup_view_from_metadata), (ev_window_open_uri),
677 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
678 (ev_window_run_presentation), (ev_window_stop_presentation),
679 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
680 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
681 (ev_window_update_dual_page_action),
682 (ev_window_continuous_changed_cb),
683 (ev_window_dual_mode_changed_cb), (ev_window_init):
685 Remember a bunch of view/document properties. Prolly some
686 are still missing but it's getting interesting.
688 2005-07-05 Martin Kretzschmar <martink@gnome.org>
690 * configure.ac: check if dbus-binding-tool is installed. Not the
691 case on current Ubuntu breezy, it seems.
693 2005-07-05 Luca Ferretti <elle.uca@libero.it>
695 * data/evince.desktop.in.in:
697 Allow open uri lists and add TryExec field.
699 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
703 Enable dbus when available, do not require a configure
706 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
710 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
713 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
714 Marco Pesenti Gritti <mpg@redhat.com>
716 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
718 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
719 functions to the format required by dbus
721 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
722 errors. Use the RPC parameters in the expected way
724 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
727 * properties/Makefile.am:
728 * properties/ev-properties-main.c: (ev_properties_get_pages):
730 Support all mime types
733 * thumbnailer/Makefile.am:
734 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
735 (evince_thumbnail_pngenc_get):
737 Use the document factory
739 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
741 * backend/Makefile.am:
742 * backend/ev-document-factory.c:
743 (mime_type_supported_by_gdk_pixbuf),
744 (ev_document_type_get_from_mime),
745 (ev_document_factory_get_document),
746 (ev_document_factory_get_backend),
747 (ev_document_factory_get_mime_types),
748 (ev_document_factory_get_all_mime_types):
749 * backend/ev-document-factory.h:
751 * shell/ev-document-types.c: (get_document_from_uri),
752 (ev_document_types_get_document),
753 (file_filter_add_mime_list_and_free),
754 (ev_document_types_add_filters):
755 * shell/ev-document-types.h:
756 * shell/ev-job-xfer.c: (ev_job_xfer_run):
757 * shell/ev-properties-dialog.c:
758 (ev_properties_dialog_set_document):
759 * shell/ev-window.c: (ev_window_cmd_file_open),
760 (ev_window_cmd_save_as):
761 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
763 Rework document types managing to avoid code duplication
764 and actually abstract from backend implementations.
765 Also provide a minimal factory api that can be used by
766 thumbnailer/properties.
768 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
770 * properties/ev-properties-view.c: (ev_properties_view_set_info):
772 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
775 2005-07-04 Matthew S. Wilson <msw@rpath.com>
777 * shell/ev-properties-dialog.c
778 (ev_properties_dialog_set_document): only call
779 ev_properties_fonts_set_document() if the document implements the
782 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
785 * properties/Makefile.am:
786 * properties/ev-properties-view.c:
787 (ev_properties_view_register_type):
788 * properties/ev-properties-view.h:
789 * properties/ev-properties-main.h:
791 Implement nautilus plugin for properties.
792 Works only for pdf atm, I need to rework the
793 document types stuff to get this to work
796 2005-07-04 Martin Kretzschmar <martink@gnome.org>
798 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
799 (ev_properties_fonts_set_document): use
800 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
802 2005-07-04 Matthew S. Wilson <msw@rpath.com>
804 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
806 (PlaceImage, tiff2ps_process_page): use
807 g_ascii_dtostr to convert floats to strings in a locale-safe way.
810 2005-07-04 Martin Kretzschmar <martink@gnome.org>
812 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
813 (main): to call gnome_authentication_manager_init. Should fix
816 * configure.ac: that requires libgnomeui 2.6.0.
818 2005-07-04 Matthew S. Wilson <msw@rpath.com>
820 * tiff/tiff-document.c (tiff_document_ps_export_begin)
821 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
822 use the new tiff2ps interfaces
824 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
825 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
827 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
828 structure instead of global variables. Remove use of static
829 variables in functions.
831 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
833 * shell/ev-page-action.c: unref the completion after setting it to the
836 2005-07-04 Matthew S. Wilson <msw@rpath.com>
838 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
841 2005-07-04 Matthew S. Wilson <msw@rpath.com>
843 * shell/ev-window.c (update_action_sensitivity): disable
844 File->Print if the document does not implement the ps exporter
847 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
851 * data/evince-properties.glade:
852 * properties/.cvsignore:
853 * properties/Makefile.am:
854 * properties/ev-properties-view.c: (ev_properties_view_dispose),
855 (ev_properties_view_class_init), (ev_properties_view_format_date),
856 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
857 (ev_properties_view_init), (ev_properties_view_new):
858 * properties/ev-properties-view.h:
860 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
861 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
862 (ev_properties_dialog_new):
863 * shell/ev-properties-dialog.h:
864 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
865 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
866 (update_progress_label), (job_fonts_finished_cb),
867 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
868 * shell/ev-properties-fonts.h:
869 * shell/ev-properties.c:
870 * shell/ev-properties.h:
871 * shell/ev-window.c: (ev_window_setup_document),
872 (ev_window_cmd_file_properties):
874 Split the properties pages in two different objects, depend
875 only on the backend where possible, use widgets instead
876 of gobject for the glade part, reimplement the dialog
878 I need this to implement nautilus properties page.
880 2005-07-03 Matthew S. Wilson <msw@rpath.com>
882 * tiff/tiff-document.c (tiff_document_ps_export_begin)
883 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
884 (tiff_document_document_ps_exporter_iface_init): implement the ps
885 exporter interface for tiff documents
887 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
888 libtiff to implement TIFF postscript export
890 * tiff/tiff2ps.h: added a header file for external tiff2ps
893 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
896 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
898 * shell/ev-view.c: (scroll_to_current_page),
899 (ev_view_set_fullscreen), (ev_view_set_presentation):
901 Scroll to current page when exit from presentation
903 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
905 * shell/ev-window.c: (update_document_mode),
906 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
907 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
908 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
910 Exit from fullscreen mode when switch to presentation. Fix for
913 2005-07-02 Matthew S. Wilson <msw@rpath.com>
915 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
916 return NULL if the document does not implement the selection
919 2005-07-02 Matthew S. Wilson <msw@rpath.com>
921 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
922 reported height by using the resolution aspect ratio
923 (tiff_document_render_pixbuf): scale the pixbuf using the
924 resolution aspect ratio
926 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
930 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
931 <kiltedaco@gmail.com>
933 * djvu/djvu-document.c: (djvu_document_get_orientation),
934 (djvu_document_set_orientation), (djvu_document_get_page_size),
935 (rotate_pixbuf), (djvu_document_render_pixbuf),
936 (djvu_document_document_iface_init):
937 * dvi/dvi-document.c: (dvi_document_get_orientation),
938 (dvi_document_set_orientation), (dvi_document_get_page_size),
939 (rotate_pixbuf), (dvi_document_render_pixbuf),
940 (dvi_document_document_iface_init):
942 Dvi and djvu backends are ported to new API
944 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
946 * backend/ev-selection.c: (ev_selection_get_selection_region),
947 (ev_selection_get_selection_map):
948 * backend/ev-selection.h:
950 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
952 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
953 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
954 (ev_pixbuf_cache_get_text_mapping):
955 * shell/ev-pixbuf-cache.h:
956 * shell/ev-view.c: (location_in_text),
957 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
958 support to EvView. Now we can see where we can select! Sweet!
960 2005-06-30 Kristian Høgsberg <krh@redhat.com>
962 * shell/ev-view.c (ev_view_button_press_event): Fix
963 event->y + view->scroll_x typo.
965 2005-06-30 Kristian Høgsberg <krh@redhat.com>
967 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
968 sub-GdkPixbuf instead of passing dest_x and dest_y.
970 * shell/ev-view.c: (view_point_to_doc_point),
971 (view_rect_to_doc_rect), (ev_view_button_press_event),
972 (ev_view_motion_notify_event), (compute_new_selection_rect),
973 (gdk_rectangle_point_in), (compute_new_selection_text),
974 (compute_selections): Update selection code to keep the selection
975 around as two points and not as a normalized rectangle, and fix
976 page level selection in two-column mode.
978 2005-06-30 Alex Duggan <aldug@astrolinux.com>
980 * shell/ev-window.c: (window_configure_event_cb):
984 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
990 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
993 * shell/ev-metadata-manager.c: (item_free),
994 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
995 (parse_value), (parseItem), (load_values),
996 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
997 (save_values), (save_item), (get_oldest), (resize_items),
998 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
999 * shell/ev-metadata-manager.h:
1001 Metadata manager from gedit but modified to use GValue, so that
1002 we dont need to keep converting from strings.
1006 ENABLE_METADATA conditional, on when dbus is on
1008 * shell/ev-application.c: (ev_application_open_uri):
1010 Show the window after load so that we can initialize
1011 window size before it's showed.
1013 * shell/ev-window.c: (ev_window_setup_from_metadata),
1014 (ev_window_open_uri), (window_configure_event_cb),
1017 Save and load metadata information about window size.
1018 Not yet keeping states in account.
1020 * shell/main.c: (main):
1022 Shutdown metadata manager.
1024 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1026 * shell/ev-application-service.xml:
1028 * shell/Makefile.am:
1029 * shell/ev-application.c:
1030 * shell/ev-application.h:
1031 * shell/ev-window.c:
1032 * shell/ev-window.h:
1035 Add an optional dbus interface (--enable-dbus).
1036 Rework application code, mainly to be easier to
1038 Do not open multiple windows with the same document,
1041 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1043 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1044 pixbuf iff it exists.
1046 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1049 * backend/ev-render-context.[ch]:
1050 * backend/ev-selection.[ch]:
1052 Massive changes. We now support text selection of pdfs, and not
1053 just rectangular selection. This is pretty broken still, but I
1054 want to get something into CVS.
1056 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1058 * pdf/ev-poppler.cc:
1060 Fix for Bug 309080: crash on window close.
1062 * shell/ev-page-action.c: (page_changed_cb):
1064 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1065 jensgr@gmx.net (Jens Granseuer).
1067 2005-06-25 Marcel Telka <marcel@telka.sk>
1069 * configure.in (ALL_LINGUAS): Added sk.
1071 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1073 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1076 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1083 * cut-n-paste/recent-files/Makefile.am:
1087 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1089 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1090 (pixbuf_document_set_orientation), (rotate_pixbuf),
1091 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1092 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1094 Implement rotation and cleanup the code a bit.
1096 * tiff/tiff-document.c: (tiff_document_get_page_size),
1097 (tiff_document_get_orientation), (tiff_document_set_orientation),
1098 (rotate_pixbuf), (tiff_document_render_pixbuf),
1099 (tiff_document_document_iface_init), (tiff_document_init):
1101 Implement rotation. Was the quicker solution for the release
1102 but we really need to share this code in the shell.
1104 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1106 * pdf/ev-poppler.cc:
1108 Enable rotation, require poppler cvs. Fix a leak.
1110 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1112 * shell/ev-window.c: (update_action_sensitivity):
1114 Make properties unsensitive if document backend doesn't provide
1117 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1119 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1120 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1121 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1122 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1123 (bitmap_flip_rotate_counter_clockwise):
1124 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1125 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1127 * dvi/mdvi-lib/common.h:
1128 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1129 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1130 (opendvi), (mdvi_reload), (mdvi_init_context),
1131 (mdvi_destroy_context), (mdvi_dopage), (special):
1132 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1133 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1134 (file_hash_free), (register_encoding), (parse_spec),
1135 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1136 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1137 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1138 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1139 (mdvi_register_font_type), (mdvi_unregister_font_type),
1140 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1141 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1142 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1143 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1144 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1145 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1146 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1147 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1148 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1149 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1150 (mdvi_unregister_special), (mdvi_flush_specials):
1151 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1153 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1154 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1155 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1156 (free_font_metrics), (flush_font_metrics):
1157 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1159 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1160 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1161 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1162 (dstring_insert), (dstring_new), (dstring_reset):
1163 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1165 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1166 avoid conflict with libtool on FC4
1168 * shell/ev-window.c: (ev_window_cmd_help_about):
1170 Update copyright year. Fix for bug 308828.
1172 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1174 * shell/ev-view.c: (add_scroll_binding_keypad),
1175 (ev_view_binding_activated), (ev_view_class_init),
1176 (on_adjustment_value_changed):
1178 Bug 170874: Arrow keys switch pages in presentation mode
1180 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1182 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1184 Fix for Bug 308265: Sidebar dissappears coming out of
1187 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1189 * shell/ev-application.c: (ev_application_open):
1190 * shell/ev-document-types.c: (ev_document_types_add_filters),
1191 (ev_document_types_add_filters_for_type):
1192 * shell/ev-document-types.h:
1193 * shell/ev-window.c: (ev_window_cmd_save_as):
1195 Suggest basename as template when saving, provide filters
1196 for save dialog. It's bug 308402
1198 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1200 * pdf/ev-poppler.cc:
1201 * shell/ev-sidebar-links.c: (job_finished_callback):
1202 * shell/ev-view.c: (update_find_status_message):
1206 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1208 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1209 (egg_recent_view_uimanager_set_list):
1211 Fix buglet in !show_numbers case.
1213 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1215 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1216 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1218 Use pango ellipsisation.
1220 * pdf/ev-poppler.cc:
1222 Fix refcount leak, from nsh.
1224 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1226 * cut-n-paste/recent-files/Makefile.am:
1227 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1228 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1230 Removed EggRecentViewGtk
1232 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1233 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1234 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1235 (ev_window_setup_recent):
1237 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1240 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1242 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1243 (egg_recent_view_gtk_finalize):
1247 * cut-n-paste/toolbar-editor/Makefile.am:
1249 Fix location of cursor icon.
1251 * pdf/ev-poppler.cc:
1252 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1253 (display_completion_text), (match_completion):
1254 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1255 (selection_changed_callback), (create_loading_model),
1256 (print_section_cb), (links_page_num_func),
1257 (update_page_callback_foreach):
1258 * shell/ev-window.c: (ev_window_dispose):
1260 Small memory fixes. Links model now store objects instead
1261 of pointers to improve memory management.
1263 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1265 * shell/ev-window.c: (zoom_control_changed_cb):
1267 Fix update of zoom control (bug 308268).
1269 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1271 * shell/ev-properties.c (set_property): escape the text correctly.
1272 Handles non-UTF-8 properties and escaped properties. Also, sets
1273 the text to "<i>None</i>" if the property isn't set.
1275 * data/evince-properties.glade: Change the label to be ellipsized,
1276 and give it a minimum size.
1278 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1280 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1281 * shell/ev-sidebar-links.c: (create_loading_model):
1282 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1283 * shell/ev-view.c: (ev_view_set_document):
1284 * shell/ev-window.c: (ev_window_dispose):
1286 Various small fixes, mostly memory leaks. Thanks to valgrind.
1288 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1290 * ps/ps-document.c: remove the locale.h include again ;-). And
1291 kill the (bogus) setlocale/savelocale business.
1293 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1297 Include locale.h to fix build
1299 * shell/ev-sidebar.c:
1301 Remove unnecessary includes
1303 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1305 * dvi/dvi-document.c: (dvi_document_load):
1306 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1309 Check for incorrect dvi files. Fix parsing dvi on AMD64
1310 platform. Thanks to tester@tester.ca (Olivier Crete).
1312 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1314 * shell/ev-page-action.c: (match_selected_cb),
1315 (display_completion_text), (match_completion), (update_model):
1316 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1317 (expand_open_links):
1318 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1319 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1320 (ev_sidebar_set_document):
1321 * shell/ev-window.c: (ev_window_xfer_job_cb),
1322 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1324 Fixed lot's of memory leaks, for example, memory leak on reload,
1325 described in bug 307793.
1327 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1329 * pdf/ev-poppler.cc:
1330 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1331 (update_visible_range), (adjustment_changed_cb),
1332 (ev_sidebar_thumbnails_fill_model),
1333 (ev_sidebar_thumbnails_refresh),
1334 (ev_sidebar_tree_selection_changed),
1335 (ev_sidebar_icon_selection_changed),
1336 (ev_sidebar_thumbnails_use_icon_view),
1337 (ev_sidebar_thumbnails_set_document):
1338 * shell/ev-sidebar-thumbnails.h:
1339 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1340 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1342 Refresh thumbnails when changing orientation. Not fully
1343 working yet becuase of a sidebar bug.
1345 Set page orientation to poppler page everywhere. This sucks
1346 really need to fix poppler.
1348 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1350 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1351 (egg_recent_view_gtk_new_menu_item),
1352 (egg_recent_view_gtk_set_property),
1353 (egg_recent_view_gtk_get_property),
1354 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1355 (egg_recent_view_gtk_set_tooltip_func),
1356 (egg_recent_view_gtk_set_label_width),
1357 (egg_recent_view_gtk_get_label_width):
1358 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1360 Sync with libegg (ellipsize labels)
1362 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1364 * data/evince-ui.xml:
1365 * shell/ev-window.c: (ev_window_cmd_go_forward),
1366 (ev_window_cmd_go_backward):
1368 Shift + PageUp moves 10 Pages. Fix for 306125
1370 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1372 * pdf/ev-poppler.cc:
1374 Add a flag to check if orientation has been overriden
1376 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1378 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1381 * ps/ps.h: add creator field to document.
1383 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1386 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1388 * data/evince-properties.glade:
1389 * shell/ev-properties.c: (ev_properties_set_document):
1391 s/PDF Version/Format
1393 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1395 * shell/ev-properties.c: (ev_properties_set_document):
1397 Remove unnecessary translations
1399 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1401 * cut-n-paste/toolbar-editor/Makefile.am:
1403 Correct library name
1405 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1408 * cut-n-paste/recent-files/egg-recent-model.c:
1409 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1410 (egg_recent_model_unlock_file):
1411 * cut-n-paste/recent-files/egg-recent-util.c:
1412 (egg_recent_util_get_unique_id):
1413 * cut-n-paste/recent-files/update-from-egg.sh:
1414 * cut-n-paste/toolbar-editor/Makefile.am:
1415 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1416 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1417 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1418 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1419 (egg_toolbars_model_get_type):
1420 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1422 Better makefile for toolbar editor and update everything
1425 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1427 * shell/ev-window.c: (update_document_mode):
1429 Prefer presentation mode when the document
1432 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1434 * data/evince-ui.xml:
1435 * shell/ev-window.c:
1437 Add control-equal for zooming
1439 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1441 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1443 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1445 * backend/ev-document.c: (ev_document_get_orientation):
1446 * backend/ev-document.h:
1447 * pdf/ev-poppler.cc:
1448 * ps/ps-document.c: (ps_document_get_orientation),
1449 (ps_document_set_orientation), (ps_document_document_iface_init):
1451 Add a get_orientation api. Improve set_orientation.
1453 * data/evince-ui.xml:
1454 * shell/ev-view.c: (ev_view_set_orientation),
1455 (ev_view_rotate_right), (ev_view_rotate_left):
1457 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1458 (ev_window_cmd_edit_rotate_right):
1460 Better ui for changing document orientation
1462 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1464 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1465 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1466 * shell/ev-sidebar-links.h:
1467 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1468 (ev_sidebar_page_iface_init):
1469 * shell/ev-sidebar-page.h:
1470 * shell/ev-sidebar-thumbnails.c:
1471 (ev_sidebar_thumbnails_get_property),
1472 (ev_sidebar_thumbnails_class_init),
1473 (ev_sidebar_thumbnails_set_document):
1474 * shell/ev-sidebar-thumbnails.h:
1475 * shell/ev-view.c: (ev_view_motion_notify_event):
1476 * shell/ev-window.c: (update_chrome_visibility),
1477 (ev_window_cmd_focus_page_selector),
1478 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1479 (sidebar_page_main_widget_update_cb), (ev_window_init):
1481 Autoraise toolbar on GoToPage binding and fix bindings in
1482 EvSidebarThumbnails page.
1484 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1486 * shell/ev-properties.c: (update_progress_label):
1488 Hide the progress label when finished; bug #307697.
1490 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1492 * pdf/ev-poppler.cc:
1494 Enable is_open for links, you will need poppler cvs
1496 * shell/ev-properties.c: (job_fonts_finished_cb):
1498 Get a lock on the document when filling the tree view
1500 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1502 * backend/ev-document-links.h:
1503 * pdf/ev-poppler.cc:
1504 * shell/ev-sidebar-links.c: (create_loading_model),
1505 (expand_open_links), (job_finished_callback):
1507 Expand links when specified by the document.
1508 Depend on a poppler api (defined out for now)
1510 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1512 * shell/ev-properties.c: (ev_properties_dispose),
1513 (ev_properties_class_init), (dialog_destroy_cb),
1514 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1515 (ev_properties_set_document), (ev_properties_new),
1516 (ev_properties_show):
1517 * shell/ev-properties.h:
1519 Make it an object, cleanup the code, api to show it as transient
1520 and to set the document.
1522 * shell/ev-window.c: (ev_window_setup_document),
1523 (ev_window_cmd_file_properties):
1525 Adapt to EvProperties changes, do not show multiple
1526 times, update it when document changes.
1528 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1531 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1532 (ps_document_set_orientation), (ps_document_document_iface_init):
1535 Implement orientation here too
1537 * shell/ev-properties.c: (ev_properties_new):
1538 * data/evince-properties.glade:
1540 Hide the fonts page for backends that doesnt
1543 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1545 * backend/ev-document.c: (ev_document_set_orientation):
1546 * backend/ev-document.h:
1547 * pdf/ev-poppler.cc:
1549 Add orientation api. Currently poppler api is not optimal,
1550 we need to set orientation every time we _get a page.
1551 I will try to fix that at some point.
1553 * data/evince-ui.xml:
1554 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1555 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1557 Add orientation menu items
1559 * shell/ev-page-cache.c: (ev_page_cache_clear):
1560 * shell/ev-page-cache.h:
1562 Add api to clear the cache
1564 * shell/ev-view.c: (setup_caches), (clear_caches),
1565 (ev_view_set_document), (ev_view_zoom_out),
1566 (ev_view_set_orientation):
1569 Implement orientation changing
1571 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1573 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1574 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1575 * backend/ev-document-fonts.h:
1577 Separate scan and fill so that we can incrementally fill from
1578 the main thread. Add a progress api.
1580 * data/evince-properties.glade:
1581 * pdf/ev-poppler.cc:
1582 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1584 * shell/ev-properties.c: (update_progress_label),
1585 (job_fonts_finished_cb), (setup_fonts_view):
1587 Incrementally feel the list and show the progress
1588 percentage in a label like acrobat does.
1590 You are going to need poppler cvs
1592 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1594 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1595 * backend/ev-document-fonts.h:
1596 * pdf/ev-poppler.cc:
1598 Make fonts model fill incrementally.
1600 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1601 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1602 (ev_job_queue_remove_job):
1603 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1604 (ev_job_fonts_new), (ev_job_fonts_run):
1607 New job for fonts scanning
1609 * shell/ev-properties.c: (job_fonts_finished_cb),
1610 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1611 * shell/ev-properties.h:
1612 * shell/ev-window.c: (ev_window_cmd_file_properties):
1614 Incrementally feel the treeview using the new job. Show Loading...
1615 message until scanning is completed.
1617 Hopefully I didnt break the build without the poppler patch.
1619 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1621 * shell/ev-application.c: (ev_application_open):
1622 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1623 (ev_document_type_get_type), (ev_document_type_lookup):
1624 * shell/ev-document-types.h:
1625 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1626 * shell/ev-job-xfer.h:
1627 * shell/ev-window.c: (ev_window_clear_local_uri),
1628 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1629 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1630 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1632 Transfer remote documents to tmp directory to display them later.
1634 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1636 * backend/ev-document-info.h:
1637 * shell/ev-properties.c: (ev_properties_new):
1639 s/GTime*/GTime. Not sure why we was using a pointer
1642 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1644 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1645 situations. That situation is that you're using GTK+-HEAD with
1646 the patch at #306726 is applied, and you have a document with <
1647 1500 pages in it. It's not quite as uniformly nice as the
1648 TreeView, but should be better in the long run.
1650 I'm pretty sure I guarded against breaking compilation with
1651 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1654 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1655 widget yet, so I commented that code out
1656 enable_view_actions_for_widget() for now. Need to figure this
1659 * shell/ev-page-action.c (match_selected_cb): emit the right
1660 signals. Our cool C-l completion now works.
1662 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1664 * backend/Makefile.am:
1665 * backend/ev-document-fonts.c:
1666 * backend/ev-document-links.c:
1667 * backend/ev-document.c: (ev_document_load):
1668 * backend/ev-document.h:
1669 * backend/ev-job-queue.c:
1670 * backend/ev-job-queue.h:
1671 * backend/ev-jobs.c:
1672 * backend/ev-jobs.h:
1673 * backend/ev-page-cache.c:
1674 * backend/ev-page-cache.h:
1676 EvPageCache and EvJobs are moved to shell.
1678 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1680 * lib/ev-file-helpers.h:
1682 New helper to work with temporary files
1684 * shell/Makefile.am:
1685 * shell/ev-application.c: (ev_application_open):
1686 * shell/ev-application.h:
1687 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1688 (remove_job_from_async_queue), (add_job_to_async_queue),
1689 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1690 (handle_job), (search_for_jobs_unlocked),
1691 (no_jobs_available_unlocked), (ev_render_thread),
1692 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1693 (ev_job_queue_add_job), (move_job_async), (move_job),
1694 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1695 * shell/ev-job-queue.h:
1696 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1697 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1698 * shell/ev-job-xfer.h:
1699 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1700 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1701 (ev_job_links_class_init), (ev_job_render_init),
1702 (ev_job_render_dispose), (ev_job_render_class_init),
1703 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1704 (ev_job_thumbnail_class_init), (ev_job_load_init),
1705 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1706 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1707 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1708 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1710 * shell/ev-page-action.c: (ev_page_action_set_document):
1711 * shell/ev-page-cache.c: (ev_page_cache_init),
1712 (ev_page_cache_class_init), (ev_page_cache_finalize),
1713 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1714 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1715 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1716 (ev_page_cache_get_title), (ev_page_cache_get_size),
1717 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1718 (ev_page_cache_get_height_to_page),
1719 (ev_page_cache_get_max_label_chars),
1720 (ev_page_cache_get_page_label),
1721 (ev_page_cache_has_nonnumeric_page_labels),
1722 (ev_page_cache_get_info), (ev_page_cache_next_page),
1723 (ev_page_cache_prev_page), (ev_page_cache_get):
1724 * shell/ev-page-cache.h:
1725 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1726 (ev_pixbuf_cache_clear_job_sizes),
1727 (ev_pixbuf_cache_add_jobs_if_needed),
1728 (ev_pixbuf_cache_set_page_range):
1729 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1730 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1731 * shell/ev-sidebar-thumbnails.c:
1732 (ev_sidebar_tree_selection_changed),
1733 (ev_sidebar_thumbnails_set_document):
1734 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1735 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1736 (ev_statusbar_get_context_id), (ev_statusbar_push),
1737 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1738 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1739 (ev_statusbar_set_progress):
1740 * shell/ev-statusbar.h:
1741 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1742 (ev_view_find_previous):
1743 * shell/ev-window.c: (ev_window_is_empty),
1744 (ev_window_setup_document), (password_dialog_response),
1745 (ev_window_clear_jobs), (ev_window_load_job_cb),
1746 (ev_window_xfer_job_cb), (ev_window_open_uri),
1747 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1748 (ev_window_print), (ev_window_print_range),
1749 (ev_window_state_event), (ev_window_cmd_view_reload),
1750 (menu_item_select_cb), (menu_item_deselect_cb),
1751 (view_status_changed_cb), (ev_window_dispose),
1752 (drag_data_received_cb), (ev_window_init):
1753 * shell/ev-window.h:
1754 * shell/main.c: (load_files):
1756 New statusbar to show progress on idle. Two new jobs -
1757 xfer job and load job to load document in background. And update
1758 of page_cache clients to new location of code.
1760 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1762 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1763 selection in open dialog. It also remembers the last visited directory
1764 in the current session.
1766 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1768 * shell/ev-properties.c: (ev_properties_new):
1769 * shell/ev-properties.h:
1770 * shell/ev-window.c: (ev_window_cmd_file_properties):
1772 Get document info from page cache instead of document itself.
1773 This should fix crash related to race conditions described in
1776 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1778 * ps/ps-document.c: (ps_document_init),
1779 (send_ps), (get_page_box), (output), (catchPipe), (input),
1780 (stop_interpreter), (file_length), (file_readable),
1781 (check_filecompressedb), (ps_document_enable_interpreter),
1782 (document_load), (ps_async_renderer_render_pixbuf):
1785 Big cleanup of the ps code
1787 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1789 * backend/Makefile.am:
1790 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1791 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1792 * backend/ev-async-renderer.h:
1794 Add an async renderer interface (method + callback) which
1795 is useful for backends like ps.
1797 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1798 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1799 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1800 (ev_job_queue_add_job), (move_job_async), (move_job),
1801 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1803 Add queues for async renderer, these are executed on the
1806 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1807 (ev_job_render_run):
1808 * backend/ev-jobs.h:
1810 If the backend support async renderer interface use it.
1812 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1813 (setup_pixmap), (ps_document_get_type),
1814 (ps_async_renderer_render_pixbuf),
1815 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1817 Implement async renderer interface.
1819 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1821 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1823 Cleanup links job on exit.
1825 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1827 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1828 (drag_data_get_cb), (drag_data_received_cb):
1829 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1830 (drag_data_get_cb), (parse_item_list),
1831 (egg_toolbar_editor_load_actions):
1832 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1833 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1834 (parse_item_list), (parse_toolbars):
1835 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1836 (dvi_pixbuf_put_pixel):
1838 Fix gcc 4.0 warnings
1840 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1842 * ps/ps-document.c: (start_interpreter):
1844 Fix warning when loading ps
1846 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1848 * ps/ps-document.c: (output):
1850 Fix crash when priting gs error messages.
1852 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1854 * backend/ev-page-cache.c: (_ev_page_cache_new):
1855 * backend/ev-page-cache.h:
1857 Use a const to return title so that we dont double
1858 free it. Small cleanup and fix a leak.
1860 * shell/ev-window.c: (update_window_title):
1862 strdup value from get_title.
1864 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1866 * shell/ev-sidebar-links.c: (job_finished_callback),
1867 (ev_sidebar_links_set_document):
1869 Cleanup the old job when changing document
1871 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1873 * shell/ev-stock-icons.c:
1874 * shell/ev-stock-icons.h:
1875 * shell/ev-window.c:
1877 Add stock icons for actions that can appear in toolbar. Fix for
1880 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1882 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1883 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1884 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1885 * backend/ev-page-cache.h:
1886 * shell/ev-view.c: (scroll_to_current_page),
1887 (view_update_range_and_current_page), (get_page_y_offset),
1888 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1889 (ev_view_size_request_continuous),
1890 (ev_view_zoom_for_size_continuous_and_dual_page),
1891 (ev_view_zoom_for_size_continuous):
1893 More compact EvView layout in document with pages of different size.
1895 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1897 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1900 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1902 * shell/ev-view.c: (view_set_adjustment_values):
1903 * shell/ev-window.c: (ev_window_cmd_file_properties):
1905 A bit different fix for rounding problem but it has no
1906 problems on startup. Make properties window transient to parent.
1908 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1910 * pdf/ev-poppler.cc:
1912 More commenting of font stuff.
1914 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1916 * pdf/ev-poppler.cc:
1918 Comment out some more fonts stuff. Should really
1919 work without the poppler patch now.
1921 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1923 * pdf/ev-poppler.cc:
1927 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1929 * data/evince-properties.glade:
1930 * pdf/ev-poppler.cc:
1931 * shell/ev-properties.c: (setup_fonts_view):
1933 Set the column title. Show the dialog only
1934 once everything is setup.
1935 Getting font info can be very slow... will
1936 prolly need to make this threaded too.
1938 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1940 * backend/Makefile.am:
1941 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1942 (ev_document_fonts_get_fonts_model):
1943 * backend/ev-document-fonts.h:
1944 * data/evince-properties.glade:
1945 * pdf/ev-poppler.cc:
1946 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1947 * shell/ev-properties.h:
1948 * shell/ev-window.c: (ev_window_cmd_file_properties):
1950 Implement fonts list. Defined out for now, since it depends
1951 on a not yet committed poppler patch.
1953 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
1955 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1958 * shell/ev-window.c: Make sure we add the timeout when we get a
1961 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1962 adjustment->value before calculating the zoom factor to average
1963 out all of our rounding errors. The page no longer 'drifts' when
1966 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1968 * data/evince-properties.glade:
1969 * shell/ev-properties.c: (ev_properties_format_date),
1972 Labels don't expand when the dialogue is resized.
1973 strftime result needs to be converted to UTF-8. Thanks
1974 to Christian Persch <chpe@gnome.org>.
1976 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1978 * data/evince-properties.glade:
1982 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
1984 * backend/ev-document-info.h:
1985 * backend/ev-document.c: (ev_document_info_free):
1986 * data/evince-properties.glade:
1987 * pdf/ev-poppler.cc:
1988 * ps/ps-document.c: (ps_document_get_info):
1989 * shell/ev-properties.c: (ev_properties_format_date),
1990 (set_property), (ev_properties_new):
1991 * shell/ev-properties.h:
1992 * shell/ev-window.c: (ev_window_cmd_file_properties):
1994 Rework properties code to take only EvPropertyInfo
1995 in the constructor so that it can be useful for
1996 nautilus plugin too.
1998 Deal with backends that doesnt support some properties.
1999 Make set property code generic.
2001 2005-06-04 Christian Persch <chpe@gnome.org>
2003 * data/evince-properties.glade:
2005 fix spacings, make resizeable, and make data labels
2006 selectable + ellipsised
2008 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2010 * backend/ev-document-info.h:
2012 * data/evince-ui.xml:
2013 * pdf/ev-poppler.cc:
2014 * shell/Makefile.am:
2015 * shell/ev-window.c: (update_action_sensitivity),
2016 (ev_window_cmd_file_properties):
2018 Initial go at file properties. Patch by
2019 Emil Soleyman-Zomalan <emil@soleyman.com>.
2020 Needs love see #169583
2022 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2024 * ps/ps-document.c: (output):
2025 * ps/ps.c: (psscan):
2027 Try to render even if psscan fails.
2029 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2031 * ps/ps.c: (psscan), (pscopydoc):
2033 Port buffered reading code from gv
2035 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2037 * ps/ps-document.c: (interpreter_message), (output):
2039 Do not fail on interpreter messages
2041 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2043 * backend/ev-document-misc.c:
2044 (ev_document_misc_get_thumbnail_frame):
2046 Pages can be 0 x 0, dont assert on this case
2048 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2050 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2051 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2053 Correctly manage our reference on document. Finally the reload
2054 huge leak is gone...
2056 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2058 * ps/ps-document.c: (ps_document_dispose):
2060 Forgot to chain it to the parent. Thanks chpe.
2062 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2064 * ps/ps-document.c: (ps_document_dispose),
2065 (ps_document_class_init), (stop_interpreter), (document_load):
2067 Cleanup dispose a bit. Dont leak the whole pixmap.
2069 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2071 * pdf/ev-poppler.cc:
2073 Release the poppler document on dispose
2075 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2077 * shell/ev-view.c: (ev_view_set_document):
2079 Release ref on the pixbuf cache when changing
2082 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2084 * ps/ps-document.c: (ps_document_get_info):
2088 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2090 * backend/ev-page-cache.c: (ev_page_cache_init),
2091 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2092 * backend/ev-page-cache.h:
2093 * shell/ev-page-action.c: (page_changed_cb):
2095 Set page action entry width depending on labels width. Fix
2098 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2100 * backend/ev-link.c: (ev_link_class_init):
2102 Allow -1 as page value (error)
2104 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2106 * shell/ev-sidebar-thumbnails.c:
2107 (ev_sidebar_thumbnails_set_document):
2108 * shell/ev-view.c: (scroll_to_current_page),
2109 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2110 (page_changed_cb), (on_adjustment_value_changed),
2111 (ev_view_set_document):
2113 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2116 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2119 * djvu/djvu-document.c: (djvu_document_get_page_size):
2121 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2124 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2126 * shell/ev-view.c (draw_one_page): modify the expose handling to
2129 * shell/ev-window.c (update_action_sensitivity): Respect
2130 permissions field. Kowtow to the man.
2132 * pdf/ev-poppler.cc: Get the permissions field.
2134 * tiff/*c: Make a tiny bit more robust.
2136 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2138 * djvu/djvu-document.c:
2140 Pop messages from djvu context message queue.
2142 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2144 * configure.ac, Makefile.am, shell/Makefile.am:
2145 * tiff/Makefile.am, shell/ev-document-types.c:
2147 Cleanup tiff configure checks. Fix for bug 305218.
2149 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2151 * configure.ac: Added "uk" to ALL_LINGUAS.
2153 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2155 * cut-n-paste/zoom-control/ephy-zoom.c:
2156 (ephy_zoom_get_changed_zoom_level):
2157 * cut-n-paste/zoom-control/ephy-zoom.h:
2158 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2159 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2160 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2161 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2162 (zoom_control_changed_cb), (ev_window_init):
2164 Fix minor points related to moving best fit up. Introduce
2165 "zoom" property and make zoom control change it's value on
2166 notify::zoom signals. Fix for 305080.
2168 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2170 * data/evince-ui.xml:
2171 * shell/ev-window.c: (set_view_actions_sensitivity):
2173 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2175 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2179 Depends on poppler 0.3.2
2181 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2183 * cut-n-paste/recent-files/egg-recent-item.c:
2184 (egg_recent_item_get_short_name):
2185 * cut-n-paste/toolbar-editor/Makefile.am:
2186 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2187 (new_pixbuf_from_widget):
2188 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2189 * cut-n-paste/toolbar-editor/egg-marshal.c:
2190 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2191 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2195 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2197 * tiff/tiff-document.c: Rough TIFF backend.
2199 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2203 * cut-n-paste/toolbar-editor/Makefile.am:
2207 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2209 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2210 (ev_view_find_next), (ev_view_find_previous):
2212 Remove the locks around get_n_results
2214 2005-05-21 Juerg Billeter <j@bitron.ch>
2216 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2218 Pass correct number of pages to poppler.
2220 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2224 * data/evince.desktop.in:
2225 * data/evince.desktop.in.in:
2228 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2230 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2232 * shell/ev-view.c: (view_update_adjustments),
2233 (view_set_adjustment_values): cast adjustmen->value to (int)
2234 before using it. Otherwise, we get off by a pixel in some
2237 (draw_one_page): Draw the border on expose.
2239 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2241 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2242 adjustment when the mode changes, #304923
2244 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2246 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2247 flickering on resize but still use gdk_window_scroll on
2250 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2252 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2255 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2257 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2258 second page on page_changed if possible, #304669
2260 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2262 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2263 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2265 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2268 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2269 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2270 (ev_view_zoom_for_size_presentation),
2271 (ev_view_zoom_for_size_continuous_and_dual_page),
2272 (ev_view_zoom_for_size_continuous),
2273 (ev_view_zoom_for_size_dual_page),
2274 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2276 * shell/ev-window.c: (update_view_size),
2277 (ev_window_sizing_mode_changed_cb):
2279 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2280 the scrollbars. It's not 100% right, but it's much closer. Kills
2281 an infinite loop, #304769
2284 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2286 * data/evince-ui.xml:
2287 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2288 * shell/ev-window.c: (set_view_actions_sensitivity):
2290 Make PgUp/Down behave like Space
2292 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2294 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2295 * backend/ev-ps-exporter.h:
2296 * pdf/ev-poppler.cc:
2297 * ps/ps-document.c: (ps_document_ps_export_begin):
2298 * shell/ev-print-job.c: (idle_print_handler):
2300 Adapt to new poppler api
2302 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2304 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2305 (ephy_zoom_control_init):
2307 Translate zoom levels
2309 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2311 * cut-n-paste/zoom-control/ephy-zoom.c:
2312 (ephy_zoom_get_zoom_level_index):
2314 Fix current zoom -> zoom control match
2316 2005-05-18 James Bowes <bowes@cs.dal.ca>
2318 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2319 rather than the scrolled_window that it's in. Fixes bug #304655.
2321 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2323 * shell/ev-view.c: (view_update_adjustments),
2324 (view_set_adjustment_values), (view_update_range_and_current_page),
2325 (view_scroll_to_page), (set_scroll_adjustment),
2326 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2327 (ev_view_scroll), (ev_view_scroll_view),
2328 (ensure_rectangle_is_visible), (find_page_at_location),
2329 (get_link_at_location), (go_to_link), (status_message_from_link),
2330 (ev_view_size_request_continuous_dual_page),
2331 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2332 (ev_view_unrealize), (ev_view_expose_event),
2333 (ev_view_button_press_event), (ev_view_motion_notify_event),
2334 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2335 (draw_rubberband), (highlight_find_results), (draw_one_page),
2336 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2337 (ev_view_init), (find_changed_cb), (page_changed_cb),
2338 (on_adjustment_value_changed), (ev_view_new),
2339 (ev_view_set_document), (ev_view_set_zoom),
2340 (ev_view_set_continuous), (ev_view_set_dual_page),
2341 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2342 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2343 (ev_view_zoom_for_size_presentation),
2344 (ev_view_zoom_for_size_continuous_dual_page),
2345 (ev_view_zoom_for_size_continuous),
2346 (ev_view_zoom_for_size_dual_page),
2347 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2348 (ev_view_get_status), (ev_view_set_status),
2349 (update_find_status_message), (ev_view_get_find_status),
2350 (ev_view_set_find_status), (jump_to_find_result),
2351 (jump_to_find_page), (compute_selections), (clear_selection),
2352 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2353 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2354 (ev_view_update_primary_selection),
2355 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2357 * shell/ev-window.c: (ev_window_open_page_label),
2358 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2360 * shell/ev-window.h:
2361 * shell/main.c: (load_files):
2363 Massive code clean up from Nickolay Shmyrev. Keep page offset
2364 when resizing. Remove the bin_window(). Also, patch from James
2365 Bowes to fix command line page, #300641
2367 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2369 * data/evince-ui.xml:
2372 * shell/ev-window.c: (update_action_sensitivity):
2374 Get rid of View->Normal Size, it's just confusing
2376 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2378 * backend/ev-document-info.h:
2379 * backend/ev-document.c: (ev_document_info_free): Free the
2382 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2383 (clear_range), (add_range), (update_visible_range),
2384 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2385 (ev_sidebar_thumbnails_set_document):
2386 * shell/ev-window.c: (ev_window_setup_document): Only render the
2387 visible thumbnails. It takes an instant to render, but it uses
2390 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2392 * shell/ev-sidebar-links.c: (popup_menu_cb):
2396 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2399 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2400 (button_press_cb), (ev_sidebar_links_construct):
2402 Show the popup menu also on keybindings
2404 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2406 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2407 * shell/ev-window.h:
2409 Expose api to print a range (with dialog). Make private _print use
2412 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2413 (ev_sidebar_links_construct):
2415 Show a print context menu on linkx, it prints the selected
2418 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2420 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2423 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2429 * shell/ev-window.c: (build_comments_string),
2430 (ev_window_cmd_help_about):
2432 Show poppler version/backend and authors
2434 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2436 * cut-n-paste/zoom-control/ephy-zoom.c:
2437 (ephy_zoom_get_zoom_level_index):
2438 * cut-n-paste/zoom-control/ephy-zoom.h:
2440 Move the best fit items at the top of the list
2442 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2444 * shell/ev-marshal.list:
2445 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2446 (activate_cb), (match_selected_cb), (activate_link_cb),
2447 (connect_proxy), (ev_page_action_class_init):
2448 * shell/ev-page-action.h:
2450 Use signals to notify action activation. Hopefully
2451 I did not break completion since I cant test...
2453 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2454 (register_custom_actions):
2456 Connect to page selector actions and also grab focus on
2457 the view when activated.
2459 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2461 * pdf/ev-poppler.cc:
2462 * backend/ev-page-cache.c: make page size calculation consistent
2463 and set it to (int)( width * scale + 0.5). This makes the weird
2464 line going through the middle of the page go away.
2466 * shell/ev-view.c: move painting the background page after
2467 checking the expose area covers us.
2469 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2471 * data/evince-password.glade:
2473 Mark labels as not translatable. Fix for bug 302842.
2475 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2477 * configure.ac: Added "es" to ALL_LINGUAS.
2479 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2481 * data/evince-toolbar.xml:
2482 * shell/ev-window.c: (update_action_sensitivity),
2483 (ev_window_setup_document), (ev_window_set_page_mode),
2486 Remove some leftover code from jrb first continous
2487 attempt. Use the new actions, we still need good icons
2490 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2492 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2494 Update label when connecting proxy. Fix a warning with NULL
2497 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2499 * data/evince-ui.xml:
2500 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2501 * shell/ev-page-action.h:
2502 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2504 Add mnemonic for edit toolbar.
2505 ctrl+l focus the page entry.
2507 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2510 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2512 * shell/main.c: (main):
2514 Put the toolbar xml in evince own dot dir
2516 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2518 * shell/ev-window.c: (ev_window_init):
2520 Make the toolbar not removable
2522 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2524 * data/evince-ui.xml:
2525 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2526 * shell/ev-sidebar-links.h:
2527 * shell/ev-sidebar-thumbnails.c:
2528 (ev_sidebar_thumbnails_get_treeview):
2529 * shell/ev-sidebar-thumbnails.h:
2530 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2531 (ev_view_class_init):
2533 * shell/ev-window.c: (update_action_sensitivity),
2534 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2535 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2536 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2539 This is evil... Make space/backspace global accelerators but
2540 enable them only for some widgets (sidebars and view).
2541 I dont like it, but I dont know a better way... :/
2543 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2545 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2546 (ev_page_action_widget_finalize),
2547 (ev_page_action_widget_class_init), (update_page_cache):
2549 Keep a weak reference on proxy->page_cache so that we
2550 dont try to disconnect the signal if the object is already
2551 gone. Maybe there is a better way to cleanup reference handling
2552 in page action though...
2554 2005-05-10 Juerg Billeter <j@bitron.ch>
2556 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2557 * backend/ev-ps-exporter.h:
2558 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2559 * ps/ps-document.c: (ps_document_ps_export_begin):
2561 Change api to pass print range to ps_exporter_begin. The pdf backend
2562 requires this information.
2564 * shell/ev-print-job.c: (idle_print_handler):
2568 2005-05-10 Juerg Billeter <j@bitron.ch>
2570 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2571 (idle_print_handler)
2572 * shell/ev-window.c: (ev_window_print):
2574 Support printing page range, based on patch by Amaury Jacquot
2576 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2578 * data/evince-toolbar.xml:
2580 Add zoom control to available items
2582 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2584 * shell/ev-window.c: (update_action_sensitivity):
2586 Set slash action insensitive when appropriate
2588 2005-05-10 Christian Persch <chpe@gnome.org>
2590 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2592 Fix warning on the overflow menu
2594 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2596 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2598 Check for uri correctness/existence
2600 2005-05-09 Juerg Billeter <j@bitron.ch>
2602 * shell/ev-window.c: (using_postscript_printer):
2604 LPD printers use postscript, too
2606 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2608 * shell/ev-window.c: (register_custom_actions):
2610 The zoom one is actually sort of useful,
2613 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2615 * shell/ev-window.c: (register_custom_actions):
2617 Hide page/zoom controls from overflow, they
2620 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2622 * cut-n-paste/update-from-egg.sh:
2624 Share it between all cut-n-paste subdirs
2626 * cut-n-paste/recent-files/Makefile.am:
2628 Fix to use "global" update-from-egg.sh
2630 * cut-n-paste/recent-files/egg-recent-model.c:
2631 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2632 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2633 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2634 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2638 * cut-n-paste/toolbar-editor/Makefile.am:
2640 Fix to use "global" update-from-egg.sh
2642 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2646 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2649 * cut-n-paste/Makefile.am:
2650 * cut-n-paste/recent-files/Makefile.am:
2651 * cut-n-paste/toolbar-editor/.cvsignore:
2652 * cut-n-paste/toolbar-editor/Makefile.am:
2653 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2654 (egg_editable_toolbar_get_type), (get_toolbar_position),
2655 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2656 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2657 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2658 (set_item_drag_source), (create_item_from_action), (create_item),
2659 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2660 (popup_toolbar_context_menu_cb), (free_dragged_item),
2661 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2662 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2663 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2664 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2665 (item_added_cb), (item_removed_cb),
2666 (egg_editable_toolbar_construct),
2667 (egg_editable_toolbar_disconnect_model),
2668 (egg_editable_toolbar_deconstruct),
2669 (egg_editable_toolbar_set_model),
2670 (egg_editable_toolbar_set_ui_manager),
2671 (egg_editable_toolbar_set_property),
2672 (egg_editable_toolbar_get_property),
2673 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2674 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2675 (egg_editable_toolbar_new_with_model),
2676 (egg_editable_toolbar_get_edit_mode),
2677 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2678 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2679 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2680 (new_pixbuf_from_widget), (new_separator_pixbuf),
2681 (update_separator_image), (style_set_cb),
2682 (_egg_editable_toolbar_new_separator_image),
2683 (egg_editable_toolbar_get_model):
2684 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2685 * cut-n-paste/toolbar-editor/egg-marshal.c:
2686 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2687 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2688 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2689 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2690 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2691 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2692 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2693 (editor_drag_data_delete_cb), (drag_data_get_cb),
2694 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2695 (editor_create_item), (update_editor_sheet), (setup_editor),
2696 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2697 (parse_item_list), (model_has_action), (update_actions_list),
2698 (egg_toolbar_editor_load_actions):
2699 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2700 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2701 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2702 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2703 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2704 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2705 (egg_toolbars_model_add_separator), (impl_add_item),
2706 (parse_item_list), (egg_toolbars_model_add_toolbar),
2707 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2708 (impl_get_item_data), (impl_get_item_type),
2709 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2710 (egg_toolbars_model_init), (free_toolbar),
2711 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2712 (egg_toolbars_model_remove_toolbar),
2713 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2714 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2715 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2716 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2717 (egg_toolbars_model_get_item_data),
2718 (egg_toolbars_model_get_item_type):
2719 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2720 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2722 * data/evince-toolbar.xml:
2723 * data/evince-ui.xml:
2724 * data/hand-open.png:
2726 * shell/Makefile.am:
2727 * shell/ev-window.c: (update_chrome_visibility),
2728 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2729 (ev_window_dispose), (ev_window_init):
2731 Implement epiphany like toolbar editor. Based on patch by
2732 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2734 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2736 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2738 Use set_cursor instead of set_selection, so that
2739 the keyboard focus moves too.
2741 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2743 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2745 Fix infinite loop when loading Type1 fonts
2747 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2749 * data/evince-ui.xml:
2750 * shell/ev-window.c:
2754 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2758 Make --disable really disable
2760 2005-05-07 Juerg Billeter <j@bitron.ch>
2762 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2764 Compare page labels even without has_labels set, fixes setting page
2767 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2769 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2770 (ev_view_set_cursor), (ev_view_button_press_event),
2771 (ev_view_motion_notify_event), (ev_view_button_release_event),
2774 Implement middle button scrolling. Based on a patch
2775 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2777 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2779 * shell/ev-document-types.c: (get_slow_mime_type),
2780 (get_document_type_from_mime), (ev_document_type_lookup):
2781 * shell/ev-document-types.h:
2783 Change api to lookup from uri. Do fast lookup first, if the
2784 type is unknown try with data sniffing.
2786 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2787 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2791 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2793 * thumbnailer/Makefile.am:
2797 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2804 * data/evince-ui.xml:
2806 Hide presentation mode for now
2808 * shell/ev-view.c: (highlight_find_results):
2810 Show current find selection only on current page
2812 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2814 * shell/ev-view.c: (ev_view_select_all):
2816 Compute size of the actual page, not of
2819 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2821 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2822 (view_rect_to_doc_rect), (compute_selections),
2823 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2824 (ev_view_copy), (ev_view_primary_get_cb),
2825 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2826 (ev_view_button_press_event), (ev_view_motion_notify_event),
2827 (ev_view_button_release_event), (page_changed_cb):
2831 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2833 * shell/ev-view.c: (compute_border), (get_page_extents),
2834 (doc_rect_to_view_rect), (highlight_find_results),
2835 (ev_view_bin_expose), (ev_view_select_all),
2836 (ev_view_motion_notify_event), (update_find_status_message),
2837 (jump_to_find_result), (jump_to_find_page):
2839 First go at fixing search, still buggy
2841 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2843 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2844 dropdown box and button at the top of the sidebar.
2846 2005-05-02 James Bowes <bowes@cs.dal.ca>
2848 * configure.ac: Output zoom-control Makefile.
2849 * cut-n-paste/Makefile.am: build zoom-control subdir.
2850 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2851 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2852 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2853 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2854 * cut-n-paste/zoom-control/ephy-zoom.c:
2855 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2856 from epiphany, and modified to add a separator into the menu.
2857 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2858 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2859 zoom-control action.
2860 * shell/Makefile.am: Include zoom-control flags.
2861 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2862 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2863 (ev_view_zoom_for_size_presentation),
2864 (ev_view_zoom_for_size_continuous_and_dual_page),
2865 (ev_view_zoom_for_size_continuous),
2866 (ev_view_zoom_for_size_dual_page),
2867 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2868 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2869 ev_view_get_zoom and ev_view_get_sizing_mode.
2871 * shell/ev-window.c: (update_action_sensitivity),
2872 (update_sizing_buttons), (zoom_control_changed_cb),
2873 (register_custom_actions): Initialize and use the zoom-control
2876 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2878 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2879 preview cache back to 1. Don't know when it got set to 0.
2881 * shell/ev-view.c: (compute_border), (ev_view_realize),
2882 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2883 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2884 (ev_view_get_fullscreen), (ev_view_set_presentation),
2885 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2886 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2888 * shell/ev-window.c:
2889 (update_chrome_visibility),
2890 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2891 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2892 (update_document_mode), (ev_window_update_fullscreen_action),
2893 (ev_window_fullscreen), (ev_window_unfullscreen),
2894 (ev_window_cmd_view_fullscreen),
2895 (ev_window_update_presentation_action),
2896 (ev_window_run_presentation), (ev_window_stop_presentation),
2897 (ev_window_cmd_view_presentation), (ev_window_state_event),
2898 (ev_window_focus_in_event), (ev_window_focus_out_event),
2899 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2900 * data/evince-ui.xml: Initial presentation mode. We should
2901 probably hide this until it's done, as it's quite rough. Also,
2902 change full-screen to fullscreen and add two getters to EvView.
2904 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2906 * shell/ev-page-action.c: (update_page_cache),
2907 (ev_page_action_dispose):
2908 * shell/ev-window.c: (destroy_fullscreen_popup),
2909 (ev_window_create_fullscreen_popup):
2911 Use connect_object rather than explicitly
2912 disconnect on dispose.
2914 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
2916 * shell/ev-page-action.c: (update_page_cache),
2917 (ev_page_action_dispose):
2919 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2921 * backend/ev-page-cache.c: (_ev_page_cache_new),
2922 (ev_page_cache_set_page_label),
2923 (ev_page_cache_has_nonnumeric_page_labels):
2924 * backend/ev-page-cache.h:
2925 * shell/ev-page-action.c: (update_pages_label):
2927 If all page labels are numeric, fallback to default
2928 way to display number of pages. See bug 173185.
2930 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2932 * shell/ev-page-action.c: (ev_page_action_dispose):
2933 * shell/ev-view.c: (view_update_range_and_current_page):
2934 * shell/ev-window.c: (ev_window_dispose):
2936 Set page on scroll in continuous mode. Fixes bug 301986.
2937 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2939 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
2943 Require poppler 0.3.0
2945 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2947 * shell/Makefile.am, configure.ac: Fix build problems
2948 with t1lib. Bug 301996.
2950 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2952 * shell/ev-view.c: (ev_view_scroll_event):
2954 Scroll up increase zoom
2956 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2958 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2959 (ev_view_set_sizing_mode),
2960 (ev_view_zoom_for_size_continuous_and_dual_page),
2961 (ev_view_zoom_for_size_continuous):
2962 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2963 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2964 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2967 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2968 Fix for 165473 and 165472.
2970 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2973 * thumbnailer/Makefile.am:
2974 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2975 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2976 * thumbnailer/evince-thumbnailer.schemas.in:
2978 Make thumbnailer schemas translatable. Fix for bug 301773
2980 * thumbnailer/evince-thumbnailer-djvu.schemas:
2981 * thumbnailer/evince-thumbnailer-dvi.schemas:
2982 * thumbnailer/evince-thumbnailer.schemas:
2986 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
2988 * shell/ev-view.c (ev_view_init): forgot to set this.
2990 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
2992 * shell/ev-view.c: (find_page_at_location),
2993 (get_link_at_location),
2994 (ev_view_set_show_border), (ev_view_set_spacing),
2995 (ev_view_zoom_for_size_continuous_and_dual_page),
2996 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2997 Also, add a quick fix measuring of widths. Also, removed
2998 ev_view_set_spacing and ev_view_set_show_border.
3000 * shell/ev-window.c: (ev_window_unfullscreen),
3001 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3003 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3005 * shell/ev-view.c: (view_update_range_and_current_page),
3008 Fix crash on exit and scrolling to page in continuous view.
3010 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3013 * backend/ev-page-cache.c: (_ev_page_cache_new),
3014 (ev_page_cache_get_max_width_size),
3015 (ev_page_cache_get_max_height_size):
3016 * backend/ev-page-cache.h:
3017 * data/evince-ui.xml:
3018 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3019 * shell/ev-view.c: (view_update_adjustments),
3020 (view_update_range_and_current_page), (get_bounding_box_size),
3021 (ev_view_size_request_continuous_and_dual_page),
3022 (ev_view_size_request_continuous),
3023 (ev_view_size_request_dual_page),
3024 (ev_view_size_request_single_page), (ev_view_size_request),
3025 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3026 (ev_view_bin_expose), (ev_view_expose_event),
3027 (ev_view_set_property), (ev_view_get_property),
3028 (ev_view_class_init), (ev_view_init), (ev_view_new),
3029 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3030 (ev_view_set_dual_page), (ev_view_set_full_screen),
3031 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3032 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3033 (ev_view_zoom_out), (zoom_for_size_fit_width),
3034 (zoom_for_size_best_fit),
3035 (ev_view_zoom_for_size_continuous_and_dual_page),
3036 (ev_view_zoom_for_size_continuous),
3037 (ev_view_zoom_for_size_dual_page),
3038 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3039 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3041 * shell/ev-window.c: (update_action_sensitivity),
3042 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3043 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3044 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3045 (ev_window_cmd_view_zoom_out), (update_view_size),
3046 (ev_window_set_sizing_mode), (ev_window_init):
3048 Add Continuous and Dual page modes.
3050 2005-04-23 James Bowes <bowes@cs.dal.ca>
3052 * dvi/dvi-document.c: (dvi_document_load),
3053 (dvi_document_thumbnails_get_thumbnail),
3054 (dvi_document_init_params): Fix up some mixups between
3055 width and height to correct thumbnail rendering.
3057 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3059 * dvi/mdvi-lib/private.h:
3060 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3062 Suppess output for kpathsea during font generation. Thanks to
3065 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3072 * Makefile.am: fix distcheck.
3074 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3076 * shell/ev-sidebar-links.c: (selection_changed_callback),
3077 (update_page_callback), (row_activated_callback),
3078 (job_finished_callback), (ev_sidebar_links_set_document):
3080 Fix for bug #169901. Double click on links expands tree.
3082 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3084 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3085 hard-coded style. Fix for bug 170111
3087 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3089 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3092 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3094 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3096 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3098 * pdf/ev-poppler.cc:
3099 * shell/ev-view.c: (highlight_find_results):
3101 Fix find on single page documents
3103 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3105 * data/evince.schemas.in: fix for bug 301390
3107 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3109 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3110 (ev_view_zoom_out), (ev_view_zoom_normal):
3112 * shell/ev-window.c: (update_action_sensitivity),
3113 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3114 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3115 (ev_window_cmd_view_normal_size):
3117 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3118 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3121 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3125 Depend on 2.57, 2.59 doesnt seem to be necessary
3127 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3129 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3132 Put back total number of pages as (1 of 1234)
3134 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3136 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3139 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3140 function. This helps debugging.
3142 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3144 * djvu/djvu-document.c: (djvu_document_class_init),
3145 (djvu_document_get_info), (djvu_document_document_iface_init):
3146 * dvi/dvi-document.c: (dvi_document_class_init),
3147 (dvi_document_get_info), (dvi_document_document_iface_init):
3149 Dummy implementation of get_info method for dvi and djvu. Fix
3150 crashes with those backends
3152 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3154 * data/evince.desktop.in:
3156 Add application/x-gzpostscript
3158 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3160 * data/evince.schemas.in: Added real long descriptions,
3163 * README: Added actual text, closes bug 171869
3165 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3167 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3171 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3173 * backend/ev-document-info.h:
3175 s/GDate */GDate so we can just use g_free
3177 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3179 * shell/ev-window.c: (update_document_mode),
3180 (ev_window_setup_document):
3182 Show the window in fullscreen when specified by
3185 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3187 * backend/ev-document.c: (ev_document_class_init),
3188 (ev_document_get_info), (ev_document_render_pixbuf):
3189 * backend/ev-document.h:
3190 * backend/ev-page-cache.c: (_ev_page_cache_new):
3191 * pdf/ev-poppler.cc:
3192 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3193 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3194 * ps/ps-document.c: (ps_document_class_init), (document_load),
3195 (ps_document_get_info), (ps_document_document_iface_init):
3197 Remove get_title from the interface, we can just use document info
3199 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3201 * backend/Makefile.am:
3202 * backend/ev-document.c: (ev_document_render_get_info):
3203 * backend/ev-document.h:
3204 * pdf/ev-poppler.cc:
3206 Initial support for document info. Based on jrb patch.
3208 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3210 * shell/ev-window.c: (ev_window_state_event),
3211 (ev_window_class_init), (ev_window_init):
3213 Doesn't show resize grip when maximized. See bug #301053
3215 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3219 ev-sidebar-thumbnails now has translatable labels
3221 * shell/Makefile.am:
3222 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3223 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3224 (ev_sidebar_links_page_iface_init):
3225 * shell/ev-sidebar-links.h:
3226 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3227 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3228 (ev_sidebar_page_get_label):
3229 * shell/ev-sidebar-page.h:
3230 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3231 (ev_sidebar_thumbnails_set_document),
3232 (ev_sidebar_thumbnails_support_document),
3233 (ev_sidebar_thumbnails_get_label),
3234 (ev_sidebar_thumbnails_page_iface_init):
3235 * shell/ev-sidebar-thumbnails.h:
3236 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3237 (ev_sidebar_set_document):
3238 * shell/ev-sidebar.h:
3239 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3241 Small rework of sidebar code. Now sidebar pages should implement
3242 EvSidebarPage interface. That makes page management in EvSidebar
3243 easier. See bug #164811 for details
3245 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3247 * shell/ev-application.c: (ev_application_open):
3248 * shell/ev-document-types.c:
3250 Fix build error and small problem with application exit
3252 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3254 * thumbnailer/Makefile.am:
3255 * thumbnailer/evince-thumbnailer-djvu.schemas:
3256 * thumbnailer/evince-thumbnailer-dvi.schemas:
3258 Conditionally install schemas for djvu/dvi thumbnailer
3260 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3262 * shell/ev-document-types.h:
3263 * shell/ev-document-types.c:
3264 New files, handling the mapping from mimetypes to backends
3266 * shell/ev-window.c:
3267 * thumbnailer/evince-thumbnailer.c:
3268 Use the ev-document-types code
3270 * shell/Makefile.am:
3271 Added new convenience library libevbackendfactory_la, containing
3272 the new mimetype->backend logic; moved the backends into it.
3274 * thumbnailer/Makefile.am:
3275 Make the thumbnailer link with the libevbackend.la convenience
3276 library, rather than having a duplicate of the backend logic here.
3278 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3280 * shell/ev-stock-icons.c: constify some vars.
3281 * shell/ev-window.c: ditto.
3283 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3285 * ps/ps-document.c (get_page_orientation):
3287 Respect document orientation
3289 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3293 * shell/Makefile.am:
3295 Move library dependencies to components.
3297 * shell/ev-window.c: (update_window_title),
3298 (start_loading_document):
3300 Fix display of uris with spaces. Bug 168358.
3302 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3304 * shell/ev-sidebar-links.c: (selection_changed_cb):
3305 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3306 (ev_view_button_release_event), (ev_view_set_document):
3308 * shell/ev-window.c: (find_bar_search_changed_cb):
3309 * shell/ev-window.h: Minor cleanups removing some dead code.
3311 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3313 * backend/ev-page-cache.c: (_ev_page_cache_new):
3315 Set current page to 0 if document has pages.
3317 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3319 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3321 Initialize GError to NULL, fix a crash when loading fails.
3323 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3325 * shell/ev-window.c: (update_view_size):
3327 Calculate shadow size only when there is actually
3330 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3332 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3335 Allow setting view spacing, default to 0
3337 * shell/ev-window.c: (ev_window_unfullscreen),
3338 (ev_window_cmd_view_fullscreen), (ev_window_init):
3340 Remove spacing in fullscreen mode
3342 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3344 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3345 (ev_view_size_request), (expose_bin_window),
3346 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3348 * shell/ev-window.c: (ev_window_unfullscreen),
3349 (ev_window_cmd_view_fullscreen):
3351 Do not draw the border in fulscreen
3353 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3355 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3356 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3357 (find_page_at_location), (page_changed_cb):
3359 Rework border calculation, so that I can more easily disable it.
3360 Code somewhat cleaner too.
3362 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3364 * backend/ev-page-cache.c: (ev_page_cache_init),
3365 (_ev_page_cache_new):
3367 Remove some assertions, documents can have 0 pages.
3368 Make initial current page -1.
3370 * shell/ev-page-action.c: (page_changed_cb):
3372 Show "" if current page is -1
3374 * shell/ev-window.c: (update_action_sensitivity),
3375 (ev_window_setup_document):
3377 When document has 0 pages do not set the view
3378 and make nearly everything insensitive.
3380 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3382 * shell/ev-page-view.c:
3383 * shell/ev-page-view.h:
3385 Remove unused files.
3387 * shell/ev-sidebar-thumbnails.c:
3388 (ev_sidebar_thumbnails_set_document):
3389 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3390 (ev_sidebar_supports_document):
3391 * shell/ev-sidebar.h:
3392 * shell/ev-window.c: (ev_window_setup_document):
3394 Doesn't show thumbnails if document has 1 page. Make
3395 sidebar menu entries sensitive only if if they have
3396 sense. Fix bug 164811.
3398 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3400 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3401 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3402 (ev_view_zoom_out), (ev_view_set_size):
3404 Rework sizing to deal with documents with not uniform page
3407 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3409 * backend/ev-page-cache.c: (_ev_page_cache_new):
3411 Fix several page size caching bugs
3413 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3415 * shell/ev-window.c: (set_action_properties):
3417 Make all toolbar items translatable
3419 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3421 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3422 (save_page_list), (ps_document_save),
3423 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3424 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3425 (ps_document_ps_exporter_iface_init):
3428 Based on a patch by J�rg Billeter <j@bitron.ch>
3430 Implement print and save a copy for the ps backend.
3432 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3434 * backend/ev-document.h:
3435 * djvu/djvu-document.c: (djvu_document_can_get_text),
3436 (djvu_document_document_iface_init):
3437 * dvi/dvi-document.c: (dvi_document_can_get_text),
3438 (dvi_document_document_iface_init):
3439 * pdf/ev-poppler.cc:
3440 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3441 (pixbuf_document_document_iface_init):
3442 * ps/ps-document.c: (ps_document_can_get_text),
3443 (ps_document_document_iface_init):
3444 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3445 * shell/ev-window.c: (update_action_sensitivity):
3447 Fix the crash when trying to copy in backends that doesnt
3448 support it. We can implement a better solution once we
3449 do real text selection.
3451 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3453 * data/evince-ui.xml:
3454 * shell/ev-window.c: (ev_window_cmd_escape):
3456 Work around the Escape conflict (find bar and unfullscreen)
3458 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3460 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3462 Fix for #300233. Next page correctly handles document end.
3464 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3465 (ev_sidebar_thumbnails_class_init),
3466 (ev_sidebar_thumbnails_set_document),
3467 (ev_sidebar_thumbnails_clear_job),
3468 (ev_sidebar_thumbnails_clear_model):
3470 Cleanup thumbnail jobs on document changes.
3472 * shell/ev-view.c: (add_scroll_binding_keypad),
3473 (add_scroll_binding_shifted), (ev_view_class_init):
3475 Shift + Space scrolls up. Fix for #173184
3477 * shell/ev-window.c: (ev_window_open_page),
3478 (ev_window_cmd_view_reload):
3480 Fix reload (Bug #300094)
3482 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3485 * dvi/mdvi-lib/assoc.c:
3486 * dvi/mdvi-lib/assoc.h: Removed garbage files
3488 * dvi/mdvi-lib/bitmap.c:
3489 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3490 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3491 * dvi/mdvi-lib/color.h: Antialias of rules
3493 * dvi/mdvi-lib/common.h:
3494 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3495 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3496 * dvi/mdvi-lib/files.c:
3497 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3498 * dvi/mdvi-lib/mdvi.h:
3499 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3500 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3501 * dvi/mdvi-lib/util.c: Fix compile warnings
3503 * dvi/dvi-document.c:
3504 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3505 (dvi_document_thumbnails_get_thumbnail),
3506 (dvi_document_document_thumbnails_iface_init):
3507 * dvi/mdvi-lib/Makefile.am:
3508 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3509 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3511 Dvi backend now renders thumbnails
3513 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3515 * shell/main.c: (main):
3517 Save accelerators on exit. Fixes bug #172095.
3519 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3521 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3522 update priority" comment.
3524 * backend/ev-job-queue.c: Give a way to change priority.
3526 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3528 * shell/ev-page-action.c: Fix logic.
3530 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3532 * shell/ev-view.c: (ev_view_can_find_next):
3533 * shell/ev-window.c: (ev_window_setup_document):
3535 Check that the document supports find
3537 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3539 * data/evince-ui.xml:
3540 * shell/ev-view.c: (ev_view_can_find_next):
3542 * shell/ev-window.c: (update_action_sensitivity),
3543 (find_changed_cb), (ev_window_setup_document),
3544 (ev_window_cmd_edit_find_next):
3548 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3550 * pdf/ev-poppler.cc:
3551 * shell/ev-print-job.c: (idle_print_handler):
3553 Make printing work again
3555 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3557 * shell/ev-page-action.h:
3558 * shell/ev-page-action.c: (ev_page_action_widget_init),
3559 (ev_page_action_widget_class_init), (page_changed_cb),
3560 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3561 (get_filter_model_from_model), (match_selected_cb),
3562 (display_completion_text), (match_completion), (update_model),
3563 (connect_proxy), (ev_page_action_set_property),
3564 (ev_page_action_get_property), (ev_page_action_set_document),
3565 (ev_page_action_set_model), (ev_page_action_class_init): Big
3566 reworking to make completions work iff we have >= GTK-2.7.0
3568 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3569 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3570 (job_finished_cb): We now have a 'model' property that is set when
3571 the links are loaded. This can be caught with "notify::model"
3573 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3574 listen for the model to be set, and propagate it to the action.
3576 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3578 * cut-n-paste/recent-files/egg-recent-item.c:
3579 (egg_recent_item_set_uri), (make_valid_utf8),
3580 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3581 * cut-n-paste/recent-files/egg-recent-item.h:
3583 Update egg-recent from libegg. This should fix long
3584 startup problem. For details see
3585 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3587 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3589 * cut-n-paste/recent-files/Makefile.am:
3590 * data/evince-ui.xml, shell/Makefile.am:
3591 * shell/ev-application.c, shell/ev-application.h:
3592 * shell/ev-window.c: Recent files support.
3594 * configure.ac: Added "ru" to ALL_LINGUAS.
3596 * dvju: new backend to support DJVU files.
3597 * dvi: new backend to support DVI.
3599 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3600 * ev-application.c: Support for new backends.
3602 * help, ev-window.c, main.c shell/Makefile.am:
3603 Evince user documentation.
3605 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3608 * shell/ev-window.c:
3609 * thumbnailer/evince-thumbnailer.c:
3611 s/pdf-document/ev-poppler
3613 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3620 * ps/ps-document.c: (setup_pixmap):
3624 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3626 * backend/ev-page-cache.c (ev_page_cache_next_page):
3627 * shell/ev-window.c (ev_window_cmd_go_next_page)
3628 (ev_window_cmd_go_first_page): Fix of by one errors.
3630 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3632 * ps/ps-document.c: (get_page_box):
3634 Fix page size calculation
3636 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3638 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3639 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3640 (get_page_orientation), (setup_page), (document_load),
3641 (ps_document_get_page_size), (render_pixbuf_idle):
3644 More refactoring to adapt to EvDocument changes
3646 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3648 * ps/ps-document.c: (start_interpreter):
3650 Actually add alpha args
3652 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3654 * pdf/ev-poppler.cc:
3656 Make clipboard work again
3658 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3660 Make searching work again.
3662 * backend/ev-document.c:
3663 * backend/ev-document.h:
3664 * backend/ev-document-find.c:
3665 * backend/ev-document-find.h: Change EvDocumentIface so we no
3666 longer store the current page or zoom level in the document. The
3667 consequence is that all calls that operate on the current page now
3668 instead take the page number as an extra argument, and all
3669 coordinates are now doubles in document coordinate system.
3671 * pdf/ev-poppler.cc:
3672 * pixbuf/pixbuf-document.c:
3673 * ps/ps-document.c: Update backends accordingly.
3675 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3679 Add required gettext version
3681 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3683 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3684 make F1 bring up non-existent help.
3686 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3687 epiphany's find bar, #167477
3689 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3690 <emil@nishra.com> to add space-bar scrolling,
3692 * shell/ev-window.c (static GtkActionEntry entries): add default
3693 keybinding for Help (F1)
3696 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3697 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3700 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3703 * pixbuf/pixbuf-document.c:
3705 Got pixbuf backend working again
3707 2005-04-01 Steve Murphy <murf@e-tools.com>
3709 * configure.in: Added "rw" to ALL_LINGUAS.
3711 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3713 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3714 model types, noticed by Martin Kretzschmar.
3716 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3718 * pdf/ev-poppler.cc: Implement search based on
3719 poppler_page_find_text(). Currently a bit crude since we remember
3720 all matches from all pages. Also, we grab the big document lock
3721 when we search since searching changes the underlying stream and
3722 thus conflicts with the rendering thread.
3724 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3725 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3726 (ev_view_find_previous): Fix some page indexes to be 0 based,
3727 offset rubber band by view offset,
3729 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3731 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3733 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3735 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3736 completely because I didn't understand GtkActions. I should
3737 read Marco's code more carefully in the future.
3739 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3742 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3744 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3745 PopplerRectangle change from poppler CVS.
3747 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3749 * backend/ev-document.c: (ev_document_get_page_label):
3750 * backend/ev-document.h:
3751 * backend/ev-page-cache.c: (_ev_page_cache_new),
3752 (ev_page_cache_get_page_label):
3753 * backend/ev-page-cache.h:
3754 * pdf/ev-poppler.cc:
3755 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3756 (links_page_num_func):
3757 * shell/ev-sidebar-thumbnails.c:
3758 (ev_sidebar_thumbnails_set_document):
3759 * shell/ev-view.c: (status_message_from_link),
3760 (ev_view_motion_notify_event):
3761 * shell/ev-window.c: (document_supports_sidebar): Add in page
3762 label support. It's not perfect yet, but it's the first 'feature'
3764 Also, fix a bogus comment noticed by crispin.
3766 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3768 * Makefile.am: Remove pixbuf backend for now
3770 * configure.ac: Require poppler-glib instead of just poppler.
3772 * backend/ev-document-thumbnails.h: Add a comment
3774 * backend/ev-document.h:
3775 * backend/ev-document.c: (ev_document_class_init),
3776 (ev_document_load), (ev_document_get_link),
3777 (ev_document_get_links): Remove 3 methods and add get_links.
3780 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3781 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3783 * backend/ev-link.c: (ev_link_set_title),
3784 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3785 (ev_link_mapping_find):
3786 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3788 * backend/ev-page-cache.c: (ev_page_cache_init),
3789 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3790 (ev_page_cache_get_size), (ev_page_cache_next_page),
3791 (ev_page_cache_prev_page): Fix to be 0 based.
3795 * pdf/ev-poppler.cc: New backend.
3797 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3798 (ps_document_get_page), (ps_document_document_iface_init):
3800 * shell/ev-pixbuf-cache.h:
3801 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3802 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3803 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3804 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3805 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3806 Fix up code to grab a page cache per each doc. Also, fix to be 0
3809 * shell/ev-sidebar-thumbnails.c:
3810 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3811 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3813 * shell/ev-view.c: (status_message_from_link),
3814 (find_page_at_location), (get_link_at_location),
3815 (ev_view_motion_notify_event), (ev_view_button_release_event),
3816 (ev_view_init): Use the new link code. Fix to be 0 based.
3818 * shell/ev-window.c: (update_action_sensitivity),
3819 (document_supports_sidebar): 0 based.
3821 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3823 * pdf/pdf-document.cc: Patch from Fernando Herrera
3824 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3827 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3829 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3830 1 to the page, as this seems to be 1 based. I thought we has this
3833 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3836 * backend/Makefile.am:
3837 * backend/ev-document-links.c:
3838 (ev_document_links_has_document_links),
3839 (ev_document_links_get_links_model):
3840 * backend/ev-document-links.h:
3841 * backend/ev-document.c: (ev_document_get_page_cache),
3842 (ev_document_get_doc_mutex), (ev_document_load),
3843 (ev_document_save), (ev_document_get_title),
3844 (ev_document_get_n_pages), (ev_document_set_page),
3845 (ev_document_get_page), (ev_document_set_target),
3846 (ev_document_set_scale), (ev_document_set_page_offset),
3847 (ev_document_get_page_size), (ev_document_get_text),
3848 (ev_document_get_link), (ev_document_render),
3849 (ev_document_render_pixbuf), (ev_document_scale_changed):
3850 * backend/ev-document.h:
3851 * backend/ev-job-queue.c: (remove_object_from_queue),
3852 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3853 (no_jobs_available_unlocked), (ev_render_thread),
3854 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3855 (ev_job_queue_remove_job):
3856 * backend/ev-job-queue.h:
3857 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3858 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3859 (ev_job_links_class_init), (ev_job_render_init),
3860 (ev_job_render_dispose), (ev_job_render_class_init),
3861 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3862 (ev_job_thumbnail_class_init), (ev_job_finished),
3863 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3864 (ev_job_render_run), (ev_job_thumbnail_new),
3865 (ev_job_thumbnail_run):
3866 * backend/ev-jobs.h:
3867 * backend/ev-link.c:
3868 * backend/ev-link.h:
3869 * backend/ev-page-cache.c: (ev_page_cache_init),
3870 (ev_page_cache_class_init), (ev_page_cache_finalize),
3871 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3872 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3873 (ev_page_cache_set_link), (ev_page_cache_get_title),
3874 (ev_page_cache_get_size), (ev_page_cache_next_page),
3875 (ev_page_cache_prev_page):
3876 * backend/ev-page-cache.h:
3877 * pdf/pdf-document.cc:
3880 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3881 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3882 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3883 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3884 (is_interpreter_ready), (output), (catchPipe), (input),
3885 (start_interpreter), (check_filecompressed), (compute_dimensions),
3886 (ps_document_enable_interpreter), (document_load),
3887 (ps_document_next_page), (render_page), (ps_document_set_page),
3888 (ps_document_set_scale), (render_pixbuf_idle),
3889 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3891 * shell/Makefile.am:
3892 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3893 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3894 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3895 (ev_pixbuf_cache_new), (job_finished_cb),
3896 (check_job_size_and_unref), (move_one_job),
3897 (ev_pixbuf_cache_update_range), (find_job_cache),
3898 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3899 (ev_pixbuf_cache_add_jobs_if_needed),
3900 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3901 * shell/ev-pixbuf-cache.h:
3902 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3903 (idle_print_handler):
3904 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3905 (selection_changed_cb), (create_loading_model),
3906 (ev_sidebar_links_construct), (links_page_num_func),
3907 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3908 (update_page_callback), (job_finished_cb),
3909 (ev_sidebar_links_set_document):
3910 * shell/ev-sidebar-thumbnails.c:
3911 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3912 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3913 (page_changed_cb), (thumbnail_job_completed_callback),
3914 (ev_sidebar_thumbnails_set_document):
3915 * shell/ev-sidebar-thumbnails.h:
3916 * shell/ev-sidebar.c: (ev_sidebar_set_document):
3917 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3918 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3919 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3920 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3921 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3922 (ev_view_button_release_event), (ev_view_scroll_view),
3923 (ev_view_class_init), (ev_view_init), (update_find_status_message),
3924 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3925 (ev_view_new), (job_finished_cb), (page_changed_cb),
3926 (ev_view_set_document), (go_to_link), (ev_view_zoom),
3927 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3928 (ev_view_find_previous):
3930 * shell/ev-window.c: (update_action_sensitivity),
3931 (ev_window_open_page), (update_window_title), (update_total_pages),
3932 (page_changed_cb), (ev_window_setup_document),
3933 (password_dialog_response), (ev_window_cmd_save_as),
3934 (ev_window_print), (ev_window_cmd_go_previous_page),
3935 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3936 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3937 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3938 * shell/main.c: (main):
3940 Merge evince-threads branch
3942 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
3944 * configure.ac: Added "lt" to ALL_LINGUAS.
3946 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
3953 2005-03-13 Fernando Herrera <fherrera@onirica.com>
3955 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3957 Fix here also the thumbnails 1-basedness :)
3959 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3966 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
3968 * pdf/pdf-document.cc:
3969 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3970 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3972 Fix the mess we did with thumbnails and 1-basedness
3974 2005-03-12 Changwoo Ryu <cwryu@debian.org>
3976 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3978 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
3985 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
3988 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3989 (gtk_gs_defaults_get_alpha_parameters),
3990 (gtk_gs_defaults_get_ungzip_cmd),
3991 (gtk_gs_defaults_get_unbzip2_cmd):
3993 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3994 (ps_document_get_orientation), (document_load),
3995 (ps_document_goto_page), (ps_document_set_page_size):
3998 Some more sanitization of the ps backend. Remove a lot
3999 of unused code and do not base our defaults on ggv
4002 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4004 * thumbnailer/evince-thumbnailer.schemas:
4005 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4006 (main): add -s option for thumbnail size.
4008 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4012 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4015 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4017 * pdf/pdf-document.cc:
4019 Remove 4 pixels of useless border from the
4022 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4024 * backend/ev-document-thumbnails.c:
4025 (ev_document_thumbnails_get_thumbnail):
4026 * backend/ev-document-thumbnails.h:
4028 Rework API a bit. Add a border flag and
4029 change sizing logic (now the size we specify
4030 applies to the bigger dimension).
4032 * pdf/pdf-document.cc:
4033 * pixbuf/pixbuf-document.c:
4034 (pixbuf_document_thumbnails_get_thumbnail):
4035 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4036 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4038 Adapt to the new API and do not draw a border for nautilus
4041 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4043 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4044 take thumbnails from page "0" instead of "1". Added a copyright header.
4046 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4048 * ps/ps-document.c: (set_up_page), (start_interpreter):
4050 Make it C89 compliant
4052 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4057 * pdf/pdf-document.cc:
4058 * thumbnailer/Makefile.am:
4059 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4061 * thumbnailer/evince-thumbnailer.schemas:
4062 * thumbnailer/pdf-icon.png:
4064 Add a nautilus thumbnailer.
4065 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4067 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4075 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4077 Use poppler instead of including xpdf source code. Poppler is a
4078 fork of xpdf to build it as a shared library. See
4079 http://freedesktop.org/wiki/Software/poppler.
4081 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4084 * pdf/Makefile.am: Build libpdfdocument.a here.
4086 * pdf/GDKSplashOutputDev.cc:
4087 * pdf/GDKSplashOutputDev.h:
4088 * pdf/GnomeVFSStream.cc:
4089 * pdf/GnomeVFSStream.h:
4092 * test-gdk-output-dev.cc
4094 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4097 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4099 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4101 Clear idle stack before unsetting the document
4103 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4105 * ps/ps-document.c: (ps_document_widget_event),
4106 (ps_document_set_target), (ps_document_finalize),
4107 (ps_document_get_page):
4109 Disconnect the widget event signal on finalize.
4112 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4114 * ps/ps-document.c: (set_up_page):
4116 If there is no bpixmap create one, even if size
4119 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4121 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4122 (set_up_page), (document_load), (ps_document_set_zoom):
4124 Default page is 0. Calculate size even when we have no
4127 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4129 * shell/ev-sidebar.c: expand the selection widget to be always as
4132 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4134 * shell/ev-sidebar-thumbnails.c:
4135 (ev_sidebar_thumbnails_set_document):
4137 Clear the list store when setting document
4139 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4141 * shell/ev-page-action.c: (update_entry), (sync_entry),
4142 (activate_cb), (entry_size_request_cb), (create_tool_item),
4145 Use an entry for the page control instead of spinbuttons
4147 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4149 * data/evince.schemas.in:
4151 Correct confusing string
4153 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4155 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4156 for real. Gosh, how long has this been broken.
4158 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4159 check for a NULL link. We crash otherwise.
4161 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4168 2005-02-25 Sebastien Bacher <seb128@debian.org>
4170 * configure.ac: add the french translation.
4172 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4174 * shell/ev-window.c:
4176 Remove unused header -> fix distcheck
4178 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4180 * shell/ev-window.c: (update_window_title),
4181 (ev_window_popup_password_dialog):
4183 Unescape filename for display
4185 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4187 * pdf/xpdf/pdf-document.cc:
4189 In get_page_size deal with rotation. Also
4190 cleanup the function a bit.
4192 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4194 * pdf/xpdf/pdf-document.cc:
4196 Fix crash when opening in new window
4198 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4202 Check ghostscript >= 7
4204 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4206 * shell/ev-window.c:
4208 Make page width the default sizing mode
4210 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4211 Marco Pesenti Gritti <marco@gnome.org>
4213 * shell/ev-window.c: Remember the sidebar size
4215 * data/evince.schemas.in: Add a new gconf key to store the size of
4218 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4220 * data/evince-ui.xml:
4221 * shell/ev-window.c: (update_action_sensitivity),
4222 (ev_window_cmd_view_reload):
4224 Add a "Reload" action and menu entry
4226 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4228 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4229 iff the type doesn't support thumbnailing and indexing.
4231 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4233 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4235 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4237 * pdf/splash/Splash.cc:
4239 Port fix for a crasher from kde bug
4240 http://bugs.kde.org/show_bug.cgi?id=97131
4242 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4244 * pdf/xpdf/pdf-document.cc:
4246 Return a link even if it's of an unrecognized
4247 type. Otherwise we go in an infinte cycle.
4249 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4251 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4252 (size_allocate_cb), (ev_window_set_sizing_mode):
4254 Update size when switching mode
4256 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4258 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4259 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4260 (ev_window_cmd_view_normal_size):
4262 Fix size toggle buttons behavior
4264 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4266 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4267 (doc_rect_to_view_rect), (ev_view_size_allocate),
4268 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4269 (scale_changed_callback):
4271 Do not cache offsets in size_allocate.
4273 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4275 * shell/ev-view.c: (ev_view_size_allocate):
4277 Calculate offsets before calling the parent
4278 class (which does a redraw)
4280 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4282 * pdf/xpdf/pdf-document.cc:
4284 Fix a crasher on exit. Unused code, put a TODO
4286 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4288 * backend/ev-document.c: (ev_document_class_init),
4289 (ev_document_page_changed), (ev_document_scale_changed):
4290 * backend/ev-document.h:
4292 Separate page/scale notifications
4294 * pdf/xpdf/pdf-document.cc:
4296 Emit the new signals.
4297 Do not display the pdf page in _render, do it
4298 when scale/page are requested.
4300 * ps/ps-document.c: (ps_document_set_zoom),
4301 (ps_document_widget_event):
4304 Emit the new signals.
4306 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4307 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4308 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4309 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4311 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4312 (ev_window_cmd_view_page_width), (size_allocate_cb),
4313 (ev_window_set_sizing_mode):
4315 Rework sizing to be pixel based.
4316 There are bugs but should be already way better.
4318 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4320 * shell/ev-window.c: (ev_window_init):
4322 Do not allow to shrink sidebar smaller then
4325 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4327 * shell/ev-sidebar.[ch]
4328 * shell/ev-window.c:
4330 Improved sidebar widget. Fixes #166683
4332 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4334 * shell/ev-view.c (update_find_status_message): Give translators
4335 more flexibility with ngettext plural handling.
4337 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4339 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4340 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4341 page when we get the page size.
4343 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4345 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4347 ps pages are 0 based, convert
4349 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4351 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4353 Initialize correct parent class. Set GError on document load
4355 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4357 * pdf/xpdf/pdf-document.cc:
4359 Fixup selection offset calculation
4361 * shell/ev-view.c: (view_rect_to_doc_rect),
4362 (doc_rect_to_view_rect), (ev_view_size_allocate),
4363 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4364 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4366 Store selection as document relative, so that zooming
4367 and offset changing doesnt break it.
4369 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4371 * shell/ev-view.c: (ev_view_best_fit):
4373 Do not try to best fit if the view is not realized
4375 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4377 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4379 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4381 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4383 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4385 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4386 the popup window. That prevents it resizing when in full screen
4389 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4390 multiple rerenders. This pretty much sucks.
4392 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4393 rest of the toolbar.
4395 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4397 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4399 2005-02-17 Alexander Shopov <ash@contact.bg>
4401 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4403 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4405 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4407 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4409 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4410 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4411 (set_document_page), (document_changed_callback),
4412 (ev_view_set_document), (ev_view_find_previous),
4413 (ev_view_hide_cursor), (ev_view_show_cursor):
4415 * shell/ev-window.c: (update_chrome_visibility),
4416 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4417 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4418 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4419 (ev_window_unfullscreen):
4420 * shell/main.c: (main):
4422 Automatically hide the fullscreen button.
4423 Patch by Kristian Høgsberg <krh@redhat.com>
4425 2005-02-16 Vincent Noel <vnoel@cox.net>
4427 * shell/main.c (main): Specify an icon for the window. Patch by
4428 Jaap A. Haitsma. Fixes #166177.
4430 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4432 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4434 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4436 * backend/ev-document-misc.h:
4437 * backend/ev-document-misc.c:
4438 (ev_document_misc_get_page_border_size),
4439 (ev_document_misc_paint_one_page): New function to canonicalize
4440 sizing/painting a border.
4442 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4445 * pdf/xpdf/pdf-document.cc: use new function
4447 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4448 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4449 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4450 shell/ev-window.c: (update_sizing_buttons),
4451 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4452 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4453 (ev_window_cmd_view_page_width), (size_allocate_cb),
4454 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4455 and "fit width" values act as toggle buttons so they stay
4456 toggled. It's not 100% perfect, and it's a little slow, but it's
4457 good enough to commit I think.
4459 2005-02-15 David Lodge <dave@cirt.net>
4461 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4463 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4465 * shell/ev-window.c (update_window_title): replace newlines in
4466 the title by spaces. Bug #166107.
4468 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4470 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4471 parameters providing allocation width and height without
4472 scrollbars and width of a possible vertical scrollbar. With this
4473 additional information the functions can work as
4474 intended. Unfortunately they're not idempotent. We should
4475 transform these commands to toggles. Fixes Bug #164976
4476 Initial patch by Stephane Loeuillet, then heavily modified.
4478 * shell/ev-view.h: update prototypes.
4480 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4481 (ev_window_cmd_view_page_width): provide EvView fit functions with
4482 all the information they need. Formulas to calculate this
4483 information taken from GtkScrolledWindow.
4485 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4487 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4488 created a thumbnail, the list store is updated to know
4489 that the thumbnail is set. Fixes bug #166792
4491 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4493 * shell/ev-window.c: fixed typo, closes bug 166897
4495 * TODO: updated TODO with bug numbers that are relevant
4497 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4499 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4501 2005-02-09 Vincent Noel <vnoel@cox.net>
4503 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4504 and "Next" toolbar buttons as important to make them stand out.
4506 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4510 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4511 (start_interpreter), (stop_interpreter), (document_load),
4512 (ps_document_next_page), (ps_document_goto_page),
4513 (ps_document_set_page_size), (ps_document_widget_event),
4514 (ps_document_render):
4515 * shell/ev-page-view.c: (ev_page_view_dispose):
4516 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4518 Fix compilation on non-gcc platforms
4520 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4527 * pdf/xpdf/Catalog.cc:
4530 Fix the fix for CAN-2004-0888
4532 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4535 * data/evince-ui.xml:
4536 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4537 * shell/ev-stock-icons.h:
4538 * shell/ev-window.c: (update_action_sensitivity),
4539 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4540 (set_action_properties):
4542 Improve toolbar layout/icons
4544 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4546 * pdf/xpdf/pdf-document.cc:
4548 Add warnings about unimplemented/unknown link
4551 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4553 * ps/ps-document.c: (set_up_page):
4557 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4559 * ps/ps-document.c: (start_interpreter):
4563 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4565 * shell/ev-page-view.c: (ev_page_view_dispose):
4566 * shell/ev-view.c: (ev_view_finalize):
4567 * shell/ev-window.c: (ev_window_setup_document),
4568 (ev_window_dispose), (ev_window_init):
4570 Solve more refs issues.
4572 I commented out the page_view initialization for now:
4573 it was never destroyed (because it's never added
4574 to a container). Because of that we was leaking
4575 gs processes. Couldnt think to a clean fix.
4576 We need to figure this out, password view has the
4577 same issue probably.
4579 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4581 * ps/ps-document.c: (ps_document_finalize),
4582 (ps_document_get_n_pages), (ps_document_get_page):
4584 Some cleanups, stop the interpreter on finalize
4586 * shell/ev-page-view.c: (ev_page_view_dispose),
4587 (ev_page_view_class_init):
4589 Release our reference on the document
4591 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4595 * doc/debugging.txt:
4598 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4599 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4600 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4603 Add debugging helpers
4606 * ps/ps-document.c: (set_up_page), (start_interpreter),
4607 (stop_interpreter), (document_load), (ps_document_next_page),
4608 (ps_document_goto_page), (ps_document_set_page_size),
4609 (ps_document_widget_event), (ps_document_render):
4610 * shell/Makefile.am:
4611 * shell/ev-view.c: (expose_bin_window):
4612 * shell/main.c: (main):
4616 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4618 * ps/ps-document.c: (ps_document_widget_event):
4620 Initialize message_window, this should make ps
4621 rendering really work! (Never noticed because I was
4622 testing with a ps that is causing gs to exit every time!)
4624 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4626 * data/evince.schemas.in: updated simple error in applyto closing tag
4628 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4634 * data/evince-ui.xml:
4635 A data/evince.schemas.in:
4637 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4638 * shell/ev-stock-icons.h:
4639 * shell/ev-window.c: (update_chrome_visibility),
4640 (update_chrome_flag), (ev_window_cmd_edit_find),
4641 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4642 (ev_window_unfullscreen), (ev_window_focus_in_event),
4643 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4644 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4645 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4646 (ev_window_dispose), (ev_window_class_init),
4647 (set_action_properties), (set_chrome_actions), (load_chrome),
4650 Implement fullscreen mode changes from bug #164776.
4651 Also implement persistent chrome toggles.
4653 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4655 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4657 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4663 Add another check for find interface
4667 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4669 * shell/ev-application.c: (ev_application_open):
4670 * shell/ev-window.c: (ev_window_open):
4672 Open gzipped ps documents
4674 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4677 * shell/ev-view.c: (set_document_page):
4679 Clamp page number, dont try to move to
4682 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4684 * backend/ev-document-find.c: (ev_document_find_changed):
4685 * backend/ev-document-find.h:
4686 * pdf/xpdf/pdf-document.cc:
4687 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4688 * shell/ev-window.c: (find_bar_search_changed_cb):
4690 Fix several bugs with find
4692 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4694 * shell/ev-sidebar-thumbnails.c
4695 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4696 document. Prevents warning from scroll_to_cell.
4698 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4700 * configure.ac: Add «nb» to ALL_LINGUAS too.
4702 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4704 * NOTES: New file with some random thoughts.
4708 * backend/ev-document-misc.c:
4709 (ev_document_misc_get_page_border_size): New function to
4710 canonicalize shadow drawing sizes. Possibly goofy.
4712 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4713 (ev_view_best_fit), (ev_view_fit_width):
4714 * pdf/xpdf/pdf-document.cc:
4715 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4716 * ps/ps-document.c: (ps_document_get_page_size):
4717 * backend/ev-document-misc.h:
4718 * backend/ev-document.c: (ev_document_get_page_size):
4719 * backend/ev-document.h: get_page_size now takes a page number
4720 parameter. Made all the backends/frontends honor it.
4722 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4723 see. Doesn't work yet.
4725 * shell/Makefile.am:
4726 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4727 Doesn't do anything yet.
4729 * shell/ev-sidebar-thumbnails.c:
4730 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4733 * shell/ev-window.c: (update_action_sensitivity),
4734 (ev_window_setup_document), (ev_window_set_page_mode),
4735 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4736 view-swapping code a bit so we can have multiple views on a
4737 document. Add the multi-page view, though it can't be turned on
4740 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4742 * shell/ev-application.c: (ev_application_open):
4743 * shell/ev-view.c: (expose_bin_window):
4744 * shell/ev-window.c: (ev_window_open):
4746 Support eps and check document supports find
4747 before drawing highlightings in expose.
4749 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4751 * pixbuf/pixbuf-document.c:
4752 (pixbuf_document_thumbnails_get_dimensions),
4753 (pixbuf_document_document_thumbnails_iface_init):
4755 implement get_dimensions
4757 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4764 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4766 * shell/ev-view.c: (set_document_page):
4768 Scroll at the top of the page when changing page
4770 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4772 * shell/ev-view.c: (ev_view_motion_notify_event):
4774 Do not redraw unnecessarily
4776 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4778 * pdf/xpdf/pdf-document.cc:
4779 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4780 (expose_bin_window), (find_changed_cb):
4782 Yay! find works now... Now to find bugs...
4784 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4786 * backend/ev-document-find.c: (ev_document_find_base_init),
4787 (ev_document_find_changed):
4788 * backend/ev-document-find.h:
4789 * pdf/xpdf/pdf-document.cc:
4790 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4791 (expose_bin_window), (ev_view_init), (set_document_page),
4792 (ensure_rectangle_is_visible), (jump_to_find_result),
4793 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4794 (ev_view_find_next), (ev_view_find_previous):
4796 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4798 More work on find implementation, mostly there now
4800 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4802 * backend/ev-backend-marshalers.list:
4803 * backend/ev-document-find.c: (ev_document_find_base_init),
4804 (ev_document_find_cancel), (ev_document_find_page_has_results),
4805 (ev_document_find_get_n_results), (ev_document_find_get_result),
4806 (ev_document_find_get_progress), (ev_document_find_changed):
4807 * backend/ev-document-find.h:
4809 Enanche the find interface to be really able to do
4812 * pdf/xpdf/pdf-document.cc:
4816 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4817 (expose_bin_window), (ev_view_init),
4818 (ev_view_get_find_status_message), (find_changed_cb),
4819 (ev_view_set_document), (set_document_page):
4821 Adapt to the new interface. A few things are regressed sorry,
4822 I will finish it soon.
4824 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4826 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4827 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4828 ev_sidebar_thumbnails_parent_class variable, don't define another
4829 parent_class variable.
4831 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4832 (ev_page_action_class_init): ditto.
4834 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4835 (pixbuf_document_class_init): ditto.
4837 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4840 * .cvsignore: ignore various valgrind output files.
4842 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4844 * data/evince-ui.xml:
4845 * shell/Makefile.am:
4846 * shell/ev-history.c:
4847 * shell/ev-history.h:
4848 * shell/ev-navigation-action.c:
4849 * shell/ev-navigation-action.h:
4850 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4851 (ev_view_set_page), (ev_view_fit_width):
4853 * shell/ev-window.c: (update_action_sensitivity),
4854 (ev_window_setup_document), (register_custom_actions):
4856 Kill session history
4858 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4860 * shell/ev-window.c: (update_action_sensitivity):
4862 Fix inverted up/down buttons
4864 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4866 * shell/ev-sidebar-thumbnails.c
4867 (ev_sidebar_thumbnails_select_page): make sure the selected
4868 thumbnail stays visible.
4870 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4872 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4873 scrolled window for Federico.
4875 2005-01-26 Ole Laursen <olau@hardworking.dk>
4877 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4879 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4882 * pdf/splash/SplashFTFontEngine.cc:
4884 Fix CID fonts with freetype 2.1.9
4886 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4888 * TODO: added item for desktop icon thumbnailer
4890 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4892 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4893 unloaded docs when the title is accessed.
4895 * shell/ev-password-view.[hc]: New widget for displaying password
4898 * shell/ev-window.[ch]: Refactor password handling code to handle
4901 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
4909 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
4911 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4912 ignore page offset here, to make search results independent of it,
4914 * shell/ev-view.c (expose_bin_window): but take offsets into
4915 account here. Bug #164932
4917 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4918 scale at the right time. Bug #164996
4920 2005-01-22 Martin Kretzschmar <martink@gnome.org>
4922 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4923 fix the problem. Now I just removed the Adobe font names and hope
4924 that the URW fonts are always in outline format. Bug #164934
4926 * shell/ev-window.c (update_window_title): empty titles are
4927 useless, use filename in that case too.
4929 * NEWS: Add some content.
4931 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
4933 * TODO: added one more TODO item and a TODONE section :)
4935 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4937 * ps/ps-document.h: add page_[xy]_offset fields.
4939 * ps/ps-document.c (ps_document_set_page_offset)
4940 (ps_document_render): Keep offset in consideration in a few
4941 places. Bug #164752 "postscript documents are not centered in
4944 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4945 s/gpdf/evince/. Spotted by Stephane Loeuillet.
4947 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4948 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4949 stub out missing methods for complete EvDocument implementation.
4950 Fixes segfaults with Save A Copy and Copy actions.
4952 * ps/ps-document.c (ps_document_save, ps_document_get_text)
4953 (ps_document_document_iface_init): ditto.
4955 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4959 * data/evince.desktop.in:
4963 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4965 * shell/ev-view.c: (ev_view_button_press_event),
4966 (ev_view_motion_notify_event):
4968 Make selection work in any direction
4970 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4973 * shell/ev-window.c: (set_short_labels), (ev_window_init):
4975 Use shorter labels for some of the toolbars items
4977 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
4979 * pdf/xpdf/pdf-document.cc:
4981 Check the links info is initialized before
4982 using it. Should fix a crash on startup.
4984 2005-01-21 Martin Kretzschmar <martink@gnome.org>
4986 * pixbuf/pixbuf-document.c
4987 (pixbuf_document_thumbnails_get_dimensions): force floating point
4988 division to calculate page_ratio. Fixes crash with landscape
4991 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
4993 * shell/ev-view.c (ev_view_realize): make the bg color darker.
4995 2005-01-20 Martin Kretzschmar <martink@gnome.org>
4997 * shell/ev-view.c (set_document_page): unset has_selection when
4999 (set_document_page): handle paper size changes when the page
5000 changes (test with Free Culture, page 2).
5002 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5004 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5005 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5007 Use normal style color for the widget background and
5008 draw a black box around the page.
5010 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5012 * pdf/xpdf/pdf-document.cc:
5014 Keep offset in consideration in a few places
5016 * shell/ev-view.c: (expose_bin_window):
5018 Set the offsets so that the document is ever centered
5020 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5022 * TODO: Added TODO items and finished off the first todo item
5024 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5025 reflect current authors
5027 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5029 * pdf/xpdf/pdf-document.cc:
5030 * shell/ev-view.c: (ev_view_set_cursor),
5031 (ev_view_motion_notify_event), (document_changed_callback),
5032 (set_document_page):
5034 Show a wait cursor while the page is rendering
5036 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5038 * shell/ev-sidebar-thumbnails.c:
5039 (ev_sidebar_tree_selection_changed),
5040 (ev_sidebar_thumbnails_select_page):
5041 * shell/ev-sidebar-thumbnails.h:
5042 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5043 (ev_view_can_go_forward):
5044 * shell/ev-window.c: (ev_window_open_page),
5045 (ev_window_setup_document), (update_current_page),
5046 (view_page_changed_cb), (ev_window_init):
5047 * shell/ev-window.h:
5049 Ensure thumbnails selection, toolbar page control and
5050 current page are in sync.
5052 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5058 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5060 * backend/Makefile.am:
5061 * backend/ev-document-links.h:
5062 * backend/ev-document-security.c: (ev_document_security_get_type),
5063 (ev_document_security_has_document_security),
5064 (ev_document_security_set_password):
5065 * backend/ev-document-security.h:
5066 * backend/ev-document.c: (ev_document_error_quark):
5067 * backend/ev-document.h:
5069 * data/evince-password.glade:
5070 * pdf/xpdf/pdf-document.cc:
5071 * shell/Makefile.am:
5072 * shell/ev-password.c: (ev_password_set_bad_password_label),
5073 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5074 (ev_password_dialog_get_password),
5075 (ev_password_dialog_set_bad_pass):
5076 * shell/ev-password.h:
5077 * shell/ev-window.c: (ev_window_get_attribute),
5078 (ev_window_set_property), (update_action_sensitivity),
5079 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5080 (ev_window_setup_document), (ev_window_get_password),
5081 (ev_window_open), (ev_window_cmd_save_as),
5082 (using_postscript_printer), (ev_window_print),
5083 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5084 (update_fullscreen_popup), (ev_window_fullscreen),
5085 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5086 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5087 (menu_item_select_cb), (find_bar_search_changed_cb),
5088 (ev_window_dispose), (ev_window_init):
5090 Add initial support for password-supported dialogs. This could be
5091 a lot cooler, but it'll do for now.
5093 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5095 * pdf/xpdf/pdf-document.cc:
5096 * shell/ev-view.c: (status_message_from_link),
5097 (ev_view_set_status), (ev_view_set_cursor),
5098 (ev_view_motion_notify_event), (ev_view_init):
5099 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5101 Fix bugs in the links implementation and change cursor
5102 when hovering a link.
5104 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5106 * viewer/.cvsignore: added cvsignore file for viewer directory
5108 * TODO: created TODO document
5110 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5113 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5114 new functions to help with implementation of sensitivity code
5115 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5116 of all actions that might require it. Fixes a crash when you
5117 click on the Zoom actions in a window lacking a document.
5119 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5121 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5124 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5126 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5127 (pixbuf_document_document_iface_init):
5128 * ps/ps-document.c: (ps_document_get_link),
5129 (ps_document_document_iface_init):
5130 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5131 (status_message_from_link), (ev_view_set_status),
5132 (ev_view_set_find_status), (ev_view_motion_notify_event),
5133 (ev_view_button_release_event), (ev_view_set_property),
5134 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5135 (ev_view_get_find_status_message), (update_find_results),
5136 (ev_view_get_status), (ev_view_get_find_status):
5138 * shell/ev-window.c: (view_status_changed_cb),
5139 (view_find_status_changed_cb), (ev_window_init):
5141 View status message support, use it to show the links.
5144 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5146 * backend/ev-document.c: (ev_document_get_link):
5147 * backend/ev-document.h:
5148 * pdf/xpdf/pdf-document.cc:
5149 * shell/ev-application.c: (ev_application_open):
5150 * shell/ev-application.h:
5151 * shell/ev-sidebar-links.c: (selection_changed_cb):
5152 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5153 (ev_view_go_to_link):
5155 Add support for document links
5157 2005-01-13 Anders Carlsson <andersca@gnome.org>
5159 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5161 Set the spin button limits correctly.
5163 * shell/ev-sidebar-thumbnails.c:
5164 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5165 Support changing pages by clicking on the thumbnails.
5167 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5169 * pixbuf/pixbuf-document.c:
5170 (pixbuf_document_thumbnails_get_dimensions),
5171 (pixbuf_document_document_thumbnails_iface_init):
5173 implement get_dimensions
5175 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5177 * ps/ps-document.c: (ps_document_goto_page):
5179 Fix page switching on multipage documents
5181 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5183 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5185 check for NULL before assigning to width and height parameters
5187 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5189 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5190 (pixbuf_document_set_property), (pixbuf_document_get_property):
5192 implement get/set properties
5194 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5196 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5198 return NULL instead of "Unknown", letting the title get set to
5199 the filename when the pdf has no title.
5201 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5203 * ps/ps-document.c: (ps_document_get_page_count),
5204 (ps_document_goto_page):
5206 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5208 * shell/ev-history.c: (ev_history_get_property),
5209 (ev_history_set_property), (ev_history_class_init),
5210 (ev_history_add_page), (ev_history_set_current_index):
5211 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5212 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5213 (ev_navigation_action_finalize):
5214 * shell/ev-navigation-action.h:
5215 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5216 (ev_view_go_forward), (ev_view_get_find_status_message),
5217 (history_index_changed_cb), (ev_view_set_history):
5219 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5220 (update_current_page), (register_custom_actions):
5222 Implement history dropdowns
5224 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5226 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5227 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5228 (ev_view_go_forward):
5229 * shell/ev-window.c: (register_custom_actions):
5231 Fix several history bugs
5233 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5235 * configure.ac: Add «nb» to ALL_LINGUAS.
5237 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5239 * backend/Makefile.am:
5240 * backend/ev-bookmark.c:
5241 * backend/ev-bookmark.h:
5242 * backend/ev-document-bookmarks.c:
5243 * backend/ev-document-bookmarks.h:
5244 * backend/ev-document-links.c: (ev_document_links_get_type),
5245 (ev_document_links_has_document_links),
5246 (ev_document_links_begin_read), (ev_document_links_get_link),
5247 (ev_document_links_get_child), (ev_document_links_next),
5248 (ev_document_links_free_iter):
5249 * backend/ev-document-links.h:
5250 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5251 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5252 (ev_link_get_link_type), (ev_link_set_link_type),
5253 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5254 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5255 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5256 (ev_link_new_external):
5257 * backend/ev-link.h:
5258 * pdf/xpdf/pdf-document.cc:
5259 * shell/Makefile.am:
5260 * shell/ev-application.c: (ev_application_open_link):
5261 * shell/ev-application.h:
5262 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5263 (ev_history_get_link_nth):
5264 * shell/ev-history.h:
5265 * shell/ev-sidebar-bookmarks.c:
5266 * shell/ev-sidebar-bookmarks.h:
5267 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5268 (ev_sidebar_links_class_init), (selection_changed_cb),
5269 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5270 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5271 (do_one_iteration), (populate_links_idle),
5272 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5273 * shell/ev-sidebar-links.h:
5274 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5275 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5278 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5279 * shell/ev-window.h:
5281 Rename bookmark to link, and use "Index" for the sidebar panel.
5283 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5285 * shell/Makefile.am:
5286 * shell/ev-application.c: (ev_application_open_bookmark):
5287 * shell/ev-application.h:
5288 * shell/ev-history.c: (ev_history_init), (free_links_list),
5289 (ev_history_finalize), (ev_history_class_init),
5290 (ev_history_add_link), (ev_history_add_page),
5291 (ev_history_get_link_nth), (ev_history_get_n_links),
5292 (ev_history_get_current_index), (ev_history_set_current_index),
5294 * shell/ev-history.h:
5295 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5296 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5297 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5298 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5301 * shell/ev-window.c: (ev_window_open_bookmark),
5302 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5303 (goto_page_cb), (register_custom_actions):
5304 * shell/ev-window.h:
5306 Initial history implementation. Needs work.
5308 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5310 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5312 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5314 * cut-n-paste/recent-files/egg-recent-item.c:
5315 * cut-n-paste/recent-files/egg-recent-item.h:
5316 * cut-n-paste/recent-files/egg-recent-model.c:
5317 * cut-n-paste/recent-files/egg-recent-util.c:
5318 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5319 * cut-n-paste/recent-files/egg-recent-view.c:
5323 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5325 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5326 (fillGlyph, fillImageMask, drawImage):
5327 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5328 pdf/splash/SplashTypes.h:
5329 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5330 packed mode for Splash.
5332 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5333 RGB8 packed mode, eliminates the pixbuf data creation loop.
5335 * shell/ev-print-job.c (ev_print_job_finalize)
5336 (ev_print_job_set_property, ev_print_job_get_property)
5337 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5338 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5339 (print_closure_finalize, ev_print_job_print): implement
5340 printing (for backends with EvPsExporter)
5342 * shell/ev_print_job.h: update prototypes.
5344 * shell/ev-window.c (ev_window_print): unref print job after
5347 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5348 unless the document implements the EvDocumentFind interface.
5350 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5352 * configure.ac: Added ja to ALL_LINGUAS.
5354 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5356 * pdf/xpdf/pdf-document.cc:
5358 add a FIXME. We should probably not allocate
5359 a bookmark object every time
5361 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5363 * shell/ev-application.c: (ev_application_open),
5364 (ev_application_open_bookmark):
5365 * shell/ev-application.h:
5367 Add a way to open bookmarks
5369 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5370 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5371 (ev_bookmark_set_property), (ev_bookmark_class_init),
5372 (ev_bookmark_new_title), (ev_bookmark_new_link),
5373 (ev_bookmark_new_external):
5375 Support for external uris, better constructors.
5377 * backend/ev-bookmark.h:
5378 * pdf/xpdf/pdf-document.cc:
5379 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5381 Handle external uris
5383 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5385 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5386 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5388 Hook up bookmarks navigation
5390 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5392 * backend/Makefile.am:
5393 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5394 (ev_bookmark_get_title), (ev_bookmark_set_title),
5395 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5396 (ev_bookmark_get_page), (ev_bookmark_set_page),
5397 (ev_bookmark_get_property), (ev_bookmark_set_property),
5398 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5400 * backend/ev-bookmark.h:
5401 * backend/ev-document-bookmarks.c:
5402 (ev_document_bookmarks_get_bookmark):
5403 * backend/ev-document-bookmarks.h:
5404 * pdf/xpdf/pdf-document.cc:
5405 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5407 Add a bookmark object to the backend and use it instead of get_values
5409 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5411 * data/evince-ui.xml:
5413 Cleanup and add select all.
5415 * shell/ev-view.c: (ev_view_select_all),
5416 (ev_view_button_press_event):
5418 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5421 Clear selection on click.
5423 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5425 * shell/ev-sidebar-thumbnails.c
5426 (ev_sidebar_thumbnails_set_document): forgot to unref the
5429 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5431 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5432 at the visible page, not just linearly. This makes it look fast.
5434 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5436 * backend/ev-document-misc.c
5437 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5439 * backend/ev-document-thumbnails.h: New interface to get the size
5442 2005-01-06 Jeremy Katz <katzj@redhat.com>
5444 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5447 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5449 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5450 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5453 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5455 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5457 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5458 fonts. Should fix font problems on systems that have the base
5459 fonts in bitmap format. Reported by James Henstridge
5460 <james@jamesh.id.au>.
5462 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5465 * pdf/xpdf/GfxState.cc:
5467 Fix for CAN-2004-1125
5469 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5471 * shell/ev-view.c: (ev_view_copy):
5473 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5475 Implement Edit->Copy
5477 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5479 * backend/ev-document.c: (ev_document_get_text):
5480 * backend/ev-document.h:
5481 * pdf/xpdf/pdf-document.cc:
5482 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5483 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5484 (ev_view_update_primary_selection), (ev_view_button_press_event),
5485 (ev_view_motion_notify_event), (ev_view_button_release_event):
5487 Beginnings of clipboard support. Incomplete but primary sort
5490 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5492 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5493 (expose_bin_window):
5495 Nicer rubberband drawing, from GtkIconView.
5497 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5499 * backend/ev-document.c: (ev_document_save):
5500 * backend/ev-document.h:
5501 * data/evince-ui.xml:
5502 * pdf/xpdf/pdf-document.cc:
5503 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5505 Implement "Save a copy..." menu item
5507 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5509 * shell/ev-view.c: (ev_view_zoom):
5511 Queue a resize when zoom changes
5513 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5515 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5518 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5521 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5523 * pdf/xpdf/pdf-document.cc
5524 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5526 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5528 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5529 It's slow, but I'll speed it up next!
5531 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5533 * shell/main.c (load_files):
5535 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5536 from the command line and because it seems more appropriate.
5538 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5540 * data/evince-ui.xml:
5541 * shell/ev-window.c: (update_action_sensitivity),
5542 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5544 s/next page/page down
5545 s/previous page/page up
5547 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5549 * data/evince-ui.xml:
5551 Change the layout to match clarkbw design.
5553 * shell/Makefile.am:
5554 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5555 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5556 (ev_navigation_action_finalize),
5557 (ev_navigation_action_set_property),
5558 (ev_navigation_action_get_property),
5559 (ev_navigation_action_class_init):
5560 * shell/ev-navigation-action.h:
5562 Implement clarkbw toolbar navigation controls (incomplete)
5564 * shell/ev-page-action.c: (update_label), (update_spin),
5565 (value_changed_cb), (create_tool_item), (connect_proxy),
5566 (ev_page_action_init), (ev_page_action_finalize),
5567 (ev_page_action_set_property), (ev_page_action_get_property),
5568 (ev_page_action_set_current_page),
5569 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5570 * shell/ev-page-action.h:
5572 Implement a page switcher in the toolbar
5574 * shell/ev-view.c: (ev_view_scroll_view):
5575 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5576 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5577 (register_custom_actions), (ev_window_init):
5579 Change page on PageUp/Down.
5581 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5583 * pdf/xpdf/pdf-document.cc
5584 (pdf_document_thumbnails_get_thumbnail): initial stab at
5585 implementing thumbnail support for pdfs. It only does documents
5586 with precached pdfs now.
5588 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5590 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5591 thumbnail code into a time-based idle as well. Also, turn off the
5592 shadow temporarily as it's really slow.
5594 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5596 * backend/ev-document.c: (ev_document_class_init):
5597 * pdf/xpdf/pdf-document.cc:
5598 * shell/ev-window.c: (ev_window_open):
5600 Fix document title bugs and fallback to
5601 filename when not available.
5603 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5605 * backend/ev-document.c: (ev_document_get_type),
5606 (ev_document_class_init), (ev_document_load),
5607 (ev_document_get_title):
5608 * backend/ev-document.h:
5609 * pdf/xpdf/pdf-document.cc:
5610 * ps/ps-document.c: (ps_document_set_property),
5611 (ps_document_get_property), (ps_document_class_init),
5615 * shell/ev-window.c: (update_window_title), (ev_window_open),
5618 Initial support for document title. Not working yet.
5620 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5622 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5624 Grab focus on the view when clicking it
5626 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5628 * shell/ev-marshal.list:
5629 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5630 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5632 Add key bindings to the view. Now if the focus would work
5635 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5638 * backend/Makefile.am:
5641 * dvi/dvilib/Makefile.am:
5642 * pdf/xpdf/Makefile.am:
5648 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5650 * shell/ev-view.c: (ev_view_realize):
5652 Fix mouse wheel scrolling
5654 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5660 * ps/ps-document.c: (catchPipe), (ps_document_init),
5661 (ps_document_class_init), (ps_document_cleanup),
5662 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5663 (set_up_page), (close_pipe), (is_interpreter_ready),
5664 (interpreter_failed), (output), (input), (start_interpreter),
5665 (stop_interpreter), (file_length), (file_readable),
5666 (check_filecompressed), (check_pdf), (compute_xdpi),
5667 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5668 (ps_document_get_type), (ps_document_emit_error_msg),
5669 (document_load), (ps_document_next_page),
5670 (ps_document_get_current_page), (ps_document_get_page_count),
5671 (ps_document_goto_page), (ps_document_set_page_size),
5672 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5673 (ps_document_load), (ps_document_get_n_pages),
5674 (ps_document_set_page), (ps_document_get_page),
5675 (ps_document_widget_event), (ps_document_set_target),
5676 (ps_document_set_scale), (ps_document_set_page_offset),
5677 (ps_document_get_page_size), (ps_document_render),
5678 (ps_document_document_iface_init):
5681 * shell/ev-window.c: (ev_window_open):
5683 Rename GtkGS to PSDocument
5685 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5687 * ps/gtkgs.c: (gtk_gs_class_init):
5690 Some more leftover...
5692 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5694 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5695 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5696 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5699 Remove unused code and make a lot of stuff private
5701 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5703 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5704 (gtk_gs_defaults_changed):
5710 Cleanup headers dependencies
5712 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5717 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5719 * ps/gtkgs.c: (file_length), (file_readable),
5720 (check_filecompressed), (check_pdf), (gtk_gs_load),
5721 (gtk_gs_get_postscript):
5725 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5730 * ps/gtkgs.c: (gtk_gs_set_zoom):
5734 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5736 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5738 Ensure the page is rerendered when changing zoom
5740 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5742 * backend/ev-document.c: (ev_document_base_init),
5743 (ev_document_changed):
5744 * backend/ev-document.h:
5746 Add a changed event that is emitted when the page content
5747 changes. This is necessary to deal with the fact that
5748 in ps backend rendering happen asycrounously.
5749 This makes the ps backend mostly work.
5751 * pdf/xpdf/pdf-document.cc:
5755 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5756 (ps_document_set_target):
5760 * shell/ev-view.c: (document_changed_callback),
5761 (ev_view_set_document), (ev_view_set_page):
5763 Redraw on the changed signal
5765 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5767 * configure.ac: Added pt_BR to ALL_LINGUAS.
5769 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5771 * backend/ev-document-bookmarks.c:
5772 (ev_document_bookmarks_get_child): *
5773 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5774 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5775 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5776 (ev_sidebar_bookmarks_destroy),
5777 (ev_sidebar_bookmarks_class_init),
5778 (ev_sidebar_bookmarks_construct), (stack_data_free),
5779 (do_one_iteration), (populate_bookmarks_idle),
5780 (ev_sidebar_bookmarks_clear_document),
5781 (ev_sidebar_bookmarks_set_document): *
5782 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5783 (ev_sidebar_add_page),
5784 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5785 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5786 it displays both the topics and the page numbers.
5788 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5790 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5792 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5795 2004-12-23 Adam Weinberger <adamw@gnome.org>
5797 * configure.ac: Added en_CA to ALL_LINGUAS.
5799 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5801 * ChangeLog: replace bottom of this ChangeLog (merged history of
5802 ggv and gpdf; where all paths were wrong and most of the files are
5803 not even in this tree) with ChangeLog (from arch) of the shell
5806 2004-12-23 Havoc Pennington <hp@redhat.com>
5808 * shell/ev-window.c: hook up potentially-questionable "find
5809 results status text" feature - something involving the sidebar or
5810 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5811 might be better in the end.
5813 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5814 with corresponding signal when it should be updated
5816 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5818 2004-12-22 Havoc Pennington <hp@redhat.com>
5820 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5821 find stuff on other pages, sort of (only returns one result on
5822 invisible pages, to show they have results; updates full results
5823 for a page when you view it). Currently repaints the current page
5824 every time a new result is found on any page, which isn't so nice.
5826 2004-12-22 Havoc Pennington <hp@redhat.com>
5828 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5829 the document doesn't support find (better ideas?)
5830 (find_bar_search_changed_cb): handle missing document or document
5831 that doesn't support find
5833 * pdf/xpdf/pdf-document.cc: port to implement the new
5836 * backend/ev-document-find.c: create a new interface for searching
5838 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5840 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5842 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5845 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5846 EvPrintJob constructor arguments.
5848 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5849 for documents that can export PostScript (page by page).
5851 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5853 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5854 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5855 (pdf_document_ps_exporter_iface_init:
5856 Implement EvPSExporter.
5858 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5860 2004-12-22 Anders Carlsson <andersca@gnome.org>
5862 * backend/Makefile.am:
5863 * backend/ev-document-thumbnails.c:
5864 (ev_document_thumbnails_get_type),
5865 (ev_document_thumbnails_get_thumbnail):
5866 * backend/ev-document-thumbnails.h:
5867 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5868 (pixbuf_document_thumbnails_get_thumbnail),
5869 (pixbuf_document_document_thumbnails_iface_init):
5870 * shell/Makefile.am:
5871 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5872 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5873 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5874 * shell/ev-sidebar-thumbnails.h:
5875 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5876 (ev_sidebar_set_document):
5877 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5878 (create_shadow), (ev_pixbuf_add_shadow):
5880 Add thumbnail support.
5882 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5884 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5885 (using_postscript_printer): Set up a print dialog for "PostScript
5888 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5891 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5893 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5895 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5896 (ps_document_set_target), (ps_document_get_page_size),
5897 (ps_document_render):
5902 2004-12-22 Christian Rose <menthos@menthos.com>
5904 * configure.ac: Added "sv" to ALL_LINGUAS.
5906 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
5908 * backend/ev-document-bookmarks.[ch]: new interface to indicate
5909 document supports bookmarks.
5911 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5913 * ps/ggvutils.c: (ggv_file_readable):
5915 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5916 (gtk_gs_get_postscript):
5920 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5922 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5923 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5924 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5925 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5926 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5927 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5928 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5929 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5930 (gtk_gs_set_antialiasing), (ps_document_load),
5931 (ps_document_render):
5934 Another check point for the ps backend. Now I can get it to show
5937 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
5939 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5940 document setting code.
5942 2004-12-22 Anders Carlsson <andersca@gnome.org>
5944 * shell/eggfindbar.c: (entry_activate_callback):
5945 Animate the next button when activate is pressed.
5947 2004-12-22 Anders Carlsson <andersca@gnome.org>
5949 * shell/ev-window.c: (ev_window_cmd_edit_find),
5950 (update_fullscreen_popup), (ev_window_fullscreen),
5951 (ev_window_unfullscreen), (ev_window_state_event_cb),
5952 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5953 Fix bugs in fullscreen code.
5955 2004-12-22 Anders Carlsson <andersca@gnome.org>
5959 * pixbuf/Makefile.am:
5960 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5961 (pixbuf_document_load), (pixbuf_document_get_n_pages),
5962 (pixbuf_document_set_page), (pixbuf_document_get_page),
5963 (pixbuf_document_set_target), (pixbuf_document_set_scale),
5964 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5965 (pixbuf_document_render), (pixbuf_document_begin_find),
5966 (pixbuf_document_end_find), (pixbuf_document_finalize),
5967 (pixbuf_document_class_init),
5968 (pixbuf_document_document_iface_init), (pixbuf_document_init):
5969 * pixbuf/pixbuf-document.h:
5970 * shell/Makefile.am:
5971 * shell/ev-application.c: (ev_application_open):
5972 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5976 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
5979 * dvi/dvilib/Makefile.am:
5981 * configure.ac: Auto*ify dvi and dvi/dvilib
5983 * dvi/Makefile: Remove from CVS
5985 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5988 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5990 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5992 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5995 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5996 (gtk_gs_value_adjustment_changed), (compute_size),
5997 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5998 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5999 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6000 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6001 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6002 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6003 (ps_document_load), (ps_document_get_n_pages),
6004 (ps_document_set_page), (ps_document_get_page),
6005 (ps_document_set_target), (ps_document_set_scale),
6006 (ps_document_set_page_offset), (ps_document_get_page_size),
6007 (ps_document_render), (ps_document_begin_find),
6008 (ps_document_end_find), (ps_document_document_iface_init):
6010 * shell/Makefile.am:
6011 * shell/ev-window.c: (ev_window_open):
6013 Some work to integrate gtkgs with EvDocument
6015 2004-12-22 Anders Carlsson <andersca@gnome.org>
6017 * shell/ev-window.c: (update_fullscreen_popup),
6018 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6019 (exit_fullscreen_button_clicked_cb),
6020 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6021 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6022 (ev_window_state_event_cb), (ev_window_init):
6023 Add fullscreen support from Epiphany.
6025 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6027 * data/ev-stock-zoom-fit-width.png: fit-width
6028 stock icon from gpdf.
6030 * shell/ev-stock-icons.[ch]: copied from gpdf.
6032 * shell/main.c: (main): init stock icons.
6034 * shell/ev-window.c: use the fit-width icon.
6036 * data/evince-ui.xml: add zooming toolbar items.
6038 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6041 (ev_view_best_fit), (ev_view_fit_width): because
6042 get_page_size() returns the scaled page size, we
6043 need to calculate the scale factor relative to
6044 the previous scale factor. Should really just
6045 add get_real_page_size().
6047 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6049 * shell/ev-view.[ch]:
6050 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6051 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6054 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6055 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6056 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6059 * pdf/xpdf/pdf-document.cc:
6060 (pdf_document_begin_find),
6061 (pdf_document_end_find): make static.
6063 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6065 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6067 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6068 names to fontconfig patterns.
6069 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6071 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6074 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6090 Import ggv backend. Not hooked up yet.
6092 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6094 * shell/main.c: (load_files), (main): load files
6095 from the command line.
6097 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6099 * configure.ac: don't require bonobo.
6101 * cut-n-paste/recent-files/*: kill bonobo recent
6104 * shell/ev-window.c:
6105 (ev_window_is_empty): upd.
6106 (unable_to_load), (ev_window_open): load backend
6107 based on the mime type.
6109 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6111 * backend/.cvsignore: ignore generated marshalers source.
6113 * shell/main.c (main): this is not epiphany.
6115 2004-12-22 Havoc Pennington <hp@redhat.com>
6117 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6118 (expose_bin_window): draw find highlights
6120 * shell/ev-window.c (find_bar_search_changed_cb): implement
6122 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6123 (pdf_document_end_find): implement this interface
6125 * backend/ev-document.c (ev_document_found): add this to emit
6128 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6130 * data/evince-ui.xml: Add a few more toolbar items.
6132 * shell/ev-window.c: Hook up page navigation toolbar
6135 * shell/ev-view.[ch]: add ev_view_set/get_page and
6136 a page-changed signal.
6138 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6139 Add ev_document_get_page().
6141 * shell/ev-window.c: Sensitize/desensitize navigation
6144 2004-12-21 Havoc Pennington <hp@redhat.com>
6146 * backend/ev-backend-marshal.c,
6147 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6148 marshaler-generator thingy. I'm sure there's a better way to do
6149 this in the modern world.
6151 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6152 end_find methods and "found" signal.
6154 * configure.ac: find glib-genmarshal
6156 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6158 * shell/ev-sidebar.c: Construct an actual sidebar.
6159 * shell/ev-sidebar-bookmarks.[ch]:
6160 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6162 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6164 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6167 * shell/ev-view.c: Track the size from the document.
6169 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6171 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6172 constructor assumes ownership of the string passed in.
6174 * shell/ev-window.c (ev_window_open): Destroy the error
6175 dialog once we've displayed it.
6177 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6179 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6180 a bit, it works! (sort of)
6182 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6183 Move to .cc since we need to use C++ in the implementation.
6185 * shell/dummy.cc: Add a CC file to force evince
6186 to be linked as a C++ program.
6188 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6190 * shell/ev-view.[ch]: Start of content-area widget.
6192 * shell/ev-window.c: Create a EvView, update it
6193 as we change documents.
6195 * shell/Makefile.am shell/ev-marshal.list: Add
6196 generated marshalers.
6198 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6200 * Makefile.am (SUBDIRS): move shell.
6202 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6204 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6205 .a to libtool convenience libraries.
6207 * shell/ev-window.c (ev_window_open): Hard code loading
6210 * backend/ev-document.h: Add a boolean return to load(),
6211 fix GError * to GError **.
6213 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6214 object for a PDF backend EvDocument.
6216 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6218 * dvi/*: New directory with the beginning of a .dvi backend.
6220 2004-12-21 Havoc Pennington <hp@redhat.com>
6222 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6223 previous/next instead of back/forward
6225 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6227 * backend/ev-document.[ch]: Fix a couple of problems so
6230 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6232 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6233 to backend/ directory, rename EvViewer to EvDocument.
6235 2004-12-21 Havoc Pennington <hp@redhat.com>
6237 * shell/ev-window.c: hook up the find bar widget; now we just need
6238 a document to find things in
6240 * shell/eggfindbar.c: a find bar widget
6242 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6244 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6246 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6248 * pdf/**: Import of xpdf code from gpdf.
6250 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6252 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6253 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6254 Fix FreeType includes.
6256 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6257 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6258 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6259 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6260 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6261 Include xpdfconfig.h
6263 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6265 * shell/ev-window.c (ev_window_dispose): dispose can be called
6268 2004-12-21 Havoc Pennington <hp@redhat.com>
6270 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6273 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6274 items; really they should be synced with the strings, etc. from
6275 current gpdf, but just getting the boring typing out of the way
6277 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6280 * shell/ev-application.c: (window_destroy_cb):
6281 * shell/ev-window.c:
6282 * shell/main.c: (main):
6284 Actually show the window...
6286 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6289 * shell/Makefile.am:
6290 * shell/ev-application.c: (ev_application_class_init):
6291 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6295 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6297 Import to gnome cvs.
6299 * Remove copies of gpdf and ggv trees.
6300 * Rip out all the recursive configure code.
6301 * Remove bonobo machinery.
6302 * viewer/*: GInterfaces that backends should/can implement.
6304 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6306 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6309 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6311 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6312 (ev_application_finalize, ev_application_class_init)
6313 (ev_application_init): use GType instance private data for priv.
6315 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6316 (ev_window_finalize, ev_window_class_init)
6317 (ev_window_init): ditto.
6319 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6321 * shell/ev-application.c (ev_application_new_window): make public
6322 (ev_application_show_initial_window): kill.
6324 * shell/ev-application.h: update prototypes.
6326 * shell/main.cc (main): inline ev_application_show_initial_window.
6328 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6330 * shell/ev-application.c (ev_application_new_window): impl.
6331 (ev_application_show_initial_window): use it.
6332 (is_window_empty, ev_application_get_empty_window): returns an
6333 existing empty window or a new one.
6334 (ev_application_open): from ev_window_cmd_file_open.
6336 * shell/ev-application.h: update prototypes
6338 * shell/ev-window.c (ev_window_is_empty): impl.
6339 (ev_window_open): make public.
6340 (ev_window_cmd_file_open): use ev_application_open
6342 * shell/ev-window.h: update prototypes, remove unused.
6344 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6346 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6347 move destroy handler out of here...
6349 * shell/ev-application.c, shell/ev-application.h: ...into this new
6350 class. Also handles initial window creation.
6352 * shell/main.cc (main): use EvApplication to create initial
6355 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6357 * Makefile.am (SUBDIRS): add cut-n-paste
6359 * cut-n-paste/Makefile.am: add
6361 * configure.ac: generate Makefiles in cut-n-paste
6363 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6365 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6366 (ev_window_class_init): install ev_window_dispose.
6368 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6370 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6371 char (gchar looks stupid).
6373 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6375 * po/de.po: updated German translation.
6377 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6379 * configure.ac: add more pkg-config library checks for gnome-vfs,
6382 * gpdf/configure.in: temporarily disable libpaper
6383 checks. Otherwise I'd have to add the checks for the shell, too.
6385 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6387 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6388 and * file filters to the file choose.
6390 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6392 * po/de.po: Updated German translation.
6394 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6396 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6398 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6400 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6402 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6403 (ev_window_init): implement those menuitems.
6405 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6407 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6409 * shell/ev-window.c (ev_window_init): use the toolbar.
6411 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6413 * shell/ev-window.c (ev_window_init): use menu translations
6415 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6417 * configure.ac: add "de" to ALL_LINGUAS.
6419 * po/de.po: add German translation.
6421 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6423 * Makefile.am (SUBDIRS): add po
6425 * configure.ac: check intltool, glib-gettext etc, generate
6428 * po, po/POTFILES.in, po/POTFILES.skip: new.
6430 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6432 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6433 already use (#ifdef ENABLE_NLS)
6435 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6436 pointer indirection thinko.
6438 * shell/main.c: include gi18n.h for bindtextdomain etc.
6440 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6442 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6443 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6444 tooltips for menu items in the statusbar.
6446 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6448 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6449 pkgdatadir drop UIDIR
6451 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6453 * data/evince-ui.xml: Add File->Open menu item
6455 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6456 chooser), hook it up in the ui manager.
6458 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6460 * shell/ev-window.c: fix Help->About tooltip.
6462 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6464 * configure.ac: set CFLAGS for libevprivate.
6466 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6467 definitions, factory etc.
6469 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6471 * shell/Makefile.am: link against libevprivate.a.
6473 * shell/ev-window.c (entries): add stock icon to Help->About.
6475 * shell/main.c (main): init stock icon code.
6477 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6479 * lib/recent-files: egg recent files code
6481 * lib/Makefile.am: add.
6483 * Makefile.am: add lib subdir.
6485 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6486 set CFLAGS for recent-files.
6488 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6490 * configure.ac: disable -ansi and -pedantic gcc flags. They
6491 disable POSIX stuff in stdio.h, but egg-recent uses them.
6493 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6495 * configure.ac: add --disable-deprecated flag (defaults to on in
6498 * shell/Makefile.am (INCLUDES): use it.
6500 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6502 * shell/main.c: add missing #include.
6504 * shell/ev-window.c: fix for pedantic gcc.
6505 (ev_window_cmd_help_about): split license into paragraphs for
6506 translators and pedantic compilers.
6508 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6510 * configure.ac: add more warning flags if compiling with gcc from
6511 cvs (or explicitly requested with --enable-more-warnings).
6513 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6515 * data/evince-ui.xml: add File and File->Close menu.
6517 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6518 (ev_window_destroy): quit after destroy.
6519 (ev_window_class_init): override GtkObject::destroy.
6520 (entries): install close_window callback.
6522 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6524 * Makefile.am (SUBDIRS): add data subdir.
6526 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6527 gtk+ 2.5.0 for GtkAboutDialog.
6529 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6532 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6534 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6536 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6538 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6540 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6542 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6544 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6546 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6548 * shell/*: Added shell directory boilerplate, build it.
6550 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6552 * configure.ac, Makefile.am: Added top-level configure.ac and