* WebConfigurationHost.cs: changed CreateDeprecatedConfigContext
to return a new HttpContext object. This is part of a fix for bug
#325128. Patch contributed by James Fitzsimons <[email protected]>,
thanks!
svn path=/trunk/mcs/; revision=104332
* RoleManagerSection.cs: use type converter when creating the
cookieTimeout property in the static constructor. Fixes bug
#387526. Patch fromIvan Hamilton <[email protected]>, thanks!
svn path=/trunk/mcs/; revision=102724
* SimpleWebHandlerParser.cs: refactoring - move code between
constructors, reader should be set before initializing the rest of
the object. Fixes bug #381364
* TemplateParser.cs: RegisterCustomControl must use absolute
virtual path when querying the virtual path provider for
file. Fixes bug #381364
2008-04-19 Marek Habersack <[email protected]>
* BuildManager.cs: use absolute virtual path to query the
VirtualPathProvider for path existence.
When ASP.NET is self-hosted, force
non-batch compilation. Fixes bug #380985
* ILocation.cs: added a new property, FileText.
* Location.cs: added implementation of the ILocation.FileText
property.
* ParseException.cs: use the new ILocation.FileText, if defined,
to get the file source.
* AspGenerator.cs: when TextReader is present, use it to read with
the VirtualPathProvider to read the file source. Fixes bug #381364
* AspParser.cs: added a new property FileText to provide the file
contents which was read in the constructor.
svn path=/trunk/mcs/; revision=101177
* NunitWebResources/adapters.browser,
NunitWebResources/TestCapability.browser: modified to work and
support tests of browser defs in
etc/mono/2.0/Browsers/Compat.browser.
++ class/System.Web/Test/System.Web/ChangeLog (working copy)
* AppBrowsersTest.cs: added tests to ensure browscap.ini
etc/mono/2.0/Browsers/Compat.browser are being used when there
are App_Browser/*.browser files.
++ class/System.Web/Test/System.Web.UI/ChangeLog (working copy)
* PageTest.cs: added tests to ensure that using a
ControlAdapter that is not of the type corresponding to the
control doesn't cause a cast error.
++ class/System.Web/Test/System.Web.UI.WebControls/ChangeLog (working copy)
* DataBoundControlTest.cs, HierarchicalDataBoundControlTest.cs,
WebControlTest.cs: added tests to ensure that using a
ControlAdapter that is not of the type corresponding to the
control doesn't cause a cast error.
++ class/System.Web/System.Web/ChangeLog (working copy)
* HttpApplicationFactory.cs (CapabilitiesProcessor): changed to
use etc/mono/2.0/Browser/*.browser files in addition to
~/App_Browsers/*.browser files.
++ class/System.Web/System.Web.UI/ChangeLog (working copy)
* Page.cs (PageAdapter): fixed cast error when a ControlAdapter that
wasn't a PageAdapter was used.
++ class/System.Web/System.Web.Configuration_2.0/ChangeLog (working copy)
* CapabilitiesBuild.cs (Process), ICapabilitiesProcess.cs (Process),
nBrowser/Build.cs (Process): Added initialCapabilities argument to
facilitate using browscap.ini capabilities.
* CapabilitiesResult.cs (ctor), nBrowserResult.cs (ctor): Change
items arg to IDictionary to facilitate using browscap.ini capabilities.
* nBrowser/Node.cs (Reset): Removed code which checked prohibited
non-alphanumerics in id attributes because .NET is not that strict.
* nBrowser/Node.cs (MergeFrom): Fixed NullReferenceExceptions that
occurred when the source or destination node did not have any
capabilities or adapters.
* nBrowser/Result.cs (AddAdapter): Fixed to allow types in other
assemblies.
++ class/System.Web/System.Web.UI.WebControls/ChangeLog (working copy)
* DataBoundControl.cs (InternalPerformDataBinding),
HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
WebControl.cs (Render): fixed cast errors when a ControlAdapter
that wasn't of the type corresponding to the control was used.
++ class/System.Web/System.Web.Configuration/ChangeLog (working copy)
* HttpCapabilitiesBase.cs (GetConfigCapabilities): changed to use
browscap.ini for default capabilities when *.browser files are
present, so we don't need to maintain browser capabilities in two
places.
svn path=/trunk/mcs/; revision=100150
* add new resources:
PageWithAdapter.aspx for PageTest and PageAdapterTest.
TestCapability.browser for AppBrowsersTest.
* NunitWebResources/adapters.browser,
NunitWebResources/AppBrowsersTest.browser: modified to support
testing reference nodes with captures, and adapters.
* NunitWeb/NunitWeb/WebTest.cs: ensure that, during AppDomain
unload, no new requests are sent to the app host and any
pending requests are completed before the the unload occurs.
Also added WebTest.AppUnloaded event that tests can use to wait
for the app to unload (e.g. after touching Global.asax), and
WebTest.CleanApp() which can be called to restart the app with
the a skeleton directory structure. Tests which add files that
could effect other tests (e.g. App_Browsers/*.browser files) should
call WebTest.CleanApp() during TearDown to return the app to a
pristine environment.
++ Test/mainsoft/MainsoftWebTest/ChangeLog (working copy)
* HtmlAgilityPack/AssemblyInfo.cs: made assembly delay signed so that
tests can access System.Web internals now that System.Web is
InternalsVisibleTo this assembly.
++ Test/System.Web/ChangeLog (working copy)
* AppBrowsersTest.cs: added. Includes tests for Control.Adapter,
Control.ResolveAdapter, Control.TagWriter, and
Control.CreateHtmlTextWriter, when using App_Browsers/*.browser files.
AppBrowsersTest is currently tagged [Ignore], pending a fix for
bug #351878.
* HttpRuntimeTest.cs: added. Includes test for
HttpRuntime.UnloadAppDomain(). Marked [Ignore], pending a fix for
bug #351878.
++ Test/System.Web.UI.Adapters/ChangeLog (revision 0)
* PageAdapterTest.cs: added tests for PageAdapter.
* ControlAdapterTest.cs (ConfigCapabilitiesNotCalled): added test to
ensure that HttpCapabilitiesBase.ConfigCapabilities() is not called
during normal page processing if no files are in App_Browsers.
* ControlAdapterTest.cs: added tests for ControlAdapter.
++ Test/System.Web.UI/ChangeLog (working copy)
* PageTest.cs: add tests for using a PageAdapter.
* ControlTest.cs: moved commented out ResolveAdapter_1 test to
../System.Web/AppBrowsersTest.cs. Fixed typo in test name.
Added Customcontroladapter.Adapter property for use by AppBrowsersTest.
++ Test/System.Web.UI.WebControls.Adapters/ChangeLog (revision 0)
* MenuAdapterTest.cs: added
* WebControlAdapterTest.cs, HierarchicalDataBoundControlAdapterTest.cs,
DataBoundControlAdapterTest.cs, HideDisabledControlAdapterTest.cs: added
++ Test/System.Web.UI.WebControls/ChangeLog (working copy)
* MenuTest.cs (Menu_RenderStaticItems): added tests to check that
result was the same when using the base MenuAdapter as when using
no adapter.
* MenuTest.cs (Menu_RenderStaticItemsWithAdapter): added test
to ensure that MenuAdapter.RenderItem() is called.
* HierarchicalDataBoundControlTest.cs, WebControlTest.cs,
DataBoundControlTest.cs: added test for use of ControlAdapters
when present.
* WebControl.cs: added test for IsEnabled.
++ System.Web/ChangeLog (working copy)
* HttpApplicationFactory.cs: Added support for detecting
App_Browsers/*.browser files and using them to determine capabilities.
Also restart the app if the App_Browsers, App_Code, or App_GlobalResources
directories are created.
* BrowserCapabilities.cs (TagWriter): get value via internal virtual
GetTagWriter() method, which is overridden in nBrowser.Result.
* HttpRequest.cs (BrowserMightHaveSpecialWriter, BrowserMightHaveAdapters):
internal properties added to allow Page and Control methods to avoid
accessing Request.Browser to get browser-specific HtmlTextWriters or
ControlAdapters. Those things only exist when there are App_Browsers
files.
++ System.Web.UI.Adapters/ChangeLog (working copy)
* ControlAdapter.cs: made control field internal so
derived internal classes can access it without using base.Control
which can involved several typecasts.
* PageAdapter.cs: implemented all members.
* ControlAdapter.cs: implemented all members.
* PageAdapter.cs, ControlAdapter.cs: add MonoTODO's.
++ System.Web.UI/ChangeLog (working copy)
* Page.cs (SavePageControlState, LoadPageControlState): save/load
adapter state in 2.0 profile.
* Page.cs (CreateHtmlTextWriter): call Browser.CreateHtmlTextWriter()
in 2.0 profile.
* Page.cs (RenderPage): call CreateHtmlTextWriter() to get the writer
in 2.0 profile.
* Page.cs (DeterminePostBackMode, InitOutputCache,
RenderClientScriptFormDeclaration, InternalProcessRequest,
PageStatePersister): added support for PageAdapters.
* Control.cs (Adapter, ResolveAdapter): implemented. Adapter calls
ResolveAdapter and remembers result. ResolveAdapter checks for adapters
of the Type hierarchy until it finds one.
* Control.cs (SaveViewStateRecursive, LoadViewStateRecursive): save/load
adapter state in 2.0 profile.
* HtmlTextWriter.cs (BeginRender, EndRender): added empty virtual methods
required by 2.0 profile. These are called by corresponding methods of
System.Web.UI.Adapters.ControlAdapter.
* Page.cs, Control.cs: don't access Request.Browser if it couldn't have
any adapters/writers because there are no files in App_Browsers/.
++ Assembly/ChangeLog (working copy)
* AssemblyInfo.cs: made InternalsVisibleTo System.Web.test_net_2_0.dll
to support ControlAdapterTest.ConfigCapabilitiesNotCalled().
++ ChangeLog (working copy)
* System.Web_test.dll.sources: added
System.Web.UI.WebControls.Adapters/MenuAdapterTest.cs
System.Web.UI.WebControls.Adapters/WebControlAdapterTest.cs
System.Web.UI.WebControls.Adapters/HierarchicalDataBoundControlAdapterTest.cs
System.Web.UI.WebControls.Adapters/DataBoundControlAdapterTest.cs
System.Web.UI.WebControls.Adapters/HideDisabledControlAdapterTest.cs
System.Web.UI.Adapters/PageAdapterTest.cs
System.Web.UI.Adapters/ControlAdapterTest.cs
* Makefile (RESOURCE_FILES_2): added
System.Web.Configuration_2.0/RandomRoboBotKeywords.txt
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/PageWithAdapter.aspx
* System.Web.dll.sources: added
System.Web.Configuration_2.0/CapabilitiesBuild.cs
System.Web.Configuration_2.0/CapabilitiesChecksum.cs
System.Web.Configuration_2.0/CapabilitiesResult.cs
System.Web.Configuration_2.0/ICapabilitiesProcess.cs
System.Web.Configuration_2.0/nBrowser/Result.cs
System.Web.Configuration_2.0/nBrowser/NodeTypes.cs
System.Web.Configuration_2.0/nBrowser/Identification.cs
System.Web.Configuration_2.0/nBrowser/File.cs
System.Web.Configuration_2.0/nBrowser/Build.cs
System.Web.Configuration_2.0/nBrowser/Node.cs
System.Web.Configuration_2.0/nBrowser/Exception.cs
++ System.Web.UI.WebControls.Adapters/ChangeLog (working copy)
* WebControlAdapter.cs, HierarchicalDataBoundControlAdapter.cs,
DataBoundControlAdapter.cs: changed to use ControlAdapter.control
instead of using base.Control or using a new control field.
* MenuAdapter.cs: added internal constructor that takes a Menu
parameter. The constructor is used when writing unit tests.
* MenuAdapter.cs (OnInit, OnPreRender, RenderBeginTag,
RenderContents, RenderEndTag): delegate to base instead of
Control.
* MenuAdapter.cs (LoadAdapterControlState, SaveAdapterControlState,
RaisePostBackEvent, RenderItem): implemented.
* WebControlAdapter.cs (RenderContents): changed to call
control.RenderContents() instead of control.Render().
* WebControlAdapter.cs, HierarchicalDataBoundControlAdapter.cs,
DataBoundControlAdapter.cs, HideDisabledControlAdapter.cs: added
internal constructor that takes a parameter of the corresponding
Control type. The construct is used when writing unit tests.
++ System.Web.Configuration_2.0/ChangeLog (working copy)
* nBrowser/Result.cs, nBrowser/NodeTypes.cs, nBrowser/Identification.cs,
nBrowser/File.cs, nBrowser/Build.cs, nBrowser/Node.cs,
nBrowser/Exception.cs: added. The code under nBrowser handles *.browser
files. It is based on Owen "Ocean" Brady's code, with the following
changes and improvements. Replaced Result.Adapter
property with AdapterTypeMap property which maps control Type to adapter
Type. Added Result.MarkupTextWriter property. Added overrides for
Result.GetAdapters and Result.GetTagWriter to return MarkupTextWriter
and AdapterTypeMap, resp. Changed tree building algorithm to not
depend on nodes with id="Default" and to inject defaultBrowser nodes
as parents of regular nodes with the same ids. Changed Node.cs to use
Item instead of Add when adding a capability or sample header, so that
values get replaced instead of appended. Added support for reference
nodes (ie. nodes with refID="someID").
* CapabilitiesResult.cs: load RandomRoboBotKeywords.txt resource
using the correct name.
* RandomRoboBotKeywords.txt: added
* HttpCapabilitiesBase.cs (CreateHtmlWriter, Adapters): Added
support for *.browsers. Adapters property calls internal virtual
GetAdapters() method which is overrided in nBrowser.Result
returned by nBrowser code. CreateHtmlWriter uses type specified
by TagWriter property.
++ System.Web.UI.WebControls/ChangeLog (working copy)
* DetailsView.cs, ListControl.cs, DataBoundControl.cs,
FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
added support for using ControlAdapters when present.
* WebControl.cs: fixed implementation of IsEnabled to match
documentation.
* Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
calls back to new Menu.RenderItem() internal method which calls
RenderMenuItem() with the appropriate parameters.
++ System.Web.Configuration/ChangeLog (working copy)
* HttpCapabilitiesBase.cs: changed to use nBrowser for *.browser
support. Also added internal GetConfigCapabilities_called
flag used by ControlAdapterTest.ConfigCapabilitiesNotCalled() to
test that GetConfigCapabilities() is not called during normal page
processing when there are no files in App_Browsers/.
svn path=/trunk/mcs/; revision=97824
* HttpRuntime.cs: SettingsMappingManager has been moved to
Mono.Web.
2008-03-01 Marek Habersack <[email protected]>
* WebConfigurationManager.cs: SettingsMappingManager has been
moved to Mono.Web.dll
2008-03-01 Marek Habersack <[email protected]>
* Makefile: added a dependency on Mono.Web.dll
* System.Web.dll.sources: removed SystemSettingsMapper public APIs
and moved them to the Mono.Web assembly.
2008-03-01 Marek Habersack <[email protected]>
* AssemblyInfo.cs: added
2008-03-01 Marek Habersack <[email protected]>
* ISectionSettingsMapper.cs, MembershipSectionMapper.cs,
RoleManagerSectionMapper.cs, SettingsMapping.cs,
SettingsMappingManager.cs, SettingsMappingWhat.cs: moved to here
from System.Web
2008-03-01 Marek Habersack <[email protected]>
* Mono.Web.dll.sources: added
* Makefile: added
svn path=/trunk/mcs/; revision=97035
* HandlerFactoryConfiguration.cs: ignore case when matching
handler paths.
2008-02-28 Marek Habersack <[email protected]>
* HttpHandlerAction.cs: ignore case when matching handler
paths. Fixes bug #364995
2008-02-28 Marek Habersack <[email protected]>
* TemplateControlParser.cs: when registering a control, check for
the .ascx extension case-insensitively. Fixes bug #364995
svn path=/trunk/mcs/; revision=96870
* TemplateParser.cs: a better error message.
* ControlBuilder.cs: if one of the parent builders is a
TemplateBuilder, use it as the naming container and use its
ContainerType property as the value of the BindingContainerType
property.
2008-02-26 Marek Habersack <[email protected]>
* BuildProviderCollection.cs: be case-insensitive when looking for
the extension match.
2008-02-26 Marek Habersack <[email protected]>
* BuildManager.cs: known file types extensions are now matched
case-insensitively.
svn path=/trunk/mcs/; revision=96644
* WebConfigurationManager.cs: hashtable can contain a key with a
null value, avoid adding duplicate keys in such cases.
svn path=/trunk/mcs/; revision=96532
* CompilerCollection.cs: Get (string language) should not use
BaseGet as our collection is keyed on a list of language names
(e.g. "cs;csharp") and passing a single language won't match in
BaseGet correctly. Use the overriden indexer instead.
Initialize the base class with the case-insensitive comparer.
Fixes bug #357824.
svn path=/trunk/mcs/; revision=94898
* HttpHandlerAction.cs: fixed the internal method PathMatches ()
removed wrong caching of FileMatchingInfo classes with request specific
informations. Now we check against the current request path and cache
the result in a dictionary.
Also check correctly against all possible paths from the HttpHandler.
svn path=/trunk/mcs/; revision=94082
* ProfileGroupSettingsCollection.cs: added an internal method to
add/overwrite new group settings. Used from
RootProfilePropertySettingsCollection.
* ProfileGroupSettings.cs: added the missing "name" property to
the properties collection.
Marked the propertySettingsProp property as the default
collection.
Added internal deserialization method, used from
RootProfilePropertySettingsCollection to support the 'group'
element.
* ProfileSection.cs: defaultProviderProp typo - the name of the
provider should be "AspNetSqlProfileProvider"
* RootProfilePropertySettingsCollection.cs: added
OnDeseerializeUnrecognizedElement to support the profile 'group'
element.
Added a missing Unmerge method.
svn path=/trunk/mcs/; revision=91931
* TranslationResources.resx: added - string resources for the
Sqlite providers.
2007-12-08 Marek Habersack <[email protected]>
* SQLiteProviders_DatabaseSchema.sql: added
* Makefile: added support for compiling .resx resources.
Added SQLiteProviders_DatabaseSchema.sql to EXTRA_DISTFILES.
Added new resource files to EXTRA_DISTFILES
2007-12-08 Marek Habersack <[email protected]>
* HttpRuntime.cs: initialize the Settings Mapping Manager once per
application, just after initalizing the WebConfigurationManager
2007-12-08 Marek Habersack <[email protected]>
* SqliteProfileProvider.cs: added - a Profile Provider for
Sqlite, based on PostgreSQL Profile Provider code from Daniel
Nauck <[email protected]>
2007-12-08 Marek Habersack <[email protected]>
* TranslationProperties.Designer.cs: added - contains strongly
typed properties referring to string resources used by the Sqlite
providers.
2007-12-08 Marek Habersack <[email protected]>
* WebConfigurationManager.cs: GetSection now runs each section
through a mapper (if any is defined for the section) before
returning it to the caller.
2007-12-08 Marek Habersack <[email protected]>
* SqliteRoleProvider.cs: added - a Role Provider for
Sqlite, based on PostgreSQL Role Provider code from Daniel
Nauck <[email protected]>
* SqliteMembershipProvider.cs: added - a Membership Provider for
Sqlite, based on PostgreSQL Membership Provider code from Daniel
Nauck <[email protected]>
2007-12-08 Marek Habersack <[email protected]>
* SerializationHelper.cs: added - serialization helper for the
Sqlite Profile Provider.
* RoleManagerSectionMapper.cs: added - section settings mapper for
the RoleManager section.
* MembershipSectionMapper.cs: added - section settings mapper for
the Membership section.
* ISectionSettingsMapper.cs: added - interface definition for
section settings mappers.
* SettingsMappingWhat.cs: added - describes a single 'what' tag
instance inside the mapper definition in the settings.map file.
* SettingsMapping.cs: added - represents a single mapper entry in
the settings.map file.
* SettingsMappingManager.cs: added - manages settings mapping as
defined in the settings.map file.
svn path=/trunk/mcs/; revision=90972
* ProfileGroupSettingsCollection.cs: added missing attribute to
the class, removed CollectionType method, added missing IsModified
and ResetModified methods, added missing Properties property.
* ProfileGroupSettings.cs: added missing Properties property,
adjusted the set of custom attributes of the PropertySettings
property.
* ProcessModelSection.cs: change the default value of the CpuMask
property.
svn path=/trunk/mcs/; revision=90229
* OutputCacheSection.cs: added the EnableKernelCacheForVaryByStar
property.
* OutputCacheProfile.cs: added the VaryByContentEncoding property.
2007-11-23 Marek Habersack <[email protected]>
* BrowserCapabilities.cs: the JavaScript property is obsolete in
2.0sp1.
svn path=/trunk/mcs/; revision=90219
* CacheSectionTest.cs: modified to match the new MS.NET defaults.
2007-11-23 Marek Habersack <[email protected]>
* CustomErrorsSection.cs: added two missing overrides -
DeserializeSection and Reset.
svn path=/trunk/mcs/; revision=90208
* ClientTargetSection.cs: added the missing Properties property.
Added static constructor to create the property collection.
* CustomErrorCollection.cs: removed the ThrowOnDuplicate
property.
* CacheSection.cs: corrected the defaults for the
PercentagePhysicalMemoryUsedLimit property.
Put IConfigMap* in the correct namespace
svn path=/trunk/mcs/; revision=90206
* AuthorizationRuleCollection.cs: removed the ThrowOnDuplicate
property - it's not found in the MS.NET version of the class.
svn path=/trunk/mcs/; revision=90197
* HttpApplication.cs: introduced HTTP handler cache to save time
on repetitive handler collection traversals. On busy sites the
traversal of the default 26 handlers may account for thousands of
unnecessary calls to configsystem.LocateHandler method, which may
also involve executing a regex. The cache is cleared whenever the
HTTP handler collection is modified.
2007-11-02 Marek Habersack <[email protected]>
* HttpHandlerActionCollection.cs: clear http handler cache in
HttpApplication if the collection is modified.
2007-11-02 Marek Habersack <[email protected]>
* HandlerFactoryConfiguration.cs: clear the HttpApplication HTTP
handler cache whenever the collection is modified.
svn path=/trunk/mcs/; revision=88716
* Page.cs, ObjectStateFormatter.cs: use the new
MachineKeySectionUtils class wherever necessary.
2007-11-01 Marek Habersack <[email protected]>
* System.Web.dll.sources: added MachineKeySectionUtils.cs
2007-11-01 Marek Habersack <[email protected]>
* RolePrincipal.cs, MembershipProvider.cs: use the new
MachineKeySectionUtils class wherever necessary.
* FormsAuthentication.cs: use the new MachineKeySectionUtils class
wherever necessary.
GetHexString is a private method again.
2007-11-01 Marek Habersack <[email protected]>
* MachineKeySection.cs: moved all the internal static methods and
properties to MachineKeySectionUtils.cs
* MachineKeySectionUtils.cs: added. This file is included in the
System.Web.Extensions compilation.
The old properties from MachineKeySection.cs became methods.
2007-11-01 Marek Habersack <[email protected]>
* AssemblyResourceLoader.cs: added GetHexString, copied from
FormsAuthentication.cs. Encryption/decryption routines use methods
from the new MachineKeySectionUtils class. This is needed for the
same code to work from both System.Web and System.Web.Extensions.
svn path=/trunk/mcs/; revision=88621
* HttpHandlerAction.cs: exact path matching must be done on the
original string in PathMatches, not on the sliced one. Fixes bug
#335669.
2007-10-24 Marek Habersack <[email protected]>
* HandlerFactoryConfiguration.cs: exact path matching must be done
on the original string in PathMatches, not on the sliced one.
* FileMatchingInfo.cs: refactoring - this code used to live in
both 1.1 and 2.0 profiles. At the same time, fixe the way
MatchExact is created - the slash is prepended only if the path
doesn't begin with it.
2007-10-24 Marek Habersack <[email protected]>
* System.Web.dll.sources: added
System.Web.Configuration/FileMatchingInfo.cs
svn path=/trunk/mcs/; revision=88121
* ApplicationHost.cs: introduce an application domain data item to
allow checks for whether System.Web code runs inside a hosted
application or in a stand-alone one.
Made the array of web.config name variations an internal one, to
be used from within configuration code.
2007-10-17 Marek Habersack <[email protected]>
* WebConfigurationHost.cs: if running outside hosted environment,
read only the assemblyname.config configuration file instead of
web.config. Fixes bug #332425
svn path=/trunk/mcs/; revision=87621
* TemplateControlCompiler.cs, WebServiceCompiler.cs,
BuildProvider.cs, BaseCompiler.cs, CachingCompiler.cs: use
HttpApplication.LoadType instead of Type.GetType.
2007-10-15 Marek Habersack <[email protected]>
* ProvidersHelper.cs: use HttpApplication.LoadType instead of
Type.GetType.
2007-10-15 Marek Habersack <[email protected]>
* ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
Type.GetType.
2007-10-15 Marek Habersack <[email protected]>
* ProfileBase.cs: use HttpApplication.LoadType instead of
Type.GetType.
svn path=/trunk/mcs/; revision=87506
* HttpModulesSection.cs: use HttpApplication.LoadType when loading
modules, to include both the bin/ directory and the top-level
assemblies in search. Fixes bug #333686.
2007-10-15 Marek Habersack <[email protected]>
* ModulesConfiguration.cs: load modules using
HttpApplication.LoadType to include the bin/ directory in search.
svn path=/trunk/mcs/; revision=87486
* System.Web.dll.sources: added MachineKeyRegistryStorage.cs
2007-08-30 Marek Habersack <[email protected]>
* MachineKeySection.cs: retrieve the keys from the registry before
falling back to the old method. Fixes bug #76606
2007-08-30 Marek Habersack <[email protected]>
* MachineKeyRegistryStorage.cs: added
svn path=/trunk/mcs/; revision=85063
* ProvidersHelper.cs: HttpApplication.LoadTypeFromPrivateBin
renamed to LoadTypeFromBin.
2007-08-23 Marek Habersack <[email protected]>
* AppCodeCompiler.cs: use HttpApplication.BinDirectoryAssemblies
and HttpApplication.LoadTypeFromBin.
* BuildProvider.cs: use HttpApplication.BinDirectoryAssemblies in
AddAssembliesInBin.
2007-08-23 Marek Habersack <[email protected]>
* ApplicationHost.cs: set AppDomainSetup.PrivateBinPath to "bin"
if running on Windows or with MONO_IOMAP in effect, and to
"Bin:bin" otherwise.
2007-08-23 Marek Habersack <[email protected]>
* 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 Marek Habersack <[email protected]>
* HttpApplication.cs: added a static array BinDirs which contains
the common bin directory names we can encounter.
Added internal static property IsRunningOnWindows.
Added internal enumerable property BinDirectories to iterate over
the full paths of the available binary directories.
Added internal enumerable property BinDirectoryAssemblies to
iterate over .dll files in the bin directories.
LoadTypeFromPrivateBin renamed to LoadTypeFromBin.
LoadTypeFromBin uses BinDirectoryAssemblies.
* HttpApplicationFactory.cs: use HttpApplication.BinDirectories to
interate over the list of bin dirs.
svn path=/trunk/mcs/; revision=84684
* 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
* 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
* WebConfigurationManager.cs: if errors happen when opening the
configuration file, mark the manager as unsafe to prevent further
usage and avoid error loops.
2007-05-30 Marek Habersack <[email protected]>
* TraceManager.cs: Catch all the possible exceptions in the
constructor - the object MUST be created successfully (even if
there are errors).
* HttpRequest.cs: do not attempt to apply url mappings if the
configuration manager has errors.
* HttpRuntime.cs: handle static constructor exceptions later on,
during the first call to ReallyProcessRequest.
* QueueManager.cs: provide defaults for the parameters to be read
from the config file(s).
Catch all the possible exceptions in the constructor - the object
MUST be created successfully (even if there are errors).
svn path=/trunk/mcs/; revision=78208
* WebConfigurationManager.cs:
make configurations hashtable case-insensitive.
* WebConfigurationHost.cs: for TARGET_J2EE only:
GetStreamName returns file path in right case, that make it works
on case-sensitive file system.
* ConfigurationLocationCollection.cs: for TARGET_JVM only:
location path is case-insensitive.
* PageMapper.cs: reverted r77353, 77321
make it case-insensitive
svn path=/trunk/mcs/; revision=77415
* TemplateParser.cs: refactoring - use HttpApplication.LoadType to
actually look up types.
* ControlBuilder.cs: as above
2007-05-15 Marek Habersack <[email protected]>
* BuildProviderCollection.cs: refactoring - use
HttpApplication.LoadType to actually look up the type.
* HttpHandlerAction.cs: as above
* WebConfigurationHost.cs: refactoring - moved the LoadType to
HttpApplication to share the code between 1.1 and 2.0 profiles.
2007-05-15 Marek Habersack <[email protected]>
* ObjectDataSourceView.cs: refactoring - use
HttpApplication.LoadType to look up types.
2007-05-15 Marek Habersack <[email protected]>
* HttpApplication.cs: refactoring - moved LoadType from
WebConfigurationHost here and made it internal static, in order to
make the code avaliable from all the places where extended type
loading is required.
svn path=/trunk/mcs/; revision=77396