1 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * SimpleWebHandlerParser.cs: correctly cache Type instead of the
4 assembly for ashx/asmx. Otherwise we need to open the file and check
5 for the class name in there. Thanks to Ben for pointing this out.
7 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9 * TemplateParser.cs: removed creation of StringWriter. It's not used.
10 * Control.cs: don't create the EventHandlerList until requested.
12 2004-09-03 Sanjay Gupta <gsanjay@novell.com>
14 * Control.cs: Added new interfaces implemented in .Net 2.0.
15 * ExpressionBinding.cs: Added new class.
16 * ExpressionBindingCollection.cs: Added new class.
18 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
20 * LiteralControl.cs: stylized. This control has EnableViewState disabled
21 by default and doesn't get an automatic ID. When text is null -> "".
23 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
26 * DataSourceViewOperationCallback.cs:
27 * DataSourceViewSelectCallback.cs:
28 * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not
29 required in definition as delegates by default are sealed.
31 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
33 * IDReferencePropertyAttribute.cs: Corrected and changed from interface
35 * IMobileTextWriter.cs: Corrected method signatures.
37 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
40 * DataSourceViewOperationCallback.cs:
41 * DataSourceViewSelectCallback.cs:
42 * ExtractTemplateValuesMethod.cs: Added new delegates.
44 2004-08-06 Sanjay Gupta <gsanjay@novell.com>
46 * IBindableTemplate.cs:
47 * ICallbackEventHandler.cs:
48 * IControlBuilderAccessor.cs:
49 * IControlDesignerAccessor.cs:
50 * IControlTypeFilter.cs:
51 * IDataItemContainer.cs:
52 * IDataSourceViewSchemaAccessor.cs:
53 * IDReferencePropertyAttribute.cs:
54 * IExpressionsAccessor.cs:
55 * IFilterResolutionService.cs:
56 * IItemPaginationInfo.cs:
57 * IMobileTextWriter.cs:
59 * IPaginationContainer.cs:
61 * IResourceResolutionService.cs:
62 * IResourceUrlGenerator.cs:
65 * IThemeResolutionService.cs:
66 * IUrlResolutionService.cs:
67 * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
69 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
71 * PostBackOptions.cs: Added new file and implemented the class.
73 2004-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
75 * HtmlTextWriterTag.cs: readded author name.
77 2004-08-04 Sanjay Gupta <gsanjay@novell.com>
79 * HtmlTextWriterAttribute.cs:
80 * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
83 * DataSourceCacheExpiry.cs:
84 * DataSourceCapabilities.cs:
85 * DataSourceOperation.cs:
86 * TemplateContentType.cs:
87 * TemplateInstance.cs:
89 * VerificationConditionalOperator.cs:
90 * VerificationReportLevel.cs:
91 * VerificationRule.cs:
92 * XhtmlMobileDocType.cs: Added enumerations.
94 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
96 * Control.cs: style. Reverted previous patch modification of
97 TemplateSourceDirectory (failed when the control is reparented). Use
98 HasControls() and Controls all over instead of _controls, as Controls
99 property and HasControls() might be overriden.
101 2004-07-27 Alon Gazit <along@mainsoft.com>
103 * Control.cs: Changed the implementation of TemplateSourceDirectory
104 and GetDefaultName(). replaced foreach statements with for statements,
105 in order to improve performence.
107 2004-07-27 Alon Gazit <along@mainsoft.com>
109 * Page.cs: changed the implementation of GetViewStateString().
110 if the view state object is null there is no need to perform
113 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
115 * TemplateControl.cs: don't include private methods of base classes when
116 auto-attaching events. Fixes bug 61569.
118 2004-07-14 Alon Gazit <along@mainsoft.com>
120 * HtmlTextWriter.cs: changed the Hashtables to case insensitive.
121 2004-07-08 Pablo Baena <pbaena@gmail.com>
123 * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
125 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
127 * Page.cs: added additional checks for saving/displaying trace data.
129 * PageParser.cs: removed checks for trace enabled in configuration
132 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
134 * ControlCollection.cs: when clearing the control collection, tell the
135 owners about the removal. Fixes bug #60800.
137 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
139 * Page.cs: don't nullify _context after processing the request as there
140 are events not triggered yet. Fixes bug #60726.
142 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
144 * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
147 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
150 * UserControlParser.cs: set the page/user control base type even when no
151 default directive provided. Fixes bug #60572.
153 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
155 * PageParser.cs: use default trace settings from web.config and check
156 if trace is only requested for local connections. Fixes bug #60180.
158 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
160 * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When
161 we read the default directive, check the cache for the Type and if
162 present, don't keep reading and store the type found.
164 * WebHandlerParser.cs:
165 * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
168 2004-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
170 * Control.cs: properly fixed bug #59794.
172 2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
175 (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
178 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
180 * SimpleWebHandlerParser.cs:
181 * TemplateParser.cs: pass the language when compiling from a file.
183 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
185 * SimpleWebHandlerParser.cs: if we have a global.asax, move its
186 reference to the end to help mcs loading the assemblies. Fixes bug
189 * TemplateParser.cs: same as above. Removed some kludges to workaround
190 loading assemblies from bin path that are now in the runtime. Don't
191 load the assemblies in bin if not needed, but still reference them
194 2004-06-07 Alon Gazit <along@mainsoft.com>
195 * Page.cs: Changed Page.ProcessPostData().
196 After the change ,the state of controls that aren't visible is saved
199 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
201 * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
203 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
205 * Page.cs: IsPostBack also returns true when method is GET and we have
206 viewstate information in the query string. Fixes bug #58151.
208 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
210 * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
211 HttpRutime.TraceManager.
213 * PageParser.cs: for 'trace' we have 2 variables now. Added support
214 for 'buffer' attribute.
216 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
218 * Page.cs: implemented ClientTarget.
219 * PageParser.cs: support for clientTarget and check for validity.
221 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
224 * Html32TextWriter.cs:
226 * SimpleWebHandlerParser.cs:
227 * TemplateControl.cs: Added protected missing members and attributes.
229 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
231 * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
232 calling a protected method of another object.
234 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
236 * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
237 (of other objects) are called in TypeConverterFormatter.
239 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
241 * ObjectStateFormatter.cs: before choosing the binary formatter, check
242 if the object type has a TypeConverter that can convert to/from string.
245 * Page.cs: call GetViewStateString from outside the WriteLine. This
246 allows writing to the Response when getting the string without breaking
249 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
251 * HtmlTextWriter.cs: render end tag for unknown tags.
252 Patch frmo Markus Kräutner. Fixes bug #59466.
254 2004-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
256 * Page.cs: call DeterminePostBackMode only once per request. Patch by
259 2004-05-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
261 * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
264 * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
267 2004-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
269 * SimpleWebHandlerParser.cs:
270 * TemplateParser.cs: for the assembly names given in the 'assembly'
271 attribute, use LoadWithPartialName instead of Load.
272 2004-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
274 * Page.cs: return HttpContext.Current if _context has not yet been
275 assigned to. Fixes bug #55245.
277 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
279 * TemplateParser.cs: don't add import statement or assemblies from
280 global.asax to every file. Fixes bug #55496.
282 2004-03-09 Juraj Skripsky <juraj@hotfeet.ch>
284 * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
285 handle single quotes and a few corner cases correctly (see test cases).
287 2004-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
289 * TemplateControl.cs: fixed typos and added new method names to the set
292 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
294 * ControlBuilder.cs: added SetTagName().
296 * ObjectTagBuilder.cs: use SetTagName so that we can properly close
297 <object> builders if the closing tag is provided.
299 2004-02-16 Jackson Harper <jackson@ximian.com>
301 * Page.cs: Set cacheability for Location.DownStream.
303 2004-02-10 Jackson Harper <jackson@ximian.com>
305 * TemplateParser.cs: Use full path if the assembly is in the
306 private bin directory. Patch by Gonzalo Paniagua Javier.
308 2004-02-09 Jackson Harper <jackson@ximian.com>
310 * Page.cs: Set cacheability for server side caching.
312 2004-01-30 Jackson Harper <jackson@ximian.com>
314 * Control.cs: Ensure that dynamically loaded controls are
317 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
319 * ApplicationFileParser.cs: check for error in directives. Use
320 GlobalAsaxCompiler.CompileApplicationType for compiling.
322 * ObjectTagBuilder.cs: load the Type and check for errors.
324 * TemplateParser.cs: add assemblies and imports from global.asax.
326 Now we properly create accessors for session and application objects in
327 the application itself, pages and controls. First step for fixing
330 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
332 * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
333 to Eric Lindvall for pointing this out.
335 2004-01-15 Jackson Harper <jackson@ximian.com>
337 * TemplateParser.cs: Detect if we are parsing a control or page
339 * Page.cs: vary by params and vary by headers can be null now.
341 2004-01-15 Martin Willemoes Hansen <mwh@sysrq.dk>
343 * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
346 2004-01-14 Jackson Harper <jackson@ximian.com>
348 * Page.cs: If we have a postback that wasn't sent through a
349 postback script (ie user hit submit on a input type=submit) call
350 Validate so page validation occurs. This fixes bug #52770.
352 2004-01-14 Jackson Harper <jackson@ximian.com>
354 * Page.cs: Don't tell the response to cache anymore. This is done
355 when the cacheability is modified by a callback. Set the cache's
358 2004-01-14 Jackson Harper <jackson@ximian.com>
360 * TemplateParser.cs: If varybyparam is set to "none" make it null
361 so we dont get a param named null in the outputcache key.
363 2004-01-14 Jackson Harper <jackson@ximian.com>
365 * BasePartialCachingControl.cs: Use varyby attributes in key
368 2004-01-14 Jackson Harper <jackson@ximian.com>
370 * TemplateParser.cs: Add all the outputcache attribute error
373 2004-01-13 Jackson Harper <jackson@ximian.com>
375 * TemplateParser.cs: Add VaryByControls and Shared output cache
376 properties. These are not assigned yet.
377 * TemplateControlParser.cs: Do not ignore the OutputCache
379 * BasePartialCachingControl.cs: Initial implementation. Keys are
380 still not created properly.
381 * StaticPartialCachingControl.cs: Assign properties in base class,
382 implement CreateControl.
384 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
386 * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
388 * PageParser.cs: support validateRequest.
390 * TemplateControlParser.cs: get default values from system.web/pages
393 * TemplateParser.cs: added separate method for changing base type
394 (Inherits or system.web/pages).
396 * UserControlParser.cs: support system.web/pages defined base type.
398 2004-01-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
400 * UserControl.cs: Added missing attribute, implemented method
401 * Page.cs: Added missing attribute, implemented method
403 2004-01-10 Jackson Harper <jackson@ximian.com>
405 * Page.cs: Handle trace being enabled in the config file.
407 2004-01-10 Jackson Harper <jackson@ximian.com>
409 * Page.cs: Save trace data before rendering it.
410 * System.Web.dll.sources: Add TraceData.cs
412 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
414 * Page.cs: removed a couple of MonoTODO on methods we're not gonna
415 implement. Applied patch from Jan Jaros (mono-bug@jerryweb.info) to
416 ensure that Unload event is raised. Fixes bug #52555.
418 2004-01-02 Zoltan Varga <vargaz@freemail.hu>
420 * KeyedList.cs: 'private' is not allowed on explicit interface
421 implementations. Fixes 1.2 build.
423 2003-12-31 Jackson Harper <jackson@ximian.com>
425 * TemplateControlParser.cs: When registering tag prefixs make sure
426 the file exists and throw the correct error if it does not.
428 2003-12-25 Jackson Harper <jackson@ximian.com>
430 * Page.cs: Throw error if the session is accessed when sessions
433 2003-12-18 Jackson Harper <jackson@ximian.com>
435 * Page.cs: Write Trace info.
437 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
439 * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
440 * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
442 * PageParser.cs: the ctor is public.
443 * PartialCachingAttribute.cs: added new ctor and Shared property.
445 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
447 * Page.cs: assign the ErrorPage to the context if we get an exception
448 when processing the page which only calls Unload.
450 * PageParser.cs: handle ErrorPage.
452 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
454 * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
455 are not [Serializable]. Fixes bug #52244.
457 2003-12-16 Jackson Harper <jackson@ximian.com>
459 * Page.cs: Render trace data when tracing is enabled.
461 2003-12-15 Jackson Harper <jackson@ximian.com>
463 * PageParser.cs: Add Trace and Trace mode attributes.
465 2003-12-15 Jackson Harper <jackson@ximian.com>
467 * Page.cs: Use the context trace object.
469 2003-12-14 Alon Gazit <along@mainsoft.com>
470 * AttributeCollection.cs: Changed AttributeCollection.Render().
471 After the change attributes ,that their value is null, aren't
474 2003-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
476 * Control.cs: remove a few dangling ^M, don't set values for fields
477 that has the default value. If Visible is modified and we're tracking
478 viewstate, save and restore it. Fixes bug #48689.
480 2003-12-11 Jackson Harper <jackson@ximian.com>
482 * Control.cs: Give null for the ID if it hasn't been explicitly
483 set. This fixes bug #51520.
485 2003-12-08 Jackson Harper <jackson@ximian.com>
487 * PageParser.cs: Ignore the SmartNavigation attribute for now.
489 2003-12-05 Jackson Harper <jackson@ximian.com>
491 * DataBinder.cs (GetIndexedPropertyValue): Check if container is
492 an IList and use a cast instead of reflection to retrieve the item
493 if it is. Fixes bug #51759.
495 2003-12-04 Alon Gazit <along@mainsoft.com>
496 * Page.cs: Changed Page.ID so it will call Control.ID.
499 2003-12-02 Jackson Harper <jackson@ximian.com>
501 * Page.cs: Implemented registered array declarations. Patch by
502 Benjamin Jemlich <pcgod@gmx.net>
504 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
506 * TemplateParser.cs: basic check for 'classname' attribute and added
507 patch by pcgod@gmx.net for bug #51568, which fixes automatic class
508 names for pages starting with a number.
510 2003-11-30 Ben Maurer <bmaurer@users.sourceforge.net>
512 * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
515 * ObjectStateFormatter.cs: Comment out tracing.
517 2003-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
519 * Page.cs: fixed UICulture, LCID and Culture. Set the thread
520 [UI]Culture before processing the request.
522 * PageParser.cs: read Culture, UICulture and LCID attributes. Added
523 properties for these. Partially contributed by Mohammad Damt.
527 2003-11-27 Jackson Harper <jackson@ximian.com>
529 * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
532 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
534 * ObjectStateFormatter.cs: Fix bug when reading small ints.
535 Add some tracing so we can see what is going on.
537 2003-11-21 Jackson Harper <jackson@ximian.com>
539 * Page.cs: Set vary by params when cache location is Server.
541 2003-11-21 Ben Maurer <bmaurer@users.sourceforge.net>
543 * ObjectStateFormatter.cs: v2 file. In v1.x this will be
544 internal as LosFormatter will eventually use it to save
547 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
549 * PersistChildrenAttribute.cs:
550 * PersistenceModeAttribute.cs: implemented.
552 * TODO: Removed file.
553 * OutputCacheLocation.cs:
554 * TemplateControlParser.cs:
555 * HtmlInputFile.cs: class status based fixes.
557 2003-11-19 Jackson Harper <jackson@ximian.com>
559 * Page.cs: Always set the cache expire time. Tell the response to
560 cache itself for server side cached pages.
562 2003-11-19 Jackson Harper <jackson@ximian.com>
564 * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
565 thing, some corner cases still need work though. Was this the
566 shortest lived method in the history of mono?
568 2003-11-19 Jackson Harper <jackson@ximian.com>
570 * Control.cs: New method for resolving urls that use ~/ to denote
571 the applications base directory.
573 2003-11-19 Jackson Harper <jackson@ximian.com>
575 * TemplateParser.cs: Fix typo in error message.
577 2003-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
579 * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
582 2003-11-19 Todd Berman <tberman@gentoo.org>
585 * KeyedListEnumerator.cs: New v2 implementations.
587 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
589 * StateManagedCollection.cs: Implement.
591 2003-11-13 Jackson Harper <jackson@ximian.com>
593 * Page.cs: Initial implementation of InitOutputCache.
594 * TemplateParser.cs: Page OutputCache options
596 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
598 * HierarchicalDataSourceControl.cs: Implement.
600 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
602 * XPathBinder.cs: Implemented.
604 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
608 * ListSourceHelper.cs:
609 * DataSourceControl.cs:
610 * HierarchicalDataSourceView.cs:
611 * IHierarchicalDataSource.cs: Move v2 stuff.
613 2003-11-07 Jackson Harper <jackson@ximian.com>
615 * Control.cs (ResolveUrl): Special case for urls that consist of
616 only a page anchor. ie <a href="#top">. This fixes bug #50165.
618 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
620 * IHierarchicalEnumerable.cs:
622 * INavigateUIData.cs: New v2 interfaces.
624 2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
626 * Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
627 space in generated javascript.
629 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
631 * LosFormatter.cs: encoding updates.
632 * Page.cs: implemented CodePage and ContentType.
633 * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
636 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
638 * Control.cs (GetWebResourceUrl): new v2 function
639 * Page.cs (GetWebResourceUrl): ditto.
640 make the JS we generate work with moz if the form is not a child
642 * WebResourceAttribute.cs: Added, new v2 attribute.
644 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
646 * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
648 * PageParser.cs: initialize the parser in the constructor, not just
649 before compiling and reference the application assembly.
651 * SimpleWebHandlerParser.cs: reference the assembly that contains the
654 * TemplateControl.cs:
655 * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
656 path and physical path when compiling a user control.
658 * TemplateParser.cs: new AddApplicationAssembly ().
659 * UserControlParser.cs: now we get valid values in the ctor.
661 Referencing the application assembly fixes bug #49652.
664 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
666 * TemplateControl.cs: moved NoParamsInvoker class to its own file.
668 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
670 * BaseParser.cs: added CompilationConfig property.
673 * SimpleWebHandlerParser.cs: added CompilationConfig property.
674 Don't hardcode assembly names any more, assemblies in bin are added
675 depending on the configuration. The default language is also taken
676 from the configuration.
678 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
680 * LosFormatter.cs: fixed bug #49604. Patch by yaronsh@mainsoft.com.
682 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
684 * Control.cs: removed some debug lines.
685 * Page.cs: implemented RegisterOnSubmitStatement
686 * TemplateControl.cs: fixed wire up for methods with no parameters.
688 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
690 * PageParser.cs: ignore ValidateRequest by now.
692 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
694 * System.Web.UI/TemplateControl.cs: support for wiring up events without
697 2003-10-08 Pedro MartÃnez Juliá <yoros@wanadoo.es>
699 * PageParser.cs: drop some useless code.
701 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
703 * Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
705 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
707 * System.Web.UI/PageParser.cs:
708 * System.Web.UI/TemplateControlParser.cs: honour the input file given
711 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
714 (ClearChildViewState): doh! Don't clear control viewstate but the
715 viewstate of possible children.
716 (LoadViewStateRecursive): load viewstate even when control is not
719 The rest are just dangling ^M removed.
721 * DataBoundLiteralControl.cs:
722 (LoadViewState): we get an object [], not a string [].
724 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
726 * Control.cs: implemented ClearChildViewState ().
728 2003-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
730 * Page.cs: store unique IDs for controls requiring postback. Fixes bug
733 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
735 * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
736 dependencies so that it's recompiled when changed.
738 2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
740 * LosFormatter.cs: fixed Deserialize for empty viewstate.
742 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
744 * Page.cs: check if controls that require postback have
745 been changed by an event and register them to be notified of data
748 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
750 * Control.cs: patch by yaronshkop@hotmail.com (Yaron Shkop) that fixes
753 2003-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
755 * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
756 are not serializable. Fixes bug #47784.
758 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
760 * Control.cs: index the viewstates saved by the control position, not
761 the control name. Fixes bug #47697.
763 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
765 * ControlCollection.cs:
766 * EmptyControlCollection.cs: create a minimum ArrayList for this.
768 * BaseParser.cs: added setter for BaseVirtualDir.
770 * Page.cs: fixed message when restoring view state fails.
771 * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
772 when a relative path to the control is given. Fixes bug #47685.
774 2003-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
776 * Control.cs: when we load the viewstate for a control that has children
777 viewstates and the child is not found, keep its viewstate around and
778 wait until the child is added to load the viewstate. Fixes bug #47697.
780 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
782 * TemplateControl.cs: more Delegate.CreateDelegate fixes.
784 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
786 * PartialCachingControl.cs: is not abstract
788 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
790 * SimpleHandlerFactory.cs: implemented GetHandler.
791 * WebHandlerParser.cs: new file that parses .ashx files.
793 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
795 * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
797 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
799 * UserControl.cs: Added attribute
800 * BasePartialCachingControl.cs: New class and paritally implemented
801 * DesignerDataBoundLiteralControl.cs: New class and implemented
802 * DesignTimeTemplateParser.cs:
803 * PartialCachingControl.cs:
804 * StaticPartialCachingControl.cs: New class and paritally implemented
806 2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
808 * ApplicationFileParser.cs: Fixed signature
809 * DesignTimeParseData.cs: Added missing properties, implemented
810 * Page.cs: Added attributes
812 * TemplateControlParser.cs:
814 * UserControlParser.cs: Fixed signature
816 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
818 * HtmlControlPersistableAttribute.cs: Added
819 * IgnoreUnknownContentAttribute.cs: Added
821 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
823 * IUserControlDesignerAccessor.cs: Added and implemented
824 * Control.cs: Missing member added, added all attributes
825 * Page.cs: Added attributes, fixed signature
826 * TemplateControl.cs: Fixed signature, added all attributes
827 * UserControl.cs: Added all attributes, added and implemented missing interface
829 2003-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
831 * ControlCollection.cs: fixed bug #46472.
833 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
835 * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
837 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
839 * SimpleWebHandlerParser.cs: updated to new compilation interface.
841 * TemplateParser.cs: use the new parameter when compiling.
843 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
845 * Page.cs: also keep the value for the second try on handling postback
848 2003-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
850 * BaseParser.cs: fixed MapPath for non-rooted files.
851 * PageParser.cs: don't pass a non-virtual file around.
852 * TemplateControlParser.cs: InputFile uses MapPath now. Take care of
853 the exception teh may be throw by MapPath on an invalid path.
855 * TemplateParser.cs: removed unused method.
856 * UserControlParser.cs: modified inputfile. The result is the same, but
859 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
861 * RootBuilder.cs: throw exception when the tagprefix is not valid or
864 2003-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
866 * TemplateControlParser.cs: return after processing @Register.
868 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
870 * TemplateParser.cs: Added support for server side includes.
872 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
874 * TemplateControl.cs: fixed the flags used to find the methods that
875 are automatically hooked up on events.
877 * TemplateParser.cs: don't compile a source file directly. Use the
880 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
882 * BaseParser.cs: Location property is now here. Added a couple of
883 convenience methods to throw a ParseException.
886 * TemplateControlParser.cs:
887 * PageParser.cs: throw ParseException where appropiate.
889 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
891 * ApplicationFileParser.cs: use the generator to actually parse the
894 * ControlBuilder.cs: small fix in NamingContainerType because
895 TemplateBuilders have a null ControlType. When a control is appended
896 to a parent, assign the child's parent.
898 * UserControlParser.cs: fixed the value of InputFile.
900 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
902 * ApplicationFileParser.cs: store the Context and override
903 BaseVirtualDir so that it's the application path.
905 * BaseParser.cs: removed CurrentVirtualPath property.
907 * TemplateControlParser.cs: use BaseVirtualDir.
909 * UserControlParser.cs: removed CurrentVirtualPath.
911 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
913 * TemplateParser.cs: always reference all the assemblies in bin
916 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
918 * ApplicationFileParser.cs: it works now. Prior to these changes, we
919 were using the compiler directly.
921 * BaseParser.cs: added some useful properties and methods.
923 * CodeBuilder.cs: use ILocation.
924 * CodeRenderBuilder.cs: use ILocation.
925 * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
927 * ControlBuilder.cs: made it useful.
929 * DataBindingBuilder.cs: the control type for data bound text is
930 DataBoundLiteralControl now.
932 * ObjectTagBuilder.cs: store some object tag attributes.
934 * PageParser.cs: handle page-only directives.
936 * RootBuilder.cs: bah.
937 * SimpleWebHandlerParser.cs: made it dummy.
938 * TemplateControl.cs: Modified file.
940 * TemplateControlParser.cs: handle directives that are common to pages
943 * TemplateParser.cs: utility methods and handling of directives that
944 are common to app, page and user controls.
946 * UserControl.cs: added ControlBuilderAttribute.
948 * UserControlControlBuilder.cs: builder for user controls.
949 * UserControlParser.cs: use the new interfaces.
951 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
953 * ControlBuilder.cs: line and fileName are protected now.
955 * CodeBuilder.cs: base class for the next 2 files.
956 * CodeRenderBuilder.cs: builder for code render.
957 * DataBindingBuilder.cs: builder for data binding.
959 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
961 * ITagNameToTypeMapper.cs: made it internal.
963 * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
965 * RootBuilder.cs: initial builder.
967 2003-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
969 * CollectionBuilder.cs:
970 * TemplateBuilder.cs: new classes derived from ControlBuilder that
971 represent a property or a ITemplate.
973 * ControlBuilder.cs: implemented all the missing bits.
974 * TemplateParser.cs: added mapping from tag name to Type feature.
976 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
978 * Control.cs: have i definitely fixed naming container stuff this time?
980 * LosFormatter.cs: activated binary serialization code.
982 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
985 (AddedControl): fixed default id assignation when the sequence of
986 AddedControl until it's included in the page or one of its controls
987 does not pass through a naming container.
989 2003-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
991 * Control.cs: give different default names depending on the place where
992 it is assigned. Implemented ResolveURl (no more ~ rendered in
995 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
997 * Control.cs: when adding a control, assign default names to th
998 children that don't have one.
1000 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1002 * SimpleWebHandlerParser.cs: modified to use the new parser interface.
1004 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1006 * Control.cs: some more tweaks to naming containers stuff.
1007 * DataBinder.cs: don't throw exception if the container is null.
1009 * Page.cs: now we can render client scripts, startup scripts and hidden
1010 fields. Only render __VIEWSTATE if there is someone that will take care
1012 (RaisePostBackEvents): first try the last one that required raise event,
1013 then try __EVENTTARGET.
1015 2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1017 * Control.cs: fixes in UniqueID, FindControl, AddedControl,
1018 UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
1019 FindControl work with NamingContainers.
1021 * ControlCollection.cs: notify the parent when clearing the collection.
1023 * LosFormatter.cs: Added debugging output and generate a valid
1024 viewstate even for unknown types.
1026 * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
1029 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1031 * Page.cs: make it fire the LoadData related events also for controls
1032 such as ImageButton, whose variable(s) in the query string are of the
1033 form ctrl_name.x and only fire them once per control.
1035 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1038 (GetPropertyValue): don't try to get the property as indexed
1040 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1042 * DataBinder.cs: use TypeDescriptor to get the properties and their
1045 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1048 (AddedControl): take the children to the same state of the parent.
1049 (InitRecursive): set the page of the children.
1051 * Page.cs: removed one line (it's done a few lines above).
1054 (OnInit): always call InitializeAsUserControl
1055 (InitializeAsUserControl): sets the page for the control.
1057 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1059 * Control.cs: fixed bug #36037.
1061 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1063 * BaseParser.cs: a couple of path fixes to make it work
1064 when the page is not in the root directory.
1066 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1068 * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
1071 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1073 * BaseParser.cs: use MapPath and context to locate files.
1074 * Control.cs: implemented MapPathSecure.
1075 * TemplateControl.cs: use UrlUtils to generate the path.
1076 * TemplateControlParser.cs: use the context and MapPath.
1077 * UserControl.cs: implemented MapPath.
1078 * UserControlParser.cs: added context parameter to constructor.
1080 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1082 * Control.cs: implemented MapPathSecure.
1083 * Page.cs: fixed Server property.
1085 2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1087 * DataBinder.cs: try the indexer if the property is not found in
1088 GetPropertyValue ().
1090 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1092 * Control.cs: added AutoEventWireup internal property.
1094 * Page.cs: removed page events wire up from here.
1096 * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
1097 and user controls events.
1099 * TemplateControlParser.cs: process the options that are applicable
1100 once we have the instance of the control.
1102 * TemplateParser.cs: also stores the options.
1104 * UserControl.cs: hook up events before initializing the control.
1107 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1109 * Control.cs: new method to set bindingContainer value.
1110 * TemplateControl.cs: added controls are not binding containers.
1112 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1114 * Control.cs: implemented TemplateSourceDirectory.
1115 * TemplateControl.cs: implemented LoadControl and LoadTemplate.
1117 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1119 * UserControl.cs: fixed SetAttribute.
1120 * UserControlParser.cs: set the correct base type.
1122 2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1124 * TemplateParser.cs: fixed BaseType.
1125 * UserControlParser.cs: helper class to compile user controls.
1127 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1129 * LosFormatter.cs: added DateTime to special types.
1131 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1133 * LosFormatter.cs: added array serialization support. Disabled binary
1134 serialization and add some debugging code.
1136 * StateBag.cs: the length of the list of value can be less than the
1137 length if the list of keys when remaining values are null.
1139 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1141 * Page.cs: return something useful in GetPostBackClientEvent.
1143 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1145 * Page.cs: implemented FileDependecies and made it protected.
1147 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1149 * Control.cs: save control names instead of the controls
1150 themselves to the ViewState.
1152 * LosFormatter.cs: added support for serializing unknown
1153 types. BinaryFormatter does not work so you better don't store anything
1154 of unknown Type in ViewState.
1156 * Page.cs: GetViewStateString works now using LosFormatter.
1157 Complete "Control execution lifecycle" by unloading all the child
1158 controls. Check for null in RaisePostBackEvents.
1159 LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
1161 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1163 * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
1165 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1167 * LosFormatter.cs: Use WebEncoding.Encoding.
1170 * Page.cs: fixed namespace.
1172 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1174 * Page.cs: set the context in ProcessRequest. Added a few trace calls.
1175 * Control.cs: added some trace information.
1177 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1179 * SimpleHandlerFactory.cs: new handler for .ashx files.
1181 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1183 * System.Web.UI/PageHandlerFactory.cs: new file.
1184 * System.Web.UI/PageParser.cs:
1185 * System.Web.UI/TemplateControlParser.cs: we are now able to compile
1186 pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
1188 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1190 * Control.cs: implemented ObBubbleEvent.
1191 * Page.cs: temporary workaround to make POST work with xsp server.
1193 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1195 * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
1198 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1200 * SimpleWebHandlerParser.cs: New file.
1201 * WebServiceParser.cs: New file.
1203 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1205 * LosFormatter.cs: almost fully implemented.
1207 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1209 * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
1210 * EmptyControlCollection.cs: throw correct exception.
1211 * LosFormatter.cs: stubbed out.
1212 * OutputCacheLocation.cs: little fix.
1214 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1216 * System.Web.UI/ApplicationFileParser.cs:
1217 * System.Web.UI/BaseParser.cs:
1218 * System.Web.UI/PageParser.cs:
1219 * System.Web.UI/TemplateControl.cs:
1220 * System.Web.UI/TemplateControlParser.cs:
1221 * System.Web.UI/TemplateParser.cs: first steps to move xsp into
1224 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1226 * Page.cs: request to render postback script can be after form started
1229 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1231 * Page.cs: added more page events to invoke automagically if some
1232 methods are defined.
1234 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1237 (SaveViewState): save state even when control is not visible.
1238 (SaveViewStateRecursive):
1239 (LoadViewStateRecursive): made internal.
1241 2002-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1243 * Page.cs: improved event raising to allow client postback for a wider
1244 variety of actions (clicking an hyperlink, ...).
1246 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1248 * UserControl.cs: implemented Load/SaveViewState.
1250 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1252 * AttributeCollection.cs:
1253 (Add): handle 'style' through styleCollection.
1255 * CssStyleCollection.cs:
1256 (fillStyle): renamed to FillStyle and made it internal.
1259 (GetViewStateString): fixed, broken after other recent changes.
1260 (ProcessPostData): allow a second try for postback data after OnLoad.
1261 (ProcessRequest): clear controls collection, removed call to
1264 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1266 * Control.cs: uncommented Dispose.
1269 (DeterminePostBackMode): more checkings.
1270 (GetPostBackClientHyperLink): implemented.
1271 (GetPostBackEventReference): added some comments with the HTML that MS
1273 (ProcessRequest): fixed processing order. The page is unloaded after
1274 a request and regenerated from view state on subsequents posts.
1276 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1278 * Control.cs: fixed related to ViewState. Added RemovedControl.
1280 * ControlCollection.cs: notify owner of control removal.
1282 * CssStyleCollection.cs: almost rewritten to make it render the style
1283 attribute after changes to it.
1285 * Page.cs: follow the guidelines in 'Control execution lifecycle'.
1288 * StateBag.cs: don't use IDictionary.GetEnumerator on the
1289 HybridDictionary: it makes the program give an InvalidCastException at
1292 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1294 * Page.cs: fire Init and Load events for all children.
1296 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1298 * UserControl.cs: New file.
1300 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1302 * ControlBuilderAttribute.cs: finished implementation.
1304 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1306 * ConstructorNeedsTagAttribute.cs: the default constructor sets the
1309 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1311 * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
1313 * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
1314 Hashtable. Added internal .ctor.
1316 * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
1317 Equals and GetHashCode.
1319 * System.Web.UI/DataBoundLiteralControl.cs:
1321 (SaveViewState): implemented.
1323 * System.Web.UI/Page.cs: FileDependencies is not public.
1325 * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
1328 (IsDefaultAttribute): implemented.
1330 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1332 * Control.cs: fixed Visible property.
1333 * Page.cs: fixed GetViewStateString.
1335 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1337 * System.Web.UI/Page.cs:
1338 (GetViewStateString): new function to give the server access to the
1339 generated view state string.
1342 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1345 (SaveViewstateRecursive): implemented.
1346 (SaveViewState): fixed.
1347 (IParserAccessor.AddParsedSubObject): don't use 'this'.
1349 * Page.cs: added code to save view state to an xml file. It's not
1350 being used right now.
1352 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1354 * System.Web.UI/LiteralControl.cs:
1355 Fixes based on class status page:
1357 - Add attributes (DefaultEvent, ParseChildren).
1359 - Explicitly implement some interfaces (IPostBackDataHandler
1360 and IPostBackEventHandler).
1361 - Implemented some missing methods.
1363 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1365 * Control.cs: reimplemented FindControls.
1368 (.ctor): set the page for this control.
1369 (IsPostBack): return valid value.
1370 (DeterminePostBackMode): finished.
1371 (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
1372 (ProcessPostData): implemented. Raises change and postback events.
1373 (ProcessRequest): changed to support reuse of the instance.
1374 (RegisterRequiresPostBack): implemented.
1376 * ValidatorCollection.cs: implemented all methods.
1378 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1381 * Page.cs: first attemp to save view state.
1383 * HtmlForm.cs: don't render Action.
1385 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1387 * Page.cs: implemented more properties using information we already
1391 (VerifyRenderingInServerForm): implemented.
1393 2002-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1395 * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
1396 out runtime. Renamed Page_Init and Page_Load.
1398 After this, we can load a dll and render HTML in linux.
1400 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1403 (AddedControl): new function that is called whenever a control is
1404 added to a collection of controls in a container. It sets the defaults
1407 * ControlCollection.cs: call AddedControl in Add/AddAt.
1409 * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
1410 SetStaticString and SetDataBoundString.
1412 * Page.cs: removed SetDefaults.
1414 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1416 * CompiledTemplateBuilder.cs: new file. Used in the code generated
1420 (BindingContainer): implemented.
1421 (EnsureChildControls): avoid stack overflow.
1423 * DataBinder.cs: implemented Eval and PropertyValue.
1425 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1427 * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
1428 bug as in regular attributes).
1430 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1432 * Control.cs: implemented PreventAutoID.
1435 (SetDefaults): don't set ID automatically if Control.PreventAutoID has
1438 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1441 (Validators): if the collection is null, create one.
1442 (GetPostBackEventReference 2): don't throw exception.
1443 (GetPostBackClientEvent): return a string with containing the method
1444 name, the control name and the argument.
1446 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1448 * Page.cs: SetPage is now called SetDefaults and also sets a default
1449 ID for controls that don't have one yet.
1451 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1454 (GetPostBackClient):
1455 (RegisterRequiresPostBack): don't throw NotImplementedException to
1457 (ProcessRequest): set the current page as the Page property for *all*
1458 the controls, not just the direct children of the page.
1460 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1463 (MapPathSecure): until security is implemented, return the same path
1464 received as argument.
1465 (RenderControl): call OnPreRender before rendering the control. So
1466 AdRotator can read its configuration file.Is there any other place
1467 where this should be done?
1469 * HtmlTextWriter.cs:
1470 (AddAttribute): fixed. Now it really stores attributes.
1471 (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
1473 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1475 * ControlCollection.cs:
1476 (AddAt): if index is -1 behave as a plain Add.
1478 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1480 * Page.cs: for each child control to render, assign Control.Page.
1481 Probably also needed in HtmlContainerControl derived classes.
1483 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1485 * AttributeCollection.cs: don't need a Hastable. StateBag now works
1486 fine and takes care of the details.
1488 * Control.cs: added HasChildren property.
1490 * StateBag.cs: fixed a couple of nasty bugs.
1492 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1494 * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
1495 Invoke Page_Init and/or Page_Load if the user supplied them (though
1496 this should depend on AutoEventWireUp attribute of Page directive).
1498 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1500 * Control.cs: don't throw exception in ControlID. By now, it returns ID.
1503 (ProcessRequest): implemented.
1505 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1507 * System.Web.UI/Page.cs: finished stubbing out. Implemented some
1510 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1513 (FileDependencies): now is public public.
1514 (EnableViewStateMAC): uncommented and made protected.
1515 (GetTypeHashCode): added method.
1517 2002-05-24 Duncan Mak <duncan@ximian.com>
1519 * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
1521 * StateBag.cs (Item): Changed the visibility level of the this
1524 Misc. formatting edits, fixing some bugs introduced by the indentation.
1526 * DataBinder.cs (Eval)
1527 (GetIndexedPropertyValue)
1528 (GetPropertyValue): Fixed return types.
1530 2002-05-21 Miguel de Icaza <miguel@ximian.com>
1532 * HtmlTextWriter.cs: Use this to change the member instances.
1534 2002-05-17 Duncan Mak <duncan@ximian.com>
1536 * AttributeCollection.cs:
1537 * ControlCollection.cs:
1538 * CssStyleCollection.cs:
1539 * DataBindingCollection.cs:
1540 * EmptyControlCollection.cs: Added missing Collection classes.
1542 2002-05-17 Duncan Mak <duncan@ximian.com>
1545 * TemplateParser.cs: Implemented. BaseParser is weird because
1546 there is no documentation on what it does.
1548 * ControlBuilder.cs:
1551 * DataBinding.cs: Added.
1553 * DataBoundLiteralControl.cs:
1554 * Triplet.cs: Added.
1556 * RenderMethod.cs: Added this delegate for Control.cs
1558 2002-05-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1560 * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
1562 2002-05-14 Duncan Mak <duncan@ximian.com>
1564 * ValidationPropertyAttribute.cs: Added to CVS.
1566 2002-05-10 Duncan Mak <duncan@ximian.com>
1568 * ConstructorNeedsTagAttribute.cs:
1569 * ControlBuilderAttribute.cs:
1570 * ImageClickEventArgs.cs:
1571 * ParseChildrenAttribute.cs:
1572 * PartialCachingAttribute.cs:
1573 * PersistChildrenAttribute.cs:
1574 * PersistenceModeAttribute.cs:
1575 * TemplateContainerAttribute.cs: Added to CVS.
1577 * PersistanceMode.cs: Removed, fixed typo.
1578 * PersistenceMode.cs: Replacing above.
1580 * StateBag.cs (this): Fixed indexer, it takes a string as the
1581 index, not an object.
1583 * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
1585 * Page.cs (Validators): return type should be ValidatorCollection,
1586 not ValidatedCollection.
1588 * TagPrefixAttribute.cs: Added to CVS.
1590 2002-05-07 Duncan Mak <duncan@ximian.com>
1592 * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
1594 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
1596 * DataBindingHandlerAttribute.cs
1598 * ToolboxDataAttribute.cs - Completed
1600 2002-01-03 Nick Drochak <ndrochak@gol.com>
1602 * DesignTimeParseData.cs: initialze static member to avoid compile
1604 * PropertyConverter.cs: remove uneeded exception variables from
1607 2002-01-02 Nick Drochak <ndrochak@gol.com>
1609 * DesignTimeParseData.cs: fix header to show correct class name
1611 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
1613 * StateBag.cs - Completed
1615 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
1617 * Pair.cs - Small undocumented class. Completed.
1619 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
1621 * DesignTimeParseData.cs - Initial implementation
1622 * StateBag.cs - Initial implementation
1624 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
1626 * PropertyConverter.cs - Undocumented class. Completed.
1627 * Utils.cs - Undocumented, private class.
1628 Initial implementation
1630 2001-08-28 Bob Smith <bob@thestuff.net>
1631 * Control.cs: Figured out some undocumented API.
1633 * BuildMethod.cs: Initial implementation.
1634 * BuildTemplateMethod.cs: Initial implementation.
1635 * HtmlTextWriterAttribute.cs: Initial implementation.
1636 * HtmlTextWriterStyle.cs: Initial implementation.
1637 * HtmlTextWriterTag.cs: Initial implementation.
1638 * IAttributeAccessor.cs: Initial implementation.
1639 * IDataBindingsAccessor.cs: Initial implementation.
1640 * ImageClickEventHandler.cs: Initial implementation.
1641 * INamingContainer.cs: Initial implementation.
1642 * IParserAccessor.cs: Initial implementation.
1643 * IPostBackDataHandler.cs: Initial implementation.
1644 * IPostBackEventHandler.cs: Initial implementation.
1645 * IStateManager.cs: Initial implementation.
1646 * ITagNameToTypeMapper.cs: Initial implementation.
1647 * ITemplate.cs: Initial implementation.
1648 * IValidator.cs: Initial implementation.
1649 * OutputCacheLocation.cs: Initial implementation.
1650 * PersistanceMode.cs: Initial implementation.
1651 * StateItem.cs: Initial implementation.
1653 2001-08-27 Bob Smith <bob@thestuff.net>
1655 * Control.cs: Bug fixes and implementations.
1657 2001-08-24 Bob Smith <bob@thestuff.net>
1659 * Control.cs: Bug fixes.
1661 2001-08-23 Bob Smith <bob@thestuff.net>
1663 * Control.cs: More implementation. Events reworked for performance.
1665 2001-08-22 Bob Smith <bob@thestuff.net>
1667 * LiteralControl.cs: Implemented.
1668 * Control.cs: Even more implementation (Events). What a beast.
1670 2001-08-20 Bob Smith <bob@thestuff.net>
1672 * Control.cs: More implementation. Not done yet. Shutter.
1674 2001-08-17 Bob Smith <bob@thestuff.net>
1676 * Control.cs: Partial implementation.