1 2005-08-23 Iain McCoy <iain@mccoy.id.au>
3 * System.Windows.Serialization/XamlParser.cs: rearrange class so that
4 it presents a ReadNextNode() method, repeated calling of which will
5 produce the next node with information about the Xaml file being
7 * Test/XamlParser.cs: rewrite tests so that they use the new interface
9 * System.Windows.Serialization/CodeWriter.cs: changed code generator
10 so that it consumes the event stream from the parser
11 * Test/CodeWriter.cs: made tests friendly to the new way CodeWriter
13 * System.Windows.Serialization/CodeWriter.cs: changed object builder
14 so that it consumes the event stream from the parser
15 * Test/ObjectWriter.cs: made tests friendly to the new way ObjectWriter
18 2005-08-07 Iain McCoy <iain@mccoy.id.au>
20 * System.Windows.Serialization/data-classes-builder.pl,
21 System.Windows.Serialization/data-classes.txt: add stuff to generate
22 the zillion little classes to carry information around
23 * PresentationFramework.dll.sources, Makefile: invoke
24 data-classes-builder.pl as needed.
26 2005-07-25 Iain McCoy <iain@mccoy.id.au>
28 * Test/CodeWriter.cs: updated tests to reflect change in code
31 2005-07-25 Iain McCoy <iain@mccoy.id.au>
33 * Test/XamlParser.cs: added tests for correct catching of non-existent
34 processing instructions, attempting to set a dependency property on an
35 object that is not a dependency object and for code elements.
36 * Test/CodeWriter.cs: added tests for partial class generation and for
37 giving a specific name to an object to be stored as a property value
38 * Mono.Windows.Serialization/XamlParser.cs: be more paranoid about
39 children of code elements, have better punctuation if objecting to an
40 incorrect mapping and throw exceptions on unknown property types.
42 2005-07-24 Iain McCoy <iain@mccoy.id.au>
45 Mono.Windows.Serialization/XamlParser.cs: added a test for
46 inappropriate usage of the Class attribute and fixed bug revealed by
48 * Test/ObjectWriter.cs,
49 PresentationFramework_test.dll.sources: added tests for object
50 builder (based on tests for code generator)
53 2005-07-23 Iain McCoy <iain@mccoy.id.au>
55 * Test/XamlParser.cs: added test for events and delegates as property
57 * Test/CodeWriter.cs: added tests for events and for delegates as
60 2005-07-19 Iain McCoy <iain@mccoy.id.au>
62 * Mono.Windows.Serialization/XamlWriter.cs: renamed to IXamlWriter.cs
64 2005-07-18 Iain McCoy <iain@mccoy.id.au>
66 * Mono.Windows.Serialization/*, Test/*: change stupid
67 CreateElementText name of method on XamlWriter to something marginally
70 2005-07-18 Iain McCoy <iain@mccoy.id.au>
72 * Mono.Windows.Serialization/CodeWriter.cs,
74 Test/XamlWriter.cs: fix bug with explicitly naming objects in
75 IAddChild blocks and add tests for same
76 * Mono.Windows.Serialization/ObjectWriter.cs: support for arbitrary
77 objects as property values.
79 2005-07-18 Iain McCoy <iain@mccoy.id.au>
81 * Test/CodeWriter.cs: added a bunch of tests for the code generator
82 * Mono.Windows.Serialization/CodeWriter.cs: fixed a few bugs turned up
84 * Test/CodeWriter.cs, Test/XamlParser.cs: added copyright/license
87 2005-07-18 Iain McCoy <iain@mccoy.id.au>
89 * Mono.Windows.Serialization/XamlParser.cs: some refactoring and
90 improvements in error reporting
91 * Test/XamlParser.cs: added a few tests and improved the readability
92 of the baked-in XAML documents somewhat. Additionally added some
93 comments explaining the approach taken by the tests and test
96 2005-07-17 Iain McCoy <iain@mccoy.id.au>
98 * Test/XamlParser.cs: add a bunch of tests
99 * Mono.Windows.Serialization/XamlParser.cs: improve error reporting,
100 don't accept elements without namespaces
102 2005-07-16 Iain McCoy <iain@mccoy.id.au>
104 * Test/XamlParser.cs: fix a bug in property tests, add tests for
105 dependency properties and complex objects as property values. Actually
106 include file in svn, oops.
108 2005-07-15 Iain McCoy <iain@mccoy.id.au>
110 * System.Windows.Serialization/Mapper.cs: make assembly loading more
112 * Mono.Windows.Serialization/ObjectWriter.cs: do conversions from
113 strings and support dependency properties
115 2005-07-15 Iain McCoy <iain@mccoy.id.au>
117 * Mono.Windows.Serialization/CodeWriter.cs: don't try to convert
118 objects into their parent types.
120 2005-07-15 Iain McCoy <iain@mccoy.id.au>
122 * Mono.Windows.Serialization/CodeWriter.cs: Better debugging
124 * Mono.Windows.Serialization/XamlParser.cs: Better debugging
125 information, consolidated push() code
126 * Mono.Windows.Serialization/CodeWriter.cs: inverted sourceType and
127 destType in endPropertyObject
128 * Mono.Windows.Serialization/XamlParser.cs: changed parseElement so
129 that it doesn't stuff up the stack on empty elements and replaced
130 an if statement spanning CurrentState with a case statement for
133 2005-07-14 Iain McCoy <iain@mccoy.id.au>
135 * Mono.Windows.Serialization/XamlParser.cs,
136 Mono.Windows.Serialization/XamlWriter.cs,
137 Mono.Windows.Serialization/CodeWriter.cs: Initial support for
138 creating complex objects as values of properties
140 2005-07-13 Iain McCoy <iain@mccoy.id.au>
142 * Mono.Windows.Serialization/XamlParser.cs: fixed bug in the code
143 detecting that the file's contents must be finished, where it forbade
144 whitespace after the XAML code
146 2005-07-11 Iain McCoy <iain@mccoy.id.au>
149 Test/XamlParser.cs: added a few tests
150 * Mono.Windows.Serialization/CodeWriter.cs,
151 Mono.Windows.Serialization/XamlParser.cs: fixed some bugs that the
154 2005-07-08 Iain McCoy <iain@mccoy.id.au>
156 * Mono.Windows.Serialization/ObjectWriter.cs: code to build objects at
157 runtime from a xaml file. Current problems are with events and
158 delegates (current behaviour is untested and possibly useless) and
159 DependencyProperties (not implemented yet)
161 2005-07-08 Iain McCoy <iain@mccoy.id.au>
163 * Mono.Windows.Serialization/XamlParser.cs,
164 Mono.Windows.Serialization/XamlWriter.cs,
165 Mono.Windows.Serialization/CodeWriter.cs: removed TypeConverter
166 stuff from everything except CodeWriter. By using TypeDescriptor,
167 the generator doesn't need to be told about the converter and since
168 the framework will find it we don't have to search for it.
170 2005-07-08 Iain McCoy <iain@mccoy.id.au>
172 * Mono.Windows.Serialization/XamlParser.cs,
173 Mono.Windows.Serialization/XamlWriter.cs,
174 Mono.Windows.Serialization/CodeWriter.cs: support for x:Name
175 attributes and for considering Name properties to have the same
178 2005-07-06 Iain McCoy <iain@mccoy.id.au>
180 * Mono.Windows.Serialization/CodeWriter.cs: cleaned up a little, added
181 support for the `partial' class modifier
183 2005-07-06 Iain McCoy <iain@mccoy.id.au>
185 * Mono.Windows.Serialization/Mapping.cs: removed in favour of
186 System.Windows.Serialization/Mapper.cs
187 * System.Windows.Serialization/Mapper.cs: Added because it is the
188 microsoft-documented mapping API
189 * Mono.Windows.Serialization/XamlParser.cs: transition to the new
190 mapper system, also some general converging on the name
191 DependencyProperty throughout instead of ContextProperty or
194 2005-07-05 Iain McCoy <iain@mccoy.id.au>
196 * Mono.Windows.Serialization/XamlParser.cs,
197 Mono.Windows.Serialization/XamlWriter.cs,
198 Mono.Windows.Serialization/CodeWriter.cs: add support for attached
199 properties as attributes, supplementing the existing support for
200 attached properties as elements
202 2005-07-05 Iain McCoy <iain@mccoy.id.au>
204 * Mono.Windows.Serialization/XamlParser.cs,
205 Mono.Windows.Serialization/XamlWriter.cs,
206 Mono.Windows.Serialization/CodeWriter.cs: add support for delegate
207 properties and for events
208 * Mono.Windows.Serialization/XamlParser.cs,
209 Mono.Windows.Serialization/XamlWriter.cs,
210 Mono.Windows.Serialization/CodeWriter.cs,
211 Mono.Windows.Serialization/Mapper.cs: tighten up types so that Type
212 and PropertyInfo are passed instead of strings
214 2005-07-03 Iain McCoy <iain@mccoy.id.au>
216 * Mono.Windows.Serialization/XamlParser.cs: added support for Code
217 elements, provide fully qualified name of type to attach to, skip
218 xmns: attributes when processing,
219 * Mono.Windows.Serialization/XamlWriter.cs: added WriteCode member,
220 ordered methods by type of thing dealt with
221 * Mono.Windows.Serialization/CodeWriter.cs: added support for Code
222 elements, call empty constructor for objects, call TypeConverter
225 2005-07-03 Iain McCoy <iain@mccoy.id.au>
227 * Mono.Windows.Serialization/CodeWriter.cs: use CodeDom to do code
229 * Mono.Windows.Serialization/CodeWriter.cs:
230 * Mono.Windows.Serialization/XamlWriter.cs:
231 * Mono.Windows.Serialization/XamlParser.cs: initial TypeConverter
234 2005-07-02 Iain McCoy <iain@mccoy.id.au>
236 * whole folder: implementation of Xaml-related namespaces