[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / corlib / System.IO.IsolatedStorage / ChangeLog
index f0236e7e02bbddd510b32cafd610e4121fc1ecbc..4bce5df610f330c241faa80851377854b537b854 100644 (file)
@@ -1,3 +1,296 @@
+2010-06-18  Rolf Bjarne Kvinge  <RKvinge@novell.com>
+
+       * MoonIsolatedStorageFile.cs: Add IsEnabled.
+
+2010-06-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * IsolatedStorageFile.cs: Remove should catch all the exceptions
+       caused by DirectoryInfo.Delete and throw an IsolatedStorageException
+       instead.
+
+2010-06-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * IsolatedStorageFile.cs: Ugh, accidentally forgot to commit the changes for
+       in the previous commit.
+
+2010-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * IsolatedStorageFile.cs: GetUserStoreForSite is only throwing a
+       NotSupportedException.
+       * IsolatedStorageFileStream.cs: Implement Flush by calling the base impl.
+
+2010-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * IsolatedStorageFile.cs: Remove and DeleteFile must report any
+       error found in our System.IO classes as IsolatedStorageException.
+
+2010-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * IsolatedStorageFile.cs: Update the exceptions we are firing in 4.0
+       for CreateDirectory, GetFileNames and GetDirectoryNames.
+
+2010-06-06  Carlos Alberto Cortez <calberto.cortez@gmail.com> 
+
+       * IsolatedStorageSecurityState.cs: Make our .ctor internal - so we
+       don't expose a public .ctor at all.
+
+2010-06-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * IsolatedStorageFile.cs: Our 4.0 methods receiving a path should
+       either return false or throw an IsolatedStorageException if the path
+       refers to a directory outside the storage root.
+
+2010-06-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * IsolatedStorageFile.cs: In CheckOpen check that the directory for
+       the current storage is still valid, and throw an exception if needed.
+       Also, in the static Remove method call Directory.Delete only if the
+       directory exists, to avoid throwing an exception there.
+
+2010-06-03  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * MoonIsolatedStorage.cs: Make class internal so we can access it
+       from System.Window.dll to adjust quotas
+
+2010-06-02  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * IsolatedStorageFile.cs: Check for empty paths and existing paths in
+       both MoveFile and MoveDirectory, just as we do in CopyFile. Finally
+       cover our IO calls with a try-catch block, so all the IOException
+       instances are reported as IsolatedStorageException.
+
+2010-05-31  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * IsolatedStorage.cs:
+       * IsolatedStorageFile.cs: Implement AvailableFreeSpace, Quota,
+       UsedSize and IncreaseQuotaTo.
+
+2010-05-27  Carlos Alberto Cortez <calberto.cortez@gmail.com> 
+
+       * IsolatedStorageFile.cs: Implement CopyFile.
+
+2010-05-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * IsolatedStorageFile.cs: Implement GetCreationTime, GetLastAccessTime
+       and GetLastWriteTime, as well as creating a single method to check for
+       the closed/disposed fields.
+
+2010-05-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * IsolatedStorageFile.cs: Remove should call Close, just as .Net seems
+       to do.
+
+2010-05-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * IsolatedStorageFileStream.cs: When creating the instance, we should check 
+       for diposed first, and for closed on second place.
+       * IsolatedStorageFile.cs: Add Obsolete to CurrentSize and MaximumSize,
+       as part of 4.0.
+
+2010-05-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * IsolatedStorageFileStream.cs: When creating our instance check that
+       the IsolatedStorageFile is not closed/disposed.
+       * IsolatedStorageFile.cs: Expose closed/disposed info as internal
+       properties, as well as implement 4.0 MoveDirectory/MoveFile, CreateFile
+       and OpenFile methods.
+
+2010-05-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * IsolatedStorageFile.cs: Implement FileExists and DirectoryExists, as
+       well as adding fields to detect that Close/Dispose have been called
+       and fire the proper exceptions.
+
+2010-05-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       4.0 Updates.
+
+       * IsolatedStorage.cs: Add ObsoleteAttribute to CurrentSize and
+       MaximumSize.
+       * IsolatedStorageSecurityState.cs: New, stubbed.
+       * IsolatedStorageSecurityOptions.cs: New file.
+
+2010-05-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * IsolatedStorageFile.cs: Add the new 4.0 overloads for
+       GetDirectoryNames and GetFileNames.
+
+2010-03-16  Jb Evain  <jbevain@novell.com>
+
+       * IsolatedStorageFileEnumerator.cs
+       * MoonIsolatedStorageFileStream.cs
+       * MoonIsolatedStorageFile.cs
+       * MoonIsolatedStorage.cs
+       * IsolatedStorageScope.cs
+       * IsolatedStorageFileStream.cs
+       * IsolatedStorage.cs
+       * IsolatedStorageFile.cs:
+               use MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
+
+2009-11-01  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * MoonIsolatedStorageFile.cs: Add new CheckSearchPattern 
+       validation method. Fix GetDirectoryNames to behave like 
+       GetFileNames wrt searchPattern
+
+2009-08-30  Jb Evain  <jbevain@novell.com>
+
+       * IsolatedStorageFileEnumerator.cs
+       * MoonIsolatedStorageFileStream.cs
+       * MoonIsolatedStorageFile.cs
+       * MoonIsolatedStorage.cs
+       * IsolatedStorageScope.cs
+       * IsolatedStorageFileStream.cs
+       * IsolatedStorage.cs
+       * IsolatedStorageFile.cs:
+               Use the traditional net_2_0 version of isolated storage
+               for MonoTouch.
+
+2009-05-27  Jackson Harper  <jackson@ximian.com>
+
+       * MoonIsolatedStorageFile.cs: Allow paths in search patterns.
+
+2009-04-16  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * MoonIsolatedStorage.cs: New. Manage the shared (location, quota)
+       information about Moonlight isolated storage.
+       * MoonIsolatedStorageFile.cs: Adjust with new MoonIsolatedStorage.
+       Implement IncreaseQuotaTo UI.
+       * MoonIsolatedStorageFileStream.cs: Adjust with MoonIsolatedStorage.
+
+2009-04-16  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * IsolatedStorageFile.cs: Fix thread-safety issue at creation time.
+       [Fix bug #431039]
+       * IsolatedStorageFileStream.cs: Fix missing path check in Verify.
+       [Fix bug #487659]
+
+2008-12-23  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * IsolatedStorageFile.cs: Use Url as the default evidence type when
+       null is supplied.
+       [Fix bug #430932]
+
+2008-09-11  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * MoonIsolatedStorageFile.cs: Add application and iste specific 
+       initialization. Add rumenditary quota support (not thread or cross 
+       process safe). Add a bunch of TODO & FIXME.
+       * MoonIsolatedStorageFileStream.cs: Add quota checks (delegated 
+       into MoonIsolatedStorageFile).
+
+2008-09-05  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * MoonIsolatedStorageFile.cs: Add calls to PreCheck inside EndRead
+       and EndWrite methods.
+       * MoonIsolatedStorageFileStream.cs: Throw an IsolatedStorageException
+       when DeleteFile is called on an unexisting file.
+
+2008-08-22  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * MoonIsolatedStorageFile.cs: Implement Remove. Add a bunch of FIXME 
+       mostly related to quota.
+       * MoonIsolatedStorageFileStream.cs: Add a call to the container's
+       PreCheck method in most methods. Add FIXME for quota.
+
+2008-08-21  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * MoonIsolatedStorageFile.cs: Split Application and Site storage.
+       Start looking at quota.
+       * MoonIsolatedStorageFileStream.cs: Added more validation to 
+       ctors. Removed IsAsync (not in beta2). (SetLength) Start using some 
+       quota checks 
+
+2008-08-20  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * MoonIsolatedStorageFile.cs: More fixes to match unit tests.
+
+2008-08-20  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * MoonIsolatedStorageFile.cs: Fix API to match SL2 beta2. Start
+       implementing new feature (while writing unit tests).
+       * MoonIsolatedStorageFileStream.cs: Add new async methods [Begin|
+       End][Read|Write] present in b2. Fix endless recursion in WriteByte.
+
+2008-04-18  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * IsolatedStorageFile.cs: Fix CreateDirectory to accept multiple 
+       subdirectories. Avoid leaking full path in DeleteDirectory. Fix 
+       GetDirectoryNames to work with path (and the search pattern).
+       [Fix bug #376188]
+
+2008-03-28  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * IsolatedStorageFile.cs: Don't show the full path on exception if a 
+       directory can't be created (fix bug #354539). Also fix path/patterns when
+       looking for files (it behave differently than DirectoryInfo does).
+
+2008-01-17  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * IsolatedStorageFile.cs: Fix bug #354539
+
+2007-12-18  Stephane Delcroix  <sdelcroix@novell.com>
+
+       * IsolatedStorageFileEnumerator.cs: Ifdef'ing out too. Fixes the build.
+
+2007-12-18  Miguel de Icaza  <miguel@novell.com>
+
+       * Ifdef out the large bodies of code that will just not work with
+       Silverlight, ran into this problem again trying to run
+       http://fluxtools.net/emailphotos
+
+       Its not worth trying to alter this implementation of
+       IsolatedStorage to work in both the regular and the Moonlight
+       profiles, instead am going to write a simple implementation while
+       we wait for the real 2.0 API to come out.
+
+2007-11-06  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * IsolatedStorageFileStream.cs: Handle rooted paths. Patch by Jay
+       Miller to fix bug #324983.
+
+2006-04-07  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * IsolatedStorageFile.cs: Loading/saving the identities used to 
+       isolate the storage requires the permission to [de]serialize them too.
+
+2005-11-09  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * IsolatedStorageScope.cs: Added missing [Serializable] in 2.0 profile
+
+2005-10-04  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * IsolatedStorageFile.cs: Add a call to GC.SuppressFinalize in Dispose
+       (even if we're not disposing anything).
+
+2005-06-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * IsolatedStorageFile.cs: Only assembly evidences are considered to
+       resolve policy. Changed resolve method used (instead of changing it's
+       code).
+
+2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * IsolatedStorageFileStream.cs: Remove Close method from NET_2_0.
+       * IsolatedStorageFile.cs: Implemented missing MaximumSize property
+       and GetPermission method.
+
+2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * IsolatedStorageFileStream.cs: check the FileMode here as FileStream
+       throws a different exception.
+
+2005-04-25  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * INormalizeForIsolatedStorage.cs: Added [ComVisible(true)] for 2.0.
+       * IsolatedStorage.cs: Added [ComVisible(true)] for 2.0 except for new
+       property ApplicationIdentity.
+       * IsolatedStorageException.cs: Added [ComVisible(true)] for 2.0.
+       * IsolatedStorageFile.cs: Now calls UnprotectedGetEvidence to get the 
+       assembly evidences. Added [ComVisible(true)] for 2.0.
+       * IsolatedStorageFileStream.cs: Added [ComVisible(true)] for 2.0.
+       * IsolatedStorageScope.cs: Added [ComVisible(true)] for 2.0.
+
 2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
 
        * IsolatedStorageFile.cs: Added an assert for unrestricted file access