1 2006-02-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * shell/ev-print-job.c: (idle_print_handler):
5 Inverse order printing, bug #320919.
7 2006-02-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
9 * data/evince-toolbar.xml:
12 Allow to add sidebar checkbutton on toolbar. Fix
15 2006-02-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
17 * ps/ps-document.c: (push_pixbuf), (setup_pixmap):
19 Add checks that have sense for empty ps document.
21 2006-02-15 Luca Ferretti <elle.uca@libero.it>
23 * configure.ac: Include PS in mime types list.
25 2006-02-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
28 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
30 * ps/ps-document.c: (start_interpreter), (ps_document_load):
32 Runtime check for gs interpreter. Fix for the bug #320868.
33 Thanks to Antoine Dopffer antoine.dopffer@free.fr
35 2006-02-12 Carlos Garcia Campos <carlosgc@gnome.org>
37 * shell/ev-application.c:
39 Use DBUS_NAME_FLAG_DO_NOT_QUEUE flag in RequestName method when
40 dbus>=0.60, so that the request is not queued.
42 2006-02-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
46 * shell/ev-sidebar-links.c: (print_section_cb):
49 * shell/ev-window.c: (update_action_sensitivity),
50 (ev_window_close_dialogs), (ev_window_print):
53 Make printing support optional. Patch from Eduardo de Barros Lima
54 <eduardo.lima@indt.org.br> for the bug #330546.
56 2006-02-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
58 * shell/ev-view-private.h:
59 * shell/ev-view.c: (ev_view_expose_event), (ev_view_set_loading),
60 (ev_view_set_document):
62 * shell/ev-window.c: (ev_window_load_job_cb),
63 (ev_window_xfer_job_cb), (ev_window_open_uri), (ev_window_dispose),
66 Draw Loading message during xfer job. Fix for the bug #329495.
68 2006-02-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
70 * comics/comics-document.c: (comics_regex_quote),
71 (comics_document_load), (extract_argv):
73 Correcly quote regexp before passing it to unzip.
75 2006-02-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
77 * shell/ev-page-cache.c: (build_height_to_page),
78 (ev_page_cache_new), (ev_page_cache_get_max_label_chars),
79 (ev_page_cache_get_dual_even_left):
80 * shell/ev-page-cache.h:
81 * shell/ev-view.c: (view_update_range_and_current_page),
82 (get_page_y_offset), (get_page_extents):
84 Place even pages to the left if document has less then
85 two pages. Fix for the bug #328856.
87 2006-01-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
89 * thumbnailer/evince-thumbnailer-comics.schemas.in:
91 Correct comics scheme. This make evince create thumbnails
92 for comic books. Fix for the bug 329088.
94 2006-01-31 Christopher Aillon <caillon@redhat.com>
96 * data/evince-password.glade: Don't explicitly set
97 invisible_char to the current default value in case
98 the default changes; let GTK+ do its magic.
100 2006-01-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
102 * shell/ev-job-xfer.c: (ev_job_xfer_run): Append
103 real filename to tmp filename since often document
104 type is determined by extension.
106 2006-01-24 Ricardo Markiewicz <rmarkie@fi.uba.ar>
108 * shell/ev-view.c: (add_scroll_binding_keypad),
109 (ev_view_binding_activated), (ev_view_class_init):
111 Add keybindings for percision-scrolling of display area.
112 Fix for the bug #314072.
114 2006-01-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
116 * shell/ev-view.c: (add_scroll_binding_keypad),
117 (ev_view_binding_activated), (ev_view_class_init):
119 2006-01-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
121 * data/evince.desktop.in.in:
123 Add GTK to the list of categories. Fix for the bug #328034.
125 2006-01-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
127 * shell/ev-application.c: (ev_application_shutdown),
128 (ev_application_set_chooser_uri), (ev_application_get_chooser_uri):
129 * shell/ev-application.h:
130 * shell/ev-window.c: (file_open_dialog_response_cb),
131 (ev_window_cmd_file_open):
133 Save last uri in file chooser dialog. Fix for the bug #327950.
135 2006-01-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
140 Final update for release 0.5.0
144 Remove disable deprecated until we'll require libgnome-2.13.7
145 and port to GOption argument parsing. See bug 327518.
147 2006-01-19 Jani Monoses <jani.monoses@gmail.com>
149 * comics/comics-document.c: (comics_document_save):
150 * djvu/djvu-document.c: (djvu_document_save):
151 * dvi/dvi-document.c: (dvi_document_save):
152 * lib/ev-file-helpers.c: (ev_tmp_filename), (ev_xfer_uri_simple):
153 * lib/ev-file-helpers.h:
154 * pixbuf/pixbuf-document.c: (pixbuf_document_save):
155 * tiff/tiff-document.c: (tiff_document_save):
157 Use common save function for backends.
159 2006-01-18 Jani Monoses <jani.monoses@gmail.com>
161 * backend/ev-document-types.c:
163 Fix crash on saving pixbuf.
165 2006-01-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
167 * cut-n-paste/recent-files/egg-recent-item.c:
168 (get_uri_shortname_for_display), (egg_recent_item_get_short_name):
169 * cut-n-paste/recent-files/egg-recent-model.c: (parse_info_init),
170 (parse_info_free), (valid_element), (start_element_handler),
171 (end_element_handler), (text_handler), (egg_recent_model_filter),
172 (egg_recent_model_monitor_cb), (egg_recent_model_poll_timeout),
173 (egg_recent_model_monitor), (egg_recent_model_read),
174 (egg_recent_model_open_file), (egg_recent_model_lock_file),
175 (egg_recent_model_unlock_file), (egg_recent_model_finalize),
176 (egg_recent_model_set_property), (egg_recent_model_class_init),
177 (egg_recent_model_init), (egg_recent_model_add_full),
178 (egg_recent_model_delete), (egg_recent_model_get_list),
179 (egg_recent_model_clear), (egg_recent_model_clear_mime_filter),
180 (egg_recent_model_set_filter_mime_types),
181 (egg_recent_model_clear_group_filter),
182 (egg_recent_model_set_filter_groups),
183 (egg_recent_model_clear_scheme_filter),
184 (egg_recent_model_set_filter_uri_schemes),
185 (egg_recent_model_remove_expired):
186 * cut-n-paste/recent-files/egg-recent-util.c:
187 (egg_recent_util_get_icon):
188 * cut-n-paste/recent-files/egg-recent-util.h:
189 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
190 (connect_proxy_cb), (egg_recent_view_uimanager_set_list),
191 (egg_recent_view_uimanager_set_empty_list), (model_changed_cb),
192 (egg_recent_view_uimanager_set_property),
193 (egg_recent_view_uimanager_get_property),
194 (egg_recent_view_uimanager_class_init),
195 (egg_recent_view_uimanager_init),
196 (egg_recent_view_uimanager_set_label_width),
197 (egg_recent_view_uimanager_get_label_width):
198 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
199 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
200 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
201 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
202 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
203 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
207 2006-01-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
209 * shell/ev-page-cache.c: (build_height_to_page),
210 (ev_page_cache_get_height_to_page):
211 * shell/ev-page-cache.h:
212 * shell/ev-view.c: (view_update_range_and_current_page),
213 (get_page_y_offset), (get_page_extents), (ev_view_next_page),
214 (ev_view_previous_page):
216 Dual mode places even pages to the left. Fix for the bug #309393.
219 * shell/ev-window.c: (update_action_sensitivity),
220 (setup_view_from_metadata), (view_menu_popup_cb):
222 Don't restore presentation in empty windows, more intelligent
223 next page behaviour in dual mode.
225 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
226 (ev_pixbuf_cache_clear_job_sizes):
228 Cleanup job callback on removal. Fix for the bug #325886.
230 2006-01-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
234 Commit workaround Mozilla problem. Fix for the bug #325919
236 * shell/ev-metadata-manager.c: (parse_value), (parseItem),
239 Fix for year 2038 problem.
241 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
243 * shell/ev-window.c: (setup_document_from_metadata),
244 (ev_window_cmd_view_reload):
246 Clamp page recieved from metadata in valid values. Fix
249 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
252 Add MAINTAINERS as requested on desktop-devel-list.
254 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
256 * backend/ev-document-factory.c: (gdk_pixbuf_mime_type_list),
257 (mime_type_supported_by_gdk_pixbuf),
258 (ev_document_factory_get_mime_types),
259 (ev_document_factory_get_all_mime_types):
261 Don't add pixbuf mime types if pixbuf backend is disabled.
263 * shell/ev-application.c: (ev_application_get_uri_window):
265 Fix for the bug 325815 - unhandled MIME type message doesn't
266 appear a second time.
268 * shell/ev-document-types.c: (ev_document_types_add_filters):
269 * shell/ev-window.c: (page_changed_cb), (ev_window_setup_document),
270 (password_dialog_response), (ev_window_popup_password_dialog),
271 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
272 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
273 (ev_window_run_presentation), (ev_window_stop_presentation),
274 (save_sizing_mode), (ev_window_zoom_changed_cb),
275 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
276 (ev_window_dual_mode_changed_cb),
277 (ev_window_sidebar_current_page_changed_cb),
278 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
279 (window_state_event_cb), (window_configure_event_cb):
281 Cleanup additional uris holded by EvWindow.
283 2006-01-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
285 * shell/ev-view.c: (ev_view_scroll), (ev_view_previous_page),
286 (ev_view_can_previous_page), (ev_view_can_next_page):
288 * shell/ev-window.c: (update_action_sensitivity):
290 Two page scrolling with Space and PageUp in dual mode. Second fix
293 2006-01-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
295 * shell/ev-view.c: (scroll_to_current_page):
297 Correctly clamp adjustment value. Fix for the bug
300 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
302 * shell/ev-sidebar-links.c: (print_section_cb):
303 * shell/ev-window.c: (ev_window_get_uri),
304 (ev_window_close_dialogs), (ev_window_open_uri), (ev_window_print),
305 (ev_window_print_dialog_response_cb), (ev_window_print_range),
308 Make print dialog non-modal. Fix for the bug #325622.
310 2006-01-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
312 * shell/ev-metadata-manager.c:
313 * shell/ev-utils.c: (using_pdf_printer),
314 (using_postscript_printer), (load_print_config_from_file),
315 (save_print_config_to_file):
317 * shell/ev-window.c: (update_sizing_buttons), (page_changed_cb),
318 (update_sidebar_visibility), (setup_sidebar_from_metadata),
319 (setup_view_from_metadata), (ev_window_setup_document),
320 (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
321 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
322 (ev_window_run_presentation), (ev_window_stop_presentation),
323 (save_sizing_mode), (ev_window_zoom_changed_cb),
324 (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
325 (ev_window_dual_mode_changed_cb),
326 (ev_window_sidebar_current_page_changed_cb),
327 (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
328 (window_state_event_cb), (window_configure_event_cb),
331 Setting saving behaviour fixes.
333 2005-12-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
337 Make antialiasing gs options better and allow
338 to change them during configure. Fix for the
341 2005-12-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
343 * shell/ev-window.c: (setup_view_from_metadata):
345 Remember if last window was maximized. Fix for the
348 2005-12-28 Abel Cheung <maddog@linuxhall.org>
350 * configure.ac: Added "zh_HK" to ALL_LINGUAS.
352 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
354 * backend/ev-link.c: (ev_link_get_page), (ev_link_init):
355 * shell/ev-page-action.c: (build_new_tree_cb):
356 * shell/ev-sidebar-links.c: (links_page_num_func),
357 (update_page_callback_foreach), (update_page_callback):
358 * shell/ev-view.c: (scroll_to_current_page):
360 Fix for the bug #325067 with more intelligent selection
361 of current link in sidebar. Make sidebar handle links
362 of FITR-like type more correctly.
364 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
365 (dvi_pixbuf_put_pixel):
367 Fix memory consumtion with disabled alpha channel.
369 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
371 * data/evince-ui.xml:
372 * shell/ev-window.c: (view_menu_popup_cb),
373 (ev_popup_cmd_open_link), (ev_window_init):
375 Update context menu for internal links. Fix for the bug
378 2005-12-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
380 * shell/ev-view.c: (ev_view_popup_menu), (ev_view_class_init):
382 Bind context menu to keyboard also. Fix for the bug
385 2005-12-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
387 * shell/ev-view.c: (selection_scroll_timeout_cb):
389 Horizontal scroll on selection also.
391 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
393 * shell/ev-metadata-manager.c: (parse_value):
394 * shell/ev-view.c: (goto_xyz_link):
396 Correct zoom setup and metadata save broken in
399 2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
401 * shell/ev-view-private.h:
402 * shell/ev-view.c: (scroll_to_current_page),
403 (view_set_adjustment_values), (goto_fitr_link), (goto_fitv_link),
404 (goto_fith_link), (goto_fit_link), (goto_xyz_link),
405 (page_changed_cb), (ev_view_set_continuous),
406 (ev_view_set_dual_page), (ev_view_set_presentation):
408 Delay scroll until allocation to correctly position page. Fix
411 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
416 Update NEWS and require poppler 0.5.0.
418 2005-12-25 Carlos Garcia Campos <carlosgc@gnome.org>
420 * data/evince-ui.xml:
421 * shell/ev-view-private.h:
422 * shell/ev-view.c: (ev_view_get_link_at_location),
423 (handle_link_over_xy), (ev_view_button_press_event),
424 (ev_view_button_release_event), (ev_view_class_init):
425 * shell/ev-window.c: (view_menu_popup_cb), (ev_window_dispose),
426 (ev_popup_cmd_open_link), (ev_popup_cmd_copy_link_address),
429 Implement right-click context menu.
431 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
433 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
434 * dvi/pixbuf-device.c: (dvi_pixbuf_create_image),
435 (mdvi_pixbuf_device_render):
438 Don't generate thumbnails with alpha. See bug #324077.
439 Thanks to Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>.
441 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
443 * shell/ev-window.c: (setup_chrome_from_metadata):
445 Fix typo that was hiding toolbar.
447 2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
449 * shell/ev-view-private.h:
450 * shell/ev-view.c: (ev_view_realize), (selection_update_idle_cb),
451 (selection_scroll_timeout_cb), (ev_view_motion_notify_event),
452 (ev_view_button_release_event), (ev_view_destroy):
454 Small cleanup and autoscrolling during selection. Thanks to
455 Ricardo Markiewicz <rmarkie@fi.uba.ar>.
457 2005-12-22 Jani Monoses <jani.monoses@gmail.com>
461 Correctly check for comics option.
463 2005-12-21 Eduardo Lima <eduardo.lima@indt.org.br>
466 * backend/Makefile.am:
467 * backend/ev-document-factory.c:
468 * shell/ev-document-types.c:
470 Included option in configure to make ps backend
471 compilation optional with --disable-ps.
473 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
475 * backend/ev-document-factory.c:
476 * comics/Makefile.am:
477 * comics/comics-document.c: (comics_document_load):
478 * comics/ev-cbr-mime.xml:
481 Comics mime types are added to shared-mime-info CVS. Now
482 we don't need to install our own mime types.
484 2005-12-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
488 Add shortcut for "save a copy" menu entry. Fix for
491 2005-12-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
493 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
494 (job_finished_cb), (new_selection_pixbuf_needed),
495 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
496 (clear_job_selection), (ev_pixbuf_cache_set_selection_list):
498 Rework selection job info logic and fix critical warning.
500 2005-12-17 Abel Cheung <maddog@linuxhall.org>
502 * configure.ac: Added "cy" "fa" "mk" "vi" to ALL_LINGUAS.
504 2005-11-27 Jaap A. Haitsma <jaap@haitsma.org>
506 * data/evince-ui.xml:
507 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
509 Enter as shortcut key for next page. Fix for the bug
512 2005-11-18 Ales Nyakhaychyk <nab@mail.by>
514 * configure.ac: Added "be" (Belarusian) to ALL_LINGUAS.
516 2005-11-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
518 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
519 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
520 (new_selection_pixbuf_needed),
521 (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
522 (clear_job_selection):
524 Too early for 0.5. Pixbuf cache code cleaned a bit.
526 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
531 Release 0.5.0 preparation
533 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
535 * comics/Makefile.am:
537 * shell/ev-document-types.c: (ev_document_types_add_filters):
539 More advanced handling of custom mime type installation.
541 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
543 * data/evince.schemas.in:
544 * shell/ev-metadata-manager.c: (value_free),
545 (ev_metadata_manager_get_last), (ev_metadata_manager_set_last),
546 (ev_metadata_manager_get), (ev_metadata_manager_set):
547 * shell/ev-metadata-manager.h:
548 * shell/ev-window.c: (update_chrome_flag),
549 (ev_window_cmd_focus_page_selector), (update_sidebar_visibility),
550 (setup_document_from_metadata), (setup_chrome_from_metadata),
551 (setup_sidebar_from_metadata), (setup_view_from_metadata),
552 (ev_window_cmd_edit_find), (ev_window_cmd_escape),
553 (ev_window_view_toolbar_cb),
554 (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb),
555 (view_actions_focus_in_cb), (ev_window_init), (ev_window_new):
557 Save last document settings and reuse them for new documents.
559 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
562 * backend/Makefile.am:
563 * backend/ev-document-factory.c:
564 * backend/ev-document-factory.h:
565 * comics/Makefile.am:
566 * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
567 (comics_document_load), (comics_document_save),
568 (comics_document_get_n_pages), (comics_document_get_page_size),
569 (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize),
570 (comics_document_class_init), (comics_document_can_get_text),
571 (comics_document_get_info), (comics_document_document_iface_init),
572 (comics_document_init), (get_supported_image_extensions),
573 (comics_document_thumbnails_get_geometry),
574 (comics_document_thumbnails_get_thumbnail),
575 (comics_document_thumbnails_get_dimensions),
576 (comics_document_document_thumbnails_iface_init), (extract_argv):
577 * comics/comics-document.h:
578 * comics/ev-cbr-mime.xml:
581 * shell/ev-application.c: (ev_application_register_service):
582 * shell/ev-document-types.c: (ev_document_types_add_filters):
583 * thumbnailer/Makefile.am:
584 * thumbnailer/evince-thumbnailer-comics.schemas.in:
586 New CBR/CBZ backend for comic books.
588 2005-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
590 * shell/main.c: (load_files_remote):
592 Thanks to Robert McQueen <robot101@debian.org>. Dbus
593 warning on startup of second instance is fixed. It
596 2005-10-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
598 * shell/ev-window.c: (ev_window_finalize):
600 Fix double free that cause crash.
602 2005-10-29 Bastien Nocera <hadess@hadess.net>
604 * tiff/tiff-document.c: (tiff_document_load):
608 2005-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
612 * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
613 (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
614 (ev_view_accessible_get_text),
615 (ev_view_accessible_get_character_at_offset),
616 (ev_view_accessible_get_text_before_offset),
617 (ev_view_accessible_get_text_at_offset),
618 (ev_view_accessible_get_text_after_offset),
619 (ev_view_accessible_get_character_count),
620 (ev_view_accessible_get_caret_offset),
621 (ev_view_accessible_set_caret_offset),
622 (ev_view_accessible_get_run_attributes),
623 (ev_view_accessible_get_default_attributes),
624 (ev_view_accessible_get_character_extents),
625 (ev_view_accessible_get_offset_at_point),
626 (ev_view_accessible_get_n_selections),
627 (ev_view_accessible_get_selection),
628 (ev_view_accessible_add_selection),
629 (ev_view_accessible_remove_selection),
630 (ev_view_accessible_set_selection),
631 (ev_view_accessible_text_iface_init),
632 (ev_view_accessible_idle_do_action),
633 (ev_view_accessible_action_do_action),
634 (ev_view_accessible_action_get_n_actions),
635 (ev_view_accessible_action_get_description),
636 (ev_view_accessible_action_get_name),
637 (ev_view_accessible_action_set_description),
638 (ev_view_accessible_action_iface_init),
639 (ev_view_accessible_get_type), (ev_view_accessible_new),
640 (ev_view_accessible_factory_get_accessible_type),
641 (ev_view_accessible_factory_create_accessible),
642 (ev_view_accessible_factory_class_init),
643 (ev_view_accessible_factory_get_type):
644 * shell/ev-view-accessible.h:
645 * shell/ev-view-private.h:
646 * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
649 Initial accessibility support.
651 2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com>
653 * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
655 2005-10-26 Hubert Figuiere <hfiguiere@teaser.fr>
657 * shell/ev-print-job.c: (idle_print_handler):
659 Fix for bug Bug 318916: Printing multiple pages.
661 2005-10-20 Runa Bhattacharjee <runa@bengalinux.org>
663 * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
665 2005-10-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
669 Thumnail dimensions unified with other backends.
671 * shell/ev-window-title.c: (ev_window_title_update):
675 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
677 * data/ev-stock-zoom-fit-width.png:
681 2005-10-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
684 * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
685 (djvu_document_finalize):
686 * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
687 (dvi_document_finalize):
688 * pixbuf/pixbuf-document.c: (pixbuf_document_load),
689 (pixbuf_document_save), (pixbuf_document_finalize):
690 * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
691 (tiff_document_finalize):
693 Save a copy implemented for various backends.
695 2005-10-17 Daniel Gryniewicz <dang@gentoo.org>
699 Don't link with ltiff if tiff is disabled.
701 2005-10-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
703 * pdf/GDKSplashOutputDev.cc:
704 * pdf/GDKSplashOutputDev.h:
707 * pdf/pdf-document.cc:
708 * pdf/pdf-document.h:
709 * pdf/test-gdk-output-dev.cc:
711 Remove old unused files.
713 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
715 * shell/ev-window.c: (ev_window_setup_document):
717 Fixed warnings on reload and probably crash reason.
719 2005-10-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
721 * properties/ev-properties-view.c:
722 (ev_properties_view_format_date):
724 Check if date is invalid. Fix for bug 318134.
726 2005-10-02 Wouter Bolsterlee <uws+gnome@xs4all.nl>
728 * shell/ev-window-title.c:
730 Add .indd files (Adobe Indesign) to the list of "bad
733 2005-10-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
735 * data/evince-ui.xml:
736 * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
738 Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
740 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
742 * shell/ev-window.c: (launch_link), (launch_external_uri),
743 (view_external_link_cb):
745 URL-escape link before passing it to gnome_vfs_url_show.
747 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
749 * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
750 there isn't text selected.
752 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com>
754 * shell/ev-view.c: (handle_link_over_xy):
756 Check tooltip is valid utf8 before showing it
758 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org>
760 * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
762 2005-09-27 Christian Persch <chpe@cvs.gnome.org>
764 * shell/ev-window-title.c: (ev_window_title_update):
766 Guard against using g_strstrip on NULL. Fixes bug #317291.
768 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
772 Show title even for unknown links
774 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
776 * shell/ev-window-title.c: (ev_window_title_update):
778 Strip the title string
780 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
782 * shell/ev-window-title.c:
784 Add .rtf to the bad extensions list
786 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
788 * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
789 (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
791 Ignore link coordinates if they are outside page bounds
793 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com>
795 * backend/ev-link.c: (ev_link_type_get_type),
796 (ev_link_get_filename), (ev_link_get_params),
797 (ev_link_get_property), (ev_link_set_property),
798 (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
801 * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
802 * shell/ev-window.c: (launch_link), (view_external_link_cb),
805 Implement launch links. Delegate external link opening to
808 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
810 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
811 (ev_link_get_right), (ev_link_get_property),
812 (ev_link_set_property), (ev_link_class_init),
813 (ev_link_new_page_fitv), (ev_link_new_page_fitr):
816 * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
820 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
822 * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
823 (goto_fitv_link), (goto_fith_link), (goto_fit_link),
824 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
825 (ev_view_size_request_continuous),
826 (ev_view_size_request_dual_page),
827 (ev_view_size_request_single_page), (ev_view_size_allocate),
828 (ev_view_zoom_for_size_continuous_and_dual_page),
829 (ev_view_zoom_for_size_continuous),
830 (ev_view_zoom_for_size_dual_page),
831 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
832 (ev_sizing_mode_get_type):
834 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
836 Do not use modes for link, we need to calculate size ad hoc.
837 Still not perfect because of the usual scrollbar issues grrr.
839 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
841 * backend/ev-link.c: (ev_link_type_get_type),
842 (ev_link_new_page_fith), (ev_link_new_page_fitv):
845 * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
846 (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
847 (ev_view_size_request_continuous),
848 (ev_view_size_request_dual_page),
849 (ev_view_size_request_single_page), (ev_view_size_allocate),
850 (zoom_for_size_fit_height),
851 (ev_view_zoom_for_size_continuous_and_dual_page),
852 (ev_view_zoom_for_size_continuous),
853 (ev_view_zoom_for_size_dual_page),
854 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
855 (ev_sizing_mode_get_type):
857 * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
859 Implement FIT_HEIGHT mode (only for links).
862 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
864 * shell/ev-window-title.c: (get_filename_from_uri),
865 (ev_window_title_sanitize_extension), (ev_window_title_update),
866 (ev_window_title_set_document), (ev_window_title_set_uri),
867 (ev_window_title_free):
868 * shell/ev-window-title.h:
869 * shell/ev-window.c: (ev_window_setup_document),
870 (ev_window_popup_password_dialog):
872 Refactor window title building while fixing it for
875 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com>
879 Escape link title before setting it in the model
881 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com>
883 * shell/ev-application.c: (removed_from_session), (save_session),
884 (init_session), (ev_application_get_empty_window),
885 (ev_application_init), (ev_application_get_windows):
886 * shell/ev-application.h:
887 * shell/ev-window.c: (ev_window_finalize):
889 Add a function to retrieve window list and share it where
891 Implement session handling, works pretty well thanks to the
894 2005-09-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
896 * shell/ev-password.c: (ev_password_item_created_callback),
897 (ev_password_dialog_save_password):
899 Fix for bug 316972. Use async gnome-keyring API.
901 2005-09-22 Christian Persch <chpe@cvs.gnome.org>
903 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
904 Remove unused unrealize handler. Add scroll handling to
905 ev_view_scroll_event for presentation mode (bug #316708),
906 and fix the event state checks there.
908 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
910 * shell/ev-page-action.c: (page_changed_cb):
912 "marco, maybe we should be crazy and jump right to 6! :)"
914 Bryan Clark, Sep 2005
916 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
918 * ps/ps-document.c: (save_document), (ps_document_save),
919 (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
920 (ps_document_ps_export_end):
922 Fix unstructured documents save and print
924 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
926 * shell/ev-application.c: (ev_application_open_uri):
928 Fix window size persistance
930 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com>
932 * shell/ev-view.c: (ev_view_button_release_event):
934 Based on a patch from carlosgc@gnome.org. Mouse buttons
935 switch pages in presentation mode.
937 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
939 * shell/ev-page-cache.c: (ev_page_cache_get_size):
941 Dont cast to int before scaling
943 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
945 * backend/ev-link.c: (ev_link_type_get_type),
946 (ev_link_new_page_xyz), (ev_link_new_page_fit),
947 (ev_link_new_page_fith):
950 * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
952 Implement FIT and FITH links
954 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
958 Return 0 results when search is not in progress.
960 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
961 (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
963 Update menu sensitivity when cancelling search
965 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
967 * shell/ev-view.c: (ev_view_can_find_next):
969 Take all pages in consideration, not just current one
971 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
973 * shell/ev-page-cache.c:
974 * shell/ev-page-cache.h:
975 * shell/ev-view.c: (ev_view_binding_activated),
976 (ev_view_next_page), (ev_view_previous_page),
977 (ev_sizing_mode_get_type):
979 * shell/ev-window.c: (ev_window_cmd_go_previous_page),
980 (ev_window_cmd_go_next_page):
982 Move page next/previous functions from page chace to
983 view and change it to move by 2 page steps in dual mode.
985 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
987 * shell/ev-window.c: (update_sidebar_visibility),
988 (setup_sidebar_from_metadata), (ev_window_setup_document),
989 (setup_view_from_metadata):
991 Show the index by default when there is one
993 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
995 * shell/ev-window-title.c: (ev_window_title_set_document):
999 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1001 * shell/ev-view.c: (view_update_range_and_current_page):
1003 Allow display of last odd page in dual view. Fix for 316347.
1005 2005-09-17 Wouter Bolsterlee <uws+gnome@xs4all.nl>
1007 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1009 Make close button default. Fix for 316383.
1011 2005-09-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1013 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1015 Mark close button as default. Fix for 316381.
1017 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
1019 * backend/ev-link.c: (ev_link_class_init):
1021 Allow negative doubles in left/top properties
1023 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
1025 * shell/ev-window.c:
1027 Remove a bunch of strings that was used only
1030 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
1032 * shell/ev-window-title.c: (get_filename_from_uri),
1033 (ev_window_title_set_document):
1035 When title has a confusing extension, show also
1036 the document filename inside ()
1038 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
1040 * shell/Makefile.am:
1041 * shell/ev-window-title.c: (ev_window_title_new),
1042 (ev_window_title_update), (ev_window_title_set_type),
1043 (ev_window_title_set_document), (ev_window_title_free):
1044 * shell/ev-window-title.h:
1045 * shell/ev-window.c: (ev_window_setup_document),
1046 (password_dialog_response), (ev_window_popup_password_dialog),
1047 (ev_window_dispose), (ev_window_init):
1049 Factor out and cleanup window title code
1051 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
1053 * shell/ev-window.c: (unable_to_load_dialog_response_cb),
1056 Make dialog transient so it doesnt block other windows
1058 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1060 * pdf/ev-poppler.cc:
1062 Fix pdf thumbnails rendering.
1064 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl>
1066 * shell/ev-window.c: (fullscreen_set_timeout):
1068 Increase timeout to hide full screen popup. Bug
1071 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1073 * data/evince.schemas.in:
1074 * shell/ev-window.c: (update_action_sensitivity):
1076 Allow the user to override document restrictions. Fix for bug
1079 2005-09-13 Christian Persch <chpe@cvs.gnome.org>
1081 * shell/ev-window.c: (ev_window_update_fullscreen_popup),
1082 (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
1083 (ev_window_class_init): Fix multihead behaviour of fullscreen
1084 toolbar popup. Fixes bug #315451.
1086 2005-09-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1089 * data/evince-password.glade:
1090 * shell/ev-password.c: (ev_password_dialog_set_property),
1091 (ev_password_dialog_finalize), (ev_password_dialog_class_init),
1092 (ev_password_dialog_init), (ev_password_set_bad_password_label),
1093 (ev_password_dialog_entry_changed_cb),
1094 (ev_password_dialog_entry_activated_cb),
1095 (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
1096 (ev_password_search_in_keyring), (ev_password_dialog_get_password),
1097 (ev_password_dialog_set_bad_pass):
1098 * shell/ev-password.h:
1099 * shell/ev-window.c: (password_dialog_response),
1100 (ev_window_popup_password_dialog):
1102 Support for gnome-keyring for encrypted PDF's.
1104 2005-09-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1106 * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
1107 (ev_view_motion_notify_event), (ev_view_leave_notify_event),
1108 (ev_view_enter_notify_event), (ev_view_class_init):
1110 More precise handling of enter_notify/leave_notify events
1111 in EvView. Fix for bug 315470.
1113 2005-09-08 Christopher Aillon <caillon@redhat.com>
1115 * shell/ev-window.c: (fullscreen_timeout_cb),
1116 (fullscreen_set_timeout), (fullscreen_clear_timeout),
1117 (ev_window_dispose):
1119 leak fix: unref fullscreen_timeout_source before clearing it
1121 2005-09-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1123 * configure.ac, dvi/mdvi/Makefile.am:
1125 Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
1127 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1129 * backend/ev-link.c: (ev_link_new_page_xyz):
1130 * pdf/ev-poppler.cc:
1131 * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
1133 Fix some bugs with xyz links, respect zoom
1135 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1137 * shell/ev-window.c: (page_changed_cb),
1138 (setup_document_from_metadata), (update_sidebar_visibility),
1139 (setup_view_from_metadata), (ev_window_run_fullscreen),
1140 (ev_window_stop_fullscreen), (ev_window_run_presentation),
1141 (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
1142 (ev_window_dual_mode_changed_cb),
1143 (ev_window_sidebar_current_page_changed_cb):
1145 null check uri before setting and getting metadata
1147 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1150 * properties/Makefile.am:
1151 * shell/Makefile.am:
1152 * thumbnailer/Makefile.am:
1154 Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
1156 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1158 * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
1159 (selection_changed_callback):
1160 * shell/ev-sidebar-links.h:
1162 Add a signal for link activation.
1164 * shell/ev-view.c: (ev_view_goto_link),
1165 (ev_view_button_release_event):
1167 * shell/ev-window.c: (sidebar_links_link_activated_cb),
1170 Implement the signal so that we can handle all link types.
1172 * shell/ev-page-cache.c:
1174 Remove unused set_link function
1176 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com>
1178 * lib/ev-tooltip.c: (ev_tooltip_set_position):
1180 Add some space from the cursor, hardcoded but I couldnt
1183 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
1187 Use mozilla style vs gtk style, way better for links.
1189 * shell/ev-view.c: (ev_view_motion_notify_event),
1190 (ev_view_destroy), (ev_view_init):
1192 Deactive tooltip when the link hovered is changed.
1194 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com>
1196 * backend/ev-document.h:
1197 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
1198 (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
1199 (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
1200 (ev_link_new_page), (ev_link_new_page_xyz):
1201 * backend/ev-link.h:
1202 * pdf/ev-poppler.cc:
1203 * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
1204 (go_to_link), (tip_from_link):
1206 Implement xyz links, still not functional. Links are a total
1207 mess, will need to refactor and bugfix a lot :(
1209 2005-09-05 Alessio Frusciante <algol@firenze.linux.it>
1211 * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
1213 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1215 * data/evince-ui.xml:
1216 * data/evince.schemas.in:
1217 * shell/Makefile.am:
1218 * shell/ev-window.c: (update_chrome_visibility),
1219 (password_dialog_response), (ev_window_load_job_cb),
1220 (ev_window_xfer_job_cb), (ev_window_open_uri),
1221 (ev_window_class_init), (set_chrome_actions), (load_chrome),
1224 Remove the statusbar. This regress loading feedback, need to
1225 check with Bryan what we want to do there...
1227 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1229 * lib/ev-tooltip.c: (ev_tooltip_init):
1231 Fix tooltip border and size handling
1233 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
1235 * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
1236 (ev_tooltip_set_position), (ev_tooltip_recently_shown),
1237 (ev_tooltip_timeout), (ev_tooltip_activate),
1238 (ev_tooltip_deactivate):
1240 * shell/ev-view.c: (ev_view_motion_notify_event):
1242 Delay popup showing. Mirror gtk logic/times.
1244 2005-09-03 Marco Pesenti Gritti <mpg@redhat.com>
1247 * lib/ev-tooltip.c: (ev_tooltip_expose_event),
1248 (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
1249 (ev_tooltip_set_text), (ev_tooltip_set_position):
1252 Simple widget to show tooltips at a custom position
1254 * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
1257 Use it for links. First go, needs work
1259 2005-08-17 Dennis Cranston <dennis_cranston@yahoo.com>
1261 * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small
1262 HIG fixes. Use title capitalization for window title. Use 12
1263 pixels of space between the dialog's vbox and action area.
1265 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1267 * shell/ev-window.c: (file_open_dialog_response_cb),
1268 (ev_window_cmd_file_open), (file_save_dialog_response_cb),
1269 (ev_window_cmd_save_as):
1271 Make file pickers not modal and refactor code some
1273 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1275 * shell/ev-sidebar.h:
1276 * shell/ev-sidebar.c: (ev_sidebar_set_property),
1277 (ev_sidebar_get_current_page), (ev_sidebar_get_property),
1278 (ev_sidebar_class_init), (ev_sidebar_select_page),
1279 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
1280 (ev_sidebar_set_page):
1282 Add a current page property and allow to get/set it
1284 * shell/ev-window.c: (setup_view_from_metadata),
1285 (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
1287 Persist current sidebar page per document
1289 2005-09-02 Marco Pesenti Gritti <mpg@redhat.com>
1291 * data/evince.schemas.in:
1292 * shell/ev-window.c: (update_chrome_visibility),
1293 (setup_document_from_metadata), (update_sidebar_visibility),
1294 (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
1295 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1296 (ev_window_run_presentation), (ev_window_stop_presentation),
1297 (ev_window_view_sidebar_cb),
1298 (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
1299 (load_chrome), (ev_window_init):
1301 Persist size/visibility of sidebar per document
1303 Fri Sep 2 00:59:55 2005 Jonathan Blandford <jrb@redhat.com>
1305 * shell/ev-view.c (draw_loading_text): Draw loading text.
1307 2005-09-02 Dan Damian <dand@gnome.ro>
1309 * configure.in: Added "ro" to ALL_LINGUAS.
1311 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1313 * shell/ev-view.c: (clear_caches):
1315 ev_page_cache_get doesnt return a reference,
1316 dont try to unref it.
1318 2005-09-01 Marco Pesenti Gritti <mpg@redhat.com>
1320 * shell/main.c: (load_files_remote):
1322 Fix timestamp parameter with dbus <= 0.33
1324 2005-08-31 Marco Pesenti Gritti <mpg@redhat.com>
1326 * data/evince.schemas.in:
1328 Add missing full stop
1330 2005-08-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
1332 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
1333 * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
1335 Plug some memory leaks
1337 2005-08-29 Christian Persch <chpe@cvs.gnome.org>
1340 * lib/ev-debug.c: (trap_handler):
1342 Check for execinfo.h and use it only if it exists.
1343 Ported from Epiphany (bug #314776).
1345 2005-08-29 Duarte Loreto <happyguy_pt@hotmail.com>
1347 * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
1349 2005-08-27 Mohammad DAMT <mdamt@gnome.org>
1351 * configure.ac: Added Indonesian "id" to ALL_LINGUAS
1352 * po/id.po : Added Indonesian translation
1354 Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com>
1357 * shell/ev-application.c: Last minute GTK-2.6 fixes.
1358 * NEWS: Release 0.4.0
1360 Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
1362 * configure.ac: catch another gtk+-2.8ism
1363 * shell/main.c: Make work with gtk+-2.6
1365 2005-08-25 Ryan Lortie <desrt@desrt.ca>
1367 * shell/ev-application-service.xml: Add 'timestamp' argument to
1368 ev_application_open_window and ev_application_open_uri methods.
1370 * shell/ev-application.h: Add 'timestamp' argument to
1371 ev_application_open_window, ev_application_open_uri,
1372 and ev_application_open_uri_list functions.
1374 * shell/ev-application.c (ev_application_open_window,
1375 ev_application_open_uri, ev_application_open_uri_list): Change
1376 functions that show/present windows to use a timestamp if one
1379 * shell/ev-window.c (ev_window_cmd_file_open,
1380 ev_window_cmd_recent_file_activate, drag_data_received_cb):
1381 * shell/main.c (load_files): Modify calls to ev_application to
1382 include GDK_CURRENT_TIME as timestamp.
1384 * shell/main.c (load_files_remote): Obtain timestamp for client
1385 instance from GDK and pass to server instance so new windows are
1386 focused properly. Fix dbus_g_proxy_call() calls by including second
1391 Thu Aug 25 22:13:08 2005 Jonathan Blandford <jrb@redhat.com>
1393 * shell/ev-window.c (ev_window_finalize): Check for
1394 avail. EvWindows when quiting to handle the finalize better,
1397 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1399 * properties/ev-properties-view.c:
1401 Set textdomain to libglade. Fixes translation problem in property page.
1403 2005-08-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1405 * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
1407 * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
1408 * dvi/mdvi-lib/Makefile.am:
1410 Fix rotation of thumbnails, ported to new API. Moved library
1411 dependencies earlier, probably it will fix linkage problem.
1413 Thu Aug 25 02:32:32 2005 Jonathan Blandford <jrb@redhat.com>
1415 * backend/ev-document-misc.c:
1416 (ev_document_misc_get_thumbnail_frame):
1417 * backend/ev-document-misc.h:
1419 * pdf/ev-poppler.cc:
1420 * shell/Makefile.am:
1421 * shell/ev-sidebar-thumbnails.c: (add_range),
1422 (ev_sidebar_thumbnails_set_loading_icon),
1423 (ev_sidebar_thumbnails_refresh),
1424 (ev_sidebar_thumbnails_set_document):
1425 * shell/ev-sidebar-thumbnails.h:
1426 * shell/ev-view.c: (ev_view_motion_notify_event),
1427 (ev_view_set_property), (ev_view_get_property),
1428 (ev_view_class_init), (ev_view_set_rotation):
1429 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1430 (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
1432 * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
1433 Redo rotation (again). prepare for 0.4.0
1435 2005-08-24 Kristian Høgsberg <krh@redhat.com>
1437 * configure.ac: Bump poppler requirement to 0.4.1.
1439 * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
1440 argument to poppler_page_render_selection() call.
1442 2005-08-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1444 * djvu/djvu-document.c: (djvu_document_render_pixbuf),
1445 (djvu_document_thumbnails_get_thumbnail):
1446 * dvi/dvi-document.c: (dvi_document_render_pixbuf),
1447 (dvi_document_thumbnails_get_thumbnail):
1448 * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
1449 (pixbuf_document_thumbnails_get_thumbnail):
1450 * tiff/tiff-document.c: (tiff_document_render_pixbuf):
1452 Update rotation direction of backends to fit with pdf and ps.
1454 2005-08-24 Marco Pesenti Gritti <mpg@redhat.com>
1456 * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
1457 * backend/ev-async-renderer.h:
1458 * ps/ps-document.c: (ps_document_init), (setup_pixmap),
1459 (setup_page), (ps_document_get_page_size),
1460 (ps_async_renderer_render_pixbuf):
1462 * shell/ev-jobs.c: (ev_job_render_run):
1464 Fix orientation in the postscript document
1466 2005-08-23 Marco Pesenti Gritti <mpg@redhat.com>
1468 * pdf/ev-poppler.cc:
1469 * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
1470 * shell/ev-view.c: (highlight_find_results):
1472 Adapt to the new poppler rotation API. Fix text maps on landscape
1475 Sat Aug 20 17:13:48 2005 Jonathan Blandford <jrb@redhat.com>
1477 * shell/ev-view.c (compute_new_selection_text): get the correct
1478 region when selecting in modes other than continuous.
1480 Sat Aug 20 13:10:01 2005 Jonathan Blandford <jrb@redhat.com>
1482 * shell/main.c (main): remove redundant g_warnings.
1484 2005-08-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1486 * shell/Makefile.am: Don't include autogenerated
1487 file ev-application-service.h into distribution, since
1488 it causes dbus crash. Fix for bugs 313724 and 313443.
1490 2005-08-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1492 * configure.ac: Fix sed expression for FreeBSD. Thanks
1493 to Joe Marcus Clark <marcus@freebsd.org>
1495 * shell/eggfindbar.c: (entry_activate_callback),
1496 (entry_changed_callback), (egg_find_bar_init),
1497 (egg_find_bar_set_search_string):
1499 Made findbar buttons unsensitive if there is no text in
1500 entry. Fix for the bug 313285.
1502 2005-08-17 Carlos Garcia Campos <carlosgc@gnome.org>
1504 * ps/ps-document.c: Use g_filename_display_name for displaying
1505 filenames and revert string freeze breackage
1507 2005-08-17 Marco Pesenti Gritti <mpg@redhat.com>
1514 * shell/Makefile.am:
1516 Add ev-application-service.xml to extra dist
1518 * shell/ev-view.c: (find_page_at_location):
1520 Remove unused function (fix warning)
1522 2005-08-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1524 * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
1525 (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
1527 Fix warnings and compilation with t1lib-5.0 and newer. Fix for
1530 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1532 * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
1533 * shell/ev-window.c:
1536 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1538 * configure.ac: Update script to get dbus version.
1539 Fix for the bug #313443.
1541 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1543 * shell/ev-window.c: (ev_window_cmd_escape):
1545 Return focus back to view on escape. Fix for bug 313295.
1547 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1549 * shell/ev-window.c: (update_window_title),
1550 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
1551 (ev_window_cmd_save_as):
1553 Correct conversion from uri to displayable string. Fix for
1556 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
1558 * ps/ps-document.c: convert filename to utf8 when there is an error
1559 loading document. Fixes #309915
1561 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
1565 We depend on poppler 0.4.0
1567 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
1570 * NEWS: Release 0.3.3.
1571 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
1573 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
1575 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
1576 add a couple missing mnemonics to menu items, use title
1577 capitalization for menu items and window titles, and add
1578 ellipsis to open menu item.
1580 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
1582 * pdf/ev-poppler.cc:
1583 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
1584 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
1585 (ev_view_get_rotation):
1587 * shell/ev-window.c: (setup_view_from_metadata),
1588 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
1589 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
1592 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
1594 * configure.ac: Added tr to ALL_LINGUAS
1596 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1598 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
1599 requires several clicks to find word. Thanks to
1600 Colin Slater <kiltedtaco@gmail.com>.
1602 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
1604 * data/evince.desktop.in.in: Hide menu entry and
1605 rename it to "Document Viewer". Fix for bug
1608 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
1610 * shell/ev-page-action.c (ev_page_action_class_init):
1612 Point to the correct function in constructor of the
1613 activate_label signal
1615 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
1617 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1618 * shell/ev-jobs.h: Make thread safe.
1620 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1622 * shell/ev-view.c: (view_update_range_and_current_page):
1623 Don't update page range if we are scrolling to some document
1626 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1628 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
1629 when getting max_page_width, fix drawing in dual mode.
1631 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
1633 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
1634 getting the area for select_all.
1636 2005-08-06 Kristian Høgsberg <krh@redhat.com>
1638 * backend/ev-selection.c: (ev_selection_render_selection):
1639 * backend/ev-selection.h:
1640 * pdf/ev-poppler.cc:
1641 * shell/ev-jobs.c: (ev_job_render_new):
1643 * shell/ev-pixbuf-cache.c: (get_selection_colors),
1644 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
1645 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
1646 (ev_view_class_init):
1648 Change selection color on focus in and focus out events. Also,
1649 poppler now uses GdkColor for specifying the selection colors, so
1650 drop some awkward conversion code.
1652 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
1654 * configure.ac: Added Hebrew translation
1656 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
1659 * backend/ev-selection.c: (ev_selection_render_selection):
1660 * backend/ev-selection.h:
1661 * pdf/ev-poppler.cc:
1662 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
1663 (ev_job_render_run):
1665 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1666 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
1667 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
1668 (ev_pixbuf_cache_style_changed),
1669 (ev_pixbuf_cache_get_selection_pixbuf),
1670 (ev_pixbuf_cache_set_selection_list),
1671 (ev_pixbuf_cache_get_selection_list):
1672 * shell/ev-pixbuf-cache.h:
1673 * shell/ev-utils.c: (ev_print_region_contents):
1675 * shell/ev-view.c: (ev_view_queue_draw_page),
1676 (selection_update_idle_cb), (ev_view_motion_notify_event),
1677 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
1678 (setup_caches), (ev_view_find_next), (merge_selection_region),
1680 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
1682 Clean up selection to be much smoother!
1684 2005-08-05 Kristian Høgsberg <krh@redhat.com>
1686 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
1687 to poppler_page_render_selection().
1689 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1691 * ps/ps-document.c: (save_page_list): Use
1692 unzipped document when printing. Thanks to
1693 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
1696 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1698 * shell/ev-window.c: (update_action_sensitivity):
1700 Disable print and save respect to lockdown gconf keys. Fix
1703 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1706 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
1707 (write_to_temp_file), (ev_file_set_contents):
1709 * shell/ev-window.c: (save_print_config_to_file):
1711 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
1714 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
1716 * shell/ev-window.c: (load_print_config_from_file),
1717 (save_print_config_to_file), (ev_window_print_range):
1719 Persist the print settings. Fixes bug #311578.
1721 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1723 * djvu/djvu-document.c: (djvu_document_get_page_size),
1724 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
1725 (djvu_document_thumbnails_get_thumbnail):
1726 * dvi/dvi-document.c: (dvi_document_get_page_size),
1727 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
1728 (dvi_document_thumbnails_get_dimensions),
1729 (dvi_document_thumbnails_get_thumbnail):
1730 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
1731 (pixbuf_document_render_pixbuf),
1732 (pixbuf_document_document_iface_init),
1733 (pixbuf_document_thumbnails_get_thumbnail):
1735 Update backends to make them build with new rotation system.
1737 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1739 * help/C/figures/evince_start_window.png:
1741 Update documentation image from Luca Ferretti <elle.uca@libero.it>
1743 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
1745 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
1746 * shell/ev-pixbuf-cache.h:
1747 * shell/ev-sidebar-thumbnails.c:
1748 (ev_sidebar_thumbnails_get_property), (add_range),
1749 (adjustment_changed_cb):
1750 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
1751 pixbuf cache. Make thumbnailing work again. Also, fix bug where
1752 we were thumbnailing the entire docment on startup, slowing us
1755 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
1757 * shell/ev-page-cache.c: (ev_page_cache_new):
1758 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1759 == 0, fixes #310306.
1761 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1763 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1764 (ev_view_rotate_left):
1766 Account rotation in doc_rect_to_view_rect.
1767 Ensure rotation doesnt go out of bounds.
1769 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1771 * shell/ev-page-cache.c: (ev_page_cache_get_size):
1773 Correct and cleanup w/h swapping
1775 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1777 * backend/ev-document-thumbnails.c:
1778 (ev_document_thumbnails_get_thumbnail):
1779 * backend/ev-document-thumbnails.h:
1780 * backend/ev-document.c:
1781 * backend/ev-document.h:
1782 * backend/ev-render-context.c: (ev_render_context_new),
1783 (ev_render_context_set_rotation):
1784 * backend/ev-render-context.h:
1785 * pdf/ev-poppler.cc:
1786 * ps/ps-document.c: (ps_document_document_iface_init):
1787 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1789 * shell/ev-page-cache.c: (build_height_to_page),
1790 (ev_page_cache_new), (ev_page_cache_get_size),
1791 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1792 (ev_page_cache_get_height_to_page):
1793 * shell/ev-page-cache.h:
1794 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1795 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1796 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1797 (ev_pixbuf_cache_get_selection_pixbuf):
1798 * shell/ev-pixbuf-cache.h:
1799 * shell/ev-print-job.c: (idle_print_handler):
1800 * shell/ev-sidebar-thumbnails.c: (add_range):
1801 * shell/ev-view.c: (view_update_range_and_current_page),
1802 (get_page_y_offset), (get_page_extents),
1803 (ev_view_size_request_continuous_dual_page),
1804 (ev_view_size_request_continuous),
1805 (ev_view_size_request_dual_page),
1806 (ev_view_size_request_single_page), (draw_one_page),
1807 (ev_view_set_rotation), (ev_view_rotate_right),
1808 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1809 (ev_view_zoom_for_size_continuous_and_dual_page),
1810 (ev_view_zoom_for_size_continuous),
1811 (ev_view_zoom_for_size_dual_page),
1812 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1813 (ev_view_select_all):
1814 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1815 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
1816 (tiff_document_document_iface_init),
1817 (tiff_document_thumbnails_get_thumbnail):
1819 Use rotation rather than orientation. It's easier and enough
1822 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1824 * shell/ev-page-cache.c: (build_height_to_page),
1825 (ev_page_cache_new), (ev_page_cache_get_size),
1826 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1827 (ev_page_cache_get_height_to_page):
1828 * shell/ev-page-cache.h:
1829 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
1830 (ev_view_size_request_continuous_dual_page),
1831 (ev_view_size_request_continuous),
1832 (ev_view_zoom_for_size_continuous_and_dual_page),
1833 (ev_view_zoom_for_size_continuous):
1835 Make the page cache aware of page orientation.
1837 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1839 * backend/ev-document-thumbnails.c:
1840 (ev_document_thumbnails_get_thumbnail):
1841 * backend/ev-document-thumbnails.h:
1842 * backend/ev-document.c:
1843 * backend/ev-document.h:
1844 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
1845 * backend/ev-ps-exporter.h:
1846 * pdf/ev-poppler.cc:
1847 * ps/ps-document.c: (ps_document_document_iface_init),
1848 (ps_document_ps_export_do_page):
1849 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1851 * shell/ev-page-cache.c: (ev_page_cache_get_size),
1852 (ev_page_cache_get):
1853 * shell/ev-page-cache.h:
1854 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1855 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1856 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
1857 * shell/ev-pixbuf-cache.h:
1858 * shell/ev-print-job.c: (idle_print_handler):
1859 * shell/ev-sidebar-thumbnails.c: (add_range):
1860 * shell/ev-view.c: (view_update_range_and_current_page),
1861 (get_page_extents), (ev_view_size_request_dual_page),
1862 (ev_view_size_request_single_page), (draw_one_page),
1863 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
1864 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
1865 (ev_view_zoom_for_size_dual_page),
1866 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
1867 (ev_view_select_all):
1868 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1869 * tiff/tiff-document.c: (tiff_document_get_page_size),
1870 (tiff_document_get_orientation), (rotate_pixbuf),
1871 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
1872 (tiff_document_thumbnails_get_thumbnail),
1873 (tiff_document_ps_export_do_page), (tiff_document_init):
1875 Really make use of the orientation bit of the render context.
1876 Use the render context in a few more places in the backend API.
1877 This regress orientation, but now it's done right. Will try to
1880 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
1882 * shell/ev-view.c: (ensure_rectangle_is_visible):
1884 Patch by Nickolay V. Shmyrev to fix find flickering
1886 2005-07-27 Martin Kretzschmar <martink@gnome.org>
1888 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
1889 duplex parameters to ::begin.
1891 * tiff/tiff-document.c (tiff_document_ps_export_begin):
1892 * shell/ev-print-job.c (idle_print_handler):
1893 * ps/ps-document.c (ps_document_ps_export_begin):
1894 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
1895 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
1896 implementations. Poppler backend needs poppler cvs. Rest has
1899 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1901 * shell/ev-window.c (using_pdf_printer): new function.
1902 (ev_window_print_range): print a less techy message if someone
1903 tries to print to PDF.
1905 2005-07-25 Martin Kretzschmar <martink@gnome.org>
1907 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
1908 from "unknown font" string. Bug #311431
1910 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1912 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
1914 2005-07-24 Martin Kretzschmar <martink@gnome.org>
1918 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
1919 name for PopplerFontTypes
1920 (pdf_document_fonts_fill_model): add font type to the detail column
1922 * backend/ev-document-fonts.h: added
1923 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
1925 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
1926 font name and font details, add a little markup.
1927 (ev_properties_fonts_init): use the new cell data func, specify ypad
1928 property for the cell renderer.
1929 (ev_properties_fonts_set_document): add the details column.
1931 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
1933 * configure.ac: Added "pl" to ALL_LINGUAS.
1935 2005-07-24 Danilo Šegan <danilo@gnome.org>
1937 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
1939 2005-07-23 Tommi Vainikainen <thv@iki.fi>
1941 * help/ChangeLog: Started this for translations of manual.
1942 * configure.ac, autogen.sh, .cvsignore: Migrated to
1943 gnome-doc-utils. Patch in bug #311222.
1945 2005-07-22 Martin Kretzschmar <martink@gnome.org>
1947 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
1948 #ifdef this away to fix an unused-function warning.
1950 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
1952 * configure.ac: Added 'gl' to ALL_LINGUAS.
1954 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
1956 * configure.ac: Added ne in ALL_LINGUAS
1958 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1960 * shell/ev-view.c: (ev_view_leave_notify_event):
1962 Clear status message when pointer leaves view. Fix for bug
1965 2005-07-20 Ankit Patel <ankit644@yahoo.com>
1967 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
1969 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1971 * shell/ev-view.c: (ev_view_leave_notify_event),
1972 (ev_view_class_init):
1974 Set cursor to normal then leaving view.
1976 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1980 Fix required djvulibre version.
1982 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
1984 *configure.ac: Hindi (hi) language added
1986 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
1988 *configure.ac: Punjabi (pa) Language added
1990 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1992 * data/evince-ui.xml, shell/ev-window.c:
1994 Add keypad accelerators for zooming. Fix for bug 308128.
1996 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
1999 * backend/Makefile.am:
2000 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
2002 * shell/ev-document-types.c: (ev_document_types_add_filters):
2004 Allow to enable/disable the pixbuf backend.
2005 Default to off for now. If we want it enabled we should
2006 really put mime types in the desktop, implement properties etc.
2008 * properties/evince-properties.c:
2010 Initialize error to NULL.
2011 Check error is not NULL before freeing.
2013 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
2015 * shell/ev-window.c:
2017 Use F5 as presentation accell
2019 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
2021 * shell/ev-window.c: (update_chrome_visibility),
2022 (ev_window_create_fullscreen_popup), (ev_window_init):
2024 Do not leak the fullscreen toolbar
2026 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
2028 * shell/ev-window.c: (view_actions_focus_in_cb),
2029 (view_actions_focus_out_cb):
2031 These has a return value! Fix totally random focus
2032 issues we was seeing.
2034 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
2036 * shell/main.c: (load_files_remote):
2038 Allow open more than one file
2040 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
2042 * shell/main.c: (load_files_remote):
2044 Fix for dbus 0.33. bug #309975
2046 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
2048 * properties/ev-properties-main.c: (ev_properties_get_pages):
2050 Actually return NULL for types we dont support
2052 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
2058 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
2060 * backend/ev-document-factory.c:
2061 (ev_document_factory_get_document):
2063 Do not try to create the object if type
2066 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
2068 * ps/ps-document.c: (ps_document_dispose),
2069 (ps_async_renderer_render_pixbuf):
2072 Do not leak the target window
2074 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
2076 * shell/ev-application.c: (ev_application_init):
2078 Let tbe check file existence for us.
2079 Add a comment about eggrecent mime filter.
2081 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
2083 * data/evince-ui.xml:
2084 * shell/ev-application.c: (ev_application_shutdown),
2085 (ev_application_init), (ev_application_get_toolbars_model),
2086 (ev_application_get_recent_model),
2087 (ev_application_save_toolbars_model):
2088 * shell/ev-application.h:
2089 * shell/ev-window.c: (ev_window_add_recent),
2090 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
2091 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
2094 Use common toolbar and recent models for all windows.
2095 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2097 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
2099 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
2100 successfully check for gtk_icon_view_get_visible_range.
2102 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2107 Fix djvu and dvi backend build.
2109 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
2111 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
2112 (new_separator_pixbuf):
2116 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
2118 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
2120 HIGification of toolbar editor dialogue.
2122 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2125 * shell/Makefile.am:
2127 Ever build metadata manager since it's just
2128 disabled at runtime now.
2130 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2132 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
2133 (ev_metadata_manager_get), (ev_metadata_manager_set):
2134 * shell/ev-metadata-manager.h:
2136 Add an _init functions that enabled metadata management
2139 * shell/ev-window.c: (page_changed_cb),
2140 (setup_document_from_metadata), (ev_window_setup_document),
2141 (setup_view_from_metadata), (ev_window_open_uri),
2142 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2143 (ev_window_run_presentation), (ev_window_stop_presentation),
2144 (save_sizing_mode), (ev_window_zoom_changed_cb),
2145 (ev_window_continuous_changed_cb),
2146 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
2147 (window_configure_event_cb):
2149 Remove all ugly metadata define since we deal with it
2152 * shell/main.c: (load_files_remote), (main):
2154 Add support for dbus cvs head. Hopefully didnt break one
2155 of the other versions now!
2157 If we dont get a response from the dbus server just
2158 give up with it and not enable metadata.
2160 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2163 * backend/Makefile.am:
2165 * cut-n-paste/recent-files/Makefile.am:
2166 * cut-n-paste/toolbar-editor/Makefile.am:
2167 * cut-n-paste/zoom-control/Makefile.am:
2170 * pixbuf/Makefile.am:
2171 * properties/Makefile.am:
2173 * shell/Makefile.am:
2174 * thumbnailer/Makefile.am:
2177 Make frontends depend on just libev.
2178 Rework and group CFLAGS/LIBS definitions.
2181 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2185 do not unnecessarily save zoom
2188 * lib/ev-file-helpers.c: (ev_dot_dir):
2189 * shell/Makefile.am:
2194 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2198 Remove unnecessary dependencies
2200 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2202 * properties/Makefile.am:
2203 * thumbnailer/Makefile.am:
2206 Some more cleanups. Was really necessary
2207 but I probably introduced bugs, feel free
2210 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2212 * backend/Makefile.am:
2214 * cut-n-paste/recent-files/Makefile.am:
2215 * cut-n-paste/toolbar-editor/Makefile.am:
2216 * cut-n-paste/zoom-control/Makefile.am:
2219 * pixbuf/Makefile.am:
2220 * properties/Makefile.am:
2222 * shell/Makefile.am:
2223 * thumbnailer/Makefile.am:
2226 Use gnome-common macros when possible.
2227 Cleanup dependencies.
2228 Actually disable deprecated where possible.
2230 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
2233 * backend/Makefile.am:
2234 * properties/Makefile.am:
2235 * shell/Makefile.am:
2236 * thumbnailer/Makefile.am:
2238 This should solve the circular dep without
2239 requiring dir reorg!
2241 * shell/ev-window.c: (setup_view_from_metadata):
2243 Never restore window size/position when the
2244 window is already visible.
2246 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2248 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
2250 Return a boolean from timeout func. Fix ported from gedit.
2252 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
2254 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
2256 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
2258 * shell/ev-document-types.c: set "All Documents" as default filter in
2261 2005-07-06 Martin Kretzschmar <martink@gnome.org>
2263 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
2264 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
2265 (ev_metadata_manager_set_boolean): fix value/val thinko.
2267 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2269 * shell/ev-window.c: (setup_view_from_metadata),
2270 (window_state_event_cb), (window_configure_event_cb),
2273 Remember window position and maximized state
2275 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
2279 Fix DBUS configure checks.
2281 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
2282 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
2283 (ev_metadata_manager_set_boolean):
2287 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
2288 (ev_window_stop_fullscreen), (ev_window_run_presentation),
2289 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
2290 (ev_window_continuous_changed_cb),
2291 (ev_window_dual_mode_changed_cb), (ev_window_new):
2293 Fix the build without DBUS.
2295 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
2297 * shell/ev-metadata-manager.c: (parse_value), (save_values),
2298 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
2299 (ev_metadata_manager_set_string),
2300 (ev_metadata_manager_set_boolean):
2301 * shell/ev-metadata-manager.h:
2303 Add support for some more types
2305 * shell/ev-view.c: (scroll_to_current_page),
2306 (ev_view_get_continuous), (ev_view_set_continuous),
2307 (ev_view_get_dual_page):
2309 * shell/ev-window.c: (page_changed_cb),
2310 (setup_document_from_metadata), (ev_window_setup_document),
2311 (setup_view_from_metadata), (ev_window_open_uri),
2312 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2313 (ev_window_run_presentation), (ev_window_stop_presentation),
2314 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
2315 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
2316 (ev_window_update_dual_page_action),
2317 (ev_window_continuous_changed_cb),
2318 (ev_window_dual_mode_changed_cb), (ev_window_init):
2320 Remember a bunch of view/document properties. Prolly some
2321 are still missing but it's getting interesting.
2323 2005-07-05 Martin Kretzschmar <martink@gnome.org>
2325 * configure.ac: check if dbus-binding-tool is installed. Not the
2326 case on current Ubuntu breezy, it seems.
2328 2005-07-05 Luca Ferretti <elle.uca@libero.it>
2330 * data/evince.desktop.in.in:
2332 Allow open uri lists and add TryExec field.
2334 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2338 Enable dbus when available, do not require a configure
2341 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2345 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
2348 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
2349 Marco Pesenti Gritti <mpg@redhat.com>
2351 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
2353 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
2354 functions to the format required by dbus
2356 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
2357 errors. Use the RPC parameters in the expected way
2359 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2362 * properties/Makefile.am:
2363 * properties/ev-properties-main.c: (ev_properties_get_pages):
2365 Support all mime types
2367 * shell/Makefile.am:
2368 * thumbnailer/Makefile.am:
2369 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
2370 (evince_thumbnail_pngenc_get):
2372 Use the document factory
2374 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2376 * backend/Makefile.am:
2377 * backend/ev-document-factory.c:
2378 (mime_type_supported_by_gdk_pixbuf),
2379 (ev_document_type_get_from_mime),
2380 (ev_document_factory_get_document),
2381 (ev_document_factory_get_backend),
2382 (ev_document_factory_get_mime_types),
2383 (ev_document_factory_get_all_mime_types):
2384 * backend/ev-document-factory.h:
2385 * shell/Makefile.am:
2386 * shell/ev-document-types.c: (get_document_from_uri),
2387 (ev_document_types_get_document),
2388 (file_filter_add_mime_list_and_free),
2389 (ev_document_types_add_filters):
2390 * shell/ev-document-types.h:
2391 * shell/ev-job-xfer.c: (ev_job_xfer_run):
2392 * shell/ev-properties-dialog.c:
2393 (ev_properties_dialog_set_document):
2394 * shell/ev-window.c: (ev_window_cmd_file_open),
2395 (ev_window_cmd_save_as):
2396 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2398 Rework document types managing to avoid code duplication
2399 and actually abstract from backend implementations.
2400 Also provide a minimal factory api that can be used by
2401 thumbnailer/properties.
2403 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
2405 * properties/ev-properties-view.c: (ev_properties_view_set_info):
2407 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
2410 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2412 * shell/ev-properties-dialog.c
2413 (ev_properties_dialog_set_document): only call
2414 ev_properties_fonts_set_document() if the document implements the
2417 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
2420 * properties/Makefile.am:
2421 * properties/ev-properties-view.c:
2422 (ev_properties_view_register_type):
2423 * properties/ev-properties-view.h:
2424 * properties/ev-properties-main.h:
2426 Implement nautilus plugin for properties.
2427 Works only for pdf atm, I need to rework the
2428 document types stuff to get this to work
2431 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2433 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
2434 (ev_properties_fonts_set_document): use
2435 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
2437 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2439 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
2441 (PlaceImage, tiff2ps_process_page): use
2442 g_ascii_dtostr to convert floats to strings in a locale-safe way.
2445 2005-07-04 Martin Kretzschmar <martink@gnome.org>
2447 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
2448 (main): to call gnome_authentication_manager_init. Should fix
2451 * configure.ac: that requires libgnomeui 2.6.0.
2453 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2455 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2456 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
2457 use the new tiff2ps interfaces
2459 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
2460 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
2462 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
2463 structure instead of global variables. Remove use of static
2464 variables in functions.
2466 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
2468 * shell/ev-page-action.c: unref the completion after setting it to the
2471 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2473 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
2476 2005-07-04 Matthew S. Wilson <msw@rpath.com>
2478 * shell/ev-window.c (update_action_sensitivity): disable
2479 File->Print if the document does not implement the ps exporter
2482 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
2486 * data/evince-properties.glade:
2487 * properties/.cvsignore:
2488 * properties/Makefile.am:
2489 * properties/ev-properties-view.c: (ev_properties_view_dispose),
2490 (ev_properties_view_class_init), (ev_properties_view_format_date),
2491 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
2492 (ev_properties_view_init), (ev_properties_view_new):
2493 * properties/ev-properties-view.h:
2494 * shell/Makefile.am:
2495 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
2496 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
2497 (ev_properties_dialog_new):
2498 * shell/ev-properties-dialog.h:
2499 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
2500 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
2501 (update_progress_label), (job_fonts_finished_cb),
2502 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
2503 * shell/ev-properties-fonts.h:
2504 * shell/ev-properties.c:
2505 * shell/ev-properties.h:
2506 * shell/ev-window.c: (ev_window_setup_document),
2507 (ev_window_cmd_file_properties):
2509 Split the properties pages in two different objects, depend
2510 only on the backend where possible, use widgets instead
2511 of gobject for the glade part, reimplement the dialog
2513 I need this to implement nautilus properties page.
2515 2005-07-03 Matthew S. Wilson <msw@rpath.com>
2517 * tiff/tiff-document.c (tiff_document_ps_export_begin)
2518 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
2519 (tiff_document_document_ps_exporter_iface_init): implement the ps
2520 exporter interface for tiff documents
2522 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
2523 libtiff to implement TIFF postscript export
2525 * tiff/tiff2ps.h: added a header file for external tiff2ps
2528 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
2531 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2533 * shell/ev-view.c: (scroll_to_current_page),
2534 (ev_view_set_fullscreen), (ev_view_set_presentation):
2536 Scroll to current page when exit from presentation
2538 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2540 * shell/ev-window.c: (update_document_mode),
2541 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2542 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
2543 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
2545 Exit from fullscreen mode when switch to presentation. Fix for
2548 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2550 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
2551 return NULL if the document does not implement the selection
2554 2005-07-02 Matthew S. Wilson <msw@rpath.com>
2556 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
2557 reported height by using the resolution aspect ratio
2558 (tiff_document_render_pixbuf): scale the pixbuf using the
2559 resolution aspect ratio
2561 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2565 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
2566 <kiltedaco@gmail.com>
2568 * djvu/djvu-document.c: (djvu_document_get_orientation),
2569 (djvu_document_set_orientation), (djvu_document_get_page_size),
2570 (rotate_pixbuf), (djvu_document_render_pixbuf),
2571 (djvu_document_document_iface_init):
2572 * dvi/dvi-document.c: (dvi_document_get_orientation),
2573 (dvi_document_set_orientation), (dvi_document_get_page_size),
2574 (rotate_pixbuf), (dvi_document_render_pixbuf),
2575 (dvi_document_document_iface_init):
2577 Dvi and djvu backends are ported to new API
2579 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
2581 * backend/ev-selection.c: (ev_selection_get_selection_region),
2582 (ev_selection_get_selection_map):
2583 * backend/ev-selection.h:
2584 * pdf/ev-poppler.cc:
2585 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2587 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
2588 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
2589 (ev_pixbuf_cache_get_text_mapping):
2590 * shell/ev-pixbuf-cache.h:
2591 * shell/ev-view.c: (location_in_text),
2592 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
2593 support to EvView. Now we can see where we can select! Sweet!
2595 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2597 * shell/ev-view.c (ev_view_button_press_event): Fix
2598 event->y + view->scroll_x typo.
2600 2005-06-30 Kristian Høgsberg <krh@redhat.com>
2602 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
2603 sub-GdkPixbuf instead of passing dest_x and dest_y.
2605 * shell/ev-view.c: (view_point_to_doc_point),
2606 (view_rect_to_doc_rect), (ev_view_button_press_event),
2607 (ev_view_motion_notify_event), (compute_new_selection_rect),
2608 (gdk_rectangle_point_in), (compute_new_selection_text),
2609 (compute_selections): Update selection code to keep the selection
2610 around as two points and not as a normalized rectangle, and fix
2611 page level selection in two-column mode.
2613 2005-06-30 Alex Duggan <aldug@astrolinux.com>
2615 * shell/ev-window.c: (window_configure_event_cb):
2619 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2621 * pdf/ev-poppler.cc:
2625 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
2627 * shell/Makefile.am:
2628 * shell/ev-metadata-manager.c: (item_free),
2629 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
2630 (parse_value), (parseItem), (load_values),
2631 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
2632 (save_values), (save_item), (get_oldest), (resize_items),
2633 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
2634 * shell/ev-metadata-manager.h:
2636 Metadata manager from gedit but modified to use GValue, so that
2637 we dont need to keep converting from strings.
2641 ENABLE_METADATA conditional, on when dbus is on
2643 * shell/ev-application.c: (ev_application_open_uri):
2645 Show the window after load so that we can initialize
2646 window size before it's showed.
2648 * shell/ev-window.c: (ev_window_setup_from_metadata),
2649 (ev_window_open_uri), (window_configure_event_cb),
2652 Save and load metadata information about window size.
2653 Not yet keeping states in account.
2655 * shell/main.c: (main):
2657 Shutdown metadata manager.
2659 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2661 * shell/ev-application-service.xml:
2663 * shell/Makefile.am:
2664 * shell/ev-application.c:
2665 * shell/ev-application.h:
2666 * shell/ev-window.c:
2667 * shell/ev-window.h:
2670 Add an optional dbus interface (--enable-dbus).
2671 Rework application code, mainly to be easier to
2673 Do not open multiple windows with the same document,
2676 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
2678 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
2679 pixbuf iff it exists.
2681 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
2684 * backend/ev-render-context.[ch]:
2685 * backend/ev-selection.[ch]:
2687 Massive changes. We now support text selection of pdfs, and not
2688 just rectangular selection. This is pretty broken still, but I
2689 want to get something into CVS.
2691 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2693 * pdf/ev-poppler.cc:
2695 Fix for Bug 309080: crash on window close.
2697 * shell/ev-page-action.c: (page_changed_cb):
2699 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
2700 jensgr@gmx.net (Jens Granseuer).
2702 2005-06-25 Marcel Telka <marcel@telka.sk>
2704 * configure.in (ALL_LINGUAS): Added sk.
2706 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
2708 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
2711 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2718 * cut-n-paste/recent-files/Makefile.am:
2722 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2724 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
2725 (pixbuf_document_set_orientation), (rotate_pixbuf),
2726 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
2727 (pixbuf_document_document_iface_init), (pixbuf_document_init):
2729 Implement rotation and cleanup the code a bit.
2731 * tiff/tiff-document.c: (tiff_document_get_page_size),
2732 (tiff_document_get_orientation), (tiff_document_set_orientation),
2733 (rotate_pixbuf), (tiff_document_render_pixbuf),
2734 (tiff_document_document_iface_init), (tiff_document_init):
2736 Implement rotation. Was the quicker solution for the release
2737 but we really need to share this code in the shell.
2739 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
2741 * pdf/ev-poppler.cc:
2743 Enable rotation, require poppler cvs. Fix a leak.
2745 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2747 * shell/ev-window.c: (update_action_sensitivity):
2749 Make properties unsensitive if document backend doesn't provide
2752 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2754 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
2755 (bitmap_flip_horizontally), (bitmap_flip_vertically),
2756 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2757 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2758 (bitmap_flip_rotate_counter_clockwise):
2759 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2760 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2762 * dvi/mdvi-lib/common.h:
2763 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2764 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2765 (opendvi), (mdvi_reload), (mdvi_init_context),
2766 (mdvi_destroy_context), (mdvi_dopage), (special):
2767 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2768 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2769 (file_hash_free), (register_encoding), (parse_spec),
2770 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2771 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2772 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2773 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2774 (mdvi_register_font_type), (mdvi_unregister_font_type),
2775 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2776 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2777 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2778 (mdvi_hash_destroy_key), (mdvi_hash_reset):
2779 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2780 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2781 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2782 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2783 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2784 * dvi/mdvi-lib/special.c: (mdvi_register_special),
2785 (mdvi_unregister_special), (mdvi_flush_specials):
2786 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2788 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2789 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2790 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2791 (free_font_metrics), (flush_font_metrics):
2792 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2794 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2795 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2796 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2797 (dstring_insert), (dstring_new), (dstring_reset):
2798 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2800 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2801 avoid conflict with libtool on FC4
2803 * shell/ev-window.c: (ev_window_cmd_help_about):
2805 Update copyright year. Fix for bug 308828.
2807 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2809 * shell/ev-view.c: (add_scroll_binding_keypad),
2810 (ev_view_binding_activated), (ev_view_class_init),
2811 (on_adjustment_value_changed):
2813 Bug 170874: Arrow keys switch pages in presentation mode
2815 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2817 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
2819 Fix for Bug 308265: Sidebar dissappears coming out of
2822 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2824 * shell/ev-application.c: (ev_application_open):
2825 * shell/ev-document-types.c: (ev_document_types_add_filters),
2826 (ev_document_types_add_filters_for_type):
2827 * shell/ev-document-types.h:
2828 * shell/ev-window.c: (ev_window_cmd_save_as):
2830 Suggest basename as template when saving, provide filters
2831 for save dialog. It's bug 308402
2833 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2835 * pdf/ev-poppler.cc:
2836 * shell/ev-sidebar-links.c: (job_finished_callback):
2837 * shell/ev-view.c: (update_find_status_message):
2841 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2843 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2844 (egg_recent_view_uimanager_set_list):
2846 Fix buglet in !show_numbers case.
2848 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
2850 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2851 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
2853 Use pango ellipsisation.
2855 * pdf/ev-poppler.cc:
2857 Fix refcount leak, from nsh.
2859 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2861 * cut-n-paste/recent-files/Makefile.am:
2862 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2863 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2865 Removed EggRecentViewGtk
2867 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
2868 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
2869 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
2870 (ev_window_setup_recent):
2872 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
2875 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2877 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2878 (egg_recent_view_gtk_finalize):
2882 * cut-n-paste/toolbar-editor/Makefile.am:
2884 Fix location of cursor icon.
2886 * pdf/ev-poppler.cc:
2887 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
2888 (display_completion_text), (match_completion):
2889 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2890 (selection_changed_callback), (create_loading_model),
2891 (print_section_cb), (links_page_num_func),
2892 (update_page_callback_foreach):
2893 * shell/ev-window.c: (ev_window_dispose):
2895 Small memory fixes. Links model now store objects instead
2896 of pointers to improve memory management.
2898 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2900 * shell/ev-window.c: (zoom_control_changed_cb):
2902 Fix update of zoom control (bug 308268).
2904 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
2906 * shell/ev-properties.c (set_property): escape the text correctly.
2907 Handles non-UTF-8 properties and escaped properties. Also, sets
2908 the text to "<i>None</i>" if the property isn't set.
2910 * data/evince-properties.glade: Change the label to be ellipsized,
2911 and give it a minimum size.
2913 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2915 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
2916 * shell/ev-sidebar-links.c: (create_loading_model):
2917 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
2918 * shell/ev-view.c: (ev_view_set_document):
2919 * shell/ev-window.c: (ev_window_dispose):
2921 Various small fixes, mostly memory leaks. Thanks to valgrind.
2923 2005-06-19 Martin Kretzschmar <martink@gnome.org>
2925 * ps/ps-document.c: remove the locale.h include again ;-). And
2926 kill the (bogus) setlocale/savelocale business.
2928 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
2932 Include locale.h to fix build
2934 * shell/ev-sidebar.c:
2936 Remove unnecessary includes
2938 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2940 * dvi/dvi-document.c: (dvi_document_load):
2941 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
2944 Check for incorrect dvi files. Fix parsing dvi on AMD64
2945 platform. Thanks to tester@tester.ca (Olivier Crete).
2947 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2949 * shell/ev-page-action.c: (match_selected_cb),
2950 (display_completion_text), (match_completion), (update_model):
2951 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2952 (expand_open_links):
2953 * shell/ev-sidebar.c: (ev_sidebar_destroy),
2954 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
2955 (ev_sidebar_set_document):
2956 * shell/ev-window.c: (ev_window_xfer_job_cb),
2957 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
2959 Fixed lot's of memory leaks, for example, memory leak on reload,
2960 described in bug 307793.
2962 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2964 * pdf/ev-poppler.cc:
2965 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
2966 (update_visible_range), (adjustment_changed_cb),
2967 (ev_sidebar_thumbnails_fill_model),
2968 (ev_sidebar_thumbnails_refresh),
2969 (ev_sidebar_tree_selection_changed),
2970 (ev_sidebar_icon_selection_changed),
2971 (ev_sidebar_thumbnails_use_icon_view),
2972 (ev_sidebar_thumbnails_set_document):
2973 * shell/ev-sidebar-thumbnails.h:
2974 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
2975 (ev_window_cmd_edit_rotate_right), (ev_window_init):
2977 Refresh thumbnails when changing orientation. Not fully
2978 working yet becuase of a sidebar bug.
2980 Set page orientation to poppler page everywhere. This sucks
2981 really need to fix poppler.
2983 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
2985 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2986 (egg_recent_view_gtk_new_menu_item),
2987 (egg_recent_view_gtk_set_property),
2988 (egg_recent_view_gtk_get_property),
2989 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
2990 (egg_recent_view_gtk_set_tooltip_func),
2991 (egg_recent_view_gtk_set_label_width),
2992 (egg_recent_view_gtk_get_label_width):
2993 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
2995 Sync with libegg (ellipsize labels)
2997 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2999 * data/evince-ui.xml:
3000 * shell/ev-window.c: (ev_window_cmd_go_forward),
3001 (ev_window_cmd_go_backward):
3003 Shift + PageUp moves 10 Pages. Fix for 306125
3005 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3007 * pdf/ev-poppler.cc:
3009 Add a flag to check if orientation has been overriden
3011 2005-06-17 Martin Kretzschmar <martink@gnome.org>
3013 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
3016 * ps/ps.h: add creator field to document.
3018 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
3021 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3023 * data/evince-properties.glade:
3024 * shell/ev-properties.c: (ev_properties_set_document):
3026 s/PDF Version/Format
3028 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3030 * shell/ev-properties.c: (ev_properties_set_document):
3032 Remove unnecessary translations
3034 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3036 * cut-n-paste/toolbar-editor/Makefile.am:
3038 Correct library name
3040 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3043 * cut-n-paste/recent-files/egg-recent-model.c:
3044 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
3045 (egg_recent_model_unlock_file):
3046 * cut-n-paste/recent-files/egg-recent-util.c:
3047 (egg_recent_util_get_unique_id):
3048 * cut-n-paste/recent-files/update-from-egg.sh:
3049 * cut-n-paste/toolbar-editor/Makefile.am:
3050 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3051 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3052 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3053 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3054 (egg_toolbars_model_get_type):
3055 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3057 Better makefile for toolbar editor and update everything
3060 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3062 * shell/ev-window.c: (update_document_mode):
3064 Prefer presentation mode when the document
3067 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
3069 * data/evince-ui.xml:
3070 * shell/ev-window.c:
3072 Add control-equal for zooming
3074 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
3076 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
3078 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
3080 * backend/ev-document.c: (ev_document_get_orientation):
3081 * backend/ev-document.h:
3082 * pdf/ev-poppler.cc:
3083 * ps/ps-document.c: (ps_document_get_orientation),
3084 (ps_document_set_orientation), (ps_document_document_iface_init):
3086 Add a get_orientation api. Improve set_orientation.
3088 * data/evince-ui.xml:
3089 * shell/ev-view.c: (ev_view_set_orientation),
3090 (ev_view_rotate_right), (ev_view_rotate_left):
3092 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
3093 (ev_window_cmd_edit_rotate_right):
3095 Better ui for changing document orientation
3097 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3099 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
3100 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
3101 * shell/ev-sidebar-links.h:
3102 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3103 (ev_sidebar_page_iface_init):
3104 * shell/ev-sidebar-page.h:
3105 * shell/ev-sidebar-thumbnails.c:
3106 (ev_sidebar_thumbnails_get_property),
3107 (ev_sidebar_thumbnails_class_init),
3108 (ev_sidebar_thumbnails_set_document):
3109 * shell/ev-sidebar-thumbnails.h:
3110 * shell/ev-view.c: (ev_view_motion_notify_event):
3111 * shell/ev-window.c: (update_chrome_visibility),
3112 (ev_window_cmd_focus_page_selector),
3113 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
3114 (sidebar_page_main_widget_update_cb), (ev_window_init):
3116 Autoraise toolbar on GoToPage binding and fix bindings in
3117 EvSidebarThumbnails page.
3119 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
3121 * shell/ev-properties.c: (update_progress_label):
3123 Hide the progress label when finished; bug #307697.
3125 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
3127 * pdf/ev-poppler.cc:
3129 Enable is_open for links, you will need poppler cvs
3131 * shell/ev-properties.c: (job_fonts_finished_cb):
3133 Get a lock on the document when filling the tree view
3135 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
3137 * backend/ev-document-links.h:
3138 * pdf/ev-poppler.cc:
3139 * shell/ev-sidebar-links.c: (create_loading_model),
3140 (expand_open_links), (job_finished_callback):
3142 Expand links when specified by the document.
3143 Depend on a poppler api (defined out for now)
3145 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
3147 * shell/ev-properties.c: (ev_properties_dispose),
3148 (ev_properties_class_init), (dialog_destroy_cb),
3149 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
3150 (ev_properties_set_document), (ev_properties_new),
3151 (ev_properties_show):
3152 * shell/ev-properties.h:
3154 Make it an object, cleanup the code, api to show it as transient
3155 and to set the document.
3157 * shell/ev-window.c: (ev_window_setup_document),
3158 (ev_window_cmd_file_properties):
3160 Adapt to EvProperties changes, do not show multiple
3161 times, update it when document changes.
3163 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
3166 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
3167 (ps_document_set_orientation), (ps_document_document_iface_init):
3170 Implement orientation here too
3172 * shell/ev-properties.c: (ev_properties_new):
3173 * data/evince-properties.glade:
3175 Hide the fonts page for backends that doesnt
3178 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
3180 * backend/ev-document.c: (ev_document_set_orientation):
3181 * backend/ev-document.h:
3182 * pdf/ev-poppler.cc:
3184 Add orientation api. Currently poppler api is not optimal,
3185 we need to set orientation every time we _get a page.
3186 I will try to fix that at some point.
3188 * data/evince-ui.xml:
3189 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
3190 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
3192 Add orientation menu items
3194 * shell/ev-page-cache.c: (ev_page_cache_clear):
3195 * shell/ev-page-cache.h:
3197 Add api to clear the cache
3199 * shell/ev-view.c: (setup_caches), (clear_caches),
3200 (ev_view_set_document), (ev_view_zoom_out),
3201 (ev_view_set_orientation):
3204 Implement orientation changing
3206 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
3208 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
3209 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
3210 * backend/ev-document-fonts.h:
3212 Separate scan and fill so that we can incrementally fill from
3213 the main thread. Add a progress api.
3215 * data/evince-properties.glade:
3216 * pdf/ev-poppler.cc:
3217 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
3219 * shell/ev-properties.c: (update_progress_label),
3220 (job_fonts_finished_cb), (setup_fonts_view):
3222 Incrementally feel the list and show the progress
3223 percentage in a label like acrobat does.
3225 You are going to need poppler cvs
3227 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
3229 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
3230 * backend/ev-document-fonts.h:
3231 * pdf/ev-poppler.cc:
3233 Make fonts model fill incrementally.
3235 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
3236 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
3237 (ev_job_queue_remove_job):
3238 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
3239 (ev_job_fonts_new), (ev_job_fonts_run):
3242 New job for fonts scanning
3244 * shell/ev-properties.c: (job_fonts_finished_cb),
3245 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
3246 * shell/ev-properties.h:
3247 * shell/ev-window.c: (ev_window_cmd_file_properties):
3249 Incrementally feel the treeview using the new job. Show Loading...
3250 message until scanning is completed.
3252 Hopefully I didnt break the build without the poppler patch.
3254 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3256 * shell/ev-application.c: (ev_application_open):
3257 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
3258 (ev_document_type_get_type), (ev_document_type_lookup):
3259 * shell/ev-document-types.h:
3260 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
3261 * shell/ev-job-xfer.h:
3262 * shell/ev-window.c: (ev_window_clear_local_uri),
3263 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
3264 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
3265 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3267 Transfer remote documents to tmp directory to display them later.
3269 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
3271 * backend/ev-document-info.h:
3272 * shell/ev-properties.c: (ev_properties_new):
3274 s/GTime*/GTime. Not sure why we was using a pointer
3277 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
3279 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
3280 situations. That situation is that you're using GTK+-HEAD with
3281 the patch at #306726 is applied, and you have a document with <
3282 1500 pages in it. It's not quite as uniformly nice as the
3283 TreeView, but should be better in the long run.
3285 I'm pretty sure I guarded against breaking compilation with
3286 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
3289 * shell/ev-window.c (ev_window_init): We don't have our tree/list
3290 widget yet, so I commented that code out
3291 enable_view_actions_for_widget() for now. Need to figure this
3294 * shell/ev-page-action.c (match_selected_cb): emit the right
3295 signals. Our cool C-l completion now works.
3297 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3299 * backend/Makefile.am:
3300 * backend/ev-document-fonts.c:
3301 * backend/ev-document-links.c:
3302 * backend/ev-document.c: (ev_document_load):
3303 * backend/ev-document.h:
3304 * backend/ev-job-queue.c:
3305 * backend/ev-job-queue.h:
3306 * backend/ev-jobs.c:
3307 * backend/ev-jobs.h:
3308 * backend/ev-page-cache.c:
3309 * backend/ev-page-cache.h:
3311 EvPageCache and EvJobs are moved to shell.
3313 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
3315 * lib/ev-file-helpers.h:
3317 New helper to work with temporary files
3319 * shell/Makefile.am:
3320 * shell/ev-application.c: (ev_application_open):
3321 * shell/ev-application.h:
3322 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
3323 (remove_job_from_async_queue), (add_job_to_async_queue),
3324 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
3325 (handle_job), (search_for_jobs_unlocked),
3326 (no_jobs_available_unlocked), (ev_render_thread),
3327 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3328 (ev_job_queue_add_job), (move_job_async), (move_job),
3329 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3330 * shell/ev-job-queue.h:
3331 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
3332 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
3333 * shell/ev-job-xfer.h:
3334 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3335 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3336 (ev_job_links_class_init), (ev_job_render_init),
3337 (ev_job_render_dispose), (ev_job_render_class_init),
3338 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3339 (ev_job_thumbnail_class_init), (ev_job_load_init),
3340 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
3341 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3342 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
3343 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
3345 * shell/ev-page-action.c: (ev_page_action_set_document):
3346 * shell/ev-page-cache.c: (ev_page_cache_init),
3347 (ev_page_cache_class_init), (ev_page_cache_finalize),
3348 (ev_page_cache_new), (ev_page_cache_get_n_pages),
3349 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3350 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
3351 (ev_page_cache_get_title), (ev_page_cache_get_size),
3352 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
3353 (ev_page_cache_get_height_to_page),
3354 (ev_page_cache_get_max_label_chars),
3355 (ev_page_cache_get_page_label),
3356 (ev_page_cache_has_nonnumeric_page_labels),
3357 (ev_page_cache_get_info), (ev_page_cache_next_page),
3358 (ev_page_cache_prev_page), (ev_page_cache_get):
3359 * shell/ev-page-cache.h:
3360 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
3361 (ev_pixbuf_cache_clear_job_sizes),
3362 (ev_pixbuf_cache_add_jobs_if_needed),
3363 (ev_pixbuf_cache_set_page_range):
3364 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
3365 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
3366 * shell/ev-sidebar-thumbnails.c:
3367 (ev_sidebar_tree_selection_changed),
3368 (ev_sidebar_thumbnails_set_document):
3369 * shell/ev-statusbar.c: (ev_statusbar_destroy),
3370 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
3371 (ev_statusbar_get_context_id), (ev_statusbar_push),
3372 (ev_statusbar_pop), (ev_statusbar_set_maximized),
3373 (ev_statusbar_pulse), (ev_statusbar_show_progress),
3374 (ev_statusbar_set_progress):
3375 * shell/ev-statusbar.h:
3376 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
3377 (ev_view_find_previous):
3378 * shell/ev-window.c: (ev_window_is_empty),
3379 (ev_window_setup_document), (password_dialog_response),
3380 (ev_window_clear_jobs), (ev_window_load_job_cb),
3381 (ev_window_xfer_job_cb), (ev_window_open_uri),
3382 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
3383 (ev_window_print), (ev_window_print_range),
3384 (ev_window_state_event), (ev_window_cmd_view_reload),
3385 (menu_item_select_cb), (menu_item_deselect_cb),
3386 (view_status_changed_cb), (ev_window_dispose),
3387 (drag_data_received_cb), (ev_window_init):
3388 * shell/ev-window.h:
3389 * shell/main.c: (load_files):
3391 New statusbar to show progress on idle. Two new jobs -
3392 xfer job and load job to load document in background. And update
3393 of page_cache clients to new location of code.
3395 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
3397 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
3398 selection in open dialog. It also remembers the last visited directory
3399 in the current session.
3401 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3403 * shell/ev-properties.c: (ev_properties_new):
3404 * shell/ev-properties.h:
3405 * shell/ev-window.c: (ev_window_cmd_file_properties):
3407 Get document info from page cache instead of document itself.
3408 This should fix crash related to race conditions described in
3411 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3413 * ps/ps-document.c: (ps_document_init),
3414 (send_ps), (get_page_box), (output), (catchPipe), (input),
3415 (stop_interpreter), (file_length), (file_readable),
3416 (check_filecompressedb), (ps_document_enable_interpreter),
3417 (document_load), (ps_async_renderer_render_pixbuf):
3420 Big cleanup of the ps code
3422 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
3424 * backend/Makefile.am:
3425 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
3426 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
3427 * backend/ev-async-renderer.h:
3429 Add an async renderer interface (method + callback) which
3430 is useful for backends like ps.
3432 * backend/ev-job-queue.c: (remove_job_from_async_queue),
3433 (add_job_to_async_queue), (job_finished_cb), (handle_job),
3434 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3435 (ev_job_queue_add_job), (move_job_async), (move_job),
3436 (ev_job_queue_update_job), (ev_job_queue_remove_job):
3438 Add queues for async renderer, these are executed on the
3441 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
3442 (ev_job_render_run):
3443 * backend/ev-jobs.h:
3445 If the backend support async renderer interface use it.
3447 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3448 (setup_pixmap), (ps_document_get_type),
3449 (ps_async_renderer_render_pixbuf),
3450 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
3452 Implement async renderer interface.
3454 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3456 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
3458 Cleanup links job on exit.
3460 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3462 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3463 (drag_data_get_cb), (drag_data_received_cb):
3464 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3465 (drag_data_get_cb), (parse_item_list),
3466 (egg_toolbar_editor_load_actions):
3467 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3468 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
3469 (parse_item_list), (parse_toolbars):
3470 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3471 (dvi_pixbuf_put_pixel):
3473 Fix gcc 4.0 warnings
3475 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3477 * ps/ps-document.c: (start_interpreter):
3479 Fix warning when loading ps
3481 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3483 * ps/ps-document.c: (output):
3485 Fix crash when priting gs error messages.
3487 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3489 * backend/ev-page-cache.c: (_ev_page_cache_new):
3490 * backend/ev-page-cache.h:
3492 Use a const to return title so that we dont double
3493 free it. Small cleanup and fix a leak.
3495 * shell/ev-window.c: (update_window_title):
3497 strdup value from get_title.
3499 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
3501 * shell/ev-sidebar-links.c: (job_finished_callback),
3502 (ev_sidebar_links_set_document):
3504 Cleanup the old job when changing document
3506 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
3508 * shell/ev-stock-icons.c:
3509 * shell/ev-stock-icons.h:
3510 * shell/ev-window.c:
3512 Add stock icons for actions that can appear in toolbar. Fix for
3515 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3517 * backend/ev-page-cache.c: (ev_page_cache_finalize),
3518 (_ev_page_cache_new), (ev_page_cache_get_max_width),
3519 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
3520 * backend/ev-page-cache.h:
3521 * shell/ev-view.c: (scroll_to_current_page),
3522 (view_update_range_and_current_page), (get_page_y_offset),
3523 (get_page_extents), (ev_view_size_request_continuous_dual_page),
3524 (ev_view_size_request_continuous),
3525 (ev_view_zoom_for_size_continuous_and_dual_page),
3526 (ev_view_zoom_for_size_continuous):
3528 More compact EvView layout in document with pages of different size.
3530 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
3532 * shell/ev-window.c (ev_window_cmd_file_properties): fix
3535 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3537 * shell/ev-view.c: (view_set_adjustment_values):
3538 * shell/ev-window.c: (ev_window_cmd_file_properties):
3540 A bit different fix for rounding problem but it has no
3541 problems on startup. Make properties window transient to parent.
3543 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3545 * pdf/ev-poppler.cc:
3547 More commenting of font stuff.
3549 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3551 * pdf/ev-poppler.cc:
3553 Comment out some more fonts stuff. Should really
3554 work without the poppler patch now.
3556 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3558 * pdf/ev-poppler.cc:
3562 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3564 * data/evince-properties.glade:
3565 * pdf/ev-poppler.cc:
3566 * shell/ev-properties.c: (setup_fonts_view):
3568 Set the column title. Show the dialog only
3569 once everything is setup.
3570 Getting font info can be very slow... will
3571 prolly need to make this threaded too.
3573 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3575 * backend/Makefile.am:
3576 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
3577 (ev_document_fonts_get_fonts_model):
3578 * backend/ev-document-fonts.h:
3579 * data/evince-properties.glade:
3580 * pdf/ev-poppler.cc:
3581 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
3582 * shell/ev-properties.h:
3583 * shell/ev-window.c: (ev_window_cmd_file_properties):
3585 Implement fonts list. Defined out for now, since it depends
3586 on a not yet committed poppler patch.
3588 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
3590 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
3593 * shell/ev-window.c: Make sure we add the timeout when we get a
3596 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
3597 adjustment->value before calculating the zoom factor to average
3598 out all of our rounding errors. The page no longer 'drifts' when
3601 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3603 * data/evince-properties.glade:
3604 * shell/ev-properties.c: (ev_properties_format_date),
3607 Labels don't expand when the dialogue is resized.
3608 strftime result needs to be converted to UTF-8. Thanks
3609 to Christian Persch <chpe@gnome.org>.
3611 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3613 * data/evince-properties.glade:
3617 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
3619 * backend/ev-document-info.h:
3620 * backend/ev-document.c: (ev_document_info_free):
3621 * data/evince-properties.glade:
3622 * pdf/ev-poppler.cc:
3623 * ps/ps-document.c: (ps_document_get_info):
3624 * shell/ev-properties.c: (ev_properties_format_date),
3625 (set_property), (ev_properties_new):
3626 * shell/ev-properties.h:
3627 * shell/ev-window.c: (ev_window_cmd_file_properties):
3629 Rework properties code to take only EvPropertyInfo
3630 in the constructor so that it can be useful for
3631 nautilus plugin too.
3633 Deal with backends that doesnt support some properties.
3634 Make set property code generic.
3636 2005-06-04 Christian Persch <chpe@gnome.org>
3638 * data/evince-properties.glade:
3640 fix spacings, make resizeable, and make data labels
3641 selectable + ellipsised
3643 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
3645 * backend/ev-document-info.h:
3647 * data/evince-ui.xml:
3648 * pdf/ev-poppler.cc:
3649 * shell/Makefile.am:
3650 * shell/ev-window.c: (update_action_sensitivity),
3651 (ev_window_cmd_file_properties):
3653 Initial go at file properties. Patch by
3654 Emil Soleyman-Zomalan <emil@soleyman.com>.
3655 Needs love see #169583
3657 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
3659 * ps/ps-document.c: (output):
3660 * ps/ps.c: (psscan):
3662 Try to render even if psscan fails.
3664 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3666 * ps/ps.c: (psscan), (pscopydoc):
3668 Port buffered reading code from gv
3670 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3672 * ps/ps-document.c: (interpreter_message), (output):
3674 Do not fail on interpreter messages
3676 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
3678 * backend/ev-document-misc.c:
3679 (ev_document_misc_get_thumbnail_frame):
3681 Pages can be 0 x 0, dont assert on this case
3683 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3685 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3686 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
3688 Correctly manage our reference on document. Finally the reload
3689 huge leak is gone...
3691 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3693 * ps/ps-document.c: (ps_document_dispose):
3695 Forgot to chain it to the parent. Thanks chpe.
3697 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3699 * ps/ps-document.c: (ps_document_dispose),
3700 (ps_document_class_init), (stop_interpreter), (document_load):
3702 Cleanup dispose a bit. Dont leak the whole pixmap.
3704 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3706 * pdf/ev-poppler.cc:
3708 Release the poppler document on dispose
3710 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3712 * shell/ev-view.c: (ev_view_set_document):
3714 Release ref on the pixbuf cache when changing
3717 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3719 * ps/ps-document.c: (ps_document_get_info):
3723 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3725 * backend/ev-page-cache.c: (ev_page_cache_init),
3726 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
3727 * backend/ev-page-cache.h:
3728 * shell/ev-page-action.c: (page_changed_cb):
3730 Set page action entry width depending on labels width. Fix
3733 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3735 * backend/ev-link.c: (ev_link_class_init):
3737 Allow -1 as page value (error)
3739 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
3741 * shell/ev-sidebar-thumbnails.c:
3742 (ev_sidebar_thumbnails_set_document):
3743 * shell/ev-view.c: (scroll_to_current_page),
3744 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
3745 (page_changed_cb), (on_adjustment_value_changed),
3746 (ev_view_set_document):
3748 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
3751 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3754 * djvu/djvu-document.c: (djvu_document_get_page_size):
3756 Require djvulibre CVS. Now djvu loading is much faster. Fix for
3759 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
3761 * shell/ev-view.c (draw_one_page): modify the expose handling to
3764 * shell/ev-window.c (update_action_sensitivity): Respect
3765 permissions field. Kowtow to the man.
3767 * pdf/ev-poppler.cc: Get the permissions field.
3769 * tiff/*c: Make a tiny bit more robust.
3771 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3773 * djvu/djvu-document.c:
3775 Pop messages from djvu context message queue.
3777 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3779 * configure.ac, Makefile.am, shell/Makefile.am:
3780 * tiff/Makefile.am, shell/ev-document-types.c:
3782 Cleanup tiff configure checks. Fix for bug 305218.
3784 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
3786 * configure.ac: Added "uk" to ALL_LINGUAS.
3788 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3790 * cut-n-paste/zoom-control/ephy-zoom.c:
3791 (ephy_zoom_get_changed_zoom_level):
3792 * cut-n-paste/zoom-control/ephy-zoom.h:
3793 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3794 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3795 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3796 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3797 (zoom_control_changed_cb), (ev_window_init):
3799 Fix minor points related to moving best fit up. Introduce
3800 "zoom" property and make zoom control change it's value on
3801 notify::zoom signals. Fix for 305080.
3803 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3805 * data/evince-ui.xml:
3806 * shell/ev-window.c: (set_view_actions_sensitivity):
3808 Use + and - as accels for zoom in and zoom out. Fix for 305001.
3810 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3814 Depends on poppler 0.3.2
3816 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
3818 * cut-n-paste/recent-files/egg-recent-item.c:
3819 (egg_recent_item_get_short_name):
3820 * cut-n-paste/toolbar-editor/Makefile.am:
3821 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3822 (new_pixbuf_from_widget):
3823 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3824 * cut-n-paste/toolbar-editor/egg-marshal.c:
3825 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3826 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3830 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
3832 * tiff/tiff-document.c: Rough TIFF backend.
3834 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3838 * cut-n-paste/toolbar-editor/Makefile.am:
3842 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
3844 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
3845 (ev_view_find_next), (ev_view_find_previous):
3847 Remove the locks around get_n_results
3849 2005-05-21 Juerg Billeter <j@bitron.ch>
3851 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
3853 Pass correct number of pages to poppler.
3855 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3859 * data/evince.desktop.in:
3860 * data/evince.desktop.in.in:
3863 Add conditionally dvi and djvu to desktop types. Fix for 304658.
3865 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
3867 * shell/ev-view.c: (view_update_adjustments),
3868 (view_set_adjustment_values): cast adjustmen->value to (int)
3869 before using it. Otherwise, we get off by a pixel in some
3872 (draw_one_page): Draw the border on expose.
3874 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
3876 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
3877 adjustment when the mode changes, #304923
3879 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3881 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
3882 flickering on resize but still use gdk_window_scroll on
3885 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
3887 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
3890 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
3892 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
3893 second page on page_changed if possible, #304669
3895 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
3897 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
3898 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
3900 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
3903 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
3904 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3905 (ev_view_zoom_for_size_presentation),
3906 (ev_view_zoom_for_size_continuous_and_dual_page),
3907 (ev_view_zoom_for_size_continuous),
3908 (ev_view_zoom_for_size_dual_page),
3909 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
3911 * shell/ev-window.c: (update_view_size),
3912 (ev_window_sizing_mode_changed_cb):
3914 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
3915 the scrollbars. It's not 100% right, but it's much closer. Kills
3916 an infinite loop, #304769
3919 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3921 * data/evince-ui.xml:
3922 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
3923 * shell/ev-window.c: (set_view_actions_sensitivity):
3925 Make PgUp/Down behave like Space
3927 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3929 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
3930 * backend/ev-ps-exporter.h:
3931 * pdf/ev-poppler.cc:
3932 * ps/ps-document.c: (ps_document_ps_export_begin):
3933 * shell/ev-print-job.c: (idle_print_handler):
3935 Adapt to new poppler api
3937 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3939 * cut-n-paste/zoom-control/ephy-zoom-control.c:
3940 (ephy_zoom_control_init):
3942 Translate zoom levels
3944 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
3946 * cut-n-paste/zoom-control/ephy-zoom.c:
3947 (ephy_zoom_get_zoom_level_index):
3949 Fix current zoom -> zoom control match
3951 2005-05-18 James Bowes <bowes@cs.dal.ca>
3953 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
3954 rather than the scrolled_window that it's in. Fixes bug #304655.
3956 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
3958 * shell/ev-view.c: (view_update_adjustments),
3959 (view_set_adjustment_values), (view_update_range_and_current_page),
3960 (view_scroll_to_page), (set_scroll_adjustment),
3961 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
3962 (ev_view_scroll), (ev_view_scroll_view),
3963 (ensure_rectangle_is_visible), (find_page_at_location),
3964 (get_link_at_location), (go_to_link), (status_message_from_link),
3965 (ev_view_size_request_continuous_dual_page),
3966 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
3967 (ev_view_unrealize), (ev_view_expose_event),
3968 (ev_view_button_press_event), (ev_view_motion_notify_event),
3969 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
3970 (draw_rubberband), (highlight_find_results), (draw_one_page),
3971 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
3972 (ev_view_init), (find_changed_cb), (page_changed_cb),
3973 (on_adjustment_value_changed), (ev_view_new),
3974 (ev_view_set_document), (ev_view_set_zoom),
3975 (ev_view_set_continuous), (ev_view_set_dual_page),
3976 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
3977 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
3978 (ev_view_zoom_for_size_presentation),
3979 (ev_view_zoom_for_size_continuous_dual_page),
3980 (ev_view_zoom_for_size_continuous),
3981 (ev_view_zoom_for_size_dual_page),
3982 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3983 (ev_view_get_status), (ev_view_set_status),
3984 (update_find_status_message), (ev_view_get_find_status),
3985 (ev_view_set_find_status), (jump_to_find_result),
3986 (jump_to_find_page), (compute_selections), (clear_selection),
3987 (ev_view_select_all), (get_selected_text), (ev_view_copy),
3988 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
3989 (ev_view_update_primary_selection),
3990 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
3992 * shell/ev-window.c: (ev_window_open_page_label),
3993 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
3995 * shell/ev-window.h:
3996 * shell/main.c: (load_files):
3998 Massive code clean up from Nickolay Shmyrev. Keep page offset
3999 when resizing. Remove the bin_window(). Also, patch from James
4000 Bowes to fix command line page, #300641
4002 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
4004 * data/evince-ui.xml:
4007 * shell/ev-window.c: (update_action_sensitivity):
4009 Get rid of View->Normal Size, it's just confusing
4011 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
4013 * backend/ev-document-info.h:
4014 * backend/ev-document.c: (ev_document_info_free): Free the
4017 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4018 (clear_range), (add_range), (update_visible_range),
4019 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
4020 (ev_sidebar_thumbnails_set_document):
4021 * shell/ev-window.c: (ev_window_setup_document): Only render the
4022 visible thumbnails. It takes an instant to render, but it uses
4025 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
4027 * shell/ev-sidebar-links.c: (popup_menu_cb):
4031 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
4034 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
4035 (button_press_cb), (ev_sidebar_links_construct):
4037 Show the popup menu also on keybindings
4039 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
4041 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
4042 * shell/ev-window.h:
4044 Expose api to print a range (with dialog). Make private _print use
4047 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
4048 (ev_sidebar_links_construct):
4050 Show a print context menu on linkx, it prints the selected
4053 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
4055 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
4058 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
4064 * shell/ev-window.c: (build_comments_string),
4065 (ev_window_cmd_help_about):
4067 Show poppler version/backend and authors
4069 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
4071 * cut-n-paste/zoom-control/ephy-zoom.c:
4072 (ephy_zoom_get_zoom_level_index):
4073 * cut-n-paste/zoom-control/ephy-zoom.h:
4075 Move the best fit items at the top of the list
4077 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
4079 * shell/ev-marshal.list:
4080 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
4081 (activate_cb), (match_selected_cb), (activate_link_cb),
4082 (connect_proxy), (ev_page_action_class_init):
4083 * shell/ev-page-action.h:
4085 Use signals to notify action activation. Hopefully
4086 I did not break completion since I cant test...
4088 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
4089 (register_custom_actions):
4091 Connect to page selector actions and also grab focus on
4092 the view when activated.
4094 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
4096 * pdf/ev-poppler.cc:
4097 * backend/ev-page-cache.c: make page size calculation consistent
4098 and set it to (int)( width * scale + 0.5). This makes the weird
4099 line going through the middle of the page go away.
4101 * shell/ev-view.c: move painting the background page after
4102 checking the expose area covers us.
4104 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4106 * data/evince-password.glade:
4108 Mark labels as not translatable. Fix for bug 302842.
4110 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
4112 * configure.ac: Added "es" to ALL_LINGUAS.
4114 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4116 * data/evince-toolbar.xml:
4117 * shell/ev-window.c: (update_action_sensitivity),
4118 (ev_window_setup_document), (ev_window_set_page_mode),
4121 Remove some leftover code from jrb first continous
4122 attempt. Use the new actions, we still need good icons
4125 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4127 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
4129 Update label when connecting proxy. Fix a warning with NULL
4132 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4134 * data/evince-ui.xml:
4135 * shell/ev-page-action.c: (ev_page_action_grab_focus):
4136 * shell/ev-page-action.h:
4137 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
4139 Add mnemonic for edit toolbar.
4140 ctrl+l focus the page entry.
4142 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4145 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
4147 * shell/main.c: (main):
4149 Put the toolbar xml in evince own dot dir
4151 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4153 * shell/ev-window.c: (ev_window_init):
4155 Make the toolbar not removable
4157 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4159 * data/evince-ui.xml:
4160 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
4161 * shell/ev-sidebar-links.h:
4162 * shell/ev-sidebar-thumbnails.c:
4163 (ev_sidebar_thumbnails_get_treeview):
4164 * shell/ev-sidebar-thumbnails.h:
4165 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
4166 (ev_view_class_init):
4168 * shell/ev-window.c: (update_action_sensitivity),
4169 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
4170 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
4171 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
4174 This is evil... Make space/backspace global accelerators but
4175 enable them only for some widgets (sidebars and view).
4176 I dont like it, but I dont know a better way... :/
4178 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4180 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
4181 (ev_page_action_widget_finalize),
4182 (ev_page_action_widget_class_init), (update_page_cache):
4184 Keep a weak reference on proxy->page_cache so that we
4185 dont try to disconnect the signal if the object is already
4186 gone. Maybe there is a better way to cleanup reference handling
4187 in page action though...
4189 2005-05-10 Juerg Billeter <j@bitron.ch>
4191 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
4192 * backend/ev-ps-exporter.h:
4193 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
4194 * ps/ps-document.c: (ps_document_ps_export_begin):
4196 Change api to pass print range to ps_exporter_begin. The pdf backend
4197 requires this information.
4199 * shell/ev-print-job.c: (idle_print_handler):
4203 2005-05-10 Juerg Billeter <j@bitron.ch>
4205 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4206 (idle_print_handler)
4207 * shell/ev-window.c: (ev_window_print):
4209 Support printing page range, based on patch by Amaury Jacquot
4211 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4213 * data/evince-toolbar.xml:
4215 Add zoom control to available items
4217 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4219 * shell/ev-window.c: (update_action_sensitivity):
4221 Set slash action insensitive when appropriate
4223 2005-05-10 Christian Persch <chpe@gnome.org>
4225 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
4227 Fix warning on the overflow menu
4229 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
4231 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
4233 Check for uri correctness/existence
4235 2005-05-09 Juerg Billeter <j@bitron.ch>
4237 * shell/ev-window.c: (using_postscript_printer):
4239 LPD printers use postscript, too
4241 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4243 * shell/ev-window.c: (register_custom_actions):
4245 The zoom one is actually sort of useful,
4248 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4250 * shell/ev-window.c: (register_custom_actions):
4252 Hide page/zoom controls from overflow, they
4255 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4257 * cut-n-paste/update-from-egg.sh:
4259 Share it between all cut-n-paste subdirs
4261 * cut-n-paste/recent-files/Makefile.am:
4263 Fix to use "global" update-from-egg.sh
4265 * cut-n-paste/recent-files/egg-recent-model.c:
4266 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
4267 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4268 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
4269 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
4273 * cut-n-paste/toolbar-editor/Makefile.am:
4275 Fix to use "global" update-from-egg.sh
4277 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4281 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4284 * cut-n-paste/Makefile.am:
4285 * cut-n-paste/recent-files/Makefile.am:
4286 * cut-n-paste/toolbar-editor/.cvsignore:
4287 * cut-n-paste/toolbar-editor/Makefile.am:
4288 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
4289 (egg_editable_toolbar_get_type), (get_toolbar_position),
4290 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
4291 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
4292 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
4293 (set_item_drag_source), (create_item_from_action), (create_item),
4294 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
4295 (popup_toolbar_context_menu_cb), (free_dragged_item),
4296 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
4297 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
4298 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
4299 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
4300 (item_added_cb), (item_removed_cb),
4301 (egg_editable_toolbar_construct),
4302 (egg_editable_toolbar_disconnect_model),
4303 (egg_editable_toolbar_deconstruct),
4304 (egg_editable_toolbar_set_model),
4305 (egg_editable_toolbar_set_ui_manager),
4306 (egg_editable_toolbar_set_property),
4307 (egg_editable_toolbar_get_property),
4308 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
4309 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
4310 (egg_editable_toolbar_new_with_model),
4311 (egg_editable_toolbar_get_edit_mode),
4312 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
4313 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
4314 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
4315 (new_pixbuf_from_widget), (new_separator_pixbuf),
4316 (update_separator_image), (style_set_cb),
4317 (_egg_editable_toolbar_new_separator_image),
4318 (egg_editable_toolbar_get_model):
4319 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
4320 * cut-n-paste/toolbar-editor/egg-marshal.c:
4321 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
4322 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
4323 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
4324 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
4325 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
4326 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
4327 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
4328 (editor_drag_data_delete_cb), (drag_data_get_cb),
4329 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
4330 (editor_create_item), (update_editor_sheet), (setup_editor),
4331 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
4332 (parse_item_list), (model_has_action), (update_actions_list),
4333 (egg_toolbar_editor_load_actions):
4334 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
4335 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
4336 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
4337 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
4338 (toolbars_item_new), (free_toolbar_node), (free_item_node),
4339 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
4340 (egg_toolbars_model_add_separator), (impl_add_item),
4341 (parse_item_list), (egg_toolbars_model_add_toolbar),
4342 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
4343 (impl_get_item_data), (impl_get_item_type),
4344 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
4345 (egg_toolbars_model_init), (free_toolbar),
4346 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
4347 (egg_toolbars_model_remove_toolbar),
4348 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
4349 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
4350 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
4351 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
4352 (egg_toolbars_model_get_item_data),
4353 (egg_toolbars_model_get_item_type):
4354 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
4355 * cut-n-paste/toolbar-editor/eggmarshalers.list:
4357 * data/evince-toolbar.xml:
4358 * data/evince-ui.xml:
4359 * data/hand-open.png:
4361 * shell/Makefile.am:
4362 * shell/ev-window.c: (update_chrome_visibility),
4363 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
4364 (ev_window_dispose), (ev_window_init):
4366 Implement epiphany like toolbar editor. Based on patch by
4367 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4369 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4371 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
4373 Use set_cursor instead of set_selection, so that
4374 the keyboard focus moves too.
4376 2005-05-09 Aleksey Kliger <akliger@gmail.com>
4378 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
4380 Fix infinite loop when loading Type1 fonts
4382 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4384 * data/evince-ui.xml:
4385 * shell/ev-window.c:
4389 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
4393 Make --disable really disable
4395 2005-05-07 Juerg Billeter <j@bitron.ch>
4397 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
4399 Compare page labels even without has_labels set, fixes setting page
4402 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
4404 * shell/ev-view.c: (ev_view_create_invisible_cursor),
4405 (ev_view_set_cursor), (ev_view_button_press_event),
4406 (ev_view_motion_notify_event), (ev_view_button_release_event),
4409 Implement middle button scrolling. Based on a patch
4410 by Tommi Komulainen <tommi.komulainen@iki.fi>.
4412 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
4414 * shell/ev-document-types.c: (get_slow_mime_type),
4415 (get_document_type_from_mime), (ev_document_type_lookup):
4416 * shell/ev-document-types.h:
4418 Change api to lookup from uri. Do fast lookup first, if the
4419 type is unknown try with data sniffing.
4421 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
4422 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4426 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4428 * thumbnailer/Makefile.am:
4432 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4439 * data/evince-ui.xml:
4441 Hide presentation mode for now
4443 * shell/ev-view.c: (highlight_find_results):
4445 Show current find selection only on current page
4447 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4449 * shell/ev-view.c: (ev_view_select_all):
4451 Compute size of the actual page, not of
4454 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4456 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
4457 (view_rect_to_doc_rect), (compute_selections),
4458 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
4459 (ev_view_copy), (ev_view_primary_get_cb),
4460 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
4461 (ev_view_button_press_event), (ev_view_motion_notify_event),
4462 (ev_view_button_release_event), (page_changed_cb):
4466 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
4468 * shell/ev-view.c: (compute_border), (get_page_extents),
4469 (doc_rect_to_view_rect), (highlight_find_results),
4470 (ev_view_bin_expose), (ev_view_select_all),
4471 (ev_view_motion_notify_event), (update_find_status_message),
4472 (jump_to_find_result), (jump_to_find_page):
4474 First go at fixing search, still buggy
4476 2005-05-04 Kristian Høgsberg <krh@redhat.com>
4478 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
4479 dropdown box and button at the top of the sidebar.
4481 2005-05-02 James Bowes <bowes@cs.dal.ca>
4483 * configure.ac: Output zoom-control Makefile.
4484 * cut-n-paste/Makefile.am: build zoom-control subdir.
4485 * cut-n-paste/zoom-control/ephy-zoom-action.c:
4486 * cut-n-paste/zoom-control/ephy-zoom-action.h:
4487 * cut-n-paste/zoom-control/ephy-zoom-control.c:
4488 * cut-n-paste/zoom-control/ephy-zoom-control.h:
4489 * cut-n-paste/zoom-control/ephy-zoom.c:
4490 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
4491 from epiphany, and modified to add a separator into the menu.
4492 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
4493 * data/evince-ui.xml: Replace old zoom toolbar actions with new
4494 zoom-control action.
4495 * shell/Makefile.am: Include zoom-control flags.
4496 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
4497 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
4498 (ev_view_zoom_for_size_presentation),
4499 (ev_view_zoom_for_size_continuous_and_dual_page),
4500 (ev_view_zoom_for_size_continuous),
4501 (ev_view_zoom_for_size_dual_page),
4502 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
4503 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
4504 ev_view_get_zoom and ev_view_get_sizing_mode.
4506 * shell/ev-window.c: (update_action_sensitivity),
4507 (update_sizing_buttons), (zoom_control_changed_cb),
4508 (register_custom_actions): Initialize and use the zoom-control
4511 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
4513 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
4514 preview cache back to 1. Don't know when it got set to 0.
4516 * shell/ev-view.c: (compute_border), (ev_view_realize),
4517 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
4518 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
4519 (ev_view_get_fullscreen), (ev_view_set_presentation),
4520 (ev_view_get_presentation), (ev_view_set_sizing_mode),
4521 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
4523 * shell/ev-window.c:
4524 (update_chrome_visibility),
4525 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4526 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4527 (update_document_mode), (ev_window_update_fullscreen_action),
4528 (ev_window_fullscreen), (ev_window_unfullscreen),
4529 (ev_window_cmd_view_fullscreen),
4530 (ev_window_update_presentation_action),
4531 (ev_window_run_presentation), (ev_window_stop_presentation),
4532 (ev_window_cmd_view_presentation), (ev_window_state_event),
4533 (ev_window_focus_in_event), (ev_window_focus_out_event),
4534 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
4535 * data/evince-ui.xml: Initial presentation mode. We should
4536 probably hide this until it's done, as it's quite rough. Also,
4537 change full-screen to fullscreen and add two getters to EvView.
4539 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4541 * shell/ev-page-action.c: (update_page_cache),
4542 (ev_page_action_dispose):
4543 * shell/ev-window.c: (destroy_fullscreen_popup),
4544 (ev_window_create_fullscreen_popup):
4546 Use connect_object rather than explicitly
4547 disconnect on dispose.
4549 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
4551 * shell/ev-page-action.c: (update_page_cache),
4552 (ev_page_action_dispose):
4554 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4556 * backend/ev-page-cache.c: (_ev_page_cache_new),
4557 (ev_page_cache_set_page_label),
4558 (ev_page_cache_has_nonnumeric_page_labels):
4559 * backend/ev-page-cache.h:
4560 * shell/ev-page-action.c: (update_pages_label):
4562 If all page labels are numeric, fallback to default
4563 way to display number of pages. See bug 173185.
4565 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4567 * shell/ev-page-action.c: (ev_page_action_dispose):
4568 * shell/ev-view.c: (view_update_range_and_current_page):
4569 * shell/ev-window.c: (ev_window_dispose):
4571 Set page on scroll in continuous mode. Fixes bug 301986.
4572 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
4574 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
4578 Require poppler 0.3.0
4580 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4582 * shell/Makefile.am, configure.ac: Fix build problems
4583 with t1lib. Bug 301996.
4585 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4587 * shell/ev-view.c: (ev_view_scroll_event):
4589 Scroll up increase zoom
4591 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4593 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
4594 (ev_view_set_sizing_mode),
4595 (ev_view_zoom_for_size_continuous_and_dual_page),
4596 (ev_view_zoom_for_size_continuous):
4597 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4598 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
4599 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
4602 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
4603 Fix for 165473 and 165472.
4605 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4608 * thumbnailer/Makefile.am:
4609 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
4610 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
4611 * thumbnailer/evince-thumbnailer.schemas.in:
4613 Make thumbnailer schemas translatable. Fix for bug 301773
4615 * thumbnailer/evince-thumbnailer-djvu.schemas:
4616 * thumbnailer/evince-thumbnailer-dvi.schemas:
4617 * thumbnailer/evince-thumbnailer.schemas:
4621 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
4623 * shell/ev-view.c (ev_view_init): forgot to set this.
4625 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
4627 * shell/ev-view.c: (find_page_at_location),
4628 (get_link_at_location),
4629 (ev_view_set_show_border), (ev_view_set_spacing),
4630 (ev_view_zoom_for_size_continuous_and_dual_page),
4631 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
4632 Also, add a quick fix measuring of widths. Also, removed
4633 ev_view_set_spacing and ev_view_set_show_border.
4635 * shell/ev-window.c: (ev_window_unfullscreen),
4636 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
4638 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4640 * shell/ev-view.c: (view_update_range_and_current_page),
4643 Fix crash on exit and scrolling to page in continuous view.
4645 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
4648 * backend/ev-page-cache.c: (_ev_page_cache_new),
4649 (ev_page_cache_get_max_width_size),
4650 (ev_page_cache_get_max_height_size):
4651 * backend/ev-page-cache.h:
4652 * data/evince-ui.xml:
4653 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
4654 * shell/ev-view.c: (view_update_adjustments),
4655 (view_update_range_and_current_page), (get_bounding_box_size),
4656 (ev_view_size_request_continuous_and_dual_page),
4657 (ev_view_size_request_continuous),
4658 (ev_view_size_request_dual_page),
4659 (ev_view_size_request_single_page), (ev_view_size_request),
4660 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
4661 (ev_view_bin_expose), (ev_view_expose_event),
4662 (ev_view_set_property), (ev_view_get_property),
4663 (ev_view_class_init), (ev_view_init), (ev_view_new),
4664 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
4665 (ev_view_set_dual_page), (ev_view_set_full_screen),
4666 (ev_view_set_presentation), (ev_view_set_sizing_mode),
4667 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
4668 (ev_view_zoom_out), (zoom_for_size_fit_width),
4669 (zoom_for_size_best_fit),
4670 (ev_view_zoom_for_size_continuous_and_dual_page),
4671 (ev_view_zoom_for_size_continuous),
4672 (ev_view_zoom_for_size_dual_page),
4673 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4674 (ev_view_show_cursor), (ev_sizing_mode_get_type):
4676 * shell/ev-window.c: (update_action_sensitivity),
4677 (ev_window_cmd_continuous), (ev_window_cmd_dual),
4678 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4679 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
4680 (ev_window_cmd_view_zoom_out), (update_view_size),
4681 (ev_window_set_sizing_mode), (ev_window_init):
4683 Add Continuous and Dual page modes.
4685 2005-04-23 James Bowes <bowes@cs.dal.ca>
4687 * dvi/dvi-document.c: (dvi_document_load),
4688 (dvi_document_thumbnails_get_thumbnail),
4689 (dvi_document_init_params): Fix up some mixups between
4690 width and height to correct thumbnail rendering.
4692 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4694 * dvi/mdvi-lib/private.h:
4695 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
4697 Suppess output for kpathsea during font generation. Thanks to
4700 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
4707 * Makefile.am: fix distcheck.
4709 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4711 * shell/ev-sidebar-links.c: (selection_changed_callback),
4712 (update_page_callback), (row_activated_callback),
4713 (job_finished_callback), (ev_sidebar_links_set_document):
4715 Fix for bug #169901. Double click on links expands tree.
4717 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
4719 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
4720 hard-coded style. Fix for bug 170111
4722 2005-04-22 Kristian Høgsberg <krh@redhat.com>
4724 * shell/ev-view.c (highlight_find_results): Remove unnecessary
4727 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4729 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
4731 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4733 * pdf/ev-poppler.cc:
4734 * shell/ev-view.c: (highlight_find_results):
4736 Fix find on single page documents
4738 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
4740 * data/evince.schemas.in: fix for bug 301390
4742 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4744 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
4745 (ev_view_zoom_out), (ev_view_zoom_normal):
4747 * shell/ev-window.c: (update_action_sensitivity),
4748 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4749 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
4750 (ev_window_cmd_view_normal_size):
4752 Fix normal size zoom. Make zoom in/zoom out unsensitive when
4753 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
4756 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4760 Depend on 2.57, 2.59 doesnt seem to be necessary
4762 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
4764 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4767 Put back total number of pages as (1 of 1234)
4769 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
4771 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4774 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4775 function. This helps debugging.
4777 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4779 * djvu/djvu-document.c: (djvu_document_class_init),
4780 (djvu_document_get_info), (djvu_document_document_iface_init):
4781 * dvi/dvi-document.c: (dvi_document_class_init),
4782 (dvi_document_get_info), (dvi_document_document_iface_init):
4784 Dummy implementation of get_info method for dvi and djvu. Fix
4785 crashes with those backends
4787 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
4789 * data/evince.desktop.in:
4791 Add application/x-gzpostscript
4793 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
4795 * data/evince.schemas.in: Added real long descriptions,
4798 * README: Added actual text, closes bug 171869
4800 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4802 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4806 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4808 * backend/ev-document-info.h:
4810 s/GDate */GDate so we can just use g_free
4812 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4814 * shell/ev-window.c: (update_document_mode),
4815 (ev_window_setup_document):
4817 Show the window in fullscreen when specified by
4820 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4822 * backend/ev-document.c: (ev_document_class_init),
4823 (ev_document_get_info), (ev_document_render_pixbuf):
4824 * backend/ev-document.h:
4825 * backend/ev-page-cache.c: (_ev_page_cache_new):
4826 * pdf/ev-poppler.cc:
4827 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
4828 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
4829 * ps/ps-document.c: (ps_document_class_init), (document_load),
4830 (ps_document_get_info), (ps_document_document_iface_init):
4832 Remove get_title from the interface, we can just use document info
4834 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
4836 * backend/Makefile.am:
4837 * backend/ev-document.c: (ev_document_render_get_info):
4838 * backend/ev-document.h:
4839 * pdf/ev-poppler.cc:
4841 Initial support for document info. Based on jrb patch.
4843 2005-04-19 Paolo Borelli <pborelli@katamail.com>
4845 * shell/ev-window.c: (ev_window_state_event),
4846 (ev_window_class_init), (ev_window_init):
4848 Doesn't show resize grip when maximized. See bug #301053
4850 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4854 ev-sidebar-thumbnails now has translatable labels
4856 * shell/Makefile.am:
4857 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
4858 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
4859 (ev_sidebar_links_page_iface_init):
4860 * shell/ev-sidebar-links.h:
4861 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
4862 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
4863 (ev_sidebar_page_get_label):
4864 * shell/ev-sidebar-page.h:
4865 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
4866 (ev_sidebar_thumbnails_set_document),
4867 (ev_sidebar_thumbnails_support_document),
4868 (ev_sidebar_thumbnails_get_label),
4869 (ev_sidebar_thumbnails_page_iface_init):
4870 * shell/ev-sidebar-thumbnails.h:
4871 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
4872 (ev_sidebar_set_document):
4873 * shell/ev-sidebar.h:
4874 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
4876 Small rework of sidebar code. Now sidebar pages should implement
4877 EvSidebarPage interface. That makes page management in EvSidebar
4878 easier. See bug #164811 for details
4880 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4882 * shell/ev-application.c: (ev_application_open):
4883 * shell/ev-document-types.c:
4885 Fix build error and small problem with application exit
4887 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4889 * thumbnailer/Makefile.am:
4890 * thumbnailer/evince-thumbnailer-djvu.schemas:
4891 * thumbnailer/evince-thumbnailer-dvi.schemas:
4893 Conditionally install schemas for djvu/dvi thumbnailer
4895 2005-04-18 David Malcolm <dmalcolm@redhat.com>
4897 * shell/ev-document-types.h:
4898 * shell/ev-document-types.c:
4899 New files, handling the mapping from mimetypes to backends
4901 * shell/ev-window.c:
4902 * thumbnailer/evince-thumbnailer.c:
4903 Use the ev-document-types code
4905 * shell/Makefile.am:
4906 Added new convenience library libevbackendfactory_la, containing
4907 the new mimetype->backend logic; moved the backends into it.
4909 * thumbnailer/Makefile.am:
4910 Make the thumbnailer link with the libevbackend.la convenience
4911 library, rather than having a duplicate of the backend logic here.
4913 2005-04-18 Paolo Borelli <pborelli@katamail.com>
4915 * shell/ev-stock-icons.c: constify some vars.
4916 * shell/ev-window.c: ditto.
4918 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
4920 * ps/ps-document.c (get_page_orientation):
4922 Respect document orientation
4924 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4928 * shell/Makefile.am:
4930 Move library dependencies to components.
4932 * shell/ev-window.c: (update_window_title),
4933 (start_loading_document):
4935 Fix display of uris with spaces. Bug 168358.
4937 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
4939 * shell/ev-sidebar-links.c: (selection_changed_cb):
4940 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
4941 (ev_view_button_release_event), (ev_view_set_document):
4943 * shell/ev-window.c: (find_bar_search_changed_cb):
4944 * shell/ev-window.h: Minor cleanups removing some dead code.
4946 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4948 * backend/ev-page-cache.c: (_ev_page_cache_new):
4950 Set current page to 0 if document has pages.
4952 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4954 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4956 Initialize GError to NULL, fix a crash when loading fails.
4958 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4960 * shell/ev-window.c: (update_view_size):
4962 Calculate shadow size only when there is actually
4965 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4967 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
4970 Allow setting view spacing, default to 0
4972 * shell/ev-window.c: (ev_window_unfullscreen),
4973 (ev_window_cmd_view_fullscreen), (ev_window_init):
4975 Remove spacing in fullscreen mode
4977 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4979 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
4980 (ev_view_size_request), (expose_bin_window),
4981 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
4983 * shell/ev-window.c: (ev_window_unfullscreen),
4984 (ev_window_cmd_view_fullscreen):
4986 Do not draw the border in fulscreen
4988 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4990 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
4991 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
4992 (find_page_at_location), (page_changed_cb):
4994 Rework border calculation, so that I can more easily disable it.
4995 Code somewhat cleaner too.
4997 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
4999 * backend/ev-page-cache.c: (ev_page_cache_init),
5000 (_ev_page_cache_new):
5002 Remove some assertions, documents can have 0 pages.
5003 Make initial current page -1.
5005 * shell/ev-page-action.c: (page_changed_cb):
5007 Show "" if current page is -1
5009 * shell/ev-window.c: (update_action_sensitivity),
5010 (ev_window_setup_document):
5012 When document has 0 pages do not set the view
5013 and make nearly everything insensitive.
5015 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5017 * shell/ev-page-view.c:
5018 * shell/ev-page-view.h:
5020 Remove unused files.
5022 * shell/ev-sidebar-thumbnails.c:
5023 (ev_sidebar_thumbnails_set_document):
5024 * shell/ev-sidebar.c: (ev_sidebar_set_document),
5025 (ev_sidebar_supports_document):
5026 * shell/ev-sidebar.h:
5027 * shell/ev-window.c: (ev_window_setup_document):
5029 Doesn't show thumbnails if document has 1 page. Make
5030 sidebar menu entries sensitive only if if they have
5031 sense. Fix bug 164811.
5033 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
5035 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
5036 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
5037 (ev_view_zoom_out), (ev_view_set_size):
5039 Rework sizing to deal with documents with not uniform page
5042 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
5044 * backend/ev-page-cache.c: (_ev_page_cache_new):
5046 Fix several page size caching bugs
5048 2005-04-15 Luca Ferretti <elle.uca@libero.it>
5050 * shell/ev-window.c: (set_action_properties):
5052 Make all toolbar items translatable
5054 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
5056 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
5057 (save_page_list), (ps_document_save),
5058 (ps_document_document_iface_init), (ps_document_ps_export_begin),
5059 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
5060 (ps_document_ps_exporter_iface_init):
5063 Based on a patch by J�rg Billeter <j@bitron.ch>
5065 Implement print and save a copy for the ps backend.
5067 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
5069 * backend/ev-document.h:
5070 * djvu/djvu-document.c: (djvu_document_can_get_text),
5071 (djvu_document_document_iface_init):
5072 * dvi/dvi-document.c: (dvi_document_can_get_text),
5073 (dvi_document_document_iface_init):
5074 * pdf/ev-poppler.cc:
5075 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
5076 (pixbuf_document_document_iface_init):
5077 * ps/ps-document.c: (ps_document_can_get_text),
5078 (ps_document_document_iface_init):
5079 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
5080 * shell/ev-window.c: (update_action_sensitivity):
5082 Fix the crash when trying to copy in backends that doesnt
5083 support it. We can implement a better solution once we
5084 do real text selection.
5086 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
5088 * data/evince-ui.xml:
5089 * shell/ev-window.c: (ev_window_cmd_escape):
5091 Work around the Escape conflict (find bar and unfullscreen)
5093 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
5095 * backend/ev-page-cache.c: (ev_page_cache_next_page):
5097 Fix for #300233. Next page correctly handles document end.
5099 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
5100 (ev_sidebar_thumbnails_class_init),
5101 (ev_sidebar_thumbnails_set_document),
5102 (ev_sidebar_thumbnails_clear_job),
5103 (ev_sidebar_thumbnails_clear_model):
5105 Cleanup thumbnail jobs on document changes.
5107 * shell/ev-view.c: (add_scroll_binding_keypad),
5108 (add_scroll_binding_shifted), (ev_view_class_init):
5110 Shift + Space scrolls up. Fix for #173184
5112 * shell/ev-window.c: (ev_window_open_page),
5113 (ev_window_cmd_view_reload):
5115 Fix reload (Bug #300094)
5117 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5120 * dvi/mdvi-lib/assoc.c:
5121 * dvi/mdvi-lib/assoc.h: Removed garbage files
5123 * dvi/mdvi-lib/bitmap.c:
5124 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
5125 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
5126 * dvi/mdvi-lib/color.h: Antialias of rules
5128 * dvi/mdvi-lib/common.h:
5129 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
5130 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
5131 * dvi/mdvi-lib/files.c:
5132 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
5133 * dvi/mdvi-lib/mdvi.h:
5134 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
5135 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
5136 * dvi/mdvi-lib/util.c: Fix compile warnings
5138 * dvi/dvi-document.c:
5139 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
5140 (dvi_document_thumbnails_get_thumbnail),
5141 (dvi_document_document_thumbnails_iface_init):
5142 * dvi/mdvi-lib/Makefile.am:
5143 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
5144 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
5146 Dvi backend now renders thumbnails
5148 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
5150 * shell/main.c: (main):
5152 Save accelerators on exit. Fixes bug #172095.
5154 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
5156 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
5157 update priority" comment.
5159 * backend/ev-job-queue.c: Give a way to change priority.
5161 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
5163 * shell/ev-page-action.c: Fix logic.
5165 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5167 * shell/ev-view.c: (ev_view_can_find_next):
5168 * shell/ev-window.c: (ev_window_setup_document):
5170 Check that the document supports find
5172 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5174 * data/evince-ui.xml:
5175 * shell/ev-view.c: (ev_view_can_find_next):
5177 * shell/ev-window.c: (update_action_sensitivity),
5178 (find_changed_cb), (ev_window_setup_document),
5179 (ev_window_cmd_edit_find_next):
5183 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
5185 * pdf/ev-poppler.cc:
5186 * shell/ev-print-job.c: (idle_print_handler):
5188 Make printing work again
5190 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
5192 * shell/ev-page-action.h:
5193 * shell/ev-page-action.c: (ev_page_action_widget_init),
5194 (ev_page_action_widget_class_init), (page_changed_cb),
5195 (create_tool_item), (update_page_cache), (build_new_tree_cb),
5196 (get_filter_model_from_model), (match_selected_cb),
5197 (display_completion_text), (match_completion), (update_model),
5198 (connect_proxy), (ev_page_action_set_property),
5199 (ev_page_action_get_property), (ev_page_action_set_document),
5200 (ev_page_action_set_model), (ev_page_action_class_init): Big
5201 reworking to make completions work iff we have >= GTK-2.7.0
5203 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
5204 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
5205 (job_finished_cb): We now have a 'model' property that is set when
5206 the links are loaded. This can be caught with "notify::model"
5208 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
5209 listen for the model to be set, and propagate it to the action.
5211 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5213 * cut-n-paste/recent-files/egg-recent-item.c:
5214 (egg_recent_item_set_uri), (make_valid_utf8),
5215 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
5216 * cut-n-paste/recent-files/egg-recent-item.h:
5218 Update egg-recent from libegg. This should fix long
5219 startup problem. For details see
5220 http://bugzilla.gnome.org/show_bug.cgi?id=160531
5222 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5224 * cut-n-paste/recent-files/Makefile.am:
5225 * data/evince-ui.xml, shell/Makefile.am:
5226 * shell/ev-application.c, shell/ev-application.h:
5227 * shell/ev-window.c: Recent files support.
5229 * configure.ac: Added "ru" to ALL_LINGUAS.
5231 * dvju: new backend to support DJVU files.
5232 * dvi: new backend to support DVI.
5234 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
5235 * ev-application.c: Support for new backends.
5237 * help, ev-window.c, main.c shell/Makefile.am:
5238 Evince user documentation.
5240 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5243 * shell/ev-window.c:
5244 * thumbnailer/evince-thumbnailer.c:
5246 s/pdf-document/ev-poppler
5248 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
5255 * ps/ps-document.c: (setup_pixmap):
5259 2005-04-05 Kristian Høgsberg <krh@redhat.com>
5261 * backend/ev-page-cache.c (ev_page_cache_next_page):
5262 * shell/ev-window.c (ev_window_cmd_go_next_page)
5263 (ev_window_cmd_go_first_page): Fix of by one errors.
5265 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5267 * ps/ps-document.c: (get_page_box):
5269 Fix page size calculation
5271 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5273 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
5274 (ps_document_cleanup), (setup_pixmap), (get_page_box),
5275 (get_page_orientation), (setup_page), (document_load),
5276 (ps_document_get_page_size), (render_pixbuf_idle):
5279 More refactoring to adapt to EvDocument changes
5281 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5283 * ps/ps-document.c: (start_interpreter):
5285 Actually add alpha args
5287 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
5289 * pdf/ev-poppler.cc:
5291 Make clipboard work again
5293 2005-04-04 Kristian Høgsberg <krh@redhat.com>
5295 Make searching work again.
5297 * backend/ev-document.c:
5298 * backend/ev-document.h:
5299 * backend/ev-document-find.c:
5300 * backend/ev-document-find.h: Change EvDocumentIface so we no
5301 longer store the current page or zoom level in the document. The
5302 consequence is that all calls that operate on the current page now
5303 instead take the page number as an extra argument, and all
5304 coordinates are now doubles in document coordinate system.
5306 * pdf/ev-poppler.cc:
5307 * pixbuf/pixbuf-document.c:
5308 * ps/ps-document.c: Update backends accordingly.
5310 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
5314 Add required gettext version
5316 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
5318 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
5319 make F1 bring up non-existent help.
5321 * shell/eggfindbar.c: Patch from Christian Persch to sync to
5322 epiphany's find bar, #167477
5324 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
5325 <emil@nishra.com> to add space-bar scrolling,
5327 * shell/ev-window.c (static GtkActionEntry entries): add default
5328 keybinding for Help (F1)
5331 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
5332 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
5335 2005-04-01 David Malcolm <dmalcolm@redhat.com>
5338 * pixbuf/pixbuf-document.c:
5340 Got pixbuf backend working again
5342 2005-04-01 Steve Murphy <murf@e-tools.com>
5344 * configure.in: Added "rw" to ALL_LINGUAS.
5346 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
5348 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
5349 model types, noticed by Martin Kretzschmar.
5351 2005-04-01 Kristian Høgsberg <krh@redhat.com>
5353 * pdf/ev-poppler.cc: Implement search based on
5354 poppler_page_find_text(). Currently a bit crude since we remember
5355 all matches from all pages. Also, we grab the big document lock
5356 when we search since searching changes the underlying stream and
5357 thus conflicts with the rendering thread.
5359 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5360 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
5361 (ev_view_find_previous): Fix some page indexes to be 0 based,
5362 offset rubber band by view offset,
5364 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
5366 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
5368 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
5370 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
5371 completely because I didn't understand GtkActions. I should
5372 read Marco's code more carefully in the future.
5374 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
5377 2005-03-31 Kristian Høgsberg <krh@redhat.com>
5379 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
5380 PopplerRectangle change from poppler CVS.
5382 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
5384 * backend/ev-document.c: (ev_document_get_page_label):
5385 * backend/ev-document.h:
5386 * backend/ev-page-cache.c: (_ev_page_cache_new),
5387 (ev_page_cache_get_page_label):
5388 * backend/ev-page-cache.h:
5389 * pdf/ev-poppler.cc:
5390 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
5391 (links_page_num_func):
5392 * shell/ev-sidebar-thumbnails.c:
5393 (ev_sidebar_thumbnails_set_document):
5394 * shell/ev-view.c: (status_message_from_link),
5395 (ev_view_motion_notify_event):
5396 * shell/ev-window.c: (document_supports_sidebar): Add in page
5397 label support. It's not perfect yet, but it's the first 'feature'
5399 Also, fix a bogus comment noticed by crispin.
5401 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
5403 * Makefile.am: Remove pixbuf backend for now
5405 * configure.ac: Require poppler-glib instead of just poppler.
5407 * backend/ev-document-thumbnails.h: Add a comment
5409 * backend/ev-document.h:
5410 * backend/ev-document.c: (ev_document_class_init),
5411 (ev_document_load), (ev_document_get_link),
5412 (ev_document_get_links): Remove 3 methods and add get_links.
5415 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
5416 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
5418 * backend/ev-link.c: (ev_link_set_title),
5419 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
5420 (ev_link_mapping_find):
5421 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
5423 * backend/ev-page-cache.c: (ev_page_cache_init),
5424 (_ev_page_cache_new), (ev_page_cache_set_current_page),
5425 (ev_page_cache_get_size), (ev_page_cache_next_page),
5426 (ev_page_cache_prev_page): Fix to be 0 based.
5430 * pdf/ev-poppler.cc: New backend.
5432 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
5433 (ps_document_get_page), (ps_document_document_iface_init):
5435 * shell/ev-pixbuf-cache.h:
5436 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5437 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
5438 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
5439 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
5440 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
5441 Fix up code to grab a page cache per each doc. Also, fix to be 0
5444 * shell/ev-sidebar-thumbnails.c:
5445 (ev_sidebar_tree_selection_changed), (page_changed_cb),
5446 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
5448 * shell/ev-view.c: (status_message_from_link),
5449 (find_page_at_location), (get_link_at_location),
5450 (ev_view_motion_notify_event), (ev_view_button_release_event),
5451 (ev_view_init): Use the new link code. Fix to be 0 based.
5453 * shell/ev-window.c: (update_action_sensitivity),
5454 (document_supports_sidebar): 0 based.
5456 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
5458 * pdf/pdf-document.cc: Patch from Fernando Herrera
5459 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
5462 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
5464 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
5465 1 to the page, as this seems to be 1 based. I thought we has this
5468 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
5471 * backend/Makefile.am:
5472 * backend/ev-document-links.c:
5473 (ev_document_links_has_document_links),
5474 (ev_document_links_get_links_model):
5475 * backend/ev-document-links.h:
5476 * backend/ev-document.c: (ev_document_get_page_cache),
5477 (ev_document_get_doc_mutex), (ev_document_load),
5478 (ev_document_save), (ev_document_get_title),
5479 (ev_document_get_n_pages), (ev_document_set_page),
5480 (ev_document_get_page), (ev_document_set_target),
5481 (ev_document_set_scale), (ev_document_set_page_offset),
5482 (ev_document_get_page_size), (ev_document_get_text),
5483 (ev_document_get_link), (ev_document_render),
5484 (ev_document_render_pixbuf), (ev_document_scale_changed):
5485 * backend/ev-document.h:
5486 * backend/ev-job-queue.c: (remove_object_from_queue),
5487 (notify_finished), (handle_job), (search_for_jobs_unlocked),
5488 (no_jobs_available_unlocked), (ev_render_thread),
5489 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
5490 (ev_job_queue_remove_job):
5491 * backend/ev-job-queue.h:
5492 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
5493 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
5494 (ev_job_links_class_init), (ev_job_render_init),
5495 (ev_job_render_dispose), (ev_job_render_class_init),
5496 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
5497 (ev_job_thumbnail_class_init), (ev_job_finished),
5498 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
5499 (ev_job_render_run), (ev_job_thumbnail_new),
5500 (ev_job_thumbnail_run):
5501 * backend/ev-jobs.h:
5502 * backend/ev-link.c:
5503 * backend/ev-link.h:
5504 * backend/ev-page-cache.c: (ev_page_cache_init),
5505 (ev_page_cache_class_init), (ev_page_cache_finalize),
5506 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
5507 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
5508 (ev_page_cache_set_link), (ev_page_cache_get_title),
5509 (ev_page_cache_get_size), (ev_page_cache_next_page),
5510 (ev_page_cache_prev_page):
5511 * backend/ev-page-cache.h:
5512 * pdf/pdf-document.cc:
5515 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5516 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
5517 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
5518 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
5519 (is_interpreter_ready), (output), (catchPipe), (input),
5520 (start_interpreter), (check_filecompressed), (compute_dimensions),
5521 (ps_document_enable_interpreter), (document_load),
5522 (ps_document_next_page), (render_page), (ps_document_set_page),
5523 (ps_document_set_scale), (render_pixbuf_idle),
5524 (ps_document_render_pixbuf), (ps_document_document_iface_init):
5526 * shell/Makefile.am:
5527 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5528 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
5529 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
5530 (ev_pixbuf_cache_new), (job_finished_cb),
5531 (check_job_size_and_unref), (move_one_job),
5532 (ev_pixbuf_cache_update_range), (find_job_cache),
5533 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
5534 (ev_pixbuf_cache_add_jobs_if_needed),
5535 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
5536 * shell/ev-pixbuf-cache.h:
5537 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
5538 (idle_print_handler):
5539 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5540 (selection_changed_cb), (create_loading_model),
5541 (ev_sidebar_links_construct), (links_page_num_func),
5542 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
5543 (update_page_callback), (job_finished_cb),
5544 (ev_sidebar_links_set_document):
5545 * shell/ev-sidebar-thumbnails.c:
5546 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
5547 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
5548 (page_changed_cb), (thumbnail_job_completed_callback),
5549 (ev_sidebar_thumbnails_set_document):
5550 * shell/ev-sidebar-thumbnails.h:
5551 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5552 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
5553 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
5554 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
5555 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
5556 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
5557 (ev_view_button_release_event), (ev_view_scroll_view),
5558 (ev_view_class_init), (ev_view_init), (update_find_status_message),
5559 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
5560 (ev_view_new), (job_finished_cb), (page_changed_cb),
5561 (ev_view_set_document), (go_to_link), (ev_view_zoom),
5562 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
5563 (ev_view_find_previous):
5565 * shell/ev-window.c: (update_action_sensitivity),
5566 (ev_window_open_page), (update_window_title), (update_total_pages),
5567 (page_changed_cb), (ev_window_setup_document),
5568 (password_dialog_response), (ev_window_cmd_save_as),
5569 (ev_window_print), (ev_window_cmd_go_previous_page),
5570 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
5571 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
5572 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
5573 * shell/main.c: (main):
5575 Merge evince-threads branch
5577 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
5579 * configure.ac: Added "lt" to ALL_LINGUAS.
5581 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
5588 2005-03-13 Fernando Herrera <fherrera@onirica.com>
5590 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5592 Fix here also the thumbnails 1-basedness :)
5594 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5601 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
5603 * pdf/pdf-document.cc:
5604 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
5605 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
5607 Fix the mess we did with thumbnails and 1-basedness
5609 2005-03-12 Changwoo Ryu <cwryu@debian.org>
5611 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
5613 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
5620 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
5623 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
5624 (gtk_gs_defaults_get_alpha_parameters),
5625 (gtk_gs_defaults_get_ungzip_cmd),
5626 (gtk_gs_defaults_get_unbzip2_cmd):
5628 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5629 (ps_document_get_orientation), (document_load),
5630 (ps_document_goto_page), (ps_document_set_page_size):
5633 Some more sanitization of the ps backend. Remove a lot
5634 of unused code and do not base our defaults on ggv
5637 2005-03-08 Fernando Herrera <fherrera@onirica.com>
5639 * thumbnailer/evince-thumbnailer.schemas:
5640 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5641 (main): add -s option for thumbnail size.
5643 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
5647 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
5650 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5652 * pdf/pdf-document.cc:
5654 Remove 4 pixels of useless border from the
5657 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
5659 * backend/ev-document-thumbnails.c:
5660 (ev_document_thumbnails_get_thumbnail):
5661 * backend/ev-document-thumbnails.h:
5663 Rework API a bit. Add a border flag and
5664 change sizing logic (now the size we specify
5665 applies to the bigger dimension).
5667 * pdf/pdf-document.cc:
5668 * pixbuf/pixbuf-document.c:
5669 (pixbuf_document_thumbnails_get_thumbnail):
5670 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
5671 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5673 Adapt to the new API and do not draw a border for nautilus
5676 2005-03-03 Fernando Herrera <fherrera@onirica.com>
5678 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5679 take thumbnails from page "0" instead of "1". Added a copyright header.
5681 2005-03-03 Jens Granseuer <jensgr@gmx.net>
5683 * ps/ps-document.c: (set_up_page), (start_interpreter):
5685 Make it C89 compliant
5687 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
5692 * pdf/pdf-document.cc:
5693 * thumbnailer/Makefile.am:
5694 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5696 * thumbnailer/evince-thumbnailer.schemas:
5697 * thumbnailer/pdf-icon.png:
5699 Add a nautilus thumbnailer.
5700 Based on patch by Fernando Herrera <fherrera@onirica.com>.
5702 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
5710 2005-03-01 Kristian Høgsberg <krh@redhat.com>
5712 Use poppler instead of including xpdf source code. Poppler is a
5713 fork of xpdf to build it as a shared library. See
5714 http://freedesktop.org/wiki/Software/poppler.
5716 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
5719 * pdf/Makefile.am: Build libpdfdocument.a here.
5721 * pdf/GDKSplashOutputDev.cc:
5722 * pdf/GDKSplashOutputDev.h:
5723 * pdf/GnomeVFSStream.cc:
5724 * pdf/GnomeVFSStream.h:
5727 * test-gdk-output-dev.cc
5729 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
5732 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5734 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
5736 Clear idle stack before unsetting the document
5738 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5740 * ps/ps-document.c: (ps_document_widget_event),
5741 (ps_document_set_target), (ps_document_finalize),
5742 (ps_document_get_page):
5744 Disconnect the widget event signal on finalize.
5747 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5749 * ps/ps-document.c: (set_up_page):
5751 If there is no bpixmap create one, even if size
5754 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5756 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5757 (set_up_page), (document_load), (ps_document_set_zoom):
5759 Default page is 0. Calculate size even when we have no
5762 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
5764 * shell/ev-sidebar.c: expand the selection widget to be always as
5767 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5769 * shell/ev-sidebar-thumbnails.c:
5770 (ev_sidebar_thumbnails_set_document):
5772 Clear the list store when setting document
5774 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5776 * shell/ev-page-action.c: (update_entry), (sync_entry),
5777 (activate_cb), (entry_size_request_cb), (create_tool_item),
5780 Use an entry for the page control instead of spinbuttons
5782 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
5784 * data/evince.schemas.in:
5786 Correct confusing string
5788 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
5790 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5791 for real. Gosh, how long has this been broken.
5793 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5794 check for a NULL link. We crash otherwise.
5796 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
5803 2005-02-25 Sebastien Bacher <seb128@debian.org>
5805 * configure.ac: add the french translation.
5807 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5809 * shell/ev-window.c:
5811 Remove unused header -> fix distcheck
5813 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5815 * shell/ev-window.c: (update_window_title),
5816 (ev_window_popup_password_dialog):
5818 Unescape filename for display
5820 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5822 * pdf/xpdf/pdf-document.cc:
5824 In get_page_size deal with rotation. Also
5825 cleanup the function a bit.
5827 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5829 * pdf/xpdf/pdf-document.cc:
5831 Fix crash when opening in new window
5833 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
5837 Check ghostscript >= 7
5839 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
5841 * shell/ev-window.c:
5843 Make page width the default sizing mode
5845 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
5846 Marco Pesenti Gritti <marco@gnome.org>
5848 * shell/ev-window.c: Remember the sidebar size
5850 * data/evince.schemas.in: Add a new gconf key to store the size of
5853 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
5855 * data/evince-ui.xml:
5856 * shell/ev-window.c: (update_action_sensitivity),
5857 (ev_window_cmd_view_reload):
5859 Add a "Reload" action and menu entry
5861 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
5863 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
5864 iff the type doesn't support thumbnailing and indexing.
5866 2005-02-24 Martin Kretzschmar <martink@gnome.org>
5868 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
5870 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5872 * pdf/splash/Splash.cc:
5874 Port fix for a crasher from kde bug
5875 http://bugs.kde.org/show_bug.cgi?id=97131
5877 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5879 * pdf/xpdf/pdf-document.cc:
5881 Return a link even if it's of an unrecognized
5882 type. Otherwise we go in an infinte cycle.
5884 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5886 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
5887 (size_allocate_cb), (ev_window_set_sizing_mode):
5889 Update size when switching mode
5891 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5893 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
5894 (ev_window_cmd_view_page_width), (update_sizing_buttons),
5895 (ev_window_cmd_view_normal_size):
5897 Fix size toggle buttons behavior
5899 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5901 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
5902 (doc_rect_to_view_rect), (ev_view_size_allocate),
5903 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
5904 (scale_changed_callback):
5906 Do not cache offsets in size_allocate.
5908 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5910 * shell/ev-view.c: (ev_view_size_allocate):
5912 Calculate offsets before calling the parent
5913 class (which does a redraw)
5915 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5917 * pdf/xpdf/pdf-document.cc:
5919 Fix a crasher on exit. Unused code, put a TODO
5921 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
5923 * backend/ev-document.c: (ev_document_class_init),
5924 (ev_document_page_changed), (ev_document_scale_changed):
5925 * backend/ev-document.h:
5927 Separate page/scale notifications
5929 * pdf/xpdf/pdf-document.cc:
5931 Emit the new signals.
5932 Do not display the pdf page in _render, do it
5933 when scale/page are requested.
5935 * ps/ps-document.c: (ps_document_set_zoom),
5936 (ps_document_widget_event):
5939 Emit the new signals.
5941 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
5942 (ev_view_init), (page_changed_callback), (scale_changed_callback),
5943 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
5944 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
5946 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
5947 (ev_window_cmd_view_page_width), (size_allocate_cb),
5948 (ev_window_set_sizing_mode):
5950 Rework sizing to be pixel based.
5951 There are bugs but should be already way better.
5953 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
5955 * shell/ev-window.c: (ev_window_init):
5957 Do not allow to shrink sidebar smaller then
5960 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
5962 * shell/ev-sidebar.[ch]
5963 * shell/ev-window.c:
5965 Improved sidebar widget. Fixes #166683
5967 2005-02-23 Tommi Vainikainen <thv@iki.fi>
5969 * shell/ev-view.c (update_find_status_message): Give translators
5970 more flexibility with ngettext plural handling.
5972 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
5974 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
5975 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
5976 page when we get the page size.
5978 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5980 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
5982 ps pages are 0 based, convert
5984 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5986 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
5988 Initialize correct parent class. Set GError on document load
5990 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
5992 * pdf/xpdf/pdf-document.cc:
5994 Fixup selection offset calculation
5996 * shell/ev-view.c: (view_rect_to_doc_rect),
5997 (doc_rect_to_view_rect), (ev_view_size_allocate),
5998 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
5999 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
6001 Store selection as document relative, so that zooming
6002 and offset changing doesnt break it.
6004 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
6006 * shell/ev-view.c: (ev_view_best_fit):
6008 Do not try to best fit if the view is not realized
6010 2005-02-20 Kostas Papadimas <pkst@gnome.org>
6012 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
6014 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
6016 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
6018 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
6020 * shell/ev-window.c: Change the fullscreen toolbar to always be in
6021 the popup window. That prevents it resizing when in full screen
6024 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
6025 multiple rerenders. This pretty much sucks.
6027 * data/evince-ui.xml: Change the fullscreen toolbar to include the
6028 rest of the toolbar.
6030 2005-02-18 Tommi Vainikainen <thv@iki.fi>
6032 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
6034 2005-02-17 Alexander Shopov <ash@contact.bg>
6036 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
6038 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
6040 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
6042 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
6044 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
6045 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
6046 (set_document_page), (document_changed_callback),
6047 (ev_view_set_document), (ev_view_find_previous),
6048 (ev_view_hide_cursor), (ev_view_show_cursor):
6050 * shell/ev-window.c: (update_chrome_visibility),
6051 (fullscreen_timeout_cb), (fullscreen_set_timeout),
6052 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
6053 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
6054 (ev_window_unfullscreen):
6055 * shell/main.c: (main):
6057 Automatically hide the fullscreen button.
6058 Patch by Kristian Høgsberg <krh@redhat.com>
6060 2005-02-16 Vincent Noel <vnoel@cox.net>
6062 * shell/main.c (main): Specify an icon for the window. Patch by
6063 Jaap A. Haitsma. Fixes #166177.
6065 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
6067 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
6069 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
6071 * backend/ev-document-misc.h:
6072 * backend/ev-document-misc.c:
6073 (ev_document_misc_get_page_border_size),
6074 (ev_document_misc_paint_one_page): New function to canonicalize
6075 sizing/painting a border.
6077 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
6080 * pdf/xpdf/pdf-document.cc: use new function
6082 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
6083 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
6084 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
6085 shell/ev-window.c: (update_sizing_buttons),
6086 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
6087 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
6088 (ev_window_cmd_view_page_width), (size_allocate_cb),
6089 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
6090 and "fit width" values act as toggle buttons so they stay
6091 toggled. It's not 100% perfect, and it's a little slow, but it's
6092 good enough to commit I think.
6094 2005-02-15 David Lodge <dave@cirt.net>
6096 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
6098 2005-02-15 Martin Kretzschmar <martink@gnome.org>
6100 * shell/ev-window.c (update_window_title): replace newlines in
6101 the title by spaces. Bug #166107.
6103 2005-02-14 Martin Kretzschmar <martink@gnome.org>
6105 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
6106 parameters providing allocation width and height without
6107 scrollbars and width of a possible vertical scrollbar. With this
6108 additional information the functions can work as
6109 intended. Unfortunately they're not idempotent. We should
6110 transform these commands to toggles. Fixes Bug #164976
6111 Initial patch by Stephane Loeuillet, then heavily modified.
6113 * shell/ev-view.h: update prototypes.
6115 * shell/ev-window.c (ev_window_cmd_view_best_fit)
6116 (ev_window_cmd_view_page_width): provide EvView fit functions with
6117 all the information they need. Formulas to calculate this
6118 information taken from GtkScrolledWindow.
6120 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
6122 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
6123 created a thumbnail, the list store is updated to know
6124 that the thumbnail is set. Fixes bug #166792
6126 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
6128 * shell/ev-window.c: fixed typo, closes bug 166897
6130 * TODO: updated TODO with bug numbers that are relevant
6132 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
6134 * shell/ev-window.c: Support for DnD of files. Fixes #164813
6136 2005-02-09 Vincent Noel <vnoel@cox.net>
6138 * shell/ev-window.c: (set_action_properties): Set the "Previous"
6139 and "Next" toolbar buttons as important to make them stand out.
6141 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
6145 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
6146 (start_interpreter), (stop_interpreter), (document_load),
6147 (ps_document_next_page), (ps_document_goto_page),
6148 (ps_document_set_page_size), (ps_document_widget_event),
6149 (ps_document_render):
6150 * shell/ev-page-view.c: (ev_page_view_dispose):
6151 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
6153 Fix compilation on non-gcc platforms
6155 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
6162 * pdf/xpdf/Catalog.cc:
6165 Fix the fix for CAN-2004-0888
6167 2005-02-09 Luca Ferretti <elle.uca@libero.it>
6170 * data/evince-ui.xml:
6171 * shell/ev-stock-icons.c: (ev_stock_icons_init):
6172 * shell/ev-stock-icons.h:
6173 * shell/ev-window.c: (update_action_sensitivity),
6174 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
6175 (set_action_properties):
6177 Improve toolbar layout/icons
6179 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
6181 * pdf/xpdf/pdf-document.cc:
6183 Add warnings about unimplemented/unknown link
6186 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6188 * ps/ps-document.c: (set_up_page):
6192 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6194 * ps/ps-document.c: (start_interpreter):
6198 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6200 * shell/ev-page-view.c: (ev_page_view_dispose):
6201 * shell/ev-view.c: (ev_view_finalize):
6202 * shell/ev-window.c: (ev_window_setup_document),
6203 (ev_window_dispose), (ev_window_init):
6205 Solve more refs issues.
6207 I commented out the page_view initialization for now:
6208 it was never destroyed (because it's never added
6209 to a container). Because of that we was leaking
6210 gs processes. Couldnt think to a clean fix.
6211 We need to figure this out, password view has the
6212 same issue probably.
6214 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6216 * ps/ps-document.c: (ps_document_finalize),
6217 (ps_document_get_n_pages), (ps_document_get_page):
6219 Some cleanups, stop the interpreter on finalize
6221 * shell/ev-page-view.c: (ev_page_view_dispose),
6222 (ev_page_view_class_init):
6224 Release our reference on the document
6226 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6230 * doc/debugging.txt:
6233 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
6234 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
6235 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
6238 Add debugging helpers
6241 * ps/ps-document.c: (set_up_page), (start_interpreter),
6242 (stop_interpreter), (document_load), (ps_document_next_page),
6243 (ps_document_goto_page), (ps_document_set_page_size),
6244 (ps_document_widget_event), (ps_document_render):
6245 * shell/Makefile.am:
6246 * shell/ev-view.c: (expose_bin_window):
6247 * shell/main.c: (main):
6251 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
6253 * ps/ps-document.c: (ps_document_widget_event):
6255 Initialize message_window, this should make ps
6256 rendering really work! (Never noticed because I was
6257 testing with a ps that is causing gs to exit every time!)
6259 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
6261 * data/evince.schemas.in: updated simple error in applyto closing tag
6263 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
6269 * data/evince-ui.xml:
6270 A data/evince.schemas.in:
6272 * shell/ev-stock-icons.c: (ev_stock_icons_init):
6273 * shell/ev-stock-icons.h:
6274 * shell/ev-window.c: (update_chrome_visibility),
6275 (update_chrome_flag), (ev_window_cmd_edit_find),
6276 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
6277 (ev_window_unfullscreen), (ev_window_focus_in_event),
6278 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
6279 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
6280 (ev_window_view_sidebar_cb), (find_bar_close_cb),
6281 (ev_window_dispose), (ev_window_class_init),
6282 (set_action_properties), (set_chrome_actions), (load_chrome),
6285 Implement fullscreen mode changes from bug #164776.
6286 Also implement persistent chrome toggles.
6288 2005-02-07 Jordi Mallach <jordi@sindominio.net>
6290 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
6292 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6298 Add another check for find interface
6302 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6304 * shell/ev-application.c: (ev_application_open):
6305 * shell/ev-window.c: (ev_window_open):
6307 Open gzipped ps documents
6309 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6312 * shell/ev-view.c: (set_document_page):
6314 Clamp page number, dont try to move to
6317 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
6319 * backend/ev-document-find.c: (ev_document_find_changed):
6320 * backend/ev-document-find.h:
6321 * pdf/xpdf/pdf-document.cc:
6322 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
6323 * shell/ev-window.c: (find_bar_search_changed_cb):
6325 Fix several bugs with find
6327 2005-02-04 Martin Kretzschmar <martink@gnome.org>
6329 * shell/ev-sidebar-thumbnails.c
6330 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
6331 document. Prevents warning from scroll_to_cell.
6333 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
6335 * configure.ac: Add «nb» to ALL_LINGUAS too.
6337 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
6339 * NOTES: New file with some random thoughts.
6343 * backend/ev-document-misc.c:
6344 (ev_document_misc_get_page_border_size): New function to
6345 canonicalize shadow drawing sizes. Possibly goofy.
6347 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
6348 (ev_view_best_fit), (ev_view_fit_width):
6349 * pdf/xpdf/pdf-document.cc:
6350 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6351 * ps/ps-document.c: (ps_document_get_page_size):
6352 * backend/ev-document-misc.h:
6353 * backend/ev-document.c: (ev_document_get_page_size):
6354 * backend/ev-document.h: get_page_size now takes a page number
6355 parameter. Made all the backends/frontends honor it.
6357 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
6358 see. Doesn't work yet.
6360 * shell/Makefile.am:
6361 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
6362 Doesn't do anything yet.
6364 * shell/ev-sidebar-thumbnails.c:
6365 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
6368 * shell/ev-window.c: (update_action_sensitivity),
6369 (ev_window_setup_document), (ev_window_set_page_mode),
6370 (ev_window_page_mode_cb), (ev_window_init): Clean up the
6371 view-swapping code a bit so we can have multiple views on a
6372 document. Add the multi-page view, though it can't be turned on
6375 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6377 * shell/ev-application.c: (ev_application_open):
6378 * shell/ev-view.c: (expose_bin_window):
6379 * shell/ev-window.c: (ev_window_open):
6381 Support eps and check document supports find
6382 before drawing highlightings in expose.
6384 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6386 * pixbuf/pixbuf-document.c:
6387 (pixbuf_document_thumbnails_get_dimensions),
6388 (pixbuf_document_document_thumbnails_iface_init):
6390 implement get_dimensions
6392 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
6399 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6401 * shell/ev-view.c: (set_document_page):
6403 Scroll at the top of the page when changing page
6405 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6407 * shell/ev-view.c: (ev_view_motion_notify_event):
6409 Do not redraw unnecessarily
6411 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6413 * pdf/xpdf/pdf-document.cc:
6414 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6415 (expose_bin_window), (find_changed_cb):
6417 Yay! find works now... Now to find bugs...
6419 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
6421 * backend/ev-document-find.c: (ev_document_find_base_init),
6422 (ev_document_find_changed):
6423 * backend/ev-document-find.h:
6424 * pdf/xpdf/pdf-document.cc:
6425 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6426 (expose_bin_window), (ev_view_init), (set_document_page),
6427 (ensure_rectangle_is_visible), (jump_to_find_result),
6428 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
6429 (ev_view_find_next), (ev_view_find_previous):
6431 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
6433 More work on find implementation, mostly there now
6435 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
6437 * backend/ev-backend-marshalers.list:
6438 * backend/ev-document-find.c: (ev_document_find_base_init),
6439 (ev_document_find_cancel), (ev_document_find_page_has_results),
6440 (ev_document_find_get_n_results), (ev_document_find_get_result),
6441 (ev_document_find_get_progress), (ev_document_find_changed):
6442 * backend/ev-document-find.h:
6444 Enanche the find interface to be really able to do
6447 * pdf/xpdf/pdf-document.cc:
6451 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
6452 (expose_bin_window), (ev_view_init),
6453 (ev_view_get_find_status_message), (find_changed_cb),
6454 (ev_view_set_document), (set_document_page):
6456 Adapt to the new interface. A few things are regressed sorry,
6457 I will finish it soon.
6459 2005-01-28 Martin Kretzschmar <martink@gnome.org>
6461 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
6462 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
6463 ev_sidebar_thumbnails_parent_class variable, don't define another
6464 parent_class variable.
6466 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
6467 (ev_page_action_class_init): ditto.
6469 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
6470 (pixbuf_document_class_init): ditto.
6472 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
6475 * .cvsignore: ignore various valgrind output files.
6477 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6479 * data/evince-ui.xml:
6480 * shell/Makefile.am:
6481 * shell/ev-history.c:
6482 * shell/ev-history.h:
6483 * shell/ev-navigation-action.c:
6484 * shell/ev-navigation-action.h:
6485 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
6486 (ev_view_set_page), (ev_view_fit_width):
6488 * shell/ev-window.c: (update_action_sensitivity),
6489 (ev_window_setup_document), (register_custom_actions):
6491 Kill session history
6493 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
6495 * shell/ev-window.c: (update_action_sensitivity):
6497 Fix inverted up/down buttons
6499 2005-01-27 Martin Kretzschmar <martink@gnome.org>
6501 * shell/ev-sidebar-thumbnails.c
6502 (ev_sidebar_thumbnails_select_page): make sure the selected
6503 thumbnail stays visible.
6505 2005-01-26 Martin Kretzschmar <martink@gnome.org>
6507 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
6508 scrolled window for Federico.
6510 2005-01-26 Ole Laursen <olau@hardworking.dk>
6512 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
6514 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
6517 * pdf/splash/SplashFTFontEngine.cc:
6519 Fix CID fonts with freetype 2.1.9
6521 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
6523 * TODO: added item for desktop icon thumbnailer
6525 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
6527 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
6528 unloaded docs when the title is accessed.
6530 * shell/ev-password-view.[hc]: New widget for displaying password
6533 * shell/ev-window.[ch]: Refactor password handling code to handle
6536 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
6544 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
6546 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
6547 ignore page offset here, to make search results independent of it,
6549 * shell/ev-view.c (expose_bin_window): but take offsets into
6550 account here. Bug #164932
6552 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
6553 scale at the right time. Bug #164996
6555 2005-01-22 Martin Kretzschmar <martink@gnome.org>
6557 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
6558 fix the problem. Now I just removed the Adobe font names and hope
6559 that the URW fonts are always in outline format. Bug #164934
6561 * shell/ev-window.c (update_window_title): empty titles are
6562 useless, use filename in that case too.
6564 * NEWS: Add some content.
6566 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
6568 * TODO: added one more TODO item and a TODONE section :)
6570 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6572 * ps/ps-document.h: add page_[xy]_offset fields.
6574 * ps/ps-document.c (ps_document_set_page_offset)
6575 (ps_document_render): Keep offset in consideration in a few
6576 places. Bug #164752 "postscript documents are not centered in
6579 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
6580 s/gpdf/evince/. Spotted by Stephane Loeuillet.
6582 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
6583 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
6584 stub out missing methods for complete EvDocument implementation.
6585 Fixes segfaults with Save A Copy and Copy actions.
6587 * ps/ps-document.c (ps_document_save, ps_document_get_text)
6588 (ps_document_document_iface_init): ditto.
6590 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6594 * data/evince.desktop.in:
6598 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6600 * shell/ev-view.c: (ev_view_button_press_event),
6601 (ev_view_motion_notify_event):
6603 Make selection work in any direction
6605 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6608 * shell/ev-window.c: (set_short_labels), (ev_window_init):
6610 Use shorter labels for some of the toolbars items
6612 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
6614 * pdf/xpdf/pdf-document.cc:
6616 Check the links info is initialized before
6617 using it. Should fix a crash on startup.
6619 2005-01-21 Martin Kretzschmar <martink@gnome.org>
6621 * pixbuf/pixbuf-document.c
6622 (pixbuf_document_thumbnails_get_dimensions): force floating point
6623 division to calculate page_ratio. Fixes crash with landscape
6626 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
6628 * shell/ev-view.c (ev_view_realize): make the bg color darker.
6630 2005-01-20 Martin Kretzschmar <martink@gnome.org>
6632 * shell/ev-view.c (set_document_page): unset has_selection when
6634 (set_document_page): handle paper size changes when the page
6635 changes (test with Free Culture, page 2).
6637 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6639 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
6640 (expose_bin_window), (ev_view_class_init), (ev_view_init):
6642 Use normal style color for the widget background and
6643 draw a black box around the page.
6645 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6647 * pdf/xpdf/pdf-document.cc:
6649 Keep offset in consideration in a few places
6651 * shell/ev-view.c: (expose_bin_window):
6653 Set the offsets so that the document is ever centered
6655 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
6657 * TODO: Added TODO items and finished off the first todo item
6659 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
6660 reflect current authors
6662 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6664 * pdf/xpdf/pdf-document.cc:
6665 * shell/ev-view.c: (ev_view_set_cursor),
6666 (ev_view_motion_notify_event), (document_changed_callback),
6667 (set_document_page):
6669 Show a wait cursor while the page is rendering
6671 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
6673 * shell/ev-sidebar-thumbnails.c:
6674 (ev_sidebar_tree_selection_changed),
6675 (ev_sidebar_thumbnails_select_page):
6676 * shell/ev-sidebar-thumbnails.h:
6677 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
6678 (ev_view_can_go_forward):
6679 * shell/ev-window.c: (ev_window_open_page),
6680 (ev_window_setup_document), (update_current_page),
6681 (view_page_changed_cb), (ev_window_init):
6682 * shell/ev-window.h:
6684 Ensure thumbnails selection, toolbar page control and
6685 current page are in sync.
6687 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
6693 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
6695 * backend/Makefile.am:
6696 * backend/ev-document-links.h:
6697 * backend/ev-document-security.c: (ev_document_security_get_type),
6698 (ev_document_security_has_document_security),
6699 (ev_document_security_set_password):
6700 * backend/ev-document-security.h:
6701 * backend/ev-document.c: (ev_document_error_quark):
6702 * backend/ev-document.h:
6704 * data/evince-password.glade:
6705 * pdf/xpdf/pdf-document.cc:
6706 * shell/Makefile.am:
6707 * shell/ev-password.c: (ev_password_set_bad_password_label),
6708 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
6709 (ev_password_dialog_get_password),
6710 (ev_password_dialog_set_bad_pass):
6711 * shell/ev-password.h:
6712 * shell/ev-window.c: (ev_window_get_attribute),
6713 (ev_window_set_property), (update_action_sensitivity),
6714 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
6715 (ev_window_setup_document), (ev_window_get_password),
6716 (ev_window_open), (ev_window_cmd_save_as),
6717 (using_postscript_printer), (ev_window_print),
6718 (find_not_supported_dialog), (ev_window_cmd_edit_find),
6719 (update_fullscreen_popup), (ev_window_fullscreen),
6720 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6721 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
6722 (menu_item_select_cb), (find_bar_search_changed_cb),
6723 (ev_window_dispose), (ev_window_init):
6725 Add initial support for password-supported dialogs. This could be
6726 a lot cooler, but it'll do for now.
6728 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
6730 * pdf/xpdf/pdf-document.cc:
6731 * shell/ev-view.c: (status_message_from_link),
6732 (ev_view_set_status), (ev_view_set_cursor),
6733 (ev_view_motion_notify_event), (ev_view_init):
6734 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
6736 Fix bugs in the links implementation and change cursor
6737 when hovering a link.
6739 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
6741 * viewer/.cvsignore: added cvsignore file for viewer directory
6743 * TODO: created TODO document
6745 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
6748 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
6749 new functions to help with implementation of sensitivity code
6750 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6751 of all actions that might require it. Fixes a crash when you
6752 click on the Zoom actions in a window lacking a document.
6754 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
6756 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6759 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6761 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6762 (pixbuf_document_document_iface_init):
6763 * ps/ps-document.c: (ps_document_get_link),
6764 (ps_document_document_iface_init):
6765 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6766 (status_message_from_link), (ev_view_set_status),
6767 (ev_view_set_find_status), (ev_view_motion_notify_event),
6768 (ev_view_button_release_event), (ev_view_set_property),
6769 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6770 (ev_view_get_find_status_message), (update_find_results),
6771 (ev_view_get_status), (ev_view_get_find_status):
6773 * shell/ev-window.c: (view_status_changed_cb),
6774 (view_find_status_changed_cb), (ev_window_init):
6776 View status message support, use it to show the links.
6779 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6781 * backend/ev-document.c: (ev_document_get_link):
6782 * backend/ev-document.h:
6783 * pdf/xpdf/pdf-document.cc:
6784 * shell/ev-application.c: (ev_application_open):
6785 * shell/ev-application.h:
6786 * shell/ev-sidebar-links.c: (selection_changed_cb):
6787 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6788 (ev_view_go_to_link):
6790 Add support for document links
6792 2005-01-13 Anders Carlsson <andersca@gnome.org>
6794 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6796 Set the spin button limits correctly.
6798 * shell/ev-sidebar-thumbnails.c:
6799 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6800 Support changing pages by clicking on the thumbnails.
6802 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
6804 * pixbuf/pixbuf-document.c:
6805 (pixbuf_document_thumbnails_get_dimensions),
6806 (pixbuf_document_document_thumbnails_iface_init):
6808 implement get_dimensions
6810 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
6812 * ps/ps-document.c: (ps_document_goto_page):
6814 Fix page switching on multipage documents
6816 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
6818 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6820 check for NULL before assigning to width and height parameters
6822 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6824 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
6825 (pixbuf_document_set_property), (pixbuf_document_get_property):
6827 implement get/set properties
6829 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
6831 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
6833 return NULL instead of "Unknown", letting the title get set to
6834 the filename when the pdf has no title.
6836 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6838 * ps/ps-document.c: (ps_document_get_page_count),
6839 (ps_document_goto_page):
6841 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6843 * shell/ev-history.c: (ev_history_get_property),
6844 (ev_history_set_property), (ev_history_class_init),
6845 (ev_history_add_page), (ev_history_set_current_index):
6846 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
6847 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
6848 (ev_navigation_action_finalize):
6849 * shell/ev-navigation-action.h:
6850 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6851 (ev_view_go_forward), (ev_view_get_find_status_message),
6852 (history_index_changed_cb), (ev_view_set_history):
6854 * shell/ev-window.c: (update_total_pages), (ev_window_open),
6855 (update_current_page), (register_custom_actions):
6857 Implement history dropdowns
6859 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
6861 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
6862 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
6863 (ev_view_go_forward):
6864 * shell/ev-window.c: (register_custom_actions):
6866 Fix several history bugs
6868 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
6870 * configure.ac: Add «nb» to ALL_LINGUAS.
6872 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
6874 * backend/Makefile.am:
6875 * backend/ev-bookmark.c:
6876 * backend/ev-bookmark.h:
6877 * backend/ev-document-bookmarks.c:
6878 * backend/ev-document-bookmarks.h:
6879 * backend/ev-document-links.c: (ev_document_links_get_type),
6880 (ev_document_links_has_document_links),
6881 (ev_document_links_begin_read), (ev_document_links_get_link),
6882 (ev_document_links_get_child), (ev_document_links_next),
6883 (ev_document_links_free_iter):
6884 * backend/ev-document-links.h:
6885 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
6886 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
6887 (ev_link_get_link_type), (ev_link_set_link_type),
6888 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
6889 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
6890 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
6891 (ev_link_new_external):
6892 * backend/ev-link.h:
6893 * pdf/xpdf/pdf-document.cc:
6894 * shell/Makefile.am:
6895 * shell/ev-application.c: (ev_application_open_link):
6896 * shell/ev-application.h:
6897 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
6898 (ev_history_get_link_nth):
6899 * shell/ev-history.h:
6900 * shell/ev-sidebar-bookmarks.c:
6901 * shell/ev-sidebar-bookmarks.h:
6902 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
6903 (ev_sidebar_links_class_init), (selection_changed_cb),
6904 (ev_sidebar_links_construct), (ev_sidebar_links_init),
6905 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
6906 (do_one_iteration), (populate_links_idle),
6907 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
6908 * shell/ev-sidebar-links.h:
6909 * shell/ev-sidebar.c: (ev_sidebar_set_document):
6910 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
6913 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
6914 * shell/ev-window.h:
6916 Rename bookmark to link, and use "Index" for the sidebar panel.
6918 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6920 * shell/Makefile.am:
6921 * shell/ev-application.c: (ev_application_open_bookmark):
6922 * shell/ev-application.h:
6923 * shell/ev-history.c: (ev_history_init), (free_links_list),
6924 (ev_history_finalize), (ev_history_class_init),
6925 (ev_history_add_link), (ev_history_add_page),
6926 (ev_history_get_link_nth), (ev_history_get_n_links),
6927 (ev_history_get_current_index), (ev_history_set_current_index),
6929 * shell/ev-history.h:
6930 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
6931 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
6932 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
6933 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
6936 * shell/ev-window.c: (ev_window_open_bookmark),
6937 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
6938 (goto_page_cb), (register_custom_actions):
6939 * shell/ev-window.h:
6941 Initial history implementation. Needs work.
6943 2005-01-09 Martin Kretzschmar <martink@gnome.org>
6945 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
6947 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
6949 * cut-n-paste/recent-files/egg-recent-item.c:
6950 * cut-n-paste/recent-files/egg-recent-item.h:
6951 * cut-n-paste/recent-files/egg-recent-model.c:
6952 * cut-n-paste/recent-files/egg-recent-util.c:
6953 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
6954 * cut-n-paste/recent-files/egg-recent-view.c:
6958 2005-01-08 Martin Kretzschmar <martink@gnome.org>
6960 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
6961 (fillGlyph, fillImageMask, drawImage):
6962 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
6963 pdf/splash/SplashTypes.h:
6964 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
6965 packed mode for Splash.
6967 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
6968 RGB8 packed mode, eliminates the pixbuf data creation loop.
6970 * shell/ev-print-job.c (ev_print_job_finalize)
6971 (ev_print_job_set_property, ev_print_job_get_property)
6972 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
6973 (ev_print_job_use_print_dialog_settings, idle_print_handler)
6974 (print_closure_finalize, ev_print_job_print): implement
6975 printing (for backends with EvPsExporter)
6977 * shell/ev_print_job.h: update prototypes.
6979 * shell/ev-window.c (ev_window_print): unref print job after
6982 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
6983 unless the document implements the EvDocumentFind interface.
6985 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
6987 * configure.ac: Added ja to ALL_LINGUAS.
6989 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6991 * pdf/xpdf/pdf-document.cc:
6993 add a FIXME. We should probably not allocate
6994 a bookmark object every time
6996 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
6998 * shell/ev-application.c: (ev_application_open),
6999 (ev_application_open_bookmark):
7000 * shell/ev-application.h:
7002 Add a way to open bookmarks
7004 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
7005 (ev_bookmark_set_uri), (ev_bookmark_get_property),
7006 (ev_bookmark_set_property), (ev_bookmark_class_init),
7007 (ev_bookmark_new_title), (ev_bookmark_new_link),
7008 (ev_bookmark_new_external):
7010 Support for external uris, better constructors.
7012 * backend/ev-bookmark.h:
7013 * pdf/xpdf/pdf-document.cc:
7014 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
7016 Handle external uris
7018 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
7020 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
7021 (ev_sidebar_bookmarks_construct), (do_one_iteration):
7023 Hook up bookmarks navigation
7025 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
7027 * backend/Makefile.am:
7028 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
7029 (ev_bookmark_get_title), (ev_bookmark_set_title),
7030 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
7031 (ev_bookmark_get_page), (ev_bookmark_set_page),
7032 (ev_bookmark_get_property), (ev_bookmark_set_property),
7033 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
7035 * backend/ev-bookmark.h:
7036 * backend/ev-document-bookmarks.c:
7037 (ev_document_bookmarks_get_bookmark):
7038 * backend/ev-document-bookmarks.h:
7039 * pdf/xpdf/pdf-document.cc:
7040 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
7042 Add a bookmark object to the backend and use it instead of get_values
7044 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
7046 * data/evince-ui.xml:
7048 Cleanup and add select all.
7050 * shell/ev-view.c: (ev_view_select_all),
7051 (ev_view_button_press_event):
7053 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
7056 Clear selection on click.
7058 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
7060 * shell/ev-sidebar-thumbnails.c
7061 (ev_sidebar_thumbnails_set_document): forgot to unref the
7064 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
7066 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
7067 at the visible page, not just linearly. This makes it look fast.
7069 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
7071 * backend/ev-document-misc.c
7072 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
7074 * backend/ev-document-thumbnails.h: New interface to get the size
7077 2005-01-06 Jeremy Katz <katzj@redhat.com>
7079 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
7082 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
7084 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
7085 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
7088 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
7090 2005-01-05 Martin Kretzschmar <martink@gnome.org>
7092 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
7093 fonts. Should fix font problems on systems that have the base
7094 fonts in bitmap format. Reported by James Henstridge
7095 <james@jamesh.id.au>.
7097 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7100 * pdf/xpdf/GfxState.cc:
7102 Fix for CAN-2004-1125
7104 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7106 * shell/ev-view.c: (ev_view_copy):
7108 * shell/ev-window.c: (ev_window_cmd_edit_copy):
7110 Implement Edit->Copy
7112 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7114 * backend/ev-document.c: (ev_document_get_text):
7115 * backend/ev-document.h:
7116 * pdf/xpdf/pdf-document.cc:
7117 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
7118 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
7119 (ev_view_update_primary_selection), (ev_view_button_press_event),
7120 (ev_view_motion_notify_event), (ev_view_button_release_event):
7122 Beginnings of clipboard support. Incomplete but primary sort
7125 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7127 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
7128 (expose_bin_window):
7130 Nicer rubberband drawing, from GtkIconView.
7132 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7134 * backend/ev-document.c: (ev_document_save):
7135 * backend/ev-document.h:
7136 * data/evince-ui.xml:
7137 * pdf/xpdf/pdf-document.cc:
7138 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
7140 Implement "Save a copy..." menu item
7142 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
7144 * shell/ev-view.c: (ev_view_zoom):
7146 Queue a resize when zoom changes
7148 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
7150 * backend/ev-document-misc.[ch]: New misc file to do simple drop
7153 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
7156 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
7158 * pdf/xpdf/pdf-document.cc
7159 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
7161 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
7163 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
7164 It's slow, but I'll speed it up next!
7166 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
7168 * shell/main.c (load_files):
7170 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
7171 from the command line and because it seems more appropriate.
7173 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
7175 * data/evince-ui.xml:
7176 * shell/ev-window.c: (update_action_sensitivity),
7177 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
7179 s/next page/page down
7180 s/previous page/page up
7182 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
7184 * data/evince-ui.xml:
7186 Change the layout to match clarkbw design.
7188 * shell/Makefile.am:
7189 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
7190 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
7191 (ev_navigation_action_finalize),
7192 (ev_navigation_action_set_property),
7193 (ev_navigation_action_get_property),
7194 (ev_navigation_action_class_init):
7195 * shell/ev-navigation-action.h:
7197 Implement clarkbw toolbar navigation controls (incomplete)
7199 * shell/ev-page-action.c: (update_label), (update_spin),
7200 (value_changed_cb), (create_tool_item), (connect_proxy),
7201 (ev_page_action_init), (ev_page_action_finalize),
7202 (ev_page_action_set_property), (ev_page_action_get_property),
7203 (ev_page_action_set_current_page),
7204 (ev_page_action_set_total_pages), (ev_page_action_class_init):
7205 * shell/ev-page-action.h:
7207 Implement a page switcher in the toolbar
7209 * shell/ev-view.c: (ev_view_scroll_view):
7210 * shell/ev-window.c: (update_total_pages), (ev_window_open),
7211 (update_current_page), (view_page_changed_cb), (goto_page_cb),
7212 (register_custom_actions), (ev_window_init):
7214 Change page on PageUp/Down.
7216 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
7218 * pdf/xpdf/pdf-document.cc
7219 (pdf_document_thumbnails_get_thumbnail): initial stab at
7220 implementing thumbnail support for pdfs. It only does documents
7221 with precached pdfs now.
7223 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
7225 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
7226 thumbnail code into a time-based idle as well. Also, turn off the
7227 shadow temporarily as it's really slow.
7229 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
7231 * backend/ev-document.c: (ev_document_class_init):
7232 * pdf/xpdf/pdf-document.cc:
7233 * shell/ev-window.c: (ev_window_open):
7235 Fix document title bugs and fallback to
7236 filename when not available.
7238 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
7240 * backend/ev-document.c: (ev_document_get_type),
7241 (ev_document_class_init), (ev_document_load),
7242 (ev_document_get_title):
7243 * backend/ev-document.h:
7244 * pdf/xpdf/pdf-document.cc:
7245 * ps/ps-document.c: (ps_document_set_property),
7246 (ps_document_get_property), (ps_document_class_init),
7250 * shell/ev-window.c: (update_window_title), (ev_window_open),
7253 Initial support for document title. Not working yet.
7255 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7257 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
7259 Grab focus on the view when clicking it
7261 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7263 * shell/ev-marshal.list:
7264 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
7265 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
7267 Add key bindings to the view. Now if the focus would work
7270 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
7273 * backend/Makefile.am:
7276 * dvi/dvilib/Makefile.am:
7277 * pdf/xpdf/Makefile.am:
7283 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7285 * shell/ev-view.c: (ev_view_realize):
7287 Fix mouse wheel scrolling
7289 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7295 * ps/ps-document.c: (catchPipe), (ps_document_init),
7296 (ps_document_class_init), (ps_document_cleanup),
7297 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
7298 (set_up_page), (close_pipe), (is_interpreter_ready),
7299 (interpreter_failed), (output), (input), (start_interpreter),
7300 (stop_interpreter), (file_length), (file_readable),
7301 (check_filecompressed), (check_pdf), (compute_xdpi),
7302 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
7303 (ps_document_get_type), (ps_document_emit_error_msg),
7304 (document_load), (ps_document_next_page),
7305 (ps_document_get_current_page), (ps_document_get_page_count),
7306 (ps_document_goto_page), (ps_document_set_page_size),
7307 (ps_document_zoom_to_fit), (ps_document_set_zoom),
7308 (ps_document_load), (ps_document_get_n_pages),
7309 (ps_document_set_page), (ps_document_get_page),
7310 (ps_document_widget_event), (ps_document_set_target),
7311 (ps_document_set_scale), (ps_document_set_page_offset),
7312 (ps_document_get_page_size), (ps_document_render),
7313 (ps_document_document_iface_init):
7316 * shell/ev-window.c: (ev_window_open):
7318 Rename GtkGS to PSDocument
7320 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7322 * ps/gtkgs.c: (gtk_gs_class_init):
7325 Some more leftover...
7327 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7329 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
7330 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
7331 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
7334 Remove unused code and make a lot of stuff private
7336 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7338 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
7339 (gtk_gs_defaults_changed):
7345 Cleanup headers dependencies
7347 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
7352 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
7354 * ps/gtkgs.c: (file_length), (file_readable),
7355 (check_filecompressed), (check_pdf), (gtk_gs_load),
7356 (gtk_gs_get_postscript):
7360 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7365 * ps/gtkgs.c: (gtk_gs_set_zoom):
7369 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7371 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
7373 Ensure the page is rerendered when changing zoom
7375 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
7377 * backend/ev-document.c: (ev_document_base_init),
7378 (ev_document_changed):
7379 * backend/ev-document.h:
7381 Add a changed event that is emitted when the page content
7382 changes. This is necessary to deal with the fact that
7383 in ps backend rendering happen asycrounously.
7384 This makes the ps backend mostly work.
7386 * pdf/xpdf/pdf-document.cc:
7390 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
7391 (ps_document_set_target):
7395 * shell/ev-view.c: (document_changed_callback),
7396 (ev_view_set_document), (ev_view_set_page):
7398 Redraw on the changed signal
7400 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
7402 * configure.ac: Added pt_BR to ALL_LINGUAS.
7404 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
7406 * backend/ev-document-bookmarks.c:
7407 (ev_document_bookmarks_get_child): *
7408 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
7409 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
7410 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
7411 (ev_sidebar_bookmarks_destroy),
7412 (ev_sidebar_bookmarks_class_init),
7413 (ev_sidebar_bookmarks_construct), (stack_data_free),
7414 (do_one_iteration), (populate_bookmarks_idle),
7415 (ev_sidebar_bookmarks_clear_document),
7416 (ev_sidebar_bookmarks_set_document): *
7417 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
7418 (ev_sidebar_add_page),
7419 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
7420 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
7421 it displays both the topics and the page numbers.
7423 2004-12-23 Kristian Høgsberg <krh@redhat.com>
7425 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
7427 * shell/ev-window.c (toggle_entries): Set sidebar default value to
7430 2004-12-23 Adam Weinberger <adamw@gnome.org>
7432 * configure.ac: Added en_CA to ALL_LINGUAS.
7434 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7436 * ChangeLog: replace bottom of this ChangeLog (merged history of
7437 ggv and gpdf; where all paths were wrong and most of the files are
7438 not even in this tree) with ChangeLog (from arch) of the shell
7441 2004-12-23 Havoc Pennington <hp@redhat.com>
7443 * shell/ev-window.c: hook up potentially-questionable "find
7444 results status text" feature - something involving the sidebar or
7445 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
7446 might be better in the end.
7448 * shell/ev-view.c (ev_view_get_find_status_message): new function,
7449 with corresponding signal when it should be updated
7451 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
7453 2004-12-22 Havoc Pennington <hp@redhat.com>
7455 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
7456 find stuff on other pages, sort of (only returns one result on
7457 invisible pages, to show they have results; updates full results
7458 for a page when you view it). Currently repaints the current page
7459 every time a new result is found on any page, which isn't so nice.
7461 2004-12-22 Havoc Pennington <hp@redhat.com>
7463 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
7464 the document doesn't support find (better ideas?)
7465 (find_bar_search_changed_cb): handle missing document or document
7466 that doesn't support find
7468 * pdf/xpdf/pdf-document.cc: port to implement the new
7471 * backend/ev-document-find.c: create a new interface for searching
7473 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
7475 2004-12-23 Martin Kretzschmar <martink@gnome.org>
7477 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
7480 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
7481 EvPrintJob constructor arguments.
7483 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
7484 for documents that can export PostScript (page by page).
7486 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
7488 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
7489 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
7490 (pdf_document_ps_exporter_iface_init:
7491 Implement EvPSExporter.
7493 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
7495 2004-12-22 Anders Carlsson <andersca@gnome.org>
7497 * backend/Makefile.am:
7498 * backend/ev-document-thumbnails.c:
7499 (ev_document_thumbnails_get_type),
7500 (ev_document_thumbnails_get_thumbnail):
7501 * backend/ev-document-thumbnails.h:
7502 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7503 (pixbuf_document_thumbnails_get_thumbnail),
7504 (pixbuf_document_document_thumbnails_iface_init):
7505 * shell/Makefile.am:
7506 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
7507 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
7508 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
7509 * shell/ev-sidebar-thumbnails.h:
7510 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
7511 (ev_sidebar_set_document):
7512 * shell/ev-utils.c: (gaussian), (create_blur_filter),
7513 (create_shadow), (ev_pixbuf_add_shadow):
7515 Add thumbnail support.
7517 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7519 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
7520 (using_postscript_printer): Set up a print dialog for "PostScript
7523 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
7526 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
7528 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7530 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
7531 (ps_document_set_target), (ps_document_get_page_size),
7532 (ps_document_render):
7537 2004-12-22 Christian Rose <menthos@menthos.com>
7539 * configure.ac: Added "sv" to ALL_LINGUAS.
7541 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
7543 * backend/ev-document-bookmarks.[ch]: new interface to indicate
7544 document supports bookmarks.
7546 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7548 * ps/ggvutils.c: (ggv_file_readable):
7550 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
7551 (gtk_gs_get_postscript):
7555 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7557 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
7558 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
7559 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
7560 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
7561 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
7562 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
7563 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7564 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7565 (gtk_gs_set_antialiasing), (ps_document_load),
7566 (ps_document_render):
7569 Another check point for the ps backend. Now I can get it to show
7572 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
7574 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
7575 document setting code.
7577 2004-12-22 Anders Carlsson <andersca@gnome.org>
7579 * shell/eggfindbar.c: (entry_activate_callback):
7580 Animate the next button when activate is pressed.
7582 2004-12-22 Anders Carlsson <andersca@gnome.org>
7584 * shell/ev-window.c: (ev_window_cmd_edit_find),
7585 (update_fullscreen_popup), (ev_window_fullscreen),
7586 (ev_window_unfullscreen), (ev_window_state_event_cb),
7587 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
7588 Fix bugs in fullscreen code.
7590 2004-12-22 Anders Carlsson <andersca@gnome.org>
7594 * pixbuf/Makefile.am:
7595 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7596 (pixbuf_document_load), (pixbuf_document_get_n_pages),
7597 (pixbuf_document_set_page), (pixbuf_document_get_page),
7598 (pixbuf_document_set_target), (pixbuf_document_set_scale),
7599 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
7600 (pixbuf_document_render), (pixbuf_document_begin_find),
7601 (pixbuf_document_end_find), (pixbuf_document_finalize),
7602 (pixbuf_document_class_init),
7603 (pixbuf_document_document_iface_init), (pixbuf_document_init):
7604 * pixbuf/pixbuf-document.h:
7605 * shell/Makefile.am:
7606 * shell/ev-application.c: (ev_application_open):
7607 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
7611 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
7614 * dvi/dvilib/Makefile.am:
7616 * configure.ac: Auto*ify dvi and dvi/dvilib
7618 * dvi/Makefile: Remove from CVS
7620 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
7623 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
7625 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
7627 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7630 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
7631 (gtk_gs_value_adjustment_changed), (compute_size),
7632 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
7633 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
7634 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7635 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7636 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
7637 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
7638 (ps_document_load), (ps_document_get_n_pages),
7639 (ps_document_set_page), (ps_document_get_page),
7640 (ps_document_set_target), (ps_document_set_scale),
7641 (ps_document_set_page_offset), (ps_document_get_page_size),
7642 (ps_document_render), (ps_document_begin_find),
7643 (ps_document_end_find), (ps_document_document_iface_init):
7645 * shell/Makefile.am:
7646 * shell/ev-window.c: (ev_window_open):
7648 Some work to integrate gtkgs with EvDocument
7650 2004-12-22 Anders Carlsson <andersca@gnome.org>
7652 * shell/ev-window.c: (update_fullscreen_popup),
7653 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
7654 (exit_fullscreen_button_clicked_cb),
7655 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
7656 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7657 (ev_window_state_event_cb), (ev_window_init):
7658 Add fullscreen support from Epiphany.
7660 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7662 * data/ev-stock-zoom-fit-width.png: fit-width
7663 stock icon from gpdf.
7665 * shell/ev-stock-icons.[ch]: copied from gpdf.
7667 * shell/main.c: (main): init stock icons.
7669 * shell/ev-window.c: use the fit-width icon.
7671 * data/evince-ui.xml: add zooming toolbar items.
7673 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7676 (ev_view_best_fit), (ev_view_fit_width): because
7677 get_page_size() returns the scaled page size, we
7678 need to calculate the scale factor relative to
7679 the previous scale factor. Should really just
7680 add get_real_page_size().
7682 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7684 * shell/ev-view.[ch]:
7685 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
7686 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
7689 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
7690 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
7691 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
7694 * pdf/xpdf/pdf-document.cc:
7695 (pdf_document_begin_find),
7696 (pdf_document_end_find): make static.
7698 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7700 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
7702 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
7703 names to fontconfig patterns.
7704 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
7706 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
7709 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
7725 Import ggv backend. Not hooked up yet.
7727 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7729 * shell/main.c: (load_files), (main): load files
7730 from the command line.
7732 2004-12-22 Mark McLoughlin <mark@skynet.ie>
7734 * configure.ac: don't require bonobo.
7736 * cut-n-paste/recent-files/*: kill bonobo recent
7739 * shell/ev-window.c:
7740 (ev_window_is_empty): upd.
7741 (unable_to_load), (ev_window_open): load backend
7742 based on the mime type.
7744 2004-12-22 Martin Kretzschmar <martink@gnome.org>
7746 * backend/.cvsignore: ignore generated marshalers source.
7748 * shell/main.c (main): this is not epiphany.
7750 2004-12-22 Havoc Pennington <hp@redhat.com>
7752 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
7753 (expose_bin_window): draw find highlights
7755 * shell/ev-window.c (find_bar_search_changed_cb): implement
7757 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
7758 (pdf_document_end_find): implement this interface
7760 * backend/ev-document.c (ev_document_found): add this to emit
7763 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
7765 * data/evince-ui.xml: Add a few more toolbar items.
7767 * shell/ev-window.c: Hook up page navigation toolbar
7770 * shell/ev-view.[ch]: add ev_view_set/get_page and
7771 a page-changed signal.
7773 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7774 Add ev_document_get_page().
7776 * shell/ev-window.c: Sensitize/desensitize navigation
7779 2004-12-21 Havoc Pennington <hp@redhat.com>
7781 * backend/ev-backend-marshal.c,
7782 backend/ev-backend-marshalers.list, backend/Makefile.am: add
7783 marshaler-generator thingy. I'm sure there's a better way to do
7784 this in the modern world.
7786 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7787 end_find methods and "found" signal.
7789 * configure.ac: find glib-genmarshal
7791 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
7793 * shell/ev-sidebar.c: Construct an actual sidebar.
7794 * shell/ev-sidebar-bookmarks.[ch]:
7795 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7797 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
7799 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7802 * shell/ev-view.c: Track the size from the document.
7804 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
7806 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
7807 constructor assumes ownership of the string passed in.
7809 * shell/ev-window.c (ev_window_open): Destroy the error
7810 dialog once we've displayed it.
7812 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
7814 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
7815 a bit, it works! (sort of)
7817 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
7818 Move to .cc since we need to use C++ in the implementation.
7820 * shell/dummy.cc: Add a CC file to force evince
7821 to be linked as a C++ program.
7823 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
7825 * shell/ev-view.[ch]: Start of content-area widget.
7827 * shell/ev-window.c: Create a EvView, update it
7828 as we change documents.
7830 * shell/Makefile.am shell/ev-marshal.list: Add
7831 generated marshalers.
7833 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
7835 * Makefile.am (SUBDIRS): move shell.
7837 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
7839 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
7840 .a to libtool convenience libraries.
7842 * shell/ev-window.c (ev_window_open): Hard code loading
7845 * backend/ev-document.h: Add a boolean return to load(),
7846 fix GError * to GError **.
7848 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
7849 object for a PDF backend EvDocument.
7851 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
7853 * dvi/*: New directory with the beginning of a .dvi backend.
7855 2004-12-21 Havoc Pennington <hp@redhat.com>
7857 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
7858 previous/next instead of back/forward
7860 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
7862 * backend/ev-document.[ch]: Fix a couple of problems so
7865 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
7867 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
7868 to backend/ directory, rename EvViewer to EvDocument.
7870 2004-12-21 Havoc Pennington <hp@redhat.com>
7872 * shell/ev-window.c: hook up the find bar widget; now we just need
7873 a document to find things in
7875 * shell/eggfindbar.c: a find bar widget
7877 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
7879 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
7881 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
7883 * pdf/**: Import of xpdf code from gpdf.
7885 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
7887 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
7888 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
7889 Fix FreeType includes.
7891 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
7892 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
7893 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
7894 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
7895 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
7896 Include xpdfconfig.h
7898 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
7900 * shell/ev-window.c (ev_window_dispose): dispose can be called
7903 2004-12-21 Havoc Pennington <hp@redhat.com>
7905 * shell/ev-window.c (ev_window_init): set title to Document Viewer
7908 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
7909 items; really they should be synced with the strings, etc. from
7910 current gpdf, but just getting the boring typing out of the way
7912 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7915 * shell/ev-application.c: (window_destroy_cb):
7916 * shell/ev-window.c:
7917 * shell/main.c: (main):
7919 Actually show the window...
7921 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7924 * shell/Makefile.am:
7925 * shell/ev-application.c: (ev_application_class_init):
7926 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
7930 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
7932 Import to gnome cvs.
7934 * Remove copies of gpdf and ggv trees.
7935 * Rip out all the recursive configure code.
7936 * Remove bonobo machinery.
7937 * viewer/*: GInterfaces that backends should/can implement.
7939 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
7941 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
7944 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
7946 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
7947 (ev_application_finalize, ev_application_class_init)
7948 (ev_application_init): use GType instance private data for priv.
7950 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
7951 (ev_window_finalize, ev_window_class_init)
7952 (ev_window_init): ditto.
7954 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7956 * shell/ev-application.c (ev_application_new_window): make public
7957 (ev_application_show_initial_window): kill.
7959 * shell/ev-application.h: update prototypes.
7961 * shell/main.cc (main): inline ev_application_show_initial_window.
7963 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
7965 * shell/ev-application.c (ev_application_new_window): impl.
7966 (ev_application_show_initial_window): use it.
7967 (is_window_empty, ev_application_get_empty_window): returns an
7968 existing empty window or a new one.
7969 (ev_application_open): from ev_window_cmd_file_open.
7971 * shell/ev-application.h: update prototypes
7973 * shell/ev-window.c (ev_window_is_empty): impl.
7974 (ev_window_open): make public.
7975 (ev_window_cmd_file_open): use ev_application_open
7977 * shell/ev-window.h: update prototypes, remove unused.
7979 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7981 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
7982 move destroy handler out of here...
7984 * shell/ev-application.c, shell/ev-application.h: ...into this new
7985 class. Also handles initial window creation.
7987 * shell/main.cc (main): use EvApplication to create initial
7990 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
7992 * Makefile.am (SUBDIRS): add cut-n-paste
7994 * cut-n-paste/Makefile.am: add
7996 * configure.ac: generate Makefiles in cut-n-paste
7998 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
8000 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
8001 (ev_window_class_init): install ev_window_dispose.
8003 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
8005 * shell/ev-window.h, shell/ev-window.c: replace gchar with
8006 char (gchar looks stupid).
8008 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
8010 * po/de.po: updated German translation.
8012 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
8014 * configure.ac: add more pkg-config library checks for gnome-vfs,
8017 * gpdf/configure.in: temporarily disable libpaper
8018 checks. Otherwise I'd have to add the checks for the shell, too.
8020 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8022 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
8023 and * file filters to the file choose.
8025 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8027 * po/de.po: Updated German translation.
8029 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8031 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
8033 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8035 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
8037 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
8038 (ev_window_init): implement those menuitems.
8040 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8042 * data/evince-ui.xml: add a toolbar (with FileOpen action)
8044 * shell/ev-window.c (ev_window_init): use the toolbar.
8046 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8048 * shell/ev-window.c (ev_window_init): use menu translations
8050 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8052 * configure.ac: add "de" to ALL_LINGUAS.
8054 * po/de.po: add German translation.
8056 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8058 * Makefile.am (SUBDIRS): add po
8060 * configure.ac: check intltool, glib-gettext etc, generate
8063 * po, po/POTFILES.in, po/POTFILES.skip: new.
8065 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
8067 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
8068 already use (#ifdef ENABLE_NLS)
8070 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
8071 pointer indirection thinko.
8073 * shell/main.c: include gi18n.h for bindtextdomain etc.
8075 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8077 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
8078 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
8079 tooltips for menu items in the statusbar.
8081 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8083 * configure.ac, data/Makefile.am, shell/Makefile.am: use
8084 pkgdatadir drop UIDIR
8086 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8088 * data/evince-ui.xml: Add File->Open menu item
8090 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
8091 chooser), hook it up in the ui manager.
8093 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8095 * shell/ev-window.c: fix Help->About tooltip.
8097 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8099 * configure.ac: set CFLAGS for libevprivate.
8101 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
8102 definitions, factory etc.
8104 * lib/Makefile.am: build libevprivate.a (only stock icon code).
8106 * shell/Makefile.am: link against libevprivate.a.
8108 * shell/ev-window.c (entries): add stock icon to Help->About.
8110 * shell/main.c (main): init stock icon code.
8112 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8114 * lib/recent-files: egg recent files code
8116 * lib/Makefile.am: add.
8118 * Makefile.am: add lib subdir.
8120 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
8121 set CFLAGS for recent-files.
8123 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8125 * configure.ac: disable -ansi and -pedantic gcc flags. They
8126 disable POSIX stuff in stdio.h, but egg-recent uses them.
8128 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8130 * configure.ac: add --disable-deprecated flag (defaults to on in
8133 * shell/Makefile.am (INCLUDES): use it.
8135 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8137 * shell/main.c: add missing #include.
8139 * shell/ev-window.c: fix for pedantic gcc.
8140 (ev_window_cmd_help_about): split license into paragraphs for
8141 translators and pedantic compilers.
8143 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8145 * configure.ac: add more warning flags if compiling with gcc from
8146 cvs (or explicitly requested with --enable-more-warnings).
8148 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8150 * data/evince-ui.xml: add File and File->Close menu.
8152 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
8153 (ev_window_destroy): quit after destroy.
8154 (ev_window_class_init): override GtkObject::destroy.
8155 (entries): install close_window callback.
8157 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8159 * Makefile.am (SUBDIRS): add data subdir.
8161 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
8162 gtk+ 2.5.0 for GtkAboutDialog.
8164 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
8167 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
8169 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
8171 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
8173 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
8175 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
8177 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8179 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
8181 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8183 * shell/*: Added shell directory boilerplate, build it.
8185 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
8187 * configure.ac, Makefile.am: Added top-level configure.ac and