1 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
3 * IStyleSheet.cs: Added missing "using".
4 * Page.cs: Implemented Header property.
5 * CssStyleCollection.cs: Made BagToString method internal.
6 * RootBuilder.cs: Register HtmlHead control.
8 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
10 * CssStyleCollection.cs: Minor (!) fix.
11 * HtmlTextWriter.cs: Register names for new 2.0 styles.
13 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
15 * CssStyleCollection.cs: Make it work as a standalone collection.
16 * HtmlTextWriter.cs: Added static method for getting style names.
18 2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
20 * ControlCollection.cs: fix off-by-one and store a null at the end to
21 remove the reference to the removed control.
23 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
25 * ClientScriptManager.cs: Added GetScriptLiteral helper method.
27 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
29 * Page.cs: Added support for callback events. Moved theform variable
30 outside the __doPostBack function, so it can be used by other
32 * StateBag.cs: Implemented SetDirty().
34 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
36 * Control.cs: when saving "Visible" into the ViewState, save the value
37 for this precise control, as using the Visible property might give us
38 Control's parent visibility. Fixes bug #69200.
40 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
42 * Control.cs: fixed ResolveUrl for relative URLs when using cookie-less
45 * System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
46 the appRoot + SessionID + vpath format.
48 Fixes the 3 issues reported in bug #66623.
50 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
52 * Page.cs: Moved code for managing client scripts to ClientScriptManager,
53 which is public in 2.0 and internal in 1.1.
54 * ClientScriptManager.cs: Implemented.
56 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
58 * DataSourceView.cs: Removed extra method.
60 2004-11-24 Sanjay Gupta <gsanjay@novell.com>
62 * DataSourveViewSelectCallback.cs: Corrected method signature.
64 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
66 * ControlBuilder.cs: Always check for the ParseChildrenAttribute,
67 even if the class doesn't implement IParserAccessor.
68 * WebResourceAttribute.cs: Allow multiple attributes of this type.
70 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
72 * DataSourceView.cs: Moved here implementation of DataSourceViewChanged
73 from SqlDataSourceView.cs.
75 2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
77 * Control.cs: unified a few bool fields into an int one.
79 * ControlCollection.cs: use an array internally instead of always
80 allocating an arraylist. Also added our own enumerator.
82 * EmptyControlCollection.cs: there's no 'special' ctor now in the base
85 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
87 * DataSourceView.cs: Changes in access modifiers of methods.
89 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
91 * DataSourceCapabilities.cs: Added Flags attribute.
92 * DataSourceSelectArguments.cs: Updated.
93 * DataSourveView.cs: Updated.
95 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
97 * HierarchicalDataSourceView.cs: Corrected class definition and updated.
99 2004-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
101 * HierarchicalDataSourceView.cs: fix typo.
103 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
105 * HierarchicalDataSourceView.cs: Updated.
107 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
109 * DataSourceSelectArguments.cs: Initial implementation.
111 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
113 * UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
115 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
117 * UrlTypes.cs: Updated.
119 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
121 * UrlPropertyAttribute.cs: Added new file.
123 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
125 * Control.cs: even if the control has no children the naming container
126 may contain the control we're looking for. Fixes bug #67304.
128 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
130 * AspGenerator.cs: added OtherTags.
132 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
134 * ControlValuePropertyAttribute.cs: Initial implementation.
136 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
138 * IPaginationContainer.cs: Corrected name of class.
140 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
142 * IDReferencePropertyAttribute.cs: Completed implementation.
144 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
146 * ThemeableAttribute.cs:
147 * FilterableAttribute.cs: Code scrubbing and optimization.
149 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
151 * ThemeableAttribute.cs: Completed implementation.
153 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
155 * FilterableAttribute.cs: Completed implementation.
157 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
159 * Control.cs: Added new attributes and a method.
160 * FilterableAttribute.cs: New attribute, initial implementation.
161 * ThemeableAttribute.cs: New attribute, initial implemenataion.
163 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
165 * TemplateParser.cs: ensure bin directory exists before trying to access
166 it. Fixes bug #65446 (not closed yet due to dependencies).
168 2004-09-09 Sanjay Gupta <gsanjay@novell.com>
170 * Control.cs: Implemented methods of interface IExpressionAccessor.
172 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
174 * SimpleWebHandlerParser.cs: correctly cache Type instead of the
175 assembly for ashx/asmx. Otherwise we need to open the file and check
176 for the class name in there. Thanks to Ben for pointing this out.
178 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
180 * TemplateParser.cs: removed creation of StringWriter. It's not used.
181 * Control.cs: don't create the EventHandlerList until requested.
183 2004-09-03 Sanjay Gupta <gsanjay@novell.com>
185 * Control.cs: Added new interfaces implemented in .Net 2.0.
186 * ExpressionBinding.cs: Added new class.
187 * ExpressionBindingCollection.cs: Added new class.
189 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
191 * LiteralControl.cs: stylized. This control has EnableViewState disabled
192 by default and doesn't get an automatic ID. When text is null -> "".
194 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
196 * ControlSkinProc.cs:
197 * DataSourceViewOperationCallback.cs:
198 * DataSourceViewSelectCallback.cs:
199 * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not
200 required in definition as delegates by default are sealed.
202 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
204 * IDReferencePropertyAttribute.cs: Corrected and changed from interface
206 * IMobileTextWriter.cs: Corrected method signatures.
208 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
210 * ControlSkinProc.cs:
211 * DataSourceViewOperationCallback.cs:
212 * DataSourceViewSelectCallback.cs:
213 * ExtractTemplateValuesMethod.cs: Added new delegates.
215 2004-08-06 Sanjay Gupta <gsanjay@novell.com>
217 * IBindableTemplate.cs:
218 * ICallbackEventHandler.cs:
219 * IControlBuilderAccessor.cs:
220 * IControlDesignerAccessor.cs:
221 * IControlTypeFilter.cs:
222 * IDataItemContainer.cs:
223 * IDataSourceViewSchemaAccessor.cs:
224 * IDReferencePropertyAttribute.cs:
225 * IExpressionsAccessor.cs:
226 * IFilterResolutionService.cs:
227 * IItemPaginationInfo.cs:
228 * IMobileTextWriter.cs:
230 * IPaginationContainer.cs:
231 * IPaginationInfo.cs:
232 * IResourceResolutionService.cs:
233 * IResourceUrlGenerator.cs:
234 * IStateFormatter.cs:
236 * IThemeResolutionService.cs:
237 * IUrlResolutionService.cs:
238 * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
240 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
242 * PostBackOptions.cs: Added new file and implemented the class.
244 2004-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
246 * HtmlTextWriterTag.cs: readded author name.
248 2004-08-04 Sanjay Gupta <gsanjay@novell.com>
250 * HtmlTextWriterAttribute.cs:
251 * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
252 * CompilationMode.cs:
253 * ConflictOptions.cs:
254 * DataSourceCacheExpiry.cs:
255 * DataSourceCapabilities.cs:
256 * DataSourceOperation.cs:
257 * TemplateContentType.cs:
258 * TemplateInstance.cs:
260 * VerificationConditionalOperator.cs:
261 * VerificationReportLevel.cs:
262 * VerificationRule.cs:
263 * XhtmlMobileDocType.cs: Added enumerations.
265 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
267 * Control.cs: style. Reverted previous patch modification of
268 TemplateSourceDirectory (failed when the control is reparented). Use
269 HasControls() and Controls all over instead of _controls, as Controls
270 property and HasControls() might be overriden.
272 2004-07-27 Alon Gazit <along@mainsoft.com>
274 * Control.cs: Changed the implementation of TemplateSourceDirectory
275 and GetDefaultName(). replaced foreach statements with for statements,
276 in order to improve performence.
278 2004-07-27 Alon Gazit <along@mainsoft.com>
280 * Page.cs: changed the implementation of GetViewStateString().
281 if the view state object is null there is no need to perform
284 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
286 * TemplateControl.cs: don't include private methods of base classes when
287 auto-attaching events. Fixes bug 61569.
289 2004-07-14 Alon Gazit <along@mainsoft.com>
291 * HtmlTextWriter.cs: changed the Hashtables to case insensitive.
292 2004-07-08 Pablo Baena <pbaena@gmail.com>
294 * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
296 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
298 * Page.cs: added additional checks for saving/displaying trace data.
300 * PageParser.cs: removed checks for trace enabled in configuration
303 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
305 * ControlCollection.cs: when clearing the control collection, tell the
306 owners about the removal. Fixes bug #60800.
308 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
310 * Page.cs: don't nullify _context after processing the request as there
311 are events not triggered yet. Fixes bug #60726.
313 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
315 * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
318 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
321 * UserControlParser.cs: set the page/user control base type even when no
322 default directive provided. Fixes bug #60572.
324 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
326 * PageParser.cs: use default trace settings from web.config and check
327 if trace is only requested for local connections. Fixes bug #60180.
329 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
331 * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When
332 we read the default directive, check the cache for the Type and if
333 present, don't keep reading and store the type found.
335 * WebHandlerParser.cs:
336 * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
339 2004-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
341 * Control.cs: properly fixed bug #59794.
343 2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
346 (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
349 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
351 * SimpleWebHandlerParser.cs:
352 * TemplateParser.cs: pass the language when compiling from a file.
354 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
356 * SimpleWebHandlerParser.cs: if we have a global.asax, move its
357 reference to the end to help mcs loading the assemblies. Fixes bug
360 * TemplateParser.cs: same as above. Removed some kludges to workaround
361 loading assemblies from bin path that are now in the runtime. Don't
362 load the assemblies in bin if not needed, but still reference them
365 2004-06-07 Alon Gazit <along@mainsoft.com>
366 * Page.cs: Changed Page.ProcessPostData().
367 After the change ,the state of controls that aren't visible is saved
370 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
372 * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
374 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
376 * Page.cs: IsPostBack also returns true when method is GET and we have
377 viewstate information in the query string. Fixes bug #58151.
379 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
381 * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
382 HttpRutime.TraceManager.
384 * PageParser.cs: for 'trace' we have 2 variables now. Added support
385 for 'buffer' attribute.
387 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
389 * Page.cs: implemented ClientTarget.
390 * PageParser.cs: support for clientTarget and check for validity.
392 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
395 * Html32TextWriter.cs:
397 * SimpleWebHandlerParser.cs:
398 * TemplateControl.cs: Added protected missing members and attributes.
400 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
402 * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
403 calling a protected method of another object.
405 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
407 * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
408 (of other objects) are called in TypeConverterFormatter.
410 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
412 * ObjectStateFormatter.cs: before choosing the binary formatter, check
413 if the object type has a TypeConverter that can convert to/from string.
416 * Page.cs: call GetViewStateString from outside the WriteLine. This
417 allows writing to the Response when getting the string without breaking
420 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
422 * HtmlTextWriter.cs: render end tag for unknown tags.
423 Patch frmo Markus Kräutner. Fixes bug #59466.
425 2004-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
427 * Page.cs: call DeterminePostBackMode only once per request. Patch by
430 2004-05-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
432 * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
435 * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
438 2004-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
440 * SimpleWebHandlerParser.cs:
441 * TemplateParser.cs: for the assembly names given in the 'assembly'
442 attribute, use LoadWithPartialName instead of Load.
443 2004-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
445 * Page.cs: return HttpContext.Current if _context has not yet been
446 assigned to. Fixes bug #55245.
448 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
450 * TemplateParser.cs: don't add import statement or assemblies from
451 global.asax to every file. Fixes bug #55496.
453 2004-03-09 Juraj Skripsky <juraj@hotfeet.ch>
455 * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
456 handle single quotes and a few corner cases correctly (see test cases).
458 2004-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
460 * TemplateControl.cs: fixed typos and added new method names to the set
463 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
465 * ControlBuilder.cs: added SetTagName().
467 * ObjectTagBuilder.cs: use SetTagName so that we can properly close
468 <object> builders if the closing tag is provided.
470 2004-02-16 Jackson Harper <jackson@ximian.com>
472 * Page.cs: Set cacheability for Location.DownStream.
474 2004-02-10 Jackson Harper <jackson@ximian.com>
476 * TemplateParser.cs: Use full path if the assembly is in the
477 private bin directory. Patch by Gonzalo Paniagua Javier.
479 2004-02-09 Jackson Harper <jackson@ximian.com>
481 * Page.cs: Set cacheability for server side caching.
483 2004-01-30 Jackson Harper <jackson@ximian.com>
485 * Control.cs: Ensure that dynamically loaded controls are
488 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
490 * ApplicationFileParser.cs: check for error in directives. Use
491 GlobalAsaxCompiler.CompileApplicationType for compiling.
493 * ObjectTagBuilder.cs: load the Type and check for errors.
495 * TemplateParser.cs: add assemblies and imports from global.asax.
497 Now we properly create accessors for session and application objects in
498 the application itself, pages and controls. First step for fixing
501 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
503 * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
504 to Eric Lindvall for pointing this out.
506 2004-01-15 Jackson Harper <jackson@ximian.com>
508 * TemplateParser.cs: Detect if we are parsing a control or page
510 * Page.cs: vary by params and vary by headers can be null now.
512 2004-01-15 Martin Willemoes Hansen <mwh@sysrq.dk>
514 * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
517 2004-01-14 Jackson Harper <jackson@ximian.com>
519 * Page.cs: If we have a postback that wasn't sent through a
520 postback script (ie user hit submit on a input type=submit) call
521 Validate so page validation occurs. This fixes bug #52770.
523 2004-01-14 Jackson Harper <jackson@ximian.com>
525 * Page.cs: Don't tell the response to cache anymore. This is done
526 when the cacheability is modified by a callback. Set the cache's
529 2004-01-14 Jackson Harper <jackson@ximian.com>
531 * TemplateParser.cs: If varybyparam is set to "none" make it null
532 so we dont get a param named null in the outputcache key.
534 2004-01-14 Jackson Harper <jackson@ximian.com>
536 * BasePartialCachingControl.cs: Use varyby attributes in key
539 2004-01-14 Jackson Harper <jackson@ximian.com>
541 * TemplateParser.cs: Add all the outputcache attribute error
544 2004-01-13 Jackson Harper <jackson@ximian.com>
546 * TemplateParser.cs: Add VaryByControls and Shared output cache
547 properties. These are not assigned yet.
548 * TemplateControlParser.cs: Do not ignore the OutputCache
550 * BasePartialCachingControl.cs: Initial implementation. Keys are
551 still not created properly.
552 * StaticPartialCachingControl.cs: Assign properties in base class,
553 implement CreateControl.
555 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
557 * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
559 * PageParser.cs: support validateRequest.
561 * TemplateControlParser.cs: get default values from system.web/pages
564 * TemplateParser.cs: added separate method for changing base type
565 (Inherits or system.web/pages).
567 * UserControlParser.cs: support system.web/pages defined base type.
569 2004-01-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
571 * UserControl.cs: Added missing attribute, implemented method
572 * Page.cs: Added missing attribute, implemented method
574 2004-01-10 Jackson Harper <jackson@ximian.com>
576 * Page.cs: Handle trace being enabled in the config file.
578 2004-01-10 Jackson Harper <jackson@ximian.com>
580 * Page.cs: Save trace data before rendering it.
581 * System.Web.dll.sources: Add TraceData.cs
583 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
585 * Page.cs: removed a couple of MonoTODO on methods we're not gonna
586 implement. Applied patch from Jan Jaros (mono-bug@jerryweb.info) to
587 ensure that Unload event is raised. Fixes bug #52555.
589 2004-01-02 Zoltan Varga <vargaz@freemail.hu>
591 * KeyedList.cs: 'private' is not allowed on explicit interface
592 implementations. Fixes 1.2 build.
594 2003-12-31 Jackson Harper <jackson@ximian.com>
596 * TemplateControlParser.cs: When registering tag prefixs make sure
597 the file exists and throw the correct error if it does not.
599 2003-12-25 Jackson Harper <jackson@ximian.com>
601 * Page.cs: Throw error if the session is accessed when sessions
604 2003-12-18 Jackson Harper <jackson@ximian.com>
606 * Page.cs: Write Trace info.
608 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
610 * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
611 * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
613 * PageParser.cs: the ctor is public.
614 * PartialCachingAttribute.cs: added new ctor and Shared property.
616 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
618 * Page.cs: assign the ErrorPage to the context if we get an exception
619 when processing the page which only calls Unload.
621 * PageParser.cs: handle ErrorPage.
623 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
625 * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
626 are not [Serializable]. Fixes bug #52244.
628 2003-12-16 Jackson Harper <jackson@ximian.com>
630 * Page.cs: Render trace data when tracing is enabled.
632 2003-12-15 Jackson Harper <jackson@ximian.com>
634 * PageParser.cs: Add Trace and Trace mode attributes.
636 2003-12-15 Jackson Harper <jackson@ximian.com>
638 * Page.cs: Use the context trace object.
640 2003-12-14 Alon Gazit <along@mainsoft.com>
641 * AttributeCollection.cs: Changed AttributeCollection.Render().
642 After the change attributes ,that their value is null, aren't
645 2003-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
647 * Control.cs: remove a few dangling ^M, don't set values for fields
648 that has the default value. If Visible is modified and we're tracking
649 viewstate, save and restore it. Fixes bug #48689.
651 2003-12-11 Jackson Harper <jackson@ximian.com>
653 * Control.cs: Give null for the ID if it hasn't been explicitly
654 set. This fixes bug #51520.
656 2003-12-08 Jackson Harper <jackson@ximian.com>
658 * PageParser.cs: Ignore the SmartNavigation attribute for now.
660 2003-12-05 Jackson Harper <jackson@ximian.com>
662 * DataBinder.cs (GetIndexedPropertyValue): Check if container is
663 an IList and use a cast instead of reflection to retrieve the item
664 if it is. Fixes bug #51759.
666 2003-12-04 Alon Gazit <along@mainsoft.com>
667 * Page.cs: Changed Page.ID so it will call Control.ID.
670 2003-12-02 Jackson Harper <jackson@ximian.com>
672 * Page.cs: Implemented registered array declarations. Patch by
673 Benjamin Jemlich <pcgod@gmx.net>
675 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
677 * TemplateParser.cs: basic check for 'classname' attribute and added
678 patch by pcgod@gmx.net for bug #51568, which fixes automatic class
679 names for pages starting with a number.
681 2003-11-30 Ben Maurer <bmaurer@users.sourceforge.net>
683 * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
686 * ObjectStateFormatter.cs: Comment out tracing.
688 2003-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
690 * Page.cs: fixed UICulture, LCID and Culture. Set the thread
691 [UI]Culture before processing the request.
693 * PageParser.cs: read Culture, UICulture and LCID attributes. Added
694 properties for these. Partially contributed by Mohammad Damt.
698 2003-11-27 Jackson Harper <jackson@ximian.com>
700 * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
703 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
705 * ObjectStateFormatter.cs: Fix bug when reading small ints.
706 Add some tracing so we can see what is going on.
708 2003-11-21 Jackson Harper <jackson@ximian.com>
710 * Page.cs: Set vary by params when cache location is Server.
712 2003-11-21 Ben Maurer <bmaurer@users.sourceforge.net>
714 * ObjectStateFormatter.cs: v2 file. In v1.x this will be
715 internal as LosFormatter will eventually use it to save
718 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
720 * PersistChildrenAttribute.cs:
721 * PersistenceModeAttribute.cs: implemented.
723 * TODO: Removed file.
724 * OutputCacheLocation.cs:
725 * TemplateControlParser.cs:
726 * HtmlInputFile.cs: class status based fixes.
728 2003-11-19 Jackson Harper <jackson@ximian.com>
730 * Page.cs: Always set the cache expire time. Tell the response to
731 cache itself for server side cached pages.
733 2003-11-19 Jackson Harper <jackson@ximian.com>
735 * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
736 thing, some corner cases still need work though. Was this the
737 shortest lived method in the history of mono?
739 2003-11-19 Jackson Harper <jackson@ximian.com>
741 * Control.cs: New method for resolving urls that use ~/ to denote
742 the applications base directory.
744 2003-11-19 Jackson Harper <jackson@ximian.com>
746 * TemplateParser.cs: Fix typo in error message.
748 2003-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
750 * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
753 2003-11-19 Todd Berman <tberman@gentoo.org>
756 * KeyedListEnumerator.cs: New v2 implementations.
758 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
760 * StateManagedCollection.cs: Implement.
762 2003-11-13 Jackson Harper <jackson@ximian.com>
764 * Page.cs: Initial implementation of InitOutputCache.
765 * TemplateParser.cs: Page OutputCache options
767 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
769 * HierarchicalDataSourceControl.cs: Implement.
771 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
773 * XPathBinder.cs: Implemented.
775 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
779 * ListSourceHelper.cs:
780 * DataSourceControl.cs:
781 * HierarchicalDataSourceView.cs:
782 * IHierarchicalDataSource.cs: Move v2 stuff.
784 2003-11-07 Jackson Harper <jackson@ximian.com>
786 * Control.cs (ResolveUrl): Special case for urls that consist of
787 only a page anchor. ie <a href="#top">. This fixes bug #50165.
789 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
791 * IHierarchicalEnumerable.cs:
793 * INavigateUIData.cs: New v2 interfaces.
795 2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
797 * Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
798 space in generated javascript.
800 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
802 * LosFormatter.cs: encoding updates.
803 * Page.cs: implemented CodePage and ContentType.
804 * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
807 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
809 * Control.cs (GetWebResourceUrl): new v2 function
810 * Page.cs (GetWebResourceUrl): ditto.
811 make the JS we generate work with moz if the form is not a child
813 * WebResourceAttribute.cs: Added, new v2 attribute.
815 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
817 * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
819 * PageParser.cs: initialize the parser in the constructor, not just
820 before compiling and reference the application assembly.
822 * SimpleWebHandlerParser.cs: reference the assembly that contains the
825 * TemplateControl.cs:
826 * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
827 path and physical path when compiling a user control.
829 * TemplateParser.cs: new AddApplicationAssembly ().
830 * UserControlParser.cs: now we get valid values in the ctor.
832 Referencing the application assembly fixes bug #49652.
835 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
837 * TemplateControl.cs: moved NoParamsInvoker class to its own file.
839 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
841 * BaseParser.cs: added CompilationConfig property.
844 * SimpleWebHandlerParser.cs: added CompilationConfig property.
845 Don't hardcode assembly names any more, assemblies in bin are added
846 depending on the configuration. The default language is also taken
847 from the configuration.
849 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
851 * LosFormatter.cs: fixed bug #49604. Patch by yaronsh@mainsoft.com.
853 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
855 * Control.cs: removed some debug lines.
856 * Page.cs: implemented RegisterOnSubmitStatement
857 * TemplateControl.cs: fixed wire up for methods with no parameters.
859 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
861 * PageParser.cs: ignore ValidateRequest by now.
863 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
865 * System.Web.UI/TemplateControl.cs: support for wiring up events without
868 2003-10-08 Pedro MartÃnez Juliá <yoros@wanadoo.es>
870 * PageParser.cs: drop some useless code.
872 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
874 * Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
876 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
878 * System.Web.UI/PageParser.cs:
879 * System.Web.UI/TemplateControlParser.cs: honour the input file given
882 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
885 (ClearChildViewState): doh! Don't clear control viewstate but the
886 viewstate of possible children.
887 (LoadViewStateRecursive): load viewstate even when control is not
890 The rest are just dangling ^M removed.
892 * DataBoundLiteralControl.cs:
893 (LoadViewState): we get an object [], not a string [].
895 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
897 * Control.cs: implemented ClearChildViewState ().
899 2003-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
901 * Page.cs: store unique IDs for controls requiring postback. Fixes bug
904 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
906 * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
907 dependencies so that it's recompiled when changed.
909 2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
911 * LosFormatter.cs: fixed Deserialize for empty viewstate.
913 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
915 * Page.cs: check if controls that require postback have
916 been changed by an event and register them to be notified of data
919 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
921 * Control.cs: patch by yaronshkop@hotmail.com (Yaron Shkop) that fixes
924 2003-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
926 * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
927 are not serializable. Fixes bug #47784.
929 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
931 * Control.cs: index the viewstates saved by the control position, not
932 the control name. Fixes bug #47697.
934 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
936 * ControlCollection.cs:
937 * EmptyControlCollection.cs: create a minimum ArrayList for this.
939 * BaseParser.cs: added setter for BaseVirtualDir.
941 * Page.cs: fixed message when restoring view state fails.
942 * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
943 when a relative path to the control is given. Fixes bug #47685.
945 2003-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
947 * Control.cs: when we load the viewstate for a control that has children
948 viewstates and the child is not found, keep its viewstate around and
949 wait until the child is added to load the viewstate. Fixes bug #47697.
951 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
953 * TemplateControl.cs: more Delegate.CreateDelegate fixes.
955 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
957 * PartialCachingControl.cs: is not abstract
959 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
961 * SimpleHandlerFactory.cs: implemented GetHandler.
962 * WebHandlerParser.cs: new file that parses .ashx files.
964 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
966 * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
968 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
970 * UserControl.cs: Added attribute
971 * BasePartialCachingControl.cs: New class and paritally implemented
972 * DesignerDataBoundLiteralControl.cs: New class and implemented
973 * DesignTimeTemplateParser.cs:
974 * PartialCachingControl.cs:
975 * StaticPartialCachingControl.cs: New class and paritally implemented
977 2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
979 * ApplicationFileParser.cs: Fixed signature
980 * DesignTimeParseData.cs: Added missing properties, implemented
981 * Page.cs: Added attributes
983 * TemplateControlParser.cs:
985 * UserControlParser.cs: Fixed signature
987 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
989 * HtmlControlPersistableAttribute.cs: Added
990 * IgnoreUnknownContentAttribute.cs: Added
992 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
994 * IUserControlDesignerAccessor.cs: Added and implemented
995 * Control.cs: Missing member added, added all attributes
996 * Page.cs: Added attributes, fixed signature
997 * TemplateControl.cs: Fixed signature, added all attributes
998 * UserControl.cs: Added all attributes, added and implemented missing interface
1000 2003-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1002 * ControlCollection.cs: fixed bug #46472.
1004 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1006 * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
1008 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1010 * SimpleWebHandlerParser.cs: updated to new compilation interface.
1012 * TemplateParser.cs: use the new parameter when compiling.
1014 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1016 * Page.cs: also keep the value for the second try on handling postback
1019 2003-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1021 * BaseParser.cs: fixed MapPath for non-rooted files.
1022 * PageParser.cs: don't pass a non-virtual file around.
1023 * TemplateControlParser.cs: InputFile uses MapPath now. Take care of
1024 the exception teh may be throw by MapPath on an invalid path.
1026 * TemplateParser.cs: removed unused method.
1027 * UserControlParser.cs: modified inputfile. The result is the same, but
1030 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1032 * RootBuilder.cs: throw exception when the tagprefix is not valid or
1035 2003-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1037 * TemplateControlParser.cs: return after processing @Register.
1039 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1041 * TemplateParser.cs: Added support for server side includes.
1043 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1045 * TemplateControl.cs: fixed the flags used to find the methods that
1046 are automatically hooked up on events.
1048 * TemplateParser.cs: don't compile a source file directly. Use the
1051 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1053 * BaseParser.cs: Location property is now here. Added a couple of
1054 convenience methods to throw a ParseException.
1056 * TemplateParser.cs:
1057 * TemplateControlParser.cs:
1058 * PageParser.cs: throw ParseException where appropiate.
1060 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1062 * ApplicationFileParser.cs: use the generator to actually parse the
1065 * ControlBuilder.cs: small fix in NamingContainerType because
1066 TemplateBuilders have a null ControlType. When a control is appended
1067 to a parent, assign the child's parent.
1069 * UserControlParser.cs: fixed the value of InputFile.
1071 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1073 * ApplicationFileParser.cs: store the Context and override
1074 BaseVirtualDir so that it's the application path.
1076 * BaseParser.cs: removed CurrentVirtualPath property.
1078 * TemplateControlParser.cs: use BaseVirtualDir.
1080 * UserControlParser.cs: removed CurrentVirtualPath.
1082 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1084 * TemplateParser.cs: always reference all the assemblies in bin
1087 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1089 * ApplicationFileParser.cs: it works now. Prior to these changes, we
1090 were using the compiler directly.
1092 * BaseParser.cs: added some useful properties and methods.
1094 * CodeBuilder.cs: use ILocation.
1095 * CodeRenderBuilder.cs: use ILocation.
1096 * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
1098 * ControlBuilder.cs: made it useful.
1100 * DataBindingBuilder.cs: the control type for data bound text is
1101 DataBoundLiteralControl now.
1103 * ObjectTagBuilder.cs: store some object tag attributes.
1105 * PageParser.cs: handle page-only directives.
1107 * RootBuilder.cs: bah.
1108 * SimpleWebHandlerParser.cs: made it dummy.
1109 * TemplateControl.cs: Modified file.
1111 * TemplateControlParser.cs: handle directives that are common to pages
1114 * TemplateParser.cs: utility methods and handling of directives that
1115 are common to app, page and user controls.
1117 * UserControl.cs: added ControlBuilderAttribute.
1119 * UserControlControlBuilder.cs: builder for user controls.
1120 * UserControlParser.cs: use the new interfaces.
1122 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1124 * ControlBuilder.cs: line and fileName are protected now.
1126 * CodeBuilder.cs: base class for the next 2 files.
1127 * CodeRenderBuilder.cs: builder for code render.
1128 * DataBindingBuilder.cs: builder for data binding.
1130 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1132 * ITagNameToTypeMapper.cs: made it internal.
1134 * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
1136 * RootBuilder.cs: initial builder.
1138 2003-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1140 * CollectionBuilder.cs:
1141 * TemplateBuilder.cs: new classes derived from ControlBuilder that
1142 represent a property or a ITemplate.
1144 * ControlBuilder.cs: implemented all the missing bits.
1145 * TemplateParser.cs: added mapping from tag name to Type feature.
1147 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1149 * Control.cs: have i definitely fixed naming container stuff this time?
1151 * LosFormatter.cs: activated binary serialization code.
1153 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1156 (AddedControl): fixed default id assignation when the sequence of
1157 AddedControl until it's included in the page or one of its controls
1158 does not pass through a naming container.
1160 2003-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1162 * Control.cs: give different default names depending on the place where
1163 it is assigned. Implemented ResolveURl (no more ~ rendered in
1166 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1168 * Control.cs: when adding a control, assign default names to th
1169 children that don't have one.
1171 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1173 * SimpleWebHandlerParser.cs: modified to use the new parser interface.
1175 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1177 * Control.cs: some more tweaks to naming containers stuff.
1178 * DataBinder.cs: don't throw exception if the container is null.
1180 * Page.cs: now we can render client scripts, startup scripts and hidden
1181 fields. Only render __VIEWSTATE if there is someone that will take care
1183 (RaisePostBackEvents): first try the last one that required raise event,
1184 then try __EVENTTARGET.
1186 2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1188 * Control.cs: fixes in UniqueID, FindControl, AddedControl,
1189 UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
1190 FindControl work with NamingContainers.
1192 * ControlCollection.cs: notify the parent when clearing the collection.
1194 * LosFormatter.cs: Added debugging output and generate a valid
1195 viewstate even for unknown types.
1197 * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
1200 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1202 * Page.cs: make it fire the LoadData related events also for controls
1203 such as ImageButton, whose variable(s) in the query string are of the
1204 form ctrl_name.x and only fire them once per control.
1206 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1209 (GetPropertyValue): don't try to get the property as indexed
1211 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1213 * DataBinder.cs: use TypeDescriptor to get the properties and their
1216 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1219 (AddedControl): take the children to the same state of the parent.
1220 (InitRecursive): set the page of the children.
1222 * Page.cs: removed one line (it's done a few lines above).
1225 (OnInit): always call InitializeAsUserControl
1226 (InitializeAsUserControl): sets the page for the control.
1228 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1230 * Control.cs: fixed bug #36037.
1232 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1234 * BaseParser.cs: a couple of path fixes to make it work
1235 when the page is not in the root directory.
1237 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1239 * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
1242 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1244 * BaseParser.cs: use MapPath and context to locate files.
1245 * Control.cs: implemented MapPathSecure.
1246 * TemplateControl.cs: use UrlUtils to generate the path.
1247 * TemplateControlParser.cs: use the context and MapPath.
1248 * UserControl.cs: implemented MapPath.
1249 * UserControlParser.cs: added context parameter to constructor.
1251 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1253 * Control.cs: implemented MapPathSecure.
1254 * Page.cs: fixed Server property.
1256 2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1258 * DataBinder.cs: try the indexer if the property is not found in
1259 GetPropertyValue ().
1261 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1263 * Control.cs: added AutoEventWireup internal property.
1265 * Page.cs: removed page events wire up from here.
1267 * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
1268 and user controls events.
1270 * TemplateControlParser.cs: process the options that are applicable
1271 once we have the instance of the control.
1273 * TemplateParser.cs: also stores the options.
1275 * UserControl.cs: hook up events before initializing the control.
1278 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1280 * Control.cs: new method to set bindingContainer value.
1281 * TemplateControl.cs: added controls are not binding containers.
1283 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1285 * Control.cs: implemented TemplateSourceDirectory.
1286 * TemplateControl.cs: implemented LoadControl and LoadTemplate.
1288 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1290 * UserControl.cs: fixed SetAttribute.
1291 * UserControlParser.cs: set the correct base type.
1293 2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1295 * TemplateParser.cs: fixed BaseType.
1296 * UserControlParser.cs: helper class to compile user controls.
1298 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1300 * LosFormatter.cs: added DateTime to special types.
1302 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1304 * LosFormatter.cs: added array serialization support. Disabled binary
1305 serialization and add some debugging code.
1307 * StateBag.cs: the length of the list of value can be less than the
1308 length if the list of keys when remaining values are null.
1310 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1312 * Page.cs: return something useful in GetPostBackClientEvent.
1314 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1316 * Page.cs: implemented FileDependecies and made it protected.
1318 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1320 * Control.cs: save control names instead of the controls
1321 themselves to the ViewState.
1323 * LosFormatter.cs: added support for serializing unknown
1324 types. BinaryFormatter does not work so you better don't store anything
1325 of unknown Type in ViewState.
1327 * Page.cs: GetViewStateString works now using LosFormatter.
1328 Complete "Control execution lifecycle" by unloading all the child
1329 controls. Check for null in RaisePostBackEvents.
1330 LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
1332 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1334 * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
1336 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1338 * LosFormatter.cs: Use WebEncoding.Encoding.
1341 * Page.cs: fixed namespace.
1343 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1345 * Page.cs: set the context in ProcessRequest. Added a few trace calls.
1346 * Control.cs: added some trace information.
1348 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1350 * SimpleHandlerFactory.cs: new handler for .ashx files.
1352 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1354 * System.Web.UI/PageHandlerFactory.cs: new file.
1355 * System.Web.UI/PageParser.cs:
1356 * System.Web.UI/TemplateControlParser.cs: we are now able to compile
1357 pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
1359 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1361 * Control.cs: implemented ObBubbleEvent.
1362 * Page.cs: temporary workaround to make POST work with xsp server.
1364 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1366 * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
1369 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1371 * SimpleWebHandlerParser.cs: New file.
1372 * WebServiceParser.cs: New file.
1374 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1376 * LosFormatter.cs: almost fully implemented.
1378 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1380 * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
1381 * EmptyControlCollection.cs: throw correct exception.
1382 * LosFormatter.cs: stubbed out.
1383 * OutputCacheLocation.cs: little fix.
1385 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1387 * System.Web.UI/ApplicationFileParser.cs:
1388 * System.Web.UI/BaseParser.cs:
1389 * System.Web.UI/PageParser.cs:
1390 * System.Web.UI/TemplateControl.cs:
1391 * System.Web.UI/TemplateControlParser.cs:
1392 * System.Web.UI/TemplateParser.cs: first steps to move xsp into
1395 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1397 * Page.cs: request to render postback script can be after form started
1400 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1402 * Page.cs: added more page events to invoke automagically if some
1403 methods are defined.
1405 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1408 (SaveViewState): save state even when control is not visible.
1409 (SaveViewStateRecursive):
1410 (LoadViewStateRecursive): made internal.
1412 2002-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1414 * Page.cs: improved event raising to allow client postback for a wider
1415 variety of actions (clicking an hyperlink, ...).
1417 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1419 * UserControl.cs: implemented Load/SaveViewState.
1421 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1423 * AttributeCollection.cs:
1424 (Add): handle 'style' through styleCollection.
1426 * CssStyleCollection.cs:
1427 (fillStyle): renamed to FillStyle and made it internal.
1430 (GetViewStateString): fixed, broken after other recent changes.
1431 (ProcessPostData): allow a second try for postback data after OnLoad.
1432 (ProcessRequest): clear controls collection, removed call to
1435 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1437 * Control.cs: uncommented Dispose.
1440 (DeterminePostBackMode): more checkings.
1441 (GetPostBackClientHyperLink): implemented.
1442 (GetPostBackEventReference): added some comments with the HTML that MS
1444 (ProcessRequest): fixed processing order. The page is unloaded after
1445 a request and regenerated from view state on subsequents posts.
1447 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1449 * Control.cs: fixed related to ViewState. Added RemovedControl.
1451 * ControlCollection.cs: notify owner of control removal.
1453 * CssStyleCollection.cs: almost rewritten to make it render the style
1454 attribute after changes to it.
1456 * Page.cs: follow the guidelines in 'Control execution lifecycle'.
1459 * StateBag.cs: don't use IDictionary.GetEnumerator on the
1460 HybridDictionary: it makes the program give an InvalidCastException at
1463 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1465 * Page.cs: fire Init and Load events for all children.
1467 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1469 * UserControl.cs: New file.
1471 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1473 * ControlBuilderAttribute.cs: finished implementation.
1475 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1477 * ConstructorNeedsTagAttribute.cs: the default constructor sets the
1480 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1482 * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
1484 * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
1485 Hashtable. Added internal .ctor.
1487 * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
1488 Equals and GetHashCode.
1490 * System.Web.UI/DataBoundLiteralControl.cs:
1492 (SaveViewState): implemented.
1494 * System.Web.UI/Page.cs: FileDependencies is not public.
1496 * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
1499 (IsDefaultAttribute): implemented.
1501 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1503 * Control.cs: fixed Visible property.
1504 * Page.cs: fixed GetViewStateString.
1506 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1508 * System.Web.UI/Page.cs:
1509 (GetViewStateString): new function to give the server access to the
1510 generated view state string.
1513 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1516 (SaveViewstateRecursive): implemented.
1517 (SaveViewState): fixed.
1518 (IParserAccessor.AddParsedSubObject): don't use 'this'.
1520 * Page.cs: added code to save view state to an xml file. It's not
1521 being used right now.
1523 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1525 * System.Web.UI/LiteralControl.cs:
1526 Fixes based on class status page:
1528 - Add attributes (DefaultEvent, ParseChildren).
1530 - Explicitly implement some interfaces (IPostBackDataHandler
1531 and IPostBackEventHandler).
1532 - Implemented some missing methods.
1534 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1536 * Control.cs: reimplemented FindControls.
1539 (.ctor): set the page for this control.
1540 (IsPostBack): return valid value.
1541 (DeterminePostBackMode): finished.
1542 (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
1543 (ProcessPostData): implemented. Raises change and postback events.
1544 (ProcessRequest): changed to support reuse of the instance.
1545 (RegisterRequiresPostBack): implemented.
1547 * ValidatorCollection.cs: implemented all methods.
1549 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1552 * Page.cs: first attemp to save view state.
1554 * HtmlForm.cs: don't render Action.
1556 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1558 * Page.cs: implemented more properties using information we already
1562 (VerifyRenderingInServerForm): implemented.
1564 2002-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1566 * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
1567 out runtime. Renamed Page_Init and Page_Load.
1569 After this, we can load a dll and render HTML in linux.
1571 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1574 (AddedControl): new function that is called whenever a control is
1575 added to a collection of controls in a container. It sets the defaults
1578 * ControlCollection.cs: call AddedControl in Add/AddAt.
1580 * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
1581 SetStaticString and SetDataBoundString.
1583 * Page.cs: removed SetDefaults.
1585 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1587 * CompiledTemplateBuilder.cs: new file. Used in the code generated
1591 (BindingContainer): implemented.
1592 (EnsureChildControls): avoid stack overflow.
1594 * DataBinder.cs: implemented Eval and PropertyValue.
1596 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1598 * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
1599 bug as in regular attributes).
1601 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1603 * Control.cs: implemented PreventAutoID.
1606 (SetDefaults): don't set ID automatically if Control.PreventAutoID has
1609 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1612 (Validators): if the collection is null, create one.
1613 (GetPostBackEventReference 2): don't throw exception.
1614 (GetPostBackClientEvent): return a string with containing the method
1615 name, the control name and the argument.
1617 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1619 * Page.cs: SetPage is now called SetDefaults and also sets a default
1620 ID for controls that don't have one yet.
1622 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1625 (GetPostBackClient):
1626 (RegisterRequiresPostBack): don't throw NotImplementedException to
1628 (ProcessRequest): set the current page as the Page property for *all*
1629 the controls, not just the direct children of the page.
1631 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1634 (MapPathSecure): until security is implemented, return the same path
1635 received as argument.
1636 (RenderControl): call OnPreRender before rendering the control. So
1637 AdRotator can read its configuration file.Is there any other place
1638 where this should be done?
1640 * HtmlTextWriter.cs:
1641 (AddAttribute): fixed. Now it really stores attributes.
1642 (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
1644 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1646 * ControlCollection.cs:
1647 (AddAt): if index is -1 behave as a plain Add.
1649 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1651 * Page.cs: for each child control to render, assign Control.Page.
1652 Probably also needed in HtmlContainerControl derived classes.
1654 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1656 * AttributeCollection.cs: don't need a Hastable. StateBag now works
1657 fine and takes care of the details.
1659 * Control.cs: added HasChildren property.
1661 * StateBag.cs: fixed a couple of nasty bugs.
1663 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1665 * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
1666 Invoke Page_Init and/or Page_Load if the user supplied them (though
1667 this should depend on AutoEventWireUp attribute of Page directive).
1669 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1671 * Control.cs: don't throw exception in ControlID. By now, it returns ID.
1674 (ProcessRequest): implemented.
1676 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1678 * System.Web.UI/Page.cs: finished stubbing out. Implemented some
1681 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1684 (FileDependencies): now is public public.
1685 (EnableViewStateMAC): uncommented and made protected.
1686 (GetTypeHashCode): added method.
1688 2002-05-24 Duncan Mak <duncan@ximian.com>
1690 * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
1692 * StateBag.cs (Item): Changed the visibility level of the this
1695 Misc. formatting edits, fixing some bugs introduced by the indentation.
1697 * DataBinder.cs (Eval)
1698 (GetIndexedPropertyValue)
1699 (GetPropertyValue): Fixed return types.
1701 2002-05-21 Miguel de Icaza <miguel@ximian.com>
1703 * HtmlTextWriter.cs: Use this to change the member instances.
1705 2002-05-17 Duncan Mak <duncan@ximian.com>
1707 * AttributeCollection.cs:
1708 * ControlCollection.cs:
1709 * CssStyleCollection.cs:
1710 * DataBindingCollection.cs:
1711 * EmptyControlCollection.cs: Added missing Collection classes.
1713 2002-05-17 Duncan Mak <duncan@ximian.com>
1716 * TemplateParser.cs: Implemented. BaseParser is weird because
1717 there is no documentation on what it does.
1719 * ControlBuilder.cs:
1722 * DataBinding.cs: Added.
1724 * DataBoundLiteralControl.cs:
1725 * Triplet.cs: Added.
1727 * RenderMethod.cs: Added this delegate for Control.cs
1729 2002-05-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1731 * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
1733 2002-05-14 Duncan Mak <duncan@ximian.com>
1735 * ValidationPropertyAttribute.cs: Added to CVS.
1737 2002-05-10 Duncan Mak <duncan@ximian.com>
1739 * ConstructorNeedsTagAttribute.cs:
1740 * ControlBuilderAttribute.cs:
1741 * ImageClickEventArgs.cs:
1742 * ParseChildrenAttribute.cs:
1743 * PartialCachingAttribute.cs:
1744 * PersistChildrenAttribute.cs:
1745 * PersistenceModeAttribute.cs:
1746 * TemplateContainerAttribute.cs: Added to CVS.
1748 * PersistanceMode.cs: Removed, fixed typo.
1749 * PersistenceMode.cs: Replacing above.
1751 * StateBag.cs (this): Fixed indexer, it takes a string as the
1752 index, not an object.
1754 * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
1756 * Page.cs (Validators): return type should be ValidatorCollection,
1757 not ValidatedCollection.
1759 * TagPrefixAttribute.cs: Added to CVS.
1761 2002-05-07 Duncan Mak <duncan@ximian.com>
1763 * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
1765 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
1767 * DataBindingHandlerAttribute.cs
1769 * ToolboxDataAttribute.cs - Completed
1771 2002-01-03 Nick Drochak <ndrochak@gol.com>
1773 * DesignTimeParseData.cs: initialze static member to avoid compile
1775 * PropertyConverter.cs: remove uneeded exception variables from
1778 2002-01-02 Nick Drochak <ndrochak@gol.com>
1780 * DesignTimeParseData.cs: fix header to show correct class name
1782 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
1784 * StateBag.cs - Completed
1786 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
1788 * Pair.cs - Small undocumented class. Completed.
1790 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
1792 * DesignTimeParseData.cs - Initial implementation
1793 * StateBag.cs - Initial implementation
1795 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
1797 * PropertyConverter.cs - Undocumented class. Completed.
1798 * Utils.cs - Undocumented, private class.
1799 Initial implementation
1801 2001-08-28 Bob Smith <bob@thestuff.net>
1802 * Control.cs: Figured out some undocumented API.
1804 * BuildMethod.cs: Initial implementation.
1805 * BuildTemplateMethod.cs: Initial implementation.
1806 * HtmlTextWriterAttribute.cs: Initial implementation.
1807 * HtmlTextWriterStyle.cs: Initial implementation.
1808 * HtmlTextWriterTag.cs: Initial implementation.
1809 * IAttributeAccessor.cs: Initial implementation.
1810 * IDataBindingsAccessor.cs: Initial implementation.
1811 * ImageClickEventHandler.cs: Initial implementation.
1812 * INamingContainer.cs: Initial implementation.
1813 * IParserAccessor.cs: Initial implementation.
1814 * IPostBackDataHandler.cs: Initial implementation.
1815 * IPostBackEventHandler.cs: Initial implementation.
1816 * IStateManager.cs: Initial implementation.
1817 * ITagNameToTypeMapper.cs: Initial implementation.
1818 * ITemplate.cs: Initial implementation.
1819 * IValidator.cs: Initial implementation.
1820 * OutputCacheLocation.cs: Initial implementation.
1821 * PersistanceMode.cs: Initial implementation.
1822 * StateItem.cs: Initial implementation.
1824 2001-08-27 Bob Smith <bob@thestuff.net>
1826 * Control.cs: Bug fixes and implementations.
1828 2001-08-24 Bob Smith <bob@thestuff.net>
1830 * Control.cs: Bug fixes.
1832 2001-08-23 Bob Smith <bob@thestuff.net>
1834 * Control.cs: More implementation. Events reworked for performance.
1836 2001-08-22 Bob Smith <bob@thestuff.net>
1838 * LiteralControl.cs: Implemented.
1839 * Control.cs: Even more implementation (Events). What a beast.
1841 2001-08-20 Bob Smith <bob@thestuff.net>
1843 * Control.cs: More implementation. Not done yet. Shutter.
1845 2001-08-17 Bob Smith <bob@thestuff.net>
1847 * Control.cs: Partial implementation.