New test.
[mono.git] / mcs / class / corlib / System.IO.IsolatedStorage / ChangeLog
1 2006-04-07  Sebastien Pouliot  <sebastien@ximian.com>
2
3         * IsolatedStorageFile.cs: Loading/saving the identities used to 
4         isolate the storage requires the permission to [de]serialize them too.
5
6 2005-11-09  Sebastien Pouliot  <sebastien@ximian.com>
7
8         * IsolatedStorageScope.cs: Added missing [Serializable] in 2.0 profile
9
10 2005-10-04  Sebastien Pouliot  <sebastien@ximian.com>
11
12         * IsolatedStorageFile.cs: Add a call to GC.SuppressFinalize in Dispose
13         (even if we're not disposing anything).
14
15 2005-06-22  Sebastien Pouliot  <sebastien@ximian.com>
16
17         * IsolatedStorageFile.cs: Only assembly evidences are considered to
18         resolve policy. Changed resolve method used (instead of changing it's
19         code).
20
21 2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>
22
23         * IsolatedStorageFileStream.cs: Remove Close method from NET_2_0.
24         * IsolatedStorageFile.cs: Implemented missing MaximumSize property
25         and GetPermission method.
26
27 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
28
29         * IsolatedStorageFileStream.cs: check the FileMode here as FileStream
30         throws a different exception.
31
32 2005-04-25  Sebastien Pouliot  <sebastien@ximian.com>
33
34         * INormalizeForIsolatedStorage.cs: Added [ComVisible(true)] for 2.0.
35         * IsolatedStorage.cs: Added [ComVisible(true)] for 2.0 except for new
36         property ApplicationIdentity.
37         * IsolatedStorageException.cs: Added [ComVisible(true)] for 2.0.
38         * IsolatedStorageFile.cs: Now calls UnprotectedGetEvidence to get the 
39         assembly evidences. Added [ComVisible(true)] for 2.0.
40         * IsolatedStorageFileStream.cs: Added [ComVisible(true)] for 2.0.
41         * IsolatedStorageScope.cs: Added [ComVisible(true)] for 2.0.
42
43 2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
44
45         * IsolatedStorageFile.cs: Added an assert for unrestricted file access
46         to the class. This is "ok" as the user cannot control the base path 
47         for isolated storage but will be updated to be more "precise" when
48         imperative assert are supported in the runtime.
49         * IsolatedStorageFileStream.cs: Changed constructors so the assert
50         for unrestricted file access is limited to constructors (not the whole
51         class). Added LinkDemand for UnmanagedCode to get Handle and 
52         SafeFileHandle (2.0) properties.
53
54 2005-03-17  Sebastien Pouliot  <sebastien@ximian.com>
55
56         * IsolatedStorageScope.cs: Add missing BOOTSTRAP_NET_2_0 to new enum 
57         values. Fix #73046.
58         * IsolatedStorageFile.cs: Remove commented security attributes.
59
60 2005-03-15  Sebastien Pouliot  <sebastien@ximian.com>
61
62         * IsolatedStorageFile.cs: Added CAS demands (imperative when possible)
63         for IsolatedStoragePermission. The security attributes for NET_2_0 are
64         commented until #73046 is fixed.
65         * IsolatedStorageFileStream.cs: Now use StackFrame(2) to find which
66         assembly is really calling the IsolatedStorageFileStream when no 
67         default is supplied. Throw DirectoryNotFoundException when a directory
68         inside the isolated storage is missing.
69
70 2005-01-31  Sebastien Pouliot  <sebastien@ximian.com>
71
72         * IsolatedStorage.cs: Added checks to get identities.
73         * IsolatedStorageFile.cs: Added support for identities (assembly, 
74         domain and, for 2.0, application).
75         * IsolatedStorageFileEnumerator.cs: New. Internal enumerator for 
76         IsolatedStorageFile.
77         * IsolatedStorageFileStream.cs: Now use the new FileStream
78         constructor to ensure filestream name stays [Unknown].
79         * IsolatedStorageInfo.cs: Removed (no more required).
80         * IsolatedStorageScope.cs: Added new 2.0 scopes: Application and
81         Machine.
82
83 2004-07-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
84
85         * IsolatedStorageInfo.cs: useGetFolderPath instead of getting "HOME".
86
87 2004-06-13  Gert Driesen <drieseng@users.sourceforge.net>
88
89         * IsolatedStorage.cs: really mark the storage_scope field private
90
91 2004-06-09  Gert Dresen <drieseng@users.sourceforge.net>
92
93         * IsolatedStorage.cs: use private variable for holding scope,
94         set scope in InitStore method, removed need for extra protected 
95         member (public API fix)
96         * IsolatedStorageFile.cs: use InitStore to initialize scope
97
98 2004-05-12  Sebastien Pouliot  <sebastien@ximian.com>
99
100         * IsolatedStorage.cs: More details on MonoTODO. Throw exceptions on
101         AssemblyIdentity and DomainIdentity properties.
102         * IsolatedStorageFile.cs: More details on MonoTODO.
103         * IsolatedStorageFileStream.cs: Removed MonoTODO on class. Now use 
104         Path.Combine to build filenames (constructor) and throw an exception 
105         when we try to get the handle (as documented).
106
107 2003-07-30  Duncan Mak  <duncan@ximian.com>
108
109         * IsolatedStorageInfo.cs (CreateAssemblyFilename):
110         (CreateDomainFilename): Replace String.Format with Path.Combine.
111         
112         * IsolatedStorageFile.cs:
113         (GetStore): Update storage_scope accordingly.
114         (GetUseStoreForAssembly): Include IsolatedStorageScope.User.
115         (GetUseStoreForDomain): Include IsolatedStorageScope.User and
116         IsolatedStorageScope.Assembly.
117         
118         * IsolatedStorage.cs:
119         (CurrentSize):
120         (MaximumSize): throw InvalidOperationExceptions. This is a
121         subclass responsibility.
122         (Scope): Implemented using a static field, storage_scope.
123         (SeparatorInternal)
124         (SeparatorExternal): Implemented. Use Path.DirectorySeparatorChar
125         for SeparatorExternal.
126
127 2003-02-18  Jonathan Pryor <jonpryor@vt.edu>
128         * IsolatedStorageFile.cs: Fix spelling error (GetUseStoreForDomain -->
129           GetUserStoreFor Domain).  Reported by 
130           Torsten Rendelmann <torsten.rendelmann@procos.com>.
131
132 2003-01-19  Sebastien Pouliot  <spouliot@videotron.ca>
133
134         * IsolatedStorageFile.cs: Added missing [CLSCompliant(false)]
135         to CurrentSize and MaximumSize to fix compilation (at least 
136         under Windows/csc).
137
138 2003-01-18  Jonathan Pryor <jonpryor@vt.edu>
139
140         - General: Get a simple implementation working.  Simple, not-all-there, but
141           sufficient to get "Programming C#" example 21-17 working under Mono.  This
142           doesn't say much, as it's not a stress-test by any means.
143         * INormalizeForIsolatedStorage.cs: re-indent to fit mono code style
144         * IsolatedStorage.cs: match mono coding guidelines
145         * IsolatedStorageFileStream.cs: Add members that "C# In A Nutshell" claims
146           the class should override.  Most of these members just delegate to the
147           base class, though.  CreateIsolatedPath is used to get the actual filename
148           for the IsolatedStorageFileStream.
149         * IsolatedStorageScope.cs: Documentation goes in monodoc, so there's no
150           point in having C# doc-tags.  Add "Roaming" member, which "C# In A
151           Nutshell" lists.
152         * IsolatedStorageFile.cs: Public class documented in "C# In A Nutshell".
153           Simple implementation.  Will probably need work to conform with .NET,
154           address security concerns.
155         * IsolatedStorageInfo.cs: Abstract IsolatedStorage information used by other
156           classes, such as the directory isolated storage is located under, how to
157           calculate the size of isolated storage, etc.
158
159 2002-02-19  Duncan Mak  <duncan@ximian.com>
160
161         * IsolatedStorageFileStream.cs: Added MonoTODO here. This class
162         is completely stubbed out (over the summer) and didn't get
163         properly MonoTODO'd.
164
165 2002-02-08  Duncan Mak  <duncan@ximian.com>
166
167         * IsolatedStorage.cs: Looked at MemberInfo.cs, another fellow
168         abstract class. Oh, that's what it means! Removed unnesscessary
169         MonoTODO attributes.
170
171 2002-02-07  Duncan Mak  <duncan@ximian.com>
172
173         * IsolatedStorage.cs: Added to CVS, stubbed out the API.
174         * IsolatedStorageException.cs: Implemented.
175
176 2002-01-07  Duco Fijma <duco@lorentz.xs4all.nl>
177         * Created INormalizeForIsolatedStorage