1 2006-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * FAMWatcher.cs: remove unused method.
4 * InotifyWatcher.cs: new watcher supporting inotify directly, as there
5 are some distros that do not install 'gamin' anymore. This new watcher
6 takes priority over gamin, fam and default.
7 * FileSystemWatcher.cs: support for the new watcher.
9 2006-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
11 * FAMWatcher.cs: fix race condition when a directory is created and
12 populated before we start monitoring it. Patch by Thong Nguyen.
14 2006-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
16 * FAMWatcher.cs: add new directories to the hashtable after start
17 monitoring them, otherwise the ReqNum is not set. Fixes bug #77971.
19 2006-01-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
21 * FAMWatcher.cs: fix arraylist access when a new directory is added and
22 the new directory is watched too. Closes bug #77068.
24 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
27 * FileSystemWatcher.cs: use libgamin-1.so.0 instead of libfam.so.0 when
28 the runtime finds libgamin. On SUSE libgamin and libfam are not the same
29 libraries (on debian, they are just the same and there's no fam-server).
31 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
33 * FAMWatcher.cs: reverting my patch. Seems that something got
36 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
38 * FAMWatcher.cs: make this really inactive when there are no events to
41 2005-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
43 * FAMWatcher.cs: move the call to StartMonitoringDirectory out of any
44 locks. Before, for a high amount of subdirectories (~500) it hanged
45 after filling the write buffer of FAM socket. Fixes bug #74398.
47 2005-04-05 Lluis Sanchez Gual <lluis@novell.com>
49 * FAMWatcher.cs: Fix cast exception when disposing watchers.
51 2005-03-30 Geoff Norton <gnorton@customerdna.com>
53 * KeventWatcher.cs: Fix a file handle leak on raised events.
55 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
57 * DefaultWatcher.cs: Fix nullref exception when the object is disposed
60 2004-12-03 Geoff Norton <gnorton@customerdna.com>
62 * SearchPattern.cs: Have IsMatch(string)
63 call IsMatch(string, bool) to avoid setting a instance variable in a
64 method that logically should not be changing it.
66 2004-12-02 Geoff Norton <gnorton@customerdna.com>
68 * KeventWatcher.cs: Add IDisposable to our kevent struct
69 so the disposer gets called. Fixes a small memory leak. Dont monitor
70 LastAccessedTime for changed files, as this will cause AppUnloading in XSP
71 when global.asax is accessed after creation. Use a case-insensitive IsMatch
72 to deal with OSX Case-aware/Case-insensitive filesystem.
73 * SearchPattern.cs: Add a overload to IsMatch to explicitly set
74 the ignore field for OSX case-aware yet case-insensitive filesystem. This
75 allows monitoring of global.asax to happen properly.
77 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
79 * DefaultWatcher.cs: make it work when the FileMask does not have
80 wildcards and we're watching a directory.
82 2004-11-22 Ben Maurer <bmaurer@ximian.com>
84 * DefaultWatcher.cs: Copy the hashtable when we scan for changes
85 so that you can make modifications in a handler. Fixes 65966.
87 2004-11-19 Geoff Norton <gnorton@customerdna.com>
89 * KeventWatcher.cs: Dont marshal a string to a struct
90 that the kernel will hold; this causes a double free bug. Marshal
91 it as a IntPtr and clean it up in the dispose method. Don't pass
92 FullName to the pattern matcher, pass the filename. Fixes bug #69692.
94 2004-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
96 * DefaultWatcher.cs: if the file is removed between reading the
97 directory and filling the file info, catch the exception and ignore the
98 file. Fixes bug #59482.
100 2004-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
102 * DefaultWatcher.cs: don't use Directory.GetFileSystemEntries when the
103 pattern has no wildcards. Fixes bug #67447.
105 2004-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
107 * FAMWatcher.cs: s/fam/libfam.so.0/ so that g_module finds it even
108 when the development package is not installed.
110 2004-08-06 Geoff Norton <gnorton@customerdna.com>
112 * FileSystemWatcher.cs: Use the new KeventWatcher if its supported
113 * KeventWatcher.cs: Added to cvs
115 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
117 * DefaultWatcher.cs: fixed subdirectories notifications and don't
118 fail when any directory is removed. Closes bug #59840.
120 2004-05-09 Atsushi Enomoto <atsushi@ximian.com>
122 * FileSystemWatcher.cs : csc build fix. Duplicate name between class
123 field and local variable. (already filed in bugzilla #47991).
125 2004-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
128 * FAMWatcher.cs: use MangledFilter instead of Filter.
130 * FileSystemWatcher.cs: added MangledFilter and finalizer.
132 * SearchPattern.cs: fixed the case when the pattern is "*".
134 2004-03-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
136 * FAMWatcher.cs: support monitoring subdirectories. FAM doesn't do that,
137 so we have to register the existing directories and add the new ones
138 that might be created.
140 * SearchPattern.cs: provide the pattern when it's wrong.
142 2004-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
144 * SearchPattern.cs: small improvement for files with no wildcard.
146 2004-01-27 Nick Drochak <ndrochak@ieee.org>
149 * FileSystemWatcher.cs: Remove unused variables. Eliminates a couple of
152 2004-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
154 * DefaultWatcher.cs: fixed condition for removal from the watches list.
156 2004-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
158 * DefaultWatcher.cs: check if the FileSystemWatcher is in WaitForChange
159 and call Monitor.PulseAll in that case.
161 2004-01-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
163 * DefaultWatcher.cs: implemented.
164 * FAMWatcher.cs: don't stop the thread when we add a new watch.
165 * FileSystemWatcher.cs: on windows we use the default watcher by now.
167 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
169 * DefaultWatcher.cs: stub for the default watcher.
170 * WindowsWatcher.cs: stub for the windows watcher.
172 * FAMWatcher.cs: FAM watcher.
174 * FileAction.cs: enum with event types.
176 * FileSystemEventArgs.cs: added SetName property.
177 * FileSystemWatcher.cs: added support for the 3 watchers.
179 * IFileWatcher.cs: interface implemented by the watchers.
180 * SearchPattern.cs: copied from corlib.
182 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
184 * FileSystemWatcher.cs: Reworked attributes based on the new Consts
187 2003-07-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
189 * FileSystemWatcher.cs: Added missing attributes
191 2003-07-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
193 * IODescriptionAttribute.cs: Removed unneeded field
195 2003-05-16 Dick Porter <dick@ximian.com>
197 * MonoIO.cs: Implement GetTempPath
199 2003-03-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
201 * FileSystemWatcher.cs: added attributes and some more implementation.
202 Now only the guts left to do.
204 * FileSystemEventArgs.cs:
205 * RenamedEventArgs.cs: implemented a couple of properties.
207 2002-10-31 Dick Porter <dick@ximian.com>
209 * MonoIO.cs: Return the error status in a parameter, as the
210 GetLastError() value has long since been blown away if we try and
211 look it up in a subsequent internal call invocation.
213 2002-09-15 Duncan Mak <duncan@ximian.com>
215 * FileSystemWatcher.cs (FileSystemWatcher): Fixed the null-param
218 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
220 * FileSystemWatcher.cs: IDisposable fixes.
222 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
224 * InternalBufferOverflowException.cs:
226 * WatcherChangeTypes.cs: little fixes based on class status page.
228 2002-08-15 Tim Coleman <tim@timcoleman.com>
230 * ErrorEventHandler.cs:
231 * FileSystemEventArgs.cs:
232 * FileSystemEventHandler.cs:
233 * FileSystemWatcher.cs:
234 * InternalBufferOverflowException.cs:
235 * IODescriptionAttribute.cs:
237 * RenamedEventArgs.cs:
238 * RenamedEventHandler.cs:
239 * WaitForChangedResult.cs:
240 * WatcherChangeTypes.cs:
243 2002-07-20 Dick Porter <dick@ximian.com>
245 * MonoIO.cs: Cut down copy of corlib/System.IO/MonoIO.cs, so it
246 can be used from the System assembly but still not be exposed to