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