2007-12-13 Igor Zelmanovich * Page.cs: - When Transfer/Execute is called with preserveForm=true, transferred page is not processed as PostBack but form collection is preserved. - When Execute is called more than once, PreviousPage property is set correct. 2007-11-22 Marek Habersack * OutputCacheParameters.cs: added the VaryByContentEncoding property. * Page.cs: added new InitCache overload. * TemplateParser.cs: added support for the VaryByContentEncodings attribute of the OutputCache directive. 2007-11-19 Vladimir Krasnov * Page.jvm.cs: IsMultiForm optimized, cached configuration call 2007-11-14 Marek Habersack * SimpleWebHandlerParser.cs: expect GetTypeFromBin to be called with a fully qualified type name and act accordingly. Fixes bug #341456. 2007-11-13 Igor Zelmanovich * ClientScriptManager.cs: Ensure a script resource is included once in multi form environment. 2007-11-07 Igor Zelmanovich * PageParser.cs: fixed initial value of tracemode. 2007-11-07 Igor Zelmanovich * Control.cs: removes '#define MONO_TRACE'. It allows to run MONO in release mode without supplementary trace info. 2007-11-07 Igor Zelmanovich * Page.cs: added missing trace information for NET_2_0 2007-11-06 Igor Zelmanovich * Page.cs: * Page.jvm.cs: affects TARGET_J2EE only: validators state (isValid) is restored on GetBack. 2007-11-06 Marek Habersack * Page.cs: formatting 2007-11-05 Marek Habersack * ClientScriptManager.cs: EventStateFieldName is a constant now. * Page.cs: use full control ids when processing post data. Fixes bug #317615 2007-11-03 Marek Habersack * Control.cs: need to append a "/" to TemplateSourceDirectory before calling VirtualPathUtility.Combine, in order to get the correct physical path to the requested file. Combine looks for the last occurrence of "/" to determine where the relative paths should be joined. * MinimizableAttributeTypeConverter.cs: don't throw on null value, call the base class method in that case. * SimpleWebHandlerParser.cs: don't NRE on a null assembly passed to AddAssembly. AddAssemblyByName must check the return value of Assembly.LoadWithPartialName, as the method doesn't throw on missing assembly, it returns null instead. * ClientScriptManager.cs: eventValidationArray is serialized in an optimized fashion, so that its serialized form occupies only as many slots as were actually used. It may result in that an array of 0 entries will be serialized and then restored. EnsureEventValidationArray takes that into consideration now. 2007-11-01 Marek Habersack * Page.cs, ObjectStateFormatter.cs: use the new MachineKeySectionUtils class wherever necessary. 2007-10-29 Marek Habersack * TemplateParser.cs: add the file pointed to by the Src or CodeFile attributes to the list of page cache dependencies. * PageParser.cs, UserControlParser.cs: Add the MasterPage file to the list of page cache dependencies. * MasterPageParser.cs: add the source pointed to by VirtualPath to the list of cache dependencies. 2007-10-23 Marek Habersack * ClientScriptManager.cs: added two constants to define start/end script block comments rendering. 1.1 uses HTML comments, while 2.0 uses a CDATA block. * Page.cs: render script blocks with start/end comments taken from the ClientScriptManager constants above. 2007-10-17 Marek Habersack * TemplateParser.cs: removed code that ignored the Async and AsyncTimeout attributes. * PageParser.cs: handle the Async and AsyncTimeout attributes here. Fixes bug #325450 * Control.cs: properly configure control visibility in PreRenderRecursiveInternal. The check must be made by looking at the Visible value, not at the flags directly. Fixes bug #325303 2007-10-03 Marek Habersack * Page.cs: complete implementation of ValidationGroups. Fixes bug #330423. Patch from Juraj Skripsky , thanks! 2007-10-02 Marek Habersack * SimpleWebHandlerParser.cs: fix the way types are loaded from top-level assemblies. 2007-10-01 Marek Habersack * Page.cs: do not set IsPostBack to true if we're in transfer from another page. Fixes bug #329341 2007-09-18 Marek Habersack * TemplateParser.cs: VaryByControl OutputCache attribute is allowed for both controls and pages in 2.0. 2007-09-11 Marek Habersack * WebServiceParser.cs: inputFile is a virtual path to the service, not a physical one in GetCompiledType. 2007-09-05 Marek Habersack * RootBuilder.cs: make Foundry settable, but protect the backing field from being set to null. 2007-09-04 Marek Habersack * TemplateParser.cs: don't optimize for case when 'name' is a full assembly name in AddAssemblyByName. Assembly.Load triggers the AssemblyResolve event on the current AppDomain if an assembly isn't found and we use this mechanism to map names like "App_Code" or "App_GlobalResources" to the real names of those dynamic assemblies. 2007-09-02 Igor Zelmanovich * Page.jvm.cs: implemented IsMultiForm property to take the value from configuration. 2007-08-30 Igor Zelmanovich * Page.cs: fixed MaintainScrollPositionOnPostBack feature. 2007-08-29 Marek Habersack * TemplateBuilder.cs: check for and store for later use the TemplateContainerAttribute. Added a nullable property TemplateInstance to return the value of the attribute. 2007-08-29 Vladimir Krasnov * Control.cs: optimized performance in InitControlsCache() 2007-08-28 Marek Habersack * Page.cs: The following property values are returned from cached fields instead of looking them up on Context: Application, Response, Request, Cache (as determined by the tests). Added a backing field for the Session property. Session doesn't throw an exception when Context is null - it silently ignores it and throws a session not available exception. _context is never used directly, the Context property is used instead. Fixes bug #82606 2007-08-23 Juraj Skripsky * Control.cs (InitControlsCache): Make the hash table case insensitive to make FindControl compatible with MS.net again. Add LAMESPEC note. 2007-08-23 Marek Habersack * SimpleWebHandlerParser.cs: use HttpApplication.BinDirectoryAssemblies in AddAssembliesInBin and LoadAssemblyFromBin. Restore the old logic in GetTypeFromBin, also use HttpApplication.BinDirectoryAssemblies there. * TemplateParser.cs: use HttpApplication.BinDirectories to interate over the list of bin dirs. Use HttpApplication.BinDirectoryAssemblies in AddAssembliesInBin. 2007-08-23 Igor Zelmanovich * ClientScriptManager.cs: encode values of hidden fields. 2007-08-21 Marek Habersack * SimpleWebHandlerParser.cs: use HttpApplication.PrivateBinPath enumerator when loading or adding assemblies from binary directories. Remove unused PrivateBinPath property. * ControlBuilder.cs: remove unused PrivateBinPath property. * TemplateParser.cs: use HttpApplication.PrivateBinPath when adding assemblis and loading types. 2007-08-21 Igor Zelmanovich * ClientScriptManager.cs: fixed onsubmit script for MultiForm environment 2007-08-20 Marek Habersack * MasterPage.cs: use the place holder IDs collection instead of the placholder collection to see if we have the place holder in the master page. Fixes bug #82485. * MasterPageParser.cs: store the content place holder ids in the internal cache to gain access to them when needed. 2007-08-19 Vladimir Krasnov * MasterPageParser.jvm.cs: optimized GetDirectory call * PageTheme.cs: optimized string formatting in CreateSkinKey 2007-08-19 Vladimir Krasnov * Page.cs: ResetEventValidationState call moved back to InternalProcessRequest 2007-08-19 Marek Habersack * Page.cs: make sure not to ever pass a null value as the value of the postCollection parameter to control's LoadPostData. The ProcessPostData's 'data' parameter is no longer passed to LoadPostData, instead we pass _requestValueCollection or an empty collection if it is null. The controls should always get all the request data, no matter if the 'data' parameter is null or not. Possible fix for bug #82477. 2007-08-18 Gert Driesen * MasterPage.cs: Include relative URL of MasterPage in exception message. 2007-08-18 Marek Habersack * MasterPage.cs: if a ContentPlaceHolder ID is not found in the associated MasterPage, throw an exception. This is compatible with what MS.NET does. Fixes bug #82447. 2007-08-15 Igor Zelmanovich * Page.cs: fixed: - avoid NullRefferenceException from Title property when Page does not have * CssStyleCollection.cs: put the style in the bag each time a key is set, otherwise resetting of a key has no effect on rendered style. 2007-05-07 Marek Habersack * TemplateParser.cs: added support for implicit language detection. If the language isn't set explicitly in the Page directive, the language value taken from the configuration considered to be implicit - that is, it can be overwritten by the first