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