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