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