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