* MainsoftWebApp20.Tomcat.vmwcsproj: converted to csproj
[mono.git] / mcs / class / System.Web / System.Web.UI / ChangeLog
1 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
2
3         * TemplateControl.cs:
4         * TemplateControl.jvm.cs: fixed: AutoEventWireup feature: 
5         Method 'Page_XXX' is declared in the base class must be 
6         called even is private.
7
8 2007-02-26  Vladimir Krasnov  <vladimirk@mainsoft.com>
9
10         * Control.cs: fixed AppRelativeTemplateSourceDirectory property, should
11         not return AppRelativeTemplateSourceDirectory of master page
12
13 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
14
15         * ClientScriptManager.cs: fixed: GetScriptLiteral escapes back-slash:
16
17 2007-02-22 Igor Zelmanovich <igorz@mainsoft.com>
18
19         * TemplateControl.cs: added missing property AppRelativeVirtualPath
20
21 2007-02-21 Konstantin Triger <kostat@mainsoft.com>
22
23         * TemplateParser.cs: remove CodeGenerator.IsValidLanguageIndependentIdentifier
24                 check from Global.asax inherits attribute to let inherits="A.B" construct.
25
26 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
27
28         * ObjectStateFormatter.cs:
29         optimization for serialization of primitive type arrays 
30
31 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
32
33         * ClientScriptManager.cs:
34         * Control.cs:                    
35         * Page.cs:
36         implemented PostBackOptions.TrackFocus feature. 
37
38 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
39
40         * Page.cs: for 2.0: refactoring:
41         prepare infrastructure for Form.SubmitDisabledControls feature   
42
43 2007-02-18  Eyal Alaluf <eyala@mainsoft.com>
44
45         * Control.jvm.cs, Control.cs: Move TemplateSourceDirectory to .jvm file.
46         * Control.jvm.cs, Page.jvm.cs: Centralize Portlet specific API in Page.jvm
47         * Page.cs, Page.jvm.cs, ClientScriptManager.cs: Support for Http callbacks
48           for J2EE portlets.
49
50 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
51
52         * Page.cs: for 2.0: 
53         '__EVENTTARGET' and '__EVENTARGUMENT' hidden fields are 
54         registered only once.   
55
56 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
57
58         * Page.cs: for 2.0: '__doPostBack' declared as function of form.
59         convention to use 'currForm' instead 'myForm'   
60
61 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
62
63         * Page.cs:
64         * ClientScriptManager.cs:
65         including 'webform.js' requires '__doPostBack' on the form be rendered.  
66
67 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
68
69         * Page.cs:
70         * ClientScriptManager.cs:
71         refactoring: 'theForm' variable is always declared on client. 
72         '__EVENTTARGET' and '__EVENTARGUMENT' hidden fields is rendered using 
73         RegisterHiddenField API. 'WebForm_OnSubmit' declared as function of form.       
74
75 2007-02-14  Vladimir Krasnov  <vladimirk@mainsoft.com>
76
77         * Page.cs: fixed OnInit, adding css should throw exception if no header
78         present on the page
79
80 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
81
82         * Page.cs: __doPostBack considers 2.0 features 
83         such RegisterOnSubmitStatement
84
85 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
86
87         * Page.cs:
88         * ClientScriptManager.cs:
89         implemented RegisterOnSubmitStatement for 2.0   
90
91 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
92
93         * ClientScriptManager.cs: EventValidation feature optimization on Callback.
94
95 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
96
97         * Page.cs: fixed exception handling on Callback at client.
98
99 2007-02-08  Marek Habersack  <grendello@gmail.com>
100
101         * Page.cs: Make sure to create specific cultures.
102
103 2007-02-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
104
105         * ClientScriptManager.cs: added array declaration also as member of
106         form in TARGET_J2EE for j2ee portal support. 
107         Added validators context init for GetClientValidationEvent under
108         TARGET_J2EE for j2ee portal support.
109         * Page.cs: fixed OnFormPostRender, render array declarations after
110         postback script.
111         
112 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
113
114         * Page.cs:
115         * ClientScriptManager.cs:
116         client scripts (webform.js, callback.js and 
117         MaintainScrollPositionOnPostBack.js) were merged into one resource file.
118
119 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
120
121         * Page.cs:
122         http://msdn2.microsoft.com/en-us/library/ms178141.aspx   
123         LAMESPEC: on Callback IsPostBack is set to false, but true.
124
125 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
126
127         * Page.cs: 
128         VerifyRenderingInServerForm does not fire exception when IsCallback
129
130 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
131
132         * Page.cs:
133         * ClientScriptManager.cs:
134         fixed RegisterClientScriptInclude: all includes that was registered before 
135         rendering are rendered at begin form.           
136
137 2007-02-02  Marek Habersack  <grendello@gmail.com>
138
139         * TemplateParser.cs: Do not register controls here.
140
141 2007-02-02  Adar Wesley <adarw@mainsoft.com>
142
143         * Control.cs: Changed UniqueId implementation to have '$' and not ':'
144         to conform to MS.  This led to updating several Tests that referenced
145         the UniqueId as string.
146
147 2007-01-30  Eyal Alaluf <eyala@mainsoft.com>
148
149         * ClientScriptManager.cs: Fix Igor's last changes for TARGET_JVM.
150
151 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
152
153         * Page.cs:
154         * ClientScriptManager.cs:
155         CallBack works with EvantValidation.            
156
157 2007-01-25  Eyal Alaluf <eyala@mainsoft.com>
158
159         * Page.cs: Change code to use the 'theForm' property when generating
160           JavaScript code. Ensure that we pass 'theForm' as param to the JS funcs.
161         * Page.jvm.cs, Control.jvm.cs: Implement the 'theForm' property to include
162           the portlet namespace. Moved 'PortletNamespace' from Control.jvm.cs
163     * Page.jvm.cs, Control.jvm.cs, ClientScriptManager.cs: Added support for
164           saving hidden fields for TARGET_J2EE Portlets re-render.
165         * Control.cs: Under TARGET_J2EE portal support add the PortletNamespace
166           to all the control IDs to ensure they different between portlets.
167
168 2007-01-24  Vladimir Krasnov  <vladimirk@mainsoft.com>
169
170         * Page.cs: fixed CheckForValidationSupport,
171         SupportsEventValidationAttribute should be checked at only one level
172
173 2007-01-23  Vladimir Krasnov  <vladimirk@mainsoft.com>
174
175         * TemplateControl.jvm.cs: ParseControl not supported, added limited
176         implementation if TestDeviceFilter
177
178 2007-01-22  Konstantin Triger <kostat@mainsoft.com>
179
180         * ClientScriptManager.cs: ensure the callback client script is
181                 registered before the client script includes are rendered.
182
183 2007-01-22  Konstantin Triger <kostat@mainsoft.com>
184
185         * Page.cs, ClientScriptManager.cs: ensure the web form client script is
186                 registerd before the client script includes are rendered.
187
188 2007-01-21  Konstantin Triger <kostat@mainsoft.com>
189
190         * Page.cs: move the WriteClientScriptIncludes to the top of the form,
191                 according to the MSDN.
192
193 2007-01-20  Miguel de Icaza  <miguel@novell.com>
194
195         * XhtmlTextWriter.cs: comment out unused code. 
196
197         * ThemeProvider.cs: comment out unused code.
198
199         * DataSourceView.cs: Comment unused variable. 
200
201         * ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
202         code 
203
204         * Control.cs: Put _templateControl inside the NET_2_0 ifdef
205
206 2007-01-20  Marek Habersack  <grendello@gmail.com>
207
208         * TemplateParser.cs: Check whether the base type is in the root
209         namespace.
210
211 2007-01-18  Eyal Alaluf <eyala@mainsoft.com>
212
213         * Control.jvm.cs: Added PortletNamespace property.
214
215 2007-01-16  Vladimir Krasnov  <vladimirk@mainsoft.com>
216
217         * TemplateControl.jvm.cs: remover TemplateSourceDirectory propery
218         * Control.cs: moved TemplateSourceDirectory from TemplateControl for
219         TARGET_JVM, fixed AppRelativeTemplateSourceDirectory
220
221 2007-01-16  Vladimir Krasnov  <vladimirk@mainsoft.com>
222
223         * TemplateControl.jvm.cs: added 2.0 event names for wiring up
224
225 2007-01-15  Ilya Kharmatsky <ilya - at - decode-systems.com>
226         * Control.cs: 
227                 - IsViewStateEnabled - removed check for non-null page, since 
228                                  the control by definition should come with enabled
229                                  view state, even if it not 'attached' to the page
230                 - HasEvents() - implementation (still could produce bug in exotic scenarios
231                                 when all events added to 'this' control has been removed
232                                 through the property 'Events', but currently we can't see
233                                 better implementation)
234
235 2007-01-14  Eyal Alaluf <eyala@mainsoft.com>
236
237         * Control.jvm.cs, Page.jvm.cs: Added TARGET_J2EE specific files.
238         * Page.cs, ClientScriptManager.cs, Control.cs: Added J2EE portal
239           support for TARGET_J2EE.
240
241 2007-01-12  Miguel de Icaza  <miguel@novell.com>
242
243         * Control.cs: Remove comment, it provides no information about
244         what could be wrong.
245
246 2007-01-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
247
248         * PageTheme.cs: implemented
249         * Page.cs: fixed InitializeTheme, added PageTheme page initialization
250         * TemplateControl.cs, 
251         * TemplateControl.jvm.cs: added XPath, XPathSelect overloads with
252         IXmlNamespaceResolver parameter
253         * XPathBinder.cs: added Eval, Select overloads with
254         IXmlNamespaceResolver parameter, refactored
255
256 2007-01-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
257
258         * TemplateControl.jvm.cs: added GetGlobalResourceObject
259
260 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
261
262         * Page.cs: refactoring: used RegisterHiddenField for _VIEWSTATE field.
263
264 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
265
266         * Control.cs: ensure 'id' attribute will be rendered if 
267         ClientID was accessed but ID is generated by the Page, 
268         important for custom controls developing.
269
270 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
271
272         * Page.cs: fixed: InitializeCulture should be called 
273         before creating controls.
274
275 2007-01-03  Marek Habersack  <grendello@gmail.com>
276
277         * Page.cs: Make sure the ValidatorOnSubmit function is defined for the
278         document before attempting to use it.
279
280 2007-01-01  Vladimir Krasnov  <vladimirk@mainsoft.com>
281
282         * Control.cs: fixed ResolveClientUrl, wrong when control that calls
283         this method and the page are in different folders
284
285 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
286
287         * Page.cs: show the validation summary when client validation and
288         linkbuttons are used. Patch by Juraj Skripsky.
289
290 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
291
292         * Page.cs: fixed: EventValidation is not performed for CallBack request.
293
294 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
295
296         * Page.cs: fixed: RegisterRequiresPostBack feature.
297
298 2006-12-21  Marek Habersack  <grendello@gmail.com>
299
300         * ControlBuilder.cs: Add support for tag mapping in 2.0
301
302 2006-12-20  Marek Habersack  <grendello@gmail.com>
303
304         * TemplateParser.cs: make sure Context.ApplicationInstance is not
305         valid before adding application assembly.
306
307 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
308
309         * Page.cs: fixed and optimized ProcessPostData
310         The "second try" used for controls that created at OnLoad.
311         fixed for controls that use RgisterRequeresPostBack to handle post data.
312
313 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
314
315         * Page.cs: The specified theme must exist as either an application theme. 
316         If the theme does not exist, an HttpException exception s thrown.
317
318 2006-12-09  Marek Habersack  <grendello@gmail.com>
319
320         * HiddenFieldPageStatePersister.cs: Implement the 2.0 class (used
321         also in the 1.x profile)
322
323         * ObjectStateFormatter.cs: Implement the IStateFormatter interface
324
325         * ClientScriptManager.cs: Use IStateFormatter instead of
326         LosFormatter.
327         Use the IStateFormatter interface when registering the hidden
328         field with the state.
329
330         * LosFormatter.cs: Use ObjectStateFormatter
331
332         * PageStatePersister.cs: Make the class available as internal for
333         1.x profile.
334         Constructor throws an exception on its page parameter being null.
335         Implemented several properties: ControlState, ViewState, Page,
336         StateFormatter
337
338         * Page.cs: Use new state persister for all the profiles.
339         Use the new HiddenFieldPageStatePersister class.
340
341         * IStateFormatter.cs: Make the class available as internal for 1.x profile.
342
343 2006-12-04  Vladimir Krasnov  <vladimirk@mainsoft.com>
344
345         * TemplateControl.jvm.cs: fixed TemplateSourceDirectory initialization
346
347 2006-11-29  Marek Habersack  <grendello@gmail.com>
348
349         * TemplateParser.cs: if the OutputCache directive is present, make
350         sure the cache does not expire the current output.
351
352 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
353
354         * Page.cs: added missing methods and properties:
355         AsyncMode
356         AsyncTimeout
357         IsAsync
358         UniqueFilePathSuffix
359         MaxPageStateFieldLength
360         ViewStateEncryptionMode
361         AddOnPreRenderCompleteAsync
362         AddOnPreRenderCompleteAsync
363         ExecuteRegisteredAsyncTasks
364         CreateHtmlTextWriterFromType
365         RegisterRequiresViewStateEncryption
366
367 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
368
369         * Page.cs: Master property returns null when no HttpContext.
370
371 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
372
373         * Page.cs: InitializeCulture method is called before OnPreInit.
374
375 2006-11-28  Marek Habersack  <grendello@gmail.com>
376
377         * TemplateControlParser.cs: Use the new TemplateParser methods to
378         register controls/namespaces
379
380         * TemplateParser.cs: Implement support for the
381         system.web/pages/namespaces collection instead of hard-coding the
382         namespaces into the source.
383         Refactoring: added two internal methods to handle both the
384         system.web/pages/controls registration and the Register directive.
385         Added a new internal method to pull the system.web/pages/controls
386         collection before parsing.
387
388 2006-11-27  Marek Habersack  <grendello@gmail.com>
389
390         * SimpleWebHandlerParser.cs: Added support for looking up types in
391         the top-level assemblies (App_Code et al)
392
393 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
394
395         * Control.cs: implemented EnsureID method.
396
397 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
398
399         * Control.cs: implemented Focus methods.
400
401 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
402
403         * Page.cs: implemented SetFocus methods.
404         * PageLifeCycle.cs:     
405
406 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
407
408         * ClientScriptManager.cs: refactoring:
409         extracted method RegisterWebFormClientScript    
410
411 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
412
413         * Control.cs: implemented OpenFile()
414
415 2006-11-26 Igor Zelmanovich <igorz@mainsoft.com>
416
417         * Page.cs:
418         * Control.cs:
419         implemented ClearChildState(), ClearChildControlState() and 
420         IsChildControlStateCleared      
421
422 2006-11-26 Igor Zelmanovich <igorz@mainsoft.com>
423
424         * Page.cs:
425         * ClientScriptManager.cs:
426         implemented RegisterExpandoAttribute feature    
427
428 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
429
430         * ListSourceHelper.cs: optimization of implementation 
431
432 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
433
434         * ListSourceHelper.cs: implemented 
435
436 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
437
438         * DataSourceView.cs: fixed: constructor throws ArgumentNullException 
439
440 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
441
442         * Page.cs: fixed: PreviousPage property
443         when CrossPostBack is processed PreviousPage is initialized 
444         only if PreviousPage property is called.         
445
446 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
447
448         * DataSourceControl.cs: fixed: Focus(), EnableTheming 
449
450 2006-11-21  Marek Habersack  <grendello@gmail.com>
451
452         * Control.cs: Make ClientIDSeparator private for !NET_2_0
453
454 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
455
456         * Page.cs: fixed: LoadControlState is called for controls 
457         that added on Load and latter
458
459 2006-11-20  Marek Habersack  <grendello@gmail.com>
460
461         * Control.cs: Implementations of a few missing properties.
462
463         * Page.cs: Added support for automatic culture detection from the
464         user's browser.
465
466         * PageParser.cs: Added support for "auto" cultures in the Page
467         directive.
468
469 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
470
471         * ClientScriptManager.cs: fixed: ValidateEvent feature:
472         client side return eventArgument as empty string 
473         for controls that set it as null        
474
475 2006-11-18  Marek Habersack  <grendello@gmail.com>
476
477         * ClientScriptManager.cs: Implemented two missing
478         GetPostBackEventReference overloads. Made one of the overloads
479         internal for .NET < 2.0.
480
481 2006-11-17  Marek Habersack  <grendello@gmail.com>
482
483         * PostBackOptions.cs: Renamed the constructors parameters to match
484         those Microsoft .NET uses.
485         targetControl must not be passed null to the constructor.
486
487         * ClientScriptManager.cs: Support for event validation.
488         Implemented a GetPostBackHyperlink overload.
489         Implemented the RegisterForEventValidation methods.
490         Implemented the ValidateEvent method.
491         Added support for saving/restoring event validation state.
492
493         * Page.cs: EnableEventValidation can be set only from the config
494         files (the <pages> element), the Page directive or from
495         Page_Init. After Page_Init returns, an exception is thrown.
496         Made GetFormatter internal, so that ClientScriptManager can use
497         it.
498         Added the internal LifeCycle property which contains the current
499         life cycle stage of the page request processing.
500         Added calls to save/restore event validation state.
501         Added checks for whether child controls of the page support event
502         validation or not.
503         Added calls to ClientScriptManager.ValidateEvent in appropriate
504         places.
505
506         * PageLifeCycle.cs: Added the PageLifeCycle enum, used in event
507         validation.
508
509 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
510
511         * LosFormatter.cs:
512         * ObjectStateFormatter.cs: match MS 1.x and 2.0 behaviour for null and
513         empty strings.
514
515 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
516
517         * SimpleWebHandlerParser.cs: 'using' for file reading.
518
519 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
520
521         * Page.cs: revert r67514 until after tagging for the next release. 
522
523 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
524
525         * LiteralControl.cs: fixed: constructors & Text property
526
527 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
528
529         * Page.cs: fixed: LoadControlState is called for controls 
530         that added on Load and latter, for 1.x refactoring only
531
532 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
533
534         * ClientScriptManager.cs: 
535         fixed: checks arguments for null in public methods,
536         fixed public interface.
537
538 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
539
540         * PostBackOptions.cs: fixed: default values of properties 
541
542 2006-10-22 Igor Zelmanovich <igorz@mainsoft.com>
543
544         * CssStyleCollection.cs:
545         * AttributeCollection.cs:
546         fixed: style collection is synchronized with style attribute 
547
548 2006-10-19 Igor Zelmanovich <igorz@mainsoft.com>
549
550         * ClientScriptManager.cs: fixed: renders id attribute in hidden field
551
552 2006-10-18  Marek Habersack  <grendello@gmail.com>
553
554         * TemplateParser.cs: reference System.Resources when compiling a
555         control.
556
557         * TemplateControl.cs: implement the GetGlobalResourceObject
558         ASP.NET 2.0 APIs.
559
560 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
561
562         * Page.cs: fixed: for 2.0 only
563         When Page processes Callback IsPostBack = false, but it still needs
564         LoadViewState/ControlState and ProcessPostData
565
566 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
567
568         * DataSourceSelectArguments.cs: fixed: 
569         SortExpression not returns null,
570         Empty property returns new instance each time
571
572 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
573
574         * DataSourceSelectArguments.cs: 
575         fixed: RaiseUnsupportedCapabilitiesError method.
576
577 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
578
579         * DataSourceSelectArguments.cs: fixed: Equals method.
580
581 2006-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
582
583         * CssStyleCollection.cs: don't clear the collection of properties, but
584         create a new one.
585
586 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
587
588         * CssStyleCollection.cs: 'style' can be modified on our back, so build
589         the style table every time instead of keeping one that is not in sync.
590         Fixes bug #79587.
591
592 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
593
594         * Page.cs: fixed: Cross-page postback feature in ASP.NET 2.0
595         When page is invoked by cross-page posting, PreviousPage processed all 
596         live-cycle up to OnLoadComplite included.
597         IsPostBack, IsCallBack and IsCrossPagePostBack returns relevant values.
598
599 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
600
601         * TemplateParser.cs: patch by Joel Reed that makes use of the namespace
602         collection from the PagesConfiguration to add new namespaces when
603         generating the page/control code.
604
605 2006-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
606
607         * PageParser.cs: support the EnableEventValidation attribute.
608
609 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
610
611         * Page.cs: fixed: Title property works properly
612
613 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
614
615         * ClientScriptManager.cs: added helper method
616
617 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
618
619         * Page.cs: fixed: GetValidators(string), Validate(string) works properly
620
621 2006-09-08  Robert Jordan  <robertj@gmx.net>
622
623         * Page.cs: assure that RenderTrace is called even if an
624         exception occurred. Fixes bug #78930.
625
626 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
627
628         * TemplateControl.cs: search for the new Page_* event handlers in 2.0.
629         Patch by Marek Habersack that fixes bug #78268.
630
631 2006-09-07 Lluis Sanchez Gual  <lluis@novell.com>
632
633         * Page.cs: Use lowercase getElementById in the javascript that
634         checks the browser.
635
636 2006-08-22  Vladimir Krasnov  <vladimirk@mainsoft.com>
637
638         * KeyedListEnumerator.cs: fixed Current property to return real object
639         instead of DictionaryEntry
640
641 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
642
643         * Page.cs: don't use the Browser object, as it slows down process
644         request time *a lot*. Fixes bug #79206.
645
646 2006-09-05 Konstantin Triger <kostat@mainsoft.com>
647
648         * Page.cs: Imlemented InitOutputCache(OutputCacheParameters cacheSettings).
649         * OutputCacheParameters.cs: added an implementation.
650
651 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
652
653         * CssStyleCollection.cs: fixed: background-image style attribute
654
655 2006-08-31 Konstantin Triger <kostat@mainsoft.com>
656
657         * StaticPartialCachingControl.cs: added forwarding implementation for
658                 2.0 version of BuildCachedControl().
659
660 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
661
662         * Page.cs: added internal method
663         * ClientScriptManager.cs:
664
665 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
666
667         * ClientScriptManager.cs: added helper method
668
669 2006-08-22  Vladimir Krasnov  <vladimirk@mainsoft.com>
670
671         * Page.cs: fixed ApplyMasterPage, masterPageFile can be empty string
672         if compiled with .net aspx parser
673         fixed OnInit, GetStyleSheets may return null if no css files found by
674         .net aspx parser
675
676 2006-08-22  Vladimir Krasnov  <vladimirk@mainsoft.com>
677
678         * TemplateControl.jvm.cs: fixed WireupAutomaticEvents, removed access
679         modifiers check on event handlers
680
681 2006-08-22  Vladimir Krasnov  <vladimirk@mainsoft.com>
682
683         * Control.cs: implemented AppRelativeTemplateSourceDirectory for aspx 
684         parser 2.0
685         * TemplateControl.jvm.cs: fixed AppRelativeVirtualPath
686         fixed TemplateSourceDirectory, should not work on master pages. 
687
688 2006-08-20  Vladimir Krasnov  <vladimirk@mainsoft.com>
689
690         * MasterPageParser.jvm.cs: fixed path resolving
691         GetCompiledMasterInstance
692
693 2006-08-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
694
695         * TemplateControl.jvm.cs: fixed data binding API, implemented
696         AppRelativeVirtualPath, ReadStringResource
697
698 2006-08-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
699
700         * Page.cs: added stubs to run aspx files compiled by .net
701
702 2006-08-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
703
704         * MasterPageParser.jvm.cs: implemented
705
706 2006-08-10  Andrew Skiba <andrews@mainsoft.com>
707
708         * Page.cs: render css path as a virtual path.
709
710 2006-08-09  Robert Jordan  <robertj@gmx.net>
711
712         * Control.cs: add the 2.0 ResolveClientUrl method.
713         Expose ResolveClientUrl as internal for the 1.1 profile.
714         Fixes bug #77539.
715
716 2006-08-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
717
718         * added MasterPageParser.jvm.cs
719
720 2006-08-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
721
722         * ControlBuilder.jvm.cs: added BuildObject method
723
724 2006-08-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
725
726         * ParseChildrenAttribute.cs: fixed ChildControlType property to
727         compliant to .net
728         * UserControl.cs: fixed ParseChildren attribute to be compliant
729         to .net
730
731 2006-08-08 Igor Zelmanovich <igorz@mainsoft.com>
732
733         * Page.cs: implemented MaintainScrollPositionOnPostBack feature
734
735 2006-08-06  Vladimir Krasnov  <vladimirk@mainsoft.com>
736
737         * Control.cs: fixed EnableTheming proprty, fixes bug when child 
738         control has EnableTheming=false and parent has true.
739
740 2006-07-31  Vladimir Krasnov  <vladimirk@mainsoft.com>
741         
742         * MasterPage.cs: fixed default values, fixed AddContentTemplate
743
744 2006-07-31  Vladimir Krasnov  <vladimirk@mainsoft.com>
745
746         * Control.cs: fixed EnableTheming proprty, fixes the bug when skins 
747         are applied even if EnableTheming property was set to false.
748
749 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
750
751         * DataSourceView.cs: refactor to keep the original exception stack.
752
753 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
754
755         * PostBackOptions.cs: default to String.Empty for several field values.
756         Patch by Marek Habersack.
757
758 2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
759
760         * Page.cs: when ProcessRequest is not called, get the session from
761         the current context. Fixes bug #78730.
762
763 2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
764
765         * Page.cs: fix IsPostback for AJAX calls to match MS behavior. Patch
766         by Peijen Lin that closes bug #78646.
767
768 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
769
770         * TemplateControlParser.cs: fix compilation caching when more than one
771         @control is compiled from source. Closes bug #78626.
772
773 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
774
775         * Page.cs: add the 2.0 Items property. Fixes bug #78467.
776
777 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
778
779         * Page.cs: use the new internal LosFormatter.SerializeToBase64.
780         * LosFormatter.cs: always work on base 64 strings even if the
781         input/output is on a Stream. Fixes bug #78640.
782
783 2006-06-08 Konstantin Triger <kostat@mainsoft.com>
784
785         * Page.cs: For loading themes, use '~/App_Themes' instead of
786         './App_Themes' to enable theme support for files in sub folders.
787
788 2006-05-25  Andrew Skiba  <andrews@mainsoft.com>
789
790         * Control.cs: move 2.0 stuff into ifdef NET_2_0
791
792 2006-05-25  Andrew Skiba  <andrews@mainsoft.com>
793
794         * Page.cs, Control.cs: Fix the order of OnInit invocation of controls
795         created via master page content (see 
796         http://lists.ximian.com/pipermail/mono-devel-list/2006-May/018585.html ).
797
798 2006-05-11  Andrew Skiba  <andrews@mainsoft.com>
799
800         * Page.cs, PageTheme.cs: This patch uses LinkedStyleSheets from the
801         PageTheme and from StyleSheetPageTheme to insert links in page header.
802
803 2006-05-10  Andrew Skiba  <andrews@mainsoft.com>
804
805         * TemlpateParser.cs: surround file name with quotes
806
807 2006-05-08  Chris Toshok  <toshok@ximian.com>
808
809         * ControlBuilder.cs (ResetState): set renderIndex to 0 here.  This
810         fixes the last thing keeping the test in #76818 from working.
811
812 2006-05-07 Andrew Skiba <andrews@mainsoft.com>
813
814         * Page.cs: if no theme is defined in aspx, read default from web.config.
815         Same for the style sheet theme.
816
817 2006-04-27 Andrew Skiba <andrews@mainsoft.com>
818
819         * TemplateParser.cs: format according to
820         http://lists.ximian.com/pipermail/mono-devel-list/2006-April/018096.html
821
822 2006-04-25  Chris Toshok  <toshok@ximian.com>
823
824         * PageThemeParser.cs (LinkedStyleSheets): reformat.
825
826 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
827
828         * Control.cs: implementation for IsViewStateEnabled.
829
830 2006-04-25 Andrew Skiba <andrews@mainsoft.com>
831
832         * Control.cs: fix null pointer exception
833
834 2006-04-23 Andrew Skiba <andrews@mainsoft.com>
835
836         * PageThemeParser.cs: add LinkedStyleSheets property
837
838 2006-04-16 Andrew Skiba <andrews@mainsoft.com>
839
840         * TemplateParser.cs: add internal method AddAssemblyByFileName
841
842 2006-04-16 Konstantin Triger <kostat@mainsoft.com>
843
844         * SimpleWebHandlerParser.cs: correctly resolve GACs dependencies.
845
846 2006-04-11 Konstantin Triger <kostat@mainsoft.com>
847
848         * Page.cs, TemplateControl.cs: refactoring implementing Page.GetDataItem().
849
850 2006-04-10  Chris Toshok  <toshok@ximian.com>
851
852         * PageThemeFileParser.cs (AddDirective): allow Register directives
853         in skin files.
854
855 2006-04-02  Chris Toshok  <toshok@ximian.com>
856
857         * Control.cs (DesignMode): always return false for now.  Fixes
858         #77991.
859
860 2006-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
861
862         * ControlBuilder.cs: when creating a default property builder, handle
863         strings specially.
864
865         * StringPropertyBuilder.cs: new builder used in TextBox 2.0.
866
867 2006-03-15  Vladimir Krasnov  <vladimirk@mainsoft.com>
868
869         * ControlCollection.cs: fixed CopyTo method, fixes bug when if target 
870         index is not zero
871
872 2006-03-13  Chris Toshok  <toshok@ximian.com>
873
874         * HtmlTextWriterTag.cs: no [Serializable] in 2.0.
875
876         * HtmlTextWriterAttribute.cs: same.
877
878         * HtmlTextWriterStyle.cs: same.
879
880         * VirtualReferenceType.cs: new enum.
881
882 2006-03-13  Chris Toshok  <toshok@ximian.com>
883
884         * UserControl.cs: rework InitializeAsUserControl and
885         InitializeAsUserControlInternal - the Internal variety doesn't set
886         this.page to null now.
887
888         * MasterPage.cs (CreateMasterPage): map the masterPageFile path,
889         and also remove a line of spew.
890
891 2006-03-09  Vladimir Krasnov  <vladimirk@mainsoft.com>
892
893         * Added PageParser.jvm.cs, WebServiceParser.jvm.cs
894
895 2006-03-07  Chris Toshok  <toshok@ximian.com>
896
897         * Page.cs (InitializeStyleSheet): load the style sheet theme using
898         ThemeDirectoryCompiler.
899         (InitializeTheme): load the page's theme using
900         ThemeDirectoryCompiler.
901         (InternalProcessRequest): call InitializeTheme after OnPreInit.
902         (FrameworkInitialize): call InitializeStyleSheet.
903         (PageTheme,StyleSheetPageTheme): new properties to get the
904         respective themes.
905
906         * Control.cs (ApplyStyleSheetSkin): new method.  Calls ApplySkin
907         on the ControlSkin (if there is one) for this control in the
908         page's StyleSheetSkin.
909         (ApplyThemeRecursively): applies the page's theme recursively to
910         the control hierarchy.  Must be done this way because the control
911         tree is already present when we apply the theme (it has to be,
912         since theme's override settings).
913
914         * PageTheme.cs (GetControlSkin): add internal call to do the
915         lookup for us.
916
917         * PageThemeFileParser.cs: the parser object that represents each
918         individual skin file.
919
920         * PageThemeParser.cs: the parser object that represents the entire
921         theme directory.
922
923         * PageThemeBuilder.cs: this class generates the right exception on
924         the right event, but it's not hooked up yet.
925
926 2006-03-02  Chris Toshok  <toshok@ximian.com>
927
928         * Control.cs (ApplyStyleSheetTheme): remove the exception, and add
929         a MonoTODO.
930
931         * Page.cs (Theme): implement setter/getter.
932         (StyleSheetTheme): same.
933         
934         * PageParser.cs (ProcessMainAttributes): parse the Theme and
935         StyleSheetTheme attributes.
936
937 2006-02-27  Chris Toshok  <toshok@ximian.com>
938
939         * TemplateControl.cs: corcompare work.
940
941         * ExpressionBindingCollection.cs: same.
942
943         * HierarchicalDataSourceControl.cs: same.
944
945         * PostBackOptions.cs: same.
946
947         * ClientScriptManager.cs: same.
948
949         * FilterableAttribute.cs: same.
950
951         * ControlCollection.cs: same.
952
953         * DataBindingCollection.cs: same.
954         
955         * PropertyEntry.cs: mark ctor internal.
956
957         * SimpleWebHandlerParser.cs: mark the 2.0 ctor as internal.
958
959         * Page.cs: stub out two Theme oriented 2.0 properties.
960
961         * DataBinder.cs: remove the obsolete attribute on the ctor.
962
963         * TwoWayBoundPropertyEntry.cs: remove this.
964         
965         * ControlBuilder.cs (BindingContainerType): virtual in 2.0.
966
967         * ThemeProvider: new (stubbed) class.
968
969         * SkinBuilder.cs: same.
970
971         * PageTheme.cs: same.
972
973         * ControlSkin.cs: same.
974         
975         * ControlSkinProc.cs: rename this to ControlSkinDelegate.cs.
976         
977         * SimplePropertyEntry.cs: mark ctor as internal.
978
979         * IThemeResolutionService.cs: enable the 3 members of this
980         interface.
981
982 2006-02-27  Chris Toshok  <toshok@ximian.com>
983
984         * ListSourceHelper.cs: this class is static.
985
986         * Page.cs: add some EditorBrowsable attributes to the 2.0 events.
987
988 2006-02-27  Chris Toshok  <toshok@ximian.com>
989
990         * DataSourceView.cs: Name isn't virtual.
991
992         * DataSourceControl.cs: beat this class over the head with the
993         corcompare stick.
994
995         * DataSourceControlBuilder.cs: new stubbed control builder for
996         DataSourceControl.
997
998 2006-02-23  Chris Toshok  <toshok@ximian.com>
999
1000         * Page.cs: more corcompare work.
1001
1002 2006-02-23  Chris Toshok  <toshok@ximian.com>
1003
1004         * Page.cs (ProcessCallbackData): track change to
1005         ICallbackEventHandler iface.
1006
1007         * ICallbackEventHandler.cs: enable the proper members of this
1008         interface.
1009
1010         * DataSourceSelectArguments.cs: reformat getter/setters.
1011         
1012 2006-02-22  Cesar Lopez Nataren  <cnataren@novell.com>
1013
1014         * HtmlTextWriter.cs: Added method WriteEncodedText for the .NET 2.0 profile.
1015
1016 2006-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1017
1018         * WebHandlerParser.cs:
1019         * WebServiceParser.cs:
1020         * UserControlParser.cs:
1021         * PageParser.cs: added new ctor that uses a TextReader as input.
1022
1023         * TemplateControlParser.cs: new Reader property.
1024         * SimpleWebHandlerParser.cs: new Reader property and ctor.
1025
1026 2006-02-12  Cesar Lopez Nataren  <cnataren@novell.com>
1027
1028         * HtmlTextWriter.cs: Implemented IsValidFormAttribute and
1029         WriterBreak for the .NET 2.0 profile.
1030
1031 2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1032
1033         * IThemeResolutionService.cs: this is now added to the
1034         sources file, but some other stuff does not compile yet as the
1035         interface changed after the beta.
1036
1037         * ObjectConverter.cs: removed extra attribute.
1038
1039         * ObjectStateFormatter.cs: add IStateFormatter for 2.0.
1040
1041         * ICallbackEventHandler.cs: update the interface, but commented the
1042         'good' stuff out, since other files need to be fixed too.
1043
1044 2006-02-07  Chris Toshok  <toshok@ximian.com>
1045
1046         * ControlBuilder.cs: rename flushOutputStatements to
1047         methodStatements to at least reflect that they're in that method.
1048
1049 2006-02-07  Chris Toshok  <toshok@ximian.com>
1050
1051         * MasterPage.cs (CreateMasterPage): don't nullref on null
1052         contentTemplateCollection.
1053
1054         * ControlBuilder.cs: add a flushOutputStatements field.
1055
1056         * PageParser.cs (ProcessMainAttributes): handle Title attribute.
1057         (Title): add getter.
1058         
1059         * Page.cs (Title): implement getter/setter.
1060         (InternalProcessRequest): after calling ApplyMasterPage, apply the
1061         page's Title directive if there is one.
1062         (AddContentTemplate): make the EditorBrowsable attribute apply to
1063         the method, not the field.
1064         
1065 2006-02-07  Chris Toshok  <toshok@ximian.com>
1066
1067         * MasterPage.cs: rework this file, adding some static methods
1068         gleaned from MS stack traces, and clear up the propogation of
1069         content templates between nested master pages.
1070
1071         * Control.cs (TemplateControl): implement.
1072
1073         * TemplateControl.cs: re-indent some of the code.
1074         (ReadStringRecource): according to msdn2, these throw
1075         NotSupportedException.
1076
1077         * MasterPageParser.cs (HandleOption): implement.  assign our
1078         master page's MasterPageFile from the UserControl property.
1079
1080         * UserControl.cs (InitializeAsUserControlInternal): new method
1081         that allows initialization without a page.
1082
1083         * UserControlParser.cs (ProcessMainAttributes): for 2.0 handle
1084         MasterPageFile attributes, so we can have nested master pages.
1085         (MasterPageFile): add a 2.0 specific property.
1086         
1087         * TemplateControlParser.cs: in .net 2.0, our base class is
1088         BaseTemplateParser.
1089         (HandleOptions): be consistent and call base.HandleOptions.
1090
1091         * BaseTemplateParser.cs: new (stubbed) class.
1092
1093         * MasterPageControlBuilder.cs: new file, not filled in (and really
1094         not used either.)
1095
1096         * Page.cs (InternalProcessRequest): call ApplyMasterPage.
1097         (SaveExistingContentTemplates): nuke.
1098         (ReapplyExistingContentTemplate): nuke.
1099         (ApplyMasterPage): if we have a master page, call
1100         MasterPage.ApplyMasterPageRecursive with it and add it to our
1101         controls.
1102         (set_MasterPageFile): remove call to SaveExistingContentTemplates.
1103         (get_Master): call MasterPage.CreateMasterPage.
1104         (AddContentTemplate): keep track of the page's content templates
1105         in a local Hashtable - they aren't our master page's content
1106         templates.
1107
1108 2006-02-01  Chris Toshok  <toshok@ximian.com>
1109
1110         * TemplateParser.cs: CONFIGURATION_2_0 => NET_2_0, and replace
1111         calls to GetWebApplicationSection with GetSection.
1112
1113         * SimpleWebHandlerParser.cs: same.
1114
1115         * Page.cs: same.
1116
1117         * PageParser.cs: same.
1118
1119         * BaseParser.cs: same.
1120
1121 2006-01-27  Chris Toshok  <toshok@ximian.com>
1122
1123         * MasterPage.cs (ContentTemplatesInternal): add get/set for the
1124         actual Hashtable.
1125
1126         * Page.cs (SaveExistingContentTemplates): store off the existing
1127         MasterPage content templates so they can be reapplied when setting
1128         MasterPageFile to something else.
1129         (ReapplyExistingContentTemplates): set masterPage's
1130         ContentTemplates to our saved copy.
1131         (set_MasterPageFile): save off the current content templates
1132         before clearing masterPage.
1133         (get_Master): reapply the saved content templates after we create
1134         the new MasterPage.
1135         
1136 2006-01-25  Chris Toshok  <toshok@ximian.com>
1137
1138         * ClientScriptManager.cs (RegisterClientScriptResource): last
1139         patch, I swear.  How can 1 line of code have 3 bugs?
1140
1141 2006-01-25  Chris Toshok  <toshok@ximian.com>
1142
1143         * ClientScriptManager.cs (RegisterClientScriptResource): gah, fix
1144         problem with last commit - unquote "resourceName" so it uses the
1145         parameter instead of the string constant.
1146
1147 2006-01-22  Chris Toshok  <toshok@ximian.com>
1148
1149         * RootBuilder.cs (.cctor): use a 2.0 friendly hashtable ctor to
1150         quiet mcs.
1151
1152         * PageParser.cs (ProcessMainAttributes): i missed a
1153         CONFIGURATION_2_0 block.
1154
1155         * BoundPropertyEntry.cs (.ctor): mark as internal to fix
1156         corcompare.
1157
1158 2006-01-18 Konstantin Triger <kostat@mainsoft.com>
1159
1160         * ObjectStateFormatter.cs: preserve emptiness in ColorFormatter.
1161
1162 2006-01-18 Konstantin Triger <kostat@mainsoft.com>
1163
1164         * HtmlTextWriter.cs: perform case insensitive compare;
1165           return correct key in default case.
1166
1167 2006-01-11  Chris Toshok  <toshok@ximian.com>
1168
1169         * ClientScriptManager.cs (RegisterClientScriptResource):
1170         implement.
1171
1172 2006-01-11  Vladimir Krasnov  <vladimirk@mainsoft.com>
1173
1174         * ObjectStateFormatter.cs: Removed TARGET_JVM parts in 
1175         TypeFormatter.Read
1176
1177 2006-01-10  Chris Toshok  <toshok@ximian.com>
1178
1179         * Page.cs (ValidateCollection): in NET_2_0 if event validation is
1180         off, return true.
1181
1182 2006-01-09  Chris Toshok  <toshok@ximian.com>
1183
1184         * Page.cs: fix a lot of indentation, and add the
1185         EnableEventValidation .net 2.0 property.
1186
1187 2006-01-09  Vladimir Krasnov  <vladimirk@mainsoft.com>
1188
1189         * ObjectStateFormatter.cs: Merged TARGET_JVM parts in 
1190         TypeFormatter.Read, TypeFormatter.Write from /main/5
1191
1192 2006-01-09  Konstantin Triger <kostat@mainsoft.com>
1193
1194         * Page.cs: make ProcessRequest virtual under TARGET_JVM.
1195
1196 2006-01-04  Chris Toshok  <toshok@ximian.com>
1197
1198         * TemplateParser.cs (.ctor): kinda gross, but handle the
1199         AddAssembliesInBin case here.
1200         
1201         * SimpleWebHandlerParser.cs (.ctor): same.
1202
1203 2006-01-04  Chris Toshok  <toshok@ximian.com>
1204
1205         * SimpleWebHandlerParser.cs: Remove the declaration of
1206         compilationConfig in the CONFIGURATION_2_0 case.  it's
1207         unnecessary.
1208         (.ctor): ifdef out the AddAssembliesInBin call in the
1209         CONFIGURATION_2_0 case.  need to revisit this.
1210         (CompilationConfig): add a CONFIGURATION_2_0 version.
1211
1212         * BaseParser.cs: Remove the declaration of compilationConfig in
1213         the CONFIGURATION_2_0 case.  it's unnecessary.
1214
1215 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1216
1217         * Control.cs: use _controls instead of the property wherever possible.
1218
1219 2005-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1220
1221         * Control.cs: use the _controls field instead of the Controls property.
1222         Fixes bug #76919.
1223
1224 2005-11-30  Sebastien Pouliot  <sebastien@ximian.com>
1225
1226         * KeyedList.cs: Fixed for IOrderedDictionary change in 2.0 final.
1227         Now internal.
1228         * KeyedListEnumerator.cs: Now internal.
1229
1230 2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1231
1232         * ControlCollection.cs: allow 'null' in Remove.
1233
1234 2005-11-28  Chris Toshok  <toshok@ximian.com>
1235
1236         * Page.cs (GetFormatter): CONFIGURATION_2_0 work.
1237
1238         * TemplateParser.cs (..ctor): CONFIGURATION_2_0 work.
1239         (PagesConfig): add a CONFIGURATION_2_0 version that returns a
1240         PagesSection.
1241
1242         * PageParser.cs (ProcessMainAttributes): CONFIGURATION_2_0 work.
1243
1244         * BaseParser.cs (CompilationConfig): add a CONFIGURATION_2_0
1245         version that returns a CompilationSection.
1246
1247 2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1248
1249         * SimpleWebHandlerParser.cs: removed 'codebehind' related stuff.
1250
1251 2005-11-09  Chris Toshok  <toshok@ximian.com>
1252
1253         * ViewStateEncryptionMode.cs: new 2.0 enum.
1254
1255 2005-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1256
1257         * TemplateParser.cs: fixes #76423. Not tested properly.
1258
1259 2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1260
1261         * Page.cs: call LoadViewStateRecursive when the Form collection has
1262         not been used by a different page (GetTypeHashCode). This fixes problems
1263         when calling Server.Transfer while preserving Form and QueryString,
1264         as the page we transfer to used the view state stored in the Form, which
1265         contained the serialized data for the page calling Server.Transfer
1266         instead.
1267
1268 2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1269
1270         * Page.cs: add/remove the error before/after invoking OnError.
1271
1272 2005-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1273
1274         * Page.cs: call OnError when there's an exception (not for TAE). Fixes
1275         bug #76572.
1276
1277 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1278
1279         * TemplateControl.cs:
1280         * PartialCachingControl.cs: if a control is cacheable, LoadControl
1281         returns a PartialCachingControl that holds the VaryBy* and takes care
1282         of partial caching and rendering. Fixes bug #76547.
1283
1284 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1285
1286         * Page.cs: don't cache the 'Validate()' results. IsValid retests
1287         the validators again.
1288
1289 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1290
1291         * DesignerDataBoundLiteralControl.cs: changed autoid api.
1292         * DataBoundLiteralControl.cs: changed autoid api.
1293
1294         * Control.cs: fixlet for UniqueID and weird test case.  Removed
1295         PreventAutoID and only use the property to set that value.
1296
1297         * LiteralControl.cs: changed autoid api.
1298
1299 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1300
1301         * AttributeCollection.cs: avoid code duplication and
1302         don't add "style" to the bag, or it will overwrite the settings made
1303         by CssStyleCollection.
1304
1305         * CssStyleCollection.cs: make it throw where MS throws.
1306         Minimize the number of times we create the "style" string and take
1307         care of updating it for the AttributeCollection. FillStyle and
1308         BagToString are now private. One should use the 2.0 (internal in <2.0)
1309         Value property.
1310
1311 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1312
1313         * Control.cs: fix HasChildViewStates.
1314
1315 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1316
1317         * LosFormatter.cs: when the default ctor is used, MAC is disabled.
1318         Fixes bug #76240.
1319
1320 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1321
1322         * ObjectTagBuilder.cs: only fail when no id and no attributes.
1323
1324 2005-09-23  Sebastien Pouliot  <sebastien@ximian.com>
1325
1326         * DataBindingCollection.cs: Using an hashtable is a nice trick but
1327         we need to copy values (not the DictionaryEntry) in CopyTo.
1328         * Page.cs: IsValid throws an exception if the page hasn't be 
1329         validated. VerifyRenderingInServerForm doesn't throw an exception
1330         during unit testing (without a context?) but does in normal ops.
1331
1332 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1333
1334         * LosFormatter.cs: the exceptions thrown have a 500 httpCode. Really
1335         save the allocation of new MemoryStreams when possible. Thanks to
1336         Sebastien again.
1337
1338 2005-09-23  Ben Maurer  <bmaurer@ximian.com>
1339
1340         * HtmlTextWriter.cs: Initial support for escaping.
1341
1342 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1343
1344         * ViewStateOutputHashStream.cs: Removed. It didn't last long.
1345
1346         * Page.cs: almost restored to its previous state, but now that we found
1347         that LosFormatter ctor that takes 'enableMac', moved the logic to
1348         add the hash and validate there. Thanks to Sebastien for his input.
1349         
1350         * LosFormatter.cs: implemented the missing ctors and support for
1351         "MAC" validation of the data.
1352
1353 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1354
1355         * Page.cs:
1356         * ViewStateOutputHashStream.cs: added support for viewstate MAC. It
1357         prevents the viewstate being altered on the client and it's disabled
1358         by default as per the documentation, but MS machine.config has it
1359         enabled in machine.config.
1360
1361 2005-09-22  Miguel de Icaza  <miguel@novell.com>
1362
1363         * DataBindingCollection.cs: Raise the event, remove MonoTODO.
1364
1365         * MinimizableAttributeTypeConverter.cs: Fix warning, compare to a
1366         string. 
1367
1368 2005-09-21  Sebastien Pouliot  <sebastien@ximian.com>
1369
1370         * Control.cs: Added null checks for Trace as it can be null when 
1371         rendering (like it was for 39 unit tests).
1372
1373 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1374
1375         * Page.cs: reverted hacks used with the wrong method of getting a
1376         control rendered size.
1377         * Control.cs: if the trace is enabled, save control rendered size.
1378
1379 2005-09-19  Sebastien Pouliot  <sebastien@ximian.com> 
1380  
1381         * Page.cs: Remove references to IPageParser (removed from 2.0 RC). We
1382         now use HtmlHeader directly.
1383         * UrlPropertyAttribute.cs: Removed AllowedTypes property (2.0 RC) and
1384         rewrote Equals to avoid dual type cast.
1385
1386 2005-09-19  Sebastien Pouliot  <sebastien@ximian.com>
1387
1388         * SupportsEventValidationAttribute.cs: New attribute added in 2.0 RC.
1389
1390 2005-09-19  Sebastien Pouliot  <sebastien@ximian.com> 
1391
1392         * ControlBuilder.cs: Added BuildObject override for 2.0 profile.
1393         * TagPrefixAttribute.cs: Added LinkDemand for AspNetHostingPermission
1394         with Minimal level. Fixed checks on ctor.
1395         * TemplateBuilder.cs: Added LinkDemand and InheritanceDemand for 
1396         AspNetHostingPermission with Minimal level.
1397         * TemplateContainerAttribute.cs: Added LinkDemand for 
1398         AspNetHostingPermission with Minimal level.
1399         * TemplateControl.cs: Added LinkDemand and InheritanceDemand for 
1400         AspNetHostingPermission with Minimal level. Fixed checks/exceptions. 
1401         Stubbed IFilterResolutionService for CAS testing.
1402         * TemplateControlParser.cs: Added LinkDemand and InheritanceDemand for
1403         AspNetHostingPermission with Minimal level.
1404         * TemplateParser.cs: Added LinkDemand and InheritanceDemand for 
1405         AspNetHostingPermission with Minimal level.
1406         * ThemeableAttribute.cs: Added LinkDemand for AspNetHostingPermission
1407         with Minimal level. Removed IDispose interface.
1408         * ToolboxDataAttribute.cs: Added LinkDemand for 
1409         AspNetHostingPermission with Minimal level. Fixed IsDefaultAttribute 
1410         to work on both 1.x and 2.0 profiles.
1411         * Triplet.cs: Added LinkDemand and (only for 1.x) InheritanceDemand 
1412         for AspNetHostingPermission with Minimal level.
1413         * UserControl.cs: Added LinkDemand and InheritanceDemand for 
1414         AspNetHostingPermission with Minimal level. Stubbed 
1415         IFilterResolutionService for CAS testing.
1416         * UserControlControlBuilder.cs: Added LinkDemand and InheritanceDemand
1417         for AspNetHostingPermission with Minimal level.
1418         * ValidationPropertyAttribute.cs: Added LinkDemand for 
1419         AspNetHostingPermission with Minimal level.
1420         * ValidatorCollection.cs: Added LinkDemand for AspNetHostingPermission 
1421         with Minimal level.
1422         * WebResourceAttribute.cs: Removed extra ctor and added setter to 
1423         PerformSubstitution.
1424         * WebServiceParser.cs: Added LinkDemand and InheritanceDemand for 
1425         AspNetHostingPermission with Minimal level.
1426
1427 2005-09-15  Sebastien Pouliot  <sebastien@ximian.com> 
1428  
1429         * ParseChildrenAttribute.cs: Added LinkDemand for 
1430         AspNetHostingPermission with Minimal level. Simplified Equals to avoid
1431         casting. Added new ctor and public fields (2.0). Changed 
1432         ChildControlType setter visibility to internal.
1433         * PartialCachingAttribute.cs: Added LinkDemand for 
1434         AspNetHostingPermission with Minimal level. Added new ctor and 
1435         SqlDependency property (2.0).
1436         * PartialCachingControl.cs: Added LinkDemand and InheritanceDemand for
1437         AspNetHostingPermission with Minimal level.
1438         * PersistenceModeAttribute.cs: Added LinkDemand for 
1439         AspNetHostingPermission with Minimal level. Simplified Equals to avoid
1440         casting.
1441         * PersistChildrenAttribute.cs: Added LinkDemand for 
1442         AspNetHostingPermission with Minimal level. Simplified Equals to avoid 
1443         casting.
1444         * PropertyConverter.cs: Added LinkDemand for AspNetHostingPermission 
1445         with Minimal level. Class is static in 2.0.
1446         * RootBuilder.cs: Added LinkDemand and, for 2.0, InheritanceDemand for 
1447         AspNetHostingPermission with Minimal level. Class is no more sealed in
1448         2.0. Added new (2.0) BuiltObjects property.
1449         * SimpleWebHandlerParser.cs: Added LinkDemand and InheritanceDemand 
1450         for AspNetHostingPermission with Minimal level.
1451         * StateItem.cs: Added LinkDemand for AspNetHostingPermission with 
1452         Minimal level.
1453         * StateBag.cs: Added LinkDemand for AspNetHostingPermission with 
1454         Minimal level. Removed SetDirty() which was called (2.0) but did 
1455         nothing.
1456         * StaticPartialCachingControl.cs: Added LinkDemand and 
1457         InheritanceDemand for AspNetHostingPermission with Minimal level.
1458
1459 2005-09-15  Sebastien Pouliot  <sebastien@ximian.com>
1460
1461         * Html32TextWriter.cs: Added LinkDemand and InheritanceDemand for 
1462         AspNetHostingPermission with Minimal level. Added new 2.0 properties
1463         (but the generated HTML doesn't use them).
1464         * HtmlTextWriter.cs: Added LinkDemand and InheritanceDemand for 
1465         AspNetHostingPermission with Minimal level.
1466         * ImageClickEventArgs.cs: Added LinkDemand for AspNetHostingPermission
1467         with Minimal level.
1468         * LiteralControl.cs: Added LinkDemand and InheritanceDemand for 
1469         AspNetHostingPermission with Minimal level. Default Text is null.
1470         * LosFormatter.cs: Added LinkDemand and InheritanceDemand for 
1471         AspNetHostingPermission with Minimal level. Stubbed new 2.0 ctor.
1472         * ObjectConverter.cs: Added LinkDemand and InheritanceDemand for 
1473         AspNetHostingPermission with Minimal level. Obsoleted ctor for 2.0.
1474         * ObjectTagBuilder.cs: Added LinkDemand for AspNetHostingPermission 
1475         with Minimal level. Added check for null id (HttpException).
1476         * Page.cs: Added LinkDemand and InheritanceDemand for 
1477         AspNetHostingPermission with Minimal level. Throw some HttpException 
1478         when no context is available.
1479         * Pair.cs: Added LinkDemand for AspNetHostingPermission with Minimal 
1480         level. InheritanceDemand too for 1.x.
1481         * PageParser.cs: Added LinkDemand for AspNetHostingPermission with 
1482         Minimal level.
1483
1484 2005-09-14  Sebastien Pouliot  <sebastien@ximian.com>
1485  
1486         * DataBinder.cs: Added LinkDemand for AspNetHostingPermission with 
1487         Minimal level. Fixed some exceptions.
1488         * DataBindingCollection.cs: Added LinkDemand for 
1489         AspNetHostingPermission with Minimal level. Added 2.0 method and 
1490         event.
1491         * DataBindingHandlerAttribute.cs: Added LinkDemand for 
1492         AspNetHostingPermission with Minimal level.
1493         * DataBinding.cs: Added LinkDemand for AspNetHostingPermission with
1494         Minimal level. Simplified Equals (reduced casts).
1495         * DataBoundLiteralControl.cs: Added LinkDemand for 
1496         AspNetHostingPermission with Minimal level. Implemented ITextControl
1497         for 2.0.
1498         * DesignerDataBoundLiteralControl.cs: Added LinkDemand for 
1499         AspNetHostingPermission with Minimal level.
1500         * DesignTimeParseData.cs: Added LinkDemand for AspNetHostingPermission
1501         with Minimal level. Added new 2.0 properties.
1502         * DesignTimeTemplateParser.cs: Added LinkDemand for 
1503         AspNetHostingPermission with Minimal level. Made class static and 
1504         stubbed missing methods (2.0).
1505         * EmptyControlCollection.cs: Added LinkDemand and InheritanceDemand 
1506         for AspNetHostingPermission with Minimal level. Changed Add* methods
1507         exceptions to HttpException.
1508
1509 2005-09-14  Sebastien Pouliot  <sebastien@ximian.com> 
1510
1511         * AttributeCollection.cs: Added LinkDemand for AspNetHostingPermission
1512         with Minimal level.
1513         * BaseParser.cs: Added LinkDemand and InheritanceDemand for 
1514         AspNetHostingPermission with Minimal level.
1515         * BasePartialCachingControl.cs: Added LinkDemand and InheritanceDemand
1516         for AspNetHostingPermission with Minimal level.
1517         * CompiledTemplateBuilder.cs: Added LinkDemand for 
1518         AspNetHostingPermission with Minimal level.
1519         * ConstructorNeedsTagAttribute.cs: Added LinkDemand for 
1520         AspNetHostingPermission with Minimal level.
1521         * ControlBuilderAttribute.cs: Added LinkDemand for 
1522         AspNetHostingPermission with Minimal level. Simplified Equals and 
1523         IsDefaultAttribute.
1524         * ControlBuilder.cs: Added LinkDemand and InheritanceDemand for 
1525         AspNetHostingPermission with Minimal level.
1526         * ControlCachePolicy.cs: Hided ctor and removed SupportsCaching setter
1527         * ControlCollection.cs: Added LinkDemand and InheritanceDemand for 
1528         AspNetHostingPermission with Minimal level. Fixed possible stack 
1529         overflow in Add* methods. Fixed CopyTo as we're not allocating the 
1530         array based on the number of items.
1531         * Control.cs: Added LinkDemand and InheritanceDemand for 
1532         AspNetHostingPermission with Minimal level. Fixed 2.0 signatures.
1533         * CssStyleCollection.cs: Added LinkDemand for AspNetHostingPermission 
1534         with Minimal level.
1535         * IStyleSheet.cs: Fixed parameter orders (2.0).
1536
1537 2005-09-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1538
1539         * TemplateParser.cs: default VS 2005 pages are compiled fine now.
1540
1541 2005-09-07  Chris Toshok  <toshok@ximian.com>
1542
1543         * MinimizableAttributeTypeConverter.cs: new class, whose existence
1544         we know about because of corcompare, and for whose implementation
1545         we have exclusively nunit to thank.
1546
1547 2005-09-06  Chris Toshok  <toshok@ximian.com>
1548
1549         * RootBuilder.cs (.cctor): doh, add all the new html controls
1550         here.
1551
1552 2005-08-31  Chris Toshok  <toshok@ximian.com>
1553
1554         * DataSourceSelectArguments.cs (Empty): this is apparently,
1555         according to corcompare, a property, not a field.  go figure.
1556         (Equals): implement.
1557         (IsEmpty): remove all mention of it.
1558         
1559 2005-08-29  Chris Toshok  <toshok@ximian.com>
1560
1561         * StateBag.cs (GetChar): add.
1562
1563 2005-08-28  Chris Toshok  <toshok@ximian.com>
1564
1565         * Page.cs: more random corcompare work.
1566         (PageAdapter): implement.
1567         
1568 2005-08-28  Chris Toshok  <toshok@ximian.com>
1569
1570         * Page.cs (.ctor): set our initial ID to "__Page".
1571         (SmartNavigation): obsolete in 2.0.
1572         (FindControl): new implementation.  Just check our own ID against
1573         the control we're looking for.  otherwise pass it along to
1574         base.FindControl.
1575         (GetPostBackClientHyperlink): obsolete in 2.0.
1576
1577 2005-08-28  Chris Toshok  <toshok@ximian.com>
1578
1579         * ClientScriptManager.cs: public sealed in 2.0
1580
1581         * IAdaptableTextWriter.cs: new 2.0 interface.
1582
1583         * IHierarchyData.cs: fix return type for GetParent.
1584
1585 2005-08-28  Chris Toshok  <toshok@ximian.com>
1586
1587         * Pair.cs: mark serializable and sealed in 2.0.
1588
1589 2005-08-26  Sebastien Pouliot  <sebastien@ximian.com>
1590
1591         * CssStyleCollection.cs: Implemented setter for Value (2.0) using the
1592         existing (but internal) FillStyle method. Rewrote BagToString to use an
1593         HtmlTextWriter so we get the "right" format for background-image url.
1594
1595 2005-08-26  Sebastien Pouliot  <sebastien@ximian.com> 
1596  
1597         * CssStyleCollection.cs: Implemented this[HtmlTextWriterStyle], 
1598         Remove(HtmlTextWriterStyle) and the getter for Value (all 2.0). Removed
1599         the extra space from last patch because they break some unit tests.
1600
1601 2005-08-26  Lluis Sanchez Gual  <lluis@novell.com> 
1602
1603         * CssStyleCollection.cs: Added some spacing.
1604         * HtmlTextWriter.cs: Made style and attribute tables static.
1605           Implemented StaticGetStyleName().
1606
1607 2005-08-26  Sebastien Pouliot  <sebastien@ximian.com> 
1608  
1609         * CssStyleCollection.cs: Stubbed new 2.0 stuff to allow TableStyleTest
1610         compilation. 
1611         * HtmlTextWriter.cs: Fix style rendering for BackgroundImage in 2.0.
1612         The new rendering formats the value as "url(" + original + ")".
1613
1614 2005-08-26  Sebastien Pouliot  <sebastien@ximian.com> 
1615
1616         * HtmlTextWriter.cs: Added support for VerticalAlign style (as it 
1617         depends on the HtmlTextWriterStyle ordering).
1618
1619 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1620
1621         * HtmlTextWriter.cs: remove 'mistaken end of statement' and FIXME.
1622
1623 2005-08-25  Sebastien Pouliot  <sebastien@ximian.com> 
1624
1625         * HtmlTextWriterStyle.cs: Added missing VerticalAlign in 2.0 (which 
1626         fixed the rest of the enum values).
1627         * UrlPropertyAttribute.cs: Removed the .ctor accepting an UrlTypes
1628         parameter to match 2.0 API. Added a setter to the AllowedTypes 
1629         property.
1630
1631 2005-08-24  Chris Toshok  <toshok@ximian.com>
1632
1633         * Control.cs (get_Adapter): Instead of throwing an exception, just
1634         return null, so we can write the rest of the Control specific
1635         Adapter code and just not enable any of those code paths until we
1636         have actual adapters.  Also flag TODO.
1637         (EnsureChildControls): Call out to Adapter.CreateChildControls if
1638         we have an adapter.
1639         (RenderChildren): call "RenderControl (writer, adapter)" if we
1640         have an adapter.
1641         (RenderControl): implement the adapter case naively.
1642         (LoadRecursive): call out to Adapter.OnLoad if we have one.
1643         (PreRenderRecursiveInternal): call out to Adapter.OnPrerender if
1644         we have one.
1645         (InitRecursive): call out to Adapter.OnInit if we have one.
1646
1647 2005-08-24  Chris Toshok  <toshok@ximian.com>
1648
1649         * Page.cs (GetPostBackEventReference): track change to
1650         ClientScriptManager and don't call a removed method.
1651
1652         * ClientScriptManager.cs: track more recent docs and corcompare
1653         output.
1654
1655 2005-08-24  Sebastien Pouliot  <sebastien@ximian.com>
1656
1657         * KeyedList.cs: Fixed bug when removing an unexisting object.
1658         * StateManagedCollection.cs: Fixed API for beta2. Fixed buglets found 
1659         in implementing RoleGroupCollection.
1660
1661 2005-08-22  Sebastien Pouliot  <sebastien@ximian.com>
1662
1663         * Page.cs: Use Control property (and not the _control variable) to get
1664         the User (so the virtual Control property can be overriden properly).
1665         Sadly this doesn't seems to be the case for other properties (like 
1666         Request).
1667
1668 2005-08-18  Dick Porter  <dick@ximian.com>
1669
1670         * ControlCachePolicy.cs, PersistChildrenAttribute.cs,
1671         UserControl.cs, DesignerDataBoundLiteralControl.cs,
1672         PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
1673         BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
1674         stubs and attribute fixes
1675
1676 2005-08-13  Sebastien Pouliot  <sebastien@ximian.com>
1677
1678         * Control.cs: Add protected virtual SetDesignModeState, in 2.0 
1679         profile, as this is required for the Login control.
1680
1681 2005-08-11  Dick Porter  <dick@ximian.com>
1682
1683         * CssStyleCollection.cs: Tweak the css string format to pass a
1684         unit test
1685
1686         * AttributeCollection.cs: Don't NRE if someone sets the "style"
1687         attribute to null.
1688
1689 2005-08-05  Ben Maurer  <bmaurer@ximian.com>
1690
1691         * HtmlTextWriter.cs: Revert the patch below, see test case
1692
1693 2005-08-05  Dick Porter  <dick@ximian.com>
1694
1695         * HtmlTextWriter.cs: Make <option> tags render inline, to match
1696         the ms output
1697
1698 2005-08-03  Ben Maurer  <bmaurer@ximian.com>
1699
1700         * HtmlTextWriter.cs: Optmize this not to do insane amounts of
1701         allocation for large pages, etc.
1702
1703 2005-07-30  Chris Toshok  <toshok@ximian.com>
1704
1705         * Page.cs (VerifyRenderingInServerForm): copy MS's error message
1706         since our form-errors jsunit tests depend on it.
1707
1708 2005-07-30  Chris Toshok  <toshok@ximian.com>
1709
1710         * DataBinder.cs (FormatResult): make internal, not private.
1711
1712 2005-07-29  Ben Maurer  <bmaurer@ximian.com>
1713
1714         * StateBag.cs: Don't remove when tracking viewstate, as per msft
1715         docs.
1716
1717 2005-07-29  Ben Maurer  <bmaurer@ximian.com>
1718
1719         * StateBag.cs: Actually *remove* items that are null. Duh.
1720
1721 2005-07-21  Peter Dennis Bartok  <pbartok@novell.com>
1722
1723         * Page.cs: Need to throw exception when accessing Request but no
1724           context exists
1725
1726 2005-07-20  Chris Toshok  <toshok@ximian.com>
1727
1728         * ClientScriptManager.cs (GetClientValidationEvent): the JS we
1729         stick in onclick handlers for buttons/links/etc.
1730
1731         * Page.cs (GetSubmitStatements): new function to return
1732         scriptManager.WriteSubmitStatements.  Used by HtmlForm.
1733         (AreValidatorsUplevel): used by many of the button/linkbutton
1734         controls (the ones that can CauseValidation) to tell whether or
1735         not to emit client side validation calls.
1736
1737 2005-07-20  Chris Toshok  <toshok@ximian.com>
1738
1739         * WebResourceAttribute.cs: make internal (and available) in
1740         !NET_2_0.
1741
1742 2005-07-20  Chris Toshok  <toshok@ximian.com>
1743
1744         * ClientScriptManager.cs (GetWebResourceUrl): make internal (but
1745         available) in !NET_2_0.
1746
1747 2005-07-18  Peter Dennis Bartok  <pbartok@novell.com>
1748
1749         * Control.cs: Added IDataBindingsAccessor interface methods
1750
1751 2005-07-18  Ben Maurer  <bmaurer@ximian.com>
1752
1753         * HtmlTextWriter.cs: Fix nested indentation
1754
1755 2005-07-18  Peter Dennis Bartok  <pbartok@novell.com>
1756
1757         * Control.cs: Added missing IParserAccessor.AddParsedSubObject 
1758           interface method
1759
1760 2005-07-18  Ben Maurer  <bmaurer@ximian.com>
1761
1762         * HtmlTextWriter.cs: Fix indentation (somewhat at least)
1763
1764 2005-07-18  Peter Dennis Bartok  <pbartok@novell.com>
1765
1766         * Control.cs:
1767           - Default name for controls on MS.Net is "_ctl" not "_ctrl"
1768           - MS does not append 'a' for auto-generated names
1769
1770 2005-07-17  Ben Maurer  <bmaurer@ximian.com>
1771
1772         * AttributeCollection.cs: Use the invariant culture.
1773
1774         * StateBag.cs: "Duh" optimization: return null when there are no
1775         dirty items in the view state
1776
1777 2005-07-14  Ben Maurer  <bmaurer@ximian.com>
1778
1779         * StateBag.cs: A "short" version of my favorite method.
1780
1781         * HtmlTextWriter.cs: New method to get the tag name staticly.
1782
1783 2005-07-14  Duncan Mak  <duncan@novell.com>
1784
1785         * DataBindingHandlerAttribute.cs: Fixed after receiving some
1786         comments from Gonzalo.
1787
1788 2005-07-13  Jackson Harper  <jackson@ximian.com>
1789
1790         * PropertyConverter.cs: No public constructors.
1791
1792 2005-07-13  Ben Maurer  <bmaurer@ximian.com>
1793
1794         * HtmlTextWriter.cs: Remove debugging spew. Style cleanup
1795
1796 2005-07-12  Ben Maurer  <bmaurer@ximian.com>
1797
1798         * HtmlTextWriter.cs: Make styles work.
1799
1800 2005-07-11  Peter Dennis Bartok  <pbartok@novell.com>
1801
1802         * AttributeCollection.cs: 
1803           - Changes to match MS behaviour, the "style" attribute is always 
1804             added to the list, in addition to being added to the 
1805             CssStyleCollection. Also added check for "style" attribute when 
1806             setting via index setter
1807           - When "Style" attribute is added, CssStyleCollection is 
1808             automatically created
1809           - The style keyword needs to be lowercase
1810
1811 2005-07-11  Ben Maurer  <bmaurer@ximian.com>
1812
1813         * HtmlTextWriter.cs: Missing a PopEndTag here.
1814
1815         * PropertyConverter.cs: Pass tests
1816
1817 2005-07-09  Miguel de Icaza  <miguel@novell.com>
1818
1819         * DataBindingHandlerAttribute.cs: Create the "Default" property.
1820
1821 2005-07-09  Duncan Mak  <duncan@novell.com>
1822
1823         * DataBindingHandlerAttribute.cs: Implemented.
1824
1825 2005-07-08  Ben Maurer  <bmaurer@ximian.com>
1826
1827         * HtmlTextWriter.cs: Much better compliance with msft
1828
1829 2005-07-08  Jackson Harper  <jackson@ximian.com>
1830
1831         * ToolbarDataAttribute.cs: New implementation.
1832
1833 2005-07-07  Jackson Harper  <jackson@ximian.com>
1834
1835         * PropertyConverter.cs: New implementation.
1836
1837 2005-07-07  Ben Maurer  <bmaurer@ximian.com>
1838
1839         * StateBag.cs: Noticed an issue where SetDirty was called when the
1840         key did not exist.
1841
1842 2005-07-07  Ben Maurer  <bmaurer@ximian.com>
1843
1844         * StateBag.cs: Add a method that gets a string or else a default
1845         value.
1846
1847 2005-07-07  Dick Porter  <dick@ximian.com>
1848
1849         * StateBag.cs: Added internal SetDirty (void) method to fix the
1850         build
1851
1852 2005-07-07  Sebastien Pouliot  <sebastien@ximian.com>
1853
1854         * HtmlTextWriter.cs: Small fixlet when attribute has no value.
1855
1856 2005-07-07  Miguel de Icaza  <miguel@novell.com>
1857
1858         * HtmlTextWriter.cs: Return the stuff in lowercase to pass the
1859         tests. 
1860
1861         * StateBag.cs: Add NET_2_0 SetDirty method to get the build
1862         going. 
1863
1864 2005-07-07  Sebastien Pouliot  <sebastien@ximian.com>
1865
1866         * HtmlTextWriter.cs: Small fixlet (required for the unit tests).
1867
1868 2005-07-06  Ben Maurer  <bmaurer@ximian.com>
1869
1870         * HtmlTextWriter.cs: Make sure to clear attributes when they are
1871         written.
1872
1873         * StateBag.cs: New impl
1874
1875 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1876
1877         * Page.cs:
1878         * Control.cs: avoid the creation of the EventHandlerList and accessing 
1879         to it whenever possible. Fix ENABLE_THEMING constant.
1880
1881 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1882
1883         * TemplateParser.cs:
1884         * TemplateControlParser.cs:
1885         * UserControlParser.cs: detect circular references when a control tries
1886         to register itself as a tag. Fixes bug #75376.
1887
1888 2005-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1889
1890         * PageParser.cs: don't try to compile the master page if it wan't
1891         provided. Use MapPath from the base classes instead of the long
1892         version. Fixes bug #75269 that prevented xsp2 from working properly.
1893
1894 2005-06-13  Lluis Sanchez Gual <lluis@novell.com> 
1895
1896         * MasterPage.cs: Clear the default content of placeholders before
1897         adding the page content. Fixes bug #75193.
1898
1899 2005-06-13  Lluis Sanchez Gual <lluis@novell.com>
1900
1901         * PageParser.cs: Added MasterType property. Get the type from the
1902         MasterType directive.
1903         * MasterPageParser.cs: Added GetCompiledMasterType method.
1904
1905 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1906
1907         * UserControl.cs:
1908         * Page.cs:
1909         * Control.cs: updates for 1.1 SP1
1910
1911 2005-06-06  Lluis Sanchez Gual <lluis@novell.com>
1912
1913         * Control.cs: Added new DataBind() overload for 2.0. The old
1914         method calls this new overload.
1915
1916 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1917
1918         * TemplateParser.cs: ignore empty assembly.Location for in-memory
1919         generated assemblies.
1920
1921 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1922
1923         * Page.cs: added AddContentTemplate method.
1924
1925 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1926
1927         * AttributeCollection.cs: html-encode attribute values. Fixes
1928         bug #73771.
1929
1930 2005-05-26  Lluis Sanchez Gual <lluis@novell.com>
1931
1932         * DataSourceView.cs: Fix api.
1933         * NonVisualControlAttribute.cs: Implemented.
1934         * IDataItemContainer.cs: Added missing properties.
1935         * Control.cs: Added new EnableTheming and SkinID properties.
1936         * HierarchicalDataSourceControl.cs: Implemented missing methods.
1937
1938 2005-05-13  Lluis Sanchez Gual <lluis@novell.com>
1939
1940         * ControlCollection.cs: Added internal setter for ReadOnly.
1941
1942 2005-05-09 Geoff Norotn <gnorton@customerdna.com>
1943
1944         * TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
1945         uses instead of codebehind.
1946
1947 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1948
1949         * Page.cs: as setting CurrentCulture is slow, don't set it if the
1950         culture has not changed since before the page started processing.
1951
1952 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1953
1954         * TemplateParser.cs: LoadWithPartialName returns null if the assembly is
1955         not found.
1956
1957 2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1958
1959         * TemplateParser.cs:
1960         * SimpleWebHandlerParser.cs: removed values assigned and neved used.
1961
1962 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1963
1964         * SimpleWebHandlerParser.cs:
1965         * TemplateParser.cs: always get the location (full path) for assemblies,
1966         even the ones from the GAC.
1967
1968         * BaseCompiler.cs: check that DynamicBase directory exists before
1969         creating the TempFileCollection.
1970
1971 2005-04-22  Lluis Sanchez Gual <lluis@novell.com>
1972
1973         * ClientScriptManager.cs: Use a linked list instead of a Hashtable
1974         to store the scripts. In this way, scripts will be rendered in the
1975         same order as they have been registered. It shouldn't be slower
1976         since pages don't have many scripts.
1977
1978 2005-04-21  Lluis Sanchez Gual <lluis@novell.com>
1979
1980         * IEditableTextControl.cs: Implemented.
1981         * DataBinder.cs: Marked constructor as obsolete in 2.0.
1982         In GetDataItem, check for the IDataItemContainer interface
1983         in the container.
1984         * TemplateControl.cs: Improved check for data item.
1985
1986 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1987
1988         * TemplateParser.cs: we still need LoadWithPartialName if Load fails.
1989         * Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
1990         for second postback.
1991
1992 2005-04-20  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1993         * TemplateParser.cs: Adding support for Strict/Explicit attributes 
1994         for @Page/@Control directives as documented at 
1995         http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconControlDirective.asp.
1996         First step don't choke on them. Fixing #74671
1997
1998 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1999
2000         * TemplateParser.cs: use Load instead of LoadWithPartialName. That was
2001         there from the time when Load wasn't working properly. First part of the
2002         fix to 74500.
2003
2004 2005-04-15  Lluis Sanchez Gual <lluis@novell.com>
2005
2006         * ControlBuilder.cs: The BindingContainerType property happens
2007         to exist in 2.0, so I made it public. Added ParentTemplateBuilder,
2008         which is used to get the binding container that is managing
2009         the current two-way binding context.
2010         * TemplateBuilder.cs: Added some methods and an internal class
2011         to support two-way bindings.
2012         * CompiledBindableTemplateBuilder.cs: Implemented.
2013         * IBindableTemplate.cs: This interface inherits from ITemplate.
2014
2015 2005-04-14  Lluis Sanchez Gual <lluis@novell.com>
2016
2017         * ControlBuilder.cs: Added BindingContainerType property,
2018         which works like NamingContainerType but takes into account
2019         template builders with a specific container type (specified
2020         using the TemplateContainerAttribute.
2021         * StateManagedCollection.cs: Reimplemented Save/Load view
2022         state methods. The existing implementation was not correct
2023         in all cases.
2024
2025 2005-04-08  Lluis Sanchez Gual <lluis@novell.com>
2026
2027         * DataSourceView.cs: Added null check.
2028
2029 2005-04-07  Lluis Sanchez Gual <lluis@novell.com>
2030
2031         * TemplateControl.cs:
2032         * Page.cs: Moved Eval and XPath from Page
2033         to TemplateControl.
2034         * StateManagedCollection.cs: Avoid saving null state.
2035
2036 2005-04-01  Lluis Sanchez Gual <lluis@novell.com>
2037
2038         * DataSourceView.cs: Rethrow exceptions not handled by operation
2039         callbacks.
2040         * ITextControl.cs: Removed event.
2041         * CollectionBuilder.cs: Don't crash when a collection has more
2042         than one indexer.
2043
2044 2005-03-23  Lluis Sanchez Gual <lluis@novell.com>
2045
2046         * Control.cs: Added a new internal property: HasRenderMethodDelegate.
2047         * HtmlTextWriterAttribute.cs: Replaced wrong enum value.
2048         * HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes
2049
2050 2005-03-16  Lluis Sanchez Gual  <lluis@novell.com>
2051
2052         * ClientScriptManager.cs: Fix build.
2053
2054 2005-03-11  Lluis Sanchez Gual <lluis@novell.com>
2055
2056         * Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
2057         since it is deprecated in 2.0.
2058         * Page.cs: Deprecated GetPostBackClientEvent and similar methods
2059         in 2.0. Moved callback management methods to ClientScriptManager.
2060         * ClientScriptManager.cs: Moved here deprecated methods from Page.
2061         In GetPostBackEventReference (PostBackOptions), don't use the
2062         WebForm_DoPostback script if the post can be done with a simple
2063         __doPostBack call.
2064         * PostBackOptions.cs: Fixed default values for some properties.
2065
2066 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2067
2068         * Control.cs: in FindControl, throw if there's more than one control
2069         with the same ID. Fixes bug #73479.
2070
2071 2005-03-04  Lluis Sanchez Gual <lluis@novell.com>
2072
2073         * Page.cs: Load control state before loading view state, and the
2074         same for saving.
2075         * DataSourceSelectArguments.cs: Fix recursive property call.
2076
2077 2005-02-25  Lluis Sanchez Gual <lluis@novell.com>
2078
2079         * DataSourceView.cs: Fixed incorrect implementation of
2080         RaiseUnsupportedCapabilityError.
2081         * IDataItemContainer.cs: Added new properties.
2082         * Page.cs: Implemented Form property.
2083         * Control.cs: Fixed formatting.
2084         * StateManagedCollection.cs: Track view state of items loaded
2085         in LoadViewState.
2086
2087 2005-02-22  Lluis Sanchez Gual <lluis@novell.com>
2088
2089         * FilterableAttribute.cs: Fix endless loop.
2090
2091 2005-02-18  Lluis Sanchez Gual <lluis@novell.com>
2092
2093         * Page.cs: Implemented missing events.
2094
2095 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2096
2097         * BoundPropertyEntry.cs:
2098         * PropertyEntry.cs:
2099         * TwoWayBoundPropertyEntry.cs: implemented.
2100
2101 2005-02-10  Lluis Sanchez Gual <lluis@novell.com>
2102
2103         * Page.cs: Added support for validation groups. Some fixes in
2104         SavePageControlState().
2105         * IFilterResolutionService.cs: Removed extra field.
2106         * INavigateUIData.cs: Added missing field.
2107         * ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
2108         Implemented new interfaces.
2109
2110 2005-02-04  Lluis Sanchez Gual <lluis@novell.com>
2111
2112         * Page.cs: Implemented support for cross page postback. Implemented
2113         support for postback with options. Fixed several method and property
2114         signatures for 2.0.
2115         * PostBackOptions.cs: Added some TODOs.
2116
2117 2005-02-02  Lluis Sanchez Gual <lluis@novell.com>
2118
2119         * ParseChildrenAttribute.cs: Set the correct default value for the
2120         childType property.
2121
2122 2005-01-28  Lluis Sanchez Gual <lluis@novell.com>
2123
2124         * ParseChildrenAttribute.cs: Added 2.0 property.
2125         * Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
2126         * Page.cs: Added support for control state.
2127         * TemplateBuilder.cs: ContainerType should be internal.
2128         * Control.cs: Added some new 2.0 methods.
2129
2130 2005-01-21  Lluis Sanchez Gual <lluis@novell.com>
2131
2132         * PageParser.cs: Read the MasterPageFile attribute.
2133         * UserControlParser.cs: Not sealed any more since we need to inherit from
2134         it. Added new constructor with an additional "type" parameter.
2135         * MasterPageParser.cs: Parser for master pages.
2136         * Page.cs: Added support for master pages.
2137         * MasterPage.cs: Implemented.
2138
2139 2005-01-10  Lluis Sanchez Gual <lluis@novell.com>
2140         
2141         * TemplateBuilder.cs: Added a special constructor that takes an
2142         attribute provider as parameter. The container type for the template
2143         may be defined in a TemplateContainerAttribute.
2144         * ControlBuilder.cs: Create the TemplateBuilder using that special
2145         constructor.
2146         * TemplateContainerAttribute.cs: Added 2.0 property and ctor.
2147
2148 2004-12-20 Lluis Sanchez Gual  <lluis@novell.com>
2149
2150         * IStyleSheet.cs: Added missing "using".
2151         * Page.cs: Implemented Header property.
2152         * CssStyleCollection.cs: Made BagToString method internal.
2153         * RootBuilder.cs: Register HtmlHead control.
2154         
2155 2004-12-17 Lluis Sanchez Gual  <lluis@novell.com>
2156
2157         * CssStyleCollection.cs: Minor (!) fix.
2158         * HtmlTextWriter.cs: Register names for new 2.0 styles.
2159
2160 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
2161
2162         * CssStyleCollection.cs: Make it work as a standalone collection.
2163         * HtmlTextWriter.cs: Added static method for getting style names.
2164
2165 2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2166
2167         * ControlCollection.cs: fix off-by-one and store a null at the end to
2168         remove the reference to the removed control.
2169
2170 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
2171
2172         * ClientScriptManager.cs: Added GetScriptLiteral helper method.
2173         
2174 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
2175
2176         * Page.cs: Added support for callback events. Moved theform variable
2177         outside the __doPostBack function, so it can be used by other
2178         scripts.
2179         * StateBag.cs: Implemented SetDirty().
2180
2181 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2182
2183         * Control.cs: when saving "Visible" into the ViewState, save the value
2184         for this precise control, as using the Visible property might give us
2185         Control's parent visibility. Fixes bug #69200.
2186
2187 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2188
2189         * Control.cs: fixed ResolveUrl for relative URLs when using cookie-less
2190         sessions.
2191
2192         * System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
2193         the appRoot + SessionID + vpath format.
2194
2195         Fixes the 3 issues reported in bug #66623.
2196
2197 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
2198
2199         * Page.cs: Moved code for managing client scripts to ClientScriptManager,
2200         which is public in 2.0 and internal in 1.1.
2201         * ClientScriptManager.cs: Implemented.
2202
2203 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
2204
2205         * DataSourceView.cs: Removed extra method.
2206
2207 2004-11-24 Sanjay Gupta <gsanjay@novell.com>
2208         
2209         * DataSourveViewSelectCallback.cs: Corrected method signature.
2210
2211 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
2212
2213         * ControlBuilder.cs: Always check for the ParseChildrenAttribute,
2214         even if the class doesn't implement IParserAccessor.
2215         * WebResourceAttribute.cs: Allow multiple attributes of this type.
2216
2217 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
2218
2219         * DataSourceView.cs: Moved here implementation of DataSourceViewChanged 
2220         from SqlDataSourceView.cs.
2221
2222 2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2223
2224         * Control.cs: unified a few bool fields into an int one.
2225
2226         * ControlCollection.cs: use an array internally instead of always
2227         allocating an arraylist. Also added our own enumerator.
2228         
2229         * EmptyControlCollection.cs: there's no 'special' ctor now in the base
2230         class.
2231
2232 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
2233
2234         * DataSourceView.cs: Changes in access modifiers of methods.
2235
2236 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
2237
2238         * DataSourceCapabilities.cs: Added Flags attribute.
2239         * DataSourceSelectArguments.cs: Updated.
2240         * DataSourveView.cs: Updated.
2241
2242 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
2243
2244         * HierarchicalDataSourceView.cs: Corrected class definition and updated.
2245
2246 2004-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2247
2248         * HierarchicalDataSourceView.cs: fix typo.
2249
2250 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
2251
2252         * HierarchicalDataSourceView.cs: Updated.
2253
2254 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
2255
2256         * DataSourceSelectArguments.cs: Initial implementation.
2257
2258 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
2259
2260         * UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
2261
2262 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
2263
2264         * UrlTypes.cs: Updated.
2265
2266 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
2267
2268         * UrlPropertyAttribute.cs: Added new file.
2269
2270 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2271
2272         * Control.cs: even if the control has no children the naming container
2273         may contain the control we're looking for. Fixes bug #67304.
2274
2275 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2276
2277         * AspGenerator.cs: added OtherTags.
2278
2279 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2280
2281         * ControlValuePropertyAttribute.cs: Initial implementation.
2282
2283 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2284
2285         * IPaginationContainer.cs: Corrected name of class.
2286
2287 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2288
2289         * IDReferencePropertyAttribute.cs: Completed implementation.
2290
2291 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2292
2293         * ThemeableAttribute.cs:
2294         * FilterableAttribute.cs: Code scrubbing and optimization.
2295
2296 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
2297
2298         * ThemeableAttribute.cs: Completed implementation.
2299
2300 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
2301
2302         * FilterableAttribute.cs: Completed implementation.
2303
2304 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
2305
2306         * Control.cs: Added new attributes and a method.
2307         * FilterableAttribute.cs: New attribute, initial implementation.
2308         * ThemeableAttribute.cs: New attribute, initial implemenataion.
2309
2310 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2311
2312         * TemplateParser.cs: ensure bin directory exists before trying to access
2313         it. Fixes bug #65446 (not closed yet due to dependencies).
2314
2315 2004-09-09 Sanjay Gupta <gsanjay@novell.com>
2316
2317         * Control.cs: Implemented methods of interface IExpressionAccessor.
2318
2319 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2320
2321         * SimpleWebHandlerParser.cs: correctly cache Type instead of the
2322         assembly for ashx/asmx. Otherwise we need to open the file and check
2323         for the class name in there. Thanks to Ben for pointing this out.
2324
2325 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2326
2327         * TemplateParser.cs: removed creation of StringWriter.  It's not used.
2328         * Control.cs: don't create the EventHandlerList until requested.
2329
2330 2004-09-03 Sanjay Gupta <gsanjay@novell.com>
2331         
2332         * Control.cs: Added new interfaces implemented in .Net 2.0. 
2333         * ExpressionBinding.cs: Added new class.
2334         * ExpressionBindingCollection.cs: Added new class.
2335         
2336 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2337
2338         * LiteralControl.cs: stylized. This control has EnableViewState disabled
2339         by default and doesn't get an automatic ID. When text is null -> "".
2340
2341 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
2342         
2343         * ControlSkinProc.cs:
2344         * DataSourceViewOperationCallback.cs:
2345         * DataSourceViewSelectCallback.cs:
2346         * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not 
2347         required in definition as delegates by default are sealed.
2348         
2349 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
2350
2351         * IDReferencePropertyAttribute.cs: Corrected and changed from interface
2352         to class.
2353         * IMobileTextWriter.cs: Corrected method signatures.
2354
2355 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
2356
2357         * ControlSkinProc.cs:
2358         * DataSourceViewOperationCallback.cs:
2359         * DataSourceViewSelectCallback.cs:
2360         * ExtractTemplateValuesMethod.cs: Added new delegates.
2361
2362 2004-08-06 Sanjay Gupta <gsanjay@novell.com>
2363
2364         * IBindableTemplate.cs:
2365         * ICallbackEventHandler.cs:
2366         * IControlBuilderAccessor.cs:
2367         * IControlDesignerAccessor.cs:
2368         * IControlTypeFilter.cs:
2369         * IDataItemContainer.cs:
2370         * IDataSourceViewSchemaAccessor.cs:
2371         * IDReferencePropertyAttribute.cs:
2372         * IExpressionsAccessor.cs:
2373         * IFilterResolutionService.cs:
2374         * IItemPaginationInfo.cs:
2375         * IMobileTextWriter.cs:
2376         * IPageHeader.cs:
2377         * IPaginationContainer.cs:
2378         * IPaginationInfo.cs:
2379         * IResourceResolutionService.cs:
2380         * IResourceUrlGenerator.cs:
2381         * IStateFormatter.cs:
2382         * IStyleSheet.cs:
2383         * IThemeResolutionService.cs:
2384         * IUrlResolutionService.cs:
2385         * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
2386
2387 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
2388
2389         * PostBackOptions.cs: Added new file and implemented the class.
2390
2391 2004-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2392
2393         * HtmlTextWriterTag.cs: readded author name.
2394
2395 2004-08-04 Sanjay Gupta <gsanjay@novell.com>
2396
2397         * HtmlTextWriterAttribute.cs:
2398         * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
2399         * CompilationMode.cs:
2400         * ConflictOptions.cs:
2401         * DataSourceCacheExpiry.cs:
2402         * DataSourceCapabilities.cs:
2403         * DataSourceOperation.cs:
2404         * TemplateContentType.cs:
2405         * TemplateInstance.cs:
2406         * UrlTypes.cs:
2407         * VerificationConditionalOperator.cs:
2408         * VerificationReportLevel.cs:
2409         * VerificationRule.cs:
2410         * XhtmlMobileDocType.cs: Added enumerations.
2411
2412 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2413
2414         * Control.cs: style. Reverted previous patch modification of
2415         TemplateSourceDirectory (failed when the control is reparented). Use
2416         HasControls() and Controls all over instead of _controls, as Controls
2417         property and HasControls() might be overriden.
2418
2419 2004-07-27 Alon Gazit <along@mainsoft.com>
2420
2421         * Control.cs: Changed the implementation of TemplateSourceDirectory
2422         and GetDefaultName(). replaced foreach statements with for statements, 
2423         in order to improve performence.
2424
2425 2004-07-27 Alon Gazit <along@mainsoft.com>
2426
2427         * Page.cs: changed the implementation of GetViewStateString().
2428         if the view state object is null there is no need to perform 
2429         Serialization.
2430         
2431 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2432
2433         * TemplateControl.cs: don't include private methods of base classes when
2434         auto-attaching events. Fixes bug 61569.
2435
2436 2004-07-14 Alon Gazit <along@mainsoft.com>
2437
2438         * HtmlTextWriter.cs: changed the Hashtables to case insensitive.         
2439 2004-07-08 Pablo Baena <pbaena@gmail.com>
2440
2441         * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
2442         
2443 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2444
2445         * Page.cs: added additional checks for saving/displaying trace data.
2446
2447         * PageParser.cs: removed checks for trace enabled in configuration
2448         files.
2449
2450 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2451
2452         * ControlCollection.cs: when clearing the control collection, tell the
2453         owners about the removal. Fixes bug #60800.
2454
2455 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2456
2457         * Page.cs: don't nullify _context after processing the request as there
2458         are events not triggered yet. Fixes bug #60726.
2459
2460 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2461
2462         * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
2463         bug #60681.
2464
2465 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2466
2467         * PageParser.cs:
2468         * UserControlParser.cs: set the page/user control base type even when no
2469         default directive provided. Fixes bug #60572.
2470
2471 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2472
2473         * PageParser.cs: use default trace settings from web.config and check
2474         if trace is only requested for local connections. Fixes bug #60180.
2475
2476 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2477
2478         * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When 
2479         we read the default directive, check the cache for the Type and if
2480         present, don't keep reading and store the type found.
2481
2482         * WebHandlerParser.cs:
2483         * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
2484         compiling.
2485
2486 2004-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2487
2488         * Control.cs: properly fixed bug #59794.
2489
2490 2004-06-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2491
2492         * Control.cs:
2493         (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
2494         #59794.
2495
2496 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2497
2498         * SimpleWebHandlerParser.cs:
2499         * TemplateParser.cs: pass the language when compiling from a file.
2500
2501 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2502
2503         * SimpleWebHandlerParser.cs: if we have a global.asax, move its
2504         reference to the end to help mcs loading the assemblies. Fixes bug
2505         #58768.
2506
2507         * TemplateParser.cs: same as above. Removed some kludges to workaround
2508         loading assemblies from bin path that are now in the runtime. Don't
2509         load the assemblies in bin if not needed, but still reference them
2510         when compiling.
2511
2512 2004-06-07  Alon Gazit <along@mainsoft.com>
2513         * Page.cs: Changed Page.ProcessPostData().
2514         After the change ,the state of controls that aren't visible is saved 
2515         during a postback.
2516         
2517 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2518
2519         * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
2520
2521 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2522
2523         * Page.cs: IsPostBack also returns true when method is GET and we have
2524         viewstate information in the query string. Fixes bug #58151.
2525
2526 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2527
2528         * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
2529         HttpRutime.TraceManager.
2530
2531         * PageParser.cs: for 'trace' we have 2 variables now.  Added support
2532         for 'buffer' attribute.
2533
2534 2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2535
2536         * Page.cs: implemented ClientTarget.
2537         * PageParser.cs: support for clientTarget and check for validity.
2538
2539 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2540
2541         * Control.cs:
2542         * Html32TextWriter.cs:
2543         * HtmlTextWriter.cs:
2544         * SimpleWebHandlerParser.cs:
2545         * TemplateControl.cs: Added protected missing members and attributes.
2546
2547 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2548
2549         * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
2550         calling a protected method of another object.
2551
2552 2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
2553
2554         * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
2555           (of other objects) are called in TypeConverterFormatter.
2556
2557 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2558
2559         * ObjectStateFormatter.cs: before choosing the binary formatter, check
2560         if the object type has a TypeConverter that can convert to/from string.
2561         Fixes bug #59495.
2562
2563         * Page.cs: call GetViewStateString from outside the WriteLine. This
2564         allows writing to the Response when getting the string without breaking
2565         the HTML generated.
2566
2567 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2568
2569         * HtmlTextWriter.cs: render end tag for unknown tags.
2570         Patch frmo Markus Krutner. Fixes bug #59466.
2571
2572 2004-05-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2573
2574         * Page.cs: call DeterminePostBackMode only once per request. Patch by
2575         Evain Jb.
2576
2577 2004-05-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2578
2579         * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
2580         [meddochat].
2581
2582         * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
2583         that.
2584
2585 2004-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2586
2587         * SimpleWebHandlerParser.cs:
2588         * TemplateParser.cs: for the assembly names given in the 'assembly'
2589         attribute, use LoadWithPartialName instead of Load.
2590 2004-03-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2591
2592         * Page.cs: return HttpContext.Current if _context has not yet been
2593         assigned to. Fixes bug #55245.
2594
2595 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2596
2597         * TemplateParser.cs: don't add import statement or assemblies from
2598         global.asax to every file. Fixes bug #55496.
2599
2600 2004-03-09  Juraj Skripsky <juraj@hotfeet.ch>
2601
2602         * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
2603         handle single quotes and a few corner cases correctly (see test cases).
2604
2605 2004-03-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2606
2607         * TemplateControl.cs: fixed typos and added new method names to the set
2608         of page events.
2609
2610 2004-02-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2611
2612         * ControlBuilder.cs: added SetTagName().
2613
2614         * ObjectTagBuilder.cs: use SetTagName so that we can properly close
2615         <object> builders if the closing tag is provided.
2616
2617 2004-02-16  Jackson Harper <jackson@ximian.com>
2618
2619         * Page.cs: Set cacheability for Location.DownStream.
2620         
2621 2004-02-10  Jackson Harper <jackson@ximian.com>
2622
2623         * TemplateParser.cs: Use full path if the assembly is in the
2624         private bin directory. Patch by Gonzalo Paniagua Javier.
2625         
2626 2004-02-09  Jackson Harper <jackson@ximian.com>
2627
2628         * Page.cs: Set cacheability for server side caching.
2629         
2630 2004-01-30  Jackson Harper <jackson@ximian.com>
2631
2632         * Control.cs: Ensure that dynamically loaded controls are
2633         initialized.
2634         
2635 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2636
2637         * ApplicationFileParser.cs: check for error in directives. Use
2638         GlobalAsaxCompiler.CompileApplicationType for compiling.
2639         
2640         * ObjectTagBuilder.cs: load the Type and check for errors.
2641
2642         * TemplateParser.cs: add assemblies and imports from global.asax.
2643
2644         Now we properly create accessors for session and application objects in
2645         the application itself, pages and controls. First step for fixing
2646         bug #53387.
2647
2648 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2649
2650         * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
2651         to Eric Lindvall for pointing this out.
2652
2653 2004-01-15  Jackson Harper <jackson@ximian.com>
2654
2655         * TemplateParser.cs: Detect if we are parsing a control or page
2656         properly.
2657         * Page.cs: vary by params and vary by headers can be null now.
2658         
2659 2004-01-15  Martin Willemoes Hansen  <mwh@sysrq.dk>
2660
2661         * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
2662         indention.
2663
2664 2004-01-14  Jackson Harper <jackson@ximian.com>
2665
2666         * Page.cs: If we have a postback that wasn't sent through a
2667         postback script (ie user hit submit on a input type=submit) call
2668         Validate so page validation occurs. This fixes bug #52770.
2669         
2670 2004-01-14  Jackson Harper <jackson@ximian.com>
2671
2672         * Page.cs: Don't tell the response to cache anymore. This is done
2673         when the cacheability is modified by a callback. Set the cache's
2674         duration.
2675         
2676 2004-01-14  Jackson Harper <jackson@ximian.com>
2677
2678         * TemplateParser.cs: If varybyparam is set to "none" make it null
2679         so we dont get a param named null in the outputcache key.
2680         
2681 2004-01-14  Jackson Harper <jackson@ximian.com>
2682
2683         * BasePartialCachingControl.cs: Use varyby attributes in key
2684         generation.
2685         
2686 2004-01-14  Jackson Harper <jackson@ximian.com>
2687
2688         * TemplateParser.cs: Add all the outputcache attribute error
2689         messages.
2690         
2691 2004-01-13  Jackson Harper <jackson@ximian.com>
2692
2693         * TemplateParser.cs: Add VaryByControls and Shared output cache
2694         properties. These are not assigned yet.
2695         * TemplateControlParser.cs: Do not ignore the OutputCache
2696         attribute.
2697         * BasePartialCachingControl.cs: Initial implementation. Keys are
2698         still not created properly.
2699         * StaticPartialCachingControl.cs: Assign properties in base class,
2700         implement CreateControl.
2701         
2702 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2703
2704         * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
2705
2706         * PageParser.cs: support validateRequest.
2707
2708         * TemplateControlParser.cs: get default values from system.web/pages
2709         section.
2710
2711         * TemplateParser.cs: added separate method for changing base type
2712         (Inherits or system.web/pages).
2713         
2714         * UserControlParser.cs: support system.web/pages defined base type.
2715
2716 2004-01-11  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2717
2718         * UserControl.cs: Added missing attribute, implemented method
2719         * Page.cs: Added missing attribute, implemented method
2720
2721 2004-01-10  Jackson Harper <jackson@ximian.com>
2722
2723         * Page.cs: Handle trace being enabled in the config file.
2724         
2725 2004-01-10  Jackson Harper <jackson@ximian.com>
2726
2727         * Page.cs: Save trace data before rendering it.
2728         * System.Web.dll.sources: Add TraceData.cs
2729         
2730 2004-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2731
2732         * Page.cs: removed a couple of MonoTODO on methods we're not gonna
2733         implement. Applied patch from Jan Jaros (mono-bug@jerryweb.info) to
2734         ensure that Unload event is raised. Fixes bug #52555.
2735
2736 2004-01-02  Zoltan Varga  <vargaz@freemail.hu>
2737
2738         * KeyedList.cs: 'private' is not allowed on explicit interface 
2739         implementations. Fixes 1.2 build.
2740
2741 2003-12-31  Jackson Harper <jackson@ximian.com>
2742
2743         * TemplateControlParser.cs: When registering tag prefixs make sure
2744         the file exists and throw the correct error if it does not.
2745         
2746 2003-12-25  Jackson Harper <jackson@ximian.com>
2747
2748         * Page.cs: Throw error if the session is accessed when sessions
2749         are disabled.
2750         
2751 2003-12-18  Jackson Harper <jackson@ximian.com>
2752
2753         * Page.cs: Write Trace info.
2754         
2755 2003-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2756
2757         * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
2758         * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
2759         internal.
2760         * PageParser.cs: the ctor is public.
2761         * PartialCachingAttribute.cs: added new ctor and Shared property.
2762
2763 2003-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2764
2765         * Page.cs: assign the ErrorPage to the context if we get an exception
2766         when processing the page which only calls Unload.
2767
2768         * PageParser.cs: handle ErrorPage.
2769
2770 2003-12-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2771
2772         * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
2773         are not [Serializable]. Fixes bug #52244.
2774
2775 2003-12-16  Jackson Harper <jackson@ximian.com>
2776
2777         * Page.cs: Render trace data when tracing is enabled.
2778         
2779 2003-12-15  Jackson Harper <jackson@ximian.com>
2780
2781         * PageParser.cs: Add Trace and Trace mode attributes.
2782         
2783 2003-12-15  Jackson Harper <jackson@ximian.com>
2784
2785         * Page.cs: Use the context trace object.
2786         
2787 2003-12-14  Alon Gazit <along@mainsoft.com>
2788         * AttributeCollection.cs: Changed AttributeCollection.Render().
2789         After the change attributes ,that their value is null, aren't 
2790         rendered.
2791
2792 2003-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2793
2794         * Control.cs: remove a few dangling ^M, don't set values for fields
2795         that has the default value. If Visible is modified and we're tracking
2796         viewstate, save and restore it. Fixes bug #48689.
2797
2798 2003-12-11  Jackson Harper <jackson@ximian.com>
2799
2800         * Control.cs: Give null for the ID if it hasn't been explicitly
2801         set. This fixes bug #51520.
2802         
2803 2003-12-08  Jackson Harper <jackson@ximian.com>
2804
2805         * PageParser.cs: Ignore the SmartNavigation attribute for now.
2806         
2807 2003-12-05  Jackson Harper <jackson@ximian.com>
2808
2809         * DataBinder.cs (GetIndexedPropertyValue): Check if container is
2810         an IList and use a cast instead of reflection to retrieve the item
2811         if it is. Fixes bug #51759.
2812         
2813 2003-12-04  Alon Gazit <along@mainsoft.com>
2814         * Page.cs: Changed Page.ID so it will call Control.ID.
2815         Fixed Bug 51682.          
2816
2817 2003-12-02  Jackson Harper <jackson@ximian.com>
2818
2819         * Page.cs: Implemented registered array declarations. Patch by
2820         Benjamin Jemlich <pcgod@gmx.net>
2821         
2822 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2823
2824         * TemplateParser.cs: basic check for 'classname' attribute and added
2825         patch by pcgod@gmx.net for bug #51568, which fixes automatic class
2826         names for pages starting with a number.
2827
2828 2003-11-30 Ben Maurer  <bmaurer@users.sourceforge.net>
2829
2830         * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
2831         reduction.
2832
2833         * ObjectStateFormatter.cs: Comment out tracing.
2834
2835 2003-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2836
2837         * Page.cs: fixed UICulture, LCID and Culture. Set the thread
2838         [UI]Culture before processing the request.
2839
2840         * PageParser.cs: read Culture, UICulture and LCID attributes. Added
2841         properties for these. Partially contributed by Mohammad Damt.
2842
2843         Fixes bug #51511.
2844
2845 2003-11-27  Jackson Harper <jackson@ximian.com>
2846
2847         * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
2848         51434.
2849         
2850 2003-11-22 Ben Maurer  <bmaurer@users.sourceforge.net>
2851
2852         * ObjectStateFormatter.cs: Fix bug when reading small ints.
2853         Add some tracing so we can see what is going on.
2854
2855 2003-11-21  Jackson Harper <jackson@ximian.com>
2856
2857         * Page.cs: Set vary by params when cache location is Server.
2858         
2859 2003-11-21 Ben Maurer  <bmaurer@users.sourceforge.net>
2860
2861         * ObjectStateFormatter.cs: v2 file. In v1.x this will be
2862         internal as LosFormatter will eventually use it to save
2863         the view state.
2864
2865 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2866
2867         * PersistChildrenAttribute.cs:
2868         * PersistenceModeAttribute.cs: implemented.
2869
2870         * TODO: Removed file.
2871         * OutputCacheLocation.cs:
2872         * TemplateControlParser.cs:
2873         * HtmlInputFile.cs: class status based fixes.
2874
2875 2003-11-19  Jackson Harper <jackson@ximian.com>
2876
2877         * Page.cs: Always set the cache expire time. Tell the response to
2878         cache itself for server side cached pages.
2879         
2880 2003-11-19  Jackson Harper <jackson@ximian.com>
2881
2882         * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
2883         thing, some corner cases still need work though. Was this the
2884         shortest lived method in the history of mono?
2885         
2886 2003-11-19  Jackson Harper <jackson@ximian.com>
2887
2888         * Control.cs: New method for resolving urls that use ~/ to denote
2889         the applications base directory.
2890         
2891 2003-11-19  Jackson Harper <jackson@ximian.com>
2892
2893         * TemplateParser.cs: Fix typo in error message.
2894                 
2895 2003-11-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2896
2897         * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
2898         to Sanjay Gupta.
2899
2900 2003-11-19  Todd Berman  <tberman@gentoo.org>
2901
2902         * KeyedList.cs:
2903         * KeyedListEnumerator.cs: New v2 implementations.
2904
2905 2003-11-17 Ben Maurer  <bmaurer@users.sourceforge.net>
2906
2907         * StateManagedCollection.cs: Implement.
2908
2909 2003-11-13  Jackson Harper  <jackson@ximian.com>
2910
2911         * Page.cs: Initial implementation of InitOutputCache.
2912         * TemplateParser.cs: Page OutputCache options
2913         
2914 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
2915
2916         * HierarchicalDataSourceControl.cs: Implement.
2917
2918 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
2919
2920         * XPathBinder.cs: Implemented.
2921
2922 2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
2923
2924         * DataSourceView.cs:
2925         * IDataSource.cs:
2926         * ListSourceHelper.cs:
2927         * DataSourceControl.cs:
2928         * HierarchicalDataSourceView.cs:
2929         * IHierarchicalDataSource.cs: Move v2 stuff.
2930
2931 2003-11-07 Jackson Harper <jackson@ximian.com>
2932
2933         * Control.cs (ResolveUrl): Special case for urls that consist of
2934         only a page anchor. ie <a href="#top">. This fixes bug #50165.
2935         
2936 2003-11-07 Ben Maurer  <bmaurer@users.sourceforge.net>
2937
2938         * IHierarchicalEnumerable.cs:
2939         * IHierarchyData.cs:
2940         * INavigateUIData.cs: New v2 interfaces.
2941         
2942 2003-11-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2943
2944         * Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
2945         space in generated javascript.
2946
2947 2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2948
2949         * LosFormatter.cs: encoding updates. 
2950         * Page.cs: implemented CodePage and ContentType.
2951         * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
2952         attributes.
2953
2954 2003-11-04 Ben Maurer  <bmaurer@users.sourceforge.net>
2955
2956         * Control.cs (GetWebResourceUrl): new v2 function
2957         * Page.cs (GetWebResourceUrl): ditto.
2958         make the JS we generate work with moz if the form is not a child
2959         of document.
2960         * WebResourceAttribute.cs: Added, new v2 attribute.
2961
2962 2003-10-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2963
2964         * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
2965
2966         * PageParser.cs: initialize the parser in the constructor, not just
2967         before compiling and reference the application assembly.
2968
2969         * SimpleWebHandlerParser.cs: reference the assembly that contains the
2970         application Type.
2971
2972         * TemplateControl.cs:
2973         * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
2974         path and physical path when compiling a user control.
2975         
2976         * TemplateParser.cs: new AddApplicationAssembly ().
2977         * UserControlParser.cs: now we get valid values in the ctor.
2978
2979         Referencing the application assembly fixes bug #49652.
2980         
2981
2982 2003-10-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2983
2984         * TemplateControl.cs: moved NoParamsInvoker class to its own file.
2985
2986 2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2987
2988         * BaseParser.cs: added CompilationConfig property.
2989
2990         * TemplateParser.cs:
2991         * SimpleWebHandlerParser.cs: added CompilationConfig property.
2992         Don't hardcode assembly names any more, assemblies in bin are added
2993         depending on the configuration. The default language is also taken
2994         from the configuration.
2995
2996 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2997
2998         * LosFormatter.cs: fixed bug #49604. Patch by yaronsh@mainsoft.com.
2999
3000 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3001
3002         * Control.cs: removed some debug lines.
3003         * Page.cs: implemented RegisterOnSubmitStatement
3004         * TemplateControl.cs: fixed wire up for methods with no parameters.
3005
3006 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3007
3008         * PageParser.cs: ignore ValidateRequest by now.
3009
3010 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3011
3012         * System.Web.UI/TemplateControl.cs: support for wiring up events without
3013         parameters.
3014
3015 2003-10-08  Pedro Martnez Juli  <yoros@wanadoo.es>
3016
3017         * PageParser.cs: drop some useless code.
3018
3019 2002-10-29  Gaurav Vaish <gvaish_mono AT lycos.com>
3020
3021         * Utils.cs   : GetScriptLocation(HttpContext) - Partial Implementation.
3022
3023 2003-10-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3024
3025         * System.Web.UI/PageParser.cs:
3026         * System.Web.UI/TemplateControlParser.cs: honour the input file given
3027         as argument.
3028
3029 2003-09-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3030
3031         * Control.cs:
3032         (ClearChildViewState): doh! Don't clear control viewstate but the
3033         viewstate of possible children.
3034         (LoadViewStateRecursive): load viewstate even when control is not
3035         visible.
3036         Fixes bug #49024.
3037         The rest are just dangling ^M removed.
3038
3039         * DataBoundLiteralControl.cs:
3040         (LoadViewState): we get an object [], not a string [].
3041
3042 2003-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3043
3044         * Control.cs: implemented ClearChildViewState ().
3045
3046 2003-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3047
3048         * Page.cs: store unique IDs for controls requiring postback. Fixes bug
3049         #47985.
3050
3051 2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3052
3053         * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
3054         dependencies so that it's recompiled when changed.
3055
3056 2003-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3057
3058         * LosFormatter.cs: fixed Deserialize for empty viewstate.
3059
3060 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3061
3062         * Page.cs: check if controls that require postback have
3063         been changed by an event and register them to be notified of data
3064         changed event.
3065
3066 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3067
3068         * Control.cs: patch by yaronshkop@hotmail.com (Yaron Shkop) that fixes
3069         bug #47866.
3070
3071 2003-08-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3072
3073         * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
3074         are not serializable. Fixes bug #47784.
3075
3076 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3077
3078         * Control.cs: index the viewstates saved by the control position, not
3079         the control name. Fixes bug #47697.
3080
3081 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3082
3083         * ControlCollection.cs:
3084         * EmptyControlCollection.cs: create a minimum ArrayList for this.
3085
3086         * BaseParser.cs: added setter for BaseVirtualDir.
3087
3088         * Page.cs: fixed message when restoring view state fails.
3089         * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
3090         when a relative path to the control is given. Fixes bug #47685.
3091
3092 2003-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3093
3094         * Control.cs: when we load the viewstate for a control that has children
3095         viewstates and the child is not found, keep its viewstate around and
3096         wait until the child is added to load the viewstate. Fixes bug #47697.
3097
3098 2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3099
3100         * TemplateControl.cs: more Delegate.CreateDelegate fixes.
3101
3102 2003-08-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3103
3104         * PartialCachingControl.cs: is not abstract
3105
3106 2003-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3107
3108         * SimpleHandlerFactory.cs: implemented GetHandler.
3109         * WebHandlerParser.cs: new file that parses .ashx files.
3110
3111 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3112
3113         * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
3114
3115 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3116
3117         * UserControl.cs: Added attribute
3118         * BasePartialCachingControl.cs: New class and paritally implemented
3119         * DesignerDataBoundLiteralControl.cs: New class and implemented
3120         * DesignTimeTemplateParser.cs:
3121         * PartialCachingControl.cs:
3122         * StaticPartialCachingControl.cs: New class and paritally implemented
3123
3124 2003-07-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3125
3126         * ApplicationFileParser.cs: Fixed signature
3127         * DesignTimeParseData.cs: Added missing properties, implemented
3128         * Page.cs: Added attributes
3129         * PageParser.cs:
3130         * TemplateControlParser.cs:
3131         * TemplateParser.cs:
3132         * UserControlParser.cs: Fixed signature
3133
3134 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3135
3136         * HtmlControlPersistableAttribute.cs: Added
3137         * IgnoreUnknownContentAttribute.cs: Added
3138
3139 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3140
3141         * IUserControlDesignerAccessor.cs: Added and implemented
3142         * Control.cs: Missing member added, added all attributes
3143         * Page.cs: Added attributes, fixed signature
3144         * TemplateControl.cs: Fixed signature, added all attributes
3145         * UserControl.cs: Added all attributes, added and implemented missing interface
3146         
3147 2003-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3148
3149         * ControlCollection.cs: fixed bug #46472.
3150
3151 2003-07-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3152
3153         * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
3154
3155 2003-07-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3156
3157         * SimpleWebHandlerParser.cs: updated to new compilation interface.
3158
3159         * TemplateParser.cs: use the new parameter when compiling.  
3160
3161 2003-07-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3162
3163         * Page.cs: also keep the value for the second try on handling postback
3164         events.
3165
3166 2003-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3167
3168         * BaseParser.cs: fixed MapPath for non-rooted files.
3169         * PageParser.cs: don't pass a non-virtual file around.
3170         * TemplateControlParser.cs: InputFile uses MapPath now.  Take care of
3171         the exception teh may be throw by MapPath on an invalid path.
3172
3173         * TemplateParser.cs: removed unused method.
3174         * UserControlParser.cs: modified inputfile. The result is the same, but 
3175         this one is better.
3176
3177 2003-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3178
3179         * RootBuilder.cs: throw exception when the tagprefix is not valid or
3180         not found.
3181
3182 2003-05-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3183
3184         * TemplateControlParser.cs: return after processing @Register.
3185
3186 2003-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3187
3188         * TemplateParser.cs: Added support for server side includes.
3189
3190 2003-05-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3191
3192         * TemplateControl.cs: fixed the flags used to find the methods that
3193         are automatically hooked up on events.
3194
3195         * TemplateParser.cs: don't compile a source file directly.  Use the
3196         cache instead.
3197
3198 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3199
3200         * BaseParser.cs: Location property is now here. Added a couple of
3201         convenience methods to throw a ParseException.
3202
3203         * TemplateParser.cs:
3204         * TemplateControlParser.cs:
3205         * PageParser.cs: throw ParseException where appropiate.
3206
3207 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3208
3209         * ApplicationFileParser.cs: use the generator to actually parse the
3210         file.
3211
3212         * ControlBuilder.cs: small fix in NamingContainerType because
3213         TemplateBuilders have a null ControlType. When a control is appended
3214         to a parent, assign the child's parent.
3215
3216         * UserControlParser.cs: fixed the value of InputFile.
3217
3218 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3219
3220         * ApplicationFileParser.cs: store the Context and override
3221         BaseVirtualDir so that it's the application path.
3222
3223         * BaseParser.cs: removed CurrentVirtualPath property.
3224
3225         * TemplateControlParser.cs: use BaseVirtualDir.
3226
3227         * UserControlParser.cs: removed CurrentVirtualPath.
3228
3229 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3230
3231         * TemplateParser.cs: always reference all the assemblies in bin
3232         directory.
3233
3234 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3235
3236         * ApplicationFileParser.cs: it works now. Prior to these changes, we
3237         were using the compiler directly.
3238
3239         * BaseParser.cs: added some useful properties and methods.
3240
3241         * CodeBuilder.cs: use ILocation.
3242         * CodeRenderBuilder.cs: use ILocation.
3243         * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
3244
3245         * ControlBuilder.cs: made it useful.
3246
3247         * DataBindingBuilder.cs: the control type for data bound text is
3248         DataBoundLiteralControl now.
3249
3250         * ObjectTagBuilder.cs: store some object tag attributes.
3251
3252         * PageParser.cs: handle page-only directives.
3253
3254         * RootBuilder.cs: bah.
3255         * SimpleWebHandlerParser.cs: made it dummy.
3256         * TemplateControl.cs: Modified file.
3257
3258         * TemplateControlParser.cs: handle directives that are common to pages
3259         and user controls.
3260
3261         * TemplateParser.cs: utility methods and handling of directives that
3262         are common to app, page and user controls.
3263
3264         * UserControl.cs: added ControlBuilderAttribute.
3265
3266         * UserControlControlBuilder.cs: builder for user controls.
3267         * UserControlParser.cs: use the new interfaces.
3268
3269 2003-04-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3270
3271         * ControlBuilder.cs: line and fileName are protected now.
3272
3273         * CodeBuilder.cs: base class for the next 2 files.
3274         * CodeRenderBuilder.cs: builder for code render.
3275         * DataBindingBuilder.cs: builder for data binding.
3276
3277 2003-04-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3278
3279         * ITagNameToTypeMapper.cs: made it internal.
3280
3281         * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
3282         * ObjectTag.cs:
3283         * RootBuilder.cs: initial builder.
3284
3285 2003-04-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3286
3287         * CollectionBuilder.cs:
3288         * TemplateBuilder.cs: new classes derived from ControlBuilder that
3289         represent a property or a ITemplate.
3290         
3291         * ControlBuilder.cs: implemented all the missing bits.
3292         * TemplateParser.cs: added mapping from tag name to Type feature.
3293
3294 2003-02-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3295
3296         * Control.cs: have i definitely fixed naming container stuff this time?
3297
3298         * LosFormatter.cs: activated binary serialization code.
3299
3300 2003-02-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3301
3302         * Control.cs:
3303         (AddedControl): fixed default id assignation when the sequence of
3304         AddedControl until it's included in the page or one of its controls
3305         does not pass through a naming container.
3306
3307 2003-02-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3308
3309         * Control.cs: give different default names depending on the place where
3310         it is assigned. Implemented ResolveURl (no more ~ rendered in
3311         attributes!).
3312
3313 2003-02-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3314
3315         * Control.cs: when adding a control, assign default names to th
3316         children that don't have one.
3317
3318 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3319
3320         * SimpleWebHandlerParser.cs: modified to use the new parser interface.
3321
3322 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3323
3324         * Control.cs: some more tweaks to naming containers stuff.
3325         * DataBinder.cs: don't throw exception if the container is null.
3326
3327         * Page.cs: now we can render client scripts, startup scripts and hidden
3328         fields. Only render __VIEWSTATE if there is someone that will take care
3329         of it.
3330         (RaisePostBackEvents): first try the last one that required raise event,
3331         then try __EVENTTARGET.
3332
3333 2003-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3334
3335         * Control.cs: fixes in UniqueID, FindControl, AddedControl,
3336         UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
3337         FindControl work with NamingContainers.
3338         
3339         * ControlCollection.cs: notify the parent when clearing the collection.
3340
3341         * LosFormatter.cs: Added debugging output and generate a valid
3342         viewstate even for unknown types.
3343
3344         * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
3345         viewstate.
3346
3347 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3348
3349         * Page.cs: make it fire the LoadData related events also for controls
3350         such as ImageButton, whose variable(s) in the query string are of the
3351         form ctrl_name.x and only fire them once per control.
3352
3353 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3354
3355         * DataBinder.cs:
3356         (GetPropertyValue): don't try to get the property as indexed
3357
3358 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3359
3360         * DataBinder.cs: use TypeDescriptor to get the properties and their
3361         values.
3362
3363 2003-01-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3364
3365         * Control.cs:
3366         (AddedControl): take the children to the same state of the parent.
3367         (InitRecursive): set the page of the children.
3368
3369         * Page.cs: removed one line (it's done a few lines above).
3370
3371         * UserControl.cs:
3372         (OnInit): always call InitializeAsUserControl
3373         (InitializeAsUserControl): sets the page for the control.
3374
3375 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3376
3377         * Control.cs: fixed bug #36037.
3378
3379 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3380
3381         * BaseParser.cs: a couple of path fixes to make it work
3382         when the page is not in the root directory.
3383
3384 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3385
3386         * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
3387         reporting the bug.
3388
3389 2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3390
3391         * BaseParser.cs: use MapPath and context to locate files.
3392         * Control.cs: implemented MapPathSecure.
3393         * TemplateControl.cs: use UrlUtils to generate the path.
3394         * TemplateControlParser.cs: use the context and MapPath.
3395         * UserControl.cs: implemented MapPath.
3396         * UserControlParser.cs: added context parameter to constructor.
3397
3398 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3399
3400         * Control.cs: implemented MapPathSecure.
3401         * Page.cs: fixed Server property.
3402
3403 2002-12-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3404
3405         * DataBinder.cs: try the indexer if the property is not found in
3406         GetPropertyValue ().
3407
3408 2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3409
3410         * Control.cs: added AutoEventWireup internal property.
3411
3412         * Page.cs: removed page events wire up from here.
3413
3414         * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
3415         and user controls events.
3416
3417         * TemplateControlParser.cs: process the options that are applicable
3418         once we have the instance of the control.
3419
3420         * TemplateParser.cs: also stores the options.
3421
3422         * UserControl.cs: hook up events before initializing the control.
3423
3424
3425 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3426
3427         * Control.cs: new method to set bindingContainer value.
3428         * TemplateControl.cs: added controls are not binding containers.
3429
3430 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3431
3432         * Control.cs: implemented TemplateSourceDirectory.
3433         * TemplateControl.cs: implemented LoadControl and LoadTemplate.
3434
3435 2002-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3436
3437         * UserControl.cs: fixed SetAttribute.
3438         * UserControlParser.cs: set the correct base type.
3439
3440 2002-11-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3441
3442         * TemplateParser.cs: fixed BaseType.
3443         * UserControlParser.cs: helper class to compile user controls.
3444
3445 2002-11-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3446
3447         * LosFormatter.cs: added DateTime to special types.
3448
3449 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3450
3451         * LosFormatter.cs: added array serialization support. Disabled binary
3452         serialization and add some debugging code.
3453
3454         * StateBag.cs: the length of the list of value can be less than the
3455         length if the list of keys when remaining values are null.
3456
3457 2002-11-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3458
3459         * Page.cs: return something useful in GetPostBackClientEvent.
3460
3461 2002-11-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3462
3463         * Page.cs: implemented FileDependecies and made it protected.
3464
3465 2002-10-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3466
3467         * Control.cs: save control names instead of the controls
3468         themselves to the ViewState.
3469
3470         * LosFormatter.cs: added support for serializing unknown
3471         types. BinaryFormatter does not work so you better don't store anything
3472         of unknown Type in ViewState.
3473
3474         * Page.cs: GetViewStateString works now using LosFormatter.
3475         Complete "Control execution lifecycle" by unloading all the child
3476         controls. Check for null in RaisePostBackEvents.
3477         LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
3478
3479 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3480
3481         * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
3482
3483 2002-10-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3484
3485         * LosFormatter.cs: Use WebEncoding.Encoding.
3486
3487         * Control.cs:
3488         * Page.cs: fixed namespace.
3489
3490 2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3491
3492         * Page.cs: set the context in ProcessRequest. Added a few trace calls.
3493         * Control.cs: added some trace information.
3494
3495 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3496
3497         * SimpleHandlerFactory.cs: new handler for .ashx files.
3498
3499 2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3500
3501         * System.Web.UI/PageHandlerFactory.cs: new file.
3502         * System.Web.UI/PageParser.cs:
3503         * System.Web.UI/TemplateControlParser.cs: we are now able to compile
3504         pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
3505
3506 2002-09-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3507
3508         * Control.cs: implemented ObBubbleEvent.
3509         * Page.cs: temporary workaround to make POST work with xsp server.
3510
3511 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3512
3513         * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
3514         return pvt methods.
3515
3516 2002-09-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3517
3518         * SimpleWebHandlerParser.cs: New file.
3519         * WebServiceParser.cs: New file.
3520
3521 2002-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3522
3523         * LosFormatter.cs: almost fully implemented.
3524
3525 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3526
3527         * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
3528         * EmptyControlCollection.cs: throw correct exception.
3529         * LosFormatter.cs: stubbed out.
3530         * OutputCacheLocation.cs: little fix.
3531
3532 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3533
3534         * System.Web.UI/ApplicationFileParser.cs:
3535         * System.Web.UI/BaseParser.cs:
3536         * System.Web.UI/PageParser.cs:
3537         * System.Web.UI/TemplateControl.cs:
3538         * System.Web.UI/TemplateControlParser.cs:
3539         * System.Web.UI/TemplateParser.cs: first steps to move xsp into
3540         System.Web.
3541
3542 2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3543
3544         * Page.cs: request to render postback script can be after form started
3545         rendering.
3546
3547 2002-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3548
3549         * Page.cs: added more page events to invoke automagically if some
3550         methods are defined.
3551
3552 2002-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3553
3554         * Control.cs:
3555         (SaveViewState): save state even when control is not visible.
3556         (SaveViewStateRecursive):
3557         (LoadViewStateRecursive): made internal.
3558
3559 2002-07-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3560
3561         * Page.cs: improved event raising to allow client postback for a wider
3562         variety of actions (clicking an hyperlink, ...).
3563
3564 2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3565
3566         * UserControl.cs: implemented Load/SaveViewState.
3567
3568 2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3569
3570         * AttributeCollection.cs:
3571         (Add): handle 'style' through styleCollection.
3572
3573         * CssStyleCollection.cs:
3574         (fillStyle): renamed to FillStyle and made it internal.
3575
3576         * Page.cs:
3577         (GetViewStateString): fixed, broken after other recent changes.
3578         (ProcessPostData): allow a second try for postback data after OnLoad.
3579         (ProcessRequest): clear controls collection, removed call to 
3580         UnloadRecursive.
3581
3582 2002-07-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3583
3584         * Control.cs: uncommented Dispose.
3585
3586         * Page.cs:
3587         (DeterminePostBackMode): more checkings.
3588         (GetPostBackClientHyperLink): implemented.
3589         (GetPostBackEventReference): added some comments with the HTML that MS
3590         generates for that.
3591         (ProcessRequest): fixed processing order. The page is unloaded after
3592         a request and regenerated from view state on subsequents posts.
3593
3594 2002-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3595
3596         * Control.cs: fixed related to ViewState. Added RemovedControl.
3597
3598         * ControlCollection.cs: notify owner of control removal.
3599         
3600         * CssStyleCollection.cs: almost rewritten to make it render the style
3601         attribute after changes to it.
3602
3603         * Page.cs: follow the guidelines in 'Control execution lifecycle'.
3604         Removed Xml code.
3605
3606         * StateBag.cs: don't use IDictionary.GetEnumerator on the
3607         HybridDictionary: it makes the program give an InvalidCastException at
3608         runtime. Why?
3609
3610 2002-07-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3611
3612         * Page.cs: fire Init and Load events for all children.
3613
3614 2002-07-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3615
3616         * UserControl.cs: New file.
3617
3618 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3619
3620         * ControlBuilderAttribute.cs: finished implementation.
3621
3622 2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3623
3624         * ConstructorNeedsTagAttribute.cs: the default constructor sets the
3625         property to false.
3626
3627 2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3628
3629         * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
3630
3631         * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
3632         Hashtable. Added internal .ctor.
3633
3634         * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
3635         Equals and GetHashCode.
3636
3637         * System.Web.UI/DataBoundLiteralControl.cs:
3638         (LoadViewState):
3639         (SaveViewState): implemented.
3640
3641         * System.Web.UI/Page.cs: FileDependencies is not public.
3642
3643         * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
3644         (GetHashCode):
3645         (Equals):
3646         (IsDefaultAttribute): implemented.
3647
3648 2002-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3649
3650         * Control.cs: fixed Visible property.
3651         * Page.cs: fixed GetViewStateString.
3652
3653 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3654
3655         * System.Web.UI/Page.cs:
3656         (GetViewStateString): new function to give the server access to the
3657         generated view state string.
3658         (Validate): d'oh!
3659
3660 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3661
3662         * Control.cs:
3663         (SaveViewstateRecursive): implemented.
3664         (SaveViewState): fixed.
3665         (IParserAccessor.AddParsedSubObject): don't use 'this'.
3666
3667         * Page.cs: added code to save view state to an xml file.  It's not
3668         being used right now.
3669
3670 2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3671
3672         * System.Web.UI/LiteralControl.cs: 
3673         Fixes based on class status page:
3674         
3675                 - Add attributes (DefaultEvent, ParseChildren).
3676                 - Fix declarations.
3677                 - Explicitly implement some interfaces (IPostBackDataHandler
3678                 and IPostBackEventHandler).
3679                 - Implemented some missing methods.
3680
3681 2002-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3682
3683         * Control.cs: reimplemented FindControls.
3684
3685         * Page.cs:
3686         (.ctor): set the page for this control.
3687         (IsPostBack): return valid value.
3688         (DeterminePostBackMode): finished.
3689         (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
3690         (ProcessPostData): implemented. Raises change and postback events.
3691         (ProcessRequest): changed to support reuse of the instance.
3692         (RegisterRequiresPostBack): implemented.
3693
3694         * ValidatorCollection.cs: implemented all methods.
3695
3696 2002-06-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3697
3698         * Control.cs:
3699         * Page.cs: first attemp to save view state.
3700
3701         * HtmlForm.cs: don't render Action.
3702
3703 2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3704
3705         * Page.cs: implemented more properties using information we already
3706         have in Context.
3707         (OnFormRender):
3708         (OnFormPostRender):
3709         (VerifyRenderingInServerForm): implemented.
3710
3711 2002-06-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3712
3713         * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
3714         out runtime. Renamed Page_Init and Page_Load.
3715
3716         After this, we can load a dll and render HTML in linux.
3717
3718 2002-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3719
3720         * Control.cs:
3721         (AddedControl): new function that is called whenever a control is
3722         added to a collection of controls in a container. It sets the defaults
3723         except for Page.
3724         
3725         * ControlCollection.cs: call AddedControl in Add/AddAt.
3726
3727         * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
3728         SetStaticString and SetDataBoundString.
3729
3730         * Page.cs: removed SetDefaults.
3731
3732 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3733
3734         * CompiledTemplateBuilder.cs: new file. Used in the code generated
3735         by xsp.
3736
3737         * Control.cs:
3738         (BindingContainer): implemented.
3739         (EnsureChildControls): avoid stack overflow.
3740
3741         * DataBinder.cs: implemented Eval and PropertyValue.
3742
3743 2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3744
3745         * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
3746         bug as in regular attributes).
3747
3748 2002-06-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3749
3750         * Control.cs: implemented PreventAutoID.
3751
3752         * Page.cs:
3753         (SetDefaults): don't set ID automatically if Control.PreventAutoID has
3754         been called.
3755
3756 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3757
3758         * Page.cs:
3759         (Validators): if the collection is null, create one.
3760         (GetPostBackEventReference 2): don't throw exception.
3761         (GetPostBackClientEvent): return a string with containing the method
3762         name, the control name and the argument.
3763
3764 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3765
3766         * Page.cs: SetPage is now called SetDefaults and also sets a default 
3767         ID for controls that don't have one yet.
3768
3769 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3770
3771         * Page.cs:
3772         (GetPostBackClient):
3773         (RegisterRequiresPostBack): don't throw NotImplementedException to
3774         keep going.
3775         (ProcessRequest): set the current page as the Page property for *all*
3776         the controls, not just the direct children of the page.
3777
3778 2002-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3779
3780         * Control.cs:
3781         (MapPathSecure): until security is implemented, return the same path
3782         received as argument.
3783         (RenderControl): call OnPreRender before rendering the control. So
3784         AdRotator can read its configuration file.Is there any other place
3785         where this should be done?
3786
3787         * HtmlTextWriter.cs:
3788         (AddAttribute): fixed. Now it really stores attributes.
3789         (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
3790
3791 2002-06-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3792
3793         * ControlCollection.cs:
3794         (AddAt): if index is -1 behave as a plain Add.
3795
3796 2002-06-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3797
3798         * Page.cs: for each child control to render, assign Control.Page.
3799         Probably also needed in HtmlContainerControl derived classes.
3800         
3801 2002-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3802
3803         * AttributeCollection.cs: don't need a Hastable. StateBag now works 
3804         fine and takes care of the details.
3805
3806         * Control.cs: added HasChildren property.
3807
3808         * StateBag.cs: fixed a couple of nasty bugs.
3809
3810 2002-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3811
3812         * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
3813         Invoke Page_Init and/or Page_Load if the user supplied them (though 
3814         this should depend on AutoEventWireUp attribute of Page directive).
3815
3816 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3817
3818         * Control.cs: don't throw exception in ControlID. By now, it returns ID.
3819
3820         * Page.cs: 
3821         (ProcessRequest): implemented.
3822
3823 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3824
3825         * System.Web.UI/Page.cs: finished stubbing out. Implemented some
3826         methods.
3827
3828 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3829
3830         * Page.cs:
3831         (FileDependencies): now is public public.
3832         (EnableViewStateMAC): uncommented and made protected. 
3833         (GetTypeHashCode): added method.
3834         
3835 2002-05-24  Duncan Mak  <duncan@ximian.com>
3836
3837         * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
3838
3839         * StateBag.cs (Item): Changed the visibility level of the this
3840         [object] indexer.
3841
3842         Misc. formatting edits, fixing some bugs introduced by the indentation.
3843
3844         * DataBinder.cs (Eval)
3845         (GetIndexedPropertyValue)
3846         (GetPropertyValue): Fixed return types.
3847
3848 2002-05-21  Miguel de Icaza  <miguel@ximian.com>
3849
3850         * HtmlTextWriter.cs: Use this to change the member instances.
3851
3852 2002-05-17  Duncan Mak  <duncan@ximian.com>
3853
3854         * AttributeCollection.cs: 
3855         * ControlCollection.cs: 
3856         * CssStyleCollection.cs: 
3857         * DataBindingCollection.cs: 
3858         * EmptyControlCollection.cs: Added missing Collection classes.
3859
3860 2002-05-17  Duncan Mak  <duncan@ximian.com>
3861
3862         * BaseParser.cs:
3863         * TemplateParser.cs:  Implemented. BaseParser is weird because
3864         there is no documentation on what it does.
3865
3866         * ControlBuilder.cs:
3867         
3868         * DataBinder.cs: 
3869         * DataBinding.cs: Added. 
3870
3871         * DataBoundLiteralControl.cs: 
3872         * Triplet.cs: Added.
3873
3874         * RenderMethod.cs: Added this delegate for Control.cs
3875
3876 2002-05-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3877
3878         * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
3879
3880 2002-05-14  Duncan Mak  <duncan@ximian.com>
3881
3882         * ValidationPropertyAttribute.cs: Added to CVS.
3883
3884 2002-05-10  Duncan Mak  <duncan@ximian.com>
3885
3886         * ConstructorNeedsTagAttribute.cs: 
3887         * ControlBuilderAttribute.cs: 
3888         * ImageClickEventArgs.cs: 
3889         * ParseChildrenAttribute.cs: 
3890         * PartialCachingAttribute.cs: 
3891         * PersistChildrenAttribute.cs: 
3892         * PersistenceModeAttribute.cs: 
3893         * TemplateContainerAttribute.cs: Added to CVS.
3894
3895         * PersistanceMode.cs: Removed, fixed typo.
3896         * PersistenceMode.cs: Replacing above.
3897
3898         * StateBag.cs (this): Fixed indexer, it takes a string as the
3899         index, not an object.
3900
3901         * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection. 
3902
3903         * Page.cs (Validators): return type should be ValidatorCollection,
3904         not ValidatedCollection.
3905
3906         * TagPrefixAttribute.cs: Added to CVS.
3907
3908 2002-05-07  Duncan Mak  <duncan@ximian.com>
3909
3910         * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
3911
3912 2002-03-26   Gaurav Vaish <gvaish@iitk.ac.in>
3913
3914         * DataBindingHandlerAttribute.cs
3915                                    - Completed
3916         * ToolboxDataAttribute.cs  - Completed
3917
3918 2002-01-03  Nick Drochak  <ndrochak@gol.com>
3919
3920         * DesignTimeParseData.cs: initialze static member to avoid compile
3921         error
3922         * PropertyConverter.cs: remove uneeded exception variables from
3923         catch blocks.
3924
3925 2002-01-02  Nick Drochak  <ndrochak@gol.com>
3926
3927         * DesignTimeParseData.cs: fix header to show correct class name
3928
3929 2001-12-21   Gaurav Vaish <gvaish@iitk.ac.in>
3930
3931         * StateBag.cs             - Completed
3932
3933 2001-12-19   Gaurav Vaish <gvaish@iitk.ac.in>
3934
3935         * Pair.cs                 - Small undocumented class. Completed.
3936
3937 2001-12-18   Gaurav Vaish <gvaish@iitk.ac.in>
3938
3939         * DesignTimeParseData.cs  - Initial implementation
3940         * StateBag.cs             - Initial implementation
3941
3942 2001-12-17   Gaurav Vaish <gvaish@iitk.ac.in>
3943
3944         * PropertyConverter.cs    - Undocumented class. Completed.
3945         * Utils.cs                - Undocumented, private class.
3946                                     Initial implementation
3947
3948 2001-08-28  Bob Smith  <bob@thestuff.net>
3949         * Control.cs: Figured out some undocumented API.
3950         * Added TODO.
3951         * BuildMethod.cs: Initial implementation.
3952         * BuildTemplateMethod.cs: Initial implementation.
3953         * HtmlTextWriterAttribute.cs: Initial implementation.
3954         * HtmlTextWriterStyle.cs: Initial implementation.
3955         * HtmlTextWriterTag.cs: Initial implementation.
3956         * IAttributeAccessor.cs: Initial implementation.
3957         * IDataBindingsAccessor.cs: Initial implementation.
3958         * ImageClickEventHandler.cs: Initial implementation.
3959         * INamingContainer.cs: Initial implementation.
3960         * IParserAccessor.cs: Initial implementation.
3961         * IPostBackDataHandler.cs: Initial implementation.
3962         * IPostBackEventHandler.cs: Initial implementation.
3963         * IStateManager.cs: Initial implementation.
3964         * ITagNameToTypeMapper.cs: Initial implementation.
3965         * ITemplate.cs: Initial implementation.
3966         * IValidator.cs: Initial implementation.
3967         * OutputCacheLocation.cs: Initial implementation.
3968         * PersistanceMode.cs: Initial implementation.
3969         * StateItem.cs: Initial implementation.
3970
3971 2001-08-27  Bob Smith  <bob@thestuff.net>
3972
3973         * Control.cs: Bug fixes and implementations.
3974
3975 2001-08-24  Bob Smith  <bob@thestuff.net>
3976
3977         * Control.cs: Bug fixes.
3978
3979 2001-08-23  Bob Smith  <bob@thestuff.net>
3980
3981         * Control.cs: More implementation. Events reworked for performance.
3982
3983 2001-08-22  Bob Smith  <bob@thestuff.net>
3984
3985         * LiteralControl.cs: Implemented.
3986         * Control.cs: Even more implementation (Events). What a beast.
3987
3988 2001-08-20  Bob Smith  <bob@thestuff.net>
3989
3990         * Control.cs: More implementation. Not done yet. Shutter.
3991
3992 2001-08-17  Bob Smith  <bob@thestuff.net>
3993
3994         * Control.cs: Partial implementation.