1 2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
3 * CodeGroup.cs: Removed FIXME as this was fixed (when?) in [g]mcs.
5 2004-11-26 Sebastien Pouliot <sebastien@ximian.com>
12 Added ComVisible attributes to match 2.0 October Preview.
14 2004-11-26 Sebastien Pouliot <sebastien@ximian.com>
16 * Evidence.cs: Faster default evidence creation by using an internal
17 call to check for a possible Authenticode signature of the assembly.
18 Previously we had to make several I/O to verify this (quite rare)
19 presence (but the runtime already had a good hint about this).
21 2004-10-20 Sebastien Pouliot <sebastien@ximian.com>
23 * Evidence.cs: Fix the case where GetPublicKey returns a 0 length
24 byte array so that we don't create an invalid StrongName evidence.
26 2004-09-19 Alexis Christoforides <alexis@thenull.net>
28 * CodeGroup.cs: Changed AddChild() to add a copy of the child, like
29 the MS implementation.
30 * UnionCodeGroup.cs: Resolve() will now perform union on child code
32 * FileCodeGroup.cs: Resolve() will now perform union on child code
34 * NetCodeGroup.cs: Resolve() will now perform union on child code
37 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
39 * PolicyLevel.cs: Fixed warning by re-activating safeguard
41 2004-09-03 Sebastien Pouliot <sebastien@ximian.com>
43 * CodeGroup.cs: Creates an empty PermissionSet (and not an empty
44 NamedPermissionSet). Required to run the MSDN library samples.
45 * FileCodeGroup.cs: Fixed Copy so that CodeGroup.Equals would work
46 preperly. Required to run the MSDN library samples.
47 * FirstMatchCodeGroup.cs: Reworked the Resolve* logic to run the MSDN
49 * PolicyLevel.cs: Fixed RemoveNamedPermissionSet and (more) complete
50 CreateAppDomainLevel to run the MSDN library samples.
51 * StrongNameMembershipCondition.cs: Fix ToXml to run the MSDN library
54 2004-09-02 Sebastien Pouliot <sebastien@ximian.com>
56 * Site.cs: Updated to match latest unit tests, i.e. match Fx 1.1 on
57 NET_1_1 and Fx 2.0 (beta 1) in NET_2_0.
59 2004-09-01 Sebastien Pouliot <sebastien@ximian.com>
61 * PolicyLevel.cs: Fixed Reset not to delete/load policy file for
62 AppDomain level. Added internal Resolve method for class names.
64 2004-08-30 Sebastien Pouliot <sebastien@ximian.com>
66 * ApplicationDirectory.cs: Now use Uri class to create the local
67 application directory.
68 * ApplicationDirectoryMembershipCondition.cs: Now use Uri class to
70 * Site.cs: Implemented CreateFromUrl using Uri class.
71 * Url.cs: Now use Uri class to prepare URLs.
72 * UrlMembershipCondition.cs: Now use Url class (instead of a string)
74 * Zone.cs: Implemented default CreateFromUrl using Uri class.
76 2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
78 * ApplicationSecurityManager.cs: New stub for Fx 2.0 application trust
80 * ApplicationSecurityManagerCodeGroup.cs: New stubbed code group for
82 * ApplicationTrustCollection.cs: New. ApplicationTrust collection for
84 * ApplicationTrustEnumerator.cs: New. ApplicationTrust enumerator for
87 2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
89 * ApplicationDirectory.cs: Fixed directory validation and ToString.
90 * CodeGroup.cs: Fixed PermissionSetName when policy is null.
91 * Evidence.cs: Fixed Merge for null case. Fixed IsSynchronized for
92 NET_2_0. Uncommented some code for NET_2_0 DomainManager usage.
93 * FileCodeGroup.cs: Fixed Resolve and ResolveMatchingGroup wrt new
95 * Gac.cs: Implemented IBuiltInEvidence methods.
96 * Hash.cs: Removed TODO from NET_2_0 as it's hashing seems compatible
97 with Mono ;-). Fixed properties for use with NET_2_0.
98 * HashMembershipCondition.cs: Fixed To|FromXml serialization. Make
99 copies of hash value (not references).
100 * PermissionRequestEvidence.cs: Now make copies of permission sets.
101 * Publisher.cs: Namespace cleanup, implemented GetRequiredSize.
102 * Site.cs: Namespace cleanup, implemented GetRequiredSize.
103 * StrongName.cs: Namespace cleanup.
104 * UnionCodeGroup.cs: Namespace cleanup, converted spaces to tabs.
105 * Url.cs: Namespace cleanup, implemented GetRequiredSize.
106 * Zone.cs: Namespace cleanup, globalization and added more details in
109 2004-08-24 Sebastien Pouliot <sebastien@ximian.com>
111 * UrlMembershipCondition.cs: Check now only iterate host provided
113 * ZoneMembershipCondition.cs: FromXml doesn't throw exceptions if Zone
114 attribute is missing.
116 2004-08-23 Sebastien Pouliot <sebastien@ximian.com>
118 * AllMembershipCondition.cs: Use common template for membership
120 * ApplicationDirectoryMembershipCondition.cs: Use common template for
121 membership condition. Limit evidences checks to host provided.
122 "Mostly" functionnal - still need to check c14n issues.
123 * ApplicationMembershipCondition.cs: New. For NET_2_0 profile.
124 * DomainApplicationMembershipCondition.cs: New. For NET_2_0 profile.
125 * GacMembershipCondition.cs: Use common template for membership
126 condition. Limit evidences checks to host provided.
127 * HashMembershipCondition.cs: Use common template for membership
128 condition. Limit evidences checks to host provided.
129 * MembershipConditionHelper.cs: Internal class for common membership
130 condition classes functionalities.
131 * PublisherMembershipCondition.cs: Use common template for membership
133 * SiteMembershipCondition.cs: Use common template for membership
135 * StrongNameMembershipCondition.cs: Use common template for membership
137 * UrlMembershipCondition.cs: Use common template for membership
139 * ZoneMembershipCondition.cs: Use common template for membership
142 2004-08-12 Sebastien Pouliot <sebastien@ximian.com>
144 * ZoneMembershipCondition.cs: Added missing tag name validation in
147 2004-08-11 Sebastien Pouliot <sebastien@ximian.com>
149 * ApplicationSecurityInfo.cs: Added missing interfaces.
150 * PolicyLevel.cs: Load policies from files, using *.default files if
151 policy is missing (like Fx 2.0). Fixed Resolve never to return null.
152 Added hardcoded policy defaults (to be updated as CAS progress) in
153 case no policy file, nor default files, are available.
154 * PolicyStatement.cs: Fixed AttributeString. Added internal static
155 Empty method (helper).
157 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
159 * ApplicationSecurityInfo.cs: New. Stub for NET_2_0.
161 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
163 * Evidence.cs: Added new static internal method to create default
164 host evidences for an assembly.
165 * FileCodeGroup.cs: Added incomplete (no children) policy resolution
166 in order to load more complex policies.
167 * Hash.cs: Added ISerialization support (required for cross-domain
168 evidence support, like nunit).
169 * NetCodeGroup.cs: Added incomplete (no children) policy resolution in
170 order to load more complex policies.
172 2004-08-04 Sebastien Pouliot <sebastien@ximian.com>
174 * Gac.cs: New. Implemented Gac evidence for NET_2_0.
175 * GacMembershipCondition.cs: New. for NET_2_0.
176 * Zone.cs: (Very) basic implementation of CreateFromUrl so we can
177 create a Zone evidence using an assembly location (file://...).
178 * ZoneMembershipCondition.cs: Fixed implementation wrt new unit tests.
179 Added missing "class" attribute in ToXml.
181 2004-08-03 Sebastien Pouliot <sebastien@ximian.com>
183 * CodeGroup.cs: Added PolicyLevel parameter to internal
184 constructor. Added support for attribute PermissionSetName in
186 * FileCodeGroup.cs: Added PolicyLevel parameter to internal
188 * FirstMatchCodeGroup.cs: Added PolicyLevel parameter to internal
190 * NetCodeGroup.cs: Added PolicyLevel parameter to internal
192 * PolicyLevel.cs: Throw a PolicyException when asked to save a
193 AppDomain policy. Use new CodeGroup constructor with "this".
194 * UnionCodeGroup.cs: Added PolicyLevel parameter to internal
195 constructor. Added Copy(bool) to copy, or not, the childs.
197 2004-08-02 Sebastien Pouliot <sebastien@ximian.com>
199 * CodeGroup.cs: Fixed Equals (true) which, strangely, only compares
200 on level of children.
201 * HashMembershipCondition.cs: Added empty constructor so Activator.
202 CreateInstance can work.
203 * PolicyLevel.cs: Implemented PolicyType (NET_2_0), Resolve and Save.
204 * PublisherMembershipCondition.cs: Added empty constructor so
205 Activator.CreateInstance can work.
206 * SiteMembershipCondition.cs: Added empty constructor so Activator.
207 CreateInstance can work.
208 * StrongNameMembershipCondition.cs: Added empty constructor so
209 Activator.CreateInstance can work.
210 * UnionCodeGroup.cs: Partial implementation for Resolve (missing
211 children support). Implemented ResolveMatchingCodeGroups.
212 * ZoneMembershipCondition.cs: Added empty constructor so Activator.
213 CreateInstance can work. Removed "class" validation in FromXml.
215 2004-07-14 Sebastien Pouliot <sebastien@ximian.com>
217 * NetCodeGroup.cs: Added Equals/GetHashCode methods to NET_2_0 profile.
218 * PolicyLevel.cs: Added internal constructor to load a policy file
219 from SecurityManager.
221 2004-07-13 Sebastien Pouliot <sebastien@ximian.com>
223 * Evidence.cs: Implemented Equals/GetHashCode and added Clear and
224 RemoveType methods for NET_2_0 profile.
225 * FileCodeGroup.cs: Added Scope property for NET_2_0 profile.
226 * Hash.cs: Added static CreateMD5 and CreateSHA1 for NET_2_0 profile.
227 * HashMembershipCondition.cs: Implements IDeserializationCallback and
228 ISerializable for NET_2_0 profile.
229 * NetCodeGroup.cs: Add methods related to CodeConnectAccess for
231 * PolicyException.cs: Implements _Exception for NET_2_0 profile.
232 * PolicyLevel.cs: Added Type property for NET_2_0 profile.
233 * PolicyStatement.cs: Implemented Equals/GetHashCode for NET_2_0
236 2004-07-13 Sebastien Pouliot <sebastien@ximian.com>
238 * ApplicationDefaultCodeGroup.cs: New class in Fx 2.0.
239 * ApplicationInstallScope.cs: New enum in Fx 2.0.
240 * ApplicationTrust.cs: New class in Fx 2.0.
241 * ApplicationVersionMatch.cs: New enum in Fx 2.0.
242 * CodeConnectAccess.cs: New class in Fx 2.0.
243 * CodeGroupGrantScope.cs: New enum in Fx 2.0.
244 * IApplicationTrustManager.cs: New interface in Fx 2.0.
245 * ITrustLicenseIssuerCollection.cs: New interface in Fx 2.0.
246 * ITrustManager.cs: New interface in Fx 2.0.
247 * ITrustManagerConfig.cs: New interface in Fx 2.0.
248 * PromptingLevel.cs: New enum in Fx 2.0.
249 * ProvideAssemblyEvidenceEventArgs.cs: New class in Fx 2.0.
250 * TrustLicenseIssuer.cs: New class in Fx 2.0.
251 * TrustManagerContext.cs: New class in Fx 2.0.
252 * TrustManagerUIContext.cs: New enum in Fx 2.0.
253 * TrustManagerZoneConfig.cs: New class in Fx 2.0.
255 2004-06-18 Sebastien Pouliot <sebastien@ximian.com>
257 * StrongNameMembershipCondition.cs: Added missing [Serializable]
259 * ZoneMembershipCondition.cs: Added missing [Serializable] attribute.
261 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
263 * Evidence.cs: added TODO for serialization
265 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
267 * Publisher.cs: removed extra finalizer to fix public API
268 signature, renamed private field for serialization compatibility
271 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
273 * Url.cs: Call invariant ToUpper
275 2004-03-22 Sebastien Pouliot <sebastien@ximian.com>
277 * PublisherMembershipCondition.cs: Now use CryptoConvert for
278 Hexadecimal convertions.
280 2004-01-28 Sebastien Pouliot <spouliot@videotron.ca>
282 * StrongName.cs: XML now use Type.Name (instead of Type.FullName) to
283 match the XML generated by MS.
285 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
287 * CodeGroup.cs: make it build with mcs. This is a BUG.
289 2004-01-26 Sebastien Pouliot <spouliot@videotron.ca>
291 * AllMembershipCondition.cs: Clean up. Removed FIXME.
292 * ApplicationDirectoryMembershipCondition.cs: Basic (incomplete) Check.
293 * ApplicationDirectory.cs: Added IBuiltInEvidence (to please corcompare).
294 * CodeGroup.cs: Now use Activator for [Named]PermissionSet. Change
295 Equals so it can compile with mcs.
296 * Hash.cs: Added IBuiltInEvidence (to please corcompare).
297 * PolicyLevel.cs: Minor changes to use the new empty constructors in
298 [Named]PermissionSet.
299 * PermissionRequestEvidence.cs: Added IBuiltInEvidence (to please
300 corcompare). Now use SecurityElement in ToString.
301 * Publisher.cs: Added IBuiltInEvidence (to please corcompare).
302 * Site.cs: Added IBuiltInEvidence (to please corcompare).
303 * StrongName.cs: Added IBuiltInEvidence (to please corcompare). Now use
304 SecurityElement in ToString. Removed TODO on CreateIdentityPermission
305 (evidence isn't required in this case).
307 2004-01-14 Sebastien Pouliot <spouliot@videotron.ca>
309 * Url.cs: Added IBuiltInEvidence (corcompare) and new static methods
310 to prepare and compare urls.
311 * UrlMembershipCondition.cs: Added missing [Serializable] attribute
312 and set_Url property. Implemented Check. Fixed Equals and To/FromXml.
314 2004-01-05 Sebastien Pouliot <spouliot@videotron.ca>
316 * CodeGroup.cs: Added internal constructor for PolicyLevel. Complete
317 FromXml. Various small fixes to match the unit tests.
318 * FileCodeGroup.cs: Added internal constructor for PolicyLevel.
319 Implemented GetHashCode (may not be exactly the same as MS).
320 * FirstMatchCodeGroup.cs: Added internal constructor for PolicyLevel.
321 Copy method now returns a deep copy (as documented).
322 * NetCodeGroup.cs: Added internal constructor for PolicyLevel. Fixed
323 "Same site Web" (as documented) to "Same site Web." (as real life).
324 Copy method now returns a deep copy (as documented).
325 * PolicyLevel.cs: Added missing ChangeNamedPermissionSet. Implemented
326 FromXml method. Added internal methods to load from file or string.
327 Added/changed lots of things to match unit tests.
328 * StrongNameMembershipCondition.cs: Added internal constructor for
329 PolicyLevel. Fixed Equals.
330 * UnionCodeGroup.cs: Added internal constructor for PolicyLevel.
331 Copy method now returns a deep copy (as documented).
333 2004-01-03 Sebastien Pouliot <spouliot@videotron.ca>
335 * Site.cs: Completed implementation.
336 * SiteMembershipCondition.cs: New. Implemented.
338 2004-01-02 Sebastien Pouliot <spouliot@videotron.ca>
340 * ApplicationDirectory.cs: Added to build. Commented IBuildInEvidence
342 * Evidence.cs: Synchronised collections (IsSynchronized is always true).
343 Add Locked property and Security exceptions.
344 * Publisher.cs: Now use SecurityElement in ToString. Removed TODO for
345 CreateIdentityPermission (Evidence is useless).
346 * StrongNameMembershipCondition.cs: Added IConstantMembershipCondition
347 interface. Implemented Check method.
348 * Url.cs: Implemented CreateIdentityPermission.
349 * UrlMembershipCondition.cs: Added IConstantMembershipCondition interface.
350 * ZoneMembershipCondition.cs: Added IConstantMembershipCondition
351 interface. Implemented Check method.
353 2004-01-01 Nick Drochak <ndrochak@gol.com>
355 * PermissionRequestEvidence.cs: New File
357 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
359 * PublisherMembershipCondition.cs: Completed TODO.
361 2003-08-05 Duncan Mak <duncan@ximian.com>
363 * ZoneMembershipCondition.cs: Added.
365 * StrongNameMembershipCondition.cs:
366 * UrlMembershipCondition.cs: (FromXml): Throw exceptions when the
367 headers do not match.
369 * PolicyStatement.cs (FromXml):
370 (ToXml): Implemented.
372 2003-08-04 Duncan Mak <duncan@ximian.com>
374 * IConstantMembershipCondition.cs: added.
376 * AllMembershipCondition.cs:
377 * ApplicationDirectoryMembershipCondition.cs:
378 * PublisherMembershipCondition.cs: Added
379 IConstantMembershipCondition marker interface.
381 2003-08-03 Duncan Mak <duncan@ximian.com>
383 * StrongNameMembershipCondition.cs:
384 * UrlMembershipCondition.cs: Implemented.
386 2003-08-01 Duncan Mak <duncan@ximian.com>
388 * PolicyStatement.cs (Copy): Added.
390 * PolicyLevel.cs: Implemented missing methods.
392 2003-07-31 Duncan Mak <duncan@ximian.com>
394 * Site.cs (IsValidSite): new method for checking the validing of
397 2003-07-30 Duncan Mak <duncan@ximian.com>
399 * Url.cs (ToString): It should output an XML string, not just the
402 2003-07-28 Duncan Mak <duncan@ximian.com>
406 * Url.cs: Added to CVS, basic functionality implemented, except
407 for CreateIdentityPermission (Site, Url) and the Resolve methods
410 2003-06-29 Sebastien Pouliot <spouliot@videotron.ca>
412 * ApplicationDirectory.cs: Added [Serializable] attribute to class.
413 * Evidence.cs: Added [Serializable] attribute to class.
414 * FirstMatchCodeGroup.cs: Added [Serializable] attribute to class.
415 * HashMembershipCondition.cs: Added [Serializable] attribute to class.
416 * NetCodeGroup.cs: Added [Serializable] attribute to class.
417 * PublisherMembershipCondition.cs: Added [Serializable] attribute to class.
418 * Zone.cs: Added [Serializable] attribute to class.
420 2003-01-05 Sebastien Pouliot <spouliot@videotron.ca>
422 * Hash.cs: Added [Serializable] and ISerializable to class declaration.
423 Changed how the hash algorithm are created (now use system default
424 implementation). Added some exception handling.
426 2002-12-20 Jackson Harper <jackson@latitudegeo.com>
428 * Evidence.cs: Copy constructor does not attempt to merge if it recieves a null ref
430 2002-12-16 Sebastien Pouliot <spouliot@videotron.ca>
432 * StrongName.cs: New. Implemented.
434 2002-12-15 Sebastien Pouliot <spouliot@videotron.ca>
436 * Publisher.cs: New. Implemented.
437 * PublisherMembershipCondition.cs: New. X509 related stuff implemented.
439 2002-11-28 Jackson Harper <jackson@latitudegeo.com>
441 * NetCodeGroup.cs: Added file
443 2002-11-17 Jackson Harper <jackson@latitudegeo.com>
445 * FirstMatchCodeGroup.cs: Added Copyright
447 2002-11-17 Jackson Harper <jackson@latitudegeo.com>
449 * HashMembershipCondition.cs: Added file
451 2002-11-14 Jackson Harper <jackson@latitudegeo.com>
453 * Hash.cs: ToString now uses the SecurityElement class, Assembly byte data is cached after the first load
455 2002-11-11 Jackson Harper <jackson@latitudegeo.com>
457 * FirstMatchCodeGroup.cs: Made class sealed
459 2002-11-5 Jackson Harper <jackson@latitudegeo.com>
461 * ApplicationDirectory.cs: Fixed (C) in file header
463 2002-10-29 Nick Drochak <ndrochak@gol.com>
465 * Hash.cs: Fix build issues. Add some using statements mostly.
467 2002-10-28 Jackson Harper <jackson@latitudegeo.com>
469 * FirstMatchCodeGroup.cs, Hash.cs: New classes, somewhat finished
471 2002-10-28 Jackson Harper <jackson@latitudegeo.com>
473 * ApplicationDirectoryMembershipCondition.cs: Implemented most methods
475 2002-10-28 Jackson Harper <jackson@latitudegeo.com>
477 * ApplicationDirectory.cs: Added class
479 2002-10-28 Jackson Harper <jackson@latitudegeo.com>
481 * AllMembershipCondition.cs: Made GetHashCode act more like
482 MS version. All AllMembershipCondition instance's will return
483 the same hashcode but this hashcode should still be unique to
484 AllMembership Condition's.
487 2002-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
489 * IBuiltInEvidence.cs: New file.
490 * Zone.cs: New file. Implemented.
492 2002-06-10 Duncan Mak <duncan@ximian.com>
494 * IMembershipCondition.cs (Equals): Add missing methods.
496 2002-03-17 Nick Drochak <ndrochak@gol.com>
498 * ApplicationDirectoryMembershipCondition.cs: New file (stub)
500 2002-02-14 Nick Drochak <ndrochak@gol.com>
502 * FileCodeGroup.cs: Finish Equals()
504 2002-02-13 Dan Lewis <dihlewis@yahoo.co.uk>
506 * PolicyStatement: New file (stub)
508 2002-02-09 Nick Drochak <ndrochak@gol.com>
510 * FileCodeGroup.cs: New file. All done except for GetHashCode and
512 * CodeGroup.cs: Fix small bug in ToXml()
513 * Evidence.cs: Added method stub needed by FileCodeGroup.cs. Added
516 2002-02-07 Nick Drochak <ndrochak@gol.com>
518 * CodeGroup.cs: Went as far as I can for now. Need to look at
519 the (To|From)XML methods when I understand PolicyLevels better.
521 2002-02-02 Nick Drochak <ndrochak@gol.com>
523 * CodeGroup.cs: Not done, but checking in now just in case
525 2002-01-30 Nick Drochak <ndrochak@gol.com>
527 * CodeGroup.cs: New file. Not nearly done with this, but saving it
529 * PolicyLevel.cs: Sarted just a bit on this then relized i need CodeGroup
530 first (among others). Checking in for disaster recovery.
532 2002-01-29 Nick Drochak <ndrochak@gol.com>
534 * PolicyStatementAttribute.cs: New file.
535 * PolicyException.cs: Use correct namespace
536 * PolicyLevel.cs: Add [Serializable] to class
538 2002-01-19 Duncan Mak <duncan@ximian.com>
540 * PolicyException.cs: New File.
542 2002-01-03 Nick Drochak <ndrochak@gol.com>
544 * IIdentityPermissionFactory.cs: New File
545 * IMembershipCondition: New File
547 2001-12-29 Nick Drochak <ndrochak@gol.com>
549 * PolicyLevel.cs: New file
551 2001-12-21 Miguel de Icaza <miguel@ximian.com>
553 * SecurityElement.cs, CodeAccessPermission.cs IPermission.cs
554 IStackWalk.cs SecurityElement.cs ISecurityEncodable.cs: New files.