This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller. I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.
With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
* 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.
svn path=/trunk/mcs/; revision=146290
* InotifyWatcher.cs: optimized the Renamed event child update loop
in the previous commit for directories in ProcessEvents.
svn path=/trunk/mcs/; revision=142984
* 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.
svn path=/trunk/mcs/; revision=142958
* 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.
svn path=/trunk/mcs/; revision=137829
* HttpApplicationFactory.cs: OnFileChanged ignores the directory
part of the file triggering the event. Fixes bug #509998
2009-06-04 Marek Habersack <[email protected]>
* 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
svn path=/trunk/mcs/; revision=135460
* InotifyWatcher.cs: don't send events when a directory is created
unless it matches the pattern. Fixes bug #484082.
svn path=/trunk/mcs/; revision=129112
* 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.
svn path=/trunk/mcs/; revision=124491
* 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.
svn path=/trunk/mcs/; revision=114646
* InotifyWatcher.cs: If a directory is renamed, make sure the old
version is removed from the requests hash. Fixes bug 322330.
svn path=/trunk/mcs/; revision=106302
* 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
svn path=/trunk/mcs/; revision=100953
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