2005-12-12  Alexander Larsson  <alexl@redhat.com>

	* imported/neon/Makefile.am (NEON_INCLUDES):
	Add ne_xmlreq.h

2005-12-12  Alexander Larsson  <alexl@redhat.com>

	* NEWS:
	Update for release.

2005-12-12  Christian Kellner  <gicmo@gnome.org>

        * modules/http-neon-method.c: Check for mime type validity
        before using it in a comparation. (#323657). Patch from
        William Jon McCann  <mccann@jhu.edu>

2005-12-11  John McCutchan  <ttb@tentacle.dhs.org>

	* modules/inotify-helper.c: Disable debug messages
	* modules/inotify-kernel.c: Tweak timings to be suitable for a
	application.

2005-12-10  John McCutchan  <ttb@tentacle.dhs.org>

	* modules/Makefile.am: Add new inotify files.
	* modules/file-method.c: (inotify_monitor_add), (do_monitor_add),
	(inotify_monitor_cancel), (do_monitor_cancel): Adapt to changes in inotify
	backend.
	* modules/inotify-helper.c: (ih_startup), (ih_sub_add),
	(ih_sub_cancel), (ih_event_callback), (ih_not_missing_callback),
	(ih_mask_to_EventType): 
	* modules/inotify-helper.h:
	* modules/inotify-kernel.c: (ik_event_new_dummy), (ik_watch),
	(ik_ignore):
	* modules/inotify-kernel.h:
	* modules/inotify-missing.c: (im_startup), (im_add), (im_rm),
	(im_scan_missing):
	* modules/inotify-missing.h:
	* modules/inotify-path.c: (ip_startup), (ip_map_path_dir),
	(ip_map_sub_dir), (ip_map_wd_dir), (ip_start_watching),
	(ip_unmap_path_dir), (ip_unmap_wd_dir), (ip_unmap_wd),
	(ip_unmap_sub_dir), (ip_unmap_all_subs), (ip_stop_watching),
	(ip_watched_dir_new), (ip_watched_dir_free), (ip_wd_delete),
	(ip_event_dispatch), (ip_event_callback):
	* modules/inotify-path.h:
	* modules/inotify-sub.c: (ih_sub_new), (ih_sub_free),
	(ih_sub_setup):
	* modules/inotify-sub.h: 
	
	Factored the inotify backend into more modules.

	inotify-path: A path based interface to inotify-kernel.
	inotify-missing: Polls twice a second for missing subscriptions.
	inotify-sub: An inotify helper subscription.

	Fixes the busted missing list. The missing list now monitors
	each subscription instead of each directory. This fixes issues with the
	missing list and symbolic links.

	Fixes monitoring of paths with spaces in them.

	Includes code to take advantage of race avoidance flags scheduled for
	inclusion with 2.6.16.

	Supports "don't follow symbolic link" behaviour when it is added to
	gnome-vfs.

2005-12-09  Alexander Larsson  <alexl@redhat.com>

	* modules/nntp-method.c (generate_folder_from_element):
	Fix warning.

2005-12-07  John McCutchan  <ttb@tentacle.dhs.org>

	* modules/local_inotify.h: Update inotify header with my changes queued
	for 2.6.16.

2005-12-06  John McCutchan  <ttb@tentacle.dhs.org>

	* modules/inotify-helper.c:
	* modules/inotify-kernel.c: Just use the local copy of the headers. To
	many people have broken systems and are complaining.

2005-12-04  Christian Kellner  <gicmo@gnome.org>

	* modules/http-neon-method.c: (neon_session_pool_insert):
	Forget auth cached when inserting the session into the
	session cache. See the code comments for details.

2005-12-04  Christian Kellner  <gicmo@gnome.org>

	* configure.in: Move inotify checks into the fs monitor
	section. Remove "have inotify" summary notice but merge it
	into the "FS monitor backends" notice.

2005-12-04  Christian Kellner  <gicmo@gnome.org>

	* libgnomevfs/gnome-vfs-address.c:
	* libgnomevfs/gnome-vfs-address.h:
	Implement gnome_vfs_address_equal () and 
	gnome_vfs_address_match ().
	
	* test/Makefile.am:
	* test/test-address.c: 
	Add tests for GnomeVFSAddress objects.

2005-12-02  Christian Kellner  <gicmo@gnome.org>

	* libgnomevfs/gnome-vfs-address.c:
	* libgnomevfs/gnome-vfs-address.h:
	No code/logic changes only reformating.

2005-12-02  Christian Kellner  <gicmo@gnome.org>

	The "Get Out With The Sickness" commit. It replaces
	gnome-vfs' own implementation of a thread pool and
	priority queue (which was never working correctly).

	* libgnomevfs/gnome-vfs-job-queue.c: Use GThreadPool. It
	lacks prioritizing for now - which was not working anyway. We 
	will add that to glib's GThreadPool and then re-add here.
	
	* libgnomevfs/gnome-vfs-job-queue.h:
	Mark functions as internal with G_GNUC_INTERNAL and remove
	gnome_vfs_job_queue_run ().

	* libgnomevfs/gnome-vfs-pthread.c:
	* libgnomevfs/gnome-vfs-init.c: Remove calls
	to thread pool's init and shutdown functions
	which are gone now.
	
	* libgnomevfs/gnome-vfs-thread-pool.c:
	* libgnomevfs/gnome-vfs-thread-pool.h:
	* libgnomevfs/gnome-vfs-job-slave.c:
	* libgnomevfs/gnome-vfs-job-slave.h:
	Obsoleted by GThreadPool. Removed.
		
	* libgnomevfs/Makefile.am:
	Remove -thread-pool.[ch] and -job-slave.[ch]
	
	* libgnomevfs/gnome-vfs-job.c:
	Remove gnome-vfs-job-slave.h include.


2005-12-01  John McCutchan  <ttb@tentacle.dhs.org>

	* modules/inotify-helper.c: (inotify_helper_cancel): Fix crash when
	opening gtk file selector.

2005-12-01  Christian Neumair  <chris@gnome-de.org>

	* libgnomevfs/xdgmime*: Sync with xdgmime.

2005-12-01  John McCutchan  <ttb@tentacle.dhs.org>

	* modules/file-method.c: (inotify_monitor_cancel): Use
	inotify_helper_cancel.
	* modules/inotify-helper.c: (inotify_helper_init),
	(inotify_sub_new), (inotify_sub_free), (inotify_helper_add),
	(inotify_helper_cancel), (ih_watched_dir_new),
	(ih_watched_dir_free), (ih_emit_one_event), (ih_emit_event),
	(ih_wd_delete), (ih_event_callback), (ih_is_missing),
	(ih_send_not_missing_events), (ih_is_not_missing),
	(ih_scan_missing), (ih_mask_to_EventType):
	* modules/inotify-helper.h:
	* modules/inotify-kernel.c: (ik_startup), (ik_read_callback),
	(ik_process_eq_callback): Pretty much a rewrite. Much less code. Fixes many problems with
	old backend. Including:

	1) The gamin influence.
	2) Support mapping multiple paths to one watch descriptor. Watching the
	symbolic link and its target now work, giving you events on both paths
	even though they share the same wd.
	3) Monitor a files parent directory, not the file itself. My latest inotify
	changes in 2.6.13 needed this.

2005-12-01  Christian Kellner  <gicmo@gnome.org>

	* libgnomevfs/gnome-vfs-resolve.c: Check if EAI_NODATA is defined
	before using it. Patch by Joe Marcus Clarke <marcus@freebsd.org>.
	(#168203 part I)

2005-11-30  Christian Kellner  <gicmo@gnome.org>

	* modules/bzip2-method.c: (do_read): Return GNOME_VFS_ERROR_EOF on
	BZ_STREAM_END result. Patch from jylefort@FreeBSD.org (#322652)

2005-11-30  Christian Kellner  <gicmo@gnome.org>

	* libgnomevfs/gnome-vfs-configuration.c: Spit out a warning if
	loading if a config file failed (#41139). Patch from
	Christian Neumair <chris@gnome-de.org>

2005-11-30  John McCutchan  <ttb@tentacle.dhs.org>

	* modules/inotify-kernel.c: (ik_move_stats), (ik_mask_to_string),
	(ik_pair_events), (ik_process_events):
	* modules/inotify-kernel.h: Add utility functions: ik_move_stats -
	returns the # of matched moves and missed moves. Missed moves is an
	over-estimate because we count impossible to match moves to.
	ik_mask_to_string - returns the string version of the event.
	Fix crash when moving files in nautilus.

2005-11-30  Christian Neumair  <chris@gnome-de.org>

	* libgnomevfs/gnome-vfs-mime-handlers.c:
	(gnome_vfs_mime_get_default_application_for_uri): Don't call
	gnome_vfs_mime_application_supports_uris with NULL argument. Instead,
	always return NULL if no default application is associated with the given
	MIME type.

2005-11-30  Christian Kellner  <gicmo@gnome.org>

	* libgnomevfs/gnome-vfs-file-info.h:
	Correct a typo.
	
	* modules/file-method.c: (do_read_directory): Get access
	rights if GNOME_VFS_FILE_INFO_GET_ACCESS_RIGHTS is requested.
	
	* programs/gnomevfs-ls.c: (show_data), (list):
	Add command line option to get access rights and display them.
	
2005-11-29  John McCutchan  <ttb@tentacle.dhs.org>

	* modules/inotify-helper.c: (mask_to_event_type),
	(mask_to_event_type_dir_as_file), (mask_to_event_type_file_as_dir),
	(gam_inotify_emit_one_event), (gam_inotify_emit_events),
	(gam_inotify_process_event), (inotify_helper_add),
	(inotify_helper_remove), (inotify_helper_init),
	(gam_inotify_nolonger_missing), (gam_inotify_nolonger_link),
	(gam_inotify_poll_link), (gam_inotify_sanity_check): inotify-helper now
	uses inotify-kernel. 
	* modules/inotify-kernel.c: (ik_startup), (ik_event_new_dummy),
	(ik_event_free), (ik_ignore), (ik_read_callback),
	(ik_process_events), (ik_process_eq_callback):
	* modules/inotify-kernel.h: Slight changes for inotify-helper.

2005-11-29  Christian Kellner  <gicmo@gnome.org>

	* doc/tmpl/gnome-vfs-file-info.sgml:
	* libgnomevfs/gnome-vfs-file-info.h:
	Add GNOME_VFS_FILE_INFO_FIELDS_IDS to indicate
	UID/GID fields are valid.
	
	* libgnomevfs/gnome-vfs-module-shared.c:
	(gnome_vfs_stat_to_file_info):
	* modules/http-neon-method.c:
	* modules/nfs-method.c: (nfs_attr_to_file_info):
	* modules/sftp-method.c: (buffer_read_file_info):
	* modules/tar-method.c: (do_get_file_info):
	Set GNOME_VFS_FILE_INFO_FIELDS_IDS if uid/gid are
	valid.
	
	* programs/gnomevfs-info.c: (show_file_info):
	Honor GNOME_VFS_FILE_INFO_FIELDS_IDS.

	Fixes #40644.

2005-11-28  John McCutchan  <ttb@tentacle.dhs.org>

	* modules/Makefile.am: Compile inotify-kernel.c, ship inotify-kernel.h.
	* modules/inotify-kernel.c: (ik_startup), (ik_event_internal_new),
	(ik_event_new), (ik_event_free), (ik_watch), (ik_ignore),
	(ik_read_events), (ik_read_callback), (g_timeval_lt),
	(g_timeval_eq), (ik_pair_events), (ik_event_add_microseconds),
	(ik_event_ready), (ik_pair_moves), (ik_process_events),
	(ik_process_eq_callback):
	* modules/inotify-kernel.h: Factored out inotify code that deals with the
	kernel and raw events.

2005-11-27  Christian Kellner  <gicmo@gnome.org>

	* imported/neon/Makefile.am: Define NE_HAVE_DAV.

2005-11-26  Tor Lillqvist  <tml@novell.com>

	* libgnomevfs/gnome-vfs-volume-ops.c: Make it compile on Win32
	again, although it does not really do anything useful on
	Win32. Just providing the API as no-ops, more or less, to avoid
	ifdefs in client code.

	* libgnomevfs/gnome-vfs-uri.c (gnome_vfs_uri_to_string): Add logic
	for Win32 so we won't return crap like /x:/foo/bar.zap.

	* modules/file-method.c (rename_helper): On Win32, if
	force_replace and old_exists, try removing the old file (or
	directory) first. Don't then bother on Win32 with the EISDIR error
	case after the rename.

2005-11-26  Christian Kellner  <gicmo@gnome.org>

	* libgnomevfs/gnome-vfs-xfer.c: (copy_items), (move_items),
	(link_items): Free progress_info->duplicate_name before
	setting it (#322324).
	Patch from Richard Hult <richard@imendio.com>.

2005-11-26  Christian Kellner  <gicmo@gnome.org>

	* modules/http-neon-method.c:
	Port http neon method to neon 0.25;

2005-11-26  Christian Kellner  <gicmo@gnome.org>

	* acinclude.m4:
	* imported/neon/Makefile.am:
	* imported/neon/ne_gnomevfs.c:
	Make neon build again. Part I of the port to
	neon 0.25.

2005-11-24  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	* modules/Makefile.am:
	* modules/file-method.c:
	* modules/inotify-helper.c:
	* modules/inotify-helper.h:
	* modules/local_inotify.h:
	* modules/local_inotify_syscalls.h:
	Inotify support, patch from John McCutchan

2005-11-22  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	* modules/Makefile.am:
	* module/pty-open.[ch]
	* libgnomevfs/Makefile.am:
	* libgnomevfs/gnome-vfs-pty.[ch]:
	Move pty-open to libgnomevfs and add some features

	* modules/sftp-method.c: (sftp_connect):
	Use the new pty-open
	
	* libgnomevfs/gnome-vfs-volume-monitor-daemon.c:
	* libgnomevfs/gnome-vfs-volume-ops.c:
	Implement password asking when mounting.

	Patch from Nate Nielsen

2005-11-22  Alexander Larsson  <alexl@redhat.com>

	* modules/dns-sd-method.c: 
	* libgnomevfs/gnome-vfs-dns-sd.c
	Port to Avahi 0.6
	
	* configure.in: 
	Require avahi 0.6

2005-11-22  Alexander Larsson  <alexl@redhat.com>

	* libgnomevfs/gnome-vfs-dns-sd.c:
	Revert accidental removal of avahi code.

2005-11-16  Christian Kellner  <gicmo@gnome.org>

	* programs/gnomevfs-ls.c: Use GNOME_VFS_SIZE_FORMAT_STR in the
	format string and avoid so the cast to glong.

	This should fix bug #314691.

2005-11-14  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	Post release version bump

=== gnome-vfs 2.13.1 ===

2005-11-14  Alexander Larsson  <alexl@redhat.com>

	* NEWS:
	Update for release