[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / System / System.IO / ChangeLog
index 745daec1cf55764d382c0054ab7b056233fd7597..7360fd51f813b93365c2be2628dabdac0b4985ae 100644 (file)
@@ -1,3 +1,140 @@
+2009-11-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * DefaultWatcher.cs: patch by James P. Mitchel III.
+       The change corrects an instance of unsynchronized access to shared
+       state and is probably the intent of the original code.
+
+2009-09-30  Marek Habersack  <mhabersack@novell.com>
+
+       * InotifyWatcher.cs: optimized the Renamed event child update loop
+       in the previous commit for directories in ProcessEvents.
+
+2009-09-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * InotifyWatcher.cs: fixes bug #322330. Patch by Alexander Kojevnikov.
+       This patch fixes the issues reported by the OP and in my previous
+       comment. In particular:
+
+       Hunks 1 and 4 remove the new_name_needed flag, it's not used
+       anywhere and only adds confusion.
+
+       Hunk 2 skips DeleteSelf event for sub-directories, they receive the
+       Delete event anyway.
+
+       Hunk 3 makes sure that we use a combination of Deleted+Created
+       notifications instead of a single Renamed notification, if the watched item
+       has been moved from one directory to another. This is because RenamedEventArgs
+       supports only one directory name: FullPath is always directory+name,
+       OldFullPath is always directory+old_name.
+
+       Hunk 5 updates relevant InotifyData instances with the new directory
+       name.  Without this, notifications always use the original folder names.
+
+       The last hunk may be a bit slow as it needs to iterate on all the
+       InotifyData instances. On the other hand, we are already doing it on the
+       Delete event (lines 560:568) and by default inotify allows only 8192 watches
+       per user.
+
+2009-07-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * InotifyWatcher.cs: when a watched subdirectory is deleted, remove it
+       from the list of children and only raise an event if it matches the
+       filter.
+
+2009-06-04  Marek Habersack  <mhabersack@novell.com>
+
+       * InotifyWatcher.cs: filter pattern should be matched on file name
+       alone, not on the relative path of the file triggering the
+       event. Fixes bug #509998
+
+2009-03-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * InotifyWatcher.cs: don't send events when a directory is created
+       unless it matches the pattern.  Fixes bug #484082.
+
+2009-01-26  Marek Habersack  <mhabersack@novell.com>
+
+       * SearchPattern.cs: make IsMatch work for situations when there is
+       no wildcard in the pattern, but a subdirectory match is being
+       tested, e.g. pattern == "file.txt" and text ==
+       "subdir/file.txt". Lack of support for this has been causing
+       watching for changes to ASP.NET's web.config in subdirectories to
+       fail.
+
+2008-11-06  Jonathan Chambers  <joncham@gmail.com>
+
+       * MonoIO.cs : Add DuplicateHandle.
+
+2008-10-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * InotifyWatcher.cs: IN_CLOSE_WRITE is triggered when a writable file is
+       closed, but that does not mean that the file was actually modified.
+       Fixes bug #323188.
+
+2008-09-08  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * InotifyWatcher.cs: Really fix #359181.
+
+2008-09-01  Dick Porter  <dick@ximian.com>
+
+       * InotifyWatcher.cs: Revert fix for bug 322330, as it is somehow
+       breaking other stuff.
+
+2008-06-20  Dick Porter  <dick@ximian.com>
+
+       * InotifyWatcher.cs: If a directory is renamed, make sure the old
+       version is removed from the requests hash.  Fixes bug 322330.
+
+2008-06-18  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * InotifyWatcher.cs: patch from Juraj Skripsky to fix
+       rename events (fixes bug #359181).
+
+
+2008-04-17  Marek Habersack  <mhabersack@novell.com>
+
+       * FileSystemWatcher.cs: added support for NullFileWatcher. Fixes
+       bug #354701
+
+       * NullFileWatcher.cs: added an IFileWatcher implementation which
+       does nothing. Selected only by setting the MONO_MANAGED_WATCHER
+       environment variable to 'disabled'. Fixes bug #354701
+
+Tue Mar 11 14:29:22 CET 2008 Paolo Molaro <lupus@ximian.com>
+
+       * InotifyWatcher.cs: patch from Anders Rune Jensen (anders@iola.dk)
+       to reduce memory usage (fixes bug #362147).
+
+2007-11-06  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * InvalidDataException.cs: Added private ctor for serialization. Fix 
+       bug #324569.
+
+2007-10-30  Robert Jordan  <robertj@gmx.net>
+
+       * MonoSyncFileStream.cs: Add.
+
+2007-07-19  Juraj Skripsky  <js@hotfeet.ch>
+
+       * FileSystemWatcher.ch (RaiseEvent): Invoke delegate directly, we don't
+       need the extra control provided by using GetInvocationList().
+
+2006-11-01  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * ErrorEventHandler.cs: Remove [Serializable] in NET_2_0.
+       * FileSystemEventHandler.cs: Remove [Serializable] in NET_2_0.
+       * FileSystemWatcher.cs: Add missing attributes for NET_2_0.
+       * InvalidDataException.cs: Seal class and remove serialization ctor.
+       * NotifyFilters.cs: Remove [Serializable] in NET_2_0.
+       * RenamedEventHandler.cs: Remove [Serializable] in NET_2_0.
+       * WatcherChangeTypes.cs: Remove [Serializable] in NET_2_0.
+
+2006-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * InotifyWatcher.cs: workaround for a weird case. Someone is watching
+       /dev with recursion enabled and the inotify file descriptor shows up
+       as a directory that fails to open. Already reported to Robert Love.
+
 2006-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * InotifyWatcher.cs: fix file names for the rename event.