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