2007-10-30 Robert Jordan <[email protected]>
* ProcessTest.cs: Add tests for bug #319829.
In System.Diagnostics:
2007-10-30 Robert Jordan <[email protected]>
* Process.cs: Wrap the redirected streams with a stream
that provides real async Begin/Read|Write operations.
Fixes bug #319829.
In System.IO:
2007-10-30 Robert Jordan <[email protected]>
* MonoSyncFileStream.cs: Add.
svn path=/trunk/mcs/; revision=88491
* FileSystemWatcher.ch (RaiseEvent): Invoke delegate directly, we don't
need the extra control provided by using GetInvocationList().
svn path=/trunk/mcs/; revision=82295
* 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.
svn path=/trunk/mcs/; revision=66273
* FAMWatcher.cs: remove unused method.
* InotifyWatcher.cs: new watcher supporting inotify directly, as there
are some distros that do not install 'gamin' anymore. This new watcher
takes priority over gamin, fam and default.
* FileSystemWatcher.cs: support for the new watcher.
svn path=/trunk/mcs/; revision=62972
* FAMWatcher.cs: fix race condition when a directory is created and
populated before we start monitoring it. Patch by Thong Nguyen.
svn path=/trunk/mcs/; revision=59322
* FAMWatcher.cs: add new directories to the hashtable after start
monitoring them, otherwise the ReqNum is not set. Fixes bug #78029.
svn path=/trunk/mcs/; revision=59147
* FAMWatcher.cs: fix arraylist access when a new directory is added and
the new directory is watched too. Closes bug #77068.
svn path=/trunk/mcs/; revision=55093
* FAMWatcher.cs:
* FileSystemWatcher.cs: use libgamin-1.so.0 instead of libfam.so.0 when
the runtime finds libgamin. On SUSE libgamin and libfam are not the same
libraries (on debian, they are just the same and there's no fam-server).
svn path=/trunk/mcs/; revision=53782
* System.Configuration/ProviderBase.cs: nuke this - it's in
System.Configuration.Provider.
* System/InvalidDataException.cs: move this to System.IO, where it
belongs.
* System.dll.sources: track movement of InvalidDataException.cs
and removal of ProviderBase.cs
svn path=/trunk/mcs/; revision=50253
* FAMWatcher.cs: move the call to StartMonitoringDirectory out of any
locks. Before, for a high amount of subdirectories (~500) it hanged
after filling the write buffer of FAM socket. Fixes bug #74398.
svn path=/trunk/mcs/; revision=45131
* System.IO/SearchPattern.cs: Have IsMatch(string)
call IsMatch(string, bool) to avoid setting a instance variable in a
method that logically should not be changing it.
svn path=/trunk/mcs/; revision=37032
* System.IO/KeventWatcher.cs: Add IDisposable to our kevent struct
so the disposer gets called. Fixes a small memory leak. Dont monitor
LastAccessedTime for changed files, as this will cause AppUnloading in XSP
when global.asax is accessed after creation. Use a case-insensitive IsMatch to deal with OSX Case-aware/Case-insensitive filesystem.
* System.IO/SearchPattern.cs: Add a overload to IsMatch to explicitly set
the ignore field for OSX case-aware yet case-insensitive filesystem. This
allows monitoring of global.asax to happen properly.
svn path=/trunk/mcs/; revision=36977
* DefaultWatcher.cs: Copy the hashtable when we scan for changes
so that you can make modifications in a handler. Fixes 65966.
svn path=/trunk/mcs/; revision=36403
* System.IO/KeventWatcher.cs: Dont marshal a string to a struct
that the kernel will hold; this causes a double free bug. Marshal
it as a IntPtr and clean it up in the dispose method. Don't pass
FullName to the pattern matcher, pass the filename. Fixes bug #69692.
svn path=/trunk/mcs/; revision=36328
* DefaultWatcher.cs: if the file is removed between reading the
directory and filling the file info, catch the exception and ignore the
file. Fixes bug #59482.
svn path=/trunk/mcs/; revision=34767
* DefaultWatcher.cs: don't use Directory.GetFileSystemEntries when the
pattern has no wildcards. Fixes bug #67447.
svn path=/trunk/mcs/; revision=34765
* DefaultWatcher.cs: fixed subdirectories notifications and don't
fail when any directory is removed. Closes bug #59840.
svn path=/trunk/mcs/; revision=30313
* FileSystemWatcher.cs : csc build fix. Duplicate name between class
field and local variable. (already filed in bugzilla #47991).
svn path=/trunk/mcs/; revision=26997
* DefaultWatcher.cs:
* FAMWatcher.cs: use MangledFilter instead of Filter.
* FileSystemWatcher.cs: added MangledFilter and finalizer.
* SearchPattern.cs: fixed the case when the pattern is "*".
svn path=/trunk/mcs/; revision=26978
* FAMWatcher.cs: support monitoring subdirectories. FAM doesn't do that,
so we have to register the existing directories and add the new ones
that might be created.
* SearchPattern.cs: provide the pattern when it's wrong.
svn path=/trunk/mcs/; revision=24781
* DefaultWatcher.cs: implemented.
* FAMWatcher.cs: don't stop the thread when we add a new watch.
* FileSystemWatcher.cs: on windows we use the default watcher by now.
svn path=/trunk/mcs/; revision=22362
* System.dll.sources: added new files.
* System_test.dll.sources: added new test.
* System.IO/DefaultWatcher.cs: stub for the default watcher.
* System.IO/WindowsWatcher.cs: stub for the windows watcher.
* System.IO/FAMWatcher.cs: FAM watcher.
* System.IO/FileAction.cs: enum with event types.
* System.IO/FileSystemEventArgs.cs: added SetName property.
* System.IO/FileSystemWatcher.cs: added support for the 3 watchers.
* System.IO/IFileWatcher.cs: interface implemented by the watchers.
* System.IO/SearchPattern.cs: copied from corlib.
* Test/System.IO/FileSystemWatcherTest.cs: new test.
svn path=/trunk/mcs/; revision=22139