1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428
|
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
to the class. This is "ok" as the user cannot control the base path
for isolated storage but will be updated to be more "precise" when
imperative assert are supported in the runtime.
* IsolatedStorageFileStream.cs: Changed constructors so the assert
for unrestricted file access is limited to constructors (not the whole
class). Added LinkDemand for UnmanagedCode to get Handle and
SafeFileHandle (2.0) properties.
2005-03-17 Sebastien Pouliot <sebastien@ximian.com>
* IsolatedStorageScope.cs: Add missing BOOTSTRAP_NET_2_0 to new enum
values. Fix #73046.
* IsolatedStorageFile.cs: Remove commented security attributes.
2005-03-15 Sebastien Pouliot <sebastien@ximian.com>
* IsolatedStorageFile.cs: Added CAS demands (imperative when possible)
for IsolatedStoragePermission. The security attributes for NET_2_0 are
commented until #73046 is fixed.
* IsolatedStorageFileStream.cs: Now use StackFrame(2) to find which
assembly is really calling the IsolatedStorageFileStream when no
default is supplied. Throw DirectoryNotFoundException when a directory
inside the isolated storage is missing.
2005-01-31 Sebastien Pouliot <sebastien@ximian.com>
* IsolatedStorage.cs: Added checks to get identities.
* IsolatedStorageFile.cs: Added support for identities (assembly,
domain and, for 2.0, application).
* IsolatedStorageFileEnumerator.cs: New. Internal enumerator for
IsolatedStorageFile.
* IsolatedStorageFileStream.cs: Now use the new FileStream
constructor to ensure filestream name stays [Unknown].
* IsolatedStorageInfo.cs: Removed (no more required).
* IsolatedStorageScope.cs: Added new 2.0 scopes: Application and
Machine.
2004-07-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* IsolatedStorageInfo.cs: useGetFolderPath instead of getting "HOME".
2004-06-13 Gert Driesen <drieseng@users.sourceforge.net>
* IsolatedStorage.cs: really mark the storage_scope field private
2004-06-09 Gert Dresen <drieseng@users.sourceforge.net>
* IsolatedStorage.cs: use private variable for holding scope,
set scope in InitStore method, removed need for extra protected
member (public API fix)
* IsolatedStorageFile.cs: use InitStore to initialize scope
2004-05-12 Sebastien Pouliot <sebastien@ximian.com>
* IsolatedStorage.cs: More details on MonoTODO. Throw exceptions on
AssemblyIdentity and DomainIdentity properties.
* IsolatedStorageFile.cs: More details on MonoTODO.
* IsolatedStorageFileStream.cs: Removed MonoTODO on class. Now use
Path.Combine to build filenames (constructor) and throw an exception
when we try to get the handle (as documented).
2003-07-30 Duncan Mak <duncan@ximian.com>
* IsolatedStorageInfo.cs (CreateAssemblyFilename):
(CreateDomainFilename): Replace String.Format with Path.Combine.
* IsolatedStorageFile.cs:
(GetStore): Update storage_scope accordingly.
(GetUseStoreForAssembly): Include IsolatedStorageScope.User.
(GetUseStoreForDomain): Include IsolatedStorageScope.User and
IsolatedStorageScope.Assembly.
* IsolatedStorage.cs:
(CurrentSize):
(MaximumSize): throw InvalidOperationExceptions. This is a
subclass responsibility.
(Scope): Implemented using a static field, storage_scope.
(SeparatorInternal)
(SeparatorExternal): Implemented. Use Path.DirectorySeparatorChar
for SeparatorExternal.
2003-02-18 Jonathan Pryor <jonpryor@vt.edu>
* IsolatedStorageFile.cs: Fix spelling error (GetUseStoreForDomain -->
GetUserStoreFor Domain). Reported by
Torsten Rendelmann <torsten.rendelmann@procos.com>.
2003-01-19 Sebastien Pouliot <spouliot@videotron.ca>
* IsolatedStorageFile.cs: Added missing [CLSCompliant(false)]
to CurrentSize and MaximumSize to fix compilation (at least
under Windows/csc).
2003-01-18 Jonathan Pryor <jonpryor@vt.edu>
- General: Get a simple implementation working. Simple, not-all-there, but
sufficient to get "Programming C#" example 21-17 working under Mono. This
doesn't say much, as it's not a stress-test by any means.
* INormalizeForIsolatedStorage.cs: re-indent to fit mono code style
* IsolatedStorage.cs: match mono coding guidelines
* IsolatedStorageFileStream.cs: Add members that "C# In A Nutshell" claims
the class should override. Most of these members just delegate to the
base class, though. CreateIsolatedPath is used to get the actual filename
for the IsolatedStorageFileStream.
* IsolatedStorageScope.cs: Documentation goes in monodoc, so there's no
point in having C# doc-tags. Add "Roaming" member, which "C# In A
Nutshell" lists.
* IsolatedStorageFile.cs: Public class documented in "C# In A Nutshell".
Simple implementation. Will probably need work to conform with .NET,
address security concerns.
* IsolatedStorageInfo.cs: Abstract IsolatedStorage information used by other
classes, such as the directory isolated storage is located under, how to
calculate the size of isolated storage, etc.
2002-02-19 Duncan Mak <duncan@ximian.com>
* IsolatedStorageFileStream.cs: Added MonoTODO here. This class
is completely stubbed out (over the summer) and didn't get
properly MonoTODO'd.
2002-02-08 Duncan Mak <duncan@ximian.com>
* IsolatedStorage.cs: Looked at MemberInfo.cs, another fellow
abstract class. Oh, that's what it means! Removed unnesscessary
MonoTODO attributes.
2002-02-07 Duncan Mak <duncan@ximian.com>
* IsolatedStorage.cs: Added to CVS, stubbed out the API.
* IsolatedStorageException.cs: Implemented.
2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
* Created INormalizeForIsolatedStorage
|