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