2009-06-30 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mcs / class / corlib / System.Security.Policy / ChangeLog
index 92cfa879a8f333054c261540081bac945af88752..a340589593a0e09277128c2e2deb0b65c08b9228 100644 (file)
@@ -1,3 +1,220 @@
+2009-04-30  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Evidence.cs: Exclude "Mono.Security.Authenticode" when building
+       NET_2_1
+
+2009-04-27  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Evidence.cs: Custom GetDefaultHostEvidence for NET_2_1
+       * Hash.cs: Do not include for NET_2_1 build
+       * HashMembershipCondition.cs: Do not include for NET_2_1 build
+       * PolicyLevel.cs: Do not include for NET_2_1 build
+       * PolicyLevel_2_1.cs: Alternate implementation for NET_2_1
+       * Zone.cs: Do not include for NET_2_1 build
+       * ZoneMembershipCondition.cs: Do not include for NET_2_1 build
+
+2008-07-06  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
+
+       * ApplicationTrust.cs: Add missing attribute
+
+2008-07-03  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
+
+       * ZoneMembershipCondition.cs:
+       * UrlMembershipCondition.cs:
+       * UnionCodeGroup.cs:
+       * PolicyStatement.cs:
+       * PolicyException.cs:
+       * PermissionRequestEvidence.cs:
+       * NetCodeGroup.cs:
+       * HashMembershipCondition.cs:
+       * GacMembershipCondition.cs:
+       * ApplicationDirectory.cs: Fix parameter names
+
+2008-05-30  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * ApplicationSecurityManager.cs: Provide better MonoTODO messages 
+       for the next version of MoMA.
+
+2008-02-02  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Evidence.cs: Fix missing assignement (thanks to Gendarme :)
+
+2006-05-30  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * CodeGroup.cs: Under 2.0 the ctor is protected (not public).
+
+2006-01-05  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Evidence.cs: Use EscapedCodeBase instead of CodeBase. Fix nunit 
+       under Windows.
+
+2005-09-25  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * ApplicationTrustCollection.cs: RC changed the constructor to non
+       public.
+       * PolicyLevel.cs: All stuff related to FullyTrustedAssemblies is 
+       obsoleted in 2.0 because (a) all permission must be installed into the
+       GAC, (b) everything in the GAC gets fulltrust and (c) full trust now
+       means even identity permissions (like StrongNameIdentityPermission)
+       succeed for unrestricted (even if it doesn't match).
+
+2005-08-30  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * PolicyLevel.cs: Set SecurityManager.ResolvingPolicyLevel to the 
+       current policylevel instance if we want to use the FullTrustAssemblies
+       collection.
+
+2005-06-23  Sebastien Pouliot  <sebastien@ximian.com> 
+       * ApplicationSecurityManager.cs: Added basic calls to MonoTrustManager
+       * MonoTrustManager.cs: New. Default (non SWF) trust manager.
+
+2005-06-23  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ApplicationDirectory.cs, CodeConnectAccess.cs, Hash.cs, 
+       NetCodeGroup.cs, PermissionRequestEvidence.cs, PolicyLevel.cs,
+       Publisher.cs. Site.cs, StrongName.cs, TrustManagerContext.cs. Url.cs:
+       better comments on remaining TODO (all 2.0 related) to ease grepping.
+       Reduced the number of casts in some Equals methods.
+
+2005-06-16  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * StrongName.cs: Empty names are only verified in NET_2_0.
+
+2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Evidence.cs: Avoid creating the synchronized array lists unless they
+       are needed.
+       * PolicyLevel.cs: Fixed System.Drawing public key. IsFullTrustAssembly
+       can now executed without a Demand for the AssemblyName. Added the
+       UnionCodeGroup in the default policies. Reworked initialization to
+       support FullyTrustedAssemblies.
+
+2005-06-08  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PolicyLevel.cs: Added some missing initialization. More code reuse.
+
+2005-06-01  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * DefaultPolicies.cs: Added a method to create the default FullTrust
+       assemblies in the policy configuration files.
+       * PolicyLevel.cs: Splitted loading/initializing of PolicyLevel so it's
+       now possible to load permissions outside corlib when resolving a 
+       policy. However FullTrustAssemblies is still ignored at this stage.
+
+2005-05-27  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * DefaultPolicies.cs: Refactored code to use the new PermissionBuilder
+       class. Removed references to SWF WebBrowserPermission as it is 
+       documented as obsolete and will be removed before 2.0 final.
+
+2005-05-26  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * DefaultPolicies.cs: New. Creates the default security policies. 
+       Permissions outside corlib are commented due to a bug with CAS when 
+       loading them.
+       * PolicyLevel.cs: Fixed TODO for Recover method and for reserved names
+       in RemoveNamedPermissionSet method. Moved IsReserved method to new 
+       DefaultPolicies class.
+
+2005-05-16  Sebastien Pouliot  <sebastien@ximian.com> 
+       * FileCodeGroup.cs: Deal with null PolicyStatement.
+       * NetCodeGroup.cs: Deal with null PolicyStatement.
+
+2005-05-16  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * FileCodeGroup.cs: Now use PermissionSet.Union when resolving.
+       * NetCodeGroup.cs: Now use PermissionSet.Union when resolving.
+       * PolicyStatement.cs: Fix some minor behaviours wrt to new unit tests.
+       * UnionCodeGroup.cs: Now use PermissionSet.Union when resolving.
+
+2005-04-26  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ApplicationTrust.cs: Completed TODO. Added missing set for 
+       ApplicationIdentity property.
+       * ApplicationTrustCollection.cs: Completed TODO.
+
+2005-04-25  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AllMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
+       match beta2.
+       * ApplicationDirectory.cs: Added [ComVisible (true)] in NET_2_0 to
+       match beta2. Removed FIXME - confirmed as "by design" by MS.
+       * ApplicationDirectoryMembershipCondition.cs: Added [ComVisible (true)]
+       in NET_2_0 to match beta2.
+       * ApplicationSecurityInfo.cs: Updated to match beta2.
+       * ApplicationSecurityManager.cs: Updated to match beta2.
+       * ApplicationTrust.cs: Updated to match beta2.
+       * ApplicationTrustCollection.cs: Updated to match beta2.
+       * ApplicationTrustEnumerator.cs: Added [ComVisible (true)] to match 
+       beta2.
+       * ApplicationVersionMatch.cs: Added [ComVisible (true)] to match beta2.
+       * CodeConnectAccess.cs: Added [ComVisible (true)] to match beta2.
+       * CodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to match beta2. 
+       Reworked Equals to avoid multiple typecast.
+       * Evidence.cs: Updated to match beta2. Now use internal method 
+       Assembly.UnprotectedGetName during security manager initialization.
+       * FileCodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to match 
+       beta2. Removed Scope property (didn't survive beta2).
+       * FirstMatchCodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to 
+       match beta2.
+       * Gac.cs: Renamed class to GacInstalled. Added [ComVisible (true)] to
+       match beta2.
+       * GacMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to 
+       match beta2.
+       * Hash.cs: Added [ComVisible (true)] in NET_2_0 to match beta2.
+       * HashMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
+       match beta2. Reworked Equals to avoid multiple typecast.
+       * IApplicationTrustManager.cs: Added [ComVisible (true)] to match 
+       beta2.
+       * IIdentityPermissionFactory.cs: Added [ComVisible (true)] in NET_2_0
+       to match beta2.
+       * IMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
+       match beta2.
+       * NetCodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to match 
+       beta2. Removed Scope property (didn't survive beta2).
+       * PermissionRequestEvidence.cs: Added [ComVisible (true)] in NET_2_0 
+       to match beta2.
+       * PolicyException.cs: Added [ComVisible (true)] in NET_2_0 to match 
+       beta2.
+       * PolicyLevel.cs: Added [ComVisible (true)] in NET_2_0 to match beta2.
+       * PolicyStatementAttribute.cs: Added [ComVisible (true)] in NET_2_0 to
+       match beta2.
+       * PolicyStatement.cs: Added [ComVisible (true)] in NET_2_0 to match 
+       beta2.
+       * ProvideAssemblyEvidenceEventArgs.cs: Added [ComVisible (true)] to 
+       match beta2.
+       * Publisher.cs: Added [ComVisible (true)] in NET_2_0 to match beta2. 
+       Reworked Equals to avoid multiple typecast.
+       * PublisherMembershipCondition.cs: Added [ComVisible (true)] in 
+       NET_2_0 to match beta2. Reworked Equals to avoid multiple typecast.
+       * Site.cs: Added [ComVisible (true)] in NET_2_0 to match beta2. Fixed
+       allowed characters accepted in site names (different in 2.0 from 1.x).
+       * SiteMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
+       match beta2.
+       * StrongName.cs: Added [ComVisible (true)] in NET_2_0 to match beta2.
+       * StrongNameMembershipCondition.cs: Added [ComVisible (true)] in 
+       NET_2_0 to match beta2.
+       * TrustManagerContext.cs: Updated to match beta2.
+       * TrustManagerUIContext.cs: Added [ComVisible (true)] to match beta2.
+       * UnionCodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to match
+       beta2.
+       * Url.cs: Added [ComVisible (true)] in NET_2_0 to match beta2. Fixed
+       the difference in Url matching between 1.x and 2.0. Reworked Equals to
+       avoid multiple typecast.
+       * UrlMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to 
+       match beta2. Fixed the difference in Url matching between 1.x and 2.0.
+       * Zone.cs: Added [ComVisible (true)] in NET_2_0 to match beta2. 
+       Reworked Equals to avoid multiple typecast.
+       * ZoneMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
+       match beta2.
+
+2005-04-05  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Hash.cs: Added Assert for FileIOPermission to GetData so it's 
+       possible to get the Hash evidence under partial trust.
+
 2005-04-04  Sebastien Pouliot  <sebastien@ximian.com>
 
        * Evidence.cs: Build the default host evidences requires access to the