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