1 2005-12-28 Abel Cheung <maddog@linuxhall.org>
3 * configure.ac: Added "zh_HK" to ALL_LINGUAS.
5 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
7 * backend/ev-link.c: (ev_link_get_page), (ev_link_init):
8 * shell/ev-page-action.c: (build_new_tree_cb):
9 * shell/ev-sidebar-links.c: (links_page_num_func),
10 (update_page_callback_foreach), (update_page_callback):
11 * shell/ev-view.c: (scroll_to_current_page):
13 Fix for the bug #325067 with more intelligent selection
14 of current link in sidebar. Make sidebar handle links
15 of FITR-like type more correctly.
17 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
18 (dvi_pixbuf_put_pixel):
20 Fix memory consumtion with disabled alpha channel.
22 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
25 * shell/ev-window.c: (view_menu_popup_cb),
26 (ev_popup_cmd_open_link), (ev_window_init):
28 Update context menu for internal links. Fix for the bug
31 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
33 * shell/ev-view.c: (ev_view_popup_menu), (ev_view_class_init):
35 Bind context menu to keyboard also. Fix for the bug
38 2005-12-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
40 * shell/ev-view.c: (selection_scroll_timeout_cb):
42 Horizontal scroll on selection also.
44 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
46 * shell/ev-metadata-manager.c: (parse_value):
47 * shell/ev-view.c: (goto_xyz_link):
49 Correct zoom setup and metadata save broken in
52 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
54 * shell/ev-view-private.h:
55 * shell/ev-view.c: (scroll_to_current_page),
56 (view_set_adjustment_values), (goto_fitr_link), (goto_fitv_link),
57 (goto_fith_link), (goto_fit_link), (goto_xyz_link),
58 (page_changed_cb), (ev_view_set_continuous),
59 (ev_view_set_dual_page), (ev_view_set_presentation):
61 Delay scroll until allocation to correctly position page. Fix
64 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
69 Update NEWS and require poppler 0.5.0.
71 2005-12-25 Carlos Garcia Campos <carlosgc@gnome.org>
74 * shell/ev-view-private.h:
75 * shell/ev-view.c: (ev_view_get_link_at_location),
76 (handle_link_over_xy), (ev_view_button_press_event),
77 (ev_view_button_release_event), (ev_view_class_init):
78 * shell/ev-window.c: (view_menu_popup_cb), (ev_window_dispose),
79 (ev_popup_cmd_open_link), (ev_popup_cmd_copy_link_address),
82 Implement right-click context menu.
84 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
86 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
87 * dvi/pixbuf-device.c: (dvi_pixbuf_create_image),
88 (mdvi_pixbuf_device_render):
91 Don't generate thumbnails with alpha. See bug #324077.
92 Thanks to Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>.
94 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
96 * shell/ev-window.c: (setup_chrome_from_metadata):
98 Fix typo that was hiding toolbar.
100 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
102 * shell/ev-view-private.h:
103 * shell/ev-view.c: (ev_view_realize), (selection_update_idle_cb),
104 (selection_scroll_timeout_cb), (ev_view_motion_notify_event),
105 (ev_view_button_release_event), (ev_view_destroy):
107 Small cleanup and autoscrolling during selection. Thanks to
108 Ricardo Markiewicz <rmarkie@fi.uba.ar>.
110 2005-12-22 Jani Monoses <jani.monoses@gmail.com>
114 Correctly check for comics option.
116 2005-12-21 Eduardo Lima <eduardo.lima@indt.org.br>
119 * backend/Makefile.am:
120 * backend/ev-document-factory.c:
121 * shell/ev-document-types.c:
123 Included option in configure to make ps backend
124 compilation optional with --disable-ps.
126 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
128 * backend/ev-document-factory.c:
129 * comics/Makefile.am:
130 * comics/comics-document.c: (comics_document_load):
131 * comics/ev-cbr-mime.xml:
134 Comics mime types are added to shared-mime-info CVS. Now
135 we don't need to install our own mime types.
137 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
141 Add shortcut for "save a copy" menu entry. Fix for
144 2005-12-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
146 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
147 (job_finished_cb), (new_selection_pixbuf_needed),
148 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
149 (clear_job_selection), (ev_pixbuf_cache_set_selection_list):
151 Rework selection job info logic and fix critical warning.
153 2005-12-17 Abel Cheung <maddog@linuxhall.org>
155 * configure.ac: Added "cy" "fa" "mk" "vi" to ALL_LINGUAS.
157 2005-11-27 Jaap A. Haitsma <jaap@haitsma.org>
159 * data/evince-ui.xml:
160 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
162 Enter as shortcut key for next page. Fix for the bug
165 2005-11-18 Ales Nyakhaychyk <nab@mail.by>
167 * configure.ac: Added "be" (Belarusian) to ALL_LINGUAS.
169 2005-11-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
171 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
172 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
173 (new_selection_pixbuf_needed),
174 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
175 (clear_job_selection):
177 Too early for 0.5. Pixbuf cache code cleaned a bit.
179 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
184 Release 0.5.0 preparation
186 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
188 * comics/Makefile.am:
190 * shell/ev-document-types.c: (ev_document_types_add_filters):
192 More advanced handling of custom mime type installation.
194 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
196 * data/evince.schemas.in:
197 * shell/ev-metadata-manager.c: (value_free),
198 (ev_metadata_manager_get_last), (ev_metadata_manager_set_last),
199 (ev_metadata_manager_get), (ev_metadata_manager_set):
200 * shell/ev-metadata-manager.h:
201 * shell/ev-window.c: (update_chrome_flag),
202 (ev_window_cmd_focus_page_selector), (update_sidebar_visibility),
203 (setup_document_from_metadata), (setup_chrome_from_metadata),
204 (setup_sidebar_from_metadata), (setup_view_from_metadata),
205 (ev_window_cmd_edit_find), (ev_window_cmd_escape),
206 (ev_window_view_toolbar_cb),
207 (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb),
208 (view_actions_focus_in_cb), (ev_window_init), (ev_window_new):
210 Save last document settings and reuse them for new documents.
212 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
215 * backend/Makefile.am:
216 * backend/ev-document-factory.c:
217 * backend/ev-document-factory.h:
218 * comics/Makefile.am:
219 * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
220 (comics_document_load), (comics_document_save),
221 (comics_document_get_n_pages), (comics_document_get_page_size),
222 (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize),
223 (comics_document_class_init), (comics_document_can_get_text),
224 (comics_document_get_info), (comics_document_document_iface_init),
225 (comics_document_init), (get_supported_image_extensions),
226 (comics_document_thumbnails_get_geometry),
227 (comics_document_thumbnails_get_thumbnail),
228 (comics_document_thumbnails_get_dimensions),
229 (comics_document_document_thumbnails_iface_init), (extract_argv):
230 * comics/comics-document.h:
231 * comics/ev-cbr-mime.xml:
234 * shell/ev-application.c: (ev_application_register_service):
235 * shell/ev-document-types.c: (ev_document_types_add_filters):
236 * thumbnailer/Makefile.am:
237 * thumbnailer/evince-thumbnailer-comics.schemas.in:
239 New CBR/CBZ backend for comic books.
241 2005-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
243 * shell/main.c: (load_files_remote):
245 Thanks to Robert McQueen <robot101@debian.org>. Dbus
246 warning on startup of second instance is fixed. It
249 2005-10-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
251 * shell/ev-window.c: (ev_window_finalize):
253 Fix double free that cause crash.
255 2005-10-29 Bastien Nocera <hadess@hadess.net>
257 * tiff/tiff-document.c: (tiff_document_load):
261 2005-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
265 * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
266 (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
267 (ev_view_accessible_get_text),
268 (ev_view_accessible_get_character_at_offset),
269 (ev_view_accessible_get_text_before_offset),
270 (ev_view_accessible_get_text_at_offset),
271 (ev_view_accessible_get_text_after_offset),
272 (ev_view_accessible_get_character_count),
273 (ev_view_accessible_get_caret_offset),
274 (ev_view_accessible_set_caret_offset),
275 (ev_view_accessible_get_run_attributes),
276 (ev_view_accessible_get_default_attributes),
277 (ev_view_accessible_get_character_extents),
278 (ev_view_accessible_get_offset_at_point),
279 (ev_view_accessible_get_n_selections),
280 (ev_view_accessible_get_selection),
281 (ev_view_accessible_add_selection),
282 (ev_view_accessible_remove_selection),
283 (ev_view_accessible_set_selection),
284 (ev_view_accessible_text_iface_init),
285 (ev_view_accessible_idle_do_action),
286 (ev_view_accessible_action_do_action),
287 (ev_view_accessible_action_get_n_actions),
288 (ev_view_accessible_action_get_description),
289 (ev_view_accessible_action_get_name),
290 (ev_view_accessible_action_set_description),
291 (ev_view_accessible_action_iface_init),
292 (ev_view_accessible_get_type), (ev_view_accessible_new),
293 (ev_view_accessible_factory_get_accessible_type),
294 (ev_view_accessible_factory_create_accessible),
295 (ev_view_accessible_factory_class_init),
296 (ev_view_accessible_factory_get_type):
297 * shell/ev-view-accessible.h:
298 * shell/ev-view-private.h:
299 * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
302 Initial accessibility support.
304 2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com>
306 * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
308 2005-10-26 Hubert Figuiere <hfiguiere@teaser.fr>
310 * shell/ev-print-job.c: (idle_print_handler):
312 Fix for bug Bug 318916: Printing multiple pages.
314 2005-10-20 Runa Bhattacharjee <runa@bengalinux.org>
316 * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
318 2005-10-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
322 Thumnail dimensions unified with other backends.
324 * shell/ev-window-title.c: (ev_window_title_update):
328 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
330 * data/ev-stock-zoom-fit-width.png:
334 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
337 * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
338 (djvu_document_finalize):
339 * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
340 (dvi_document_finalize):
341 * pixbuf/pixbuf-document.c: (pixbuf_document_load),
342 (pixbuf_document_save), (pixbuf_document_finalize):
343 * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
344 (tiff_document_finalize):
346 Save a copy implemented for various backends.
348 2005-10-17 Daniel Gryniewicz <dang@gentoo.org>
352 Don't link with ltiff if tiff is disabled.
354 2005-10-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
356 * pdf/GDKSplashOutputDev.cc:
357 * pdf/GDKSplashOutputDev.h:
360 * pdf/pdf-document.cc:
361 * pdf/pdf-document.h:
362 * pdf/test-gdk-output-dev.cc:
364 Remove old unused files.
366 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
368 * shell/ev-window.c: (ev_window_setup_document):
370 Fixed warnings on reload and probably crash reason.
372 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
374 * properties/ev-properties-view.c:
375 (ev_properties_view_format_date):
377 Check if date is invalid. Fix for bug 318134.
379 2005-10-02 Wouter Bolsterlee <uws+gnome@xs4all.nl>
381 * shell/ev-window-title.c:
383 Add .indd files (Adobe Indesign) to the list of "bad
386 2005-10-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
388 * data/evince-ui.xml:
389 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
391 Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
393 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
395 * shell/ev-window.c: (launch_link), (launch_external_uri),
396 (view_external_link_cb):
398 URL-escape link before passing it to gnome_vfs_url_show.
400 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
402 * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
403 there isn't text selected.
405 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com>
407 * shell/ev-view.c: (handle_link_over_xy):
409 Check tooltip is valid utf8 before showing it
411 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
413 * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
415 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
417 * shell/ev-window-title.c: (ev_window_title_update):
419 Guard against using g_strstrip on NULL. Fixes bug #317291.
421 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
425 Show title even for unknown links
427 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
429 * shell/ev-window-title.c: (ev_window_title_update):
431 Strip the title string
433 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
435 * shell/ev-window-title.c:
437 Add .rtf to the bad extensions list
439 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
441 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
442 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
444 Ignore link coordinates if they are outside page bounds
446 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
448 * backend/ev-link.c: (ev_link_type_get_type),
449 (ev_link_get_filename), (ev_link_get_params),
450 (ev_link_get_property), (ev_link_set_property),
451 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
454 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
455 * shell/ev-window.c: (launch_link), (view_external_link_cb),
458 Implement launch links. Delegate external link opening to
461 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
463 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
464 (ev_link_get_right), (ev_link_get_property),
465 (ev_link_set_property), (ev_link_class_init),
466 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
469 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
473 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
475 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
476 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
477 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
478 (ev_view_size_request_continuous),
479 (ev_view_size_request_dual_page),
480 (ev_view_size_request_single_page), (ev_view_size_allocate),
481 (ev_view_zoom_for_size_continuous_and_dual_page),
482 (ev_view_zoom_for_size_continuous),
483 (ev_view_zoom_for_size_dual_page),
484 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
485 (ev_sizing_mode_get_type):
487 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
489 Do not use modes for link, we need to calculate size ad hoc.
490 Still not perfect because of the usual scrollbar issues grrr.
492 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
494 * backend/ev-link.c: (ev_link_type_get_type),
495 (ev_link_new_page_fith), (ev_link_new_page_fitv):
498 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
499 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
500 (ev_view_size_request_continuous),
501 (ev_view_size_request_dual_page),
502 (ev_view_size_request_single_page), (ev_view_size_allocate),
503 (zoom_for_size_fit_height),
504 (ev_view_zoom_for_size_continuous_and_dual_page),
505 (ev_view_zoom_for_size_continuous),
506 (ev_view_zoom_for_size_dual_page),
507 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
508 (ev_sizing_mode_get_type):
510 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
512 Implement FIT_HEIGHT mode (only for links).
515 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
517 * shell/ev-window-title.c: (get_filename_from_uri),
518 (ev_window_title_sanitize_extension), (ev_window_title_update),
519 (ev_window_title_set_document), (ev_window_title_set_uri),
520 (ev_window_title_free):
521 * shell/ev-window-title.h:
522 * shell/ev-window.c: (ev_window_setup_document),
523 (ev_window_popup_password_dialog):
525 Refactor window title building while fixing it for
528 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
532 Escape link title before setting it in the model
534 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
536 * shell/ev-application.c: (removed_from_session), (save_session),
537 (init_session), (ev_application_get_empty_window),
538 (ev_application_init), (ev_application_get_windows):
539 * shell/ev-application.h:
540 * shell/ev-window.c: (ev_window_finalize):
542 Add a function to retrieve window list and share it where
544 Implement session handling, works pretty well thanks to the
547 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
549 * shell/ev-password.c: (ev_password_item_created_callback),
550 (ev_password_dialog_save_password):
552 Fix for bug 316972. Use async gnome-keyring API.
554 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
556 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
557 Remove unused unrealize handler. Add scroll handling to
558 ev_view_scroll_event for presentation mode (bug #316708),
559 and fix the event state checks there.
561 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
563 * shell/ev-page-action.c: (page_changed_cb):
565 "marco, maybe we should be crazy and jump right to 6! :)"
567 Bryan Clark, Sep 2005
569 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
571 * ps/ps-document.c: (save_document), (ps_document_save),
572 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
573 (ps_document_ps_export_end):
575 Fix unstructured documents save and print
577 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
579 * shell/ev-application.c: (ev_application_open_uri):
581 Fix window size persistance
583 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
585 * shell/ev-view.c: (ev_view_button_release_event):
587 Based on a patch from carlosgc@gnome.org. Mouse buttons
588 switch pages in presentation mode.
590 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
592 * shell/ev-page-cache.c: (ev_page_cache_get_size):
594 Dont cast to int before scaling
596 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
598 * backend/ev-link.c: (ev_link_type_get_type),
599 (ev_link_new_page_xyz), (ev_link_new_page_fit),
600 (ev_link_new_page_fith):
603 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
605 Implement FIT and FITH links
607 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
611 Return 0 results when search is not in progress.
613 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
614 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
616 Update menu sensitivity when cancelling search
618 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
620 * shell/ev-view.c: (ev_view_can_find_next):
622 Take all pages in consideration, not just current one
624 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
626 * shell/ev-page-cache.c:
627 * shell/ev-page-cache.h:
628 * shell/ev-view.c: (ev_view_binding_activated),
629 (ev_view_next_page), (ev_view_previous_page),
630 (ev_sizing_mode_get_type):
632 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
633 (ev_window_cmd_go_next_page):
635 Move page next/previous functions from page chace to
636 view and change it to move by 2 page steps in dual mode.
638 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
640 * shell/ev-window.c: (update_sidebar_visibility),
641 (setup_sidebar_from_metadata), (ev_window_setup_document),
642 (setup_view_from_metadata):
644 Show the index by default when there is one
646 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
648 * shell/ev-window-title.c: (ev_window_title_set_document):
652 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
654 * shell/ev-view.c: (view_update_range_and_current_page):
656 Allow display of last odd page in dual view. Fix for 316347.
658 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
660 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
662 Make close button default. Fix for 316383.
664 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
666 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
668 Mark close button as default. Fix for 316381.
670 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
672 * backend/ev-link.c: (ev_link_class_init):
674 Allow negative doubles in left/top properties
676 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
680 Remove a bunch of strings that was used only
683 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
685 * shell/ev-window-title.c: (get_filename_from_uri),
686 (ev_window_title_set_document):
688 When title has a confusing extension, show also
689 the document filename inside ()
691 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
694 * shell/ev-window-title.c: (ev_window_title_new),
695 (ev_window_title_update), (ev_window_title_set_type),
696 (ev_window_title_set_document), (ev_window_title_free):
697 * shell/ev-window-title.h:
698 * shell/ev-window.c: (ev_window_setup_document),
699 (password_dialog_response), (ev_window_popup_password_dialog),
700 (ev_window_dispose), (ev_window_init):
702 Factor out and cleanup window title code
704 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
706 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
709 Make dialog transient so it doesnt block other windows
711 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
715 Fix pdf thumbnails rendering.
717 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
719 * shell/ev-window.c: (fullscreen_set_timeout):
721 Increase timeout to hide full screen popup. Bug
724 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
726 * data/evince.schemas.in:
727 * shell/ev-window.c: (update_action_sensitivity):
729 Allow the user to override document restrictions. Fix for bug
732 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
734 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
735 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
736 (ev_window_class_init): Fix multihead behaviour of fullscreen
737 toolbar popup. Fixes bug #315451.
739 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
742 * data/evince-password.glade:
743 * shell/ev-password.c: (ev_password_dialog_set_property),
744 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
745 (ev_password_dialog_init), (ev_password_set_bad_password_label),
746 (ev_password_dialog_entry_changed_cb),
747 (ev_password_dialog_entry_activated_cb),
748 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
749 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
750 (ev_password_dialog_set_bad_pass):
751 * shell/ev-password.h:
752 * shell/ev-window.c: (password_dialog_response),
753 (ev_window_popup_password_dialog):
755 Support for gnome-keyring for encrypted PDF's.
757 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
759 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
760 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
761 (ev_view_enter_notify_event), (ev_view_class_init):
763 More precise handling of enter_notify/leave_notify events
764 in EvView. Fix for bug 315470.
766 2005-09-08 Christopher Aillon <caillon@redhat.com>
768 * shell/ev-window.c: (fullscreen_timeout_cb),
769 (fullscreen_set_timeout), (fullscreen_clear_timeout),
772 leak fix: unref fullscreen_timeout_source before clearing it
774 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
776 * configure.ac, dvi/mdvi/Makefile.am:
778 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
780 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
782 * backend/ev-link.c: (ev_link_new_page_xyz):
784 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
786 Fix some bugs with xyz links, respect zoom
788 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
790 * shell/ev-window.c: (page_changed_cb),
791 (setup_document_from_metadata), (update_sidebar_visibility),
792 (setup_view_from_metadata), (ev_window_run_fullscreen),
793 (ev_window_stop_fullscreen), (ev_window_run_presentation),
794 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
795 (ev_window_dual_mode_changed_cb),
796 (ev_window_sidebar_current_page_changed_cb):
798 null check uri before setting and getting metadata
800 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
803 * properties/Makefile.am:
805 * thumbnailer/Makefile.am:
807 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
809 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
811 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
812 (selection_changed_callback):
813 * shell/ev-sidebar-links.h:
815 Add a signal for link activation.
817 * shell/ev-view.c: (ev_view_goto_link),
818 (ev_view_button_release_event):
820 * shell/ev-window.c: (sidebar_links_link_activated_cb),
823 Implement the signal so that we can handle all link types.
825 * shell/ev-page-cache.c:
827 Remove unused set_link function
829 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
831 * lib/ev-tooltip.c: (ev_tooltip_set_position):
833 Add some space from the cursor, hardcoded but I couldnt
836 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
840 Use mozilla style vs gtk style, way better for links.
842 * shell/ev-view.c: (ev_view_motion_notify_event),
843 (ev_view_destroy), (ev_view_init):
845 Deactive tooltip when the link hovered is changed.
847 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
849 * backend/ev-document.h:
850 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
851 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
852 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
853 (ev_link_new_page), (ev_link_new_page_xyz):
856 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
857 (go_to_link), (tip_from_link):
859 Implement xyz links, still not functional. Links are a total
860 mess, will need to refactor and bugfix a lot :(
862 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
864 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
866 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
868 * data/evince-ui.xml:
869 * data/evince.schemas.in:
871 * shell/ev-window.c: (update_chrome_visibility),
872 (password_dialog_response), (ev_window_load_job_cb),
873 (ev_window_xfer_job_cb), (ev_window_open_uri),
874 (ev_window_class_init), (set_chrome_actions), (load_chrome),
877 Remove the statusbar. This regress loading feedback, need to
878 check with Bryan what we want to do there...
880 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
882 * lib/ev-tooltip.c: (ev_tooltip_init):
884 Fix tooltip border and size handling
886 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
888 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
889 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
890 (ev_tooltip_timeout), (ev_tooltip_activate),
891 (ev_tooltip_deactivate):
893 * shell/ev-view.c: (ev_view_motion_notify_event):
895 Delay popup showing. Mirror gtk logic/times.
897 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
900 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
901 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
902 (ev_tooltip_set_text), (ev_tooltip_set_position):
905 Simple widget to show tooltips at a custom position
907 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
910 Use it for links. First go, needs work
912 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
914 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
915 HIG fixes. Use title capitalization for window title. Use 12
916 pixels of space between the dialog's vbox and action area.
918 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
920 * shell/ev-window.c: (file_open_dialog_response_cb),
921 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
922 (ev_window_cmd_save_as):
924 Make file pickers not modal and refactor code some
926 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
928 * shell/ev-sidebar.h:
929 * shell/ev-sidebar.c: (ev_sidebar_set_property),
930 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
931 (ev_sidebar_class_init), (ev_sidebar_select_page),
932 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
933 (ev_sidebar_set_page):
935 Add a current page property and allow to get/set it
937 * shell/ev-window.c: (setup_view_from_metadata),
938 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
940 Persist current sidebar page per document
942 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
944 * data/evince.schemas.in:
945 * shell/ev-window.c: (update_chrome_visibility),
946 (setup_document_from_metadata), (update_sidebar_visibility),
947 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
948 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
949 (ev_window_run_presentation), (ev_window_stop_presentation),
950 (ev_window_view_sidebar_cb),
951 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
952 (load_chrome), (ev_window_init):
954 Persist size/visibility of sidebar per document
956 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
958 * shell/ev-view.c (draw_loading_text): Draw loading text.
960 2005-09-02 Dan Damian <dand@gnome.ro>
962 * configure.in: Added "ro" to ALL_LINGUAS.
964 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
966 * shell/ev-view.c: (clear_caches):
968 ev_page_cache_get doesnt return a reference,
969 dont try to unref it.
971 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
973 * shell/main.c: (load_files_remote):
975 Fix timestamp parameter with dbus <= 0.33
977 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
979 * data/evince.schemas.in:
981 Add missing full stop
983 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
985 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
986 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
988 Plug some memory leaks
990 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
993 * lib/ev-debug.c: (trap_handler):
995 Check for execinfo.h and use it only if it exists.
996 Ported from Epiphany (bug #314776).
998 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
1000 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
1002 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
1004 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
1005 * po/id.po : Added Indonesian translation
1007 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
1010 * shell/ev-application.c: Last minute GTK-2.6 fixes.
1011 * NEWS: Release 0.4.0
1013 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
1015 * configure.ac: catch another gtk+-2.8ism
1016 * shell/main.c: Make work with gtk+-2.6
1018 2005-08-25 Ryan Lortie <desrt@desrt.ca>
1020 * shell/ev-application-service.xml: Add 'timestamp' argument to
1021 ev_application_open_window and ev_application_open_uri methods.
1023 * shell/ev-application.h: Add 'timestamp' argument to
1024 ev_application_open_window, ev_application_open_uri,
1025 and ev_application_open_uri_list functions.
1027 * shell/ev-application.c (ev_application_open_window,
1028 ev_application_open_uri, ev_application_open_uri_list): Change
1029 functions that show/present windows to use a timestamp if one
1032 * shell/ev-window.c (ev_window_cmd_file_open,
1033 ev_window_cmd_recent_file_activate, drag_data_received_cb):
1034 * shell/main.c (load_files): Modify calls to ev_application to
1035 include GDK_CURRENT_TIME as timestamp.
1037 * shell/main.c (load_files_remote): Obtain timestamp for client
1038 instance from GDK and pass to server instance so new windows are
1039 focused properly. Fix dbus_g_proxy_call() calls by including second
1044 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
1046 * shell/ev-window.c (ev_window_finalize): Check for
1047 avail. EvWindows when quiting to handle the finalize better,
1050 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1052 * properties/ev-properties-view.c:
1054 Set textdomain to libglade. Fixes translation problem in property page.
1056 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1058 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
1060 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
1061 * dvi/mdvi-lib/Makefile.am:
1063 Fix rotation of thumbnails, ported to new API. Moved library
1064 dependencies earlier, probably it will fix linkage problem.
1066 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
1068 * backend/ev-document-misc.c:
1069 (ev_document_misc_get_thumbnail_frame):
1070 * backend/ev-document-misc.h:
1072 * pdf/ev-poppler.cc:
1073 * shell/Makefile.am:
1074 * shell/ev-sidebar-thumbnails.c: (add_range),
1075 (ev_sidebar_thumbnails_set_loading_icon),
1076 (ev_sidebar_thumbnails_refresh),
1077 (ev_sidebar_thumbnails_set_document):
1078 * shell/ev-sidebar-thumbnails.h:
1079 * shell/ev-view.c: (ev_view_motion_notify_event),
1080 (ev_view_set_property), (ev_view_get_property),
1081 (ev_view_class_init), (ev_view_set_rotation):
1082 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1083 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
1085 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
1086 Redo rotation (again). prepare for 0.4.0
1088 2005-08-24 Kristian Høgsberg <krh@redhat.com>
1090 * configure.ac: Bump poppler requirement to 0.4.1.
1092 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
1093 argument to poppler_page_render_selection() call.
1095 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1097 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
1098 (djvu_document_thumbnails_get_thumbnail):
1099 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
1100 (dvi_document_thumbnails_get_thumbnail):
1101 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
1102 (pixbuf_document_thumbnails_get_thumbnail):
1103 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
1105 Update rotation direction of backends to fit with pdf and ps.
1107 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
1109 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
1110 * backend/ev-async-renderer.h:
1111 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
1112 (setup_page), (ps_document_get_page_size),
1113 (ps_async_renderer_render_pixbuf):
1115 * shell/ev-jobs.c: (ev_job_render_run):
1117 Fix orientation in the postscript document
1119 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
1121 * pdf/ev-poppler.cc:
1122 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
1123 * shell/ev-view.c: (highlight_find_results):
1125 Adapt to the new poppler rotation API. Fix text maps on landscape
1128 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
1130 * shell/ev-view.c (compute_new_selection_text): get the correct
1131 region when selecting in modes other than continuous.
1133 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1135 * shell/main.c (main): remove redundant g_warnings.
1137 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1139 * shell/Makefile.am: Don't include autogenerated
1140 file ev-application-service.h into distribution, since
1141 it causes dbus crash. Fix for bugs 313724 and 313443.
1143 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1145 * configure.ac: Fix sed expression for FreeBSD. Thanks
1146 to Joe Marcus Clark <marcus@freebsd.org>
1148 * shell/eggfindbar.c: (entry_activate_callback),
1149 (entry_changed_callback), (egg_find_bar_init),
1150 (egg_find_bar_set_search_string):
1152 Made findbar buttons unsensitive if there is no text in
1153 entry. Fix for the bug 313285.
1155 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
1157 * ps/ps-document.c: Use g_filename_display_name for displaying
1158 filenames and revert string freeze breackage
1160 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
1167 * shell/Makefile.am:
1169 Add ev-application-service.xml to extra dist
1171 * shell/ev-view.c: (find_page_at_location):
1173 Remove unused function (fix warning)
1175 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1177 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
1178 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
1180 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
1183 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1185 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
1186 * shell/ev-window.c:
1189 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1191 * configure.ac: Update script to get dbus version.
1192 Fix for the bug #313443.
1194 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1196 * shell/ev-window.c: (ev_window_cmd_escape):
1198 Return focus back to view on escape. Fix for bug 313295.
1200 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1202 * shell/ev-window.c: (update_window_title),
1203 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
1204 (ev_window_cmd_save_as):
1206 Correct conversion from uri to displayable string. Fix for
1209 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1211 * ps/ps-document.c: convert filename to utf8 when there is an error
1212 loading document. Fixes #309915
1214 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
1218 We depend on poppler 0.4.0
1220 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
1223 * NEWS: Release 0.3.3.
1224 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
1226 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
1228 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
1229 add a couple missing mnemonics to menu items, use title
1230 capitalization for menu items and window titles, and add
1231 ellipsis to open menu item.
1233 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
1235 * pdf/ev-poppler.cc:
1236 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
1237 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
1238 (ev_view_get_rotation):
1240 * shell/ev-window.c: (setup_view_from_metadata),
1241 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
1242 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
1245 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
1247 * configure.ac: Added tr to ALL_LINGUAS
1249 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1251 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
1252 requires several clicks to find word. Thanks to
1253 Colin Slater <kiltedtaco@gmail.com>.
1255 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
1257 * data/evince.desktop.in.in: Hide menu entry and
1258 rename it to "Document Viewer". Fix for bug
1261 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
1263 * shell/ev-page-action.c (ev_page_action_class_init):
1265 Point to the correct function in constructor of the
1266 activate_label signal
1268 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
1270 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1271 * shell/ev-jobs.h: Make thread safe.
1273 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1275 * shell/ev-view.c: (view_update_range_and_current_page):
1276 Don't update page range if we are scrolling to some document
1279 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1281 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
1282 when getting max_page_width, fix drawing in dual mode.
1284 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
1286 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
1287 getting the area for select_all.
1289 2005-08-06 Kristian Høgsberg <krh@redhat.com>
1291 * backend/ev-selection.c: (ev_selection_render_selection):
1292 * backend/ev-selection.h:
1293 * pdf/ev-poppler.cc:
1294 * shell/ev-jobs.c: (ev_job_render_new):
1296 * shell/ev-pixbuf-cache.c: (get_selection_colors),
1297 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
1298 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
1299 (ev_view_class_init):
1301 Change selection color on focus in and focus out events. Also,
1302 poppler now uses GdkColor for specifying the selection colors, so
1303 drop some awkward conversion code.
1305 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
1307 * configure.ac: Added Hebrew translation
1309 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
1312 * backend/ev-selection.c: (ev_selection_render_selection):
1313 * backend/ev-selection.h:
1314 * pdf/ev-poppler.cc:
1315 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
1316 (ev_job_render_run):
1318 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1319 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
1320 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
1321 (ev_pixbuf_cache_style_changed),
1322 (ev_pixbuf_cache_get_selection_pixbuf),
1323 (ev_pixbuf_cache_set_selection_list),
1324 (ev_pixbuf_cache_get_selection_list):
1325 * shell/ev-pixbuf-cache.h:
1326 * shell/ev-utils.c: (ev_print_region_contents):
1328 * shell/ev-view.c: (ev_view_queue_draw_page),
1329 (selection_update_idle_cb), (ev_view_motion_notify_event),
1330 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
1331 (setup_caches), (ev_view_find_next), (merge_selection_region),
1333 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
1335 Clean up selection to be much smoother!
1337 2005-08-05 Kristian Høgsberg <krh@redhat.com>
1339 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
1340 to poppler_page_render_selection().
1342 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1344 * ps/ps-document.c: (save_page_list): Use
1345 unzipped document when printing. Thanks to
1346 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
1349 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1351 * shell/ev-window.c: (update_action_sensitivity):
1353 Disable print and save respect to lockdown gconf keys. Fix
1356 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1359 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
1360 (write_to_temp_file), (ev_file_set_contents):
1362 * shell/ev-window.c: (save_print_config_to_file):
1364 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
1367 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
1369 * shell/ev-window.c: (load_print_config_from_file),
1370 (save_print_config_to_file), (ev_window_print_range):
1372 Persist the print settings. Fixes bug #311578.
1374 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1376 * djvu/djvu-document.c: (djvu_document_get_page_size),
1377 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
1378 (djvu_document_thumbnails_get_thumbnail):
1379 * dvi/dvi-document.c: (dvi_document_get_page_size),
1380 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
1381 (dvi_document_thumbnails_get_dimensions),
1382 (dvi_document_thumbnails_get_thumbnail):
1383 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
1384 (pixbuf_document_render_pixbuf),
1385 (pixbuf_document_document_iface_init),
1386 (pixbuf_document_thumbnails_get_thumbnail):
1388 Update backends to make them build with new rotation system.
1390 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1392 * help/C/figures/evince_start_window.png:
1394 Update documentation image from Luca Ferretti <elle.uca@libero.it>
1396 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
1398 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
1399 * shell/ev-pixbuf-cache.h:
1400 * shell/ev-sidebar-thumbnails.c:
1401 (ev_sidebar_thumbnails_get_property), (add_range),
1402 (adjustment_changed_cb):
1403 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
1404 pixbuf cache. Make thumbnailing work again. Also, fix bug where
1405 we were thumbnailing the entire docment on startup, slowing us
1408 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
1410 * shell/ev-page-cache.c: (ev_page_cache_new):
1411 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1412 == 0, fixes #310306.
1414 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1416 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1417 (ev_view_rotate_left):
1419 Account rotation in doc_rect_to_view_rect.
1420 Ensure rotation doesnt go out of bounds.
1422 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1424 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1426 Correct and cleanup w/h swapping
1428 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1430 * backend/ev-document-thumbnails.c:
1431 (ev_document_thumbnails_get_thumbnail):
1432 * backend/ev-document-thumbnails.h:
1433 * backend/ev-document.c:
1434 * backend/ev-document.h:
1435 * backend/ev-render-context.c: (ev_render_context_new),
1436 (ev_render_context_set_rotation):
1437 * backend/ev-render-context.h:
1438 * pdf/ev-poppler.cc:
1439 * ps/ps-document.c: (ps_document_document_iface_init):
1440 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1442 * shell/ev-page-cache.c: (build_height_to_page),
1443 (ev_page_cache_new), (ev_page_cache_get_size),
1444 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1445 (ev_page_cache_get_height_to_page):
1446 * shell/ev-page-cache.h:
1447 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1448 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1449 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1450 (ev_pixbuf_cache_get_selection_pixbuf):
1451 * shell/ev-pixbuf-cache.h:
1452 * shell/ev-print-job.c: (idle_print_handler):
1453 * shell/ev-sidebar-thumbnails.c: (add_range):
1454 * shell/ev-view.c: (view_update_range_and_current_page),
1455 (get_page_y_offset), (get_page_extents),
1456 (ev_view_size_request_continuous_dual_page),
1457 (ev_view_size_request_continuous),
1458 (ev_view_size_request_dual_page),
1459 (ev_view_size_request_single_page), (draw_one_page),
1460 (ev_view_set_rotation), (ev_view_rotate_right),
1461 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1462 (ev_view_zoom_for_size_continuous_and_dual_page),
1463 (ev_view_zoom_for_size_continuous),
1464 (ev_view_zoom_for_size_dual_page),
1465 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1466 (ev_view_select_all):
1467 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1468 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1469 (tiff_document_document_iface_init),
1470 (tiff_document_thumbnails_get_thumbnail):
1472 Use rotation rather than orientation. It's easier and enough
1475 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1477 * shell/ev-page-cache.c: (build_height_to_page),
1478 (ev_page_cache_new), (ev_page_cache_get_size),
1479 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1480 (ev_page_cache_get_height_to_page):
1481 * shell/ev-page-cache.h:
1482 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1483 (ev_view_size_request_continuous_dual_page),
1484 (ev_view_size_request_continuous),
1485 (ev_view_zoom_for_size_continuous_and_dual_page),
1486 (ev_view_zoom_for_size_continuous):
1488 Make the page cache aware of page orientation.
1490 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1492 * backend/ev-document-thumbnails.c:
1493 (ev_document_thumbnails_get_thumbnail):
1494 * backend/ev-document-thumbnails.h:
1495 * backend/ev-document.c:
1496 * backend/ev-document.h:
1497 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
1498 * backend/ev-ps-exporter.h:
1499 * pdf/ev-poppler.cc:
1500 * ps/ps-document.c: (ps_document_document_iface_init),
1501 (ps_document_ps_export_do_page):
1502 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1504 * shell/ev-page-cache.c: (ev_page_cache_get_size),
1505 (ev_page_cache_get):
1506 * shell/ev-page-cache.h:
1507 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1508 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1509 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
1510 * shell/ev-pixbuf-cache.h:
1511 * shell/ev-print-job.c: (idle_print_handler):
1512 * shell/ev-sidebar-thumbnails.c: (add_range):
1513 * shell/ev-view.c: (view_update_range_and_current_page),
1514 (get_page_extents), (ev_view_size_request_dual_page),
1515 (ev_view_size_request_single_page), (draw_one_page),
1516 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
1517 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1518 (ev_view_zoom_for_size_dual_page),
1519 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1520 (ev_view_select_all):
1521 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1522 * tiff/tiff-document.c: (tiff_document_get_page_size),
1523 (tiff_document_get_orientation), (rotate_pixbuf),
1524 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
1525 (tiff_document_thumbnails_get_thumbnail),
1526 (tiff_document_ps_export_do_page), (tiff_document_init):
1528 Really make use of the orientation bit of the render context.
1529 Use the render context in a few more places in the backend API.
1530 This regress orientation, but now it's done right. Will try to
1533 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1535 * shell/ev-view.c: (ensure_rectangle_is_visible):
1537 Patch by Nickolay V. Shmyrev to fix find flickering
1539 2005-07-27 Martin Kretzschmar <martink@gnome.org>
1541 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
1542 duplex parameters to ::begin.
1544 * tiff/tiff-document.c (tiff_document_ps_export_begin):
1545 * shell/ev-print-job.c (idle_print_handler):
1546 * ps/ps-document.c (ps_document_ps_export_begin):
1547 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
1548 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1549 implementations. Poppler backend needs poppler cvs. Rest has
1552 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1554 * shell/ev-window.c (using_pdf_printer): new function.
1555 (ev_window_print_range): print a less techy message if someone
1556 tries to print to PDF.
1558 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1560 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1561 from "unknown font" string. Bug #311431
1563 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1565 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1567 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1571 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1572 name for PopplerFontTypes
1573 (pdf_document_fonts_fill_model): add font type to the detail column
1575 * backend/ev-document-fonts.h: added
1576 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1578 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1579 font name and font details, add a little markup.
1580 (ev_properties_fonts_init): use the new cell data func, specify ypad
1581 property for the cell renderer.
1582 (ev_properties_fonts_set_document): add the details column.
1584 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1586 * configure.ac: Added "pl" to ALL_LINGUAS.
1588 2005-07-24 Danilo Šegan <danilo@gnome.org>
1590 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1592 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1594 * help/ChangeLog: Started this for translations of manual.
1595 * configure.ac, autogen.sh, .cvsignore: Migrated to
1596 gnome-doc-utils. Patch in bug #311222.
1598 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1600 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1601 #ifdef this away to fix an unused-function warning.
1603 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1605 * configure.ac: Added 'gl' to ALL_LINGUAS.
1607 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1609 * configure.ac: Added ne in ALL_LINGUAS
1611 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1613 * shell/ev-view.c: (ev_view_leave_notify_event):
1615 Clear status message when pointer leaves view. Fix for bug
1618 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1620 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1622 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1624 * shell/ev-view.c: (ev_view_leave_notify_event),
1625 (ev_view_class_init):
1627 Set cursor to normal then leaving view.
1629 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1633 Fix required djvulibre version.
1635 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1637 *configure.ac: Hindi (hi) language added
1639 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1641 *configure.ac: Punjabi (pa) Language added
1643 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1645 * data/evince-ui.xml, shell/ev-window.c:
1647 Add keypad accelerators for zooming. Fix for bug 308128.
1649 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1652 * backend/Makefile.am:
1653 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1655 * shell/ev-document-types.c: (ev_document_types_add_filters):
1657 Allow to enable/disable the pixbuf backend.
1658 Default to off for now. If we want it enabled we should
1659 really put mime types in the desktop, implement properties etc.
1661 * properties/evince-properties.c:
1663 Initialize error to NULL.
1664 Check error is not NULL before freeing.
1666 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1668 * shell/ev-window.c:
1670 Use F5 as presentation accell
1672 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1674 * shell/ev-window.c: (update_chrome_visibility),
1675 (ev_window_create_fullscreen_popup), (ev_window_init):
1677 Do not leak the fullscreen toolbar
1679 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1681 * shell/ev-window.c: (view_actions_focus_in_cb),
1682 (view_actions_focus_out_cb):
1684 These has a return value! Fix totally random focus
1685 issues we was seeing.
1687 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1689 * shell/main.c: (load_files_remote):
1691 Allow open more than one file
1693 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1695 * shell/main.c: (load_files_remote):
1697 Fix for dbus 0.33. bug #309975
1699 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1701 * properties/ev-properties-main.c: (ev_properties_get_pages):
1703 Actually return NULL for types we dont support
1705 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1711 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1713 * backend/ev-document-factory.c:
1714 (ev_document_factory_get_document):
1716 Do not try to create the object if type
1719 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1721 * ps/ps-document.c: (ps_document_dispose),
1722 (ps_async_renderer_render_pixbuf):
1725 Do not leak the target window
1727 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1729 * shell/ev-application.c: (ev_application_init):
1731 Let tbe check file existence for us.
1732 Add a comment about eggrecent mime filter.
1734 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1736 * data/evince-ui.xml:
1737 * shell/ev-application.c: (ev_application_shutdown),
1738 (ev_application_init), (ev_application_get_toolbars_model),
1739 (ev_application_get_recent_model),
1740 (ev_application_save_toolbars_model):
1741 * shell/ev-application.h:
1742 * shell/ev-window.c: (ev_window_add_recent),
1743 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1744 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1747 Use common toolbar and recent models for all windows.
1748 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1750 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1752 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1753 successfully check for gtk_icon_view_get_visible_range.
1755 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1760 Fix djvu and dvi backend build.
1762 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1764 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1765 (new_separator_pixbuf):
1769 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1771 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1773 HIGification of toolbar editor dialogue.
1775 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1778 * shell/Makefile.am:
1780 Ever build metadata manager since it's just
1781 disabled at runtime now.
1783 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1785 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1786 (ev_metadata_manager_get), (ev_metadata_manager_set):
1787 * shell/ev-metadata-manager.h:
1789 Add an _init functions that enabled metadata management
1792 * shell/ev-window.c: (page_changed_cb),
1793 (setup_document_from_metadata), (ev_window_setup_document),
1794 (setup_view_from_metadata), (ev_window_open_uri),
1795 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1796 (ev_window_run_presentation), (ev_window_stop_presentation),
1797 (save_sizing_mode), (ev_window_zoom_changed_cb),
1798 (ev_window_continuous_changed_cb),
1799 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1800 (window_configure_event_cb):
1802 Remove all ugly metadata define since we deal with it
1805 * shell/main.c: (load_files_remote), (main):
1807 Add support for dbus cvs head. Hopefully didnt break one
1808 of the other versions now!
1810 If we dont get a response from the dbus server just
1811 give up with it and not enable metadata.
1813 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1816 * backend/Makefile.am:
1818 * cut-n-paste/recent-files/Makefile.am:
1819 * cut-n-paste/toolbar-editor/Makefile.am:
1820 * cut-n-paste/zoom-control/Makefile.am:
1823 * pixbuf/Makefile.am:
1824 * properties/Makefile.am:
1826 * shell/Makefile.am:
1827 * thumbnailer/Makefile.am:
1830 Make frontends depend on just libev.
1831 Rework and group CFLAGS/LIBS definitions.
1834 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1838 do not unnecessarily save zoom
1841 * lib/ev-file-helpers.c: (ev_dot_dir):
1842 * shell/Makefile.am:
1847 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1851 Remove unnecessary dependencies
1853 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1855 * properties/Makefile.am:
1856 * thumbnailer/Makefile.am:
1859 Some more cleanups. Was really necessary
1860 but I probably introduced bugs, feel free
1863 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1865 * backend/Makefile.am:
1867 * cut-n-paste/recent-files/Makefile.am:
1868 * cut-n-paste/toolbar-editor/Makefile.am:
1869 * cut-n-paste/zoom-control/Makefile.am:
1872 * pixbuf/Makefile.am:
1873 * properties/Makefile.am:
1875 * shell/Makefile.am:
1876 * thumbnailer/Makefile.am:
1879 Use gnome-common macros when possible.
1880 Cleanup dependencies.
1881 Actually disable deprecated where possible.
1883 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1886 * backend/Makefile.am:
1887 * properties/Makefile.am:
1888 * shell/Makefile.am:
1889 * thumbnailer/Makefile.am:
1891 This should solve the circular dep without
1892 requiring dir reorg!
1894 * shell/ev-window.c: (setup_view_from_metadata):
1896 Never restore window size/position when the
1897 window is already visible.
1899 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1901 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1903 Return a boolean from timeout func. Fix ported from gedit.
1905 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
1907 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1909 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
1911 * shell/ev-document-types.c: set "All Documents" as default filter in
1914 2005-07-06 Martin Kretzschmar <martink@gnome.org>
1916 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1917 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1918 (ev_metadata_manager_set_boolean): fix value/val thinko.
1920 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1922 * shell/ev-window.c: (setup_view_from_metadata),
1923 (window_state_event_cb), (window_configure_event_cb),
1926 Remember window position and maximized state
1928 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1932 Fix DBUS configure checks.
1934 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
1935 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
1936 (ev_metadata_manager_set_boolean):
1940 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
1941 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1942 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
1943 (ev_window_continuous_changed_cb),
1944 (ev_window_dual_mode_changed_cb), (ev_window_new):
1946 Fix the build without DBUS.
1948 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1950 * shell/ev-metadata-manager.c: (parse_value), (save_values),
1951 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
1952 (ev_metadata_manager_set_string),
1953 (ev_metadata_manager_set_boolean):
1954 * shell/ev-metadata-manager.h:
1956 Add support for some more types
1958 * shell/ev-view.c: (scroll_to_current_page),
1959 (ev_view_get_continuous), (ev_view_set_continuous),
1960 (ev_view_get_dual_page):
1962 * shell/ev-window.c: (page_changed_cb),
1963 (setup_document_from_metadata), (ev_window_setup_document),
1964 (setup_view_from_metadata), (ev_window_open_uri),
1965 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1966 (ev_window_run_presentation), (ev_window_stop_presentation),
1967 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
1968 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
1969 (ev_window_update_dual_page_action),
1970 (ev_window_continuous_changed_cb),
1971 (ev_window_dual_mode_changed_cb), (ev_window_init):
1973 Remember a bunch of view/document properties. Prolly some
1974 are still missing but it's getting interesting.
1976 2005-07-05 Martin Kretzschmar <martink@gnome.org>
1978 * configure.ac: check if dbus-binding-tool is installed. Not the
1979 case on current Ubuntu breezy, it seems.
1981 2005-07-05 Luca Ferretti <elle.uca@libero.it>
1983 * data/evince.desktop.in.in:
1985 Allow open uri lists and add TryExec field.
1987 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
1991 Enable dbus when available, do not require a configure
1994 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
1998 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
2001 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
2002 Marco Pesenti Gritti <mpg@redhat.com>
2004 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
2006 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
2007 functions to the format required by dbus
2009 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
2010 errors. Use the RPC parameters in the expected way
2012 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2015 * properties/Makefile.am:
2016 * properties/ev-properties-main.c: (ev_properties_get_pages):
2018 Support all mime types
2020 * shell/Makefile.am:
2021 * thumbnailer/Makefile.am:
2022 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
2023 (evince_thumbnail_pngenc_get):
2025 Use the document factory
2027 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2029 * backend/Makefile.am:
2030 * backend/ev-document-factory.c:
2031 (mime_type_supported_by_gdk_pixbuf),
2032 (ev_document_type_get_from_mime),
2033 (ev_document_factory_get_document),
2034 (ev_document_factory_get_backend),
2035 (ev_document_factory_get_mime_types),
2036 (ev_document_factory_get_all_mime_types):
2037 * backend/ev-document-factory.h:
2038 * shell/Makefile.am:
2039 * shell/ev-document-types.c: (get_document_from_uri),
2040 (ev_document_types_get_document),
2041 (file_filter_add_mime_list_and_free),
2042 (ev_document_types_add_filters):
2043 * shell/ev-document-types.h:
2044 * shell/ev-job-xfer.c: (ev_job_xfer_run):
2045 * shell/ev-properties-dialog.c:
2046 (ev_properties_dialog_set_document):
2047 * shell/ev-window.c: (ev_window_cmd_file_open),
2048 (ev_window_cmd_save_as):
2049 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2051 Rework document types managing to avoid code duplication
2052 and actually abstract from backend implementations.
2053 Also provide a minimal factory api that can be used by
2054 thumbnailer/properties.
2056 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2058 * properties/ev-properties-view.c: (ev_properties_view_set_info):
2060 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
2063 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2065 * shell/ev-properties-dialog.c
2066 (ev_properties_dialog_set_document): only call
2067 ev_properties_fonts_set_document() if the document implements the
2070 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2073 * properties/Makefile.am:
2074 * properties/ev-properties-view.c:
2075 (ev_properties_view_register_type):
2076 * properties/ev-properties-view.h:
2077 * properties/ev-properties-main.h:
2079 Implement nautilus plugin for properties.
2080 Works only for pdf atm, I need to rework the
2081 document types stuff to get this to work
2084 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2086 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
2087 (ev_properties_fonts_set_document): use
2088 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
2090 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2092 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
2094 (PlaceImage, tiff2ps_process_page): use
2095 g_ascii_dtostr to convert floats to strings in a locale-safe way.
2098 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2100 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
2101 (main): to call gnome_authentication_manager_init. Should fix
2104 * configure.ac: that requires libgnomeui 2.6.0.
2106 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2108 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2109 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
2110 use the new tiff2ps interfaces
2112 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
2113 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
2115 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
2116 structure instead of global variables. Remove use of static
2117 variables in functions.
2119 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
2121 * shell/ev-page-action.c: unref the completion after setting it to the
2124 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2126 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
2129 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2131 * shell/ev-window.c (update_action_sensitivity): disable
2132 File->Print if the document does not implement the ps exporter
2135 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
2139 * data/evince-properties.glade:
2140 * properties/.cvsignore:
2141 * properties/Makefile.am:
2142 * properties/ev-properties-view.c: (ev_properties_view_dispose),
2143 (ev_properties_view_class_init), (ev_properties_view_format_date),
2144 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
2145 (ev_properties_view_init), (ev_properties_view_new):
2146 * properties/ev-properties-view.h:
2147 * shell/Makefile.am:
2148 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
2149 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
2150 (ev_properties_dialog_new):
2151 * shell/ev-properties-dialog.h:
2152 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
2153 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
2154 (update_progress_label), (job_fonts_finished_cb),
2155 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
2156 * shell/ev-properties-fonts.h:
2157 * shell/ev-properties.c:
2158 * shell/ev-properties.h:
2159 * shell/ev-window.c: (ev_window_setup_document),
2160 (ev_window_cmd_file_properties):
2162 Split the properties pages in two different objects, depend
2163 only on the backend where possible, use widgets instead
2164 of gobject for the glade part, reimplement the dialog
2166 I need this to implement nautilus properties page.
2168 2005-07-03 Matthew S. Wilson <msw@rpath.com>
2170 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2171 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
2172 (tiff_document_document_ps_exporter_iface_init): implement the ps
2173 exporter interface for tiff documents
2175 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
2176 libtiff to implement TIFF postscript export
2178 * tiff/tiff2ps.h: added a header file for external tiff2ps
2181 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
2184 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2186 * shell/ev-view.c: (scroll_to_current_page),
2187 (ev_view_set_fullscreen), (ev_view_set_presentation):
2189 Scroll to current page when exit from presentation
2191 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2193 * shell/ev-window.c: (update_document_mode),
2194 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2195 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
2196 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
2198 Exit from fullscreen mode when switch to presentation. Fix for
2201 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2203 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
2204 return NULL if the document does not implement the selection
2207 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2209 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
2210 reported height by using the resolution aspect ratio
2211 (tiff_document_render_pixbuf): scale the pixbuf using the
2212 resolution aspect ratio
2214 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2218 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
2219 <kiltedaco@gmail.com>
2221 * djvu/djvu-document.c: (djvu_document_get_orientation),
2222 (djvu_document_set_orientation), (djvu_document_get_page_size),
2223 (rotate_pixbuf), (djvu_document_render_pixbuf),
2224 (djvu_document_document_iface_init):
2225 * dvi/dvi-document.c: (dvi_document_get_orientation),
2226 (dvi_document_set_orientation), (dvi_document_get_page_size),
2227 (rotate_pixbuf), (dvi_document_render_pixbuf),
2228 (dvi_document_document_iface_init):
2230 Dvi and djvu backends are ported to new API
2232 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
2234 * backend/ev-selection.c: (ev_selection_get_selection_region),
2235 (ev_selection_get_selection_map):
2236 * backend/ev-selection.h:
2237 * pdf/ev-poppler.cc:
2238 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2240 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
2241 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
2242 (ev_pixbuf_cache_get_text_mapping):
2243 * shell/ev-pixbuf-cache.h:
2244 * shell/ev-view.c: (location_in_text),
2245 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
2246 support to EvView. Now we can see where we can select! Sweet!
2248 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2250 * shell/ev-view.c (ev_view_button_press_event): Fix
2251 event->y + view->scroll_x typo.
2253 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2255 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
2256 sub-GdkPixbuf instead of passing dest_x and dest_y.
2258 * shell/ev-view.c: (view_point_to_doc_point),
2259 (view_rect_to_doc_rect), (ev_view_button_press_event),
2260 (ev_view_motion_notify_event), (compute_new_selection_rect),
2261 (gdk_rectangle_point_in), (compute_new_selection_text),
2262 (compute_selections): Update selection code to keep the selection
2263 around as two points and not as a normalized rectangle, and fix
2264 page level selection in two-column mode.
2266 2005-06-30 Alex Duggan <aldug@astrolinux.com>
2268 * shell/ev-window.c: (window_configure_event_cb):
2272 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2274 * pdf/ev-poppler.cc:
2278 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2280 * shell/Makefile.am:
2281 * shell/ev-metadata-manager.c: (item_free),
2282 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
2283 (parse_value), (parseItem), (load_values),
2284 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
2285 (save_values), (save_item), (get_oldest), (resize_items),
2286 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
2287 * shell/ev-metadata-manager.h:
2289 Metadata manager from gedit but modified to use GValue, so that
2290 we dont need to keep converting from strings.
2294 ENABLE_METADATA conditional, on when dbus is on
2296 * shell/ev-application.c: (ev_application_open_uri):
2298 Show the window after load so that we can initialize
2299 window size before it's showed.
2301 * shell/ev-window.c: (ev_window_setup_from_metadata),
2302 (ev_window_open_uri), (window_configure_event_cb),
2305 Save and load metadata information about window size.
2306 Not yet keeping states in account.
2308 * shell/main.c: (main):
2310 Shutdown metadata manager.
2312 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2314 * shell/ev-application-service.xml:
2316 * shell/Makefile.am:
2317 * shell/ev-application.c:
2318 * shell/ev-application.h:
2319 * shell/ev-window.c:
2320 * shell/ev-window.h:
2323 Add an optional dbus interface (--enable-dbus).
2324 Rework application code, mainly to be easier to
2326 Do not open multiple windows with the same document,
2329 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
2331 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
2332 pixbuf iff it exists.
2334 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
2337 * backend/ev-render-context.[ch]:
2338 * backend/ev-selection.[ch]:
2340 Massive changes. We now support text selection of pdfs, and not
2341 just rectangular selection. This is pretty broken still, but I
2342 want to get something into CVS.
2344 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2346 * pdf/ev-poppler.cc:
2348 Fix for Bug 309080: crash on window close.
2350 * shell/ev-page-action.c: (page_changed_cb):
2352 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
2353 jensgr@gmx.net (Jens Granseuer).
2355 2005-06-25 Marcel Telka <marcel@telka.sk>
2357 * configure.in (ALL_LINGUAS): Added sk.
2359 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
2361 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
2364 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2371 * cut-n-paste/recent-files/Makefile.am:
2375 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2377 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
2378 (pixbuf_document_set_orientation), (rotate_pixbuf),
2379 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
2380 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2382 Implement rotation and cleanup the code a bit.
2384 * tiff/tiff-document.c: (tiff_document_get_page_size),
2385 (tiff_document_get_orientation), (tiff_document_set_orientation),
2386 (rotate_pixbuf), (tiff_document_render_pixbuf),
2387 (tiff_document_document_iface_init), (tiff_document_init):
2389 Implement rotation. Was the quicker solution for the release
2390 but we really need to share this code in the shell.
2392 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2394 * pdf/ev-poppler.cc:
2396 Enable rotation, require poppler cvs. Fix a leak.
2398 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2400 * shell/ev-window.c: (update_action_sensitivity):
2402 Make properties unsensitive if document backend doesn't provide
2405 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2407 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
2408 (bitmap_flip_horizontally), (bitmap_flip_vertically),
2409 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2410 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2411 (bitmap_flip_rotate_counter_clockwise):
2412 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2413 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2415 * dvi/mdvi-lib/common.h:
2416 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2417 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2418 (opendvi), (mdvi_reload), (mdvi_init_context),
2419 (mdvi_destroy_context), (mdvi_dopage), (special):
2420 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2421 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2422 (file_hash_free), (register_encoding), (parse_spec),
2423 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2424 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2425 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2426 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2427 (mdvi_register_font_type), (mdvi_unregister_font_type),
2428 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2429 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2430 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2431 (mdvi_hash_destroy_key), (mdvi_hash_reset):
2432 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2433 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2434 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2435 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2436 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2437 * dvi/mdvi-lib/special.c: (mdvi_register_special),
2438 (mdvi_unregister_special), (mdvi_flush_specials):
2439 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2441 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2442 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2443 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2444 (free_font_metrics), (flush_font_metrics):
2445 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2447 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2448 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2449 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2450 (dstring_insert), (dstring_new), (dstring_reset):
2451 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2453 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2454 avoid conflict with libtool on FC4
2456 * shell/ev-window.c: (ev_window_cmd_help_about):
2458 Update copyright year. Fix for bug 308828.
2460 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2462 * shell/ev-view.c: (add_scroll_binding_keypad),
2463 (ev_view_binding_activated), (ev_view_class_init),
2464 (on_adjustment_value_changed):
2466 Bug 170874: Arrow keys switch pages in presentation mode
2468 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2470 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2472 Fix for Bug 308265: Sidebar dissappears coming out of
2475 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2477 * shell/ev-application.c: (ev_application_open):
2478 * shell/ev-document-types.c: (ev_document_types_add_filters),
2479 (ev_document_types_add_filters_for_type):
2480 * shell/ev-document-types.h:
2481 * shell/ev-window.c: (ev_window_cmd_save_as):
2483 Suggest basename as template when saving, provide filters
2484 for save dialog. It's bug 308402
2486 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2488 * pdf/ev-poppler.cc:
2489 * shell/ev-sidebar-links.c: (job_finished_callback):
2490 * shell/ev-view.c: (update_find_status_message):
2494 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2496 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2497 (egg_recent_view_uimanager_set_list):
2499 Fix buglet in !show_numbers case.
2501 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2503 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2504 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
2506 Use pango ellipsisation.
2508 * pdf/ev-poppler.cc:
2510 Fix refcount leak, from nsh.
2512 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2514 * cut-n-paste/recent-files/Makefile.am:
2515 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2516 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2518 Removed EggRecentViewGtk
2520 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2521 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
2522 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
2523 (ev_window_setup_recent):
2525 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
2528 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2530 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2531 (egg_recent_view_gtk_finalize):
2535 * cut-n-paste/toolbar-editor/Makefile.am:
2537 Fix location of cursor icon.
2539 * pdf/ev-poppler.cc:
2540 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
2541 (display_completion_text), (match_completion):
2542 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2543 (selection_changed_callback), (create_loading_model),
2544 (print_section_cb), (links_page_num_func),
2545 (update_page_callback_foreach):
2546 * shell/ev-window.c: (ev_window_dispose):
2548 Small memory fixes. Links model now store objects instead
2549 of pointers to improve memory management.
2551 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2553 * shell/ev-window.c: (zoom_control_changed_cb):
2555 Fix update of zoom control (bug 308268).
2557 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2559 * shell/ev-properties.c (set_property): escape the text correctly.
2560 Handles non-UTF-8 properties and escaped properties. Also, sets
2561 the text to "<i>None</i>" if the property isn't set.
2563 * data/evince-properties.glade: Change the label to be ellipsized,
2564 and give it a minimum size.
2566 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2568 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2569 * shell/ev-sidebar-links.c: (create_loading_model):
2570 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2571 * shell/ev-view.c: (ev_view_set_document):
2572 * shell/ev-window.c: (ev_window_dispose):
2574 Various small fixes, mostly memory leaks. Thanks to valgrind.
2576 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2578 * ps/ps-document.c: remove the locale.h include again ;-). And
2579 kill the (bogus) setlocale/savelocale business.
2581 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2585 Include locale.h to fix build
2587 * shell/ev-sidebar.c:
2589 Remove unnecessary includes
2591 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2593 * dvi/dvi-document.c: (dvi_document_load):
2594 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2597 Check for incorrect dvi files. Fix parsing dvi on AMD64
2598 platform. Thanks to tester@tester.ca (Olivier Crete).
2600 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2602 * shell/ev-page-action.c: (match_selected_cb),
2603 (display_completion_text), (match_completion), (update_model):
2604 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2605 (expand_open_links):
2606 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2607 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2608 (ev_sidebar_set_document):
2609 * shell/ev-window.c: (ev_window_xfer_job_cb),
2610 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2612 Fixed lot's of memory leaks, for example, memory leak on reload,
2613 described in bug 307793.
2615 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2617 * pdf/ev-poppler.cc:
2618 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2619 (update_visible_range), (adjustment_changed_cb),
2620 (ev_sidebar_thumbnails_fill_model),
2621 (ev_sidebar_thumbnails_refresh),
2622 (ev_sidebar_tree_selection_changed),
2623 (ev_sidebar_icon_selection_changed),
2624 (ev_sidebar_thumbnails_use_icon_view),
2625 (ev_sidebar_thumbnails_set_document):
2626 * shell/ev-sidebar-thumbnails.h:
2627 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2628 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2630 Refresh thumbnails when changing orientation. Not fully
2631 working yet becuase of a sidebar bug.
2633 Set page orientation to poppler page everywhere. This sucks
2634 really need to fix poppler.
2636 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2638 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2639 (egg_recent_view_gtk_new_menu_item),
2640 (egg_recent_view_gtk_set_property),
2641 (egg_recent_view_gtk_get_property),
2642 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2643 (egg_recent_view_gtk_set_tooltip_func),
2644 (egg_recent_view_gtk_set_label_width),
2645 (egg_recent_view_gtk_get_label_width):
2646 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2648 Sync with libegg (ellipsize labels)
2650 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2652 * data/evince-ui.xml:
2653 * shell/ev-window.c: (ev_window_cmd_go_forward),
2654 (ev_window_cmd_go_backward):
2656 Shift + PageUp moves 10 Pages. Fix for 306125
2658 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2660 * pdf/ev-poppler.cc:
2662 Add a flag to check if orientation has been overriden
2664 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2666 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2669 * ps/ps.h: add creator field to document.
2671 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2674 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2676 * data/evince-properties.glade:
2677 * shell/ev-properties.c: (ev_properties_set_document):
2679 s/PDF Version/Format
2681 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2683 * shell/ev-properties.c: (ev_properties_set_document):
2685 Remove unnecessary translations
2687 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2689 * cut-n-paste/toolbar-editor/Makefile.am:
2691 Correct library name
2693 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2696 * cut-n-paste/recent-files/egg-recent-model.c:
2697 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2698 (egg_recent_model_unlock_file):
2699 * cut-n-paste/recent-files/egg-recent-util.c:
2700 (egg_recent_util_get_unique_id):
2701 * cut-n-paste/recent-files/update-from-egg.sh:
2702 * cut-n-paste/toolbar-editor/Makefile.am:
2703 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2704 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2705 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2706 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2707 (egg_toolbars_model_get_type):
2708 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2710 Better makefile for toolbar editor and update everything
2713 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2715 * shell/ev-window.c: (update_document_mode):
2717 Prefer presentation mode when the document
2720 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2722 * data/evince-ui.xml:
2723 * shell/ev-window.c:
2725 Add control-equal for zooming
2727 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2729 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2731 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2733 * backend/ev-document.c: (ev_document_get_orientation):
2734 * backend/ev-document.h:
2735 * pdf/ev-poppler.cc:
2736 * ps/ps-document.c: (ps_document_get_orientation),
2737 (ps_document_set_orientation), (ps_document_document_iface_init):
2739 Add a get_orientation api. Improve set_orientation.
2741 * data/evince-ui.xml:
2742 * shell/ev-view.c: (ev_view_set_orientation),
2743 (ev_view_rotate_right), (ev_view_rotate_left):
2745 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2746 (ev_window_cmd_edit_rotate_right):
2748 Better ui for changing document orientation
2750 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2752 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2753 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2754 * shell/ev-sidebar-links.h:
2755 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2756 (ev_sidebar_page_iface_init):
2757 * shell/ev-sidebar-page.h:
2758 * shell/ev-sidebar-thumbnails.c:
2759 (ev_sidebar_thumbnails_get_property),
2760 (ev_sidebar_thumbnails_class_init),
2761 (ev_sidebar_thumbnails_set_document):
2762 * shell/ev-sidebar-thumbnails.h:
2763 * shell/ev-view.c: (ev_view_motion_notify_event):
2764 * shell/ev-window.c: (update_chrome_visibility),
2765 (ev_window_cmd_focus_page_selector),
2766 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2767 (sidebar_page_main_widget_update_cb), (ev_window_init):
2769 Autoraise toolbar on GoToPage binding and fix bindings in
2770 EvSidebarThumbnails page.
2772 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2774 * shell/ev-properties.c: (update_progress_label):
2776 Hide the progress label when finished; bug #307697.
2778 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2780 * pdf/ev-poppler.cc:
2782 Enable is_open for links, you will need poppler cvs
2784 * shell/ev-properties.c: (job_fonts_finished_cb):
2786 Get a lock on the document when filling the tree view
2788 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2790 * backend/ev-document-links.h:
2791 * pdf/ev-poppler.cc:
2792 * shell/ev-sidebar-links.c: (create_loading_model),
2793 (expand_open_links), (job_finished_callback):
2795 Expand links when specified by the document.
2796 Depend on a poppler api (defined out for now)
2798 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2800 * shell/ev-properties.c: (ev_properties_dispose),
2801 (ev_properties_class_init), (dialog_destroy_cb),
2802 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2803 (ev_properties_set_document), (ev_properties_new),
2804 (ev_properties_show):
2805 * shell/ev-properties.h:
2807 Make it an object, cleanup the code, api to show it as transient
2808 and to set the document.
2810 * shell/ev-window.c: (ev_window_setup_document),
2811 (ev_window_cmd_file_properties):
2813 Adapt to EvProperties changes, do not show multiple
2814 times, update it when document changes.
2816 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2819 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2820 (ps_document_set_orientation), (ps_document_document_iface_init):
2823 Implement orientation here too
2825 * shell/ev-properties.c: (ev_properties_new):
2826 * data/evince-properties.glade:
2828 Hide the fonts page for backends that doesnt
2831 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2833 * backend/ev-document.c: (ev_document_set_orientation):
2834 * backend/ev-document.h:
2835 * pdf/ev-poppler.cc:
2837 Add orientation api. Currently poppler api is not optimal,
2838 we need to set orientation every time we _get a page.
2839 I will try to fix that at some point.
2841 * data/evince-ui.xml:
2842 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2843 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2845 Add orientation menu items
2847 * shell/ev-page-cache.c: (ev_page_cache_clear):
2848 * shell/ev-page-cache.h:
2850 Add api to clear the cache
2852 * shell/ev-view.c: (setup_caches), (clear_caches),
2853 (ev_view_set_document), (ev_view_zoom_out),
2854 (ev_view_set_orientation):
2857 Implement orientation changing
2859 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2861 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2862 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2863 * backend/ev-document-fonts.h:
2865 Separate scan and fill so that we can incrementally fill from
2866 the main thread. Add a progress api.
2868 * data/evince-properties.glade:
2869 * pdf/ev-poppler.cc:
2870 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2872 * shell/ev-properties.c: (update_progress_label),
2873 (job_fonts_finished_cb), (setup_fonts_view):
2875 Incrementally feel the list and show the progress
2876 percentage in a label like acrobat does.
2878 You are going to need poppler cvs
2880 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2882 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2883 * backend/ev-document-fonts.h:
2884 * pdf/ev-poppler.cc:
2886 Make fonts model fill incrementally.
2888 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2889 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2890 (ev_job_queue_remove_job):
2891 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2892 (ev_job_fonts_new), (ev_job_fonts_run):
2895 New job for fonts scanning
2897 * shell/ev-properties.c: (job_fonts_finished_cb),
2898 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2899 * shell/ev-properties.h:
2900 * shell/ev-window.c: (ev_window_cmd_file_properties):
2902 Incrementally feel the treeview using the new job. Show Loading...
2903 message until scanning is completed.
2905 Hopefully I didnt break the build without the poppler patch.
2907 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2909 * shell/ev-application.c: (ev_application_open):
2910 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2911 (ev_document_type_get_type), (ev_document_type_lookup):
2912 * shell/ev-document-types.h:
2913 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2914 * shell/ev-job-xfer.h:
2915 * shell/ev-window.c: (ev_window_clear_local_uri),
2916 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2917 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2918 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2920 Transfer remote documents to tmp directory to display them later.
2922 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
2924 * backend/ev-document-info.h:
2925 * shell/ev-properties.c: (ev_properties_new):
2927 s/GTime*/GTime. Not sure why we was using a pointer
2930 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
2932 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2933 situations. That situation is that you're using GTK+-HEAD with
2934 the patch at #306726 is applied, and you have a document with <
2935 1500 pages in it. It's not quite as uniformly nice as the
2936 TreeView, but should be better in the long run.
2938 I'm pretty sure I guarded against breaking compilation with
2939 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
2942 * shell/ev-window.c (ev_window_init): We don't have our tree/list
2943 widget yet, so I commented that code out
2944 enable_view_actions_for_widget() for now. Need to figure this
2947 * shell/ev-page-action.c (match_selected_cb): emit the right
2948 signals. Our cool C-l completion now works.
2950 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2952 * backend/Makefile.am:
2953 * backend/ev-document-fonts.c:
2954 * backend/ev-document-links.c:
2955 * backend/ev-document.c: (ev_document_load):
2956 * backend/ev-document.h:
2957 * backend/ev-job-queue.c:
2958 * backend/ev-job-queue.h:
2959 * backend/ev-jobs.c:
2960 * backend/ev-jobs.h:
2961 * backend/ev-page-cache.c:
2962 * backend/ev-page-cache.h:
2964 EvPageCache and EvJobs are moved to shell.
2966 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
2968 * lib/ev-file-helpers.h:
2970 New helper to work with temporary files
2972 * shell/Makefile.am:
2973 * shell/ev-application.c: (ev_application_open):
2974 * shell/ev-application.h:
2975 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
2976 (remove_job_from_async_queue), (add_job_to_async_queue),
2977 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
2978 (handle_job), (search_for_jobs_unlocked),
2979 (no_jobs_available_unlocked), (ev_render_thread),
2980 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
2981 (ev_job_queue_add_job), (move_job_async), (move_job),
2982 (ev_job_queue_update_job), (ev_job_queue_remove_job):
2983 * shell/ev-job-queue.h:
2984 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
2985 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
2986 * shell/ev-job-xfer.h:
2987 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
2988 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
2989 (ev_job_links_class_init), (ev_job_render_init),
2990 (ev_job_render_dispose), (ev_job_render_class_init),
2991 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
2992 (ev_job_thumbnail_class_init), (ev_job_load_init),
2993 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
2994 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
2995 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
2996 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
2998 * shell/ev-page-action.c: (ev_page_action_set_document):
2999 * shell/ev-page-cache.c: (ev_page_cache_init),
3000 (ev_page_cache_class_init), (ev_page_cache_finalize),
3001 (ev_page_cache_new), (ev_page_cache_get_n_pages),
3002 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3003 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
3004 (ev_page_cache_get_title), (ev_page_cache_get_size),
3005 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
3006 (ev_page_cache_get_height_to_page),
3007 (ev_page_cache_get_max_label_chars),
3008 (ev_page_cache_get_page_label),
3009 (ev_page_cache_has_nonnumeric_page_labels),
3010 (ev_page_cache_get_info), (ev_page_cache_next_page),
3011 (ev_page_cache_prev_page), (ev_page_cache_get):
3012 * shell/ev-page-cache.h:
3013 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
3014 (ev_pixbuf_cache_clear_job_sizes),
3015 (ev_pixbuf_cache_add_jobs_if_needed),
3016 (ev_pixbuf_cache_set_page_range):
3017 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
3018 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
3019 * shell/ev-sidebar-thumbnails.c:
3020 (ev_sidebar_tree_selection_changed),
3021 (ev_sidebar_thumbnails_set_document):
3022 * shell/ev-statusbar.c: (ev_statusbar_destroy),
3023 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
3024 (ev_statusbar_get_context_id), (ev_statusbar_push),
3025 (ev_statusbar_pop), (ev_statusbar_set_maximized),
3026 (ev_statusbar_pulse), (ev_statusbar_show_progress),
3027 (ev_statusbar_set_progress):
3028 * shell/ev-statusbar.h:
3029 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
3030 (ev_view_find_previous):
3031 * shell/ev-window.c: (ev_window_is_empty),
3032 (ev_window_setup_document), (password_dialog_response),
3033 (ev_window_clear_jobs), (ev_window_load_job_cb),
3034 (ev_window_xfer_job_cb), (ev_window_open_uri),
3035 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
3036 (ev_window_print), (ev_window_print_range),
3037 (ev_window_state_event), (ev_window_cmd_view_reload),
3038 (menu_item_select_cb), (menu_item_deselect_cb),
3039 (view_status_changed_cb), (ev_window_dispose),
3040 (drag_data_received_cb), (ev_window_init):
3041 * shell/ev-window.h:
3042 * shell/main.c: (load_files):
3044 New statusbar to show progress on idle. Two new jobs -
3045 xfer job and load job to load document in background. And update
3046 of page_cache clients to new location of code.
3048 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
3050 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
3051 selection in open dialog. It also remembers the last visited directory
3052 in the current session.
3054 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3056 * shell/ev-properties.c: (ev_properties_new):
3057 * shell/ev-properties.h:
3058 * shell/ev-window.c: (ev_window_cmd_file_properties):
3060 Get document info from page cache instead of document itself.
3061 This should fix crash related to race conditions described in
3064 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3066 * ps/ps-document.c: (ps_document_init),
3067 (send_ps), (get_page_box), (output), (catchPipe), (input),
3068 (stop_interpreter), (file_length), (file_readable),
3069 (check_filecompressedb), (ps_document_enable_interpreter),
3070 (document_load), (ps_async_renderer_render_pixbuf):
3073 Big cleanup of the ps code
3075 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3077 * backend/Makefile.am:
3078 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
3079 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
3080 * backend/ev-async-renderer.h:
3082 Add an async renderer interface (method + callback) which
3083 is useful for backends like ps.
3085 * backend/ev-job-queue.c: (remove_job_from_async_queue),
3086 (add_job_to_async_queue), (job_finished_cb), (handle_job),
3087 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3088 (ev_job_queue_add_job), (move_job_async), (move_job),
3089 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3091 Add queues for async renderer, these are executed on the
3094 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
3095 (ev_job_render_run):
3096 * backend/ev-jobs.h:
3098 If the backend support async renderer interface use it.
3100 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3101 (setup_pixmap), (ps_document_get_type),
3102 (ps_async_renderer_render_pixbuf),
3103 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
3105 Implement async renderer interface.
3107 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3109 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
3111 Cleanup links job on exit.
3113 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3115 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3116 (drag_data_get_cb), (drag_data_received_cb):
3117 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3118 (drag_data_get_cb), (parse_item_list),
3119 (egg_toolbar_editor_load_actions):
3120 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3121 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
3122 (parse_item_list), (parse_toolbars):
3123 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3124 (dvi_pixbuf_put_pixel):
3126 Fix gcc 4.0 warnings
3128 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3130 * ps/ps-document.c: (start_interpreter):
3132 Fix warning when loading ps
3134 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3136 * ps/ps-document.c: (output):
3138 Fix crash when priting gs error messages.
3140 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3142 * backend/ev-page-cache.c: (_ev_page_cache_new):
3143 * backend/ev-page-cache.h:
3145 Use a const to return title so that we dont double
3146 free it. Small cleanup and fix a leak.
3148 * shell/ev-window.c: (update_window_title):
3150 strdup value from get_title.
3152 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3154 * shell/ev-sidebar-links.c: (job_finished_callback),
3155 (ev_sidebar_links_set_document):
3157 Cleanup the old job when changing document
3159 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3161 * shell/ev-stock-icons.c:
3162 * shell/ev-stock-icons.h:
3163 * shell/ev-window.c:
3165 Add stock icons for actions that can appear in toolbar. Fix for
3168 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3170 * backend/ev-page-cache.c: (ev_page_cache_finalize),
3171 (_ev_page_cache_new), (ev_page_cache_get_max_width),
3172 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
3173 * backend/ev-page-cache.h:
3174 * shell/ev-view.c: (scroll_to_current_page),
3175 (view_update_range_and_current_page), (get_page_y_offset),
3176 (get_page_extents), (ev_view_size_request_continuous_dual_page),
3177 (ev_view_size_request_continuous),
3178 (ev_view_zoom_for_size_continuous_and_dual_page),
3179 (ev_view_zoom_for_size_continuous):
3181 More compact EvView layout in document with pages of different size.
3183 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
3185 * shell/ev-window.c (ev_window_cmd_file_properties): fix
3188 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3190 * shell/ev-view.c: (view_set_adjustment_values):
3191 * shell/ev-window.c: (ev_window_cmd_file_properties):
3193 A bit different fix for rounding problem but it has no
3194 problems on startup. Make properties window transient to parent.
3196 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3198 * pdf/ev-poppler.cc:
3200 More commenting of font stuff.
3202 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3204 * pdf/ev-poppler.cc:
3206 Comment out some more fonts stuff. Should really
3207 work without the poppler patch now.
3209 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3211 * pdf/ev-poppler.cc:
3215 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3217 * data/evince-properties.glade:
3218 * pdf/ev-poppler.cc:
3219 * shell/ev-properties.c: (setup_fonts_view):
3221 Set the column title. Show the dialog only
3222 once everything is setup.
3223 Getting font info can be very slow... will
3224 prolly need to make this threaded too.
3226 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3228 * backend/Makefile.am:
3229 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
3230 (ev_document_fonts_get_fonts_model):
3231 * backend/ev-document-fonts.h:
3232 * data/evince-properties.glade:
3233 * pdf/ev-poppler.cc:
3234 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
3235 * shell/ev-properties.h:
3236 * shell/ev-window.c: (ev_window_cmd_file_properties):
3238 Implement fonts list. Defined out for now, since it depends
3239 on a not yet committed poppler patch.
3241 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
3243 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
3246 * shell/ev-window.c: Make sure we add the timeout when we get a
3249 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
3250 adjustment->value before calculating the zoom factor to average
3251 out all of our rounding errors. The page no longer 'drifts' when
3254 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3256 * data/evince-properties.glade:
3257 * shell/ev-properties.c: (ev_properties_format_date),
3260 Labels don't expand when the dialogue is resized.
3261 strftime result needs to be converted to UTF-8. Thanks
3262 to Christian Persch <chpe@gnome.org>.
3264 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3266 * data/evince-properties.glade:
3270 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3272 * backend/ev-document-info.h:
3273 * backend/ev-document.c: (ev_document_info_free):
3274 * data/evince-properties.glade:
3275 * pdf/ev-poppler.cc:
3276 * ps/ps-document.c: (ps_document_get_info):
3277 * shell/ev-properties.c: (ev_properties_format_date),
3278 (set_property), (ev_properties_new):
3279 * shell/ev-properties.h:
3280 * shell/ev-window.c: (ev_window_cmd_file_properties):
3282 Rework properties code to take only EvPropertyInfo
3283 in the constructor so that it can be useful for
3284 nautilus plugin too.
3286 Deal with backends that doesnt support some properties.
3287 Make set property code generic.
3289 2005-06-04 Christian Persch <chpe@gnome.org>
3291 * data/evince-properties.glade:
3293 fix spacings, make resizeable, and make data labels
3294 selectable + ellipsised
3296 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
3298 * backend/ev-document-info.h:
3300 * data/evince-ui.xml:
3301 * pdf/ev-poppler.cc:
3302 * shell/Makefile.am:
3303 * shell/ev-window.c: (update_action_sensitivity),
3304 (ev_window_cmd_file_properties):
3306 Initial go at file properties. Patch by
3307 Emil Soleyman-Zomalan <emil@soleyman.com>.
3308 Needs love see #169583
3310 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
3312 * ps/ps-document.c: (output):
3313 * ps/ps.c: (psscan):
3315 Try to render even if psscan fails.
3317 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3319 * ps/ps.c: (psscan), (pscopydoc):
3321 Port buffered reading code from gv
3323 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3325 * ps/ps-document.c: (interpreter_message), (output):
3327 Do not fail on interpreter messages
3329 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3331 * backend/ev-document-misc.c:
3332 (ev_document_misc_get_thumbnail_frame):
3334 Pages can be 0 x 0, dont assert on this case
3336 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3338 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3339 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
3341 Correctly manage our reference on document. Finally the reload
3342 huge leak is gone...
3344 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3346 * ps/ps-document.c: (ps_document_dispose):
3348 Forgot to chain it to the parent. Thanks chpe.
3350 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3352 * ps/ps-document.c: (ps_document_dispose),
3353 (ps_document_class_init), (stop_interpreter), (document_load):
3355 Cleanup dispose a bit. Dont leak the whole pixmap.
3357 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3359 * pdf/ev-poppler.cc:
3361 Release the poppler document on dispose
3363 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3365 * shell/ev-view.c: (ev_view_set_document):
3367 Release ref on the pixbuf cache when changing
3370 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3372 * ps/ps-document.c: (ps_document_get_info):
3376 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3378 * backend/ev-page-cache.c: (ev_page_cache_init),
3379 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
3380 * backend/ev-page-cache.h:
3381 * shell/ev-page-action.c: (page_changed_cb):
3383 Set page action entry width depending on labels width. Fix
3386 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3388 * backend/ev-link.c: (ev_link_class_init):
3390 Allow -1 as page value (error)
3392 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3394 * shell/ev-sidebar-thumbnails.c:
3395 (ev_sidebar_thumbnails_set_document):
3396 * shell/ev-view.c: (scroll_to_current_page),
3397 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
3398 (page_changed_cb), (on_adjustment_value_changed),
3399 (ev_view_set_document):
3401 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
3404 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3407 * djvu/djvu-document.c: (djvu_document_get_page_size):
3409 Require djvulibre CVS. Now djvu loading is much faster. Fix for
3412 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
3414 * shell/ev-view.c (draw_one_page): modify the expose handling to
3417 * shell/ev-window.c (update_action_sensitivity): Respect
3418 permissions field. Kowtow to the man.
3420 * pdf/ev-poppler.cc: Get the permissions field.
3422 * tiff/*c: Make a tiny bit more robust.
3424 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3426 * djvu/djvu-document.c:
3428 Pop messages from djvu context message queue.
3430 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3432 * configure.ac, Makefile.am, shell/Makefile.am:
3433 * tiff/Makefile.am, shell/ev-document-types.c:
3435 Cleanup tiff configure checks. Fix for bug 305218.
3437 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
3439 * configure.ac: Added "uk" to ALL_LINGUAS.
3441 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3443 * cut-n-paste/zoom-control/ephy-zoom.c:
3444 (ephy_zoom_get_changed_zoom_level):
3445 * cut-n-paste/zoom-control/ephy-zoom.h:
3446 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3447 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3448 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3449 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3450 (zoom_control_changed_cb), (ev_window_init):
3452 Fix minor points related to moving best fit up. Introduce
3453 "zoom" property and make zoom control change it's value on
3454 notify::zoom signals. Fix for 305080.
3456 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3458 * data/evince-ui.xml:
3459 * shell/ev-window.c: (set_view_actions_sensitivity):
3461 Use + and - as accels for zoom in and zoom out. Fix for 305001.
3463 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3467 Depends on poppler 0.3.2
3469 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3471 * cut-n-paste/recent-files/egg-recent-item.c:
3472 (egg_recent_item_get_short_name):
3473 * cut-n-paste/toolbar-editor/Makefile.am:
3474 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3475 (new_pixbuf_from_widget):
3476 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3477 * cut-n-paste/toolbar-editor/egg-marshal.c:
3478 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3479 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3483 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
3485 * tiff/tiff-document.c: Rough TIFF backend.
3487 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3491 * cut-n-paste/toolbar-editor/Makefile.am:
3495 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3497 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
3498 (ev_view_find_next), (ev_view_find_previous):
3500 Remove the locks around get_n_results
3502 2005-05-21 Juerg Billeter <j@bitron.ch>
3504 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
3506 Pass correct number of pages to poppler.
3508 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3512 * data/evince.desktop.in:
3513 * data/evince.desktop.in.in:
3516 Add conditionally dvi and djvu to desktop types. Fix for 304658.
3518 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
3520 * shell/ev-view.c: (view_update_adjustments),
3521 (view_set_adjustment_values): cast adjustmen->value to (int)
3522 before using it. Otherwise, we get off by a pixel in some
3525 (draw_one_page): Draw the border on expose.
3527 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
3529 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
3530 adjustment when the mode changes, #304923
3532 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3534 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
3535 flickering on resize but still use gdk_window_scroll on
3538 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
3540 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
3543 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
3545 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3546 second page on page_changed if possible, #304669
3548 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
3550 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3551 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3553 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3556 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3557 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3558 (ev_view_zoom_for_size_presentation),
3559 (ev_view_zoom_for_size_continuous_and_dual_page),
3560 (ev_view_zoom_for_size_continuous),
3561 (ev_view_zoom_for_size_dual_page),
3562 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3564 * shell/ev-window.c: (update_view_size),
3565 (ev_window_sizing_mode_changed_cb):
3567 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3568 the scrollbars. It's not 100% right, but it's much closer. Kills
3569 an infinite loop, #304769
3572 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3574 * data/evince-ui.xml:
3575 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3576 * shell/ev-window.c: (set_view_actions_sensitivity):
3578 Make PgUp/Down behave like Space
3580 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3582 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3583 * backend/ev-ps-exporter.h:
3584 * pdf/ev-poppler.cc:
3585 * ps/ps-document.c: (ps_document_ps_export_begin):
3586 * shell/ev-print-job.c: (idle_print_handler):
3588 Adapt to new poppler api
3590 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3592 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3593 (ephy_zoom_control_init):
3595 Translate zoom levels
3597 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3599 * cut-n-paste/zoom-control/ephy-zoom.c:
3600 (ephy_zoom_get_zoom_level_index):
3602 Fix current zoom -> zoom control match
3604 2005-05-18 James Bowes <bowes@cs.dal.ca>
3606 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3607 rather than the scrolled_window that it's in. Fixes bug #304655.
3609 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3611 * shell/ev-view.c: (view_update_adjustments),
3612 (view_set_adjustment_values), (view_update_range_and_current_page),
3613 (view_scroll_to_page), (set_scroll_adjustment),
3614 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3615 (ev_view_scroll), (ev_view_scroll_view),
3616 (ensure_rectangle_is_visible), (find_page_at_location),
3617 (get_link_at_location), (go_to_link), (status_message_from_link),
3618 (ev_view_size_request_continuous_dual_page),
3619 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3620 (ev_view_unrealize), (ev_view_expose_event),
3621 (ev_view_button_press_event), (ev_view_motion_notify_event),
3622 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3623 (draw_rubberband), (highlight_find_results), (draw_one_page),
3624 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3625 (ev_view_init), (find_changed_cb), (page_changed_cb),
3626 (on_adjustment_value_changed), (ev_view_new),
3627 (ev_view_set_document), (ev_view_set_zoom),
3628 (ev_view_set_continuous), (ev_view_set_dual_page),
3629 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3630 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3631 (ev_view_zoom_for_size_presentation),
3632 (ev_view_zoom_for_size_continuous_dual_page),
3633 (ev_view_zoom_for_size_continuous),
3634 (ev_view_zoom_for_size_dual_page),
3635 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3636 (ev_view_get_status), (ev_view_set_status),
3637 (update_find_status_message), (ev_view_get_find_status),
3638 (ev_view_set_find_status), (jump_to_find_result),
3639 (jump_to_find_page), (compute_selections), (clear_selection),
3640 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3641 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3642 (ev_view_update_primary_selection),
3643 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3645 * shell/ev-window.c: (ev_window_open_page_label),
3646 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3648 * shell/ev-window.h:
3649 * shell/main.c: (load_files):
3651 Massive code clean up from Nickolay Shmyrev. Keep page offset
3652 when resizing. Remove the bin_window(). Also, patch from James
3653 Bowes to fix command line page, #300641
3655 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3657 * data/evince-ui.xml:
3660 * shell/ev-window.c: (update_action_sensitivity):
3662 Get rid of View->Normal Size, it's just confusing
3664 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3666 * backend/ev-document-info.h:
3667 * backend/ev-document.c: (ev_document_info_free): Free the
3670 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3671 (clear_range), (add_range), (update_visible_range),
3672 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3673 (ev_sidebar_thumbnails_set_document):
3674 * shell/ev-window.c: (ev_window_setup_document): Only render the
3675 visible thumbnails. It takes an instant to render, but it uses
3678 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3680 * shell/ev-sidebar-links.c: (popup_menu_cb):
3684 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3687 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3688 (button_press_cb), (ev_sidebar_links_construct):
3690 Show the popup menu also on keybindings
3692 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3694 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3695 * shell/ev-window.h:
3697 Expose api to print a range (with dialog). Make private _print use
3700 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3701 (ev_sidebar_links_construct):
3703 Show a print context menu on linkx, it prints the selected
3706 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3708 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3711 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3717 * shell/ev-window.c: (build_comments_string),
3718 (ev_window_cmd_help_about):
3720 Show poppler version/backend and authors
3722 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3724 * cut-n-paste/zoom-control/ephy-zoom.c:
3725 (ephy_zoom_get_zoom_level_index):
3726 * cut-n-paste/zoom-control/ephy-zoom.h:
3728 Move the best fit items at the top of the list
3730 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3732 * shell/ev-marshal.list:
3733 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3734 (activate_cb), (match_selected_cb), (activate_link_cb),
3735 (connect_proxy), (ev_page_action_class_init):
3736 * shell/ev-page-action.h:
3738 Use signals to notify action activation. Hopefully
3739 I did not break completion since I cant test...
3741 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3742 (register_custom_actions):
3744 Connect to page selector actions and also grab focus on
3745 the view when activated.
3747 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3749 * pdf/ev-poppler.cc:
3750 * backend/ev-page-cache.c: make page size calculation consistent
3751 and set it to (int)( width * scale + 0.5). This makes the weird
3752 line going through the middle of the page go away.
3754 * shell/ev-view.c: move painting the background page after
3755 checking the expose area covers us.
3757 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3759 * data/evince-password.glade:
3761 Mark labels as not translatable. Fix for bug 302842.
3763 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3765 * configure.ac: Added "es" to ALL_LINGUAS.
3767 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3769 * data/evince-toolbar.xml:
3770 * shell/ev-window.c: (update_action_sensitivity),
3771 (ev_window_setup_document), (ev_window_set_page_mode),
3774 Remove some leftover code from jrb first continous
3775 attempt. Use the new actions, we still need good icons
3778 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3780 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3782 Update label when connecting proxy. Fix a warning with NULL
3785 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3787 * data/evince-ui.xml:
3788 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3789 * shell/ev-page-action.h:
3790 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3792 Add mnemonic for edit toolbar.
3793 ctrl+l focus the page entry.
3795 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3798 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3800 * shell/main.c: (main):
3802 Put the toolbar xml in evince own dot dir
3804 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3806 * shell/ev-window.c: (ev_window_init):
3808 Make the toolbar not removable
3810 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3812 * data/evince-ui.xml:
3813 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3814 * shell/ev-sidebar-links.h:
3815 * shell/ev-sidebar-thumbnails.c:
3816 (ev_sidebar_thumbnails_get_treeview):
3817 * shell/ev-sidebar-thumbnails.h:
3818 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3819 (ev_view_class_init):
3821 * shell/ev-window.c: (update_action_sensitivity),
3822 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3823 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3824 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3827 This is evil... Make space/backspace global accelerators but
3828 enable them only for some widgets (sidebars and view).
3829 I dont like it, but I dont know a better way... :/
3831 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3833 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3834 (ev_page_action_widget_finalize),
3835 (ev_page_action_widget_class_init), (update_page_cache):
3837 Keep a weak reference on proxy->page_cache so that we
3838 dont try to disconnect the signal if the object is already
3839 gone. Maybe there is a better way to cleanup reference handling
3840 in page action though...
3842 2005-05-10 Juerg Billeter <j@bitron.ch>
3844 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3845 * backend/ev-ps-exporter.h:
3846 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3847 * ps/ps-document.c: (ps_document_ps_export_begin):
3849 Change api to pass print range to ps_exporter_begin. The pdf backend
3850 requires this information.
3852 * shell/ev-print-job.c: (idle_print_handler):
3856 2005-05-10 Juerg Billeter <j@bitron.ch>
3858 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3859 (idle_print_handler)
3860 * shell/ev-window.c: (ev_window_print):
3862 Support printing page range, based on patch by Amaury Jacquot
3864 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3866 * data/evince-toolbar.xml:
3868 Add zoom control to available items
3870 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3872 * shell/ev-window.c: (update_action_sensitivity):
3874 Set slash action insensitive when appropriate
3876 2005-05-10 Christian Persch <chpe@gnome.org>
3878 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3880 Fix warning on the overflow menu
3882 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3884 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3886 Check for uri correctness/existence
3888 2005-05-09 Juerg Billeter <j@bitron.ch>
3890 * shell/ev-window.c: (using_postscript_printer):
3892 LPD printers use postscript, too
3894 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3896 * shell/ev-window.c: (register_custom_actions):
3898 The zoom one is actually sort of useful,
3901 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3903 * shell/ev-window.c: (register_custom_actions):
3905 Hide page/zoom controls from overflow, they
3908 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3910 * cut-n-paste/update-from-egg.sh:
3912 Share it between all cut-n-paste subdirs
3914 * cut-n-paste/recent-files/Makefile.am:
3916 Fix to use "global" update-from-egg.sh
3918 * cut-n-paste/recent-files/egg-recent-model.c:
3919 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3920 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3921 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3922 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3926 * cut-n-paste/toolbar-editor/Makefile.am:
3928 Fix to use "global" update-from-egg.sh
3930 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3934 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3937 * cut-n-paste/Makefile.am:
3938 * cut-n-paste/recent-files/Makefile.am:
3939 * cut-n-paste/toolbar-editor/.cvsignore:
3940 * cut-n-paste/toolbar-editor/Makefile.am:
3941 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3942 (egg_editable_toolbar_get_type), (get_toolbar_position),
3943 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
3944 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
3945 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
3946 (set_item_drag_source), (create_item_from_action), (create_item),
3947 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
3948 (popup_toolbar_context_menu_cb), (free_dragged_item),
3949 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
3950 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
3951 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
3952 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
3953 (item_added_cb), (item_removed_cb),
3954 (egg_editable_toolbar_construct),
3955 (egg_editable_toolbar_disconnect_model),
3956 (egg_editable_toolbar_deconstruct),
3957 (egg_editable_toolbar_set_model),
3958 (egg_editable_toolbar_set_ui_manager),
3959 (egg_editable_toolbar_set_property),
3960 (egg_editable_toolbar_get_property),
3961 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
3962 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
3963 (egg_editable_toolbar_new_with_model),
3964 (egg_editable_toolbar_get_edit_mode),
3965 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
3966 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
3967 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
3968 (new_pixbuf_from_widget), (new_separator_pixbuf),
3969 (update_separator_image), (style_set_cb),
3970 (_egg_editable_toolbar_new_separator_image),
3971 (egg_editable_toolbar_get_model):
3972 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3973 * cut-n-paste/toolbar-editor/egg-marshal.c:
3974 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3975 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
3976 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
3977 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
3978 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
3979 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
3980 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
3981 (editor_drag_data_delete_cb), (drag_data_get_cb),
3982 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
3983 (editor_create_item), (update_editor_sheet), (setup_editor),
3984 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
3985 (parse_item_list), (model_has_action), (update_actions_list),
3986 (egg_toolbar_editor_load_actions):
3987 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
3988 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3989 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
3990 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
3991 (toolbars_item_new), (free_toolbar_node), (free_item_node),
3992 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
3993 (egg_toolbars_model_add_separator), (impl_add_item),
3994 (parse_item_list), (egg_toolbars_model_add_toolbar),
3995 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
3996 (impl_get_item_data), (impl_get_item_type),
3997 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
3998 (egg_toolbars_model_init), (free_toolbar),
3999 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
4000 (egg_toolbars_model_remove_toolbar),
4001 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
4002 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
4003 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
4004 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
4005 (egg_toolbars_model_get_item_data),
4006 (egg_toolbars_model_get_item_type):
4007 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
4008 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4010 * data/evince-toolbar.xml:
4011 * data/evince-ui.xml:
4012 * data/hand-open.png:
4014 * shell/Makefile.am:
4015 * shell/ev-window.c: (update_chrome_visibility),
4016 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
4017 (ev_window_dispose), (ev_window_init):
4019 Implement epiphany like toolbar editor. Based on patch by
4020 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4022 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4024 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
4026 Use set_cursor instead of set_selection, so that
4027 the keyboard focus moves too.
4029 2005-05-09 Aleksey Kliger <akliger@gmail.com>
4031 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
4033 Fix infinite loop when loading Type1 fonts
4035 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4037 * data/evince-ui.xml:
4038 * shell/ev-window.c:
4042 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
4046 Make --disable really disable
4048 2005-05-07 Juerg Billeter <j@bitron.ch>
4050 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
4052 Compare page labels even without has_labels set, fixes setting page
4055 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4057 * shell/ev-view.c: (ev_view_create_invisible_cursor),
4058 (ev_view_set_cursor), (ev_view_button_press_event),
4059 (ev_view_motion_notify_event), (ev_view_button_release_event),
4062 Implement middle button scrolling. Based on a patch
4063 by Tommi Komulainen <tommi.komulainen@iki.fi>.
4065 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
4067 * shell/ev-document-types.c: (get_slow_mime_type),
4068 (get_document_type_from_mime), (ev_document_type_lookup):
4069 * shell/ev-document-types.h:
4071 Change api to lookup from uri. Do fast lookup first, if the
4072 type is unknown try with data sniffing.
4074 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
4075 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4079 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4081 * thumbnailer/Makefile.am:
4085 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4092 * data/evince-ui.xml:
4094 Hide presentation mode for now
4096 * shell/ev-view.c: (highlight_find_results):
4098 Show current find selection only on current page
4100 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4102 * shell/ev-view.c: (ev_view_select_all):
4104 Compute size of the actual page, not of
4107 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4109 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
4110 (view_rect_to_doc_rect), (compute_selections),
4111 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
4112 (ev_view_copy), (ev_view_primary_get_cb),
4113 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
4114 (ev_view_button_press_event), (ev_view_motion_notify_event),
4115 (ev_view_button_release_event), (page_changed_cb):
4119 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4121 * shell/ev-view.c: (compute_border), (get_page_extents),
4122 (doc_rect_to_view_rect), (highlight_find_results),
4123 (ev_view_bin_expose), (ev_view_select_all),
4124 (ev_view_motion_notify_event), (update_find_status_message),
4125 (jump_to_find_result), (jump_to_find_page):
4127 First go at fixing search, still buggy
4129 2005-05-04 Kristian Høgsberg <krh@redhat.com>
4131 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
4132 dropdown box and button at the top of the sidebar.
4134 2005-05-02 James Bowes <bowes@cs.dal.ca>
4136 * configure.ac: Output zoom-control Makefile.
4137 * cut-n-paste/Makefile.am: build zoom-control subdir.
4138 * cut-n-paste/zoom-control/ephy-zoom-action.c:
4139 * cut-n-paste/zoom-control/ephy-zoom-action.h:
4140 * cut-n-paste/zoom-control/ephy-zoom-control.c:
4141 * cut-n-paste/zoom-control/ephy-zoom-control.h:
4142 * cut-n-paste/zoom-control/ephy-zoom.c:
4143 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
4144 from epiphany, and modified to add a separator into the menu.
4145 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
4146 * data/evince-ui.xml: Replace old zoom toolbar actions with new
4147 zoom-control action.
4148 * shell/Makefile.am: Include zoom-control flags.
4149 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
4150 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
4151 (ev_view_zoom_for_size_presentation),
4152 (ev_view_zoom_for_size_continuous_and_dual_page),
4153 (ev_view_zoom_for_size_continuous),
4154 (ev_view_zoom_for_size_dual_page),
4155 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
4156 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
4157 ev_view_get_zoom and ev_view_get_sizing_mode.
4159 * shell/ev-window.c: (update_action_sensitivity),
4160 (update_sizing_buttons), (zoom_control_changed_cb),
4161 (register_custom_actions): Initialize and use the zoom-control
4164 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
4166 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
4167 preview cache back to 1. Don't know when it got set to 0.
4169 * shell/ev-view.c: (compute_border), (ev_view_realize),
4170 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
4171 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
4172 (ev_view_get_fullscreen), (ev_view_set_presentation),
4173 (ev_view_get_presentation), (ev_view_set_sizing_mode),
4174 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
4176 * shell/ev-window.c:
4177 (update_chrome_visibility),
4178 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4179 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4180 (update_document_mode), (ev_window_update_fullscreen_action),
4181 (ev_window_fullscreen), (ev_window_unfullscreen),
4182 (ev_window_cmd_view_fullscreen),
4183 (ev_window_update_presentation_action),
4184 (ev_window_run_presentation), (ev_window_stop_presentation),
4185 (ev_window_cmd_view_presentation), (ev_window_state_event),
4186 (ev_window_focus_in_event), (ev_window_focus_out_event),
4187 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
4188 * data/evince-ui.xml: Initial presentation mode. We should
4189 probably hide this until it's done, as it's quite rough. Also,
4190 change full-screen to fullscreen and add two getters to EvView.
4192 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4194 * shell/ev-page-action.c: (update_page_cache),
4195 (ev_page_action_dispose):
4196 * shell/ev-window.c: (destroy_fullscreen_popup),
4197 (ev_window_create_fullscreen_popup):
4199 Use connect_object rather than explicitly
4200 disconnect on dispose.
4202 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4204 * shell/ev-page-action.c: (update_page_cache),
4205 (ev_page_action_dispose):
4207 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4209 * backend/ev-page-cache.c: (_ev_page_cache_new),
4210 (ev_page_cache_set_page_label),
4211 (ev_page_cache_has_nonnumeric_page_labels):
4212 * backend/ev-page-cache.h:
4213 * shell/ev-page-action.c: (update_pages_label):
4215 If all page labels are numeric, fallback to default
4216 way to display number of pages. See bug 173185.
4218 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4220 * shell/ev-page-action.c: (ev_page_action_dispose):
4221 * shell/ev-view.c: (view_update_range_and_current_page):
4222 * shell/ev-window.c: (ev_window_dispose):
4224 Set page on scroll in continuous mode. Fixes bug 301986.
4225 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
4227 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
4231 Require poppler 0.3.0
4233 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4235 * shell/Makefile.am, configure.ac: Fix build problems
4236 with t1lib. Bug 301996.
4238 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4240 * shell/ev-view.c: (ev_view_scroll_event):
4242 Scroll up increase zoom
4244 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4246 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
4247 (ev_view_set_sizing_mode),
4248 (ev_view_zoom_for_size_continuous_and_dual_page),
4249 (ev_view_zoom_for_size_continuous):
4250 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4251 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
4252 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
4255 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
4256 Fix for 165473 and 165472.
4258 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4261 * thumbnailer/Makefile.am:
4262 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
4263 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
4264 * thumbnailer/evince-thumbnailer.schemas.in:
4266 Make thumbnailer schemas translatable. Fix for bug 301773
4268 * thumbnailer/evince-thumbnailer-djvu.schemas:
4269 * thumbnailer/evince-thumbnailer-dvi.schemas:
4270 * thumbnailer/evince-thumbnailer.schemas:
4274 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
4276 * shell/ev-view.c (ev_view_init): forgot to set this.
4278 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
4280 * shell/ev-view.c: (find_page_at_location),
4281 (get_link_at_location),
4282 (ev_view_set_show_border), (ev_view_set_spacing),
4283 (ev_view_zoom_for_size_continuous_and_dual_page),
4284 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
4285 Also, add a quick fix measuring of widths. Also, removed
4286 ev_view_set_spacing and ev_view_set_show_border.
4288 * shell/ev-window.c: (ev_window_unfullscreen),
4289 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
4291 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4293 * shell/ev-view.c: (view_update_range_and_current_page),
4296 Fix crash on exit and scrolling to page in continuous view.
4298 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
4301 * backend/ev-page-cache.c: (_ev_page_cache_new),
4302 (ev_page_cache_get_max_width_size),
4303 (ev_page_cache_get_max_height_size):
4304 * backend/ev-page-cache.h:
4305 * data/evince-ui.xml:
4306 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
4307 * shell/ev-view.c: (view_update_adjustments),
4308 (view_update_range_and_current_page), (get_bounding_box_size),
4309 (ev_view_size_request_continuous_and_dual_page),
4310 (ev_view_size_request_continuous),
4311 (ev_view_size_request_dual_page),
4312 (ev_view_size_request_single_page), (ev_view_size_request),
4313 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
4314 (ev_view_bin_expose), (ev_view_expose_event),
4315 (ev_view_set_property), (ev_view_get_property),
4316 (ev_view_class_init), (ev_view_init), (ev_view_new),
4317 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
4318 (ev_view_set_dual_page), (ev_view_set_full_screen),
4319 (ev_view_set_presentation), (ev_view_set_sizing_mode),
4320 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
4321 (ev_view_zoom_out), (zoom_for_size_fit_width),
4322 (zoom_for_size_best_fit),
4323 (ev_view_zoom_for_size_continuous_and_dual_page),
4324 (ev_view_zoom_for_size_continuous),
4325 (ev_view_zoom_for_size_dual_page),
4326 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4327 (ev_view_show_cursor), (ev_sizing_mode_get_type):
4329 * shell/ev-window.c: (update_action_sensitivity),
4330 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4331 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4332 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
4333 (ev_window_cmd_view_zoom_out), (update_view_size),
4334 (ev_window_set_sizing_mode), (ev_window_init):
4336 Add Continuous and Dual page modes.
4338 2005-04-23 James Bowes <bowes@cs.dal.ca>
4340 * dvi/dvi-document.c: (dvi_document_load),
4341 (dvi_document_thumbnails_get_thumbnail),
4342 (dvi_document_init_params): Fix up some mixups between
4343 width and height to correct thumbnail rendering.
4345 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4347 * dvi/mdvi-lib/private.h:
4348 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
4350 Suppess output for kpathsea during font generation. Thanks to
4353 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
4360 * Makefile.am: fix distcheck.
4362 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4364 * shell/ev-sidebar-links.c: (selection_changed_callback),
4365 (update_page_callback), (row_activated_callback),
4366 (job_finished_callback), (ev_sidebar_links_set_document):
4368 Fix for bug #169901. Double click on links expands tree.
4370 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
4372 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
4373 hard-coded style. Fix for bug 170111
4375 2005-04-22 Kristian Høgsberg <krh@redhat.com>
4377 * shell/ev-view.c (highlight_find_results): Remove unnecessary
4380 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4382 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
4384 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4386 * pdf/ev-poppler.cc:
4387 * shell/ev-view.c: (highlight_find_results):
4389 Fix find on single page documents
4391 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4393 * data/evince.schemas.in: fix for bug 301390
4395 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4397 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
4398 (ev_view_zoom_out), (ev_view_zoom_normal):
4400 * shell/ev-window.c: (update_action_sensitivity),
4401 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4402 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
4403 (ev_window_cmd_view_normal_size):
4405 Fix normal size zoom. Make zoom in/zoom out unsensitive when
4406 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
4409 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4413 Depend on 2.57, 2.59 doesnt seem to be necessary
4415 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4417 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4420 Put back total number of pages as (1 of 1234)
4422 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
4424 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4427 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4428 function. This helps debugging.
4430 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4432 * djvu/djvu-document.c: (djvu_document_class_init),
4433 (djvu_document_get_info), (djvu_document_document_iface_init):
4434 * dvi/dvi-document.c: (dvi_document_class_init),
4435 (dvi_document_get_info), (dvi_document_document_iface_init):
4437 Dummy implementation of get_info method for dvi and djvu. Fix
4438 crashes with those backends
4440 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
4442 * data/evince.desktop.in:
4444 Add application/x-gzpostscript
4446 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
4448 * data/evince.schemas.in: Added real long descriptions,
4451 * README: Added actual text, closes bug 171869
4453 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4455 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4459 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4461 * backend/ev-document-info.h:
4463 s/GDate */GDate so we can just use g_free
4465 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4467 * shell/ev-window.c: (update_document_mode),
4468 (ev_window_setup_document):
4470 Show the window in fullscreen when specified by
4473 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4475 * backend/ev-document.c: (ev_document_class_init),
4476 (ev_document_get_info), (ev_document_render_pixbuf):
4477 * backend/ev-document.h:
4478 * backend/ev-page-cache.c: (_ev_page_cache_new):
4479 * pdf/ev-poppler.cc:
4480 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4481 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4482 * ps/ps-document.c: (ps_document_class_init), (document_load),
4483 (ps_document_get_info), (ps_document_document_iface_init):
4485 Remove get_title from the interface, we can just use document info
4487 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4489 * backend/Makefile.am:
4490 * backend/ev-document.c: (ev_document_render_get_info):
4491 * backend/ev-document.h:
4492 * pdf/ev-poppler.cc:
4494 Initial support for document info. Based on jrb patch.
4496 2005-04-19 Paolo Borelli <pborelli@katamail.com>
4498 * shell/ev-window.c: (ev_window_state_event),
4499 (ev_window_class_init), (ev_window_init):
4501 Doesn't show resize grip when maximized. See bug #301053
4503 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4507 ev-sidebar-thumbnails now has translatable labels
4509 * shell/Makefile.am:
4510 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
4511 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
4512 (ev_sidebar_links_page_iface_init):
4513 * shell/ev-sidebar-links.h:
4514 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
4515 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
4516 (ev_sidebar_page_get_label):
4517 * shell/ev-sidebar-page.h:
4518 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
4519 (ev_sidebar_thumbnails_set_document),
4520 (ev_sidebar_thumbnails_support_document),
4521 (ev_sidebar_thumbnails_get_label),
4522 (ev_sidebar_thumbnails_page_iface_init):
4523 * shell/ev-sidebar-thumbnails.h:
4524 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4525 (ev_sidebar_set_document):
4526 * shell/ev-sidebar.h:
4527 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
4529 Small rework of sidebar code. Now sidebar pages should implement
4530 EvSidebarPage interface. That makes page management in EvSidebar
4531 easier. See bug #164811 for details
4533 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4535 * shell/ev-application.c: (ev_application_open):
4536 * shell/ev-document-types.c:
4538 Fix build error and small problem with application exit
4540 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4542 * thumbnailer/Makefile.am:
4543 * thumbnailer/evince-thumbnailer-djvu.schemas:
4544 * thumbnailer/evince-thumbnailer-dvi.schemas:
4546 Conditionally install schemas for djvu/dvi thumbnailer
4548 2005-04-18 David Malcolm <dmalcolm@redhat.com>
4550 * shell/ev-document-types.h:
4551 * shell/ev-document-types.c:
4552 New files, handling the mapping from mimetypes to backends
4554 * shell/ev-window.c:
4555 * thumbnailer/evince-thumbnailer.c:
4556 Use the ev-document-types code
4558 * shell/Makefile.am:
4559 Added new convenience library libevbackendfactory_la, containing
4560 the new mimetype->backend logic; moved the backends into it.
4562 * thumbnailer/Makefile.am:
4563 Make the thumbnailer link with the libevbackend.la convenience
4564 library, rather than having a duplicate of the backend logic here.
4566 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4568 * shell/ev-stock-icons.c: constify some vars.
4569 * shell/ev-window.c: ditto.
4571 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4573 * ps/ps-document.c (get_page_orientation):
4575 Respect document orientation
4577 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4581 * shell/Makefile.am:
4583 Move library dependencies to components.
4585 * shell/ev-window.c: (update_window_title),
4586 (start_loading_document):
4588 Fix display of uris with spaces. Bug 168358.
4590 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4592 * shell/ev-sidebar-links.c: (selection_changed_cb):
4593 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4594 (ev_view_button_release_event), (ev_view_set_document):
4596 * shell/ev-window.c: (find_bar_search_changed_cb):
4597 * shell/ev-window.h: Minor cleanups removing some dead code.
4599 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4601 * backend/ev-page-cache.c: (_ev_page_cache_new):
4603 Set current page to 0 if document has pages.
4605 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4607 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4609 Initialize GError to NULL, fix a crash when loading fails.
4611 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4613 * shell/ev-window.c: (update_view_size):
4615 Calculate shadow size only when there is actually
4618 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4620 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4623 Allow setting view spacing, default to 0
4625 * shell/ev-window.c: (ev_window_unfullscreen),
4626 (ev_window_cmd_view_fullscreen), (ev_window_init):
4628 Remove spacing in fullscreen mode
4630 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4632 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4633 (ev_view_size_request), (expose_bin_window),
4634 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4636 * shell/ev-window.c: (ev_window_unfullscreen),
4637 (ev_window_cmd_view_fullscreen):
4639 Do not draw the border in fulscreen
4641 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4643 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4644 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4645 (find_page_at_location), (page_changed_cb):
4647 Rework border calculation, so that I can more easily disable it.
4648 Code somewhat cleaner too.
4650 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4652 * backend/ev-page-cache.c: (ev_page_cache_init),
4653 (_ev_page_cache_new):
4655 Remove some assertions, documents can have 0 pages.
4656 Make initial current page -1.
4658 * shell/ev-page-action.c: (page_changed_cb):
4660 Show "" if current page is -1
4662 * shell/ev-window.c: (update_action_sensitivity),
4663 (ev_window_setup_document):
4665 When document has 0 pages do not set the view
4666 and make nearly everything insensitive.
4668 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4670 * shell/ev-page-view.c:
4671 * shell/ev-page-view.h:
4673 Remove unused files.
4675 * shell/ev-sidebar-thumbnails.c:
4676 (ev_sidebar_thumbnails_set_document):
4677 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4678 (ev_sidebar_supports_document):
4679 * shell/ev-sidebar.h:
4680 * shell/ev-window.c: (ev_window_setup_document):
4682 Doesn't show thumbnails if document has 1 page. Make
4683 sidebar menu entries sensitive only if if they have
4684 sense. Fix bug 164811.
4686 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4688 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4689 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4690 (ev_view_zoom_out), (ev_view_set_size):
4692 Rework sizing to deal with documents with not uniform page
4695 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4697 * backend/ev-page-cache.c: (_ev_page_cache_new):
4699 Fix several page size caching bugs
4701 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4703 * shell/ev-window.c: (set_action_properties):
4705 Make all toolbar items translatable
4707 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4709 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4710 (save_page_list), (ps_document_save),
4711 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4712 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4713 (ps_document_ps_exporter_iface_init):
4716 Based on a patch by J�rg Billeter <j@bitron.ch>
4718 Implement print and save a copy for the ps backend.
4720 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4722 * backend/ev-document.h:
4723 * djvu/djvu-document.c: (djvu_document_can_get_text),
4724 (djvu_document_document_iface_init):
4725 * dvi/dvi-document.c: (dvi_document_can_get_text),
4726 (dvi_document_document_iface_init):
4727 * pdf/ev-poppler.cc:
4728 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4729 (pixbuf_document_document_iface_init):
4730 * ps/ps-document.c: (ps_document_can_get_text),
4731 (ps_document_document_iface_init):
4732 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4733 * shell/ev-window.c: (update_action_sensitivity):
4735 Fix the crash when trying to copy in backends that doesnt
4736 support it. We can implement a better solution once we
4737 do real text selection.
4739 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4741 * data/evince-ui.xml:
4742 * shell/ev-window.c: (ev_window_cmd_escape):
4744 Work around the Escape conflict (find bar and unfullscreen)
4746 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4748 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4750 Fix for #300233. Next page correctly handles document end.
4752 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4753 (ev_sidebar_thumbnails_class_init),
4754 (ev_sidebar_thumbnails_set_document),
4755 (ev_sidebar_thumbnails_clear_job),
4756 (ev_sidebar_thumbnails_clear_model):
4758 Cleanup thumbnail jobs on document changes.
4760 * shell/ev-view.c: (add_scroll_binding_keypad),
4761 (add_scroll_binding_shifted), (ev_view_class_init):
4763 Shift + Space scrolls up. Fix for #173184
4765 * shell/ev-window.c: (ev_window_open_page),
4766 (ev_window_cmd_view_reload):
4768 Fix reload (Bug #300094)
4770 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4773 * dvi/mdvi-lib/assoc.c:
4774 * dvi/mdvi-lib/assoc.h: Removed garbage files
4776 * dvi/mdvi-lib/bitmap.c:
4777 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4778 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4779 * dvi/mdvi-lib/color.h: Antialias of rules
4781 * dvi/mdvi-lib/common.h:
4782 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4783 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4784 * dvi/mdvi-lib/files.c:
4785 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4786 * dvi/mdvi-lib/mdvi.h:
4787 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4788 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4789 * dvi/mdvi-lib/util.c: Fix compile warnings
4791 * dvi/dvi-document.c:
4792 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4793 (dvi_document_thumbnails_get_thumbnail),
4794 (dvi_document_document_thumbnails_iface_init):
4795 * dvi/mdvi-lib/Makefile.am:
4796 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4797 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4799 Dvi backend now renders thumbnails
4801 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4803 * shell/main.c: (main):
4805 Save accelerators on exit. Fixes bug #172095.
4807 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4809 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4810 update priority" comment.
4812 * backend/ev-job-queue.c: Give a way to change priority.
4814 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4816 * shell/ev-page-action.c: Fix logic.
4818 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4820 * shell/ev-view.c: (ev_view_can_find_next):
4821 * shell/ev-window.c: (ev_window_setup_document):
4823 Check that the document supports find
4825 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4827 * data/evince-ui.xml:
4828 * shell/ev-view.c: (ev_view_can_find_next):
4830 * shell/ev-window.c: (update_action_sensitivity),
4831 (find_changed_cb), (ev_window_setup_document),
4832 (ev_window_cmd_edit_find_next):
4836 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4838 * pdf/ev-poppler.cc:
4839 * shell/ev-print-job.c: (idle_print_handler):
4841 Make printing work again
4843 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4845 * shell/ev-page-action.h:
4846 * shell/ev-page-action.c: (ev_page_action_widget_init),
4847 (ev_page_action_widget_class_init), (page_changed_cb),
4848 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4849 (get_filter_model_from_model), (match_selected_cb),
4850 (display_completion_text), (match_completion), (update_model),
4851 (connect_proxy), (ev_page_action_set_property),
4852 (ev_page_action_get_property), (ev_page_action_set_document),
4853 (ev_page_action_set_model), (ev_page_action_class_init): Big
4854 reworking to make completions work iff we have >= GTK-2.7.0
4856 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4857 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4858 (job_finished_cb): We now have a 'model' property that is set when
4859 the links are loaded. This can be caught with "notify::model"
4861 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4862 listen for the model to be set, and propagate it to the action.
4864 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4866 * cut-n-paste/recent-files/egg-recent-item.c:
4867 (egg_recent_item_set_uri), (make_valid_utf8),
4868 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4869 * cut-n-paste/recent-files/egg-recent-item.h:
4871 Update egg-recent from libegg. This should fix long
4872 startup problem. For details see
4873 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4875 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4877 * cut-n-paste/recent-files/Makefile.am:
4878 * data/evince-ui.xml, shell/Makefile.am:
4879 * shell/ev-application.c, shell/ev-application.h:
4880 * shell/ev-window.c: Recent files support.
4882 * configure.ac: Added "ru" to ALL_LINGUAS.
4884 * dvju: new backend to support DJVU files.
4885 * dvi: new backend to support DVI.
4887 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4888 * ev-application.c: Support for new backends.
4890 * help, ev-window.c, main.c shell/Makefile.am:
4891 Evince user documentation.
4893 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4896 * shell/ev-window.c:
4897 * thumbnailer/evince-thumbnailer.c:
4899 s/pdf-document/ev-poppler
4901 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4908 * ps/ps-document.c: (setup_pixmap):
4912 2005-04-05 Kristian Høgsberg <krh@redhat.com>
4914 * backend/ev-page-cache.c (ev_page_cache_next_page):
4915 * shell/ev-window.c (ev_window_cmd_go_next_page)
4916 (ev_window_cmd_go_first_page): Fix of by one errors.
4918 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4920 * ps/ps-document.c: (get_page_box):
4922 Fix page size calculation
4924 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4926 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4927 (ps_document_cleanup), (setup_pixmap), (get_page_box),
4928 (get_page_orientation), (setup_page), (document_load),
4929 (ps_document_get_page_size), (render_pixbuf_idle):
4932 More refactoring to adapt to EvDocument changes
4934 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4936 * ps/ps-document.c: (start_interpreter):
4938 Actually add alpha args
4940 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4942 * pdf/ev-poppler.cc:
4944 Make clipboard work again
4946 2005-04-04 Kristian Høgsberg <krh@redhat.com>
4948 Make searching work again.
4950 * backend/ev-document.c:
4951 * backend/ev-document.h:
4952 * backend/ev-document-find.c:
4953 * backend/ev-document-find.h: Change EvDocumentIface so we no
4954 longer store the current page or zoom level in the document. The
4955 consequence is that all calls that operate on the current page now
4956 instead take the page number as an extra argument, and all
4957 coordinates are now doubles in document coordinate system.
4959 * pdf/ev-poppler.cc:
4960 * pixbuf/pixbuf-document.c:
4961 * ps/ps-document.c: Update backends accordingly.
4963 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
4967 Add required gettext version
4969 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
4971 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
4972 make F1 bring up non-existent help.
4974 * shell/eggfindbar.c: Patch from Christian Persch to sync to
4975 epiphany's find bar, #167477
4977 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
4978 <emil@nishra.com> to add space-bar scrolling,
4980 * shell/ev-window.c (static GtkActionEntry entries): add default
4981 keybinding for Help (F1)
4984 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
4985 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
4988 2005-04-01 David Malcolm <dmalcolm@redhat.com>
4991 * pixbuf/pixbuf-document.c:
4993 Got pixbuf backend working again
4995 2005-04-01 Steve Murphy <murf@e-tools.com>
4997 * configure.in: Added "rw" to ALL_LINGUAS.
4999 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
5001 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
5002 model types, noticed by Martin Kretzschmar.
5004 2005-04-01 Kristian Høgsberg <krh@redhat.com>
5006 * pdf/ev-poppler.cc: Implement search based on
5007 poppler_page_find_text(). Currently a bit crude since we remember
5008 all matches from all pages. Also, we grab the big document lock
5009 when we search since searching changes the underlying stream and
5010 thus conflicts with the rendering thread.
5012 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5013 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
5014 (ev_view_find_previous): Fix some page indexes to be 0 based,
5015 offset rubber band by view offset,
5017 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
5019 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
5021 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
5023 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
5024 completely because I didn't understand GtkActions. I should
5025 read Marco's code more carefully in the future.
5027 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
5030 2005-03-31 Kristian Høgsberg <krh@redhat.com>
5032 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
5033 PopplerRectangle change from poppler CVS.
5035 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
5037 * backend/ev-document.c: (ev_document_get_page_label):
5038 * backend/ev-document.h:
5039 * backend/ev-page-cache.c: (_ev_page_cache_new),
5040 (ev_page_cache_get_page_label):
5041 * backend/ev-page-cache.h:
5042 * pdf/ev-poppler.cc:
5043 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
5044 (links_page_num_func):
5045 * shell/ev-sidebar-thumbnails.c:
5046 (ev_sidebar_thumbnails_set_document):
5047 * shell/ev-view.c: (status_message_from_link),
5048 (ev_view_motion_notify_event):
5049 * shell/ev-window.c: (document_supports_sidebar): Add in page
5050 label support. It's not perfect yet, but it's the first 'feature'
5052 Also, fix a bogus comment noticed by crispin.
5054 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
5056 * Makefile.am: Remove pixbuf backend for now
5058 * configure.ac: Require poppler-glib instead of just poppler.
5060 * backend/ev-document-thumbnails.h: Add a comment
5062 * backend/ev-document.h:
5063 * backend/ev-document.c: (ev_document_class_init),
5064 (ev_document_load), (ev_document_get_link),
5065 (ev_document_get_links): Remove 3 methods and add get_links.
5068 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
5069 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
5071 * backend/ev-link.c: (ev_link_set_title),
5072 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
5073 (ev_link_mapping_find):
5074 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
5076 * backend/ev-page-cache.c: (ev_page_cache_init),
5077 (_ev_page_cache_new), (ev_page_cache_set_current_page),
5078 (ev_page_cache_get_size), (ev_page_cache_next_page),
5079 (ev_page_cache_prev_page): Fix to be 0 based.
5083 * pdf/ev-poppler.cc: New backend.
5085 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
5086 (ps_document_get_page), (ps_document_document_iface_init):
5088 * shell/ev-pixbuf-cache.h:
5089 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5090 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
5091 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
5092 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
5093 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
5094 Fix up code to grab a page cache per each doc. Also, fix to be 0
5097 * shell/ev-sidebar-thumbnails.c:
5098 (ev_sidebar_tree_selection_changed), (page_changed_cb),
5099 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
5101 * shell/ev-view.c: (status_message_from_link),
5102 (find_page_at_location), (get_link_at_location),
5103 (ev_view_motion_notify_event), (ev_view_button_release_event),
5104 (ev_view_init): Use the new link code. Fix to be 0 based.
5106 * shell/ev-window.c: (update_action_sensitivity),
5107 (document_supports_sidebar): 0 based.
5109 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
5111 * pdf/pdf-document.cc: Patch from Fernando Herrera
5112 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
5115 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
5117 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
5118 1 to the page, as this seems to be 1 based. I thought we has this
5121 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
5124 * backend/Makefile.am:
5125 * backend/ev-document-links.c:
5126 (ev_document_links_has_document_links),
5127 (ev_document_links_get_links_model):
5128 * backend/ev-document-links.h:
5129 * backend/ev-document.c: (ev_document_get_page_cache),
5130 (ev_document_get_doc_mutex), (ev_document_load),
5131 (ev_document_save), (ev_document_get_title),
5132 (ev_document_get_n_pages), (ev_document_set_page),
5133 (ev_document_get_page), (ev_document_set_target),
5134 (ev_document_set_scale), (ev_document_set_page_offset),
5135 (ev_document_get_page_size), (ev_document_get_text),
5136 (ev_document_get_link), (ev_document_render),
5137 (ev_document_render_pixbuf), (ev_document_scale_changed):
5138 * backend/ev-document.h:
5139 * backend/ev-job-queue.c: (remove_object_from_queue),
5140 (notify_finished), (handle_job), (search_for_jobs_unlocked),
5141 (no_jobs_available_unlocked), (ev_render_thread),
5142 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
5143 (ev_job_queue_remove_job):
5144 * backend/ev-job-queue.h:
5145 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
5146 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
5147 (ev_job_links_class_init), (ev_job_render_init),
5148 (ev_job_render_dispose), (ev_job_render_class_init),
5149 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
5150 (ev_job_thumbnail_class_init), (ev_job_finished),
5151 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
5152 (ev_job_render_run), (ev_job_thumbnail_new),
5153 (ev_job_thumbnail_run):
5154 * backend/ev-jobs.h:
5155 * backend/ev-link.c:
5156 * backend/ev-link.h:
5157 * backend/ev-page-cache.c: (ev_page_cache_init),
5158 (ev_page_cache_class_init), (ev_page_cache_finalize),
5159 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
5160 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
5161 (ev_page_cache_set_link), (ev_page_cache_get_title),
5162 (ev_page_cache_get_size), (ev_page_cache_next_page),
5163 (ev_page_cache_prev_page):
5164 * backend/ev-page-cache.h:
5165 * pdf/pdf-document.cc:
5168 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5169 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
5170 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
5171 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
5172 (is_interpreter_ready), (output), (catchPipe), (input),
5173 (start_interpreter), (check_filecompressed), (compute_dimensions),
5174 (ps_document_enable_interpreter), (document_load),
5175 (ps_document_next_page), (render_page), (ps_document_set_page),
5176 (ps_document_set_scale), (render_pixbuf_idle),
5177 (ps_document_render_pixbuf), (ps_document_document_iface_init):
5179 * shell/Makefile.am:
5180 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5181 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
5182 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
5183 (ev_pixbuf_cache_new), (job_finished_cb),
5184 (check_job_size_and_unref), (move_one_job),
5185 (ev_pixbuf_cache_update_range), (find_job_cache),
5186 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
5187 (ev_pixbuf_cache_add_jobs_if_needed),
5188 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
5189 * shell/ev-pixbuf-cache.h:
5190 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
5191 (idle_print_handler):
5192 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5193 (selection_changed_cb), (create_loading_model),
5194 (ev_sidebar_links_construct), (links_page_num_func),
5195 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
5196 (update_page_callback), (job_finished_cb),
5197 (ev_sidebar_links_set_document):
5198 * shell/ev-sidebar-thumbnails.c:
5199 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
5200 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
5201 (page_changed_cb), (thumbnail_job_completed_callback),
5202 (ev_sidebar_thumbnails_set_document):
5203 * shell/ev-sidebar-thumbnails.h:
5204 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5205 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
5206 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
5207 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
5208 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
5209 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
5210 (ev_view_button_release_event), (ev_view_scroll_view),
5211 (ev_view_class_init), (ev_view_init), (update_find_status_message),
5212 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
5213 (ev_view_new), (job_finished_cb), (page_changed_cb),
5214 (ev_view_set_document), (go_to_link), (ev_view_zoom),
5215 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
5216 (ev_view_find_previous):
5218 * shell/ev-window.c: (update_action_sensitivity),
5219 (ev_window_open_page), (update_window_title), (update_total_pages),
5220 (page_changed_cb), (ev_window_setup_document),
5221 (password_dialog_response), (ev_window_cmd_save_as),
5222 (ev_window_print), (ev_window_cmd_go_previous_page),
5223 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
5224 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
5225 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
5226 * shell/main.c: (main):
5228 Merge evince-threads branch
5230 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
5232 * configure.ac: Added "lt" to ALL_LINGUAS.
5234 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
5241 2005-03-13 Fernando Herrera <fherrera@onirica.com>
5243 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5245 Fix here also the thumbnails 1-basedness :)
5247 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5254 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5256 * pdf/pdf-document.cc:
5257 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
5258 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
5260 Fix the mess we did with thumbnails and 1-basedness
5262 2005-03-12 Changwoo Ryu <cwryu@debian.org>
5264 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
5266 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
5273 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
5276 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
5277 (gtk_gs_defaults_get_alpha_parameters),
5278 (gtk_gs_defaults_get_ungzip_cmd),
5279 (gtk_gs_defaults_get_unbzip2_cmd):
5281 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5282 (ps_document_get_orientation), (document_load),
5283 (ps_document_goto_page), (ps_document_set_page_size):
5286 Some more sanitization of the ps backend. Remove a lot
5287 of unused code and do not base our defaults on ggv
5290 2005-03-08 Fernando Herrera <fherrera@onirica.com>
5292 * thumbnailer/evince-thumbnailer.schemas:
5293 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5294 (main): add -s option for thumbnail size.
5296 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
5300 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
5303 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5305 * pdf/pdf-document.cc:
5307 Remove 4 pixels of useless border from the
5310 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5312 * backend/ev-document-thumbnails.c:
5313 (ev_document_thumbnails_get_thumbnail):
5314 * backend/ev-document-thumbnails.h:
5316 Rework API a bit. Add a border flag and
5317 change sizing logic (now the size we specify
5318 applies to the bigger dimension).
5320 * pdf/pdf-document.cc:
5321 * pixbuf/pixbuf-document.c:
5322 (pixbuf_document_thumbnails_get_thumbnail):
5323 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
5324 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5326 Adapt to the new API and do not draw a border for nautilus
5329 2005-03-03 Fernando Herrera <fherrera@onirica.com>
5331 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5332 take thumbnails from page "0" instead of "1". Added a copyright header.
5334 2005-03-03 Jens Granseuer <jensgr@gmx.net>
5336 * ps/ps-document.c: (set_up_page), (start_interpreter):
5338 Make it C89 compliant
5340 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
5345 * pdf/pdf-document.cc:
5346 * thumbnailer/Makefile.am:
5347 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5349 * thumbnailer/evince-thumbnailer.schemas:
5350 * thumbnailer/pdf-icon.png:
5352 Add a nautilus thumbnailer.
5353 Based on patch by Fernando Herrera <fherrera@onirica.com>.
5355 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
5363 2005-03-01 Kristian Høgsberg <krh@redhat.com>
5365 Use poppler instead of including xpdf source code. Poppler is a
5366 fork of xpdf to build it as a shared library. See
5367 http://freedesktop.org/wiki/Software/poppler.
5369 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
5372 * pdf/Makefile.am: Build libpdfdocument.a here.
5374 * pdf/GDKSplashOutputDev.cc:
5375 * pdf/GDKSplashOutputDev.h:
5376 * pdf/GnomeVFSStream.cc:
5377 * pdf/GnomeVFSStream.h:
5380 * test-gdk-output-dev.cc
5382 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
5385 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5387 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
5389 Clear idle stack before unsetting the document
5391 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5393 * ps/ps-document.c: (ps_document_widget_event),
5394 (ps_document_set_target), (ps_document_finalize),
5395 (ps_document_get_page):
5397 Disconnect the widget event signal on finalize.
5400 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5402 * ps/ps-document.c: (set_up_page):
5404 If there is no bpixmap create one, even if size
5407 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5409 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5410 (set_up_page), (document_load), (ps_document_set_zoom):
5412 Default page is 0. Calculate size even when we have no
5415 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
5417 * shell/ev-sidebar.c: expand the selection widget to be always as
5420 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5422 * shell/ev-sidebar-thumbnails.c:
5423 (ev_sidebar_thumbnails_set_document):
5425 Clear the list store when setting document
5427 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5429 * shell/ev-page-action.c: (update_entry), (sync_entry),
5430 (activate_cb), (entry_size_request_cb), (create_tool_item),
5433 Use an entry for the page control instead of spinbuttons
5435 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5437 * data/evince.schemas.in:
5439 Correct confusing string
5441 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
5443 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5444 for real. Gosh, how long has this been broken.
5446 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5447 check for a NULL link. We crash otherwise.
5449 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
5456 2005-02-25 Sebastien Bacher <seb128@debian.org>
5458 * configure.ac: add the french translation.
5460 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5462 * shell/ev-window.c:
5464 Remove unused header -> fix distcheck
5466 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5468 * shell/ev-window.c: (update_window_title),
5469 (ev_window_popup_password_dialog):
5471 Unescape filename for display
5473 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5475 * pdf/xpdf/pdf-document.cc:
5477 In get_page_size deal with rotation. Also
5478 cleanup the function a bit.
5480 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5482 * pdf/xpdf/pdf-document.cc:
5484 Fix crash when opening in new window
5486 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5490 Check ghostscript >= 7
5492 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
5494 * shell/ev-window.c:
5496 Make page width the default sizing mode
5498 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
5499 Marco Pesenti Gritti <marco@gnome.org>
5501 * shell/ev-window.c: Remember the sidebar size
5503 * data/evince.schemas.in: Add a new gconf key to store the size of
5506 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
5508 * data/evince-ui.xml:
5509 * shell/ev-window.c: (update_action_sensitivity),
5510 (ev_window_cmd_view_reload):
5512 Add a "Reload" action and menu entry
5514 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
5516 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
5517 iff the type doesn't support thumbnailing and indexing.
5519 2005-02-24 Martin Kretzschmar <martink@gnome.org>
5521 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
5523 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5525 * pdf/splash/Splash.cc:
5527 Port fix for a crasher from kde bug
5528 http://bugs.kde.org/show_bug.cgi?id=97131
5530 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5532 * pdf/xpdf/pdf-document.cc:
5534 Return a link even if it's of an unrecognized
5535 type. Otherwise we go in an infinte cycle.
5537 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5539 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
5540 (size_allocate_cb), (ev_window_set_sizing_mode):
5542 Update size when switching mode
5544 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5546 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5547 (ev_window_cmd_view_page_width), (update_sizing_buttons),
5548 (ev_window_cmd_view_normal_size):
5550 Fix size toggle buttons behavior
5552 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5554 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5555 (doc_rect_to_view_rect), (ev_view_size_allocate),
5556 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5557 (scale_changed_callback):
5559 Do not cache offsets in size_allocate.
5561 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5563 * shell/ev-view.c: (ev_view_size_allocate):
5565 Calculate offsets before calling the parent
5566 class (which does a redraw)
5568 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5570 * pdf/xpdf/pdf-document.cc:
5572 Fix a crasher on exit. Unused code, put a TODO
5574 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5576 * backend/ev-document.c: (ev_document_class_init),
5577 (ev_document_page_changed), (ev_document_scale_changed):
5578 * backend/ev-document.h:
5580 Separate page/scale notifications
5582 * pdf/xpdf/pdf-document.cc:
5584 Emit the new signals.
5585 Do not display the pdf page in _render, do it
5586 when scale/page are requested.
5588 * ps/ps-document.c: (ps_document_set_zoom),
5589 (ps_document_widget_event):
5592 Emit the new signals.
5594 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5595 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5596 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5597 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5599 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5600 (ev_window_cmd_view_page_width), (size_allocate_cb),
5601 (ev_window_set_sizing_mode):
5603 Rework sizing to be pixel based.
5604 There are bugs but should be already way better.
5606 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5608 * shell/ev-window.c: (ev_window_init):
5610 Do not allow to shrink sidebar smaller then
5613 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5615 * shell/ev-sidebar.[ch]
5616 * shell/ev-window.c:
5618 Improved sidebar widget. Fixes #166683
5620 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5622 * shell/ev-view.c (update_find_status_message): Give translators
5623 more flexibility with ngettext plural handling.
5625 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5627 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5628 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5629 page when we get the page size.
5631 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5633 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5635 ps pages are 0 based, convert
5637 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5639 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5641 Initialize correct parent class. Set GError on document load
5643 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5645 * pdf/xpdf/pdf-document.cc:
5647 Fixup selection offset calculation
5649 * shell/ev-view.c: (view_rect_to_doc_rect),
5650 (doc_rect_to_view_rect), (ev_view_size_allocate),
5651 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5652 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5654 Store selection as document relative, so that zooming
5655 and offset changing doesnt break it.
5657 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5659 * shell/ev-view.c: (ev_view_best_fit):
5661 Do not try to best fit if the view is not realized
5663 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5665 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5667 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5669 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5671 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5673 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5674 the popup window. That prevents it resizing when in full screen
5677 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5678 multiple rerenders. This pretty much sucks.
5680 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5681 rest of the toolbar.
5683 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5685 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5687 2005-02-17 Alexander Shopov <ash@contact.bg>
5689 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5691 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5693 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5695 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5697 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5698 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5699 (set_document_page), (document_changed_callback),
5700 (ev_view_set_document), (ev_view_find_previous),
5701 (ev_view_hide_cursor), (ev_view_show_cursor):
5703 * shell/ev-window.c: (update_chrome_visibility),
5704 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5705 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5706 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5707 (ev_window_unfullscreen):
5708 * shell/main.c: (main):
5710 Automatically hide the fullscreen button.
5711 Patch by Kristian Høgsberg <krh@redhat.com>
5713 2005-02-16 Vincent Noel <vnoel@cox.net>
5715 * shell/main.c (main): Specify an icon for the window. Patch by
5716 Jaap A. Haitsma. Fixes #166177.
5718 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5720 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5722 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5724 * backend/ev-document-misc.h:
5725 * backend/ev-document-misc.c:
5726 (ev_document_misc_get_page_border_size),
5727 (ev_document_misc_paint_one_page): New function to canonicalize
5728 sizing/painting a border.
5730 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5733 * pdf/xpdf/pdf-document.cc: use new function
5735 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5736 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5737 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5738 shell/ev-window.c: (update_sizing_buttons),
5739 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5740 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5741 (ev_window_cmd_view_page_width), (size_allocate_cb),
5742 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5743 and "fit width" values act as toggle buttons so they stay
5744 toggled. It's not 100% perfect, and it's a little slow, but it's
5745 good enough to commit I think.
5747 2005-02-15 David Lodge <dave@cirt.net>
5749 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5751 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5753 * shell/ev-window.c (update_window_title): replace newlines in
5754 the title by spaces. Bug #166107.
5756 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5758 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5759 parameters providing allocation width and height without
5760 scrollbars and width of a possible vertical scrollbar. With this
5761 additional information the functions can work as
5762 intended. Unfortunately they're not idempotent. We should
5763 transform these commands to toggles. Fixes Bug #164976
5764 Initial patch by Stephane Loeuillet, then heavily modified.
5766 * shell/ev-view.h: update prototypes.
5768 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5769 (ev_window_cmd_view_page_width): provide EvView fit functions with
5770 all the information they need. Formulas to calculate this
5771 information taken from GtkScrolledWindow.
5773 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5775 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5776 created a thumbnail, the list store is updated to know
5777 that the thumbnail is set. Fixes bug #166792
5779 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5781 * shell/ev-window.c: fixed typo, closes bug 166897
5783 * TODO: updated TODO with bug numbers that are relevant
5785 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5787 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5789 2005-02-09 Vincent Noel <vnoel@cox.net>
5791 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5792 and "Next" toolbar buttons as important to make them stand out.
5794 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5798 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5799 (start_interpreter), (stop_interpreter), (document_load),
5800 (ps_document_next_page), (ps_document_goto_page),
5801 (ps_document_set_page_size), (ps_document_widget_event),
5802 (ps_document_render):
5803 * shell/ev-page-view.c: (ev_page_view_dispose):
5804 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5806 Fix compilation on non-gcc platforms
5808 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5815 * pdf/xpdf/Catalog.cc:
5818 Fix the fix for CAN-2004-0888
5820 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5823 * data/evince-ui.xml:
5824 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5825 * shell/ev-stock-icons.h:
5826 * shell/ev-window.c: (update_action_sensitivity),
5827 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5828 (set_action_properties):
5830 Improve toolbar layout/icons
5832 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5834 * pdf/xpdf/pdf-document.cc:
5836 Add warnings about unimplemented/unknown link
5839 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5841 * ps/ps-document.c: (set_up_page):
5845 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5847 * ps/ps-document.c: (start_interpreter):
5851 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5853 * shell/ev-page-view.c: (ev_page_view_dispose):
5854 * shell/ev-view.c: (ev_view_finalize):
5855 * shell/ev-window.c: (ev_window_setup_document),
5856 (ev_window_dispose), (ev_window_init):
5858 Solve more refs issues.
5860 I commented out the page_view initialization for now:
5861 it was never destroyed (because it's never added
5862 to a container). Because of that we was leaking
5863 gs processes. Couldnt think to a clean fix.
5864 We need to figure this out, password view has the
5865 same issue probably.
5867 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5869 * ps/ps-document.c: (ps_document_finalize),
5870 (ps_document_get_n_pages), (ps_document_get_page):
5872 Some cleanups, stop the interpreter on finalize
5874 * shell/ev-page-view.c: (ev_page_view_dispose),
5875 (ev_page_view_class_init):
5877 Release our reference on the document
5879 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5883 * doc/debugging.txt:
5886 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5887 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5888 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5891 Add debugging helpers
5894 * ps/ps-document.c: (set_up_page), (start_interpreter),
5895 (stop_interpreter), (document_load), (ps_document_next_page),
5896 (ps_document_goto_page), (ps_document_set_page_size),
5897 (ps_document_widget_event), (ps_document_render):
5898 * shell/Makefile.am:
5899 * shell/ev-view.c: (expose_bin_window):
5900 * shell/main.c: (main):
5904 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5906 * ps/ps-document.c: (ps_document_widget_event):
5908 Initialize message_window, this should make ps
5909 rendering really work! (Never noticed because I was
5910 testing with a ps that is causing gs to exit every time!)
5912 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
5914 * data/evince.schemas.in: updated simple error in applyto closing tag
5916 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
5922 * data/evince-ui.xml:
5923 A data/evince.schemas.in:
5925 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5926 * shell/ev-stock-icons.h:
5927 * shell/ev-window.c: (update_chrome_visibility),
5928 (update_chrome_flag), (ev_window_cmd_edit_find),
5929 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5930 (ev_window_unfullscreen), (ev_window_focus_in_event),
5931 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5932 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5933 (ev_window_view_sidebar_cb), (find_bar_close_cb),
5934 (ev_window_dispose), (ev_window_class_init),
5935 (set_action_properties), (set_chrome_actions), (load_chrome),
5938 Implement fullscreen mode changes from bug #164776.
5939 Also implement persistent chrome toggles.
5941 2005-02-07 Jordi Mallach <jordi@sindominio.net>
5943 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
5945 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5951 Add another check for find interface
5955 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5957 * shell/ev-application.c: (ev_application_open):
5958 * shell/ev-window.c: (ev_window_open):
5960 Open gzipped ps documents
5962 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5965 * shell/ev-view.c: (set_document_page):
5967 Clamp page number, dont try to move to
5970 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
5972 * backend/ev-document-find.c: (ev_document_find_changed):
5973 * backend/ev-document-find.h:
5974 * pdf/xpdf/pdf-document.cc:
5975 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
5976 * shell/ev-window.c: (find_bar_search_changed_cb):
5978 Fix several bugs with find
5980 2005-02-04 Martin Kretzschmar <martink@gnome.org>
5982 * shell/ev-sidebar-thumbnails.c
5983 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
5984 document. Prevents warning from scroll_to_cell.
5986 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
5988 * configure.ac: Add «nb» to ALL_LINGUAS too.
5990 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
5992 * NOTES: New file with some random thoughts.
5996 * backend/ev-document-misc.c:
5997 (ev_document_misc_get_page_border_size): New function to
5998 canonicalize shadow drawing sizes. Possibly goofy.
6000 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
6001 (ev_view_best_fit), (ev_view_fit_width):
6002 * pdf/xpdf/pdf-document.cc:
6003 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6004 * ps/ps-document.c: (ps_document_get_page_size):
6005 * backend/ev-document-misc.h:
6006 * backend/ev-document.c: (ev_document_get_page_size):
6007 * backend/ev-document.h: get_page_size now takes a page number
6008 parameter. Made all the backends/frontends honor it.
6010 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
6011 see. Doesn't work yet.
6013 * shell/Makefile.am:
6014 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
6015 Doesn't do anything yet.
6017 * shell/ev-sidebar-thumbnails.c:
6018 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
6021 * shell/ev-window.c: (update_action_sensitivity),
6022 (ev_window_setup_document), (ev_window_set_page_mode),
6023 (ev_window_page_mode_cb), (ev_window_init): Clean up the
6024 view-swapping code a bit so we can have multiple views on a
6025 document. Add the multi-page view, though it can't be turned on
6028 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6030 * shell/ev-application.c: (ev_application_open):
6031 * shell/ev-view.c: (expose_bin_window):
6032 * shell/ev-window.c: (ev_window_open):
6034 Support eps and check document supports find
6035 before drawing highlightings in expose.
6037 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6039 * pixbuf/pixbuf-document.c:
6040 (pixbuf_document_thumbnails_get_dimensions),
6041 (pixbuf_document_document_thumbnails_iface_init):
6043 implement get_dimensions
6045 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6052 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6054 * shell/ev-view.c: (set_document_page):
6056 Scroll at the top of the page when changing page
6058 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6060 * shell/ev-view.c: (ev_view_motion_notify_event):
6062 Do not redraw unnecessarily
6064 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6066 * pdf/xpdf/pdf-document.cc:
6067 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6068 (expose_bin_window), (find_changed_cb):
6070 Yay! find works now... Now to find bugs...
6072 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6074 * backend/ev-document-find.c: (ev_document_find_base_init),
6075 (ev_document_find_changed):
6076 * backend/ev-document-find.h:
6077 * pdf/xpdf/pdf-document.cc:
6078 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6079 (expose_bin_window), (ev_view_init), (set_document_page),
6080 (ensure_rectangle_is_visible), (jump_to_find_result),
6081 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
6082 (ev_view_find_next), (ev_view_find_previous):
6084 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
6086 More work on find implementation, mostly there now
6088 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
6090 * backend/ev-backend-marshalers.list:
6091 * backend/ev-document-find.c: (ev_document_find_base_init),
6092 (ev_document_find_cancel), (ev_document_find_page_has_results),
6093 (ev_document_find_get_n_results), (ev_document_find_get_result),
6094 (ev_document_find_get_progress), (ev_document_find_changed):
6095 * backend/ev-document-find.h:
6097 Enanche the find interface to be really able to do
6100 * pdf/xpdf/pdf-document.cc:
6104 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
6105 (expose_bin_window), (ev_view_init),
6106 (ev_view_get_find_status_message), (find_changed_cb),
6107 (ev_view_set_document), (set_document_page):
6109 Adapt to the new interface. A few things are regressed sorry,
6110 I will finish it soon.
6112 2005-01-28 Martin Kretzschmar <martink@gnome.org>
6114 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
6115 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
6116 ev_sidebar_thumbnails_parent_class variable, don't define another
6117 parent_class variable.
6119 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
6120 (ev_page_action_class_init): ditto.
6122 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
6123 (pixbuf_document_class_init): ditto.
6125 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
6128 * .cvsignore: ignore various valgrind output files.
6130 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6132 * data/evince-ui.xml:
6133 * shell/Makefile.am:
6134 * shell/ev-history.c:
6135 * shell/ev-history.h:
6136 * shell/ev-navigation-action.c:
6137 * shell/ev-navigation-action.h:
6138 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
6139 (ev_view_set_page), (ev_view_fit_width):
6141 * shell/ev-window.c: (update_action_sensitivity),
6142 (ev_window_setup_document), (register_custom_actions):
6144 Kill session history
6146 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6148 * shell/ev-window.c: (update_action_sensitivity):
6150 Fix inverted up/down buttons
6152 2005-01-27 Martin Kretzschmar <martink@gnome.org>
6154 * shell/ev-sidebar-thumbnails.c
6155 (ev_sidebar_thumbnails_select_page): make sure the selected
6156 thumbnail stays visible.
6158 2005-01-26 Martin Kretzschmar <martink@gnome.org>
6160 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
6161 scrolled window for Federico.
6163 2005-01-26 Ole Laursen <olau@hardworking.dk>
6165 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
6167 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
6170 * pdf/splash/SplashFTFontEngine.cc:
6172 Fix CID fonts with freetype 2.1.9
6174 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
6176 * TODO: added item for desktop icon thumbnailer
6178 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
6180 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
6181 unloaded docs when the title is accessed.
6183 * shell/ev-password-view.[hc]: New widget for displaying password
6186 * shell/ev-window.[ch]: Refactor password handling code to handle
6189 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
6197 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
6199 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
6200 ignore page offset here, to make search results independent of it,
6202 * shell/ev-view.c (expose_bin_window): but take offsets into
6203 account here. Bug #164932
6205 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
6206 scale at the right time. Bug #164996
6208 2005-01-22 Martin Kretzschmar <martink@gnome.org>
6210 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
6211 fix the problem. Now I just removed the Adobe font names and hope
6212 that the URW fonts are always in outline format. Bug #164934
6214 * shell/ev-window.c (update_window_title): empty titles are
6215 useless, use filename in that case too.
6217 * NEWS: Add some content.
6219 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
6221 * TODO: added one more TODO item and a TODONE section :)
6223 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6225 * ps/ps-document.h: add page_[xy]_offset fields.
6227 * ps/ps-document.c (ps_document_set_page_offset)
6228 (ps_document_render): Keep offset in consideration in a few
6229 places. Bug #164752 "postscript documents are not centered in
6232 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
6233 s/gpdf/evince/. Spotted by Stephane Loeuillet.
6235 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
6236 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
6237 stub out missing methods for complete EvDocument implementation.
6238 Fixes segfaults with Save A Copy and Copy actions.
6240 * ps/ps-document.c (ps_document_save, ps_document_get_text)
6241 (ps_document_document_iface_init): ditto.
6243 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6247 * data/evince.desktop.in:
6251 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6253 * shell/ev-view.c: (ev_view_button_press_event),
6254 (ev_view_motion_notify_event):
6256 Make selection work in any direction
6258 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6261 * shell/ev-window.c: (set_short_labels), (ev_window_init):
6263 Use shorter labels for some of the toolbars items
6265 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6267 * pdf/xpdf/pdf-document.cc:
6269 Check the links info is initialized before
6270 using it. Should fix a crash on startup.
6272 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6274 * pixbuf/pixbuf-document.c
6275 (pixbuf_document_thumbnails_get_dimensions): force floating point
6276 division to calculate page_ratio. Fixes crash with landscape
6279 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
6281 * shell/ev-view.c (ev_view_realize): make the bg color darker.
6283 2005-01-20 Martin Kretzschmar <martink@gnome.org>
6285 * shell/ev-view.c (set_document_page): unset has_selection when
6287 (set_document_page): handle paper size changes when the page
6288 changes (test with Free Culture, page 2).
6290 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6292 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
6293 (expose_bin_window), (ev_view_class_init), (ev_view_init):
6295 Use normal style color for the widget background and
6296 draw a black box around the page.
6298 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6300 * pdf/xpdf/pdf-document.cc:
6302 Keep offset in consideration in a few places
6304 * shell/ev-view.c: (expose_bin_window):
6306 Set the offsets so that the document is ever centered
6308 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
6310 * TODO: Added TODO items and finished off the first todo item
6312 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
6313 reflect current authors
6315 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6317 * pdf/xpdf/pdf-document.cc:
6318 * shell/ev-view.c: (ev_view_set_cursor),
6319 (ev_view_motion_notify_event), (document_changed_callback),
6320 (set_document_page):
6322 Show a wait cursor while the page is rendering
6324 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6326 * shell/ev-sidebar-thumbnails.c:
6327 (ev_sidebar_tree_selection_changed),
6328 (ev_sidebar_thumbnails_select_page):
6329 * shell/ev-sidebar-thumbnails.h:
6330 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
6331 (ev_view_can_go_forward):
6332 * shell/ev-window.c: (ev_window_open_page),
6333 (ev_window_setup_document), (update_current_page),
6334 (view_page_changed_cb), (ev_window_init):
6335 * shell/ev-window.h:
6337 Ensure thumbnails selection, toolbar page control and
6338 current page are in sync.
6340 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
6346 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
6348 * backend/Makefile.am:
6349 * backend/ev-document-links.h:
6350 * backend/ev-document-security.c: (ev_document_security_get_type),
6351 (ev_document_security_has_document_security),
6352 (ev_document_security_set_password):
6353 * backend/ev-document-security.h:
6354 * backend/ev-document.c: (ev_document_error_quark):
6355 * backend/ev-document.h:
6357 * data/evince-password.glade:
6358 * pdf/xpdf/pdf-document.cc:
6359 * shell/Makefile.am:
6360 * shell/ev-password.c: (ev_password_set_bad_password_label),
6361 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
6362 (ev_password_dialog_get_password),
6363 (ev_password_dialog_set_bad_pass):
6364 * shell/ev-password.h:
6365 * shell/ev-window.c: (ev_window_get_attribute),
6366 (ev_window_set_property), (update_action_sensitivity),
6367 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
6368 (ev_window_setup_document), (ev_window_get_password),
6369 (ev_window_open), (ev_window_cmd_save_as),
6370 (using_postscript_printer), (ev_window_print),
6371 (find_not_supported_dialog), (ev_window_cmd_edit_find),
6372 (update_fullscreen_popup), (ev_window_fullscreen),
6373 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6374 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
6375 (menu_item_select_cb), (find_bar_search_changed_cb),
6376 (ev_window_dispose), (ev_window_init):
6378 Add initial support for password-supported dialogs. This could be
6379 a lot cooler, but it'll do for now.
6381 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
6383 * pdf/xpdf/pdf-document.cc:
6384 * shell/ev-view.c: (status_message_from_link),
6385 (ev_view_set_status), (ev_view_set_cursor),
6386 (ev_view_motion_notify_event), (ev_view_init):
6387 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
6389 Fix bugs in the links implementation and change cursor
6390 when hovering a link.
6392 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
6394 * viewer/.cvsignore: added cvsignore file for viewer directory
6396 * TODO: created TODO document
6398 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
6401 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
6402 new functions to help with implementation of sensitivity code
6403 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6404 of all actions that might require it. Fixes a crash when you
6405 click on the Zoom actions in a window lacking a document.
6407 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
6409 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6412 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6414 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6415 (pixbuf_document_document_iface_init):
6416 * ps/ps-document.c: (ps_document_get_link),
6417 (ps_document_document_iface_init):
6418 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6419 (status_message_from_link), (ev_view_set_status),
6420 (ev_view_set_find_status), (ev_view_motion_notify_event),
6421 (ev_view_button_release_event), (ev_view_set_property),
6422 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6423 (ev_view_get_find_status_message), (update_find_results),
6424 (ev_view_get_status), (ev_view_get_find_status):
6426 * shell/ev-window.c: (view_status_changed_cb),
6427 (view_find_status_changed_cb), (ev_window_init):
6429 View status message support, use it to show the links.
6432 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6434 * backend/ev-document.c: (ev_document_get_link):
6435 * backend/ev-document.h:
6436 * pdf/xpdf/pdf-document.cc:
6437 * shell/ev-application.c: (ev_application_open):
6438 * shell/ev-application.h:
6439 * shell/ev-sidebar-links.c: (selection_changed_cb):
6440 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6441 (ev_view_go_to_link):
6443 Add support for document links
6445 2005-01-13 Anders Carlsson <andersca@gnome.org>
6447 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6449 Set the spin button limits correctly.
6451 * shell/ev-sidebar-thumbnails.c:
6452 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6453 Support changing pages by clicking on the thumbnails.
6455 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6457 * pixbuf/pixbuf-document.c:
6458 (pixbuf_document_thumbnails_get_dimensions),
6459 (pixbuf_document_document_thumbnails_iface_init):
6461 implement get_dimensions
6463 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6465 * ps/ps-document.c: (ps_document_goto_page):
6467 Fix page switching on multipage documents
6469 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
6471 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6473 check for NULL before assigning to width and height parameters
6475 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6477 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6478 (pixbuf_document_set_property), (pixbuf_document_get_property):
6480 implement get/set properties
6482 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6484 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6486 return NULL instead of "Unknown", letting the title get set to
6487 the filename when the pdf has no title.
6489 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6491 * ps/ps-document.c: (ps_document_get_page_count),
6492 (ps_document_goto_page):
6494 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6496 * shell/ev-history.c: (ev_history_get_property),
6497 (ev_history_set_property), (ev_history_class_init),
6498 (ev_history_add_page), (ev_history_set_current_index):
6499 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
6500 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
6501 (ev_navigation_action_finalize):
6502 * shell/ev-navigation-action.h:
6503 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6504 (ev_view_go_forward), (ev_view_get_find_status_message),
6505 (history_index_changed_cb), (ev_view_set_history):
6507 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6508 (update_current_page), (register_custom_actions):
6510 Implement history dropdowns
6512 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6514 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
6515 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6516 (ev_view_go_forward):
6517 * shell/ev-window.c: (register_custom_actions):
6519 Fix several history bugs
6521 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
6523 * configure.ac: Add «nb» to ALL_LINGUAS.
6525 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
6527 * backend/Makefile.am:
6528 * backend/ev-bookmark.c:
6529 * backend/ev-bookmark.h:
6530 * backend/ev-document-bookmarks.c:
6531 * backend/ev-document-bookmarks.h:
6532 * backend/ev-document-links.c: (ev_document_links_get_type),
6533 (ev_document_links_has_document_links),
6534 (ev_document_links_begin_read), (ev_document_links_get_link),
6535 (ev_document_links_get_child), (ev_document_links_next),
6536 (ev_document_links_free_iter):
6537 * backend/ev-document-links.h:
6538 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
6539 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
6540 (ev_link_get_link_type), (ev_link_set_link_type),
6541 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
6542 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
6543 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
6544 (ev_link_new_external):
6545 * backend/ev-link.h:
6546 * pdf/xpdf/pdf-document.cc:
6547 * shell/Makefile.am:
6548 * shell/ev-application.c: (ev_application_open_link):
6549 * shell/ev-application.h:
6550 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6551 (ev_history_get_link_nth):
6552 * shell/ev-history.h:
6553 * shell/ev-sidebar-bookmarks.c:
6554 * shell/ev-sidebar-bookmarks.h:
6555 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6556 (ev_sidebar_links_class_init), (selection_changed_cb),
6557 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6558 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6559 (do_one_iteration), (populate_links_idle),
6560 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6561 * shell/ev-sidebar-links.h:
6562 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6563 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6566 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6567 * shell/ev-window.h:
6569 Rename bookmark to link, and use "Index" for the sidebar panel.
6571 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6573 * shell/Makefile.am:
6574 * shell/ev-application.c: (ev_application_open_bookmark):
6575 * shell/ev-application.h:
6576 * shell/ev-history.c: (ev_history_init), (free_links_list),
6577 (ev_history_finalize), (ev_history_class_init),
6578 (ev_history_add_link), (ev_history_add_page),
6579 (ev_history_get_link_nth), (ev_history_get_n_links),
6580 (ev_history_get_current_index), (ev_history_set_current_index),
6582 * shell/ev-history.h:
6583 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6584 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6585 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6586 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6589 * shell/ev-window.c: (ev_window_open_bookmark),
6590 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6591 (goto_page_cb), (register_custom_actions):
6592 * shell/ev-window.h:
6594 Initial history implementation. Needs work.
6596 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6598 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6600 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6602 * cut-n-paste/recent-files/egg-recent-item.c:
6603 * cut-n-paste/recent-files/egg-recent-item.h:
6604 * cut-n-paste/recent-files/egg-recent-model.c:
6605 * cut-n-paste/recent-files/egg-recent-util.c:
6606 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6607 * cut-n-paste/recent-files/egg-recent-view.c:
6611 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6613 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6614 (fillGlyph, fillImageMask, drawImage):
6615 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6616 pdf/splash/SplashTypes.h:
6617 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6618 packed mode for Splash.
6620 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6621 RGB8 packed mode, eliminates the pixbuf data creation loop.
6623 * shell/ev-print-job.c (ev_print_job_finalize)
6624 (ev_print_job_set_property, ev_print_job_get_property)
6625 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6626 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6627 (print_closure_finalize, ev_print_job_print): implement
6628 printing (for backends with EvPsExporter)
6630 * shell/ev_print_job.h: update prototypes.
6632 * shell/ev-window.c (ev_window_print): unref print job after
6635 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6636 unless the document implements the EvDocumentFind interface.
6638 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6640 * configure.ac: Added ja to ALL_LINGUAS.
6642 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6644 * pdf/xpdf/pdf-document.cc:
6646 add a FIXME. We should probably not allocate
6647 a bookmark object every time
6649 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6651 * shell/ev-application.c: (ev_application_open),
6652 (ev_application_open_bookmark):
6653 * shell/ev-application.h:
6655 Add a way to open bookmarks
6657 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6658 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6659 (ev_bookmark_set_property), (ev_bookmark_class_init),
6660 (ev_bookmark_new_title), (ev_bookmark_new_link),
6661 (ev_bookmark_new_external):
6663 Support for external uris, better constructors.
6665 * backend/ev-bookmark.h:
6666 * pdf/xpdf/pdf-document.cc:
6667 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6669 Handle external uris
6671 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6673 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6674 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6676 Hook up bookmarks navigation
6678 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6680 * backend/Makefile.am:
6681 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6682 (ev_bookmark_get_title), (ev_bookmark_set_title),
6683 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6684 (ev_bookmark_get_page), (ev_bookmark_set_page),
6685 (ev_bookmark_get_property), (ev_bookmark_set_property),
6686 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6688 * backend/ev-bookmark.h:
6689 * backend/ev-document-bookmarks.c:
6690 (ev_document_bookmarks_get_bookmark):
6691 * backend/ev-document-bookmarks.h:
6692 * pdf/xpdf/pdf-document.cc:
6693 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6695 Add a bookmark object to the backend and use it instead of get_values
6697 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6699 * data/evince-ui.xml:
6701 Cleanup and add select all.
6703 * shell/ev-view.c: (ev_view_select_all),
6704 (ev_view_button_press_event):
6706 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6709 Clear selection on click.
6711 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6713 * shell/ev-sidebar-thumbnails.c
6714 (ev_sidebar_thumbnails_set_document): forgot to unref the
6717 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6719 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6720 at the visible page, not just linearly. This makes it look fast.
6722 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6724 * backend/ev-document-misc.c
6725 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6727 * backend/ev-document-thumbnails.h: New interface to get the size
6730 2005-01-06 Jeremy Katz <katzj@redhat.com>
6732 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6735 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6737 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6738 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6741 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6743 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6745 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6746 fonts. Should fix font problems on systems that have the base
6747 fonts in bitmap format. Reported by James Henstridge
6748 <james@jamesh.id.au>.
6750 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6753 * pdf/xpdf/GfxState.cc:
6755 Fix for CAN-2004-1125
6757 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6759 * shell/ev-view.c: (ev_view_copy):
6761 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6763 Implement Edit->Copy
6765 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6767 * backend/ev-document.c: (ev_document_get_text):
6768 * backend/ev-document.h:
6769 * pdf/xpdf/pdf-document.cc:
6770 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6771 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6772 (ev_view_update_primary_selection), (ev_view_button_press_event),
6773 (ev_view_motion_notify_event), (ev_view_button_release_event):
6775 Beginnings of clipboard support. Incomplete but primary sort
6778 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6780 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6781 (expose_bin_window):
6783 Nicer rubberband drawing, from GtkIconView.
6785 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6787 * backend/ev-document.c: (ev_document_save):
6788 * backend/ev-document.h:
6789 * data/evince-ui.xml:
6790 * pdf/xpdf/pdf-document.cc:
6791 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6793 Implement "Save a copy..." menu item
6795 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6797 * shell/ev-view.c: (ev_view_zoom):
6799 Queue a resize when zoom changes
6801 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6803 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6806 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6809 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6811 * pdf/xpdf/pdf-document.cc
6812 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6814 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6816 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6817 It's slow, but I'll speed it up next!
6819 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6821 * shell/main.c (load_files):
6823 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6824 from the command line and because it seems more appropriate.
6826 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6828 * data/evince-ui.xml:
6829 * shell/ev-window.c: (update_action_sensitivity),
6830 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6832 s/next page/page down
6833 s/previous page/page up
6835 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6837 * data/evince-ui.xml:
6839 Change the layout to match clarkbw design.
6841 * shell/Makefile.am:
6842 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6843 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6844 (ev_navigation_action_finalize),
6845 (ev_navigation_action_set_property),
6846 (ev_navigation_action_get_property),
6847 (ev_navigation_action_class_init):
6848 * shell/ev-navigation-action.h:
6850 Implement clarkbw toolbar navigation controls (incomplete)
6852 * shell/ev-page-action.c: (update_label), (update_spin),
6853 (value_changed_cb), (create_tool_item), (connect_proxy),
6854 (ev_page_action_init), (ev_page_action_finalize),
6855 (ev_page_action_set_property), (ev_page_action_get_property),
6856 (ev_page_action_set_current_page),
6857 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6858 * shell/ev-page-action.h:
6860 Implement a page switcher in the toolbar
6862 * shell/ev-view.c: (ev_view_scroll_view):
6863 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6864 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6865 (register_custom_actions), (ev_window_init):
6867 Change page on PageUp/Down.
6869 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6871 * pdf/xpdf/pdf-document.cc
6872 (pdf_document_thumbnails_get_thumbnail): initial stab at
6873 implementing thumbnail support for pdfs. It only does documents
6874 with precached pdfs now.
6876 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6878 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6879 thumbnail code into a time-based idle as well. Also, turn off the
6880 shadow temporarily as it's really slow.
6882 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6884 * backend/ev-document.c: (ev_document_class_init):
6885 * pdf/xpdf/pdf-document.cc:
6886 * shell/ev-window.c: (ev_window_open):
6888 Fix document title bugs and fallback to
6889 filename when not available.
6891 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6893 * backend/ev-document.c: (ev_document_get_type),
6894 (ev_document_class_init), (ev_document_load),
6895 (ev_document_get_title):
6896 * backend/ev-document.h:
6897 * pdf/xpdf/pdf-document.cc:
6898 * ps/ps-document.c: (ps_document_set_property),
6899 (ps_document_get_property), (ps_document_class_init),
6903 * shell/ev-window.c: (update_window_title), (ev_window_open),
6906 Initial support for document title. Not working yet.
6908 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6910 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6912 Grab focus on the view when clicking it
6914 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6916 * shell/ev-marshal.list:
6917 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6918 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6920 Add key bindings to the view. Now if the focus would work
6923 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6926 * backend/Makefile.am:
6929 * dvi/dvilib/Makefile.am:
6930 * pdf/xpdf/Makefile.am:
6936 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6938 * shell/ev-view.c: (ev_view_realize):
6940 Fix mouse wheel scrolling
6942 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6948 * ps/ps-document.c: (catchPipe), (ps_document_init),
6949 (ps_document_class_init), (ps_document_cleanup),
6950 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
6951 (set_up_page), (close_pipe), (is_interpreter_ready),
6952 (interpreter_failed), (output), (input), (start_interpreter),
6953 (stop_interpreter), (file_length), (file_readable),
6954 (check_filecompressed), (check_pdf), (compute_xdpi),
6955 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
6956 (ps_document_get_type), (ps_document_emit_error_msg),
6957 (document_load), (ps_document_next_page),
6958 (ps_document_get_current_page), (ps_document_get_page_count),
6959 (ps_document_goto_page), (ps_document_set_page_size),
6960 (ps_document_zoom_to_fit), (ps_document_set_zoom),
6961 (ps_document_load), (ps_document_get_n_pages),
6962 (ps_document_set_page), (ps_document_get_page),
6963 (ps_document_widget_event), (ps_document_set_target),
6964 (ps_document_set_scale), (ps_document_set_page_offset),
6965 (ps_document_get_page_size), (ps_document_render),
6966 (ps_document_document_iface_init):
6969 * shell/ev-window.c: (ev_window_open):
6971 Rename GtkGS to PSDocument
6973 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6975 * ps/gtkgs.c: (gtk_gs_class_init):
6978 Some more leftover...
6980 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6982 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
6983 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
6984 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
6987 Remove unused code and make a lot of stuff private
6989 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
6991 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
6992 (gtk_gs_defaults_changed):
6998 Cleanup headers dependencies
7000 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7005 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
7007 * ps/gtkgs.c: (file_length), (file_readable),
7008 (check_filecompressed), (check_pdf), (gtk_gs_load),
7009 (gtk_gs_get_postscript):
7013 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7018 * ps/gtkgs.c: (gtk_gs_set_zoom):
7022 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7024 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
7026 Ensure the page is rerendered when changing zoom
7028 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7030 * backend/ev-document.c: (ev_document_base_init),
7031 (ev_document_changed):
7032 * backend/ev-document.h:
7034 Add a changed event that is emitted when the page content
7035 changes. This is necessary to deal with the fact that
7036 in ps backend rendering happen asycrounously.
7037 This makes the ps backend mostly work.
7039 * pdf/xpdf/pdf-document.cc:
7043 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
7044 (ps_document_set_target):
7048 * shell/ev-view.c: (document_changed_callback),
7049 (ev_view_set_document), (ev_view_set_page):
7051 Redraw on the changed signal
7053 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
7055 * configure.ac: Added pt_BR to ALL_LINGUAS.
7057 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
7059 * backend/ev-document-bookmarks.c:
7060 (ev_document_bookmarks_get_child): *
7061 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
7062 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
7063 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
7064 (ev_sidebar_bookmarks_destroy),
7065 (ev_sidebar_bookmarks_class_init),
7066 (ev_sidebar_bookmarks_construct), (stack_data_free),
7067 (do_one_iteration), (populate_bookmarks_idle),
7068 (ev_sidebar_bookmarks_clear_document),
7069 (ev_sidebar_bookmarks_set_document): *
7070 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
7071 (ev_sidebar_add_page),
7072 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
7073 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
7074 it displays both the topics and the page numbers.
7076 2004-12-23 Kristian Høgsberg <krh@redhat.com>
7078 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
7080 * shell/ev-window.c (toggle_entries): Set sidebar default value to
7083 2004-12-23 Adam Weinberger <adamw@gnome.org>
7085 * configure.ac: Added en_CA to ALL_LINGUAS.
7087 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7089 * ChangeLog: replace bottom of this ChangeLog (merged history of
7090 ggv and gpdf; where all paths were wrong and most of the files are
7091 not even in this tree) with ChangeLog (from arch) of the shell
7094 2004-12-23 Havoc Pennington <hp@redhat.com>
7096 * shell/ev-window.c: hook up potentially-questionable "find
7097 results status text" feature - something involving the sidebar or
7098 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
7099 might be better in the end.
7101 * shell/ev-view.c (ev_view_get_find_status_message): new function,
7102 with corresponding signal when it should be updated
7104 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
7106 2004-12-22 Havoc Pennington <hp@redhat.com>
7108 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
7109 find stuff on other pages, sort of (only returns one result on
7110 invisible pages, to show they have results; updates full results
7111 for a page when you view it). Currently repaints the current page
7112 every time a new result is found on any page, which isn't so nice.
7114 2004-12-22 Havoc Pennington <hp@redhat.com>
7116 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
7117 the document doesn't support find (better ideas?)
7118 (find_bar_search_changed_cb): handle missing document or document
7119 that doesn't support find
7121 * pdf/xpdf/pdf-document.cc: port to implement the new
7124 * backend/ev-document-find.c: create a new interface for searching
7126 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
7128 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7130 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
7133 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
7134 EvPrintJob constructor arguments.
7136 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
7137 for documents that can export PostScript (page by page).
7139 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
7141 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
7142 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
7143 (pdf_document_ps_exporter_iface_init:
7144 Implement EvPSExporter.
7146 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
7148 2004-12-22 Anders Carlsson <andersca@gnome.org>
7150 * backend/Makefile.am:
7151 * backend/ev-document-thumbnails.c:
7152 (ev_document_thumbnails_get_type),
7153 (ev_document_thumbnails_get_thumbnail):
7154 * backend/ev-document-thumbnails.h:
7155 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7156 (pixbuf_document_thumbnails_get_thumbnail),
7157 (pixbuf_document_document_thumbnails_iface_init):
7158 * shell/Makefile.am:
7159 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
7160 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
7161 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
7162 * shell/ev-sidebar-thumbnails.h:
7163 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
7164 (ev_sidebar_set_document):
7165 * shell/ev-utils.c: (gaussian), (create_blur_filter),
7166 (create_shadow), (ev_pixbuf_add_shadow):
7168 Add thumbnail support.
7170 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7172 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
7173 (using_postscript_printer): Set up a print dialog for "PostScript
7176 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
7179 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
7181 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7183 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
7184 (ps_document_set_target), (ps_document_get_page_size),
7185 (ps_document_render):
7190 2004-12-22 Christian Rose <menthos@menthos.com>
7192 * configure.ac: Added "sv" to ALL_LINGUAS.
7194 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
7196 * backend/ev-document-bookmarks.[ch]: new interface to indicate
7197 document supports bookmarks.
7199 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7201 * ps/ggvutils.c: (ggv_file_readable):
7203 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
7204 (gtk_gs_get_postscript):
7208 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7210 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
7211 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
7212 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
7213 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
7214 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
7215 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
7216 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7217 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7218 (gtk_gs_set_antialiasing), (ps_document_load),
7219 (ps_document_render):
7222 Another check point for the ps backend. Now I can get it to show
7225 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
7227 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
7228 document setting code.
7230 2004-12-22 Anders Carlsson <andersca@gnome.org>
7232 * shell/eggfindbar.c: (entry_activate_callback):
7233 Animate the next button when activate is pressed.
7235 2004-12-22 Anders Carlsson <andersca@gnome.org>
7237 * shell/ev-window.c: (ev_window_cmd_edit_find),
7238 (update_fullscreen_popup), (ev_window_fullscreen),
7239 (ev_window_unfullscreen), (ev_window_state_event_cb),
7240 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
7241 Fix bugs in fullscreen code.
7243 2004-12-22 Anders Carlsson <andersca@gnome.org>
7247 * pixbuf/Makefile.am:
7248 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7249 (pixbuf_document_load), (pixbuf_document_get_n_pages),
7250 (pixbuf_document_set_page), (pixbuf_document_get_page),
7251 (pixbuf_document_set_target), (pixbuf_document_set_scale),
7252 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
7253 (pixbuf_document_render), (pixbuf_document_begin_find),
7254 (pixbuf_document_end_find), (pixbuf_document_finalize),
7255 (pixbuf_document_class_init),
7256 (pixbuf_document_document_iface_init), (pixbuf_document_init):
7257 * pixbuf/pixbuf-document.h:
7258 * shell/Makefile.am:
7259 * shell/ev-application.c: (ev_application_open):
7260 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
7264 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
7267 * dvi/dvilib/Makefile.am:
7269 * configure.ac: Auto*ify dvi and dvi/dvilib
7271 * dvi/Makefile: Remove from CVS
7273 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
7276 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
7278 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
7280 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7283 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
7284 (gtk_gs_value_adjustment_changed), (compute_size),
7285 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
7286 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
7287 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7288 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7289 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
7290 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
7291 (ps_document_load), (ps_document_get_n_pages),
7292 (ps_document_set_page), (ps_document_get_page),
7293 (ps_document_set_target), (ps_document_set_scale),
7294 (ps_document_set_page_offset), (ps_document_get_page_size),
7295 (ps_document_render), (ps_document_begin_find),
7296 (ps_document_end_find), (ps_document_document_iface_init):
7298 * shell/Makefile.am:
7299 * shell/ev-window.c: (ev_window_open):
7301 Some work to integrate gtkgs with EvDocument
7303 2004-12-22 Anders Carlsson <andersca@gnome.org>
7305 * shell/ev-window.c: (update_fullscreen_popup),
7306 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
7307 (exit_fullscreen_button_clicked_cb),
7308 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
7309 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7310 (ev_window_state_event_cb), (ev_window_init):
7311 Add fullscreen support from Epiphany.
7313 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7315 * data/ev-stock-zoom-fit-width.png: fit-width
7316 stock icon from gpdf.
7318 * shell/ev-stock-icons.[ch]: copied from gpdf.
7320 * shell/main.c: (main): init stock icons.
7322 * shell/ev-window.c: use the fit-width icon.
7324 * data/evince-ui.xml: add zooming toolbar items.
7326 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7329 (ev_view_best_fit), (ev_view_fit_width): because
7330 get_page_size() returns the scaled page size, we
7331 need to calculate the scale factor relative to
7332 the previous scale factor. Should really just
7333 add get_real_page_size().
7335 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7337 * shell/ev-view.[ch]:
7338 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
7339 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
7342 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
7343 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
7344 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
7347 * pdf/xpdf/pdf-document.cc:
7348 (pdf_document_begin_find),
7349 (pdf_document_end_find): make static.
7351 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7353 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
7355 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
7356 names to fontconfig patterns.
7357 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
7359 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
7362 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7378 Import ggv backend. Not hooked up yet.
7380 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7382 * shell/main.c: (load_files), (main): load files
7383 from the command line.
7385 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7387 * configure.ac: don't require bonobo.
7389 * cut-n-paste/recent-files/*: kill bonobo recent
7392 * shell/ev-window.c:
7393 (ev_window_is_empty): upd.
7394 (unable_to_load), (ev_window_open): load backend
7395 based on the mime type.
7397 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7399 * backend/.cvsignore: ignore generated marshalers source.
7401 * shell/main.c (main): this is not epiphany.
7403 2004-12-22 Havoc Pennington <hp@redhat.com>
7405 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
7406 (expose_bin_window): draw find highlights
7408 * shell/ev-window.c (find_bar_search_changed_cb): implement
7410 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
7411 (pdf_document_end_find): implement this interface
7413 * backend/ev-document.c (ev_document_found): add this to emit
7416 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
7418 * data/evince-ui.xml: Add a few more toolbar items.
7420 * shell/ev-window.c: Hook up page navigation toolbar
7423 * shell/ev-view.[ch]: add ev_view_set/get_page and
7424 a page-changed signal.
7426 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7427 Add ev_document_get_page().
7429 * shell/ev-window.c: Sensitize/desensitize navigation
7432 2004-12-21 Havoc Pennington <hp@redhat.com>
7434 * backend/ev-backend-marshal.c,
7435 backend/ev-backend-marshalers.list, backend/Makefile.am: add
7436 marshaler-generator thingy. I'm sure there's a better way to do
7437 this in the modern world.
7439 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7440 end_find methods and "found" signal.
7442 * configure.ac: find glib-genmarshal
7444 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
7446 * shell/ev-sidebar.c: Construct an actual sidebar.
7447 * shell/ev-sidebar-bookmarks.[ch]:
7448 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7450 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
7452 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7455 * shell/ev-view.c: Track the size from the document.
7457 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
7459 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7460 constructor assumes ownership of the string passed in.
7462 * shell/ev-window.c (ev_window_open): Destroy the error
7463 dialog once we've displayed it.
7465 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
7467 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
7468 a bit, it works! (sort of)
7470 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7471 Move to .cc since we need to use C++ in the implementation.
7473 * shell/dummy.cc: Add a CC file to force evince
7474 to be linked as a C++ program.
7476 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
7478 * shell/ev-view.[ch]: Start of content-area widget.
7480 * shell/ev-window.c: Create a EvView, update it
7481 as we change documents.
7483 * shell/Makefile.am shell/ev-marshal.list: Add
7484 generated marshalers.
7486 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
7488 * Makefile.am (SUBDIRS): move shell.
7490 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
7492 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7493 .a to libtool convenience libraries.
7495 * shell/ev-window.c (ev_window_open): Hard code loading
7498 * backend/ev-document.h: Add a boolean return to load(),
7499 fix GError * to GError **.
7501 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
7502 object for a PDF backend EvDocument.
7504 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
7506 * dvi/*: New directory with the beginning of a .dvi backend.
7508 2004-12-21 Havoc Pennington <hp@redhat.com>
7510 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
7511 previous/next instead of back/forward
7513 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
7515 * backend/ev-document.[ch]: Fix a couple of problems so
7518 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
7520 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
7521 to backend/ directory, rename EvViewer to EvDocument.
7523 2004-12-21 Havoc Pennington <hp@redhat.com>
7525 * shell/ev-window.c: hook up the find bar widget; now we just need
7526 a document to find things in
7528 * shell/eggfindbar.c: a find bar widget
7530 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
7532 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
7534 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
7536 * pdf/**: Import of xpdf code from gpdf.
7538 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
7540 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
7541 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
7542 Fix FreeType includes.
7544 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
7545 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7546 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7547 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7548 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7549 Include xpdfconfig.h
7551 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7553 * shell/ev-window.c (ev_window_dispose): dispose can be called
7556 2004-12-21 Havoc Pennington <hp@redhat.com>
7558 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7561 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7562 items; really they should be synced with the strings, etc. from
7563 current gpdf, but just getting the boring typing out of the way
7565 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7568 * shell/ev-application.c: (window_destroy_cb):
7569 * shell/ev-window.c:
7570 * shell/main.c: (main):
7572 Actually show the window...
7574 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7577 * shell/Makefile.am:
7578 * shell/ev-application.c: (ev_application_class_init):
7579 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7583 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7585 Import to gnome cvs.
7587 * Remove copies of gpdf and ggv trees.
7588 * Rip out all the recursive configure code.
7589 * Remove bonobo machinery.
7590 * viewer/*: GInterfaces that backends should/can implement.
7592 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7594 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7597 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7599 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7600 (ev_application_finalize, ev_application_class_init)
7601 (ev_application_init): use GType instance private data for priv.
7603 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7604 (ev_window_finalize, ev_window_class_init)
7605 (ev_window_init): ditto.
7607 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7609 * shell/ev-application.c (ev_application_new_window): make public
7610 (ev_application_show_initial_window): kill.
7612 * shell/ev-application.h: update prototypes.
7614 * shell/main.cc (main): inline ev_application_show_initial_window.
7616 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7618 * shell/ev-application.c (ev_application_new_window): impl.
7619 (ev_application_show_initial_window): use it.
7620 (is_window_empty, ev_application_get_empty_window): returns an
7621 existing empty window or a new one.
7622 (ev_application_open): from ev_window_cmd_file_open.
7624 * shell/ev-application.h: update prototypes
7626 * shell/ev-window.c (ev_window_is_empty): impl.
7627 (ev_window_open): make public.
7628 (ev_window_cmd_file_open): use ev_application_open
7630 * shell/ev-window.h: update prototypes, remove unused.
7632 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7634 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7635 move destroy handler out of here...
7637 * shell/ev-application.c, shell/ev-application.h: ...into this new
7638 class. Also handles initial window creation.
7640 * shell/main.cc (main): use EvApplication to create initial
7643 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7645 * Makefile.am (SUBDIRS): add cut-n-paste
7647 * cut-n-paste/Makefile.am: add
7649 * configure.ac: generate Makefiles in cut-n-paste
7651 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7653 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7654 (ev_window_class_init): install ev_window_dispose.
7656 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7658 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7659 char (gchar looks stupid).
7661 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7663 * po/de.po: updated German translation.
7665 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7667 * configure.ac: add more pkg-config library checks for gnome-vfs,
7670 * gpdf/configure.in: temporarily disable libpaper
7671 checks. Otherwise I'd have to add the checks for the shell, too.
7673 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7675 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7676 and * file filters to the file choose.
7678 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7680 * po/de.po: Updated German translation.
7682 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7684 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7686 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7688 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7690 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7691 (ev_window_init): implement those menuitems.
7693 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7695 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7697 * shell/ev-window.c (ev_window_init): use the toolbar.
7699 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7701 * shell/ev-window.c (ev_window_init): use menu translations
7703 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7705 * configure.ac: add "de" to ALL_LINGUAS.
7707 * po/de.po: add German translation.
7709 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7711 * Makefile.am (SUBDIRS): add po
7713 * configure.ac: check intltool, glib-gettext etc, generate
7716 * po, po/POTFILES.in, po/POTFILES.skip: new.
7718 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7720 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7721 already use (#ifdef ENABLE_NLS)
7723 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7724 pointer indirection thinko.
7726 * shell/main.c: include gi18n.h for bindtextdomain etc.
7728 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7730 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7731 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7732 tooltips for menu items in the statusbar.
7734 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7736 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7737 pkgdatadir drop UIDIR
7739 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7741 * data/evince-ui.xml: Add File->Open menu item
7743 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7744 chooser), hook it up in the ui manager.
7746 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7748 * shell/ev-window.c: fix Help->About tooltip.
7750 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7752 * configure.ac: set CFLAGS for libevprivate.
7754 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7755 definitions, factory etc.
7757 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7759 * shell/Makefile.am: link against libevprivate.a.
7761 * shell/ev-window.c (entries): add stock icon to Help->About.
7763 * shell/main.c (main): init stock icon code.
7765 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7767 * lib/recent-files: egg recent files code
7769 * lib/Makefile.am: add.
7771 * Makefile.am: add lib subdir.
7773 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7774 set CFLAGS for recent-files.
7776 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7778 * configure.ac: disable -ansi and -pedantic gcc flags. They
7779 disable POSIX stuff in stdio.h, but egg-recent uses them.
7781 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7783 * configure.ac: add --disable-deprecated flag (defaults to on in
7786 * shell/Makefile.am (INCLUDES): use it.
7788 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7790 * shell/main.c: add missing #include.
7792 * shell/ev-window.c: fix for pedantic gcc.
7793 (ev_window_cmd_help_about): split license into paragraphs for
7794 translators and pedantic compilers.
7796 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7798 * configure.ac: add more warning flags if compiling with gcc from
7799 cvs (or explicitly requested with --enable-more-warnings).
7801 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7803 * data/evince-ui.xml: add File and File->Close menu.
7805 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7806 (ev_window_destroy): quit after destroy.
7807 (ev_window_class_init): override GtkObject::destroy.
7808 (entries): install close_window callback.
7810 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7812 * Makefile.am (SUBDIRS): add data subdir.
7814 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7815 gtk+ 2.5.0 for GtkAboutDialog.
7817 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7820 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7822 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7824 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7826 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7828 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7830 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7832 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7834 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7836 * shell/*: Added shell directory boilerplate, build it.
7838 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7840 * configure.ac, Makefile.am: Added top-level configure.ac and