Add licensing info
[mono.git] / mcs / class / System.Web / System.Web.UI / ChangeLog
1 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2
3         * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
4         bug #60681.
5
6 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7
8         * PageParser.cs:
9         * UserControlParser.cs: set the page/user control base type even when no
10         default directive provided. Fixes bug #60572.
11
12 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
13
14         * PageParser.cs: use default trace settings from web.config and check
15         if trace is only requested for local connections. Fixes bug #60180.
16
17 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
18
19         * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When 
20         we read the default directive, check the cache for the Type and if
21         present, don't keep reading and store the type found.
22
23         * WebHandlerParser.cs:
24         * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
25         compiling.
26
27 2004-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
28
29         * Control.cs: properly fixed bug #59794.
30
31 2004-06-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
32
33         * Control.cs:
34         (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
35         #59794.
36
37 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
38
39         * SimpleWebHandlerParser.cs:
40         * TemplateParser.cs: pass the language when compiling from a file.
41
42 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
43
44         * SimpleWebHandlerParser.cs: if we have a global.asax, move its
45         reference to the end to help mcs loading the assemblies. Fixes bug
46         #58768.
47
48         * TemplateParser.cs: same as above. Removed some kludges to workaround
49         loading assemblies from bin path that are now in the runtime. Don't
50         load the assemblies in bin if not needed, but still reference them
51         when compiling.
52
53 2004-06-07  Alon Gazit <along@mainsoft.com>
54         * Page.cs: Changed Page.ProcessPostData().
55         After the change ,the state of controls that aren't visible is saved 
56         during a postback.
57         
58 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
59
60         * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
61
62 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
63
64         * Page.cs: IsPostBack also returns true when method is GET and we have
65         viewstate information in the query string. Fixes bug #58151.
66
67 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
68
69         * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
70         HttpRutime.TraceManager.
71
72         * PageParser.cs: for 'trace' we have 2 variables now.  Added support
73         for 'buffer' attribute.
74
75 2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
76
77         * Page.cs: implemented ClientTarget.
78         * PageParser.cs: support for clientTarget and check for validity.
79
80 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
81
82         * Control.cs:
83         * Html32TextWriter.cs:
84         * HtmlTextWriter.cs:
85         * SimpleWebHandlerParser.cs:
86         * TemplateControl.cs: Added protected missing members and attributes.
87
88 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
89
90         * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
91         calling a protected method of another object.
92
93 2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
94
95         * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
96           (of other objects) are called in TypeConverterFormatter.
97
98 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
99
100         * ObjectStateFormatter.cs: before choosing the binary formatter, check
101         if the object type has a TypeConverter that can convert to/from string.
102         Fixes bug #59495.
103
104         * Page.cs: call GetViewStateString from outside the WriteLine. This
105         allows writing to the Response when getting the string without breaking
106         the HTML generated.
107
108 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
109
110         * HtmlTextWriter.cs: render end tag for unknown tags.
111         Patch frmo Markus Kräutner. Fixes bug #59466.
112
113 2004-05-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
114
115         * Page.cs: call DeterminePostBackMode only once per request. Patch by
116         Evain Jb.
117
118 2004-05-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
119
120         * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
121         [meddochat].
122
123         * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
124         that.
125
126 2004-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
127
128         * SimpleWebHandlerParser.cs:
129         * TemplateParser.cs: for the assembly names given in the 'assembly'
130         attribute, use LoadWithPartialName instead of Load.
131 2004-03-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
132
133         * Page.cs: return HttpContext.Current if _context has not yet been
134         assigned to. Fixes bug #55245.
135
136 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
137
138         * TemplateParser.cs: don't add import statement or assemblies from
139         global.asax to every file. Fixes bug #55496.
140
141 2004-03-09  Juraj Skripsky <juraj@hotfeet.ch>
142
143         * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
144         handle single quotes and a few corner cases correctly (see test cases).
145
146 2004-03-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
147
148         * TemplateControl.cs: fixed typos and added new method names to the set
149         of page events.
150
151 2004-02-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
152
153         * ControlBuilder.cs: added SetTagName().
154
155         * ObjectTagBuilder.cs: use SetTagName so that we can properly close
156         <object> builders if the closing tag is provided.
157
158 2004-02-16  Jackson Harper <jackson@ximian.com>
159
160         * Page.cs: Set cacheability for Location.DownStream.
161         
162 2004-02-10  Jackson Harper <jackson@ximian.com>
163
164         * TemplateParser.cs: Use full path if the assembly is in the
165         private bin directory. Patch by Gonzalo Paniagua Javier.
166         
167 2004-02-09  Jackson Harper <jackson@ximian.com>
168
169         * Page.cs: Set cacheability for server side caching.
170         
171 2004-01-30  Jackson Harper <jackson@ximian.com>
172
173         * Control.cs: Ensure that dynamically loaded controls are
174         initialized.
175         
176 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
177
178         * ApplicationFileParser.cs: check for error in directives. Use
179         GlobalAsaxCompiler.CompileApplicationType for compiling.
180         
181         * ObjectTagBuilder.cs: load the Type and check for errors.
182
183         * TemplateParser.cs: add assemblies and imports from global.asax.
184
185         Now we properly create accessors for session and application objects in
186         the application itself, pages and controls. First step for fixing
187         bug #53387.
188
189 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
190
191         * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
192         to Eric Lindvall for pointing this out.
193
194 2004-01-15  Jackson Harper <jackson@ximian.com>
195
196         * TemplateParser.cs: Detect if we are parsing a control or page
197         properly.
198         * Page.cs: vary by params and vary by headers can be null now.
199         
200 2004-01-15  Martin Willemoes Hansen  <mwh@sysrq.dk>
201
202         * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
203         indention.
204
205 2004-01-14  Jackson Harper <jackson@ximian.com>
206
207         * Page.cs: If we have a postback that wasn't sent through a
208         postback script (ie user hit submit on a input type=submit) call
209         Validate so page validation occurs. This fixes bug #52770.
210         
211 2004-01-14  Jackson Harper <jackson@ximian.com>
212
213         * Page.cs: Don't tell the response to cache anymore. This is done
214         when the cacheability is modified by a callback. Set the cache's
215         duration.
216         
217 2004-01-14  Jackson Harper <jackson@ximian.com>
218
219         * TemplateParser.cs: If varybyparam is set to "none" make it null
220         so we dont get a param named null in the outputcache key.
221         
222 2004-01-14  Jackson Harper <jackson@ximian.com>
223
224         * BasePartialCachingControl.cs: Use varyby attributes in key
225         generation.
226         
227 2004-01-14  Jackson Harper <jackson@ximian.com>
228
229         * TemplateParser.cs: Add all the outputcache attribute error
230         messages.
231         
232 2004-01-13  Jackson Harper <jackson@ximian.com>
233
234         * TemplateParser.cs: Add VaryByControls and Shared output cache
235         properties. These are not assigned yet.
236         * TemplateControlParser.cs: Do not ignore the OutputCache
237         attribute.
238         * BasePartialCachingControl.cs: Initial implementation. Keys are
239         still not created properly.
240         * StaticPartialCachingControl.cs: Assign properties in base class,
241         implement CreateControl.
242         
243 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
244
245         * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
246
247         * PageParser.cs: support validateRequest.
248
249         * TemplateControlParser.cs: get default values from system.web/pages
250         section.
251
252         * TemplateParser.cs: added separate method for changing base type
253         (Inherits or system.web/pages).
254         
255         * UserControlParser.cs: support system.web/pages defined base type.
256
257 2004-01-11  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
258
259         * UserControl.cs: Added missing attribute, implemented method
260         * Page.cs: Added missing attribute, implemented method
261
262 2004-01-10  Jackson Harper <jackson@ximian.com>
263
264         * Page.cs: Handle trace being enabled in the config file.
265         
266 2004-01-10  Jackson Harper <jackson@ximian.com>
267
268         * Page.cs: Save trace data before rendering it.
269         * System.Web.dll.sources: Add TraceData.cs
270         
271 2004-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
272
273         * Page.cs: removed a couple of MonoTODO on methods we're not gonna
274         implement. Applied patch from Jan Jaros (mono-bug@jerryweb.info) to
275         ensure that Unload event is raised. Fixes bug #52555.
276
277 2004-01-02  Zoltan Varga  <vargaz@freemail.hu>
278
279         * KeyedList.cs: 'private' is not allowed on explicit interface 
280         implementations. Fixes 1.2 build.
281
282 2003-12-31  Jackson Harper <jackson@ximian.com>
283
284         * TemplateControlParser.cs: When registering tag prefixs make sure
285         the file exists and throw the correct error if it does not.
286         
287 2003-12-25  Jackson Harper <jackson@ximian.com>
288
289         * Page.cs: Throw error if the session is accessed when sessions
290         are disabled.
291         
292 2003-12-18  Jackson Harper <jackson@ximian.com>
293
294         * Page.cs: Write Trace info.
295         
296 2003-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
297
298         * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
299         * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
300         internal.
301         * PageParser.cs: the ctor is public.
302         * PartialCachingAttribute.cs: added new ctor and Shared property.
303
304 2003-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
305
306         * Page.cs: assign the ErrorPage to the context if we get an exception
307         when processing the page which only calls Unload.
308
309         * PageParser.cs: handle ErrorPage.
310
311 2003-12-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
312
313         * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
314         are not [Serializable]. Fixes bug #52244.
315
316 2003-12-16  Jackson Harper <jackson@ximian.com>
317
318         * Page.cs: Render trace data when tracing is enabled.
319         
320 2003-12-15  Jackson Harper <jackson@ximian.com>
321
322         * PageParser.cs: Add Trace and Trace mode attributes.
323         
324 2003-12-15  Jackson Harper <jackson@ximian.com>
325
326         * Page.cs: Use the context trace object.
327         
328 2003-12-14  Alon Gazit <along@mainsoft.com>
329         * AttributeCollection.cs: Changed AttributeCollection.Render().
330         After the change attributes ,that their value is null, aren't 
331         rendered.
332
333 2003-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
334
335         * Control.cs: remove a few dangling ^M, don't set values for fields
336         that has the default value. If Visible is modified and we're tracking
337         viewstate, save and restore it. Fixes bug #48689.
338
339 2003-12-11  Jackson Harper <jackson@ximian.com>
340
341         * Control.cs: Give null for the ID if it hasn't been explicitly
342         set. This fixes bug #51520.
343         
344 2003-12-08  Jackson Harper <jackson@ximian.com>
345
346         * PageParser.cs: Ignore the SmartNavigation attribute for now.
347         
348 2003-12-05  Jackson Harper <jackson@ximian.com>
349
350         * DataBinder.cs (GetIndexedPropertyValue): Check if container is
351         an IList and use a cast instead of reflection to retrieve the item
352         if it is. Fixes bug #51759.
353         
354 2003-12-04  Alon Gazit <along@mainsoft.com>
355         * Page.cs: Changed Page.ID so it will call Control.ID.
356         Fixed Bug 51682.          
357
358 2003-12-02  Jackson Harper <jackson@ximian.com>
359
360         * Page.cs: Implemented registered array declarations. Patch by
361         Benjamin Jemlich <pcgod@gmx.net>
362         
363 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
364
365         * TemplateParser.cs: basic check for 'classname' attribute and added
366         patch by pcgod@gmx.net for bug #51568, which fixes automatic class
367         names for pages starting with a number.
368
369 2003-11-30 Ben Maurer  <bmaurer@users.sourceforge.net>
370
371         * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
372         reduction.
373
374         * ObjectStateFormatter.cs: Comment out tracing.
375
376 2003-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
377
378         * Page.cs: fixed UICulture, LCID and Culture. Set the thread
379         [UI]Culture before processing the request.
380
381         * PageParser.cs: read Culture, UICulture and LCID attributes. Added
382         properties for these. Partially contributed by Mohammad Damt.
383
384         Fixes bug #51511.
385
386 2003-11-27  Jackson Harper <jackson@ximian.com>
387
388         * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
389         51434.
390         
391 2003-11-22 Ben Maurer  <bmaurer@users.sourceforge.net>
392
393         * ObjectStateFormatter.cs: Fix bug when reading small ints.
394         Add some tracing so we can see what is going on.
395
396 2003-11-21  Jackson Harper <jackson@ximian.com>
397
398         * Page.cs: Set vary by params when cache location is Server.
399         
400 2003-11-21 Ben Maurer  <bmaurer@users.sourceforge.net>
401
402         * ObjectStateFormatter.cs: v2 file. In v1.x this will be
403         internal as LosFormatter will eventually use it to save
404         the view state.
405
406 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
407
408         * PersistChildrenAttribute.cs:
409         * PersistenceModeAttribute.cs: implemented.
410
411         * TODO: Removed file.
412         * OutputCacheLocation.cs:
413         * TemplateControlParser.cs:
414         * HtmlInputFile.cs: class status based fixes.
415
416 2003-11-19  Jackson Harper <jackson@ximian.com>
417
418         * Page.cs: Always set the cache expire time. Tell the response to
419         cache itself for server side cached pages.
420         
421 2003-11-19  Jackson Harper <jackson@ximian.com>
422
423         * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
424         thing, some corner cases still need work though. Was this the
425         shortest lived method in the history of mono?
426         
427 2003-11-19  Jackson Harper <jackson@ximian.com>
428
429         * Control.cs: New method for resolving urls that use ~/ to denote
430         the applications base directory.
431         
432 2003-11-19  Jackson Harper <jackson@ximian.com>
433
434         * TemplateParser.cs: Fix typo in error message.
435                 
436 2003-11-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
437
438         * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
439         to Sanjay Gupta.
440
441 2003-11-19  Todd Berman  <tberman@gentoo.org>
442
443         * KeyedList.cs:
444         * KeyedListEnumerator.cs: New v2 implementations.
445
446 2003-11-17 Ben Maurer  <bmaurer@users.sourceforge.net>
447
448         * StateManagedCollection.cs: Implement.
449
450 2003-11-13  Jackson Harper  <jackson@ximian.com>
451
452         * Page.cs: Initial implementation of InitOutputCache.
453         * TemplateParser.cs: Page OutputCache options
454         
455 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
456
457         * HierarchicalDataSourceControl.cs: Implement.
458
459 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
460
461         * XPathBinder.cs: Implemented.
462
463 2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
464
465         * DataSourceView.cs:
466         * IDataSource.cs:
467         * ListSourceHelper.cs:
468         * DataSourceControl.cs:
469         * HierarchicalDataSourceView.cs:
470         * IHierarchicalDataSource.cs: Move v2 stuff.
471
472 2003-11-07 Jackson Harper <jackson@ximian.com>
473
474         * Control.cs (ResolveUrl): Special case for urls that consist of
475         only a page anchor. ie <a href="#top">. This fixes bug #50165.
476         
477 2003-11-07 Ben Maurer  <bmaurer@users.sourceforge.net>
478
479         * IHierarchicalEnumerable.cs:
480         * IHierarchyData.cs:
481         * INavigateUIData.cs: New v2 interfaces.
482         
483 2003-11-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
484
485         * Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
486         space in generated javascript.
487
488 2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
489
490         * LosFormatter.cs: encoding updates. 
491         * Page.cs: implemented CodePage and ContentType.
492         * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
493         attributes.
494
495 2003-11-04 Ben Maurer  <bmaurer@users.sourceforge.net>
496
497         * Control.cs (GetWebResourceUrl): new v2 function
498         * Page.cs (GetWebResourceUrl): ditto.
499         make the JS we generate work with moz if the form is not a child
500         of document.
501         * WebResourceAttribute.cs: Added, new v2 attribute.
502
503 2003-10-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
504
505         * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
506
507         * PageParser.cs: initialize the parser in the constructor, not just
508         before compiling and reference the application assembly.
509
510         * SimpleWebHandlerParser.cs: reference the assembly that contains the
511         application Type.
512
513         * TemplateControl.cs:
514         * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
515         path and physical path when compiling a user control.
516         
517         * TemplateParser.cs: new AddApplicationAssembly ().
518         * UserControlParser.cs: now we get valid values in the ctor.
519
520         Referencing the application assembly fixes bug #49652.
521         
522
523 2003-10-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
524
525         * TemplateControl.cs: moved NoParamsInvoker class to its own file.
526
527 2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
528
529         * BaseParser.cs: added CompilationConfig property.
530
531         * TemplateParser.cs:
532         * SimpleWebHandlerParser.cs: added CompilationConfig property.
533         Don't hardcode assembly names any more, assemblies in bin are added
534         depending on the configuration. The default language is also taken
535         from the configuration.
536
537 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
538
539         * LosFormatter.cs: fixed bug #49604. Patch by yaronsh@mainsoft.com.
540
541 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
542
543         * Control.cs: removed some debug lines.
544         * Page.cs: implemented RegisterOnSubmitStatement
545         * TemplateControl.cs: fixed wire up for methods with no parameters.
546
547 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
548
549         * PageParser.cs: ignore ValidateRequest by now.
550
551 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
552
553         * System.Web.UI/TemplateControl.cs: support for wiring up events without
554         parameters.
555
556 2003-10-08  Pedro MartĂ­nez Juliá  <yoros@wanadoo.es>
557
558         * PageParser.cs: drop some useless code.
559
560 2002-10-29  Gaurav Vaish <gvaish_mono AT lycos.com>
561
562         * Utils.cs   : GetScriptLocation(HttpContext) - Partial Implementation.
563
564 2003-10-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
565
566         * System.Web.UI/PageParser.cs:
567         * System.Web.UI/TemplateControlParser.cs: honour the input file given
568         as argument.
569
570 2003-09-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
571
572         * Control.cs:
573         (ClearChildViewState): doh! Don't clear control viewstate but the
574         viewstate of possible children.
575         (LoadViewStateRecursive): load viewstate even when control is not
576         visible.
577         Fixes bug #49024.
578         The rest are just dangling ^M removed.
579
580         * DataBoundLiteralControl.cs:
581         (LoadViewState): we get an object [], not a string [].
582
583 2003-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
584
585         * Control.cs: implemented ClearChildViewState ().
586
587 2003-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
588
589         * Page.cs: store unique IDs for controls requiring postback. Fixes bug
590         #47985.
591
592 2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
593
594         * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
595         dependencies so that it's recompiled when changed.
596
597 2003-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
598
599         * LosFormatter.cs: fixed Deserialize for empty viewstate.
600
601 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
602
603         * Page.cs: check if controls that require postback have
604         been changed by an event and register them to be notified of data
605         changed event.
606
607 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
608
609         * Control.cs: patch by yaronshkop@hotmail.com (Yaron Shkop) that fixes
610         bug #47866.
611
612 2003-08-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
613
614         * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
615         are not serializable. Fixes bug #47784.
616
617 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
618
619         * Control.cs: index the viewstates saved by the control position, not
620         the control name. Fixes bug #47697.
621
622 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
623
624         * ControlCollection.cs:
625         * EmptyControlCollection.cs: create a minimum ArrayList for this.
626
627         * BaseParser.cs: added setter for BaseVirtualDir.
628
629         * Page.cs: fixed message when restoring view state fails.
630         * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
631         when a relative path to the control is given. Fixes bug #47685.
632
633 2003-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
634
635         * Control.cs: when we load the viewstate for a control that has children
636         viewstates and the child is not found, keep its viewstate around and
637         wait until the child is added to load the viewstate. Fixes bug #47697.
638
639 2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
640
641         * TemplateControl.cs: more Delegate.CreateDelegate fixes.
642
643 2003-08-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
644
645         * PartialCachingControl.cs: is not abstract
646
647 2003-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
648
649         * SimpleHandlerFactory.cs: implemented GetHandler.
650         * WebHandlerParser.cs: new file that parses .ashx files.
651
652 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
653
654         * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
655
656 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
657
658         * UserControl.cs: Added attribute
659         * BasePartialCachingControl.cs: New class and paritally implemented
660         * DesignerDataBoundLiteralControl.cs: New class and implemented
661         * DesignTimeTemplateParser.cs:
662         * PartialCachingControl.cs:
663         * StaticPartialCachingControl.cs: New class and paritally implemented
664
665 2003-07-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
666
667         * ApplicationFileParser.cs: Fixed signature
668         * DesignTimeParseData.cs: Added missing properties, implemented
669         * Page.cs: Added attributes
670         * PageParser.cs:
671         * TemplateControlParser.cs:
672         * TemplateParser.cs:
673         * UserControlParser.cs: Fixed signature
674
675 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
676
677         * HtmlControlPersistableAttribute.cs: Added
678         * IgnoreUnknownContentAttribute.cs: Added
679
680 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
681
682         * IUserControlDesignerAccessor.cs: Added and implemented
683         * Control.cs: Missing member added, added all attributes
684         * Page.cs: Added attributes, fixed signature
685         * TemplateControl.cs: Fixed signature, added all attributes
686         * UserControl.cs: Added all attributes, added and implemented missing interface
687         
688 2003-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
689
690         * ControlCollection.cs: fixed bug #46472.
691
692 2003-07-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
693
694         * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
695
696 2003-07-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
697
698         * SimpleWebHandlerParser.cs: updated to new compilation interface.
699
700         * TemplateParser.cs: use the new parameter when compiling.  
701
702 2003-07-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
703
704         * Page.cs: also keep the value for the second try on handling postback
705         events.
706
707 2003-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
708
709         * BaseParser.cs: fixed MapPath for non-rooted files.
710         * PageParser.cs: don't pass a non-virtual file around.
711         * TemplateControlParser.cs: InputFile uses MapPath now.  Take care of
712         the exception teh may be throw by MapPath on an invalid path.
713
714         * TemplateParser.cs: removed unused method.
715         * UserControlParser.cs: modified inputfile. The result is the same, but 
716         this one is better.
717
718 2003-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
719
720         * RootBuilder.cs: throw exception when the tagprefix is not valid or
721         not found.
722
723 2003-05-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
724
725         * TemplateControlParser.cs: return after processing @Register.
726
727 2003-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
728
729         * TemplateParser.cs: Added support for server side includes.
730
731 2003-05-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
732
733         * TemplateControl.cs: fixed the flags used to find the methods that
734         are automatically hooked up on events.
735
736         * TemplateParser.cs: don't compile a source file directly.  Use the
737         cache instead.
738
739 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
740
741         * BaseParser.cs: Location property is now here. Added a couple of
742         convenience methods to throw a ParseException.
743
744         * TemplateParser.cs:
745         * TemplateControlParser.cs:
746         * PageParser.cs: throw ParseException where appropiate.
747
748 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
749
750         * ApplicationFileParser.cs: use the generator to actually parse the
751         file.
752
753         * ControlBuilder.cs: small fix in NamingContainerType because
754         TemplateBuilders have a null ControlType. When a control is appended
755         to a parent, assign the child's parent.
756
757         * UserControlParser.cs: fixed the value of InputFile.
758
759 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
760
761         * ApplicationFileParser.cs: store the Context and override
762         BaseVirtualDir so that it's the application path.
763
764         * BaseParser.cs: removed CurrentVirtualPath property.
765
766         * TemplateControlParser.cs: use BaseVirtualDir.
767
768         * UserControlParser.cs: removed CurrentVirtualPath.
769
770 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
771
772         * TemplateParser.cs: always reference all the assemblies in bin
773         directory.
774
775 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
776
777         * ApplicationFileParser.cs: it works now. Prior to these changes, we
778         were using the compiler directly.
779
780         * BaseParser.cs: added some useful properties and methods.
781
782         * CodeBuilder.cs: use ILocation.
783         * CodeRenderBuilder.cs: use ILocation.
784         * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
785
786         * ControlBuilder.cs: made it useful.
787
788         * DataBindingBuilder.cs: the control type for data bound text is
789         DataBoundLiteralControl now.
790
791         * ObjectTagBuilder.cs: store some object tag attributes.
792
793         * PageParser.cs: handle page-only directives.
794
795         * RootBuilder.cs: bah.
796         * SimpleWebHandlerParser.cs: made it dummy.
797         * TemplateControl.cs: Modified file.
798
799         * TemplateControlParser.cs: handle directives that are common to pages
800         and user controls.
801
802         * TemplateParser.cs: utility methods and handling of directives that
803         are common to app, page and user controls.
804
805         * UserControl.cs: added ControlBuilderAttribute.
806
807         * UserControlControlBuilder.cs: builder for user controls.
808         * UserControlParser.cs: use the new interfaces.
809
810 2003-04-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
811
812         * ControlBuilder.cs: line and fileName are protected now.
813
814         * CodeBuilder.cs: base class for the next 2 files.
815         * CodeRenderBuilder.cs: builder for code render.
816         * DataBindingBuilder.cs: builder for data binding.
817
818 2003-04-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
819
820         * ITagNameToTypeMapper.cs: made it internal.
821
822         * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
823         * ObjectTag.cs:
824         * RootBuilder.cs: initial builder.
825
826 2003-04-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
827
828         * CollectionBuilder.cs:
829         * TemplateBuilder.cs: new classes derived from ControlBuilder that
830         represent a property or a ITemplate.
831         
832         * ControlBuilder.cs: implemented all the missing bits.
833         * TemplateParser.cs: added mapping from tag name to Type feature.
834
835 2003-02-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
836
837         * Control.cs: have i definitely fixed naming container stuff this time?
838
839         * LosFormatter.cs: activated binary serialization code.
840
841 2003-02-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
842
843         * Control.cs:
844         (AddedControl): fixed default id assignation when the sequence of
845         AddedControl until it's included in the page or one of its controls
846         does not pass through a naming container.
847
848 2003-02-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
849
850         * Control.cs: give different default names depending on the place where
851         it is assigned. Implemented ResolveURl (no more ~ rendered in
852         attributes!).
853
854 2003-02-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
855
856         * Control.cs: when adding a control, assign default names to th
857         children that don't have one.
858
859 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
860
861         * SimpleWebHandlerParser.cs: modified to use the new parser interface.
862
863 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
864
865         * Control.cs: some more tweaks to naming containers stuff.
866         * DataBinder.cs: don't throw exception if the container is null.
867
868         * Page.cs: now we can render client scripts, startup scripts and hidden
869         fields. Only render __VIEWSTATE if there is someone that will take care
870         of it.
871         (RaisePostBackEvents): first try the last one that required raise event,
872         then try __EVENTTARGET.
873
874 2003-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
875
876         * Control.cs: fixes in UniqueID, FindControl, AddedControl,
877         UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
878         FindControl work with NamingContainers.
879         
880         * ControlCollection.cs: notify the parent when clearing the collection.
881
882         * LosFormatter.cs: Added debugging output and generate a valid
883         viewstate even for unknown types.
884
885         * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
886         viewstate.
887
888 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
889
890         * Page.cs: make it fire the LoadData related events also for controls
891         such as ImageButton, whose variable(s) in the query string are of the
892         form ctrl_name.x and only fire them once per control.
893
894 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
895
896         * DataBinder.cs:
897         (GetPropertyValue): don't try to get the property as indexed
898
899 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
900
901         * DataBinder.cs: use TypeDescriptor to get the properties and their
902         values.
903
904 2003-01-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
905
906         * Control.cs:
907         (AddedControl): take the children to the same state of the parent.
908         (InitRecursive): set the page of the children.
909
910         * Page.cs: removed one line (it's done a few lines above).
911
912         * UserControl.cs:
913         (OnInit): always call InitializeAsUserControl
914         (InitializeAsUserControl): sets the page for the control.
915
916 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
917
918         * Control.cs: fixed bug #36037.
919
920 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
921
922         * BaseParser.cs: a couple of path fixes to make it work
923         when the page is not in the root directory.
924
925 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
926
927         * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
928         reporting the bug.
929
930 2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
931
932         * BaseParser.cs: use MapPath and context to locate files.
933         * Control.cs: implemented MapPathSecure.
934         * TemplateControl.cs: use UrlUtils to generate the path.
935         * TemplateControlParser.cs: use the context and MapPath.
936         * UserControl.cs: implemented MapPath.
937         * UserControlParser.cs: added context parameter to constructor.
938
939 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
940
941         * Control.cs: implemented MapPathSecure.
942         * Page.cs: fixed Server property.
943
944 2002-12-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
945
946         * DataBinder.cs: try the indexer if the property is not found in
947         GetPropertyValue ().
948
949 2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
950
951         * Control.cs: added AutoEventWireup internal property.
952
953         * Page.cs: removed page events wire up from here.
954
955         * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
956         and user controls events.
957
958         * TemplateControlParser.cs: process the options that are applicable
959         once we have the instance of the control.
960
961         * TemplateParser.cs: also stores the options.
962
963         * UserControl.cs: hook up events before initializing the control.
964
965
966 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
967
968         * Control.cs: new method to set bindingContainer value.
969         * TemplateControl.cs: added controls are not binding containers.
970
971 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
972
973         * Control.cs: implemented TemplateSourceDirectory.
974         * TemplateControl.cs: implemented LoadControl and LoadTemplate.
975
976 2002-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
977
978         * UserControl.cs: fixed SetAttribute.
979         * UserControlParser.cs: set the correct base type.
980
981 2002-11-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
982
983         * TemplateParser.cs: fixed BaseType.
984         * UserControlParser.cs: helper class to compile user controls.
985
986 2002-11-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
987
988         * LosFormatter.cs: added DateTime to special types.
989
990 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
991
992         * LosFormatter.cs: added array serialization support. Disabled binary
993         serialization and add some debugging code.
994
995         * StateBag.cs: the length of the list of value can be less than the
996         length if the list of keys when remaining values are null.
997
998 2002-11-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
999
1000         * Page.cs: return something useful in GetPostBackClientEvent.
1001
1002 2002-11-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1003
1004         * Page.cs: implemented FileDependecies and made it protected.
1005
1006 2002-10-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1007
1008         * Control.cs: save control names instead of the controls
1009         themselves to the ViewState.
1010
1011         * LosFormatter.cs: added support for serializing unknown
1012         types. BinaryFormatter does not work so you better don't store anything
1013         of unknown Type in ViewState.
1014
1015         * Page.cs: GetViewStateString works now using LosFormatter.
1016         Complete "Control execution lifecycle" by unloading all the child
1017         controls. Check for null in RaisePostBackEvents.
1018         LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
1019
1020 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1021
1022         * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
1023
1024 2002-10-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1025
1026         * LosFormatter.cs: Use WebEncoding.Encoding.
1027
1028         * Control.cs:
1029         * Page.cs: fixed namespace.
1030
1031 2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1032
1033         * Page.cs: set the context in ProcessRequest. Added a few trace calls.
1034         * Control.cs: added some trace information.
1035
1036 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1037
1038         * SimpleHandlerFactory.cs: new handler for .ashx files.
1039
1040 2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1041
1042         * System.Web.UI/PageHandlerFactory.cs: new file.
1043         * System.Web.UI/PageParser.cs:
1044         * System.Web.UI/TemplateControlParser.cs: we are now able to compile
1045         pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
1046
1047 2002-09-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1048
1049         * Control.cs: implemented ObBubbleEvent.
1050         * Page.cs: temporary workaround to make POST work with xsp server.
1051
1052 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1053
1054         * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
1055         return pvt methods.
1056
1057 2002-09-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1058
1059         * SimpleWebHandlerParser.cs: New file.
1060         * WebServiceParser.cs: New file.
1061
1062 2002-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1063
1064         * LosFormatter.cs: almost fully implemented.
1065
1066 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1067
1068         * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
1069         * EmptyControlCollection.cs: throw correct exception.
1070         * LosFormatter.cs: stubbed out.
1071         * OutputCacheLocation.cs: little fix.
1072
1073 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1074
1075         * System.Web.UI/ApplicationFileParser.cs:
1076         * System.Web.UI/BaseParser.cs:
1077         * System.Web.UI/PageParser.cs:
1078         * System.Web.UI/TemplateControl.cs:
1079         * System.Web.UI/TemplateControlParser.cs:
1080         * System.Web.UI/TemplateParser.cs: first steps to move xsp into
1081         System.Web.
1082
1083 2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1084
1085         * Page.cs: request to render postback script can be after form started
1086         rendering.
1087
1088 2002-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1089
1090         * Page.cs: added more page events to invoke automagically if some
1091         methods are defined.
1092
1093 2002-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1094
1095         * Control.cs:
1096         (SaveViewState): save state even when control is not visible.
1097         (SaveViewStateRecursive):
1098         (LoadViewStateRecursive): made internal.
1099
1100 2002-07-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1101
1102         * Page.cs: improved event raising to allow client postback for a wider
1103         variety of actions (clicking an hyperlink, ...).
1104
1105 2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1106
1107         * UserControl.cs: implemented Load/SaveViewState.
1108
1109 2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1110
1111         * AttributeCollection.cs:
1112         (Add): handle 'style' through styleCollection.
1113
1114         * CssStyleCollection.cs:
1115         (fillStyle): renamed to FillStyle and made it internal.
1116
1117         * Page.cs:
1118         (GetViewStateString): fixed, broken after other recent changes.
1119         (ProcessPostData): allow a second try for postback data after OnLoad.
1120         (ProcessRequest): clear controls collection, removed call to 
1121         UnloadRecursive.
1122
1123 2002-07-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1124
1125         * Control.cs: uncommented Dispose.
1126
1127         * Page.cs:
1128         (DeterminePostBackMode): more checkings.
1129         (GetPostBackClientHyperLink): implemented.
1130         (GetPostBackEventReference): added some comments with the HTML that MS
1131         generates for that.
1132         (ProcessRequest): fixed processing order. The page is unloaded after
1133         a request and regenerated from view state on subsequents posts.
1134
1135 2002-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1136
1137         * Control.cs: fixed related to ViewState. Added RemovedControl.
1138
1139         * ControlCollection.cs: notify owner of control removal.
1140         
1141         * CssStyleCollection.cs: almost rewritten to make it render the style
1142         attribute after changes to it.
1143
1144         * Page.cs: follow the guidelines in 'Control execution lifecycle'.
1145         Removed Xml code.
1146
1147         * StateBag.cs: don't use IDictionary.GetEnumerator on the
1148         HybridDictionary: it makes the program give an InvalidCastException at
1149         runtime. Why?
1150
1151 2002-07-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1152
1153         * Page.cs: fire Init and Load events for all children.
1154
1155 2002-07-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1156
1157         * UserControl.cs: New file.
1158
1159 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1160
1161         * ControlBuilderAttribute.cs: finished implementation.
1162
1163 2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1164
1165         * ConstructorNeedsTagAttribute.cs: the default constructor sets the
1166         property to false.
1167
1168 2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1169
1170         * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
1171
1172         * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
1173         Hashtable. Added internal .ctor.
1174
1175         * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
1176         Equals and GetHashCode.
1177
1178         * System.Web.UI/DataBoundLiteralControl.cs:
1179         (LoadViewState):
1180         (SaveViewState): implemented.
1181
1182         * System.Web.UI/Page.cs: FileDependencies is not public.
1183
1184         * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
1185         (GetHashCode):
1186         (Equals):
1187         (IsDefaultAttribute): implemented.
1188
1189 2002-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1190
1191         * Control.cs: fixed Visible property.
1192         * Page.cs: fixed GetViewStateString.
1193
1194 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1195
1196         * System.Web.UI/Page.cs:
1197         (GetViewStateString): new function to give the server access to the
1198         generated view state string.
1199         (Validate): d'oh!
1200
1201 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1202
1203         * Control.cs:
1204         (SaveViewstateRecursive): implemented.
1205         (SaveViewState): fixed.
1206         (IParserAccessor.AddParsedSubObject): don't use 'this'.
1207
1208         * Page.cs: added code to save view state to an xml file.  It's not
1209         being used right now.
1210
1211 2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1212
1213         * System.Web.UI/LiteralControl.cs: 
1214         Fixes based on class status page:
1215         
1216                 - Add attributes (DefaultEvent, ParseChildren).
1217                 - Fix declarations.
1218                 - Explicitly implement some interfaces (IPostBackDataHandler
1219                 and IPostBackEventHandler).
1220                 - Implemented some missing methods.
1221
1222 2002-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1223
1224         * Control.cs: reimplemented FindControls.
1225
1226         * Page.cs:
1227         (.ctor): set the page for this control.
1228         (IsPostBack): return valid value.
1229         (DeterminePostBackMode): finished.
1230         (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
1231         (ProcessPostData): implemented. Raises change and postback events.
1232         (ProcessRequest): changed to support reuse of the instance.
1233         (RegisterRequiresPostBack): implemented.
1234
1235         * ValidatorCollection.cs: implemented all methods.
1236
1237 2002-06-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1238
1239         * Control.cs:
1240         * Page.cs: first attemp to save view state.
1241
1242         * HtmlForm.cs: don't render Action.
1243
1244 2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1245
1246         * Page.cs: implemented more properties using information we already
1247         have in Context.
1248         (OnFormRender):
1249         (OnFormPostRender):
1250         (VerifyRenderingInServerForm): implemented.
1251
1252 2002-06-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1253
1254         * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
1255         out runtime. Renamed Page_Init and Page_Load.
1256
1257         After this, we can load a dll and render HTML in linux.
1258
1259 2002-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1260
1261         * Control.cs:
1262         (AddedControl): new function that is called whenever a control is
1263         added to a collection of controls in a container. It sets the defaults
1264         except for Page.
1265         
1266         * ControlCollection.cs: call AddedControl in Add/AddAt.
1267
1268         * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
1269         SetStaticString and SetDataBoundString.
1270
1271         * Page.cs: removed SetDefaults.
1272
1273 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1274
1275         * CompiledTemplateBuilder.cs: new file. Used in the code generated
1276         by xsp.
1277
1278         * Control.cs:
1279         (BindingContainer): implemented.
1280         (EnsureChildControls): avoid stack overflow.
1281
1282         * DataBinder.cs: implemented Eval and PropertyValue.
1283
1284 2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1285
1286         * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
1287         bug as in regular attributes).
1288
1289 2002-06-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1290
1291         * Control.cs: implemented PreventAutoID.
1292
1293         * Page.cs:
1294         (SetDefaults): don't set ID automatically if Control.PreventAutoID has
1295         been called.
1296
1297 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1298
1299         * Page.cs:
1300         (Validators): if the collection is null, create one.
1301         (GetPostBackEventReference 2): don't throw exception.
1302         (GetPostBackClientEvent): return a string with containing the method
1303         name, the control name and the argument.
1304
1305 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1306
1307         * Page.cs: SetPage is now called SetDefaults and also sets a default 
1308         ID for controls that don't have one yet.
1309
1310 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1311
1312         * Page.cs:
1313         (GetPostBackClient):
1314         (RegisterRequiresPostBack): don't throw NotImplementedException to
1315         keep going.
1316         (ProcessRequest): set the current page as the Page property for *all*
1317         the controls, not just the direct children of the page.
1318
1319 2002-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1320
1321         * Control.cs:
1322         (MapPathSecure): until security is implemented, return the same path
1323         received as argument.
1324         (RenderControl): call OnPreRender before rendering the control. So
1325         AdRotator can read its configuration file.Is there any other place
1326         where this should be done?
1327
1328         * HtmlTextWriter.cs:
1329         (AddAttribute): fixed. Now it really stores attributes.
1330         (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
1331
1332 2002-06-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1333
1334         * ControlCollection.cs:
1335         (AddAt): if index is -1 behave as a plain Add.
1336
1337 2002-06-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1338
1339         * Page.cs: for each child control to render, assign Control.Page.
1340         Probably also needed in HtmlContainerControl derived classes.
1341         
1342 2002-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1343
1344         * AttributeCollection.cs: don't need a Hastable. StateBag now works 
1345         fine and takes care of the details.
1346
1347         * Control.cs: added HasChildren property.
1348
1349         * StateBag.cs: fixed a couple of nasty bugs.
1350
1351 2002-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1352
1353         * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
1354         Invoke Page_Init and/or Page_Load if the user supplied them (though 
1355         this should depend on AutoEventWireUp attribute of Page directive).
1356
1357 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1358
1359         * Control.cs: don't throw exception in ControlID. By now, it returns ID.
1360
1361         * Page.cs: 
1362         (ProcessRequest): implemented.
1363
1364 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1365
1366         * System.Web.UI/Page.cs: finished stubbing out. Implemented some
1367         methods.
1368
1369 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1370
1371         * Page.cs:
1372         (FileDependencies): now is public public.
1373         (EnableViewStateMAC): uncommented and made protected. 
1374         (GetTypeHashCode): added method.
1375         
1376 2002-05-24  Duncan Mak  <duncan@ximian.com>
1377
1378         * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
1379
1380         * StateBag.cs (Item): Changed the visibility level of the this
1381         [object] indexer.
1382
1383         Misc. formatting edits, fixing some bugs introduced by the indentation.
1384
1385         * DataBinder.cs (Eval)
1386         (GetIndexedPropertyValue)
1387         (GetPropertyValue): Fixed return types.
1388
1389 2002-05-21  Miguel de Icaza  <miguel@ximian.com>
1390
1391         * HtmlTextWriter.cs: Use this to change the member instances.
1392
1393 2002-05-17  Duncan Mak  <duncan@ximian.com>
1394
1395         * AttributeCollection.cs: 
1396         * ControlCollection.cs: 
1397         * CssStyleCollection.cs: 
1398         * DataBindingCollection.cs: 
1399         * EmptyControlCollection.cs: Added missing Collection classes.
1400
1401 2002-05-17  Duncan Mak  <duncan@ximian.com>
1402
1403         * BaseParser.cs:
1404         * TemplateParser.cs:  Implemented. BaseParser is weird because
1405         there is no documentation on what it does.
1406
1407         * ControlBuilder.cs:
1408         
1409         * DataBinder.cs: 
1410         * DataBinding.cs: Added. 
1411
1412         * DataBoundLiteralControl.cs: 
1413         * Triplet.cs: Added.
1414
1415         * RenderMethod.cs: Added this delegate for Control.cs
1416
1417 2002-05-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1418
1419         * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
1420
1421 2002-05-14  Duncan Mak  <duncan@ximian.com>
1422
1423         * ValidationPropertyAttribute.cs: Added to CVS.
1424
1425 2002-05-10  Duncan Mak  <duncan@ximian.com>
1426
1427         * ConstructorNeedsTagAttribute.cs: 
1428         * ControlBuilderAttribute.cs: 
1429         * ImageClickEventArgs.cs: 
1430         * ParseChildrenAttribute.cs: 
1431         * PartialCachingAttribute.cs: 
1432         * PersistChildrenAttribute.cs: 
1433         * PersistenceModeAttribute.cs: 
1434         * TemplateContainerAttribute.cs: Added to CVS.
1435
1436         * PersistanceMode.cs: Removed, fixed typo.
1437         * PersistenceMode.cs: Replacing above.
1438
1439         * StateBag.cs (this): Fixed indexer, it takes a string as the
1440         index, not an object.
1441
1442         * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection. 
1443
1444         * Page.cs (Validators): return type should be ValidatorCollection,
1445         not ValidatedCollection.
1446
1447         * TagPrefixAttribute.cs: Added to CVS.
1448
1449 2002-05-07  Duncan Mak  <duncan@ximian.com>
1450
1451         * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
1452
1453 2002-03-26   Gaurav Vaish <gvaish@iitk.ac.in>
1454
1455         * DataBindingHandlerAttribute.cs
1456                                    - Completed
1457         * ToolboxDataAttribute.cs  - Completed
1458
1459 2002-01-03  Nick Drochak  <ndrochak@gol.com>
1460
1461         * DesignTimeParseData.cs: initialze static member to avoid compile
1462         error
1463         * PropertyConverter.cs: remove uneeded exception variables from
1464         catch blocks.
1465
1466 2002-01-02  Nick Drochak  <ndrochak@gol.com>
1467
1468         * DesignTimeParseData.cs: fix header to show correct class name
1469
1470 2001-12-21   Gaurav Vaish <gvaish@iitk.ac.in>
1471
1472         * StateBag.cs             - Completed
1473
1474 2001-12-19   Gaurav Vaish <gvaish@iitk.ac.in>
1475
1476         * Pair.cs                 - Small undocumented class. Completed.
1477
1478 2001-12-18   Gaurav Vaish <gvaish@iitk.ac.in>
1479
1480         * DesignTimeParseData.cs  - Initial implementation
1481         * StateBag.cs             - Initial implementation
1482
1483 2001-12-17   Gaurav Vaish <gvaish@iitk.ac.in>
1484
1485         * PropertyConverter.cs    - Undocumented class. Completed.
1486         * Utils.cs                - Undocumented, private class.
1487                                     Initial implementation
1488
1489 2001-08-28  Bob Smith  <bob@thestuff.net>
1490         * Control.cs: Figured out some undocumented API.
1491         * Added TODO.
1492         * BuildMethod.cs: Initial implementation.
1493         * BuildTemplateMethod.cs: Initial implementation.
1494         * HtmlTextWriterAttribute.cs: Initial implementation.
1495         * HtmlTextWriterStyle.cs: Initial implementation.
1496         * HtmlTextWriterTag.cs: Initial implementation.
1497         * IAttributeAccessor.cs: Initial implementation.
1498         * IDataBindingsAccessor.cs: Initial implementation.
1499         * ImageClickEventHandler.cs: Initial implementation.
1500         * INamingContainer.cs: Initial implementation.
1501         * IParserAccessor.cs: Initial implementation.
1502         * IPostBackDataHandler.cs: Initial implementation.
1503         * IPostBackEventHandler.cs: Initial implementation.
1504         * IStateManager.cs: Initial implementation.
1505         * ITagNameToTypeMapper.cs: Initial implementation.
1506         * ITemplate.cs: Initial implementation.
1507         * IValidator.cs: Initial implementation.
1508         * OutputCacheLocation.cs: Initial implementation.
1509         * PersistanceMode.cs: Initial implementation.
1510         * StateItem.cs: Initial implementation.
1511
1512 2001-08-27  Bob Smith  <bob@thestuff.net>
1513
1514         * Control.cs: Bug fixes and implementations.
1515
1516 2001-08-24  Bob Smith  <bob@thestuff.net>
1517
1518         * Control.cs: Bug fixes.
1519
1520 2001-08-23  Bob Smith  <bob@thestuff.net>
1521
1522         * Control.cs: More implementation. Events reworked for performance.
1523
1524 2001-08-22  Bob Smith  <bob@thestuff.net>
1525
1526         * LiteralControl.cs: Implemented.
1527         * Control.cs: Even more implementation (Events). What a beast.
1528
1529 2001-08-20  Bob Smith  <bob@thestuff.net>
1530
1531         * Control.cs: More implementation. Not done yet. Shutter.
1532
1533 2001-08-17  Bob Smith  <bob@thestuff.net>
1534
1535         * Control.cs: Partial implementation.