1 2005-09-01 Iain McCoy <iain@mccoy.id.au>
3 * System.Windows.Serialization/BamlAttributeUsage.cs,
4 System.Windows.Serialization/XamlParseMode.cs,
5 System.Windows.Serialization/Exceptions.cs: add forgotten files
7 2005-09-01 Iain McCoy <iain@mccoy.id.au>
9 * System.Windows.Serialization/Exceptions.cs: create exception
10 * Mono.Windows.Serialization/XamlParser.cs: throw the new
11 xaml-specific exception
12 * Test/XamlParser.cs: expect the new xaml-specific exception
14 2005-09-01 Iain McCoy <iain@mccoy.id.au>
16 * Mono.Windows.Serialization/IXamlWriter.cs: deleted obsolete file
18 2005-09-01 Iain McCoy <iain@mccoy.id.au>
20 * Mono.Windows.Serialization/XamlParser.cs,
21 Mono.Windows.Serialization/ParserConsumerBase.cs,
22 Mono.Windows.Serialization/ParserToCode.cs: somewhat improved
26 2005-09-01 Iain McCoy <iain@mccoy.id.au>
28 * Mono.Windows.Serialization/ParserToCode.cs
31 Test/ParserToCode.cs: Added tests for x:Key and StaticResource,
32 fixed bug in handling of x:Key in the code generator
34 2005-08-31 Iain McCoy <iain@mccoy.id.au>
36 * System.Windows.Serialization/Parser.cs,
37 System.Windows.Serialization/data-classes.txt,
38 Mono.Windows.Serialization/ParserToCode.cs,
39 Mono.Windows.Serialization/ParserConsumerBase.cs
40 Mono.Windows.Serialization/XamlParser.cs: initial support for
41 x:Key and StaticResource - these exist mainly to support the styling
42 system that will eventually live in System.Windows
44 2005-08-28 Iain McCoy <iain@mccoy.id.au>
46 * Test/Parser.cs, Test/ParserToCode.cs: added tests for objects as
47 values of dependency properties
49 2005-08-28 Iain McCoy <iain@mccoy.id.au>
51 * Test/ObjectWriter.cs, Test/Parser.cs: renamed to match the new world
52 * Test/CodeWriter.cs, Test/ParserToCode.cs: renamed to match the new
55 2005-08-28 Iain McCoy <iain@mccoy.id.au>
57 * System.Windows.Serialization/Parser.cs: a bit more refactoring to
58 reduce code duplication
59 * Mono.Windows.Serialization/ParserToCode.cs: similarly, refactoring
60 to reduce code duplication
62 2005-08-28 Iain McCoy <iain@mccoy.id.au>
64 * Mono.Windows.Serialization/ParserConsumerBase.cs: move dispatching
65 to handlers based on nodes returned from the parser into a base class
66 * Mono.Windows.Serialization/ParserToCode.cs: use ParserConsumerBase
67 * System.Windows.Serialization/Parser.cs: use ParserConsumerBase,
68 support for objects as values of dependency properties
70 2005-08-27 Iain McCoy <iain@mccoy.id.au>
72 * Mono.Windows.Serialization/XamlParser.cs: added support for objects
73 as values of dependency properties
74 * Mono.Windows.Serialization/ParserToCode.cs: added support for code
75 generation for objects as values of dependency properties
76 * Test/XamlParser.cs: a test of same
77 * System.Windows.Serialization/data-classes.txt: some minor
78 refinements to enable the above
79 * System.Windows.Serialization/Parser.cs: stubs for instantiating
80 objects as values of dependency properties
82 2005-08-26 Iain McCoy <iain@mccoy.id.au>
84 * System.Windows.Serialization/data-classes-builder.pl: tighten up
85 access controls for members that don't exist in microsoft's impl
86 (internal access only is appropriate for these members)
87 * Test/XamlParser.cs: use reflection to access the newly tightened-up
90 2005-08-26 Iain McCoy <iain@mccoy.id.au>
92 * Mono.Windows.Serialization/CodeWriter.cs,
93 Mono.Windows.Serialization/ParserToCode.cs: renamed CodeWriter to
94 ParserToCode in order to more closely parallel
95 System.Windows.Serialization.Parser
96 * Test/CodeWriter.cs: changed to test the new ParserToCode class
98 2005-08-24 Iain McCoy <iain@mccoy.id.au>
100 * Mono.Windows.Serialization/ObjectWriter.cs,
101 System.Windows.Serialization/Parser.cs: renamed ObjectWriter to
102 Parser, made interface more similar
103 * Test/ObjectWriter.cs: changed to test the new Parser class
105 2005-08-24 Iain McCoy <iain@mccoy.id.au>
107 * Mono.Windows.Serialization/XamlParser.cs: make internal
108 * Mono.Windows.Serialization/CodeWriter.cs: add private member so that
109 the tests can get at the type for XamlParser
110 * Test/XamlParser.cs: use reflection to get the XamlParser type out of
111 CodeWriter, create an instance of it and get nodes from it
113 2005-08-23 Iain McCoy <iain@mccoy.id.au>
115 * System.Windows.Serialization/XamlParser.cs: rearrange class so that
116 it presents a ReadNextNode() method, repeated calling of which will
117 produce the next node with information about the Xaml file being
119 * Test/XamlParser.cs: rewrite tests so that they use the new interface
121 * System.Windows.Serialization/CodeWriter.cs: changed code generator
122 so that it consumes the event stream from the parser
123 * Test/CodeWriter.cs: made tests friendly to the new way CodeWriter
125 * System.Windows.Serialization/CodeWriter.cs: changed object builder
126 so that it consumes the event stream from the parser
127 * Test/ObjectWriter.cs: made tests friendly to the new way ObjectWriter
130 2005-08-07 Iain McCoy <iain@mccoy.id.au>
132 * System.Windows.Serialization/data-classes-builder.pl,
133 System.Windows.Serialization/data-classes.txt: add stuff to generate
134 the zillion little classes to carry information around
135 * PresentationFramework.dll.sources, Makefile: invoke
136 data-classes-builder.pl as needed.
138 2005-07-25 Iain McCoy <iain@mccoy.id.au>
140 * Test/CodeWriter.cs: updated tests to reflect change in code
143 2005-07-25 Iain McCoy <iain@mccoy.id.au>
145 * Test/XamlParser.cs: added tests for correct catching of non-existent
146 processing instructions, attempting to set a dependency property on an
147 object that is not a dependency object and for code elements.
148 * Test/CodeWriter.cs: added tests for partial class generation and for
149 giving a specific name to an object to be stored as a property value
150 * Mono.Windows.Serialization/XamlParser.cs: be more paranoid about
151 children of code elements, have better punctuation if objecting to an
152 incorrect mapping and throw exceptions on unknown property types.
154 2005-07-24 Iain McCoy <iain@mccoy.id.au>
156 * Test/XamlParser.cs,
157 Mono.Windows.Serialization/XamlParser.cs: added a test for
158 inappropriate usage of the Class attribute and fixed bug revealed by
160 * Test/ObjectWriter.cs,
161 PresentationFramework_test.dll.sources: added tests for object
162 builder (based on tests for code generator)
165 2005-07-23 Iain McCoy <iain@mccoy.id.au>
167 * Test/XamlParser.cs: added test for events and delegates as property
169 * Test/CodeWriter.cs: added tests for events and for delegates as
172 2005-07-19 Iain McCoy <iain@mccoy.id.au>
174 * Mono.Windows.Serialization/XamlWriter.cs: renamed to IXamlWriter.cs
176 2005-07-18 Iain McCoy <iain@mccoy.id.au>
178 * Mono.Windows.Serialization/*, Test/*: change stupid
179 CreateElementText name of method on XamlWriter to something marginally
182 2005-07-18 Iain McCoy <iain@mccoy.id.au>
184 * Mono.Windows.Serialization/CodeWriter.cs,
186 Test/XamlWriter.cs: fix bug with explicitly naming objects in
187 IAddChild blocks and add tests for same
188 * Mono.Windows.Serialization/ObjectWriter.cs: support for arbitrary
189 objects as property values.
191 2005-07-18 Iain McCoy <iain@mccoy.id.au>
193 * Test/CodeWriter.cs: added a bunch of tests for the code generator
194 * Mono.Windows.Serialization/CodeWriter.cs: fixed a few bugs turned up
196 * Test/CodeWriter.cs, Test/XamlParser.cs: added copyright/license
199 2005-07-18 Iain McCoy <iain@mccoy.id.au>
201 * Mono.Windows.Serialization/XamlParser.cs: some refactoring and
202 improvements in error reporting
203 * Test/XamlParser.cs: added a few tests and improved the readability
204 of the baked-in XAML documents somewhat. Additionally added some
205 comments explaining the approach taken by the tests and test
208 2005-07-17 Iain McCoy <iain@mccoy.id.au>
210 * Test/XamlParser.cs: add a bunch of tests
211 * Mono.Windows.Serialization/XamlParser.cs: improve error reporting,
212 don't accept elements without namespaces
214 2005-07-16 Iain McCoy <iain@mccoy.id.au>
216 * Test/XamlParser.cs: fix a bug in property tests, add tests for
217 dependency properties and complex objects as property values. Actually
218 include file in svn, oops.
220 2005-07-15 Iain McCoy <iain@mccoy.id.au>
222 * System.Windows.Serialization/Mapper.cs: make assembly loading more
224 * Mono.Windows.Serialization/ObjectWriter.cs: do conversions from
225 strings and support dependency properties
227 2005-07-15 Iain McCoy <iain@mccoy.id.au>
229 * Mono.Windows.Serialization/CodeWriter.cs: don't try to convert
230 objects into their parent types.
232 2005-07-15 Iain McCoy <iain@mccoy.id.au>
234 * Mono.Windows.Serialization/CodeWriter.cs: Better debugging
236 * Mono.Windows.Serialization/XamlParser.cs: Better debugging
237 information, consolidated push() code
238 * Mono.Windows.Serialization/CodeWriter.cs: inverted sourceType and
239 destType in endPropertyObject
240 * Mono.Windows.Serialization/XamlParser.cs: changed parseElement so
241 that it doesn't stuff up the stack on empty elements and replaced
242 an if statement spanning CurrentState with a case statement for
245 2005-07-14 Iain McCoy <iain@mccoy.id.au>
247 * Mono.Windows.Serialization/XamlParser.cs,
248 Mono.Windows.Serialization/XamlWriter.cs,
249 Mono.Windows.Serialization/CodeWriter.cs: Initial support for
250 creating complex objects as values of properties
252 2005-07-13 Iain McCoy <iain@mccoy.id.au>
254 * Mono.Windows.Serialization/XamlParser.cs: fixed bug in the code
255 detecting that the file's contents must be finished, where it forbade
256 whitespace after the XAML code
258 2005-07-11 Iain McCoy <iain@mccoy.id.au>
261 Test/XamlParser.cs: added a few tests
262 * Mono.Windows.Serialization/CodeWriter.cs,
263 Mono.Windows.Serialization/XamlParser.cs: fixed some bugs that the
266 2005-07-08 Iain McCoy <iain@mccoy.id.au>
268 * Mono.Windows.Serialization/ObjectWriter.cs: code to build objects at
269 runtime from a xaml file. Current problems are with events and
270 delegates (current behaviour is untested and possibly useless) and
271 DependencyProperties (not implemented yet)
273 2005-07-08 Iain McCoy <iain@mccoy.id.au>
275 * Mono.Windows.Serialization/XamlParser.cs,
276 Mono.Windows.Serialization/XamlWriter.cs,
277 Mono.Windows.Serialization/CodeWriter.cs: removed TypeConverter
278 stuff from everything except CodeWriter. By using TypeDescriptor,
279 the generator doesn't need to be told about the converter and since
280 the framework will find it we don't have to search for it.
282 2005-07-08 Iain McCoy <iain@mccoy.id.au>
284 * Mono.Windows.Serialization/XamlParser.cs,
285 Mono.Windows.Serialization/XamlWriter.cs,
286 Mono.Windows.Serialization/CodeWriter.cs: support for x:Name
287 attributes and for considering Name properties to have the same
290 2005-07-06 Iain McCoy <iain@mccoy.id.au>
292 * Mono.Windows.Serialization/CodeWriter.cs: cleaned up a little, added
293 support for the `partial' class modifier
295 2005-07-06 Iain McCoy <iain@mccoy.id.au>
297 * Mono.Windows.Serialization/Mapping.cs: removed in favour of
298 System.Windows.Serialization/Mapper.cs
299 * System.Windows.Serialization/Mapper.cs: Added because it is the
300 microsoft-documented mapping API
301 * Mono.Windows.Serialization/XamlParser.cs: transition to the new
302 mapper system, also some general converging on the name
303 DependencyProperty throughout instead of ContextProperty or
306 2005-07-05 Iain McCoy <iain@mccoy.id.au>
308 * Mono.Windows.Serialization/XamlParser.cs,
309 Mono.Windows.Serialization/XamlWriter.cs,
310 Mono.Windows.Serialization/CodeWriter.cs: add support for attached
311 properties as attributes, supplementing the existing support for
312 attached properties as elements
314 2005-07-05 Iain McCoy <iain@mccoy.id.au>
316 * Mono.Windows.Serialization/XamlParser.cs,
317 Mono.Windows.Serialization/XamlWriter.cs,
318 Mono.Windows.Serialization/CodeWriter.cs: add support for delegate
319 properties and for events
320 * Mono.Windows.Serialization/XamlParser.cs,
321 Mono.Windows.Serialization/XamlWriter.cs,
322 Mono.Windows.Serialization/CodeWriter.cs,
323 Mono.Windows.Serialization/Mapper.cs: tighten up types so that Type
324 and PropertyInfo are passed instead of strings
326 2005-07-03 Iain McCoy <iain@mccoy.id.au>
328 * Mono.Windows.Serialization/XamlParser.cs: added support for Code
329 elements, provide fully qualified name of type to attach to, skip
330 xmns: attributes when processing,
331 * Mono.Windows.Serialization/XamlWriter.cs: added WriteCode member,
332 ordered methods by type of thing dealt with
333 * Mono.Windows.Serialization/CodeWriter.cs: added support for Code
334 elements, call empty constructor for objects, call TypeConverter
337 2005-07-03 Iain McCoy <iain@mccoy.id.au>
339 * Mono.Windows.Serialization/CodeWriter.cs: use CodeDom to do code
341 * Mono.Windows.Serialization/CodeWriter.cs:
342 * Mono.Windows.Serialization/XamlWriter.cs:
343 * Mono.Windows.Serialization/XamlParser.cs: initial TypeConverter
346 2005-07-02 Iain McCoy <iain@mccoy.id.au>
348 * whole folder: implementation of Xaml-related namespaces