Commit Graph
11 Commits
Author SHA1 Message Date
Marek Habersack 85db63d06f 2010-02-18 Marek Habersack <[email protected]>
* HostingEnvironment.cs: removed SetHostingId and added internal
	setters to the SiteName and IsHosted properties.

	* ApplicationManager.cs: CreateHost doesn't have to call set
	HostingEnvironment.IsHosted, it is done in
	ApplicationHost.CreateApplicationHost.

	* ApplicationHost.cs: set the ".appId" item in the new appdomain's
	data, so that HttpRuntime.AppDomainAppId returns a non-null
	value.
	Set HostingEnvironment.{IsHosted, SiteName} in the new appdomain
	instead of the original one.

	All of the above fix bug #578880

2010-02-18  Marek Habersack  <[email protected]>

	* HostingEnvironmentTest.cs: added a test for HostEnvironment
	property values both in hosted and non-hosted environments. Patch
	contributed by Tiaan Geldenhuys <[email protected]>, thanks!

svn path=/trunk/mcs/; revision=151983
2010-02-18 13:29:56 +00:00
Marek Habersack 7804364216 2010-01-14 Marek Habersack <[email protected]>
* Helpers.cs, ITestCase.cs, ITestRunner.cs, StandaloneTest.cs,
	TestCallback.cs, TestCaseAttribute.cs,
	TestCaseFailureException.cs, TestRunItem.cs, TestRunner.cs,
	TestWorkerRequest.cs: added

2010-01-14  Marek Habersack  <[email protected]>

	* System.Web_standalone_test.dll.sources,
	standalone-runner-support.dll.sources: added

	* Makefile: Added targets to build and run standalone tests.
	Added standalone tests and test tools to EXTRA_DISTFILES

2010-01-14  Marek Habersack  <[email protected]>

	* Consts.cs.in, Locations.cs: added

2010-01-14  Marek Habersack  <[email protected]>

	* standalone-runner.cs: added

	* Makefile: added build targets for standalone-runner.exe

2010-01-14  Marek Habersack  <[email protected]>

	* NunitWebTest.cs: added new overload of GetControlFromPageHtml
	which takes begin and end markers as parameters.

2010-01-14  Marek Habersack  <[email protected]>

	* ApplicationManager.cs: implemented a missing CreateObject
	overload

2010-01-14  Marek Habersack  <[email protected]>

	* executable.make, library.make, rules.make: quote file name
	wherever referenced in dist* targets, so that files with spaces in
	name work fine.

svn path=/trunk/mcs/; revision=149522
2010-01-14 01:15:01 +00:00
Marek Habersack 9a0870f6a1 Hush compilation warnings
svn path=/trunk/mcs/; revision=135050
2009-05-29 07:48:14 +00:00
Marek Habersack ef9c9e51ce Do not abuse the 'private' keyword
svn path=/trunk/mcs/; revision=116539
2008-10-20 17:37:54 +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
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
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 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
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 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