Commit Graph
19 Commits
Author SHA1 Message Date
Marek Habersack 6ca820d90f 2007-08-06 Marek Habersack <[email protected]>
* AspComponentFoundry.cs: properly add new foundry if the
	corresponding entry in the foundries collection is a Queue. Patch
	from Juraj Skripsky <[email protected]>, thanks! Fixes bug #82285.

svn path=/trunk/mcs/; revision=83524
2007-08-06 07:55:46 +00:00
Marek Habersack ac3dd8a62d 2007-07-31 Marek Habersack <[email protected]>
* AspComponentFoundry.cs: do not overwrite previously registered
	foundries when a new one is registered with the same prefix. Fixes
	bug #82216

svn path=/trunk/mcs/; revision=83071
2007-07-31 13:04:59 +00:00
Marek Habersack da88af32fb 2007-04-27 Marek Habersack <[email protected]>
* AspComponentFoundry.cs: formatting changes.
	AssemblyFoundry looks for the specified namespace+type in the
	top-level assemblies if necessary.

2007-04-27  Marek Habersack  <[email protected]>

	* TemplateControlParser.cs: 2.0 allows 'Namespace' without the
	'Assembly' attribute on tag prefix registration.

	* TemplateParser.cs: do not rely on assembly name being not null.


svn path=/trunk/mcs/; revision=76364
2007-04-27 01:00:43 +00:00
Gert Driesen 26676f8379 * AspComponentFoundry.cs: Fixed build on 1.0 profile. Spaces to
tabs.

svn path=/trunk/mcs/; revision=75911
2007-04-19 09:23:22 +00:00
Marek Habersack 95c61dae1b 2007-04-19 Marek Habersack <[email protected]>
* AppCodeCompiler.cs: yet another method of detecting if we have a
	custom profile.

	* BaseCompiler.cs: as above
	
	* AspComponentFoundry.cs: implemented delayed loading of control
	assemblies. Fixes bug #81058.

svn path=/trunk/mcs/; revision=75910
2007-04-19 08:04:38 +00:00
Marek Habersack 61740bb501 * AspComponentFoundry.cs: try to register foundries from App_Code
assemblies if tag prefix and its namespace are defined. Fixes bug
	#78797.

svn path=/trunk/mcs/; revision=74111
2007-03-12 11:25:19 +00:00
Marek Habersack f74b35ecb6 Avoid duplicate control registration exception
svn path=/trunk/mcs/; revision=72472
2007-02-08 13:03:50 +00:00
Marek Habersack 61df9ff1d2 Fix for bug 80532
svn path=/trunk/mcs/; revision=72245
2007-02-03 21:55:00 +00:00
Chris Toshok 1e544a7382 2006-01-22 Chris Toshok <[email protected]>
* AspComponentFoundry.cs (.ctor): use a 2.0 friendly form of the
	Hashtable ctor to silence a couple of warning.
	(CompoundFoundry.ctor): same

	* Directive.cs (InitHash): use a 2.0 friendly form of the
	Hashtable ctor to silence a couple of warning.

	* TagAttributes.cs (MakeHash): use a 2.0 friendly form of the
	Hashtable ctor to silence a warning.
	(GetDictionary): same.


svn path=/trunk/mcs/; revision=55913
2006-01-22 20:45:53 +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
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
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Gonzalo Paniagua Javier e80814a23c 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* AspComponentFoundry.cs: simplified it a lot by using Type and Assembly
	instead of their names.

	* AspElements.cs: removed. No longer needed.

	* AspGenerator.cs: this file is now in charge of interfacing between
	the parser and the compiler. It manages the creation of the
	ControlBuilder tree and the compilation of the CodeDOM tree.

	* AspParser.cs: tag handling is simpler now.  Instead of a whole bunch
	of different Types, tags are just and id and a set of attributes.
	Implement ILocation interface.

	* AspTokenizer.cs: added a few methods to help the parser implementing
	ILocation.

	* BaseCompiler.cs: handles the portions of the CodeDOM tree that are
	common to appliaction, page and user control, including the actual
	compilation and error handling.

	* CSCompiler.cs: compiles C# files using CodeDOM interfaces.

	* CachingCompiler.cs: simplified to use the new interfaces.

	* CompilationException.cs: it's now using CompilationResult to report
	errors.

	* CompilationResult.cs: Removed file.

	* Directive.cs: to check for the validity of a directive.

	* GlobalAsaxCompiler.cs: simplified a lot, as most of the work is done
	in BaseCompiler.

	* ILocation.cs: interface used to now the exact place where a parse
	error happens.

	* PageCompiler.cs: generates a couple of methods that are only used in
	pages.

	* ParseException.cs: use the ILocation interface.

	* TagAttributes.cs: handles the attributes of the tags parsed.

	* TagType.cs: an enum for the different kinds of tags.

	* TemplateControlCompiler.cs: this is the one that does most of the
	conversion from teh ControlBuilder tree into a CodeDOM tree.

	* UserControlCompiler.cs: simplified as most of the work is done in
	its base classes.

	* WebServiceCompiler.cs: dummy.

svn path=/trunk/mcs/; revision=14140
2003-04-30 04:56:01 +00:00
Gonzalo Paniagua Javier 139868e0c8 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
* list: sorted, added a couple of missing files and 3 new ones.
	* System.Web.Compilation/AspComponentFoundry.cs: added GetComponentType
	method.
	* System.Web.UI/ITagNameToTypeMapper.cs: made it internal.

	* System.Web.UI/ObjectTagBuilder.cs: builder for
	<object runat="server"> tag.
	* System.Web.UI/ObjectTag.cs:
	* System.Web.UI/RootBuilder.cs: initial builder.

svn path=/trunk/mcs/; revision=13823
2003-04-20 15:25:58 +00:00
Gonzalo Paniagua Javier 1ccb7b53e5 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
* AspComponentFoundry.cs: reworked to allow same prefix for multiple
	controls. You can register 1 assembly plus any number of user controls
	under the same prefix.

	* AspGenerator.cs: don't add duplicate 'using' for the same namespace.
	Hack to allow @Register access to assemblies in other places than bin
	directory.

svn path=/trunk/mcs/; revision=10225
2003-01-07 00:14:04 +00:00
Gonzalo Paniagua Javier 740c71cc31 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
* System.Web.build: added options (commented out) to activate tracing.

	* System.Web/HttpResponse.cs: don't throw exception in a couple of
	methods not yet implemented.

	* System.Web.Compilation/AspComponentFoundry.cs: fixed typo.

	* System.Web.Compilation/AspGenerator.cs: don't use FileDependencies
	property of base class.

	* System.Web.Compilation/TemplateFactory.cs: use csc style options.

	* System.Web.UI/Page.cs: set the context in ProcessRequest. Added a
	few trace calls.
	* System.Web.UI/Control.cs: added some trace information.

svn path=/trunk/mcs/; revision=8527
2002-10-24 21:47:31 +00:00
Gonzalo Paniagua Javier 66d8f07ae4 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
* AspComponentFoundry.cs: LookupFoundry now returns bool.
	* AspGenerator.cs: New file.

svn path=/trunk/mcs/; revision=6726
2002-08-18 18:37:25 +00:00
Gonzalo Paniagua Javier 4493c2f403 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
* AspComponentFoundry.cs: New file.
	* AspElements.cs: renamed Component to Aspcomponent.

svn path=/trunk/mcs/; revision=6689
2002-08-17 01:11:54 +00:00