* ApplicationHostTest.cs: adjust the test for the PrivateBinPath
changes.
2007-08-21 Marek Habersack <[email protected]>
* ProvidersHelper.cs: use HttpApplication.LoadTypeFromPrivateBin
to get the provider settings type.
2007-08-21 Marek Habersack <[email protected]>
* HttpApplicationFactory.cs: watch for changes in all the
private binary directories for the current application domain.
* HttpApplication.cs: turn the PrivateBinPath property into an
internal enumerable, so that code throughout the assembly can
iterate over the list of private bin directories configured for
the application domain.
Added a new internal method LoadTypeFromPrivateBin, for sharing
with other parts of the assembly.
2007-08-21 Marek Habersack <[email protected]>
* 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 Marek Habersack <[email protected]>
* ApplicationHost.cs: AppDomainSetup.PrivateBinPath should contain
a list of paths relative to AppDomainSetup.ApplicationBase, not a
full path.
We no longer check if the bin directories exist, the user can
create them while the application is running.
2007-08-21 Marek Habersack <[email protected]>
* ObjectDataSourceView.cs: get rid of PrivateBinPath property,
it's unused.
2007-08-21 Marek Habersack <[email protected]>
* BuildProvider.cs: use HttpApplication.PrivateBinPath enumerator
to look up assemblies in the binary path(s).
svn path=/trunk/mcs/; revision=84589
* 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-20 Marek Habersack <[email protected]>
* ContentPlaceHolderBuilder.cs: store place holder id in the
parser's internal place holder id list for later reference. Fixes
bug #82485.
svn path=/trunk/mcs/; revision=84441
* 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.
svn path=/trunk/mcs/; revision=84358
* 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.
svn path=/trunk/mcs/; revision=84342
* Page.cs: fixed:
- avoid NullRefferenceException from Title property
when Page does not have <head runat="server>,
- scriptManager.ResetEventValidationState () is called from Render.
It allows multiply calling of RenderControl returns the same output.
svn path=/trunk/mcs/; revision=84138
* PagesConfiguration.cs: Use enum for EnableSessionState.
* PagesEnableSessionState.cs: Marked internal on 1.0 profile.
* PageParser.cs: Replace enableSessionState and readOnlySessionState
bools with enum backed field. Move 1.0 profile code for checking value
of EnableSessionState pages config to PagesConfigurationHandler.
Fixes bug #82392 for 1.0 profile.
svn path=/trunk/mcs/; revision=83810
* PageParser.cs: honor web.config enableSessionState
ReadOnly setting instead of overwriting based on default value for
page directive EnableSessionState. Patch from Joel Reed
<[email protected]>, thanks! Fixes bug #82392
svn path=/trunk/mcs/; revision=83807
* DataSourceView.cs: fixed:
view raises onchange event when datasource is chenged.
2007-08-06 Igor Zelmanovich <[email protected]>
* DataSourceViewTest.cs:
Added new test.
2007-08-06 Igor Zelmanovich <[email protected]>
* AccessDataSource.cs: does not subscribed on view changed event.
* ObjectDataSource.cs: fixed state management.
* SqlDataSource.cs: fixed state management.
svn path=/trunk/mcs/; revision=83541
* webform.js:
* WebUIValidation_2.0.js:
refactoring: provide possibility to define relevant functions in different
scopes. (global=window or form element). thus providing a solution for
multi form environment.
2007-07-24 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs:
* Page.cs:
* Page.jvm.cs:
added new internal property IsMultiForm which returns false under
!TARGET_J2EE (Portal). All client scripts are rendered
according this property.
2007-07-24 Igor Zelmanovich <[email protected]>
* BaseValidator.cs: All client scripts are rendered
according IsMultiForm property.
svn path=/trunk/mcs/; revision=82648
* Page.cs: refactoring: __doPostBack client script
It is a part of adapting System.Web to work whith
System.Web.Extensions (AJAX).
svn path=/trunk/mcs/; revision=82509
* ControlBuilder.cs: on the 2.0 profile BindingContainerType
returns the associated control's base type when parent builder is
absent instead of typeof (Control). It returns typeof (Control) if
the parent builder type is determined to be a
NamingContainer. This makes the generated code match the MS.NET
output. Fixes bug #82119.
2007-07-18 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs: on the 2.0 profile, GetContainerType
does not look up the Item/Items properties to determine the
container type, instead it just returns the type reported by the
builder passed to this method. This change makes the generated
code match MS.NET. Fixes bug #82119.
svn path=/trunk/mcs/; revision=82200
* Page.cs:
* ClientScriptManager.cs:
scripts, registered using RegisterClientScriptInclude,
RegisterClientScriptResource and RegisterClientScriptBlock appear on Page
in order matches the order in which the scripts were registered.
svn path=/trunk/mcs/; revision=82189
* HtmlHeadBuilder.cs: the <meta> tag should be supported as well.
* HtmlTitle.cs: if the tag has any children, or the render method
delegate has been defined, render the children. Output the
contents of Text otherwise. Fixes bug #82102
svn path=/trunk/mcs/; revision=82025
* SimpleWebHandlerParser.cs: improve directive
pre-parsing. Directives can span multiple lines, they don't have
to start at the beginning of the line and any content can follow
them after the directive end. Also, do not trim the input since
that might affect program content. Fixes bug #81993.
svn path=/trunk/mcs/; revision=81234
* OutputCacheModule.cs: use Context.InternalCache.
* Cache.cs: 2.0 profile uses generic containers to keep the cache
entries.
Gotten rid of the InsertPrivate and InsertInternal methods. The
latter was moved to one of the Insert overloads.
Private entries are no longer handled specifically, because the
internal cache is now kept in a separate object.
2007-06-20 Marek Habersack <[email protected]>
* AppResourcesCompiler.cs: use HttpRuntime.InternalCache to keep
private entries.
* CachingCompiler.cs: as above
* AspGenerator.cs: as above
2007-06-20 Marek Habersack <[email protected]>
* DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
to keep private entries.
* XmlDataSource.cs: as above
2007-06-20 Marek Habersack <[email protected]>
* SessionInProcHandler.cs: use HttpRuntime.InternalCache to keep
private entries.
2007-06-20 Marek Habersack <[email protected]>
* SessionInProcHandler.cs: use HttpRuntime.InternalCache to keep
the internal entries.
2007-06-20 Marek Habersack <[email protected]>
* BasePartialCachingControl.cs: use HttpRuntime.InternalCache to
keep the private entries.
2007-06-20 Marek Habersack <[email protected]>
* HttpRuntime.cs: added new internal property, InternalCache, to
keep all the internal cache entries instead of mixing them with
the public cache ones.
Do not invoke Cache.InvokePrivateCallbacks - this method no longer
exists.
* HttpResponse.cs: private entries are now kept in
Context.InternalCache.
* HttpContext.cs: added new internal property, InternalCache,
which returns the HttpRuntime.InternalCache value.
Fixes bug #81690
svn path=/trunk/mcs/; revision=80321
* TemplateControlCompiler.cs: TemplateControl is assigned for
controls that are placed within ContentPlaceHolder and not for the
ContentPlaceHolder itself.
No longer add the overriden version of TemplateSourceDirectory to
the generated source, all the work is now done in
Control.TemplateSourceDirectory.
* BaseCompiler.cs: AppRelativeVirtualPath shouldn't end with a
slash, for compatibility with MS.NET
2007-06-09 Marek Habersack <[email protected]>
* TemplateControl.cs: make sure TemplateControl is set to the
current control.
* Control.cs: TemplateControl property goes up the parent chain if
the property isn't defined in the current control.
TemplateSourceDir finally implemented correctly.
2007-06-09 Marek Habersack <[email protected]>
* ControlTest.cs: enabled two tests that hadn't been working
before.
svn path=/trunk/mcs/; revision=79021
* Control.cs: more changes to the way TemplateSourceDirectory
works in the 2.0 profile. Take into account situations when a
control is placed in a UserControl (.ascx) and only then fall back
to the parent for its TemplateSourceDirectory.
svn path=/trunk/mcs/; revision=78731
* TemplateControlCompiler.cs: TemplateSourceDirectory in the 2.0
profile uses the TemplateControl property instead of Parent. This
allows to return the correct path.
2007-06-05 Marek Habersack <[email protected]>
* Control.cs: TemplateSourceDirectory uses TemplateControl to
lookup the virtual source directory in the 2.0 instead of the
Parent.
ResolveClientUrl copes with empty TemplateSourceDirectory in the
correct way now - the check is made after the basePath checks.
The changes above make ResolveClientUrl work properly when called
from within a control residing in a TemplateControl.
svn path=/trunk/mcs/; revision=78624
* PageParser.cs: added support for the PreviousPageType
directive.
2007-05-24 Marek Habersack <[email protected]>
* PageCompiler.cs: added support for the PreviousPageType directive.
* Directive.cs: as above.
svn path=/trunk/mcs/; revision=77907