Commit Graph
18 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier 631ced8da2 2006-07-25 Gonzalo Paniagua Javier <[email protected]>
* 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
2006-07-25 21:21:33 +00:00
Gonzalo Paniagua Javier 3790aca1cf 2006-04-10 Gonzalo Paniagua Javier <[email protected]>
* 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
2006-04-10 21:21:22 +00:00
Gonzalo Paniagua Javier 4b940b084f 2006-04-06 Gonzalo Paniagua Javier <[email protected]>
* 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
2006-04-06 22:16:48 +00:00
Gonzalo Paniagua Javier c85a3c816a 2006-01-05 Gonzalo Paniagua Javier <[email protected]>
* 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
2006-01-05 10:24:55 +00:00
Gonzalo Paniagua Javier 849c9d5112 2005-12-01 Gonzalo Paniagua Javier <[email protected]>
* 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
2005-12-01 18:50:22 +00:00
Ben Maurer 41aca6c276 Gonzalito from Ben's computer
svn path=/trunk/mcs/; revision=47130
2005-07-09 00:52:25 +00:00
Gonzalo Paniagua Javier 157df963d5 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
* FAMWatcher.cs: make this really inactive when there are no events to
	process.


svn path=/trunk/mcs/; revision=46505
2005-06-25 19:57:39 +00:00
Gonzalo Paniagua Javier bea2c4b94f 2005-05-28 Gonzalo Paniagua Javier <[email protected]>
* 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
2005-05-28 07:39:26 +00:00
Ben Maurer dd19011aa6 locking fixes
svn path=/trunk/mcs/; revision=45088
2005-05-26 23:18:18 +00:00
Gonzalo Paniagua Javier 1d9c9e2441 Fix warnings
svn path=/trunk/mcs/; revision=43368
2005-04-21 00:47:25 +00:00
Lluis Sanchez 1f2fd5ea5e 2005-04-05 Lluis Sanchez Gual <[email protected]>
* FAMWatcher.cs: Fix cast exception when disposing watchers.


svn path=/trunk/mcs/; revision=42568
2005-04-05 14:12:22 +00:00
Gonzalo Paniagua Javier 59fcd53a48 2004-09-04 Gonzalo Paniagua Javier <[email protected]>
* FAMWatcher.cs: s/fam/libfam.so.0/ so that g_module finds it even
	when the development package is not installed.

svn path=/trunk/mcs/; revision=33329
2004-09-04 05:58:45 +00:00
Duncan Mak 24f5ef2c44 Add MIT license to System.dll
svn path=/trunk/mcs/; revision=30054
2004-06-21 18:02:11 +00:00
Gonzalo Paniagua Javier fec76c733b 2004-05-09 Gonzalo Paniagua Javier <[email protected]>
* 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
2004-05-09 03:31:54 +00:00
Gonzalo Paniagua Javier 43bfd6c50f 2004-03-30 Gonzalo Paniagua Javier <[email protected]>
* 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
2004-03-30 12:26:18 +00:00
Nick Drochak cf5ff95d1b 2004-01-27 Nick Drochak <[email protected]>
* FAMWatcher.cs:
	* FileSystemWatcher.cs: Remove unused variables. Eliminates a couple of
	build warnings.

svn path=/trunk/mcs/; revision=22536
2004-01-27 14:00:08 +00:00
Gonzalo Paniagua Javier 529f2815d7 2004-01-21 Gonzalo Paniagua Javier <[email protected]>
* 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
2004-01-21 21:54:45 +00:00
Gonzalo Paniagua Javier dbea39aa46 2004-01-16 Gonzalo Paniagua Javier <[email protected]>
* 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
2004-01-16 03:27:24 +00:00