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