2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / class / corlib / System.Security.Policy / ChangeLog
blobb1caf8bfd76c1a04c8df7d12ec5fae1a36f6e750
1 2010-03-16  Jb Evain  <jbevain@novell.com>
3         * Zone.cs
4         * Hash.cs
5         * Evidence.cs
6         * PolicyLevel.cs
7         * PolicyLevel_2_1.cs
8         * ZoneMembershipCondition.cs
9         * HashMembershipCondition.cs:
10                 Use MOONLIGHT symbol to disambiguate MonoTouch
11                 and Moonlight code.
13 2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>
15         * Evidence.cs: Add some v4 bits.
17 2009-09-22  Sebastien Pouliot  <sebastien@ximian.com> 
19         * Evidence_2_1.cs: New.
20         * PolicyLevel_2_1.cs: Remove use of NamedPermissionSet
22 2009-09-21  Sebastien Pouliot  <sebastien@ximian.com>
24         * PolicyLevel_2_1.cs: Remove use of PolicyStatement
26 2009-07-30  Marek Safar  <marek.safar@gmail.com>
28         * ApplicationTrust.cs: Add FullTrustAssemblies.
30 2009-04-30  Sebastien Pouliot  <sebastien@ximian.com>
32         * Evidence.cs: Exclude "Mono.Security.Authenticode" when building
33         NET_2_1
35 2009-04-27  Sebastien Pouliot  <sebastien@ximian.com>
37         * Evidence.cs: Custom GetDefaultHostEvidence for NET_2_1
38         * Hash.cs: Do not include for NET_2_1 build
39         * HashMembershipCondition.cs: Do not include for NET_2_1 build
40         * PolicyLevel.cs: Do not include for NET_2_1 build
41         * PolicyLevel_2_1.cs: Alternate implementation for NET_2_1
42         * Zone.cs: Do not include for NET_2_1 build
43         * ZoneMembershipCondition.cs: Do not include for NET_2_1 build
45 2008-07-06  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
47         * ApplicationTrust.cs: Add missing attribute
49 2008-07-03  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
51         * ZoneMembershipCondition.cs:
52         * UrlMembershipCondition.cs:
53         * UnionCodeGroup.cs:
54         * PolicyStatement.cs:
55         * PolicyException.cs:
56         * PermissionRequestEvidence.cs:
57         * NetCodeGroup.cs:
58         * HashMembershipCondition.cs:
59         * GacMembershipCondition.cs:
60         * ApplicationDirectory.cs: Fix parameter names
62 2008-05-30  Sebastien Pouliot  <sebastien@ximian.com> 
64         * ApplicationSecurityManager.cs: Provide better MonoTODO messages 
65         for the next version of MoMA.
67 2008-02-02  Sebastien Pouliot  <sebastien@ximian.com>
69         * Evidence.cs: Fix missing assignement (thanks to Gendarme :)
71 2006-05-30  Sebastien Pouliot  <sebastien@ximian.com>
73         * CodeGroup.cs: Under 2.0 the ctor is protected (not public).
75 2006-01-05  Sebastien Pouliot  <sebastien@ximian.com>
77         * Evidence.cs: Use EscapedCodeBase instead of CodeBase. Fix nunit 
78         under Windows.
80 2005-09-25  Sebastien Pouliot  <sebastien@ximian.com> 
82         * ApplicationTrustCollection.cs: RC changed the constructor to non
83         public.
84         * PolicyLevel.cs: All stuff related to FullyTrustedAssemblies is 
85         obsoleted in 2.0 because (a) all permission must be installed into the
86         GAC, (b) everything in the GAC gets fulltrust and (c) full trust now
87         means even identity permissions (like StrongNameIdentityPermission)
88         succeed for unrestricted (even if it doesn't match).
90 2005-08-30  Sebastien Pouliot  <sebastien@ximian.com> 
92         * PolicyLevel.cs: Set SecurityManager.ResolvingPolicyLevel to the 
93         current policylevel instance if we want to use the FullTrustAssemblies
94         collection.
96 2005-06-23  Sebastien Pouliot  <sebastien@ximian.com> 
98         * ApplicationSecurityManager.cs: Added basic calls to MonoTrustManager
99         * MonoTrustManager.cs: New. Default (non SWF) trust manager.
101 2005-06-23  Sebastien Pouliot  <sebastien@ximian.com>
103         * ApplicationDirectory.cs, CodeConnectAccess.cs, Hash.cs, 
104         NetCodeGroup.cs, PermissionRequestEvidence.cs, PolicyLevel.cs,
105         Publisher.cs. Site.cs, StrongName.cs, TrustManagerContext.cs. Url.cs:
106         better comments on remaining TODO (all 2.0 related) to ease grepping.
107         Reduced the number of casts in some Equals methods.
109 2005-06-16  Sebastien Pouliot  <sebastien@ximian.com>
111         * StrongName.cs: Empty names are only verified in NET_2_0.
113 2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>
115         * Evidence.cs: Avoid creating the synchronized array lists unless they
116         are needed.
117         * PolicyLevel.cs: Fixed System.Drawing public key. IsFullTrustAssembly
118         can now executed without a Demand for the AssemblyName. Added the
119         UnionCodeGroup in the default policies. Reworked initialization to
120         support FullyTrustedAssemblies.
122 2005-06-08  Sebastien Pouliot  <sebastien@ximian.com>
124         * PolicyLevel.cs: Added some missing initialization. More code reuse.
126 2005-06-01  Sebastien Pouliot  <sebastien@ximian.com>
128         * DefaultPolicies.cs: Added a method to create the default FullTrust
129         assemblies in the policy configuration files.
130         * PolicyLevel.cs: Splitted loading/initializing of PolicyLevel so it's
131         now possible to load permissions outside corlib when resolving a 
132         policy. However FullTrustAssemblies is still ignored at this stage.
134 2005-05-27  Sebastien Pouliot  <sebastien@ximian.com> 
136         * DefaultPolicies.cs: Refactored code to use the new PermissionBuilder
137         class. Removed references to SWF WebBrowserPermission as it is 
138         documented as obsolete and will be removed before 2.0 final.
140 2005-05-26  Sebastien Pouliot  <sebastien@ximian.com> 
142         * DefaultPolicies.cs: New. Creates the default security policies. 
143         Permissions outside corlib are commented due to a bug with CAS when 
144         loading them.
145         * PolicyLevel.cs: Fixed TODO for Recover method and for reserved names
146         in RemoveNamedPermissionSet method. Moved IsReserved method to new 
147         DefaultPolicies class.
149 2005-05-16  Sebastien Pouliot  <sebastien@ximian.com> 
151         * FileCodeGroup.cs: Deal with null PolicyStatement.
152         * NetCodeGroup.cs: Deal with null PolicyStatement.
154 2005-05-16  Sebastien Pouliot  <sebastien@ximian.com>
156         * FileCodeGroup.cs: Now use PermissionSet.Union when resolving.
157         * NetCodeGroup.cs: Now use PermissionSet.Union when resolving.
158         * PolicyStatement.cs: Fix some minor behaviours wrt to new unit tests.
159         * UnionCodeGroup.cs: Now use PermissionSet.Union when resolving.
161 2005-04-26  Sebastien Pouliot  <sebastien@ximian.com>
163         * ApplicationTrust.cs: Completed TODO. Added missing set for 
164         ApplicationIdentity property.
165         * ApplicationTrustCollection.cs: Completed TODO.
167 2005-04-25  Sebastien Pouliot  <sebastien@ximian.com>
169         * AllMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
170         match beta2.
171         * ApplicationDirectory.cs: Added [ComVisible (true)] in NET_2_0 to
172         match beta2. Removed FIXME - confirmed as "by design" by MS.
173         * ApplicationDirectoryMembershipCondition.cs: Added [ComVisible (true)]
174         in NET_2_0 to match beta2.
175         * ApplicationSecurityInfo.cs: Updated to match beta2.
176         * ApplicationSecurityManager.cs: Updated to match beta2.
177         * ApplicationTrust.cs: Updated to match beta2.
178         * ApplicationTrustCollection.cs: Updated to match beta2.
179         * ApplicationTrustEnumerator.cs: Added [ComVisible (true)] to match 
180         beta2.
181         * ApplicationVersionMatch.cs: Added [ComVisible (true)] to match beta2.
182         * CodeConnectAccess.cs: Added [ComVisible (true)] to match beta2.
183         * CodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to match beta2. 
184         Reworked Equals to avoid multiple typecast.
185         * Evidence.cs: Updated to match beta2. Now use internal method 
186         Assembly.UnprotectedGetName during security manager initialization.
187         * FileCodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to match 
188         beta2. Removed Scope property (didn't survive beta2).
189         * FirstMatchCodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to 
190         match beta2.
191         * Gac.cs: Renamed class to GacInstalled. Added [ComVisible (true)] to
192         match beta2.
193         * GacMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to 
194         match beta2.
195         * Hash.cs: Added [ComVisible (true)] in NET_2_0 to match beta2.
196         * HashMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
197         match beta2. Reworked Equals to avoid multiple typecast.
198         * IApplicationTrustManager.cs: Added [ComVisible (true)] to match 
199         beta2.
200         * IIdentityPermissionFactory.cs: Added [ComVisible (true)] in NET_2_0
201         to match beta2.
202         * IMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
203         match beta2.
204         * NetCodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to match 
205         beta2. Removed Scope property (didn't survive beta2).
206         * PermissionRequestEvidence.cs: Added [ComVisible (true)] in NET_2_0 
207         to match beta2.
208         * PolicyException.cs: Added [ComVisible (true)] in NET_2_0 to match 
209         beta2.
210         * PolicyLevel.cs: Added [ComVisible (true)] in NET_2_0 to match beta2.
211         * PolicyStatementAttribute.cs: Added [ComVisible (true)] in NET_2_0 to
212         match beta2.
213         * PolicyStatement.cs: Added [ComVisible (true)] in NET_2_0 to match 
214         beta2.
215         * ProvideAssemblyEvidenceEventArgs.cs: Added [ComVisible (true)] to 
216         match beta2.
217         * Publisher.cs: Added [ComVisible (true)] in NET_2_0 to match beta2. 
218         Reworked Equals to avoid multiple typecast.
219         * PublisherMembershipCondition.cs: Added [ComVisible (true)] in 
220         NET_2_0 to match beta2. Reworked Equals to avoid multiple typecast.
221         * Site.cs: Added [ComVisible (true)] in NET_2_0 to match beta2. Fixed
222         allowed characters accepted in site names (different in 2.0 from 1.x).
223         * SiteMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
224         match beta2.
225         * StrongName.cs: Added [ComVisible (true)] in NET_2_0 to match beta2.
226         * StrongNameMembershipCondition.cs: Added [ComVisible (true)] in 
227         NET_2_0 to match beta2.
228         * TrustManagerContext.cs: Updated to match beta2.
229         * TrustManagerUIContext.cs: Added [ComVisible (true)] to match beta2.
230         * UnionCodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to match
231         beta2.
232         * Url.cs: Added [ComVisible (true)] in NET_2_0 to match beta2. Fixed
233         the difference in Url matching between 1.x and 2.0. Reworked Equals to
234         avoid multiple typecast.
235         * UrlMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to 
236         match beta2. Fixed the difference in Url matching between 1.x and 2.0.
237         * Zone.cs: Added [ComVisible (true)] in NET_2_0 to match beta2. 
238         Reworked Equals to avoid multiple typecast.
239         * ZoneMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
240         match beta2.
242 2005-04-05  Sebastien Pouliot  <sebastien@ximian.com>
244         * Hash.cs: Added Assert for FileIOPermission to GetData so it's 
245         possible to get the Hash evidence under partial trust.
247 2005-04-04  Sebastien Pouliot  <sebastien@ximian.com>
249         * Evidence.cs: Build the default host evidences requires access to the
250         file system even if running on partial trust (so we assert it).
252 2005-01-19  Sebastien Pouliot  <sebastien@ximian.com> 
254         * PolicyLevel.cs: Fixed RemoveNamedPermissionSet when used with a
255         permission instance.
256         * Zone.cs: Fixed zone for URIs without a scheme.
258 2005-01-19  Sebastien Pouliot  <sebastien@ximian.com>
260         * ApplicationTrustCollection.cs: Updated for Dec CTP.
261         * ApplicationTrust.cs: Updated for Dec CTP.
262         * ApplicationSecurityInfo.cs: Updated for Dec CTP.
263         * ApplicationSecurityManager.cs: Updated for Dec CTP.
265 2005-01-18  Sebastien Pouliot  <sebastien@ximian.com>
267         * Evidence.cs: Fix problem with default evidence when ICU is enabled.
268         Fix bug #71366.
270 2005-01-11  Sebastien Pouliot  <sebastien@ximian.com>
272         * Hash.cs: Fix regression in 2.0 to load default (hash) evidences.
274 2005-01-10  Sebastien Pouliot  <sebastien@ximian.com>
276         * Hash.cs: Fix exception reporting for new methods in 2.0.
277         * Publisher.cs: Fixed unit tests failures under 2.0 (some exceptions
278         were changed).
279         * PublisherMembershipCondition.cs: Fixed unit tests failures under 2.0
280         (some exceptions were changed).
282 2005-01-07  Raja R Harinath  <rharinath@novell.com>
284         * IMembershipCondition.cs (Equals,ToString): Disable when building
285         with older mcs.
287 2005-01-04  Sebastien Pouliot  <sebastien@ximian.com>
289         * CodeGroup.cs: Removed FIXME as this was fixed (when?) in [g]mcs.
291 2004-11-26  Sebastien Pouliot  <sebastien@ximian.com>
293         * Evidence.cs:
294         * FileCodeGroup.cs:
295         * NetCodeGroup.cs:
296         * PolicyLevel.cs:
297         * PolicyStatement.cs:
298                 Added ComVisible attributes to match 2.0 October Preview.
300 2004-11-26  Sebastien Pouliot  <sebastien@ximian.com>
302         * Evidence.cs: Faster default evidence creation by using an internal
303         call to check for a possible Authenticode signature of the assembly.
304         Previously we had to make several I/O to verify this (quite rare)
305         presence (but the runtime already had a good hint about this).
307 2004-10-20  Sebastien Pouliot  <sebastien@ximian.com>
309         * Evidence.cs: Fix the case where GetPublicKey returns a 0 length
310         byte array so that we don't create an invalid StrongName evidence.
312 2004-09-19  Alexis Christoforides <alexis@thenull.net>
314         * CodeGroup.cs: Changed AddChild() to add a copy of the child, like 
315         the MS implementation.
316         * UnionCodeGroup.cs: Resolve() will now perform union on child code
317         groups.
318         * FileCodeGroup.cs: Resolve() will now perform union on child code
319         groups.
320         * NetCodeGroup.cs: Resolve() will now perform union on child code
321         groups.
323 2004-09-16  Sebastien Pouliot  <sebastien@ximian.com>
325         * PolicyLevel.cs: Fixed warning by re-activating safeguard
327 2004-09-03  Sebastien Pouliot  <sebastien@ximian.com>
329         * CodeGroup.cs: Creates an empty PermissionSet (and not an empty 
330         NamedPermissionSet). Required to run the MSDN library samples.
331         * FileCodeGroup.cs: Fixed Copy so that CodeGroup.Equals would work 
332         preperly. Required to run the MSDN library samples.
333         * FirstMatchCodeGroup.cs: Reworked the Resolve* logic to run the MSDN
334         library samples.
335         * PolicyLevel.cs: Fixed RemoveNamedPermissionSet and (more) complete
336         CreateAppDomainLevel to run the MSDN library samples.
337         * StrongNameMembershipCondition.cs: Fix ToXml to run the MSDN library
338         samples.
340 2004-09-02  Sebastien Pouliot  <sebastien@ximian.com>
342         * Site.cs: Updated to match latest unit tests, i.e. match Fx 1.1 on
343         NET_1_1 and Fx 2.0 (beta 1) in NET_2_0.
345 2004-09-01  Sebastien Pouliot  <sebastien@ximian.com>
347         * PolicyLevel.cs: Fixed Reset not to delete/load policy file for 
348         AppDomain level. Added internal Resolve method for class names.
350 2004-08-30  Sebastien Pouliot  <sebastien@ximian.com>
352         * ApplicationDirectory.cs: Now use Uri class to create the local 
353         application directory.
354         * ApplicationDirectoryMembershipCondition.cs: Now use Uri class to
355         CheckEvidence.
356         * Site.cs: Implemented CreateFromUrl using Uri class.
357         * Url.cs: Now use Uri class to prepare URLs.
358         * UrlMembershipCondition.cs: Now use Url class (instead of a string)
359         for URLs.
360         * Zone.cs: Implemented default CreateFromUrl using Uri class.
362 2004-08-26  Sebastien Pouliot  <sebastien@ximian.com>
364         * ApplicationSecurityManager.cs: New stub for Fx 2.0 application trust
365         security manager.
366         * ApplicationSecurityManagerCodeGroup.cs: New stubbed code group for 
367         NET_2_0 profile.
368         * ApplicationTrustCollection.cs: New. ApplicationTrust collection for
369         NET_2_0 profile.
370         * ApplicationTrustEnumerator.cs: New. ApplicationTrust enumerator for
371         NET_2_0 profile.
373 2004-08-26  Sebastien Pouliot  <sebastien@ximian.com>
375         * ApplicationDirectory.cs: Fixed directory validation and ToString.
376         * CodeGroup.cs: Fixed PermissionSetName when policy is null.
377         * Evidence.cs: Fixed Merge for null case. Fixed IsSynchronized for
378         NET_2_0. Uncommented some code for NET_2_0 DomainManager usage.
379         * FileCodeGroup.cs: Fixed Resolve and ResolveMatchingGroup wrt new
380         unit tests.
381         * Gac.cs: Implemented IBuiltInEvidence methods.
382         * Hash.cs: Removed TODO from NET_2_0 as it's hashing seems compatible
383         with Mono ;-). Fixed properties for use with NET_2_0.
384         * HashMembershipCondition.cs: Fixed To|FromXml serialization. Make
385         copies of hash value (not references).
386         * PermissionRequestEvidence.cs: Now make copies of permission sets.
387         * Publisher.cs: Namespace cleanup, implemented GetRequiredSize.
388         * Site.cs: Namespace cleanup, implemented GetRequiredSize.
389         * StrongName.cs: Namespace cleanup.
390         * UnionCodeGroup.cs: Namespace cleanup, converted spaces to tabs.
391         * Url.cs: Namespace cleanup, implemented GetRequiredSize.
392         * Zone.cs: Namespace cleanup, globalization and added more details in 
393         exception.
395 2004-08-24  Sebastien Pouliot  <sebastien@ximian.com>
397         * UrlMembershipCondition.cs: Check now only iterate host provided
398         evidences.
399         * ZoneMembershipCondition.cs: FromXml doesn't throw exceptions if Zone
400         attribute is missing.
402 2004-08-23  Sebastien Pouliot  <sebastien@ximian.com>
404         * AllMembershipCondition.cs: Use common template for membership 
405         condition.
406         * ApplicationDirectoryMembershipCondition.cs: Use common template for
407         membership condition. Limit evidences checks to host provided. 
408         "Mostly" functionnal - still need to check c14n issues.
409         * ApplicationMembershipCondition.cs: New. For NET_2_0 profile.
410         * DomainApplicationMembershipCondition.cs: New. For NET_2_0 profile.
411         * GacMembershipCondition.cs: Use common template for membership 
412         condition. Limit evidences checks to host provided.
413         * HashMembershipCondition.cs: Use common template for membership 
414         condition. Limit evidences checks to host provided.
415         * MembershipConditionHelper.cs: Internal class for common membership
416         condition classes functionalities.
417         * PublisherMembershipCondition.cs: Use common template for membership 
418         condition.
419         * SiteMembershipCondition.cs: Use common template for membership 
420         condition.
421         * StrongNameMembershipCondition.cs: Use common template for membership
422         condition.
423         * UrlMembershipCondition.cs: Use common template for membership 
424         condition.
425         * ZoneMembershipCondition.cs: Use common template for membership 
426         condition.
428 2004-08-12  Sebastien Pouliot  <sebastien@ximian.com>
430         * ZoneMembershipCondition.cs: Added missing tag name validation in
431         FromXml.
433 2004-08-11  Sebastien Pouliot  <sebastien@ximian.com>
435         * ApplicationSecurityInfo.cs: Added missing interfaces.
436         * PolicyLevel.cs: Load policies from files, using *.default files if
437         policy is missing (like Fx 2.0). Fixed Resolve never to return null.
438         Added hardcoded policy defaults (to be updated as CAS progress) in 
439         case no policy file, nor default files, are available.
440         * PolicyStatement.cs: Fixed AttributeString. Added internal static
441         Empty method (helper).
443 2004-08-09  Sebastien Pouliot  <sebastien@ximian.com>
445         * ApplicationSecurityInfo.cs: New. Stub for NET_2_0.
447 2004-08-08  Sebastien Pouliot  <sebastien@ximian.com>
449         * Evidence.cs: Added new static internal method to create default
450         host evidences for an assembly.
451         * FileCodeGroup.cs: Added incomplete (no children) policy resolution 
452         in order to load more complex policies.
453         * Hash.cs: Added ISerialization support (required for cross-domain 
454         evidence support, like nunit).
455         * NetCodeGroup.cs: Added incomplete (no children) policy resolution in
456         order to load more complex policies.
458 2004-08-04  Sebastien Pouliot  <sebastien@ximian.com>
460         * Gac.cs: New. Implemented Gac evidence for NET_2_0.
461         * GacMembershipCondition.cs: New. for NET_2_0.
462         * Zone.cs: (Very) basic implementation of CreateFromUrl so we can
463         create a Zone evidence using an assembly location (file://...).
464         * ZoneMembershipCondition.cs: Fixed implementation wrt new unit tests.
465         Added missing "class" attribute in ToXml.
467 2004-08-03  Sebastien Pouliot  <sebastien@ximian.com>
469         * CodeGroup.cs: Added PolicyLevel parameter to internal 
470         constructor. Added support for attribute PermissionSetName in
471         FromXml.
472         * FileCodeGroup.cs: Added PolicyLevel parameter to internal 
473         constructor.
474         * FirstMatchCodeGroup.cs: Added PolicyLevel parameter to internal 
475         constructor.
476         * NetCodeGroup.cs: Added PolicyLevel parameter to internal 
477         constructor.
478         * PolicyLevel.cs: Throw a PolicyException when asked to save a 
479         AppDomain policy. Use new CodeGroup constructor with "this".
480         * UnionCodeGroup.cs: Added PolicyLevel parameter to internal 
481         constructor. Added Copy(bool) to copy, or not, the childs.
483 2004-08-02  Sebastien Pouliot  <sebastien@ximian.com>
485         * CodeGroup.cs: Fixed Equals (true) which, strangely, only compares
486         on level of children.
487         * HashMembershipCondition.cs: Added empty constructor so Activator.
488         CreateInstance can work.
489         * PolicyLevel.cs: Implemented PolicyType (NET_2_0), Resolve and Save.
490         * PublisherMembershipCondition.cs: Added empty constructor so 
491         Activator.CreateInstance can work.
492         * SiteMembershipCondition.cs: Added empty constructor so Activator.
493         CreateInstance can work.
494         * StrongNameMembershipCondition.cs: Added empty constructor so 
495         Activator.CreateInstance can work.
496         * UnionCodeGroup.cs: Partial implementation for Resolve (missing 
497         children support). Implemented ResolveMatchingCodeGroups.
498         * ZoneMembershipCondition.cs: Added empty constructor so Activator.
499         CreateInstance can work. Removed "class" validation in FromXml.
501 2004-07-14  Sebastien Pouliot  <sebastien@ximian.com>
503         * NetCodeGroup.cs: Added Equals/GetHashCode methods to NET_2_0 profile.
504         * PolicyLevel.cs: Added internal constructor to load a policy file 
505         from SecurityManager.
507 2004-07-13  Sebastien Pouliot  <sebastien@ximian.com>
509         * Evidence.cs: Implemented Equals/GetHashCode and added Clear and 
510         RemoveType methods for NET_2_0 profile. 
511         * FileCodeGroup.cs: Added Scope property for NET_2_0 profile.
512         * Hash.cs: Added static CreateMD5 and CreateSHA1 for NET_2_0 profile.
513         * HashMembershipCondition.cs: Implements IDeserializationCallback and 
514         ISerializable for NET_2_0 profile.
515         * NetCodeGroup.cs: Add methods related to CodeConnectAccess for 
516         NET_2_0 profile.
517         * PolicyException.cs: Implements _Exception for NET_2_0 profile.
518         * PolicyLevel.cs: Added Type property for NET_2_0 profile.
519         * PolicyStatement.cs: Implemented Equals/GetHashCode for NET_2_0 
520         profile.
522 2004-07-13  Sebastien Pouliot  <sebastien@ximian.com>
524         * ApplicationDefaultCodeGroup.cs: New class in Fx 2.0.
525         * ApplicationInstallScope.cs: New enum in Fx 2.0.
526         * ApplicationTrust.cs: New class in Fx 2.0.
527         * ApplicationVersionMatch.cs: New enum in Fx 2.0.
528         * CodeConnectAccess.cs: New class in Fx 2.0.
529         * CodeGroupGrantScope.cs: New enum in Fx 2.0.
530         * IApplicationTrustManager.cs: New interface in Fx 2.0.
531         * ITrustLicenseIssuerCollection.cs: New interface in Fx 2.0.
532         * ITrustManager.cs: New interface in Fx 2.0.
533         * ITrustManagerConfig.cs: New interface in Fx 2.0.
534         * PromptingLevel.cs: New enum in Fx 2.0.
535         * ProvideAssemblyEvidenceEventArgs.cs: New class in Fx 2.0.
536         * TrustLicenseIssuer.cs: New class in Fx 2.0.
537         * TrustManagerContext.cs: New class in Fx 2.0.
538         * TrustManagerUIContext.cs: New enum in Fx 2.0.
539         * TrustManagerZoneConfig.cs: New class in Fx 2.0.
541 2004-06-18  Sebastien Pouliot  <sebastien@ximian.com>
543         * StrongNameMembershipCondition.cs: Added missing [Serializable] 
544         attribute.
545         * ZoneMembershipCondition.cs: Added missing [Serializable] attribute.
547 2004-06-15  Gert Driesen <drieseng@users.sourceforge.net>
548         
549         * Evidence.cs: added TODO for serialization
551 2004-06-10  Gert Driesen <drieseng@users.sourceforge.net>
553         * Publisher.cs: removed extra finalizer to fix public API 
554         signature, renamed private field for serialization compatibility
555         with MS.NET
557 2004-04-25  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
559         * Url.cs: Call invariant ToUpper
561 2004-03-22  Sebastien Pouliot  <sebastien@ximian.com>
563         * PublisherMembershipCondition.cs: Now use CryptoConvert for 
564         Hexadecimal convertions.
566 2004-01-28  Sebastien Pouliot  <spouliot@videotron.ca>
568         * StrongName.cs: XML now use Type.Name (instead of Type.FullName) to 
569         match the XML generated by MS.
571 2004-01-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
573         * CodeGroup.cs: make it build with mcs. This is a BUG.
575 2004-01-26  Sebastien Pouliot  <spouliot@videotron.ca>
577         * AllMembershipCondition.cs: Clean up. Removed FIXME.
578         * ApplicationDirectoryMembershipCondition.cs: Basic (incomplete) Check.
579         * ApplicationDirectory.cs: Added IBuiltInEvidence (to please corcompare).
580         * CodeGroup.cs: Now use Activator for [Named]PermissionSet. Change 
581         Equals so it can compile with mcs.
582         * Hash.cs: Added IBuiltInEvidence (to please corcompare).
583         * PolicyLevel.cs: Minor changes to use the new empty constructors in 
584         [Named]PermissionSet.
585         * PermissionRequestEvidence.cs: Added IBuiltInEvidence (to please 
586         corcompare). Now use SecurityElement in ToString.
587         * Publisher.cs: Added IBuiltInEvidence (to please corcompare).
588         * Site.cs: Added IBuiltInEvidence (to please corcompare).
589         * StrongName.cs: Added IBuiltInEvidence (to please corcompare). Now use
590         SecurityElement in ToString. Removed TODO on CreateIdentityPermission 
591         (evidence isn't required in this case).
593 2004-01-14  Sebastien Pouliot  <spouliot@videotron.ca>
595         * Url.cs: Added IBuiltInEvidence (corcompare) and new static methods 
596         to prepare and compare urls.
597         * UrlMembershipCondition.cs: Added missing [Serializable] attribute 
598         and set_Url property. Implemented Check. Fixed Equals and To/FromXml.
600 2004-01-05  Sebastien Pouliot  <spouliot@videotron.ca>
602         * CodeGroup.cs: Added internal constructor for PolicyLevel. Complete
603         FromXml. Various small fixes to match the unit tests.
604         * FileCodeGroup.cs: Added internal constructor for PolicyLevel. 
605         Implemented GetHashCode (may not be exactly the same as MS).
606         * FirstMatchCodeGroup.cs: Added internal constructor for PolicyLevel.
607         Copy method now returns a deep copy (as documented).
608         * NetCodeGroup.cs: Added internal constructor for PolicyLevel. Fixed 
609         "Same site Web" (as documented) to "Same site Web." (as real life).
610         Copy method now returns a deep copy (as documented).
611         * PolicyLevel.cs: Added missing ChangeNamedPermissionSet. Implemented
612         FromXml method. Added internal methods to load from file or string. 
613         Added/changed lots of things to match unit tests.
614         * StrongNameMembershipCondition.cs: Added internal constructor for 
615         PolicyLevel. Fixed Equals.
616         * UnionCodeGroup.cs: Added internal constructor for PolicyLevel.
617         Copy method now returns a deep copy (as documented).
619 2004-01-03  Sebastien Pouliot  <spouliot@videotron.ca>
621         * Site.cs: Completed implementation.
622         * SiteMembershipCondition.cs: New. Implemented.
624 2004-01-02  Sebastien Pouliot  <spouliot@videotron.ca>
626         * ApplicationDirectory.cs: Added to build. Commented IBuildInEvidence 
627         (not implemented).
628         * Evidence.cs: Synchronised collections (IsSynchronized is always true).
629         Add Locked property and Security exceptions.
630         * Publisher.cs: Now use SecurityElement in ToString. Removed TODO for
631         CreateIdentityPermission (Evidence is useless).
632         * StrongNameMembershipCondition.cs: Added IConstantMembershipCondition 
633         interface. Implemented Check method.
634         * Url.cs: Implemented CreateIdentityPermission.
635         * UrlMembershipCondition.cs: Added IConstantMembershipCondition interface.
636         * ZoneMembershipCondition.cs: Added IConstantMembershipCondition 
637         interface. Implemented Check method.
639 2004-01-01  Nick Drochak  <ndrochak@gol.com>
641         * PermissionRequestEvidence.cs: New File
643 2003-12-15  Sebastien Pouliot  <spouliot@videotron.ca>
645         * PublisherMembershipCondition.cs: Completed TODO.
647 2003-08-05  Duncan Mak  <duncan@ximian.com>
649         * ZoneMembershipCondition.cs: Added.
651         * StrongNameMembershipCondition.cs:
652         * UrlMembershipCondition.cs: (FromXml): Throw exceptions when the
653         headers do not match.
655         * PolicyStatement.cs (FromXml):
656         (ToXml): Implemented.
658 2003-08-04  Duncan Mak  <duncan@ximian.com>
659         
660         * IConstantMembershipCondition.cs: added.
662         * AllMembershipCondition.cs: 
663         * ApplicationDirectoryMembershipCondition.cs:
664         * PublisherMembershipCondition.cs: Added
665         IConstantMembershipCondition marker interface.
667 2003-08-03  Duncan Mak  <duncan@ximian.com>
669         * StrongNameMembershipCondition.cs:
670         * UrlMembershipCondition.cs: Implemented.
672 2003-08-01  Duncan Mak  <duncan@ximian.com>
674         * PolicyStatement.cs (Copy): Added.
676         * PolicyLevel.cs: Implemented missing methods.
678 2003-07-31  Duncan Mak  <duncan@ximian.com>
680         * Site.cs (IsValidSite): new method for checking the validing of
681         the site name.
683 2003-07-30  Duncan Mak  <duncan@ximian.com>
685         * Url.cs (ToString): It should output an XML string, not just the
686         plain url.
688 2003-07-28  Duncan Mak  <duncan@ximian.com>
690         * Site.cs: 
691         * UnionCodeGroup.cs: 
692         * Url.cs: Added to CVS, basic functionality implemented, except
693         for CreateIdentityPermission (Site, Url) and the Resolve methods
694         in UnionCodeGroup.
696 2003-06-29  Sebastien Pouliot  <spouliot@videotron.ca>
698         * ApplicationDirectory.cs: Added [Serializable] attribute to class.
699         * Evidence.cs: Added [Serializable] attribute to class.
700         * FirstMatchCodeGroup.cs: Added [Serializable] attribute to class.
701         * HashMembershipCondition.cs: Added [Serializable] attribute to class.
702         * NetCodeGroup.cs: Added [Serializable] attribute to class.
703         * PublisherMembershipCondition.cs: Added [Serializable] attribute to class.
704         * Zone.cs: Added [Serializable] attribute to class.
706 2003-01-05  Sebastien Pouliot  <spouliot@videotron.ca>
708         * Hash.cs: Added [Serializable] and ISerializable to class declaration.
709         Changed how the hash algorithm are created (now use system default 
710         implementation). Added some exception handling.
712 2002-12-20 Jackson Harper <jackson@latitudegeo.com>
714         * Evidence.cs: Copy constructor does not attempt to merge if it recieves a null ref
716 2002-12-16  Sebastien Pouliot  <spouliot@videotron.ca>
718         * StrongName.cs: New. Implemented.
720 2002-12-15  Sebastien Pouliot  <spouliot@videotron.ca>
722         * Publisher.cs: New. Implemented.
723         * PublisherMembershipCondition.cs: New. X509 related stuff implemented.
725 2002-11-28 Jackson Harper <jackson@latitudegeo.com>
727         * NetCodeGroup.cs: Added file
729 2002-11-17 Jackson Harper <jackson@latitudegeo.com>
731         * FirstMatchCodeGroup.cs: Added Copyright
732         
733 2002-11-17 Jackson Harper <jackson@latitudegeo.com>
735         * HashMembershipCondition.cs: Added file
737 2002-11-14 Jackson Harper <jackson@latitudegeo.com>
739         * Hash.cs: ToString now uses the SecurityElement class, Assembly byte data is cached after the first load
741 2002-11-11 Jackson Harper <jackson@latitudegeo.com>
743         * FirstMatchCodeGroup.cs: Made class sealed
745 2002-11-5 Jackson Harper <jackson@latitudegeo.com>
747         * ApplicationDirectory.cs: Fixed (C) in file header
748         
749 2002-10-29  Nick Drochak  <ndrochak@gol.com>
751         * Hash.cs: Fix build issues.  Add some using statements mostly.
753 2002-10-28 Jackson Harper <jackson@latitudegeo.com>
755         * FirstMatchCodeGroup.cs, Hash.cs: New classes, somewhat finished
756         
757 2002-10-28 Jackson Harper <jackson@latitudegeo.com>
759         * ApplicationDirectoryMembershipCondition.cs: Implemented most methods
761 2002-10-28 Jackson Harper <jackson@latitudegeo.com>
763         * ApplicationDirectory.cs: Added class
765 2002-10-28 Jackson Harper <jackson@latitudegeo.com>
767         * AllMembershipCondition.cs: Made GetHashCode act more like 
768         MS version. All AllMembershipCondition instance's will return 
769         the same hashcode but this hashcode should still be unique to 
770         AllMembership Condition's.
773 2002-08-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
775         * IBuiltInEvidence.cs: New file.
776         * Zone.cs: New file. Implemented.
778 2002-06-10  Duncan Mak  <duncan@ximian.com>
780         * IMembershipCondition.cs (Equals): Add missing methods.
782 2002-03-17  Nick Drochak  <ndrochak@gol.com>
784         * ApplicationDirectoryMembershipCondition.cs: New file (stub)
786 2002-02-14  Nick Drochak  <ndrochak@gol.com>
788         * FileCodeGroup.cs: Finish Equals()
790 2002-02-13  Dan Lewis   <dihlewis@yahoo.co.uk>
792         * PolicyStatement: New file (stub)
794 2002-02-09  Nick Drochak  <ndrochak@gol.com>
796         * FileCodeGroup.cs: New file. All done except for GetHashCode and 
797         Resolve.
798         * CodeGroup.cs: Fix small bug in ToXml()
799         * Evidence.cs: Added method stub needed by FileCodeGroup.cs.  Added 
800         MonoTODO's too.
802 2002-02-07  Nick Drochak  <ndrochak@gol.com>
804         * CodeGroup.cs: Went as far as I can for now.  Need to look at
805         the (To|From)XML methods when I understand PolicyLevels better.
807 2002-02-02  Nick Drochak  <ndrochak@gol.com>
809         * CodeGroup.cs: Not done, but checking in now just in case
811 2002-01-30  Nick Drochak  <ndrochak@gol.com>
813         * CodeGroup.cs: New file.  Not nearly done with this, but saving it
814         in cvs just in case.
815         * PolicyLevel.cs: Sarted just a bit on this then relized i need CodeGroup
816         first (among others).  Checking in for disaster recovery.
818 2002-01-29  Nick Drochak  <ndrochak@gol.com>
820         * PolicyStatementAttribute.cs: New file.
821         * PolicyException.cs: Use correct namespace
822         * PolicyLevel.cs: Add [Serializable] to class
824 2002-01-19  Duncan Mak  <duncan@ximian.com>
826         * PolicyException.cs: New File.
828 2002-01-03  Nick Drochak  <ndrochak@gol.com>
830         * IIdentityPermissionFactory.cs: New File
831         * IMembershipCondition: New File
833 2001-12-29  Nick Drochak  <ndrochak@gol.com>
835         * PolicyLevel.cs: New file
837 2001-12-21  Miguel de Icaza  <miguel@ximian.com>
839         * SecurityElement.cs, CodeAccessPermission.cs IPermission.cs
840         IStackWalk.cs SecurityElement.cs ISecurityEncodable.cs: New files.
841