1 2010-06-18 Rolf Bjarne Kvinge <RKvinge@novell.com>
3 * MoonIsolatedStorageFile.cs: Add IsEnabled.
5 2010-06-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
7 * IsolatedStorageFile.cs: Remove should catch all the exceptions
8 caused by DirectoryInfo.Delete and throw an IsolatedStorageException
11 2010-06-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
13 * IsolatedStorageFile.cs: Ugh, accidentally forgot to commit the changes for
14 in the previous commit.
16 2010-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
18 * IsolatedStorageFile.cs: GetUserStoreForSite is only throwing a
19 NotSupportedException.
20 * IsolatedStorageFileStream.cs: Implement Flush by calling the base impl.
22 2010-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
24 * IsolatedStorageFile.cs: Remove and DeleteFile must report any
25 error found in our System.IO classes as IsolatedStorageException.
27 2010-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
29 * IsolatedStorageFile.cs: Update the exceptions we are firing in 4.0
30 for CreateDirectory, GetFileNames and GetDirectoryNames.
32 2010-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
34 * IsolatedStorageSecurityState.cs: Make our .ctor internal - so we
35 don't expose a public .ctor at all.
37 2010-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
39 * IsolatedStorageFile.cs: Our 4.0 methods receiving a path should
40 either return false or throw an IsolatedStorageException if the path
41 refers to a directory outside the storage root.
43 2010-06-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
45 * IsolatedStorageFile.cs: In CheckOpen check that the directory for
46 the current storage is still valid, and throw an exception if needed.
47 Also, in the static Remove method call Directory.Delete only if the
48 directory exists, to avoid throwing an exception there.
50 2010-06-03 Sebastien Pouliot <sebastien@ximian.com>
52 * MoonIsolatedStorage.cs: Make class internal so we can access it
53 from System.Window.dll to adjust quotas
55 2010-06-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
57 * IsolatedStorageFile.cs: Check for empty paths and existing paths in
58 both MoveFile and MoveDirectory, just as we do in CopyFile. Finally
59 cover our IO calls with a try-catch block, so all the IOException
60 instances are reported as IsolatedStorageException.
62 2010-05-31 Carlos Alberto Cortez <calberto.cortez@gmail.com>
65 * IsolatedStorageFile.cs: Implement AvailableFreeSpace, Quota,
66 UsedSize and IncreaseQuotaTo.
68 2010-05-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
70 * IsolatedStorageFile.cs: Implement CopyFile.
72 2010-05-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
74 * IsolatedStorageFile.cs: Implement GetCreationTime, GetLastAccessTime
75 and GetLastWriteTime, as well as creating a single method to check for
76 the closed/disposed fields.
78 2010-05-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
80 * IsolatedStorageFile.cs: Remove should call Close, just as .Net seems
83 2010-05-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
85 * IsolatedStorageFileStream.cs: When creating the instance, we should check
86 for diposed first, and for closed on second place.
87 * IsolatedStorageFile.cs: Add Obsolete to CurrentSize and MaximumSize,
90 2010-05-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
92 * IsolatedStorageFileStream.cs: When creating our instance check that
93 the IsolatedStorageFile is not closed/disposed.
94 * IsolatedStorageFile.cs: Expose closed/disposed info as internal
95 properties, as well as implement 4.0 MoveDirectory/MoveFile, CreateFile
98 2010-05-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
100 * IsolatedStorageFile.cs: Implement FileExists and DirectoryExists, as
101 well as adding fields to detect that Close/Dispose have been called
102 and fire the proper exceptions.
104 2010-05-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
108 * IsolatedStorage.cs: Add ObsoleteAttribute to CurrentSize and
110 * IsolatedStorageSecurityState.cs: New, stubbed.
111 * IsolatedStorageSecurityOptions.cs: New file.
113 2010-05-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
115 * IsolatedStorageFile.cs: Add the new 4.0 overloads for
116 GetDirectoryNames and GetFileNames.
118 2010-03-16 Jb Evain <jbevain@novell.com>
120 * IsolatedStorageFileEnumerator.cs
121 * MoonIsolatedStorageFileStream.cs
122 * MoonIsolatedStorageFile.cs
123 * MoonIsolatedStorage.cs
124 * IsolatedStorageScope.cs
125 * IsolatedStorageFileStream.cs
127 * IsolatedStorageFile.cs:
128 use MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
130 2009-11-01 Sebastien Pouliot <sebastien@ximian.com>
132 * MoonIsolatedStorageFile.cs: Add new CheckSearchPattern
133 validation method. Fix GetDirectoryNames to behave like
134 GetFileNames wrt searchPattern
136 2009-08-30 Jb Evain <jbevain@novell.com>
138 * IsolatedStorageFileEnumerator.cs
139 * MoonIsolatedStorageFileStream.cs
140 * MoonIsolatedStorageFile.cs
141 * MoonIsolatedStorage.cs
142 * IsolatedStorageScope.cs
143 * IsolatedStorageFileStream.cs
145 * IsolatedStorageFile.cs:
146 Use the traditional net_2_0 version of isolated storage
149 2009-05-27 Jackson Harper <jackson@ximian.com>
151 * MoonIsolatedStorageFile.cs: Allow paths in search patterns.
153 2009-04-16 Sebastien Pouliot <sebastien@ximian.com>
155 * MoonIsolatedStorage.cs: New. Manage the shared (location, quota)
156 information about Moonlight isolated storage.
157 * MoonIsolatedStorageFile.cs: Adjust with new MoonIsolatedStorage.
158 Implement IncreaseQuotaTo UI.
159 * MoonIsolatedStorageFileStream.cs: Adjust with MoonIsolatedStorage.
161 2009-04-16 Sebastien Pouliot <sebastien@ximian.com>
163 * IsolatedStorageFile.cs: Fix thread-safety issue at creation time.
165 * IsolatedStorageFileStream.cs: Fix missing path check in Verify.
168 2008-12-23 Sebastien Pouliot <sebastien@ximian.com>
170 * IsolatedStorageFile.cs: Use Url as the default evidence type when
174 2008-09-11 Sebastien Pouliot <sebastien@ximian.com>
176 * MoonIsolatedStorageFile.cs: Add application and iste specific
177 initialization. Add rumenditary quota support (not thread or cross
178 process safe). Add a bunch of TODO & FIXME.
179 * MoonIsolatedStorageFileStream.cs: Add quota checks (delegated
180 into MoonIsolatedStorageFile).
182 2008-09-05 Sebastien Pouliot <sebastien@ximian.com>
184 * MoonIsolatedStorageFile.cs: Add calls to PreCheck inside EndRead
185 and EndWrite methods.
186 * MoonIsolatedStorageFileStream.cs: Throw an IsolatedStorageException
187 when DeleteFile is called on an unexisting file.
189 2008-08-22 Sebastien Pouliot <sebastien@ximian.com>
191 * MoonIsolatedStorageFile.cs: Implement Remove. Add a bunch of FIXME
192 mostly related to quota.
193 * MoonIsolatedStorageFileStream.cs: Add a call to the container's
194 PreCheck method in most methods. Add FIXME for quota.
196 2008-08-21 Sebastien Pouliot <sebastien@ximian.com>
198 * MoonIsolatedStorageFile.cs: Split Application and Site storage.
199 Start looking at quota.
200 * MoonIsolatedStorageFileStream.cs: Added more validation to
201 ctors. Removed IsAsync (not in beta2). (SetLength) Start using some
204 2008-08-20 Sebastien Pouliot <sebastien@ximian.com>
206 * MoonIsolatedStorageFile.cs: More fixes to match unit tests.
208 2008-08-20 Sebastien Pouliot <sebastien@ximian.com>
210 * MoonIsolatedStorageFile.cs: Fix API to match SL2 beta2. Start
211 implementing new feature (while writing unit tests).
212 * MoonIsolatedStorageFileStream.cs: Add new async methods [Begin|
213 End][Read|Write] present in b2. Fix endless recursion in WriteByte.
215 2008-04-18 Sebastien Pouliot <sebastien@ximian.com>
217 * IsolatedStorageFile.cs: Fix CreateDirectory to accept multiple
218 subdirectories. Avoid leaking full path in DeleteDirectory. Fix
219 GetDirectoryNames to work with path (and the search pattern).
222 2008-03-28 Sebastien Pouliot <sebastien@ximian.com>
224 * IsolatedStorageFile.cs: Don't show the full path on exception if a
225 directory can't be created (fix bug #354539). Also fix path/patterns when
226 looking for files (it behave differently than DirectoryInfo does).
228 2008-01-17 Sebastien Pouliot <sebastien@ximian.com>
230 * IsolatedStorageFile.cs: Fix bug #354539
232 2007-12-18 Stephane Delcroix <sdelcroix@novell.com>
234 * IsolatedStorageFileEnumerator.cs: Ifdef'ing out too. Fixes the build.
236 2007-12-18 Miguel de Icaza <miguel@novell.com>
238 * Ifdef out the large bodies of code that will just not work with
239 Silverlight, ran into this problem again trying to run
240 http://fluxtools.net/emailphotos
242 Its not worth trying to alter this implementation of
243 IsolatedStorage to work in both the regular and the Moonlight
244 profiles, instead am going to write a simple implementation while
245 we wait for the real 2.0 API to come out.
247 2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
249 * IsolatedStorageFileStream.cs: Handle rooted paths. Patch by Jay
250 Miller to fix bug #324983.
252 2006-04-07 Sebastien Pouliot <sebastien@ximian.com>
254 * IsolatedStorageFile.cs: Loading/saving the identities used to
255 isolate the storage requires the permission to [de]serialize them too.
257 2005-11-09 Sebastien Pouliot <sebastien@ximian.com>
259 * IsolatedStorageScope.cs: Added missing [Serializable] in 2.0 profile
261 2005-10-04 Sebastien Pouliot <sebastien@ximian.com>
263 * IsolatedStorageFile.cs: Add a call to GC.SuppressFinalize in Dispose
264 (even if we're not disposing anything).
266 2005-06-22 Sebastien Pouliot <sebastien@ximian.com>
268 * IsolatedStorageFile.cs: Only assembly evidences are considered to
269 resolve policy. Changed resolve method used (instead of changing it's
272 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
274 * IsolatedStorageFileStream.cs: Remove Close method from NET_2_0.
275 * IsolatedStorageFile.cs: Implemented missing MaximumSize property
276 and GetPermission method.
278 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
280 * IsolatedStorageFileStream.cs: check the FileMode here as FileStream
281 throws a different exception.
283 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
285 * INormalizeForIsolatedStorage.cs: Added [ComVisible(true)] for 2.0.
286 * IsolatedStorage.cs: Added [ComVisible(true)] for 2.0 except for new
287 property ApplicationIdentity.
288 * IsolatedStorageException.cs: Added [ComVisible(true)] for 2.0.
289 * IsolatedStorageFile.cs: Now calls UnprotectedGetEvidence to get the
290 assembly evidences. Added [ComVisible(true)] for 2.0.
291 * IsolatedStorageFileStream.cs: Added [ComVisible(true)] for 2.0.
292 * IsolatedStorageScope.cs: Added [ComVisible(true)] for 2.0.
294 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
296 * IsolatedStorageFile.cs: Added an assert for unrestricted file access
297 to the class. This is "ok" as the user cannot control the base path
298 for isolated storage but will be updated to be more "precise" when
299 imperative assert are supported in the runtime.
300 * IsolatedStorageFileStream.cs: Changed constructors so the assert
301 for unrestricted file access is limited to constructors (not the whole
302 class). Added LinkDemand for UnmanagedCode to get Handle and
303 SafeFileHandle (2.0) properties.
305 2005-03-17 Sebastien Pouliot <sebastien@ximian.com>
307 * IsolatedStorageScope.cs: Add missing BOOTSTRAP_NET_2_0 to new enum
309 * IsolatedStorageFile.cs: Remove commented security attributes.
311 2005-03-15 Sebastien Pouliot <sebastien@ximian.com>
313 * IsolatedStorageFile.cs: Added CAS demands (imperative when possible)
314 for IsolatedStoragePermission. The security attributes for NET_2_0 are
315 commented until #73046 is fixed.
316 * IsolatedStorageFileStream.cs: Now use StackFrame(2) to find which
317 assembly is really calling the IsolatedStorageFileStream when no
318 default is supplied. Throw DirectoryNotFoundException when a directory
319 inside the isolated storage is missing.
321 2005-01-31 Sebastien Pouliot <sebastien@ximian.com>
323 * IsolatedStorage.cs: Added checks to get identities.
324 * IsolatedStorageFile.cs: Added support for identities (assembly,
325 domain and, for 2.0, application).
326 * IsolatedStorageFileEnumerator.cs: New. Internal enumerator for
328 * IsolatedStorageFileStream.cs: Now use the new FileStream
329 constructor to ensure filestream name stays [Unknown].
330 * IsolatedStorageInfo.cs: Removed (no more required).
331 * IsolatedStorageScope.cs: Added new 2.0 scopes: Application and
334 2004-07-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
336 * IsolatedStorageInfo.cs: useGetFolderPath instead of getting "HOME".
338 2004-06-13 Gert Driesen <drieseng@users.sourceforge.net>
340 * IsolatedStorage.cs: really mark the storage_scope field private
342 2004-06-09 Gert Dresen <drieseng@users.sourceforge.net>
344 * IsolatedStorage.cs: use private variable for holding scope,
345 set scope in InitStore method, removed need for extra protected
346 member (public API fix)
347 * IsolatedStorageFile.cs: use InitStore to initialize scope
349 2004-05-12 Sebastien Pouliot <sebastien@ximian.com>
351 * IsolatedStorage.cs: More details on MonoTODO. Throw exceptions on
352 AssemblyIdentity and DomainIdentity properties.
353 * IsolatedStorageFile.cs: More details on MonoTODO.
354 * IsolatedStorageFileStream.cs: Removed MonoTODO on class. Now use
355 Path.Combine to build filenames (constructor) and throw an exception
356 when we try to get the handle (as documented).
358 2003-07-30 Duncan Mak <duncan@ximian.com>
360 * IsolatedStorageInfo.cs (CreateAssemblyFilename):
361 (CreateDomainFilename): Replace String.Format with Path.Combine.
363 * IsolatedStorageFile.cs:
364 (GetStore): Update storage_scope accordingly.
365 (GetUseStoreForAssembly): Include IsolatedStorageScope.User.
366 (GetUseStoreForDomain): Include IsolatedStorageScope.User and
367 IsolatedStorageScope.Assembly.
369 * IsolatedStorage.cs:
371 (MaximumSize): throw InvalidOperationExceptions. This is a
372 subclass responsibility.
373 (Scope): Implemented using a static field, storage_scope.
375 (SeparatorExternal): Implemented. Use Path.DirectorySeparatorChar
376 for SeparatorExternal.
378 2003-02-18 Jonathan Pryor <jonpryor@vt.edu>
379 * IsolatedStorageFile.cs: Fix spelling error (GetUseStoreForDomain -->
380 GetUserStoreFor Domain). Reported by
381 Torsten Rendelmann <torsten.rendelmann@procos.com>.
383 2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
385 * IsolatedStorageFile.cs: Added missing [CLSCompliant(false)]
386 to CurrentSize and MaximumSize to fix compilation (at least
389 2003-01-18 Jonathan Pryor <jonpryor@vt.edu>
391 - General: Get a simple implementation working. Simple, not-all-there, but
392 sufficient to get "Programming C#" example 21-17 working under Mono. This
393 doesn't say much, as it's not a stress-test by any means.
394 * INormalizeForIsolatedStorage.cs: re-indent to fit mono code style
395 * IsolatedStorage.cs: match mono coding guidelines
396 * IsolatedStorageFileStream.cs: Add members that "C# In A Nutshell" claims
397 the class should override. Most of these members just delegate to the
398 base class, though. CreateIsolatedPath is used to get the actual filename
399 for the IsolatedStorageFileStream.
400 * IsolatedStorageScope.cs: Documentation goes in monodoc, so there's no
401 point in having C# doc-tags. Add "Roaming" member, which "C# In A
403 * IsolatedStorageFile.cs: Public class documented in "C# In A Nutshell".
404 Simple implementation. Will probably need work to conform with .NET,
405 address security concerns.
406 * IsolatedStorageInfo.cs: Abstract IsolatedStorage information used by other
407 classes, such as the directory isolated storage is located under, how to
408 calculate the size of isolated storage, etc.
410 2002-02-19 Duncan Mak <duncan@ximian.com>
412 * IsolatedStorageFileStream.cs: Added MonoTODO here. This class
413 is completely stubbed out (over the summer) and didn't get
416 2002-02-08 Duncan Mak <duncan@ximian.com>
418 * IsolatedStorage.cs: Looked at MemberInfo.cs, another fellow
419 abstract class. Oh, that's what it means! Removed unnesscessary
422 2002-02-07 Duncan Mak <duncan@ximian.com>
424 * IsolatedStorage.cs: Added to CVS, stubbed out the API.
425 * IsolatedStorageException.cs: Implemented.
427 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
428 * Created INormalizeForIsolatedStorage