beagle r3348 - in trunk/beagle: Util beagled beagled/FileSystemQueryable



Author: joeshaw
Date: 2007-01-30 20:01:05 +0000 (Tue, 30 Jan 2007)
New Revision: 3348
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=3348&view=rev

Modified:
   trunk/beagle/Util/FileSystem.cs
   trunk/beagle/Util/StringFu.cs
   trunk/beagle/beagled/FileAttributesStore.cs
   trunk/beagle/beagled/FileSystemQueryable/FileSystemQueryable.cs
   trunk/beagle/beagled/FilterFactory.cs
   trunk/beagle/beagled/LuceneFileQueryable.cs
Log:
GetLastWriteTimeUtc() no longer throws an IOException if the file isn't
there in 2.0.  It returns a silly date from 1601.  Fix various places
(mostly in the file system backend) where we were depending on that
behavior.

Slightly reorder the flow in FilterFactory.FilterIndexable so that we
avoid unnecessary work, and also check in here if the file has
disappeared out from underneath us.

Fix a DateTime UTC conversion problem that was still hanging around in
FileAttributesStore.

Fix our ParseExact() in StringFu.  We want to AssumeUniversal AND
AdjustToUniversal so that dates we get back are right.  Mono is broken
with these options right now -- see
http://bugzilla.ximian.com/show_bug.cgi?id=80677 -- but things work well
enough now with the broken behavior, and the AdjustToUniversal is
necessary for when it's fixed.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]