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