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