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