1 2005-10-18 Iain McCoy <iain@mccoy.id.au>
3 * System.Windows.Serialization/XamlNodeType.cs: add forgotten file
5 2005-09-01 Iain McCoy <iain@mccoy.id.au>
7 * System.Windows.Serialization/BamlAttributeUsage.cs,
8 System.Windows.Serialization/XamlParseMode.cs,
9 System.Windows.Serialization/Exceptions.cs: add forgotten files
11 2005-09-01 Iain McCoy <iain@mccoy.id.au>
13 * System.Windows.Serialization/Exceptions.cs: create exception
14 * Mono.Windows.Serialization/XamlParser.cs: throw the new
15 xaml-specific exception
16 * Test/XamlParser.cs: expect the new xaml-specific exception
18 2005-09-01 Iain McCoy <iain@mccoy.id.au>
20 * Mono.Windows.Serialization/IXamlWriter.cs: deleted obsolete file
22 2005-09-01 Iain McCoy <iain@mccoy.id.au>
24 * Mono.Windows.Serialization/XamlParser.cs,
25 Mono.Windows.Serialization/ParserConsumerBase.cs,
26 Mono.Windows.Serialization/ParserToCode.cs: somewhat improved
30 2005-09-01 Iain McCoy <iain@mccoy.id.au>
32 * Mono.Windows.Serialization/ParserToCode.cs
35 Test/ParserToCode.cs: Added tests for x:Key and StaticResource,
36 fixed bug in handling of x:Key in the code generator
38 2005-08-31 Iain McCoy <iain@mccoy.id.au>
40 * System.Windows.Serialization/Parser.cs,
41 System.Windows.Serialization/data-classes.txt,
42 Mono.Windows.Serialization/ParserToCode.cs,
43 Mono.Windows.Serialization/ParserConsumerBase.cs
44 Mono.Windows.Serialization/XamlParser.cs: initial support for
45 x:Key and StaticResource - these exist mainly to support the styling
46 system that will eventually live in System.Windows
48 2005-08-28 Iain McCoy <iain@mccoy.id.au>
50 * Test/Parser.cs, Test/ParserToCode.cs: added tests for objects as
51 values of dependency properties
53 2005-08-28 Iain McCoy <iain@mccoy.id.au>
55 * Test/ObjectWriter.cs, Test/Parser.cs: renamed to match the new world
56 * Test/CodeWriter.cs, Test/ParserToCode.cs: renamed to match the new
59 2005-08-28 Iain McCoy <iain@mccoy.id.au>
61 * System.Windows.Serialization/Parser.cs: a bit more refactoring to
62 reduce code duplication
63 * Mono.Windows.Serialization/ParserToCode.cs: similarly, refactoring
64 to reduce code duplication
66 2005-08-28 Iain McCoy <iain@mccoy.id.au>
68 * Mono.Windows.Serialization/ParserConsumerBase.cs: move dispatching
69 to handlers based on nodes returned from the parser into a base class
70 * Mono.Windows.Serialization/ParserToCode.cs: use ParserConsumerBase
71 * System.Windows.Serialization/Parser.cs: use ParserConsumerBase,
72 support for objects as values of dependency properties
74 2005-08-27 Iain McCoy <iain@mccoy.id.au>
76 * Mono.Windows.Serialization/XamlParser.cs: added support for objects
77 as values of dependency properties
78 * Mono.Windows.Serialization/ParserToCode.cs: added support for code
79 generation for objects as values of dependency properties
80 * Test/XamlParser.cs: a test of same
81 * System.Windows.Serialization/data-classes.txt: some minor
82 refinements to enable the above
83 * System.Windows.Serialization/Parser.cs: stubs for instantiating
84 objects as values of dependency properties
86 2005-08-26 Iain McCoy <iain@mccoy.id.au>
88 * System.Windows.Serialization/data-classes-builder.pl: tighten up
89 access controls for members that don't exist in microsoft's impl
90 (internal access only is appropriate for these members)
91 * Test/XamlParser.cs: use reflection to access the newly tightened-up
94 2005-08-26 Iain McCoy <iain@mccoy.id.au>
96 * Mono.Windows.Serialization/CodeWriter.cs,
97 Mono.Windows.Serialization/ParserToCode.cs: renamed CodeWriter to
98 ParserToCode in order to more closely parallel
99 System.Windows.Serialization.Parser
100 * Test/CodeWriter.cs: changed to test the new ParserToCode class
102 2005-08-24 Iain McCoy <iain@mccoy.id.au>
104 * Mono.Windows.Serialization/ObjectWriter.cs,
105 System.Windows.Serialization/Parser.cs: renamed ObjectWriter to
106 Parser, made interface more similar
107 * Test/ObjectWriter.cs: changed to test the new Parser class
109 2005-08-24 Iain McCoy <iain@mccoy.id.au>
111 * Mono.Windows.Serialization/XamlParser.cs: make internal
112 * Mono.Windows.Serialization/CodeWriter.cs: add private member so that
113 the tests can get at the type for XamlParser
114 * Test/XamlParser.cs: use reflection to get the XamlParser type out of
115 CodeWriter, create an instance of it and get nodes from it
117 2005-08-23 Iain McCoy <iain@mccoy.id.au>
119 * System.Windows.Serialization/XamlParser.cs: rearrange class so that
120 it presents a ReadNextNode() method, repeated calling of which will
121 produce the next node with information about the Xaml file being
123 * Test/XamlParser.cs: rewrite tests so that they use the new interface
125 * System.Windows.Serialization/CodeWriter.cs: changed code generator
126 so that it consumes the event stream from the parser
127 * Test/CodeWriter.cs: made tests friendly to the new way CodeWriter
129 * System.Windows.Serialization/CodeWriter.cs: changed object builder
130 so that it consumes the event stream from the parser
131 * Test/ObjectWriter.cs: made tests friendly to the new way ObjectWriter
134 2005-08-07 Iain McCoy <iain@mccoy.id.au>
136 * System.Windows.Serialization/data-classes-builder.pl,
137 System.Windows.Serialization/data-classes.txt: add stuff to generate
138 the zillion little classes to carry information around
139 * PresentationFramework.dll.sources, Makefile: invoke
140 data-classes-builder.pl as needed.
142 2005-07-25 Iain McCoy <iain@mccoy.id.au>
144 * Test/CodeWriter.cs: updated tests to reflect change in code
147 2005-07-25 Iain McCoy <iain@mccoy.id.au>
149 * Test/XamlParser.cs: added tests for correct catching of non-existent
150 processing instructions, attempting to set a dependency property on an
151 object that is not a dependency object and for code elements.
152 * Test/CodeWriter.cs: added tests for partial class generation and for
153 giving a specific name to an object to be stored as a property value
154 * Mono.Windows.Serialization/XamlParser.cs: be more paranoid about
155 children of code elements, have better punctuation if objecting to an
156 incorrect mapping and throw exceptions on unknown property types.
158 2005-07-24 Iain McCoy <iain@mccoy.id.au>
160 * Test/XamlParser.cs,
161 Mono.Windows.Serialization/XamlParser.cs: added a test for
162 inappropriate usage of the Class attribute and fixed bug revealed by
164 * Test/ObjectWriter.cs,
165 PresentationFramework_test.dll.sources: added tests for object
166 builder (based on tests for code generator)
169 2005-07-23 Iain McCoy <iain@mccoy.id.au>
171 * Test/XamlParser.cs: added test for events and delegates as property
173 * Test/CodeWriter.cs: added tests for events and for delegates as
176 2005-07-19 Iain McCoy <iain@mccoy.id.au>
178 * Mono.Windows.Serialization/XamlWriter.cs: renamed to IXamlWriter.cs
180 2005-07-18 Iain McCoy <iain@mccoy.id.au>
182 * Mono.Windows.Serialization/*, Test/*: change stupid
183 CreateElementText name of method on XamlWriter to something marginally
186 2005-07-18 Iain McCoy <iain@mccoy.id.au>
188 * Mono.Windows.Serialization/CodeWriter.cs,
190 Test/XamlWriter.cs: fix bug with explicitly naming objects in
191 IAddChild blocks and add tests for same
192 * Mono.Windows.Serialization/ObjectWriter.cs: support for arbitrary
193 objects as property values.
195 2005-07-18 Iain McCoy <iain@mccoy.id.au>
197 * Test/CodeWriter.cs: added a bunch of tests for the code generator
198 * Mono.Windows.Serialization/CodeWriter.cs: fixed a few bugs turned up
200 * Test/CodeWriter.cs, Test/XamlParser.cs: added copyright/license
203 2005-07-18 Iain McCoy <iain@mccoy.id.au>
205 * Mono.Windows.Serialization/XamlParser.cs: some refactoring and
206 improvements in error reporting
207 * Test/XamlParser.cs: added a few tests and improved the readability
208 of the baked-in XAML documents somewhat. Additionally added some
209 comments explaining the approach taken by the tests and test
212 2005-07-17 Iain McCoy <iain@mccoy.id.au>
214 * Test/XamlParser.cs: add a bunch of tests
215 * Mono.Windows.Serialization/XamlParser.cs: improve error reporting,
216 don't accept elements without namespaces
218 2005-07-16 Iain McCoy <iain@mccoy.id.au>
220 * Test/XamlParser.cs: fix a bug in property tests, add tests for
221 dependency properties and complex objects as property values. Actually
222 include file in svn, oops.
224 2005-07-15 Iain McCoy <iain@mccoy.id.au>
226 * System.Windows.Serialization/Mapper.cs: make assembly loading more
228 * Mono.Windows.Serialization/ObjectWriter.cs: do conversions from
229 strings and support dependency properties
231 2005-07-15 Iain McCoy <iain@mccoy.id.au>
233 * Mono.Windows.Serialization/CodeWriter.cs: don't try to convert
234 objects into their parent types.
236 2005-07-15 Iain McCoy <iain@mccoy.id.au>
238 * Mono.Windows.Serialization/CodeWriter.cs: Better debugging
240 * Mono.Windows.Serialization/XamlParser.cs: Better debugging
241 information, consolidated push() code
242 * Mono.Windows.Serialization/CodeWriter.cs: inverted sourceType and
243 destType in endPropertyObject
244 * Mono.Windows.Serialization/XamlParser.cs: changed parseElement so
245 that it doesn't stuff up the stack on empty elements and replaced
246 an if statement spanning CurrentState with a case statement for
249 2005-07-14 Iain McCoy <iain@mccoy.id.au>
251 * Mono.Windows.Serialization/XamlParser.cs,
252 Mono.Windows.Serialization/XamlWriter.cs,
253 Mono.Windows.Serialization/CodeWriter.cs: Initial support for
254 creating complex objects as values of properties
256 2005-07-13 Iain McCoy <iain@mccoy.id.au>
258 * Mono.Windows.Serialization/XamlParser.cs: fixed bug in the code
259 detecting that the file's contents must be finished, where it forbade
260 whitespace after the XAML code
262 2005-07-11 Iain McCoy <iain@mccoy.id.au>
265 Test/XamlParser.cs: added a few tests
266 * Mono.Windows.Serialization/CodeWriter.cs,
267 Mono.Windows.Serialization/XamlParser.cs: fixed some bugs that the
270 2005-07-08 Iain McCoy <iain@mccoy.id.au>
272 * Mono.Windows.Serialization/ObjectWriter.cs: code to build objects at
273 runtime from a xaml file. Current problems are with events and
274 delegates (current behaviour is untested and possibly useless) and
275 DependencyProperties (not implemented yet)
277 2005-07-08 Iain McCoy <iain@mccoy.id.au>
279 * Mono.Windows.Serialization/XamlParser.cs,
280 Mono.Windows.Serialization/XamlWriter.cs,
281 Mono.Windows.Serialization/CodeWriter.cs: removed TypeConverter
282 stuff from everything except CodeWriter. By using TypeDescriptor,
283 the generator doesn't need to be told about the converter and since
284 the framework will find it we don't have to search for it.
286 2005-07-08 Iain McCoy <iain@mccoy.id.au>
288 * Mono.Windows.Serialization/XamlParser.cs,
289 Mono.Windows.Serialization/XamlWriter.cs,
290 Mono.Windows.Serialization/CodeWriter.cs: support for x:Name
291 attributes and for considering Name properties to have the same
294 2005-07-06 Iain McCoy <iain@mccoy.id.au>
296 * Mono.Windows.Serialization/CodeWriter.cs: cleaned up a little, added
297 support for the `partial' class modifier
299 2005-07-06 Iain McCoy <iain@mccoy.id.au>
301 * Mono.Windows.Serialization/Mapping.cs: removed in favour of
302 System.Windows.Serialization/Mapper.cs
303 * System.Windows.Serialization/Mapper.cs: Added because it is the
304 microsoft-documented mapping API
305 * Mono.Windows.Serialization/XamlParser.cs: transition to the new
306 mapper system, also some general converging on the name
307 DependencyProperty throughout instead of ContextProperty or
310 2005-07-05 Iain McCoy <iain@mccoy.id.au>
312 * Mono.Windows.Serialization/XamlParser.cs,
313 Mono.Windows.Serialization/XamlWriter.cs,
314 Mono.Windows.Serialization/CodeWriter.cs: add support for attached
315 properties as attributes, supplementing the existing support for
316 attached properties as elements
318 2005-07-05 Iain McCoy <iain@mccoy.id.au>
320 * Mono.Windows.Serialization/XamlParser.cs,
321 Mono.Windows.Serialization/XamlWriter.cs,
322 Mono.Windows.Serialization/CodeWriter.cs: add support for delegate
323 properties and for events
324 * Mono.Windows.Serialization/XamlParser.cs,
325 Mono.Windows.Serialization/XamlWriter.cs,
326 Mono.Windows.Serialization/CodeWriter.cs,
327 Mono.Windows.Serialization/Mapper.cs: tighten up types so that Type
328 and PropertyInfo are passed instead of strings
330 2005-07-03 Iain McCoy <iain@mccoy.id.au>
332 * Mono.Windows.Serialization/XamlParser.cs: added support for Code
333 elements, provide fully qualified name of type to attach to, skip
334 xmns: attributes when processing,
335 * Mono.Windows.Serialization/XamlWriter.cs: added WriteCode member,
336 ordered methods by type of thing dealt with
337 * Mono.Windows.Serialization/CodeWriter.cs: added support for Code
338 elements, call empty constructor for objects, call TypeConverter
341 2005-07-03 Iain McCoy <iain@mccoy.id.au>
343 * Mono.Windows.Serialization/CodeWriter.cs: use CodeDom to do code
345 * Mono.Windows.Serialization/CodeWriter.cs:
346 * Mono.Windows.Serialization/XamlWriter.cs:
347 * Mono.Windows.Serialization/XamlParser.cs: initial TypeConverter
350 2005-07-02 Iain McCoy <iain@mccoy.id.au>
352 * whole folder: implementation of Xaml-related namespaces