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