* ListView.cs: added paremeter checks to AddControlToContainer.
CreateInsertItem must instantiate the template and call raise the
ItemCreated event.
Added parameter checks to FindPlaceholder
2008-11-19 Marek Habersack <[email protected]>
* AssemblyInfo.cs: made System.Web.Extensions_test_net_2_0 a
friend assembly.
2008-11-19 Marek Habersack <[email protected]>
* EventRecorder.cs: class is now serializable.
* ListViewTest.cs: use system.web Mainsoft test framework.
ListViewPoker is now able to record events.
Added wrappers for ListView protected methods to ListViewPoker,
Added two simple test ITemplate classes.
Added tests for initial values.
Added tests for all the methods which can be tested in a simple
way, without using a real asp.net page.
Added test for the Edit functionality.
2008-11-19 Marek Habersack <[email protected]>
* CountryCollection.cs, Country.cs: added
2008-11-19 Marek Habersack <[email protected]>
* ListViewTest.aspx, ListViewSort.aspx, Web.mono.config: added
2008-11-19 Marek Habersack <[email protected]>
* Makefile (NUNIT_RESOURCE_FILES): added
* System.Web.Extensions_test.dll.sources: added the system.web
Mainsoft test suite files.
Added new test files.
svn path=/trunk/mcs/; revision=119375
* JsonDeserializer.cs: object can contain more than one unquoted
keys.
2008-10-22 Marek Habersack <[email protected]>
* JavaScriptSerializerTest.cs: added tests for deserialization of
objects with more than one unquoted key names.
svn path=/trunk/mcs/; revision=116713
* JsonSerializer.cs: "SerializeGenericDictionary" is an instance method,
fix retrieval of its MethodInfo.
Initialize serializeGenericDictionaryMethods (lazily).
Add and use GetClosedIDictionaryBase to also handle cases where a
non-generic class implements a closed IDictionary<,> (e.g.
SomeDictionary : IDictionary<string, object>). Fixes bug #424704.
First check for IDictionary<,>, then for IDictionary.
2008-09-20 Juraj Skripsky <[email protected]>
* JavaScriptSerializerTest.cs: added test for bug #424704.
svn path=/trunk/mcs/; revision=113829
* JsonDeserializer.cs: added support for stand-alone NaN, Infinity
and -Infinity values, as well as the same within an array.
2008-09-20 Marek Habersack <[email protected]>
* JavaScriptSerializerTest.cs: added some tests
svn path=/trunk/mcs/; revision=113596
* Json.cs: added new Serialize overload which takes a TextWriter
for its output parameter.
Added Deserialize methods.
* JsonSerializer.cs: made InitialJavaScriptDateTicks internal.
Added new Serialize overload which takes a TextWriter for its
output parameter.
Added WriteValue overloads for float and double - they must not be
converted to strings as IConvertibles because their Max/MinValue
end up converted incorrectly.
* JavaScriptSerializer.cs: adjustments for the new JSON
(de)serializer.
* JsonDeserializer.cs: new JSON deserializer code, fully compliant
with the .NET AJAX one.
2008-09-19 Marek Habersack <[email protected]>
* JavaScriptSerializerTest.cs: enabled some tests which were
failing with the old (de)serializer, but work with the new one.
2008-09-19 Marek Habersack <[email protected]>
* System.Web.Extensions.dll.sources: removed most of the
Newtonsoft JSON code, leaving only ReflectionUtils and
JavaScriptUtils.
svn path=/trunk/mcs/; revision=113590
* JsonSerializer.cs: do not perform deep object serialization - it
results in all kinds of problems (including too big size of the
resulting string, recursion errors when two or more objects in the
hierarchy hold a reference to some object) and is not what .NET
code does.
Property name is written only after it is determined if we're
serializing the property or not.
Entire object is serialized only if it's the object requested for
serialization by calling code.
2008-08-22 Marek Habersack <[email protected]>
* Test/System.Web.Script.Serialization/JavaScriptSerializerTest.cs:
marked several of the JavaScriptSerializer tests as not
working. Experiments show that the tests are invalid as they relay
on behavior which is different to .NET's.
* System.Web.Script.Serialization/JavaScriptSerializer.cs:
GetConverter now checks whether the requested type is descendant
from the type supported by teh converter.
svn path=/trunk/mcs/; revision=111421