2005-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web.UI / ChangeLog
1 2005-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2
3         * TemplateParser.cs: if there are no commas in the assembly name, just
4         LoadWithPartialName, as Load will throw.
5
6 2005-07-24 Eyal Alaluf (eyala@mainsoft.com)
7
8         * TemplateControl.jvm.cs: fixed resource loading
9         * PageHandlerFactory.jvm.cs: Added file
10
11 2005-07-19 Eyal Alaluf (eyala@mainsoft.com)
12         * Added TemplateControl.jvm.cs that implements Grasshopper (TARGET_J2EE)
13           limited model of compiling ASP pages.
14
15 2005-07-19 Eyal Alaluf (eyala@mainsoft.com)
16
17         * Added ControlBuilder.jvm.cs ObjectTagBuilder.jvm.cs as part of the TARGET_J2EE configuration.
18
19 2005-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
20
21         * AttributeCollection.cs: create the style collection if it wasn't
22         created before Add ("style"...).
23
24 2005-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
25
26         * AttributeCollection.cs: when the key added is 'style', use the style
27         collection.
28
29 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
30
31         * Page.cs:
32         * Control.cs: avoid the creation of the EventHandlerList and accessing 
33         to it whenever possible. Fix ENABLE_THEMING constant.
34
35 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
36
37         * TemplateParser.cs:
38         * TemplateControlParser.cs:
39         * UserControlParser.cs: detect circular references when a control tries
40         to register itself as a tag. Fixes bug #75376.
41
42 2005-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
43
44         * PageParser.cs: don't try to compile the master page if it wan't
45         provided. Use MapPath from the base classes instead of the long
46         version. Fixes bug #75269 that prevented xsp2 from working properly.
47
48 2005-06-13  Lluis Sanchez Gual <lluis@novell.com> 
49
50         * MasterPage.cs: Clear the default content of placeholders before
51         adding the page content. Fixes bug #75193.
52
53 2005-06-13  Lluis Sanchez Gual <lluis@novell.com>
54
55         * PageParser.cs: Added MasterType property. Get the type from the
56         MasterType directive.
57         * MasterPageParser.cs: Added GetCompiledMasterType method.
58
59 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
60
61         * UserControl.cs:
62         * Page.cs:
63         * Control.cs: updates for 1.1 SP1
64
65 2005-06-06  Lluis Sanchez Gual <lluis@novell.com>
66
67         * Control.cs: Added new DataBind() overload for 2.0. The old
68         method calls this new overload.
69
70 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
71
72         * TemplateParser.cs: ignore empty assembly.Location for in-memory
73         generated assemblies.
74
75 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
76
77         * Page.cs: added AddContentTemplate method.
78
79 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
80
81         * AttributeCollection.cs: html-encode attribute values. Fixes
82         bug #73771.
83
84 2005-05-26  Lluis Sanchez Gual <lluis@novell.com>
85
86         * DataSourceView.cs: Fix api.
87         * NonVisualControlAttribute.cs: Implemented.
88         * IDataItemContainer.cs: Added missing properties.
89         * Control.cs: Added new EnableTheming and SkinID properties.
90         * HierarchicalDataSourceControl.cs: Implemented missing methods.
91
92 2005-05-13  Lluis Sanchez Gual <lluis@novell.com>
93
94         * ControlCollection.cs: Added internal setter for ReadOnly.
95
96 2005-05-09 Geoff Norotn <gnorton@customerdna.com>
97
98         * TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
99         uses instead of codebehind.
100
101 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
102
103         * Page.cs: as setting CurrentCulture is slow, don't set it if the
104         culture has not changed since before the page started processing.
105
106 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
107
108         * TemplateParser.cs: LoadWithPartialName returns null if the assembly is
109         not found.
110
111 2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
112
113         * TemplateParser.cs:
114         * SimpleWebHandlerParser.cs: removed values assigned and neved used.
115
116 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
117
118         * SimpleWebHandlerParser.cs:
119         * TemplateParser.cs: always get the location (full path) for assemblies,
120         even the ones from the GAC.
121
122         * BaseCompiler.cs: check that DynamicBase directory exists before
123         creating the TempFileCollection.
124
125 2005-04-22  Lluis Sanchez Gual <lluis@novell.com>
126
127         * ClientScriptManager.cs: Use a linked list instead of a Hashtable
128         to store the scripts. In this way, scripts will be rendered in the
129         same order as they have been registered. It shouldn't be slower
130         since pages don't have many scripts.
131
132 2005-04-21  Lluis Sanchez Gual <lluis@novell.com>
133
134         * IEditableTextControl.cs: Implemented.
135         * DataBinder.cs: Marked constructor as obsolete in 2.0.
136         In GetDataItem, check for the IDataItemContainer interface
137         in the container.
138         * TemplateControl.cs: Improved check for data item.
139
140 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
141
142         * TemplateParser.cs: we still need LoadWithPartialName if Load fails.
143         * Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
144         for second postback.
145
146 2005-04-20  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
147         * TemplateParser.cs: Adding support for Strict/Explicit attributes 
148         for @Page/@Control directives as documented at 
149         http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconControlDirective.asp.
150         First step don't choke on them. Fixing #74671
151
152 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
153
154         * TemplateParser.cs: use Load instead of LoadWithPartialName. That was
155         there from the time when Load wasn't working properly. First part of the
156         fix to 74500.
157
158 2005-04-15  Lluis Sanchez Gual <lluis@novell.com>
159
160         * ControlBuilder.cs: The BindingContainerType property happens
161         to exist in 2.0, so I made it public. Added ParentTemplateBuilder,
162         which is used to get the binding container that is managing
163         the current two-way binding context.
164         * TemplateBuilder.cs: Added some methods and an internal class
165         to support two-way bindings.
166         * CompiledBindableTemplateBuilder.cs: Implemented.
167         * IBindableTemplate.cs: This interface inherits from ITemplate.
168
169 2005-04-14  Lluis Sanchez Gual <lluis@novell.com>
170
171         * ControlBuilder.cs: Added BindingContainerType property,
172         which works like NamingContainerType but takes into account
173         template builders with a specific container type (specified
174         using the TemplateContainerAttribute.
175         * StateManagedCollection.cs: Reimplemented Save/Load view
176         state methods. The existing implementation was not correct
177         in all cases.
178
179 2005-04-08  Lluis Sanchez Gual <lluis@novell.com>
180
181         * DataSourceView.cs: Added null check.
182
183 2005-04-07  Lluis Sanchez Gual <lluis@novell.com>
184
185         * TemplateControl.cs:
186         * Page.cs: Moved Eval and XPath from Page
187         to TemplateControl.
188         * StateManagedCollection.cs: Avoid saving null state.
189
190 2005-04-01  Lluis Sanchez Gual <lluis@novell.com>
191
192         * DataSourceView.cs: Rethrow exceptions not handled by operation
193         callbacks.
194         * ITextControl.cs: Removed event.
195         * CollectionBuilder.cs: Don't crash when a collection has more
196         than one indexer.
197
198 2005-03-23  Lluis Sanchez Gual <lluis@novell.com>
199
200         * Control.cs: Added a new internal property: HasRenderMethodDelegate.
201         * HtmlTextWriterAttribute.cs: Replaced wrong enum value.
202         * HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes
203
204 2005-03-16  Lluis Sanchez Gual  <lluis@novell.com>
205
206         * ClientScriptManager.cs: Fix build.
207
208 2005-03-11  Lluis Sanchez Gual <lluis@novell.com>
209
210         * Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
211         since it is deprecated in 2.0.
212         * Page.cs: Deprecated GetPostBackClientEvent and similar methods
213         in 2.0. Moved callback management methods to ClientScriptManager.
214         * ClientScriptManager.cs: Moved here deprecated methods from Page.
215         In GetPostBackEventReference (PostBackOptions), don't use the
216         WebForm_DoPostback script if the post can be done with a simple
217         __doPostBack call.
218         * PostBackOptions.cs: Fixed default values for some properties.
219
220 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
221
222         * Control.cs: in FindControl, throw if there's more than one control
223         with the same ID. Fixes bug #73479.
224
225 2005-03-04  Lluis Sanchez Gual <lluis@novell.com>
226
227         * Page.cs: Load control state before loading view state, and the
228         same for saving.
229         * DataSourceSelectArguments.cs: Fix recursive property call.
230
231 2005-02-25  Lluis Sanchez Gual <lluis@novell.com>
232
233         * DataSourceView.cs: Fixed incorrect implementation of
234         RaiseUnsupportedCapabilityError.
235         * IDataItemContainer.cs: Added new properties.
236         * Page.cs: Implemented Form property.
237         * Control.cs: Fixed formatting.
238         * StateManagedCollection.cs: Track view state of items loaded
239         in LoadViewState.
240
241 2005-02-22  Lluis Sanchez Gual <lluis@novell.com>
242
243         * FilterableAttribute.cs: Fix endless loop.
244
245 2005-02-18  Lluis Sanchez Gual <lluis@novell.com>
246
247         * Page.cs: Implemented missing events.
248
249 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
250
251         * BoundPropertyEntry.cs:
252         * PropertyEntry.cs:
253         * TwoWayBoundPropertyEntry.cs: implemented.
254
255 2005-02-10  Lluis Sanchez Gual <lluis@novell.com>
256
257         * Page.cs: Added support for validation groups. Some fixes in
258         SavePageControlState().
259         * IFilterResolutionService.cs: Removed extra field.
260         * INavigateUIData.cs: Added missing field.
261         * ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
262         Implemented new interfaces.
263
264 2005-02-04  Lluis Sanchez Gual <lluis@novell.com>
265
266         * Page.cs: Implemented support for cross page postback. Implemented
267         support for postback with options. Fixed several method and property
268         signatures for 2.0.
269         * PostBackOptions.cs: Added some TODOs.
270
271 2005-02-02  Lluis Sanchez Gual <lluis@novell.com>
272
273         * ParseChildrenAttribute.cs: Set the correct default value for the
274         childType property.
275
276 2005-01-28  Lluis Sanchez Gual <lluis@novell.com>
277
278         * ParseChildrenAttribute.cs: Added 2.0 property.
279         * Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
280         * Page.cs: Added support for control state.
281         * TemplateBuilder.cs: ContainerType should be internal.
282         * Control.cs: Added some new 2.0 methods.
283
284 2005-01-21  Lluis Sanchez Gual <lluis@novell.com>
285
286         * PageParser.cs: Read the MasterPageFile attribute.
287         * UserControlParser.cs: Not sealed any more since we need to inherit from
288         it. Added new constructor with an additional "type" parameter.
289         * MasterPageParser.cs: Parser for master pages.
290         * Page.cs: Added support for master pages.
291         * MasterPage.cs: Implemented.
292
293 2005-01-10  Lluis Sanchez Gual <lluis@novell.com>
294         
295         * TemplateBuilder.cs: Added a special constructor that takes an
296         attribute provider as parameter. The container type for the template
297         may be defined in a TemplateContainerAttribute.
298         * ControlBuilder.cs: Create the TemplateBuilder using that special
299         constructor.
300         * TemplateContainerAttribute.cs: Added 2.0 property and ctor.
301
302 2004-12-20 Lluis Sanchez Gual  <lluis@novell.com>
303
304         * IStyleSheet.cs: Added missing "using".
305         * Page.cs: Implemented Header property.
306         * CssStyleCollection.cs: Made BagToString method internal.
307         * RootBuilder.cs: Register HtmlHead control.
308         
309 2004-12-17 Lluis Sanchez Gual  <lluis@novell.com>
310
311         * CssStyleCollection.cs: Minor (!) fix.
312         * HtmlTextWriter.cs: Register names for new 2.0 styles.
313
314 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
315
316         * CssStyleCollection.cs: Make it work as a standalone collection.
317         * HtmlTextWriter.cs: Added static method for getting style names.
318
319 2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
320
321         * ControlCollection.cs: fix off-by-one and store a null at the end to
322         remove the reference to the removed control.
323
324 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
325
326         * ClientScriptManager.cs: Added GetScriptLiteral helper method.
327         
328 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
329
330         * Page.cs: Added support for callback events. Moved theform variable
331         outside the __doPostBack function, so it can be used by other
332         scripts.
333         * StateBag.cs: Implemented SetDirty().
334
335 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
336
337         * Control.cs: when saving "Visible" into the ViewState, save the value
338         for this precise control, as using the Visible property might give us
339         Control's parent visibility. Fixes bug #69200.
340
341 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
342
343         * Control.cs: fixed ResolveUrl for relative URLs when using cookie-less
344         sessions.
345
346         * System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
347         the appRoot + SessionID + vpath format.
348
349         Fixes the 3 issues reported in bug #66623.
350
351 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
352
353         * Page.cs: Moved code for managing client scripts to ClientScriptManager,
354         which is public in 2.0 and internal in 1.1.
355         * ClientScriptManager.cs: Implemented.
356
357 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
358
359         * DataSourceView.cs: Removed extra method.
360
361 2004-11-24 Sanjay Gupta <gsanjay@novell.com>
362         
363         * DataSourveViewSelectCallback.cs: Corrected method signature.
364
365 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
366
367         * ControlBuilder.cs: Always check for the ParseChildrenAttribute,
368         even if the class doesn't implement IParserAccessor.
369         * WebResourceAttribute.cs: Allow multiple attributes of this type.
370
371 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
372
373         * DataSourceView.cs: Moved here implementation of DataSourceViewChanged 
374         from SqlDataSourceView.cs.
375
376 2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
377
378         * Control.cs: unified a few bool fields into an int one.
379
380         * ControlCollection.cs: use an array internally instead of always
381         allocating an arraylist. Also added our own enumerator.
382         
383         * EmptyControlCollection.cs: there's no 'special' ctor now in the base
384         class.
385
386 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
387
388         * DataSourceView.cs: Changes in access modifiers of methods.
389
390 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
391
392         * DataSourceCapabilities.cs: Added Flags attribute.
393         * DataSourceSelectArguments.cs: Updated.
394         * DataSourveView.cs: Updated.
395
396 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
397
398         * HierarchicalDataSourceView.cs: Corrected class definition and updated.
399
400 2004-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
401
402         * HierarchicalDataSourceView.cs: fix typo.
403
404 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
405
406         * HierarchicalDataSourceView.cs: Updated.
407
408 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
409
410         * DataSourceSelectArguments.cs: Initial implementation.
411
412 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
413
414         * UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
415
416 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
417
418         * UrlTypes.cs: Updated.
419
420 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
421
422         * UrlPropertyAttribute.cs: Added new file.
423
424 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
425
426         * Control.cs: even if the control has no children the naming container
427         may contain the control we're looking for. Fixes bug #67304.
428
429 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
430
431         * AspGenerator.cs: added OtherTags.
432
433 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
434
435         * ControlValuePropertyAttribute.cs: Initial implementation.
436
437 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
438
439         * IPaginationContainer.cs: Corrected name of class.
440
441 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
442
443         * IDReferencePropertyAttribute.cs: Completed implementation.
444
445 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
446
447         * ThemeableAttribute.cs:
448         * FilterableAttribute.cs: Code scrubbing and optimization.
449
450 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
451
452         * ThemeableAttribute.cs: Completed implementation.
453
454 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
455
456         * FilterableAttribute.cs: Completed implementation.
457
458 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
459
460         * Control.cs: Added new attributes and a method.
461         * FilterableAttribute.cs: New attribute, initial implementation.
462         * ThemeableAttribute.cs: New attribute, initial implemenataion.
463
464 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
465
466         * TemplateParser.cs: ensure bin directory exists before trying to access
467         it. Fixes bug #65446 (not closed yet due to dependencies).
468
469 2004-09-09 Sanjay Gupta <gsanjay@novell.com>
470
471         * Control.cs: Implemented methods of interface IExpressionAccessor.
472
473 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
474
475         * SimpleWebHandlerParser.cs: correctly cache Type instead of the
476         assembly for ashx/asmx. Otherwise we need to open the file and check
477         for the class name in there. Thanks to Ben for pointing this out.
478
479 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
480
481         * TemplateParser.cs: removed creation of StringWriter.  It's not used.
482         * Control.cs: don't create the EventHandlerList until requested.
483
484 2004-09-03 Sanjay Gupta <gsanjay@novell.com>
485         
486         * Control.cs: Added new interfaces implemented in .Net 2.0. 
487         * ExpressionBinding.cs: Added new class.
488         * ExpressionBindingCollection.cs: Added new class.
489         
490 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
491
492         * LiteralControl.cs: stylized. This control has EnableViewState disabled
493         by default and doesn't get an automatic ID. When text is null -> "".
494
495 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
496         
497         * ControlSkinProc.cs:
498         * DataSourceViewOperationCallback.cs:
499         * DataSourceViewSelectCallback.cs:
500         * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not 
501         required in definition as delegates by default are sealed.
502         
503 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
504
505         * IDReferencePropertyAttribute.cs: Corrected and changed from interface
506         to class.
507         * IMobileTextWriter.cs: Corrected method signatures.
508
509 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
510
511         * ControlSkinProc.cs:
512         * DataSourceViewOperationCallback.cs:
513         * DataSourceViewSelectCallback.cs:
514         * ExtractTemplateValuesMethod.cs: Added new delegates.
515
516 2004-08-06 Sanjay Gupta <gsanjay@novell.com>
517
518         * IBindableTemplate.cs:
519         * ICallbackEventHandler.cs:
520         * IControlBuilderAccessor.cs:
521         * IControlDesignerAccessor.cs:
522         * IControlTypeFilter.cs:
523         * IDataItemContainer.cs:
524         * IDataSourceViewSchemaAccessor.cs:
525         * IDReferencePropertyAttribute.cs:
526         * IExpressionsAccessor.cs:
527         * IFilterResolutionService.cs:
528         * IItemPaginationInfo.cs:
529         * IMobileTextWriter.cs:
530         * IPageHeader.cs:
531         * IPaginationContainer.cs:
532         * IPaginationInfo.cs:
533         * IResourceResolutionService.cs:
534         * IResourceUrlGenerator.cs:
535         * IStateFormatter.cs:
536         * IStyleSheet.cs:
537         * IThemeResolutionService.cs:
538         * IUrlResolutionService.cs:
539         * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
540
541 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
542
543         * PostBackOptions.cs: Added new file and implemented the class.
544
545 2004-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
546
547         * HtmlTextWriterTag.cs: readded author name.
548
549 2004-08-04 Sanjay Gupta <gsanjay@novell.com>
550
551         * HtmlTextWriterAttribute.cs:
552         * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
553         * CompilationMode.cs:
554         * ConflictOptions.cs:
555         * DataSourceCacheExpiry.cs:
556         * DataSourceCapabilities.cs:
557         * DataSourceOperation.cs:
558         * TemplateContentType.cs:
559         * TemplateInstance.cs:
560         * UrlTypes.cs:
561         * VerificationConditionalOperator.cs:
562         * VerificationReportLevel.cs:
563         * VerificationRule.cs:
564         * XhtmlMobileDocType.cs: Added enumerations.
565
566 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
567
568         * Control.cs: style. Reverted previous patch modification of
569         TemplateSourceDirectory (failed when the control is reparented). Use
570         HasControls() and Controls all over instead of _controls, as Controls
571         property and HasControls() might be overriden.
572
573 2004-07-27 Alon Gazit <along@mainsoft.com>
574
575         * Control.cs: Changed the implementation of TemplateSourceDirectory
576         and GetDefaultName(). replaced foreach statements with for statements, 
577         in order to improve performence.
578
579 2004-07-27 Alon Gazit <along@mainsoft.com>
580
581         * Page.cs: changed the implementation of GetViewStateString().
582         if the view state object is null there is no need to perform 
583         Serialization.
584         
585 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
586
587         * TemplateControl.cs: don't include private methods of base classes when
588         auto-attaching events. Fixes bug 61569.
589
590 2004-07-14 Alon Gazit <along@mainsoft.com>
591
592         * HtmlTextWriter.cs: changed the Hashtables to case insensitive.         
593 2004-07-08 Pablo Baena <pbaena@gmail.com>
594
595         * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
596         
597 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
598
599         * Page.cs: added additional checks for saving/displaying trace data.
600
601         * PageParser.cs: removed checks for trace enabled in configuration
602         files.
603
604 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
605
606         * ControlCollection.cs: when clearing the control collection, tell the
607         owners about the removal. Fixes bug #60800.
608
609 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
610
611         * Page.cs: don't nullify _context after processing the request as there
612         are events not triggered yet. Fixes bug #60726.
613
614 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
615
616         * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
617         bug #60681.
618
619 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
620
621         * PageParser.cs:
622         * UserControlParser.cs: set the page/user control base type even when no
623         default directive provided. Fixes bug #60572.
624
625 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
626
627         * PageParser.cs: use default trace settings from web.config and check
628         if trace is only requested for local connections. Fixes bug #60180.
629
630 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
631
632         * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When 
633         we read the default directive, check the cache for the Type and if
634         present, don't keep reading and store the type found.
635
636         * WebHandlerParser.cs:
637         * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
638         compiling.
639
640 2004-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
641
642         * Control.cs: properly fixed bug #59794.
643
644 2004-06-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
645
646         * Control.cs:
647         (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
648         #59794.
649
650 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
651
652         * SimpleWebHandlerParser.cs:
653         * TemplateParser.cs: pass the language when compiling from a file.
654
655 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
656
657         * SimpleWebHandlerParser.cs: if we have a global.asax, move its
658         reference to the end to help mcs loading the assemblies. Fixes bug
659         #58768.
660
661         * TemplateParser.cs: same as above. Removed some kludges to workaround
662         loading assemblies from bin path that are now in the runtime. Don't
663         load the assemblies in bin if not needed, but still reference them
664         when compiling.
665
666 2004-06-07  Alon Gazit <along@mainsoft.com>
667         * Page.cs: Changed Page.ProcessPostData().
668         After the change ,the state of controls that aren't visible is saved 
669         during a postback.
670         
671 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
672
673         * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
674
675 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
676
677         * Page.cs: IsPostBack also returns true when method is GET and we have
678         viewstate information in the query string. Fixes bug #58151.
679
680 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
681
682         * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
683         HttpRutime.TraceManager.
684
685         * PageParser.cs: for 'trace' we have 2 variables now.  Added support
686         for 'buffer' attribute.
687
688 2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
689
690         * Page.cs: implemented ClientTarget.
691         * PageParser.cs: support for clientTarget and check for validity.
692
693 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
694
695         * Control.cs:
696         * Html32TextWriter.cs:
697         * HtmlTextWriter.cs:
698         * SimpleWebHandlerParser.cs:
699         * TemplateControl.cs: Added protected missing members and attributes.
700
701 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
702
703         * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
704         calling a protected method of another object.
705
706 2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
707
708         * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
709           (of other objects) are called in TypeConverterFormatter.
710
711 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
712
713         * ObjectStateFormatter.cs: before choosing the binary formatter, check
714         if the object type has a TypeConverter that can convert to/from string.
715         Fixes bug #59495.
716
717         * Page.cs: call GetViewStateString from outside the WriteLine. This
718         allows writing to the Response when getting the string without breaking
719         the HTML generated.
720
721 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
722
723         * HtmlTextWriter.cs: render end tag for unknown tags.
724         Patch frmo Markus Krutner. Fixes bug #59466.
725
726 2004-05-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
727
728         * Page.cs: call DeterminePostBackMode only once per request. Patch by
729         Evain Jb.
730
731 2004-05-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
732
733         * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
734         [meddochat].
735
736         * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
737         that.
738
739 2004-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
740
741         * SimpleWebHandlerParser.cs:
742         * TemplateParser.cs: for the assembly names given in the 'assembly'
743         attribute, use LoadWithPartialName instead of Load.
744 2004-03-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
745
746         * Page.cs: return HttpContext.Current if _context has not yet been
747         assigned to. Fixes bug #55245.
748
749 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
750
751         * TemplateParser.cs: don't add import statement or assemblies from
752         global.asax to every file. Fixes bug #55496.
753
754 2004-03-09  Juraj Skripsky <juraj@hotfeet.ch>
755
756         * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
757         handle single quotes and a few corner cases correctly (see test cases).
758
759 2004-03-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
760
761         * TemplateControl.cs: fixed typos and added new method names to the set
762         of page events.
763
764 2004-02-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
765
766         * ControlBuilder.cs: added SetTagName().
767
768         * ObjectTagBuilder.cs: use SetTagName so that we can properly close
769         <object> builders if the closing tag is provided.
770
771 2004-02-16  Jackson Harper <jackson@ximian.com>
772
773         * Page.cs: Set cacheability for Location.DownStream.
774         
775 2004-02-10  Jackson Harper <jackson@ximian.com>
776
777         * TemplateParser.cs: Use full path if the assembly is in the
778         private bin directory. Patch by Gonzalo Paniagua Javier.
779         
780 2004-02-09  Jackson Harper <jackson@ximian.com>
781
782         * Page.cs: Set cacheability for server side caching.
783         
784 2004-01-30  Jackson Harper <jackson@ximian.com>
785
786         * Control.cs: Ensure that dynamically loaded controls are
787         initialized.
788         
789 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
790
791         * ApplicationFileParser.cs: check for error in directives. Use
792         GlobalAsaxCompiler.CompileApplicationType for compiling.
793         
794         * ObjectTagBuilder.cs: load the Type and check for errors.
795
796         * TemplateParser.cs: add assemblies and imports from global.asax.
797
798         Now we properly create accessors for session and application objects in
799         the application itself, pages and controls. First step for fixing
800         bug #53387.
801
802 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
803
804         * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
805         to Eric Lindvall for pointing this out.
806
807 2004-01-15  Jackson Harper <jackson@ximian.com>
808
809         * TemplateParser.cs: Detect if we are parsing a control or page
810         properly.
811         * Page.cs: vary by params and vary by headers can be null now.
812         
813 2004-01-15  Martin Willemoes Hansen  <mwh@sysrq.dk>
814
815         * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
816         indention.
817
818 2004-01-14  Jackson Harper <jackson@ximian.com>
819
820         * Page.cs: If we have a postback that wasn't sent through a
821         postback script (ie user hit submit on a input type=submit) call
822         Validate so page validation occurs. This fixes bug #52770.
823         
824 2004-01-14  Jackson Harper <jackson@ximian.com>
825
826         * Page.cs: Don't tell the response to cache anymore. This is done
827         when the cacheability is modified by a callback. Set the cache's
828         duration.
829         
830 2004-01-14  Jackson Harper <jackson@ximian.com>
831
832         * TemplateParser.cs: If varybyparam is set to "none" make it null
833         so we dont get a param named null in the outputcache key.
834         
835 2004-01-14  Jackson Harper <jackson@ximian.com>
836
837         * BasePartialCachingControl.cs: Use varyby attributes in key
838         generation.
839         
840 2004-01-14  Jackson Harper <jackson@ximian.com>
841
842         * TemplateParser.cs: Add all the outputcache attribute error
843         messages.
844         
845 2004-01-13  Jackson Harper <jackson@ximian.com>
846
847         * TemplateParser.cs: Add VaryByControls and Shared output cache
848         properties. These are not assigned yet.
849         * TemplateControlParser.cs: Do not ignore the OutputCache
850         attribute.
851         * BasePartialCachingControl.cs: Initial implementation. Keys are
852         still not created properly.
853         * StaticPartialCachingControl.cs: Assign properties in base class,
854         implement CreateControl.
855         
856 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
857
858         * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
859
860         * PageParser.cs: support validateRequest.
861
862         * TemplateControlParser.cs: get default values from system.web/pages
863         section.
864
865         * TemplateParser.cs: added separate method for changing base type
866         (Inherits or system.web/pages).
867         
868         * UserControlParser.cs: support system.web/pages defined base type.
869
870 2004-01-11  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
871
872         * UserControl.cs: Added missing attribute, implemented method
873         * Page.cs: Added missing attribute, implemented method
874
875 2004-01-10  Jackson Harper <jackson@ximian.com>
876
877         * Page.cs: Handle trace being enabled in the config file.
878         
879 2004-01-10  Jackson Harper <jackson@ximian.com>
880
881         * Page.cs: Save trace data before rendering it.
882         * System.Web.dll.sources: Add TraceData.cs
883         
884 2004-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
885
886         * Page.cs: removed a couple of MonoTODO on methods we're not gonna
887         implement. Applied patch from Jan Jaros (mono-bug@jerryweb.info) to
888         ensure that Unload event is raised. Fixes bug #52555.
889
890 2004-01-02  Zoltan Varga  <vargaz@freemail.hu>
891
892         * KeyedList.cs: 'private' is not allowed on explicit interface 
893         implementations. Fixes 1.2 build.
894
895 2003-12-31  Jackson Harper <jackson@ximian.com>
896
897         * TemplateControlParser.cs: When registering tag prefixs make sure
898         the file exists and throw the correct error if it does not.
899         
900 2003-12-25  Jackson Harper <jackson@ximian.com>
901
902         * Page.cs: Throw error if the session is accessed when sessions
903         are disabled.
904         
905 2003-12-18  Jackson Harper <jackson@ximian.com>
906
907         * Page.cs: Write Trace info.
908         
909 2003-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
910
911         * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
912         * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
913         internal.
914         * PageParser.cs: the ctor is public.
915         * PartialCachingAttribute.cs: added new ctor and Shared property.
916
917 2003-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
918
919         * Page.cs: assign the ErrorPage to the context if we get an exception
920         when processing the page which only calls Unload.
921
922         * PageParser.cs: handle ErrorPage.
923
924 2003-12-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
925
926         * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
927         are not [Serializable]. Fixes bug #52244.
928
929 2003-12-16  Jackson Harper <jackson@ximian.com>
930
931         * Page.cs: Render trace data when tracing is enabled.
932         
933 2003-12-15  Jackson Harper <jackson@ximian.com>
934
935         * PageParser.cs: Add Trace and Trace mode attributes.
936         
937 2003-12-15  Jackson Harper <jackson@ximian.com>
938
939         * Page.cs: Use the context trace object.
940         
941 2003-12-14  Alon Gazit <along@mainsoft.com>
942         * AttributeCollection.cs: Changed AttributeCollection.Render().
943         After the change attributes ,that their value is null, aren't 
944         rendered.
945
946 2003-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
947
948         * Control.cs: remove a few dangling ^M, don't set values for fields
949         that has the default value. If Visible is modified and we're tracking
950         viewstate, save and restore it. Fixes bug #48689.
951
952 2003-12-11  Jackson Harper <jackson@ximian.com>
953
954         * Control.cs: Give null for the ID if it hasn't been explicitly
955         set. This fixes bug #51520.
956         
957 2003-12-08  Jackson Harper <jackson@ximian.com>
958
959         * PageParser.cs: Ignore the SmartNavigation attribute for now.
960         
961 2003-12-05  Jackson Harper <jackson@ximian.com>
962
963         * DataBinder.cs (GetIndexedPropertyValue): Check if container is
964         an IList and use a cast instead of reflection to retrieve the item
965         if it is. Fixes bug #51759.
966         
967 2003-12-04  Alon Gazit <along@mainsoft.com>
968         * Page.cs: Changed Page.ID so it will call Control.ID.
969         Fixed Bug 51682.          
970
971 2003-12-02  Jackson Harper <jackson@ximian.com>
972
973         * Page.cs: Implemented registered array declarations. Patch by
974         Benjamin Jemlich <pcgod@gmx.net>
975         
976 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
977
978         * TemplateParser.cs: basic check for 'classname' attribute and added
979         patch by pcgod@gmx.net for bug #51568, which fixes automatic class
980         names for pages starting with a number.
981
982 2003-11-30 Ben Maurer  <bmaurer@users.sourceforge.net>
983
984         * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
985         reduction.
986
987         * ObjectStateFormatter.cs: Comment out tracing.
988
989 2003-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
990
991         * Page.cs: fixed UICulture, LCID and Culture. Set the thread
992         [UI]Culture before processing the request.
993
994         * PageParser.cs: read Culture, UICulture and LCID attributes. Added
995         properties for these. Partially contributed by Mohammad Damt.
996
997         Fixes bug #51511.
998
999 2003-11-27  Jackson Harper <jackson@ximian.com>
1000
1001         * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
1002         51434.
1003         
1004 2003-11-22 Ben Maurer  <bmaurer@users.sourceforge.net>
1005
1006         * ObjectStateFormatter.cs: Fix bug when reading small ints.
1007         Add some tracing so we can see what is going on.
1008
1009 2003-11-21  Jackson Harper <jackson@ximian.com>
1010
1011         * Page.cs: Set vary by params when cache location is Server.
1012         
1013 2003-11-21 Ben Maurer  <bmaurer@users.sourceforge.net>
1014
1015         * ObjectStateFormatter.cs: v2 file. In v1.x this will be
1016         internal as LosFormatter will eventually use it to save
1017         the view state.
1018
1019 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1020
1021         * PersistChildrenAttribute.cs:
1022         * PersistenceModeAttribute.cs: implemented.
1023
1024         * TODO: Removed file.
1025         * OutputCacheLocation.cs:
1026         * TemplateControlParser.cs:
1027         * HtmlInputFile.cs: class status based fixes.
1028
1029 2003-11-19  Jackson Harper <jackson@ximian.com>
1030
1031         * Page.cs: Always set the cache expire time. Tell the response to
1032         cache itself for server side cached pages.
1033         
1034 2003-11-19  Jackson Harper <jackson@ximian.com>
1035
1036         * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
1037         thing, some corner cases still need work though. Was this the
1038         shortest lived method in the history of mono?
1039         
1040 2003-11-19  Jackson Harper <jackson@ximian.com>
1041
1042         * Control.cs: New method for resolving urls that use ~/ to denote
1043         the applications base directory.
1044         
1045 2003-11-19  Jackson Harper <jackson@ximian.com>
1046
1047         * TemplateParser.cs: Fix typo in error message.
1048                 
1049 2003-11-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1050
1051         * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
1052         to Sanjay Gupta.
1053
1054 2003-11-19  Todd Berman  <tberman@gentoo.org>
1055
1056         * KeyedList.cs:
1057         * KeyedListEnumerator.cs: New v2 implementations.
1058
1059 2003-11-17 Ben Maurer  <bmaurer@users.sourceforge.net>
1060
1061         * StateManagedCollection.cs: Implement.
1062
1063 2003-11-13  Jackson Harper  <jackson@ximian.com>
1064
1065         * Page.cs: Initial implementation of InitOutputCache.
1066         * TemplateParser.cs: Page OutputCache options
1067         
1068 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
1069
1070         * HierarchicalDataSourceControl.cs: Implement.
1071
1072 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
1073
1074         * XPathBinder.cs: Implemented.
1075
1076 2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
1077
1078         * DataSourceView.cs:
1079         * IDataSource.cs:
1080         * ListSourceHelper.cs:
1081         * DataSourceControl.cs:
1082         * HierarchicalDataSourceView.cs:
1083         * IHierarchicalDataSource.cs: Move v2 stuff.
1084
1085 2003-11-07 Jackson Harper <jackson@ximian.com>
1086
1087         * Control.cs (ResolveUrl): Special case for urls that consist of
1088         only a page anchor. ie <a href="#top">. This fixes bug #50165.
1089         
1090 2003-11-07 Ben Maurer  <bmaurer@users.sourceforge.net>
1091
1092         * IHierarchicalEnumerable.cs:
1093         * IHierarchyData.cs:
1094         * INavigateUIData.cs: New v2 interfaces.
1095         
1096 2003-11-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1097
1098         * Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
1099         space in generated javascript.
1100
1101 2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1102
1103         * LosFormatter.cs: encoding updates. 
1104         * Page.cs: implemented CodePage and ContentType.
1105         * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
1106         attributes.
1107
1108 2003-11-04 Ben Maurer  <bmaurer@users.sourceforge.net>
1109
1110         * Control.cs (GetWebResourceUrl): new v2 function
1111         * Page.cs (GetWebResourceUrl): ditto.
1112         make the JS we generate work with moz if the form is not a child
1113         of document.
1114         * WebResourceAttribute.cs: Added, new v2 attribute.
1115
1116 2003-10-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1117
1118         * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
1119
1120         * PageParser.cs: initialize the parser in the constructor, not just
1121         before compiling and reference the application assembly.
1122
1123         * SimpleWebHandlerParser.cs: reference the assembly that contains the
1124         application Type.
1125
1126         * TemplateControl.cs:
1127         * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
1128         path and physical path when compiling a user control.
1129         
1130         * TemplateParser.cs: new AddApplicationAssembly ().
1131         * UserControlParser.cs: now we get valid values in the ctor.
1132
1133         Referencing the application assembly fixes bug #49652.
1134         
1135
1136 2003-10-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1137
1138         * TemplateControl.cs: moved NoParamsInvoker class to its own file.
1139
1140 2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1141
1142         * BaseParser.cs: added CompilationConfig property.
1143
1144         * TemplateParser.cs:
1145         * SimpleWebHandlerParser.cs: added CompilationConfig property.
1146         Don't hardcode assembly names any more, assemblies in bin are added
1147         depending on the configuration. The default language is also taken
1148         from the configuration.
1149
1150 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1151
1152         * LosFormatter.cs: fixed bug #49604. Patch by yaronsh@mainsoft.com.
1153
1154 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1155
1156         * Control.cs: removed some debug lines.
1157         * Page.cs: implemented RegisterOnSubmitStatement
1158         * TemplateControl.cs: fixed wire up for methods with no parameters.
1159
1160 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1161
1162         * PageParser.cs: ignore ValidateRequest by now.
1163
1164 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1165
1166         * System.Web.UI/TemplateControl.cs: support for wiring up events without
1167         parameters.
1168
1169 2003-10-08  Pedro Martnez Juli  <yoros@wanadoo.es>
1170
1171         * PageParser.cs: drop some useless code.
1172
1173 2002-10-29  Gaurav Vaish <gvaish_mono AT lycos.com>
1174
1175         * Utils.cs   : GetScriptLocation(HttpContext) - Partial Implementation.
1176
1177 2003-10-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1178
1179         * System.Web.UI/PageParser.cs:
1180         * System.Web.UI/TemplateControlParser.cs: honour the input file given
1181         as argument.
1182
1183 2003-09-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1184
1185         * Control.cs:
1186         (ClearChildViewState): doh! Don't clear control viewstate but the
1187         viewstate of possible children.
1188         (LoadViewStateRecursive): load viewstate even when control is not
1189         visible.
1190         Fixes bug #49024.
1191         The rest are just dangling ^M removed.
1192
1193         * DataBoundLiteralControl.cs:
1194         (LoadViewState): we get an object [], not a string [].
1195
1196 2003-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1197
1198         * Control.cs: implemented ClearChildViewState ().
1199
1200 2003-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1201
1202         * Page.cs: store unique IDs for controls requiring postback. Fixes bug
1203         #47985.
1204
1205 2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1206
1207         * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
1208         dependencies so that it's recompiled when changed.
1209
1210 2003-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1211
1212         * LosFormatter.cs: fixed Deserialize for empty viewstate.
1213
1214 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1215
1216         * Page.cs: check if controls that require postback have
1217         been changed by an event and register them to be notified of data
1218         changed event.
1219
1220 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1221
1222         * Control.cs: patch by yaronshkop@hotmail.com (Yaron Shkop) that fixes
1223         bug #47866.
1224
1225 2003-08-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1226
1227         * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
1228         are not serializable. Fixes bug #47784.
1229
1230 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1231
1232         * Control.cs: index the viewstates saved by the control position, not
1233         the control name. Fixes bug #47697.
1234
1235 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1236
1237         * ControlCollection.cs:
1238         * EmptyControlCollection.cs: create a minimum ArrayList for this.
1239
1240         * BaseParser.cs: added setter for BaseVirtualDir.
1241
1242         * Page.cs: fixed message when restoring view state fails.
1243         * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
1244         when a relative path to the control is given. Fixes bug #47685.
1245
1246 2003-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1247
1248         * Control.cs: when we load the viewstate for a control that has children
1249         viewstates and the child is not found, keep its viewstate around and
1250         wait until the child is added to load the viewstate. Fixes bug #47697.
1251
1252 2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1253
1254         * TemplateControl.cs: more Delegate.CreateDelegate fixes.
1255
1256 2003-08-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1257
1258         * PartialCachingControl.cs: is not abstract
1259
1260 2003-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1261
1262         * SimpleHandlerFactory.cs: implemented GetHandler.
1263         * WebHandlerParser.cs: new file that parses .ashx files.
1264
1265 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1266
1267         * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
1268
1269 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1270
1271         * UserControl.cs: Added attribute
1272         * BasePartialCachingControl.cs: New class and paritally implemented
1273         * DesignerDataBoundLiteralControl.cs: New class and implemented
1274         * DesignTimeTemplateParser.cs:
1275         * PartialCachingControl.cs:
1276         * StaticPartialCachingControl.cs: New class and paritally implemented
1277
1278 2003-07-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1279
1280         * ApplicationFileParser.cs: Fixed signature
1281         * DesignTimeParseData.cs: Added missing properties, implemented
1282         * Page.cs: Added attributes
1283         * PageParser.cs:
1284         * TemplateControlParser.cs:
1285         * TemplateParser.cs:
1286         * UserControlParser.cs: Fixed signature
1287
1288 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1289
1290         * HtmlControlPersistableAttribute.cs: Added
1291         * IgnoreUnknownContentAttribute.cs: Added
1292
1293 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1294
1295         * IUserControlDesignerAccessor.cs: Added and implemented
1296         * Control.cs: Missing member added, added all attributes
1297         * Page.cs: Added attributes, fixed signature
1298         * TemplateControl.cs: Fixed signature, added all attributes
1299         * UserControl.cs: Added all attributes, added and implemented missing interface
1300         
1301 2003-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1302
1303         * ControlCollection.cs: fixed bug #46472.
1304
1305 2003-07-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1306
1307         * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
1308
1309 2003-07-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1310
1311         * SimpleWebHandlerParser.cs: updated to new compilation interface.
1312
1313         * TemplateParser.cs: use the new parameter when compiling.  
1314
1315 2003-07-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1316
1317         * Page.cs: also keep the value for the second try on handling postback
1318         events.
1319
1320 2003-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1321
1322         * BaseParser.cs: fixed MapPath for non-rooted files.
1323         * PageParser.cs: don't pass a non-virtual file around.
1324         * TemplateControlParser.cs: InputFile uses MapPath now.  Take care of
1325         the exception teh may be throw by MapPath on an invalid path.
1326
1327         * TemplateParser.cs: removed unused method.
1328         * UserControlParser.cs: modified inputfile. The result is the same, but 
1329         this one is better.
1330
1331 2003-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1332
1333         * RootBuilder.cs: throw exception when the tagprefix is not valid or
1334         not found.
1335
1336 2003-05-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1337
1338         * TemplateControlParser.cs: return after processing @Register.
1339
1340 2003-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1341
1342         * TemplateParser.cs: Added support for server side includes.
1343
1344 2003-05-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1345
1346         * TemplateControl.cs: fixed the flags used to find the methods that
1347         are automatically hooked up on events.
1348
1349         * TemplateParser.cs: don't compile a source file directly.  Use the
1350         cache instead.
1351
1352 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1353
1354         * BaseParser.cs: Location property is now here. Added a couple of
1355         convenience methods to throw a ParseException.
1356
1357         * TemplateParser.cs:
1358         * TemplateControlParser.cs:
1359         * PageParser.cs: throw ParseException where appropiate.
1360
1361 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1362
1363         * ApplicationFileParser.cs: use the generator to actually parse the
1364         file.
1365
1366         * ControlBuilder.cs: small fix in NamingContainerType because
1367         TemplateBuilders have a null ControlType. When a control is appended
1368         to a parent, assign the child's parent.
1369
1370         * UserControlParser.cs: fixed the value of InputFile.
1371
1372 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1373
1374         * ApplicationFileParser.cs: store the Context and override
1375         BaseVirtualDir so that it's the application path.
1376
1377         * BaseParser.cs: removed CurrentVirtualPath property.
1378
1379         * TemplateControlParser.cs: use BaseVirtualDir.
1380
1381         * UserControlParser.cs: removed CurrentVirtualPath.
1382
1383 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1384
1385         * TemplateParser.cs: always reference all the assemblies in bin
1386         directory.
1387
1388 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1389
1390         * ApplicationFileParser.cs: it works now. Prior to these changes, we
1391         were using the compiler directly.
1392
1393         * BaseParser.cs: added some useful properties and methods.
1394
1395         * CodeBuilder.cs: use ILocation.
1396         * CodeRenderBuilder.cs: use ILocation.
1397         * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
1398
1399         * ControlBuilder.cs: made it useful.
1400
1401         * DataBindingBuilder.cs: the control type for data bound text is
1402         DataBoundLiteralControl now.
1403
1404         * ObjectTagBuilder.cs: store some object tag attributes.
1405
1406         * PageParser.cs: handle page-only directives.
1407
1408         * RootBuilder.cs: bah.
1409         * SimpleWebHandlerParser.cs: made it dummy.
1410         * TemplateControl.cs: Modified file.
1411
1412         * TemplateControlParser.cs: handle directives that are common to pages
1413         and user controls.
1414
1415         * TemplateParser.cs: utility methods and handling of directives that
1416         are common to app, page and user controls.
1417
1418         * UserControl.cs: added ControlBuilderAttribute.
1419
1420         * UserControlControlBuilder.cs: builder for user controls.
1421         * UserControlParser.cs: use the new interfaces.
1422
1423 2003-04-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1424
1425         * ControlBuilder.cs: line and fileName are protected now.
1426
1427         * CodeBuilder.cs: base class for the next 2 files.
1428         * CodeRenderBuilder.cs: builder for code render.
1429         * DataBindingBuilder.cs: builder for data binding.
1430
1431 2003-04-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1432
1433         * ITagNameToTypeMapper.cs: made it internal.
1434
1435         * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
1436         * ObjectTag.cs:
1437         * RootBuilder.cs: initial builder.
1438
1439 2003-04-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1440
1441         * CollectionBuilder.cs:
1442         * TemplateBuilder.cs: new classes derived from ControlBuilder that
1443         represent a property or a ITemplate.
1444         
1445         * ControlBuilder.cs: implemented all the missing bits.
1446         * TemplateParser.cs: added mapping from tag name to Type feature.
1447
1448 2003-02-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1449
1450         * Control.cs: have i definitely fixed naming container stuff this time?
1451
1452         * LosFormatter.cs: activated binary serialization code.
1453
1454 2003-02-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1455
1456         * Control.cs:
1457         (AddedControl): fixed default id assignation when the sequence of
1458         AddedControl until it's included in the page or one of its controls
1459         does not pass through a naming container.
1460
1461 2003-02-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1462
1463         * Control.cs: give different default names depending on the place where
1464         it is assigned. Implemented ResolveURl (no more ~ rendered in
1465         attributes!).
1466
1467 2003-02-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1468
1469         * Control.cs: when adding a control, assign default names to th
1470         children that don't have one.
1471
1472 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1473
1474         * SimpleWebHandlerParser.cs: modified to use the new parser interface.
1475
1476 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1477
1478         * Control.cs: some more tweaks to naming containers stuff.
1479         * DataBinder.cs: don't throw exception if the container is null.
1480
1481         * Page.cs: now we can render client scripts, startup scripts and hidden
1482         fields. Only render __VIEWSTATE if there is someone that will take care
1483         of it.
1484         (RaisePostBackEvents): first try the last one that required raise event,
1485         then try __EVENTTARGET.
1486
1487 2003-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1488
1489         * Control.cs: fixes in UniqueID, FindControl, AddedControl,
1490         UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
1491         FindControl work with NamingContainers.
1492         
1493         * ControlCollection.cs: notify the parent when clearing the collection.
1494
1495         * LosFormatter.cs: Added debugging output and generate a valid
1496         viewstate even for unknown types.
1497
1498         * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
1499         viewstate.
1500
1501 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1502
1503         * Page.cs: make it fire the LoadData related events also for controls
1504         such as ImageButton, whose variable(s) in the query string are of the
1505         form ctrl_name.x and only fire them once per control.
1506
1507 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1508
1509         * DataBinder.cs:
1510         (GetPropertyValue): don't try to get the property as indexed
1511
1512 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1513
1514         * DataBinder.cs: use TypeDescriptor to get the properties and their
1515         values.
1516
1517 2003-01-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1518
1519         * Control.cs:
1520         (AddedControl): take the children to the same state of the parent.
1521         (InitRecursive): set the page of the children.
1522
1523         * Page.cs: removed one line (it's done a few lines above).
1524
1525         * UserControl.cs:
1526         (OnInit): always call InitializeAsUserControl
1527         (InitializeAsUserControl): sets the page for the control.
1528
1529 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1530
1531         * Control.cs: fixed bug #36037.
1532
1533 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1534
1535         * BaseParser.cs: a couple of path fixes to make it work
1536         when the page is not in the root directory.
1537
1538 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1539
1540         * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
1541         reporting the bug.
1542
1543 2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1544
1545         * BaseParser.cs: use MapPath and context to locate files.
1546         * Control.cs: implemented MapPathSecure.
1547         * TemplateControl.cs: use UrlUtils to generate the path.
1548         * TemplateControlParser.cs: use the context and MapPath.
1549         * UserControl.cs: implemented MapPath.
1550         * UserControlParser.cs: added context parameter to constructor.
1551
1552 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1553
1554         * Control.cs: implemented MapPathSecure.
1555         * Page.cs: fixed Server property.
1556
1557 2002-12-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1558
1559         * DataBinder.cs: try the indexer if the property is not found in
1560         GetPropertyValue ().
1561
1562 2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1563
1564         * Control.cs: added AutoEventWireup internal property.
1565
1566         * Page.cs: removed page events wire up from here.
1567
1568         * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
1569         and user controls events.
1570
1571         * TemplateControlParser.cs: process the options that are applicable
1572         once we have the instance of the control.
1573
1574         * TemplateParser.cs: also stores the options.
1575
1576         * UserControl.cs: hook up events before initializing the control.
1577
1578
1579 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1580
1581         * Control.cs: new method to set bindingContainer value.
1582         * TemplateControl.cs: added controls are not binding containers.
1583
1584 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1585
1586         * Control.cs: implemented TemplateSourceDirectory.
1587         * TemplateControl.cs: implemented LoadControl and LoadTemplate.
1588
1589 2002-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1590
1591         * UserControl.cs: fixed SetAttribute.
1592         * UserControlParser.cs: set the correct base type.
1593
1594 2002-11-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1595
1596         * TemplateParser.cs: fixed BaseType.
1597         * UserControlParser.cs: helper class to compile user controls.
1598
1599 2002-11-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1600
1601         * LosFormatter.cs: added DateTime to special types.
1602
1603 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1604
1605         * LosFormatter.cs: added array serialization support. Disabled binary
1606         serialization and add some debugging code.
1607
1608         * StateBag.cs: the length of the list of value can be less than the
1609         length if the list of keys when remaining values are null.
1610
1611 2002-11-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1612
1613         * Page.cs: return something useful in GetPostBackClientEvent.
1614
1615 2002-11-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1616
1617         * Page.cs: implemented FileDependecies and made it protected.
1618
1619 2002-10-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1620
1621         * Control.cs: save control names instead of the controls
1622         themselves to the ViewState.
1623
1624         * LosFormatter.cs: added support for serializing unknown
1625         types. BinaryFormatter does not work so you better don't store anything
1626         of unknown Type in ViewState.
1627
1628         * Page.cs: GetViewStateString works now using LosFormatter.
1629         Complete "Control execution lifecycle" by unloading all the child
1630         controls. Check for null in RaisePostBackEvents.
1631         LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
1632
1633 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1634
1635         * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
1636
1637 2002-10-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1638
1639         * LosFormatter.cs: Use WebEncoding.Encoding.
1640
1641         * Control.cs:
1642         * Page.cs: fixed namespace.
1643
1644 2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1645
1646         * Page.cs: set the context in ProcessRequest. Added a few trace calls.
1647         * Control.cs: added some trace information.
1648
1649 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1650
1651         * SimpleHandlerFactory.cs: new handler for .ashx files.
1652
1653 2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1654
1655         * System.Web.UI/PageHandlerFactory.cs: new file.
1656         * System.Web.UI/PageParser.cs:
1657         * System.Web.UI/TemplateControlParser.cs: we are now able to compile
1658         pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
1659
1660 2002-09-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1661
1662         * Control.cs: implemented ObBubbleEvent.
1663         * Page.cs: temporary workaround to make POST work with xsp server.
1664
1665 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1666
1667         * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
1668         return pvt methods.
1669
1670 2002-09-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1671
1672         * SimpleWebHandlerParser.cs: New file.
1673         * WebServiceParser.cs: New file.
1674
1675 2002-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1676
1677         * LosFormatter.cs: almost fully implemented.
1678
1679 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1680
1681         * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
1682         * EmptyControlCollection.cs: throw correct exception.
1683         * LosFormatter.cs: stubbed out.
1684         * OutputCacheLocation.cs: little fix.
1685
1686 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1687
1688         * System.Web.UI/ApplicationFileParser.cs:
1689         * System.Web.UI/BaseParser.cs:
1690         * System.Web.UI/PageParser.cs:
1691         * System.Web.UI/TemplateControl.cs:
1692         * System.Web.UI/TemplateControlParser.cs:
1693         * System.Web.UI/TemplateParser.cs: first steps to move xsp into
1694         System.Web.
1695
1696 2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1697
1698         * Page.cs: request to render postback script can be after form started
1699         rendering.
1700
1701 2002-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1702
1703         * Page.cs: added more page events to invoke automagically if some
1704         methods are defined.
1705
1706 2002-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1707
1708         * Control.cs:
1709         (SaveViewState): save state even when control is not visible.
1710         (SaveViewStateRecursive):
1711         (LoadViewStateRecursive): made internal.
1712
1713 2002-07-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1714
1715         * Page.cs: improved event raising to allow client postback for a wider
1716         variety of actions (clicking an hyperlink, ...).
1717
1718 2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1719
1720         * UserControl.cs: implemented Load/SaveViewState.
1721
1722 2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1723
1724         * AttributeCollection.cs:
1725         (Add): handle 'style' through styleCollection.
1726
1727         * CssStyleCollection.cs:
1728         (fillStyle): renamed to FillStyle and made it internal.
1729
1730         * Page.cs:
1731         (GetViewStateString): fixed, broken after other recent changes.
1732         (ProcessPostData): allow a second try for postback data after OnLoad.
1733         (ProcessRequest): clear controls collection, removed call to 
1734         UnloadRecursive.
1735
1736 2002-07-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1737
1738         * Control.cs: uncommented Dispose.
1739
1740         * Page.cs:
1741         (DeterminePostBackMode): more checkings.
1742         (GetPostBackClientHyperLink): implemented.
1743         (GetPostBackEventReference): added some comments with the HTML that MS
1744         generates for that.
1745         (ProcessRequest): fixed processing order. The page is unloaded after
1746         a request and regenerated from view state on subsequents posts.
1747
1748 2002-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1749
1750         * Control.cs: fixed related to ViewState. Added RemovedControl.
1751
1752         * ControlCollection.cs: notify owner of control removal.
1753         
1754         * CssStyleCollection.cs: almost rewritten to make it render the style
1755         attribute after changes to it.
1756
1757         * Page.cs: follow the guidelines in 'Control execution lifecycle'.
1758         Removed Xml code.
1759
1760         * StateBag.cs: don't use IDictionary.GetEnumerator on the
1761         HybridDictionary: it makes the program give an InvalidCastException at
1762         runtime. Why?
1763
1764 2002-07-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1765
1766         * Page.cs: fire Init and Load events for all children.
1767
1768 2002-07-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1769
1770         * UserControl.cs: New file.
1771
1772 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1773
1774         * ControlBuilderAttribute.cs: finished implementation.
1775
1776 2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1777
1778         * ConstructorNeedsTagAttribute.cs: the default constructor sets the
1779         property to false.
1780
1781 2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1782
1783         * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
1784
1785         * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
1786         Hashtable. Added internal .ctor.
1787
1788         * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
1789         Equals and GetHashCode.
1790
1791         * System.Web.UI/DataBoundLiteralControl.cs:
1792         (LoadViewState):
1793         (SaveViewState): implemented.
1794
1795         * System.Web.UI/Page.cs: FileDependencies is not public.
1796
1797         * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
1798         (GetHashCode):
1799         (Equals):
1800         (IsDefaultAttribute): implemented.
1801
1802 2002-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1803
1804         * Control.cs: fixed Visible property.
1805         * Page.cs: fixed GetViewStateString.
1806
1807 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1808
1809         * System.Web.UI/Page.cs:
1810         (GetViewStateString): new function to give the server access to the
1811         generated view state string.
1812         (Validate): d'oh!
1813
1814 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1815
1816         * Control.cs:
1817         (SaveViewstateRecursive): implemented.
1818         (SaveViewState): fixed.
1819         (IParserAccessor.AddParsedSubObject): don't use 'this'.
1820
1821         * Page.cs: added code to save view state to an xml file.  It's not
1822         being used right now.
1823
1824 2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1825
1826         * System.Web.UI/LiteralControl.cs: 
1827         Fixes based on class status page:
1828         
1829                 - Add attributes (DefaultEvent, ParseChildren).
1830                 - Fix declarations.
1831                 - Explicitly implement some interfaces (IPostBackDataHandler
1832                 and IPostBackEventHandler).
1833                 - Implemented some missing methods.
1834
1835 2002-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1836
1837         * Control.cs: reimplemented FindControls.
1838
1839         * Page.cs:
1840         (.ctor): set the page for this control.
1841         (IsPostBack): return valid value.
1842         (DeterminePostBackMode): finished.
1843         (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
1844         (ProcessPostData): implemented. Raises change and postback events.
1845         (ProcessRequest): changed to support reuse of the instance.
1846         (RegisterRequiresPostBack): implemented.
1847
1848         * ValidatorCollection.cs: implemented all methods.
1849
1850 2002-06-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1851
1852         * Control.cs:
1853         * Page.cs: first attemp to save view state.
1854
1855         * HtmlForm.cs: don't render Action.
1856
1857 2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1858
1859         * Page.cs: implemented more properties using information we already
1860         have in Context.
1861         (OnFormRender):
1862         (OnFormPostRender):
1863         (VerifyRenderingInServerForm): implemented.
1864
1865 2002-06-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1866
1867         * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
1868         out runtime. Renamed Page_Init and Page_Load.
1869
1870         After this, we can load a dll and render HTML in linux.
1871
1872 2002-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1873
1874         * Control.cs:
1875         (AddedControl): new function that is called whenever a control is
1876         added to a collection of controls in a container. It sets the defaults
1877         except for Page.
1878         
1879         * ControlCollection.cs: call AddedControl in Add/AddAt.
1880
1881         * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
1882         SetStaticString and SetDataBoundString.
1883
1884         * Page.cs: removed SetDefaults.
1885
1886 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1887
1888         * CompiledTemplateBuilder.cs: new file. Used in the code generated
1889         by xsp.
1890
1891         * Control.cs:
1892         (BindingContainer): implemented.
1893         (EnsureChildControls): avoid stack overflow.
1894
1895         * DataBinder.cs: implemented Eval and PropertyValue.
1896
1897 2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1898
1899         * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
1900         bug as in regular attributes).
1901
1902 2002-06-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1903
1904         * Control.cs: implemented PreventAutoID.
1905
1906         * Page.cs:
1907         (SetDefaults): don't set ID automatically if Control.PreventAutoID has
1908         been called.
1909
1910 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1911
1912         * Page.cs:
1913         (Validators): if the collection is null, create one.
1914         (GetPostBackEventReference 2): don't throw exception.
1915         (GetPostBackClientEvent): return a string with containing the method
1916         name, the control name and the argument.
1917
1918 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1919
1920         * Page.cs: SetPage is now called SetDefaults and also sets a default 
1921         ID for controls that don't have one yet.
1922
1923 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1924
1925         * Page.cs:
1926         (GetPostBackClient):
1927         (RegisterRequiresPostBack): don't throw NotImplementedException to
1928         keep going.
1929         (ProcessRequest): set the current page as the Page property for *all*
1930         the controls, not just the direct children of the page.
1931
1932 2002-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1933
1934         * Control.cs:
1935         (MapPathSecure): until security is implemented, return the same path
1936         received as argument.
1937         (RenderControl): call OnPreRender before rendering the control. So
1938         AdRotator can read its configuration file.Is there any other place
1939         where this should be done?
1940
1941         * HtmlTextWriter.cs:
1942         (AddAttribute): fixed. Now it really stores attributes.
1943         (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
1944
1945 2002-06-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1946
1947         * ControlCollection.cs:
1948         (AddAt): if index is -1 behave as a plain Add.
1949
1950 2002-06-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1951
1952         * Page.cs: for each child control to render, assign Control.Page.
1953         Probably also needed in HtmlContainerControl derived classes.
1954         
1955 2002-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1956
1957         * AttributeCollection.cs: don't need a Hastable. StateBag now works 
1958         fine and takes care of the details.
1959
1960         * Control.cs: added HasChildren property.
1961
1962         * StateBag.cs: fixed a couple of nasty bugs.
1963
1964 2002-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1965
1966         * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
1967         Invoke Page_Init and/or Page_Load if the user supplied them (though 
1968         this should depend on AutoEventWireUp attribute of Page directive).
1969
1970 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1971
1972         * Control.cs: don't throw exception in ControlID. By now, it returns ID.
1973
1974         * Page.cs: 
1975         (ProcessRequest): implemented.
1976
1977 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1978
1979         * System.Web.UI/Page.cs: finished stubbing out. Implemented some
1980         methods.
1981
1982 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1983
1984         * Page.cs:
1985         (FileDependencies): now is public public.
1986         (EnableViewStateMAC): uncommented and made protected. 
1987         (GetTypeHashCode): added method.
1988         
1989 2002-05-24  Duncan Mak  <duncan@ximian.com>
1990
1991         * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
1992
1993         * StateBag.cs (Item): Changed the visibility level of the this
1994         [object] indexer.
1995
1996         Misc. formatting edits, fixing some bugs introduced by the indentation.
1997
1998         * DataBinder.cs (Eval)
1999         (GetIndexedPropertyValue)
2000         (GetPropertyValue): Fixed return types.
2001
2002 2002-05-21  Miguel de Icaza  <miguel@ximian.com>
2003
2004         * HtmlTextWriter.cs: Use this to change the member instances.
2005
2006 2002-05-17  Duncan Mak  <duncan@ximian.com>
2007
2008         * AttributeCollection.cs: 
2009         * ControlCollection.cs: 
2010         * CssStyleCollection.cs: 
2011         * DataBindingCollection.cs: 
2012         * EmptyControlCollection.cs: Added missing Collection classes.
2013
2014 2002-05-17  Duncan Mak  <duncan@ximian.com>
2015
2016         * BaseParser.cs:
2017         * TemplateParser.cs:  Implemented. BaseParser is weird because
2018         there is no documentation on what it does.
2019
2020         * ControlBuilder.cs:
2021         
2022         * DataBinder.cs: 
2023         * DataBinding.cs: Added. 
2024
2025         * DataBoundLiteralControl.cs: 
2026         * Triplet.cs: Added.
2027
2028         * RenderMethod.cs: Added this delegate for Control.cs
2029
2030 2002-05-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2031
2032         * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
2033
2034 2002-05-14  Duncan Mak  <duncan@ximian.com>
2035
2036         * ValidationPropertyAttribute.cs: Added to CVS.
2037
2038 2002-05-10  Duncan Mak  <duncan@ximian.com>
2039
2040         * ConstructorNeedsTagAttribute.cs: 
2041         * ControlBuilderAttribute.cs: 
2042         * ImageClickEventArgs.cs: 
2043         * ParseChildrenAttribute.cs: 
2044         * PartialCachingAttribute.cs: 
2045         * PersistChildrenAttribute.cs: 
2046         * PersistenceModeAttribute.cs: 
2047         * TemplateContainerAttribute.cs: Added to CVS.
2048
2049         * PersistanceMode.cs: Removed, fixed typo.
2050         * PersistenceMode.cs: Replacing above.
2051
2052         * StateBag.cs (this): Fixed indexer, it takes a string as the
2053         index, not an object.
2054
2055         * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection. 
2056
2057         * Page.cs (Validators): return type should be ValidatorCollection,
2058         not ValidatedCollection.
2059
2060         * TagPrefixAttribute.cs: Added to CVS.
2061
2062 2002-05-07  Duncan Mak  <duncan@ximian.com>
2063
2064         * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
2065
2066 2002-03-26   Gaurav Vaish <gvaish@iitk.ac.in>
2067
2068         * DataBindingHandlerAttribute.cs
2069                                    - Completed
2070         * ToolboxDataAttribute.cs  - Completed
2071
2072 2002-01-03  Nick Drochak  <ndrochak@gol.com>
2073
2074         * DesignTimeParseData.cs: initialze static member to avoid compile
2075         error
2076         * PropertyConverter.cs: remove uneeded exception variables from
2077         catch blocks.
2078
2079 2002-01-02  Nick Drochak  <ndrochak@gol.com>
2080
2081         * DesignTimeParseData.cs: fix header to show correct class name
2082
2083 2001-12-21   Gaurav Vaish <gvaish@iitk.ac.in>
2084
2085         * StateBag.cs             - Completed
2086
2087 2001-12-19   Gaurav Vaish <gvaish@iitk.ac.in>
2088
2089         * Pair.cs                 - Small undocumented class. Completed.
2090
2091 2001-12-18   Gaurav Vaish <gvaish@iitk.ac.in>
2092
2093         * DesignTimeParseData.cs  - Initial implementation
2094         * StateBag.cs             - Initial implementation
2095
2096 2001-12-17   Gaurav Vaish <gvaish@iitk.ac.in>
2097
2098         * PropertyConverter.cs    - Undocumented class. Completed.
2099         * Utils.cs                - Undocumented, private class.
2100                                     Initial implementation
2101
2102 2001-08-28  Bob Smith  <bob@thestuff.net>
2103         * Control.cs: Figured out some undocumented API.
2104         * Added TODO.
2105         * BuildMethod.cs: Initial implementation.
2106         * BuildTemplateMethod.cs: Initial implementation.
2107         * HtmlTextWriterAttribute.cs: Initial implementation.
2108         * HtmlTextWriterStyle.cs: Initial implementation.
2109         * HtmlTextWriterTag.cs: Initial implementation.
2110         * IAttributeAccessor.cs: Initial implementation.
2111         * IDataBindingsAccessor.cs: Initial implementation.
2112         * ImageClickEventHandler.cs: Initial implementation.
2113         * INamingContainer.cs: Initial implementation.
2114         * IParserAccessor.cs: Initial implementation.
2115         * IPostBackDataHandler.cs: Initial implementation.
2116         * IPostBackEventHandler.cs: Initial implementation.
2117         * IStateManager.cs: Initial implementation.
2118         * ITagNameToTypeMapper.cs: Initial implementation.
2119         * ITemplate.cs: Initial implementation.
2120         * IValidator.cs: Initial implementation.
2121         * OutputCacheLocation.cs: Initial implementation.
2122         * PersistanceMode.cs: Initial implementation.
2123         * StateItem.cs: Initial implementation.
2124
2125 2001-08-27  Bob Smith  <bob@thestuff.net>
2126
2127         * Control.cs: Bug fixes and implementations.
2128
2129 2001-08-24  Bob Smith  <bob@thestuff.net>
2130
2131         * Control.cs: Bug fixes.
2132
2133 2001-08-23  Bob Smith  <bob@thestuff.net>
2134
2135         * Control.cs: More implementation. Events reworked for performance.
2136
2137 2001-08-22  Bob Smith  <bob@thestuff.net>
2138
2139         * LiteralControl.cs: Implemented.
2140         * Control.cs: Even more implementation (Events). What a beast.
2141
2142 2001-08-20  Bob Smith  <bob@thestuff.net>
2143
2144         * Control.cs: More implementation. Not done yet. Shutter.
2145
2146 2001-08-17  Bob Smith  <bob@thestuff.net>
2147
2148         * Control.cs: Partial implementation.