1 2006-11-01 Sebastien Pouliot <sebastien@ximian.com>
3 * ErrorEventHandler.cs: Remove [Serializable] in NET_2_0.
4 * FileSystemEventHandler.cs: Remove [Serializable] in NET_2_0.
5 * FileSystemWatcher.cs: Add missing attributes for NET_2_0.
6 * InvalidDataException.cs: Seal class and remove serialization ctor.
7 * NotifyFilters.cs: Remove [Serializable] in NET_2_0.
8 * RenamedEventHandler.cs: Remove [Serializable] in NET_2_0.
9 * WatcherChangeTypes.cs: Remove [Serializable] in NET_2_0.
11 2006-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
13 * InotifyWatcher.cs: workaround for a weird case. Someone is watching
14 /dev with recursion enabled and the inotify file descriptor shows up
15 as a directory that fails to open. Already reported to Robert Love.
17 2006-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
19 * InotifyWatcher.cs: fix file names for the rename event.
20 * FileSystemWatcher.cs: ignore exceptions that happen when invoking
23 2006-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
25 * InotifyWatcher.cs: handle CloseWrite, as it might happen without other
28 2006-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
30 * FileSystemWatcher.cs: avoid argument null when we don't know yet the
33 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
35 * InotifyWatcher.cs: warn about inotify user watches limit.
37 2005-07-31 Sebastien Pouliot <sebastien@ximian.com>
39 * FileSystemWatcher.cs: Add an EnvironmentPermission assert to read
40 environment variable MONO_MANAGED_WATCHER.
42 2006-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
44 * FAMWatcher.cs: remove unused method.
45 * InotifyWatcher.cs: new watcher supporting inotify directly, as there
46 are some distros that do not install 'gamin' anymore. This new watcher
47 takes priority over gamin, fam and default.
48 * FileSystemWatcher.cs: support for the new watcher.
50 2006-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
52 * FAMWatcher.cs: fix race condition when a directory is created and
53 populated before we start monitoring it. Patch by Thong Nguyen.
55 2006-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
57 * FAMWatcher.cs: add new directories to the hashtable after start
58 monitoring them, otherwise the ReqNum is not set. Fixes bug #77971.
60 2006-01-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
62 * FAMWatcher.cs: fix arraylist access when a new directory is added and
63 the new directory is watched too. Closes bug #77068.
65 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
68 * FileSystemWatcher.cs: use libgamin-1.so.0 instead of libfam.so.0 when
69 the runtime finds libgamin. On SUSE libgamin and libfam are not the same
70 libraries (on debian, they are just the same and there's no fam-server).
72 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
74 * FAMWatcher.cs: reverting my patch. Seems that something got
77 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
79 * FAMWatcher.cs: make this really inactive when there are no events to
82 2005-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
84 * FAMWatcher.cs: move the call to StartMonitoringDirectory out of any
85 locks. Before, for a high amount of subdirectories (~500) it hanged
86 after filling the write buffer of FAM socket. Fixes bug #74398.
88 2005-04-05 Lluis Sanchez Gual <lluis@novell.com>
90 * FAMWatcher.cs: Fix cast exception when disposing watchers.
92 2005-03-30 Geoff Norton <gnorton@customerdna.com>
94 * KeventWatcher.cs: Fix a file handle leak on raised events.
96 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
98 * DefaultWatcher.cs: Fix nullref exception when the object is disposed
101 2004-12-03 Geoff Norton <gnorton@customerdna.com>
103 * SearchPattern.cs: Have IsMatch(string)
104 call IsMatch(string, bool) to avoid setting a instance variable in a
105 method that logically should not be changing it.
107 2004-12-02 Geoff Norton <gnorton@customerdna.com>
109 * KeventWatcher.cs: Add IDisposable to our kevent struct
110 so the disposer gets called. Fixes a small memory leak. Dont monitor
111 LastAccessedTime for changed files, as this will cause AppUnloading in XSP
112 when global.asax is accessed after creation. Use a case-insensitive IsMatch
113 to deal with OSX Case-aware/Case-insensitive filesystem.
114 * SearchPattern.cs: Add a overload to IsMatch to explicitly set
115 the ignore field for OSX case-aware yet case-insensitive filesystem. This
116 allows monitoring of global.asax to happen properly.
118 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
120 * DefaultWatcher.cs: make it work when the FileMask does not have
121 wildcards and we're watching a directory.
123 2004-11-22 Ben Maurer <bmaurer@ximian.com>
125 * DefaultWatcher.cs: Copy the hashtable when we scan for changes
126 so that you can make modifications in a handler. Fixes 65966.
128 2004-11-19 Geoff Norton <gnorton@customerdna.com>
130 * KeventWatcher.cs: Dont marshal a string to a struct
131 that the kernel will hold; this causes a double free bug. Marshal
132 it as a IntPtr and clean it up in the dispose method. Don't pass
133 FullName to the pattern matcher, pass the filename. Fixes bug #69692.
135 2004-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
137 * DefaultWatcher.cs: if the file is removed between reading the
138 directory and filling the file info, catch the exception and ignore the
139 file. Fixes bug #59482.
141 2004-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
143 * DefaultWatcher.cs: don't use Directory.GetFileSystemEntries when the
144 pattern has no wildcards. Fixes bug #67447.
146 2004-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
148 * FAMWatcher.cs: s/fam/libfam.so.0/ so that g_module finds it even
149 when the development package is not installed.
151 2004-08-06 Geoff Norton <gnorton@customerdna.com>
153 * FileSystemWatcher.cs: Use the new KeventWatcher if its supported
154 * KeventWatcher.cs: Added to cvs
156 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
158 * DefaultWatcher.cs: fixed subdirectories notifications and don't
159 fail when any directory is removed. Closes bug #59840.
161 2004-05-09 Atsushi Enomoto <atsushi@ximian.com>
163 * FileSystemWatcher.cs : csc build fix. Duplicate name between class
164 field and local variable. (already filed in bugzilla #47991).
166 2004-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
169 * FAMWatcher.cs: use MangledFilter instead of Filter.
171 * FileSystemWatcher.cs: added MangledFilter and finalizer.
173 * SearchPattern.cs: fixed the case when the pattern is "*".
175 2004-03-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
177 * FAMWatcher.cs: support monitoring subdirectories. FAM doesn't do that,
178 so we have to register the existing directories and add the new ones
179 that might be created.
181 * SearchPattern.cs: provide the pattern when it's wrong.
183 2004-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
185 * SearchPattern.cs: small improvement for files with no wildcard.
187 2004-01-27 Nick Drochak <ndrochak@ieee.org>
190 * FileSystemWatcher.cs: Remove unused variables. Eliminates a couple of
193 2004-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
195 * DefaultWatcher.cs: fixed condition for removal from the watches list.
197 2004-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
199 * DefaultWatcher.cs: check if the FileSystemWatcher is in WaitForChange
200 and call Monitor.PulseAll in that case.
202 2004-01-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
204 * DefaultWatcher.cs: implemented.
205 * FAMWatcher.cs: don't stop the thread when we add a new watch.
206 * FileSystemWatcher.cs: on windows we use the default watcher by now.
208 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
210 * DefaultWatcher.cs: stub for the default watcher.
211 * WindowsWatcher.cs: stub for the windows watcher.
213 * FAMWatcher.cs: FAM watcher.
215 * FileAction.cs: enum with event types.
217 * FileSystemEventArgs.cs: added SetName property.
218 * FileSystemWatcher.cs: added support for the 3 watchers.
220 * IFileWatcher.cs: interface implemented by the watchers.
221 * SearchPattern.cs: copied from corlib.
223 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
225 * FileSystemWatcher.cs: Reworked attributes based on the new Consts
228 2003-07-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
230 * FileSystemWatcher.cs: Added missing attributes
232 2003-07-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
234 * IODescriptionAttribute.cs: Removed unneeded field
236 2003-05-16 Dick Porter <dick@ximian.com>
238 * MonoIO.cs: Implement GetTempPath
240 2003-03-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
242 * FileSystemWatcher.cs: added attributes and some more implementation.
243 Now only the guts left to do.
245 * FileSystemEventArgs.cs:
246 * RenamedEventArgs.cs: implemented a couple of properties.
248 2002-10-31 Dick Porter <dick@ximian.com>
250 * MonoIO.cs: Return the error status in a parameter, as the
251 GetLastError() value has long since been blown away if we try and
252 look it up in a subsequent internal call invocation.
254 2002-09-15 Duncan Mak <duncan@ximian.com>
256 * FileSystemWatcher.cs (FileSystemWatcher): Fixed the null-param
259 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
261 * FileSystemWatcher.cs: IDisposable fixes.
263 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
265 * InternalBufferOverflowException.cs:
267 * WatcherChangeTypes.cs: little fixes based on class status page.
269 2002-08-15 Tim Coleman <tim@timcoleman.com>
271 * ErrorEventHandler.cs:
272 * FileSystemEventArgs.cs:
273 * FileSystemEventHandler.cs:
274 * FileSystemWatcher.cs:
275 * InternalBufferOverflowException.cs:
276 * IODescriptionAttribute.cs:
278 * RenamedEventArgs.cs:
279 * RenamedEventHandler.cs:
280 * WaitForChangedResult.cs:
281 * WatcherChangeTypes.cs:
284 2002-07-20 Dick Porter <dick@ximian.com>
286 * MonoIO.cs: Cut down copy of corlib/System.IO/MonoIO.cs, so it
287 can be used from the System assembly but still not be exposed to