2011-12-09 Pierre Wieser <pwieser@trychlos.org>

	* NEWS:
	* TODO: Update before release.

	* src/core/na-gconf-migration.c (na_gconf_migration_run):
	Run verbosely.

	* src/utils/na-gconf2key.sh.in: Fix unset variable.

	* src/nact/nact-match-list.c (insert_new_row):
	New rows now default to be 'matched'.

	* src/core/na-updater.c (na_updater_delete_item):
	Do not try to remove from the backend an item which has never been written.

	* src/nact/nact-menubar-file.c:
	Fix typo in translatable message.
	(nact_menubar_file_save_items): Reinitialize messages pointer.

	* src/nact/nact-tree-ieditable.c (add_to_deleted_rec):
	Only count as deleted items which were read from the backend.
	Compute level zero status.

	* src/core/na-importer-ask.c (na_importer_ask_user):
	* src/core/na-settings.h:
	Change import default mode and export default format to 'Ask'.

	* src/io-xml/naxml-writer.c
	(write_data_schema_v2, write_data_dump):
	String and uint lists have the GConf format (between square brackets).

	* src/io-xml/naxml-reader.c (read_done_action_read_profiles):
	Make sure we have at least one profile attached to the action.

	* src/io-gconf/nagp-reader.c (read_done_action_read_profiles):
	Make sure we have at least one profile attached to the action.

	* src/io-desktop/nadp-desktop-file.c:
	* src/io-desktop/nadp-desktop-file.h (nadp_desktop_file_has_profile):
	New function.

	* src/io-desktop/nadp-reader.c
	(item_from_desktop_path):
	Replace the warning with an error message to be returned to the caller.
	(read_done_action_read_profiles):
	Attach at least a default profile to the action.
	(read_done_action_load_profile):
	Define a default profile if not found in .desktop file.

	* src/core/na-icontext-factory.c: Fix mimetypes and schemes default values.

	* src/core/na-icontext.c (is_compatible_scheme): Fix scheme test.

2011-12-06 Pierre Wieser <pwieser@trychlos.org>

	* src/utils/na-gconf2key.sh.in:
	Fix permissions when creating the configuration directory.

	* src/core/na-settings.c (settings_new):
	* src/io-desktop/nadp-writer.c
	(nadp_iio_provider_is_able_to_write, nadp_iio_provider_write_item):
	Fix permissions when creating the configuration directory.

	* src/api/na-core-utils.h:
	* src/core/na-core-utils.c (na_core_utils_dir_list_perms): New function.

	* src/nact/nact-tree-model-dnd.c (drop_uri_list):
	Fix and improve error messages during drop operations.

	Fix a coredump when trying to import an empty file by DnD.
	Extend the fix by checking the size and the type of the candidate.

	* src/api/na-core-utils.h:
	* src/core/na-core-utils.c (na_core_utils_file_is_loadable): New function.

	* src/api/na-iimporter.h (IMPORTER_CODE_NOT_LOADABLE): New return code.

	* src/core/na-importer.c (import_from_uri):
	Do not try other modules one the first detects that a file is not loadable.

	* src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
	* src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
	* src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
	Check whether the file is loadable before trying to import it.

	* src/nact/nact-main-tab.h:
	* src/nact/nact-main-window.h: Fix comments.

	* src/nact/nact-main-window.c: Fix typo.

	* src/nact/nact-tree-model.c (nact_tree_model_new):
	No more connect to base-window-initialize-gtk signal.
	Initialize model without waiting for signal triggering.

	* src/nact/nact-tree-view.c (instance_constructed):
	No more connect to base-window-initialize-gtk signal.

2011-12-05 Pierre Wieser <pwieser@trychlos.org>

	* src/core/na-importer-ask.c (import_ask_new):
	* src/nact/nact-add-capability-dialog.c (on_base_initialize_gtk_toplevel):
	* src/nact/nact-add-capability.ui:
	* src/nact/nact-add-scheme-dialog.c (on_base_initialize_gtk_toplevel):
	* src/nact/nact-add-scheme.ui:
	* src/nact/nact-export-ask.c (on_base_initialize_gtk_toplevel):
	* src/nact/nact-icon-chooser.c (on_base_initialize_gtk_toplevel):
	* src/nact/nact-icon-chooser.ui:
	* src/nact/nact-preferences-editor.c (on_base_initialize_gtk_toplevel):
	Remove (deprecated since 2.22) 'has_separator' property from GtkDialog.

	* src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
	Display an synthetic error message if cannot handle the file.

	* src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
	Display an synthetic error message if cannot handle the file.

	* po/POTFILES.in: Updated accordingly.

	* src/core/na-importer.c (import_from_uri): Only display error messages
	of the interface which has eventually successfully imported the item.

	* src/core/na-importer.c (import_from_uri):
	Make sure of the population against which we check for existance.

	* src/core/na-iimporter.h: Improve comment.

2011-12-04 Pierre Wieser <pwieser@trychlos.org>

	* docs/nact/Makefile.am: Work-around against #664768.

	When a bug is detected in dblatex, we re-run it in debug mode, so that
	we may be able to get the .pdf from temp directory.

	* docs/nact/Makefile.am: Fix User's Manual generation.

	* docs/reference/nautilus-actions-docs.xml: API only changes on minor versions.

	* run-autogen.sh: Do not automatically make && make install after configure.

	* run-distcheck.sh: Fix cleanup before making distcheck.

2011-12-03 Pierre Wieser <pwieser@trychlos.org>

	* tools/check-headers.sh: Fix when builddir not equal to srcdir.

	* run-distcheck.sh: Make sure that the document wil be rebuilt.

	* m4/na-enable-manuals.m4:
	Fix the test as possible values are 'gdt', 'db2html' and 'no.

	* docs/reference/Makefile.am: Fix when builddir not equal to srcdir.

2011-12-02 Pierre Wieser <pwieser@trychlos.org>

	Do not build the documentation at all if not asked for.

	* m4/na-enable-manuals.m4: new ENABLE_MANUALS conditional.

	* docs/nact/Makefile.am:
	Make use of new ENABLE_MANUALS conditional.
	Also test for conditionals when installing.

	* run-autogen.sh: Yet improve the build script.

2011-12-01 Pierre Wieser <pwieser@trychlos.org>

	* src/core/na-importer-ask.c (na_importer_ask_user):
	Save window size and position when quitting, restoring it on next init.

2011-11-30 Pierre Wieser <pwieser@trychlos.org>

	* src/core/na-gtk-utils.c:
	* src/core/na-gtk-utils.h
	(na_gtk_utils_restore_position_window, na_gtk_utils_save_window_position):
	New functions.

	* src/nact/base-gtk-utils.c
	(base_gtk_utils_restore_window_position, base_gtk_utils_save_window_position):
	Updated accordingly.

	* src/nact/base-gtk-utils.h: Fix a comment.

	* src/core/na-importer-ask.c:
	* src/core/na-importer-ask.h: Now derives from GObject.

	* src/core/na-importer-ask.c (import_ask_new):
	All one-time initialization is made here, being able to return NULL if failed.

	* src/core/na-importer-ask.c (on_destroy_toplevel):
	NAImporterAsk is now attached to its parent, and destroyed with it.

	* src/nact/nact-assistant-import.c (assistant_apply):
	Make the assistant the parent of NAImporterAsk (instead of main window).

2011-11-29 Pierre Wieser <pwieser@trychlos.org>

	* src/core/na-object-item-factory.c:
	Do not let a read or imported item go until the UI with an empty label.

	* src/io-xml/naxml-reader.c (schema_parse_schema_content):
	Only search for identifier in <applyto> schema key.

2011-11-28 Pierre Wieser <pwieser@trychlos.org>

	* src/io-desktop/nadp-desktop-file.c (check_key_file):
	- Do not even try to read zero byte length files.
	- Check Type key before trying to import the file.

	* src/core/na-importer-ask.c:
	* src/core/na-importer-ask.ui: Make NAImporterAsk normally answer to
	response codes, and quit on Esc.

	* nact/nact-export-format.c (draw_in_vbox): Use gtk_misc functions.

	* run-autogen.sh:
	* run-distcheck.sh: Review in order to be able to build several guests
	from a common single source tree.

	* src/nact/nact-assistant-export.c (assist_initial_load_target_folder):
	Get ride of the superfluous 'name' entry field when selecting the folder.

	* src/nact/nact-export-ask.c (nact_export_ask_user):
	Actually do not export the item if the user cancels the operation.

	* src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
	Only display debug messages (try to minimize warnings on import).

	* src/io-xml/naxml-reader.c
	(publish_undealt_nodes): Removed useless (and buggy) function.
	(manage_import_mode): Returns all messages to the caller.

	* src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
	Returns all messages to the caller.

2011-11-27 Pierre Wieser <pwieser@trychlos.org>

	* src/nact/base-gtk-utils.c (base_gtk_utils_restore_window_position):
	Limit the window size, maximizing with the screen size.

	* nact/nact-tree-view.h:
	* nact/nact-tree-view.c: Define parent property.

	* nact/nact-tree-view.c (on_tree_view_realized):
	Delay all signal connection until the widget be actually realized.

	* src/nact/nact-sort-buttons.c (on_base_initialize_buttons):
	Delay the connection to the NactTreeView signal until we are sure the
	widget is realized.

	* src/nact/nact-main-window.c (on_base_initialize_gtk_toplevel):
	Delay the initialization of the NactTreeView until the Gtk toplevel has
	been loaded from XML Glade file.

	* src/nact/nact-assistant-export.c: Adapt to gtk3.

	* src/nact/nact-export-format.c (nact_export_format_init_display):
	Remove the useless intermediate GtkGrid.

	* src/nact/nact-assistant-export.ui: Let the format selection be scrolled.

	* src/core/na-gtk-utils.c (dump_children):
	Also dump the address of the child widget.
	Also dump children which do not have a name (dynamically allocated).

2011-11-26 Pierre Wieser <pwieser@trychlos.org>

	* src/nact/nact-tree-ieditable.c (do_insert_before): Re-reverse the list
	before returning so that the list returns as unchanged to the caller.

	* src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
	Slightly optimize code.

	* src/core/na-importer.c (na_importer_import_from_list): Fix comments.

	* src/io-xml/naxml-reader.c (naxml_reader_import_from_uri): Do not return
	any error message if we do not identify at least a well-formed document
	with a known root node.

	* src/api/na-boxed.h:
	* src/api/na-timeout.h:
	* src/core/na-boxed.c:
	* src/core/na-data-boxed.c:
	* src/core/na-gconf-migration.c:
	* src/core/na-gconf-monitor.c:
	* src/core/na-gconf-utils.c:
	* src/core/na-icontext.c:
	* src/core/na-iduplicable.c:
	* src/core/na-iprefs.c:
	* src/core/na-object-item.c:
	* src/core/na-object.c:
	* src/core/na-settings.c:
	* src/core/na-updater.c: Only reference minor version in 'Since:' and
	'Deprecated' comments.

	* run-autogen.sh: Change development installation directory to _install.

	* configure.ac: gtk-doc and gnome-doc-utils are no more mandatory packages.

	m4_ifdef is not a good way to test if these packages are available, as the
	m4 files default ot be distributed.

	* Makefile.am: Explicitely disable scrollkeeper here when making distcheck.

2011-11-25 Pierre Wieser <pwieser@trychlos.org>

	* docs/nact/Makefile.am: Fully review the NACT User's Manual build.

	* configure.ac: gtk-doc and gnome-doc-utils are no more mandatory packages.

	* Makefile.am:
	No more try to rebuild manuals when making distcheck.
	Move gnome-doc-utils.make and gtk-doc.make to MAINTAINERCLEANFILES target.

	* run-autogen.sh:
	Rename 'autogen_target' variable to 'target'.
	Remove distcheck target as doc is enough to build manuals.

	* run-distcheck.sh: Update to new 'target' variable and 'doc' target.

	* docs/reference/Makefile.am:
	gtk-doc is no more a mandatory package.
	Requires gtk-doc 1.15 to take advantage of new source option.

	* docs/reference/nautilus-actions-docs.xml: Bump copyright year.

2011-11-21 Pierre Wieser <pwieser@trychlos.org>

	* src/nact/nautilus-actions-config-tool.ui:
	Remove empty children from GtkAssistant container.

	* src/nact/nact-assistant-import.c:
	Adapt to the new way Gtk+ 3.2 builds the assistant.

	* src/nact/base-application.c (appli_initialize_gtk): Fix a typo.

	* src/core/na-gtk-utils.c (na_gtk_utils_dump_children):
	Increment the level of the first child of the hierarchy.

	* run-autogen.sh: Be able to run from another directory.

2011-11-16 Pierre Wieser <pwieser@trychlos.org>

	* src/nact/base-window.c:
	* src/nact/base-window.h (base_window_dump_children): New function.

	* src/core/na-gtk-utils.c:
	* src/core/na-gtk-utils.h (na_gtk_utils_dump_children): New function.

	* docs/nact/C/nact-conditions.xml:
	* docs/nact/C/nact-edit.xml:
	* docs/nact/C/nact-execution.xml:
	* docs/nact/C/nact-profiles.xml:
	* docs/nact/C/nact-sorting.xml:
	* src/nact/nact-assistant-import.c:
	Fix with advices of Christian Kirbach.
	Fix #660399, reported by Christian Kirbach.

2011-11-15 Pierre Wieser <pwieser@trychlos.org>

	* src/nact/nact-export-format.c:
	* src/nact/nact-main-toolbar.c:
	Get ride of deprecated GtkHBox and GtkVBox.

2011-11-05 Pierre Wieser <pwieser@trychlos.org>

	* run-autogen.sh, run-distcheck.sh: Defines a special 'distcheck' mode.

2011-11-02 Pierre Wieser <pwieser@trychlos.org>

	* docs/nact/C/nact-conditions.xml:
	* docs/nact/C/nact-edit.xml:
	* docs/nact/C/nact-execution.xml:
	* docs/nact/C/nact-menus.xml:
	* docs/nact/C/nact-profiles.xml:
	Apply patch provided by Christian Kirbach.
	Fix #661498 reported by Christian Kirbach.

	* docs/nact/C/nact-conditions.xml: Replace 'regarding' with
	'regardless'.
	From #660399, reported by Gabor Karsay.

2011-11-02 Pierre Wieser <pwieser@trychlos.org>

	* src/io-desktop/nadp-writer.c (nadp_iio_provider_is_able_to_write):
	* src/nact/base-gtk-utils.c (base_gtk_utils_select_file_with_preview):
	* src/nact/nact-assistant-import.c (prepare_confirm):
	* src/nact/nact-clipboard.c (nact_clipboard_dnd_set):
	* src/nact/nact-main-statusbar.c (nact_main_statusbar_set_locked):
	* src/nact/nact-preferences-editor.c (desktop_setup):
	* src/nact/nact-providers-list.c (on_selection_changed):
	* src/test/test-virtuals-without-test.c (first_instance_dispose):
	Remove set but unused variables.

2011-07-25 Pierre Wieser <pwieser@trychlos.org>

	* configure.ac: Fix test for nautilus_menu_provider_get_toolbar_items().
	Fix #655237 - Toolbar icons are not created.