Commit Graph
78 Commits
Author SHA1 Message Date
Konstantin Triger c6b042708a move J2EE hosting to Mainsoft.Web
svn path=/trunk/mcs/; revision=70131
2006-12-27 16:29:05 +00:00
Marek Habersack ecd1522dce two methods implemented
svn path=/trunk/mcs/; revision=69921
2006-12-22 01:20:34 +00:00
Igor Zelmanovich 8ae1ec6671 2006-12-19 Igor Zelmanovich <[email protected]>
* ServletWorkerRequest.cs: fixed:
	Path.Combine is used in GetFilePathTranslated to consider 
	platform-depended PathSeparator char.


svn path=/trunk/mcs/; revision=69732
2006-12-19 12:22:19 +00:00
Vladimir Krasnov 492d74e3f6 * ServletWorkerRequest.jvm.cs: fixed request uri unescaping in ServletWorkerRequest ctor
svn path=/trunk/mcs/; revision=69189
2006-12-07 16:36:02 +00:00
Konstantin Triger 1662465cbb Ensure path info is never null
svn path=/trunk/mcs/; revision=69050
2006-12-05 16:27:05 +00:00
Miguel de Icaza 8616a7e405 2006-11-28 Miguel de Icaza <[email protected]>
* Rationalize the user of MonoTODOs.  

		- Removed all the TODOs that were only overwritten methods
		and had no further information.

		- Methods that threw exceptions now have the message "Not
		implemnted".

		- Methods that return some constant are declared like
		that.

		- Removed a bunch of stale MonoTODOs that had not been
		removed. 


svn path=/trunk/mcs/; revision=68620
2006-11-28 22:15:23 +00:00
Miguel de Icaza 870451e6b9 2006-11-24 Miguel de Icaza <[email protected]>
* ApplicationHost.cs: In 2.0, as Todd reports the default is
	"Web.Config", try that before we tell people to use MONO_IOMAP=all ;-)

svn path=/trunk/mcs/; revision=68447
2006-11-25 00:53:38 +00:00
Gonzalo Paniagua Javier fc26b10de7 2006-11-07 Gonzalo Paniagua Javier <[email protected]>
* ApplicationHost.cs: the new Directory code throws if the directory
	exists, so handle that as gracefully as possible.


svn path=/trunk/mcs/; revision=67460
2006-11-07 15:30:23 +00:00
Konstantin Triger 2d108bb535 fix default page resolution
svn path=/trunk/mcs/; revision=64248
2006-08-23 13:48:46 +00:00
Gonzalo Paniagua Javier 1a310ca05e 2006-08-10 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Hosting/BareApplicationHost.cs:
	* System.Web.Hosting/ApplicationManager.cs: remove unloaded domains.

	* System.Web.Compilation/ClientBuildManager.cs: handle domain shutdown
	and unload. Implemented some properties. Commented.


svn path=/trunk/mcs/; revision=63627
2006-08-10 22:06:30 +00:00
Gonzalo Paniagua Javier 213a3e34f8 2006-03-23 Gonzalo Paniagua Javier <[email protected]>
* SimpleWorkerRequest.cs: use UrlUtils instead of Path. Several fixes
	to make PathInfo + SimpleWorkerRequest work as in MS.


svn path=/trunk/mcs/; revision=58395
2006-03-23 22:17:26 +00:00
Vladimir Krasnov e8e59bb8cb * ServletWorkerRequest.jvm.cs: fixed ctor, UrlDecode applied on requested url
fixed GetRawUrl, removed protocol, hostname and port
fixed GetUriPath, _requestUri is always initialized

svn path=/trunk/mcs/; revision=58013
2006-03-15 13:15:29 +00:00
Gonzalo Paniagua Javier 81c2c05212 2006-03-03 Gonzalo Paniagua Javier <[email protected]>
* ApplicationHost.cs: ShadowCopyDirectories is not a URL. Set
	PrivateBinPath to the same value.


svn path=/trunk/mcs/; revision=57563
2006-03-04 00:01:39 +00:00
Gonzalo Paniagua Javier 115c33bc9b 2006-03-01 Gonzalo Paniagua Javier <[email protected]>
* BareApplicationHost.cs: initialize paths from AppDomain data. New
	GetCodeGenDir().
	* ApplicationHost.cs: in 2.0 the physical path is turned into an
	absolute path.


svn path=/trunk/mcs/; revision=57483
2006-03-01 20:31:33 +00:00
Gonzalo Paniagua Javier 29989ee940 2006-02-28 Gonzalo Paniagua Javier <[email protected]>
* ApplicationManager.cs: new internal method to create/reuse a
	BareApplicationHost from ClientBuildManager.


svn path=/trunk/mcs/; revision=57452
2006-03-01 00:02:03 +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 03c2339635 2006-02-28 Gonzalo Paniagua Javier <[email protected]>
* ApplicationManager.cs: implemented ShutdownAll().
	* HostingEnvironment.cs: remove MonoTODO.


svn path=/trunk/mcs/; revision=57406
2006-02-28 17:30:03 +00:00
Gonzalo Paniagua Javier fec2447c21 2006-02-22 Gonzalo Paniagua Javier <[email protected]>
* BareApplicationHost.cs: class used as an entry point into each
	application domiain from the ApplicationManager.
	* ApplicationManager.cs: implemented most of the remaining methods.
	* HostingEnvironment.cs: object handling methods are now implemented.


svn path=/trunk/mcs/; revision=57178
2006-02-22 21:28:13 +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
Gonzalo Paniagua Javier fa95307b08 2006-02-02 Gonzalo Paniagua Javier <[email protected]>
* HostingEnvironment.cs: MapPath is done.


svn path=/trunk/mcs/; revision=56498
2006-02-02 22:21:38 +00:00
Gonzalo Paniagua Javier f32bc54c72 2006-02-02 Gonzalo Paniagua Javier <[email protected]>
* DefaultVirtualDirectory.cs: implemented missing bits.
	* DefaultVirtualFile.cs: fix ctor scope.
	* DefaultVirtualPathProvider.cs: implemented GetFile and GetDirectory.


svn path=/trunk/mcs/; revision=56480
2006-02-02 18:20:47 +00:00
Gonzalo Paniagua Javier fbc96a6dfb 2006-02-01 Gonzalo Paniagua Javier <[email protected]>
* DefaultVirtualDirectory.cs:
	* DefaultVirtualPathProvider.cs:
	* VirtualFile.cs:
	* DefaultVirtualFile.cs: almost done with the default
	VirtualPathProvider which just maps to on-disk directories/files.


svn path=/trunk/mcs/; revision=56430
2006-02-02 01:01:42 +00:00
Gonzalo Paniagua Javier 2da2593498 2006-02-01 Gonzalo Paniagua Javier <[email protected]>
* SimpleWorkerRequest.cs: implemented RootWebConfigPath.
	* HostingEnvironment.cs: implemented RegisterVirtualPathProvider and
	a few other defaults.


svn path=/trunk/mcs/; revision=56412
2006-02-01 19:50:10 +00:00
Gonzalo Paniagua Javier 5d48ae0811 2006-01-30 Gonzalo Paniagua Javier <[email protected]>
* AppManagerAppDomainFactory.cs: stubbed out.


svn path=/trunk/mcs/; revision=56303
2006-01-31 00:18:42 +00:00
Gonzalo Paniagua Javier 60ab1884da 2006-01-30 Gonzalo Paniagua Javier <[email protected]>
* ApplicationInfo.cs:
	* ApplicationManager.cs: add 2 new classes.


svn path=/trunk/mcs/; revision=56300
2006-01-31 00:10:06 +00:00
Gonzalo Paniagua Javier 470d9252a8 2006-01-30 Gonzalo Paniagua Javier <[email protected]>
* VirtualPathProvider.cs: implemented OpenFile.
	* VirtualFile.cs: removed stuff cut&pasted from VirtualDirectory.

	* SimpleWorkerRequest.cs: 
	* HostingEnvironment.cs: class status fixes.


svn path=/trunk/mcs/; revision=56295
2006-01-30 22:32:30 +00:00
Gonzalo Paniagua Javier 242183f4d1 2006-01-30 Gonzalo Paniagua Javier <[email protected]>
* IProcessHostFactoryHelper.cs:
	* IProcessPingCallback.cs:
	* IProcessHost.cs:
	* IProcessHostSupportFunction.cs:
	* IHttpWorkerRequestHandler.cs:
	* IQueueHost.cs:
	* IApplicationHost.cs: removed all this. They are not longer part of the
	public API.


svn path=/trunk/mcs/; revision=56284
2006-01-30 20:54:36 +00:00
Gonzalo Paniagua Javier 6eb25c6ed2 2006-01-25 Gonzalo Paniagua Javier <[email protected]>
* VirtualDirectory.cs:
	* VirtualPathProvider.cs:
	* VirtualFileBase.cs:
	* VirtualFile.cs: implemented this base classes.

	* HostingEnvironment.cs: implemented a few properties by using the ones
	in HttpRuntime.


svn path=/trunk/mcs/; revision=56076
2006-01-25 22:01:59 +00:00
Konstantin Triger 9ea14f558c refactoring
svn path=/trunk/mcs/; revision=55990
2006-01-24 16:59:48 +00:00
Konstantin Triger a4c73cc8df convert .invoke requests to PathInfo, remove ToUpper usage
svn path=/trunk/mcs/; revision=55987
2006-01-24 15:30:14 +00:00
Konstantin Triger b154466f5e refactoring
svn path=/trunk/mcs/; revision=55790
2006-01-19 16:19:40 +00:00
Gonzalo Paniagua Javier 0421b55347 2005-11-28 Robert Jordan <[email protected]>
* SimpleWorkerRequest.cs: fixed MapPath () for the case
	app_virtual_dir.Length == 1 && path.Length == 1.
	* SimpleWorkerRequest.cs: implemented SendResponseFromMemory ().


svn path=/trunk/mcs/; revision=53597
2005-11-28 22:44:57 +00:00
Gonzalo Paniagua Javier e604838c9e 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
* ApplicationHost.cs: make this work with paths that that
	contain non-ASCII characters. Fixes bug #76807.


svn path=/trunk/mcs/; revision=53596
2005-11-28 22:37:29 +00:00
Chris Toshok 96c23b6a57 2005-11-02 Chris Toshok <[email protected]>
* HostingEnvironment.cs: completely NIE'ed implementation of
	HostingEnvironment, just to get an MS example provider to compile.


svn path=/trunk/mcs/; revision=52482
2005-11-02 17:09:50 +00:00
Gonzalo Paniagua Javier b6ac58729b 2005-11-01 Gonzalo Paniagua Javier <[email protected]>
* ApplicationHost.cs: use the AbsolutePath from the Uri to remove the
	schema prefix if present.


svn path=/trunk/mcs/; revision=52451
2005-11-01 17:18:55 +00:00
Gonzalo Paniagua Javier d09802508b 2005-09-27 Gonzalo Paniagua Javier <[email protected]>
* SimpleWorkerRequest.cs: all tests pass now.


svn path=/trunk/mcs/; revision=50826
2005-09-27 07:31:39 +00:00
Gonzalo Paniagua Javier 4e8e384760 2005-09-26 Gonzalo Paniagua Javier <[email protected]>
* ApplicationHost.cs: append a directory separator char to the physical
	path. Fixes bug #76187.


svn path=/trunk/mcs/; revision=50799
2005-09-26 20:58:14 +00:00
Gonzalo Paniagua Javier 5a181e61d3 2005-09-21 Gonzalo Paniagua Javier <[email protected]>
* SimpleWorkerRequest.cs: fix GetUriPath() for paths ending in '/'.


svn path=/trunk/mcs/; revision=50421
2005-09-21 22:02:23 +00:00
Sebastien Pouliot fce04f20db 2005-09-10 Sebastien Pouliot <[email protected]>
* AppDomainFactory.cs: Added LinkDemand for Minimal. Added Demand for
	UnmanagedCode on ctor. Added TODO on unimplemented method.
	* ApplicationHost.cs: Added LinkDemand for Minimal. Added Demand for 
	UnmanagedCode on ctor. Removed duplicate null checks.
	* ISAPIRuntime.cs: Fixed inheritance (added MarshalByRefObject and 
	IRegisteredObject) for 2.0. Added LinkDemand for Minimal. Added Demand 
	for UnmanagedCode on ctor.
	* SimpleWorkerRequest.cs: Added LinkDemand and InheritanceDemand (not
	sealed) for Minimal. Added Demands for UnmanagedCode on ctors. Added
	FileIOPermission for PathDiscovery before returning processed paths.


svn path=/trunk/mcs/; revision=49864
2005-09-10 14:12:33 +00:00
Gonzalo Paniagua Javier 61fa36db76 Create the DynamicBase directory here too
svn path=/trunk/mcs/; revision=49849
2005-09-10 04:50:57 +00:00
Gonzalo Paniagua Javier 406046118e 2005-09-10 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Hosting/ApplicationHost.cs:
	* System.Web.Compilation/BaseCompiler.cs: set the domain's DynamicBase
	property instead of guessing it in BaseCompiler.


svn path=/trunk/mcs/; revision=49847
2005-09-10 04:04:11 +00:00
Eyal Alalouf 041c37b990 Updated the date...
svn path=/trunk/mcs/; revision=49695
2005-09-08 12:58:45 +00:00
Eyal Alalouf 828e0f16be Fixes for Grasshopper runtime
svn path=/trunk/mcs/; revision=49694
2005-09-08 12:58:14 +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
Miguel de Icaza 4c004f75ed Remove
svn path=/trunk/mcs/; revision=48909
2005-08-26 20:38:24 +00:00
Eyal Alalouf 3f339ddc72 Making simple web app work with Grasshopper from svn.
svn path=/trunk/mcs/; revision=47608
2005-07-24 15:54:24 +00:00
Eyal Alalouf 1f70d33b5d Added servlet binding for the Grasshoper J2EE configuration.
svn path=/trunk/mcs/; revision=47392
2005-07-18 16:29:25 +00:00
Gonzalo Paniagua Javier 9926190732 2005-06-08 Gonzalo Paniagua Javier <[email protected]>
* IISAPIRuntime.cs: GUID changed.


svn path=/trunk/mcs/; revision=45618
2005-06-08 08:06:54 +00:00
Atsushi Eno b270952aec 2004-08-03 Atsushi Enomoto <[email protected]>
* IApplicationHost.cs : missing namespace import.

svn path=/trunk/mcs/; revision=31773
2004-08-03 03:52:57 +00:00
Duncan Mak 2d249597b6 (MapPath): Add [In] attribute.
svn path=/trunk/mcs/; revision=31770
2004-08-03 02:23:41 +00:00