cb7f52feb2f13e13d2d161032b32848ca8f2c3ca
[mono.git] / mcs / class / System.Web / System.Web.UI / ChangeLog
1 2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2
3         * System.Web.UI/LiteralControl.cs: 
4         Fixes based on class status page:
5         
6                 - Add attributes (DefaultEvent, ParseChildren).
7                 - Fix declarations.
8                 - Explicitly implement some interfaces (IPostBackDataHandler
9                 and IPostBackEventHandler).
10                 - Implemented some missing methods.
11
12 2002-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
13
14         * Control.cs: reimplemented FindControls.
15
16         * Page.cs:
17         (.ctor): set the page for this control.
18         (IsPostBack): return valid value.
19         (DeterminePostBackMode): finished.
20         (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
21         (ProcessPostData): implemented. Raises change and postback events.
22         (ProcessRequest): changed to support reuse of the instance.
23         (RegisterRequiresPostBack): implemented.
24
25         * ValidatorCollection.cs: implemented all methods.
26
27 2002-06-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
28
29         * Control.cs:
30         * Page.cs: first attemp to save view state.
31
32         * HtmlForm.cs: don't render Action.
33
34 2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
35
36         * Page.cs: implemented more properties using information we already
37         have in Context.
38         (OnFormRender):
39         (OnFormPostRender):
40         (VerifyRenderingInServerForm): implemented.
41
42 2002-06-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
43
44         * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
45         out runtime. Renamed Page_Init and Page_Load.
46
47         After this, we can load a dll and render HTML in linux.
48
49 2002-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
50
51         * Control.cs:
52         (AddedControl): new function that is called whenever a control is
53         added to a collection of controls in a container. It sets the defaults
54         except for Page.
55         
56         * ControlCollection.cs: call AddedControl in Add/AddAt.
57
58         * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
59         SetStaticString and SetDataBoundString.
60
61         * Page.cs: removed SetDefaults.
62
63 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
64
65         * CompiledTemplateBuilder.cs: new file. Used in the code generated
66         by xsp.
67
68         * Control.cs:
69         (BindingContainer): implemented.
70         (EnsureChildControls): avoid stack overflow.
71
72         * DataBinder.cs: implemented Eval and PropertyValue.
73
74 2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
75
76         * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
77         bug as in regular attributes).
78
79 2002-06-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
80
81         * Control.cs: implemented PreventAutoID.
82
83         * Page.cs:
84         (SetDefaults): don't set ID automatically if Control.PreventAutoID has
85         been called.
86
87 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
88
89         * Page.cs:
90         (Validators): if the collection is null, create one.
91         (GetPostBackEventReference 2): don't throw exception.
92         (GetPostBackClientEvent): return a string with containing the method
93         name, the control name and the argument.
94
95 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
96
97         * Page.cs: SetPage is now called SetDefaults and also sets a default 
98         ID for controls that don't have one yet.
99
100 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
101
102         * Page.cs:
103         (GetPostBackClient):
104         (RegisterRequiresPostBack): don't throw NotImplementedException to
105         keep going.
106         (ProcessRequest): set the current page as the Page property for *all*
107         the controls, not just the direct children of the page.
108
109 2002-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
110
111         * Control.cs:
112         (MapPathSecure): until security is implemented, return the same path
113         received as argument.
114         (RenderControl): call OnPreRender before rendering the control. So
115         AdRotator can read its configuration file.Is there any other place
116         where this should be done?
117
118         * HtmlTextWriter.cs:
119         (AddAttribute): fixed. Now it really stores attributes.
120         (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
121
122 2002-06-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
123
124         * ControlCollection.cs:
125         (AddAt): if index is -1 behave as a plain Add.
126
127 2002-06-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
128
129         * Page.cs: for each child control to render, assign Control.Page.
130         Probably also needed in HtmlContainerControl derived classes.
131         
132 2002-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
133
134         * AttributeCollection.cs: don't need a Hastable. StateBag now works 
135         fine and takes care of the details.
136
137         * Control.cs: added HasChildren property.
138
139         * StateBag.cs: fixed a couple of nasty bugs.
140
141 2002-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
142
143         * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
144         Invoke Page_Init and/or Page_Load if the user supplied them (though 
145         this should depend on AutoEventWireUp attribute of Page directive).
146
147 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
148
149         * Control.cs: don't throw exception in ControlID. By now, it returns ID.
150
151         * Page.cs: 
152         (ProcessRequest): implemented.
153
154 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
155
156         * System.Web.UI/Page.cs: finished stubbing out. Implemented some
157         methods.
158
159 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
160
161         * Page.cs:
162         (FileDependencies): now is public public.
163         (EnableViewStateMAC): uncommented and made protected. 
164         (GetTypeHashCode): added method.
165         
166 2002-05-24  Duncan Mak  <duncan@ximian.com>
167
168         * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
169
170         * StateBag.cs (Item): Changed the visibility level of the this
171         [object] indexer.
172
173         Misc. formatting edits, fixing some bugs introduced by the indentation.
174
175         * DataBinder.cs (Eval)
176         (GetIndexedPropertyValue)
177         (GetPropertyValue): Fixed return types.
178
179 2002-05-21  Miguel de Icaza  <miguel@ximian.com>
180
181         * HtmlTextWriter.cs: Use this to change the member instances.
182
183 2002-05-17  Duncan Mak  <duncan@ximian.com>
184
185         * AttributeCollection.cs: 
186         * ControlCollection.cs: 
187         * CssStyleCollection.cs: 
188         * DataBindingCollection.cs: 
189         * EmptyControlCollection.cs: Added missing Collection classes.
190
191 2002-05-17  Duncan Mak  <duncan@ximian.com>
192
193         * BaseParser.cs:
194         * TemplateParser.cs:  Implemented. BaseParser is weird because
195         there is no documentation on what it does.
196
197         * ControlBuilder.cs:
198         
199         * DataBinder.cs: 
200         * DataBinding.cs: Added. 
201
202         * DataBoundLiteralControl.cs: 
203         * Triplet.cs: Added.
204
205         * RenderMethod.cs: Added this delegate for Control.cs
206
207 2002-05-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
208
209         * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
210
211 2002-05-14  Duncan Mak  <duncan@ximian.com>
212
213         * ValidationPropertyAttribute.cs: Added to CVS.
214
215 2002-05-10  Duncan Mak  <duncan@ximian.com>
216
217         * ConstructorNeedsTagAttribute.cs: 
218         * ControlBuilderAttribute.cs: 
219         * ImageClickEventArgs.cs: 
220         * ParseChildrenAttribute.cs: 
221         * PartialCachingAttribute.cs: 
222         * PersistChildrenAttribute.cs: 
223         * PersistenceModeAttribute.cs: 
224         * TemplateContainerAttribute.cs: Added to CVS.
225
226         * PersistanceMode.cs: Removed, fixed typo.
227         * PersistenceMode.cs: Replacing above.
228
229         * StateBag.cs (this): Fixed indexer, it takes a string as the
230         index, not an object.
231
232         * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection. 
233
234         * Page.cs (Validators): return type should be ValidatorCollection,
235         not ValidatedCollection.
236
237         * TagPrefixAttribute.cs: Added to CVS.
238
239 2002-05-07  Duncan Mak  <duncan@ximian.com>
240
241         * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
242
243 2002-03-26   Gaurav Vaish <gvaish@iitk.ac.in>
244
245         * DataBindingHandlerAttribute.cs
246                                    - Completed
247         * ToolboxDataAttribute.cs  - Completed
248
249 2002-01-03  Nick Drochak  <ndrochak@gol.com>
250
251         * DesignTimeParseData.cs: initialze static member to avoid compile
252         error
253         * PropertyConverter.cs: remove uneeded exception variables from
254         catch blocks.
255
256 2002-01-02  Nick Drochak  <ndrochak@gol.com>
257
258         * DesignTimeParseData.cs: fix header to show correct class name
259
260 2001-12-21   Gaurav Vaish <gvaish@iitk.ac.in>
261
262         * StateBag.cs             - Completed
263
264 2001-12-19   Gaurav Vaish <gvaish@iitk.ac.in>
265
266         * Pair.cs                 - Small undocumented class. Completed.
267
268 2001-12-18   Gaurav Vaish <gvaish@iitk.ac.in>
269
270         * DesignTimeParseData.cs  - Initial implementation
271         * StateBag.cs             - Initial implementation
272
273 2001-12-17   Gaurav Vaish <gvaish@iitk.ac.in>
274
275         * PropertyConverter.cs    - Undocumented class. Completed.
276         * Utils.cs                - Undocumented, private class.
277                                     Initial implementation
278
279 2001-08-28  Bob Smith  <bob@thestuff.net>
280         * Control.cs: Figured out some undocumented API.
281         * Added TODO.
282         * BuildMethod.cs: Initial implementation.
283         * BuildTemplateMethod.cs: Initial implementation.
284         * HtmlTextWriterAttribute.cs: Initial implementation.
285         * HtmlTextWriterStyle.cs: Initial implementation.
286         * HtmlTextWriterTag.cs: Initial implementation.
287         * IAttributeAccessor.cs: Initial implementation.
288         * IDataBindingsAccessor.cs: Initial implementation.
289         * ImageClickEventHandler.cs: Initial implementation.
290         * INamingContainer.cs: Initial implementation.
291         * IParserAccessor.cs: Initial implementation.
292         * IPostBackDataHandler.cs: Initial implementation.
293         * IPostBackEventHandler.cs: Initial implementation.
294         * IStateManager.cs: Initial implementation.
295         * ITagNameToTypeMapper.cs: Initial implementation.
296         * ITemplate.cs: Initial implementation.
297         * IValidator.cs: Initial implementation.
298         * OutputCacheLocation.cs: Initial implementation.
299         * PersistanceMode.cs: Initial implementation.
300         * StateItem.cs: Initial implementation.
301
302 2001-08-27  Bob Smith  <bob@thestuff.net>
303
304         * Control.cs: Bug fixes and implementations.
305
306 2001-08-24  Bob Smith  <bob@thestuff.net>
307
308         * Control.cs: Bug fixes.
309
310 2001-08-23  Bob Smith  <bob@thestuff.net>
311
312         * Control.cs: More implementation. Events reworked for performance.
313
314 2001-08-22  Bob Smith  <bob@thestuff.net>
315
316         * LiteralControl.cs: Implemented.
317         * Control.cs: Even more implementation (Events). What a beast.
318
319 2001-08-20  Bob Smith  <bob@thestuff.net>
320
321         * Control.cs: More implementation. Not done yet. Shutter.
322
323 2001-08-17  Bob Smith  <bob@thestuff.net>
324
325         * Control.cs: Partial implementation.