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