1 2004-09-09 Sanjay Gupta <gsanjay@novell.com>
3 * Control.cs: Implemented methods of interface IExpressionAccessor.
5 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7 * SimpleWebHandlerParser.cs: correctly cache Type instead of the
8 assembly for ashx/asmx. Otherwise we need to open the file and check
9 for the class name in there. Thanks to Ben for pointing this out.
11 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
13 * TemplateParser.cs: removed creation of StringWriter. It's not used.
14 * Control.cs: don't create the EventHandlerList until requested.
16 2004-09-03 Sanjay Gupta <gsanjay@novell.com>
18 * Control.cs: Added new interfaces implemented in .Net 2.0.
19 * ExpressionBinding.cs: Added new class.
20 * ExpressionBindingCollection.cs: Added new class.
22 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
24 * LiteralControl.cs: stylized. This control has EnableViewState disabled
25 by default and doesn't get an automatic ID. When text is null -> "".
27 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
30 * DataSourceViewOperationCallback.cs:
31 * DataSourceViewSelectCallback.cs:
32 * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not
33 required in definition as delegates by default are sealed.
35 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
37 * IDReferencePropertyAttribute.cs: Corrected and changed from interface
39 * IMobileTextWriter.cs: Corrected method signatures.
41 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
44 * DataSourceViewOperationCallback.cs:
45 * DataSourceViewSelectCallback.cs:
46 * ExtractTemplateValuesMethod.cs: Added new delegates.
48 2004-08-06 Sanjay Gupta <gsanjay@novell.com>
50 * IBindableTemplate.cs:
51 * ICallbackEventHandler.cs:
52 * IControlBuilderAccessor.cs:
53 * IControlDesignerAccessor.cs:
54 * IControlTypeFilter.cs:
55 * IDataItemContainer.cs:
56 * IDataSourceViewSchemaAccessor.cs:
57 * IDReferencePropertyAttribute.cs:
58 * IExpressionsAccessor.cs:
59 * IFilterResolutionService.cs:
60 * IItemPaginationInfo.cs:
61 * IMobileTextWriter.cs:
63 * IPaginationContainer.cs:
65 * IResourceResolutionService.cs:
66 * IResourceUrlGenerator.cs:
69 * IThemeResolutionService.cs:
70 * IUrlResolutionService.cs:
71 * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
73 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
75 * PostBackOptions.cs: Added new file and implemented the class.
77 2004-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
79 * HtmlTextWriterTag.cs: readded author name.
81 2004-08-04 Sanjay Gupta <gsanjay@novell.com>
83 * HtmlTextWriterAttribute.cs:
84 * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
87 * DataSourceCacheExpiry.cs:
88 * DataSourceCapabilities.cs:
89 * DataSourceOperation.cs:
90 * TemplateContentType.cs:
91 * TemplateInstance.cs:
93 * VerificationConditionalOperator.cs:
94 * VerificationReportLevel.cs:
95 * VerificationRule.cs:
96 * XhtmlMobileDocType.cs: Added enumerations.
98 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
100 * Control.cs: style. Reverted previous patch modification of
101 TemplateSourceDirectory (failed when the control is reparented). Use
102 HasControls() and Controls all over instead of _controls, as Controls
103 property and HasControls() might be overriden.
105 2004-07-27 Alon Gazit <along@mainsoft.com>
107 * Control.cs: Changed the implementation of TemplateSourceDirectory
108 and GetDefaultName(). replaced foreach statements with for statements,
109 in order to improve performence.
111 2004-07-27 Alon Gazit <along@mainsoft.com>
113 * Page.cs: changed the implementation of GetViewStateString().
114 if the view state object is null there is no need to perform
117 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
119 * TemplateControl.cs: don't include private methods of base classes when
120 auto-attaching events. Fixes bug 61569.
122 2004-07-14 Alon Gazit <along@mainsoft.com>
124 * HtmlTextWriter.cs: changed the Hashtables to case insensitive.
125 2004-07-08 Pablo Baena <pbaena@gmail.com>
127 * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
129 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
131 * Page.cs: added additional checks for saving/displaying trace data.
133 * PageParser.cs: removed checks for trace enabled in configuration
136 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
138 * ControlCollection.cs: when clearing the control collection, tell the
139 owners about the removal. Fixes bug #60800.
141 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
143 * Page.cs: don't nullify _context after processing the request as there
144 are events not triggered yet. Fixes bug #60726.
146 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
148 * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
151 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
154 * UserControlParser.cs: set the page/user control base type even when no
155 default directive provided. Fixes bug #60572.
157 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
159 * PageParser.cs: use default trace settings from web.config and check
160 if trace is only requested for local connections. Fixes bug #60180.
162 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
164 * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When
165 we read the default directive, check the cache for the Type and if
166 present, don't keep reading and store the type found.
168 * WebHandlerParser.cs:
169 * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
172 2004-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
174 * Control.cs: properly fixed bug #59794.
176 2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
179 (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
182 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
184 * SimpleWebHandlerParser.cs:
185 * TemplateParser.cs: pass the language when compiling from a file.
187 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
189 * SimpleWebHandlerParser.cs: if we have a global.asax, move its
190 reference to the end to help mcs loading the assemblies. Fixes bug
193 * TemplateParser.cs: same as above. Removed some kludges to workaround
194 loading assemblies from bin path that are now in the runtime. Don't
195 load the assemblies in bin if not needed, but still reference them
198 2004-06-07 Alon Gazit <along@mainsoft.com>
199 * Page.cs: Changed Page.ProcessPostData().
200 After the change ,the state of controls that aren't visible is saved
203 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
205 * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
207 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
209 * Page.cs: IsPostBack also returns true when method is GET and we have
210 viewstate information in the query string. Fixes bug #58151.
212 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
214 * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
215 HttpRutime.TraceManager.
217 * PageParser.cs: for 'trace' we have 2 variables now. Added support
218 for 'buffer' attribute.
220 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
222 * Page.cs: implemented ClientTarget.
223 * PageParser.cs: support for clientTarget and check for validity.
225 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
228 * Html32TextWriter.cs:
230 * SimpleWebHandlerParser.cs:
231 * TemplateControl.cs: Added protected missing members and attributes.
233 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
235 * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
236 calling a protected method of another object.
238 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
240 * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
241 (of other objects) are called in TypeConverterFormatter.
243 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
245 * ObjectStateFormatter.cs: before choosing the binary formatter, check
246 if the object type has a TypeConverter that can convert to/from string.
249 * Page.cs: call GetViewStateString from outside the WriteLine. This
250 allows writing to the Response when getting the string without breaking
253 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
255 * HtmlTextWriter.cs: render end tag for unknown tags.
256 Patch frmo Markus Kräutner. Fixes bug #59466.
258 2004-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
260 * Page.cs: call DeterminePostBackMode only once per request. Patch by
263 2004-05-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
265 * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
268 * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
271 2004-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
273 * SimpleWebHandlerParser.cs:
274 * TemplateParser.cs: for the assembly names given in the 'assembly'
275 attribute, use LoadWithPartialName instead of Load.
276 2004-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
278 * Page.cs: return HttpContext.Current if _context has not yet been
279 assigned to. Fixes bug #55245.
281 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
283 * TemplateParser.cs: don't add import statement or assemblies from
284 global.asax to every file. Fixes bug #55496.
286 2004-03-09 Juraj Skripsky <juraj@hotfeet.ch>
288 * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
289 handle single quotes and a few corner cases correctly (see test cases).
291 2004-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
293 * TemplateControl.cs: fixed typos and added new method names to the set
296 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
298 * ControlBuilder.cs: added SetTagName().
300 * ObjectTagBuilder.cs: use SetTagName so that we can properly close
301 <object> builders if the closing tag is provided.
303 2004-02-16 Jackson Harper <jackson@ximian.com>
305 * Page.cs: Set cacheability for Location.DownStream.
307 2004-02-10 Jackson Harper <jackson@ximian.com>
309 * TemplateParser.cs: Use full path if the assembly is in the
310 private bin directory. Patch by Gonzalo Paniagua Javier.
312 2004-02-09 Jackson Harper <jackson@ximian.com>
314 * Page.cs: Set cacheability for server side caching.
316 2004-01-30 Jackson Harper <jackson@ximian.com>
318 * Control.cs: Ensure that dynamically loaded controls are
321 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
323 * ApplicationFileParser.cs: check for error in directives. Use
324 GlobalAsaxCompiler.CompileApplicationType for compiling.
326 * ObjectTagBuilder.cs: load the Type and check for errors.
328 * TemplateParser.cs: add assemblies and imports from global.asax.
330 Now we properly create accessors for session and application objects in
331 the application itself, pages and controls. First step for fixing
334 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
336 * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
337 to Eric Lindvall for pointing this out.
339 2004-01-15 Jackson Harper <jackson@ximian.com>
341 * TemplateParser.cs: Detect if we are parsing a control or page
343 * Page.cs: vary by params and vary by headers can be null now.
345 2004-01-15 Martin Willemoes Hansen <mwh@sysrq.dk>
347 * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
350 2004-01-14 Jackson Harper <jackson@ximian.com>
352 * Page.cs: If we have a postback that wasn't sent through a
353 postback script (ie user hit submit on a input type=submit) call
354 Validate so page validation occurs. This fixes bug #52770.
356 2004-01-14 Jackson Harper <jackson@ximian.com>
358 * Page.cs: Don't tell the response to cache anymore. This is done
359 when the cacheability is modified by a callback. Set the cache's
362 2004-01-14 Jackson Harper <jackson@ximian.com>
364 * TemplateParser.cs: If varybyparam is set to "none" make it null
365 so we dont get a param named null in the outputcache key.
367 2004-01-14 Jackson Harper <jackson@ximian.com>
369 * BasePartialCachingControl.cs: Use varyby attributes in key
372 2004-01-14 Jackson Harper <jackson@ximian.com>
374 * TemplateParser.cs: Add all the outputcache attribute error
377 2004-01-13 Jackson Harper <jackson@ximian.com>
379 * TemplateParser.cs: Add VaryByControls and Shared output cache
380 properties. These are not assigned yet.
381 * TemplateControlParser.cs: Do not ignore the OutputCache
383 * BasePartialCachingControl.cs: Initial implementation. Keys are
384 still not created properly.
385 * StaticPartialCachingControl.cs: Assign properties in base class,
386 implement CreateControl.
388 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
390 * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
392 * PageParser.cs: support validateRequest.
394 * TemplateControlParser.cs: get default values from system.web/pages
397 * TemplateParser.cs: added separate method for changing base type
398 (Inherits or system.web/pages).
400 * UserControlParser.cs: support system.web/pages defined base type.
402 2004-01-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
404 * UserControl.cs: Added missing attribute, implemented method
405 * Page.cs: Added missing attribute, implemented method
407 2004-01-10 Jackson Harper <jackson@ximian.com>
409 * Page.cs: Handle trace being enabled in the config file.
411 2004-01-10 Jackson Harper <jackson@ximian.com>
413 * Page.cs: Save trace data before rendering it.
414 * System.Web.dll.sources: Add TraceData.cs
416 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
418 * Page.cs: removed a couple of MonoTODO on methods we're not gonna
419 implement. Applied patch from Jan Jaros (mono-bug@jerryweb.info) to
420 ensure that Unload event is raised. Fixes bug #52555.
422 2004-01-02 Zoltan Varga <vargaz@freemail.hu>
424 * KeyedList.cs: 'private' is not allowed on explicit interface
425 implementations. Fixes 1.2 build.
427 2003-12-31 Jackson Harper <jackson@ximian.com>
429 * TemplateControlParser.cs: When registering tag prefixs make sure
430 the file exists and throw the correct error if it does not.
432 2003-12-25 Jackson Harper <jackson@ximian.com>
434 * Page.cs: Throw error if the session is accessed when sessions
437 2003-12-18 Jackson Harper <jackson@ximian.com>
439 * Page.cs: Write Trace info.
441 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
443 * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
444 * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
446 * PageParser.cs: the ctor is public.
447 * PartialCachingAttribute.cs: added new ctor and Shared property.
449 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
451 * Page.cs: assign the ErrorPage to the context if we get an exception
452 when processing the page which only calls Unload.
454 * PageParser.cs: handle ErrorPage.
456 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
458 * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
459 are not [Serializable]. Fixes bug #52244.
461 2003-12-16 Jackson Harper <jackson@ximian.com>
463 * Page.cs: Render trace data when tracing is enabled.
465 2003-12-15 Jackson Harper <jackson@ximian.com>
467 * PageParser.cs: Add Trace and Trace mode attributes.
469 2003-12-15 Jackson Harper <jackson@ximian.com>
471 * Page.cs: Use the context trace object.
473 2003-12-14 Alon Gazit <along@mainsoft.com>
474 * AttributeCollection.cs: Changed AttributeCollection.Render().
475 After the change attributes ,that their value is null, aren't
478 2003-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
480 * Control.cs: remove a few dangling ^M, don't set values for fields
481 that has the default value. If Visible is modified and we're tracking
482 viewstate, save and restore it. Fixes bug #48689.
484 2003-12-11 Jackson Harper <jackson@ximian.com>
486 * Control.cs: Give null for the ID if it hasn't been explicitly
487 set. This fixes bug #51520.
489 2003-12-08 Jackson Harper <jackson@ximian.com>
491 * PageParser.cs: Ignore the SmartNavigation attribute for now.
493 2003-12-05 Jackson Harper <jackson@ximian.com>
495 * DataBinder.cs (GetIndexedPropertyValue): Check if container is
496 an IList and use a cast instead of reflection to retrieve the item
497 if it is. Fixes bug #51759.
499 2003-12-04 Alon Gazit <along@mainsoft.com>
500 * Page.cs: Changed Page.ID so it will call Control.ID.
503 2003-12-02 Jackson Harper <jackson@ximian.com>
505 * Page.cs: Implemented registered array declarations. Patch by
506 Benjamin Jemlich <pcgod@gmx.net>
508 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
510 * TemplateParser.cs: basic check for 'classname' attribute and added
511 patch by pcgod@gmx.net for bug #51568, which fixes automatic class
512 names for pages starting with a number.
514 2003-11-30 Ben Maurer <bmaurer@users.sourceforge.net>
516 * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
519 * ObjectStateFormatter.cs: Comment out tracing.
521 2003-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
523 * Page.cs: fixed UICulture, LCID and Culture. Set the thread
524 [UI]Culture before processing the request.
526 * PageParser.cs: read Culture, UICulture and LCID attributes. Added
527 properties for these. Partially contributed by Mohammad Damt.
531 2003-11-27 Jackson Harper <jackson@ximian.com>
533 * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
536 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
538 * ObjectStateFormatter.cs: Fix bug when reading small ints.
539 Add some tracing so we can see what is going on.
541 2003-11-21 Jackson Harper <jackson@ximian.com>
543 * Page.cs: Set vary by params when cache location is Server.
545 2003-11-21 Ben Maurer <bmaurer@users.sourceforge.net>
547 * ObjectStateFormatter.cs: v2 file. In v1.x this will be
548 internal as LosFormatter will eventually use it to save
551 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
553 * PersistChildrenAttribute.cs:
554 * PersistenceModeAttribute.cs: implemented.
556 * TODO: Removed file.
557 * OutputCacheLocation.cs:
558 * TemplateControlParser.cs:
559 * HtmlInputFile.cs: class status based fixes.
561 2003-11-19 Jackson Harper <jackson@ximian.com>
563 * Page.cs: Always set the cache expire time. Tell the response to
564 cache itself for server side cached pages.
566 2003-11-19 Jackson Harper <jackson@ximian.com>
568 * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
569 thing, some corner cases still need work though. Was this the
570 shortest lived method in the history of mono?
572 2003-11-19 Jackson Harper <jackson@ximian.com>
574 * Control.cs: New method for resolving urls that use ~/ to denote
575 the applications base directory.
577 2003-11-19 Jackson Harper <jackson@ximian.com>
579 * TemplateParser.cs: Fix typo in error message.
581 2003-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
583 * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
586 2003-11-19 Todd Berman <tberman@gentoo.org>
589 * KeyedListEnumerator.cs: New v2 implementations.
591 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
593 * StateManagedCollection.cs: Implement.
595 2003-11-13 Jackson Harper <jackson@ximian.com>
597 * Page.cs: Initial implementation of InitOutputCache.
598 * TemplateParser.cs: Page OutputCache options
600 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
602 * HierarchicalDataSourceControl.cs: Implement.
604 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
606 * XPathBinder.cs: Implemented.
608 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
612 * ListSourceHelper.cs:
613 * DataSourceControl.cs:
614 * HierarchicalDataSourceView.cs:
615 * IHierarchicalDataSource.cs: Move v2 stuff.
617 2003-11-07 Jackson Harper <jackson@ximian.com>
619 * Control.cs (ResolveUrl): Special case for urls that consist of
620 only a page anchor. ie <a href="#top">. This fixes bug #50165.
622 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
624 * IHierarchicalEnumerable.cs:
626 * INavigateUIData.cs: New v2 interfaces.
628 2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
630 * Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
631 space in generated javascript.
633 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
635 * LosFormatter.cs: encoding updates.
636 * Page.cs: implemented CodePage and ContentType.
637 * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
640 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
642 * Control.cs (GetWebResourceUrl): new v2 function
643 * Page.cs (GetWebResourceUrl): ditto.
644 make the JS we generate work with moz if the form is not a child
646 * WebResourceAttribute.cs: Added, new v2 attribute.
648 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
650 * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
652 * PageParser.cs: initialize the parser in the constructor, not just
653 before compiling and reference the application assembly.
655 * SimpleWebHandlerParser.cs: reference the assembly that contains the
658 * TemplateControl.cs:
659 * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
660 path and physical path when compiling a user control.
662 * TemplateParser.cs: new AddApplicationAssembly ().
663 * UserControlParser.cs: now we get valid values in the ctor.
665 Referencing the application assembly fixes bug #49652.
668 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
670 * TemplateControl.cs: moved NoParamsInvoker class to its own file.
672 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
674 * BaseParser.cs: added CompilationConfig property.
677 * SimpleWebHandlerParser.cs: added CompilationConfig property.
678 Don't hardcode assembly names any more, assemblies in bin are added
679 depending on the configuration. The default language is also taken
680 from the configuration.
682 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
684 * LosFormatter.cs: fixed bug #49604. Patch by yaronsh@mainsoft.com.
686 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
688 * Control.cs: removed some debug lines.
689 * Page.cs: implemented RegisterOnSubmitStatement
690 * TemplateControl.cs: fixed wire up for methods with no parameters.
692 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
694 * PageParser.cs: ignore ValidateRequest by now.
696 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
698 * System.Web.UI/TemplateControl.cs: support for wiring up events without
701 2003-10-08 Pedro MartÃnez Juliá <yoros@wanadoo.es>
703 * PageParser.cs: drop some useless code.
705 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
707 * Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
709 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
711 * System.Web.UI/PageParser.cs:
712 * System.Web.UI/TemplateControlParser.cs: honour the input file given
715 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
718 (ClearChildViewState): doh! Don't clear control viewstate but the
719 viewstate of possible children.
720 (LoadViewStateRecursive): load viewstate even when control is not
723 The rest are just dangling ^M removed.
725 * DataBoundLiteralControl.cs:
726 (LoadViewState): we get an object [], not a string [].
728 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
730 * Control.cs: implemented ClearChildViewState ().
732 2003-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
734 * Page.cs: store unique IDs for controls requiring postback. Fixes bug
737 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
739 * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
740 dependencies so that it's recompiled when changed.
742 2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
744 * LosFormatter.cs: fixed Deserialize for empty viewstate.
746 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
748 * Page.cs: check if controls that require postback have
749 been changed by an event and register them to be notified of data
752 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
754 * Control.cs: patch by yaronshkop@hotmail.com (Yaron Shkop) that fixes
757 2003-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
759 * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
760 are not serializable. Fixes bug #47784.
762 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
764 * Control.cs: index the viewstates saved by the control position, not
765 the control name. Fixes bug #47697.
767 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
769 * ControlCollection.cs:
770 * EmptyControlCollection.cs: create a minimum ArrayList for this.
772 * BaseParser.cs: added setter for BaseVirtualDir.
774 * Page.cs: fixed message when restoring view state fails.
775 * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
776 when a relative path to the control is given. Fixes bug #47685.
778 2003-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
780 * Control.cs: when we load the viewstate for a control that has children
781 viewstates and the child is not found, keep its viewstate around and
782 wait until the child is added to load the viewstate. Fixes bug #47697.
784 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
786 * TemplateControl.cs: more Delegate.CreateDelegate fixes.
788 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
790 * PartialCachingControl.cs: is not abstract
792 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
794 * SimpleHandlerFactory.cs: implemented GetHandler.
795 * WebHandlerParser.cs: new file that parses .ashx files.
797 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
799 * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
801 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
803 * UserControl.cs: Added attribute
804 * BasePartialCachingControl.cs: New class and paritally implemented
805 * DesignerDataBoundLiteralControl.cs: New class and implemented
806 * DesignTimeTemplateParser.cs:
807 * PartialCachingControl.cs:
808 * StaticPartialCachingControl.cs: New class and paritally implemented
810 2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
812 * ApplicationFileParser.cs: Fixed signature
813 * DesignTimeParseData.cs: Added missing properties, implemented
814 * Page.cs: Added attributes
816 * TemplateControlParser.cs:
818 * UserControlParser.cs: Fixed signature
820 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
822 * HtmlControlPersistableAttribute.cs: Added
823 * IgnoreUnknownContentAttribute.cs: Added
825 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
827 * IUserControlDesignerAccessor.cs: Added and implemented
828 * Control.cs: Missing member added, added all attributes
829 * Page.cs: Added attributes, fixed signature
830 * TemplateControl.cs: Fixed signature, added all attributes
831 * UserControl.cs: Added all attributes, added and implemented missing interface
833 2003-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
835 * ControlCollection.cs: fixed bug #46472.
837 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
839 * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
841 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
843 * SimpleWebHandlerParser.cs: updated to new compilation interface.
845 * TemplateParser.cs: use the new parameter when compiling.
847 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
849 * Page.cs: also keep the value for the second try on handling postback
852 2003-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
854 * BaseParser.cs: fixed MapPath for non-rooted files.
855 * PageParser.cs: don't pass a non-virtual file around.
856 * TemplateControlParser.cs: InputFile uses MapPath now. Take care of
857 the exception teh may be throw by MapPath on an invalid path.
859 * TemplateParser.cs: removed unused method.
860 * UserControlParser.cs: modified inputfile. The result is the same, but
863 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
865 * RootBuilder.cs: throw exception when the tagprefix is not valid or
868 2003-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
870 * TemplateControlParser.cs: return after processing @Register.
872 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
874 * TemplateParser.cs: Added support for server side includes.
876 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
878 * TemplateControl.cs: fixed the flags used to find the methods that
879 are automatically hooked up on events.
881 * TemplateParser.cs: don't compile a source file directly. Use the
884 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
886 * BaseParser.cs: Location property is now here. Added a couple of
887 convenience methods to throw a ParseException.
890 * TemplateControlParser.cs:
891 * PageParser.cs: throw ParseException where appropiate.
893 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
895 * ApplicationFileParser.cs: use the generator to actually parse the
898 * ControlBuilder.cs: small fix in NamingContainerType because
899 TemplateBuilders have a null ControlType. When a control is appended
900 to a parent, assign the child's parent.
902 * UserControlParser.cs: fixed the value of InputFile.
904 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
906 * ApplicationFileParser.cs: store the Context and override
907 BaseVirtualDir so that it's the application path.
909 * BaseParser.cs: removed CurrentVirtualPath property.
911 * TemplateControlParser.cs: use BaseVirtualDir.
913 * UserControlParser.cs: removed CurrentVirtualPath.
915 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
917 * TemplateParser.cs: always reference all the assemblies in bin
920 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
922 * ApplicationFileParser.cs: it works now. Prior to these changes, we
923 were using the compiler directly.
925 * BaseParser.cs: added some useful properties and methods.
927 * CodeBuilder.cs: use ILocation.
928 * CodeRenderBuilder.cs: use ILocation.
929 * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
931 * ControlBuilder.cs: made it useful.
933 * DataBindingBuilder.cs: the control type for data bound text is
934 DataBoundLiteralControl now.
936 * ObjectTagBuilder.cs: store some object tag attributes.
938 * PageParser.cs: handle page-only directives.
940 * RootBuilder.cs: bah.
941 * SimpleWebHandlerParser.cs: made it dummy.
942 * TemplateControl.cs: Modified file.
944 * TemplateControlParser.cs: handle directives that are common to pages
947 * TemplateParser.cs: utility methods and handling of directives that
948 are common to app, page and user controls.
950 * UserControl.cs: added ControlBuilderAttribute.
952 * UserControlControlBuilder.cs: builder for user controls.
953 * UserControlParser.cs: use the new interfaces.
955 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
957 * ControlBuilder.cs: line and fileName are protected now.
959 * CodeBuilder.cs: base class for the next 2 files.
960 * CodeRenderBuilder.cs: builder for code render.
961 * DataBindingBuilder.cs: builder for data binding.
963 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
965 * ITagNameToTypeMapper.cs: made it internal.
967 * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
969 * RootBuilder.cs: initial builder.
971 2003-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
973 * CollectionBuilder.cs:
974 * TemplateBuilder.cs: new classes derived from ControlBuilder that
975 represent a property or a ITemplate.
977 * ControlBuilder.cs: implemented all the missing bits.
978 * TemplateParser.cs: added mapping from tag name to Type feature.
980 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
982 * Control.cs: have i definitely fixed naming container stuff this time?
984 * LosFormatter.cs: activated binary serialization code.
986 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
989 (AddedControl): fixed default id assignation when the sequence of
990 AddedControl until it's included in the page or one of its controls
991 does not pass through a naming container.
993 2003-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
995 * Control.cs: give different default names depending on the place where
996 it is assigned. Implemented ResolveURl (no more ~ rendered in
999 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1001 * Control.cs: when adding a control, assign default names to th
1002 children that don't have one.
1004 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1006 * SimpleWebHandlerParser.cs: modified to use the new parser interface.
1008 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1010 * Control.cs: some more tweaks to naming containers stuff.
1011 * DataBinder.cs: don't throw exception if the container is null.
1013 * Page.cs: now we can render client scripts, startup scripts and hidden
1014 fields. Only render __VIEWSTATE if there is someone that will take care
1016 (RaisePostBackEvents): first try the last one that required raise event,
1017 then try __EVENTTARGET.
1019 2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1021 * Control.cs: fixes in UniqueID, FindControl, AddedControl,
1022 UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
1023 FindControl work with NamingContainers.
1025 * ControlCollection.cs: notify the parent when clearing the collection.
1027 * LosFormatter.cs: Added debugging output and generate a valid
1028 viewstate even for unknown types.
1030 * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
1033 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1035 * Page.cs: make it fire the LoadData related events also for controls
1036 such as ImageButton, whose variable(s) in the query string are of the
1037 form ctrl_name.x and only fire them once per control.
1039 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1042 (GetPropertyValue): don't try to get the property as indexed
1044 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1046 * DataBinder.cs: use TypeDescriptor to get the properties and their
1049 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1052 (AddedControl): take the children to the same state of the parent.
1053 (InitRecursive): set the page of the children.
1055 * Page.cs: removed one line (it's done a few lines above).
1058 (OnInit): always call InitializeAsUserControl
1059 (InitializeAsUserControl): sets the page for the control.
1061 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1063 * Control.cs: fixed bug #36037.
1065 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1067 * BaseParser.cs: a couple of path fixes to make it work
1068 when the page is not in the root directory.
1070 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1072 * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
1075 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1077 * BaseParser.cs: use MapPath and context to locate files.
1078 * Control.cs: implemented MapPathSecure.
1079 * TemplateControl.cs: use UrlUtils to generate the path.
1080 * TemplateControlParser.cs: use the context and MapPath.
1081 * UserControl.cs: implemented MapPath.
1082 * UserControlParser.cs: added context parameter to constructor.
1084 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1086 * Control.cs: implemented MapPathSecure.
1087 * Page.cs: fixed Server property.
1089 2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1091 * DataBinder.cs: try the indexer if the property is not found in
1092 GetPropertyValue ().
1094 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1096 * Control.cs: added AutoEventWireup internal property.
1098 * Page.cs: removed page events wire up from here.
1100 * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
1101 and user controls events.
1103 * TemplateControlParser.cs: process the options that are applicable
1104 once we have the instance of the control.
1106 * TemplateParser.cs: also stores the options.
1108 * UserControl.cs: hook up events before initializing the control.
1111 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1113 * Control.cs: new method to set bindingContainer value.
1114 * TemplateControl.cs: added controls are not binding containers.
1116 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1118 * Control.cs: implemented TemplateSourceDirectory.
1119 * TemplateControl.cs: implemented LoadControl and LoadTemplate.
1121 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1123 * UserControl.cs: fixed SetAttribute.
1124 * UserControlParser.cs: set the correct base type.
1126 2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1128 * TemplateParser.cs: fixed BaseType.
1129 * UserControlParser.cs: helper class to compile user controls.
1131 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1133 * LosFormatter.cs: added DateTime to special types.
1135 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1137 * LosFormatter.cs: added array serialization support. Disabled binary
1138 serialization and add some debugging code.
1140 * StateBag.cs: the length of the list of value can be less than the
1141 length if the list of keys when remaining values are null.
1143 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1145 * Page.cs: return something useful in GetPostBackClientEvent.
1147 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1149 * Page.cs: implemented FileDependecies and made it protected.
1151 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1153 * Control.cs: save control names instead of the controls
1154 themselves to the ViewState.
1156 * LosFormatter.cs: added support for serializing unknown
1157 types. BinaryFormatter does not work so you better don't store anything
1158 of unknown Type in ViewState.
1160 * Page.cs: GetViewStateString works now using LosFormatter.
1161 Complete "Control execution lifecycle" by unloading all the child
1162 controls. Check for null in RaisePostBackEvents.
1163 LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
1165 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1167 * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
1169 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1171 * LosFormatter.cs: Use WebEncoding.Encoding.
1174 * Page.cs: fixed namespace.
1176 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1178 * Page.cs: set the context in ProcessRequest. Added a few trace calls.
1179 * Control.cs: added some trace information.
1181 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1183 * SimpleHandlerFactory.cs: new handler for .ashx files.
1185 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1187 * System.Web.UI/PageHandlerFactory.cs: new file.
1188 * System.Web.UI/PageParser.cs:
1189 * System.Web.UI/TemplateControlParser.cs: we are now able to compile
1190 pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
1192 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1194 * Control.cs: implemented ObBubbleEvent.
1195 * Page.cs: temporary workaround to make POST work with xsp server.
1197 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1199 * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
1202 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1204 * SimpleWebHandlerParser.cs: New file.
1205 * WebServiceParser.cs: New file.
1207 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1209 * LosFormatter.cs: almost fully implemented.
1211 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1213 * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
1214 * EmptyControlCollection.cs: throw correct exception.
1215 * LosFormatter.cs: stubbed out.
1216 * OutputCacheLocation.cs: little fix.
1218 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1220 * System.Web.UI/ApplicationFileParser.cs:
1221 * System.Web.UI/BaseParser.cs:
1222 * System.Web.UI/PageParser.cs:
1223 * System.Web.UI/TemplateControl.cs:
1224 * System.Web.UI/TemplateControlParser.cs:
1225 * System.Web.UI/TemplateParser.cs: first steps to move xsp into
1228 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1230 * Page.cs: request to render postback script can be after form started
1233 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1235 * Page.cs: added more page events to invoke automagically if some
1236 methods are defined.
1238 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1241 (SaveViewState): save state even when control is not visible.
1242 (SaveViewStateRecursive):
1243 (LoadViewStateRecursive): made internal.
1245 2002-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1247 * Page.cs: improved event raising to allow client postback for a wider
1248 variety of actions (clicking an hyperlink, ...).
1250 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1252 * UserControl.cs: implemented Load/SaveViewState.
1254 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1256 * AttributeCollection.cs:
1257 (Add): handle 'style' through styleCollection.
1259 * CssStyleCollection.cs:
1260 (fillStyle): renamed to FillStyle and made it internal.
1263 (GetViewStateString): fixed, broken after other recent changes.
1264 (ProcessPostData): allow a second try for postback data after OnLoad.
1265 (ProcessRequest): clear controls collection, removed call to
1268 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1270 * Control.cs: uncommented Dispose.
1273 (DeterminePostBackMode): more checkings.
1274 (GetPostBackClientHyperLink): implemented.
1275 (GetPostBackEventReference): added some comments with the HTML that MS
1277 (ProcessRequest): fixed processing order. The page is unloaded after
1278 a request and regenerated from view state on subsequents posts.
1280 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1282 * Control.cs: fixed related to ViewState. Added RemovedControl.
1284 * ControlCollection.cs: notify owner of control removal.
1286 * CssStyleCollection.cs: almost rewritten to make it render the style
1287 attribute after changes to it.
1289 * Page.cs: follow the guidelines in 'Control execution lifecycle'.
1292 * StateBag.cs: don't use IDictionary.GetEnumerator on the
1293 HybridDictionary: it makes the program give an InvalidCastException at
1296 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1298 * Page.cs: fire Init and Load events for all children.
1300 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1302 * UserControl.cs: New file.
1304 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1306 * ControlBuilderAttribute.cs: finished implementation.
1308 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1310 * ConstructorNeedsTagAttribute.cs: the default constructor sets the
1313 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1315 * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
1317 * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
1318 Hashtable. Added internal .ctor.
1320 * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
1321 Equals and GetHashCode.
1323 * System.Web.UI/DataBoundLiteralControl.cs:
1325 (SaveViewState): implemented.
1327 * System.Web.UI/Page.cs: FileDependencies is not public.
1329 * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
1332 (IsDefaultAttribute): implemented.
1334 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1336 * Control.cs: fixed Visible property.
1337 * Page.cs: fixed GetViewStateString.
1339 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1341 * System.Web.UI/Page.cs:
1342 (GetViewStateString): new function to give the server access to the
1343 generated view state string.
1346 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1349 (SaveViewstateRecursive): implemented.
1350 (SaveViewState): fixed.
1351 (IParserAccessor.AddParsedSubObject): don't use 'this'.
1353 * Page.cs: added code to save view state to an xml file. It's not
1354 being used right now.
1356 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1358 * System.Web.UI/LiteralControl.cs:
1359 Fixes based on class status page:
1361 - Add attributes (DefaultEvent, ParseChildren).
1363 - Explicitly implement some interfaces (IPostBackDataHandler
1364 and IPostBackEventHandler).
1365 - Implemented some missing methods.
1367 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1369 * Control.cs: reimplemented FindControls.
1372 (.ctor): set the page for this control.
1373 (IsPostBack): return valid value.
1374 (DeterminePostBackMode): finished.
1375 (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
1376 (ProcessPostData): implemented. Raises change and postback events.
1377 (ProcessRequest): changed to support reuse of the instance.
1378 (RegisterRequiresPostBack): implemented.
1380 * ValidatorCollection.cs: implemented all methods.
1382 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1385 * Page.cs: first attemp to save view state.
1387 * HtmlForm.cs: don't render Action.
1389 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1391 * Page.cs: implemented more properties using information we already
1395 (VerifyRenderingInServerForm): implemented.
1397 2002-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1399 * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
1400 out runtime. Renamed Page_Init and Page_Load.
1402 After this, we can load a dll and render HTML in linux.
1404 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1407 (AddedControl): new function that is called whenever a control is
1408 added to a collection of controls in a container. It sets the defaults
1411 * ControlCollection.cs: call AddedControl in Add/AddAt.
1413 * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
1414 SetStaticString and SetDataBoundString.
1416 * Page.cs: removed SetDefaults.
1418 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1420 * CompiledTemplateBuilder.cs: new file. Used in the code generated
1424 (BindingContainer): implemented.
1425 (EnsureChildControls): avoid stack overflow.
1427 * DataBinder.cs: implemented Eval and PropertyValue.
1429 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1431 * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
1432 bug as in regular attributes).
1434 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1436 * Control.cs: implemented PreventAutoID.
1439 (SetDefaults): don't set ID automatically if Control.PreventAutoID has
1442 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1445 (Validators): if the collection is null, create one.
1446 (GetPostBackEventReference 2): don't throw exception.
1447 (GetPostBackClientEvent): return a string with containing the method
1448 name, the control name and the argument.
1450 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1452 * Page.cs: SetPage is now called SetDefaults and also sets a default
1453 ID for controls that don't have one yet.
1455 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1458 (GetPostBackClient):
1459 (RegisterRequiresPostBack): don't throw NotImplementedException to
1461 (ProcessRequest): set the current page as the Page property for *all*
1462 the controls, not just the direct children of the page.
1464 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1467 (MapPathSecure): until security is implemented, return the same path
1468 received as argument.
1469 (RenderControl): call OnPreRender before rendering the control. So
1470 AdRotator can read its configuration file.Is there any other place
1471 where this should be done?
1473 * HtmlTextWriter.cs:
1474 (AddAttribute): fixed. Now it really stores attributes.
1475 (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
1477 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1479 * ControlCollection.cs:
1480 (AddAt): if index is -1 behave as a plain Add.
1482 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1484 * Page.cs: for each child control to render, assign Control.Page.
1485 Probably also needed in HtmlContainerControl derived classes.
1487 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1489 * AttributeCollection.cs: don't need a Hastable. StateBag now works
1490 fine and takes care of the details.
1492 * Control.cs: added HasChildren property.
1494 * StateBag.cs: fixed a couple of nasty bugs.
1496 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1498 * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
1499 Invoke Page_Init and/or Page_Load if the user supplied them (though
1500 this should depend on AutoEventWireUp attribute of Page directive).
1502 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1504 * Control.cs: don't throw exception in ControlID. By now, it returns ID.
1507 (ProcessRequest): implemented.
1509 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1511 * System.Web.UI/Page.cs: finished stubbing out. Implemented some
1514 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1517 (FileDependencies): now is public public.
1518 (EnableViewStateMAC): uncommented and made protected.
1519 (GetTypeHashCode): added method.
1521 2002-05-24 Duncan Mak <duncan@ximian.com>
1523 * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
1525 * StateBag.cs (Item): Changed the visibility level of the this
1528 Misc. formatting edits, fixing some bugs introduced by the indentation.
1530 * DataBinder.cs (Eval)
1531 (GetIndexedPropertyValue)
1532 (GetPropertyValue): Fixed return types.
1534 2002-05-21 Miguel de Icaza <miguel@ximian.com>
1536 * HtmlTextWriter.cs: Use this to change the member instances.
1538 2002-05-17 Duncan Mak <duncan@ximian.com>
1540 * AttributeCollection.cs:
1541 * ControlCollection.cs:
1542 * CssStyleCollection.cs:
1543 * DataBindingCollection.cs:
1544 * EmptyControlCollection.cs: Added missing Collection classes.
1546 2002-05-17 Duncan Mak <duncan@ximian.com>
1549 * TemplateParser.cs: Implemented. BaseParser is weird because
1550 there is no documentation on what it does.
1552 * ControlBuilder.cs:
1555 * DataBinding.cs: Added.
1557 * DataBoundLiteralControl.cs:
1558 * Triplet.cs: Added.
1560 * RenderMethod.cs: Added this delegate for Control.cs
1562 2002-05-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1564 * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
1566 2002-05-14 Duncan Mak <duncan@ximian.com>
1568 * ValidationPropertyAttribute.cs: Added to CVS.
1570 2002-05-10 Duncan Mak <duncan@ximian.com>
1572 * ConstructorNeedsTagAttribute.cs:
1573 * ControlBuilderAttribute.cs:
1574 * ImageClickEventArgs.cs:
1575 * ParseChildrenAttribute.cs:
1576 * PartialCachingAttribute.cs:
1577 * PersistChildrenAttribute.cs:
1578 * PersistenceModeAttribute.cs:
1579 * TemplateContainerAttribute.cs: Added to CVS.
1581 * PersistanceMode.cs: Removed, fixed typo.
1582 * PersistenceMode.cs: Replacing above.
1584 * StateBag.cs (this): Fixed indexer, it takes a string as the
1585 index, not an object.
1587 * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
1589 * Page.cs (Validators): return type should be ValidatorCollection,
1590 not ValidatedCollection.
1592 * TagPrefixAttribute.cs: Added to CVS.
1594 2002-05-07 Duncan Mak <duncan@ximian.com>
1596 * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
1598 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
1600 * DataBindingHandlerAttribute.cs
1602 * ToolboxDataAttribute.cs - Completed
1604 2002-01-03 Nick Drochak <ndrochak@gol.com>
1606 * DesignTimeParseData.cs: initialze static member to avoid compile
1608 * PropertyConverter.cs: remove uneeded exception variables from
1611 2002-01-02 Nick Drochak <ndrochak@gol.com>
1613 * DesignTimeParseData.cs: fix header to show correct class name
1615 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
1617 * StateBag.cs - Completed
1619 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
1621 * Pair.cs - Small undocumented class. Completed.
1623 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
1625 * DesignTimeParseData.cs - Initial implementation
1626 * StateBag.cs - Initial implementation
1628 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
1630 * PropertyConverter.cs - Undocumented class. Completed.
1631 * Utils.cs - Undocumented, private class.
1632 Initial implementation
1634 2001-08-28 Bob Smith <bob@thestuff.net>
1635 * Control.cs: Figured out some undocumented API.
1637 * BuildMethod.cs: Initial implementation.
1638 * BuildTemplateMethod.cs: Initial implementation.
1639 * HtmlTextWriterAttribute.cs: Initial implementation.
1640 * HtmlTextWriterStyle.cs: Initial implementation.
1641 * HtmlTextWriterTag.cs: Initial implementation.
1642 * IAttributeAccessor.cs: Initial implementation.
1643 * IDataBindingsAccessor.cs: Initial implementation.
1644 * ImageClickEventHandler.cs: Initial implementation.
1645 * INamingContainer.cs: Initial implementation.
1646 * IParserAccessor.cs: Initial implementation.
1647 * IPostBackDataHandler.cs: Initial implementation.
1648 * IPostBackEventHandler.cs: Initial implementation.
1649 * IStateManager.cs: Initial implementation.
1650 * ITagNameToTypeMapper.cs: Initial implementation.
1651 * ITemplate.cs: Initial implementation.
1652 * IValidator.cs: Initial implementation.
1653 * OutputCacheLocation.cs: Initial implementation.
1654 * PersistanceMode.cs: Initial implementation.
1655 * StateItem.cs: Initial implementation.
1657 2001-08-27 Bob Smith <bob@thestuff.net>
1659 * Control.cs: Bug fixes and implementations.
1661 2001-08-24 Bob Smith <bob@thestuff.net>
1663 * Control.cs: Bug fixes.
1665 2001-08-23 Bob Smith <bob@thestuff.net>
1667 * Control.cs: More implementation. Events reworked for performance.
1669 2001-08-22 Bob Smith <bob@thestuff.net>
1671 * LiteralControl.cs: Implemented.
1672 * Control.cs: Even more implementation (Events). What a beast.
1674 2001-08-20 Bob Smith <bob@thestuff.net>
1676 * Control.cs: More implementation. Not done yet. Shutter.
1678 2001-08-17 Bob Smith <bob@thestuff.net>
1680 * Control.cs: Partial implementation.