New test.
[mono.git] / mcs / class / corlib / System.Security / ChangeLog
index 34c747b597bbd21650dd6fe802a9daabbcd79563..1dab8893fb833370f93775863d4c17f0b18c6b25 100644 (file)
@@ -1,3 +1,189 @@
+2010-03-23  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SecurityManager_2_1.cs: Add an internal HasElevatedPermissions 
+       property to mscorlib since the "real" (i.e. visible) one in 
+       System.Windows.dll is not accessible by most code.
+
+2010-03-16  Jb Evain  <jbevain@novell.com>
+
+       * SecurityTransparentAttribute.cs
+       * SecurityFrame.cs
+       * IPermission.cs
+       * SecurityManager.cs
+       * SecurityManager_2_1.cs
+       * SecuritySafeCriticalAttribute.cs:
+               use MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
+
+2009-10-30     Marek Safar  <marek.safar@gmail.com>
+
+       * SecurityRuleSet.cs, SecurityRulesAttribute.cs: Implemented.
+
+2009-10-23  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SecurityManager_2_1.cs: Return to duty for SecurityEnabled, it
+       will allow us to distinguish between running in the browser
+       (coreclr active) and on the console (e.g. smcs) from managed code
+
+2009-09-23  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SecurityContext.cs: Remove NET_2_1 defines since the type is
+       now unused in NET_2_1 profile
+
+2009-09-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * CodeAccessPermission_2_1.cs: New. Stub to compile NET_2_1
+       * IPermission.cs: Remove ISecurityEncodable for NET_2_1
+       * PermissionSet_2_1.cs: New. Stub to compile NET_2_1
+       * SecurityContext.cs: Remove usage of CompressedStack for NET_2_1
+       * SecurityException_2_1.cs: New, CAS-less version for NET_2_1
+       * SecurityException.cs: Remove NET_2_1 conditions
+       * SecurityFrame.cs: Keep structures (needed by the runtime) but
+       remove SecurityFrame itself for NET_2_1
+
+2009-09-21  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SecurityContext.cs: Don't use WindowsIdentity under NET_2_1
+
+2009-09-09  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SecurityManager.cs, SecurityManager_2_1.cs: Replace existing
+       throw methods (for coreclr) with a single one.
+
+2009-05-02  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * CodeAccessPermission.cs (ThrowSecurityException): Don't include
+       CAS-specific information when throwing a SecurityException in
+       NET_2_1
+
+2009-05-01  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * SecurityCriticalAttribute.cs: Add simpler version NET_2_1
+       * SecuritySafeCriticalAttribute.cs: Remove MonoTODO for NET_2_1
+       * SecurityTransparentAttribute.cs: Remove MonoTODO for NET_2_1
+
+2009-05-01  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SecurityState.cs: Implement IsStateAvailable (added in 2.0SP 
+       and part of SL API)
+
+2009-04-27  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SecurityException.cs: Remove CAS-specific stuff from ToString
+       * SecurityManager.cs: Do not include for NET_2_1 build
+       * SecurityManager_2_1.cs: Alternate implementation for NET_2_1
+
+2009-03-19  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SecurityManager.cs: Remove VerificationException (not used from
+       the runtime anymore) and add FieldAccessException (which is now, 
+       or soon will be, required/used by the runtime).
+
+2009-02-19  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * SecurityManager.cs: Make core-clr work under non 2.1 profiles.
+
+2008-09-15  Jb Evain  <jbevain@novell.com>
+
+       * SecuritySafeCriticalAttribute.cs: Include SecuritySafeCritical in
+       the net_2_0 profile, as a recent sp includes it.
+
+2008-08-07  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SecurityState.cs: New. Silverlight 2.0 abstract type.
+
+2008-05-30  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * CodeAccessPermission.cs,
+       * PermissionSet.cs,
+       * SecurityManager.cs: Provide better MonoTODO messages for the 
+       next version of MoMA.
+
+2008-04-02  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
+
+       * VerificationException.cs
+       * SecurityElement.cs
+       * SecurityContext.cs
+       * NamedPermissionSet.cs
+       * HostProtectionException.cs: Fix parameter names
+
+2008-01-02  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * SecureString.cs: Fix InsertAt buffer calculation. Fix #350820
+
+2008-01-02  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SecureString.cs: Don't forget length in Copy. Fix #350840
+
+2007-11-07  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SecurityElement.cs :
+         set_Text() should unescape the input string. get_Text() should
+         return unescaped string. It also applies to attribute value.
+         ToString() should return valid (escaped) XML.
+
+2007-10-14  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SecurityElement.cs: In ctors, do not assign to Tag property to
+       ensure exception message match that of MS. In Tag property, set name
+       of parameter in ArgumentNullException and do not filter out
+       namespace prefixes. Modified Text property to allow null values
+       after change to IsValidText that no longer considers null value as
+       valid. Avoid NRE in Escape.
+
+2007-08-28  Mark Probst  <mark.probst@gmail.com>
+
+       * SecurityManager.cs: Changed method argument of
+       LinkDemandSecurityException to IntPtr and removed the assembly
+       argument (which can be gotten to via the method), to avoid having
+       to embed reference object values in the native code.
+
+2007-08-20  Mark Probst  <mark.probst@gmail.com>
+
+       * SecurityManager.cs: Changed arguments of MethodAccessException
+       to IntPtr, to avoid having to embed reference object values in the
+       native code.
+
+2007-08-20  Mark Probst  <mark.probst@gmail.com>
+
+       * SecurityManager.cs: Added two methods needed for CoreCLR
+       security.
+
+2007-08-08  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SecureString.cs : commenting out internal call. It somehow seems
+         to cause timeout on the buildbots :(
+
+2007-08-07  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SecureString.cs : adding notes that ProtectedMemory is not
+         implemented for non-windows environment.
+
+2007-08-07  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SecureString.cs : Decrypt() and Encrypt() now use icall wrapper
+         to ProtectedMemory in System.Security.dll.
+
+2007-02-23  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PermissionSet.cs: Fix InvalidCastException on non-CAS permissions.
+       Fix bug #80936.
+
+2006-06-16  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SecurityContext.cs: Don't skip the calling callBack if we don't call
+       CompressedStack.Run (#78652).
+
+2006-06-15  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SecurityContext.cs: Don't call CompressedStack.Run if we don't have
+       a compressed stack in the context (which can now happen because of 
+       #78652). This should fix MWF bug #78652 (BeginInvoke under 2.0).
+
+2006-04-07  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SecurityException.cs: Show Evidence correctly (it's a collection) 
+       but avoid showing the Hash evidence (it's way too big to be useful).
+
 2005-11-11  Sebastien Pouliot  <sebastien@ximian.com> 
 
        * SecureString.cs: Completed InsertAt, fixed Alloc not to re-alloc a