Commit Graph
49 Commits
Author SHA1 Message Date
Marek Habersack c102aaa08b Revert 100737, it's not needed anymore.
svn path=/trunk/mcs/; revision=100756
2008-04-15 18:57:20 +00:00
Marek Habersack aa49e1ebc6 2008-04-15 Marek Habersack <[email protected]>
* ApplicationHostTest.cs: test update for the PrivateBinPath
	change in ApplicationHost (a work-around for an IOMAP bug).

2008-04-15  Marek Habersack  <[email protected]>

	* ApplicationHost.cs: restore Bin;bin to PrivateBinPath, as a
	work-around for an IOMAP bug. Fixes bugs #379890 and #379888

svn path=/trunk/mcs/; revision=100737
2008-04-15 15:53:34 +00:00
Marek Habersack 94dc72ad1d 2008-03-13 Marek Habersack <[email protected]>
* ApplicationHostTest.cs: adjust test for the PrivateBinPath
	change in ApplicationHost.
2008-03-13  Marek Habersack  <[email protected]>

	* HttpApplicationFactory.cs: use HttpApplication.BinDirs to
	create watchers for binary application directories.

	* HttpApplication.cs: 
	Remove the BinDirectories enumerator property, replaced with a
	BinDirectory one returning a string with path to the binary
	directory.
2008-03-13  Marek Habersack  <[email protected]>

	* ApplicationHost.cs: use HttpRuntime.CaseInsensitive when
	checking whether we're running in a case-insensitive environment.
	Revert to the single-bin-dir behavior when setting the
	PrivateBinPath - the directories are sought for in the order given
	by HttpApplication.BinDirs and the first existing directory is set
	as the value of PrivateBinPath. If none of those are found,
	PrivateBinPath defaults to "bin" (and "/app/full/path/bin" in the
	2.0 profile)
2008-03-13  Marek Habersack  <[email protected]>

	* TemplateParser.cs: HttpApplication.BinaryDirectories property no longer
	exists, use HttpApplication.BinDirectory instead.

svn path=/trunk/mcs/; revision=98211
2008-03-13 21:30:12 +00:00
Marek Habersack 58254fd034 2008-03-13 Marek Habersack <[email protected]>
* HttpApplication.cs: use HttpRuntime.CaseInsensitive instead of
	own IsRunningOnWindows.

	* HttpRuntime.cs: introduce two static properties -
	CaseInsensitive (set to true whenever the environment is
	case-insensitive - i.e. MONO_IOMAP="all" or MONO_IOMAP="case", or
	running on Windows) and RunningOnWindows.
2008-03-13  Marek Habersack  <[email protected]>

	* BuildManager.cs: if we're running in a case-insensitive
	environment, use case-insensitive comparer for the build caches
2008-03-13  Marek Habersack  <[email protected]>

	* ApplicationHost.cs: use HttpRuntime.CaseInsensitive when
	checking whether we're running in a case-insensitive environment.

svn path=/trunk/mcs/; revision=98199
2008-03-13 19:45:52 +00:00
Marek Habersack 1bbbe7488a 2008-01-06 Marek Habersack <[email protected]>
* ApplicationHost.cs: make sure that application with virtualDir
	"/a" and physicalDir "/b" and the other way around get different
	domain_id values

svn path=/trunk/mcs/; revision=92323
2008-01-06 00:13:28 +00:00
Marek Habersack 3476c409c3 2007-12-13 Marek Habersack <[email protected]>
* ClientScriptManager.cs, MasterPageParser.cs, Control.cs,
	Page.cs: speed optimization - use String.Concat instead of
	String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* Menu.cs, TreeView.cs: optimize use of String.Format in
	OnPreRender.
	Speed optimization - use String.Concat instead of String.Format in
	some cases.

	* GridView.cs, DetailsView.cs: optimize use of String.Format in
	OnPreRender.

	* CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
	WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
	ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
	optimization - use String.Concat instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* AssemblyResourceLoader.cs: speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* SessionId.cs: 
	speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* SqlProfileProvider.cs, ProfileParser.cs: speed optimization -
	use String.Concat instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* ApplicationManager.cs, ApplicationHost.cs,
	DefaultVirtualPathProvider.cs: speed optimization - use
	String.Concat instead of String.Format in some cases.

svn path=/trunk/mcs/; revision=91230
2007-12-13 13:50:10 +00:00
Gert Driesen c715ca2050 * ApplicationHost.cs: On 2.0, also make PrivateBinPath an absolute
paths on Windows (and on systems using MONO_IOMAP).

svn path=/trunk/mcs/; revision=88774
2007-11-03 08:18:57 +00:00
Marek Habersack 33ee579205 2007-11-03 Marek Habersack <[email protected]>
* ApplicationHostTest.cs: adjust ConstructorTest for
	AppDomainSetup.PrivateBinPath changes.
2007-11-03  Marek Habersack  <[email protected]>

	* ApplicationHost.cs: AppDomainSetup.PrivateBinPath is a list of
	full paths on 2.0.
2007-11-03  Marek Habersack  <[email protected]>

	* HttpApplication.cs: removed unused internal PrivateBinPath
	property.

	* HttpRuntime.cs: BinDirectory returns a path that ends with the
	directory separator character.


svn path=/trunk/mcs/; revision=88756
2007-11-02 23:02:36 +00:00
Marek Habersack 6e7cd7857f 2007-10-24 Marek Habersack <[email protected]>
* ApplicationHost.cs: ignore exceptions resulting from the attempt
	to delete a stamp directory in CreateApplicationHost. It is safe
	to do so, since the code inside the loop serves the only purpose
	to create the asp.net temporary directory if the filesystem
	permissions allow it. If the directory has been deleted by some
	other thread, that's ok.

svn path=/trunk/mcs/; revision=88045
2007-10-23 22:39:33 +00:00
Marek Habersack f3a1e77fcc 2007-10-17 Marek Habersack <[email protected]>
* 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
2007-10-16 22:34:48 +00:00
Marek Habersack bbea67463d 2007-08-24 Marek Habersack <[email protected]>
* ApplicationHostTest.cs: use ; as the separator in the
            PrivateBinPath test.

2007-08-24  Marek Habersack  <[email protected]>

            * ApplicationHost.cs: use ; as the separator with PrivateBinPath.


svn path=/trunk/mcs/; revision=84766
2007-08-23 23:27:16 +00:00
Marek Habersack dd5ce5833e 2007-08-23 Marek Habersack <[email protected]>
* 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
2007-08-23 10:30:37 +00:00
Marek Habersack fcc675453f 2007-08-21 Marek Habersack <[email protected]>
* 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
2007-08-21 21:13:54 +00:00
Marek Habersack c189562815 2007-07-21 Marek Habersack <[email protected]>
* HttpRuntime.cs: clean up the dynamic base directory on domain
	shutdown.
2007-07-21  Marek Habersack  <[email protected]>

	* ApplicationHost.cs: ClearDynamicBaseDirectory becomes an
	internal method.

svn path=/trunk/mcs/; revision=82403
2007-07-21 00:26:17 +00:00
Igor Zelmanovich c9d826eede 2007-05-09 Igor Zelmanovich <[email protected]>
* ApplicationHost.cs:
	added MonoNotSupported attribute for TARGATE_JVM.	

	* PassportIdentity.cs:
	added MonoNotSupported attribute.	

svn path=/trunk/mcs/; revision=77015
2007-05-09 14:02:14 +00:00
Marek Habersack 9d40d6c7ae 2007-04-13 Marek Habersack <[email protected]>
* ApplicationHost.cs: clear the dynamic base directory before
	creating the host. Fixes bug #80635

svn path=/trunk/mcs/; revision=75675
2007-04-13 10:27:51 +00:00
Marek Habersack 8988cd1a3e 2007-04-05 Marek Habersack <[email protected]>
* ApplicationHost.cs: make ApplicationName/domain id really
	unique.

svn path=/trunk/mcs/; revision=75424
2007-04-05 11:23:18 +00:00
Marek Habersack c9a517cc8a Implement support for Bin directory
svn path=/trunk/mcs/; revision=73249
2007-02-21 12:39:08 +00:00
Marek Habersack 685a386499 Use a deterministic application name
svn path=/trunk/mcs/; revision=73125
2007-02-19 17:54:53 +00:00
Marek Habersack 770a025248 Revert accidental commit - this change is not accepted yet
svn path=/trunk/mcs/; revision=73016
2007-02-16 14:25:48 +00:00
Marek Habersack 6ad6d72642 Fix culture problems of the control compiler System.Web.Compilation/ChangeLog System.Web.Compilation/TemplateControlCompiler.cs
svn path=/trunk/mcs/; revision=73015
2007-02-16 14:23:07 +00:00
Marek Habersack 989bd7e315 support DataDirectory in domain data
svn path=/trunk/mcs/; revision=72044
2007-01-31 18:34:01 +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
Adar Wesley 219af22475 2007-01-17 Adar Wesley <[email protected]>
* ApplicationHost.cs: tweaking CreateApplicationHost to throw the
        right exceptions so the tests will pass.


svn path=/trunk/mcs/; revision=71179
2007-01-17 10:14:27 +00:00
Adar Wesley 1a80f47a37 2007-01-11 Adar Wesley <[email protected]>
* ApplicationHost.cs: fixed AppDomain initialization of physical
        path to be in file system semantics


svn path=/trunk/mcs/; revision=70839
2007-01-11 09:22:22 +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
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 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
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 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
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
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
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Gonzalo Paniagua Javier 11a9575dee Undo workaround. Zoltan fixed it.
svn path=/trunk/mcs/; revision=17744
2003-08-30 14:54:47 +00:00
Gonzalo Paniagua Javier c55bb99236 console
svn path=/trunk/mcs/; revision=17734
2003-08-30 02:18:03 +00:00
Gonzalo Paniagua Javier 948a55921a 2003-08-30 Gonzalo Paniagua Javier <[email protected]>
* ApplicationHost.cs: workaround for bug #48050.

svn path=/trunk/mcs/; revision=17733
2003-08-30 02:13:39 +00:00
Gonzalo Paniagua Javier e3abb2442d 2003-08-29 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: added ICalls.cs.
	* System.Web.Hosting/ApplicationHost.cs: set hostingInstallDir.
	* System.Web.Hosting/SimpleWorkerRequest.cs: implemented a couple of
	properties.

svn path=/trunk/mcs/; revision=17719
2003-08-29 04:48:42 +00:00
Gonzalo Paniagua Javier 5005bcfc48 2003-02-17 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplicationFactory.cs: Global.asax takes precedence
	over global.asax if it exists.

	* System.Web/HttpRequest.cs: use allowCrossAppMapping in MapPath.

	* System.Web.Hosting/AppDomainFactory.cs: Web.config takes precedence
	over web.config.

	* System.Web.Hosting/ApplicationHost.cs: removed hacks to work around
	an old bug.

svn path=/trunk/mcs/; revision=11649
2003-02-17 20:54:24 +00:00
Gonzalo Paniagua Javier ee5cee70b6 2002-09-26 Gonzalo Paniagua Javier <[email protected]>
* ApplicationHost.cs:
	* SimpleWorkerRequest.cs: workaround for bug #31245.

svn path=/trunk/mcs/; revision=7838
2002-09-26 18:01:06 +00:00
Gonzalo Paniagua Javier e4e5331199 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* ApplicationHost.cs: little fixes.

svn path=/trunk/mcs/; revision=7058
2002-08-26 19:45:11 +00:00
Gonzalo Paniagua Javier 8265c6441f 2002-08-20 Gonzalo Paniagua Javier <[email protected]>
* ApplicationHost.cs: use Assembly instead of Module.

svn path=/trunk/mcs/; revision=6783
2002-08-20 03:12:36 +00:00
Gonzalo Paniagua Javier 8f0e2b6836 2002-08-05 Gonzalo Paniagua Javier <[email protected]>
* AppDomainFactory.cs: implemented.
	* ApplicationHost.cs: implemented.
	* SimpleWorkerRequest.cs: a few little fixes and reformatted. It's now
	fully implemented.

svn path=/trunk/mcs/; revision=6429
2002-08-05 15:33:59 +00:00
Patrik Torstensson 44f6e8a331 2002-04-10 Patrik Torstensson <[email protected]>
* ApplicationHost.cs: Test implementation to support testing.
        * SimpleWorkerRequest.cs: Rewrite and a almost full implementation.

svn path=/trunk/mcs/; revision=3733
2002-04-10 08:42:30 +00:00
Bob Smith c6154f2470 More implementation/stubbing.
svn path=/trunk/mcs/; revision=686
2001-08-30 20:41:15 +00:00