Commit Graph
156 Commits
Author SHA1 Message Date
Konstantin Triger c1360afb03 use Invariant culture for string manipulations
svn path=/trunk/mcs/; revision=75429
2007-04-05 11:43:27 +00:00
Adar Wesley fbb0619f01 2007-03-22 Adar Wesley <[email protected]>
* BrowserCapabilities.cs: Added implementation for all capabilities.
        changed implementation to throw when capability is not defined in browscaps.ini.

        * CapabilitiesLoader.cs: fixed parent resultion bug.  added internal support for
        browser and browsers capabilities.

2007-03-22  Adar Wesley <[email protected]>

        * HttpCapabilitiesBase.cs: implemented all capabilities.  Capabilities
        still throw if there is no value in browscaps.ini and the property is called.

2007-03-22  Adar Wesley <[email protected]>

        * HttpCapabilitiesBase.cs: support for implementation of new
        capabilities.


svn path=/trunk/mcs/; revision=74819
2007-03-22 16:49:15 +00:00
Marek Habersack f2f8823517 2007-03-19 Marek Habersack <[email protected]>
* WebConfigurationSettings.cs: another fix to the
	GetConfigFromFileName logic - the passed "filepath" must not end
	with a slash when called recursively, or it will lead to endless
	recursion.

svn path=/trunk/mcs/; revision=74578
2007-03-19 00:06:33 +00:00
Marek Habersack 988df7eff0 2007-03-18 Marek Habersack <[email protected]>
* UrlUtils.cs: GetDirectory always returns a path with trailing
	slash.

2007-03-18  Marek Habersack  <[email protected]>

	* WebConfigurationSettings.cs: fix the GetConfigFromFileName
	directory logic.

2007-03-18  Marek Habersack  <[email protected]>

	* BaseParser.cs: fix BaseVirtualDir to always return app-absolute
	paths.

svn path=/trunk/mcs/; revision=74574
2007-03-18 22:12:53 +00:00
Marek Habersack 0f6913f8a5 Make the enableSesionState <pages> attribute values case-sensitive. Fixes bug 80913
svn path=/trunk/mcs/; revision=73770
2007-03-06 00:40:11 +00:00
Gert Driesen b4ebc89dd7 * PagesConfiguration.cs: Stop swallowing configuration exceptions.
* PagesConfigurationHandler.cs: Provide better exception message for
invalid 'enableSessionState' value.

svn path=/trunk/mcs/; revision=73056
2007-02-17 14:59:47 +00:00
Miguel de Icaza 6b4c7232fd * SiteMapNode.cs (GetExplicitResourceString): implement.
* HttpContext.cs (GetGlobalResourceObject): remove unused variable.

        * StaticFileHandler.cs (ProcessRequest): remove unused variable.

        * HttpApplication.cs (ProcessError): Remove unused variable.

2007-01-20  Miguel de Icaza  <[email protected]>

        * ClientBuildManager.cs: Remove unused variable (this could be a
        real problem, we never use the appPhysicalTargetDir)

        * AssemblyBuilder.cs: Remove unused field.

        * AppResourceFilesCollection.cs: Remove unused field.

        * TemplateControlCompiler.cs (GetExpressionFromString): Remove
        unused variable.

        * AppResourcesCompiler.cs: Remove unused variable.

        * AppSettingsExpressionBuilder.cs (GetAppSetting): remove unused
        parameter.

        * PageCompiler.cs: Put InternalCreatePageProperty inside the
        NET_2_0 block to eliminate warnings.

2007-01-20  Miguel de Icaza  <[email protected]>

        * HandlerFactoryConfiguration.cs (LoadType): remove unused
        variable.
        (ctor): do not assign parent, we do not use it, keep the code for
        reference.

2007-01-20  Miguel de Icaza  <[email protected]>

        * ApplicationManager.cs: Remove unused variable.
        (ShutdownAll) remove unused variables.

        * ApplicationHost.cs: Protect create_dir lock

2007-01-20  Miguel de Icaza  <[email protected]>

        * SqlRoleProvider.cs: comment out unused code.

        * SqlMembershipProvider.cs: Removed unused variables.
        Remove unused variable.

        * AnonymousIdentificationModule.cs (ClearAnonymousIdentifier):
        remove unused variable.   This might be a real bug.

2007-01-20  Miguel de Icaza  <[email protected]>

        * SessionStateModule.cs: Removed unused variables.

2007-01-20  Miguel de Icaza  <[email protected]>

        * SessionDictionary.cs: Removed unused variable (dirty).

2007-01-20  Miguel de Icaza  <[email protected]>

        * XhtmlTextWriter.cs: comment out unused code.

        * ThemeProvider.cs: comment out unused code.

        * DataSourceView.cs: Comment unused variable.

        * ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
        code

        * Control.cs: Put _templateControl inside the NET_2_0 ifdef

2007-01-20  Miguel de Icaza  <[email protected]>

        * HtmlHead.cs: comment out unused code, in particular metadata is
        commented out because nothing could have triggered its creation.

        * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.

2007-01-20  Miguel de Icaza  <[email protected]>

        * DataControlFieldCollection.cs (RemoveAt): remove unused
        variable.

        * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
        should not show up.

        * RadioButton.cs (RaisePostDataChangedEvent): This method was not
        used in 1.0, so put the whole method in 2.0

2007-01-20  Miguel de Icaza  <[email protected]>

        * WebPart.cs: Remove

        * PersonalizableAttribute.cs: Remove extra API that was wrong as well.

2006-11-28  Miguel de Icaza  <[email protected]>

        * WebPart.cs:

2007-01-20  Miguel de Icaza  <[email protected]>

        * FileUtils.cs (CreateTemporaryFile): Remove unused variable.



svn path=/trunk/mcs/; revision=71399
2007-01-20 22:42:04 +00:00
Miguel de Icaza 231e1a4b2d Fix the fix
svn path=/trunk/mcs/; revision=71292
2007-01-18 16:32:41 +00:00
Miguel de Icaza de8ec1f8d3 2007-01-18 Miguel de Icaza <[email protected]>
* HttpCapabilitiesBase.cs: Fix the build, I kept an old code path
	for 1.0

svn path=/trunk/mcs/; revision=71285
2007-01-18 16:00:28 +00:00
Konstantin Triger 8493d1366a consider Page's ClientTarget for BrowseCaps
svn path=/trunk/mcs/; revision=71266
2007-01-18 15:11:16 +00:00
Eyal Alalouf c694b23e35 Grasshopper now supports remoting.
svn path=/trunk/mcs/; revision=63760
2006-08-15 13:43:19 +00:00
Andrew Skiba ff2b4c3b93 ChangeLog for r:62307
svn path=/trunk/mcs/; revision=62308
2006-07-06 11:50:44 +00:00
Andrew Skiba cd67c2c391 validate attribute gets "true" and "false" case-insensitive in net 2.0
svn path=/trunk/mcs/; revision=62307
2006-07-06 11:46:15 +00:00
Andrew Skiba 999b061aeb keep the inner exception
svn path=/trunk/mcs/; revision=62113
2006-06-28 15:18:22 +00:00
Gonzalo Paniagua Javier 985c7435d3 2006-03-19 Gonzalo Paniagua Javier <[email protected]>
* 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
2006-03-19 23:16:17 +00:00
Chris Toshok af89946383 In System.Web.Configuration.Internal:
2006-02-28  Chris Toshok  <[email protected]>

	* IInternalConfigWebHost.cs: corcompare work.

In System.Web.Configuration_2.0:
2006-02-28  Chris Toshok  <[email protected]>

	* BuildProviderAppliesTo.cs, PagesToCountAction.cs: nuke.

In System.Web.Profile:
2006-02-28  Chris Toshok  <[email protected]>

	* ProfileBase.cs: corcompare work.

	* SqlProfileProvider.cs: add stubbed out file.

In System.Web.SessionState:
2006-02-28  Chris Toshok  <[email protected]>

	* SessionStateActions.cs: rename SessionStateActionFlags to this.

	* ISessionIDManager.cs: rename ISessionIDModule to this.

	* IStateRuntime.cs: corcompare work.

In System.Web.Security:
2006-02-28  Chris Toshok  <[email protected]>

	* FormsAuthentication.cs: corcompare work.

	* MembershipCreateUserException.cs: same.

	* MembershipPasswordException.cs: same.

	* AnonymousIdentificationModule.cs: same.

In System.Web.Configuration:
2006-02-28  Chris Toshok  <[email protected]>

	* FormsAuthPasswordFormat.cs: ifdef out the [Serializable] in the
	2.0 case.

In System.Web.Hosting:
2006-02-28  Chris Toshok  <[email protected]>

	* IAppDomainFactory.cs: corcompare work.

	* IAppManagerAppDomainFactory.cs: same

	* IISAPIRuntime.cs: same.

In System.Web.Management:
2006-02-28  Chris Toshok  <[email protected]>

	* SqlFeatures.cs: corcompare work

	* IRegiisUtility.cs: same.

	* WebEventFormatter.cs: same.

	* RuleFiringRecord.cs: same.

	* SessionStateType.cs: same.

	* WebApplicationInformtion.cs: same.

	* EventNotificationType.cs: same.

	* WebBaseEvent.cs: same.

	* IRegisterCreateITypeLib.cs: nuke


svn path=/trunk/mcs/; revision=57413
2006-02-28 18:56:23 +00:00
Gonzalo Paniagua Javier 6be4ffb621 2006-02-10 Gonzalo Paniagua Javier <[email protected]>
* 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
2006-02-10 23:43:09 +00:00
Chris Toshok 0e8098088d 2006-02-01 Chris Toshok <[email protected]>
* CompilerCollection.cs: CONFIGURATION_2_0 => NET_2_0.

	* CompilationConfigurationHandler.cs: same.

	* Compiler.cs: same.

	* CompilationConfiguration.cs: same.


svn path=/trunk/mcs/; revision=56416
2006-02-01 20:13:24 +00:00
Konstantin Triger 0366dcd0ed TARGET_JVM changes to let the compilation pass with csc 1.1
svn path=/trunk/mcs/; revision=55205
2006-01-08 13:18:54 +00:00
Gonzalo Paniagua Javier 0bb5724e38 2005-12-22 Gonzalo Paniagua Javier <[email protected]>
* 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
2005-12-22 03:26:28 +00:00
Gonzalo Paniagua Javier ba33dc2d20 2005-12-02 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: don't fail if <location> has more
	than one element. Fixes bug #76633.


svn path=/trunk/mcs/; revision=53841
2005-12-02 20:09:38 +00:00
Gonzalo Paniagua Javier 7510c8e3d4 2005-12-02 Gonzalo Paniagua Javier <[email protected]>
* 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
2005-12-02 19:01:47 +00:00
Gonzalo Paniagua Javier b581ac8cb0 2005-11-30 Gonzalo Paniagua Javier <[email protected]>
* 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
2005-12-01 02:37:45 +00:00
Chris Toshok 3eb9cadf9d 2005-11-30 Chris Toshok <[email protected]>
* 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
2005-12-01 01:33:31 +00:00
Gonzalo Paniagua Javier eeb8e0142d 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
* 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
2005-11-29 01:12:19 +00:00
Chris Toshok 5c7dfc3f92 2005-11-24 Chris Toshok <[email protected]>
* AssemblyInfo.cs: nuke this, it's in System.Web.Configuration_2.0
	now.


svn path=/trunk/mcs/; revision=53470
2005-11-24 23:59:05 +00:00
Chris Toshok 28faff3bd6 2005-11-19 Chris Toshok <[email protected]>
* 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
2005-11-19 07:03:55 +00:00
Chris Toshok 1dce8fe823 2005-11-19 Chris Toshok <[email protected]>
* Compiler.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=53267
2005-11-19 06:56:05 +00:00
Chris Toshok 2edf662dea 2005-11-18 Chris Toshok <[email protected]>
* 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
2005-11-19 05:33:23 +00:00
Chris Toshok 28685b1020 move many 2.0-only classes into System.Web.Configuration_2.0
svn path=/trunk/mcs/; revision=52421
2005-10-31 21:03:10 +00:00
Chris Toshok 25a65a1755 start populating the new System.Web.Configuration_2.0 dir
svn path=/trunk/mcs/; revision=52416
2005-10-31 18:56:39 +00:00
Chris Toshok 32955b7f6f 2005-10-31 Chris Toshok <[email protected]>
* IRemoteWebConfigurationHostServer.cs: fix interface.


svn path=/trunk/mcs/; revision=52415
2005-10-31 18:48:16 +00:00
Atsushi Eno 1a9cb8cb28 2005-10-29 Atsushi Enomoto <[email protected]>
* GlobalizationConfigurationHandler.cs : we don't use ICU.


svn path=/trunk/mcs/; revision=52374
2005-10-29 08:52:39 +00:00
Gonzalo Paniagua Javier bc1d078c0f 2005-10-24 Gonzalo Paniagua Javier <[email protected]>
* 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
2005-10-24 21:58:31 +00:00
Gert Driesen 3f3bceed39 * WebConfigurationHost.cs: Added stubs for missing implementation
of IInternalConfigHost to fix build for 2.0 profile.

svn path=/trunk/mcs/; revision=51460
2005-10-08 09:41:12 +00:00
Gonzalo Paniagua Javier 6997e31c04 add missing class
svn path=/trunk/mcs/; revision=51230
2005-10-05 04:40:40 +00:00
Chris Toshok 038aad65df 2005-09-23 Chris Toshok <[email protected]>
* ExpressionBuilderCollection.cs: track change to
	System.Configuration.ConfigurationPropertyOptions.


svn path=/trunk/mcs/; revision=50600
2005-09-23 18:00:56 +00:00
Gonzalo Paniagua Javier 99cd48aac1 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
* PagesConfiguration.cs: on error return a default instance instead
	of null.


svn path=/trunk/mcs/; revision=50565
2005-09-23 09:31:03 +00:00
Chris Toshok eddcb59431 2005-09-22 Chris Toshok <[email protected]>
* PositiveTimeSpanValidator.cs: move this from
	System.Configuration to here.


svn path=/trunk/mcs/; revision=50514
2005-09-22 17:08:12 +00:00
Sebastien Pouliot ce95d3e52e 2005-09-15 Sebastien Pouliot <[email protected]>
* 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
2005-09-15 21:09:19 +00:00
Sebastien Pouliot 5a49d77ce3 2005-08-24 Sebastien Pouliot <[email protected]>
* AdapterDictionary.cs: Added missing IDeserializationCallback.
	* AuthorizationRuleAction.cs: Fixed enum values.
	* BuildProvider.cs: Class is sealed. Removed empty constructor.
	* BuildProviderCollection.cs: Adapted to BuildProvider ctor changes.
	* CodeSubDirectory.cs: Added missing constructor.
	* CodeSubDirectoriesCollection.cs: Adapted to 
	CodeSubDirectoriesCollection ctor changes.
	* CustomErrorsMode.cs: Fixed enum values.
	* FormsAuthenticationConfiguration.cs: Class is sealed.
	* HttpCapabilitiesBase.cs: Added security permissions with Minimal 
	level for AspNetHostingPermission (both Link and Inheritance demands).
	* ProcessModelComAuthenticationLevel.cs: Fixed enum values.
	* ProcessModelComImpersonationLevel.cs: Fixed enum values.
	* ProcessModelLogLevel.cs: Fixed enum values.
	* WebApplicationLevel.cs: New enum for 2.0.


svn path=/trunk/mcs/; revision=49355
2005-09-02 15:48:41 +00:00
Gonzalo Paniagua Javier 0c1270f07e 2005-08-31 Gonzalo Paniagua Javier <[email protected]>
* 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
2005-08-31 04:25:34 +00:00
Gonzalo Paniagua Javier e867b56516 2005-08-30 Gonzalo Paniagua Javier <[email protected]>
* 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
2005-08-30 23:01:49 +00:00
Miguel de Icaza bb9f390ea1 Use partial classes so we can share the code despite the code moving
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
2005-08-30 22:35:31 +00:00
Gonzalo Paniagua Javier 681cc25234 2005-08-29 Gonzalo Paniagua Javier <[email protected]>
* 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
2005-08-29 12:44:21 +00:00
Miguel de Icaza 54079f764a Commit of changes to core files, on behalf of the team
svn path=/trunk/mcs/; revision=48944
2005-08-26 22:58:48 +00:00
Miguel de Icaza 831453f37a Add
svn path=/trunk/mcs/; revision=48931
2005-08-26 22:38:23 +00:00
Gonzalo Paniagua Javier 7873a0906d Add
svn path=/trunk/mcs/; revision=48930
2005-08-26 22:35:58 +00:00
Gonzalo Paniagua Javier 321cb7ad7b add
svn path=/trunk/mcs/; revision=48925
2005-08-26 22:31:07 +00:00
Miguel de Icaza d0f759d963 2005-07-27 Miguel de Icaza <[email protected]>
* SimpleWorkerRequestTest.cs: Do not use the "/tmp" directory as
	that makes the tests fail if we create a hosted
	SimpleWorkerRequest.

	Instead use the current directory, and before starting up, create
	a bin directory and copy the assembly there to allow us to create
	a host.

	Also, replicate the tests for when we are hosted in a new
	appdomain, as "MapPath" does work in this case.  When running
	SimpleWorkerRequest on the main domain MapPath always returns
	null. 

2005-07-12  Miguel de Icaza  <[email protected]>

	* UnitTest.cs: Update test suite.

2005-07-07  Miguel de Icaza  <[email protected]>

	* XmlTest.cs: Added test.  

2005-07-07  Miguel de Icaza  <[email protected]>

	* LabelTest.cs: Add test.

2005-07-06  Miguel de Icaza  <[email protected]>

	* FontUnitTest.cs: New unit tests.

	* UnitTest.cs: Add support for different cultures and the Decimal
	separator,
	
	* UnitTest.cs: Add tests for null and "" arguments to Parse and
	Unit(string) which produce IsEmpty units. 

	* UnitTest.cs: Fresh file with tests.

2005-07-30  Miguel de Icaza  <[email protected]>

	* OutputCacheModule.cs: Make synchronous.

2005-08-15  Miguel de Icaza  <[email protected]>

	* HttpApplication.cs: Update comments

	* HttpPostedFile.cs: Use a substream to read from the uploaded
	multiparts. 

	* HttpRequest.cs: use new code to read the uploaded files.

2005-08-12  Miguel de Icaza  <[email protected]>

	2.x API fixage and small additions:
	
	* HttpResponse.cs: Make constructor internal.

	* HttpRequest.cs (IsLocal): Expose if NET_2.x

	* HttpContext.cs: Remove internal routine.

	* HttpApplication.cs: Add 2.x events. 

	* HttpRequest.cs: Another iFolder issue: I was not setting up the
	uri_builder here.

	Fixes to get iFolder to work:
	
	* HttpApplicationFactory.cs: Set the context when we are initting
	the application.

	* HttpApplication.cs (SetContext): helper routine. 

	* HttpResponse.cs: Implement the various cache operations:n
	Expires, ExpiresAbsolute, CacheControl.

	Actually produce the Cache-Control header, the "Cache" property
	takes precedence over the compatibility settings (Expires,
	ExpiresAbsolutely and CacheControl). 

	* HttpCachePolicy.cs: Fix style.

	Fix the generation of the headers, use lower-case values, do not
	add the max-value if the value is zero.  

	Allow for all possible values in SetCacheability. 

	* HttpRuntime.cs (ClrInstallDirectory): Implement.

	* HttpResponseStream.cs: Remove debugging stuff. 

2005-08-11  Miguel de Icaza  <[email protected]>

	Big chunked handling rewrite, and integration of Ben's unmanaged
	output stream.

	* HttpWriter.cs: Delegate chunked encoding writing to the
	HttpResponse. 

	* HttpResponse.cs: Rework the chunked encoding system, centralize
	it all. 

	* HttpResponseStream.cs: Deploy Ben's bucket-base unmanaged
	buffers code. 

	Changed the way that we handle chunked encoding, centralize it
	all;  

	Remove a lot of manual handling of buffering turned off, and
	instead delegate it all to Flush, fixes several issues with the
	new framework.

	* HttpWorkerRequest.cs (SendResponseFromMemory (IntPtr, int)):
	Provide a default implementation since currently XSP does not have
	this method implemented. 

2005-08-10  Miguel de Icaza  <[email protected]>

	* ServerVariablesCollection.cs: For Ben.  Implement the header
	fetching here, do not implement it in HttpRequest.cs.

2005-08-09  Miguel de Icaza  <[email protected]>

	* HttpRuntime.cs (AspInstallDirectory): Implement.

2005-08-04  Miguel de Icaza  <[email protected]>

	* HttpApplicationFactory.cs: Change "Start" event like the "End"
	event, and only do this once, when we init the type.

	Fire the "Application_Start" event after we create the type.

2005-08-02  Miguel de Icaza  <[email protected]>

	* HttpResponse.cs: Stub for TransmitFile.

	* HttpRequest.cs (IsAuthenticated): Implement.

2005-08-01  Miguel de Icaza  <[email protected]>

	* HttpRequest.cs: Cope with implementations of HttpWorkerRequest
	(unpatched xsp) that do not send back the PreloadedEntityBody. 

	* HttpApplication.cs: keep track of the factory. 
	(Dispose): Only dispose once, clean up other variables, release
	the ManualResetEvent.
	Release the handler to the factory.

	* HttpApplicationFactory.cs: Implement a stack to reuse the
	applications. 

	* HttpRequest.cs: On uploads, if the ContentLenght is zero, throw
	a 411.

	* HttpRuntime.cs: Recycle the application after using it.

	* HttpPostedFile.cs: Implement SaveAs.

	* HttpContext.cs: Return the "Server" property.

2005-08-01  Miguel de Icaza  <[email protected]>

	* HttpRequest.cs (Cookies, Forms): Add validation.
	(Forms): Add application/x-www-form-urlencoded parsing and
	multipart/form-data parsing.
	
	(HttpMultiPart): Implement new class to load multi-part data from
	a stream since there is no longer a byte [] that holds the data
	(currently we have an unmanaged IntPtr buffer wrapped as a
	stream).  Also the 2.x framework will add support for large
	uploads which are sent directly to disk, which will require the
	FileStream interface. 
	
	(Path, PathInfo): Fill a couple more methods to avoid crashes.

	* HttpContext.cs: Fill another one to get web services summary
	page painting.  The page does not work though.
	
	* HttpApplication.cs: Rework the pipeline to not depend on
	`finally', as `finally' would not be invoked if we choose not to
	call the pipeline again (which happens if the `stop' variable is
	set). 

	Instead force the pipeline to go to the shutdown, and yield from
	there after all the release-state callbacks have been invoked. 

2005-07-31  Miguel de Icaza  <[email protected]>

	* HttpApplication.cs: Remove debugging messages since the compiler
	bug has been fixed.

	You must use at least mcs from revision 47879 for the application
	pipeline to work. 

2005-07-30  Miguel de Icaza  <[email protected]>

	* HttpContext.cs: Error handling methods.

	* HttpResponse.cs: Trigger the last event.

	* HttpRuntime.cs: Add queueing of the next request. 

	* HttpApplication.cs: Deploy the new yield-based application
	pipeline, add error handling to the pipeline.
	
	* HttpApplication.cs (AsyncRequestState): Just use the done event
	from the parent.

2005-07-29  Miguel de Icaza  <[email protected]>

	* HttpResponseStream.cs, HttpRequest.cs: Fix bugs found by nunit.

	* HttpApplication.cs: Fix a race condition. 

	* HttpResponseStream.cs: Fix bug, send the size of the buffer that
	we have so far instead of the internal size of the buffer.   This
	will need work later to ensure we enforce the Content-Length
	maximum output size if set.

	* ServerVariablesCollection.cs: This class now inherits from
	NameValueCollection, we should probably review what the middle
	class did, there are no dependencies on it.

	I need to write tests to investigate if something is missing or
	has changed in this implementation. 

2005-07-27  Miguel de Icaza  <[email protected]>

	* HttpRequest.cs: No happy replies here, send a 411.

2005-07-26  Miguel de Icaza  <[email protected]>

	* HttpResponse.cs: use_chunked is now a byte-array, if not null,
	we use it to hold the size of the chunked so we do not have to
	allocate many of these. 
	(SendSize): Helper routine to send the chunked headers.
	(BinaryWrite): First user of the chunked writer.

	* HttpApplication.cs: Do not crash if they request a Server
	instance, but throw a NotImplementedException.

	* HttpRequest.cs: fix a few problems exposed by the regression
	test suite.

	* HttpRequest.cs (Cookies): use Chris' new constructor to get the
	cookies parsed.

	: The big Uri rework: instead of using QueryString
	as the population mechanism, populate an UriBuilder from the
	various HttpWorkerRequest methods.

	* HttpWorkerRequest.cs (GetProtocol): Implement in terms of
	IsSecure().

	* HttpResponse.cs: Pointed by Ben, Write (null) is a nop instead
	of a crash.

	* HttpContext.cs: Add a couple of properties to help the 2.x
	build.
	
	* HttpResponse.cs: Make ContentLength a long, add back support for
	session's app_path_mod.
	(ApplyAppPathmodifier): put back.
	(End): Pass a flag to abort so we can tell the exceptions appart
	in HttpApplication.
	(WriteHeaders): Send the HTTP status.
	(Redirect): Implement.
	(Write): Use the Output property to load writer when needed.
	
	* HttpRequest.cs (ctor): Temporary use of InitFromWR, will fix
	later. 
	(MakeInputStream): check content-length size, use routines to load
	the preloaded data, handle incomplete transfers.
	(Query): Do not insert null keys into the collection.
	(Url): implement.
	(UrlReferer): implement.

	* HttpApplication.cs (RunHooks): Catch Thread.Abort, and call
	Thread.ResetAbort after each step.

	Ensure that ReleaseState is called if we ever succeed in acquiring
	the state even if we have stopped the request pipeline.

	Report file not found, directory not found.

2005-07-25  Miguel de Icaza  <[email protected]>

	* HttpCookieCollection.cs: Add expiration of the cookie. 

	* HttpRequest.cs: Add check for ContentLength, use
	GetPreloadedEntityBody, correct number of bytes uploaded.

2005-07-21  Miguel de Icaza  <[email protected]>

	* HttpResponseHeader.cs: Our implementation of HttpResponse only
	uses the text headers, does not use any constants as XSP would go
	through a slower code path anyways.

2005-07-20  Miguel de Icaza  <[email protected]>

	* HttpApplication.cs: Ongoing work on pipeline, I will need to
	redo this later.

2005-07-19  Miguel de Icaza  <[email protected]>

	* HttpContext.cs (GetService): Implement.  Return all of the
	properties that we have access to.  Make HttpWorkerRequest the
	first match as this is the only likely reason people need to use
	this. 

	* IntPtrStream.cs: Bring from corlib.

	* MultiPartContentParser.cs: use a MemoryStream as HttpInputStream
	will now be using IntPtrStream. 

	* HttpRequest.cs (MakeInputStream): move code that loads the
	request here
	(CloseInputStream): Helper method that we will call later to
	ensure that we dispose properly the malloced() block. 
	(BinaryRead): Implemented.

	* HttpInputStream.cs: Rewrite to be a descendant of
	IntPtrStream.cs 

2005-07-18  Miguel de Icaza  <[email protected]>

	* HttpApplication.cs (Modules): Add modules support and
	AsyncResult.

2005-07-17  Miguel de Icaza  <[email protected]>

	* HttpRequest.cs (Headers, InputStream): implemented two more
	properties.

	* HttpInputStream.cs: All we need is a MemoryStream with writable
	set to false.

	* HttpPostedFile.cs: Use a Stream.

2005-07-15  Miguel de Icaza  <[email protected]>

	* HttpRequest.cs: 

2005-07-14  Miguel de Icaza  <[email protected]>

	* HttpRuntime.cs: Return a few of the values from the AppDomain
	data. 

	Put the application shutdown process.

	* HttpApplicationFactory.cs (AddEvent): Fixed bug when more than
	one method existed.
	
	(FireEvent): Do not ignore errors.

	* HttpContext.cs (GetAppConfig, GetConfig): First success, use
	ConfigurationSettings.GetConfig to get the value that QueueManager
	needed.

2005-07-13  Miguel de Icaza  <[email protected]>

	* HttpRequest.cs: More work on this file

	* HttpRequest.cs, HttpApplication.cs, HttpContext.cs,
	HttpRuntime.cs: New from scratch implementation.

2005-08-25  Miguel de Icaza  <[email protected]>

	* HtmlHead.cs: Implement constructor, pass the tag.

2005-07-26  Miguel de Icaza  <[email protected]>

	* HtmlForm.cs: It is possible to have keys with no values in the
	query string, do not try to process those on the foreach loop.
	
	The question is: what should happen if I only get the key?

	Example: file_with_a_form.aspx?a

2005-07-09  Miguel de Icaza  <[email protected]>

	* DataBindingHandlerAttribute.cs: Create the "Default" property.

2005-07-07  Miguel de Icaza  <[email protected]>

	* HtmlTextWriter.cs: Return the stuff in lowercase to pass the
	tests. 

	* StateBag.cs: Add NET_2_0 SetDirty method to get the build
	going. 

2005-08-15  Miguel de Icaza  <[email protected]>

	* SessionStateModule.cs: Make this use the synch api as the module
	was synchronous anyways

2005-07-25  Miguel de Icaza  <[email protected]>

	* FormsAuthentication.cs (SignOut): Force the cookie to have it
	expire in the past.

2005-07-26  Miguel de Icaza  <[email protected]>

	* Style.cs: Temporary methods to help buliding .NET 2.x

2005-07-12  Miguel de Icaza  <[email protected]>

	* Unit.cs: If the units are pixels, then truncate the value. 

2005-07-07  Miguel de Icaza  <[email protected]>

	* Xml.cs: New implementation.  R00lz.

2005-07-07  Miguel de Icaza  <[email protected]>

	* Unit.cs: Add TypeConverter, so that web_panel.aspx works again.

	* UnitConverter.cs: Add new file, learned from the
	System.Drawing.ColorConverter.

2005-07-06  Miguel de Icaza  <[email protected]>

	* FontUnit.cs: New file.

	* Unit.cs: New file. 

	Added support for null and empty string constructors.

2005-07-05  Miguel de Icaza  <[email protected]>

	* Label.cs: First control.

2005-08-09  Miguel de Icaza  <[email protected]>

	* WebServiceCompiler.cs: Use the new DynamicDir method.

	* BaseCompiler.cs: Use the DynamicBase property as a hint, but
	since this value is null most of the time, compute the real value.

	Added Bonus: if the directory has some kind of permission problem,
	try a different directory name.

2005-07-13  Miguel de Icaza  <[email protected]>

	* AspGenerator.cs (AspGenerator.CheckLanguage): Use
	BaseParser.Context for the context. 

svn path=/trunk/mcs/; revision=48918
2005-08-26 22:25:10 +00:00