2005-05-21  Marco Pesenti Gritti  <mpg@redhat.com>

	* shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
	(ev_view_find_next), (ev_view_find_previous):

	Remove the locks around get_n_results	

2005-05-21  Juerg Billeter  <j@bitron.ch>

	* pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):

	Pass correct number of pages to poppler.

2005-05-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

	* configure.ac:
	* data/Makefile.am:
	* data/evince.desktop.in: 
	* data/evince.desktop.in.in:
	* po/POTFILES.in:
	
	Add conditionally dvi and djvu to desktop types. Fix for 304658.

Sat May 21 00:21:30 2005  Jonathan Blandford  <jrb@redhat.com>

	* shell/ev-view.c: (view_update_adjustments),
	(view_set_adjustment_values): cast adjustmen->value to (int)
	before using it.  Otherwise, we get off by a pixel in some
	situations.

	(draw_one_page): Draw the border on expose.

Fri May 20 22:05:25 2005  Jonathan Blandford  <jrb@redhat.com>

	* *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
	adjustment when the mode changes, #304923

Fri May 20 02:00:03 2005  Nickolay V. Shmyrev <nshmyrev@yandex.ru>

	* shell/ev-view.c: Use gdk_widget_queue_draw to remove
	flickering on resize but still use gdk_window_scroll on
	scrolling

Fri May 20 01:46:57 2005  Jonathan Blandford  <jrb@redhat.com>

	* shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
	option, #170458

Fri May 20 01:27:01 2005  Jonathan Blandford  <jrb@redhat.com>

	* shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
	second page on page_changed if possible, #304669

Fri May 20 01:07:15 2005  Jonathan Blandford  <jrb@redhat.com>

	* shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
	instead of gtk_widget_queue_draw.  Massive speedups in scrolling.

Fri May 20 01:05:10 2005  Jonathan Blandford  <jrb@redhat.com>

	* .cvsignore:
	* shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
	(zoom_for_size_fit_width), (zoom_for_size_best_fit),
	(ev_view_zoom_for_size_presentation),
	(ev_view_zoom_for_size_continuous_and_dual_page),
	(ev_view_zoom_for_size_continuous),
	(ev_view_zoom_for_size_dual_page),
	(ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
	* shell/ev-view.h:
	* shell/ev-window.c: (update_view_size),
	(ev_window_sizing_mode_changed_cb):

	Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
	the scrollbars.  It's not 100% right, but it's much closer.  Kills
	an infinite loop, #304769


2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>

	* data/evince-ui.xml:
	* shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
	* shell/ev-window.c: (set_view_actions_sensitivity):

	Make PgUp/Down behave like Space

2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>

	* backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
	* backend/ev-ps-exporter.h:
	* pdf/ev-poppler.cc:
	* ps/ps-document.c: (ps_document_ps_export_begin):
	* shell/ev-print-job.c: (idle_print_handler):

	Adapt to new poppler api

2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>

	* cut-n-paste/zoom-control/ephy-zoom-control.c:
	(ephy_zoom_control_init):

	Translate zoom levels

2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>

	* cut-n-paste/zoom-control/ephy-zoom.c:
	(ephy_zoom_get_zoom_level_index):

	Fix current zoom -> zoom control match

2005-05-18  James Bowes  <bowes@cs.dal.ca>

	* shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
	rather than the scrolled_window that it's in. Fixes bug #304655.

Tue May 17 22:54:17 2005  Jonathan Blandford  <jrb@redhat.com>

	* shell/ev-view.c: (view_update_adjustments),
	(view_set_adjustment_values), (view_update_range_and_current_page),
	(view_scroll_to_page), (set_scroll_adjustment),
	(ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
	(ev_view_scroll), (ev_view_scroll_view),
	(ensure_rectangle_is_visible), (find_page_at_location),
	(get_link_at_location), (go_to_link), (status_message_from_link),
	(ev_view_size_request_continuous_dual_page),
	(ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
	(ev_view_unrealize), (ev_view_expose_event),
	(ev_view_button_press_event), (ev_view_motion_notify_event),
	(ev_view_button_release_event), (ev_gdk_color_to_rgb),
	(draw_rubberband), (highlight_find_results), (draw_one_page),
	(ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
	(ev_view_init), (find_changed_cb), (page_changed_cb),
	(on_adjustment_value_changed), (ev_view_new),
	(ev_view_set_document), (ev_view_set_zoom),
	(ev_view_set_continuous), (ev_view_set_dual_page),
	(ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
	(zoom_for_size_fit_width), (zoom_for_size_best_fit),
	(ev_view_zoom_for_size_presentation),
	(ev_view_zoom_for_size_continuous_dual_page),
	(ev_view_zoom_for_size_continuous),
	(ev_view_zoom_for_size_dual_page),
	(ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
	(ev_view_get_status), (ev_view_set_status),
	(update_find_status_message), (ev_view_get_find_status),
	(ev_view_set_find_status), (jump_to_find_result),
	(jump_to_find_page), (compute_selections), (clear_selection),
	(ev_view_select_all), (get_selected_text), (ev_view_copy),
	(ev_view_primary_get_cb), (ev_view_primary_clear_cb),
	(ev_view_update_primary_selection),
	(ev_view_create_invisible_cursor), (ev_view_set_cursor):
	* shell/ev-view.h:
	* shell/ev-window.c: (ev_window_open_page_label),
	(ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
	(ev_window_init):
	* shell/ev-window.h:
	* shell/main.c: (load_files):

	Massive code clean up from Nickolay Shmyrev.  Keep page offset
	when resizing.  Remove the bin_window().  Also, patch from James
	Bowes to fix command line page, #300641
	
2005-05-17  Marco Pesenti Gritti  <mpg@redhat.com>

	* data/evince-ui.xml:
	* shell/ev-view.c:
	* shell/ev-view.h:
	* shell/ev-window.c: (update_action_sensitivity):

	Get rid of View->Normal Size, it's just confusing

Tue May 17 00:51:21 2005  Jonathan Blandford  <jrb@redhat.com>

	* backend/ev-document-info.h:
	* backend/ev-document.c: (ev_document_info_free): Free the
	EvDocumentInfo.

	* shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
	(clear_range), (add_range), (update_visible_range),
	(adjustment_changed_cb), (ev_sidebar_thumbnails_init),
	(ev_sidebar_thumbnails_set_document):
	* shell/ev-window.c: (ev_window_setup_document): Only render the
	visible thumbnails.  It takes an instant to render, but it uses
	much less memory.

2005-05-16  Marco Pesenti Gritti  <mpg@redhat.com>

	* shell/ev-sidebar-links.c: (popup_menu_cb):

	Select first item

2005-05-16  Marco Pesenti Gritti  <mpg@redhat.com>

	* lib/Makefile.am:
	* shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
	(button_press_cb), (ev_sidebar_links_construct):

	Show the popup menu also on keybindings

2005-05-16  Marco Pesenti Gritti  <mpg@redhat.com>

	* shell/ev-window.c: (ev_window_print), (ev_window_print_range):
	* shell/ev-window.h:

	Expose api to print a range (with dialog). Make private _print use
	it.

	* shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
	(ev_sidebar_links_construct):

	Show a print context menu on linkx, it prints the selected
	section.

2005-05-15  Carlos Garcia Campos <carlosgc@gnome.org>

	* shell/ev-sidebar.c: make the drop down menu as width as the toggle
	button.

2005-05-12  Marco Pesenti Gritti  <mpg@redhat.com>

	* AUTHORS:

	Update

	* shell/ev-window.c: (build_comments_string),
	(ev_window_cmd_help_about):

	Show poppler version/backend and authors

2005-05-11  Marco Pesenti Gritti  <mpg@redhat.com>

	* cut-n-paste/zoom-control/ephy-zoom.c:
	(ephy_zoom_get_zoom_level_index):
	* cut-n-paste/zoom-control/ephy-zoom.h:

	Move the best fit items at the top of the list

2005-05-11  Marco Pesenti Gritti  <mpg@redhat.com>

	* shell/ev-marshal.list:
	* shell/ev-page-action.c: (ev_page_action_widget_class_init),
	(activate_cb), (match_selected_cb), (activate_link_cb),
	(connect_proxy), (ev_page_action_class_init):
	* shell/ev-page-action.h:

	Use signals to notify action activation. Hopefully
	I did not break completion since I cant test...

	* shell/ev-window.c: (activate_link_cb), (activate_label_cb),
	(register_custom_actions):

	Connect to page selector actions and also grab focus on
	the view when activated.

Wed May 11 01:18:29 2005  Jonathan Blandford  <jrb@redhat.com>

	* pdf/ev-poppler.cc:
	* backend/ev-page-cache.c: make page size calculation consistent
	and set it to (int)( width * scale + 0.5).  This makes the weird
	line going through the middle of the page go away.

	* shell/ev-view.c: move painting the background page after
	checking the expose area covers us.

2005-05-11  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

	* data/evince-password.glade:
	
	Mark labels as not translatable. Fix for bug 302842.

2005-05-10  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* configure.ac: Added "es" to ALL_LINGUAS.

2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>

	* data/evince-toolbar.xml:
	* shell/ev-window.c: (update_action_sensitivity),
	(ev_window_setup_document), (ev_window_set_page_mode),
	(ev_window_init):

	Remove some leftover code from jrb first continous
	attempt. Use the new actions, we still need good icons
	though...

2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>

	* shell/ev-page-action.c: (update_pages_label), (connect_proxy):

	Update label when connecting proxy. Fix a warning with NULL
	page_cache.

2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>

	* data/evince-ui.xml:
	* shell/ev-page-action.c: (ev_page_action_grab_focus):
	* shell/ev-page-action.h:
	* shell/ev-window.c: (ev_window_cmd_focus_page_selector):

	Add mnemonic for edit toolbar.
	ctrl+l focus the page entry.

2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>

	* lib/Makefile.am:
	* shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
	(ev_window_init):
	* shell/main.c: (main):

	Put the toolbar xml in evince own dot dir

2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>

	* shell/ev-window.c: (ev_window_init):

	Make the toolbar not removable

2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>

	* data/evince-ui.xml:
	* shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
	* shell/ev-sidebar-links.h:
	* shell/ev-sidebar-thumbnails.c:
	(ev_sidebar_thumbnails_get_treeview):
	* shell/ev-sidebar-thumbnails.h:
	* shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
	(ev_view_class_init):
	* shell/ev-view.h:
	* shell/ev-window.c: (update_action_sensitivity),
	(ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
	(set_view_actions_sensitivity), (view_actions_focus_in_cb),
	(view_actions_focus_out_cb), (enable_view_actions_for_widget),
	(ev_window_init):

	This is evil... Make space/backspace global accelerators but
	enable them only for some widgets (sidebars and view).
	I dont like it, but I dont know a better way... :/

2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>

	* shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
	(ev_page_action_widget_finalize),
	(ev_page_action_widget_class_init), (update_page_cache):

	Keep a weak reference on proxy->page_cache so that we
	dont try to disconnect the signal if the object is already
	gone. Maybe there is a better way to cleanup reference handling
	in page action though...

2005-05-10  Juerg Billeter  <j@bitron.ch>

	* backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
	* backend/ev-ps-exporter.h:
	* pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
	* ps/ps-document.c: (ps_document_ps_export_begin):
	
	Change api to pass print range to ps_exporter_begin. The pdf backend
	requires this information.
	
	* shell/ev-print-job.c: (idle_print_handler):
	
	Adapt to api change

2005-05-10  Juerg Billeter  <j@bitron.ch>

	* shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
	(idle_print_handler)
	* shell/ev-window.c: (ev_window_print):

	Support printing page range, based on patch by Amaury Jacquot

2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>

	* data/evince-toolbar.xml:

	Add zoom control to available items

2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>

	* shell/ev-window.c: (update_action_sensitivity):

	Set slash action insensitive when appropriate

2005-05-10  Christian Persch <chpe@gnome.org>

	* cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):

	Fix warning on the overflow menu

2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>

	* shell/ev-window.c: (sanity_check_uri), (ev_window_open):

	Check for uri correctness/existence

2005-05-09  Juerg Billeter  <j@bitron.ch>

	* shell/ev-window.c: (using_postscript_printer):

	LPD printers use postscript, too

2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>

	* shell/ev-window.c: (register_custom_actions):

	The zoom one is actually sort of useful,
	put it back

2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>

	* shell/ev-window.c: (register_custom_actions):

	Hide page/zoom controls from overflow, they
	are useless.

2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>

	* cut-n-paste/update-from-egg.sh:
	
	Share it between all cut-n-paste subdirs

	* cut-n-paste/recent-files/Makefile.am:

	Fix to use "global" update-from-egg.sh

	* cut-n-paste/recent-files/egg-recent-model.c:
	(egg_recent_model_changed_timeout), (egg_recent_model_finalize):
	* cut-n-paste/recent-files/egg-recent-view-gtk.c:
	(egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
	(egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):

	Update from libegg

	* cut-n-paste/toolbar-editor/Makefile.am:

	Fix to use "global" update-from-egg.sh

	* cut-n-paste/toolbar-editor/eggmarshalers.list:

	Update from libegg

2005-05-09  Marco Pesenti Gritti <mpg@redhat.com>

	* configure.ac:
	* cut-n-paste/Makefile.am:
	* cut-n-paste/recent-files/Makefile.am:
	* cut-n-paste/toolbar-editor/.cvsignore:
	* cut-n-paste/toolbar-editor/Makefile.am:
	* cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
	(egg_editable_toolbar_get_type), (get_toolbar_position),
	(get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
	(drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
	(drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
	(set_item_drag_source), (create_item_from_action), (create_item),
	(data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
	(popup_toolbar_context_menu_cb), (free_dragged_item),
	(toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
	(toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
	(unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
	(update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
	(item_added_cb), (item_removed_cb),
	(egg_editable_toolbar_construct),
	(egg_editable_toolbar_disconnect_model),
	(egg_editable_toolbar_deconstruct),
	(egg_editable_toolbar_set_model),
	(egg_editable_toolbar_set_ui_manager),
	(egg_editable_toolbar_set_property),
	(egg_editable_toolbar_get_property),
	(egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
	(egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
	(egg_editable_toolbar_new_with_model),
	(egg_editable_toolbar_get_edit_mode),
	(egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
	(egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
	(egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
	(new_pixbuf_from_widget), (new_separator_pixbuf),
	(update_separator_image), (style_set_cb),
	(_egg_editable_toolbar_new_separator_image),
	(egg_editable_toolbar_get_model):
	* cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
	* cut-n-paste/toolbar-editor/egg-marshal.c:
	* cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
	(egg_toolbar_editor_get_type), (compare_actions), (find_action),
	(egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
	(egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
	(egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
	(egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
	(drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
	(editor_drag_data_delete_cb), (drag_data_get_cb),
	(elide_underscores), (set_drag_cursor), (event_box_realize_cb),
	(editor_create_item), (update_editor_sheet), (setup_editor),
	(egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
	(parse_item_list), (model_has_action), (update_actions_list),
	(egg_toolbar_editor_load_actions):
	* cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
	* cut-n-paste/toolbar-editor/egg-toolbars-model.c:
	(egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
	(safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
	(toolbars_item_new), (free_toolbar_node), (free_item_node),
	(egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
	(egg_toolbars_model_add_separator), (impl_add_item),
	(parse_item_list), (egg_toolbars_model_add_toolbar),
	(parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
	(impl_get_item_data), (impl_get_item_type),
	(_egg_accumulator_STRING), (egg_toolbars_model_class_init),
	(egg_toolbars_model_init), (free_toolbar),
	(egg_toolbars_model_finalize), (egg_toolbars_model_new),
	(egg_toolbars_model_remove_toolbar),
	(egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
	(egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
	(egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
	(egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
	(egg_toolbars_model_get_item_data),
	(egg_toolbars_model_get_item_type):
	* cut-n-paste/toolbar-editor/egg-toolbars-model.h:
	* cut-n-paste/toolbar-editor/eggmarshalers.list:
	* data/Makefile.am:
	* data/evince-toolbar.xml:
	* data/evince-ui.xml:
	* data/hand-open.png:
	* po/POTFILES.in:
	* shell/Makefile.am:
	* shell/ev-window.c: (update_chrome_visibility),
	(ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
	(ev_window_dispose), (ev_window_init):

	Implement epiphany like toolbar editor. Based on patch by
	Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>

	* shell/ev-sidebar-thumbnails.c: (page_changed_cb):

	Use set_cursor instead of set_selection, so that
	the keyboard focus moves too.

2005-05-09  Aleksey Kliger <akliger@gmail.com>

	* dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):

	Fix infinite loop when loading Type1 fonts

2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>

	* data/evince-ui.xml:
	* shell/ev-window.c:

	Slash -> Find

2005-05-09  Thomas de Grenier de Latour <degrenier@easyconnect.fr>

	* configure.ac:

	Make --disable really disable

2005-05-07  Juerg Billeter  <j@bitron.ch>

	* backend/ev-page-cache.c: (ev_page_cache_set_page_label):

	Compare page labels even without has_labels set, fixes setting page
	with entry

2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>

	* shell/ev-view.c: (ev_view_create_invisible_cursor),
	(ev_view_set_cursor), (ev_view_button_press_event),
	(ev_view_motion_notify_event), (ev_view_button_release_event),
	(ev_view_init):

	Implement middle button scrolling. Based on a patch
	by Tommi Komulainen <tommi.komulainen@iki.fi>.

2005-05-08  Marco Pesenti Gritti  <mpg@redhat.com>

	* shell/ev-document-types.c: (get_slow_mime_type),
	(get_document_type_from_mime), (ev_document_type_lookup):
	* shell/ev-document-types.h:

	Change api to lookup from uri. Do fast lookup first, if the
	type is unknown try with data sniffing.

	* shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
	* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):

	Adapt to api change

2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>

	* thumbnailer/Makefile.am:

	Fix distcheck