Commit Graph
31 Commits
Author SHA1 Message Date
Atsushi Eno bf48e7823d Part of fix #3003 - events do not prevent invoker setter unless Handled is true. Also use parent object as eventSender. 2012-03-09 16:59:57 +09:00
Atsushi Eno 1899ac381b lookup interface implementation of "Add" method. Fixed bug #2980. 2012-03-09 14:43:24 +09:00
Atsushi Eno 1d08b24a11 Attachable property setter was not working with XamlObjectWriter.
Fixed bug #693779.
2011-05-16 16:31:14 +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 9f2d02b5cc Add support for EnumTypeConverter in XamlValueConverter. Fixed bug #681724. 2011-03-23 14:45:58 +09:00
Atsushi Eno 5c44482089 Implement XamlMemberInvoker.UnknownInvoker too. 2011-01-20 18:28:19 +09:00
Atsushi Eno fb121b6809 Implement XamlTypeInvoker.UnknownInvoker. 2011-01-20 18:20:08 +09:00
Atsushi Eno 6bfb5c3644 Implement some XamlTypeInvoker methods (mostly unused yet). 2011-01-20 17:55:53 +09:00
Atsushi Eno a966f0bdae Fix XamlValueConverter; sometimes ConverterType exists but lacks default constructor. 2011-01-18 00:03:28 +09:00
Atsushi Eno 43a09ea661 ParseNameList() failed to parse nested generic type names. 2010-11-25 11:29:35 +09:00
Atsushi Eno d616bc5953 Parse() and ToString() array type name correctly. 2010-11-25 00:15:10 +09:00
Atsushi Eno 847225fd85 Rewrote ValueSerializer.GetSerializerFor() with couple of tests. 2010-11-18 02:36:33 +09:00
Atsushi Eno 53c7ebac26 Add new ValueSerializerContext and use it everywhere appropriate.
This change was basically for string serialization of XamlTypeName, namely
PropertyDefinition serialization.
Turned out it should be used in a lot of places where IServiceProvider
and ITypeDescriptorContext is expected.
IServiceProvider implementations in XamlWriters are replaced.
2010-11-12 09:51:52 +09:00
Atsushi Eno 53f99680c9 When collection instance returned null, do not try to GetItems(). 2010-11-11 15:46:11 +09:00
Atsushi Eno 272a2cd18c Fix generic XamlTypeName output and GetType() to get some xml reader case working. 2010-11-09 15:41:01 +09:00
Atsushi Eno 1227d3d127 Dictionary key might be inappropriately serialized into an attribute. 2010-11-06 04:14:37 +09:00
Atsushi Eno a0211617fc Uncommend code that prohibits XamlMemberInvoker.GetValue() on XamlDirective. 2010-10-27 18:05:19 +09:00
Atsushi Eno 69bf97bca7 XamlLanguage.Items is not correctly supported in XamlObjectReader. 2010-10-27 01:00:59 +09:00
Marek Safar aad016fd87 Clean up few more warnings 2010-10-15 15:20:25 +01:00
Atsushi Eno b0ffa90c3b Significant XamlObjectWriter rewrite for solid state transition. And now it supports Array(Extension) and other MarkupExtension types. 2010-10-07 22:43:10 +09:00
Atsushi Eno 90200efbcb 2010-04-22 Atsushi Enomoto <[email protected]>
* XamlMemberInvoker.cs : make sure GetValue() is not supported
	  on directives.

	* XamlMemberInvokerTest.cs : make sure GetValue() is not supported
	  on directives.


svn path=/trunk/mcs/; revision=155946
2010-04-22 12:13:16 +00:00
Atsushi Eno 8dd494a876 implement TypeExtensionConverter and several fixes around.
svn path=/trunk/mcs/; revision=155413
2010-04-14 17:59:26 +00:00
Atsushi Eno f70aadca75 2010-04-14 Atsushi Enomoto <[email protected]>
* XamlTypeName.cs : corcompare shows I was missing useful two.


svn path=/trunk/mcs/; revision=155399
2010-04-14 15:31:16 +00:00
Atsushi Eno d07652d303 implemented XamlTypeName.
svn path=/trunk/mcs/; revision=155393
2010-04-14 13:59:22 +00:00
Atsushi Eno c006769a3c 2010-04-13 Atsushi Enomoto <[email protected]>
* XamlTypeInvoker.cs : implement AddToCollection and AddToDictionary.


svn path=/trunk/mcs/; revision=155306
2010-04-13 12:42:43 +00:00
Atsushi Eno 58987d3b86 2010-04-13 Atsushi Enomoto <[email protected]>
* XamlType.cs : IsArray, IsCollection and IsGeneric are based on
	  LookupCollectionKind(). Removed buggy documented behavior from the
	  lookup method too.

	* XamlTypeTest.cs : assert that dictionary types are *not* collection.

	* XamlTypeInvoker.cs : implement CreateInstance() for object writer.


svn path=/trunk/mcs/; revision=155298
2010-04-13 09:17:24 +00:00
Atsushi Eno ea9a42b710 2010-04-12 Atsushi Enomoto <[email protected]>
* XamlTypeName.cs : methods were missing.


svn path=/trunk/mcs/; revision=155245
2010-04-12 15:17:47 +00:00
Atsushi Eno 0831db9491 2010-04-09 Atsushi Enomoto <[email protected]>
* System.Xaml_test.dll.sources : add more tests.

	* XamlTypeTypeConverter.cs, XamlValueConverter.cs : implemented.

	* XamlTypeTypeConverterTest.cs, XamlValueConverterTest.cs :
	  new tests.


svn path=/trunk/mcs/; revision=155148
2010-04-09 13:53:20 +00:00
Atsushi Eno 6ab67da5b9 ongoing implementation.
svn path=/trunk/mcs/; revision=155122
2010-04-09 05:22:24 +00:00
Atsushi Eno 93c9111a1c another bunch of implementation.
svn path=/trunk/mcs/; revision=155045
2010-04-08 13:06:38 +00:00
Atsushi Eno 48dc9caf4f initial checkin.
svn path=/trunk/mcs/; revision=155021
2010-04-08 03:00:24 +00:00