1 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * shell/ev-view.c: (ev_view_scroll), (ev_view_previous_page),
4 (ev_view_can_previous_page), (ev_view_can_next_page):
6 * shell/ev-window.c: (update_action_sensitivity):
8 Two page scrolling with Space and PageUp in dual mode. Second fix
11 2006-01-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
13 * shell/ev-view.c: (scroll_to_current_page):
15 Correctly clamp adjustment value. Fix for the bug
18 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
20 * shell/ev-sidebar-links.c: (print_section_cb):
21 * shell/ev-window.c: (ev_window_get_uri),
22 (ev_window_close_dialogs), (ev_window_open_uri), (ev_window_print),
23 (ev_window_print_dialog_response_cb), (ev_window_print_range),
26 Make print dialog non-modal. Fix for the bug #325622.
28 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
30 * shell/ev-metadata-manager.c:
31 * shell/ev-utils.c: (using_pdf_printer),
32 (using_postscript_printer), (load_print_config_from_file),
33 (save_print_config_to_file):
35 * shell/ev-window.c: (update_sizing_buttons), (page_changed_cb),
36 (update_sidebar_visibility), (setup_sidebar_from_metadata),
37 (setup_view_from_metadata), (ev_window_setup_document),
38 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
39 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
40 (ev_window_run_presentation), (ev_window_stop_presentation),
41 (save_sizing_mode), (ev_window_zoom_changed_cb),
42 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
43 (ev_window_dual_mode_changed_cb),
44 (ev_window_sidebar_current_page_changed_cb),
45 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
46 (window_state_event_cb), (window_configure_event_cb),
49 Setting saving behaviour fixes.
51 2005-12-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
55 Make antialiasing gs options better and allow
56 to change them during configure. Fix for the
59 2005-12-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
61 * shell/ev-window.c: (setup_view_from_metadata):
63 Remember if last window was maximized. Fix for the
66 2005-12-28 Abel Cheung <maddog@linuxhall.org>
68 * configure.ac: Added "zh_HK" to ALL_LINGUAS.
70 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
72 * backend/ev-link.c: (ev_link_get_page), (ev_link_init):
73 * shell/ev-page-action.c: (build_new_tree_cb):
74 * shell/ev-sidebar-links.c: (links_page_num_func),
75 (update_page_callback_foreach), (update_page_callback):
76 * shell/ev-view.c: (scroll_to_current_page):
78 Fix for the bug #325067 with more intelligent selection
79 of current link in sidebar. Make sidebar handle links
80 of FITR-like type more correctly.
82 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
83 (dvi_pixbuf_put_pixel):
85 Fix memory consumtion with disabled alpha channel.
87 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
90 * shell/ev-window.c: (view_menu_popup_cb),
91 (ev_popup_cmd_open_link), (ev_window_init):
93 Update context menu for internal links. Fix for the bug
96 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
98 * shell/ev-view.c: (ev_view_popup_menu), (ev_view_class_init):
100 Bind context menu to keyboard also. Fix for the bug
103 2005-12-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
105 * shell/ev-view.c: (selection_scroll_timeout_cb):
107 Horizontal scroll on selection also.
109 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
111 * shell/ev-metadata-manager.c: (parse_value):
112 * shell/ev-view.c: (goto_xyz_link):
114 Correct zoom setup and metadata save broken in
117 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
119 * shell/ev-view-private.h:
120 * shell/ev-view.c: (scroll_to_current_page),
121 (view_set_adjustment_values), (goto_fitr_link), (goto_fitv_link),
122 (goto_fith_link), (goto_fit_link), (goto_xyz_link),
123 (page_changed_cb), (ev_view_set_continuous),
124 (ev_view_set_dual_page), (ev_view_set_presentation):
126 Delay scroll until allocation to correctly position page. Fix
129 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
134 Update NEWS and require poppler 0.5.0.
136 2005-12-25 Carlos Garcia Campos <carlosgc@gnome.org>
138 * data/evince-ui.xml:
139 * shell/ev-view-private.h:
140 * shell/ev-view.c: (ev_view_get_link_at_location),
141 (handle_link_over_xy), (ev_view_button_press_event),
142 (ev_view_button_release_event), (ev_view_class_init):
143 * shell/ev-window.c: (view_menu_popup_cb), (ev_window_dispose),
144 (ev_popup_cmd_open_link), (ev_popup_cmd_copy_link_address),
147 Implement right-click context menu.
149 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
151 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
152 * dvi/pixbuf-device.c: (dvi_pixbuf_create_image),
153 (mdvi_pixbuf_device_render):
156 Don't generate thumbnails with alpha. See bug #324077.
157 Thanks to Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>.
159 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
161 * shell/ev-window.c: (setup_chrome_from_metadata):
163 Fix typo that was hiding toolbar.
165 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
167 * shell/ev-view-private.h:
168 * shell/ev-view.c: (ev_view_realize), (selection_update_idle_cb),
169 (selection_scroll_timeout_cb), (ev_view_motion_notify_event),
170 (ev_view_button_release_event), (ev_view_destroy):
172 Small cleanup and autoscrolling during selection. Thanks to
173 Ricardo Markiewicz <rmarkie@fi.uba.ar>.
175 2005-12-22 Jani Monoses <jani.monoses@gmail.com>
179 Correctly check for comics option.
181 2005-12-21 Eduardo Lima <eduardo.lima@indt.org.br>
184 * backend/Makefile.am:
185 * backend/ev-document-factory.c:
186 * shell/ev-document-types.c:
188 Included option in configure to make ps backend
189 compilation optional with --disable-ps.
191 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
193 * backend/ev-document-factory.c:
194 * comics/Makefile.am:
195 * comics/comics-document.c: (comics_document_load):
196 * comics/ev-cbr-mime.xml:
199 Comics mime types are added to shared-mime-info CVS. Now
200 we don't need to install our own mime types.
202 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
206 Add shortcut for "save a copy" menu entry. Fix for
209 2005-12-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
211 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
212 (job_finished_cb), (new_selection_pixbuf_needed),
213 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
214 (clear_job_selection), (ev_pixbuf_cache_set_selection_list):
216 Rework selection job info logic and fix critical warning.
218 2005-12-17 Abel Cheung <maddog@linuxhall.org>
220 * configure.ac: Added "cy" "fa" "mk" "vi" to ALL_LINGUAS.
222 2005-11-27 Jaap A. Haitsma <jaap@haitsma.org>
224 * data/evince-ui.xml:
225 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
227 Enter as shortcut key for next page. Fix for the bug
230 2005-11-18 Ales Nyakhaychyk <nab@mail.by>
232 * configure.ac: Added "be" (Belarusian) to ALL_LINGUAS.
234 2005-11-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
236 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
237 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
238 (new_selection_pixbuf_needed),
239 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
240 (clear_job_selection):
242 Too early for 0.5. Pixbuf cache code cleaned a bit.
244 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
249 Release 0.5.0 preparation
251 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
253 * comics/Makefile.am:
255 * shell/ev-document-types.c: (ev_document_types_add_filters):
257 More advanced handling of custom mime type installation.
259 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
261 * data/evince.schemas.in:
262 * shell/ev-metadata-manager.c: (value_free),
263 (ev_metadata_manager_get_last), (ev_metadata_manager_set_last),
264 (ev_metadata_manager_get), (ev_metadata_manager_set):
265 * shell/ev-metadata-manager.h:
266 * shell/ev-window.c: (update_chrome_flag),
267 (ev_window_cmd_focus_page_selector), (update_sidebar_visibility),
268 (setup_document_from_metadata), (setup_chrome_from_metadata),
269 (setup_sidebar_from_metadata), (setup_view_from_metadata),
270 (ev_window_cmd_edit_find), (ev_window_cmd_escape),
271 (ev_window_view_toolbar_cb),
272 (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb),
273 (view_actions_focus_in_cb), (ev_window_init), (ev_window_new):
275 Save last document settings and reuse them for new documents.
277 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
280 * backend/Makefile.am:
281 * backend/ev-document-factory.c:
282 * backend/ev-document-factory.h:
283 * comics/Makefile.am:
284 * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
285 (comics_document_load), (comics_document_save),
286 (comics_document_get_n_pages), (comics_document_get_page_size),
287 (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize),
288 (comics_document_class_init), (comics_document_can_get_text),
289 (comics_document_get_info), (comics_document_document_iface_init),
290 (comics_document_init), (get_supported_image_extensions),
291 (comics_document_thumbnails_get_geometry),
292 (comics_document_thumbnails_get_thumbnail),
293 (comics_document_thumbnails_get_dimensions),
294 (comics_document_document_thumbnails_iface_init), (extract_argv):
295 * comics/comics-document.h:
296 * comics/ev-cbr-mime.xml:
299 * shell/ev-application.c: (ev_application_register_service):
300 * shell/ev-document-types.c: (ev_document_types_add_filters):
301 * thumbnailer/Makefile.am:
302 * thumbnailer/evince-thumbnailer-comics.schemas.in:
304 New CBR/CBZ backend for comic books.
306 2005-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
308 * shell/main.c: (load_files_remote):
310 Thanks to Robert McQueen <robot101@debian.org>. Dbus
311 warning on startup of second instance is fixed. It
314 2005-10-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
316 * shell/ev-window.c: (ev_window_finalize):
318 Fix double free that cause crash.
320 2005-10-29 Bastien Nocera <hadess@hadess.net>
322 * tiff/tiff-document.c: (tiff_document_load):
326 2005-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
330 * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
331 (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
332 (ev_view_accessible_get_text),
333 (ev_view_accessible_get_character_at_offset),
334 (ev_view_accessible_get_text_before_offset),
335 (ev_view_accessible_get_text_at_offset),
336 (ev_view_accessible_get_text_after_offset),
337 (ev_view_accessible_get_character_count),
338 (ev_view_accessible_get_caret_offset),
339 (ev_view_accessible_set_caret_offset),
340 (ev_view_accessible_get_run_attributes),
341 (ev_view_accessible_get_default_attributes),
342 (ev_view_accessible_get_character_extents),
343 (ev_view_accessible_get_offset_at_point),
344 (ev_view_accessible_get_n_selections),
345 (ev_view_accessible_get_selection),
346 (ev_view_accessible_add_selection),
347 (ev_view_accessible_remove_selection),
348 (ev_view_accessible_set_selection),
349 (ev_view_accessible_text_iface_init),
350 (ev_view_accessible_idle_do_action),
351 (ev_view_accessible_action_do_action),
352 (ev_view_accessible_action_get_n_actions),
353 (ev_view_accessible_action_get_description),
354 (ev_view_accessible_action_get_name),
355 (ev_view_accessible_action_set_description),
356 (ev_view_accessible_action_iface_init),
357 (ev_view_accessible_get_type), (ev_view_accessible_new),
358 (ev_view_accessible_factory_get_accessible_type),
359 (ev_view_accessible_factory_create_accessible),
360 (ev_view_accessible_factory_class_init),
361 (ev_view_accessible_factory_get_type):
362 * shell/ev-view-accessible.h:
363 * shell/ev-view-private.h:
364 * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
367 Initial accessibility support.
369 2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com>
371 * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
373 2005-10-26 Hubert Figuiere <hfiguiere@teaser.fr>
375 * shell/ev-print-job.c: (idle_print_handler):
377 Fix for bug Bug 318916: Printing multiple pages.
379 2005-10-20 Runa Bhattacharjee <runa@bengalinux.org>
381 * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
383 2005-10-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
387 Thumnail dimensions unified with other backends.
389 * shell/ev-window-title.c: (ev_window_title_update):
393 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
395 * data/ev-stock-zoom-fit-width.png:
399 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
402 * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
403 (djvu_document_finalize):
404 * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
405 (dvi_document_finalize):
406 * pixbuf/pixbuf-document.c: (pixbuf_document_load),
407 (pixbuf_document_save), (pixbuf_document_finalize):
408 * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
409 (tiff_document_finalize):
411 Save a copy implemented for various backends.
413 2005-10-17 Daniel Gryniewicz <dang@gentoo.org>
417 Don't link with ltiff if tiff is disabled.
419 2005-10-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
421 * pdf/GDKSplashOutputDev.cc:
422 * pdf/GDKSplashOutputDev.h:
425 * pdf/pdf-document.cc:
426 * pdf/pdf-document.h:
427 * pdf/test-gdk-output-dev.cc:
429 Remove old unused files.
431 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
433 * shell/ev-window.c: (ev_window_setup_document):
435 Fixed warnings on reload and probably crash reason.
437 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
439 * properties/ev-properties-view.c:
440 (ev_properties_view_format_date):
442 Check if date is invalid. Fix for bug 318134.
444 2005-10-02 Wouter Bolsterlee <uws+gnome@xs4all.nl>
446 * shell/ev-window-title.c:
448 Add .indd files (Adobe Indesign) to the list of "bad
451 2005-10-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
453 * data/evince-ui.xml:
454 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
456 Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
458 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
460 * shell/ev-window.c: (launch_link), (launch_external_uri),
461 (view_external_link_cb):
463 URL-escape link before passing it to gnome_vfs_url_show.
465 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
467 * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
468 there isn't text selected.
470 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com>
472 * shell/ev-view.c: (handle_link_over_xy):
474 Check tooltip is valid utf8 before showing it
476 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
478 * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
480 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
482 * shell/ev-window-title.c: (ev_window_title_update):
484 Guard against using g_strstrip on NULL. Fixes bug #317291.
486 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
490 Show title even for unknown links
492 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
494 * shell/ev-window-title.c: (ev_window_title_update):
496 Strip the title string
498 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
500 * shell/ev-window-title.c:
502 Add .rtf to the bad extensions list
504 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
506 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
507 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
509 Ignore link coordinates if they are outside page bounds
511 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
513 * backend/ev-link.c: (ev_link_type_get_type),
514 (ev_link_get_filename), (ev_link_get_params),
515 (ev_link_get_property), (ev_link_set_property),
516 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
519 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
520 * shell/ev-window.c: (launch_link), (view_external_link_cb),
523 Implement launch links. Delegate external link opening to
526 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
528 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
529 (ev_link_get_right), (ev_link_get_property),
530 (ev_link_set_property), (ev_link_class_init),
531 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
534 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
538 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
540 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
541 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
542 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
543 (ev_view_size_request_continuous),
544 (ev_view_size_request_dual_page),
545 (ev_view_size_request_single_page), (ev_view_size_allocate),
546 (ev_view_zoom_for_size_continuous_and_dual_page),
547 (ev_view_zoom_for_size_continuous),
548 (ev_view_zoom_for_size_dual_page),
549 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
550 (ev_sizing_mode_get_type):
552 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
554 Do not use modes for link, we need to calculate size ad hoc.
555 Still not perfect because of the usual scrollbar issues grrr.
557 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
559 * backend/ev-link.c: (ev_link_type_get_type),
560 (ev_link_new_page_fith), (ev_link_new_page_fitv):
563 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
564 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
565 (ev_view_size_request_continuous),
566 (ev_view_size_request_dual_page),
567 (ev_view_size_request_single_page), (ev_view_size_allocate),
568 (zoom_for_size_fit_height),
569 (ev_view_zoom_for_size_continuous_and_dual_page),
570 (ev_view_zoom_for_size_continuous),
571 (ev_view_zoom_for_size_dual_page),
572 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
573 (ev_sizing_mode_get_type):
575 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
577 Implement FIT_HEIGHT mode (only for links).
580 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
582 * shell/ev-window-title.c: (get_filename_from_uri),
583 (ev_window_title_sanitize_extension), (ev_window_title_update),
584 (ev_window_title_set_document), (ev_window_title_set_uri),
585 (ev_window_title_free):
586 * shell/ev-window-title.h:
587 * shell/ev-window.c: (ev_window_setup_document),
588 (ev_window_popup_password_dialog):
590 Refactor window title building while fixing it for
593 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
597 Escape link title before setting it in the model
599 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
601 * shell/ev-application.c: (removed_from_session), (save_session),
602 (init_session), (ev_application_get_empty_window),
603 (ev_application_init), (ev_application_get_windows):
604 * shell/ev-application.h:
605 * shell/ev-window.c: (ev_window_finalize):
607 Add a function to retrieve window list and share it where
609 Implement session handling, works pretty well thanks to the
612 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
614 * shell/ev-password.c: (ev_password_item_created_callback),
615 (ev_password_dialog_save_password):
617 Fix for bug 316972. Use async gnome-keyring API.
619 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
621 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
622 Remove unused unrealize handler. Add scroll handling to
623 ev_view_scroll_event for presentation mode (bug #316708),
624 and fix the event state checks there.
626 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
628 * shell/ev-page-action.c: (page_changed_cb):
630 "marco, maybe we should be crazy and jump right to 6! :)"
632 Bryan Clark, Sep 2005
634 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
636 * ps/ps-document.c: (save_document), (ps_document_save),
637 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
638 (ps_document_ps_export_end):
640 Fix unstructured documents save and print
642 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
644 * shell/ev-application.c: (ev_application_open_uri):
646 Fix window size persistance
648 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
650 * shell/ev-view.c: (ev_view_button_release_event):
652 Based on a patch from carlosgc@gnome.org. Mouse buttons
653 switch pages in presentation mode.
655 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
657 * shell/ev-page-cache.c: (ev_page_cache_get_size):
659 Dont cast to int before scaling
661 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
663 * backend/ev-link.c: (ev_link_type_get_type),
664 (ev_link_new_page_xyz), (ev_link_new_page_fit),
665 (ev_link_new_page_fith):
668 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
670 Implement FIT and FITH links
672 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
676 Return 0 results when search is not in progress.
678 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
679 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
681 Update menu sensitivity when cancelling search
683 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
685 * shell/ev-view.c: (ev_view_can_find_next):
687 Take all pages in consideration, not just current one
689 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
691 * shell/ev-page-cache.c:
692 * shell/ev-page-cache.h:
693 * shell/ev-view.c: (ev_view_binding_activated),
694 (ev_view_next_page), (ev_view_previous_page),
695 (ev_sizing_mode_get_type):
697 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
698 (ev_window_cmd_go_next_page):
700 Move page next/previous functions from page chace to
701 view and change it to move by 2 page steps in dual mode.
703 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
705 * shell/ev-window.c: (update_sidebar_visibility),
706 (setup_sidebar_from_metadata), (ev_window_setup_document),
707 (setup_view_from_metadata):
709 Show the index by default when there is one
711 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
713 * shell/ev-window-title.c: (ev_window_title_set_document):
717 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
719 * shell/ev-view.c: (view_update_range_and_current_page):
721 Allow display of last odd page in dual view. Fix for 316347.
723 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
725 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
727 Make close button default. Fix for 316383.
729 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
731 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
733 Mark close button as default. Fix for 316381.
735 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
737 * backend/ev-link.c: (ev_link_class_init):
739 Allow negative doubles in left/top properties
741 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
745 Remove a bunch of strings that was used only
748 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
750 * shell/ev-window-title.c: (get_filename_from_uri),
751 (ev_window_title_set_document):
753 When title has a confusing extension, show also
754 the document filename inside ()
756 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
759 * shell/ev-window-title.c: (ev_window_title_new),
760 (ev_window_title_update), (ev_window_title_set_type),
761 (ev_window_title_set_document), (ev_window_title_free):
762 * shell/ev-window-title.h:
763 * shell/ev-window.c: (ev_window_setup_document),
764 (password_dialog_response), (ev_window_popup_password_dialog),
765 (ev_window_dispose), (ev_window_init):
767 Factor out and cleanup window title code
769 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
771 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
774 Make dialog transient so it doesnt block other windows
776 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
780 Fix pdf thumbnails rendering.
782 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
784 * shell/ev-window.c: (fullscreen_set_timeout):
786 Increase timeout to hide full screen popup. Bug
789 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
791 * data/evince.schemas.in:
792 * shell/ev-window.c: (update_action_sensitivity):
794 Allow the user to override document restrictions. Fix for bug
797 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
799 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
800 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
801 (ev_window_class_init): Fix multihead behaviour of fullscreen
802 toolbar popup. Fixes bug #315451.
804 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
807 * data/evince-password.glade:
808 * shell/ev-password.c: (ev_password_dialog_set_property),
809 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
810 (ev_password_dialog_init), (ev_password_set_bad_password_label),
811 (ev_password_dialog_entry_changed_cb),
812 (ev_password_dialog_entry_activated_cb),
813 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
814 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
815 (ev_password_dialog_set_bad_pass):
816 * shell/ev-password.h:
817 * shell/ev-window.c: (password_dialog_response),
818 (ev_window_popup_password_dialog):
820 Support for gnome-keyring for encrypted PDF's.
822 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
824 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
825 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
826 (ev_view_enter_notify_event), (ev_view_class_init):
828 More precise handling of enter_notify/leave_notify events
829 in EvView. Fix for bug 315470.
831 2005-09-08 Christopher Aillon <caillon@redhat.com>
833 * shell/ev-window.c: (fullscreen_timeout_cb),
834 (fullscreen_set_timeout), (fullscreen_clear_timeout),
837 leak fix: unref fullscreen_timeout_source before clearing it
839 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
841 * configure.ac, dvi/mdvi/Makefile.am:
843 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
845 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
847 * backend/ev-link.c: (ev_link_new_page_xyz):
849 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
851 Fix some bugs with xyz links, respect zoom
853 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
855 * shell/ev-window.c: (page_changed_cb),
856 (setup_document_from_metadata), (update_sidebar_visibility),
857 (setup_view_from_metadata), (ev_window_run_fullscreen),
858 (ev_window_stop_fullscreen), (ev_window_run_presentation),
859 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
860 (ev_window_dual_mode_changed_cb),
861 (ev_window_sidebar_current_page_changed_cb):
863 null check uri before setting and getting metadata
865 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
868 * properties/Makefile.am:
870 * thumbnailer/Makefile.am:
872 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
874 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
876 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
877 (selection_changed_callback):
878 * shell/ev-sidebar-links.h:
880 Add a signal for link activation.
882 * shell/ev-view.c: (ev_view_goto_link),
883 (ev_view_button_release_event):
885 * shell/ev-window.c: (sidebar_links_link_activated_cb),
888 Implement the signal so that we can handle all link types.
890 * shell/ev-page-cache.c:
892 Remove unused set_link function
894 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
896 * lib/ev-tooltip.c: (ev_tooltip_set_position):
898 Add some space from the cursor, hardcoded but I couldnt
901 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
905 Use mozilla style vs gtk style, way better for links.
907 * shell/ev-view.c: (ev_view_motion_notify_event),
908 (ev_view_destroy), (ev_view_init):
910 Deactive tooltip when the link hovered is changed.
912 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
914 * backend/ev-document.h:
915 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
916 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
917 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
918 (ev_link_new_page), (ev_link_new_page_xyz):
921 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
922 (go_to_link), (tip_from_link):
924 Implement xyz links, still not functional. Links are a total
925 mess, will need to refactor and bugfix a lot :(
927 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
929 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
931 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
933 * data/evince-ui.xml:
934 * data/evince.schemas.in:
936 * shell/ev-window.c: (update_chrome_visibility),
937 (password_dialog_response), (ev_window_load_job_cb),
938 (ev_window_xfer_job_cb), (ev_window_open_uri),
939 (ev_window_class_init), (set_chrome_actions), (load_chrome),
942 Remove the statusbar. This regress loading feedback, need to
943 check with Bryan what we want to do there...
945 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
947 * lib/ev-tooltip.c: (ev_tooltip_init):
949 Fix tooltip border and size handling
951 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
953 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
954 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
955 (ev_tooltip_timeout), (ev_tooltip_activate),
956 (ev_tooltip_deactivate):
958 * shell/ev-view.c: (ev_view_motion_notify_event):
960 Delay popup showing. Mirror gtk logic/times.
962 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
965 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
966 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
967 (ev_tooltip_set_text), (ev_tooltip_set_position):
970 Simple widget to show tooltips at a custom position
972 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
975 Use it for links. First go, needs work
977 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
979 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
980 HIG fixes. Use title capitalization for window title. Use 12
981 pixels of space between the dialog's vbox and action area.
983 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
985 * shell/ev-window.c: (file_open_dialog_response_cb),
986 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
987 (ev_window_cmd_save_as):
989 Make file pickers not modal and refactor code some
991 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
993 * shell/ev-sidebar.h:
994 * shell/ev-sidebar.c: (ev_sidebar_set_property),
995 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
996 (ev_sidebar_class_init), (ev_sidebar_select_page),
997 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
998 (ev_sidebar_set_page):
1000 Add a current page property and allow to get/set it
1002 * shell/ev-window.c: (setup_view_from_metadata),
1003 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
1005 Persist current sidebar page per document
1007 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1009 * data/evince.schemas.in:
1010 * shell/ev-window.c: (update_chrome_visibility),
1011 (setup_document_from_metadata), (update_sidebar_visibility),
1012 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
1013 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1014 (ev_window_run_presentation), (ev_window_stop_presentation),
1015 (ev_window_view_sidebar_cb),
1016 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
1017 (load_chrome), (ev_window_init):
1019 Persist size/visibility of sidebar per document
1021 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
1023 * shell/ev-view.c (draw_loading_text): Draw loading text.
1025 2005-09-02 Dan Damian <dand@gnome.ro>
1027 * configure.in: Added "ro" to ALL_LINGUAS.
1029 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1031 * shell/ev-view.c: (clear_caches):
1033 ev_page_cache_get doesnt return a reference,
1034 dont try to unref it.
1036 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1038 * shell/main.c: (load_files_remote):
1040 Fix timestamp parameter with dbus <= 0.33
1042 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
1044 * data/evince.schemas.in:
1046 Add missing full stop
1048 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
1050 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
1051 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
1053 Plug some memory leaks
1055 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
1058 * lib/ev-debug.c: (trap_handler):
1060 Check for execinfo.h and use it only if it exists.
1061 Ported from Epiphany (bug #314776).
1063 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
1065 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
1067 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
1069 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
1070 * po/id.po : Added Indonesian translation
1072 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
1075 * shell/ev-application.c: Last minute GTK-2.6 fixes.
1076 * NEWS: Release 0.4.0
1078 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
1080 * configure.ac: catch another gtk+-2.8ism
1081 * shell/main.c: Make work with gtk+-2.6
1083 2005-08-25 Ryan Lortie <desrt@desrt.ca>
1085 * shell/ev-application-service.xml: Add 'timestamp' argument to
1086 ev_application_open_window and ev_application_open_uri methods.
1088 * shell/ev-application.h: Add 'timestamp' argument to
1089 ev_application_open_window, ev_application_open_uri,
1090 and ev_application_open_uri_list functions.
1092 * shell/ev-application.c (ev_application_open_window,
1093 ev_application_open_uri, ev_application_open_uri_list): Change
1094 functions that show/present windows to use a timestamp if one
1097 * shell/ev-window.c (ev_window_cmd_file_open,
1098 ev_window_cmd_recent_file_activate, drag_data_received_cb):
1099 * shell/main.c (load_files): Modify calls to ev_application to
1100 include GDK_CURRENT_TIME as timestamp.
1102 * shell/main.c (load_files_remote): Obtain timestamp for client
1103 instance from GDK and pass to server instance so new windows are
1104 focused properly. Fix dbus_g_proxy_call() calls by including second
1109 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
1111 * shell/ev-window.c (ev_window_finalize): Check for
1112 avail. EvWindows when quiting to handle the finalize better,
1115 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1117 * properties/ev-properties-view.c:
1119 Set textdomain to libglade. Fixes translation problem in property page.
1121 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1123 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
1125 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
1126 * dvi/mdvi-lib/Makefile.am:
1128 Fix rotation of thumbnails, ported to new API. Moved library
1129 dependencies earlier, probably it will fix linkage problem.
1131 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
1133 * backend/ev-document-misc.c:
1134 (ev_document_misc_get_thumbnail_frame):
1135 * backend/ev-document-misc.h:
1137 * pdf/ev-poppler.cc:
1138 * shell/Makefile.am:
1139 * shell/ev-sidebar-thumbnails.c: (add_range),
1140 (ev_sidebar_thumbnails_set_loading_icon),
1141 (ev_sidebar_thumbnails_refresh),
1142 (ev_sidebar_thumbnails_set_document):
1143 * shell/ev-sidebar-thumbnails.h:
1144 * shell/ev-view.c: (ev_view_motion_notify_event),
1145 (ev_view_set_property), (ev_view_get_property),
1146 (ev_view_class_init), (ev_view_set_rotation):
1147 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1148 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
1150 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
1151 Redo rotation (again). prepare for 0.4.0
1153 2005-08-24 Kristian Høgsberg <krh@redhat.com>
1155 * configure.ac: Bump poppler requirement to 0.4.1.
1157 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
1158 argument to poppler_page_render_selection() call.
1160 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1162 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
1163 (djvu_document_thumbnails_get_thumbnail):
1164 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
1165 (dvi_document_thumbnails_get_thumbnail):
1166 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
1167 (pixbuf_document_thumbnails_get_thumbnail):
1168 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
1170 Update rotation direction of backends to fit with pdf and ps.
1172 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
1174 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
1175 * backend/ev-async-renderer.h:
1176 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
1177 (setup_page), (ps_document_get_page_size),
1178 (ps_async_renderer_render_pixbuf):
1180 * shell/ev-jobs.c: (ev_job_render_run):
1182 Fix orientation in the postscript document
1184 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
1186 * pdf/ev-poppler.cc:
1187 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
1188 * shell/ev-view.c: (highlight_find_results):
1190 Adapt to the new poppler rotation API. Fix text maps on landscape
1193 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
1195 * shell/ev-view.c (compute_new_selection_text): get the correct
1196 region when selecting in modes other than continuous.
1198 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1200 * shell/main.c (main): remove redundant g_warnings.
1202 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1204 * shell/Makefile.am: Don't include autogenerated
1205 file ev-application-service.h into distribution, since
1206 it causes dbus crash. Fix for bugs 313724 and 313443.
1208 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1210 * configure.ac: Fix sed expression for FreeBSD. Thanks
1211 to Joe Marcus Clark <marcus@freebsd.org>
1213 * shell/eggfindbar.c: (entry_activate_callback),
1214 (entry_changed_callback), (egg_find_bar_init),
1215 (egg_find_bar_set_search_string):
1217 Made findbar buttons unsensitive if there is no text in
1218 entry. Fix for the bug 313285.
1220 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
1222 * ps/ps-document.c: Use g_filename_display_name for displaying
1223 filenames and revert string freeze breackage
1225 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
1232 * shell/Makefile.am:
1234 Add ev-application-service.xml to extra dist
1236 * shell/ev-view.c: (find_page_at_location):
1238 Remove unused function (fix warning)
1240 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1242 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
1243 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
1245 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
1248 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1250 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
1251 * shell/ev-window.c:
1254 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1256 * configure.ac: Update script to get dbus version.
1257 Fix for the bug #313443.
1259 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1261 * shell/ev-window.c: (ev_window_cmd_escape):
1263 Return focus back to view on escape. Fix for bug 313295.
1265 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1267 * shell/ev-window.c: (update_window_title),
1268 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
1269 (ev_window_cmd_save_as):
1271 Correct conversion from uri to displayable string. Fix for
1274 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1276 * ps/ps-document.c: convert filename to utf8 when there is an error
1277 loading document. Fixes #309915
1279 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
1283 We depend on poppler 0.4.0
1285 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
1288 * NEWS: Release 0.3.3.
1289 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
1291 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
1293 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
1294 add a couple missing mnemonics to menu items, use title
1295 capitalization for menu items and window titles, and add
1296 ellipsis to open menu item.
1298 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
1300 * pdf/ev-poppler.cc:
1301 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
1302 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
1303 (ev_view_get_rotation):
1305 * shell/ev-window.c: (setup_view_from_metadata),
1306 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
1307 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
1310 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
1312 * configure.ac: Added tr to ALL_LINGUAS
1314 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1316 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
1317 requires several clicks to find word. Thanks to
1318 Colin Slater <kiltedtaco@gmail.com>.
1320 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
1322 * data/evince.desktop.in.in: Hide menu entry and
1323 rename it to "Document Viewer". Fix for bug
1326 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
1328 * shell/ev-page-action.c (ev_page_action_class_init):
1330 Point to the correct function in constructor of the
1331 activate_label signal
1333 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
1335 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1336 * shell/ev-jobs.h: Make thread safe.
1338 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1340 * shell/ev-view.c: (view_update_range_and_current_page):
1341 Don't update page range if we are scrolling to some document
1344 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1346 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
1347 when getting max_page_width, fix drawing in dual mode.
1349 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
1351 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
1352 getting the area for select_all.
1354 2005-08-06 Kristian Høgsberg <krh@redhat.com>
1356 * backend/ev-selection.c: (ev_selection_render_selection):
1357 * backend/ev-selection.h:
1358 * pdf/ev-poppler.cc:
1359 * shell/ev-jobs.c: (ev_job_render_new):
1361 * shell/ev-pixbuf-cache.c: (get_selection_colors),
1362 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
1363 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
1364 (ev_view_class_init):
1366 Change selection color on focus in and focus out events. Also,
1367 poppler now uses GdkColor for specifying the selection colors, so
1368 drop some awkward conversion code.
1370 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
1372 * configure.ac: Added Hebrew translation
1374 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
1377 * backend/ev-selection.c: (ev_selection_render_selection):
1378 * backend/ev-selection.h:
1379 * pdf/ev-poppler.cc:
1380 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
1381 (ev_job_render_run):
1383 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1384 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
1385 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
1386 (ev_pixbuf_cache_style_changed),
1387 (ev_pixbuf_cache_get_selection_pixbuf),
1388 (ev_pixbuf_cache_set_selection_list),
1389 (ev_pixbuf_cache_get_selection_list):
1390 * shell/ev-pixbuf-cache.h:
1391 * shell/ev-utils.c: (ev_print_region_contents):
1393 * shell/ev-view.c: (ev_view_queue_draw_page),
1394 (selection_update_idle_cb), (ev_view_motion_notify_event),
1395 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
1396 (setup_caches), (ev_view_find_next), (merge_selection_region),
1398 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
1400 Clean up selection to be much smoother!
1402 2005-08-05 Kristian Høgsberg <krh@redhat.com>
1404 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
1405 to poppler_page_render_selection().
1407 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1409 * ps/ps-document.c: (save_page_list): Use
1410 unzipped document when printing. Thanks to
1411 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
1414 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1416 * shell/ev-window.c: (update_action_sensitivity):
1418 Disable print and save respect to lockdown gconf keys. Fix
1421 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1424 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
1425 (write_to_temp_file), (ev_file_set_contents):
1427 * shell/ev-window.c: (save_print_config_to_file):
1429 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
1432 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
1434 * shell/ev-window.c: (load_print_config_from_file),
1435 (save_print_config_to_file), (ev_window_print_range):
1437 Persist the print settings. Fixes bug #311578.
1439 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1441 * djvu/djvu-document.c: (djvu_document_get_page_size),
1442 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
1443 (djvu_document_thumbnails_get_thumbnail):
1444 * dvi/dvi-document.c: (dvi_document_get_page_size),
1445 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
1446 (dvi_document_thumbnails_get_dimensions),
1447 (dvi_document_thumbnails_get_thumbnail):
1448 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
1449 (pixbuf_document_render_pixbuf),
1450 (pixbuf_document_document_iface_init),
1451 (pixbuf_document_thumbnails_get_thumbnail):
1453 Update backends to make them build with new rotation system.
1455 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1457 * help/C/figures/evince_start_window.png:
1459 Update documentation image from Luca Ferretti <elle.uca@libero.it>
1461 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
1463 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
1464 * shell/ev-pixbuf-cache.h:
1465 * shell/ev-sidebar-thumbnails.c:
1466 (ev_sidebar_thumbnails_get_property), (add_range),
1467 (adjustment_changed_cb):
1468 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
1469 pixbuf cache. Make thumbnailing work again. Also, fix bug where
1470 we were thumbnailing the entire docment on startup, slowing us
1473 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
1475 * shell/ev-page-cache.c: (ev_page_cache_new):
1476 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1477 == 0, fixes #310306.
1479 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1481 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1482 (ev_view_rotate_left):
1484 Account rotation in doc_rect_to_view_rect.
1485 Ensure rotation doesnt go out of bounds.
1487 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1489 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1491 Correct and cleanup w/h swapping
1493 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1495 * backend/ev-document-thumbnails.c:
1496 (ev_document_thumbnails_get_thumbnail):
1497 * backend/ev-document-thumbnails.h:
1498 * backend/ev-document.c:
1499 * backend/ev-document.h:
1500 * backend/ev-render-context.c: (ev_render_context_new),
1501 (ev_render_context_set_rotation):
1502 * backend/ev-render-context.h:
1503 * pdf/ev-poppler.cc:
1504 * ps/ps-document.c: (ps_document_document_iface_init):
1505 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1507 * shell/ev-page-cache.c: (build_height_to_page),
1508 (ev_page_cache_new), (ev_page_cache_get_size),
1509 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1510 (ev_page_cache_get_height_to_page):
1511 * shell/ev-page-cache.h:
1512 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1513 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1514 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1515 (ev_pixbuf_cache_get_selection_pixbuf):
1516 * shell/ev-pixbuf-cache.h:
1517 * shell/ev-print-job.c: (idle_print_handler):
1518 * shell/ev-sidebar-thumbnails.c: (add_range):
1519 * shell/ev-view.c: (view_update_range_and_current_page),
1520 (get_page_y_offset), (get_page_extents),
1521 (ev_view_size_request_continuous_dual_page),
1522 (ev_view_size_request_continuous),
1523 (ev_view_size_request_dual_page),
1524 (ev_view_size_request_single_page), (draw_one_page),
1525 (ev_view_set_rotation), (ev_view_rotate_right),
1526 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1527 (ev_view_zoom_for_size_continuous_and_dual_page),
1528 (ev_view_zoom_for_size_continuous),
1529 (ev_view_zoom_for_size_dual_page),
1530 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1531 (ev_view_select_all):
1532 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1533 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1534 (tiff_document_document_iface_init),
1535 (tiff_document_thumbnails_get_thumbnail):
1537 Use rotation rather than orientation. It's easier and enough
1540 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1542 * shell/ev-page-cache.c: (build_height_to_page),
1543 (ev_page_cache_new), (ev_page_cache_get_size),
1544 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1545 (ev_page_cache_get_height_to_page):
1546 * shell/ev-page-cache.h:
1547 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1548 (ev_view_size_request_continuous_dual_page),
1549 (ev_view_size_request_continuous),
1550 (ev_view_zoom_for_size_continuous_and_dual_page),
1551 (ev_view_zoom_for_size_continuous):
1553 Make the page cache aware of page orientation.
1555 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1557 * backend/ev-document-thumbnails.c:
1558 (ev_document_thumbnails_get_thumbnail):
1559 * backend/ev-document-thumbnails.h:
1560 * backend/ev-document.c:
1561 * backend/ev-document.h:
1562 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
1563 * backend/ev-ps-exporter.h:
1564 * pdf/ev-poppler.cc:
1565 * ps/ps-document.c: (ps_document_document_iface_init),
1566 (ps_document_ps_export_do_page):
1567 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1569 * shell/ev-page-cache.c: (ev_page_cache_get_size),
1570 (ev_page_cache_get):
1571 * shell/ev-page-cache.h:
1572 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1573 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1574 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
1575 * shell/ev-pixbuf-cache.h:
1576 * shell/ev-print-job.c: (idle_print_handler):
1577 * shell/ev-sidebar-thumbnails.c: (add_range):
1578 * shell/ev-view.c: (view_update_range_and_current_page),
1579 (get_page_extents), (ev_view_size_request_dual_page),
1580 (ev_view_size_request_single_page), (draw_one_page),
1581 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
1582 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1583 (ev_view_zoom_for_size_dual_page),
1584 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1585 (ev_view_select_all):
1586 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1587 * tiff/tiff-document.c: (tiff_document_get_page_size),
1588 (tiff_document_get_orientation), (rotate_pixbuf),
1589 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
1590 (tiff_document_thumbnails_get_thumbnail),
1591 (tiff_document_ps_export_do_page), (tiff_document_init):
1593 Really make use of the orientation bit of the render context.
1594 Use the render context in a few more places in the backend API.
1595 This regress orientation, but now it's done right. Will try to
1598 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1600 * shell/ev-view.c: (ensure_rectangle_is_visible):
1602 Patch by Nickolay V. Shmyrev to fix find flickering
1604 2005-07-27 Martin Kretzschmar <martink@gnome.org>
1606 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
1607 duplex parameters to ::begin.
1609 * tiff/tiff-document.c (tiff_document_ps_export_begin):
1610 * shell/ev-print-job.c (idle_print_handler):
1611 * ps/ps-document.c (ps_document_ps_export_begin):
1612 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
1613 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1614 implementations. Poppler backend needs poppler cvs. Rest has
1617 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1619 * shell/ev-window.c (using_pdf_printer): new function.
1620 (ev_window_print_range): print a less techy message if someone
1621 tries to print to PDF.
1623 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1625 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1626 from "unknown font" string. Bug #311431
1628 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1630 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1632 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1636 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1637 name for PopplerFontTypes
1638 (pdf_document_fonts_fill_model): add font type to the detail column
1640 * backend/ev-document-fonts.h: added
1641 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1643 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1644 font name and font details, add a little markup.
1645 (ev_properties_fonts_init): use the new cell data func, specify ypad
1646 property for the cell renderer.
1647 (ev_properties_fonts_set_document): add the details column.
1649 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1651 * configure.ac: Added "pl" to ALL_LINGUAS.
1653 2005-07-24 Danilo Šegan <danilo@gnome.org>
1655 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1657 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1659 * help/ChangeLog: Started this for translations of manual.
1660 * configure.ac, autogen.sh, .cvsignore: Migrated to
1661 gnome-doc-utils. Patch in bug #311222.
1663 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1665 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1666 #ifdef this away to fix an unused-function warning.
1668 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1670 * configure.ac: Added 'gl' to ALL_LINGUAS.
1672 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1674 * configure.ac: Added ne in ALL_LINGUAS
1676 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1678 * shell/ev-view.c: (ev_view_leave_notify_event):
1680 Clear status message when pointer leaves view. Fix for bug
1683 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1685 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1687 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1689 * shell/ev-view.c: (ev_view_leave_notify_event),
1690 (ev_view_class_init):
1692 Set cursor to normal then leaving view.
1694 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1698 Fix required djvulibre version.
1700 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1702 *configure.ac: Hindi (hi) language added
1704 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1706 *configure.ac: Punjabi (pa) Language added
1708 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1710 * data/evince-ui.xml, shell/ev-window.c:
1712 Add keypad accelerators for zooming. Fix for bug 308128.
1714 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1717 * backend/Makefile.am:
1718 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
1720 * shell/ev-document-types.c: (ev_document_types_add_filters):
1722 Allow to enable/disable the pixbuf backend.
1723 Default to off for now. If we want it enabled we should
1724 really put mime types in the desktop, implement properties etc.
1726 * properties/evince-properties.c:
1728 Initialize error to NULL.
1729 Check error is not NULL before freeing.
1731 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1733 * shell/ev-window.c:
1735 Use F5 as presentation accell
1737 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1739 * shell/ev-window.c: (update_chrome_visibility),
1740 (ev_window_create_fullscreen_popup), (ev_window_init):
1742 Do not leak the fullscreen toolbar
1744 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1746 * shell/ev-window.c: (view_actions_focus_in_cb),
1747 (view_actions_focus_out_cb):
1749 These has a return value! Fix totally random focus
1750 issues we was seeing.
1752 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
1754 * shell/main.c: (load_files_remote):
1756 Allow open more than one file
1758 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1760 * shell/main.c: (load_files_remote):
1762 Fix for dbus 0.33. bug #309975
1764 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1766 * properties/ev-properties-main.c: (ev_properties_get_pages):
1768 Actually return NULL for types we dont support
1770 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
1776 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
1778 * backend/ev-document-factory.c:
1779 (ev_document_factory_get_document):
1781 Do not try to create the object if type
1784 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1786 * ps/ps-document.c: (ps_document_dispose),
1787 (ps_async_renderer_render_pixbuf):
1790 Do not leak the target window
1792 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1794 * shell/ev-application.c: (ev_application_init):
1796 Let tbe check file existence for us.
1797 Add a comment about eggrecent mime filter.
1799 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
1801 * data/evince-ui.xml:
1802 * shell/ev-application.c: (ev_application_shutdown),
1803 (ev_application_init), (ev_application_get_toolbars_model),
1804 (ev_application_get_recent_model),
1805 (ev_application_save_toolbars_model):
1806 * shell/ev-application.h:
1807 * shell/ev-window.c: (ev_window_add_recent),
1808 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
1809 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
1812 Use common toolbar and recent models for all windows.
1813 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1815 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1817 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
1818 successfully check for gtk_icon_view_get_visible_range.
1820 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1825 Fix djvu and dvi backend build.
1827 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1829 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
1830 (new_separator_pixbuf):
1834 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
1836 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1838 HIGification of toolbar editor dialogue.
1840 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1843 * shell/Makefile.am:
1845 Ever build metadata manager since it's just
1846 disabled at runtime now.
1848 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1850 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
1851 (ev_metadata_manager_get), (ev_metadata_manager_set):
1852 * shell/ev-metadata-manager.h:
1854 Add an _init functions that enabled metadata management
1857 * shell/ev-window.c: (page_changed_cb),
1858 (setup_document_from_metadata), (ev_window_setup_document),
1859 (setup_view_from_metadata), (ev_window_open_uri),
1860 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1861 (ev_window_run_presentation), (ev_window_stop_presentation),
1862 (save_sizing_mode), (ev_window_zoom_changed_cb),
1863 (ev_window_continuous_changed_cb),
1864 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
1865 (window_configure_event_cb):
1867 Remove all ugly metadata define since we deal with it
1870 * shell/main.c: (load_files_remote), (main):
1872 Add support for dbus cvs head. Hopefully didnt break one
1873 of the other versions now!
1875 If we dont get a response from the dbus server just
1876 give up with it and not enable metadata.
1878 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1881 * backend/Makefile.am:
1883 * cut-n-paste/recent-files/Makefile.am:
1884 * cut-n-paste/toolbar-editor/Makefile.am:
1885 * cut-n-paste/zoom-control/Makefile.am:
1888 * pixbuf/Makefile.am:
1889 * properties/Makefile.am:
1891 * shell/Makefile.am:
1892 * thumbnailer/Makefile.am:
1895 Make frontends depend on just libev.
1896 Rework and group CFLAGS/LIBS definitions.
1899 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1903 do not unnecessarily save zoom
1906 * lib/ev-file-helpers.c: (ev_dot_dir):
1907 * shell/Makefile.am:
1912 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1916 Remove unnecessary dependencies
1918 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1920 * properties/Makefile.am:
1921 * thumbnailer/Makefile.am:
1924 Some more cleanups. Was really necessary
1925 but I probably introduced bugs, feel free
1928 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1930 * backend/Makefile.am:
1932 * cut-n-paste/recent-files/Makefile.am:
1933 * cut-n-paste/toolbar-editor/Makefile.am:
1934 * cut-n-paste/zoom-control/Makefile.am:
1937 * pixbuf/Makefile.am:
1938 * properties/Makefile.am:
1940 * shell/Makefile.am:
1941 * thumbnailer/Makefile.am:
1944 Use gnome-common macros when possible.
1945 Cleanup dependencies.
1946 Actually disable deprecated where possible.
1948 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
1951 * backend/Makefile.am:
1952 * properties/Makefile.am:
1953 * shell/Makefile.am:
1954 * thumbnailer/Makefile.am:
1956 This should solve the circular dep without
1957 requiring dir reorg!
1959 * shell/ev-window.c: (setup_view_from_metadata):
1961 Never restore window size/position when the
1962 window is already visible.
1964 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1966 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
1968 Return a boolean from timeout func. Fix ported from gedit.
1970 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
1972 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
1974 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
1976 * shell/ev-document-types.c: set "All Documents" as default filter in
1979 2005-07-06 Martin Kretzschmar <martink@gnome.org>
1981 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
1982 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
1983 (ev_metadata_manager_set_boolean): fix value/val thinko.
1985 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
1987 * shell/ev-window.c: (setup_view_from_metadata),
1988 (window_state_event_cb), (window_configure_event_cb),
1991 Remember window position and maximized state
1993 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
1997 Fix DBUS configure checks.
1999 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
2000 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
2001 (ev_metadata_manager_set_boolean):
2005 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
2006 (ev_window_stop_fullscreen), (ev_window_run_presentation),
2007 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
2008 (ev_window_continuous_changed_cb),
2009 (ev_window_dual_mode_changed_cb), (ev_window_new):
2011 Fix the build without DBUS.
2013 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2015 * shell/ev-metadata-manager.c: (parse_value), (save_values),
2016 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
2017 (ev_metadata_manager_set_string),
2018 (ev_metadata_manager_set_boolean):
2019 * shell/ev-metadata-manager.h:
2021 Add support for some more types
2023 * shell/ev-view.c: (scroll_to_current_page),
2024 (ev_view_get_continuous), (ev_view_set_continuous),
2025 (ev_view_get_dual_page):
2027 * shell/ev-window.c: (page_changed_cb),
2028 (setup_document_from_metadata), (ev_window_setup_document),
2029 (setup_view_from_metadata), (ev_window_open_uri),
2030 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2031 (ev_window_run_presentation), (ev_window_stop_presentation),
2032 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
2033 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
2034 (ev_window_update_dual_page_action),
2035 (ev_window_continuous_changed_cb),
2036 (ev_window_dual_mode_changed_cb), (ev_window_init):
2038 Remember a bunch of view/document properties. Prolly some
2039 are still missing but it's getting interesting.
2041 2005-07-05 Martin Kretzschmar <martink@gnome.org>
2043 * configure.ac: check if dbus-binding-tool is installed. Not the
2044 case on current Ubuntu breezy, it seems.
2046 2005-07-05 Luca Ferretti <elle.uca@libero.it>
2048 * data/evince.desktop.in.in:
2050 Allow open uri lists and add TryExec field.
2052 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2056 Enable dbus when available, do not require a configure
2059 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2063 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
2066 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
2067 Marco Pesenti Gritti <mpg@redhat.com>
2069 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
2071 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
2072 functions to the format required by dbus
2074 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
2075 errors. Use the RPC parameters in the expected way
2077 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2080 * properties/Makefile.am:
2081 * properties/ev-properties-main.c: (ev_properties_get_pages):
2083 Support all mime types
2085 * shell/Makefile.am:
2086 * thumbnailer/Makefile.am:
2087 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
2088 (evince_thumbnail_pngenc_get):
2090 Use the document factory
2092 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2094 * backend/Makefile.am:
2095 * backend/ev-document-factory.c:
2096 (mime_type_supported_by_gdk_pixbuf),
2097 (ev_document_type_get_from_mime),
2098 (ev_document_factory_get_document),
2099 (ev_document_factory_get_backend),
2100 (ev_document_factory_get_mime_types),
2101 (ev_document_factory_get_all_mime_types):
2102 * backend/ev-document-factory.h:
2103 * shell/Makefile.am:
2104 * shell/ev-document-types.c: (get_document_from_uri),
2105 (ev_document_types_get_document),
2106 (file_filter_add_mime_list_and_free),
2107 (ev_document_types_add_filters):
2108 * shell/ev-document-types.h:
2109 * shell/ev-job-xfer.c: (ev_job_xfer_run):
2110 * shell/ev-properties-dialog.c:
2111 (ev_properties_dialog_set_document):
2112 * shell/ev-window.c: (ev_window_cmd_file_open),
2113 (ev_window_cmd_save_as):
2114 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2116 Rework document types managing to avoid code duplication
2117 and actually abstract from backend implementations.
2118 Also provide a minimal factory api that can be used by
2119 thumbnailer/properties.
2121 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2123 * properties/ev-properties-view.c: (ev_properties_view_set_info):
2125 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
2128 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2130 * shell/ev-properties-dialog.c
2131 (ev_properties_dialog_set_document): only call
2132 ev_properties_fonts_set_document() if the document implements the
2135 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2138 * properties/Makefile.am:
2139 * properties/ev-properties-view.c:
2140 (ev_properties_view_register_type):
2141 * properties/ev-properties-view.h:
2142 * properties/ev-properties-main.h:
2144 Implement nautilus plugin for properties.
2145 Works only for pdf atm, I need to rework the
2146 document types stuff to get this to work
2149 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2151 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
2152 (ev_properties_fonts_set_document): use
2153 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
2155 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2157 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
2159 (PlaceImage, tiff2ps_process_page): use
2160 g_ascii_dtostr to convert floats to strings in a locale-safe way.
2163 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2165 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
2166 (main): to call gnome_authentication_manager_init. Should fix
2169 * configure.ac: that requires libgnomeui 2.6.0.
2171 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2173 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2174 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
2175 use the new tiff2ps interfaces
2177 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
2178 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
2180 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
2181 structure instead of global variables. Remove use of static
2182 variables in functions.
2184 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
2186 * shell/ev-page-action.c: unref the completion after setting it to the
2189 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2191 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
2194 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2196 * shell/ev-window.c (update_action_sensitivity): disable
2197 File->Print if the document does not implement the ps exporter
2200 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
2204 * data/evince-properties.glade:
2205 * properties/.cvsignore:
2206 * properties/Makefile.am:
2207 * properties/ev-properties-view.c: (ev_properties_view_dispose),
2208 (ev_properties_view_class_init), (ev_properties_view_format_date),
2209 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
2210 (ev_properties_view_init), (ev_properties_view_new):
2211 * properties/ev-properties-view.h:
2212 * shell/Makefile.am:
2213 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
2214 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
2215 (ev_properties_dialog_new):
2216 * shell/ev-properties-dialog.h:
2217 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
2218 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
2219 (update_progress_label), (job_fonts_finished_cb),
2220 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
2221 * shell/ev-properties-fonts.h:
2222 * shell/ev-properties.c:
2223 * shell/ev-properties.h:
2224 * shell/ev-window.c: (ev_window_setup_document),
2225 (ev_window_cmd_file_properties):
2227 Split the properties pages in two different objects, depend
2228 only on the backend where possible, use widgets instead
2229 of gobject for the glade part, reimplement the dialog
2231 I need this to implement nautilus properties page.
2233 2005-07-03 Matthew S. Wilson <msw@rpath.com>
2235 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2236 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
2237 (tiff_document_document_ps_exporter_iface_init): implement the ps
2238 exporter interface for tiff documents
2240 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
2241 libtiff to implement TIFF postscript export
2243 * tiff/tiff2ps.h: added a header file for external tiff2ps
2246 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
2249 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2251 * shell/ev-view.c: (scroll_to_current_page),
2252 (ev_view_set_fullscreen), (ev_view_set_presentation):
2254 Scroll to current page when exit from presentation
2256 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2258 * shell/ev-window.c: (update_document_mode),
2259 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2260 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
2261 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
2263 Exit from fullscreen mode when switch to presentation. Fix for
2266 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2268 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
2269 return NULL if the document does not implement the selection
2272 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2274 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
2275 reported height by using the resolution aspect ratio
2276 (tiff_document_render_pixbuf): scale the pixbuf using the
2277 resolution aspect ratio
2279 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2283 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
2284 <kiltedaco@gmail.com>
2286 * djvu/djvu-document.c: (djvu_document_get_orientation),
2287 (djvu_document_set_orientation), (djvu_document_get_page_size),
2288 (rotate_pixbuf), (djvu_document_render_pixbuf),
2289 (djvu_document_document_iface_init):
2290 * dvi/dvi-document.c: (dvi_document_get_orientation),
2291 (dvi_document_set_orientation), (dvi_document_get_page_size),
2292 (rotate_pixbuf), (dvi_document_render_pixbuf),
2293 (dvi_document_document_iface_init):
2295 Dvi and djvu backends are ported to new API
2297 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
2299 * backend/ev-selection.c: (ev_selection_get_selection_region),
2300 (ev_selection_get_selection_map):
2301 * backend/ev-selection.h:
2302 * pdf/ev-poppler.cc:
2303 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2305 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
2306 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
2307 (ev_pixbuf_cache_get_text_mapping):
2308 * shell/ev-pixbuf-cache.h:
2309 * shell/ev-view.c: (location_in_text),
2310 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
2311 support to EvView. Now we can see where we can select! Sweet!
2313 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2315 * shell/ev-view.c (ev_view_button_press_event): Fix
2316 event->y + view->scroll_x typo.
2318 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2320 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
2321 sub-GdkPixbuf instead of passing dest_x and dest_y.
2323 * shell/ev-view.c: (view_point_to_doc_point),
2324 (view_rect_to_doc_rect), (ev_view_button_press_event),
2325 (ev_view_motion_notify_event), (compute_new_selection_rect),
2326 (gdk_rectangle_point_in), (compute_new_selection_text),
2327 (compute_selections): Update selection code to keep the selection
2328 around as two points and not as a normalized rectangle, and fix
2329 page level selection in two-column mode.
2331 2005-06-30 Alex Duggan <aldug@astrolinux.com>
2333 * shell/ev-window.c: (window_configure_event_cb):
2337 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2339 * pdf/ev-poppler.cc:
2343 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2345 * shell/Makefile.am:
2346 * shell/ev-metadata-manager.c: (item_free),
2347 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
2348 (parse_value), (parseItem), (load_values),
2349 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
2350 (save_values), (save_item), (get_oldest), (resize_items),
2351 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
2352 * shell/ev-metadata-manager.h:
2354 Metadata manager from gedit but modified to use GValue, so that
2355 we dont need to keep converting from strings.
2359 ENABLE_METADATA conditional, on when dbus is on
2361 * shell/ev-application.c: (ev_application_open_uri):
2363 Show the window after load so that we can initialize
2364 window size before it's showed.
2366 * shell/ev-window.c: (ev_window_setup_from_metadata),
2367 (ev_window_open_uri), (window_configure_event_cb),
2370 Save and load metadata information about window size.
2371 Not yet keeping states in account.
2373 * shell/main.c: (main):
2375 Shutdown metadata manager.
2377 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2379 * shell/ev-application-service.xml:
2381 * shell/Makefile.am:
2382 * shell/ev-application.c:
2383 * shell/ev-application.h:
2384 * shell/ev-window.c:
2385 * shell/ev-window.h:
2388 Add an optional dbus interface (--enable-dbus).
2389 Rework application code, mainly to be easier to
2391 Do not open multiple windows with the same document,
2394 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
2396 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
2397 pixbuf iff it exists.
2399 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
2402 * backend/ev-render-context.[ch]:
2403 * backend/ev-selection.[ch]:
2405 Massive changes. We now support text selection of pdfs, and not
2406 just rectangular selection. This is pretty broken still, but I
2407 want to get something into CVS.
2409 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2411 * pdf/ev-poppler.cc:
2413 Fix for Bug 309080: crash on window close.
2415 * shell/ev-page-action.c: (page_changed_cb):
2417 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
2418 jensgr@gmx.net (Jens Granseuer).
2420 2005-06-25 Marcel Telka <marcel@telka.sk>
2422 * configure.in (ALL_LINGUAS): Added sk.
2424 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
2426 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
2429 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2436 * cut-n-paste/recent-files/Makefile.am:
2440 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2442 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
2443 (pixbuf_document_set_orientation), (rotate_pixbuf),
2444 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
2445 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2447 Implement rotation and cleanup the code a bit.
2449 * tiff/tiff-document.c: (tiff_document_get_page_size),
2450 (tiff_document_get_orientation), (tiff_document_set_orientation),
2451 (rotate_pixbuf), (tiff_document_render_pixbuf),
2452 (tiff_document_document_iface_init), (tiff_document_init):
2454 Implement rotation. Was the quicker solution for the release
2455 but we really need to share this code in the shell.
2457 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2459 * pdf/ev-poppler.cc:
2461 Enable rotation, require poppler cvs. Fix a leak.
2463 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2465 * shell/ev-window.c: (update_action_sensitivity):
2467 Make properties unsensitive if document backend doesn't provide
2470 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2472 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
2473 (bitmap_flip_horizontally), (bitmap_flip_vertically),
2474 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2475 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2476 (bitmap_flip_rotate_counter_clockwise):
2477 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2478 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2480 * dvi/mdvi-lib/common.h:
2481 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2482 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2483 (opendvi), (mdvi_reload), (mdvi_init_context),
2484 (mdvi_destroy_context), (mdvi_dopage), (special):
2485 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2486 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2487 (file_hash_free), (register_encoding), (parse_spec),
2488 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2489 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2490 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2491 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2492 (mdvi_register_font_type), (mdvi_unregister_font_type),
2493 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2494 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2495 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2496 (mdvi_hash_destroy_key), (mdvi_hash_reset):
2497 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2498 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2499 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2500 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2501 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2502 * dvi/mdvi-lib/special.c: (mdvi_register_special),
2503 (mdvi_unregister_special), (mdvi_flush_specials):
2504 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2506 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2507 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2508 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2509 (free_font_metrics), (flush_font_metrics):
2510 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2512 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2513 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2514 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2515 (dstring_insert), (dstring_new), (dstring_reset):
2516 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2518 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2519 avoid conflict with libtool on FC4
2521 * shell/ev-window.c: (ev_window_cmd_help_about):
2523 Update copyright year. Fix for bug 308828.
2525 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2527 * shell/ev-view.c: (add_scroll_binding_keypad),
2528 (ev_view_binding_activated), (ev_view_class_init),
2529 (on_adjustment_value_changed):
2531 Bug 170874: Arrow keys switch pages in presentation mode
2533 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2535 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2537 Fix for Bug 308265: Sidebar dissappears coming out of
2540 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2542 * shell/ev-application.c: (ev_application_open):
2543 * shell/ev-document-types.c: (ev_document_types_add_filters),
2544 (ev_document_types_add_filters_for_type):
2545 * shell/ev-document-types.h:
2546 * shell/ev-window.c: (ev_window_cmd_save_as):
2548 Suggest basename as template when saving, provide filters
2549 for save dialog. It's bug 308402
2551 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2553 * pdf/ev-poppler.cc:
2554 * shell/ev-sidebar-links.c: (job_finished_callback):
2555 * shell/ev-view.c: (update_find_status_message):
2559 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2561 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2562 (egg_recent_view_uimanager_set_list):
2564 Fix buglet in !show_numbers case.
2566 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2568 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2569 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
2571 Use pango ellipsisation.
2573 * pdf/ev-poppler.cc:
2575 Fix refcount leak, from nsh.
2577 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2579 * cut-n-paste/recent-files/Makefile.am:
2580 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2581 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2583 Removed EggRecentViewGtk
2585 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2586 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
2587 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
2588 (ev_window_setup_recent):
2590 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
2593 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2595 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2596 (egg_recent_view_gtk_finalize):
2600 * cut-n-paste/toolbar-editor/Makefile.am:
2602 Fix location of cursor icon.
2604 * pdf/ev-poppler.cc:
2605 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
2606 (display_completion_text), (match_completion):
2607 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2608 (selection_changed_callback), (create_loading_model),
2609 (print_section_cb), (links_page_num_func),
2610 (update_page_callback_foreach):
2611 * shell/ev-window.c: (ev_window_dispose):
2613 Small memory fixes. Links model now store objects instead
2614 of pointers to improve memory management.
2616 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2618 * shell/ev-window.c: (zoom_control_changed_cb):
2620 Fix update of zoom control (bug 308268).
2622 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2624 * shell/ev-properties.c (set_property): escape the text correctly.
2625 Handles non-UTF-8 properties and escaped properties. Also, sets
2626 the text to "<i>None</i>" if the property isn't set.
2628 * data/evince-properties.glade: Change the label to be ellipsized,
2629 and give it a minimum size.
2631 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2633 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2634 * shell/ev-sidebar-links.c: (create_loading_model):
2635 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2636 * shell/ev-view.c: (ev_view_set_document):
2637 * shell/ev-window.c: (ev_window_dispose):
2639 Various small fixes, mostly memory leaks. Thanks to valgrind.
2641 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2643 * ps/ps-document.c: remove the locale.h include again ;-). And
2644 kill the (bogus) setlocale/savelocale business.
2646 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2650 Include locale.h to fix build
2652 * shell/ev-sidebar.c:
2654 Remove unnecessary includes
2656 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2658 * dvi/dvi-document.c: (dvi_document_load):
2659 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2662 Check for incorrect dvi files. Fix parsing dvi on AMD64
2663 platform. Thanks to tester@tester.ca (Olivier Crete).
2665 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2667 * shell/ev-page-action.c: (match_selected_cb),
2668 (display_completion_text), (match_completion), (update_model):
2669 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2670 (expand_open_links):
2671 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2672 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2673 (ev_sidebar_set_document):
2674 * shell/ev-window.c: (ev_window_xfer_job_cb),
2675 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2677 Fixed lot's of memory leaks, for example, memory leak on reload,
2678 described in bug 307793.
2680 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2682 * pdf/ev-poppler.cc:
2683 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2684 (update_visible_range), (adjustment_changed_cb),
2685 (ev_sidebar_thumbnails_fill_model),
2686 (ev_sidebar_thumbnails_refresh),
2687 (ev_sidebar_tree_selection_changed),
2688 (ev_sidebar_icon_selection_changed),
2689 (ev_sidebar_thumbnails_use_icon_view),
2690 (ev_sidebar_thumbnails_set_document):
2691 * shell/ev-sidebar-thumbnails.h:
2692 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2693 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2695 Refresh thumbnails when changing orientation. Not fully
2696 working yet becuase of a sidebar bug.
2698 Set page orientation to poppler page everywhere. This sucks
2699 really need to fix poppler.
2701 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2703 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2704 (egg_recent_view_gtk_new_menu_item),
2705 (egg_recent_view_gtk_set_property),
2706 (egg_recent_view_gtk_get_property),
2707 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2708 (egg_recent_view_gtk_set_tooltip_func),
2709 (egg_recent_view_gtk_set_label_width),
2710 (egg_recent_view_gtk_get_label_width):
2711 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2713 Sync with libegg (ellipsize labels)
2715 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2717 * data/evince-ui.xml:
2718 * shell/ev-window.c: (ev_window_cmd_go_forward),
2719 (ev_window_cmd_go_backward):
2721 Shift + PageUp moves 10 Pages. Fix for 306125
2723 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2725 * pdf/ev-poppler.cc:
2727 Add a flag to check if orientation has been overriden
2729 2005-06-17 Martin Kretzschmar <martink@gnome.org>
2731 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
2734 * ps/ps.h: add creator field to document.
2736 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
2739 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2741 * data/evince-properties.glade:
2742 * shell/ev-properties.c: (ev_properties_set_document):
2744 s/PDF Version/Format
2746 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2748 * shell/ev-properties.c: (ev_properties_set_document):
2750 Remove unnecessary translations
2752 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2754 * cut-n-paste/toolbar-editor/Makefile.am:
2756 Correct library name
2758 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2761 * cut-n-paste/recent-files/egg-recent-model.c:
2762 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
2763 (egg_recent_model_unlock_file):
2764 * cut-n-paste/recent-files/egg-recent-util.c:
2765 (egg_recent_util_get_unique_id):
2766 * cut-n-paste/recent-files/update-from-egg.sh:
2767 * cut-n-paste/toolbar-editor/Makefile.am:
2768 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2769 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2770 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2771 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2772 (egg_toolbars_model_get_type):
2773 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2775 Better makefile for toolbar editor and update everything
2778 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2780 * shell/ev-window.c: (update_document_mode):
2782 Prefer presentation mode when the document
2785 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
2787 * data/evince-ui.xml:
2788 * shell/ev-window.c:
2790 Add control-equal for zooming
2792 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
2794 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
2796 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
2798 * backend/ev-document.c: (ev_document_get_orientation):
2799 * backend/ev-document.h:
2800 * pdf/ev-poppler.cc:
2801 * ps/ps-document.c: (ps_document_get_orientation),
2802 (ps_document_set_orientation), (ps_document_document_iface_init):
2804 Add a get_orientation api. Improve set_orientation.
2806 * data/evince-ui.xml:
2807 * shell/ev-view.c: (ev_view_set_orientation),
2808 (ev_view_rotate_right), (ev_view_rotate_left):
2810 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2811 (ev_window_cmd_edit_rotate_right):
2813 Better ui for changing document orientation
2815 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2817 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
2818 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
2819 * shell/ev-sidebar-links.h:
2820 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
2821 (ev_sidebar_page_iface_init):
2822 * shell/ev-sidebar-page.h:
2823 * shell/ev-sidebar-thumbnails.c:
2824 (ev_sidebar_thumbnails_get_property),
2825 (ev_sidebar_thumbnails_class_init),
2826 (ev_sidebar_thumbnails_set_document):
2827 * shell/ev-sidebar-thumbnails.h:
2828 * shell/ev-view.c: (ev_view_motion_notify_event):
2829 * shell/ev-window.c: (update_chrome_visibility),
2830 (ev_window_cmd_focus_page_selector),
2831 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
2832 (sidebar_page_main_widget_update_cb), (ev_window_init):
2834 Autoraise toolbar on GoToPage binding and fix bindings in
2835 EvSidebarThumbnails page.
2837 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
2839 * shell/ev-properties.c: (update_progress_label):
2841 Hide the progress label when finished; bug #307697.
2843 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2845 * pdf/ev-poppler.cc:
2847 Enable is_open for links, you will need poppler cvs
2849 * shell/ev-properties.c: (job_fonts_finished_cb):
2851 Get a lock on the document when filling the tree view
2853 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2855 * backend/ev-document-links.h:
2856 * pdf/ev-poppler.cc:
2857 * shell/ev-sidebar-links.c: (create_loading_model),
2858 (expand_open_links), (job_finished_callback):
2860 Expand links when specified by the document.
2861 Depend on a poppler api (defined out for now)
2863 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
2865 * shell/ev-properties.c: (ev_properties_dispose),
2866 (ev_properties_class_init), (dialog_destroy_cb),
2867 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
2868 (ev_properties_set_document), (ev_properties_new),
2869 (ev_properties_show):
2870 * shell/ev-properties.h:
2872 Make it an object, cleanup the code, api to show it as transient
2873 and to set the document.
2875 * shell/ev-window.c: (ev_window_setup_document),
2876 (ev_window_cmd_file_properties):
2878 Adapt to EvProperties changes, do not show multiple
2879 times, update it when document changes.
2881 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2884 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
2885 (ps_document_set_orientation), (ps_document_document_iface_init):
2888 Implement orientation here too
2890 * shell/ev-properties.c: (ev_properties_new):
2891 * data/evince-properties.glade:
2893 Hide the fonts page for backends that doesnt
2896 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
2898 * backend/ev-document.c: (ev_document_set_orientation):
2899 * backend/ev-document.h:
2900 * pdf/ev-poppler.cc:
2902 Add orientation api. Currently poppler api is not optimal,
2903 we need to set orientation every time we _get a page.
2904 I will try to fix that at some point.
2906 * data/evince-ui.xml:
2907 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
2908 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
2910 Add orientation menu items
2912 * shell/ev-page-cache.c: (ev_page_cache_clear):
2913 * shell/ev-page-cache.h:
2915 Add api to clear the cache
2917 * shell/ev-view.c: (setup_caches), (clear_caches),
2918 (ev_view_set_document), (ev_view_zoom_out),
2919 (ev_view_set_orientation):
2922 Implement orientation changing
2924 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
2926 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
2927 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
2928 * backend/ev-document-fonts.h:
2930 Separate scan and fill so that we can incrementally fill from
2931 the main thread. Add a progress api.
2933 * data/evince-properties.glade:
2934 * pdf/ev-poppler.cc:
2935 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
2937 * shell/ev-properties.c: (update_progress_label),
2938 (job_fonts_finished_cb), (setup_fonts_view):
2940 Incrementally feel the list and show the progress
2941 percentage in a label like acrobat does.
2943 You are going to need poppler cvs
2945 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
2947 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
2948 * backend/ev-document-fonts.h:
2949 * pdf/ev-poppler.cc:
2951 Make fonts model fill incrementally.
2953 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
2954 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
2955 (ev_job_queue_remove_job):
2956 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
2957 (ev_job_fonts_new), (ev_job_fonts_run):
2960 New job for fonts scanning
2962 * shell/ev-properties.c: (job_fonts_finished_cb),
2963 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
2964 * shell/ev-properties.h:
2965 * shell/ev-window.c: (ev_window_cmd_file_properties):
2967 Incrementally feel the treeview using the new job. Show Loading...
2968 message until scanning is completed.
2970 Hopefully I didnt break the build without the poppler patch.
2972 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2974 * shell/ev-application.c: (ev_application_open):
2975 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
2976 (ev_document_type_get_type), (ev_document_type_lookup):
2977 * shell/ev-document-types.h:
2978 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
2979 * shell/ev-job-xfer.h:
2980 * shell/ev-window.c: (ev_window_clear_local_uri),
2981 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
2982 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
2983 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2985 Transfer remote documents to tmp directory to display them later.
2987 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
2989 * backend/ev-document-info.h:
2990 * shell/ev-properties.c: (ev_properties_new):
2992 s/GTime*/GTime. Not sure why we was using a pointer
2995 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
2997 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
2998 situations. That situation is that you're using GTK+-HEAD with
2999 the patch at #306726 is applied, and you have a document with <
3000 1500 pages in it. It's not quite as uniformly nice as the
3001 TreeView, but should be better in the long run.
3003 I'm pretty sure I guarded against breaking compilation with
3004 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
3007 * shell/ev-window.c (ev_window_init): We don't have our tree/list
3008 widget yet, so I commented that code out
3009 enable_view_actions_for_widget() for now. Need to figure this
3012 * shell/ev-page-action.c (match_selected_cb): emit the right
3013 signals. Our cool C-l completion now works.
3015 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3017 * backend/Makefile.am:
3018 * backend/ev-document-fonts.c:
3019 * backend/ev-document-links.c:
3020 * backend/ev-document.c: (ev_document_load):
3021 * backend/ev-document.h:
3022 * backend/ev-job-queue.c:
3023 * backend/ev-job-queue.h:
3024 * backend/ev-jobs.c:
3025 * backend/ev-jobs.h:
3026 * backend/ev-page-cache.c:
3027 * backend/ev-page-cache.h:
3029 EvPageCache and EvJobs are moved to shell.
3031 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
3033 * lib/ev-file-helpers.h:
3035 New helper to work with temporary files
3037 * shell/Makefile.am:
3038 * shell/ev-application.c: (ev_application_open):
3039 * shell/ev-application.h:
3040 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
3041 (remove_job_from_async_queue), (add_job_to_async_queue),
3042 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
3043 (handle_job), (search_for_jobs_unlocked),
3044 (no_jobs_available_unlocked), (ev_render_thread),
3045 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3046 (ev_job_queue_add_job), (move_job_async), (move_job),
3047 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3048 * shell/ev-job-queue.h:
3049 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
3050 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
3051 * shell/ev-job-xfer.h:
3052 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3053 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3054 (ev_job_links_class_init), (ev_job_render_init),
3055 (ev_job_render_dispose), (ev_job_render_class_init),
3056 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3057 (ev_job_thumbnail_class_init), (ev_job_load_init),
3058 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
3059 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3060 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
3061 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
3063 * shell/ev-page-action.c: (ev_page_action_set_document):
3064 * shell/ev-page-cache.c: (ev_page_cache_init),
3065 (ev_page_cache_class_init), (ev_page_cache_finalize),
3066 (ev_page_cache_new), (ev_page_cache_get_n_pages),
3067 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3068 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
3069 (ev_page_cache_get_title), (ev_page_cache_get_size),
3070 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
3071 (ev_page_cache_get_height_to_page),
3072 (ev_page_cache_get_max_label_chars),
3073 (ev_page_cache_get_page_label),
3074 (ev_page_cache_has_nonnumeric_page_labels),
3075 (ev_page_cache_get_info), (ev_page_cache_next_page),
3076 (ev_page_cache_prev_page), (ev_page_cache_get):
3077 * shell/ev-page-cache.h:
3078 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
3079 (ev_pixbuf_cache_clear_job_sizes),
3080 (ev_pixbuf_cache_add_jobs_if_needed),
3081 (ev_pixbuf_cache_set_page_range):
3082 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
3083 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
3084 * shell/ev-sidebar-thumbnails.c:
3085 (ev_sidebar_tree_selection_changed),
3086 (ev_sidebar_thumbnails_set_document):
3087 * shell/ev-statusbar.c: (ev_statusbar_destroy),
3088 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
3089 (ev_statusbar_get_context_id), (ev_statusbar_push),
3090 (ev_statusbar_pop), (ev_statusbar_set_maximized),
3091 (ev_statusbar_pulse), (ev_statusbar_show_progress),
3092 (ev_statusbar_set_progress):
3093 * shell/ev-statusbar.h:
3094 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
3095 (ev_view_find_previous):
3096 * shell/ev-window.c: (ev_window_is_empty),
3097 (ev_window_setup_document), (password_dialog_response),
3098 (ev_window_clear_jobs), (ev_window_load_job_cb),
3099 (ev_window_xfer_job_cb), (ev_window_open_uri),
3100 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
3101 (ev_window_print), (ev_window_print_range),
3102 (ev_window_state_event), (ev_window_cmd_view_reload),
3103 (menu_item_select_cb), (menu_item_deselect_cb),
3104 (view_status_changed_cb), (ev_window_dispose),
3105 (drag_data_received_cb), (ev_window_init):
3106 * shell/ev-window.h:
3107 * shell/main.c: (load_files):
3109 New statusbar to show progress on idle. Two new jobs -
3110 xfer job and load job to load document in background. And update
3111 of page_cache clients to new location of code.
3113 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
3115 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
3116 selection in open dialog. It also remembers the last visited directory
3117 in the current session.
3119 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3121 * shell/ev-properties.c: (ev_properties_new):
3122 * shell/ev-properties.h:
3123 * shell/ev-window.c: (ev_window_cmd_file_properties):
3125 Get document info from page cache instead of document itself.
3126 This should fix crash related to race conditions described in
3129 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3131 * ps/ps-document.c: (ps_document_init),
3132 (send_ps), (get_page_box), (output), (catchPipe), (input),
3133 (stop_interpreter), (file_length), (file_readable),
3134 (check_filecompressedb), (ps_document_enable_interpreter),
3135 (document_load), (ps_async_renderer_render_pixbuf):
3138 Big cleanup of the ps code
3140 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3142 * backend/Makefile.am:
3143 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
3144 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
3145 * backend/ev-async-renderer.h:
3147 Add an async renderer interface (method + callback) which
3148 is useful for backends like ps.
3150 * backend/ev-job-queue.c: (remove_job_from_async_queue),
3151 (add_job_to_async_queue), (job_finished_cb), (handle_job),
3152 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3153 (ev_job_queue_add_job), (move_job_async), (move_job),
3154 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3156 Add queues for async renderer, these are executed on the
3159 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
3160 (ev_job_render_run):
3161 * backend/ev-jobs.h:
3163 If the backend support async renderer interface use it.
3165 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3166 (setup_pixmap), (ps_document_get_type),
3167 (ps_async_renderer_render_pixbuf),
3168 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
3170 Implement async renderer interface.
3172 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3174 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
3176 Cleanup links job on exit.
3178 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3180 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3181 (drag_data_get_cb), (drag_data_received_cb):
3182 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3183 (drag_data_get_cb), (parse_item_list),
3184 (egg_toolbar_editor_load_actions):
3185 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3186 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
3187 (parse_item_list), (parse_toolbars):
3188 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3189 (dvi_pixbuf_put_pixel):
3191 Fix gcc 4.0 warnings
3193 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3195 * ps/ps-document.c: (start_interpreter):
3197 Fix warning when loading ps
3199 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3201 * ps/ps-document.c: (output):
3203 Fix crash when priting gs error messages.
3205 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3207 * backend/ev-page-cache.c: (_ev_page_cache_new):
3208 * backend/ev-page-cache.h:
3210 Use a const to return title so that we dont double
3211 free it. Small cleanup and fix a leak.
3213 * shell/ev-window.c: (update_window_title):
3215 strdup value from get_title.
3217 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3219 * shell/ev-sidebar-links.c: (job_finished_callback),
3220 (ev_sidebar_links_set_document):
3222 Cleanup the old job when changing document
3224 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3226 * shell/ev-stock-icons.c:
3227 * shell/ev-stock-icons.h:
3228 * shell/ev-window.c:
3230 Add stock icons for actions that can appear in toolbar. Fix for
3233 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3235 * backend/ev-page-cache.c: (ev_page_cache_finalize),
3236 (_ev_page_cache_new), (ev_page_cache_get_max_width),
3237 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
3238 * backend/ev-page-cache.h:
3239 * shell/ev-view.c: (scroll_to_current_page),
3240 (view_update_range_and_current_page), (get_page_y_offset),
3241 (get_page_extents), (ev_view_size_request_continuous_dual_page),
3242 (ev_view_size_request_continuous),
3243 (ev_view_zoom_for_size_continuous_and_dual_page),
3244 (ev_view_zoom_for_size_continuous):
3246 More compact EvView layout in document with pages of different size.
3248 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
3250 * shell/ev-window.c (ev_window_cmd_file_properties): fix
3253 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3255 * shell/ev-view.c: (view_set_adjustment_values):
3256 * shell/ev-window.c: (ev_window_cmd_file_properties):
3258 A bit different fix for rounding problem but it has no
3259 problems on startup. Make properties window transient to parent.
3261 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3263 * pdf/ev-poppler.cc:
3265 More commenting of font stuff.
3267 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3269 * pdf/ev-poppler.cc:
3271 Comment out some more fonts stuff. Should really
3272 work without the poppler patch now.
3274 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3276 * pdf/ev-poppler.cc:
3280 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3282 * data/evince-properties.glade:
3283 * pdf/ev-poppler.cc:
3284 * shell/ev-properties.c: (setup_fonts_view):
3286 Set the column title. Show the dialog only
3287 once everything is setup.
3288 Getting font info can be very slow... will
3289 prolly need to make this threaded too.
3291 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3293 * backend/Makefile.am:
3294 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
3295 (ev_document_fonts_get_fonts_model):
3296 * backend/ev-document-fonts.h:
3297 * data/evince-properties.glade:
3298 * pdf/ev-poppler.cc:
3299 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
3300 * shell/ev-properties.h:
3301 * shell/ev-window.c: (ev_window_cmd_file_properties):
3303 Implement fonts list. Defined out for now, since it depends
3304 on a not yet committed poppler patch.
3306 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
3308 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
3311 * shell/ev-window.c: Make sure we add the timeout when we get a
3314 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
3315 adjustment->value before calculating the zoom factor to average
3316 out all of our rounding errors. The page no longer 'drifts' when
3319 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3321 * data/evince-properties.glade:
3322 * shell/ev-properties.c: (ev_properties_format_date),
3325 Labels don't expand when the dialogue is resized.
3326 strftime result needs to be converted to UTF-8. Thanks
3327 to Christian Persch <chpe@gnome.org>.
3329 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3331 * data/evince-properties.glade:
3335 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3337 * backend/ev-document-info.h:
3338 * backend/ev-document.c: (ev_document_info_free):
3339 * data/evince-properties.glade:
3340 * pdf/ev-poppler.cc:
3341 * ps/ps-document.c: (ps_document_get_info):
3342 * shell/ev-properties.c: (ev_properties_format_date),
3343 (set_property), (ev_properties_new):
3344 * shell/ev-properties.h:
3345 * shell/ev-window.c: (ev_window_cmd_file_properties):
3347 Rework properties code to take only EvPropertyInfo
3348 in the constructor so that it can be useful for
3349 nautilus plugin too.
3351 Deal with backends that doesnt support some properties.
3352 Make set property code generic.
3354 2005-06-04 Christian Persch <chpe@gnome.org>
3356 * data/evince-properties.glade:
3358 fix spacings, make resizeable, and make data labels
3359 selectable + ellipsised
3361 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
3363 * backend/ev-document-info.h:
3365 * data/evince-ui.xml:
3366 * pdf/ev-poppler.cc:
3367 * shell/Makefile.am:
3368 * shell/ev-window.c: (update_action_sensitivity),
3369 (ev_window_cmd_file_properties):
3371 Initial go at file properties. Patch by
3372 Emil Soleyman-Zomalan <emil@soleyman.com>.
3373 Needs love see #169583
3375 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
3377 * ps/ps-document.c: (output):
3378 * ps/ps.c: (psscan):
3380 Try to render even if psscan fails.
3382 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3384 * ps/ps.c: (psscan), (pscopydoc):
3386 Port buffered reading code from gv
3388 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3390 * ps/ps-document.c: (interpreter_message), (output):
3392 Do not fail on interpreter messages
3394 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3396 * backend/ev-document-misc.c:
3397 (ev_document_misc_get_thumbnail_frame):
3399 Pages can be 0 x 0, dont assert on this case
3401 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3403 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3404 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
3406 Correctly manage our reference on document. Finally the reload
3407 huge leak is gone...
3409 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3411 * ps/ps-document.c: (ps_document_dispose):
3413 Forgot to chain it to the parent. Thanks chpe.
3415 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3417 * ps/ps-document.c: (ps_document_dispose),
3418 (ps_document_class_init), (stop_interpreter), (document_load):
3420 Cleanup dispose a bit. Dont leak the whole pixmap.
3422 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3424 * pdf/ev-poppler.cc:
3426 Release the poppler document on dispose
3428 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3430 * shell/ev-view.c: (ev_view_set_document):
3432 Release ref on the pixbuf cache when changing
3435 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3437 * ps/ps-document.c: (ps_document_get_info):
3441 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3443 * backend/ev-page-cache.c: (ev_page_cache_init),
3444 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
3445 * backend/ev-page-cache.h:
3446 * shell/ev-page-action.c: (page_changed_cb):
3448 Set page action entry width depending on labels width. Fix
3451 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3453 * backend/ev-link.c: (ev_link_class_init):
3455 Allow -1 as page value (error)
3457 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3459 * shell/ev-sidebar-thumbnails.c:
3460 (ev_sidebar_thumbnails_set_document):
3461 * shell/ev-view.c: (scroll_to_current_page),
3462 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
3463 (page_changed_cb), (on_adjustment_value_changed),
3464 (ev_view_set_document):
3466 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
3469 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3472 * djvu/djvu-document.c: (djvu_document_get_page_size):
3474 Require djvulibre CVS. Now djvu loading is much faster. Fix for
3477 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
3479 * shell/ev-view.c (draw_one_page): modify the expose handling to
3482 * shell/ev-window.c (update_action_sensitivity): Respect
3483 permissions field. Kowtow to the man.
3485 * pdf/ev-poppler.cc: Get the permissions field.
3487 * tiff/*c: Make a tiny bit more robust.
3489 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3491 * djvu/djvu-document.c:
3493 Pop messages from djvu context message queue.
3495 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3497 * configure.ac, Makefile.am, shell/Makefile.am:
3498 * tiff/Makefile.am, shell/ev-document-types.c:
3500 Cleanup tiff configure checks. Fix for bug 305218.
3502 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
3504 * configure.ac: Added "uk" to ALL_LINGUAS.
3506 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3508 * cut-n-paste/zoom-control/ephy-zoom.c:
3509 (ephy_zoom_get_changed_zoom_level):
3510 * cut-n-paste/zoom-control/ephy-zoom.h:
3511 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3512 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3513 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3514 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3515 (zoom_control_changed_cb), (ev_window_init):
3517 Fix minor points related to moving best fit up. Introduce
3518 "zoom" property and make zoom control change it's value on
3519 notify::zoom signals. Fix for 305080.
3521 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3523 * data/evince-ui.xml:
3524 * shell/ev-window.c: (set_view_actions_sensitivity):
3526 Use + and - as accels for zoom in and zoom out. Fix for 305001.
3528 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3532 Depends on poppler 0.3.2
3534 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3536 * cut-n-paste/recent-files/egg-recent-item.c:
3537 (egg_recent_item_get_short_name):
3538 * cut-n-paste/toolbar-editor/Makefile.am:
3539 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3540 (new_pixbuf_from_widget):
3541 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3542 * cut-n-paste/toolbar-editor/egg-marshal.c:
3543 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3544 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3548 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
3550 * tiff/tiff-document.c: Rough TIFF backend.
3552 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3556 * cut-n-paste/toolbar-editor/Makefile.am:
3560 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3562 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
3563 (ev_view_find_next), (ev_view_find_previous):
3565 Remove the locks around get_n_results
3567 2005-05-21 Juerg Billeter <j@bitron.ch>
3569 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
3571 Pass correct number of pages to poppler.
3573 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3577 * data/evince.desktop.in:
3578 * data/evince.desktop.in.in:
3581 Add conditionally dvi and djvu to desktop types. Fix for 304658.
3583 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
3585 * shell/ev-view.c: (view_update_adjustments),
3586 (view_set_adjustment_values): cast adjustmen->value to (int)
3587 before using it. Otherwise, we get off by a pixel in some
3590 (draw_one_page): Draw the border on expose.
3592 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
3594 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
3595 adjustment when the mode changes, #304923
3597 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3599 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
3600 flickering on resize but still use gdk_window_scroll on
3603 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
3605 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
3608 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
3610 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3611 second page on page_changed if possible, #304669
3613 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
3615 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3616 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3618 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3621 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3622 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3623 (ev_view_zoom_for_size_presentation),
3624 (ev_view_zoom_for_size_continuous_and_dual_page),
3625 (ev_view_zoom_for_size_continuous),
3626 (ev_view_zoom_for_size_dual_page),
3627 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3629 * shell/ev-window.c: (update_view_size),
3630 (ev_window_sizing_mode_changed_cb):
3632 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3633 the scrollbars. It's not 100% right, but it's much closer. Kills
3634 an infinite loop, #304769
3637 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3639 * data/evince-ui.xml:
3640 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3641 * shell/ev-window.c: (set_view_actions_sensitivity):
3643 Make PgUp/Down behave like Space
3645 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3647 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3648 * backend/ev-ps-exporter.h:
3649 * pdf/ev-poppler.cc:
3650 * ps/ps-document.c: (ps_document_ps_export_begin):
3651 * shell/ev-print-job.c: (idle_print_handler):
3653 Adapt to new poppler api
3655 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3657 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3658 (ephy_zoom_control_init):
3660 Translate zoom levels
3662 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3664 * cut-n-paste/zoom-control/ephy-zoom.c:
3665 (ephy_zoom_get_zoom_level_index):
3667 Fix current zoom -> zoom control match
3669 2005-05-18 James Bowes <bowes@cs.dal.ca>
3671 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3672 rather than the scrolled_window that it's in. Fixes bug #304655.
3674 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3676 * shell/ev-view.c: (view_update_adjustments),
3677 (view_set_adjustment_values), (view_update_range_and_current_page),
3678 (view_scroll_to_page), (set_scroll_adjustment),
3679 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3680 (ev_view_scroll), (ev_view_scroll_view),
3681 (ensure_rectangle_is_visible), (find_page_at_location),
3682 (get_link_at_location), (go_to_link), (status_message_from_link),
3683 (ev_view_size_request_continuous_dual_page),
3684 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3685 (ev_view_unrealize), (ev_view_expose_event),
3686 (ev_view_button_press_event), (ev_view_motion_notify_event),
3687 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3688 (draw_rubberband), (highlight_find_results), (draw_one_page),
3689 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3690 (ev_view_init), (find_changed_cb), (page_changed_cb),
3691 (on_adjustment_value_changed), (ev_view_new),
3692 (ev_view_set_document), (ev_view_set_zoom),
3693 (ev_view_set_continuous), (ev_view_set_dual_page),
3694 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3695 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3696 (ev_view_zoom_for_size_presentation),
3697 (ev_view_zoom_for_size_continuous_dual_page),
3698 (ev_view_zoom_for_size_continuous),
3699 (ev_view_zoom_for_size_dual_page),
3700 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3701 (ev_view_get_status), (ev_view_set_status),
3702 (update_find_status_message), (ev_view_get_find_status),
3703 (ev_view_set_find_status), (jump_to_find_result),
3704 (jump_to_find_page), (compute_selections), (clear_selection),
3705 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3706 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3707 (ev_view_update_primary_selection),
3708 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3710 * shell/ev-window.c: (ev_window_open_page_label),
3711 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3713 * shell/ev-window.h:
3714 * shell/main.c: (load_files):
3716 Massive code clean up from Nickolay Shmyrev. Keep page offset
3717 when resizing. Remove the bin_window(). Also, patch from James
3718 Bowes to fix command line page, #300641
3720 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
3722 * data/evince-ui.xml:
3725 * shell/ev-window.c: (update_action_sensitivity):
3727 Get rid of View->Normal Size, it's just confusing
3729 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
3731 * backend/ev-document-info.h:
3732 * backend/ev-document.c: (ev_document_info_free): Free the
3735 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3736 (clear_range), (add_range), (update_visible_range),
3737 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
3738 (ev_sidebar_thumbnails_set_document):
3739 * shell/ev-window.c: (ev_window_setup_document): Only render the
3740 visible thumbnails. It takes an instant to render, but it uses
3743 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3745 * shell/ev-sidebar-links.c: (popup_menu_cb):
3749 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3752 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
3753 (button_press_cb), (ev_sidebar_links_construct):
3755 Show the popup menu also on keybindings
3757 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
3759 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
3760 * shell/ev-window.h:
3762 Expose api to print a range (with dialog). Make private _print use
3765 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
3766 (ev_sidebar_links_construct):
3768 Show a print context menu on linkx, it prints the selected
3771 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
3773 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
3776 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
3782 * shell/ev-window.c: (build_comments_string),
3783 (ev_window_cmd_help_about):
3785 Show poppler version/backend and authors
3787 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3789 * cut-n-paste/zoom-control/ephy-zoom.c:
3790 (ephy_zoom_get_zoom_level_index):
3791 * cut-n-paste/zoom-control/ephy-zoom.h:
3793 Move the best fit items at the top of the list
3795 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
3797 * shell/ev-marshal.list:
3798 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
3799 (activate_cb), (match_selected_cb), (activate_link_cb),
3800 (connect_proxy), (ev_page_action_class_init):
3801 * shell/ev-page-action.h:
3803 Use signals to notify action activation. Hopefully
3804 I did not break completion since I cant test...
3806 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
3807 (register_custom_actions):
3809 Connect to page selector actions and also grab focus on
3810 the view when activated.
3812 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
3814 * pdf/ev-poppler.cc:
3815 * backend/ev-page-cache.c: make page size calculation consistent
3816 and set it to (int)( width * scale + 0.5). This makes the weird
3817 line going through the middle of the page go away.
3819 * shell/ev-view.c: move painting the background page after
3820 checking the expose area covers us.
3822 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3824 * data/evince-password.glade:
3826 Mark labels as not translatable. Fix for bug 302842.
3828 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
3830 * configure.ac: Added "es" to ALL_LINGUAS.
3832 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3834 * data/evince-toolbar.xml:
3835 * shell/ev-window.c: (update_action_sensitivity),
3836 (ev_window_setup_document), (ev_window_set_page_mode),
3839 Remove some leftover code from jrb first continous
3840 attempt. Use the new actions, we still need good icons
3843 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3845 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
3847 Update label when connecting proxy. Fix a warning with NULL
3850 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3852 * data/evince-ui.xml:
3853 * shell/ev-page-action.c: (ev_page_action_grab_focus):
3854 * shell/ev-page-action.h:
3855 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
3857 Add mnemonic for edit toolbar.
3858 ctrl+l focus the page entry.
3860 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3863 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
3865 * shell/main.c: (main):
3867 Put the toolbar xml in evince own dot dir
3869 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3871 * shell/ev-window.c: (ev_window_init):
3873 Make the toolbar not removable
3875 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3877 * data/evince-ui.xml:
3878 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
3879 * shell/ev-sidebar-links.h:
3880 * shell/ev-sidebar-thumbnails.c:
3881 (ev_sidebar_thumbnails_get_treeview):
3882 * shell/ev-sidebar-thumbnails.h:
3883 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
3884 (ev_view_class_init):
3886 * shell/ev-window.c: (update_action_sensitivity),
3887 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
3888 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
3889 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
3892 This is evil... Make space/backspace global accelerators but
3893 enable them only for some widgets (sidebars and view).
3894 I dont like it, but I dont know a better way... :/
3896 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3898 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
3899 (ev_page_action_widget_finalize),
3900 (ev_page_action_widget_class_init), (update_page_cache):
3902 Keep a weak reference on proxy->page_cache so that we
3903 dont try to disconnect the signal if the object is already
3904 gone. Maybe there is a better way to cleanup reference handling
3905 in page action though...
3907 2005-05-10 Juerg Billeter <j@bitron.ch>
3909 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3910 * backend/ev-ps-exporter.h:
3911 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
3912 * ps/ps-document.c: (ps_document_ps_export_begin):
3914 Change api to pass print range to ps_exporter_begin. The pdf backend
3915 requires this information.
3917 * shell/ev-print-job.c: (idle_print_handler):
3921 2005-05-10 Juerg Billeter <j@bitron.ch>
3923 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3924 (idle_print_handler)
3925 * shell/ev-window.c: (ev_window_print):
3927 Support printing page range, based on patch by Amaury Jacquot
3929 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3931 * data/evince-toolbar.xml:
3933 Add zoom control to available items
3935 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3937 * shell/ev-window.c: (update_action_sensitivity):
3939 Set slash action insensitive when appropriate
3941 2005-05-10 Christian Persch <chpe@gnome.org>
3943 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
3945 Fix warning on the overflow menu
3947 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
3949 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
3951 Check for uri correctness/existence
3953 2005-05-09 Juerg Billeter <j@bitron.ch>
3955 * shell/ev-window.c: (using_postscript_printer):
3957 LPD printers use postscript, too
3959 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3961 * shell/ev-window.c: (register_custom_actions):
3963 The zoom one is actually sort of useful,
3966 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3968 * shell/ev-window.c: (register_custom_actions):
3970 Hide page/zoom controls from overflow, they
3973 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
3975 * cut-n-paste/update-from-egg.sh:
3977 Share it between all cut-n-paste subdirs
3979 * cut-n-paste/recent-files/Makefile.am:
3981 Fix to use "global" update-from-egg.sh
3983 * cut-n-paste/recent-files/egg-recent-model.c:
3984 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
3985 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3986 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
3987 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
3991 * cut-n-paste/toolbar-editor/Makefile.am:
3993 Fix to use "global" update-from-egg.sh
3995 * cut-n-paste/toolbar-editor/eggmarshalers.list:
3999 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4002 * cut-n-paste/Makefile.am:
4003 * cut-n-paste/recent-files/Makefile.am:
4004 * cut-n-paste/toolbar-editor/.cvsignore:
4005 * cut-n-paste/toolbar-editor/Makefile.am:
4006 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
4007 (egg_editable_toolbar_get_type), (get_toolbar_position),
4008 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
4009 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
4010 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
4011 (set_item_drag_source), (create_item_from_action), (create_item),
4012 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
4013 (popup_toolbar_context_menu_cb), (free_dragged_item),
4014 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
4015 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
4016 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
4017 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
4018 (item_added_cb), (item_removed_cb),
4019 (egg_editable_toolbar_construct),
4020 (egg_editable_toolbar_disconnect_model),
4021 (egg_editable_toolbar_deconstruct),
4022 (egg_editable_toolbar_set_model),
4023 (egg_editable_toolbar_set_ui_manager),
4024 (egg_editable_toolbar_set_property),
4025 (egg_editable_toolbar_get_property),
4026 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
4027 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
4028 (egg_editable_toolbar_new_with_model),
4029 (egg_editable_toolbar_get_edit_mode),
4030 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
4031 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
4032 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
4033 (new_pixbuf_from_widget), (new_separator_pixbuf),
4034 (update_separator_image), (style_set_cb),
4035 (_egg_editable_toolbar_new_separator_image),
4036 (egg_editable_toolbar_get_model):
4037 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
4038 * cut-n-paste/toolbar-editor/egg-marshal.c:
4039 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
4040 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
4041 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
4042 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
4043 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
4044 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
4045 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
4046 (editor_drag_data_delete_cb), (drag_data_get_cb),
4047 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
4048 (editor_create_item), (update_editor_sheet), (setup_editor),
4049 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
4050 (parse_item_list), (model_has_action), (update_actions_list),
4051 (egg_toolbar_editor_load_actions):
4052 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
4053 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
4054 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
4055 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
4056 (toolbars_item_new), (free_toolbar_node), (free_item_node),
4057 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
4058 (egg_toolbars_model_add_separator), (impl_add_item),
4059 (parse_item_list), (egg_toolbars_model_add_toolbar),
4060 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
4061 (impl_get_item_data), (impl_get_item_type),
4062 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
4063 (egg_toolbars_model_init), (free_toolbar),
4064 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
4065 (egg_toolbars_model_remove_toolbar),
4066 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
4067 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
4068 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
4069 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
4070 (egg_toolbars_model_get_item_data),
4071 (egg_toolbars_model_get_item_type):
4072 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
4073 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4075 * data/evince-toolbar.xml:
4076 * data/evince-ui.xml:
4077 * data/hand-open.png:
4079 * shell/Makefile.am:
4080 * shell/ev-window.c: (update_chrome_visibility),
4081 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
4082 (ev_window_dispose), (ev_window_init):
4084 Implement epiphany like toolbar editor. Based on patch by
4085 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4087 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4089 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
4091 Use set_cursor instead of set_selection, so that
4092 the keyboard focus moves too.
4094 2005-05-09 Aleksey Kliger <akliger@gmail.com>
4096 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
4098 Fix infinite loop when loading Type1 fonts
4100 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4102 * data/evince-ui.xml:
4103 * shell/ev-window.c:
4107 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
4111 Make --disable really disable
4113 2005-05-07 Juerg Billeter <j@bitron.ch>
4115 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
4117 Compare page labels even without has_labels set, fixes setting page
4120 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4122 * shell/ev-view.c: (ev_view_create_invisible_cursor),
4123 (ev_view_set_cursor), (ev_view_button_press_event),
4124 (ev_view_motion_notify_event), (ev_view_button_release_event),
4127 Implement middle button scrolling. Based on a patch
4128 by Tommi Komulainen <tommi.komulainen@iki.fi>.
4130 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
4132 * shell/ev-document-types.c: (get_slow_mime_type),
4133 (get_document_type_from_mime), (ev_document_type_lookup):
4134 * shell/ev-document-types.h:
4136 Change api to lookup from uri. Do fast lookup first, if the
4137 type is unknown try with data sniffing.
4139 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
4140 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4144 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4146 * thumbnailer/Makefile.am:
4150 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4157 * data/evince-ui.xml:
4159 Hide presentation mode for now
4161 * shell/ev-view.c: (highlight_find_results):
4163 Show current find selection only on current page
4165 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4167 * shell/ev-view.c: (ev_view_select_all):
4169 Compute size of the actual page, not of
4172 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4174 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
4175 (view_rect_to_doc_rect), (compute_selections),
4176 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
4177 (ev_view_copy), (ev_view_primary_get_cb),
4178 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
4179 (ev_view_button_press_event), (ev_view_motion_notify_event),
4180 (ev_view_button_release_event), (page_changed_cb):
4184 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4186 * shell/ev-view.c: (compute_border), (get_page_extents),
4187 (doc_rect_to_view_rect), (highlight_find_results),
4188 (ev_view_bin_expose), (ev_view_select_all),
4189 (ev_view_motion_notify_event), (update_find_status_message),
4190 (jump_to_find_result), (jump_to_find_page):
4192 First go at fixing search, still buggy
4194 2005-05-04 Kristian Høgsberg <krh@redhat.com>
4196 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
4197 dropdown box and button at the top of the sidebar.
4199 2005-05-02 James Bowes <bowes@cs.dal.ca>
4201 * configure.ac: Output zoom-control Makefile.
4202 * cut-n-paste/Makefile.am: build zoom-control subdir.
4203 * cut-n-paste/zoom-control/ephy-zoom-action.c:
4204 * cut-n-paste/zoom-control/ephy-zoom-action.h:
4205 * cut-n-paste/zoom-control/ephy-zoom-control.c:
4206 * cut-n-paste/zoom-control/ephy-zoom-control.h:
4207 * cut-n-paste/zoom-control/ephy-zoom.c:
4208 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
4209 from epiphany, and modified to add a separator into the menu.
4210 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
4211 * data/evince-ui.xml: Replace old zoom toolbar actions with new
4212 zoom-control action.
4213 * shell/Makefile.am: Include zoom-control flags.
4214 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
4215 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
4216 (ev_view_zoom_for_size_presentation),
4217 (ev_view_zoom_for_size_continuous_and_dual_page),
4218 (ev_view_zoom_for_size_continuous),
4219 (ev_view_zoom_for_size_dual_page),
4220 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
4221 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
4222 ev_view_get_zoom and ev_view_get_sizing_mode.
4224 * shell/ev-window.c: (update_action_sensitivity),
4225 (update_sizing_buttons), (zoom_control_changed_cb),
4226 (register_custom_actions): Initialize and use the zoom-control
4229 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
4231 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
4232 preview cache back to 1. Don't know when it got set to 0.
4234 * shell/ev-view.c: (compute_border), (ev_view_realize),
4235 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
4236 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
4237 (ev_view_get_fullscreen), (ev_view_set_presentation),
4238 (ev_view_get_presentation), (ev_view_set_sizing_mode),
4239 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
4241 * shell/ev-window.c:
4242 (update_chrome_visibility),
4243 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4244 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4245 (update_document_mode), (ev_window_update_fullscreen_action),
4246 (ev_window_fullscreen), (ev_window_unfullscreen),
4247 (ev_window_cmd_view_fullscreen),
4248 (ev_window_update_presentation_action),
4249 (ev_window_run_presentation), (ev_window_stop_presentation),
4250 (ev_window_cmd_view_presentation), (ev_window_state_event),
4251 (ev_window_focus_in_event), (ev_window_focus_out_event),
4252 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
4253 * data/evince-ui.xml: Initial presentation mode. We should
4254 probably hide this until it's done, as it's quite rough. Also,
4255 change full-screen to fullscreen and add two getters to EvView.
4257 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4259 * shell/ev-page-action.c: (update_page_cache),
4260 (ev_page_action_dispose):
4261 * shell/ev-window.c: (destroy_fullscreen_popup),
4262 (ev_window_create_fullscreen_popup):
4264 Use connect_object rather than explicitly
4265 disconnect on dispose.
4267 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4269 * shell/ev-page-action.c: (update_page_cache),
4270 (ev_page_action_dispose):
4272 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4274 * backend/ev-page-cache.c: (_ev_page_cache_new),
4275 (ev_page_cache_set_page_label),
4276 (ev_page_cache_has_nonnumeric_page_labels):
4277 * backend/ev-page-cache.h:
4278 * shell/ev-page-action.c: (update_pages_label):
4280 If all page labels are numeric, fallback to default
4281 way to display number of pages. See bug 173185.
4283 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4285 * shell/ev-page-action.c: (ev_page_action_dispose):
4286 * shell/ev-view.c: (view_update_range_and_current_page):
4287 * shell/ev-window.c: (ev_window_dispose):
4289 Set page on scroll in continuous mode. Fixes bug 301986.
4290 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
4292 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
4296 Require poppler 0.3.0
4298 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4300 * shell/Makefile.am, configure.ac: Fix build problems
4301 with t1lib. Bug 301996.
4303 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4305 * shell/ev-view.c: (ev_view_scroll_event):
4307 Scroll up increase zoom
4309 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4311 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
4312 (ev_view_set_sizing_mode),
4313 (ev_view_zoom_for_size_continuous_and_dual_page),
4314 (ev_view_zoom_for_size_continuous):
4315 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4316 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
4317 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
4320 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
4321 Fix for 165473 and 165472.
4323 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4326 * thumbnailer/Makefile.am:
4327 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
4328 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
4329 * thumbnailer/evince-thumbnailer.schemas.in:
4331 Make thumbnailer schemas translatable. Fix for bug 301773
4333 * thumbnailer/evince-thumbnailer-djvu.schemas:
4334 * thumbnailer/evince-thumbnailer-dvi.schemas:
4335 * thumbnailer/evince-thumbnailer.schemas:
4339 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
4341 * shell/ev-view.c (ev_view_init): forgot to set this.
4343 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
4345 * shell/ev-view.c: (find_page_at_location),
4346 (get_link_at_location),
4347 (ev_view_set_show_border), (ev_view_set_spacing),
4348 (ev_view_zoom_for_size_continuous_and_dual_page),
4349 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
4350 Also, add a quick fix measuring of widths. Also, removed
4351 ev_view_set_spacing and ev_view_set_show_border.
4353 * shell/ev-window.c: (ev_window_unfullscreen),
4354 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
4356 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4358 * shell/ev-view.c: (view_update_range_and_current_page),
4361 Fix crash on exit and scrolling to page in continuous view.
4363 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
4366 * backend/ev-page-cache.c: (_ev_page_cache_new),
4367 (ev_page_cache_get_max_width_size),
4368 (ev_page_cache_get_max_height_size):
4369 * backend/ev-page-cache.h:
4370 * data/evince-ui.xml:
4371 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
4372 * shell/ev-view.c: (view_update_adjustments),
4373 (view_update_range_and_current_page), (get_bounding_box_size),
4374 (ev_view_size_request_continuous_and_dual_page),
4375 (ev_view_size_request_continuous),
4376 (ev_view_size_request_dual_page),
4377 (ev_view_size_request_single_page), (ev_view_size_request),
4378 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
4379 (ev_view_bin_expose), (ev_view_expose_event),
4380 (ev_view_set_property), (ev_view_get_property),
4381 (ev_view_class_init), (ev_view_init), (ev_view_new),
4382 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
4383 (ev_view_set_dual_page), (ev_view_set_full_screen),
4384 (ev_view_set_presentation), (ev_view_set_sizing_mode),
4385 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
4386 (ev_view_zoom_out), (zoom_for_size_fit_width),
4387 (zoom_for_size_best_fit),
4388 (ev_view_zoom_for_size_continuous_and_dual_page),
4389 (ev_view_zoom_for_size_continuous),
4390 (ev_view_zoom_for_size_dual_page),
4391 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4392 (ev_view_show_cursor), (ev_sizing_mode_get_type):
4394 * shell/ev-window.c: (update_action_sensitivity),
4395 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4396 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4397 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
4398 (ev_window_cmd_view_zoom_out), (update_view_size),
4399 (ev_window_set_sizing_mode), (ev_window_init):
4401 Add Continuous and Dual page modes.
4403 2005-04-23 James Bowes <bowes@cs.dal.ca>
4405 * dvi/dvi-document.c: (dvi_document_load),
4406 (dvi_document_thumbnails_get_thumbnail),
4407 (dvi_document_init_params): Fix up some mixups between
4408 width and height to correct thumbnail rendering.
4410 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4412 * dvi/mdvi-lib/private.h:
4413 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
4415 Suppess output for kpathsea during font generation. Thanks to
4418 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
4425 * Makefile.am: fix distcheck.
4427 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4429 * shell/ev-sidebar-links.c: (selection_changed_callback),
4430 (update_page_callback), (row_activated_callback),
4431 (job_finished_callback), (ev_sidebar_links_set_document):
4433 Fix for bug #169901. Double click on links expands tree.
4435 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
4437 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
4438 hard-coded style. Fix for bug 170111
4440 2005-04-22 Kristian Høgsberg <krh@redhat.com>
4442 * shell/ev-view.c (highlight_find_results): Remove unnecessary
4445 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4447 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
4449 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4451 * pdf/ev-poppler.cc:
4452 * shell/ev-view.c: (highlight_find_results):
4454 Fix find on single page documents
4456 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4458 * data/evince.schemas.in: fix for bug 301390
4460 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4462 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
4463 (ev_view_zoom_out), (ev_view_zoom_normal):
4465 * shell/ev-window.c: (update_action_sensitivity),
4466 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4467 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
4468 (ev_window_cmd_view_normal_size):
4470 Fix normal size zoom. Make zoom in/zoom out unsensitive when
4471 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
4474 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4478 Depend on 2.57, 2.59 doesnt seem to be necessary
4480 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4482 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4485 Put back total number of pages as (1 of 1234)
4487 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
4489 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4492 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4493 function. This helps debugging.
4495 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4497 * djvu/djvu-document.c: (djvu_document_class_init),
4498 (djvu_document_get_info), (djvu_document_document_iface_init):
4499 * dvi/dvi-document.c: (dvi_document_class_init),
4500 (dvi_document_get_info), (dvi_document_document_iface_init):
4502 Dummy implementation of get_info method for dvi and djvu. Fix
4503 crashes with those backends
4505 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
4507 * data/evince.desktop.in:
4509 Add application/x-gzpostscript
4511 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
4513 * data/evince.schemas.in: Added real long descriptions,
4516 * README: Added actual text, closes bug 171869
4518 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4520 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4524 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4526 * backend/ev-document-info.h:
4528 s/GDate */GDate so we can just use g_free
4530 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4532 * shell/ev-window.c: (update_document_mode),
4533 (ev_window_setup_document):
4535 Show the window in fullscreen when specified by
4538 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4540 * backend/ev-document.c: (ev_document_class_init),
4541 (ev_document_get_info), (ev_document_render_pixbuf):
4542 * backend/ev-document.h:
4543 * backend/ev-page-cache.c: (_ev_page_cache_new):
4544 * pdf/ev-poppler.cc:
4545 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4546 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4547 * ps/ps-document.c: (ps_document_class_init), (document_load),
4548 (ps_document_get_info), (ps_document_document_iface_init):
4550 Remove get_title from the interface, we can just use document info
4552 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4554 * backend/Makefile.am:
4555 * backend/ev-document.c: (ev_document_render_get_info):
4556 * backend/ev-document.h:
4557 * pdf/ev-poppler.cc:
4559 Initial support for document info. Based on jrb patch.
4561 2005-04-19 Paolo Borelli <pborelli@katamail.com>
4563 * shell/ev-window.c: (ev_window_state_event),
4564 (ev_window_class_init), (ev_window_init):
4566 Doesn't show resize grip when maximized. See bug #301053
4568 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4572 ev-sidebar-thumbnails now has translatable labels
4574 * shell/Makefile.am:
4575 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
4576 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
4577 (ev_sidebar_links_page_iface_init):
4578 * shell/ev-sidebar-links.h:
4579 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
4580 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
4581 (ev_sidebar_page_get_label):
4582 * shell/ev-sidebar-page.h:
4583 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
4584 (ev_sidebar_thumbnails_set_document),
4585 (ev_sidebar_thumbnails_support_document),
4586 (ev_sidebar_thumbnails_get_label),
4587 (ev_sidebar_thumbnails_page_iface_init):
4588 * shell/ev-sidebar-thumbnails.h:
4589 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4590 (ev_sidebar_set_document):
4591 * shell/ev-sidebar.h:
4592 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
4594 Small rework of sidebar code. Now sidebar pages should implement
4595 EvSidebarPage interface. That makes page management in EvSidebar
4596 easier. See bug #164811 for details
4598 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4600 * shell/ev-application.c: (ev_application_open):
4601 * shell/ev-document-types.c:
4603 Fix build error and small problem with application exit
4605 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4607 * thumbnailer/Makefile.am:
4608 * thumbnailer/evince-thumbnailer-djvu.schemas:
4609 * thumbnailer/evince-thumbnailer-dvi.schemas:
4611 Conditionally install schemas for djvu/dvi thumbnailer
4613 2005-04-18 David Malcolm <dmalcolm@redhat.com>
4615 * shell/ev-document-types.h:
4616 * shell/ev-document-types.c:
4617 New files, handling the mapping from mimetypes to backends
4619 * shell/ev-window.c:
4620 * thumbnailer/evince-thumbnailer.c:
4621 Use the ev-document-types code
4623 * shell/Makefile.am:
4624 Added new convenience library libevbackendfactory_la, containing
4625 the new mimetype->backend logic; moved the backends into it.
4627 * thumbnailer/Makefile.am:
4628 Make the thumbnailer link with the libevbackend.la convenience
4629 library, rather than having a duplicate of the backend logic here.
4631 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4633 * shell/ev-stock-icons.c: constify some vars.
4634 * shell/ev-window.c: ditto.
4636 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4638 * ps/ps-document.c (get_page_orientation):
4640 Respect document orientation
4642 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4646 * shell/Makefile.am:
4648 Move library dependencies to components.
4650 * shell/ev-window.c: (update_window_title),
4651 (start_loading_document):
4653 Fix display of uris with spaces. Bug 168358.
4655 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4657 * shell/ev-sidebar-links.c: (selection_changed_cb):
4658 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4659 (ev_view_button_release_event), (ev_view_set_document):
4661 * shell/ev-window.c: (find_bar_search_changed_cb):
4662 * shell/ev-window.h: Minor cleanups removing some dead code.
4664 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4666 * backend/ev-page-cache.c: (_ev_page_cache_new):
4668 Set current page to 0 if document has pages.
4670 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4672 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4674 Initialize GError to NULL, fix a crash when loading fails.
4676 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4678 * shell/ev-window.c: (update_view_size):
4680 Calculate shadow size only when there is actually
4683 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4685 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4688 Allow setting view spacing, default to 0
4690 * shell/ev-window.c: (ev_window_unfullscreen),
4691 (ev_window_cmd_view_fullscreen), (ev_window_init):
4693 Remove spacing in fullscreen mode
4695 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4697 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4698 (ev_view_size_request), (expose_bin_window),
4699 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4701 * shell/ev-window.c: (ev_window_unfullscreen),
4702 (ev_window_cmd_view_fullscreen):
4704 Do not draw the border in fulscreen
4706 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4708 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4709 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4710 (find_page_at_location), (page_changed_cb):
4712 Rework border calculation, so that I can more easily disable it.
4713 Code somewhat cleaner too.
4715 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4717 * backend/ev-page-cache.c: (ev_page_cache_init),
4718 (_ev_page_cache_new):
4720 Remove some assertions, documents can have 0 pages.
4721 Make initial current page -1.
4723 * shell/ev-page-action.c: (page_changed_cb):
4725 Show "" if current page is -1
4727 * shell/ev-window.c: (update_action_sensitivity),
4728 (ev_window_setup_document):
4730 When document has 0 pages do not set the view
4731 and make nearly everything insensitive.
4733 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4735 * shell/ev-page-view.c:
4736 * shell/ev-page-view.h:
4738 Remove unused files.
4740 * shell/ev-sidebar-thumbnails.c:
4741 (ev_sidebar_thumbnails_set_document):
4742 * shell/ev-sidebar.c: (ev_sidebar_set_document),
4743 (ev_sidebar_supports_document):
4744 * shell/ev-sidebar.h:
4745 * shell/ev-window.c: (ev_window_setup_document):
4747 Doesn't show thumbnails if document has 1 page. Make
4748 sidebar menu entries sensitive only if if they have
4749 sense. Fix bug 164811.
4751 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4753 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
4754 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
4755 (ev_view_zoom_out), (ev_view_set_size):
4757 Rework sizing to deal with documents with not uniform page
4760 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4762 * backend/ev-page-cache.c: (_ev_page_cache_new):
4764 Fix several page size caching bugs
4766 2005-04-15 Luca Ferretti <elle.uca@libero.it>
4768 * shell/ev-window.c: (set_action_properties):
4770 Make all toolbar items translatable
4772 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
4774 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
4775 (save_page_list), (ps_document_save),
4776 (ps_document_document_iface_init), (ps_document_ps_export_begin),
4777 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
4778 (ps_document_ps_exporter_iface_init):
4781 Based on a patch by J�rg Billeter <j@bitron.ch>
4783 Implement print and save a copy for the ps backend.
4785 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
4787 * backend/ev-document.h:
4788 * djvu/djvu-document.c: (djvu_document_can_get_text),
4789 (djvu_document_document_iface_init):
4790 * dvi/dvi-document.c: (dvi_document_can_get_text),
4791 (dvi_document_document_iface_init):
4792 * pdf/ev-poppler.cc:
4793 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
4794 (pixbuf_document_document_iface_init):
4795 * ps/ps-document.c: (ps_document_can_get_text),
4796 (ps_document_document_iface_init):
4797 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
4798 * shell/ev-window.c: (update_action_sensitivity):
4800 Fix the crash when trying to copy in backends that doesnt
4801 support it. We can implement a better solution once we
4802 do real text selection.
4804 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
4806 * data/evince-ui.xml:
4807 * shell/ev-window.c: (ev_window_cmd_escape):
4809 Work around the Escape conflict (find bar and unfullscreen)
4811 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
4813 * backend/ev-page-cache.c: (ev_page_cache_next_page):
4815 Fix for #300233. Next page correctly handles document end.
4817 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4818 (ev_sidebar_thumbnails_class_init),
4819 (ev_sidebar_thumbnails_set_document),
4820 (ev_sidebar_thumbnails_clear_job),
4821 (ev_sidebar_thumbnails_clear_model):
4823 Cleanup thumbnail jobs on document changes.
4825 * shell/ev-view.c: (add_scroll_binding_keypad),
4826 (add_scroll_binding_shifted), (ev_view_class_init):
4828 Shift + Space scrolls up. Fix for #173184
4830 * shell/ev-window.c: (ev_window_open_page),
4831 (ev_window_cmd_view_reload):
4833 Fix reload (Bug #300094)
4835 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4838 * dvi/mdvi-lib/assoc.c:
4839 * dvi/mdvi-lib/assoc.h: Removed garbage files
4841 * dvi/mdvi-lib/bitmap.c:
4842 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
4843 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
4844 * dvi/mdvi-lib/color.h: Antialias of rules
4846 * dvi/mdvi-lib/common.h:
4847 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
4848 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
4849 * dvi/mdvi-lib/files.c:
4850 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
4851 * dvi/mdvi-lib/mdvi.h:
4852 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
4853 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
4854 * dvi/mdvi-lib/util.c: Fix compile warnings
4856 * dvi/dvi-document.c:
4857 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
4858 (dvi_document_thumbnails_get_thumbnail),
4859 (dvi_document_document_thumbnails_iface_init):
4860 * dvi/mdvi-lib/Makefile.am:
4861 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
4862 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
4864 Dvi backend now renders thumbnails
4866 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
4868 * shell/main.c: (main):
4870 Save accelerators on exit. Fixes bug #172095.
4872 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
4874 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
4875 update priority" comment.
4877 * backend/ev-job-queue.c: Give a way to change priority.
4879 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
4881 * shell/ev-page-action.c: Fix logic.
4883 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4885 * shell/ev-view.c: (ev_view_can_find_next):
4886 * shell/ev-window.c: (ev_window_setup_document):
4888 Check that the document supports find
4890 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4892 * data/evince-ui.xml:
4893 * shell/ev-view.c: (ev_view_can_find_next):
4895 * shell/ev-window.c: (update_action_sensitivity),
4896 (find_changed_cb), (ev_window_setup_document),
4897 (ev_window_cmd_edit_find_next):
4901 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
4903 * pdf/ev-poppler.cc:
4904 * shell/ev-print-job.c: (idle_print_handler):
4906 Make printing work again
4908 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
4910 * shell/ev-page-action.h:
4911 * shell/ev-page-action.c: (ev_page_action_widget_init),
4912 (ev_page_action_widget_class_init), (page_changed_cb),
4913 (create_tool_item), (update_page_cache), (build_new_tree_cb),
4914 (get_filter_model_from_model), (match_selected_cb),
4915 (display_completion_text), (match_completion), (update_model),
4916 (connect_proxy), (ev_page_action_set_property),
4917 (ev_page_action_get_property), (ev_page_action_set_document),
4918 (ev_page_action_set_model), (ev_page_action_class_init): Big
4919 reworking to make completions work iff we have >= GTK-2.7.0
4921 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
4922 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
4923 (job_finished_cb): We now have a 'model' property that is set when
4924 the links are loaded. This can be caught with "notify::model"
4926 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
4927 listen for the model to be set, and propagate it to the action.
4929 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4931 * cut-n-paste/recent-files/egg-recent-item.c:
4932 (egg_recent_item_set_uri), (make_valid_utf8),
4933 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
4934 * cut-n-paste/recent-files/egg-recent-item.h:
4936 Update egg-recent from libegg. This should fix long
4937 startup problem. For details see
4938 http://bugzilla.gnome.org/show_bug.cgi?id=160531
4940 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4942 * cut-n-paste/recent-files/Makefile.am:
4943 * data/evince-ui.xml, shell/Makefile.am:
4944 * shell/ev-application.c, shell/ev-application.h:
4945 * shell/ev-window.c: Recent files support.
4947 * configure.ac: Added "ru" to ALL_LINGUAS.
4949 * dvju: new backend to support DJVU files.
4950 * dvi: new backend to support DVI.
4952 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
4953 * ev-application.c: Support for new backends.
4955 * help, ev-window.c, main.c shell/Makefile.am:
4956 Evince user documentation.
4958 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4961 * shell/ev-window.c:
4962 * thumbnailer/evince-thumbnailer.c:
4964 s/pdf-document/ev-poppler
4966 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
4973 * ps/ps-document.c: (setup_pixmap):
4977 2005-04-05 Kristian Høgsberg <krh@redhat.com>
4979 * backend/ev-page-cache.c (ev_page_cache_next_page):
4980 * shell/ev-window.c (ev_window_cmd_go_next_page)
4981 (ev_window_cmd_go_first_page): Fix of by one errors.
4983 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4985 * ps/ps-document.c: (get_page_box):
4987 Fix page size calculation
4989 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
4991 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
4992 (ps_document_cleanup), (setup_pixmap), (get_page_box),
4993 (get_page_orientation), (setup_page), (document_load),
4994 (ps_document_get_page_size), (render_pixbuf_idle):
4997 More refactoring to adapt to EvDocument changes
4999 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5001 * ps/ps-document.c: (start_interpreter):
5003 Actually add alpha args
5005 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5007 * pdf/ev-poppler.cc:
5009 Make clipboard work again
5011 2005-04-04 Kristian Høgsberg <krh@redhat.com>
5013 Make searching work again.
5015 * backend/ev-document.c:
5016 * backend/ev-document.h:
5017 * backend/ev-document-find.c:
5018 * backend/ev-document-find.h: Change EvDocumentIface so we no
5019 longer store the current page or zoom level in the document. The
5020 consequence is that all calls that operate on the current page now
5021 instead take the page number as an extra argument, and all
5022 coordinates are now doubles in document coordinate system.
5024 * pdf/ev-poppler.cc:
5025 * pixbuf/pixbuf-document.c:
5026 * ps/ps-document.c: Update backends accordingly.
5028 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
5032 Add required gettext version
5034 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
5036 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
5037 make F1 bring up non-existent help.
5039 * shell/eggfindbar.c: Patch from Christian Persch to sync to
5040 epiphany's find bar, #167477
5042 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
5043 <emil@nishra.com> to add space-bar scrolling,
5045 * shell/ev-window.c (static GtkActionEntry entries): add default
5046 keybinding for Help (F1)
5049 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
5050 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
5053 2005-04-01 David Malcolm <dmalcolm@redhat.com>
5056 * pixbuf/pixbuf-document.c:
5058 Got pixbuf backend working again
5060 2005-04-01 Steve Murphy <murf@e-tools.com>
5062 * configure.in: Added "rw" to ALL_LINGUAS.
5064 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
5066 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
5067 model types, noticed by Martin Kretzschmar.
5069 2005-04-01 Kristian Høgsberg <krh@redhat.com>
5071 * pdf/ev-poppler.cc: Implement search based on
5072 poppler_page_find_text(). Currently a bit crude since we remember
5073 all matches from all pages. Also, we grab the big document lock
5074 when we search since searching changes the underlying stream and
5075 thus conflicts with the rendering thread.
5077 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5078 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
5079 (ev_view_find_previous): Fix some page indexes to be 0 based,
5080 offset rubber band by view offset,
5082 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
5084 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
5086 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
5088 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
5089 completely because I didn't understand GtkActions. I should
5090 read Marco's code more carefully in the future.
5092 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
5095 2005-03-31 Kristian Høgsberg <krh@redhat.com>
5097 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
5098 PopplerRectangle change from poppler CVS.
5100 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
5102 * backend/ev-document.c: (ev_document_get_page_label):
5103 * backend/ev-document.h:
5104 * backend/ev-page-cache.c: (_ev_page_cache_new),
5105 (ev_page_cache_get_page_label):
5106 * backend/ev-page-cache.h:
5107 * pdf/ev-poppler.cc:
5108 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
5109 (links_page_num_func):
5110 * shell/ev-sidebar-thumbnails.c:
5111 (ev_sidebar_thumbnails_set_document):
5112 * shell/ev-view.c: (status_message_from_link),
5113 (ev_view_motion_notify_event):
5114 * shell/ev-window.c: (document_supports_sidebar): Add in page
5115 label support. It's not perfect yet, but it's the first 'feature'
5117 Also, fix a bogus comment noticed by crispin.
5119 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
5121 * Makefile.am: Remove pixbuf backend for now
5123 * configure.ac: Require poppler-glib instead of just poppler.
5125 * backend/ev-document-thumbnails.h: Add a comment
5127 * backend/ev-document.h:
5128 * backend/ev-document.c: (ev_document_class_init),
5129 (ev_document_load), (ev_document_get_link),
5130 (ev_document_get_links): Remove 3 methods and add get_links.
5133 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
5134 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
5136 * backend/ev-link.c: (ev_link_set_title),
5137 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
5138 (ev_link_mapping_find):
5139 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
5141 * backend/ev-page-cache.c: (ev_page_cache_init),
5142 (_ev_page_cache_new), (ev_page_cache_set_current_page),
5143 (ev_page_cache_get_size), (ev_page_cache_next_page),
5144 (ev_page_cache_prev_page): Fix to be 0 based.
5148 * pdf/ev-poppler.cc: New backend.
5150 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
5151 (ps_document_get_page), (ps_document_document_iface_init):
5153 * shell/ev-pixbuf-cache.h:
5154 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5155 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
5156 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
5157 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
5158 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
5159 Fix up code to grab a page cache per each doc. Also, fix to be 0
5162 * shell/ev-sidebar-thumbnails.c:
5163 (ev_sidebar_tree_selection_changed), (page_changed_cb),
5164 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
5166 * shell/ev-view.c: (status_message_from_link),
5167 (find_page_at_location), (get_link_at_location),
5168 (ev_view_motion_notify_event), (ev_view_button_release_event),
5169 (ev_view_init): Use the new link code. Fix to be 0 based.
5171 * shell/ev-window.c: (update_action_sensitivity),
5172 (document_supports_sidebar): 0 based.
5174 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
5176 * pdf/pdf-document.cc: Patch from Fernando Herrera
5177 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
5180 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
5182 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
5183 1 to the page, as this seems to be 1 based. I thought we has this
5186 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
5189 * backend/Makefile.am:
5190 * backend/ev-document-links.c:
5191 (ev_document_links_has_document_links),
5192 (ev_document_links_get_links_model):
5193 * backend/ev-document-links.h:
5194 * backend/ev-document.c: (ev_document_get_page_cache),
5195 (ev_document_get_doc_mutex), (ev_document_load),
5196 (ev_document_save), (ev_document_get_title),
5197 (ev_document_get_n_pages), (ev_document_set_page),
5198 (ev_document_get_page), (ev_document_set_target),
5199 (ev_document_set_scale), (ev_document_set_page_offset),
5200 (ev_document_get_page_size), (ev_document_get_text),
5201 (ev_document_get_link), (ev_document_render),
5202 (ev_document_render_pixbuf), (ev_document_scale_changed):
5203 * backend/ev-document.h:
5204 * backend/ev-job-queue.c: (remove_object_from_queue),
5205 (notify_finished), (handle_job), (search_for_jobs_unlocked),
5206 (no_jobs_available_unlocked), (ev_render_thread),
5207 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
5208 (ev_job_queue_remove_job):
5209 * backend/ev-job-queue.h:
5210 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
5211 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
5212 (ev_job_links_class_init), (ev_job_render_init),
5213 (ev_job_render_dispose), (ev_job_render_class_init),
5214 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
5215 (ev_job_thumbnail_class_init), (ev_job_finished),
5216 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
5217 (ev_job_render_run), (ev_job_thumbnail_new),
5218 (ev_job_thumbnail_run):
5219 * backend/ev-jobs.h:
5220 * backend/ev-link.c:
5221 * backend/ev-link.h:
5222 * backend/ev-page-cache.c: (ev_page_cache_init),
5223 (ev_page_cache_class_init), (ev_page_cache_finalize),
5224 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
5225 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
5226 (ev_page_cache_set_link), (ev_page_cache_get_title),
5227 (ev_page_cache_get_size), (ev_page_cache_next_page),
5228 (ev_page_cache_prev_page):
5229 * backend/ev-page-cache.h:
5230 * pdf/pdf-document.cc:
5233 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5234 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
5235 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
5236 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
5237 (is_interpreter_ready), (output), (catchPipe), (input),
5238 (start_interpreter), (check_filecompressed), (compute_dimensions),
5239 (ps_document_enable_interpreter), (document_load),
5240 (ps_document_next_page), (render_page), (ps_document_set_page),
5241 (ps_document_set_scale), (render_pixbuf_idle),
5242 (ps_document_render_pixbuf), (ps_document_document_iface_init):
5244 * shell/Makefile.am:
5245 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5246 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
5247 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
5248 (ev_pixbuf_cache_new), (job_finished_cb),
5249 (check_job_size_and_unref), (move_one_job),
5250 (ev_pixbuf_cache_update_range), (find_job_cache),
5251 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
5252 (ev_pixbuf_cache_add_jobs_if_needed),
5253 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
5254 * shell/ev-pixbuf-cache.h:
5255 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
5256 (idle_print_handler):
5257 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5258 (selection_changed_cb), (create_loading_model),
5259 (ev_sidebar_links_construct), (links_page_num_func),
5260 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
5261 (update_page_callback), (job_finished_cb),
5262 (ev_sidebar_links_set_document):
5263 * shell/ev-sidebar-thumbnails.c:
5264 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
5265 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
5266 (page_changed_cb), (thumbnail_job_completed_callback),
5267 (ev_sidebar_thumbnails_set_document):
5268 * shell/ev-sidebar-thumbnails.h:
5269 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5270 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
5271 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
5272 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
5273 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
5274 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
5275 (ev_view_button_release_event), (ev_view_scroll_view),
5276 (ev_view_class_init), (ev_view_init), (update_find_status_message),
5277 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
5278 (ev_view_new), (job_finished_cb), (page_changed_cb),
5279 (ev_view_set_document), (go_to_link), (ev_view_zoom),
5280 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
5281 (ev_view_find_previous):
5283 * shell/ev-window.c: (update_action_sensitivity),
5284 (ev_window_open_page), (update_window_title), (update_total_pages),
5285 (page_changed_cb), (ev_window_setup_document),
5286 (password_dialog_response), (ev_window_cmd_save_as),
5287 (ev_window_print), (ev_window_cmd_go_previous_page),
5288 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
5289 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
5290 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
5291 * shell/main.c: (main):
5293 Merge evince-threads branch
5295 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
5297 * configure.ac: Added "lt" to ALL_LINGUAS.
5299 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
5306 2005-03-13 Fernando Herrera <fherrera@onirica.com>
5308 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5310 Fix here also the thumbnails 1-basedness :)
5312 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5319 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5321 * pdf/pdf-document.cc:
5322 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
5323 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
5325 Fix the mess we did with thumbnails and 1-basedness
5327 2005-03-12 Changwoo Ryu <cwryu@debian.org>
5329 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
5331 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
5338 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
5341 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
5342 (gtk_gs_defaults_get_alpha_parameters),
5343 (gtk_gs_defaults_get_ungzip_cmd),
5344 (gtk_gs_defaults_get_unbzip2_cmd):
5346 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5347 (ps_document_get_orientation), (document_load),
5348 (ps_document_goto_page), (ps_document_set_page_size):
5351 Some more sanitization of the ps backend. Remove a lot
5352 of unused code and do not base our defaults on ggv
5355 2005-03-08 Fernando Herrera <fherrera@onirica.com>
5357 * thumbnailer/evince-thumbnailer.schemas:
5358 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5359 (main): add -s option for thumbnail size.
5361 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
5365 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
5368 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5370 * pdf/pdf-document.cc:
5372 Remove 4 pixels of useless border from the
5375 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5377 * backend/ev-document-thumbnails.c:
5378 (ev_document_thumbnails_get_thumbnail):
5379 * backend/ev-document-thumbnails.h:
5381 Rework API a bit. Add a border flag and
5382 change sizing logic (now the size we specify
5383 applies to the bigger dimension).
5385 * pdf/pdf-document.cc:
5386 * pixbuf/pixbuf-document.c:
5387 (pixbuf_document_thumbnails_get_thumbnail):
5388 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
5389 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5391 Adapt to the new API and do not draw a border for nautilus
5394 2005-03-03 Fernando Herrera <fherrera@onirica.com>
5396 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5397 take thumbnails from page "0" instead of "1". Added a copyright header.
5399 2005-03-03 Jens Granseuer <jensgr@gmx.net>
5401 * ps/ps-document.c: (set_up_page), (start_interpreter):
5403 Make it C89 compliant
5405 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
5410 * pdf/pdf-document.cc:
5411 * thumbnailer/Makefile.am:
5412 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5414 * thumbnailer/evince-thumbnailer.schemas:
5415 * thumbnailer/pdf-icon.png:
5417 Add a nautilus thumbnailer.
5418 Based on patch by Fernando Herrera <fherrera@onirica.com>.
5420 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
5428 2005-03-01 Kristian Høgsberg <krh@redhat.com>
5430 Use poppler instead of including xpdf source code. Poppler is a
5431 fork of xpdf to build it as a shared library. See
5432 http://freedesktop.org/wiki/Software/poppler.
5434 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
5437 * pdf/Makefile.am: Build libpdfdocument.a here.
5439 * pdf/GDKSplashOutputDev.cc:
5440 * pdf/GDKSplashOutputDev.h:
5441 * pdf/GnomeVFSStream.cc:
5442 * pdf/GnomeVFSStream.h:
5445 * test-gdk-output-dev.cc
5447 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
5450 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5452 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
5454 Clear idle stack before unsetting the document
5456 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5458 * ps/ps-document.c: (ps_document_widget_event),
5459 (ps_document_set_target), (ps_document_finalize),
5460 (ps_document_get_page):
5462 Disconnect the widget event signal on finalize.
5465 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5467 * ps/ps-document.c: (set_up_page):
5469 If there is no bpixmap create one, even if size
5472 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5474 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5475 (set_up_page), (document_load), (ps_document_set_zoom):
5477 Default page is 0. Calculate size even when we have no
5480 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
5482 * shell/ev-sidebar.c: expand the selection widget to be always as
5485 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5487 * shell/ev-sidebar-thumbnails.c:
5488 (ev_sidebar_thumbnails_set_document):
5490 Clear the list store when setting document
5492 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5494 * shell/ev-page-action.c: (update_entry), (sync_entry),
5495 (activate_cb), (entry_size_request_cb), (create_tool_item),
5498 Use an entry for the page control instead of spinbuttons
5500 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5502 * data/evince.schemas.in:
5504 Correct confusing string
5506 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
5508 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5509 for real. Gosh, how long has this been broken.
5511 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5512 check for a NULL link. We crash otherwise.
5514 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
5521 2005-02-25 Sebastien Bacher <seb128@debian.org>
5523 * configure.ac: add the french translation.
5525 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5527 * shell/ev-window.c:
5529 Remove unused header -> fix distcheck
5531 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5533 * shell/ev-window.c: (update_window_title),
5534 (ev_window_popup_password_dialog):
5536 Unescape filename for display
5538 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5540 * pdf/xpdf/pdf-document.cc:
5542 In get_page_size deal with rotation. Also
5543 cleanup the function a bit.
5545 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5547 * pdf/xpdf/pdf-document.cc:
5549 Fix crash when opening in new window
5551 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5555 Check ghostscript >= 7
5557 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
5559 * shell/ev-window.c:
5561 Make page width the default sizing mode
5563 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
5564 Marco Pesenti Gritti <marco@gnome.org>
5566 * shell/ev-window.c: Remember the sidebar size
5568 * data/evince.schemas.in: Add a new gconf key to store the size of
5571 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
5573 * data/evince-ui.xml:
5574 * shell/ev-window.c: (update_action_sensitivity),
5575 (ev_window_cmd_view_reload):
5577 Add a "Reload" action and menu entry
5579 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
5581 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
5582 iff the type doesn't support thumbnailing and indexing.
5584 2005-02-24 Martin Kretzschmar <martink@gnome.org>
5586 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
5588 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5590 * pdf/splash/Splash.cc:
5592 Port fix for a crasher from kde bug
5593 http://bugs.kde.org/show_bug.cgi?id=97131
5595 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5597 * pdf/xpdf/pdf-document.cc:
5599 Return a link even if it's of an unrecognized
5600 type. Otherwise we go in an infinte cycle.
5602 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5604 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
5605 (size_allocate_cb), (ev_window_set_sizing_mode):
5607 Update size when switching mode
5609 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5611 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5612 (ev_window_cmd_view_page_width), (update_sizing_buttons),
5613 (ev_window_cmd_view_normal_size):
5615 Fix size toggle buttons behavior
5617 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5619 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5620 (doc_rect_to_view_rect), (ev_view_size_allocate),
5621 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5622 (scale_changed_callback):
5624 Do not cache offsets in size_allocate.
5626 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5628 * shell/ev-view.c: (ev_view_size_allocate):
5630 Calculate offsets before calling the parent
5631 class (which does a redraw)
5633 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5635 * pdf/xpdf/pdf-document.cc:
5637 Fix a crasher on exit. Unused code, put a TODO
5639 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5641 * backend/ev-document.c: (ev_document_class_init),
5642 (ev_document_page_changed), (ev_document_scale_changed):
5643 * backend/ev-document.h:
5645 Separate page/scale notifications
5647 * pdf/xpdf/pdf-document.cc:
5649 Emit the new signals.
5650 Do not display the pdf page in _render, do it
5651 when scale/page are requested.
5653 * ps/ps-document.c: (ps_document_set_zoom),
5654 (ps_document_widget_event):
5657 Emit the new signals.
5659 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5660 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5661 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5662 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5664 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5665 (ev_window_cmd_view_page_width), (size_allocate_cb),
5666 (ev_window_set_sizing_mode):
5668 Rework sizing to be pixel based.
5669 There are bugs but should be already way better.
5671 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5673 * shell/ev-window.c: (ev_window_init):
5675 Do not allow to shrink sidebar smaller then
5678 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5680 * shell/ev-sidebar.[ch]
5681 * shell/ev-window.c:
5683 Improved sidebar widget. Fixes #166683
5685 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5687 * shell/ev-view.c (update_find_status_message): Give translators
5688 more flexibility with ngettext plural handling.
5690 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5692 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5693 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5694 page when we get the page size.
5696 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5698 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5700 ps pages are 0 based, convert
5702 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5704 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5706 Initialize correct parent class. Set GError on document load
5708 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5710 * pdf/xpdf/pdf-document.cc:
5712 Fixup selection offset calculation
5714 * shell/ev-view.c: (view_rect_to_doc_rect),
5715 (doc_rect_to_view_rect), (ev_view_size_allocate),
5716 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5717 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
5719 Store selection as document relative, so that zooming
5720 and offset changing doesnt break it.
5722 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5724 * shell/ev-view.c: (ev_view_best_fit):
5726 Do not try to best fit if the view is not realized
5728 2005-02-20 Kostas Papadimas <pkst@gnome.org>
5730 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
5732 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
5734 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
5736 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
5738 * shell/ev-window.c: Change the fullscreen toolbar to always be in
5739 the popup window. That prevents it resizing when in full screen
5742 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
5743 multiple rerenders. This pretty much sucks.
5745 * data/evince-ui.xml: Change the fullscreen toolbar to include the
5746 rest of the toolbar.
5748 2005-02-18 Tommi Vainikainen <thv@iki.fi>
5750 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
5752 2005-02-17 Alexander Shopov <ash@contact.bg>
5754 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
5756 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
5758 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
5760 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
5762 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
5763 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
5764 (set_document_page), (document_changed_callback),
5765 (ev_view_set_document), (ev_view_find_previous),
5766 (ev_view_hide_cursor), (ev_view_show_cursor):
5768 * shell/ev-window.c: (update_chrome_visibility),
5769 (fullscreen_timeout_cb), (fullscreen_set_timeout),
5770 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
5771 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
5772 (ev_window_unfullscreen):
5773 * shell/main.c: (main):
5775 Automatically hide the fullscreen button.
5776 Patch by Kristian Høgsberg <krh@redhat.com>
5778 2005-02-16 Vincent Noel <vnoel@cox.net>
5780 * shell/main.c (main): Specify an icon for the window. Patch by
5781 Jaap A. Haitsma. Fixes #166177.
5783 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
5785 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
5787 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
5789 * backend/ev-document-misc.h:
5790 * backend/ev-document-misc.c:
5791 (ev_document_misc_get_page_border_size),
5792 (ev_document_misc_paint_one_page): New function to canonicalize
5793 sizing/painting a border.
5795 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
5798 * pdf/xpdf/pdf-document.cc: use new function
5800 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5801 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
5802 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
5803 shell/ev-window.c: (update_sizing_buttons),
5804 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
5805 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
5806 (ev_window_cmd_view_page_width), (size_allocate_cb),
5807 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
5808 and "fit width" values act as toggle buttons so they stay
5809 toggled. It's not 100% perfect, and it's a little slow, but it's
5810 good enough to commit I think.
5812 2005-02-15 David Lodge <dave@cirt.net>
5814 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
5816 2005-02-15 Martin Kretzschmar <martink@gnome.org>
5818 * shell/ev-window.c (update_window_title): replace newlines in
5819 the title by spaces. Bug #166107.
5821 2005-02-14 Martin Kretzschmar <martink@gnome.org>
5823 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
5824 parameters providing allocation width and height without
5825 scrollbars and width of a possible vertical scrollbar. With this
5826 additional information the functions can work as
5827 intended. Unfortunately they're not idempotent. We should
5828 transform these commands to toggles. Fixes Bug #164976
5829 Initial patch by Stephane Loeuillet, then heavily modified.
5831 * shell/ev-view.h: update prototypes.
5833 * shell/ev-window.c (ev_window_cmd_view_best_fit)
5834 (ev_window_cmd_view_page_width): provide EvView fit functions with
5835 all the information they need. Formulas to calculate this
5836 information taken from GtkScrolledWindow.
5838 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
5840 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
5841 created a thumbnail, the list store is updated to know
5842 that the thumbnail is set. Fixes bug #166792
5844 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
5846 * shell/ev-window.c: fixed typo, closes bug 166897
5848 * TODO: updated TODO with bug numbers that are relevant
5850 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
5852 * shell/ev-window.c: Support for DnD of files. Fixes #164813
5854 2005-02-09 Vincent Noel <vnoel@cox.net>
5856 * shell/ev-window.c: (set_action_properties): Set the "Previous"
5857 and "Next" toolbar buttons as important to make them stand out.
5859 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5863 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
5864 (start_interpreter), (stop_interpreter), (document_load),
5865 (ps_document_next_page), (ps_document_goto_page),
5866 (ps_document_set_page_size), (ps_document_widget_event),
5867 (ps_document_render):
5868 * shell/ev-page-view.c: (ev_page_view_dispose):
5869 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
5871 Fix compilation on non-gcc platforms
5873 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
5880 * pdf/xpdf/Catalog.cc:
5883 Fix the fix for CAN-2004-0888
5885 2005-02-09 Luca Ferretti <elle.uca@libero.it>
5888 * data/evince-ui.xml:
5889 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5890 * shell/ev-stock-icons.h:
5891 * shell/ev-window.c: (update_action_sensitivity),
5892 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
5893 (set_action_properties):
5895 Improve toolbar layout/icons
5897 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
5899 * pdf/xpdf/pdf-document.cc:
5901 Add warnings about unimplemented/unknown link
5904 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5906 * ps/ps-document.c: (set_up_page):
5910 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5912 * ps/ps-document.c: (start_interpreter):
5916 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5918 * shell/ev-page-view.c: (ev_page_view_dispose):
5919 * shell/ev-view.c: (ev_view_finalize):
5920 * shell/ev-window.c: (ev_window_setup_document),
5921 (ev_window_dispose), (ev_window_init):
5923 Solve more refs issues.
5925 I commented out the page_view initialization for now:
5926 it was never destroyed (because it's never added
5927 to a container). Because of that we was leaking
5928 gs processes. Couldnt think to a clean fix.
5929 We need to figure this out, password view has the
5930 same issue probably.
5932 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5934 * ps/ps-document.c: (ps_document_finalize),
5935 (ps_document_get_n_pages), (ps_document_get_page):
5937 Some cleanups, stop the interpreter on finalize
5939 * shell/ev-page-view.c: (ev_page_view_dispose),
5940 (ev_page_view_class_init):
5942 Release our reference on the document
5944 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5948 * doc/debugging.txt:
5951 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
5952 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
5953 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
5956 Add debugging helpers
5959 * ps/ps-document.c: (set_up_page), (start_interpreter),
5960 (stop_interpreter), (document_load), (ps_document_next_page),
5961 (ps_document_goto_page), (ps_document_set_page_size),
5962 (ps_document_widget_event), (ps_document_render):
5963 * shell/Makefile.am:
5964 * shell/ev-view.c: (expose_bin_window):
5965 * shell/main.c: (main):
5969 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
5971 * ps/ps-document.c: (ps_document_widget_event):
5973 Initialize message_window, this should make ps
5974 rendering really work! (Never noticed because I was
5975 testing with a ps that is causing gs to exit every time!)
5977 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
5979 * data/evince.schemas.in: updated simple error in applyto closing tag
5981 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
5987 * data/evince-ui.xml:
5988 A data/evince.schemas.in:
5990 * shell/ev-stock-icons.c: (ev_stock_icons_init):
5991 * shell/ev-stock-icons.h:
5992 * shell/ev-window.c: (update_chrome_visibility),
5993 (update_chrome_flag), (ev_window_cmd_edit_find),
5994 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
5995 (ev_window_unfullscreen), (ev_window_focus_in_event),
5996 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
5997 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
5998 (ev_window_view_sidebar_cb), (find_bar_close_cb),
5999 (ev_window_dispose), (ev_window_class_init),
6000 (set_action_properties), (set_chrome_actions), (load_chrome),
6003 Implement fullscreen mode changes from bug #164776.
6004 Also implement persistent chrome toggles.
6006 2005-02-07 Jordi Mallach <jordi@sindominio.net>
6008 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
6010 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6016 Add another check for find interface
6020 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6022 * shell/ev-application.c: (ev_application_open):
6023 * shell/ev-window.c: (ev_window_open):
6025 Open gzipped ps documents
6027 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6030 * shell/ev-view.c: (set_document_page):
6032 Clamp page number, dont try to move to
6035 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6037 * backend/ev-document-find.c: (ev_document_find_changed):
6038 * backend/ev-document-find.h:
6039 * pdf/xpdf/pdf-document.cc:
6040 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
6041 * shell/ev-window.c: (find_bar_search_changed_cb):
6043 Fix several bugs with find
6045 2005-02-04 Martin Kretzschmar <martink@gnome.org>
6047 * shell/ev-sidebar-thumbnails.c
6048 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
6049 document. Prevents warning from scroll_to_cell.
6051 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
6053 * configure.ac: Add «nb» to ALL_LINGUAS too.
6055 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
6057 * NOTES: New file with some random thoughts.
6061 * backend/ev-document-misc.c:
6062 (ev_document_misc_get_page_border_size): New function to
6063 canonicalize shadow drawing sizes. Possibly goofy.
6065 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
6066 (ev_view_best_fit), (ev_view_fit_width):
6067 * pdf/xpdf/pdf-document.cc:
6068 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6069 * ps/ps-document.c: (ps_document_get_page_size):
6070 * backend/ev-document-misc.h:
6071 * backend/ev-document.c: (ev_document_get_page_size):
6072 * backend/ev-document.h: get_page_size now takes a page number
6073 parameter. Made all the backends/frontends honor it.
6075 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
6076 see. Doesn't work yet.
6078 * shell/Makefile.am:
6079 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
6080 Doesn't do anything yet.
6082 * shell/ev-sidebar-thumbnails.c:
6083 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
6086 * shell/ev-window.c: (update_action_sensitivity),
6087 (ev_window_setup_document), (ev_window_set_page_mode),
6088 (ev_window_page_mode_cb), (ev_window_init): Clean up the
6089 view-swapping code a bit so we can have multiple views on a
6090 document. Add the multi-page view, though it can't be turned on
6093 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6095 * shell/ev-application.c: (ev_application_open):
6096 * shell/ev-view.c: (expose_bin_window):
6097 * shell/ev-window.c: (ev_window_open):
6099 Support eps and check document supports find
6100 before drawing highlightings in expose.
6102 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6104 * pixbuf/pixbuf-document.c:
6105 (pixbuf_document_thumbnails_get_dimensions),
6106 (pixbuf_document_document_thumbnails_iface_init):
6108 implement get_dimensions
6110 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6117 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6119 * shell/ev-view.c: (set_document_page):
6121 Scroll at the top of the page when changing page
6123 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6125 * shell/ev-view.c: (ev_view_motion_notify_event):
6127 Do not redraw unnecessarily
6129 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6131 * pdf/xpdf/pdf-document.cc:
6132 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6133 (expose_bin_window), (find_changed_cb):
6135 Yay! find works now... Now to find bugs...
6137 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6139 * backend/ev-document-find.c: (ev_document_find_base_init),
6140 (ev_document_find_changed):
6141 * backend/ev-document-find.h:
6142 * pdf/xpdf/pdf-document.cc:
6143 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6144 (expose_bin_window), (ev_view_init), (set_document_page),
6145 (ensure_rectangle_is_visible), (jump_to_find_result),
6146 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
6147 (ev_view_find_next), (ev_view_find_previous):
6149 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
6151 More work on find implementation, mostly there now
6153 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
6155 * backend/ev-backend-marshalers.list:
6156 * backend/ev-document-find.c: (ev_document_find_base_init),
6157 (ev_document_find_cancel), (ev_document_find_page_has_results),
6158 (ev_document_find_get_n_results), (ev_document_find_get_result),
6159 (ev_document_find_get_progress), (ev_document_find_changed):
6160 * backend/ev-document-find.h:
6162 Enanche the find interface to be really able to do
6165 * pdf/xpdf/pdf-document.cc:
6169 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
6170 (expose_bin_window), (ev_view_init),
6171 (ev_view_get_find_status_message), (find_changed_cb),
6172 (ev_view_set_document), (set_document_page):
6174 Adapt to the new interface. A few things are regressed sorry,
6175 I will finish it soon.
6177 2005-01-28 Martin Kretzschmar <martink@gnome.org>
6179 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
6180 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
6181 ev_sidebar_thumbnails_parent_class variable, don't define another
6182 parent_class variable.
6184 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
6185 (ev_page_action_class_init): ditto.
6187 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
6188 (pixbuf_document_class_init): ditto.
6190 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
6193 * .cvsignore: ignore various valgrind output files.
6195 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6197 * data/evince-ui.xml:
6198 * shell/Makefile.am:
6199 * shell/ev-history.c:
6200 * shell/ev-history.h:
6201 * shell/ev-navigation-action.c:
6202 * shell/ev-navigation-action.h:
6203 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
6204 (ev_view_set_page), (ev_view_fit_width):
6206 * shell/ev-window.c: (update_action_sensitivity),
6207 (ev_window_setup_document), (register_custom_actions):
6209 Kill session history
6211 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6213 * shell/ev-window.c: (update_action_sensitivity):
6215 Fix inverted up/down buttons
6217 2005-01-27 Martin Kretzschmar <martink@gnome.org>
6219 * shell/ev-sidebar-thumbnails.c
6220 (ev_sidebar_thumbnails_select_page): make sure the selected
6221 thumbnail stays visible.
6223 2005-01-26 Martin Kretzschmar <martink@gnome.org>
6225 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
6226 scrolled window for Federico.
6228 2005-01-26 Ole Laursen <olau@hardworking.dk>
6230 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
6232 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
6235 * pdf/splash/SplashFTFontEngine.cc:
6237 Fix CID fonts with freetype 2.1.9
6239 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
6241 * TODO: added item for desktop icon thumbnailer
6243 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
6245 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
6246 unloaded docs when the title is accessed.
6248 * shell/ev-password-view.[hc]: New widget for displaying password
6251 * shell/ev-window.[ch]: Refactor password handling code to handle
6254 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
6262 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
6264 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
6265 ignore page offset here, to make search results independent of it,
6267 * shell/ev-view.c (expose_bin_window): but take offsets into
6268 account here. Bug #164932
6270 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
6271 scale at the right time. Bug #164996
6273 2005-01-22 Martin Kretzschmar <martink@gnome.org>
6275 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
6276 fix the problem. Now I just removed the Adobe font names and hope
6277 that the URW fonts are always in outline format. Bug #164934
6279 * shell/ev-window.c (update_window_title): empty titles are
6280 useless, use filename in that case too.
6282 * NEWS: Add some content.
6284 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
6286 * TODO: added one more TODO item and a TODONE section :)
6288 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6290 * ps/ps-document.h: add page_[xy]_offset fields.
6292 * ps/ps-document.c (ps_document_set_page_offset)
6293 (ps_document_render): Keep offset in consideration in a few
6294 places. Bug #164752 "postscript documents are not centered in
6297 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
6298 s/gpdf/evince/. Spotted by Stephane Loeuillet.
6300 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
6301 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
6302 stub out missing methods for complete EvDocument implementation.
6303 Fixes segfaults with Save A Copy and Copy actions.
6305 * ps/ps-document.c (ps_document_save, ps_document_get_text)
6306 (ps_document_document_iface_init): ditto.
6308 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6312 * data/evince.desktop.in:
6316 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6318 * shell/ev-view.c: (ev_view_button_press_event),
6319 (ev_view_motion_notify_event):
6321 Make selection work in any direction
6323 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6326 * shell/ev-window.c: (set_short_labels), (ev_window_init):
6328 Use shorter labels for some of the toolbars items
6330 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6332 * pdf/xpdf/pdf-document.cc:
6334 Check the links info is initialized before
6335 using it. Should fix a crash on startup.
6337 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6339 * pixbuf/pixbuf-document.c
6340 (pixbuf_document_thumbnails_get_dimensions): force floating point
6341 division to calculate page_ratio. Fixes crash with landscape
6344 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
6346 * shell/ev-view.c (ev_view_realize): make the bg color darker.
6348 2005-01-20 Martin Kretzschmar <martink@gnome.org>
6350 * shell/ev-view.c (set_document_page): unset has_selection when
6352 (set_document_page): handle paper size changes when the page
6353 changes (test with Free Culture, page 2).
6355 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6357 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
6358 (expose_bin_window), (ev_view_class_init), (ev_view_init):
6360 Use normal style color for the widget background and
6361 draw a black box around the page.
6363 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6365 * pdf/xpdf/pdf-document.cc:
6367 Keep offset in consideration in a few places
6369 * shell/ev-view.c: (expose_bin_window):
6371 Set the offsets so that the document is ever centered
6373 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
6375 * TODO: Added TODO items and finished off the first todo item
6377 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
6378 reflect current authors
6380 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6382 * pdf/xpdf/pdf-document.cc:
6383 * shell/ev-view.c: (ev_view_set_cursor),
6384 (ev_view_motion_notify_event), (document_changed_callback),
6385 (set_document_page):
6387 Show a wait cursor while the page is rendering
6389 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6391 * shell/ev-sidebar-thumbnails.c:
6392 (ev_sidebar_tree_selection_changed),
6393 (ev_sidebar_thumbnails_select_page):
6394 * shell/ev-sidebar-thumbnails.h:
6395 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
6396 (ev_view_can_go_forward):
6397 * shell/ev-window.c: (ev_window_open_page),
6398 (ev_window_setup_document), (update_current_page),
6399 (view_page_changed_cb), (ev_window_init):
6400 * shell/ev-window.h:
6402 Ensure thumbnails selection, toolbar page control and
6403 current page are in sync.
6405 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
6411 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
6413 * backend/Makefile.am:
6414 * backend/ev-document-links.h:
6415 * backend/ev-document-security.c: (ev_document_security_get_type),
6416 (ev_document_security_has_document_security),
6417 (ev_document_security_set_password):
6418 * backend/ev-document-security.h:
6419 * backend/ev-document.c: (ev_document_error_quark):
6420 * backend/ev-document.h:
6422 * data/evince-password.glade:
6423 * pdf/xpdf/pdf-document.cc:
6424 * shell/Makefile.am:
6425 * shell/ev-password.c: (ev_password_set_bad_password_label),
6426 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
6427 (ev_password_dialog_get_password),
6428 (ev_password_dialog_set_bad_pass):
6429 * shell/ev-password.h:
6430 * shell/ev-window.c: (ev_window_get_attribute),
6431 (ev_window_set_property), (update_action_sensitivity),
6432 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
6433 (ev_window_setup_document), (ev_window_get_password),
6434 (ev_window_open), (ev_window_cmd_save_as),
6435 (using_postscript_printer), (ev_window_print),
6436 (find_not_supported_dialog), (ev_window_cmd_edit_find),
6437 (update_fullscreen_popup), (ev_window_fullscreen),
6438 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6439 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
6440 (menu_item_select_cb), (find_bar_search_changed_cb),
6441 (ev_window_dispose), (ev_window_init):
6443 Add initial support for password-supported dialogs. This could be
6444 a lot cooler, but it'll do for now.
6446 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
6448 * pdf/xpdf/pdf-document.cc:
6449 * shell/ev-view.c: (status_message_from_link),
6450 (ev_view_set_status), (ev_view_set_cursor),
6451 (ev_view_motion_notify_event), (ev_view_init):
6452 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
6454 Fix bugs in the links implementation and change cursor
6455 when hovering a link.
6457 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
6459 * viewer/.cvsignore: added cvsignore file for viewer directory
6461 * TODO: created TODO document
6463 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
6466 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
6467 new functions to help with implementation of sensitivity code
6468 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6469 of all actions that might require it. Fixes a crash when you
6470 click on the Zoom actions in a window lacking a document.
6472 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
6474 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6477 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6479 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6480 (pixbuf_document_document_iface_init):
6481 * ps/ps-document.c: (ps_document_get_link),
6482 (ps_document_document_iface_init):
6483 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6484 (status_message_from_link), (ev_view_set_status),
6485 (ev_view_set_find_status), (ev_view_motion_notify_event),
6486 (ev_view_button_release_event), (ev_view_set_property),
6487 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6488 (ev_view_get_find_status_message), (update_find_results),
6489 (ev_view_get_status), (ev_view_get_find_status):
6491 * shell/ev-window.c: (view_status_changed_cb),
6492 (view_find_status_changed_cb), (ev_window_init):
6494 View status message support, use it to show the links.
6497 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6499 * backend/ev-document.c: (ev_document_get_link):
6500 * backend/ev-document.h:
6501 * pdf/xpdf/pdf-document.cc:
6502 * shell/ev-application.c: (ev_application_open):
6503 * shell/ev-application.h:
6504 * shell/ev-sidebar-links.c: (selection_changed_cb):
6505 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6506 (ev_view_go_to_link):
6508 Add support for document links
6510 2005-01-13 Anders Carlsson <andersca@gnome.org>
6512 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6514 Set the spin button limits correctly.
6516 * shell/ev-sidebar-thumbnails.c:
6517 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6518 Support changing pages by clicking on the thumbnails.
6520 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6522 * pixbuf/pixbuf-document.c:
6523 (pixbuf_document_thumbnails_get_dimensions),
6524 (pixbuf_document_document_thumbnails_iface_init):
6526 implement get_dimensions
6528 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6530 * ps/ps-document.c: (ps_document_goto_page):
6532 Fix page switching on multipage documents
6534 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
6536 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6538 check for NULL before assigning to width and height parameters
6540 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6542 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6543 (pixbuf_document_set_property), (pixbuf_document_get_property):
6545 implement get/set properties
6547 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6549 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6551 return NULL instead of "Unknown", letting the title get set to
6552 the filename when the pdf has no title.
6554 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6556 * ps/ps-document.c: (ps_document_get_page_count),
6557 (ps_document_goto_page):
6559 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6561 * shell/ev-history.c: (ev_history_get_property),
6562 (ev_history_set_property), (ev_history_class_init),
6563 (ev_history_add_page), (ev_history_set_current_index):
6564 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
6565 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
6566 (ev_navigation_action_finalize):
6567 * shell/ev-navigation-action.h:
6568 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6569 (ev_view_go_forward), (ev_view_get_find_status_message),
6570 (history_index_changed_cb), (ev_view_set_history):
6572 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6573 (update_current_page), (register_custom_actions):
6575 Implement history dropdowns
6577 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6579 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
6580 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6581 (ev_view_go_forward):
6582 * shell/ev-window.c: (register_custom_actions):
6584 Fix several history bugs
6586 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
6588 * configure.ac: Add «nb» to ALL_LINGUAS.
6590 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
6592 * backend/Makefile.am:
6593 * backend/ev-bookmark.c:
6594 * backend/ev-bookmark.h:
6595 * backend/ev-document-bookmarks.c:
6596 * backend/ev-document-bookmarks.h:
6597 * backend/ev-document-links.c: (ev_document_links_get_type),
6598 (ev_document_links_has_document_links),
6599 (ev_document_links_begin_read), (ev_document_links_get_link),
6600 (ev_document_links_get_child), (ev_document_links_next),
6601 (ev_document_links_free_iter):
6602 * backend/ev-document-links.h:
6603 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
6604 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
6605 (ev_link_get_link_type), (ev_link_set_link_type),
6606 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
6607 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
6608 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
6609 (ev_link_new_external):
6610 * backend/ev-link.h:
6611 * pdf/xpdf/pdf-document.cc:
6612 * shell/Makefile.am:
6613 * shell/ev-application.c: (ev_application_open_link):
6614 * shell/ev-application.h:
6615 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6616 (ev_history_get_link_nth):
6617 * shell/ev-history.h:
6618 * shell/ev-sidebar-bookmarks.c:
6619 * shell/ev-sidebar-bookmarks.h:
6620 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6621 (ev_sidebar_links_class_init), (selection_changed_cb),
6622 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6623 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6624 (do_one_iteration), (populate_links_idle),
6625 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6626 * shell/ev-sidebar-links.h:
6627 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6628 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6631 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6632 * shell/ev-window.h:
6634 Rename bookmark to link, and use "Index" for the sidebar panel.
6636 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6638 * shell/Makefile.am:
6639 * shell/ev-application.c: (ev_application_open_bookmark):
6640 * shell/ev-application.h:
6641 * shell/ev-history.c: (ev_history_init), (free_links_list),
6642 (ev_history_finalize), (ev_history_class_init),
6643 (ev_history_add_link), (ev_history_add_page),
6644 (ev_history_get_link_nth), (ev_history_get_n_links),
6645 (ev_history_get_current_index), (ev_history_set_current_index),
6647 * shell/ev-history.h:
6648 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6649 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6650 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6651 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6654 * shell/ev-window.c: (ev_window_open_bookmark),
6655 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6656 (goto_page_cb), (register_custom_actions):
6657 * shell/ev-window.h:
6659 Initial history implementation. Needs work.
6661 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6663 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6665 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6667 * cut-n-paste/recent-files/egg-recent-item.c:
6668 * cut-n-paste/recent-files/egg-recent-item.h:
6669 * cut-n-paste/recent-files/egg-recent-model.c:
6670 * cut-n-paste/recent-files/egg-recent-util.c:
6671 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6672 * cut-n-paste/recent-files/egg-recent-view.c:
6676 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6678 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6679 (fillGlyph, fillImageMask, drawImage):
6680 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6681 pdf/splash/SplashTypes.h:
6682 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6683 packed mode for Splash.
6685 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6686 RGB8 packed mode, eliminates the pixbuf data creation loop.
6688 * shell/ev-print-job.c (ev_print_job_finalize)
6689 (ev_print_job_set_property, ev_print_job_get_property)
6690 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6691 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6692 (print_closure_finalize, ev_print_job_print): implement
6693 printing (for backends with EvPsExporter)
6695 * shell/ev_print_job.h: update prototypes.
6697 * shell/ev-window.c (ev_window_print): unref print job after
6700 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6701 unless the document implements the EvDocumentFind interface.
6703 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6705 * configure.ac: Added ja to ALL_LINGUAS.
6707 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6709 * pdf/xpdf/pdf-document.cc:
6711 add a FIXME. We should probably not allocate
6712 a bookmark object every time
6714 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6716 * shell/ev-application.c: (ev_application_open),
6717 (ev_application_open_bookmark):
6718 * shell/ev-application.h:
6720 Add a way to open bookmarks
6722 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
6723 (ev_bookmark_set_uri), (ev_bookmark_get_property),
6724 (ev_bookmark_set_property), (ev_bookmark_class_init),
6725 (ev_bookmark_new_title), (ev_bookmark_new_link),
6726 (ev_bookmark_new_external):
6728 Support for external uris, better constructors.
6730 * backend/ev-bookmark.h:
6731 * pdf/xpdf/pdf-document.cc:
6732 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6734 Handle external uris
6736 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6738 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
6739 (ev_sidebar_bookmarks_construct), (do_one_iteration):
6741 Hook up bookmarks navigation
6743 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6745 * backend/Makefile.am:
6746 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
6747 (ev_bookmark_get_title), (ev_bookmark_set_title),
6748 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
6749 (ev_bookmark_get_page), (ev_bookmark_set_page),
6750 (ev_bookmark_get_property), (ev_bookmark_set_property),
6751 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
6753 * backend/ev-bookmark.h:
6754 * backend/ev-document-bookmarks.c:
6755 (ev_document_bookmarks_get_bookmark):
6756 * backend/ev-document-bookmarks.h:
6757 * pdf/xpdf/pdf-document.cc:
6758 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
6760 Add a bookmark object to the backend and use it instead of get_values
6762 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6764 * data/evince-ui.xml:
6766 Cleanup and add select all.
6768 * shell/ev-view.c: (ev_view_select_all),
6769 (ev_view_button_press_event):
6771 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
6774 Clear selection on click.
6776 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
6778 * shell/ev-sidebar-thumbnails.c
6779 (ev_sidebar_thumbnails_set_document): forgot to unref the
6782 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
6784 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
6785 at the visible page, not just linearly. This makes it look fast.
6787 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
6789 * backend/ev-document-misc.c
6790 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
6792 * backend/ev-document-thumbnails.h: New interface to get the size
6795 2005-01-06 Jeremy Katz <katzj@redhat.com>
6797 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
6800 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
6802 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
6803 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
6806 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
6808 2005-01-05 Martin Kretzschmar <martink@gnome.org>
6810 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
6811 fonts. Should fix font problems on systems that have the base
6812 fonts in bitmap format. Reported by James Henstridge
6813 <james@jamesh.id.au>.
6815 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6818 * pdf/xpdf/GfxState.cc:
6820 Fix for CAN-2004-1125
6822 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6824 * shell/ev-view.c: (ev_view_copy):
6826 * shell/ev-window.c: (ev_window_cmd_edit_copy):
6828 Implement Edit->Copy
6830 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6832 * backend/ev-document.c: (ev_document_get_text):
6833 * backend/ev-document.h:
6834 * pdf/xpdf/pdf-document.cc:
6835 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
6836 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
6837 (ev_view_update_primary_selection), (ev_view_button_press_event),
6838 (ev_view_motion_notify_event), (ev_view_button_release_event):
6840 Beginnings of clipboard support. Incomplete but primary sort
6843 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6845 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
6846 (expose_bin_window):
6848 Nicer rubberband drawing, from GtkIconView.
6850 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6852 * backend/ev-document.c: (ev_document_save):
6853 * backend/ev-document.h:
6854 * data/evince-ui.xml:
6855 * pdf/xpdf/pdf-document.cc:
6856 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
6858 Implement "Save a copy..." menu item
6860 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
6862 * shell/ev-view.c: (ev_view_zoom):
6864 Queue a resize when zoom changes
6866 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
6868 * backend/ev-document-misc.[ch]: New misc file to do simple drop
6871 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
6874 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
6876 * pdf/xpdf/pdf-document.cc
6877 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
6879 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
6881 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
6882 It's slow, but I'll speed it up next!
6884 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
6886 * shell/main.c (load_files):
6888 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
6889 from the command line and because it seems more appropriate.
6891 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6893 * data/evince-ui.xml:
6894 * shell/ev-window.c: (update_action_sensitivity),
6895 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
6897 s/next page/page down
6898 s/previous page/page up
6900 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
6902 * data/evince-ui.xml:
6904 Change the layout to match clarkbw design.
6906 * shell/Makefile.am:
6907 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
6908 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
6909 (ev_navigation_action_finalize),
6910 (ev_navigation_action_set_property),
6911 (ev_navigation_action_get_property),
6912 (ev_navigation_action_class_init):
6913 * shell/ev-navigation-action.h:
6915 Implement clarkbw toolbar navigation controls (incomplete)
6917 * shell/ev-page-action.c: (update_label), (update_spin),
6918 (value_changed_cb), (create_tool_item), (connect_proxy),
6919 (ev_page_action_init), (ev_page_action_finalize),
6920 (ev_page_action_set_property), (ev_page_action_get_property),
6921 (ev_page_action_set_current_page),
6922 (ev_page_action_set_total_pages), (ev_page_action_class_init):
6923 * shell/ev-page-action.h:
6925 Implement a page switcher in the toolbar
6927 * shell/ev-view.c: (ev_view_scroll_view):
6928 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6929 (update_current_page), (view_page_changed_cb), (goto_page_cb),
6930 (register_custom_actions), (ev_window_init):
6932 Change page on PageUp/Down.
6934 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
6936 * pdf/xpdf/pdf-document.cc
6937 (pdf_document_thumbnails_get_thumbnail): initial stab at
6938 implementing thumbnail support for pdfs. It only does documents
6939 with precached pdfs now.
6941 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
6943 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
6944 thumbnail code into a time-based idle as well. Also, turn off the
6945 shadow temporarily as it's really slow.
6947 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6949 * backend/ev-document.c: (ev_document_class_init):
6950 * pdf/xpdf/pdf-document.cc:
6951 * shell/ev-window.c: (ev_window_open):
6953 Fix document title bugs and fallback to
6954 filename when not available.
6956 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
6958 * backend/ev-document.c: (ev_document_get_type),
6959 (ev_document_class_init), (ev_document_load),
6960 (ev_document_get_title):
6961 * backend/ev-document.h:
6962 * pdf/xpdf/pdf-document.cc:
6963 * ps/ps-document.c: (ps_document_set_property),
6964 (ps_document_get_property), (ps_document_class_init),
6968 * shell/ev-window.c: (update_window_title), (ev_window_open),
6971 Initial support for document title. Not working yet.
6973 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6975 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
6977 Grab focus on the view when clicking it
6979 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6981 * shell/ev-marshal.list:
6982 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
6983 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
6985 Add key bindings to the view. Now if the focus would work
6988 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
6991 * backend/Makefile.am:
6994 * dvi/dvilib/Makefile.am:
6995 * pdf/xpdf/Makefile.am:
7001 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7003 * shell/ev-view.c: (ev_view_realize):
7005 Fix mouse wheel scrolling
7007 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7013 * ps/ps-document.c: (catchPipe), (ps_document_init),
7014 (ps_document_class_init), (ps_document_cleanup),
7015 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
7016 (set_up_page), (close_pipe), (is_interpreter_ready),
7017 (interpreter_failed), (output), (input), (start_interpreter),
7018 (stop_interpreter), (file_length), (file_readable),
7019 (check_filecompressed), (check_pdf), (compute_xdpi),
7020 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
7021 (ps_document_get_type), (ps_document_emit_error_msg),
7022 (document_load), (ps_document_next_page),
7023 (ps_document_get_current_page), (ps_document_get_page_count),
7024 (ps_document_goto_page), (ps_document_set_page_size),
7025 (ps_document_zoom_to_fit), (ps_document_set_zoom),
7026 (ps_document_load), (ps_document_get_n_pages),
7027 (ps_document_set_page), (ps_document_get_page),
7028 (ps_document_widget_event), (ps_document_set_target),
7029 (ps_document_set_scale), (ps_document_set_page_offset),
7030 (ps_document_get_page_size), (ps_document_render),
7031 (ps_document_document_iface_init):
7034 * shell/ev-window.c: (ev_window_open):
7036 Rename GtkGS to PSDocument
7038 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7040 * ps/gtkgs.c: (gtk_gs_class_init):
7043 Some more leftover...
7045 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7047 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
7048 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
7049 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
7052 Remove unused code and make a lot of stuff private
7054 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7056 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
7057 (gtk_gs_defaults_changed):
7063 Cleanup headers dependencies
7065 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7070 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
7072 * ps/gtkgs.c: (file_length), (file_readable),
7073 (check_filecompressed), (check_pdf), (gtk_gs_load),
7074 (gtk_gs_get_postscript):
7078 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7083 * ps/gtkgs.c: (gtk_gs_set_zoom):
7087 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7089 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
7091 Ensure the page is rerendered when changing zoom
7093 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7095 * backend/ev-document.c: (ev_document_base_init),
7096 (ev_document_changed):
7097 * backend/ev-document.h:
7099 Add a changed event that is emitted when the page content
7100 changes. This is necessary to deal with the fact that
7101 in ps backend rendering happen asycrounously.
7102 This makes the ps backend mostly work.
7104 * pdf/xpdf/pdf-document.cc:
7108 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
7109 (ps_document_set_target):
7113 * shell/ev-view.c: (document_changed_callback),
7114 (ev_view_set_document), (ev_view_set_page):
7116 Redraw on the changed signal
7118 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
7120 * configure.ac: Added pt_BR to ALL_LINGUAS.
7122 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
7124 * backend/ev-document-bookmarks.c:
7125 (ev_document_bookmarks_get_child): *
7126 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
7127 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
7128 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
7129 (ev_sidebar_bookmarks_destroy),
7130 (ev_sidebar_bookmarks_class_init),
7131 (ev_sidebar_bookmarks_construct), (stack_data_free),
7132 (do_one_iteration), (populate_bookmarks_idle),
7133 (ev_sidebar_bookmarks_clear_document),
7134 (ev_sidebar_bookmarks_set_document): *
7135 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
7136 (ev_sidebar_add_page),
7137 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
7138 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
7139 it displays both the topics and the page numbers.
7141 2004-12-23 Kristian Høgsberg <krh@redhat.com>
7143 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
7145 * shell/ev-window.c (toggle_entries): Set sidebar default value to
7148 2004-12-23 Adam Weinberger <adamw@gnome.org>
7150 * configure.ac: Added en_CA to ALL_LINGUAS.
7152 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7154 * ChangeLog: replace bottom of this ChangeLog (merged history of
7155 ggv and gpdf; where all paths were wrong and most of the files are
7156 not even in this tree) with ChangeLog (from arch) of the shell
7159 2004-12-23 Havoc Pennington <hp@redhat.com>
7161 * shell/ev-window.c: hook up potentially-questionable "find
7162 results status text" feature - something involving the sidebar or
7163 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
7164 might be better in the end.
7166 * shell/ev-view.c (ev_view_get_find_status_message): new function,
7167 with corresponding signal when it should be updated
7169 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
7171 2004-12-22 Havoc Pennington <hp@redhat.com>
7173 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
7174 find stuff on other pages, sort of (only returns one result on
7175 invisible pages, to show they have results; updates full results
7176 for a page when you view it). Currently repaints the current page
7177 every time a new result is found on any page, which isn't so nice.
7179 2004-12-22 Havoc Pennington <hp@redhat.com>
7181 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
7182 the document doesn't support find (better ideas?)
7183 (find_bar_search_changed_cb): handle missing document or document
7184 that doesn't support find
7186 * pdf/xpdf/pdf-document.cc: port to implement the new
7189 * backend/ev-document-find.c: create a new interface for searching
7191 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
7193 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7195 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
7198 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
7199 EvPrintJob constructor arguments.
7201 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
7202 for documents that can export PostScript (page by page).
7204 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
7206 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
7207 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
7208 (pdf_document_ps_exporter_iface_init:
7209 Implement EvPSExporter.
7211 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
7213 2004-12-22 Anders Carlsson <andersca@gnome.org>
7215 * backend/Makefile.am:
7216 * backend/ev-document-thumbnails.c:
7217 (ev_document_thumbnails_get_type),
7218 (ev_document_thumbnails_get_thumbnail):
7219 * backend/ev-document-thumbnails.h:
7220 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7221 (pixbuf_document_thumbnails_get_thumbnail),
7222 (pixbuf_document_document_thumbnails_iface_init):
7223 * shell/Makefile.am:
7224 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
7225 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
7226 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
7227 * shell/ev-sidebar-thumbnails.h:
7228 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
7229 (ev_sidebar_set_document):
7230 * shell/ev-utils.c: (gaussian), (create_blur_filter),
7231 (create_shadow), (ev_pixbuf_add_shadow):
7233 Add thumbnail support.
7235 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7237 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
7238 (using_postscript_printer): Set up a print dialog for "PostScript
7241 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
7244 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
7246 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7248 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
7249 (ps_document_set_target), (ps_document_get_page_size),
7250 (ps_document_render):
7255 2004-12-22 Christian Rose <menthos@menthos.com>
7257 * configure.ac: Added "sv" to ALL_LINGUAS.
7259 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
7261 * backend/ev-document-bookmarks.[ch]: new interface to indicate
7262 document supports bookmarks.
7264 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7266 * ps/ggvutils.c: (ggv_file_readable):
7268 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
7269 (gtk_gs_get_postscript):
7273 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7275 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
7276 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
7277 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
7278 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
7279 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
7280 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
7281 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7282 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7283 (gtk_gs_set_antialiasing), (ps_document_load),
7284 (ps_document_render):
7287 Another check point for the ps backend. Now I can get it to show
7290 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
7292 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
7293 document setting code.
7295 2004-12-22 Anders Carlsson <andersca@gnome.org>
7297 * shell/eggfindbar.c: (entry_activate_callback):
7298 Animate the next button when activate is pressed.
7300 2004-12-22 Anders Carlsson <andersca@gnome.org>
7302 * shell/ev-window.c: (ev_window_cmd_edit_find),
7303 (update_fullscreen_popup), (ev_window_fullscreen),
7304 (ev_window_unfullscreen), (ev_window_state_event_cb),
7305 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
7306 Fix bugs in fullscreen code.
7308 2004-12-22 Anders Carlsson <andersca@gnome.org>
7312 * pixbuf/Makefile.am:
7313 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7314 (pixbuf_document_load), (pixbuf_document_get_n_pages),
7315 (pixbuf_document_set_page), (pixbuf_document_get_page),
7316 (pixbuf_document_set_target), (pixbuf_document_set_scale),
7317 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
7318 (pixbuf_document_render), (pixbuf_document_begin_find),
7319 (pixbuf_document_end_find), (pixbuf_document_finalize),
7320 (pixbuf_document_class_init),
7321 (pixbuf_document_document_iface_init), (pixbuf_document_init):
7322 * pixbuf/pixbuf-document.h:
7323 * shell/Makefile.am:
7324 * shell/ev-application.c: (ev_application_open):
7325 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
7329 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
7332 * dvi/dvilib/Makefile.am:
7334 * configure.ac: Auto*ify dvi and dvi/dvilib
7336 * dvi/Makefile: Remove from CVS
7338 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
7341 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
7343 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
7345 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7348 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
7349 (gtk_gs_value_adjustment_changed), (compute_size),
7350 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
7351 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
7352 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7353 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7354 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
7355 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
7356 (ps_document_load), (ps_document_get_n_pages),
7357 (ps_document_set_page), (ps_document_get_page),
7358 (ps_document_set_target), (ps_document_set_scale),
7359 (ps_document_set_page_offset), (ps_document_get_page_size),
7360 (ps_document_render), (ps_document_begin_find),
7361 (ps_document_end_find), (ps_document_document_iface_init):
7363 * shell/Makefile.am:
7364 * shell/ev-window.c: (ev_window_open):
7366 Some work to integrate gtkgs with EvDocument
7368 2004-12-22 Anders Carlsson <andersca@gnome.org>
7370 * shell/ev-window.c: (update_fullscreen_popup),
7371 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
7372 (exit_fullscreen_button_clicked_cb),
7373 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
7374 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7375 (ev_window_state_event_cb), (ev_window_init):
7376 Add fullscreen support from Epiphany.
7378 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7380 * data/ev-stock-zoom-fit-width.png: fit-width
7381 stock icon from gpdf.
7383 * shell/ev-stock-icons.[ch]: copied from gpdf.
7385 * shell/main.c: (main): init stock icons.
7387 * shell/ev-window.c: use the fit-width icon.
7389 * data/evince-ui.xml: add zooming toolbar items.
7391 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7394 (ev_view_best_fit), (ev_view_fit_width): because
7395 get_page_size() returns the scaled page size, we
7396 need to calculate the scale factor relative to
7397 the previous scale factor. Should really just
7398 add get_real_page_size().
7400 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7402 * shell/ev-view.[ch]:
7403 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
7404 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
7407 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
7408 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
7409 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
7412 * pdf/xpdf/pdf-document.cc:
7413 (pdf_document_begin_find),
7414 (pdf_document_end_find): make static.
7416 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7418 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
7420 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
7421 names to fontconfig patterns.
7422 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
7424 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
7427 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7443 Import ggv backend. Not hooked up yet.
7445 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7447 * shell/main.c: (load_files), (main): load files
7448 from the command line.
7450 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7452 * configure.ac: don't require bonobo.
7454 * cut-n-paste/recent-files/*: kill bonobo recent
7457 * shell/ev-window.c:
7458 (ev_window_is_empty): upd.
7459 (unable_to_load), (ev_window_open): load backend
7460 based on the mime type.
7462 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7464 * backend/.cvsignore: ignore generated marshalers source.
7466 * shell/main.c (main): this is not epiphany.
7468 2004-12-22 Havoc Pennington <hp@redhat.com>
7470 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
7471 (expose_bin_window): draw find highlights
7473 * shell/ev-window.c (find_bar_search_changed_cb): implement
7475 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
7476 (pdf_document_end_find): implement this interface
7478 * backend/ev-document.c (ev_document_found): add this to emit
7481 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
7483 * data/evince-ui.xml: Add a few more toolbar items.
7485 * shell/ev-window.c: Hook up page navigation toolbar
7488 * shell/ev-view.[ch]: add ev_view_set/get_page and
7489 a page-changed signal.
7491 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7492 Add ev_document_get_page().
7494 * shell/ev-window.c: Sensitize/desensitize navigation
7497 2004-12-21 Havoc Pennington <hp@redhat.com>
7499 * backend/ev-backend-marshal.c,
7500 backend/ev-backend-marshalers.list, backend/Makefile.am: add
7501 marshaler-generator thingy. I'm sure there's a better way to do
7502 this in the modern world.
7504 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7505 end_find methods and "found" signal.
7507 * configure.ac: find glib-genmarshal
7509 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
7511 * shell/ev-sidebar.c: Construct an actual sidebar.
7512 * shell/ev-sidebar-bookmarks.[ch]:
7513 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7515 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
7517 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7520 * shell/ev-view.c: Track the size from the document.
7522 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
7524 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7525 constructor assumes ownership of the string passed in.
7527 * shell/ev-window.c (ev_window_open): Destroy the error
7528 dialog once we've displayed it.
7530 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
7532 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
7533 a bit, it works! (sort of)
7535 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7536 Move to .cc since we need to use C++ in the implementation.
7538 * shell/dummy.cc: Add a CC file to force evince
7539 to be linked as a C++ program.
7541 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
7543 * shell/ev-view.[ch]: Start of content-area widget.
7545 * shell/ev-window.c: Create a EvView, update it
7546 as we change documents.
7548 * shell/Makefile.am shell/ev-marshal.list: Add
7549 generated marshalers.
7551 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
7553 * Makefile.am (SUBDIRS): move shell.
7555 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
7557 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7558 .a to libtool convenience libraries.
7560 * shell/ev-window.c (ev_window_open): Hard code loading
7563 * backend/ev-document.h: Add a boolean return to load(),
7564 fix GError * to GError **.
7566 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
7567 object for a PDF backend EvDocument.
7569 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
7571 * dvi/*: New directory with the beginning of a .dvi backend.
7573 2004-12-21 Havoc Pennington <hp@redhat.com>
7575 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
7576 previous/next instead of back/forward
7578 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
7580 * backend/ev-document.[ch]: Fix a couple of problems so
7583 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
7585 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
7586 to backend/ directory, rename EvViewer to EvDocument.
7588 2004-12-21 Havoc Pennington <hp@redhat.com>
7590 * shell/ev-window.c: hook up the find bar widget; now we just need
7591 a document to find things in
7593 * shell/eggfindbar.c: a find bar widget
7595 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
7597 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
7599 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
7601 * pdf/**: Import of xpdf code from gpdf.
7603 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
7605 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
7606 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
7607 Fix FreeType includes.
7609 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
7610 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7611 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7612 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7613 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7614 Include xpdfconfig.h
7616 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7618 * shell/ev-window.c (ev_window_dispose): dispose can be called
7621 2004-12-21 Havoc Pennington <hp@redhat.com>
7623 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7626 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7627 items; really they should be synced with the strings, etc. from
7628 current gpdf, but just getting the boring typing out of the way
7630 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7633 * shell/ev-application.c: (window_destroy_cb):
7634 * shell/ev-window.c:
7635 * shell/main.c: (main):
7637 Actually show the window...
7639 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7642 * shell/Makefile.am:
7643 * shell/ev-application.c: (ev_application_class_init):
7644 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7648 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7650 Import to gnome cvs.
7652 * Remove copies of gpdf and ggv trees.
7653 * Rip out all the recursive configure code.
7654 * Remove bonobo machinery.
7655 * viewer/*: GInterfaces that backends should/can implement.
7657 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7659 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7662 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7664 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7665 (ev_application_finalize, ev_application_class_init)
7666 (ev_application_init): use GType instance private data for priv.
7668 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7669 (ev_window_finalize, ev_window_class_init)
7670 (ev_window_init): ditto.
7672 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7674 * shell/ev-application.c (ev_application_new_window): make public
7675 (ev_application_show_initial_window): kill.
7677 * shell/ev-application.h: update prototypes.
7679 * shell/main.cc (main): inline ev_application_show_initial_window.
7681 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7683 * shell/ev-application.c (ev_application_new_window): impl.
7684 (ev_application_show_initial_window): use it.
7685 (is_window_empty, ev_application_get_empty_window): returns an
7686 existing empty window or a new one.
7687 (ev_application_open): from ev_window_cmd_file_open.
7689 * shell/ev-application.h: update prototypes
7691 * shell/ev-window.c (ev_window_is_empty): impl.
7692 (ev_window_open): make public.
7693 (ev_window_cmd_file_open): use ev_application_open
7695 * shell/ev-window.h: update prototypes, remove unused.
7697 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7699 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7700 move destroy handler out of here...
7702 * shell/ev-application.c, shell/ev-application.h: ...into this new
7703 class. Also handles initial window creation.
7705 * shell/main.cc (main): use EvApplication to create initial
7708 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7710 * Makefile.am (SUBDIRS): add cut-n-paste
7712 * cut-n-paste/Makefile.am: add
7714 * configure.ac: generate Makefiles in cut-n-paste
7716 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7718 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
7719 (ev_window_class_init): install ev_window_dispose.
7721 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7723 * shell/ev-window.h, shell/ev-window.c: replace gchar with
7724 char (gchar looks stupid).
7726 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7728 * po/de.po: updated German translation.
7730 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
7732 * configure.ac: add more pkg-config library checks for gnome-vfs,
7735 * gpdf/configure.in: temporarily disable libpaper
7736 checks. Otherwise I'd have to add the checks for the shell, too.
7738 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7740 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
7741 and * file filters to the file choose.
7743 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7745 * po/de.po: Updated German translation.
7747 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7749 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
7751 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7753 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
7755 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
7756 (ev_window_init): implement those menuitems.
7758 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7760 * data/evince-ui.xml: add a toolbar (with FileOpen action)
7762 * shell/ev-window.c (ev_window_init): use the toolbar.
7764 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7766 * shell/ev-window.c (ev_window_init): use menu translations
7768 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7770 * configure.ac: add "de" to ALL_LINGUAS.
7772 * po/de.po: add German translation.
7774 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7776 * Makefile.am (SUBDIRS): add po
7778 * configure.ac: check intltool, glib-gettext etc, generate
7781 * po, po/POTFILES.in, po/POTFILES.skip: new.
7783 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
7785 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
7786 already use (#ifdef ENABLE_NLS)
7788 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
7789 pointer indirection thinko.
7791 * shell/main.c: include gi18n.h for bindtextdomain etc.
7793 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7795 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
7796 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
7797 tooltips for menu items in the statusbar.
7799 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7801 * configure.ac, data/Makefile.am, shell/Makefile.am: use
7802 pkgdatadir drop UIDIR
7804 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7806 * data/evince-ui.xml: Add File->Open menu item
7808 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
7809 chooser), hook it up in the ui manager.
7811 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7813 * shell/ev-window.c: fix Help->About tooltip.
7815 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7817 * configure.ac: set CFLAGS for libevprivate.
7819 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
7820 definitions, factory etc.
7822 * lib/Makefile.am: build libevprivate.a (only stock icon code).
7824 * shell/Makefile.am: link against libevprivate.a.
7826 * shell/ev-window.c (entries): add stock icon to Help->About.
7828 * shell/main.c (main): init stock icon code.
7830 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7832 * lib/recent-files: egg recent files code
7834 * lib/Makefile.am: add.
7836 * Makefile.am: add lib subdir.
7838 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
7839 set CFLAGS for recent-files.
7841 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7843 * configure.ac: disable -ansi and -pedantic gcc flags. They
7844 disable POSIX stuff in stdio.h, but egg-recent uses them.
7846 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7848 * configure.ac: add --disable-deprecated flag (defaults to on in
7851 * shell/Makefile.am (INCLUDES): use it.
7853 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7855 * shell/main.c: add missing #include.
7857 * shell/ev-window.c: fix for pedantic gcc.
7858 (ev_window_cmd_help_about): split license into paragraphs for
7859 translators and pedantic compilers.
7861 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7863 * configure.ac: add more warning flags if compiling with gcc from
7864 cvs (or explicitly requested with --enable-more-warnings).
7866 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7868 * data/evince-ui.xml: add File and File->Close menu.
7870 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
7871 (ev_window_destroy): quit after destroy.
7872 (ev_window_class_init): override GtkObject::destroy.
7873 (entries): install close_window callback.
7875 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7877 * Makefile.am (SUBDIRS): add data subdir.
7879 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
7880 gtk+ 2.5.0 for GtkAboutDialog.
7882 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
7885 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
7887 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
7889 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
7891 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
7893 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
7895 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7897 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
7899 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7901 * shell/*: Added shell directory boilerplate, build it.
7903 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
7905 * configure.ac, Makefile.am: Added top-level configure.ac and