* compiler-tester.cs (NegativeChecker.GetCompilerError): Don't
[mono.git] / mcs / class / PresentationFramework / ChangeLog
1 2005-08-23  Iain McCoy  <iain@mccoy.id.au>
2
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
6         parsed
7         * Test/XamlParser.cs: rewrite tests so that they use the new interface
8         of the parser
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
12         works
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
16         works
17
18 2005-08-07  Iain McCoy  <iain@mccoy.id.au>
19
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.
25
26 2005-07-25  Iain McCoy  <iain@mccoy.id.au>
27
28         * Test/CodeWriter.cs: updated tests to reflect change in code
29         generator
30
31 2005-07-25  Iain McCoy  <iain@mccoy.id.au>
32
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.
41
42 2005-07-24  Iain McCoy  <iain@mccoy.id.au>
43
44         * Test/XamlParser.cs,
45           Mono.Windows.Serialization/XamlParser.cs: added a test for 
46         inappropriate usage of the Class attribute and fixed bug revealed by
47         the test
48         * Test/ObjectWriter.cs,
49           PresentationFramework_test.dll.sources: added tests for object
50         builder (based on tests for code generator)
51
52
53 2005-07-23  Iain McCoy  <iain@mccoy.id.au>
54
55         * Test/XamlParser.cs: added test for events and delegates as property
56         values
57         * Test/CodeWriter.cs: added tests for events and for delegates as
58         property values
59
60 2005-07-19  Iain McCoy  <iain@mccoy.id.au>
61
62         * Mono.Windows.Serialization/XamlWriter.cs: renamed to IXamlWriter.cs
63
64 2005-07-18  Iain McCoy  <iain@mccoy.id.au>
65
66         * Mono.Windows.Serialization/*, Test/*: change stupid
67         CreateElementText name of method on XamlWriter to something marginally
68         more sensible
69
70 2005-07-18  Iain McCoy  <iain@mccoy.id.au>
71
72         * Mono.Windows.Serialization/CodeWriter.cs, 
73           Test/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.
78
79 2005-07-18  Iain McCoy  <iain@mccoy.id.au>
80
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
83         by the tests
84         * Test/CodeWriter.cs, Test/XamlParser.cs: added copyright/license
85         notices
86
87 2005-07-18  Iain McCoy  <iain@mccoy.id.au>
88
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
94         scaffolding.
95
96 2005-07-17  Iain McCoy  <iain@mccoy.id.au>
97
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
101
102 2005-07-16  Iain McCoy  <iain@mccoy.id.au>
103
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.
107
108 2005-07-15  Iain McCoy  <iain@mccoy.id.au>
109
110         * System.Windows.Serialization/Mapper.cs: make assembly loading more
111         resilient
112         * Mono.Windows.Serialization/ObjectWriter.cs: do conversions from
113         strings and support dependency properties
114
115 2005-07-15  Iain McCoy  <iain@mccoy.id.au>
116
117         * Mono.Windows.Serialization/CodeWriter.cs: don't try to convert
118         objects into their parent types.
119
120 2005-07-15  Iain McCoy  <iain@mccoy.id.au>
121
122         * Mono.Windows.Serialization/CodeWriter.cs: Better debugging
123         information
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 
131         clarity
132
133 2005-07-14  Iain McCoy  <iain@mccoy.id.au>
134
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
139
140 2005-07-13  Iain McCoy  <iain@mccoy.id.au>
141
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
145
146 2005-07-11  Iain McCoy  <iain@mccoy.id.au>
147
148         * Makefile,
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
152           new tests turned up
153
154 2005-07-08  Iain McCoy  <iain@mccoy.id.au>
155
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)
160
161 2005-07-08  Iain McCoy  <iain@mccoy.id.au>
162
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.
169
170 2005-07-08  Iain McCoy  <iain@mccoy.id.au>
171
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
176           affect.
177
178 2005-07-06  Iain McCoy  <iain@mccoy.id.au>
179
180         * Mono.Windows.Serialization/CodeWriter.cs: cleaned up a little, added
181         support for the `partial' class modifier
182
183 2005-07-06  Iain McCoy  <iain@mccoy.id.au>
184
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
192         AttachedProperty.
193
194 2005-07-05  Iain McCoy  <iain@mccoy.id.au>
195
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
201
202 2005-07-05  Iain McCoy  <iain@mccoy.id.au>
203
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
213
214 2005-07-03  Iain McCoy  <iain@mccoy.id.au>
215
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
223         almost correctly.
224
225 2005-07-03  Iain McCoy  <iain@mccoy.id.au>
226
227         * Mono.Windows.Serialization/CodeWriter.cs: use CodeDom to do code
228         generation
229         * Mono.Windows.Serialization/CodeWriter.cs:
230         * Mono.Windows.Serialization/XamlWriter.cs:
231         * Mono.Windows.Serialization/XamlParser.cs: initial TypeConverter
232         support
233
234 2005-07-02  Iain McCoy  <iain@mccoy.id.au>
235
236         * whole folder: implementation of Xaml-related namespaces