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