2005-09-27 Chris Toshok <toshok@ximian.com>
[mono.git] / mcs / class / Microsoft.Web.Atlas / ChangeLog
1 2005-09-27  Chris Toshok  <toshok@ximian.com>
2
3         * Microsoft.Web/ScriptEvent.cs (RenderActions): remove the
4         WriteWhitespace calls - the writer takes care of formatting for
5         us.
6
7         * Microsoft.Web/ScriptControl.cs (AddAttributesToElement): add
8         cssClass and targetElement.
9         (InitializeTypeDescriptor): flesh out the type descriptor.
10         (RenderScriptTagContents): call the base class method, then render
11         our behaviors.
12         (Behaviors): implement.
13         (CssClass): implement.
14
15         * Microsoft.Web/Behavior.cs (RenderBehavior): new.
16         (RenderScript): new.
17
18         * Microsoft.Web/ScriptComponent.cs (AddAttributesToRender): write
19         the ID.
20         (InitializeTypeDescriptor): implement.
21         (OnInit): register ourselves with the script manager.
22         (RenderScriptTagContents): render our bindings.
23         (Bindings): implement.
24         (PropertyChanged): implement.
25         (IScriptOwner.Owner): return null instead of NIE.
26
27         * Microsoft.Web/ScriptComponentBase.cs (RenderScript): add new
28         non-iface virtual method, and have the explicit interface impl
29         call it.
30         (RenderScriptTagContents): write out the bindings.
31
32         * Microsoft.Web/ScriptTextWriter.cs (.ctor): set Formatting to
33         Formatting.Indented.
34
35         * Microsoft.Web/IScriptComponentContainer.cs: new interface.
36
37         * Microsoft.Web/ScriptComponentCollection.cs: new implementation.
38
39         * Microsoft.Web/GenericScriptComponent.cs: new implementation.
40
41 2005-09-27  Chris Toshok  <toshok@ximian.com>
42
43         * Microsoft.Web.UI/ScriptManager.cs: implement things such that
44         things kinda work.
45
46         * Microsoft.Web.UI/Button.cs (AddAttributesToElement): call base
47         class method.
48         (InitializeTypeDescriptor): same.
49         (OnPreRender): same.
50
51         * Microsoft.Web.UI/Label.cs: new implementation.
52
53         * Microsoft.Web.UI/TextBox.cs: new implementation.
54
55         * Microsoft.Web.UI/ListView.cs: new implementation.
56         
57 2005-09-16  Chris Toshok  <toshok@ximian.com>
58
59         * Test/Microsoft.Web.UI/LabelTest.cs: new test.
60
61         * Test/Microsoft.Web.UI/ListViewTest.cs: new test.
62
63         * Test/Microsoft.Web.UI/TextBoxTest.cs: new test.
64
65 2005-09-15  Chris Toshok  <toshok@ximian.com>
66
67         * Makefile (LIB_MCS_FLAGS): fix this up.
68
69         * Microsoft.Web.Services/ScriptHandlerFactory.cs
70         (ScriptHandlerFactory.GetHandler): implement by returning a
71         JSProxyGenerator if PathInfo == "/js", otherwise we fallback to
72         using WebServiceHandlerFactory.
73         (JSProxyGenerator): brain dead and simple proxy generator that
74         uses S.R. to emit the JS.
75
76         * Microsoft.Web.UI/Script.cs: always render the <script> tags for
77         the time being - eventually we'll compare Page.Browser and
78         Script.Browser.
79
80         * resources/AtlasCore.js: include portions of prototype.js to get
81         the Ajax stuff working.  Their stuff is MIT, and why reinvent the
82         wheel?
83         (Web.Net.ServiceMethodRequest): implement this in terms of
84         Ajax.Request from prototype.js.
85
86 2005-09-15  Chris Toshok  <toshok@ximian.com>
87
88         * Microsoft.Web.Services/ScriptHandlerFactory.cs: new (stub) file.
89
90         * Microsoft.Web.Services/ScriptModule.cs: same.
91
92 2005-09-15  Chris Toshok  <toshok@ximian.com>
93
94         * Assembly/AssemblyInfo.cs: new file.
95
96         * Microsoft.Web.Atlas.dll.sources: add the assemblyinfo stuff.
97
98 2005-09-15  Chris Toshok  <toshok@ximian.com>
99
100         * resources/AtlasControls.js: new file.
101
102         * resources/AtlasCore.js: new file.
103
104 2005-09-14  Chris Toshok  <toshok@ximian.com>
105
106         * Microsoft.Web.UI/Option.cs: new implementation.
107
108         * Test/Microsoft.Web.UI/OptionTest.cs: new test.
109
110         * Microsoft.Web.Atlas_test.dll.sources: add OptionTest.cs
111
112         * Microsoft.Web.Atlas.dll.sources: add Option.cs
113
114 2005-09-14  Chris Toshok  <toshok@ximian.com>
115
116         * Microsoft.Web.UI/PropertyFilter.cs: new implementation.
117
118         * Microsoft.Web.UI/Filter.cs: new implementation.
119
120         * Test/Microsoft.Web.UI/PropertyFilterTest.cs: new test.
121
122         * Microsoft.Web.Atlas_test.dll.sources: add PropertyFilterTest.cs
123
124         * Microsoft.Web.Atlas.dll.sources: add PropertyFilter.cs
125
126 2005-09-14  Chris Toshok  <toshok@ximian.com>
127
128         * Microsoft.Web.Atlas.dll.sources: add DraggableListItem.cs
129
130         * Microsoft.Web.UI/HoverBehavior.cs (AddAttributesToElement): add
131         comment about how MS NRE's here in our tests.
132         (InitializeTypeDescriptor): fix the ServerPropertyName for
133         "hoverElement".
134
135         * Microsoft.Web.UI/DraggableListItem.cs (AddAttributesToElement):
136         add comment about how MS NRE's here in our tests.
137
138         * Microsoft.Web.UI/DataSourceDropTarget.cs
139         (AddAttributesToElement): add comment about how MS NRE's here in
140         our tests.
141
142         * Microsoft.Web.UI/FloatingBehavior.cs (AddAttributesToElement):
143         add comment about how MS NRE's here in our tests.
144         
145         * Microsoft.Web/Binding.cs: new implementation.
146
147         * Microsoft.Web/BindingDirection.cs: fix ordering on enum.
148
149 2005-09-14  Chris Toshok  <toshok@ximian.com>
150
151         * Microsoft.Web.Atlas_test.dll.sources: add BindingTest and
152         DraggableListItemTest.
153
154         * Test/Microsoft.Web/*: lots of new test work.
155
156         * Test/Microsoft.Web.UI/*: lots of new test work.
157         
158 2005-09-14  Chris Toshok  <toshok@ximian.com>
159
160         * Microsoft.Web.Atlas_test.dll.sources: add DragDropListTest.cs
161
162         * Microsoft.Web.Atlas.dll.sources: add DragDropList.cs
163
164         * Microsoft.Web.UI/DragDropList.cs: new implementation.
165
166         * Test/Microsoft.Web.UI/DragDropListTest.cs: new tests.
167
168 2005-09-14  Chris Toshok  <toshok@ximian.com>
169
170         * Test/Microsoft.Web.UI/DataSourceDropTargetTest.cs: expand the
171         property tests.
172
173         * Microsoft.Web.UI/DataSourceDropTarget.cs: fix up the default
174         values and behavior of properties.
175
176 2005-09-14  Chris Toshok  <toshok@ximian.com>
177
178         * Microsoft.Web.Atlas_test.dll.sources: add DataSourceDropTargetTest.cs
179
180         * Microsoft.Web.Atlas.dll.sources: add DataSourceDropTarget.cs
181
182         * Microsoft.Web.UI/DataSourceDropTarget.cs: new implementation.
183
184         * Test/Microsoft.Web.UI/DataSourceDropTargetTest.cs: new tests.
185
186 2005-09-14  Chris Toshok  <toshok@ximian.com>
187
188         * Microsoft.Web.Atlas_test.dll.sources: add HoverBehaviorTest.cs
189
190         * Microsoft.Web.Atlas.dll.sources: add HoverBehavior.cs
191
192         * Microsoft.Web.UI/HoverBehavior.cs: new implementation.
193
194         * Test/Microsoft.Web.UI/HoverBehaviorTest.cs: new tests.
195
196 2005-09-14  Chris Toshok  <toshok@ximian.com>
197
198         * Microsoft.Web.UI/ClickBehavior.cs: fix a nullref in kind of a
199         stupid way.. leave an XXX.
200
201         * Microsoft.Web.Atlas_test.dll.sources: add FloatingBehaviorTest.cs
202
203         * Microsoft.Web.Atlas.dll.sources: add FloatingBehavior.cs
204
205         * Microsoft.Web.UI/FloatingBehavior.cs: new implementation.
206
207         * Test/Microsoft.Web.UI/FloatingBehaviorTest.cs: new tests.
208
209 2005-09-14  Chris Toshok  <toshok@ximian.com>
210
211         * Microsoft.Web.Atlas.dll_sources: add implementations.
212
213         * Microsoft.Web.Atlas_test.dll_sources: add tests.
214
215         * Microsoft.Web/Behavior.cs: this class is pretty much empty.
216
217         * Microsoft.Web/ActionCollection.cs: make the readonly stuff work.
218         someone with more experience with this crap should tell me whether
219         i did it right..
220
221         * Microsoft.Web/ScriptMemberDescriptor.cs: cleanup.
222
223         * Microsoft.Web/ScriptComponent.cs: cleanup.
224
225         * Microsoft.Web/ScriptTypeDescriptor.cs (.ctor): cleanup.
226
227         * Microsoft.Web/ScriptComponentBase.cs (RenderScript): make this
228         an explicit interface implementation.
229
230         * Microsoft.Web/Action.cs (InitializeTypeDescriptor): move some of
231         the propertydescriptors from ScriptComponentBase to here, as they
232         don't show up when we get type descriptors for Behaviors.
233
234         * Microsoft.Web/BehaviorCollection.cs: this class should be
235         public.
236
237         * Microsoft.Web/ScriptControl.cs: stubs.
238
239         * Microsoft.Web.UI/Button.cs: stubs.
240
241         * Test/Microsoft.Web.UI/ClickBehavior.cs: new tests.
242
243         * Microsoft.Web.UI/ClickBehavior: new implementation.
244         
245         * Test/Microsoft.Web/ScriptEventTest.cs: new tests.
246
247         * Microsoft.Web/ScriptEvent.cs: round out implementation.
248
249 2005-09-14  Chris Toshok  <toshok@ximian.com>
250
251         * Test/Microsoft.Web/ActionTest.cs,
252         Microsoft.Web/BehaviorCollection.cs,
253         Microsoft.Web/ScriptComponentBase.cs,
254         Microsoft.Web/BindingCollection.cs,
255         Microsoft.Web/ActionCollection.cs, Microsoft.Web/Behavior.cs,
256         Microsoft.Web/IScriptObject.cs, Microsoft.Web/Binding.cs: fix a
257         missing method in IScriptObject.
258
259 2005-09-14  Chris Toshok  <toshok@ximian.com>
260
261         * Test/Microsoft.Web/SetPropertyActionTest.cs,
262         Test/Microsoft.Web/InvokeMethodActionTest.cs: new tests.
263
264         * Microsoft.Web/SetPropertyAction.cs,
265         Microsoft.Web/InvokeMethodAction.cs: new implementations.
266
267         * Microsoft.Web.Atlas.dll_sources: add implementations.
268
269         * Microsoft.Web.Atlas_test.dll_sources: add tests.
270
271 2005-09-14  Chris Toshok  <toshok@ximian.com>
272
273         * Microsoft.Web.Atlas_test.dll.sources: add
274         ScriptComponentBaseTest.
275
276         * Test/Microsoft.Web/ScriptComponentBaseTest.cs: new tests.
277
278         * Microsoft.Web/ScriptEventCollection.cs: naive, untested,
279         implementation to get the other tests running.
280
281         * Microsoft.Web/ScriptEvent.cs: same.
282
283         * Microsoft.Web/BindingCollection.cs: same.
284
285         * Microsoft.Web/ActionCollection.cs: same.
286
287         * Microsoft.Web/ScriptComponentBase.cs: round out implementation.
288
289 2005-09-14  Chris Toshok  <toshok@ximian.com>
290
291         * Microsoft.Web/ScriptComponentBase.cs (InitializeTypeDescriptor):
292         implement.
293
294         * Microsoft.Web/ScriptType.cs: fix enum.
295
296         * Microsoft.Web/Action.cs: round out implementation.
297
298         * Test/Microsoft.Web/ActionTest.cs: more tests.
299
300 2005-09-14  Chris Toshok  <toshok@ximian.com>
301
302         * Microsoft.Web/ScriptMemberDescriptor.cs: new implementation.
303
304         * Microsoft.Web/ScriptTypeDescriptor.cs: new implementation.
305
306         * Microsoft.Web/ScriptMethodDescriptor.cs: new implementation.
307
308         * Microsoft.Web/ScriptEventDescriptor.cs: new implementation.
309
310         * Microsoft.Web/ScriptPropertyDescriptor.cs: new implementation.
311
312 2005-09-14  Chris Toshok  <toshok@ximian.com>
313
314         * Test/Microsoft.Web/ScriptEventDescriptorTest.cs,
315         Test/Microsoft.Web/ScriptMethodDescriptorTest.cs,
316         Test/Microsoft.Web/ScriptPropertyDescriptorTest.cs: new tests.
317
318         * Microsoft.Web.Atlas_test.dll.sources: add the descriptor tests.
319         
320 2005-09-14  Chris Toshok  <toshok@ximian.com>
321
322         * Microsoft.Web.Atlas_test.dll.sources: add
323         ScriptTypeDescriptorTest
324
325         * Test/Microsoft.Web/ScriptTypeDescriptorTest.cs: new test.
326
327 2005-09-13  Chris Toshok  <toshok@ximian.com>
328
329         * *: Initial import.. I was bored so I got started.