[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / System / System.IO / ChangeLog
index 0731e983ca0b0c718d4446022fa65a96f61dfe9d..7360fd51f813b93365c2be2628dabdac0b4985ae 100644 (file)
@@ -1,3 +1,66 @@
+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.