**** Merged from MCS ****
[mono-project.git] / mcs / class / System.Web / System.Web.UI / ChangeLog
blob34d2291f00da083404b667b23919d0f87c3271ec
1 2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3         * Control.cs: unified a few bool fields into an int one.
5         * ControlCollection.cs: use an array internally instead of always
6         allocating an arraylist. Also added our own enumerator.
7         
8         * EmptyControlCollection.cs: there's no 'special' ctor now in the base
9         class.
11 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
13         * DataSourceView.cs: Changes in access modifiers of methods.
15 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
17         * DataSourceCapabilities.cs: Added Flags attribute.
18         * DataSourceSelectArguments.cs: Updated.
19         * DataSourveView.cs: Updated.
21 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
23         * HierarchicalDataSourceView.cs: Corrected class definition and updated.
25 2004-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
27         * HierarchicalDataSourceView.cs: fix typo.
29 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
31         * HierarchicalDataSourceView.cs: Updated.
33 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
35         * DataSourceSelectArguments.cs: Initial implementation.
37 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
39         * UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
41 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
43         * UrlTypes.cs: Updated.
45 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
47         * UrlPropertyAttribute.cs: Added new file.
49 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
51         * Control.cs: even if the control has no children the naming container
52         may contain the control we're looking for. Fixes bug #67304.
54 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
56         * AspGenerator.cs: added OtherTags.
58 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
60         * ControlValuePropertyAttribute.cs: Initial implementation.
62 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
64         * IPaginationContainer.cs: Corrected name of class.
66 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
68         * IDReferencePropertyAttribute.cs: Completed implementation.
70 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
72         * ThemeableAttribute.cs:
73         * FilterableAttribute.cs: Code scrubbing and optimization.
75 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
77         * ThemeableAttribute.cs: Completed implementation.
79 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
81         * FilterableAttribute.cs: Completed implementation.
83 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
85         * Control.cs: Added new attributes and a method.
86         * FilterableAttribute.cs: New attribute, initial implementation.
87         * ThemeableAttribute.cs: New attribute, initial implemenataion.
89 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
91         * TemplateParser.cs: ensure bin directory exists before trying to access
92         it. Fixes bug #65446 (not closed yet due to dependencies).
94 2004-09-09 Sanjay Gupta <gsanjay@novell.com>
96         * Control.cs: Implemented methods of interface IExpressionAccessor.
98 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
100         * SimpleWebHandlerParser.cs: correctly cache Type instead of the
101         assembly for ashx/asmx. Otherwise we need to open the file and check
102         for the class name in there. Thanks to Ben for pointing this out.
104 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
106         * TemplateParser.cs: removed creation of StringWriter.  It's not used.
107         * Control.cs: don't create the EventHandlerList until requested.
109 2004-09-03 Sanjay Gupta <gsanjay@novell.com>
110         
111         * Control.cs: Added new interfaces implemented in .Net 2.0. 
112         * ExpressionBinding.cs: Added new class.
113         * ExpressionBindingCollection.cs: Added new class.
114         
115 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
117         * LiteralControl.cs: stylized. This control has EnableViewState disabled
118         by default and doesn't get an automatic ID. When text is null -> "".
120 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
121         
122         * ControlSkinProc.cs:
123         * DataSourceViewOperationCallback.cs:
124         * DataSourceViewSelectCallback.cs:
125         * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not 
126         required in definition as delegates by default are sealed.
127         
128 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
130         * IDReferencePropertyAttribute.cs: Corrected and changed from interface
131         to class.
132         * IMobileTextWriter.cs: Corrected method signatures.
134 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
136         * ControlSkinProc.cs:
137         * DataSourceViewOperationCallback.cs:
138         * DataSourceViewSelectCallback.cs:
139         * ExtractTemplateValuesMethod.cs: Added new delegates.
141 2004-08-06 Sanjay Gupta <gsanjay@novell.com>
143         * IBindableTemplate.cs:
144         * ICallbackEventHandler.cs:
145         * IControlBuilderAccessor.cs:
146         * IControlDesignerAccessor.cs:
147         * IControlTypeFilter.cs:
148         * IDataItemContainer.cs:
149         * IDataSourceViewSchemaAccessor.cs:
150         * IDReferencePropertyAttribute.cs:
151         * IExpressionsAccessor.cs:
152         * IFilterResolutionService.cs:
153         * IItemPaginationInfo.cs:
154         * IMobileTextWriter.cs:
155         * IPageHeader.cs:
156         * IPaginationContainer.cs:
157         * IPaginationInfo.cs:
158         * IResourceResolutionService.cs:
159         * IResourceUrlGenerator.cs:
160         * IStateFormatter.cs:
161         * IStyleSheet.cs:
162         * IThemeResolutionService.cs:
163         * IUrlResolutionService.cs:
164         * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
166 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
168         * PostBackOptions.cs: Added new file and implemented the class.
170 2004-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
172         * HtmlTextWriterTag.cs: readded author name.
174 2004-08-04 Sanjay Gupta <gsanjay@novell.com>
176         * HtmlTextWriterAttribute.cs:
177         * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
178         * CompilationMode.cs:
179         * ConflictOptions.cs:
180         * DataSourceCacheExpiry.cs:
181         * DataSourceCapabilities.cs:
182         * DataSourceOperation.cs:
183         * TemplateContentType.cs:
184         * TemplateInstance.cs:
185         * UrlTypes.cs:
186         * VerificationConditionalOperator.cs:
187         * VerificationReportLevel.cs:
188         * VerificationRule.cs:
189         * XhtmlMobileDocType.cs: Added enumerations.
191 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
193         * Control.cs: style. Reverted previous patch modification of
194         TemplateSourceDirectory (failed when the control is reparented). Use
195         HasControls() and Controls all over instead of _controls, as Controls
196         property and HasControls() might be overriden.
198 2004-07-27 Alon Gazit <along@mainsoft.com>
200         * Control.cs: Changed the implementation of TemplateSourceDirectory
201         and GetDefaultName(). replaced foreach statements with for statements, 
202         in order to improve performence.
204 2004-07-27 Alon Gazit <along@mainsoft.com>
206         * Page.cs: changed the implementation of GetViewStateString().
207         if the view state object is null there is no need to perform 
208         Serialization.
209         
210 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
212         * TemplateControl.cs: don't include private methods of base classes when
213         auto-attaching events. Fixes bug 61569.
215 2004-07-14 Alon Gazit <along@mainsoft.com>
217         * HtmlTextWriter.cs: changed the Hashtables to case insensitive.         
218 2004-07-08 Pablo Baena <pbaena@gmail.com>
220         * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
221         
222 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
224         * Page.cs: added additional checks for saving/displaying trace data.
226         * PageParser.cs: removed checks for trace enabled in configuration
227         files.
229 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
231         * ControlCollection.cs: when clearing the control collection, tell the
232         owners about the removal. Fixes bug #60800.
234 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
236         * Page.cs: don't nullify _context after processing the request as there
237         are events not triggered yet. Fixes bug #60726.
239 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
241         * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
242         bug #60681.
244 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
246         * PageParser.cs:
247         * UserControlParser.cs: set the page/user control base type even when no
248         default directive provided. Fixes bug #60572.
250 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
252         * PageParser.cs: use default trace settings from web.config and check
253         if trace is only requested for local connections. Fixes bug #60180.
255 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
257         * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When 
258         we read the default directive, check the cache for the Type and if
259         present, don't keep reading and store the type found.
261         * WebHandlerParser.cs:
262         * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
263         compiling.
265 2004-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
267         * Control.cs: properly fixed bug #59794.
269 2004-06-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
271         * Control.cs:
272         (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
273         #59794.
275 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
277         * SimpleWebHandlerParser.cs:
278         * TemplateParser.cs: pass the language when compiling from a file.
280 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
282         * SimpleWebHandlerParser.cs: if we have a global.asax, move its
283         reference to the end to help mcs loading the assemblies. Fixes bug
284         #58768.
286         * TemplateParser.cs: same as above. Removed some kludges to workaround
287         loading assemblies from bin path that are now in the runtime. Don't
288         load the assemblies in bin if not needed, but still reference them
289         when compiling.
291 2004-06-07  Alon Gazit <along@mainsoft.com>
292         * Page.cs: Changed Page.ProcessPostData().
293         After the change ,the state of controls that aren't visible is saved 
294         during a postback.
295         
296 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
298         * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
300 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
302         * Page.cs: IsPostBack also returns true when method is GET and we have
303         viewstate information in the query string. Fixes bug #58151.
305 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
307         * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
308         HttpRutime.TraceManager.
310         * PageParser.cs: for 'trace' we have 2 variables now.  Added support
311         for 'buffer' attribute.
313 2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
315         * Page.cs: implemented ClientTarget.
316         * PageParser.cs: support for clientTarget and check for validity.
318 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
320         * Control.cs:
321         * Html32TextWriter.cs:
322         * HtmlTextWriter.cs:
323         * SimpleWebHandlerParser.cs:
324         * TemplateControl.cs: Added protected missing members and attributes.
326 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
328         * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
329         calling a protected method of another object.
331 2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
333         * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
334           (of other objects) are called in TypeConverterFormatter.
336 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
338         * ObjectStateFormatter.cs: before choosing the binary formatter, check
339         if the object type has a TypeConverter that can convert to/from string.
340         Fixes bug #59495.
342         * Page.cs: call GetViewStateString from outside the WriteLine. This
343         allows writing to the Response when getting the string without breaking
344         the HTML generated.
346 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
348         * HtmlTextWriter.cs: render end tag for unknown tags.
349         Patch frmo Markus Kräutner. Fixes bug #59466.
351 2004-05-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
353         * Page.cs: call DeterminePostBackMode only once per request. Patch by
354         Evain Jb.
356 2004-05-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
358         * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
359         [meddochat].
361         * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
362         that.
364 2004-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
366         * SimpleWebHandlerParser.cs:
367         * TemplateParser.cs: for the assembly names given in the 'assembly'
368         attribute, use LoadWithPartialName instead of Load.
369 2004-03-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
371         * Page.cs: return HttpContext.Current if _context has not yet been
372         assigned to. Fixes bug #55245.
374 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
376         * TemplateParser.cs: don't add import statement or assemblies from
377         global.asax to every file. Fixes bug #55496.
379 2004-03-09  Juraj Skripsky <juraj@hotfeet.ch>
381         * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
382         handle single quotes and a few corner cases correctly (see test cases).
384 2004-03-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
386         * TemplateControl.cs: fixed typos and added new method names to the set
387         of page events.
389 2004-02-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
391         * ControlBuilder.cs: added SetTagName().
393         * ObjectTagBuilder.cs: use SetTagName so that we can properly close
394         <object> builders if the closing tag is provided.
396 2004-02-16  Jackson Harper <jackson@ximian.com>
398         * Page.cs: Set cacheability for Location.DownStream.
399         
400 2004-02-10  Jackson Harper <jackson@ximian.com>
402         * TemplateParser.cs: Use full path if the assembly is in the
403         private bin directory. Patch by Gonzalo Paniagua Javier.
404         
405 2004-02-09  Jackson Harper <jackson@ximian.com>
407         * Page.cs: Set cacheability for server side caching.
408         
409 2004-01-30  Jackson Harper <jackson@ximian.com>
411         * Control.cs: Ensure that dynamically loaded controls are
412         initialized.
413         
414 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
416         * ApplicationFileParser.cs: check for error in directives. Use
417         GlobalAsaxCompiler.CompileApplicationType for compiling.
418         
419         * ObjectTagBuilder.cs: load the Type and check for errors.
421         * TemplateParser.cs: add assemblies and imports from global.asax.
423         Now we properly create accessors for session and application objects in
424         the application itself, pages and controls. First step for fixing
425         bug #53387.
427 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
429         * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
430         to Eric Lindvall for pointing this out.
432 2004-01-15  Jackson Harper <jackson@ximian.com>
434         * TemplateParser.cs: Detect if we are parsing a control or page
435         properly.
436         * Page.cs: vary by params and vary by headers can be null now.
437         
438 2004-01-15  Martin Willemoes Hansen  <mwh@sysrq.dk>
440         * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
441         indention.
443 2004-01-14  Jackson Harper <jackson@ximian.com>
445         * Page.cs: If we have a postback that wasn't sent through a
446         postback script (ie user hit submit on a input type=submit) call
447         Validate so page validation occurs. This fixes bug #52770.
448         
449 2004-01-14  Jackson Harper <jackson@ximian.com>
451         * Page.cs: Don't tell the response to cache anymore. This is done
452         when the cacheability is modified by a callback. Set the cache's
453         duration.
454         
455 2004-01-14  Jackson Harper <jackson@ximian.com>
457         * TemplateParser.cs: If varybyparam is set to "none" make it null
458         so we dont get a param named null in the outputcache key.
459         
460 2004-01-14  Jackson Harper <jackson@ximian.com>
462         * BasePartialCachingControl.cs: Use varyby attributes in key
463         generation.
464         
465 2004-01-14  Jackson Harper <jackson@ximian.com>
467         * TemplateParser.cs: Add all the outputcache attribute error
468         messages.
469         
470 2004-01-13  Jackson Harper <jackson@ximian.com>
472         * TemplateParser.cs: Add VaryByControls and Shared output cache
473         properties. These are not assigned yet.
474         * TemplateControlParser.cs: Do not ignore the OutputCache
475         attribute.
476         * BasePartialCachingControl.cs: Initial implementation. Keys are
477         still not created properly.
478         * StaticPartialCachingControl.cs: Assign properties in base class,
479         implement CreateControl.
480         
481 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
483         * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
485         * PageParser.cs: support validateRequest.
487         * TemplateControlParser.cs: get default values from system.web/pages
488         section.
490         * TemplateParser.cs: added separate method for changing base type
491         (Inherits or system.web/pages).
492         
493         * UserControlParser.cs: support system.web/pages defined base type.
495 2004-01-11  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
497         * UserControl.cs: Added missing attribute, implemented method
498         * Page.cs: Added missing attribute, implemented method
500 2004-01-10  Jackson Harper <jackson@ximian.com>
502         * Page.cs: Handle trace being enabled in the config file.
503         
504 2004-01-10  Jackson Harper <jackson@ximian.com>
506         * Page.cs: Save trace data before rendering it.
507         * System.Web.dll.sources: Add TraceData.cs
508         
509 2004-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
511         * Page.cs: removed a couple of MonoTODO on methods we're not gonna
512         implement. Applied patch from Jan Jaros (mono-bug@jerryweb.info) to
513         ensure that Unload event is raised. Fixes bug #52555.
515 2004-01-02  Zoltan Varga  <vargaz@freemail.hu>
517         * KeyedList.cs: 'private' is not allowed on explicit interface 
518         implementations. Fixes 1.2 build.
520 2003-12-31  Jackson Harper <jackson@ximian.com>
522         * TemplateControlParser.cs: When registering tag prefixs make sure
523         the file exists and throw the correct error if it does not.
524         
525 2003-12-25  Jackson Harper <jackson@ximian.com>
527         * Page.cs: Throw error if the session is accessed when sessions
528         are disabled.
529         
530 2003-12-18  Jackson Harper <jackson@ximian.com>
532         * Page.cs: Write Trace info.
533         
534 2003-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
536         * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
537         * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
538         internal.
539         * PageParser.cs: the ctor is public.
540         * PartialCachingAttribute.cs: added new ctor and Shared property.
542 2003-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
544         * Page.cs: assign the ErrorPage to the context if we get an exception
545         when processing the page which only calls Unload.
547         * PageParser.cs: handle ErrorPage.
549 2003-12-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
551         * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
552         are not [Serializable]. Fixes bug #52244.
554 2003-12-16  Jackson Harper <jackson@ximian.com>
556         * Page.cs: Render trace data when tracing is enabled.
557         
558 2003-12-15  Jackson Harper <jackson@ximian.com>
560         * PageParser.cs: Add Trace and Trace mode attributes.
561         
562 2003-12-15  Jackson Harper <jackson@ximian.com>
564         * Page.cs: Use the context trace object.
565         
566 2003-12-14  Alon Gazit <along@mainsoft.com>
567         * AttributeCollection.cs: Changed AttributeCollection.Render().
568         After the change attributes ,that their value is null, aren't 
569         rendered.
571 2003-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
573         * Control.cs: remove a few dangling ^M, don't set values for fields
574         that has the default value. If Visible is modified and we're tracking
575         viewstate, save and restore it. Fixes bug #48689.
577 2003-12-11  Jackson Harper <jackson@ximian.com>
579         * Control.cs: Give null for the ID if it hasn't been explicitly
580         set. This fixes bug #51520.
581         
582 2003-12-08  Jackson Harper <jackson@ximian.com>
584         * PageParser.cs: Ignore the SmartNavigation attribute for now.
585         
586 2003-12-05  Jackson Harper <jackson@ximian.com>
588         * DataBinder.cs (GetIndexedPropertyValue): Check if container is
589         an IList and use a cast instead of reflection to retrieve the item
590         if it is. Fixes bug #51759.
591         
592 2003-12-04  Alon Gazit <along@mainsoft.com>
593         * Page.cs: Changed Page.ID so it will call Control.ID.
594         Fixed Bug 51682.          
596 2003-12-02  Jackson Harper <jackson@ximian.com>
598         * Page.cs: Implemented registered array declarations. Patch by
599         Benjamin Jemlich <pcgod@gmx.net>
600         
601 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
603         * TemplateParser.cs: basic check for 'classname' attribute and added
604         patch by pcgod@gmx.net for bug #51568, which fixes automatic class
605         names for pages starting with a number.
607 2003-11-30 Ben Maurer  <bmaurer@users.sourceforge.net>
609         * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
610         reduction.
612         * ObjectStateFormatter.cs: Comment out tracing.
614 2003-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
616         * Page.cs: fixed UICulture, LCID and Culture. Set the thread
617         [UI]Culture before processing the request.
619         * PageParser.cs: read Culture, UICulture and LCID attributes. Added
620         properties for these. Partially contributed by Mohammad Damt.
622         Fixes bug #51511.
624 2003-11-27  Jackson Harper <jackson@ximian.com>
626         * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
627         51434.
628         
629 2003-11-22 Ben Maurer  <bmaurer@users.sourceforge.net>
631         * ObjectStateFormatter.cs: Fix bug when reading small ints.
632         Add some tracing so we can see what is going on.
634 2003-11-21  Jackson Harper <jackson@ximian.com>
636         * Page.cs: Set vary by params when cache location is Server.
637         
638 2003-11-21 Ben Maurer  <bmaurer@users.sourceforge.net>
640         * ObjectStateFormatter.cs: v2 file. In v1.x this will be
641         internal as LosFormatter will eventually use it to save
642         the view state.
644 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
646         * PersistChildrenAttribute.cs:
647         * PersistenceModeAttribute.cs: implemented.
649         * TODO: Removed file.
650         * OutputCacheLocation.cs:
651         * TemplateControlParser.cs:
652         * HtmlInputFile.cs: class status based fixes.
654 2003-11-19  Jackson Harper <jackson@ximian.com>
656         * Page.cs: Always set the cache expire time. Tell the response to
657         cache itself for server side cached pages.
658         
659 2003-11-19  Jackson Harper <jackson@ximian.com>
661         * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
662         thing, some corner cases still need work though. Was this the
663         shortest lived method in the history of mono?
664         
665 2003-11-19  Jackson Harper <jackson@ximian.com>
667         * Control.cs: New method for resolving urls that use ~/ to denote
668         the applications base directory.
669         
670 2003-11-19  Jackson Harper <jackson@ximian.com>
672         * TemplateParser.cs: Fix typo in error message.
673                 
674 2003-11-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
676         * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
677         to Sanjay Gupta.
679 2003-11-19  Todd Berman  <tberman@gentoo.org>
681         * KeyedList.cs:
682         * KeyedListEnumerator.cs: New v2 implementations.
684 2003-11-17 Ben Maurer  <bmaurer@users.sourceforge.net>
686         * StateManagedCollection.cs: Implement.
688 2003-11-13  Jackson Harper  <jackson@ximian.com>
690         * Page.cs: Initial implementation of InitOutputCache.
691         * TemplateParser.cs: Page OutputCache options
692         
693 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
695         * HierarchicalDataSourceControl.cs: Implement.
697 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
699         * XPathBinder.cs: Implemented.
701 2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
703         * DataSourceView.cs:
704         * IDataSource.cs:
705         * ListSourceHelper.cs:
706         * DataSourceControl.cs:
707         * HierarchicalDataSourceView.cs:
708         * IHierarchicalDataSource.cs: Move v2 stuff.
710 2003-11-07 Jackson Harper <jackson@ximian.com>
712         * Control.cs (ResolveUrl): Special case for urls that consist of
713         only a page anchor. ie <a href="#top">. This fixes bug #50165.
714         
715 2003-11-07 Ben Maurer  <bmaurer@users.sourceforge.net>
717         * IHierarchicalEnumerable.cs:
718         * IHierarchyData.cs:
719         * INavigateUIData.cs: New v2 interfaces.
720         
721 2003-11-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
723         * Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
724         space in generated javascript.
726 2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
728         * LosFormatter.cs: encoding updates. 
729         * Page.cs: implemented CodePage and ContentType.
730         * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
731         attributes.
733 2003-11-04 Ben Maurer  <bmaurer@users.sourceforge.net>
735         * Control.cs (GetWebResourceUrl): new v2 function
736         * Page.cs (GetWebResourceUrl): ditto.
737         make the JS we generate work with moz if the form is not a child
738         of document.
739         * WebResourceAttribute.cs: Added, new v2 attribute.
741 2003-10-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
743         * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
745         * PageParser.cs: initialize the parser in the constructor, not just
746         before compiling and reference the application assembly.
748         * SimpleWebHandlerParser.cs: reference the assembly that contains the
749         application Type.
751         * TemplateControl.cs:
752         * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
753         path and physical path when compiling a user control.
754         
755         * TemplateParser.cs: new AddApplicationAssembly ().
756         * UserControlParser.cs: now we get valid values in the ctor.
758         Referencing the application assembly fixes bug #49652.
759         
761 2003-10-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
763         * TemplateControl.cs: moved NoParamsInvoker class to its own file.
765 2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
767         * BaseParser.cs: added CompilationConfig property.
769         * TemplateParser.cs:
770         * SimpleWebHandlerParser.cs: added CompilationConfig property.
771         Don't hardcode assembly names any more, assemblies in bin are added
772         depending on the configuration. The default language is also taken
773         from the configuration.
775 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
777         * LosFormatter.cs: fixed bug #49604. Patch by yaronsh@mainsoft.com.
779 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
781         * Control.cs: removed some debug lines.
782         * Page.cs: implemented RegisterOnSubmitStatement
783         * TemplateControl.cs: fixed wire up for methods with no parameters.
785 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
787         * PageParser.cs: ignore ValidateRequest by now.
789 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
791         * System.Web.UI/TemplateControl.cs: support for wiring up events without
792         parameters.
794 2003-10-08  Pedro Martínez Juliá  <yoros@wanadoo.es>
796         * PageParser.cs: drop some useless code.
798 2002-10-29  Gaurav Vaish <gvaish_mono AT lycos.com>
800         * Utils.cs   : GetScriptLocation(HttpContext) - Partial Implementation.
802 2003-10-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
804         * System.Web.UI/PageParser.cs:
805         * System.Web.UI/TemplateControlParser.cs: honour the input file given
806         as argument.
808 2003-09-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
810         * Control.cs:
811         (ClearChildViewState): doh! Don't clear control viewstate but the
812         viewstate of possible children.
813         (LoadViewStateRecursive): load viewstate even when control is not
814         visible.
815         Fixes bug #49024.
816         The rest are just dangling ^M removed.
818         * DataBoundLiteralControl.cs:
819         (LoadViewState): we get an object [], not a string [].
821 2003-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
823         * Control.cs: implemented ClearChildViewState ().
825 2003-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
827         * Page.cs: store unique IDs for controls requiring postback. Fixes bug
828         #47985.
830 2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
832         * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
833         dependencies so that it's recompiled when changed.
835 2003-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
837         * LosFormatter.cs: fixed Deserialize for empty viewstate.
839 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
841         * Page.cs: check if controls that require postback have
842         been changed by an event and register them to be notified of data
843         changed event.
845 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
847         * Control.cs: patch by yaronshkop@hotmail.com (Yaron Shkop) that fixes
848         bug #47866.
850 2003-08-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
852         * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
853         are not serializable. Fixes bug #47784.
855 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
857         * Control.cs: index the viewstates saved by the control position, not
858         the control name. Fixes bug #47697.
860 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
862         * ControlCollection.cs:
863         * EmptyControlCollection.cs: create a minimum ArrayList for this.
865         * BaseParser.cs: added setter for BaseVirtualDir.
867         * Page.cs: fixed message when restoring view state fails.
868         * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
869         when a relative path to the control is given. Fixes bug #47685.
871 2003-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
873         * Control.cs: when we load the viewstate for a control that has children
874         viewstates and the child is not found, keep its viewstate around and
875         wait until the child is added to load the viewstate. Fixes bug #47697.
877 2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
879         * TemplateControl.cs: more Delegate.CreateDelegate fixes.
881 2003-08-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
883         * PartialCachingControl.cs: is not abstract
885 2003-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
887         * SimpleHandlerFactory.cs: implemented GetHandler.
888         * WebHandlerParser.cs: new file that parses .ashx files.
890 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
892         * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
894 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
896         * UserControl.cs: Added attribute
897         * BasePartialCachingControl.cs: New class and paritally implemented
898         * DesignerDataBoundLiteralControl.cs: New class and implemented
899         * DesignTimeTemplateParser.cs:
900         * PartialCachingControl.cs:
901         * StaticPartialCachingControl.cs: New class and paritally implemented
903 2003-07-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
905         * ApplicationFileParser.cs: Fixed signature
906         * DesignTimeParseData.cs: Added missing properties, implemented
907         * Page.cs: Added attributes
908         * PageParser.cs:
909         * TemplateControlParser.cs:
910         * TemplateParser.cs:
911         * UserControlParser.cs: Fixed signature
913 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
915         * HtmlControlPersistableAttribute.cs: Added
916         * IgnoreUnknownContentAttribute.cs: Added
918 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
920         * IUserControlDesignerAccessor.cs: Added and implemented
921         * Control.cs: Missing member added, added all attributes
922         * Page.cs: Added attributes, fixed signature
923         * TemplateControl.cs: Fixed signature, added all attributes
924         * UserControl.cs: Added all attributes, added and implemented missing interface
925         
926 2003-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
928         * ControlCollection.cs: fixed bug #46472.
930 2003-07-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
932         * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
934 2003-07-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
936         * SimpleWebHandlerParser.cs: updated to new compilation interface.
938         * TemplateParser.cs: use the new parameter when compiling.  
940 2003-07-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
942         * Page.cs: also keep the value for the second try on handling postback
943         events.
945 2003-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
947         * BaseParser.cs: fixed MapPath for non-rooted files.
948         * PageParser.cs: don't pass a non-virtual file around.
949         * TemplateControlParser.cs: InputFile uses MapPath now.  Take care of
950         the exception teh may be throw by MapPath on an invalid path.
952         * TemplateParser.cs: removed unused method.
953         * UserControlParser.cs: modified inputfile. The result is the same, but 
954         this one is better.
956 2003-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
958         * RootBuilder.cs: throw exception when the tagprefix is not valid or
959         not found.
961 2003-05-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
963         * TemplateControlParser.cs: return after processing @Register.
965 2003-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
967         * TemplateParser.cs: Added support for server side includes.
969 2003-05-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
971         * TemplateControl.cs: fixed the flags used to find the methods that
972         are automatically hooked up on events.
974         * TemplateParser.cs: don't compile a source file directly.  Use the
975         cache instead.
977 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
979         * BaseParser.cs: Location property is now here. Added a couple of
980         convenience methods to throw a ParseException.
982         * TemplateParser.cs:
983         * TemplateControlParser.cs:
984         * PageParser.cs: throw ParseException where appropiate.
986 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
988         * ApplicationFileParser.cs: use the generator to actually parse the
989         file.
991         * ControlBuilder.cs: small fix in NamingContainerType because
992         TemplateBuilders have a null ControlType. When a control is appended
993         to a parent, assign the child's parent.
995         * UserControlParser.cs: fixed the value of InputFile.
997 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
999         * ApplicationFileParser.cs: store the Context and override
1000         BaseVirtualDir so that it's the application path.
1002         * BaseParser.cs: removed CurrentVirtualPath property.
1004         * TemplateControlParser.cs: use BaseVirtualDir.
1006         * UserControlParser.cs: removed CurrentVirtualPath.
1008 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1010         * TemplateParser.cs: always reference all the assemblies in bin
1011         directory.
1013 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1015         * ApplicationFileParser.cs: it works now. Prior to these changes, we
1016         were using the compiler directly.
1018         * BaseParser.cs: added some useful properties and methods.
1020         * CodeBuilder.cs: use ILocation.
1021         * CodeRenderBuilder.cs: use ILocation.
1022         * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
1024         * ControlBuilder.cs: made it useful.
1026         * DataBindingBuilder.cs: the control type for data bound text is
1027         DataBoundLiteralControl now.
1029         * ObjectTagBuilder.cs: store some object tag attributes.
1031         * PageParser.cs: handle page-only directives.
1033         * RootBuilder.cs: bah.
1034         * SimpleWebHandlerParser.cs: made it dummy.
1035         * TemplateControl.cs: Modified file.
1037         * TemplateControlParser.cs: handle directives that are common to pages
1038         and user controls.
1040         * TemplateParser.cs: utility methods and handling of directives that
1041         are common to app, page and user controls.
1043         * UserControl.cs: added ControlBuilderAttribute.
1045         * UserControlControlBuilder.cs: builder for user controls.
1046         * UserControlParser.cs: use the new interfaces.
1048 2003-04-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1050         * ControlBuilder.cs: line and fileName are protected now.
1052         * CodeBuilder.cs: base class for the next 2 files.
1053         * CodeRenderBuilder.cs: builder for code render.
1054         * DataBindingBuilder.cs: builder for data binding.
1056 2003-04-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1058         * ITagNameToTypeMapper.cs: made it internal.
1060         * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
1061         * ObjectTag.cs:
1062         * RootBuilder.cs: initial builder.
1064 2003-04-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1066         * CollectionBuilder.cs:
1067         * TemplateBuilder.cs: new classes derived from ControlBuilder that
1068         represent a property or a ITemplate.
1069         
1070         * ControlBuilder.cs: implemented all the missing bits.
1071         * TemplateParser.cs: added mapping from tag name to Type feature.
1073 2003-02-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1075         * Control.cs: have i definitely fixed naming container stuff this time?
1077         * LosFormatter.cs: activated binary serialization code.
1079 2003-02-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1081         * Control.cs:
1082         (AddedControl): fixed default id assignation when the sequence of
1083         AddedControl until it's included in the page or one of its controls
1084         does not pass through a naming container.
1086 2003-02-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1088         * Control.cs: give different default names depending on the place where
1089         it is assigned. Implemented ResolveURl (no more ~ rendered in
1090         attributes!).
1092 2003-02-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1094         * Control.cs: when adding a control, assign default names to th
1095         children that don't have one.
1097 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1099         * SimpleWebHandlerParser.cs: modified to use the new parser interface.
1101 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1103         * Control.cs: some more tweaks to naming containers stuff.
1104         * DataBinder.cs: don't throw exception if the container is null.
1106         * Page.cs: now we can render client scripts, startup scripts and hidden
1107         fields. Only render __VIEWSTATE if there is someone that will take care
1108         of it.
1109         (RaisePostBackEvents): first try the last one that required raise event,
1110         then try __EVENTTARGET.
1112 2003-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1114         * Control.cs: fixes in UniqueID, FindControl, AddedControl,
1115         UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
1116         FindControl work with NamingContainers.
1117         
1118         * ControlCollection.cs: notify the parent when clearing the collection.
1120         * LosFormatter.cs: Added debugging output and generate a valid
1121         viewstate even for unknown types.
1123         * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
1124         viewstate.
1126 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1128         * Page.cs: make it fire the LoadData related events also for controls
1129         such as ImageButton, whose variable(s) in the query string are of the
1130         form ctrl_name.x and only fire them once per control.
1132 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1134         * DataBinder.cs:
1135         (GetPropertyValue): don't try to get the property as indexed
1137 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1139         * DataBinder.cs: use TypeDescriptor to get the properties and their
1140         values.
1142 2003-01-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1144         * Control.cs:
1145         (AddedControl): take the children to the same state of the parent.
1146         (InitRecursive): set the page of the children.
1148         * Page.cs: removed one line (it's done a few lines above).
1150         * UserControl.cs:
1151         (OnInit): always call InitializeAsUserControl
1152         (InitializeAsUserControl): sets the page for the control.
1154 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1156         * Control.cs: fixed bug #36037.
1158 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1160         * BaseParser.cs: a couple of path fixes to make it work
1161         when the page is not in the root directory.
1163 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1165         * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
1166         reporting the bug.
1168 2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1170         * BaseParser.cs: use MapPath and context to locate files.
1171         * Control.cs: implemented MapPathSecure.
1172         * TemplateControl.cs: use UrlUtils to generate the path.
1173         * TemplateControlParser.cs: use the context and MapPath.
1174         * UserControl.cs: implemented MapPath.
1175         * UserControlParser.cs: added context parameter to constructor.
1177 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1179         * Control.cs: implemented MapPathSecure.
1180         * Page.cs: fixed Server property.
1182 2002-12-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1184         * DataBinder.cs: try the indexer if the property is not found in
1185         GetPropertyValue ().
1187 2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1189         * Control.cs: added AutoEventWireup internal property.
1191         * Page.cs: removed page events wire up from here.
1193         * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
1194         and user controls events.
1196         * TemplateControlParser.cs: process the options that are applicable
1197         once we have the instance of the control.
1199         * TemplateParser.cs: also stores the options.
1201         * UserControl.cs: hook up events before initializing the control.
1204 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1206         * Control.cs: new method to set bindingContainer value.
1207         * TemplateControl.cs: added controls are not binding containers.
1209 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1211         * Control.cs: implemented TemplateSourceDirectory.
1212         * TemplateControl.cs: implemented LoadControl and LoadTemplate.
1214 2002-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1216         * UserControl.cs: fixed SetAttribute.
1217         * UserControlParser.cs: set the correct base type.
1219 2002-11-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1221         * TemplateParser.cs: fixed BaseType.
1222         * UserControlParser.cs: helper class to compile user controls.
1224 2002-11-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1226         * LosFormatter.cs: added DateTime to special types.
1228 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1230         * LosFormatter.cs: added array serialization support. Disabled binary
1231         serialization and add some debugging code.
1233         * StateBag.cs: the length of the list of value can be less than the
1234         length if the list of keys when remaining values are null.
1236 2002-11-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1238         * Page.cs: return something useful in GetPostBackClientEvent.
1240 2002-11-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1242         * Page.cs: implemented FileDependecies and made it protected.
1244 2002-10-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1246         * Control.cs: save control names instead of the controls
1247         themselves to the ViewState.
1249         * LosFormatter.cs: added support for serializing unknown
1250         types. BinaryFormatter does not work so you better don't store anything
1251         of unknown Type in ViewState.
1253         * Page.cs: GetViewStateString works now using LosFormatter.
1254         Complete "Control execution lifecycle" by unloading all the child
1255         controls. Check for null in RaisePostBackEvents.
1256         LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
1258 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1260         * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
1262 2002-10-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1264         * LosFormatter.cs: Use WebEncoding.Encoding.
1266         * Control.cs:
1267         * Page.cs: fixed namespace.
1269 2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1271         * Page.cs: set the context in ProcessRequest. Added a few trace calls.
1272         * Control.cs: added some trace information.
1274 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1276         * SimpleHandlerFactory.cs: new handler for .ashx files.
1278 2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1280         * System.Web.UI/PageHandlerFactory.cs: new file.
1281         * System.Web.UI/PageParser.cs:
1282         * System.Web.UI/TemplateControlParser.cs: we are now able to compile
1283         pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
1285 2002-09-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1287         * Control.cs: implemented ObBubbleEvent.
1288         * Page.cs: temporary workaround to make POST work with xsp server.
1290 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1292         * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
1293         return pvt methods.
1295 2002-09-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1297         * SimpleWebHandlerParser.cs: New file.
1298         * WebServiceParser.cs: New file.
1300 2002-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1302         * LosFormatter.cs: almost fully implemented.
1304 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1306         * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
1307         * EmptyControlCollection.cs: throw correct exception.
1308         * LosFormatter.cs: stubbed out.
1309         * OutputCacheLocation.cs: little fix.
1311 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1313         * System.Web.UI/ApplicationFileParser.cs:
1314         * System.Web.UI/BaseParser.cs:
1315         * System.Web.UI/PageParser.cs:
1316         * System.Web.UI/TemplateControl.cs:
1317         * System.Web.UI/TemplateControlParser.cs:
1318         * System.Web.UI/TemplateParser.cs: first steps to move xsp into
1319         System.Web.
1321 2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1323         * Page.cs: request to render postback script can be after form started
1324         rendering.
1326 2002-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1328         * Page.cs: added more page events to invoke automagically if some
1329         methods are defined.
1331 2002-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1333         * Control.cs:
1334         (SaveViewState): save state even when control is not visible.
1335         (SaveViewStateRecursive):
1336         (LoadViewStateRecursive): made internal.
1338 2002-07-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1340         * Page.cs: improved event raising to allow client postback for a wider
1341         variety of actions (clicking an hyperlink, ...).
1343 2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1345         * UserControl.cs: implemented Load/SaveViewState.
1347 2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1349         * AttributeCollection.cs:
1350         (Add): handle 'style' through styleCollection.
1352         * CssStyleCollection.cs:
1353         (fillStyle): renamed to FillStyle and made it internal.
1355         * Page.cs:
1356         (GetViewStateString): fixed, broken after other recent changes.
1357         (ProcessPostData): allow a second try for postback data after OnLoad.
1358         (ProcessRequest): clear controls collection, removed call to 
1359         UnloadRecursive.
1361 2002-07-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1363         * Control.cs: uncommented Dispose.
1365         * Page.cs:
1366         (DeterminePostBackMode): more checkings.
1367         (GetPostBackClientHyperLink): implemented.
1368         (GetPostBackEventReference): added some comments with the HTML that MS
1369         generates for that.
1370         (ProcessRequest): fixed processing order. The page is unloaded after
1371         a request and regenerated from view state on subsequents posts.
1373 2002-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1375         * Control.cs: fixed related to ViewState. Added RemovedControl.
1377         * ControlCollection.cs: notify owner of control removal.
1378         
1379         * CssStyleCollection.cs: almost rewritten to make it render the style
1380         attribute after changes to it.
1382         * Page.cs: follow the guidelines in 'Control execution lifecycle'.
1383         Removed Xml code.
1385         * StateBag.cs: don't use IDictionary.GetEnumerator on the
1386         HybridDictionary: it makes the program give an InvalidCastException at
1387         runtime. Why?
1389 2002-07-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1391         * Page.cs: fire Init and Load events for all children.
1393 2002-07-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1395         * UserControl.cs: New file.
1397 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1399         * ControlBuilderAttribute.cs: finished implementation.
1401 2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1403         * ConstructorNeedsTagAttribute.cs: the default constructor sets the
1404         property to false.
1406 2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1408         * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
1410         * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
1411         Hashtable. Added internal .ctor.
1413         * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
1414         Equals and GetHashCode.
1416         * System.Web.UI/DataBoundLiteralControl.cs:
1417         (LoadViewState):
1418         (SaveViewState): implemented.
1420         * System.Web.UI/Page.cs: FileDependencies is not public.
1422         * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
1423         (GetHashCode):
1424         (Equals):
1425         (IsDefaultAttribute): implemented.
1427 2002-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1429         * Control.cs: fixed Visible property.
1430         * Page.cs: fixed GetViewStateString.
1432 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1434         * System.Web.UI/Page.cs:
1435         (GetViewStateString): new function to give the server access to the
1436         generated view state string.
1437         (Validate): d'oh!
1439 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1441         * Control.cs:
1442         (SaveViewstateRecursive): implemented.
1443         (SaveViewState): fixed.
1444         (IParserAccessor.AddParsedSubObject): don't use 'this'.
1446         * Page.cs: added code to save view state to an xml file.  It's not
1447         being used right now.
1449 2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1451         * System.Web.UI/LiteralControl.cs: 
1452         Fixes based on class status page:
1453         
1454                 - Add attributes (DefaultEvent, ParseChildren).
1455                 - Fix declarations.
1456                 - Explicitly implement some interfaces (IPostBackDataHandler
1457                 and IPostBackEventHandler).
1458                 - Implemented some missing methods.
1460 2002-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1462         * Control.cs: reimplemented FindControls.
1464         * Page.cs:
1465         (.ctor): set the page for this control.
1466         (IsPostBack): return valid value.
1467         (DeterminePostBackMode): finished.
1468         (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
1469         (ProcessPostData): implemented. Raises change and postback events.
1470         (ProcessRequest): changed to support reuse of the instance.
1471         (RegisterRequiresPostBack): implemented.
1473         * ValidatorCollection.cs: implemented all methods.
1475 2002-06-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1477         * Control.cs:
1478         * Page.cs: first attemp to save view state.
1480         * HtmlForm.cs: don't render Action.
1482 2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1484         * Page.cs: implemented more properties using information we already
1485         have in Context.
1486         (OnFormRender):
1487         (OnFormPostRender):
1488         (VerifyRenderingInServerForm): implemented.
1490 2002-06-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1492         * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
1493         out runtime. Renamed Page_Init and Page_Load.
1495         After this, we can load a dll and render HTML in linux.
1497 2002-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1499         * Control.cs:
1500         (AddedControl): new function that is called whenever a control is
1501         added to a collection of controls in a container. It sets the defaults
1502         except for Page.
1503         
1504         * ControlCollection.cs: call AddedControl in Add/AddAt.
1506         * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
1507         SetStaticString and SetDataBoundString.
1509         * Page.cs: removed SetDefaults.
1511 2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1513         * CompiledTemplateBuilder.cs: new file. Used in the code generated
1514         by xsp.
1516         * Control.cs:
1517         (BindingContainer): implemented.
1518         (EnsureChildControls): avoid stack overflow.
1520         * DataBinder.cs: implemented Eval and PropertyValue.
1522 2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1524         * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
1525         bug as in regular attributes).
1527 2002-06-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1529         * Control.cs: implemented PreventAutoID.
1531         * Page.cs:
1532         (SetDefaults): don't set ID automatically if Control.PreventAutoID has
1533         been called.
1535 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1537         * Page.cs:
1538         (Validators): if the collection is null, create one.
1539         (GetPostBackEventReference 2): don't throw exception.
1540         (GetPostBackClientEvent): return a string with containing the method
1541         name, the control name and the argument.
1543 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1545         * Page.cs: SetPage is now called SetDefaults and also sets a default 
1546         ID for controls that don't have one yet.
1548 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1550         * Page.cs:
1551         (GetPostBackClient):
1552         (RegisterRequiresPostBack): don't throw NotImplementedException to
1553         keep going.
1554         (ProcessRequest): set the current page as the Page property for *all*
1555         the controls, not just the direct children of the page.
1557 2002-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1559         * Control.cs:
1560         (MapPathSecure): until security is implemented, return the same path
1561         received as argument.
1562         (RenderControl): call OnPreRender before rendering the control. So
1563         AdRotator can read its configuration file.Is there any other place
1564         where this should be done?
1566         * HtmlTextWriter.cs:
1567         (AddAttribute): fixed. Now it really stores attributes.
1568         (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
1570 2002-06-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1572         * ControlCollection.cs:
1573         (AddAt): if index is -1 behave as a plain Add.
1575 2002-06-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1577         * Page.cs: for each child control to render, assign Control.Page.
1578         Probably also needed in HtmlContainerControl derived classes.
1579         
1580 2002-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1582         * AttributeCollection.cs: don't need a Hastable. StateBag now works 
1583         fine and takes care of the details.
1585         * Control.cs: added HasChildren property.
1587         * StateBag.cs: fixed a couple of nasty bugs.
1589 2002-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1591         * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
1592         Invoke Page_Init and/or Page_Load if the user supplied them (though 
1593         this should depend on AutoEventWireUp attribute of Page directive).
1595 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1597         * Control.cs: don't throw exception in ControlID. By now, it returns ID.
1599         * Page.cs: 
1600         (ProcessRequest): implemented.
1602 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1604         * System.Web.UI/Page.cs: finished stubbing out. Implemented some
1605         methods.
1607 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1609         * Page.cs:
1610         (FileDependencies): now is public public.
1611         (EnableViewStateMAC): uncommented and made protected. 
1612         (GetTypeHashCode): added method.
1613         
1614 2002-05-24  Duncan Mak  <duncan@ximian.com>
1616         * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
1618         * StateBag.cs (Item): Changed the visibility level of the this
1619         [object] indexer.
1621         Misc. formatting edits, fixing some bugs introduced by the indentation.
1623         * DataBinder.cs (Eval)
1624         (GetIndexedPropertyValue)
1625         (GetPropertyValue): Fixed return types.
1627 2002-05-21  Miguel de Icaza  <miguel@ximian.com>
1629         * HtmlTextWriter.cs: Use this to change the member instances.
1631 2002-05-17  Duncan Mak  <duncan@ximian.com>
1633         * AttributeCollection.cs: 
1634         * ControlCollection.cs: 
1635         * CssStyleCollection.cs: 
1636         * DataBindingCollection.cs: 
1637         * EmptyControlCollection.cs: Added missing Collection classes.
1639 2002-05-17  Duncan Mak  <duncan@ximian.com>
1641         * BaseParser.cs:
1642         * TemplateParser.cs:  Implemented. BaseParser is weird because
1643         there is no documentation on what it does.
1645         * ControlBuilder.cs:
1646         
1647         * DataBinder.cs: 
1648         * DataBinding.cs: Added. 
1650         * DataBoundLiteralControl.cs: 
1651         * Triplet.cs: Added.
1653         * RenderMethod.cs: Added this delegate for Control.cs
1655 2002-05-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1657         * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
1659 2002-05-14  Duncan Mak  <duncan@ximian.com>
1661         * ValidationPropertyAttribute.cs: Added to CVS.
1663 2002-05-10  Duncan Mak  <duncan@ximian.com>
1665         * ConstructorNeedsTagAttribute.cs: 
1666         * ControlBuilderAttribute.cs: 
1667         * ImageClickEventArgs.cs: 
1668         * ParseChildrenAttribute.cs: 
1669         * PartialCachingAttribute.cs: 
1670         * PersistChildrenAttribute.cs: 
1671         * PersistenceModeAttribute.cs: 
1672         * TemplateContainerAttribute.cs: Added to CVS.
1674         * PersistanceMode.cs: Removed, fixed typo.
1675         * PersistenceMode.cs: Replacing above.
1677         * StateBag.cs (this): Fixed indexer, it takes a string as the
1678         index, not an object.
1680         * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection. 
1682         * Page.cs (Validators): return type should be ValidatorCollection,
1683         not ValidatedCollection.
1685         * TagPrefixAttribute.cs: Added to CVS.
1687 2002-05-07  Duncan Mak  <duncan@ximian.com>
1689         * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
1691 2002-03-26   Gaurav Vaish <gvaish@iitk.ac.in>
1693         * DataBindingHandlerAttribute.cs
1694                                    - Completed
1695         * ToolboxDataAttribute.cs  - Completed
1697 2002-01-03  Nick Drochak  <ndrochak@gol.com>
1699         * DesignTimeParseData.cs: initialze static member to avoid compile
1700         error
1701         * PropertyConverter.cs: remove uneeded exception variables from
1702         catch blocks.
1704 2002-01-02  Nick Drochak  <ndrochak@gol.com>
1706         * DesignTimeParseData.cs: fix header to show correct class name
1708 2001-12-21   Gaurav Vaish <gvaish@iitk.ac.in>
1710         * StateBag.cs             - Completed
1712 2001-12-19   Gaurav Vaish <gvaish@iitk.ac.in>
1714         * Pair.cs                 - Small undocumented class. Completed.
1716 2001-12-18   Gaurav Vaish <gvaish@iitk.ac.in>
1718         * DesignTimeParseData.cs  - Initial implementation
1719         * StateBag.cs             - Initial implementation
1721 2001-12-17   Gaurav Vaish <gvaish@iitk.ac.in>
1723         * PropertyConverter.cs    - Undocumented class. Completed.
1724         * Utils.cs                - Undocumented, private class.
1725                                     Initial implementation
1727 2001-08-28  Bob Smith  <bob@thestuff.net>
1728         * Control.cs: Figured out some undocumented API.
1729         * Added TODO.
1730         * BuildMethod.cs: Initial implementation.
1731         * BuildTemplateMethod.cs: Initial implementation.
1732         * HtmlTextWriterAttribute.cs: Initial implementation.
1733         * HtmlTextWriterStyle.cs: Initial implementation.
1734         * HtmlTextWriterTag.cs: Initial implementation.
1735         * IAttributeAccessor.cs: Initial implementation.
1736         * IDataBindingsAccessor.cs: Initial implementation.
1737         * ImageClickEventHandler.cs: Initial implementation.
1738         * INamingContainer.cs: Initial implementation.
1739         * IParserAccessor.cs: Initial implementation.
1740         * IPostBackDataHandler.cs: Initial implementation.
1741         * IPostBackEventHandler.cs: Initial implementation.
1742         * IStateManager.cs: Initial implementation.
1743         * ITagNameToTypeMapper.cs: Initial implementation.
1744         * ITemplate.cs: Initial implementation.
1745         * IValidator.cs: Initial implementation.
1746         * OutputCacheLocation.cs: Initial implementation.
1747         * PersistanceMode.cs: Initial implementation.
1748         * StateItem.cs: Initial implementation.
1750 2001-08-27  Bob Smith  <bob@thestuff.net>
1752         * Control.cs: Bug fixes and implementations.
1754 2001-08-24  Bob Smith  <bob@thestuff.net>
1756         * Control.cs: Bug fixes.
1758 2001-08-23  Bob Smith  <bob@thestuff.net>
1760         * Control.cs: More implementation. Events reworked for performance.
1762 2001-08-22  Bob Smith  <bob@thestuff.net>
1764         * LiteralControl.cs: Implemented.
1765         * Control.cs: Even more implementation (Events). What a beast.
1767 2001-08-20  Bob Smith  <bob@thestuff.net>
1769         * Control.cs: More implementation. Not done yet. Shutter.
1771 2001-08-17  Bob Smith  <bob@thestuff.net>
1773         * Control.cs: Partial implementation.