Commit Graph
39 Commits
Author SHA1 Message Date
Atsushi Eno 62537fdd3c Fix bug #2927: lookup event bound methods from root instance, not current object. 2012-01-19 18:30:33 +09:00
Atsushi Eno e07a7150a7 Reimplemented XamlXmlReader to make it iterator based, much less stateful.
Also fixed bug #638290 (required lots of state management complication).
2011-03-31 21:05:19 +09:00
Atsushi Eno 62113eebbd XamlXmlReader didn't update current_member after EndMember and kept old one.
Fixed bug #682933.
2011-03-28 16:05:17 +09:00
Atsushi Eno b5339d6f07 Fix generic interface lookup to not miss exact match. Fixed bug #682140. 2011-03-25 01:37:02 +09:00
Atsushi Eno 5dc910ee50 Again I forgot to add test xml file... 2011-03-24 23:25:16 +09:00
Atsushi Eno 75c1d16157 Nullable type needs special treatment in XamlValueConverter. fixed bug #682119. 2011-03-24 21:32:27 +09:00
Atsushi Eno b6296239a6 Add AmbientProperty tests (complicated, not working) for bug #682102. 2011-03-24 15:19:30 +09:00
Atsushi Eno 6043622186 Add another complicated ContentProperty case. 2011-03-23 22:33:56 +09:00
Atsushi Eno 5225990ace Forgot to add test xml files for the previous commit. 2011-03-23 21:30:09 +09:00
Atsushi Eno 9f2d02b5cc Add support for EnumTypeConverter in XamlValueConverter. Fixed bug #681724. 2011-03-23 14:45:58 +09:00
Atsushi Eno 927b5d1b3b TypeConverterAttributes on XamlMember were ignored in XamlObjectWriter.
Fixed bug #681480.
2011-03-22 19:09:41 +09:00
Marek Safar 29ecab06f2 CRLF conversion 2011-03-18 12:40:01 +00:00
Atsushi Eno 62a5658bb2 in XamlXmlReader, read <FooType.BarMember>-style element.
Fixed bug #680385.
2011-03-18 17:23:20 +09:00
Atsushi Eno 9f92cc615e Add missing test files. 2011-02-02 18:14:24 +09:00
Atsushi Eno 4a33efa191 Implemented event support. 2011-01-13 21:12:41 +09:00
Atsushi Eno 99ac282cf3 Implement XamlNodeQueue, and add couple of missing files. 2011-01-12 02:03:24 +09:00
Atsushi Eno dacee05e27 Implemented XData object reader support. Add missing test files. 2010-12-07 16:23:53 +09:00
Atsushi Eno 491de14adb Add missing xml file. 2010-12-06 21:52:59 +09:00
Atsushi Eno 18ce69f876 Add missing files. 2010-12-06 20:17:48 +09:00
Atsushi Eno c69f828983 Add test xml files. 2010-12-01 00:30:56 +09:00
Atsushi Eno 4c473e946d Add another test xml file. 2010-11-30 15:20:03 +09:00
Atsushi Eno d488e78c06 Add missing test xml files. 2010-11-26 17:39:41 +09:00
Atsushi Eno 369c0235ca Add missing test file. 2010-11-18 02:35:59 +09:00
Atsushi Eno 56f65a39af Add test for writing PropertyDefinition. 2010-11-12 09:59:26 +09:00
Atsushi Eno d4659e7b67 removed xml output code (mostly harmless but could break xml files). 2010-11-11 12:14:04 +09:00
Atsushi Eno 96bfef3d48 Add and/or altered a bunch of XamlXmlReader tests based on common reader tests.
Lots of tests are duplicate for the same XML inputs, so they are just removed.
2010-11-10 01:11:44 +09:00
Atsushi Eno 46fde0a06b Forgot to add a test xml. 2010-11-08 20:37:37 +09:00
Atsushi Eno 83d8b694f7 Add new XamlXmlWriter implementation. Marked some as NotWorking while removed a lot. 2010-11-06 02:11:17 +09:00
Marek Safar 4f39070a86 Fix line endings. 2010-10-29 19:23:47 +01:00
Atsushi Eno 70c7392f53 Add tests for all types that are tested for XamlObjectReader (mostly NotWorking). 2010-10-29 20:46:37 +09:00
Atsushi Eno 33c42bac10 checkin forgotten files. 2010-10-25 22:34:42 +09:00
Atsushi Eno 0440378961 Add missing file. 2010-10-09 13:53:57 +09:00
Atsushi Eno 595b58814f Add ContentProperty support in XamlXmlReader. Add some testcases. 2010-10-06 15:47:00 +09:00
Marek Safar bc30dd1a74 line ending 2010-10-05 21:00:57 +01:00
Atsushi Eno a6746868f6 A couple of fixes around XamlSchemaContext.GetXamlType(XamlTypeName) and get XamlXmlReader pass with unknown type names. 2010-10-04 00:44:53 +09:00
Atsushi Eno 178841ff1c 2010-04-16 Atsushi Enomoto <[email protected]>
* XamlXmlReader.cs : Resolve generic type names. Process attribute
	  members.
	* XamlLanguage.cs : add XamlTypeName-to-ClrType method.
	* XmlSchemaContext.cs : extracted special type name handling to above.

	* XamlXmlReaderTest.cs : add more detailed read tests, and more
	  file-based tests (not working yet).

	* Dictionary_Int32_String.xml, Dictionary_String_Type.xml :
	  add more test files (not working though).


svn path=/trunk/mcs/; revision=155619
2010-04-16 09:31:50 +00:00
Atsushi Eno 1b5d49ab42 2010-04-15 Atsushi Enomoto <[email protected]>
* XamlObjectReader.cs, TypeExtensionMethods.cs :
	  Value serialization improvements. Improved namespace handling.
	  Remove unused code.

	* XamlObjectReaderTest.cs : add more read tests (lots of them are
	  not fully working yet).

	* DateTime.xml : new test file. (not working though)


svn path=/trunk/mcs/; revision=155479
2010-04-15 08:11:11 +00:00
Atsushi Eno d85fdd52be 2010-04-14 Atsushi Enomoto <[email protected]>
* XamlXmlWriter.cs : use TypeConverter to get string value to write.
	  (TimeSpan shows the difference; the type's ValueSerializer is null,
	  while TypeConverter is not, and gives the expected non-xsd output.)

	* XamlXmlReaderTest.cs : add primitive TimeSpan reader test.

	* TimeSpan.xml : new test file.


svn path=/trunk/mcs/; revision=155418
2010-04-14 18:47:36 +00:00
Atsushi Eno 61122bd9e3 XamlXmlReader implementation.
svn path=/trunk/mcs/; revision=155376
2010-04-14 10:29:27 +00:00