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