* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / corlib / System.Security.Permissions / ChangeLog
index 71a6e43c2cb941aa5aae949e849633e7fd22fdfa..9f9344ad431c51af609794be9e8dc2f6a6084be6 100644 (file)
@@ -1,3 +1,358 @@
+2006-05-30  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * CodeAccessSecurityAttribute.cs: Under 2.0 the ctor is protected.
+       * IsolatedStoragePermissionAttribute.cs: Under 2.0 the ctor is 
+       protected.
+       * IsolatedStoragePermission.cs: Under 2.0 the ctor is protected.
+       * SecurityAttribute.cs: Under 2.0 the ctor is protected.
+
+2006-04-07  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * FileIOPermission.cs: Ensure the "bad" path characters match the OS
+       ones. Reworked the code to avoid the modifiable array trap present in
+       Fx 1.x and to be more precise in the 2.0 profile.
+
+2005-11-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * IsolatedStoragePermission.cs: Updated FromXml with
+       the latest signature modifications to Parse methods 
+       inside System ns.
+
+2005-11-09  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * EnvironmentPermissionAccess.cs: Added missing [Serializable] (2.0).
+       * FileIOPermissionAccess.cs: Added missing [Serializable] (2.0).
+       * PermissionState.cs: Added missing [Serializable] (2.0).
+       * ReflectionPermissionFlag.cs: Added missing [Serializable] (2.0).
+       * RegistryPermissionAccess.cs: Added missing [Serializable] (2.0).
+       * UIPermissionClipboard.cs: Added missing [Serializable] (2.0).
+       * UIPermissionWindow.cs: Added missing [Serializable] (2.0).
+
+2005-09-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ReflectionPermissionAttribute.cs: TypeInformation is obsolete.
+       * SecurityAction.cs: *Choice security actions are removed in 2.0 RC.
+
+2005-06-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * FileIOPermission.cs, IsolatedStorageFilePermission.cs, 
+       KeyContainerPermission.cs, RegistryPermission.cs: better comments on
+       remaining TODO (all 2.0 related) to ease grepping.
+
+2005-06-16  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PrincipalPermission.cs: Fixed IsSubsetOf method when permission is
+       empty.
+
+2005-06-10  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * StrongNamePublicKeyBlob.cs: Reduce casts in Equals.
+
+2005-06-09  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * all: Added ComVisible(true) and some Obsolete attributes for NET_2_0
+
+2005-06-07  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * IsolatedStorageFilePermission.cs: Removed unrequired TODO on ctor.
+       Added ComVisible for NET_2_0.
+       * GacIdentityPermissionAttribute.cs: Removed FIXME. Added ComVisible 
+       for NET_2_0.
+
+2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * HostProtectionAttribute.cs: Fixes flag cleaning logical 
+       operation (found by Jordi).
+       * SecurityPermissionAttribute.cs: Fixes flag cleaning logical 
+       operation (this is the original sinner ;-).
+
+2005-05-16  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * IsolatedStoragePermission.cs: Added UserQuota attribute in XML.
+
+2005-05-12  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * PermissionSetAttribute.cs : MiniParser->SmallXmlParser changes.
+
+2005-04-26  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * IBuiltInPermission.cs: Fixed index values for GacIdentityPermission
+       and KeyContainerPermission. Removed DataProtectionPermission.
+       * IsolatedStorageContainment.cs: Fixed ApplicationIsolationByUser 
+       value to 0x15.
+       * UrlIdentityPermission.cs: Fixed differences between 1.x and 2.0.
+
+2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * FileIOPermission.cs: Now use InsecureGetFullPath to add paths to 
+       it's lists (as GetFullPath is more restricted than the permission).
+       Removed unrequired use of GetFullPath in union and subset ops.
+       * IsolatedStoragePermission.cs: Added InheritanceDemand for 
+       ControlEvidence and ControlPolicy on class.
+
+2005-03-17  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * IsolatedStorageContainment.cs: Add missing BOOTSTRAP_NET_2_0 to new
+       enum values. Fix bug #73046.
+
+2005-03-17  Martin Baulig  <martin@ximian.com>
+
+       * SecurityAction.cs: Use `#if NET_2_0 || BOOTSTRAP_NET_2_0'.
+
+2005-02-24  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * GacIdentityPermission.cs: Fixed warning.
+       * StrongNameIdentityPermission.cs: Added support for multiple entries
+       for NET_2_0 profile (required for SecurityAction.*DemandChoice).
+
+2005-01-24  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * FileIOPermission.cs: Removed old commented code and a LAMESPEC (as 
+       current documentation has been corrected).
+
+2005-01-19  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SiteIdentityPermission.cs: Fix case were the wildcard '*' is present
+       but not the first character of the site.
+
+2005-01-11  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PermissionSetAttribute.cs: Throw proper exception if XML cannot be
+       decoded. Actually load (not just creates) the XML permissions.
+
+2005-01-08  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PermissionSetAttribute.cs: Implemented Hex property (2.0) now that
+       it is documented.
+       * RegistryPermission.cs: Added text to MonoTODO, i.e. lack of access 
+       control support.
+       * KeyContainerPermissionFlags.cs: Fixed values for ViewAcl and 
+       ChangeAcl (a hole as been left). This also corrects AllFlags.
+
+2005-01-05  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * DataProtectionPermission.cs: Moving to System.Security assembly.
+       * DataProtectionPermissionAttribute.cs: Moving to System.Security.dll.
+       * DataProtectionFlags.cs: Moving to System.Security assembly.
+       * KeyContainerPermissionFlags.cs: Added ViewAcl and ChangeAcl (added
+       after beta1). Corrected AllFlags (with new entries).
+
+2004-11-26  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * FileIOPermission.cs:
+       * IsolatedStorageFilePermission.cs:
+       * PrincipalPermission.cs:
+               Added ComVisible attributes to match 2.0 October Preview.
+
+2004-10-15  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PrincipalPermission.cs: Fixed bug in Intersect (thanks to Alain
+       Normandin). Changed XML tag to "Permission" (not "IPermission").
+
+2004-10-05  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PrincipalPermission.cs: Fixed bug where a change to a permission
+       (e.g. Copy, Union) could affect multiple instances. Fixed FromXml
+       to clear existing entries.
+
+2004-09-16  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SiteIdentityPermission.cs: Fixed warning (l4) for unused variable.
+       * StrongNameIdentityPermissionAttribute.cs: Fixed warning (l4)...
+
+2004-09-04  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * FileIOPermission.cs: Reworked to support partial paths, non-c14n
+       paths (like ..) and PathDiscovery in XML. Now runs MSDN sample.
+       * RegistryPermission.cs: Removed unrequired variable.
+
+2004-09-03  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * EnvironmentPermission.cs: Fixed Unrestricted in FromXml.
+       * RegistryPermission.cs: Completed implementation wrt Fx 1.1.
+
+2004-09-03  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * EnvironmentPermission.cs: Fixed GetPathList which has little 
+       differences between Fx 1.1 and 2.0. Required to run the MSDN samples.
+       * FileDialogPermission.cs: Fixed IsSubsetOf and Intersect.
+       * RegistryPermission.cs: Fixed ToXml to avoid NullReferenceException.
+       Required to run the MSDN library samples.
+       * SecurityPermission.cs: Return null for an empty intersection. 
+       Required to run the MSDN library samples.
+       * SiteIdentityPermission.cs: Implemented wildcard support in 
+       Intersect, IsSubsetOf and Union.
+       * StrongNameIdentityPermission.cs: Implemented wildcard support in 
+       Intersect, IsSubsetOf and Union. Fixed ToXml to pass the MSDN samples.
+       * UrlIdentityPermission.cs: Implemented wildcard support in Intersect,
+       IsSubsetOf and Union. Fixed difference between Fx1.1 and 2.0 in Copy.
+
+2004-09-02  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SiteIdentityPermission.cs: Updated to match latest unit tests, i.e. 
+       match Fx 1.1 on NET_1_1 and Fx 2.0 (beta 1) in NET_2_0.
+       * StrongNameIdentityPermission.cs: Updated to match latest unit tests,
+       i.e. match Fx 1.1 on NET_1_1 and Fx 2.0 (beta 1) in NET_2_0.
+       * UrlIdentityPermission.cs: Updated to match latest unit tests, i.e. 
+       match Fx 1.1 on NET_1_1 and Fx 2.0 (beta 1) in NET_2_0.
+
+2004-09-01  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ZoneIdentityPermission.cs: Do not include "Zone" attribute in XML if
+       zone == NoZone (so the permission can be considered as empty).
+
+2004-08-20  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SiteIdentityPermission.cs: Basic (without wildcards) implementation
+       for Intersect, IsSubsetOf and Union. Fixed to pass all new unit tests.
+       * UrlIdentityPermission.cs: Basic (without wildcards) implementation
+       for Intersect, IsSubsetOf and Union. Fixed to pass all new unit tests.
+
+2004-08-19  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * CodeAccessSecurityAttribute.cs: Namespace clean-up (removing System.)
+       * EnvironmentPermission.cs: Common exception for flags validation.
+       Fixed Fx 2.0 return values (String.Empty not null).
+       * EnvironmentPermissionAttribute.cs: Namespace clean-up.
+       * FileIOPermission.cs: Updated to use the common template. Added Fx 
+       2.0 properties.
+       * FileIOPermissionAttribute.cs: Added Fx 2.0 properties.
+       * HostProtectionAttribute.cs: Namespace clean-up (removing System.)
+       * IsolatedStoragePermissionAttribute.cs: Namespace cleanup.
+       * KeyContainerPermissionAttribute.cs: Added default values. Removed
+       unrequired flags validations. Can now create unrestricted permissions.
+       * PermissionSetAttribute.cs: Added new Fx 2.0 Hex property.
+       * PrincipalPermission.cs: Updated to use the common template.
+       * PrincipalPermissionAttribute.cs: Namespace cleanup.
+       * PublisherIdentityPermissionAttribute.cs: Namespace cleanup.
+       * RegistryPermission.cs: Updated to use the common template.
+       * RegistryPermissionAttribute.cs: Added Fx 2.0 properties.
+       * SecurityAttribute.cs: Namespace clean-up (removing System.)
+       * SecurityPermission.cs: Updated to use the common template. Now 
+       pass all unit tests.
+       * SiteIdentityPermission.cs: Updated to use the common template.
+       * SiteIdentityPermissionAttribute.cs: Move unrestricted responsability
+       check to SiteIdentityPermission constructor.
+       * StrongNamePermissionAttribute.cs: Move unrestricted responsability
+       check to StrongNameIdentityPermission constructor.
+       * UrlIdentityPermission.cs: Updated to use the common template.
+       * UrlIdentityPermissionAttribute.cs: Move unrestricted responsability
+       check to UrlIdentityPermission constructor.
+       * ZoneIdentityPermissionAttribute.cs: Move unrestricted responsability
+       check to ZoneIdentityPermission constructor.
+
+2004-08-18  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * IsolatedStorageContainment.cs: Added new enums values for NET_2_0.
+       * IsolatedStorageFilePermissionAttribute.cs: Removed unrequired using
+       clause.
+       * IsolatedStorageFilePermission.cs: Updated to use the common template.
+       Completed TODOs and now pass all unit tests.
+       * IsolatedStoragePermission.cs: Updated to use the common template.
+       Completed TODOs and now pass all unit tests.
+       * GacIdentityPermission.cs: Update to use the common template. Now 
+       pass all unit tests.
+       * GacIdentityPermissionAttribute.cs: Added FIXME comment.
+
+2004-08-17  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * StrongNameIdentityPermission.cs: Update to use the common template.
+       Completed TODOs and now pass all unit tests.
+       * StrongNamePermissionAttribute.cs: Fixed public key convertion (as it
+       wasn't base64 encoded).
+       * StrongNamePublicKeyBlob.cs: Made static FromString() more robust.
+       * ZoneIdentityPermission.cs: Update to use the common template. Now 
+       pass all unit tests.
+
+2004-08-17  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * DataProtectionPermission.cs: New permission for NET_2_0. Use common
+       permission template.
+       * DataProtectionPermissionAttribute.cs: New security attribute for 
+       NET_2_0.
+       * DataProtectionPermissionFlags.cs: New flags for NET_2_0.
+       * HostProtectionAttribute.cs: New security attribute for NET_2_0.
+       * HostProtectionPermission.cs: New internal permission for NET_2_0. 
+       Use common permission template.
+       * KeyContainerPermission.cs: New permission for NET_2_0. Use common
+       permission template.
+       * KeyContainerPermissionAccessEntry.cs: New class for NET_2_0.
+       * KeyContainerPermissionAccessEntryCollection.cs: New for NET_2_0.
+       * KeyContainerPermissionAccessEntryEnumerator.cs: New for NET_2_0.
+       * KeyContainerPermissionAttribute.cs: New security attrib for NET_2_0.
+       * KeyContainerPermissionFlags.cs: New flags for NET_2_0.
+
+2004-08-17  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * EnvironmentPermission.cs: Updated to use the common template.
+       * FileDialogPermission.cs: Updated to use the common template.
+       * PublisherIdentityPermission.cs: Updated to use the common template.
+       * ReflectionPermission.cs: Updated to use the common template.
+
+2004-08-17  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * IBuiltInPermission.cs: Added a new internal enum to store the index
+       of all corlib's permissions (as the index can changes in newer 
+       versions of the framework, e.g. 2.0).
+       * SecurityAttribute.cs: Removed the validation when setting the Action
+       property to match MS implementation.
+       * UIPermission.cs: Update to use the common template. Completed TODOs
+       and now pass all unit tests.
+
+2004-08-05  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PrincipalPermission.cs: Added Equals/GetHashCode for NET_2_0.
+       * SecurityPermissionAttribute.cs: Added new BindingRedirects property
+       for NET_2_0.
+
+2004-08-04  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * GacIdentityPermission.cs: New. for NET_2_0
+       * GacIdentityPermissionAttribute.cs: New. for NET_2_0
+       * SecurityAction.cs: Added new "Choice" enums for NET_2_0. Removed old
+       and empty XML comments.
+       * ZoneIdentityPermission.cs: NoZone is a subset of all SecurityZone.
+
+2004-08-03  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ZoneIdentityPermission.cs: Reordered attributes in ToXml and added
+       missing Zone attribute. Fixed buglets wrt new unit tests. Added
+       globalization to exceptions.
+
+2004-07-14  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * HostProtectionResource.cs: New enum for Fx 2.0.
+
+2004-07-07  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * FileDialogPermission.cs: Removed the unrequired override ToString
+       from the NET_2_0 profile.
+
+2004-06-10  Gert Driesen <drieseng@users.sourceforge.net>
+
+       * StrongNameIdentityPermission.cs: removed extra useless finalizer
+       to fix public API signature
+
+2004-04-25  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * StrongNamePublicKeyBlob: Call invariant Char.ToLower
+
+2004-03-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PublisherIdentityPermission.cs: Now use CryptoConvert for Hexadecimal
+       convertions.
+       * PublisherIdentityPermissionAttribute.cs: Now use CryptoConvert for
+       Hexadecimal convertions.
+
+2004-01-27  Sebastien Pouliot  <spouliot@videotron.ca>
+
+       * FileIOPermission.cs: Added missing ArgumentNullException to 
+       constructors.
+
+2004-01-26  Sebastien Pouliot  <spouliot@videotron.ca>
+
+       * PermissionSetAttribute.cs: Implemented CreatePermissionSet.
+
 2003-12-29  Sebastien Pouliot  <spouliot@videotron.ca>
 
        * EnvironmentPermission.cs: Fixed return value to match unit tests.