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