2005-04-18  First release <Nokia>

	* Release 1.2.14.


	* configure.in: Bump version in preparation for release.

	* libossomime/mime-category-mapping.txt: Add more extensive
	documentation on adding a mapping.


	* libossomime/src/test-open.c (main): Don't try to add cwd to the
	path since the input should be a URI.

	* libossomime/src/osso-mime-open.c (_add_arg): Don't escape the
	scheme part of the URI. Fixes NOKVEX-31.


	* libossomime/src/osso-mime.h: Update docs, fixes NOKVEX-29.


	* Release 1.2.13.

	* configure.in: Bump version and so number.


	* libossomime/src/osso-mime-open.c (_add_arg): Escape the paths
	appended, fixes the relevant part of NOKVEX-27.

	* libossomime/src/osso-mime.h: Update doc strings.

	Fixes NOKVFS-28:
	
	* file-module/src/osso_case_in.c: (get_cased_path): Don't append a
	slash twice for the root.

	* file-module/src/dbus-file-method.c (do_check_same_fs): Check for
	invalid URI and return with error if not.
	(remove_file_or_dir): Get the error code with errno, not the stat
	return value.
	(do_move): Don't treat file not found as error when removing
	existing file/dir here, it might not exist.
	

	* Release 1.2.12.

	* configure.in: Bump version to 1.2.12.
	Require newer osso-gwobex/connect.


	* file-chooser/src/gtkfilesystemgnomevfs.c
	(gtk_file_system_gnome_vfs_render_icon): Handle the info being
	NULL, prevents a crash in case of errors.


	* file-chooser/src/gtkfilesystemgnomevfs.c
	(gtk_file_system_gnome_vfs_render_icon): Free file info.
	(gtk_file_system_gnome_vfs_list_volumes): Remove the temporary
	hack for non-user-visible drives.
	(set_vfs_error): Map GNOME_VFS_ERROR_FILE_EXISTS to
	GTK_FILE_SYSTEM_ERROR_ALREADY_EXISTS. Fixes NOKVEX-23.

	* README: Update with bus address fallback info.

	* obex-module/src/om-dbus.c (om_dbus_get_dev): Handle the system
	bus not being available without crashing.
	(om_dbus_disconnect_dev): Likewise. Fixes NOKVEX-24.


	* libossomime/libossomime.pc.in:
	- Removed the requirement of libosso.


	* Release 1.2.11.

	* configure.in: Bump version.


	* obex-module/docs/used-errors.txt: Remove GW_OBEX_ERROR_NO_FTP,
	it's been removed from gwobex, and add GW_OBEX_ERROR_NO_SERVICE.

	Fixes NOKVEX-22 and NOKVEX-21:
	
	* obex-module/src/obex-method.c: (om_connection_reset),
	(om_get_connection): Use GnomeVFSResult instead of gwobex error
	code integer so we don't lose information. Update comments for the
	new URI format.
	(do_open), (do_create),
	(do_close), (do_open_directory), (do_get_file_info),
	(do_make_directory), (do_unlink), (do_remove_directory),
	(do_set_file_info): Use GnomeVFSResult instead of error code
	integer.

	* obex-module/src/om-dbus.c: (check_bda): Validate the BDA.
	(get_dev): Use GnomeVFSResult instead of an integer with a gwobex
	error code. Check the BDA and change it to the new format
	([00:00:...]). Fix the debug code that prints error messages. Add
	NoReply dbus error message to the known errors.
	(om_get_dev): Use GnomeVFSResult instead of int.

	* obex-module/src/om-utils.c: (utils_get_path_and_dev_from_uri):
	Update comment for the new URI format. Check the host for
	correctness.
	(om_utils_check_same_fs): Remove obsolete comment.


	* configure.in: Update requirements on osso-gw*.

	* obex-module/src/Makefile.am: Add localstatedir definition.

	Fix NOKVEX-20:
	
	* obex-module/src/obex-method.c: (om_connection_free),
	(om_connection_reset): Free the connected device string and ask
	gw_connect to disconnect if we're connected. Keep the name of the
	connected device so we can disconnect later.

	* obex-module/src/om-dbus.c: (get_gwcond_connection): Fallback to
	$(localstatedir)/<...> instead of hardcoded path.
	(get_dev): Use new API in gwconnect.
	(om_dbus_disconnect_dev): Add, use new API in gwconnect.

	* obex-module/src/om-utils.c: (om_utils_obex_error_to_vfs_result):
	Add optional debug output to help debugging.


	* Release 1.2.10.

	* configure.in: Bump to 1.2.10.


	* obex-module/tests/test-utils.c (write_file_contents): Add check
	for close.
	(test_make_directory): Add more info to the error case output.

	* obex-module/src/obex-method.c (do_open): Change the test for
	GNOME_VFS_ERROR_FILE_NOT_FOUND to != GNOME_VFS_OK since apparently
	OBEX implementations aren't consistant with the error codes here.

	* obex-module/src/om-fl-parser.c (om_fl_parser_parse): Always
	return FALSE if there's an error and don't access freed memory on
	success.


	* obex-module/src/obex-method.c: (om_connection_reset),
	(om_get_folder_listing):
	* obex-module/src/om-fl-parser.c: (fl_parser_free_parser_data),
	(om_fl_parser_parse):
	* obex-module/src/om-fl-parser.h:
	* obex-module/tests/test-parser.c: (parse_file):
	Make om_fl_parser_parse return a boolean depending on if the
	data could be parse. elements being NULL now means that the data
	didn't contain any elements. Fixes NOKVEX-19.
	

	* vfs-daemon/src/daemon-connection.c
	(connection_handle_monitor_add): Unescape the uri, fixes
	NOKVEX-18.


	* file-module/src/osso_case_in.c: Remove some debug output.


	* obex-module/src/Makefile.am: Add missing backslash so we link to
	the right libraries.


	* libossomime/data/categories.xml: Add pdf with category
	documents.


	* vfs-daemon/src/dbus-method.c: 
	- Use own bus connection.
	- Fixes NOKVEX-17.


	* configure.in:
	* debian/control:
	- Updated dependencies on gwobex and gwconnect.


	* obex-module/src/obex-method.c: (om_get_folder_listing):
	* obex-module/src/om-fl-parser.[ch]: (fl_parser_start_node_cb),
	* obex-module/tests/test-parser.c: (parse_file):
	- Added back the GError for error reporting.


	* configure.in:
	- Require expat
	* obex-module/src/om-fl-parser.[ch]:
	- Replace GMarkup parser with libexpat parser
	* obex-utils/obex-vfs-utils/ovu-cap-parser.c:
	- Replace GMarkup parser with libexpat parser
	- Fixes NOKVEX-14.
	* debian/control:
	- Require libexpat1-dev for building.


	* file-module/src/dbus-file-method.c:
	* file-module/src/osso_case_in.[ch]: (get_cased_path):
	- Return a new string instead of modifying that old one (that is
	  possibly to short to hold the new string).
	- Fixed NOKVEX-1/NB: #2155, #2156.


	* obex-module/src/om-utils.c: (om_utils_obex_error_to_vfs_result):
	- Add support for GW_OBEX_ERROR_INVALID_DATA
	- Fixed NOKVEX-11
	* obex-module/docs/used-errors.txt: Added info about the new error.


	* Release 1.2.9

	* debian/changelog: updated for 1.2.9


	* libossomime/src/osso-mime-application.c:
	* libossomime/src/osso-mime-icon.c:
	* libossomime/src/osso-mime-open.c:
	* libossomime/src/osso-mime.h:
	- Added LGPL header and described the changes in osso-mime-open.c
	- Fixes NOKVEX-12.


	* libossomime/data/categories.xml: Mark more mime types with
	categories.


	* debian/control: 
	- libossomime0 to depend on osso-update-category-database.
	- Fixes NOKVEX-13/NOKOGS-29/NB #7368.


	* Release 1.2.8
	

	* file-module/src/osso_case_in.c:
	* file-module/src/osso_case_in.h:
	- Rewrote from scratch to once and for all clean out all memory leaks,
	  invalid writes, invalid reads etc.
	- Fixes NOKVEX-9/NB: #6252. 


	* file-module/src/dbus-file-method.c:
	* file-module/src/osso_case_in.c:
	* file-module/src/osso_case_in.h:
	- Cleaning up case insensitivity parts to be able to get an overview...


	* libossomime/src/osso-mime-categories.c:
	(osso_mime_get_mime_types_for_category):
	- Added check for OTHER category.
	- Fixes NOKVEX-3.


	* libossomime/src/osso-mime-open.c:
	* libossomime/src/osso-mime.h:
	- Added osso_mime_open_file and osso_mime_open_file_list
	- Fixes NOKVEX-5/NB: #6188


	* file-module/src/dbus-file-method.c (do_open_directory): Escape
	the path string since that's what directory_handle_new expects.


	* file-module/src/dbus-file-method.c (do_get_file_info): Remove
	debug output.


	* libossomime/src/osso-mime-categories.c
	(osso_mime_get_mime_types_for_category): Remove debug output.

	* Release 1.2.7.


	* libossomime/data/categories.xml: Add more types.

	* libossomime/src/test-mime-category.c: Add small test.

	* vfs-daemon/tests/test-daemon.c (daemon_message_filter): Update
	ServiceDelete use to ServiceOwnerChanged (this code isn't built
	though, just left as debugging help).

	* libossomime/src/osso-mime-icon.c: 
	* libossomime/src/osso-mime.h: Add and document icon API.

	* file-chooser/src/gnome-icon-lookup.c (gnome_icon_lookup): Remove
	comments.

	* libossomime/src/osso-mime-application.c
	(osso_mime_application_mime_types_list_free): Rename.

	* libossomime/src/osso-mime.h: Add docs to the category API.

	* libossomime/src/osso-mime-application.c
	(osso_mime_application_get_mime_types): Check the returned mime
	types.


	* libossomime/src/osso-mime-application.c: Add API to get
	supported mime types for an application.

	* libossomime/src/osso-mime.h: Add info in the doc comment about
	how the service is looked up.

	* libossomime/src/osso-mime-open.c (_launch): Use full service
	name if there is a '.' in it, otherwise add nokia.com.

	* libossomime/src/osso-mime-open.c:
	* libossomime/src/osso-mime-categories.c: Include config.c.

	* libossomime/data/categories.xml: Add some more mime types.


	* configure.in: Bump version to 1.2.7 in preparation for release.
	Bump so version properly.

	* debian: Update debian package.


	* libossomime/src/update-category-database.c:
	* libossomime/data/categories.xml: Change namespace.


	* libossomime/data/categories.xml:
	* libossomime/src/Makefile.am:
	* libossomime/src/osso-mime-categories.c:
	(osso_mime_get_category_name), (osso_mime_get_category_from_name),
	(osso_mime_get_mime_types_for_category):
	* libossomime/src/osso-mime.h:
	* libossomime/src/update-category-database.c: (category_is_valid),
	(save_xml_file), (write_out_glob), (write_out_type), (write16),
	(magic_new), (write_magic_children), (write_magic),
	(delete_old_types), (write_aliases), (main):
	Update valid categories and only make u-c-d write out the categories.
	

	* libossomime/src/osso-mime-categories.c:
	(osso_mime_get_category_from_name),
	(osso_mime_get_category_for_mime_type):
	* libossomime/src/osso-mime.h:
	Make categories a bit-field.
	

	* configure.in:
	* libossomime/src/Makefile.am:
	* libossomime/src/update-category-database.c: Add patched
	update-mime-database from Anders that manages the category files.


	* libossomime/src/Makefile.am (libossomime_la_SOURCES): 
	Add new file

	* libossomime/src/osso-mime.h: 
	Add functions for categories

	* libossomime/src/osso-mime-categories.c 
	New file with category support


	* Release 1.2.6
	
	* configure.in: Bumpbed to 1.2.6
	* debian/changelog: Updated for 1.2.6
	* file-module/src/dbus-file-method.c: (do_get_file_info):
	- Fixed NOKVEX-1/NB: 2155, 2156
	- Set the file info name to be the name of the actual file on the 
	  file system, not the name passed in.
	* vfs-daemon/src/dbus-method.c:
	- Bumped timeout to D-BUS maximum of 5 hours.


	* vfs-daemon/src/dbus-method.c: Bumped the timeout to 20 minutes.


	* vfs-daemon/src/dbus-method.c:
	- Set a five minutes timeout on open and close operation to prevent
	  D-BUS to timeout. Since all of the data is sent in open and close
	  when using the OBEX module this will make these calls potentially 
	  take a long time.
	- Fixes #89/NB: 3718


	* Release 1.2.5.


	* configure.in: Increase revision for libossomime, since the
	implementation has been changed.

	* libossomime/README.eggdesktopentries: Add some info.

	* libossomime/src/eggdesktopentries.[ch]:
	* libossomime/src/eggdirfuncs.[ch]: Add desktop file parsing.

	* libossomime/src/osso-mime-open.c: Use it here to get the DBUS
	service name to activate, instead of using the application id
	which is an internal implementation detail of gnome-vfs (currently
	it consists of the desktop file filename).


	* configure.in: Bump version to 1.2.5.


	* libossomime/src/osso-mime-open.c (osso_mime_open): Don't try to
	access a NULL mime application. Only return success if we found at
	least one application. Don't use the list head pointer as a hash
	table element, the list head can change. Use a struct with the
	list in it instead, this fixes a crash. Plug a leak by destroying
	the hash table. Also free the varargs data.


	* Release 1.2.4.


	* configure.in: Bump version to 1.2.4.

	* libossomime/src/Makefile.am (libossomime_la_LDFLAGS): Add
	version info for libossomime, fixes #146/NB: 4714.

	* file-module/src/dbus-file-method.c (do_move): Clarify comments.

	* debian/control: Add build dependency on libgtk2.0-dev, #127/NB:
	4479.


	* file-module/src/dbus-file-method.c: (get_path_from_uri), (do_create):
	- Fixed to different leaks, *sigh*
	* file-module/src/osso_case_in.c: (osso_get_existing_file):
	- Fixed a leak and an invalid write. 
	- Fixes issue #74/NB: 1698


	* file-module/src/dbus-file-method.c (do_move): Reimplement to fix
	bugs.

	* file-module/src/osso_case_in.c (get_substring): Don't read and
	write outside of bounds.

	* file-module/src/osso_case_in.c (osso_get_existing_path_offset):
	Plug leak.


	* configure.in: Bump to 1.2.3 (just adding changelog afterwards so
	we can see where the release was).


	* configure.in: Bump to 1.2.2.


	* libossomime/libossomime.pc.in: Fix libname.


	* configure.in: Bump version to 1.2.1.


	* obex-module/src/obex-method.c (do_check_same_fs): Always return
	FALSE. We do this so that the gnome_vfs_xfer API will do the right
	thing and use copy/remove instead of move. This is necessary,
	unfortunately, since not a lot of devices support move.


	* Release 1.2.0.
	

	* configure.in: Disable outo.
	
	* libossomime/Makefile.am: Disable ut for now. Fix bug in doxygen
	installation.

	* debian/control: Fix typo in depends.

	* debian/rules: Build docs in correct dir.

	* debian/osso-gnomevfs-extra.install,
	debian/osso-gnomevfs-extra-dev.install: Move around files to their
	right package.
	

	* file-module/src/Makefile.am: Add case insensitivity code.

	* configure.in: Bump to 1.0.7.


	* file-chooser/: Add gnomevfs gtkfilesystem from libgnomeui.
	

	* debian/Makefile.am (EXTRA_DIST): Ship the compat file so
	building from the disted tarball works, use .install instead of
	.files. Install the README. Update deps and version.

	* configure.in: Bump version to 1.0.6 and bump req on gnome-vfs.

	* README: Add some information here.

	* file-module/src/dfm-dbus.h: Fix typo, Montor -> Monitor.

	* vfs-daemon/src/vfs-daemon.c (daemon_get_connection): Make the
	error output more descriptive if the service can't be
	acquired. Use the prohibit replacement flag, it's not used in dbus
	right now, but when it is, it will be the right flag.


	* obex-utils/obex-vfs-utils/Makefile.am
	(libobex_vfs_utils_la_LDFLAGS): Add -avoid-version to make lintian
	happy.


	Release 1.0.5.


	* file-module/src/dbus-file-method.c (dfm_notify_monitor)
	(dfm_notify_monitor_local_only): Correctly emit changed signal for
	a directory if a file is created/deleted in it and its parent is
	being monitored.

	* obex-module/src/obex-method.c (om_notify_monitor): Likewise.


	* vfs-daemon/src/vfs-daemon.c (main): Update API for new
	gnome-vfs.

	* vfs-daemon/tests/test-cancel.c (main): Use "dbus-test:" instead
	of "test:".

	* vfs-daemon/src/dbus-module.conf (dbus-test): Change the test uri
	to dbus-test since test is used for the tests in gnome-vfs.

	* configure.in (FILE_MODULE_LIBS): Bump requirement on gwobex
	(0.19) and gwconnect (0.34), gnome-vfs (2.8.0). Bump version to
	1.0.4.

	* vfs-daemon/src/vfs-daemon.c (main): Add comment about loading
	the obex module.

	* obex-module/src/om-dbus.c (get_dev): Terminate the string
	properly.


	* configure.in: Depend on gwconnect
	* obex-module/src/om-dbus.c: (get_dev):
	- Updated to use osso-gwconnect 0.32
	* obex-module/src/om-dbus.h:
	- Don't define the osso-gwconnect defines here


	Fix a deadlock when creating a file in do_open:

	* obex-module/src/obex-method.c (do_create): Setup connection here
	and pass to create_file.
	(do_open): Pass in connection to create_file.
	(create_file): Take a connection from the caller instead.

	* obex-module/tests/test-sync.c (main): 
	* obex-module/tests/test-utils.c: Add test case for is_local.


	* vfs-daemon/src/dbus-method.c (message_handler): Return
	NOT_HANDLED from the filter func. Although it doesn't really
	matter in this case since nobody listens to the signal.

	* obex-module/src/obex-method.c (om_notify_monitor): 
	* file-module/src/dbus-file-method.c
	(dfm_notify_monitor_local_only): Emit notify on directories for
	straight matches too, not just for files in directories.

	* vfs-daemon/tests/volumes-example.c (main): Fix a compile
	warning.


	* configure.in: Bump version to 1.0.3.

	* vfs-daemon/src/vfs-daemon.c: Clean up, fix an include.

	* vfs-daemon/tests/volumes-example.c: Add example that uses the
	volume monitor API.

	* vfs-daemon/tests/test-cancel.c (main): Remove the extra
	g_main_loop_run that makes this test never end.

	* vfs-daemon/tests/Makefile.am: Comment out test-client, since
	it's not a real test, but a tool for developing on the daemon.

	* vfs-daemon/src/dbus-utils.c
	(dbus_utils_message_get_file_info_list): Fix loop logic.

	* obex-module/src/om-dbus.c (get_gwcond_connection): Revert the
	change to use dbus_bus_get, since we need to get our own private
	dbus connection here to avoid threading problems with other
	libraries or applications that use this module and dbus (the vfs
	daemon in particular).

	* vfs-daemon/src/vfs-daemon.c (daemon_get_connection): Exit if we
	can't acquire the service.


	* file-module/src/Makefile.am:
	- Added dbus-vfs-utils.[ch]
	* file-module/src/dbus-file-method.c: (vfs_module_init):
	- Use the string case insensitive equal/hash functions.
	* file-module/src/dfm-vfs-utils.[ch]:
	- Added
	- Code copied and modified from GnomeVFS.
	* obex-module/src/Makefile.am:
	- Added om-vfs-utils.[ch]
	* obex-module/src/obex-method.c: (vfs_module_init):
	- Use case insensitive equal/hash functions.
	* obex-module/src/om-vfs-utils.[ch]:
	- Added
	- Code copied and modified from GnomeVFS.
	- (Same as dfm-vfs-utils.[ch] for now)

	* obex-module/src/om-dbus.c (om_dbus_get_dev, get_dev): Pass the
	BDA to gwcond, improve the error handling.
	(get_dev): Transform URI BDA format to 00:00:... format.

	* obex-module/src/om-utils.c (utils_get_path_and_dev_from_uri):
	Change URI format to use the BDA instead of "gw".

	* vfs-daemon/src/vfs-daemon.c: Clean up and implement the last two
	methods.


	* vfs-daemon/src/dbus-utils.c
	(dbus_utils_message_append_volume_list)
	(dbus_utils_message_append_drive_list)
	(dbus_utils_message_append_volume)
	(dbus_utils_message_append_drive): Implement DBUS utility
	functions for handling volumes and drives.

	* vfs-daemon/src/vfs-daemon.c (daemon_get_connection): Reset
	connection pointer in case of failure.

	* vfs-daemon/src/vfs-daemon.c (daemon_handle_get_volumes,
	daemon_handle_get_drives)
	(daemon_handle_force_probe)
	(daemon_handle_emit_pre_unmount_volume, daemon_message_func):
	Handle daemon methods.
	
	* vfs-daemon/src/vfs-daemon.c (monitor_volume_mounted_cb,
	monitor_volume_unmounted_cb)
	(monitor_volume_pre_unmount_cb, monitor_drive_connected_cb)
	(monitor_drive_disconnected_cb, main): Connect to the volume
	monitor signals and handle them.

	* configure.in: Bump DBUS requirement to 0.22.
	Fix dbus includes and object path registration to work with the
	latest DBUS API.
	

	* vfs-daemon/src/vfs-daemon.c (main): Fix a small leak.
	(generate_address): Fix comment.


	* configure.in: Bumped version to 1.0.2
	* obex-module/Makefile.am: Include README.unsupported in dist.


	* obex-module/README.unsupported: 
	- Added with non-supported and limited functions.
	* obex-module/src/obex-method.c (do_move):
	- If moving between the same directory (rename) call set_file_info to
	  do a rename.


	* obex-module/src/obex-method.c (create_file):
	- Try to move into the directory to see that it exists. This makes
	  sure we are signalled in the do_create call rather than in the
	  do_close call if a directory doesn't exist.


	* obex-module/src/obex-method.c: 
	(om_set_cancel_context): If enable-nautilus-workaround, always return.
	(do_remove_directory): Don't remove if directory is not empty.
	* vfs-daemon/src/Makefile.am: Regenerate service script after configure.


	* configure.in: Added --enable-nautilus-workaround
	* obex-module/src/obex-method.c: (om_set_cancel_context):
	- Only include nautilus workaround if specified to configure.


	* configure.in: Bump version to 1.0.1.

	* obex-module/src/om-dbus.c (get_gwcond_connection): User
	dbus_bus_get instead of relying on the environment variable being
	set. Remove debug code.

	* obex-module/tests/test-parser.c (parse_valid_file): Don't
	compare the mime type since it depends on the system setup.

	* obex-module/tests/Makefile.am: Set correct path for test data file.
