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