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