ef5d93c2fe2e0e60c66a5e5b6888303102857554
[mono.git] / mcs / class / System.Web / System.Web.UI / ChangeLog
1 2004-09-09 Sanjay Gupta <gsanjay@novell.com>
2
3         * Control.cs: Implemented methods of interface IExpressionAccessor.
4
5 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6
7         * SimpleWebHandlerParser.cs: correctly cache Type instead of the
8         assembly for ashx/asmx. Otherwise we need to open the file and check
9         for the class name in there. Thanks to Ben for pointing this out.
10
11 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
12
13         * TemplateParser.cs: removed creation of StringWriter.  It's not used.
14         * Control.cs: don't create the EventHandlerList until requested.
15
16 2004-09-03 Sanjay Gupta <gsanjay@novell.com>
17         
18         * Control.cs: Added new interfaces implemented in .Net 2.0. 
19         * ExpressionBinding.cs: Added new class.
20         * ExpressionBindingCollection.cs: Added new class.
21         
22 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
23
24         * LiteralControl.cs: stylized. This control has EnableViewState disabled
25         by default and doesn't get an automatic ID. When text is null -> "".
26
27 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
28         
29         * ControlSkinProc.cs:
30         * DataSourceViewOperationCallback.cs:
31         * DataSourceViewSelectCallback.cs:
32         * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not 
33         required in definition as delegates by default are sealed.
34         
35 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
36
37         * IDReferencePropertyAttribute.cs: Corrected and changed from interface
38         to class.
39         * IMobileTextWriter.cs: Corrected method signatures.
40
41 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
42
43         * ControlSkinProc.cs:
44         * DataSourceViewOperationCallback.cs:
45         * DataSourceViewSelectCallback.cs:
46         * ExtractTemplateValuesMethod.cs: Added new delegates.
47
48 2004-08-06 Sanjay Gupta <gsanjay@novell.com>
49
50         * IBindableTemplate.cs:
51         * ICallbackEventHandler.cs:
52         * IControlBuilderAccessor.cs:
53         * IControlDesignerAccessor.cs:
54         * IControlTypeFilter.cs:
55         * IDataItemContainer.cs:
56         * IDataSourceViewSchemaAccessor.cs:
57         * IDReferencePropertyAttribute.cs:
58         * IExpressionsAccessor.cs:
59         * IFilterResolutionService.cs:
60         * IItemPaginationInfo.cs:
61         * IMobileTextWriter.cs:
62         * IPageHeader.cs:
63         * IPaginationContainer.cs:
64         * IPaginationInfo.cs:
65         * IResourceResolutionService.cs:
66         * IResourceUrlGenerator.cs:
67         * IStateFormatter.cs:
68         * IStyleSheet.cs:
69         * IThemeResolutionService.cs:
70         * IUrlResolutionService.cs:
71         * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
72
73 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
74
75         * PostBackOptions.cs: Added new file and implemented the class.
76
77 2004-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
78
79         * HtmlTextWriterTag.cs: readded author name.
80
81 2004-08-04 Sanjay Gupta <gsanjay@novell.com>
82
83         * HtmlTextWriterAttribute.cs:
84         * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
85         * CompilationMode.cs:
86         * ConflictOptions.cs:
87         * DataSourceCacheExpiry.cs:
88         * DataSourceCapabilities.cs:
89         * DataSourceOperation.cs:
90         * TemplateContentType.cs:
91         * TemplateInstance.cs:
92         * UrlTypes.cs:
93         * VerificationConditionalOperator.cs:
94         * VerificationReportLevel.cs:
95         * VerificationRule.cs:
96         * XhtmlMobileDocType.cs: Added enumerations.
97
98 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
99
100         * Control.cs: style. Reverted previous patch modification of
101         TemplateSourceDirectory (failed when the control is reparented). Use
102         HasControls() and Controls all over instead of _controls, as Controls
103         property and HasControls() might be overriden.
104
105 2004-07-27 Alon Gazit <along@mainsoft.com>
106
107         * Control.cs: Changed the implementation of TemplateSourceDirectory
108         and GetDefaultName(). replaced foreach statements with for statements, 
109         in order to improve performence.
110
111 2004-07-27 Alon Gazit <along@mainsoft.com>
112
113         * Page.cs: changed the implementation of GetViewStateString().
114         if the view state object is null there is no need to perform 
115         Serialization.
116         
117 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
118
119         * TemplateControl.cs: don't include private methods of base classes when
120         auto-attaching events. Fixes bug 61569.
121
122 2004-07-14 Alon Gazit <along@mainsoft.com>
123
124         * HtmlTextWriter.cs: changed the Hashtables to case insensitive.         
125 2004-07-08 Pablo Baena <pbaena@gmail.com>
126
127         * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
128         
129 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
130
131         * Page.cs: added additional checks for saving/displaying trace data.
132
133         * PageParser.cs: removed checks for trace enabled in configuration
134         files.
135
136 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
137
138         * ControlCollection.cs: when clearing the control collection, tell the
139         owners about the removal. Fixes bug #60800.
140
141 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
142
143         * Page.cs: don't nullify _context after processing the request as there
144         are events not triggered yet. Fixes bug #60726.
145
146 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
147
148         * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
149         bug #60681.
150
151 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
152
153         * PageParser.cs:
154         * UserControlParser.cs: set the page/user control base type even when no
155         default directive provided. Fixes bug #60572.
156
157 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
158
159         * PageParser.cs: use default trace settings from web.config and check
160         if trace is only requested for local connections. Fixes bug #60180.
161
162 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
163
164         * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When 
165         we read the default directive, check the cache for the Type and if
166         present, don't keep reading and store the type found.
167
168         * WebHandlerParser.cs:
169         * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
170         compiling.
171
172 2004-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
173
174         * Control.cs: properly fixed bug #59794.
175
176 2004-06-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
177
178         * Control.cs:
179         (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
180         #59794.
181
182 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
183
184         * SimpleWebHandlerParser.cs:
185         * TemplateParser.cs: pass the language when compiling from a file.
186
187 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
188
189         * SimpleWebHandlerParser.cs: if we have a global.asax, move its
190         reference to the end to help mcs loading the assemblies. Fixes bug
191         #58768.
192
193         * TemplateParser.cs: same as above. Removed some kludges to workaround
194         loading assemblies from bin path that are now in the runtime. Don't
195         load the assemblies in bin if not needed, but still reference them
196         when compiling.
197
198 2004-06-07  Alon Gazit <along@mainsoft.com>
199         * Page.cs: Changed Page.ProcessPostData().
200         After the change ,the state of controls that aren't visible is saved 
201         during a postback.
202         
203 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
204
205         * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
206
207 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
208
209         * Page.cs: IsPostBack also returns true when method is GET and we have
210         viewstate information in the query string. Fixes bug #58151.
211
212 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
213
214         * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
215         HttpRutime.TraceManager.
216
217         * PageParser.cs: for 'trace' we have 2 variables now.  Added support
218         for 'buffer' attribute.
219
220 2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
221
222         * Page.cs: implemented ClientTarget.
223         * PageParser.cs: support for clientTarget and check for validity.
224
225 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
226
227         * Control.cs:
228         * Html32TextWriter.cs:
229         * HtmlTextWriter.cs:
230         * SimpleWebHandlerParser.cs:
231         * TemplateControl.cs: Added protected missing members and attributes.
232
233 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
234
235         * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
236         calling a protected method of another object.
237
238 2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
239
240         * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
241           (of other objects) are called in TypeConverterFormatter.
242
243 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
244
245         * ObjectStateFormatter.cs: before choosing the binary formatter, check
246         if the object type has a TypeConverter that can convert to/from string.
247         Fixes bug #59495.
248
249         * Page.cs: call GetViewStateString from outside the WriteLine. This
250         allows writing to the Response when getting the string without breaking
251         the HTML generated.
252
253 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
254
255         * HtmlTextWriter.cs: render end tag for unknown tags.
256         Patch frmo Markus Kräutner. Fixes bug #59466.
257
258 2004-05-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
259
260         * Page.cs: call DeterminePostBackMode only once per request. Patch by
261         Evain Jb.
262
263 2004-05-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
264
265         * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
266         [meddochat].
267
268         * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
269         that.
270
271 2004-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
272
273         * SimpleWebHandlerParser.cs:
274         * TemplateParser.cs: for the assembly names given in the 'assembly'
275         attribute, use LoadWithPartialName instead of Load.
276 2004-03-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
277
278         * Page.cs: return HttpContext.Current if _context has not yet been
279         assigned to. Fixes bug #55245.
280
281 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
282
283         * TemplateParser.cs: don't add import statement or assemblies from
284         global.asax to every file. Fixes bug #55496.
285
286 2004-03-09  Juraj Skripsky <juraj@hotfeet.ch>
287
288         * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
289         handle single quotes and a few corner cases correctly (see test cases).
290
291 2004-03-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
292
293         * TemplateControl.cs: fixed typos and added new method names to the set
294         of page events.
295
296 2004-02-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
297
298         * ControlBuilder.cs: added SetTagName().
299
300         * ObjectTagBuilder.cs: use SetTagName so that we can properly close
301         <object> builders if the closing tag is provided.
302
303 2004-02-16  Jackson Harper <jackson@ximian.com>
304
305         * Page.cs: Set cacheability for Location.DownStream.
306         
307 2004-02-10  Jackson Harper <jackson@ximian.com>
308
309         * TemplateParser.cs: Use full path if the assembly is in the
310         private bin directory. Patch by Gonzalo Paniagua Javier.
311         
312 2004-02-09  Jackson Harper <jackson@ximian.com>
313
314         * Page.cs: Set cacheability for server side caching.
315         
316 2004-01-30  Jackson Harper <jackson@ximian.com>
317
318         * Control.cs: Ensure that dynamically loaded controls are
319         initialized.
320         
321 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
322
323         * ApplicationFileParser.cs: check for error in directives. Use
324         GlobalAsaxCompiler.CompileApplicationType for compiling.
325         
326         * ObjectTagBuilder.cs: load the Type and check for errors.
327
328         * TemplateParser.cs: add assemblies and imports from global.asax.
329
330         Now we properly create accessors for session and application objects in
331         the application itself, pages and controls. First step for fixing
332         bug #53387.
333
334 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
335
336         * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
337         to Eric Lindvall for pointing this out.
338
339 2004-01-15  Jackson Harper <jackson@ximian.com>
340
341         * TemplateParser.cs: Detect if we are parsing a control or page
342         properly.
343         * Page.cs: vary by params and vary by headers can be null now.
344         
345 2004-01-15  Martin Willemoes Hansen  <mwh@sysrq.dk>
346
347         * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
348         indention.
349
350 2004-01-14  Jackson Harper <jackson@ximian.com>
351
352         * Page.cs: If we have a postback that wasn't sent through a
353         postback script (ie user hit submit on a input type=submit) call
354         Validate so page validation occurs. This fixes bug #52770.
355         
356 2004-01-14  Jackson Harper <jackson@ximian.com>
357
358         * Page.cs: Don't tell the response to cache anymore. This is done
359         when the cacheability is modified by a callback. Set the cache's
360         duration.
361         
362 2004-01-14  Jackson Harper <jackson@ximian.com>
363
364         * TemplateParser.cs: If varybyparam is set to "none" make it null
365         so we dont get a param named null in the outputcache key.
366         
367 2004-01-14  Jackson Harper <jackson@ximian.com>
368
369         * BasePartialCachingControl.cs: Use varyby attributes in key
370         generation.
371         
372 2004-01-14  Jackson Harper <jackson@ximian.com>
373
374         * TemplateParser.cs: Add all the outputcache attribute error
375         messages.
376         
377 2004-01-13  Jackson Harper <jackson@ximian.com>
378
379         * TemplateParser.cs: Add VaryByControls and Shared output cache
380         properties. These are not assigned yet.
381         * TemplateControlParser.cs: Do not ignore the OutputCache
382         attribute.
383         * BasePartialCachingControl.cs: Initial implementation. Keys are
384         still not created properly.
385         * StaticPartialCachingControl.cs: Assign properties in base class,
386         implement CreateControl.
387         
388 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
389
390         * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
391
392         * PageParser.cs: support validateRequest.
393
394         * TemplateControlParser.cs: get default values from system.web/pages
395         section.
396
397         * TemplateParser.cs: added separate method for changing base type
398         (Inherits or system.web/pages).
399         
400         * UserControlParser.cs: support system.web/pages defined base type.
401
402 2004-01-11  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
403
404         * UserControl.cs: Added missing attribute, implemented method
405         * Page.cs: Added missing attribute, implemented method
406
407 2004-01-10  Jackson Harper <jackson@ximian.com>
408
409         * Page.cs: Handle trace being enabled in the config file.
410         
411 2004-01-10  Jackson Harper <jackson@ximian.com>
412
413         * Page.cs: Save trace data before rendering it.
414         * System.Web.dll.sources: Add TraceData.cs
415         
416 2004-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
417
418         * Page.cs: removed a couple of MonoTODO on methods we're not gonna
419         implement. Applied patch from Jan Jaros (mono-bug@jerryweb.info) to
420         ensure that Unload event is raised. Fixes bug #52555.
421
422 2004-01-02  Zoltan Varga  <vargaz@freemail.hu>
423
424         * KeyedList.cs: 'private' is not allowed on explicit interface 
425         implementations. Fixes 1.2 build.
426
427 2003-12-31  Jackson Harper <jackson@ximian.com>
428
429         * TemplateControlParser.cs: When registering tag prefixs make sure
430         the file exists and throw the correct error if it does not.
431         
432 2003-12-25  Jackson Harper <jackson@ximian.com>
433
434         * Page.cs: Throw error if the session is accessed when sessions
435         are disabled.
436         
437 2003-12-18  Jackson Harper <jackson@ximian.com>
438
439         * Page.cs: Write Trace info.
440         
441 2003-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
442
443         * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
444         * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
445         internal.
446         * PageParser.cs: the ctor is public.
447         * PartialCachingAttribute.cs: added new ctor and Shared property.
448
449 2003-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
450
451         * Page.cs: assign the ErrorPage to the context if we get an exception
452         when processing the page which only calls Unload.
453
454         * PageParser.cs: handle ErrorPage.
455
456 2003-12-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
457
458         * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
459         are not [Serializable]. Fixes bug #52244.
460
461 2003-12-16  Jackson Harper <jackson@ximian.com>
462
463         * Page.cs: Render trace data when tracing is enabled.
464         
465 2003-12-15  Jackson Harper <jackson@ximian.com>
466
467         * PageParser.cs: Add Trace and Trace mode attributes.
468         
469 2003-12-15  Jackson Harper <jackson@ximian.com>
470
471         * Page.cs: Use the context trace object.
472         
473 2003-12-14  Alon Gazit <along@mainsoft.com>
474         * AttributeCollection.cs: Changed AttributeCollection.Render().
475         After the change attributes ,that their value is null, aren't 
476         rendered.
477
478 2003-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
479
480         * Control.cs: remove a few dangling ^M, don't set values for fields
481         that has the default value. If Visible is modified and we're tracking
482         viewstate, save and restore it. Fixes bug #48689.
483
484 2003-12-11  Jackson Harper <jackson@ximian.com>
485
486         * Control.cs: Give null for the ID if it hasn't been explicitly
487         set. This fixes bug #51520.
488         
489 2003-12-08  Jackson Harper <jackson@ximian.com>
490
491         * PageParser.cs: Ignore the SmartNavigation attribute for now.
492         
493 2003-12-05  Jackson Harper <jackson@ximian.com>
494
495         * DataBinder.cs (GetIndexedPropertyValue): Check if container is
496         an IList and use a cast instead of reflection to retrieve the item
497         if it is. Fixes bug #51759.
498         
499 2003-12-04  Alon Gazit <along@mainsoft.com>
500         * Page.cs: Changed Page.ID so it will call Control.ID.
501         Fixed Bug 51682.          
502
503 2003-12-02  Jackson Harper <jackson@ximian.com>
504
505         * Page.cs: Implemented registered array declarations. Patch by
506         Benjamin Jemlich <pcgod@gmx.net>
507         
508 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
509
510         * TemplateParser.cs: basic check for 'classname' attribute and added
511         patch by pcgod@gmx.net for bug #51568, which fixes automatic class
512         names for pages starting with a number.
513
514 2003-11-30 Ben Maurer  <bmaurer@users.sourceforge.net>
515
516         * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
517         reduction.
518
519         * ObjectStateFormatter.cs: Comment out tracing.
520
521 2003-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
522
523         * Page.cs: fixed UICulture, LCID and Culture. Set the thread
524         [UI]Culture before processing the request.
525
526         * PageParser.cs: read Culture, UICulture and LCID attributes. Added
527         properties for these. Partially contributed by Mohammad Damt.
528
529         Fixes bug #51511.
530
531 2003-11-27  Jackson Harper <jackson@ximian.com>
532
533         * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
534         51434.
535         
536 2003-11-22 Ben Maurer  <bmaurer@users.sourceforge.net>
537
538         * ObjectStateFormatter.cs: Fix bug when reading small ints.
539         Add some tracing so we can see what is going on.
540
541 2003-11-21  Jackson Harper <jackson@ximian.com>
542
543         * Page.cs: Set vary by params when cache location is Server.
544         
545 2003-11-21 Ben Maurer  <bmaurer@users.sourceforge.net>
546
547         * ObjectStateFormatter.cs: v2 file. In v1.x this will be
548         internal as LosFormatter will eventually use it to save
549         the view state.
550
551 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
552
553         * PersistChildrenAttribute.cs:
554         * PersistenceModeAttribute.cs: implemented.
555
556         * TODO: Removed file.
557         * OutputCacheLocation.cs:
558         * TemplateControlParser.cs:
559         * HtmlInputFile.cs: class status based fixes.
560
561 2003-11-19  Jackson Harper <jackson@ximian.com>
562
563         * Page.cs: Always set the cache expire time. Tell the response to
564         cache itself for server side cached pages.
565         
566 2003-11-19  Jackson Harper <jackson@ximian.com>
567
568         * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
569         thing, some corner cases still need work though. Was this the
570         shortest lived method in the history of mono?
571         
572 2003-11-19  Jackson Harper <jackson@ximian.com>
573
574         * Control.cs: New method for resolving urls that use ~/ to denote
575         the applications base directory.
576         
577 2003-11-19  Jackson Harper <jackson@ximian.com>
578
579         * TemplateParser.cs: Fix typo in error message.
580                 
581 2003-11-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
582
583         * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
584         to Sanjay Gupta.
585
586 2003-11-19  Todd Berman  <tberman@gentoo.org>
587
588         * KeyedList.cs:
589         * KeyedListEnumerator.cs: New v2 implementations.
590
591 2003-11-17 Ben Maurer  <bmaurer@users.sourceforge.net>
592
593         * StateManagedCollection.cs: Implement.
594
595 2003-11-13  Jackson Harper  <jackson@ximian.com>
596
597         * Page.cs: Initial implementation of InitOutputCache.
598         * TemplateParser.cs: Page OutputCache options
599         
600 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
601
602         * HierarchicalDataSourceControl.cs: Implement.
603
604 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
605
606         * XPathBinder.cs: Implemented.
607
608 2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
609
610         * DataSourceView.cs:
611         * IDataSource.cs:
612         * ListSourceHelper.cs:
613         * DataSourceControl.cs:
614         * HierarchicalDataSourceView.cs:
615         * IHierarchicalDataSource.cs: Move v2 stuff.
616
617 2003-11-07 Jackson Harper <jackson@ximian.com>
618
619         * Control.cs (ResolveUrl): Special case for urls that consist of
620         only a page anchor. ie <a href="#top">. This fixes bug #50165.
621         
622 2003-11-07 Ben Maurer  <bmaurer@users.sourceforge.net>
623
624         * IHierarchicalEnumerable.cs:
625         * IHierarchyData.cs:
626         * INavigateUIData.cs: New v2 interfaces.
627         
628 2003-11-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
629
630         * Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
631         space in generated javascript.
632
633 2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
634
635         * LosFormatter.cs: encoding updates. 
636         * Page.cs: implemented CodePage and ContentType.
637         * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
638         attributes.
639
640 2003-11-04 Ben Maurer  <bmaurer@users.sourceforge.net>
641
642         * Control.cs (GetWebResourceUrl): new v2 function
643         * Page.cs (GetWebResourceUrl): ditto.
644         make the JS we generate work with moz if the form is not a child
645         of document.
646         * WebResourceAttribute.cs: Added, new v2 attribute.
647
648 2003-10-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
649
650         * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
651
652         * PageParser.cs: initialize the parser in the constructor, not just
653         before compiling and reference the application assembly.
654
655         * SimpleWebHandlerParser.cs: reference the assembly that contains the
656         application Type.
657
658         * TemplateControl.cs:
659         * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
660         path and physical path when compiling a user control.
661         
662         * TemplateParser.cs: new AddApplicationAssembly ().
663         * UserControlParser.cs: now we get valid values in the ctor.
664
665         Referencing the application assembly fixes bug #49652.
666         
667
668 2003-10-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
669
670         * TemplateControl.cs: moved NoParamsInvoker class to its own file.
671
672 2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
673
674         * BaseParser.cs: added CompilationConfig property.
675
676         * TemplateParser.cs:
677         * SimpleWebHandlerParser.cs: added CompilationConfig property.
678         Don't hardcode assembly names any more, assemblies in bin are added
679         depending on the configuration. The default language is also taken
680         from the configuration.
681
682 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
683
684         * LosFormatter.cs: fixed bug #49604. Patch by yaronsh@mainsoft.com.
685
686 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
687
688         * Control.cs: removed some debug lines.
689         * Page.cs: implemented RegisterOnSubmitStatement
690         * TemplateControl.cs: fixed wire up for methods with no parameters.
691
692 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
693
694         * PageParser.cs: ignore ValidateRequest by now.
695
696 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
697
698         * System.Web.UI/TemplateControl.cs: support for wiring up events without
699         parameters.
700
701 2003-10-08  Pedro Martínez Juliá  <yoros@wanadoo.es>
702
703         * PageParser.cs: drop some useless code.
704
705 2002-10-29  Gaurav Vaish <gvaish_mono AT lycos.com>
706
707         * Utils.cs   : GetScriptLocation(HttpContext) - Partial Implementation.
708
709 2003-10-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
710
711         * System.Web.UI/PageParser.cs:
712         * System.Web.UI/TemplateControlParser.cs: honour the input file given
713         as argument.
714
715 2003-09-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
716
717         * Control.cs:
718         (ClearChildViewState): doh! Don't clear control viewstate but the
719         viewstate of possible children.
720         (LoadViewStateRecursive): load viewstate even when control is not
721         visible.
722         Fixes bug #49024.
723         The rest are just dangling ^M removed.
724
725         * DataBoundLiteralControl.cs:
726         (LoadViewState): we get an object [], not a string [].
727
728 2003-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
729
730         * Control.cs: implemented ClearChildViewState ().
731
732 2003-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
733
734         * Page.cs: store unique IDs for controls requiring postback. Fixes bug
735         #47985.
736
737 2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
738
739         * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
740         dependencies so that it's recompiled when changed.
741
742 2003-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
743
744         * LosFormatter.cs: fixed Deserialize for empty viewstate.
745
746 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
747
748         * Page.cs: check if controls that require postback have
749         been changed by an event and register them to be notified of data
750         changed event.
751
752 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
753
754         * Control.cs: patch by yaronshkop@hotmail.com (Yaron Shkop) that fixes
755         bug #47866.
756
757 2003-08-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
758
759         * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
760         are not serializable. Fixes bug #47784.
761
762 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
763
764         * Control.cs: index the viewstates saved by the control position, not
765         the control name. Fixes bug #47697.
766
767 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
768
769         * ControlCollection.cs:
770         * EmptyControlCollection.cs: create a minimum ArrayList for this.
771
772         * BaseParser.cs: added setter for BaseVirtualDir.
773
774         * Page.cs: fixed message when restoring view state fails.
775         * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
776         when a relative path to the control is given. Fixes bug #47685.
777
778 2003-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
779
780         * Control.cs: when we load the viewstate for a control that has children
781         viewstates and the child is not found, keep its viewstate around and
782         wait until the child is added to load the viewstate. Fixes bug #47697.
783
784 2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
785
786         * TemplateControl.cs: more Delegate.CreateDelegate fixes.
787
788 2003-08-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
789
790         * PartialCachingControl.cs: is not abstract
791
792 2003-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
793
794         * SimpleHandlerFactory.cs: implemented GetHandler.
795         * WebHandlerParser.cs: new file that parses .ashx files.
796
797 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
798
799         * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
800
801 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
802
803         * UserControl.cs: Added attribute
804         * BasePartialCachingControl.cs: New class and paritally implemented
805         * DesignerDataBoundLiteralControl.cs: New class and implemented
806         * DesignTimeTemplateParser.cs:
807         * PartialCachingControl.cs:
808         * StaticPartialCachingControl.cs: New class and paritally implemented
809
810 2003-07-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
811
812         * ApplicationFileParser.cs: Fixed signature
813         * DesignTimeParseData.cs: Added missing properties, implemented
814         * Page.cs: Added attributes
815         * PageParser.cs:
816         * TemplateControlParser.cs:
817         * TemplateParser.cs:
818         * UserControlParser.cs: Fixed signature
819
820 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
821
822         * HtmlControlPersistableAttribute.cs: Added
823         * IgnoreUnknownContentAttribute.cs: Added
824
825 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
826
827         * IUserControlDesignerAccessor.cs: Added and implemented
828         * Control.cs: Missing member added, added all attributes
829         * Page.cs: Added attributes, fixed signature
830         * TemplateControl.cs: Fixed signature, added all attributes
831         * UserControl.cs: Added all attributes, added and implemented missing interface
832         
833 2003-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
834
835         * ControlCollection.cs: fixed bug #46472.
836
837 2003-07-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
838
839         * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
840
841 2003-07-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
842
843         * SimpleWebHandlerParser.cs: updated to new compilation interface.
844
845         * TemplateParser.cs: use the new parameter when compiling.  
846
847 2003-07-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
848
849         * Page.cs: also keep the value for the second try on handling postback
850         events.
851
852 2003-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
853
854         * BaseParser.cs: fixed MapPath for non-rooted files.
855         * PageParser.cs: don't pass a non-virtual file around.
856         * TemplateControlParser.cs: InputFile uses MapPath now.  Take care of
857         the exception teh may be throw by MapPath on an invalid path.
858
859         * TemplateParser.cs: removed unused method.
860         * UserControlParser.cs: modified inputfile. The result is the same, but 
861         this one is better.
862
863 2003-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
864
865         * RootBuilder.cs: throw exception when the tagprefix is not valid or
866         not found.
867
868 2003-05-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
869
870         * TemplateControlParser.cs: return after processing @Register.
871
872 2003-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
873
874         * TemplateParser.cs: Added support for server side includes.
875
876 2003-05-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
877
878         * TemplateControl.cs: fixed the flags used to find the methods that
879         are automatically hooked up on events.
880
881         * TemplateParser.cs: don't compile a source file directly.  Use the
882         cache instead.
883
884 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
885
886         * BaseParser.cs: Location property is now here. Added a couple of
887         convenience methods to throw a ParseException.
888
889         * TemplateParser.cs:
890         * TemplateControlParser.cs:
891         * PageParser.cs: throw ParseException where appropiate.
892
893 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
894
895         * ApplicationFileParser.cs: use the generator to actually parse the
896         file.
897
898         * ControlBuilder.cs: small fix in NamingContainerType because
899         TemplateBuilders have a null ControlType. When a control is appended
900         to a parent, assign the child's parent.
901
902         * UserControlParser.cs: fixed the value of InputFile.
903
904 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
905
906         * ApplicationFileParser.cs: store the Context and override
907         BaseVirtualDir so that it's the application path.
908
909         * BaseParser.cs: removed CurrentVirtualPath property.
910
911         * TemplateControlParser.cs: use BaseVirtualDir.
912
913         * UserControlParser.cs: removed CurrentVirtualPath.
914
915 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
916
917         * TemplateParser.cs: always reference all the assemblies in bin
918         directory.
919
920 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
921
922         * ApplicationFileParser.cs: it works now. Prior to these changes, we
923         were using the compiler directly.
924
925         * BaseParser.cs: added some useful properties and methods.
926
927         * CodeBuilder.cs: use ILocation.
928         * CodeRenderBuilder.cs: use ILocation.
929         * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
930
931         * ControlBuilder.cs: made it useful.
932
933         * DataBindingBuilder.cs: the control type for data bound text is
934         DataBoundLiteralControl now.
935
936         * ObjectTagBuilder.cs: store some object tag attributes.
937
938         * PageParser.cs: handle page-only directives.
939
940         * RootBuilder.cs: bah.
941         * SimpleWebHandlerParser.cs: made it dummy.
942         * TemplateControl.cs: Modified file.
943
944         * TemplateControlParser.cs: handle directives that are common to pages
945         and user controls.
946
947         * TemplateParser.cs: utility methods and handling of directives that
948         are common to app, page and user controls.
949
950         * UserControl.cs: added ControlBuilderAttribute.
951
952         * UserControlControlBuilder.cs: builder for user controls.
953         * UserControlParser.cs: use the new interfaces.
954
955 2003-04-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
956
957         * ControlBuilder.cs: line and fileName are protected now.
958
959         * CodeBuilder.cs: base class for the next 2 files.
960         * CodeRenderBuilder.cs: builder for code render.
961         * DataBindingBuilder.cs: builder for data binding.
962
963 2003-04-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
964
965         * ITagNameToTypeMapper.cs: made it internal.
966
967         * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
968         * ObjectTag.cs:
969         * RootBuilder.cs: initial builder.
970
971 2003-04-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
972
973         * CollectionBuilder.cs:
974         * TemplateBuilder.cs: new classes derived from ControlBuilder that
975         represent a property or a ITemplate.
976         
977         * ControlBuilder.cs: implemented all the missing bits.
978         * TemplateParser.cs: added mapping from tag name to Type feature.
979
980 2003-02-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
981
982         * Control.cs: have i definitely fixed naming container stuff this time?
983
984         * LosFormatter.cs: activated binary serialization code.
985
986 2003-02-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
987
988         * Control.cs:
989         (AddedControl): fixed default id assignation when the sequence of
990         AddedControl until it's included in the page or one of its controls
991         does not pass through a naming container.
992
993 2003-02-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
994
995         * Control.cs: give different default names depending on the place where
996         it is assigned. Implemented ResolveURl (no more ~ rendered in
997         attributes!).
998
999 2003-02-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1000
1001         * Control.cs: when adding a control, assign default names to th
1002         children that don't have one.
1003
1004 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1005
1006         * SimpleWebHandlerParser.cs: modified to use the new parser interface.
1007
1008 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1009
1010         * Control.cs: some more tweaks to naming containers stuff.
1011         * DataBinder.cs: don't throw exception if the container is null.
1012
1013         * Page.cs: now we can render client scripts, startup scripts and hidden
1014         fields. Only render __VIEWSTATE if there is someone that will take care
1015         of it.
1016         (RaisePostBackEvents): first try the last one that required raise event,
1017         then try __EVENTTARGET.
1018
1019 2003-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1020
1021         * Control.cs: fixes in UniqueID, FindControl, AddedControl,
1022         UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
1023         FindControl work with NamingContainers.
1024         
1025         * ControlCollection.cs: notify the parent when clearing the collection.
1026
1027         * LosFormatter.cs: Added debugging output and generate a valid
1028         viewstate even for unknown types.
1029
1030         * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
1031         viewstate.
1032
1033 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1034
1035         * Page.cs: make it fire the LoadData related events also for controls
1036         such as ImageButton, whose variable(s) in the query string are of the
1037         form ctrl_name.x and only fire them once per control.
1038
1039 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1040
1041         * DataBinder.cs:
1042         (GetPropertyValue): don't try to get the property as indexed
1043
1044 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1045
1046         * DataBinder.cs: use TypeDescriptor to get the properties and their
1047         values.
1048
1049 2003-01-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1050
1051         * Control.cs:
1052         (AddedControl): take the children to the same state of the parent.
1053         (InitRecursive): set the page of the children.
1054
1055         * Page.cs: removed one line (it's done a few lines above).
1056
1057         * UserControl.cs:
1058         (OnInit): always call InitializeAsUserControl
1059         (InitializeAsUserControl): sets the page for the control.
1060
1061 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1062
1063         * Control.cs: fixed bug #36037.
1064
1065 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1066
1067         * BaseParser.cs: a couple of path fixes to make it work
1068         when the page is not in the root directory.
1069
1070 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1071
1072         * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
1073         reporting the bug.
1074
1075 2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1076
1077         * BaseParser.cs: use MapPath and context to locate files.
1078         * Control.cs: implemented MapPathSecure.
1079         * TemplateControl.cs: use UrlUtils to generate the path.
1080         * TemplateControlParser.cs: use the context and MapPath.
1081         * UserControl.cs: implemented MapPath.
1082         * UserControlParser.cs: added context parameter to constructor.
1083
1084 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1085
1086         * Control.cs: implemented MapPathSecure.
1087         * Page.cs: fixed Server property.
1088
1089 2002-12-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1090
1091         * DataBinder.cs: try the indexer if the property is not found in
1092         GetPropertyValue ().
1093
1094 2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1095
1096         * Control.cs: added AutoEventWireup internal property.
1097
1098         * Page.cs: removed page events wire up from here.
1099
1100         * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
1101         and user controls events.
1102
1103         * TemplateControlParser.cs: process the options that are applicable
1104         once we have the instance of the control.
1105
1106         * TemplateParser.cs: also stores the options.
1107
1108         * UserControl.cs: hook up events before initializing the control.
1109
1110
1111 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1112
1113         * Control.cs: new method to set bindingContainer value.
1114         * TemplateControl.cs: added controls are not binding containers.
1115
1116 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1117
1118         * Control.cs: implemented TemplateSourceDirectory.
1119         * TemplateControl.cs: implemented LoadControl and LoadTemplate.
1120
1121 2002-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1122
1123         * UserControl.cs: fixed SetAttribute.
1124         * UserControlParser.cs: set the correct base type.
1125
1126 2002-11-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1127
1128         * TemplateParser.cs: fixed BaseType.
1129         * UserControlParser.cs: helper class to compile user controls.
1130
1131 2002-11-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1132
1133         * LosFormatter.cs: added DateTime to special types.
1134
1135 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1136
1137         * LosFormatter.cs: added array serialization support. Disabled binary
1138         serialization and add some debugging code.
1139
1140         * StateBag.cs: the length of the list of value can be less than the
1141         length if the list of keys when remaining values are null.
1142
1143 2002-11-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1144
1145         * Page.cs: return something useful in GetPostBackClientEvent.
1146
1147 2002-11-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1148
1149         * Page.cs: implemented FileDependecies and made it protected.
1150
1151 2002-10-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1152
1153         * Control.cs: save control names instead of the controls
1154         themselves to the ViewState.
1155
1156         * LosFormatter.cs: added support for serializing unknown
1157         types. BinaryFormatter does not work so you better don't store anything
1158         of unknown Type in ViewState.
1159
1160         * Page.cs: GetViewStateString works now using LosFormatter.
1161         Complete "Control execution lifecycle" by unloading all the child
1162         controls. Check for null in RaisePostBackEvents.
1163         LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
1164
1165 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1166
1167         * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
1168
1169 2002-10-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1170
1171         * LosFormatter.cs: Use WebEncoding.Encoding.
1172
1173         * Control.cs:
1174         * Page.cs: fixed namespace.
1175
1176 2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1177
1178         * Page.cs: set the context in ProcessRequest. Added a few trace calls.
1179         * Control.cs: added some trace information.
1180
1181 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1182
1183         * SimpleHandlerFactory.cs: new handler for .ashx files.
1184
1185 2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1186
1187         * System.Web.UI/PageHandlerFactory.cs: new file.
1188         * System.Web.UI/PageParser.cs:
1189         * System.Web.UI/TemplateControlParser.cs: we are now able to compile
1190         pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
1191
1192 2002-09-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1193
1194         * Control.cs: implemented ObBubbleEvent.
1195         * Page.cs: temporary workaround to make POST work with xsp server.
1196
1197 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1198
1199         * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
1200         return pvt methods.
1201
1202 2002-09-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1203
1204         * SimpleWebHandlerParser.cs: New file.
1205         * WebServiceParser.cs: New file.
1206
1207 2002-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1208
1209         * LosFormatter.cs: almost fully implemented.
1210
1211 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1212
1213         * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
1214         * EmptyControlCollection.cs: throw correct exception.
1215         * LosFormatter.cs: stubbed out.
1216         * OutputCacheLocation.cs: little fix.
1217
1218 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1219
1220         * System.Web.UI/ApplicationFileParser.cs:
1221         * System.Web.UI/BaseParser.cs:
1222         * System.Web.UI/PageParser.cs:
1223         * System.Web.UI/TemplateControl.cs:
1224         * System.Web.UI/TemplateControlParser.cs:
1225         * System.Web.UI/TemplateParser.cs: first steps to move xsp into
1226         System.Web.
1227
1228 2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1229
1230         * Page.cs: request to render postback script can be after form started
1231         rendering.
1232
1233 2002-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1234
1235         * Page.cs: added more page events to invoke automagically if some
1236         methods are defined.
1237
1238 2002-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1239
1240         * Control.cs:
1241         (SaveViewState): save state even when control is not visible.
1242         (SaveViewStateRecursive):
1243         (LoadViewStateRecursive): made internal.
1244
1245 2002-07-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1246
1247         * Page.cs: improved event raising to allow client postback for a wider
1248         variety of actions (clicking an hyperlink, ...).
1249
1250 2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1251
1252         * UserControl.cs: implemented Load/SaveViewState.
1253
1254 2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1255
1256         * AttributeCollection.cs:
1257         (Add): handle 'style' through styleCollection.
1258
1259         * CssStyleCollection.cs:
1260         (fillStyle): renamed to FillStyle and made it internal.
1261
1262         * Page.cs:
1263         (GetViewStateString): fixed, broken after other recent changes.
1264         (ProcessPostData): allow a second try for postback data after OnLoad.
1265         (ProcessRequest): clear controls collection, removed call to 
1266         UnloadRecursive.
1267
1268 2002-07-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1269
1270         * Control.cs: uncommented Dispose.
1271
1272         * Page.cs:
1273         (DeterminePostBackMode): more checkings.
1274         (GetPostBackClientHyperLink): implemented.
1275         (GetPostBackEventReference): added some comments with the HTML that MS
1276         generates for that.
1277         (ProcessRequest): fixed processing order. The page is unloaded after
1278         a request and regenerated from view state on subsequents posts.
1279
1280 2002-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1281
1282         * Control.cs: fixed related to ViewState. Added RemovedControl.
1283
1284         * ControlCollection.cs: notify owner of control removal.
1285         
1286         * CssStyleCollection.cs: almost rewritten to make it render the style
1287         attribute after changes to it.
1288
1289         * Page.cs: follow the guidelines in 'Control execution lifecycle'.
1290         Removed Xml code.
1291
1292         * StateBag.cs: don't use IDictionary.GetEnumerator on the
1293         HybridDictionary: it makes the program give an InvalidCastException at
1294         runtime. Why?
1295
1296 2002-07-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1297
1298         * Page.cs: fire Init and Load events for all children.
1299
1300 2002-07-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1301
1302         * UserControl.cs: New file.
1303
1304 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1305
1306         * ControlBuilderAttribute.cs: finished implementation.
1307
1308 2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1309
1310         * ConstructorNeedsTagAttribute.cs: the default constructor sets the
1311         property to false.
1312
1313 2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1314
1315         * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
1316
1317         * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
1318         Hashtable. Added internal .ctor.
1319
1320         * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
1321         Equals and GetHashCode.
1322
1323         * System.Web.UI/DataBoundLiteralControl.cs:
1324         (LoadViewState):
1325         (SaveViewState): implemented.
1326
1327         * System.Web.UI/Page.cs: FileDependencies is not public.
1328
1329         * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
1330         (GetHashCode):
1331         (Equals):
1332         (IsDefaultAttribute): implemented.
1333
1334 2002-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1335
1336         * Control.cs: fixed Visible property.
1337         * Page.cs: fixed GetViewStateString.
1338
1339 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1340
1341         * System.Web.UI/Page.cs:
1342         (GetViewStateString): new function to give the server access to the
1343         generated view state string.
1344         (Validate): d'oh!
1345
1346 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1347
1348         * Control.cs:
1349         (SaveViewstateRecursive): implemented.
1350         (SaveViewState): fixed.
1351         (IParserAccessor.AddParsedSubObject): don't use 'this'.
1352
1353         * Page.cs: added code to save view state to an xml file.  It's not
1354         being used right now.
1355
1356 2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1357
1358         * System.Web.UI/LiteralControl.cs: 
1359         Fixes based on class status page:
1360         
1361                 - Add attributes (DefaultEvent, ParseChildren).
1362                 - Fix declarations.
1363                 - Explicitly implement some interfaces (IPostBackDataHandler
1364                 and IPostBackEventHandler).
1365                 - Implemented some missing methods.
1366
1367 2002-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1368
1369         * Control.cs: reimplemented FindControls.
1370
1371         * Page.cs:
1372         (.ctor): set the page for this control.
1373         (IsPostBack): return valid value.
1374         (DeterminePostBackMode): finished.
1375         (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
1376         (ProcessPostData): implemented. Raises change and postback events.
1377         (ProcessRequest): changed to support reuse of the instance.
1378         (RegisterRequiresPostBack): implemented.
1379
1380         * ValidatorCollection.cs: implemented all methods.
1381
1382 2002-06-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1383
1384         * Control.cs:
1385         * Page.cs: first attemp to save view state.
1386
1387         * HtmlForm.cs: don't render Action.
1388
1389 2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1390
1391         * Page.cs: implemented more properties using information we already
1392         have in Context.
1393         (OnFormRender):
1394         (OnFormPostRender):
1395         (VerifyRenderingInServerForm): implemented.
1396
1397 2002-06-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1398
1399         * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
1400         out runtime. Renamed Page_Init and Page_Load.
1401
1402         After this, we can load a dll and render HTML in linux.
1403
1404 2002-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1405
1406         * Control.cs:
1407         (AddedControl): new function that is called whenever a control is
1408         added to a collection of controls in a container. It sets the defaults
1409         except for Page.
1410         
1411         * ControlCollection.cs: call AddedControl in Add/AddAt.
1412
1413         * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
1414         SetStaticString and SetDataBoundString.
1415
1416         * Page.cs: removed SetDefaults.
1417
1418 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1419
1420         * CompiledTemplateBuilder.cs: new file. Used in the code generated
1421         by xsp.
1422
1423         * Control.cs:
1424         (BindingContainer): implemented.
1425         (EnsureChildControls): avoid stack overflow.
1426
1427         * DataBinder.cs: implemented Eval and PropertyValue.
1428
1429 2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1430
1431         * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
1432         bug as in regular attributes).
1433
1434 2002-06-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1435
1436         * Control.cs: implemented PreventAutoID.
1437
1438         * Page.cs:
1439         (SetDefaults): don't set ID automatically if Control.PreventAutoID has
1440         been called.
1441
1442 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1443
1444         * Page.cs:
1445         (Validators): if the collection is null, create one.
1446         (GetPostBackEventReference 2): don't throw exception.
1447         (GetPostBackClientEvent): return a string with containing the method
1448         name, the control name and the argument.
1449
1450 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1451
1452         * Page.cs: SetPage is now called SetDefaults and also sets a default 
1453         ID for controls that don't have one yet.
1454
1455 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1456
1457         * Page.cs:
1458         (GetPostBackClient):
1459         (RegisterRequiresPostBack): don't throw NotImplementedException to
1460         keep going.
1461         (ProcessRequest): set the current page as the Page property for *all*
1462         the controls, not just the direct children of the page.
1463
1464 2002-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1465
1466         * Control.cs:
1467         (MapPathSecure): until security is implemented, return the same path
1468         received as argument.
1469         (RenderControl): call OnPreRender before rendering the control. So
1470         AdRotator can read its configuration file.Is there any other place
1471         where this should be done?
1472
1473         * HtmlTextWriter.cs:
1474         (AddAttribute): fixed. Now it really stores attributes.
1475         (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
1476
1477 2002-06-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1478
1479         * ControlCollection.cs:
1480         (AddAt): if index is -1 behave as a plain Add.
1481
1482 2002-06-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1483
1484         * Page.cs: for each child control to render, assign Control.Page.
1485         Probably also needed in HtmlContainerControl derived classes.
1486         
1487 2002-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1488
1489         * AttributeCollection.cs: don't need a Hastable. StateBag now works 
1490         fine and takes care of the details.
1491
1492         * Control.cs: added HasChildren property.
1493
1494         * StateBag.cs: fixed a couple of nasty bugs.
1495
1496 2002-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1497
1498         * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
1499         Invoke Page_Init and/or Page_Load if the user supplied them (though 
1500         this should depend on AutoEventWireUp attribute of Page directive).
1501
1502 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1503
1504         * Control.cs: don't throw exception in ControlID. By now, it returns ID.
1505
1506         * Page.cs: 
1507         (ProcessRequest): implemented.
1508
1509 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1510
1511         * System.Web.UI/Page.cs: finished stubbing out. Implemented some
1512         methods.
1513
1514 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1515
1516         * Page.cs:
1517         (FileDependencies): now is public public.
1518         (EnableViewStateMAC): uncommented and made protected. 
1519         (GetTypeHashCode): added method.
1520         
1521 2002-05-24  Duncan Mak  <duncan@ximian.com>
1522
1523         * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
1524
1525         * StateBag.cs (Item): Changed the visibility level of the this
1526         [object] indexer.
1527
1528         Misc. formatting edits, fixing some bugs introduced by the indentation.
1529
1530         * DataBinder.cs (Eval)
1531         (GetIndexedPropertyValue)
1532         (GetPropertyValue): Fixed return types.
1533
1534 2002-05-21  Miguel de Icaza  <miguel@ximian.com>
1535
1536         * HtmlTextWriter.cs: Use this to change the member instances.
1537
1538 2002-05-17  Duncan Mak  <duncan@ximian.com>
1539
1540         * AttributeCollection.cs: 
1541         * ControlCollection.cs: 
1542         * CssStyleCollection.cs: 
1543         * DataBindingCollection.cs: 
1544         * EmptyControlCollection.cs: Added missing Collection classes.
1545
1546 2002-05-17  Duncan Mak  <duncan@ximian.com>
1547
1548         * BaseParser.cs:
1549         * TemplateParser.cs:  Implemented. BaseParser is weird because
1550         there is no documentation on what it does.
1551
1552         * ControlBuilder.cs:
1553         
1554         * DataBinder.cs: 
1555         * DataBinding.cs: Added. 
1556
1557         * DataBoundLiteralControl.cs: 
1558         * Triplet.cs: Added.
1559
1560         * RenderMethod.cs: Added this delegate for Control.cs
1561
1562 2002-05-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1563
1564         * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
1565
1566 2002-05-14  Duncan Mak  <duncan@ximian.com>
1567
1568         * ValidationPropertyAttribute.cs: Added to CVS.
1569
1570 2002-05-10  Duncan Mak  <duncan@ximian.com>
1571
1572         * ConstructorNeedsTagAttribute.cs: 
1573         * ControlBuilderAttribute.cs: 
1574         * ImageClickEventArgs.cs: 
1575         * ParseChildrenAttribute.cs: 
1576         * PartialCachingAttribute.cs: 
1577         * PersistChildrenAttribute.cs: 
1578         * PersistenceModeAttribute.cs: 
1579         * TemplateContainerAttribute.cs: Added to CVS.
1580
1581         * PersistanceMode.cs: Removed, fixed typo.
1582         * PersistenceMode.cs: Replacing above.
1583
1584         * StateBag.cs (this): Fixed indexer, it takes a string as the
1585         index, not an object.
1586
1587         * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection. 
1588
1589         * Page.cs (Validators): return type should be ValidatorCollection,
1590         not ValidatedCollection.
1591
1592         * TagPrefixAttribute.cs: Added to CVS.
1593
1594 2002-05-07  Duncan Mak  <duncan@ximian.com>
1595
1596         * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
1597
1598 2002-03-26   Gaurav Vaish <gvaish@iitk.ac.in>
1599
1600         * DataBindingHandlerAttribute.cs
1601                                    - Completed
1602         * ToolboxDataAttribute.cs  - Completed
1603
1604 2002-01-03  Nick Drochak  <ndrochak@gol.com>
1605
1606         * DesignTimeParseData.cs: initialze static member to avoid compile
1607         error
1608         * PropertyConverter.cs: remove uneeded exception variables from
1609         catch blocks.
1610
1611 2002-01-02  Nick Drochak  <ndrochak@gol.com>
1612
1613         * DesignTimeParseData.cs: fix header to show correct class name
1614
1615 2001-12-21   Gaurav Vaish <gvaish@iitk.ac.in>
1616
1617         * StateBag.cs             - Completed
1618
1619 2001-12-19   Gaurav Vaish <gvaish@iitk.ac.in>
1620
1621         * Pair.cs                 - Small undocumented class. Completed.
1622
1623 2001-12-18   Gaurav Vaish <gvaish@iitk.ac.in>
1624
1625         * DesignTimeParseData.cs  - Initial implementation
1626         * StateBag.cs             - Initial implementation
1627
1628 2001-12-17   Gaurav Vaish <gvaish@iitk.ac.in>
1629
1630         * PropertyConverter.cs    - Undocumented class. Completed.
1631         * Utils.cs                - Undocumented, private class.
1632                                     Initial implementation
1633
1634 2001-08-28  Bob Smith  <bob@thestuff.net>
1635         * Control.cs: Figured out some undocumented API.
1636         * Added TODO.
1637         * BuildMethod.cs: Initial implementation.
1638         * BuildTemplateMethod.cs: Initial implementation.
1639         * HtmlTextWriterAttribute.cs: Initial implementation.
1640         * HtmlTextWriterStyle.cs: Initial implementation.
1641         * HtmlTextWriterTag.cs: Initial implementation.
1642         * IAttributeAccessor.cs: Initial implementation.
1643         * IDataBindingsAccessor.cs: Initial implementation.
1644         * ImageClickEventHandler.cs: Initial implementation.
1645         * INamingContainer.cs: Initial implementation.
1646         * IParserAccessor.cs: Initial implementation.
1647         * IPostBackDataHandler.cs: Initial implementation.
1648         * IPostBackEventHandler.cs: Initial implementation.
1649         * IStateManager.cs: Initial implementation.
1650         * ITagNameToTypeMapper.cs: Initial implementation.
1651         * ITemplate.cs: Initial implementation.
1652         * IValidator.cs: Initial implementation.
1653         * OutputCacheLocation.cs: Initial implementation.
1654         * PersistanceMode.cs: Initial implementation.
1655         * StateItem.cs: Initial implementation.
1656
1657 2001-08-27  Bob Smith  <bob@thestuff.net>
1658
1659         * Control.cs: Bug fixes and implementations.
1660
1661 2001-08-24  Bob Smith  <bob@thestuff.net>
1662
1663         * Control.cs: Bug fixes.
1664
1665 2001-08-23  Bob Smith  <bob@thestuff.net>
1666
1667         * Control.cs: More implementation. Events reworked for performance.
1668
1669 2001-08-22  Bob Smith  <bob@thestuff.net>
1670
1671         * LiteralControl.cs: Implemented.
1672         * Control.cs: Even more implementation (Events). What a beast.
1673
1674 2001-08-20  Bob Smith  <bob@thestuff.net>
1675
1676         * Control.cs: More implementation. Not done yet. Shutter.
1677
1678 2001-08-17  Bob Smith  <bob@thestuff.net>
1679
1680         * Control.cs: Partial implementation.