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