2010-03-12 Jb Evain <jbevain@novell.com>
[mono.git] / mcs / class / corlib / System.IO.IsolatedStorage / ChangeLog
1 2009-11-01  Sebastien Pouliot  <sebastien@ximian.com>
2
3         * MoonIsolatedStorageFile.cs: Add new CheckSearchPattern 
4         validation method. Fix GetDirectoryNames to behave like 
5         GetFileNames wrt searchPattern
6
7 2009-08-30  Jb Evain  <jbevain@novell.com>
8
9         * IsolatedStorageFileEnumerator.cs
10         * MoonIsolatedStorageFileStream.cs
11         * MoonIsolatedStorageFile.cs
12         * MoonIsolatedStorage.cs
13         * IsolatedStorageScope.cs
14         * IsolatedStorageFileStream.cs
15         * IsolatedStorage.cs
16         * IsolatedStorageFile.cs:
17                 Use the traditional net_2_0 version of isolated storage
18                 for MonoTouch.
19
20 2009-05-27  Jackson Harper  <jackson@ximian.com>
21
22         * MoonIsolatedStorageFile.cs: Allow paths in search patterns.
23
24 2009-04-16  Sebastien Pouliot  <sebastien@ximian.com> 
25
26         * MoonIsolatedStorage.cs: New. Manage the shared (location, quota)
27         information about Moonlight isolated storage.
28         * MoonIsolatedStorageFile.cs: Adjust with new MoonIsolatedStorage.
29         Implement IncreaseQuotaTo UI.
30         * MoonIsolatedStorageFileStream.cs: Adjust with MoonIsolatedStorage.
31
32 2009-04-16  Sebastien Pouliot  <sebastien@ximian.com>
33
34         * IsolatedStorageFile.cs: Fix thread-safety issue at creation time.
35         [Fix bug #431039]
36         * IsolatedStorageFileStream.cs: Fix missing path check in Verify.
37         [Fix bug #487659]
38
39 2008-12-23  Sebastien Pouliot  <sebastien@ximian.com>
40
41         * IsolatedStorageFile.cs: Use Url as the default evidence type when
42         null is supplied.
43         [Fix bug #430932]
44
45 2008-09-11  Sebastien Pouliot  <sebastien@ximian.com>
46
47         * MoonIsolatedStorageFile.cs: Add application and iste specific 
48         initialization. Add rumenditary quota support (not thread or cross 
49         process safe). Add a bunch of TODO & FIXME.
50         * MoonIsolatedStorageFileStream.cs: Add quota checks (delegated 
51         into MoonIsolatedStorageFile).
52
53 2008-09-05  Sebastien Pouliot  <sebastien@ximian.com>
54
55         * MoonIsolatedStorageFile.cs: Add calls to PreCheck inside EndRead
56         and EndWrite methods.
57         * MoonIsolatedStorageFileStream.cs: Throw an IsolatedStorageException
58         when DeleteFile is called on an unexisting file.
59
60 2008-08-22  Sebastien Pouliot  <sebastien@ximian.com> 
61
62         * MoonIsolatedStorageFile.cs: Implement Remove. Add a bunch of FIXME 
63         mostly related to quota.
64         * MoonIsolatedStorageFileStream.cs: Add a call to the container's
65         PreCheck method in most methods. Add FIXME for quota.
66
67 2008-08-21  Sebastien Pouliot  <sebastien@ximian.com> 
68
69         * MoonIsolatedStorageFile.cs: Split Application and Site storage.
70         Start looking at quota.
71         * MoonIsolatedStorageFileStream.cs: Added more validation to 
72         ctors. Removed IsAsync (not in beta2). (SetLength) Start using some 
73         quota checks 
74
75 2008-08-20  Sebastien Pouliot  <sebastien@ximian.com> 
76
77         * MoonIsolatedStorageFile.cs: More fixes to match unit tests.
78
79 2008-08-20  Sebastien Pouliot  <sebastien@ximian.com>
80
81         * MoonIsolatedStorageFile.cs: Fix API to match SL2 beta2. Start
82         implementing new feature (while writing unit tests).
83         * MoonIsolatedStorageFileStream.cs: Add new async methods [Begin|
84         End][Read|Write] present in b2. Fix endless recursion in WriteByte.
85
86 2008-04-18  Sebastien Pouliot  <sebastien@ximian.com>
87
88         * IsolatedStorageFile.cs: Fix CreateDirectory to accept multiple 
89         subdirectories. Avoid leaking full path in DeleteDirectory. Fix 
90         GetDirectoryNames to work with path (and the search pattern).
91         [Fix bug #376188]
92
93 2008-03-28  Sebastien Pouliot  <sebastien@ximian.com>
94
95         * IsolatedStorageFile.cs: Don't show the full path on exception if a 
96         directory can't be created (fix bug #354539). Also fix path/patterns when
97         looking for files (it behave differently than DirectoryInfo does).
98
99 2008-01-17  Sebastien Pouliot  <sebastien@ximian.com>
100
101         * IsolatedStorageFile.cs: Fix bug #354539
102
103 2007-12-18  Stephane Delcroix  <sdelcroix@novell.com>
104
105         * IsolatedStorageFileEnumerator.cs: Ifdef'ing out too. Fixes the build.
106
107 2007-12-18  Miguel de Icaza  <miguel@novell.com>
108
109         * Ifdef out the large bodies of code that will just not work with
110         Silverlight, ran into this problem again trying to run
111         http://fluxtools.net/emailphotos
112
113         Its not worth trying to alter this implementation of
114         IsolatedStorage to work in both the regular and the Moonlight
115         profiles, instead am going to write a simple implementation while
116         we wait for the real 2.0 API to come out.
117
118 2007-11-06  Sebastien Pouliot  <sebastien@ximian.com>
119
120         * IsolatedStorageFileStream.cs: Handle rooted paths. Patch by Jay
121         Miller to fix bug #324983.
122
123 2006-04-07  Sebastien Pouliot  <sebastien@ximian.com>
124
125         * IsolatedStorageFile.cs: Loading/saving the identities used to 
126         isolate the storage requires the permission to [de]serialize them too.
127
128 2005-11-09  Sebastien Pouliot  <sebastien@ximian.com>
129
130         * IsolatedStorageScope.cs: Added missing [Serializable] in 2.0 profile
131
132 2005-10-04  Sebastien Pouliot  <sebastien@ximian.com>
133
134         * IsolatedStorageFile.cs: Add a call to GC.SuppressFinalize in Dispose
135         (even if we're not disposing anything).
136
137 2005-06-22  Sebastien Pouliot  <sebastien@ximian.com>
138
139         * IsolatedStorageFile.cs: Only assembly evidences are considered to
140         resolve policy. Changed resolve method used (instead of changing it's
141         code).
142
143 2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>
144
145         * IsolatedStorageFileStream.cs: Remove Close method from NET_2_0.
146         * IsolatedStorageFile.cs: Implemented missing MaximumSize property
147         and GetPermission method.
148
149 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
150
151         * IsolatedStorageFileStream.cs: check the FileMode here as FileStream
152         throws a different exception.
153
154 2005-04-25  Sebastien Pouliot  <sebastien@ximian.com>
155
156         * INormalizeForIsolatedStorage.cs: Added [ComVisible(true)] for 2.0.
157         * IsolatedStorage.cs: Added [ComVisible(true)] for 2.0 except for new
158         property ApplicationIdentity.
159         * IsolatedStorageException.cs: Added [ComVisible(true)] for 2.0.
160         * IsolatedStorageFile.cs: Now calls UnprotectedGetEvidence to get the 
161         assembly evidences. Added [ComVisible(true)] for 2.0.
162         * IsolatedStorageFileStream.cs: Added [ComVisible(true)] for 2.0.
163         * IsolatedStorageScope.cs: Added [ComVisible(true)] for 2.0.
164
165 2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
166
167         * IsolatedStorageFile.cs: Added an assert for unrestricted file access
168         to the class. This is "ok" as the user cannot control the base path 
169         for isolated storage but will be updated to be more "precise" when
170         imperative assert are supported in the runtime.
171         * IsolatedStorageFileStream.cs: Changed constructors so the assert
172         for unrestricted file access is limited to constructors (not the whole
173         class). Added LinkDemand for UnmanagedCode to get Handle and 
174         SafeFileHandle (2.0) properties.
175
176 2005-03-17  Sebastien Pouliot  <sebastien@ximian.com>
177
178         * IsolatedStorageScope.cs: Add missing BOOTSTRAP_NET_2_0 to new enum 
179         values. Fix #73046.
180         * IsolatedStorageFile.cs: Remove commented security attributes.
181
182 2005-03-15  Sebastien Pouliot  <sebastien@ximian.com>
183
184         * IsolatedStorageFile.cs: Added CAS demands (imperative when possible)
185         for IsolatedStoragePermission. The security attributes for NET_2_0 are
186         commented until #73046 is fixed.
187         * IsolatedStorageFileStream.cs: Now use StackFrame(2) to find which
188         assembly is really calling the IsolatedStorageFileStream when no 
189         default is supplied. Throw DirectoryNotFoundException when a directory
190         inside the isolated storage is missing.
191
192 2005-01-31  Sebastien Pouliot  <sebastien@ximian.com>
193
194         * IsolatedStorage.cs: Added checks to get identities.
195         * IsolatedStorageFile.cs: Added support for identities (assembly, 
196         domain and, for 2.0, application).
197         * IsolatedStorageFileEnumerator.cs: New. Internal enumerator for 
198         IsolatedStorageFile.
199         * IsolatedStorageFileStream.cs: Now use the new FileStream
200         constructor to ensure filestream name stays [Unknown].
201         * IsolatedStorageInfo.cs: Removed (no more required).
202         * IsolatedStorageScope.cs: Added new 2.0 scopes: Application and
203         Machine.
204
205 2004-07-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
206
207         * IsolatedStorageInfo.cs: useGetFolderPath instead of getting "HOME".
208
209 2004-06-13  Gert Driesen <drieseng@users.sourceforge.net>
210
211         * IsolatedStorage.cs: really mark the storage_scope field private
212
213 2004-06-09  Gert Dresen <drieseng@users.sourceforge.net>
214
215         * IsolatedStorage.cs: use private variable for holding scope,
216         set scope in InitStore method, removed need for extra protected 
217         member (public API fix)
218         * IsolatedStorageFile.cs: use InitStore to initialize scope
219
220 2004-05-12  Sebastien Pouliot  <sebastien@ximian.com>
221
222         * IsolatedStorage.cs: More details on MonoTODO. Throw exceptions on
223         AssemblyIdentity and DomainIdentity properties.
224         * IsolatedStorageFile.cs: More details on MonoTODO.
225         * IsolatedStorageFileStream.cs: Removed MonoTODO on class. Now use 
226         Path.Combine to build filenames (constructor) and throw an exception 
227         when we try to get the handle (as documented).
228
229 2003-07-30  Duncan Mak  <duncan@ximian.com>
230
231         * IsolatedStorageInfo.cs (CreateAssemblyFilename):
232         (CreateDomainFilename): Replace String.Format with Path.Combine.
233         
234         * IsolatedStorageFile.cs:
235         (GetStore): Update storage_scope accordingly.
236         (GetUseStoreForAssembly): Include IsolatedStorageScope.User.
237         (GetUseStoreForDomain): Include IsolatedStorageScope.User and
238         IsolatedStorageScope.Assembly.
239         
240         * IsolatedStorage.cs:
241         (CurrentSize):
242         (MaximumSize): throw InvalidOperationExceptions. This is a
243         subclass responsibility.
244         (Scope): Implemented using a static field, storage_scope.
245         (SeparatorInternal)
246         (SeparatorExternal): Implemented. Use Path.DirectorySeparatorChar
247         for SeparatorExternal.
248
249 2003-02-18  Jonathan Pryor <jonpryor@vt.edu>
250         * IsolatedStorageFile.cs: Fix spelling error (GetUseStoreForDomain -->
251           GetUserStoreFor Domain).  Reported by 
252           Torsten Rendelmann <torsten.rendelmann@procos.com>.
253
254 2003-01-19  Sebastien Pouliot  <spouliot@videotron.ca>
255
256         * IsolatedStorageFile.cs: Added missing [CLSCompliant(false)]
257         to CurrentSize and MaximumSize to fix compilation (at least 
258         under Windows/csc).
259
260 2003-01-18  Jonathan Pryor <jonpryor@vt.edu>
261
262         - General: Get a simple implementation working.  Simple, not-all-there, but
263           sufficient to get "Programming C#" example 21-17 working under Mono.  This
264           doesn't say much, as it's not a stress-test by any means.
265         * INormalizeForIsolatedStorage.cs: re-indent to fit mono code style
266         * IsolatedStorage.cs: match mono coding guidelines
267         * IsolatedStorageFileStream.cs: Add members that "C# In A Nutshell" claims
268           the class should override.  Most of these members just delegate to the
269           base class, though.  CreateIsolatedPath is used to get the actual filename
270           for the IsolatedStorageFileStream.
271         * IsolatedStorageScope.cs: Documentation goes in monodoc, so there's no
272           point in having C# doc-tags.  Add "Roaming" member, which "C# In A
273           Nutshell" lists.
274         * IsolatedStorageFile.cs: Public class documented in "C# In A Nutshell".
275           Simple implementation.  Will probably need work to conform with .NET,
276           address security concerns.
277         * IsolatedStorageInfo.cs: Abstract IsolatedStorage information used by other
278           classes, such as the directory isolated storage is located under, how to
279           calculate the size of isolated storage, etc.
280
281 2002-02-19  Duncan Mak  <duncan@ximian.com>
282
283         * IsolatedStorageFileStream.cs: Added MonoTODO here. This class
284         is completely stubbed out (over the summer) and didn't get
285         properly MonoTODO'd.
286
287 2002-02-08  Duncan Mak  <duncan@ximian.com>
288
289         * IsolatedStorage.cs: Looked at MemberInfo.cs, another fellow
290         abstract class. Oh, that's what it means! Removed unnesscessary
291         MonoTODO attributes.
292
293 2002-02-07  Duncan Mak  <duncan@ximian.com>
294
295         * IsolatedStorage.cs: Added to CVS, stubbed out the API.
296         * IsolatedStorageException.cs: Implemented.
297
298 2002-01-07  Duco Fijma <duco@lorentz.xs4all.nl>
299         * Created INormalizeForIsolatedStorage