Commit Graph
10 Commits
Author SHA1 Message Date
Andreia Gaita ae2770b9c3 2009-03-13 Andreia Gaita <[email protected]>
* JsonReader.cs: fix depth calculation
	* JsonReaderTest.cs: test for skip and depth (if depth fails, skip is affected)

svn path=/trunk/mcs/; revision=129240
2009-03-13 03:09:30 +00:00
Geoff Norton e26db4576d 2009-03-12 Geoff Norton <[email protected]>
* TypeMap.cs: Avoid checking the getter/setter information until after
        checking if we have the required attribute decorated.

svn path=/trunk/mcs/; revision=129232
2009-03-13 00:09:51 +00:00
Andreia Gaita 4302acae88 2009-03-12 Andreia Gaita <[email protected]>
* JsonReaderWriterFactory.cs: try to auto-detect encoding for streams
	without BOM

svn path=/trunk/mcs/; revision=129226
2009-03-12 23:40:03 +00:00
Chris Toshok 53fd125cbe In System.Runtime.Serialization/System.Xml:
2009-03-02  Chris Toshok  <[email protected]>

	* XmlBinaryDictionaryReader.cs, XmlSimpleDictionaryReader.cs: 2.1
	has HasValue.

In System.XML/System.Xml:
2009-03-02  Chris Toshok  <[email protected]>

	* XmlReader.cs, XmlTextReader.cs, XmlTextReader2.cs,
	EntityResolvingXmlReader.cs: 2.1 has HasValue.


In System.XML/Mono.Xml:
2009-03-02  Chris Toshok  <[email protected]>

	* SubtreeXmlReader.cs, XmlFilterReader.cs: 2.1 has HasValue.

In System.Xml.Linq/System.Xml.Linq:
2009-03-02  Chris Toshok  <[email protected]>

	* XNodeReader.cs: 2.1 has HasValue.

In System.ServiceModel.Web/System.Runtime.Serialization.Json:
2009-03-02  Chris Toshok  <[email protected]>

	* JsonReader.cs: 2.1 has HasValue.


svn path=/trunk/mcs/; revision=128406
2009-03-03 00:44:33 +00:00
Atsushi Eno 78c9e57f94 2009-02-02 Atsushi Enomoto <[email protected]>
* JsonReader.cs : show invalid input character in the error
          message.


svn path=/trunk/mcs/; revision=125341
2009-02-02 12:38:03 +00:00
Atsushi Eno 9359270470 2009-02-02 Atsushi Enomoto <[email protected]>
* TypeMap.cs : in 2.1 do not use non-2.1 CreateInstance().


svn path=/trunk/mcs/; revision=125338
2009-02-02 11:35:56 +00:00
Atsushi Eno 276f8e262c 2009-02-02 Atsushi Enomoto <[email protected]>
* TypeMap.cs : allow get-only collections. Note that they are not
	  always deserializable (in .NET either).

	* DataContractJsonSerializerTest.cs : fixed some tests to match
	  .NET RTM behavior. Added read-only collection case, (but [Ignore]d).


svn path=/trunk/mcs/; revision=125332
2009-02-02 10:50:33 +00:00
Atsushi Eno 70db8e61e3 2009-02-02 Atsushi Enomoto <[email protected]>
* TypeMap.cs : DataContractJsonSerializer in RTM does not seem to
	  reject contract-less types. So populate map for public members.
	* DataContractJsonSerializer.cs : close XmlWriter to flush stream
	  (and it closes the stream by default).

	* DataContractJsonSerializerTest.cs : added test for contract-less
	  serialization.

	* Makefile : add -d:NET_3_5.


svn path=/trunk/mcs/; revision=125328
2009-02-02 09:38:03 +00:00
Andreia Gaita 523919603d 2009-02-02 Andreia Gaita <[email protected]>
* JsonSerializationReader.cs : Use 2.1 "approved" calls for Enum.Parse
    and Convert.ChangeType

svn path=/trunk/mcs/; revision=125298
2009-02-02 02:52:45 +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