Commit Graph
10 Commits
Author SHA1 Message Date
Marek Safar d9e4371f9e Clean up assembly attributes 2012-06-07 15:17:52 +01:00
Rolf Bjarne Kvinge f64261401d Fix many corcompare issues for moonlight 2011-03-31 16:05:03 +02:00
Andreia Gaita 987ef9dbab [Json] Add support for calling external json (de)serialization methods
On Moonlight, ScriptObject types have custom (de)serialization methods that
need to be called whenever a user object includes properties of that type.
This patch creates a TypeMap subclass (ExternalTypeMap) and exposes a method
that can be called from moon's System.Windows.Browser to register custom
serialization and deserialization methods, keyed by type. These are called
whenever a property is found with a type (or base type) that has custom
methods registered.
2010-10-16 19:58:08 +01:00
Sebastien Pouliot 58907842f3 Fix public key in [InternalsVisibleTo] attribute
mcs/class/System.ServiceModel.Web/Assembly/AssemblyInfo.cs: Use the
Silverlight public key (instead of the regular FX public key) for
NET_2_1
2010-08-27 14:32:20 -04:00
Atsushi Eno 4efe543e9f 2010-07-06 Atsushi Enomoto <[email protected]>
* DataContractJsonSerializer_2_1.cs : add extra methods for
	  Sys.SM.Web.Extensions build.

	* WebMessageFormatter.cs : add NET_2_1 profile build.

	* AssemblyInfo.cs : InternalVisibleTo System.ServiceModel.Web.Extensions.


svn path=/trunk/mcs/; revision=159943
2010-07-06 08:59:28 +00:00
Atsushi Eno 286c255027 2010-03-10 Atsushi Enomoto <[email protected]>
in System.ServiceModel.Web:
	* JavaScriptObjectDeserializer.cs : new internal file, which is
	  used by System.Json (for moonlight compatibility).

	* net_2_0_System.ServiceModel.Web.dll.sources,
	  net_2_1_raw_System.ServiceModel.Web.dll.sources :
	  add JavaScriptObjectDeserializer.cs and JsonReader in Sys.Json
	  (which is to be moved later).

	* AssemblyInfo.cs: added InternalVisibleTo(System.Json). Also added
	  dummy 2.0 for easy testing.

in System.Json:

	* JsonValue.cs : use Sys.SM.Web.dll's JavaScriptObjectDeserializer
	  for silverlight sdk / moonlight compatibility.
	* JsonReader.cs : renamed to JavaScriptReader (for disambiguation in
	  Sys.SM.Web.dll). Now it is native-type based and used by the above
	  deserializer.

	* Makefile : reference System.Xml and System.ServiceModel.Web (for
	  moonlight compatibility).

	* AssemblyInfo.cs : use the same pub key in 2.0 (dummy), to ease
	  testing locally.



svn path=/trunk/mcs/; revision=153392
2010-03-10 10:17:24 +00:00
Sebastien Pouliot ef24668f0a 2010-01-25 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Fix attributes for Moonlight


svn path=/trunk/mcs/; revision=150147
2010-01-25 20:56:07 +00:00
Jb Evain 7248236f72 2009-01-14 Jb Evain <[email protected]>
* AssemblyInfo.cs: fix the public key for the NET_2_1 case.


svn path=/trunk/mcs/; revision=123378
2009-01-14 16:56:11 +00:00
Jb Evain e249dca8d2 adapt olive Makefiles to mcs
svn path=/trunk/mcs/; revision=111193
2008-08-20 21:32:10 +00:00
Jb Evain 982e3b35a4 move to from olive to mcs
svn path=/trunk/mcs/; revision=111188
2008-08-20 21:25:05 +00:00