1 2006-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * InotifyWatcher.cs: fix file names for the rename event.
4 * FileSystemWatcher.cs: ignore exceptions that happen when invoking
7 2006-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9 * InotifyWatcher.cs: handle CloseWrite, as it might happen without other
12 2006-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
14 * FileSystemWatcher.cs: avoid argument null when we don't know yet the
17 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
19 * InotifyWatcher.cs: warn about inotify user watches limit.
21 2005-07-31 Sebastien Pouliot <sebastien@ximian.com>
23 * FileSystemWatcher.cs: Add an EnvironmentPermission assert to read
24 environment variable MONO_MANAGED_WATCHER.
26 2006-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
28 * FAMWatcher.cs: remove unused method.
29 * InotifyWatcher.cs: new watcher supporting inotify directly, as there
30 are some distros that do not install 'gamin' anymore. This new watcher
31 takes priority over gamin, fam and default.
32 * FileSystemWatcher.cs: support for the new watcher.
34 2006-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
36 * FAMWatcher.cs: fix race condition when a directory is created and
37 populated before we start monitoring it. Patch by Thong Nguyen.
39 2006-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
41 * FAMWatcher.cs: add new directories to the hashtable after start
42 monitoring them, otherwise the ReqNum is not set. Fixes bug #77971.
44 2006-01-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
46 * FAMWatcher.cs: fix arraylist access when a new directory is added and
47 the new directory is watched too. Closes bug #77068.
49 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
52 * FileSystemWatcher.cs: use libgamin-1.so.0 instead of libfam.so.0 when
53 the runtime finds libgamin. On SUSE libgamin and libfam are not the same
54 libraries (on debian, they are just the same and there's no fam-server).
56 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
58 * FAMWatcher.cs: reverting my patch. Seems that something got
61 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
63 * FAMWatcher.cs: make this really inactive when there are no events to
66 2005-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
68 * FAMWatcher.cs: move the call to StartMonitoringDirectory out of any
69 locks. Before, for a high amount of subdirectories (~500) it hanged
70 after filling the write buffer of FAM socket. Fixes bug #74398.
72 2005-04-05 Lluis Sanchez Gual <lluis@novell.com>
74 * FAMWatcher.cs: Fix cast exception when disposing watchers.
76 2005-03-30 Geoff Norton <gnorton@customerdna.com>
78 * KeventWatcher.cs: Fix a file handle leak on raised events.
80 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
82 * DefaultWatcher.cs: Fix nullref exception when the object is disposed
85 2004-12-03 Geoff Norton <gnorton@customerdna.com>
87 * SearchPattern.cs: Have IsMatch(string)
88 call IsMatch(string, bool) to avoid setting a instance variable in a
89 method that logically should not be changing it.
91 2004-12-02 Geoff Norton <gnorton@customerdna.com>
93 * KeventWatcher.cs: Add IDisposable to our kevent struct
94 so the disposer gets called. Fixes a small memory leak. Dont monitor
95 LastAccessedTime for changed files, as this will cause AppUnloading in XSP
96 when global.asax is accessed after creation. Use a case-insensitive IsMatch
97 to deal with OSX Case-aware/Case-insensitive filesystem.
98 * SearchPattern.cs: Add a overload to IsMatch to explicitly set
99 the ignore field for OSX case-aware yet case-insensitive filesystem. This
100 allows monitoring of global.asax to happen properly.
102 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
104 * DefaultWatcher.cs: make it work when the FileMask does not have
105 wildcards and we're watching a directory.
107 2004-11-22 Ben Maurer <bmaurer@ximian.com>
109 * DefaultWatcher.cs: Copy the hashtable when we scan for changes
110 so that you can make modifications in a handler. Fixes 65966.
112 2004-11-19 Geoff Norton <gnorton@customerdna.com>
114 * KeventWatcher.cs: Dont marshal a string to a struct
115 that the kernel will hold; this causes a double free bug. Marshal
116 it as a IntPtr and clean it up in the dispose method. Don't pass
117 FullName to the pattern matcher, pass the filename. Fixes bug #69692.
119 2004-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
121 * DefaultWatcher.cs: if the file is removed between reading the
122 directory and filling the file info, catch the exception and ignore the
123 file. Fixes bug #59482.
125 2004-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
127 * DefaultWatcher.cs: don't use Directory.GetFileSystemEntries when the
128 pattern has no wildcards. Fixes bug #67447.
130 2004-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
132 * FAMWatcher.cs: s/fam/libfam.so.0/ so that g_module finds it even
133 when the development package is not installed.
135 2004-08-06 Geoff Norton <gnorton@customerdna.com>
137 * FileSystemWatcher.cs: Use the new KeventWatcher if its supported
138 * KeventWatcher.cs: Added to cvs
140 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
142 * DefaultWatcher.cs: fixed subdirectories notifications and don't
143 fail when any directory is removed. Closes bug #59840.
145 2004-05-09 Atsushi Enomoto <atsushi@ximian.com>
147 * FileSystemWatcher.cs : csc build fix. Duplicate name between class
148 field and local variable. (already filed in bugzilla #47991).
150 2004-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
153 * FAMWatcher.cs: use MangledFilter instead of Filter.
155 * FileSystemWatcher.cs: added MangledFilter and finalizer.
157 * SearchPattern.cs: fixed the case when the pattern is "*".
159 2004-03-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
161 * FAMWatcher.cs: support monitoring subdirectories. FAM doesn't do that,
162 so we have to register the existing directories and add the new ones
163 that might be created.
165 * SearchPattern.cs: provide the pattern when it's wrong.
167 2004-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
169 * SearchPattern.cs: small improvement for files with no wildcard.
171 2004-01-27 Nick Drochak <ndrochak@ieee.org>
174 * FileSystemWatcher.cs: Remove unused variables. Eliminates a couple of
177 2004-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
179 * DefaultWatcher.cs: fixed condition for removal from the watches list.
181 2004-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
183 * DefaultWatcher.cs: check if the FileSystemWatcher is in WaitForChange
184 and call Monitor.PulseAll in that case.
186 2004-01-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
188 * DefaultWatcher.cs: implemented.
189 * FAMWatcher.cs: don't stop the thread when we add a new watch.
190 * FileSystemWatcher.cs: on windows we use the default watcher by now.
192 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
194 * DefaultWatcher.cs: stub for the default watcher.
195 * WindowsWatcher.cs: stub for the windows watcher.
197 * FAMWatcher.cs: FAM watcher.
199 * FileAction.cs: enum with event types.
201 * FileSystemEventArgs.cs: added SetName property.
202 * FileSystemWatcher.cs: added support for the 3 watchers.
204 * IFileWatcher.cs: interface implemented by the watchers.
205 * SearchPattern.cs: copied from corlib.
207 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
209 * FileSystemWatcher.cs: Reworked attributes based on the new Consts
212 2003-07-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
214 * FileSystemWatcher.cs: Added missing attributes
216 2003-07-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
218 * IODescriptionAttribute.cs: Removed unneeded field
220 2003-05-16 Dick Porter <dick@ximian.com>
222 * MonoIO.cs: Implement GetTempPath
224 2003-03-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
226 * FileSystemWatcher.cs: added attributes and some more implementation.
227 Now only the guts left to do.
229 * FileSystemEventArgs.cs:
230 * RenamedEventArgs.cs: implemented a couple of properties.
232 2002-10-31 Dick Porter <dick@ximian.com>
234 * MonoIO.cs: Return the error status in a parameter, as the
235 GetLastError() value has long since been blown away if we try and
236 look it up in a subsequent internal call invocation.
238 2002-09-15 Duncan Mak <duncan@ximian.com>
240 * FileSystemWatcher.cs (FileSystemWatcher): Fixed the null-param
243 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
245 * FileSystemWatcher.cs: IDisposable fixes.
247 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
249 * InternalBufferOverflowException.cs:
251 * WatcherChangeTypes.cs: little fixes based on class status page.
253 2002-08-15 Tim Coleman <tim@timcoleman.com>
255 * ErrorEventHandler.cs:
256 * FileSystemEventArgs.cs:
257 * FileSystemEventHandler.cs:
258 * FileSystemWatcher.cs:
259 * InternalBufferOverflowException.cs:
260 * IODescriptionAttribute.cs:
262 * RenamedEventArgs.cs:
263 * RenamedEventHandler.cs:
264 * WaitForChangedResult.cs:
265 * WatcherChangeTypes.cs:
268 2002-07-20 Dick Porter <dick@ximian.com>
270 * MonoIO.cs: Cut down copy of corlib/System.IO/MonoIO.cs, so it
271 can be used from the System assembly but still not be exposed to