Commit Graph
681 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier c4384c9209 2005-09-22 Gonzalo Paniagua Javier <[email protected]>
* CachingCompiler.cs: 
	* WebServiceCompiler.cs: when caching a type loaded from an assembly
	that we didn't compile, make it depend on the file itself, not on a
	non-existing cache key. This problem affected performance of web
	services and .ashx, making unnecessary extra calls to LoadFrom every
	time the cache was cleared.


svn path=/trunk/mcs/; revision=50542
2005-09-23 00:08:24 +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 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
Gonzalo Paniagua Javier 549563ff5e 2005-08-18 Gonzalo Paniagua Javier <[email protected]>
* WebServiceCompiler.cs: apply the same fix as in r45440 that fixed bug
	75146 for pages/controls.


svn path=/trunk/mcs/; revision=48521
2005-08-18 20:32:55 +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 8d1b41006b 2005-07-11 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlCompiler.cs: in these cases, we're only interested in
	public properties/fields, not protected.


svn path=/trunk/mcs/; revision=47189
2005-07-11 22:20:52 +00:00
Gonzalo Paniagua Javier f2071e23e9 2005-06-26 Gonzalo Paniagua Javier <[email protected]>
* TagAttributes.cs:
	* AspParser.cs:
	* TemplateControlCompiler.cs: use invariant culture versions of starts/
	endswith.


svn path=/trunk/mcs/; revision=46532
2005-06-27 01:23:02 +00:00
Gonzalo Paniagua Javier 8db75a99ce 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlCompiler.cs: comparison between member name and the
	first part of the id provided by the user should also be
	case-insensitive. Fixes bug #75379.


svn path=/trunk/mcs/; revision=46511
2005-06-26 03:35:01 +00:00
Gonzalo Paniagua Javier 4886fe7a8d 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
* CachingCompiler.cs: use cache.InsertPrivate.
	* AspGenerator.cs: use cache.InsertPrivate. Removed extra call to
	AddDependency.


svn path=/trunk/mcs/; revision=46508
2005-06-25 20:47:41 +00:00
Gonzalo Paniagua Javier 46a422a85a 2005-06-24 Gonzalo Paniagua Javier <[email protected]>
* CachingCompiler.cs: create the assemly in the DynamicBase directory,
	as all the others, when compiling an assembly from a Src file. Fixes
	bug #75371.


svn path=/trunk/mcs/; revision=46471
2005-06-24 08:03:03 +00:00
Gonzalo Paniagua Javier c0c90d0904 2005-06-15 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlCompiler.cs: if the property is not found, don't forget
	about trying the field.


svn path=/trunk/mcs/; revision=46022
2005-06-15 07:30:21 +00:00
Lluis Sanchez 2fee37b32b 2005-06-13 Lluis Sanchez Gual <[email protected]>
* Directive.cs: Register the MasterType directive.
	* PageCompiler.cs: If a MasterType is specified, add a type specific
	Master property. All this fixes bug #75192.


svn path=/trunk/mcs/; revision=45885
2005-06-13 16:55:35 +00:00
Gonzalo Paniagua Javier 37108a60c0 2005-06-11 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlCompiler.cs: when mapping an attribute name to a field
	or property name, there's no need to try with every property and field,
	but just the one found when searching by name (no case). There was one
	call to ProcessPropertiesAndFields per property or field until found,
	now only one if the property/field is found, none otherwise.


svn path=/trunk/mcs/; revision=45808
2005-06-11 21:17:03 +00:00
Gonzalo Paniagua Javier 0a8b8fb7d8 2005-06-11 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlCompiler.cs: allow more than 2 levels when looking for
	properties of fields for an attribute like "Prop1-Prop2-Prop3". Fixes
	bug #75234.


svn path=/trunk/mcs/; revision=45807
2005-06-11 20:34:59 +00:00
Gonzalo Paniagua Javier 456c1baf05 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
* BaseCompiler.cs: when the OutputAssembly is null, we can still have
	the assembly file there and be able to load it. Thanks to Rogerio and
	Mark.


svn path=/trunk/mcs/; revision=45440
2005-06-05 17:08:25 +00:00
Gonzalo Paniagua Javier 019afeb1c5 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
* AspParser.cs: InvariantCulture love.


svn path=/trunk/mcs/; revision=45419
2005-06-04 21:16:53 +00:00
Gonzalo Paniagua Javier 08ea665cd2 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs: added AddContentTemplate method.
	* System.Web.Compilation/TemplateControlCompiler.cs: use the Page
	AddContentTemplate method, as the one in Master is protected. Fixes
	bug #75157.


svn path=/trunk/mcs/; revision=45418
2005-06-04 21:15:30 +00:00
Gonzalo Paniagua Javier 2220fbdb70 2005-05-06 Gonzalo Paniagua Javier <[email protected]>
* AspComponentFoundry.cs: tagnames have precedence over types in
	assemblies when they use the same prefix. Fixes bug #71855.


svn path=/trunk/mcs/; revision=44172
2005-05-06 20:58:11 +00:00
Gonzalo Paniagua Javier 41c2a7a4c8 Couldn't help removing those extra ^M
svn path=/trunk/mcs/; revision=44162
2005-05-06 19:34:32 +00:00
Lluis Sanchez 6bc6c79218 2005-05-03 Lluis Sanchez Gual <[email protected]>
* WebServiceCompiler.cs: Create the temp directory before
	creating the web service source code file.


svn path=/trunk/mcs/; revision=43951
2005-05-03 17:16:22 +00:00
Gonzalo Paniagua Javier 8eb9c3d0f3 Use CultureInfo.DefaultInvariant instead of just the Default
svn path=/trunk/mcs/; revision=43643
2005-04-27 07:39:34 +00:00
Gonzalo Paniagua Javier 8569a7ab5c 2005-04-25 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Configuration/CompilerCollection.cs: added CompareLanguages
	method.
	* System.Web.Compilation/AspGenerator.cs: when checking languages, try
	to match other aliases too (ie, 'cs' == 'c#').


svn path=/trunk/mcs/; revision=43567
2005-04-26 00:05:03 +00:00
Gonzalo Paniagua Javier 197f824568 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Configuration/CompilationConfigurationHandler.cs: ensure
	TempDirectory is not empty before assigning it. Don't mangle the
	assembly names provided.

	* System.Web.Configuration/CompilationConfiguration.cs: use DynamicBase
	as the temp directory instead of Path.GetTempPath.

	* System.Web.UI/SimpleWebHandlerParser.cs:
	* System.Web.UI/TemplateParser.cs: always get the location (full path)
	for assemblies, even the ones from the GAC.

	* System.Web.Compilation/BaseCompiler.cs: check that DynamicBase
	directory exists before creating the TempFileCollection.

	The changes related to assembly names fix bug number #74500.


svn path=/trunk/mcs/; revision=43462
2005-04-22 20:34:00 +00:00
Gonzalo Paniagua Javier f3c44b507a tag
svn path=/trunk/mcs/; revision=43428
2005-04-22 04:14:13 +00:00
Gonzalo Paniagua Javier 0aae8c8982 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: use a stack for non-server tags even before getting
	to a form. Fixes bug #70274.


svn path=/trunk/mcs/; revision=43427
2005-04-22 03:58:41 +00:00
Gonzalo Paniagua Javier abbae4f914 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
* AspParser.cs: don't error out on ill formed tags if it's not a server
	tag (ie, allow something like '<table align="left cellpadding="0">' to
	work, as MS does. Fixes bug #67909.


svn path=/trunk/mcs/; revision=43426
2005-04-22 03:37:26 +00:00
Gonzalo Paniagua Javier 5ec4fcf421 2005-04-20 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs:
	* TemplateControlCompiler.cs: removed warnings.


svn path=/trunk/mcs/; revision=43360
2005-04-20 22:18:19 +00:00
Rafael Teixeira fefa38d9db 2005-04-20 Rafael Teixeira <[email protected]>
* BaseCompiler.cs: do the bridge of Explicit/Strict attributes from
	@Page/@Control directives to CodeDOM (VB.NET support)


svn path=/trunk/mcs/; revision=43356
2005-04-20 20:31:09 +00:00
Lluis Sanchez 4299c6c9e8 2005-04-19 Lluis Sanchez Gual <[email protected]>
* AspParser.cs: Fixed parsing of data binding tags in server
	tag attributes. Allow <%...%> blocks not assigned to
	attributes in client tags.
	* TagAttributes.cs: Make sure that data binding blocks in server
	tags are always assigned to attributes.

	* TemplateControlCompiler.cs: Implemented support for two-way
	binding.

svn path=/trunk/mcs/; revision=43277
2005-04-19 18:21:25 +00:00
Lluis Sanchez 3088a4ad24 2005-04-15 Lluis Sanchez Gual <[email protected]>
* TemplateControlCompiler.cs: 


svn path=/trunk/mcs/; revision=43075
2005-04-15 20:42:02 +00:00
Lluis Sanchez 1258f1ed69 2005-04-14 Lluis Sanchez Gual <[email protected]>
* TemplateControlCompiler.cs: Use the new BindingContainerType
	property to find the type of the binding container. 
	

svn path=/trunk/mcs/; revision=42998
2005-04-14 12:24:50 +00:00
Lluis Sanchez 03b5c34ed7 2005-04-07 Lluis Sanchez Gual <[email protected]>
* TemplateControlCompiler.cs: Avoid using the GetConverter() trick
	for primitive types. Parse an empty color string as Color.Empty.
	Get the converter for a property using its PropertyDescriptor.
	

svn path=/trunk/mcs/; revision=42894
2005-04-13 09:01:03 +00:00
Lluis Sanchez c80e02b8ed 2005-04-05 Lluis Sanchez Gual <[email protected]>
* TemplateControlCompiler.cs: Don't autogenerate IDs for
	controls inside Content template.


svn path=/trunk/mcs/; revision=42556
2005-04-05 11:22:35 +00:00
Gonzalo Paniagua Javier 8cfab754a0 2005-03-18 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlCompiler.cs: make typedesc.aspx work again.


svn path=/trunk/mcs/; revision=42005
2005-03-18 19:30:53 +00:00
Gonzalo Paniagua Javier f9f5a24c80 oops
svn path=/trunk/mcs/; revision=40819
2005-02-17 19:18:41 +00:00
Gonzalo Paniagua Javier 9124fd7440 2005-02-17 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: new files.

	* System.Web.UI/BoundPropertyEntry.cs:
	* System.Web.UI/PropertyEntry.cs:
	* System.Web.UI/TwoWayBoundPropertyEntry.cs: implemented.

	* System.Web.Compilation/ExpressionBuilderContext.cs:
	* System.Web.Compilation/ExpressionBuilder.cs: implemented.


svn path=/trunk/mcs/; revision=40815
2005-02-17 17:50:46 +00:00
Gonzalo Paniagua Javier 555aab5b5c 2005-02-11 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: don't fail on <tbody runat=server>. Fixes bug #71856.


svn path=/trunk/mcs/; revision=40507
2005-02-11 23:32:49 +00:00
Lluis Sanchez 4fa3f910d8 2005-01-28 Lluis Sanchez Gual <[email protected]>
* TemplateControlCompiler.cs: When generating a property value,
	check for TypeConverterAttribute in the PropertyInfo, not only in the
	property type.
	Implemented code generation using InstanceDescriptor, when the type
	converter supports conversion to that type.


svn path=/trunk/mcs/; revision=40094
2005-02-04 00:04:05 +00:00
Lluis Sanchez e1e3b57371 2005-01-21 Lluis Sanchez Gual <[email protected]>
* Directive.cs: Added MASTER directive.
	* AspGenerator.cs: Use UserControlCompiler for compiling master pages.
	* PageCompiler.cs: Set the master file name when generating the page.
	* TemplateControlCompiler.cs: When generating the method for a
	content holder, register the content holder in the base MasterPage.
	Added method for registering a Content control for a MasterPage.
	Generate code for Content controls.


svn path=/trunk/mcs/; revision=39320
2005-01-21 18:03:58 +00:00
Lluis Sanchez 6332d086d6 2005-01-10 Lluis Sanchez Gual <[email protected]>
* TemplateControlCompiler.cs: Get the container type from the
	template (if it was defined using TemplateContainerAttribute.


svn path=/trunk/mcs/; revision=38621
2005-01-10 15:24:18 +00:00
Gonzalo Paniagua Javier 9293397a7f 2004-10-29 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: correctly process script tags that self-closing.
	Fixes bug #69657.

svn path=/trunk/mcs/; revision=35424
2004-10-29 04:16:46 +00:00
Gonzalo Paniagua Javier fe2e76462c 2004-10-27 Gonzalo Paniagua Javier <[email protected]>
* CachingCompiler.cs: when compiling a single .cs file, add the file
	itself to dependencies. Fixes bug #68788.

svn path=/trunk/mcs/; revision=35358
2004-10-27 19:06:12 +00:00
Gonzalo Paniagua Javier 13c545eab7 2004-09-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/AspGenerator.cs: added OtherTags.
	* System.Web.UI/ControlBuilder.cs: don't close server tags when we get
	to a closing tag that is not applied to a server control. Fixes bug
	#60323.

svn path=/trunk/mcs/; revision=34534
2004-09-30 00:21:54 +00:00
Gonzalo Paniagua Javier 6c437856da 2004-09-08 Gonzalo Paniagua Javier <[email protected]>
* WebServiceCompiler.cs: fix buglet in my last commit.

svn path=/trunk/mcs/; revision=33601
2004-09-08 23:25:04 +00:00
Gonzalo Paniagua Javier 628467bbfc 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/BaseCompiler.cs:
	* System.Web.Compilation/CachingCompiler.cs:
	* System.Web.Compilation/WebServiceCompiler.cs:
	* System.Web.UI/SimpleWebHandlerParser.cs: correctly cache Type instead
	of the assembly for ashx/asmx. Otherwise we need to open the file and
	check for the class name in there. Thanks to Ben for pointing this out.

svn path=/trunk/mcs/; revision=33382
2004-09-05 19:37:58 +00:00
Gonzalo Paniagua Javier de0eac6582 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
* AspParser.cs:
	* AspTokenizer.cs: prevent quotes from being swallowed when we're
	inside a server tag and they are the next non-whitespace character.
	Fixes bug #63451.

svn path=/trunk/mcs/; revision=33364
2004-09-05 07:12:15 +00:00
Gonzalo Paniagua Javier df642df602 2004-09-01 Gonzalo Paniagua Javier <[email protected]>
* CachingCompiler.cs: don't try to watch for changes in system
	assemblies. Fixes bug #64871.

svn path=/trunk/mcs/; revision=33184
2004-09-01 21:36:46 +00:00
Gonzalo Paniagua Javier a4c94a25d2 2004-09-01 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: handle builders that need to process inner text
	with tags.

	* Location.cs: added setters for the properties.

svn path=/trunk/mcs/; revision=33174
2004-09-01 19:51:27 +00:00
Duncan Mak c526b7c7a3 Add attributes.
svn path=/trunk/mcs/; revision=32414
2004-08-16 23:00:57 +00:00
Duncan Mak 7021764f55 * BuildProviderResultFlags.cs:
* IImplicitResourceProvider.cs:
* ImplicitResourceKey.cs:
* IResourceReader.cs: Added.

svn path=/trunk/mcs/; revision=31757
2004-08-03 00:50:18 +00:00