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