Commit Graph
137 Commits
Author SHA1 Message Date
Rodrigo Kumpera b96d05dac3 Kill the MOONLIGHT define in corlib. 2013-02-11 16:03:28 -05:00
Rodrigo Kumpera 010ce6d97e Don't tag some CAS types as obsolete. 2012-11-06 18:18:16 -05:00
Marek Safar c45375b4c8 Fix types signature 2012-07-27 12:25:43 +01:00
Marek Safar 5b82f0e08c Clean up some NET_2_0 2012-06-14 15:44:35 +01:00
Miguel de Icaza ae0feab435 Removal of NET_1_1 defines and some NET_2_0; Both defines are true these days in Mono, no versions prior to 2.0 are supported 2012-06-01 18:04:24 -04:00
Marek Safar 0781122a85 Add missing 4.0 api 2011-04-20 12:41:29 +01:00
Sebastien Pouliot 7e6233e011 Add some missing API into Moonlight
* System.Runtime.Versioning/ComponentGuaranteesAttribute.cs:
* System.Runtime.Versioning/ComponentGuaranteesOptions.cs:
	Add || MOONLIGHT

* System.Security.Permissions/SecurityAction.cs
* System/ContextStaticAttribute.cs
* System/ExecutionEngineException.cs
	Make sure the [Obsolete] attributes are present in moonlight

* moonlight_raw_corlib.dll.sources: Include both System.Runtime.Versioning
ComponentGuarantees[Attribute|Options] into moonlight build
2011-03-10 14:33:31 -05:00
Zoltan Varga f443dbf4fa Fix a warning/bug. 2011-02-06 20:27:02 +01:00
Marek Safar 510289542e Add an error to obsolete attribute to get consistent compiler error code 2010-12-17 09:36:09 +00:00
Marek Safar bd05c6c836 Some .net 4.0 api compatibility fixes 2010-12-15 11:12:07 +00:00
Raja R Harinath cd51491631 Fix a few cases of mixed line-endings
This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller.  I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.
2010-07-26 02:20:13 +05:30
Raja R Harinath b293948fb7 EOL handling
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.

With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2010-07-25 20:17:39 +05:30
Jb Evain f5872f06f6 use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153671
2010-03-16 12:25:55 +00:00
Marek Safar d02179ed24 Warnings cleanup
svn path=/trunk/mcs/; revision=149459
2010-01-13 13:14:15 +00:00
Miguel de Icaza 3c39ac4586 Jumbo patch for NET_2_0, mscorlib is now clean
svn path=/trunk/mcs/; revision=145621
2009-11-06 22:23:59 +00:00
Sebastien Pouliot fe3e735aa1 2009-09-22 Sebastien Pouliot <[email protected]>
* PermissionSetAttribute.cs: Don't create a pset for NET_2_1


svn path=/trunk/mcs/; revision=142395
2009-09-22 13:30:41 +00:00
Sebastien Pouliot 3314a5b408 2009-09-18 Sebastien Pouliot <[email protected]>
* EnvironmentPermissionAttribute.cs, FileIOPermissionAttribute.cs,
	HostProtectionAttribute.cs, ReflectionPermissionAttribute.cs,
	SecurityPermissionAttribute.cs, StrongNamePermissionAttribute.cs: 
	Return a null IPermission for NET_2_1
	* PermissionSetAttribute.cs: Return null when paring from XML for 
	NET_2_1


svn path=/trunk/mcs/; revision=142215
2009-09-18 18:18:08 +00:00
Jb Evain 288e614ea4 bring Mono Security to monotouch
svn path=/trunk/mcs/; revision=141615
2009-09-09 15:34:58 +00:00
Marek Safar a4a749d6a3 2009-07-30 Marek Safar <[email protected]>
* ReflectionPermission.cs: RestrictedMemberAccess can be set.

	* ReflectionPermissionFlag.cs: Add [Obsolete] on NET_4_0.


svn path=/trunk/mcs/; revision=139075
2009-07-30 13:19:58 +00:00
Sebastien Pouliot 162e6b6477 2009-06-05 Sebastien Pouliot <[email protected]>
* SecurityPermissionFlag.cs: Add [Obsolete] on NET_2_1 since CAS 
	stuff is not available in Moonlight.


svn path=/trunk/mcs/; revision=135544
2009-06-05 18:19:00 +00:00
Sebastien Pouliot 354894ef6f 2009-05-01 Sebastien Pouliot <[email protected]>
* CodeAccessSecurityAttribute.cs, SecurityAction.cs, 
	SecurityAttribute.cs, SecurityPermissionAttribute.cs: Add [Obsolete]
	on NET_2_1 since CAS stuff is not available in Moonlight. Note that
	the types needs to be present because compiler insert them inside
	assemblies.


svn path=/trunk/mcs/; revision=133279
2009-05-01 18:21:16 +00:00
Sebastien Pouliot 708e9ef50c minor NET_2_1 tweaks to remove 12 unneeded [SecuritySafeCritical] inside Moonlight 2
svn path=/trunk/mcs/; revision=133184
2009-04-30 14:03:27 +00:00
Marek Safar cc9c53a109 Warnings cleanup
svn path=/trunk/mcs/; revision=111713
2008-08-27 15:40:13 +00:00
Andreas N 683117895e 2008-07-06 Andreas Nahr <[email protected]>
* ReflectionPermissionFlag.cs: Add missing member
	* ReflectionPermissionAttribute.cs: Implement missing member

svn path=/trunk/mcs/; revision=107321
2008-07-06 12:36:42 +00:00
Andreas N a4120bc9c2 2008-07-02 Andreas Nahr <[email protected]>
* SecurityPermission.cs:
	* RegistryPermission.cs:
	* PrincipalPermission.cs:
	* KeyContainerPermissionAccessEntry.cs:
	* KeyContainerPermission.cs:
	* GacIdentityPermission.cs: Fix parameter names

svn path=/trunk/mcs/; revision=107105
2008-07-02 21:45:13 +00:00
Sebastien Pouliot b00600afd3 2006-08-21 Sebastien Pouliot <[email protected]>
* FileIOPermission.cs: Fix union of paths (#79118). Implement subpaths
	handling correctly. Change some internal methods to static.


svn path=/trunk/mcs/; revision=64145
2006-08-21 14:31:04 +00:00
Sebastien Pouliot 9bf5491baa 2006-05-30 Sebastien Pouliot <[email protected]>
* CodeAccessSecurityAttribute.cs: Under 2.0 the ctor is protected.
	* IsolatedStoragePermissionAttribute.cs: Under 2.0 the ctor is 
	protected.
	* IsolatedStoragePermission.cs: Under 2.0 the ctor is protected.
	* SecurityAttribute.cs: Under 2.0 the ctor is protected.


svn path=/trunk/mcs/; revision=61264
2006-05-30 15:58:34 +00:00
Sebastien Pouliot 58ec03fa7f 2006-04-07 Sebastien Pouliot <[email protected]>
* FileIOPermission.cs: Ensure the "bad" path characters match the OS
	ones. Reworked the code to avoid the modifiable array trap present in
	Fx 1.x and to be more precise in the 2.0 profile.


svn path=/trunk/mcs/; revision=59197
2006-04-07 17:21:45 +00:00
Carlos Alberto Cortez d15cec641c 2005-11-14 Carlos Alberto Cortez <[email protected]>
* IsolatedStoragePermission.cs: Updated FromXml with
	the latest signature modifications to Parse methods 
	inside System ns.


svn path=/trunk/mcs/; revision=53032
2005-11-14 20:41:00 +00:00
Sebastien Pouliot be0688822c 2005-11-09 Sebastien Pouliot <[email protected]>
* EnvironmentPermissionAccess.cs: Added missing [Serializable] (2.0).
	* FileIOPermissionAccess.cs: Added missing [Serializable] (2.0).
	* PermissionState.cs: Added missing [Serializable] (2.0).
	* ReflectionPermissionFlag.cs: Added missing [Serializable] (2.0).
	* RegistryPermissionAccess.cs: Added missing [Serializable] (2.0).
	* UIPermissionClipboard.cs: Added missing [Serializable] (2.0).
	* UIPermissionWindow.cs: Added missing [Serializable] (2.0).


svn path=/trunk/mcs/; revision=52784
2005-11-09 15:03:46 +00:00
Sebastien Pouliot b566770930 2005-09-22 Sebastien Pouliot <[email protected]>
* ReflectionPermissionAttribute.cs: TypeInformation is obsolete.
	* SecurityAction.cs: *Choice security actions are removed in 2.0 RC.


svn path=/trunk/mcs/; revision=50486
2005-09-22 13:56:08 +00:00
Sebastien Pouliot 817c99f682 2005-06-22 Sebastien Pouliot <[email protected]>
* FileIOPermission.cs, IsolatedStorageFilePermission.cs, 
	KeyContainerPermission.cs, RegistryPermission.cs: better comments on
	remaining TODO (all 2.0 related) to ease grepping.


svn path=/trunk/mcs/; revision=46387
2005-06-22 19:54:38 +00:00
Sebastien Pouliot f57c2be0b1 2005-06-16 Sebastien Pouliot <[email protected]>
* PrincipalPermission.cs: Fixed IsSubsetOf method when permission is
	empty.


svn path=/trunk/mcs/; revision=46103
2005-06-16 19:30:35 +00:00
Sebastien Pouliot e0cc36e994 2005-06-10 Sebastien Pouliot <[email protected]>
* StrongNamePublicKeyBlob.cs: Reduce casts in Equals.


svn path=/trunk/mcs/; revision=45745
2005-06-10 10:50:07 +00:00
Sebastien Pouliot f329ece032 forgot a few of them...
svn path=/trunk/mcs/; revision=45701
2005-06-09 14:09:11 +00:00
Sebastien Pouliot d14ba5bfe9 2005-06-09 Sebastien Pouliot <[email protected]>
* all: Added ComVisible(true) and some Obsolete attributes for NET_2_0


svn path=/trunk/mcs/; revision=45686
2005-06-09 11:12:35 +00:00
Sebastien Pouliot f38eba71cc 2005-06-07 Sebastien Pouliot <[email protected]>
* IsolatedStorageFilePermission.cs: Removed unrequired TODO on ctor.
	Added ComVisible for NET_2_0.
	* GacIdentityPermissionAttribute.cs: Removed FIXME. Added ComVisible 
	for NET_2_0.


svn path=/trunk/mcs/; revision=45596
2005-06-07 19:41:36 +00:00
Sebastien Pouliot 388893fee0 2005-05-18 Sebastien Pouliot <[email protected]>
* HostProtectionAttribute.cs: Fixes flag cleaning logical 
	operation (found by Jordi).
	* SecurityPermissionAttribute.cs: Fixes flag cleaning logical 
	operation (this is the original sinner ;-).


svn path=/trunk/mcs/; revision=44708
2005-05-18 19:16:05 +00:00
Raja R Harinath e0cfa4925e Set svn:eol-style=native, delete svn:executable.
Fix line endings of System/Decimal.cs (only actual "change" in text, to force recompile of mscorlib to reflect changes in decimal constant handling in the compiler)


svn path=/trunk/mcs/; revision=44558
2005-05-16 12:23:26 +00:00
Sebastien Pouliot f93c536550 2005-05-16 Sebastien Pouliot <[email protected]>
* IsolatedStoragePermission.cs: Added UserQuota attribute in XML.


svn path=/trunk/mcs/; revision=44555
2005-05-16 12:03:08 +00:00
Atsushi Eno 0e388c1237 2005-05-12 Atsushi Enomoto <[email protected]>
* corlib.dll.sources: replaced MiniParser.cs with SmallXmlParser.cs.

	* SmallXmlParser.cs,
	  SecurityParser.cs : Use new SmallXmlParser.cs instead of MiniParser.

	* RemotingConfiguration.cs : MiniParser->SmallXmlParser changes.

	* PermissionSetAttribute.cs : MiniParser->SmallXmlParser changes.


svn path=/trunk/mcs/; revision=44422
2005-05-12 03:40:00 +00:00
Sebastien Pouliot c95a9bb660 2005-04-26 Sebastien Pouliot <[email protected]>
* IBuiltInPermission.cs: Fixed index values for GacIdentityPermission
	and KeyContainerPermission. Removed DataProtectionPermission.
	* IsolatedStorageContainment.cs: Fixed ApplicationIsolationByUser 
	value to 0x15.
	* UrlIdentityPermission.cs: Fixed differences between 1.x and 2.0.


svn path=/trunk/mcs/; revision=43611
2005-04-26 18:24:00 +00:00
Sebastien Pouliot 304cd242d2 2005-03-24 Sebastien Pouliot <[email protected]>
* FileIOPermission.cs: Now use InsecureGetFullPath to add paths to 
	it's lists (as GetFullPath is more restricted than the permission).
	Removed unrequired use of GetFullPath in union and subset ops.
	* IsolatedStoragePermission.cs: Added InheritanceDemand for 
	ControlEvidence and ControlPolicy on class.


svn path=/trunk/mcs/; revision=42216
2005-03-24 14:30:33 +00:00
Sebastien Pouliot d0a385dd41 2005-03-17 Sebastien Pouliot <[email protected]>
* IsolatedStorageContainment.cs: Add missing BOOTSTRAP_NET_2_0 to new
	enum values. Fix bug #73046.


svn path=/trunk/mcs/; revision=41958
2005-03-17 19:41:21 +00:00
Martin Baulig a5ec1e40d7 2005-03-17 Martin Baulig <[email protected]>
* SecurityAction.cs: Use `#if NET_2_0 || BOOTSTRAP_NET_2_0'.


svn path=/trunk/mcs/; revision=41956
2005-03-17 18:26:01 +00:00
Sebastien Pouliot 07e0df646f 2005-02-24 Sebastien Pouliot <[email protected]>
* GacIdentityPermission.cs: Fixed warning.
	* StrongNameIdentityPermission.cs: Added support for multiple entries
	for NET_2_0 profile (required for SecurityAction.*DemandChoice).


svn path=/trunk/mcs/; revision=41172
2005-02-25 02:41:09 +00:00
Sebastien Pouliot 88acf2faaa 2005-01-24 Sebastien Pouliot <[email protected]>
* FileIOPermission.cs: Removed old commented code and a LAMESPEC (as 
	current documentation has been corrected).


svn path=/trunk/mcs/; revision=39457
2005-01-25 02:18:30 +00:00
Sebastien Pouliot 6b76ff6aea 2005-01-19 Sebastien Pouliot <[email protected]>
* SiteIdentityPermission.cs: Fix case were the wildcard '*' is present
	but not the first character of the site.


svn path=/trunk/mcs/; revision=39185
2005-01-19 16:35:19 +00:00
Sebastien Pouliot 6c59f1dfc1 2005-01-11 Sebastien Pouliot <[email protected]>
* PermissionSetAttribute.cs: Throw proper exception if XML cannot be
	decoded. Actually load (not just creates) the XML permissions.


svn path=/trunk/mcs/; revision=38726
2005-01-11 20:01:35 +00:00
Sebastien Pouliot c9eea6e61f 2005-01-08 Sebastien Pouliot <[email protected]>
* PermissionSetAttribute.cs: Implemented Hex property (2.0) now that
	it is documented.
	* RegistryPermission.cs: Added text to MonoTODO, i.e. lack of access 
	control support.
	* KeyContainerPermissionFlags.cs: Fixed values for ViewAcl and 
	ChangeAcl (a hole as been left). This also corrects AllFlags.


svn path=/trunk/mcs/; revision=38539
2005-01-08 20:26:20 +00:00