Commit Graph
11 Commits
Author SHA1 Message Date
Marek Habersack 85153dad0d Unbreak System.Web tests in the 4.5 profile 2011-10-17 00:21:48 +02:00
Marek Habersack 3c944e50eb 2010-04-29 Marek Habersack <[email protected]>
* AppResourcesAssemblyBuilder.cs: when running on windows,
	SetAlPath must return al.exe path with a trailing space, or
	otherwise the process won't start. Fixes bug #600691

svn path=/trunk/mcs/; revision=156382
2010-04-29 00:33:44 +00:00
Marek Habersack e105f08673 2010-03-04 Marek Habersack <[email protected]>
* BuildManager.cs: do less work in the static constructor

2010-03-04  Marek Habersack  <[email protected]>

	* RuntimeHelpers.cs: added. Contains methods moved here from
	HttpRuntime, so that initialization sequence of various objects is
	independent of HttpRuntime.

2010-03-04  Marek Habersack  <[email protected]>

	* HttpRuntime.cs: do less work in the static constructor. Most of
	the code was moved to System.Web.Util.RuntimeHelpers. Properties
	which have been moved: MonoVersion, RunningOnWindows,
	CaseInsensitive, IsDebuggingEnabled

Also:
	- hushed some compiler warnings
	- various classes now use RuntimeHelpers instead of HttpRuntime

svn path=/trunk/mcs/; revision=153038
2010-03-04 19:04:13 +00:00
Marek Habersack b40844116b More 1.1 code and NET_2_0 ifdefs removed
svn path=/trunk/mcs/; revision=145319
2009-11-03 20:19:37 +00:00
Marek Habersack ec7cd3f1c9 2009-11-03 Marek Habersack <[email protected]>
* Assembly.cs: GetSatelliteAssembly must catch
	AppDomain.LoadSatellite FileNotFoundException and attempt to load
	satellites from subdirectories of current assembly's
	directory. Fixes bug #548768

2009-11-03  Marek Habersack  <[email protected]>

	* AppResourcesCompiler.cs: put default culture resources in a
	separate collection, exposed by the DefaultCultureFiles property.

	* AppResourcesAssemblyBuilder.cs: compile the default assembly
	before the satellite ones. Use the default assembly as template
	for generation of the satellite ones.

svn path=/trunk/mcs/; revision=145280
2009-11-03 12:13:08 +00:00
Marek Habersack 21d1cf5593 2009-07-18 Marek Habersack <[email protected]>
* HttpContext.cs: GetGlobalResourceObject must look for resources
	in the 'Resources' "namespace" - it was a regression from the
	previous change to that method.

2009-07-18  Marek Habersack  <[email protected]>

	* DefaultResourceProvider.cs: if GetResourceObject is passed a
	null or empty classKey it just returns null.

	* AppResourcesAssemblyBuilder.cs: satellite assemblies are now
	built using al instead of gmcs - makes the build slightly faster.

svn path=/trunk/mcs/; revision=138177
2009-07-18 13:04:56 +00:00
Gonzalo Paniagua Javier e63f092be1 2009-02-28 Gonzalo Paniagua Javier <[email protected]>
* AppResourcesAssemblyBuilder.cs:
	* BuildManagerDirectoryBuilder.cs:
	* AspComponentFoundry.cs:
	* AssemblyBuilder.cs:
	* CachingCompiler.cs:
	* AspGenerator.cs:
	* WsdlBuildProvider.cs:
	* BaseCompiler.cs:
	* BuildProvider.cs:
	* AppWebReferencesCompiler.cs:
	* TemplateControlCompiler.cs:
	* BuildManager.cs:
	* AppCodeCompiler.cs: settings that have to be in
	machine.config or the root level web.config now call
	GetWebApplicationSection.


svn path=/trunk/mcs/; revision=128275
2009-02-28 20:30:31 +00:00
Marek Habersack ce2061c8ef 2008-02-06 Marek Habersack <[email protected]>
* GenericBuildProvider.cs: GetGeneratedType may return a type even
	though the results are null.

	* AssemblyBuilder.cs: if there are no units and no source files,
	do not attempt to compile the assembly.

	* AppResourcesAssemblyBuilder.cs, AppCodeCompiler.cs: expect that
	BuildAssembly may return null results.

	* BuildManager.cs: If AssemblyBuilder returns no results from BuildAssembly, it might
	mean we're dealing with a compilation of empty .as[hm]x files,
	with no code and only code-behind in bin/. Do not report an error
	in that case, only add the compiled types to the cache. Fixes bug
	#357624.

svn path=/trunk/mcs/; revision=95028
2008-02-06 15:04:00 +00:00
Marek Habersack 4ce3af2b1f 2007-12-13 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs, AspComponentFoundry.cs,
	AssemblyBuilder.cs, AppResourcesCompiler.cs,
	AppResourcesAssemblyBuilder.cs, AppCodeCompiler.cs: speed
	optimization - use String.Concat instead of String.Format in some
	cases.
2007-12-13  Marek Habersack  <[email protected]>

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

	* HttpRequest.cs, HttpResponse.cs, SiteMapNode.cs, HttpRuntime.cs,
	HttpResponseStream.cs, HttpApplication.cs, HttpCachePolicy.cs:
	speed optimization - use String.Concat instead of String.Format in
	some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* FileMatchingInfo.cs. MachineKeyRegistryStorage.cs: speed
	optimization - use String.Concat instead of String.Format in some
	cases.

svn path=/trunk/mcs/; revision=91234
2007-12-13 15:38:53 +00:00
Marek Habersack 728e797345 2007-10-23 Marek Habersack <[email protected]>
* AppResourcesAssemblyBuilder.cs: do not output preservation files
	for satellite assemblies, just for the main assembly. Also, don't
	add the satellite assemblies to the list of top-level assemblies.

svn path=/trunk/mcs/; revision=87964
2007-10-23 09:47:21 +00:00
Marek Habersack 28be7561f9 2007-10-01 Marek Habersack <[email protected]>
* AppResourcesCompiler.cs: resources are no longer compiled into a
	single assembly. Instead, the common assembly construction code
	has been moved to AppResourcesAssemblyBuilder to use satellite
	assemblies.

	* AppResourcesAssemblyBuilder.cs: new resource assembly
	construction code which takes care of outputting satellite
	assemblies.

svn path=/trunk/mcs/; revision=86697
2007-10-01 12:30:36 +00:00