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