* System.Web/TempFileStream.cs: a FileStream that removes the file once
it is disposed.
* System.Web/HttpRequest.cs: support for writing request data to on-disk
files if the request is longer than the threshold specified in the
configuration files. In mono this will work for 1.x and 2.0, while with
MS this only works for 2.0.
* System.Web.dll.sources: add TempFileStream.cs
* System.Web.Configuration/HttpRuntimeConfigurationHandler.cs: removed
a bunch of useless stuff for 1.x.
svn path=/trunk/mcs/; revision=58170
* System.Web.Configuration_2.0/Compiler.cs:
* System.Web.Configuration_2.0/CompilerCollection.cs: removed
compatibility code.
* System.Web.Configuration_2.0/BuildProviderCollection.cs: add
GetProviderForExtension().
* System.Web.UI/IThemeResolutionService.cs: this is now added to the
sources file, but some other stuff does not compile yet as the
interface changed after the beta.
* System.Web.UI/ObjectConverter.cs: removed extra attribute.
* System.Web.UI/ObjectStateFormatter.cs: add IStateFormatter for 2.0.
* System.Web.UI/ICallbackEventHandler.cs: update the interface, but
commented the 'good' stuff out, since other files need to be fixed
too.
* System.Web.dll.sources: add new files.
* System.Web.Configuration/CompilationConfiguration.cs:
* System.Web.Configuration/CompilationConfigurationHandler.cs: only
compile these for pre-2.0 assemblies.
* System.Web.Hosting/DefaultVirtualPathProvider.cs: add some
comments/TODO.
* System.Web.Hosting/HostingEnvironment.cs: initialize the
default value for VirtualPathProvider.
* System.Web.Compilation/CompilerType.cs: implemented.
* System.Web.Compilation/AssemblyBuilder.cs: implemented most of it.
* System.Web.Compilation/WebServiceCompiler.cs:
* System.Web.Compilation/CachingCompiler.cs: update 2.0 compiler
instance creation code.
* System.Web.Compilation/ClientBuildManager.cs: implemented some of
its methods. Not yet ready.
* System.Web.Compilation/BuildManager.cs: the more interesting methods
are implemented now.
* System.Web.Compilation/BaseCompiler.cs: delete the temporary files
in case of error.
* System.Web.Compilation/BuildProvider.cs: implemented the
Get*Compiler* protected methods.
svn path=/trunk/mcs/; revision=56781
* WebConfigurationSettings.cs: patch by Cyrille Colin that sets the
right application path even when MapPath fails. Closes bug #77044.
svn path=/trunk/mcs/; revision=54716
* HttpHandlersSectionHandler.cs:
* HandlerFactoryConfiguration.cs: we need to use a copy of the parent
mappings, otherwise we may remove mappings from the parent. Fix a typo
when removing the item from the collection. Now LocateHandler searches
first for this configuration mappings and then for the parent ones.
Fixes (truly) bug #76842.
svn path=/trunk/mcs/; revision=53839
* HandlerFactoryConfiguration.cs: my previous patch broke the
* order in which handlers are searched. This one fixes that,
* while not breaking bug 76842 again.
svn path=/trunk/mcs/; revision=53743
* WebConfigurationSettings.cs (ReadSectionGroup): some
CONFIGURATION_2_0 work.
* CompilationConfigurationHandler.cs (ReadCompilers): change the
NET_2_0 to CONFIGURATION_2_0.
* CompilerCollection.cs: more ugly hacks for the
2.0-without-config-2.0 case. wrap this in #if !CONFIGURATION_2_0
and make it public in the NET_2_0 case (so it can be used to keep
the config 2.0 stuff building).
* Compiler.cs: same.
* CompilationConfiguration.cs (Init): change the #if NET_2_0 to
#if CONFIGURATION_2_0.
svn path=/trunk/mcs/; revision=53737
* HandlerFactoryConfiguration.cs: copy the parents' mappings
into the new one to allow for removing without affecting the
parent configuration mappings. Fixes bug #76842.
svn path=/trunk/mcs/; revision=53610
* CompilationConfigurationHandler.cs (ReadCompilers): call
CompilerCollection.Add in the 2.0 case, as it doesn't expose a
setter indexer.
* CompilationConfiguration.cs: need this to keep things compiling,
even though CompilationConfiguration doesn't need to be used in
the 2.0 case.
svn path=/trunk/mcs/; revision=53268
* CompilerCollection.cs: wrap in #if !NET_2_0, and remove a lot of
stubs that now exist in System.Web.Configuration_2.0.
svn path=/trunk/mcs/; revision=53265
* HandlerFactoryConfiguration.cs: when using regex matching, pass the
original full virtual path, not just the file name. The regex matches
the end of the path. Fixes bug #76536.
svn path=/trunk/mcs/; revision=52154
* CompilationConfiguration.cs: Return an empty configuration object if
no HttpContext is available. This is required for the unit tests and
match the results of MS 1.1 and 2.0 (beta2).
svn path=/trunk/mcs/; revision=50106
* System.Web/BrowserCapabilities.cs: removed extra 'using'.
* System.Web/HttpApplication.cs: use just the 'modcoll' to hold the
collection of modules instead of having a separate 'modules' one.
* System.Web.Configuration/ModulesConfiguration.cs: LoadModules creates
a HttpModuleCollection, initializes the module instances and fills in
the collection.
svn path=/trunk/mcs/; revision=49158
* System.Web/HttpApplication.cs: clone the module collection so that
it's not shared between HttpApplications. Call GetHandler() in the
right place.
* System.Web.SessionState/SessionStateModule.cs: added lock around
'config'.
* System.Web.SessionState/SessionInProcHandler.cs: when inserting in
the the session in the Cache, use sliding expiration only.
* System.Web.Configuration/ModulesConfiguration.cs: add Clone (ugly).
svn path=/trunk/mcs/; revision=49157
from one class to another in 1.x to 2.x
2005-08-30 Miguel de Icaza <[email protected]>
* HttpCapabilitiesBase.cs: Make partial to pull the implementation
from another class.
2005-08-30 Miguel de Icaza <[email protected]>
* BrowserCapabilities.cs: Move the core of the capabilities into a
separate file. Use partial classes to choose what version to
compile against.
* HttpBrowserCapabilities.cs: Update to move the code elsewhere.
svn path=/trunk/mcs/; revision=49155
* HandlerFactoryConfiguration.cs: fix path matching so that
/xxx/WebResource.axd works. If we're going to match using a regexp,
generate it in the constructor, not on every request.
svn path=/trunk/mcs/; revision=49061
* MachineKeyConfigHandler.cs:
* MachineKeyConfig.cs: removed unused property. The CryptoGod has spoken
and told me to use RandomNumberGenerator.Create to let the
implementation choose the generator.
svn path=/trunk/mcs/; revision=47817
* MachineKeyConfigHandler.cs: removed unused code. Use
MachineKeyValidation.
* MachineKeyValidation.cs: made internal for 1.1 and added AES.
* MachineKeyConfig.cs: new property to return 24 bits needed for 3DES.
fix typo from last patch ('AutoGenerate'). Made the keys different when
both are autogenerated.
svn path=/trunk/mcs/; revision=47626
* MachineKeyConfigHandler.cs:
* MachineKeyConfig.cs: patch from Miguel that moves code from
MachineKeyConfigHandler to MachineKeyConfig.
svn path=/trunk/mcs/; revision=47621
* MembershipSection.cs: Implemented.
* SiteMapSection.cs: Define properties using attributes.
* AnonymousIdentificationSection.cs: Define properties using attributes.
* WebConfigurationManager.cs: return the correct base path for the
root path.
* IRemoteWebConfigurationHostServer.cs: Fixed method signatures.
* WebConfigurationHost.cs: Added the machine web.config to the web.config
file chain. Several fixes in the chain order. Implemented
IsDefinitionAllowed and VerifyDefinitionAllowed.
* VirtualDirectoryMappingCollection.cs:
* WebConfigurationFileMap.cs:
* AdapterDictionary.cs:
* AuthenticationSection.cs:
* AssemblyCollection.cs:
* AssemblyInfo.cs: Minor api fixes.
svn path=/trunk/mcs/; revision=46848
* GlobalizationConfigurationHandler.cs: when an attribute is not
provided, don't assing Encoding.Default to it, as we might override
parent's settings.
svn path=/trunk/mcs/; revision=45928
* System.Web.Configuration/CompilerCollection.cs: added CompareLanguages
method.
* System.Web.Compilation/AspGenerator.cs: when checking languages, try
to match other aliases too (ie, 'cs' == 'c#').
svn path=/trunk/mcs/; revision=43567
* System.Web.Configuration/CompilationConfigurationHandler.cs: ensure
TempDirectory is not empty before assigning it. Don't mangle the
assembly names provided.
* System.Web.Configuration/CompilationConfiguration.cs: use DynamicBase
as the temp directory instead of Path.GetTempPath.
* System.Web.UI/SimpleWebHandlerParser.cs:
* System.Web.UI/TemplateParser.cs: always get the location (full path)
for assemblies, even the ones from the GAC.
* System.Web.Compilation/BaseCompiler.cs: check that DynamicBase
directory exists before creating the TempFileCollection.
The changes related to assembly names fix bug number #74500.
svn path=/trunk/mcs/; revision=43462