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