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