Removed debugging CWL that shows during normal execution.
[mono.git] / mcs / class / PresentationFramework / ChangeLog
1 2005-10-18  Iain McCoy  <iain@mccoy.id.au>
2
3         * System.Windows.Serialization/XamlNodeType.cs: add forgotten file
4
5 2005-09-01  Iain McCoy  <iain@mccoy.id.au>
6
7         * System.Windows.Serialization/BamlAttributeUsage.cs,
8           System.Windows.Serialization/XamlParseMode.cs,
9           System.Windows.Serialization/Exceptions.cs: add forgotten files
10
11 2005-09-01  Iain McCoy  <iain@mccoy.id.au>
12
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
17
18 2005-09-01  Iain McCoy  <iain@mccoy.id.au>
19
20         * Mono.Windows.Serialization/IXamlWriter.cs: deleted obsolete file
21
22 2005-09-01  Iain McCoy  <iain@mccoy.id.au>
23
24         * Mono.Windows.Serialization/XamlParser.cs,
25           Mono.Windows.Serialization/ParserConsumerBase.cs,
26           Mono.Windows.Serialization/ParserToCode.cs: somewhat improved
27           commentage
28
29
30 2005-09-01  Iain McCoy  <iain@mccoy.id.au>
31         
32         * Mono.Windows.Serialization/ParserToCode.cs
33           Test/Parser.cs
34           Test/XamlParser.cs
35           Test/ParserToCode.cs: Added tests for x:Key and StaticResource,
36         fixed bug in handling of x:Key in the code generator
37
38 2005-08-31  Iain McCoy  <iain@mccoy.id.au>
39
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
47
48 2005-08-28  Iain McCoy  <iain@mccoy.id.au>
49
50         * Test/Parser.cs, Test/ParserToCode.cs: added tests for objects as
51         values of dependency properties
52
53 2005-08-28  Iain McCoy  <iain@mccoy.id.au>
54
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
57         world
58
59 2005-08-28  Iain McCoy  <iain@mccoy.id.au>
60
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
65
66 2005-08-28  Iain McCoy  <iain@mccoy.id.au>
67
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
73
74 2005-08-27  Iain McCoy  <iain@mccoy.id.au>
75
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
85
86 2005-08-26  Iain McCoy  <iain@mccoy.id.au>
87
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
92         members
93
94 2005-08-26  Iain McCoy  <iain@mccoy.id.au>
95
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
101
102 2005-08-24  Iain McCoy  <iain@mccoy.id.au>
103
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
108
109 2005-08-24  Iain McCoy  <iain@mccoy.id.au>
110
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
116
117 2005-08-23  Iain McCoy  <iain@mccoy.id.au>
118
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
122         parsed
123         * Test/XamlParser.cs: rewrite tests so that they use the new interface
124         of the parser
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
128         works
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
132         works
133
134 2005-08-07  Iain McCoy  <iain@mccoy.id.au>
135
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.
141
142 2005-07-25  Iain McCoy  <iain@mccoy.id.au>
143
144         * Test/CodeWriter.cs: updated tests to reflect change in code
145         generator
146
147 2005-07-25  Iain McCoy  <iain@mccoy.id.au>
148
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.
157
158 2005-07-24  Iain McCoy  <iain@mccoy.id.au>
159
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
163         the test
164         * Test/ObjectWriter.cs,
165           PresentationFramework_test.dll.sources: added tests for object
166         builder (based on tests for code generator)
167
168
169 2005-07-23  Iain McCoy  <iain@mccoy.id.au>
170
171         * Test/XamlParser.cs: added test for events and delegates as property
172         values
173         * Test/CodeWriter.cs: added tests for events and for delegates as
174         property values
175
176 2005-07-19  Iain McCoy  <iain@mccoy.id.au>
177
178         * Mono.Windows.Serialization/XamlWriter.cs: renamed to IXamlWriter.cs
179
180 2005-07-18  Iain McCoy  <iain@mccoy.id.au>
181
182         * Mono.Windows.Serialization/*, Test/*: change stupid
183         CreateElementText name of method on XamlWriter to something marginally
184         more sensible
185
186 2005-07-18  Iain McCoy  <iain@mccoy.id.au>
187
188         * Mono.Windows.Serialization/CodeWriter.cs, 
189           Test/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.
194
195 2005-07-18  Iain McCoy  <iain@mccoy.id.au>
196
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
199         by the tests
200         * Test/CodeWriter.cs, Test/XamlParser.cs: added copyright/license
201         notices
202
203 2005-07-18  Iain McCoy  <iain@mccoy.id.au>
204
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
210         scaffolding.
211
212 2005-07-17  Iain McCoy  <iain@mccoy.id.au>
213
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
217
218 2005-07-16  Iain McCoy  <iain@mccoy.id.au>
219
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.
223
224 2005-07-15  Iain McCoy  <iain@mccoy.id.au>
225
226         * System.Windows.Serialization/Mapper.cs: make assembly loading more
227         resilient
228         * Mono.Windows.Serialization/ObjectWriter.cs: do conversions from
229         strings and support dependency properties
230
231 2005-07-15  Iain McCoy  <iain@mccoy.id.au>
232
233         * Mono.Windows.Serialization/CodeWriter.cs: don't try to convert
234         objects into their parent types.
235
236 2005-07-15  Iain McCoy  <iain@mccoy.id.au>
237
238         * Mono.Windows.Serialization/CodeWriter.cs: Better debugging
239         information
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 
247         clarity
248
249 2005-07-14  Iain McCoy  <iain@mccoy.id.au>
250
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
255
256 2005-07-13  Iain McCoy  <iain@mccoy.id.au>
257
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
261
262 2005-07-11  Iain McCoy  <iain@mccoy.id.au>
263
264         * Makefile,
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
268           new tests turned up
269
270 2005-07-08  Iain McCoy  <iain@mccoy.id.au>
271
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)
276
277 2005-07-08  Iain McCoy  <iain@mccoy.id.au>
278
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.
285
286 2005-07-08  Iain McCoy  <iain@mccoy.id.au>
287
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
292           affect.
293
294 2005-07-06  Iain McCoy  <iain@mccoy.id.au>
295
296         * Mono.Windows.Serialization/CodeWriter.cs: cleaned up a little, added
297         support for the `partial' class modifier
298
299 2005-07-06  Iain McCoy  <iain@mccoy.id.au>
300
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
308         AttachedProperty.
309
310 2005-07-05  Iain McCoy  <iain@mccoy.id.au>
311
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
317
318 2005-07-05  Iain McCoy  <iain@mccoy.id.au>
319
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
329
330 2005-07-03  Iain McCoy  <iain@mccoy.id.au>
331
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
339         almost correctly.
340
341 2005-07-03  Iain McCoy  <iain@mccoy.id.au>
342
343         * Mono.Windows.Serialization/CodeWriter.cs: use CodeDom to do code
344         generation
345         * Mono.Windows.Serialization/CodeWriter.cs:
346         * Mono.Windows.Serialization/XamlWriter.cs:
347         * Mono.Windows.Serialization/XamlParser.cs: initial TypeConverter
348         support
349
350 2005-07-02  Iain McCoy  <iain@mccoy.id.au>
351
352         * whole folder: implementation of Xaml-related namespaces