7e2c8d14dd2fa31134b4cf92cc33f327e5acd7d5
[mono.git] / mcs / class / PresentationFramework / ChangeLog
1 2005-07-25  Iain McCoy  <iain@mccoy.id.au>
2
3         * Test/CodeWriter.cs: updated tests to reflect change in code
4         generator
5
6 2005-07-25  Iain McCoy  <iain@mccoy.id.au>
7
8         * Test/XamlParser.cs: added tests for correct catching of non-existent
9         processing instructions, attempting to set a dependency property on an
10         object that is not a dependency object and for code elements.
11         * Test/CodeWriter.cs: added tests for partial class generation and for
12         giving a specific name to an object to be stored as a property value
13         * Mono.Windows.Serialization/XamlParser.cs: be more paranoid about
14         children of code elements, have better punctuation if objecting to an
15         incorrect mapping and throw exceptions on unknown property types.
16
17 2005-07-24  Iain McCoy  <iain@mccoy.id.au>
18
19         * Test/XamlParser.cs,
20           Mono.Windows.Serialization/XamlParser.cs: added a test for 
21         inappropriate usage of the Class attribute and fixed bug revealed by
22         the test
23         * Test/ObjectWriter.cs,
24           PresentationFramework_test.dll.sources: added tests for object
25         builder (based on tests for code generator)
26
27
28 2005-07-23  Iain McCoy  <iain@mccoy.id.au>
29
30         * Test/XamlParser.cs: added test for events and delegates as property
31         values
32         * Test/CodeWriter.cs: added tests for events and for delegates as
33         property values
34
35 2005-07-19  Iain McCoy  <iain@mccoy.id.au>
36
37         * Mono.Windows.Serialization/XamlWriter.cs: renamed to IXamlWriter.cs
38
39 2005-07-18  Iain McCoy  <iain@mccoy.id.au>
40
41         * Mono.Windows.Serialization/*, Test/*: change stupid
42         CreateElementText name of method on XamlWriter to something marginally
43         more sensible
44
45 2005-07-18  Iain McCoy  <iain@mccoy.id.au>
46
47         * Mono.Windows.Serialization/CodeWriter.cs, 
48           Test/CodeWriter.cs
49           Test/XamlWriter.cs: fix bug with explicitly naming objects in
50         IAddChild blocks and add tests for same
51         * Mono.Windows.Serialization/ObjectWriter.cs: support for arbitrary
52         objects as property values.
53
54 2005-07-18  Iain McCoy  <iain@mccoy.id.au>
55
56         * Test/CodeWriter.cs: added a bunch of tests for the code generator
57         * Mono.Windows.Serialization/CodeWriter.cs: fixed a few bugs turned up
58         by the tests
59         * Test/CodeWriter.cs, Test/XamlParser.cs: added copyright/license
60         notices
61
62 2005-07-18  Iain McCoy  <iain@mccoy.id.au>
63
64         * Mono.Windows.Serialization/XamlParser.cs: some refactoring and
65         improvements in error reporting
66         * Test/XamlParser.cs: added a few tests and improved the readability
67         of the baked-in XAML documents somewhat. Additionally added some
68         comments explaining the approach taken by the tests and test
69         scaffolding.
70
71 2005-07-17  Iain McCoy  <iain@mccoy.id.au>
72
73         * Test/XamlParser.cs: add a bunch of tests
74         * Mono.Windows.Serialization/XamlParser.cs: improve error reporting,
75         don't accept elements without namespaces
76
77 2005-07-16  Iain McCoy  <iain@mccoy.id.au>
78
79         * Test/XamlParser.cs: fix a bug in property tests, add tests for
80         dependency properties and complex objects as property values. Actually
81         include file in svn, oops.
82
83 2005-07-15  Iain McCoy  <iain@mccoy.id.au>
84
85         * System.Windows.Serialization/Mapper.cs: make assembly loading more
86         resilient
87         * Mono.Windows.Serialization/ObjectWriter.cs: do conversions from
88         strings and support dependency properties
89
90 2005-07-15  Iain McCoy  <iain@mccoy.id.au>
91
92         * Mono.Windows.Serialization/CodeWriter.cs: don't try to convert
93         objects into their parent types.
94
95 2005-07-15  Iain McCoy  <iain@mccoy.id.au>
96
97         * Mono.Windows.Serialization/CodeWriter.cs: Better debugging
98         information
99         * Mono.Windows.Serialization/XamlParser.cs: Better debugging
100         information, consolidated push() code
101         * Mono.Windows.Serialization/CodeWriter.cs: inverted sourceType and
102         destType in endPropertyObject
103         * Mono.Windows.Serialization/XamlParser.cs: changed parseElement so
104         that it doesn't stuff up the stack on empty elements and replaced 
105         an if statement spanning CurrentState with a case statement for 
106         clarity
107
108 2005-07-14  Iain McCoy  <iain@mccoy.id.au>
109
110         * Mono.Windows.Serialization/XamlParser.cs,
111           Mono.Windows.Serialization/XamlWriter.cs,
112           Mono.Windows.Serialization/CodeWriter.cs: Initial support for
113         creating complex objects as values of properties
114
115 2005-07-13  Iain McCoy  <iain@mccoy.id.au>
116
117         * Mono.Windows.Serialization/XamlParser.cs: fixed bug in the code
118         detecting that the file's contents must be finished, where it forbade
119         whitespace after the XAML code
120
121 2005-07-11  Iain McCoy  <iain@mccoy.id.au>
122
123         * Makefile,
124           Test/XamlParser.cs: added a few tests
125         * Mono.Windows.Serialization/CodeWriter.cs,
126           Mono.Windows.Serialization/XamlParser.cs: fixed some bugs that the
127           new tests turned up
128
129 2005-07-08  Iain McCoy  <iain@mccoy.id.au>
130
131         * Mono.Windows.Serialization/ObjectWriter.cs: code to build objects at
132         runtime from a xaml file. Current problems are with events and
133         delegates (current behaviour is untested and possibly useless) and
134         DependencyProperties (not implemented yet)
135
136 2005-07-08  Iain McCoy  <iain@mccoy.id.au>
137
138         * Mono.Windows.Serialization/XamlParser.cs,
139           Mono.Windows.Serialization/XamlWriter.cs,
140           Mono.Windows.Serialization/CodeWriter.cs: removed TypeConverter
141           stuff from everything except CodeWriter. By using TypeDescriptor,
142           the generator doesn't need to be told about the converter and since
143           the framework will find it we don't have to search for it.
144
145 2005-07-08  Iain McCoy  <iain@mccoy.id.au>
146
147         * Mono.Windows.Serialization/XamlParser.cs,
148           Mono.Windows.Serialization/XamlWriter.cs,
149           Mono.Windows.Serialization/CodeWriter.cs: support for x:Name
150           attributes and for considering Name properties to have the same
151           affect.
152
153 2005-07-06  Iain McCoy  <iain@mccoy.id.au>
154
155         * Mono.Windows.Serialization/CodeWriter.cs: cleaned up a little, added
156         support for the `partial' class modifier
157
158 2005-07-06  Iain McCoy  <iain@mccoy.id.au>
159
160         * Mono.Windows.Serialization/Mapping.cs: removed in favour of
161         System.Windows.Serialization/Mapper.cs
162         * System.Windows.Serialization/Mapper.cs: Added because it is the
163         microsoft-documented mapping API
164         * Mono.Windows.Serialization/XamlParser.cs: transition to the new
165         mapper system, also some general converging on the name
166         DependencyProperty throughout instead of ContextProperty or
167         AttachedProperty.
168
169 2005-07-05  Iain McCoy  <iain@mccoy.id.au>
170
171         * Mono.Windows.Serialization/XamlParser.cs,
172           Mono.Windows.Serialization/XamlWriter.cs,
173           Mono.Windows.Serialization/CodeWriter.cs: add support for attached
174           properties as attributes, supplementing the existing support for
175           attached properties as elements
176
177 2005-07-05  Iain McCoy  <iain@mccoy.id.au>
178
179         * Mono.Windows.Serialization/XamlParser.cs,
180           Mono.Windows.Serialization/XamlWriter.cs,
181           Mono.Windows.Serialization/CodeWriter.cs: add support for delegate
182           properties and for events
183         * Mono.Windows.Serialization/XamlParser.cs,
184           Mono.Windows.Serialization/XamlWriter.cs,
185           Mono.Windows.Serialization/CodeWriter.cs,
186           Mono.Windows.Serialization/Mapper.cs: tighten up types so that Type
187           and PropertyInfo are passed instead of strings
188
189 2005-07-03  Iain McCoy  <iain@mccoy.id.au>
190
191         * Mono.Windows.Serialization/XamlParser.cs: added support for Code
192         elements, provide fully qualified name of type to attach to, skip
193         xmns: attributes when processing, 
194         * Mono.Windows.Serialization/XamlWriter.cs: added WriteCode member,
195         ordered methods by type of thing dealt with
196         * Mono.Windows.Serialization/CodeWriter.cs: added support for Code
197         elements, call empty constructor for objects, call TypeConverter
198         almost correctly.
199
200 2005-07-03  Iain McCoy  <iain@mccoy.id.au>
201
202         * Mono.Windows.Serialization/CodeWriter.cs: use CodeDom to do code
203         generation
204         * Mono.Windows.Serialization/CodeWriter.cs:
205         * Mono.Windows.Serialization/XamlWriter.cs:
206         * Mono.Windows.Serialization/XamlParser.cs: initial TypeConverter
207         support
208
209 2005-07-02  Iain McCoy  <iain@mccoy.id.au>
210
211         * whole folder: implementation of Xaml-related namespaces