1 2005-08-31 Iain McCoy <iain@mccoy.id.au>
3 * System.Windows.Serialization/Parser.cs,
4 System.Windows.Serialization/data-classes.txt,
5 Mono.Windows.Serialization/ParserToCode.cs,
6 Mono.Windows.Serialization/ParserConsumerBase.cs
7 Mono.Windows.Serialization/XamlParser.cs: initial support for
8 x:Key and StaticResource - these exist mainly to support the styling
9 system that will eventually live in System.Windows
11 2005-08-28 Iain McCoy <iain@mccoy.id.au>
13 * Test/Parser.cs, Test/ParserToCode.cs: added tests for objects as
14 values of dependency properties
16 2005-08-28 Iain McCoy <iain@mccoy.id.au>
18 * Test/ObjectWriter.cs, Test/Parser.cs: renamed to match the new world
19 * Test/CodeWriter.cs, Test/ParserToCode.cs: renamed to match the new
22 2005-08-28 Iain McCoy <iain@mccoy.id.au>
24 * System.Windows.Serialization/Parser.cs: a bit more refactoring to
25 reduce code duplication
26 * Mono.Windows.Serialization/ParserToCode.cs: similarly, refactoring
27 to reduce code duplication
29 2005-08-28 Iain McCoy <iain@mccoy.id.au>
31 * Mono.Windows.Serialization/ParserConsumerBase.cs: move dispatching
32 to handlers based on nodes returned from the parser into a base class
33 * Mono.Windows.Serialization/ParserToCode.cs: use ParserConsumerBase
34 * System.Windows.Serialization/Parser.cs: use ParserConsumerBase,
35 support for objects as values of dependency properties
37 2005-08-27 Iain McCoy <iain@mccoy.id.au>
39 * Mono.Windows.Serialization/XamlParser.cs: added support for objects
40 as values of dependency properties
41 * Mono.Windows.Serialization/ParserToCode.cs: added support for code
42 generation for objects as values of dependency properties
43 * Test/XamlParser.cs: a test of same
44 * System.Windows.Serialization/data-classes.txt: some minor
45 refinements to enable the above
46 * System.Windows.Serialization/Parser.cs: stubs for instantiating
47 objects as values of dependency properties
49 2005-08-26 Iain McCoy <iain@mccoy.id.au>
51 * System.Windows.Serialization/data-classes-builder.pl: tighten up
52 access controls for members that don't exist in microsoft's impl
53 (internal access only is appropriate for these members)
54 * Test/XamlParser.cs: use reflection to access the newly tightened-up
57 2005-08-26 Iain McCoy <iain@mccoy.id.au>
59 * Mono.Windows.Serialization/CodeWriter.cs,
60 Mono.Windows.Serialization/ParserToCode.cs: renamed CodeWriter to
61 ParserToCode in order to more closely parallel
62 System.Windows.Serialization.Parser
63 * Test/CodeWriter.cs: changed to test the new ParserToCode class
65 2005-08-24 Iain McCoy <iain@mccoy.id.au>
67 * Mono.Windows.Serialization/ObjectWriter.cs,
68 System.Windows.Serialization/Parser.cs: renamed ObjectWriter to
69 Parser, made interface more similar
70 * Test/ObjectWriter.cs: changed to test the new Parser class
72 2005-08-24 Iain McCoy <iain@mccoy.id.au>
74 * Mono.Windows.Serialization/XamlParser.cs: make internal
75 * Mono.Windows.Serialization/CodeWriter.cs: add private member so that
76 the tests can get at the type for XamlParser
77 * Test/XamlParser.cs: use reflection to get the XamlParser type out of
78 CodeWriter, create an instance of it and get nodes from it
80 2005-08-23 Iain McCoy <iain@mccoy.id.au>
82 * System.Windows.Serialization/XamlParser.cs: rearrange class so that
83 it presents a ReadNextNode() method, repeated calling of which will
84 produce the next node with information about the Xaml file being
86 * Test/XamlParser.cs: rewrite tests so that they use the new interface
88 * System.Windows.Serialization/CodeWriter.cs: changed code generator
89 so that it consumes the event stream from the parser
90 * Test/CodeWriter.cs: made tests friendly to the new way CodeWriter
92 * System.Windows.Serialization/CodeWriter.cs: changed object builder
93 so that it consumes the event stream from the parser
94 * Test/ObjectWriter.cs: made tests friendly to the new way ObjectWriter
97 2005-08-07 Iain McCoy <iain@mccoy.id.au>
99 * System.Windows.Serialization/data-classes-builder.pl,
100 System.Windows.Serialization/data-classes.txt: add stuff to generate
101 the zillion little classes to carry information around
102 * PresentationFramework.dll.sources, Makefile: invoke
103 data-classes-builder.pl as needed.
105 2005-07-25 Iain McCoy <iain@mccoy.id.au>
107 * Test/CodeWriter.cs: updated tests to reflect change in code
110 2005-07-25 Iain McCoy <iain@mccoy.id.au>
112 * Test/XamlParser.cs: added tests for correct catching of non-existent
113 processing instructions, attempting to set a dependency property on an
114 object that is not a dependency object and for code elements.
115 * Test/CodeWriter.cs: added tests for partial class generation and for
116 giving a specific name to an object to be stored as a property value
117 * Mono.Windows.Serialization/XamlParser.cs: be more paranoid about
118 children of code elements, have better punctuation if objecting to an
119 incorrect mapping and throw exceptions on unknown property types.
121 2005-07-24 Iain McCoy <iain@mccoy.id.au>
123 * Test/XamlParser.cs,
124 Mono.Windows.Serialization/XamlParser.cs: added a test for
125 inappropriate usage of the Class attribute and fixed bug revealed by
127 * Test/ObjectWriter.cs,
128 PresentationFramework_test.dll.sources: added tests for object
129 builder (based on tests for code generator)
132 2005-07-23 Iain McCoy <iain@mccoy.id.au>
134 * Test/XamlParser.cs: added test for events and delegates as property
136 * Test/CodeWriter.cs: added tests for events and for delegates as
139 2005-07-19 Iain McCoy <iain@mccoy.id.au>
141 * Mono.Windows.Serialization/XamlWriter.cs: renamed to IXamlWriter.cs
143 2005-07-18 Iain McCoy <iain@mccoy.id.au>
145 * Mono.Windows.Serialization/*, Test/*: change stupid
146 CreateElementText name of method on XamlWriter to something marginally
149 2005-07-18 Iain McCoy <iain@mccoy.id.au>
151 * Mono.Windows.Serialization/CodeWriter.cs,
153 Test/XamlWriter.cs: fix bug with explicitly naming objects in
154 IAddChild blocks and add tests for same
155 * Mono.Windows.Serialization/ObjectWriter.cs: support for arbitrary
156 objects as property values.
158 2005-07-18 Iain McCoy <iain@mccoy.id.au>
160 * Test/CodeWriter.cs: added a bunch of tests for the code generator
161 * Mono.Windows.Serialization/CodeWriter.cs: fixed a few bugs turned up
163 * Test/CodeWriter.cs, Test/XamlParser.cs: added copyright/license
166 2005-07-18 Iain McCoy <iain@mccoy.id.au>
168 * Mono.Windows.Serialization/XamlParser.cs: some refactoring and
169 improvements in error reporting
170 * Test/XamlParser.cs: added a few tests and improved the readability
171 of the baked-in XAML documents somewhat. Additionally added some
172 comments explaining the approach taken by the tests and test
175 2005-07-17 Iain McCoy <iain@mccoy.id.au>
177 * Test/XamlParser.cs: add a bunch of tests
178 * Mono.Windows.Serialization/XamlParser.cs: improve error reporting,
179 don't accept elements without namespaces
181 2005-07-16 Iain McCoy <iain@mccoy.id.au>
183 * Test/XamlParser.cs: fix a bug in property tests, add tests for
184 dependency properties and complex objects as property values. Actually
185 include file in svn, oops.
187 2005-07-15 Iain McCoy <iain@mccoy.id.au>
189 * System.Windows.Serialization/Mapper.cs: make assembly loading more
191 * Mono.Windows.Serialization/ObjectWriter.cs: do conversions from
192 strings and support dependency properties
194 2005-07-15 Iain McCoy <iain@mccoy.id.au>
196 * Mono.Windows.Serialization/CodeWriter.cs: don't try to convert
197 objects into their parent types.
199 2005-07-15 Iain McCoy <iain@mccoy.id.au>
201 * Mono.Windows.Serialization/CodeWriter.cs: Better debugging
203 * Mono.Windows.Serialization/XamlParser.cs: Better debugging
204 information, consolidated push() code
205 * Mono.Windows.Serialization/CodeWriter.cs: inverted sourceType and
206 destType in endPropertyObject
207 * Mono.Windows.Serialization/XamlParser.cs: changed parseElement so
208 that it doesn't stuff up the stack on empty elements and replaced
209 an if statement spanning CurrentState with a case statement for
212 2005-07-14 Iain McCoy <iain@mccoy.id.au>
214 * Mono.Windows.Serialization/XamlParser.cs,
215 Mono.Windows.Serialization/XamlWriter.cs,
216 Mono.Windows.Serialization/CodeWriter.cs: Initial support for
217 creating complex objects as values of properties
219 2005-07-13 Iain McCoy <iain@mccoy.id.au>
221 * Mono.Windows.Serialization/XamlParser.cs: fixed bug in the code
222 detecting that the file's contents must be finished, where it forbade
223 whitespace after the XAML code
225 2005-07-11 Iain McCoy <iain@mccoy.id.au>
228 Test/XamlParser.cs: added a few tests
229 * Mono.Windows.Serialization/CodeWriter.cs,
230 Mono.Windows.Serialization/XamlParser.cs: fixed some bugs that the
233 2005-07-08 Iain McCoy <iain@mccoy.id.au>
235 * Mono.Windows.Serialization/ObjectWriter.cs: code to build objects at
236 runtime from a xaml file. Current problems are with events and
237 delegates (current behaviour is untested and possibly useless) and
238 DependencyProperties (not implemented yet)
240 2005-07-08 Iain McCoy <iain@mccoy.id.au>
242 * Mono.Windows.Serialization/XamlParser.cs,
243 Mono.Windows.Serialization/XamlWriter.cs,
244 Mono.Windows.Serialization/CodeWriter.cs: removed TypeConverter
245 stuff from everything except CodeWriter. By using TypeDescriptor,
246 the generator doesn't need to be told about the converter and since
247 the framework will find it we don't have to search for it.
249 2005-07-08 Iain McCoy <iain@mccoy.id.au>
251 * Mono.Windows.Serialization/XamlParser.cs,
252 Mono.Windows.Serialization/XamlWriter.cs,
253 Mono.Windows.Serialization/CodeWriter.cs: support for x:Name
254 attributes and for considering Name properties to have the same
257 2005-07-06 Iain McCoy <iain@mccoy.id.au>
259 * Mono.Windows.Serialization/CodeWriter.cs: cleaned up a little, added
260 support for the `partial' class modifier
262 2005-07-06 Iain McCoy <iain@mccoy.id.au>
264 * Mono.Windows.Serialization/Mapping.cs: removed in favour of
265 System.Windows.Serialization/Mapper.cs
266 * System.Windows.Serialization/Mapper.cs: Added because it is the
267 microsoft-documented mapping API
268 * Mono.Windows.Serialization/XamlParser.cs: transition to the new
269 mapper system, also some general converging on the name
270 DependencyProperty throughout instead of ContextProperty or
273 2005-07-05 Iain McCoy <iain@mccoy.id.au>
275 * Mono.Windows.Serialization/XamlParser.cs,
276 Mono.Windows.Serialization/XamlWriter.cs,
277 Mono.Windows.Serialization/CodeWriter.cs: add support for attached
278 properties as attributes, supplementing the existing support for
279 attached properties as elements
281 2005-07-05 Iain McCoy <iain@mccoy.id.au>
283 * Mono.Windows.Serialization/XamlParser.cs,
284 Mono.Windows.Serialization/XamlWriter.cs,
285 Mono.Windows.Serialization/CodeWriter.cs: add support for delegate
286 properties and for events
287 * Mono.Windows.Serialization/XamlParser.cs,
288 Mono.Windows.Serialization/XamlWriter.cs,
289 Mono.Windows.Serialization/CodeWriter.cs,
290 Mono.Windows.Serialization/Mapper.cs: tighten up types so that Type
291 and PropertyInfo are passed instead of strings
293 2005-07-03 Iain McCoy <iain@mccoy.id.au>
295 * Mono.Windows.Serialization/XamlParser.cs: added support for Code
296 elements, provide fully qualified name of type to attach to, skip
297 xmns: attributes when processing,
298 * Mono.Windows.Serialization/XamlWriter.cs: added WriteCode member,
299 ordered methods by type of thing dealt with
300 * Mono.Windows.Serialization/CodeWriter.cs: added support for Code
301 elements, call empty constructor for objects, call TypeConverter
304 2005-07-03 Iain McCoy <iain@mccoy.id.au>
306 * Mono.Windows.Serialization/CodeWriter.cs: use CodeDom to do code
308 * Mono.Windows.Serialization/CodeWriter.cs:
309 * Mono.Windows.Serialization/XamlWriter.cs:
310 * Mono.Windows.Serialization/XamlParser.cs: initial TypeConverter
313 2005-07-02 Iain McCoy <iain@mccoy.id.au>
315 * whole folder: implementation of Xaml-related namespaces