60916fb8fa037292c02e13e520affcf2f49697e4
[mono.git] / mcs / class / System / System.IO / ChangeLog
1 2006-01-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2
3         * FAMWatcher.cs: fix arraylist access when a new directory is added and
4         the new directory is watched too. Closes bug #77068.
5
6 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7
8         * FAMWatcher.cs: 
9         * FileSystemWatcher.cs: use libgamin-1.so.0 instead of libfam.so.0 when
10         the runtime finds libgamin. On SUSE libgamin and libfam are not the same
11         libraries (on debian, they are just the same and there's no fam-server).
12
13 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
14
15         * FAMWatcher.cs: reverting my patch. Seems that something got
16         changed in gamin.
17
18 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
19
20         * FAMWatcher.cs: make this really inactive when there are no events to
21         process.
22
23 2005-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
24
25         * FAMWatcher.cs: move the call to StartMonitoringDirectory out of any
26         locks. Before, for a high amount of subdirectories (~500) it hanged
27         after filling the write buffer of FAM socket. Fixes bug #74398.
28
29 2005-04-05  Lluis Sanchez Gual  <lluis@novell.com>
30
31         * FAMWatcher.cs: Fix cast exception when disposing watchers.
32
33 2005-03-30  Geoff Norton  <gnorton@customerdna.com>
34
35         * KeventWatcher.cs: Fix a file handle leak on raised events.
36
37 2005-02-10  Lluis Sanchez Gual  <lluis@novell.com>
38
39         * DefaultWatcher.cs: Fix nullref exception when the object is disposed
40         without any watcher.
41
42 2004-12-03  Geoff Norton  <gnorton@customerdna.com>
43
44         * SearchPattern.cs:  Have IsMatch(string)
45         call IsMatch(string, bool) to avoid setting a instance variable in a
46         method that logically should not be changing it.
47
48 2004-12-02  Geoff Norton  <gnorton@customerdna.com>
49
50         * KeventWatcher.cs: Add IDisposable to our kevent struct
51         so the disposer gets called.  Fixes a small memory leak.  Dont monitor
52         LastAccessedTime for changed files, as this will cause AppUnloading in XSP
53         when global.asax is accessed after creation.  Use a case-insensitive IsMatch
54         to deal with OSX Case-aware/Case-insensitive filesystem.
55         * SearchPattern.cs: Add a overload to IsMatch to explicitly set
56         the ignore field for OSX case-aware yet case-insensitive filesystem.  This
57         allows monitoring of global.asax to happen properly.
58
59 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
60
61         * DefaultWatcher.cs: make it work when the FileMask does not have
62         wildcards and we're watching a directory.
63
64 2004-11-22  Ben Maurer  <bmaurer@ximian.com>
65
66         * DefaultWatcher.cs: Copy the hashtable when we scan for changes
67         so that you can make modifications in a handler. Fixes 65966.
68
69 2004-11-19  Geoff Norton  <gnorton@customerdna.com>
70
71         * KeventWatcher.cs:  Dont marshal a string to a struct
72         that the kernel will hold; this causes a double free bug.  Marshal
73         it as a IntPtr and clean it up in the dispose method.  Don't pass
74         FullName to the pattern matcher, pass the filename.  Fixes bug #69692.
75
76 2004-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
77
78         * DefaultWatcher.cs: if the file is removed between reading the
79         directory and filling the file info, catch the exception and ignore the
80         file. Fixes bug #59482.
81
82 2004-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
83
84         * DefaultWatcher.cs: don't use Directory.GetFileSystemEntries when the
85         pattern has no wildcards. Fixes bug #67447.
86
87 2004-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
88
89         * FAMWatcher.cs: s/fam/libfam.so.0/ so that g_module finds it even
90         when the development package is not installed.
91
92 2004-08-06  Geoff Norton <gnorton@customerdna.com>
93
94         * FileSystemWatcher.cs: Use the new KeventWatcher if its supported
95         * KeventWatcher.cs: Added to cvs
96
97 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
98
99         * DefaultWatcher.cs: fixed subdirectories notifications and don't
100         fail when any directory is removed. Closes bug #59840.
101
102 2004-05-09  Atsushi Enomoto <atsushi@ximian.com>
103
104         * FileSystemWatcher.cs : csc build fix. Duplicate name between class
105           field and local variable. (already filed in bugzilla #47991).
106
107 2004-05-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
108
109         * DefaultWatcher.cs:
110         * FAMWatcher.cs: use MangledFilter instead of Filter.
111
112         * FileSystemWatcher.cs: added MangledFilter and finalizer.
113
114         * SearchPattern.cs: fixed the case when the pattern is "*".
115
116 2004-03-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
117
118         * FAMWatcher.cs: support monitoring subdirectories. FAM doesn't do that,
119         so we have to register the existing directories and add the new ones
120         that might be created.
121
122         * SearchPattern.cs: provide the pattern when it's wrong.
123
124 2004-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
125
126         * SearchPattern.cs: small improvement for files with no wildcard.
127
128 2004-01-27  Nick Drochak <ndrochak@ieee.org>
129
130         * FAMWatcher.cs:
131         * FileSystemWatcher.cs: Remove unused variables. Eliminates a couple of
132         build warnings.
133
134 2004-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
135
136         * DefaultWatcher.cs: fixed condition for removal from the watches list.
137
138 2004-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
139
140         * DefaultWatcher.cs: check if the FileSystemWatcher is in WaitForChange
141         and call Monitor.PulseAll in that case.
142
143 2004-01-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
144
145         * DefaultWatcher.cs: implemented.
146         * FAMWatcher.cs: don't stop the thread when we add a new watch.
147         * FileSystemWatcher.cs: on windows we use the default watcher by now.
148
149 2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
150
151         * DefaultWatcher.cs: stub for the default watcher.
152         * WindowsWatcher.cs: stub for the windows watcher.
153         
154         * FAMWatcher.cs: FAM watcher.
155         
156         * FileAction.cs: enum with event types.
157         
158         * FileSystemEventArgs.cs: added SetName property.
159         * FileSystemWatcher.cs: added support for the 3 watchers.
160
161         * IFileWatcher.cs: interface implemented by the watchers. 
162         * SearchPattern.cs: copied from corlib.
163
164 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
165
166         * FileSystemWatcher.cs: Reworked attributes based on the new Consts
167         scheme
168
169 2003-07-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
170
171         * FileSystemWatcher.cs: Added missing attributes
172
173 2003-07-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
174
175         * IODescriptionAttribute.cs: Removed unneeded field
176
177 2003-05-16  Dick Porter  <dick@ximian.com>
178
179         * MonoIO.cs: Implement GetTempPath
180
181 2003-03-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
182
183         * FileSystemWatcher.cs: added attributes and some more implementation.
184         Now only the guts left to do.
185
186         * FileSystemEventArgs.cs:
187         * RenamedEventArgs.cs: implemented a couple of properties.
188
189 2002-10-31  Dick Porter  <dick@ximian.com>
190
191         * MonoIO.cs: Return the error status in a parameter, as the
192         GetLastError() value has long since been blown away if we try and
193         look it up in a subsequent internal call invocation.
194
195 2002-09-15  Duncan Mak  <duncan@ximian.com>
196
197         * FileSystemWatcher.cs (FileSystemWatcher): Fixed the null-param
198         constructor.
199
200 2002-08-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
201
202         * FileSystemWatcher.cs: IDisposable fixes.
203
204 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
205
206         * InternalBufferOverflowException.cs:
207         * NotifyFilters.cs:
208         * WatcherChangeTypes.cs: little fixes based on class status page.
209
210 2002-08-15  Tim Coleman <tim@timcoleman.com>
211         * ErrorEventArgs.cs:
212         * ErrorEventHandler.cs:
213         * FileSystemEventArgs.cs:
214         * FileSystemEventHandler.cs:
215         * FileSystemWatcher.cs:
216         * InternalBufferOverflowException.cs:
217         * IODescriptionAttribute.cs:
218         * NotifyFilters.cs:
219         * RenamedEventArgs.cs:
220         * RenamedEventHandler.cs:
221         * WaitForChangedResult.cs:
222         * WatcherChangeTypes.cs:
223                 New stubs added.
224
225 2002-07-20  Dick Porter  <dick@ximian.com>
226
227         * MonoIO.cs: Cut down copy of corlib/System.IO/MonoIO.cs, so it
228         can be used from the System assembly but still not be exposed to
229         users.
230