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