Commit Graph
24 Commits
Author SHA1 Message Date
Atsushi Eno 23a7a0b657 Implement XamlReader.ReadSubtree(). 2011-02-02 18:18:02 +09:00
Atsushi Eno 99ac282cf3 Implement XamlNodeQueue, and add couple of missing files. 2011-01-12 02:03:24 +09:00
Atsushi Eno ddda7df985 Implemented Reference resolution in XamlObjectWriter. 2010-12-06 20:16:41 +09:00
Atsushi Eno 4c3566e2cc Split internal base class into new file. 2010-12-03 18:24:16 +09:00
Atsushi Eno 005843a956 Rename source. 2010-12-03 16:56:56 +09:00
Atsushi Eno 7638efab1a Add refresh XamlObjectWriter implementation.
This writer can process a lot more xaml inputs. It is now unified to
XamlXmlWriter, sharing some internals (already existed in XamlXmlWriter.cs).

Had to disable a few minor tests that used to pass for invalid inputs.
2010-11-25 12:24:35 +09:00
Gonzalo Paniagua Javier 0dfbd6131c Fix the build. 2010-11-19 12:36:04 -05:00
Atsushi Eno ba0496004f Implement XamlType.CanAssignTo(). Remove extra writer state members. 2010-11-19 21:24:36 +09:00
Atsushi Eno 99fd235718 Add support for MarkupExtension attribute in XamlXmlReader. 2010-11-12 15:11:19 +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 00ef616425 Remove old code (overwrite). 2010-11-11 12:24:30 +09:00
Atsushi Eno 6e5eedaba4 Split XamlNode.cs to object-reader specific code and else. 2010-11-11 12:17:23 +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
Atsushi Eno 4559e7636f Extracted PrefixLookup to another file. Add more XamlTypeName.ToString() tests. 2010-11-03 02:31:28 +09:00
Atsushi Eno 30c4562e33 (Finally) replace old XamlObjectReader implementation with new one. 2010-10-29 19:23:05 +09:00
Atsushi Eno 9f00ccba9e Introduce new XamlObjectReader implementation.
Nodes are iterated in XamlNodeIterator which is used by XamlObjectReader.
It collects namespace declarations as it does in the reading the objects.
The new code is somewhat better, with less "special" hardcoded rules.

It can be even compiled with .NET (with TypeExtensionMethods).
2010-10-29 05:58:20 +09:00
Marek Safar aad016fd87 Clean up few more warnings 2010-10-15 15:20:25 +01:00
Atsushi Eno c3a2bb4011 Use MarkupExtension.ProvideValue() so that XamlObjectReader can return expected Result. Implement internal IXamlNameResolver for Reference resolution. 2010-10-06 16:31:18 +09:00
Atsushi Eno bf756bc01b 2010-04-12 Atsushi Enomoto <[email protected]>
* XamlWriterStateManager.cs, XamlXmlWriter.cs : extracted former
	  from latter, to reuse it in XamlObjectWriter too.

	* System.Xaml.dll.sources : add new internal type.


svn path=/trunk/mcs/; revision=155248
2010-04-12 15:53:04 +00:00
Atsushi Eno fcb4e9cfd0 ongoing implementation: TypeConverter support
svn path=/trunk/mcs/; revision=155163
2010-04-09 16:35:48 +00:00
Atsushi Eno 52391242a0 2010-04-09 Atsushi Enomoto <[email protected]>
* TypeExtension.cs, TypeExtensionMethods.cs : renamed to avoid
	  confusion between Sys.Win.Markup.TypeExtension.

	* System.Xaml.dll.sources : renamed TypeExtension.cs.


svn path=/trunk/mcs/; revision=155130
2010-04-09 09:53:31 +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