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