ChangeLog 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  1. 2010-05-31 Carlos Alberto Cortez <[email protected]>
  2. * IsolatedStorage.cs:
  3. * IsolatedStorageFile.cs: Implement AvailableFreeSpace, Quota,
  4. UsedSize and IncreaseQuotaTo.
  5. 2010-05-27 Carlos Alberto Cortez <[email protected]>
  6. * IsolatedStorageFile.cs: Implement CopyFile.
  7. 2010-05-27 Carlos Alberto Cortez <[email protected]>
  8. * IsolatedStorageFile.cs: Implement GetCreationTime, GetLastAccessTime
  9. and GetLastWriteTime, as well as creating a single method to check for
  10. the closed/disposed fields.
  11. 2010-05-26 Carlos Alberto Cortez <[email protected]>
  12. * IsolatedStorageFile.cs: Remove should call Close, just as .Net seems
  13. to do.
  14. 2010-05-24 Carlos Alberto Cortez <[email protected]>
  15. * IsolatedStorageFileStream.cs: When creating the instance, we should check
  16. for diposed first, and for closed on second place.
  17. * IsolatedStorageFile.cs: Add Obsolete to CurrentSize and MaximumSize,
  18. as part of 4.0.
  19. 2010-05-24 Carlos Alberto Cortez <[email protected]>
  20. * IsolatedStorageFileStream.cs: When creating our instance check that
  21. the IsolatedStorageFile is not closed/disposed.
  22. * IsolatedStorageFile.cs: Expose closed/disposed info as internal
  23. properties, as well as implement 4.0 MoveDirectory/MoveFile, CreateFile
  24. and OpenFile methods.
  25. 2010-05-23 Carlos Alberto Cortez <[email protected]>
  26. * IsolatedStorageFile.cs: Implement FileExists and DirectoryExists, as
  27. well as adding fields to detect that Close/Dispose have been called
  28. and fire the proper exceptions.
  29. 2010-05-21 Carlos Alberto Cortez <[email protected]>
  30. 4.0 Updates.
  31. * IsolatedStorage.cs: Add ObsoleteAttribute to CurrentSize and
  32. MaximumSize.
  33. * IsolatedStorageSecurityState.cs: New, stubbed.
  34. * IsolatedStorageSecurityOptions.cs: New file.
  35. 2010-05-20 Carlos Alberto Cortez <[email protected]>
  36. * IsolatedStorageFile.cs: Add the new 4.0 overloads for
  37. GetDirectoryNames and GetFileNames.
  38. 2010-03-16 Jb Evain <[email protected]>
  39. * IsolatedStorageFileEnumerator.cs
  40. * MoonIsolatedStorageFileStream.cs
  41. * MoonIsolatedStorageFile.cs
  42. * MoonIsolatedStorage.cs
  43. * IsolatedStorageScope.cs
  44. * IsolatedStorageFileStream.cs
  45. * IsolatedStorage.cs
  46. * IsolatedStorageFile.cs:
  47. use MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
  48. 2009-11-01 Sebastien Pouliot <[email protected]>
  49. * MoonIsolatedStorageFile.cs: Add new CheckSearchPattern
  50. validation method. Fix GetDirectoryNames to behave like
  51. GetFileNames wrt searchPattern
  52. 2009-08-30 Jb Evain <[email protected]>
  53. * IsolatedStorageFileEnumerator.cs
  54. * MoonIsolatedStorageFileStream.cs
  55. * MoonIsolatedStorageFile.cs
  56. * MoonIsolatedStorage.cs
  57. * IsolatedStorageScope.cs
  58. * IsolatedStorageFileStream.cs
  59. * IsolatedStorage.cs
  60. * IsolatedStorageFile.cs:
  61. Use the traditional net_2_0 version of isolated storage
  62. for MonoTouch.
  63. 2009-05-27 Jackson Harper <[email protected]>
  64. * MoonIsolatedStorageFile.cs: Allow paths in search patterns.
  65. 2009-04-16 Sebastien Pouliot <[email protected]>
  66. * MoonIsolatedStorage.cs: New. Manage the shared (location, quota)
  67. information about Moonlight isolated storage.
  68. * MoonIsolatedStorageFile.cs: Adjust with new MoonIsolatedStorage.
  69. Implement IncreaseQuotaTo UI.
  70. * MoonIsolatedStorageFileStream.cs: Adjust with MoonIsolatedStorage.
  71. 2009-04-16 Sebastien Pouliot <[email protected]>
  72. * IsolatedStorageFile.cs: Fix thread-safety issue at creation time.
  73. [Fix bug #431039]
  74. * IsolatedStorageFileStream.cs: Fix missing path check in Verify.
  75. [Fix bug #487659]
  76. 2008-12-23 Sebastien Pouliot <[email protected]>
  77. * IsolatedStorageFile.cs: Use Url as the default evidence type when
  78. null is supplied.
  79. [Fix bug #430932]
  80. 2008-09-11 Sebastien Pouliot <[email protected]>
  81. * MoonIsolatedStorageFile.cs: Add application and iste specific
  82. initialization. Add rumenditary quota support (not thread or cross
  83. process safe). Add a bunch of TODO & FIXME.
  84. * MoonIsolatedStorageFileStream.cs: Add quota checks (delegated
  85. into MoonIsolatedStorageFile).
  86. 2008-09-05 Sebastien Pouliot <[email protected]>
  87. * MoonIsolatedStorageFile.cs: Add calls to PreCheck inside EndRead
  88. and EndWrite methods.
  89. * MoonIsolatedStorageFileStream.cs: Throw an IsolatedStorageException
  90. when DeleteFile is called on an unexisting file.
  91. 2008-08-22 Sebastien Pouliot <[email protected]>
  92. * MoonIsolatedStorageFile.cs: Implement Remove. Add a bunch of FIXME
  93. mostly related to quota.
  94. * MoonIsolatedStorageFileStream.cs: Add a call to the container's
  95. PreCheck method in most methods. Add FIXME for quota.
  96. 2008-08-21 Sebastien Pouliot <[email protected]>
  97. * MoonIsolatedStorageFile.cs: Split Application and Site storage.
  98. Start looking at quota.
  99. * MoonIsolatedStorageFileStream.cs: Added more validation to
  100. ctors. Removed IsAsync (not in beta2). (SetLength) Start using some
  101. quota checks
  102. 2008-08-20 Sebastien Pouliot <[email protected]>
  103. * MoonIsolatedStorageFile.cs: More fixes to match unit tests.
  104. 2008-08-20 Sebastien Pouliot <[email protected]>
  105. * MoonIsolatedStorageFile.cs: Fix API to match SL2 beta2. Start
  106. implementing new feature (while writing unit tests).
  107. * MoonIsolatedStorageFileStream.cs: Add new async methods [Begin|
  108. End][Read|Write] present in b2. Fix endless recursion in WriteByte.
  109. 2008-04-18 Sebastien Pouliot <[email protected]>
  110. * IsolatedStorageFile.cs: Fix CreateDirectory to accept multiple
  111. subdirectories. Avoid leaking full path in DeleteDirectory. Fix
  112. GetDirectoryNames to work with path (and the search pattern).
  113. [Fix bug #376188]
  114. 2008-03-28 Sebastien Pouliot <[email protected]>
  115. * IsolatedStorageFile.cs: Don't show the full path on exception if a
  116. directory can't be created (fix bug #354539). Also fix path/patterns when
  117. looking for files (it behave differently than DirectoryInfo does).
  118. 2008-01-17 Sebastien Pouliot <[email protected]>
  119. * IsolatedStorageFile.cs: Fix bug #354539
  120. 2007-12-18 Stephane Delcroix <[email protected]>
  121. * IsolatedStorageFileEnumerator.cs: Ifdef'ing out too. Fixes the build.
  122. 2007-12-18 Miguel de Icaza <[email protected]>
  123. * Ifdef out the large bodies of code that will just not work with
  124. Silverlight, ran into this problem again trying to run
  125. http://fluxtools.net/emailphotos
  126. Its not worth trying to alter this implementation of
  127. IsolatedStorage to work in both the regular and the Moonlight
  128. profiles, instead am going to write a simple implementation while
  129. we wait for the real 2.0 API to come out.
  130. 2007-11-06 Sebastien Pouliot <[email protected]>
  131. * IsolatedStorageFileStream.cs: Handle rooted paths. Patch by Jay
  132. Miller to fix bug #324983.
  133. 2006-04-07 Sebastien Pouliot <[email protected]>
  134. * IsolatedStorageFile.cs: Loading/saving the identities used to
  135. isolate the storage requires the permission to [de]serialize them too.
  136. 2005-11-09 Sebastien Pouliot <[email protected]>
  137. * IsolatedStorageScope.cs: Added missing [Serializable] in 2.0 profile
  138. 2005-10-04 Sebastien Pouliot <[email protected]>
  139. * IsolatedStorageFile.cs: Add a call to GC.SuppressFinalize in Dispose
  140. (even if we're not disposing anything).
  141. 2005-06-22 Sebastien Pouliot <[email protected]>
  142. * IsolatedStorageFile.cs: Only assembly evidences are considered to
  143. resolve policy. Changed resolve method used (instead of changing it's
  144. code).
  145. 2005-06-14 Sebastien Pouliot <[email protected]>
  146. * IsolatedStorageFileStream.cs: Remove Close method from NET_2_0.
  147. * IsolatedStorageFile.cs: Implemented missing MaximumSize property
  148. and GetPermission method.
  149. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  150. * IsolatedStorageFileStream.cs: check the FileMode here as FileStream
  151. throws a different exception.
  152. 2005-04-25 Sebastien Pouliot <[email protected]>
  153. * INormalizeForIsolatedStorage.cs: Added [ComVisible(true)] for 2.0.
  154. * IsolatedStorage.cs: Added [ComVisible(true)] for 2.0 except for new
  155. property ApplicationIdentity.
  156. * IsolatedStorageException.cs: Added [ComVisible(true)] for 2.0.
  157. * IsolatedStorageFile.cs: Now calls UnprotectedGetEvidence to get the
  158. assembly evidences. Added [ComVisible(true)] for 2.0.
  159. * IsolatedStorageFileStream.cs: Added [ComVisible(true)] for 2.0.
  160. * IsolatedStorageScope.cs: Added [ComVisible(true)] for 2.0.
  161. 2005-03-24 Sebastien Pouliot <[email protected]>
  162. * IsolatedStorageFile.cs: Added an assert for unrestricted file access
  163. to the class. This is "ok" as the user cannot control the base path
  164. for isolated storage but will be updated to be more "precise" when
  165. imperative assert are supported in the runtime.
  166. * IsolatedStorageFileStream.cs: Changed constructors so the assert
  167. for unrestricted file access is limited to constructors (not the whole
  168. class). Added LinkDemand for UnmanagedCode to get Handle and
  169. SafeFileHandle (2.0) properties.
  170. 2005-03-17 Sebastien Pouliot <[email protected]>
  171. * IsolatedStorageScope.cs: Add missing BOOTSTRAP_NET_2_0 to new enum
  172. values. Fix #73046.
  173. * IsolatedStorageFile.cs: Remove commented security attributes.
  174. 2005-03-15 Sebastien Pouliot <[email protected]>
  175. * IsolatedStorageFile.cs: Added CAS demands (imperative when possible)
  176. for IsolatedStoragePermission. The security attributes for NET_2_0 are
  177. commented until #73046 is fixed.
  178. * IsolatedStorageFileStream.cs: Now use StackFrame(2) to find which
  179. assembly is really calling the IsolatedStorageFileStream when no
  180. default is supplied. Throw DirectoryNotFoundException when a directory
  181. inside the isolated storage is missing.
  182. 2005-01-31 Sebastien Pouliot <[email protected]>
  183. * IsolatedStorage.cs: Added checks to get identities.
  184. * IsolatedStorageFile.cs: Added support for identities (assembly,
  185. domain and, for 2.0, application).
  186. * IsolatedStorageFileEnumerator.cs: New. Internal enumerator for
  187. IsolatedStorageFile.
  188. * IsolatedStorageFileStream.cs: Now use the new FileStream
  189. constructor to ensure filestream name stays [Unknown].
  190. * IsolatedStorageInfo.cs: Removed (no more required).
  191. * IsolatedStorageScope.cs: Added new 2.0 scopes: Application and
  192. Machine.
  193. 2004-07-11 Gonzalo Paniagua Javier <[email protected]>
  194. * IsolatedStorageInfo.cs: useGetFolderPath instead of getting "HOME".
  195. 2004-06-13 Gert Driesen <[email protected]>
  196. * IsolatedStorage.cs: really mark the storage_scope field private
  197. 2004-06-09 Gert Dresen <[email protected]>
  198. * IsolatedStorage.cs: use private variable for holding scope,
  199. set scope in InitStore method, removed need for extra protected
  200. member (public API fix)
  201. * IsolatedStorageFile.cs: use InitStore to initialize scope
  202. 2004-05-12 Sebastien Pouliot <[email protected]>
  203. * IsolatedStorage.cs: More details on MonoTODO. Throw exceptions on
  204. AssemblyIdentity and DomainIdentity properties.
  205. * IsolatedStorageFile.cs: More details on MonoTODO.
  206. * IsolatedStorageFileStream.cs: Removed MonoTODO on class. Now use
  207. Path.Combine to build filenames (constructor) and throw an exception
  208. when we try to get the handle (as documented).
  209. 2003-07-30 Duncan Mak <[email protected]>
  210. * IsolatedStorageInfo.cs (CreateAssemblyFilename):
  211. (CreateDomainFilename): Replace String.Format with Path.Combine.
  212. * IsolatedStorageFile.cs:
  213. (GetStore): Update storage_scope accordingly.
  214. (GetUseStoreForAssembly): Include IsolatedStorageScope.User.
  215. (GetUseStoreForDomain): Include IsolatedStorageScope.User and
  216. IsolatedStorageScope.Assembly.
  217. * IsolatedStorage.cs:
  218. (CurrentSize):
  219. (MaximumSize): throw InvalidOperationExceptions. This is a
  220. subclass responsibility.
  221. (Scope): Implemented using a static field, storage_scope.
  222. (SeparatorInternal)
  223. (SeparatorExternal): Implemented. Use Path.DirectorySeparatorChar
  224. for SeparatorExternal.
  225. 2003-02-18 Jonathan Pryor <[email protected]>
  226. * IsolatedStorageFile.cs: Fix spelling error (GetUseStoreForDomain -->
  227. GetUserStoreFor Domain). Reported by
  228. Torsten Rendelmann <[email protected]>.
  229. 2003-01-19 Sebastien Pouliot <[email protected]>
  230. * IsolatedStorageFile.cs: Added missing [CLSCompliant(false)]
  231. to CurrentSize and MaximumSize to fix compilation (at least
  232. under Windows/csc).
  233. 2003-01-18 Jonathan Pryor <[email protected]>
  234. - General: Get a simple implementation working. Simple, not-all-there, but
  235. sufficient to get "Programming C#" example 21-17 working under Mono. This
  236. doesn't say much, as it's not a stress-test by any means.
  237. * INormalizeForIsolatedStorage.cs: re-indent to fit mono code style
  238. * IsolatedStorage.cs: match mono coding guidelines
  239. * IsolatedStorageFileStream.cs: Add members that "C# In A Nutshell" claims
  240. the class should override. Most of these members just delegate to the
  241. base class, though. CreateIsolatedPath is used to get the actual filename
  242. for the IsolatedStorageFileStream.
  243. * IsolatedStorageScope.cs: Documentation goes in monodoc, so there's no
  244. point in having C# doc-tags. Add "Roaming" member, which "C# In A
  245. Nutshell" lists.
  246. * IsolatedStorageFile.cs: Public class documented in "C# In A Nutshell".
  247. Simple implementation. Will probably need work to conform with .NET,
  248. address security concerns.
  249. * IsolatedStorageInfo.cs: Abstract IsolatedStorage information used by other
  250. classes, such as the directory isolated storage is located under, how to
  251. calculate the size of isolated storage, etc.
  252. 2002-02-19 Duncan Mak <[email protected]>
  253. * IsolatedStorageFileStream.cs: Added MonoTODO here. This class
  254. is completely stubbed out (over the summer) and didn't get
  255. properly MonoTODO'd.
  256. 2002-02-08 Duncan Mak <[email protected]>
  257. * IsolatedStorage.cs: Looked at MemberInfo.cs, another fellow
  258. abstract class. Oh, that's what it means! Removed unnesscessary
  259. MonoTODO attributes.
  260. 2002-02-07 Duncan Mak <[email protected]>
  261. * IsolatedStorage.cs: Added to CVS, stubbed out the API.
  262. * IsolatedStorageException.cs: Implemented.
  263. 2002-01-07 Duco Fijma <[email protected]>
  264. * Created INormalizeForIsolatedStorage