2007-07-25  Sjoerd Simons  <sjoerd@luon.net>

	* src/gnomevfs-monitor.c: Use GENUM2RVAL instead of RVAL2GENUM to
	convert event types to ruby values in the monitor callback.

2007-07-13  Guillaume Cottenceau

	* src/gnomevfs-directory.c, src/gnomevfs-file.c,
	src/gnomevfs-fileinfo.c, src/gnomevfs-monitor.c,
	src/gnomevfs-uri.c, src/gnomevfs.c: replace RTEST uses by
	RVAL2CBOOL

2007-07-08  Masahiro Sakai  <sakai@tom.sfc.keio.ac.jp>

	* src/*: use rb_block_proc() directly instead of using G_BLOCK_PROC().

2007-07-01  Masahiro Sakai  <sakai@tom.sfc.keio.ac.jp>

	* src/lib/gnomevfs.rb (GnomeVFS.read): support
	GnomeVFS::File.read(filename, length, offset).

	* src/gnomevfs-file.c (file_seek): convert offset argument correctly.

2007-06-18  Kouhei Sutou  <kou@cozmixng.org>

	* src/gnomevfs-monitor.c (monitor_callback): added missing
	number of arguments.

	* src/gnomevfs-file.c:
	- used RSTRING_PTR() and RSTRING_LEN() to support ruby 1.9.
	- removed debug print.

2006-06-23  Masao Mutoh  <mutoh@highway.ne.jp>

	* src/gnomevfs-mime-application.c: Fixed wrong definition of 
	GnomeVFS::Mime::ArgumentType.

2006-06-13  Masahiro Sakai  <sakai@tom.sfc.keio.ac.jp>

	* src/gnomevfs-file.c: Use rb_rs.

	* src/gnomevfs-directory.c: Define GnomeVFS::Dir as an alias of GnomeVFS::Directory.

	* src/gnomevfs-directory.c (directory_list_load): Use g_list_free() instead of
	gnome_vfs_file_info_list_free() since gnome_vfs_file_info_list_free() frees
	each element of the list and causes segmentation fault in this case.

	* src/gnomevfs-directory.c, src/gnomevfs-file.c, src/gnomevfs-fileinfo.c,
	src/gnomevfs-mime-application.c, src/gnomevfs-mime.c, src/gnomevfs-monitor.c,
	src/gnomevfs-uri.c, src/gnomevfs.c: Apply enum/flags changes. Replace unsafe
	uses of FIX2INT and FIX2UINT with NUM2INT and NUM2UINT.

	* src/gnomevfs-directory.c (directory_list_load): Fix segmentation fault which
	caused by a wrong usage of GLIST2ARY(list). 

2006-06-12  Masahiro Sakai  <sakai@tom.sfc.keio.ac.jp>

	* src/gnomevfs-file.c (GnomeVFS::File): Use rb_io_printf, rb_io_puts, rb_io_print
	and rb_io_addstr to implement corresponding methods.

2006-06-11  Masahiro Sakai  <sakai@tom.sfc.keio.ac.jp>

	* src/gnomevfs-file.c (GnomeVFS::File): Allow optional "buffer" argument like
	IO#raed. And fix to read to the end of file when length is ommited, even if
	gnome_vfs_get_file_info_from_handle() and/or gnome_vfs_tell() don't work.

2005-10-15  Masao Mutoh  <mutoh@highway.ne.jp>

	* extconf.rb: Cygwin support. [bug #1315334]
	By Yaakov Selkowitz.

2005-10-09  Masao Mutoh  <mutoh@highway.ne.jp>

	* extconf.rb, src/gnomevfs.c, src/gnomevfs.h:
	Added GnomeVFS::BUILD_VERSION.

2005-09-18  Masao Mutoh  <mutoh@highway.ne.jp>

	* src/gnomevfs-file.c: If Gnome::VFS.open with write mode can't find
	file, then it creates new file. [Bug #1264492]

2005-07-24  Masao Mutoh  <mutoh@highway.ne.jp>

	* extconf.rb, src/gnomevfs-file.c: Fix for Ruby-1.9.x. 

2005-01-30  Masao Mutoh  <mutoh@highway.ne.jp>

	* extconf.rb: Follow mkmf-gnome2.rb changes. 
	* src/gnomevfs.h: Fix NUM2ULL duplication for Ruby-1.9.x.

2004-09-23  Masao Mutoh  <mutoh@highway.ne.jp>

	* src/lib/gnomevfs.rb:  Support GLib::Log.set_log_domain.
	Define GnomeVFS::LOG_DOMAIN.

2004-08-27  Masao Mutoh  <mutoh@highway.ne.jp>

	* src/gnomevfs-result.c: Improve error handling. 

2004-05-30  Masao Mutoh  <mutoh@highway.ne.jp>

	* tests/*.rb: Improve to work anywhere on UNIX environment.

2004-05-30  Giovanni Corriga <valkadesh@libero.it>

	* src/gnomevfs.c: Fix a wrong definitions

2004-05-30  Pascal Terjan <pterjan@linuxfr.org>

	* src/gnomevfs.h: Add "extern" definition to the Global variables.

2004-03-06  Masao Mutoh  <mutoh@highway.ne.jp>

	* REAMDE, src/gnomevfs-fileinfo.c src/gnomevfs-result.c src/gnomevfs.h:
	Update Copyright.

2004-03-04  Masao Mutoh  <mutoh@highway.ne.jp>

	* src/gnomevfs.h, gnomevfs-result.c, gnomevfs-fileinfo.c: 
	Fix warning for GnomeVFS 2.0.x and ruby-1.6.x.

2003-12-08  Masahiro Sakai  <sakai@tom.sfc.keio.ac.jp>

	* src/lib/gnomevfs.rb (GnomeVFS::FileInfo) include Comparable.

	* src/lib/gnomevfs.rb (GnomeVFS::FileInfo#setuid?,
 	GnomeVFS::FileInfo#setgid?, GnomeVFS::FileInfo#<=>): new methods.
 
	* src/lib/gnomevfs.rb (GnomeVFS::File#atime, GnomeVFS::File#mtime,
 	GnomeVFS::File#ctime, GnomeVFS::File#pos=): new methods. 
 
	* src/lib/gnomevfs.rb (GnomeVFS::File): new singleton methods:
 	foreach, read, readlines, readlink, utime, exists?, exist?, ftype,
 	file?, directory?, symlink?, chardev?, blockdev?, socket?, pipe?,
 	size?, zero?, readable?, writable?, executable?, readable_real?,
 	writable_real?, executable_real?, owned?, grpowned?, sticky?,
 	setuid?, setgid?, size, atime, mtime, ctime.
 
	* src/gnomevfs-file.c (GnomeVFS::File): include Enumerable.
 
	* src/gnomevfs-file.c: change GnomeVFS::File.stat to follow symbolic
 	link, and add new method GnomeVFS::File.lstat which doesn't follow
 	symbolic link.
 
2003-08-28  Masao Mutoh  <mutoh@highway.ne.jp>
                                                                               
	* extconf.rb: Exit with 1 when the package is not found.

2003-08-12  Nikolai Weibull  <lone-star@home.se>

	* src/gnomevfs-directory.c: Fixed a bug with the visit functions.
	Also added rel_path to items passed to the block.

2003-08-09  Masao Mutoh  <mutoh@highway.ne.jp>

	* src/gnomevfs-mime.c, gnomevfs-uri.c, gnomevfs-fileinfo.c: Fix 
	warnings.
	* extconf.rb: Call gnome-vfs-module-2.0.

2003-08-07  Nikolai Weibull  <lone-star@home.se>

	* src/gnomevfs-mime.c,src/gnomevfs-application-registry.c,
	src/gnomevfs-mime-application.c: New files.  These add support for the
	mime handling parts of GnomeVFS.

2003-08-04  Nikolai Weibull  <lone-star@home.se>

	* src/gnomevfs-file.c,src/gnomevfs-directory.c: Added object tainting
	and security level checking.

2003-07-27  Nikolai Weibull  <lone-star@home.se>

	* src/gnomevfs-file.c: Fixed a bunch of minor bugs (that prevented all
	operation).  Also added record separation in the gets() method.
	* src/gnomevfs-file.c: Completed the interface.  Almost 100%
	compatible with Ruby's IO class.  Only methods that cannot be
	implemented are excluded.

2003-07-26  Nikolai Weibull  <lone-star@home.se>

	* NEWS: Removed file.

2003-07-24  Nikolai Weibull  <lone-star@home.se>

	* COPYING.LIB,ChangeLog,NEWS,README,extconf.rb,src,tests,
	src/gnomevfs-application-registry.c,src/gnomevfs-directory.c,
	src/gnomevfs-directory.h,src/gnomevfs-file.c,src/gnomevfs-file.h,
	src/gnomevfs-fileinfo.c,src/gnomevfs-fileinfo.h,src/gnomevfs-mime.c,
	src/gnomevfs-monitor.c,src/gnomevfs-monitor.h,src/gnomevfs-result.c,
	src/gnomevfs-result.h,src/gnomevfs-uri.c,src/gnomevfs-uri.h,
	src/gnomevfs.c,src/gnomevfs.h,tests/test1.rb,tests/test2.rb,
	tests/test3.rb: Initial import.
