New test.
[mono.git] / mcs / class / System / System.IO / ChangeLog
1 2006-11-01  Sebastien Pouliot  <sebastien@ximian.com> 
2
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.
10
11 2006-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
12
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.
16
17 2006-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
18
19         * InotifyWatcher.cs: fix file names for the rename event.
20         * FileSystemWatcher.cs: ignore exceptions that happen when invoking
21         event handlers.
22
23 2006-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
24
25         * InotifyWatcher.cs: handle CloseWrite, as it might happen without other
26         modify events.
27
28 2006-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
29
30         * FileSystemWatcher.cs: avoid argument null when we don't know yet the
31         target of a rename.
32
33 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
34
35         * InotifyWatcher.cs: warn about inotify user watches limit.
36
37 2005-07-31  Sebastien Pouliot  <sebastien@ximian.com> 
38
39         * FileSystemWatcher.cs: Add an EnvironmentPermission assert to read
40         environment variable MONO_MANAGED_WATCHER.
41
42 2006-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
43
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.
49
50 2006-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
51
52         * FAMWatcher.cs: fix race condition when a directory is created and
53         populated before we start monitoring it. Patch by Thong Nguyen.
54
55 2006-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
56
57         * FAMWatcher.cs: add new directories to the hashtable after start
58         monitoring them, otherwise the ReqNum is not set. Fixes bug #77971.
59
60 2006-01-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
61
62         * FAMWatcher.cs: fix arraylist access when a new directory is added and
63         the new directory is watched too. Closes bug #77068.
64
65 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
66
67         * FAMWatcher.cs: 
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).
71
72 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
73
74         * FAMWatcher.cs: reverting my patch. Seems that something got
75         changed in gamin.
76
77 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
78
79         * FAMWatcher.cs: make this really inactive when there are no events to
80         process.
81
82 2005-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
83
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.
87
88 2005-04-05  Lluis Sanchez Gual  <lluis@novell.com>
89
90         * FAMWatcher.cs: Fix cast exception when disposing watchers.
91
92 2005-03-30  Geoff Norton  <gnorton@customerdna.com>
93
94         * KeventWatcher.cs: Fix a file handle leak on raised events.
95
96 2005-02-10  Lluis Sanchez Gual  <lluis@novell.com>
97
98         * DefaultWatcher.cs: Fix nullref exception when the object is disposed
99         without any watcher.
100
101 2004-12-03  Geoff Norton  <gnorton@customerdna.com>
102
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.
106
107 2004-12-02  Geoff Norton  <gnorton@customerdna.com>
108
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.
117
118 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
119
120         * DefaultWatcher.cs: make it work when the FileMask does not have
121         wildcards and we're watching a directory.
122
123 2004-11-22  Ben Maurer  <bmaurer@ximian.com>
124
125         * DefaultWatcher.cs: Copy the hashtable when we scan for changes
126         so that you can make modifications in a handler. Fixes 65966.
127
128 2004-11-19  Geoff Norton  <gnorton@customerdna.com>
129
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.
134
135 2004-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
136
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.
140
141 2004-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
142
143         * DefaultWatcher.cs: don't use Directory.GetFileSystemEntries when the
144         pattern has no wildcards. Fixes bug #67447.
145
146 2004-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
147
148         * FAMWatcher.cs: s/fam/libfam.so.0/ so that g_module finds it even
149         when the development package is not installed.
150
151 2004-08-06  Geoff Norton <gnorton@customerdna.com>
152
153         * FileSystemWatcher.cs: Use the new KeventWatcher if its supported
154         * KeventWatcher.cs: Added to cvs
155
156 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
157
158         * DefaultWatcher.cs: fixed subdirectories notifications and don't
159         fail when any directory is removed. Closes bug #59840.
160
161 2004-05-09  Atsushi Enomoto <atsushi@ximian.com>
162
163         * FileSystemWatcher.cs : csc build fix. Duplicate name between class
164           field and local variable. (already filed in bugzilla #47991).
165
166 2004-05-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
167
168         * DefaultWatcher.cs:
169         * FAMWatcher.cs: use MangledFilter instead of Filter.
170
171         * FileSystemWatcher.cs: added MangledFilter and finalizer.
172
173         * SearchPattern.cs: fixed the case when the pattern is "*".
174
175 2004-03-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
176
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.
180
181         * SearchPattern.cs: provide the pattern when it's wrong.
182
183 2004-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
184
185         * SearchPattern.cs: small improvement for files with no wildcard.
186
187 2004-01-27  Nick Drochak <ndrochak@ieee.org>
188
189         * FAMWatcher.cs:
190         * FileSystemWatcher.cs: Remove unused variables. Eliminates a couple of
191         build warnings.
192
193 2004-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
194
195         * DefaultWatcher.cs: fixed condition for removal from the watches list.
196
197 2004-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
198
199         * DefaultWatcher.cs: check if the FileSystemWatcher is in WaitForChange
200         and call Monitor.PulseAll in that case.
201
202 2004-01-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
203
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.
207
208 2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
209
210         * DefaultWatcher.cs: stub for the default watcher.
211         * WindowsWatcher.cs: stub for the windows watcher.
212         
213         * FAMWatcher.cs: FAM watcher.
214         
215         * FileAction.cs: enum with event types.
216         
217         * FileSystemEventArgs.cs: added SetName property.
218         * FileSystemWatcher.cs: added support for the 3 watchers.
219
220         * IFileWatcher.cs: interface implemented by the watchers. 
221         * SearchPattern.cs: copied from corlib.
222
223 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
224
225         * FileSystemWatcher.cs: Reworked attributes based on the new Consts
226         scheme
227
228 2003-07-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
229
230         * FileSystemWatcher.cs: Added missing attributes
231
232 2003-07-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
233
234         * IODescriptionAttribute.cs: Removed unneeded field
235
236 2003-05-16  Dick Porter  <dick@ximian.com>
237
238         * MonoIO.cs: Implement GetTempPath
239
240 2003-03-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
241
242         * FileSystemWatcher.cs: added attributes and some more implementation.
243         Now only the guts left to do.
244
245         * FileSystemEventArgs.cs:
246         * RenamedEventArgs.cs: implemented a couple of properties.
247
248 2002-10-31  Dick Porter  <dick@ximian.com>
249
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.
253
254 2002-09-15  Duncan Mak  <duncan@ximian.com>
255
256         * FileSystemWatcher.cs (FileSystemWatcher): Fixed the null-param
257         constructor.
258
259 2002-08-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
260
261         * FileSystemWatcher.cs: IDisposable fixes.
262
263 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
264
265         * InternalBufferOverflowException.cs:
266         * NotifyFilters.cs:
267         * WatcherChangeTypes.cs: little fixes based on class status page.
268
269 2002-08-15  Tim Coleman <tim@timcoleman.com>
270         * ErrorEventArgs.cs:
271         * ErrorEventHandler.cs:
272         * FileSystemEventArgs.cs:
273         * FileSystemEventHandler.cs:
274         * FileSystemWatcher.cs:
275         * InternalBufferOverflowException.cs:
276         * IODescriptionAttribute.cs:
277         * NotifyFilters.cs:
278         * RenamedEventArgs.cs:
279         * RenamedEventHandler.cs:
280         * WaitForChangedResult.cs:
281         * WatcherChangeTypes.cs:
282                 New stubs added.
283
284 2002-07-20  Dick Porter  <dick@ximian.com>
285
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
288         users.
289