* System.Web/HtmlizedException.cs: added more virtual methods.
* System.Web/HttpException.cs: some work on the output when there's
a source file present.
* System.Web.Compilation/AspGenerator.cs: copy the location before
setting the value for the control builders.
* System.Web.Compilation/BaseCompiler.cs: changed parameters for
CompilationException.
* System.Web.Compilation/CompilationException.cs: it takes now line
numbers and error descriptions from the CompilerErrorCollection.
* System.Web.Compilation/Location.cs: used when a copy of an ILocation
is needed.
* System.Web.Compilation/ParseException.cs: implemented new methods
to provide line numbers and souce file.
* System.Web.Compilation/TemplateControlCompiler.cs: throw a
ParseException where appropiate.
* System.Web.UI/BaseParser.cs: Location property is now here. Added a
couple of convenience methods to throw a ParseException.
* System.Web.UI/TemplateParser.cs:
* System.Web.UI/TemplateControlParser.cs:
* System.Web.UI/PageParser.cs: throw ParseException where appropiate.
svn path=/trunk/mcs/; revision=14191
* 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
* list: added a couple of new files.
* System.Web/HtmlizedException.cs: base class for exceptions that makes
it easy to generate error pages.
* System.Web/HttpException.cs: improved error displaying.
* System.Web/HttpRuntime.cs: removed debugging output.
* System.Web.Compilation/AspGenerator.cs: throw ParseException on parse
error.
* System.Web.Compilation/AspParser.cs: added Line and Column props.
* System.Web.Compilation/CompilationException.cs: derives now from
HtmlizedException.
* System.Web.Compilation/CompilationResult.cs: added fileName field.
Fixed set_ExitCode.
* System.Web.Compilation/GlobalAsaxCompiler.cs:
* System.Web.Compilation/PageCompiler.cs:
* System.Web.Compilation/UserControlCompiler.cs: pass the file name in
the CompilationResult.
* System.Web.Compilation/ParseException.cs: new exception.
svn path=/trunk/mcs/; revision=11467
* list: Modified file.
* System.Web/HttpRuntime.cs: avoid nulls and exception when getting
resource format strings.
* System.Web/StaticFileHandler.cs: added file name to error message.
* System.Web.Compilation/AspElements.cs: new method Tag.GetElements
used to parse the inner contents of a tag looking for data binding or
code render tags.
New property HtmlControlTag.ParseChildren allows
differentiation of a couple of HtmlControls that has children as
properties (namely HtmlTable and HtmlTableRow).
* System.Web.Compilation/AspGenerator.cs: fixed container semantics to
match BindingContainer one. Implemented Inherits attribute for page and
control.
Support HtmlControls that has ChildrenAsProperties.
Generate code for data binding functions that matches the semantic of
Container.
Handle data bound and code render attribute values.
Set proper value return for TemplateSourceDirectory. Should be relative
to appPath.
* System.Web.Compilation/BaseCompiler.cs: moved CompilerOptions and
References handling here.
* System.Web.Compilation/CachingCompiler.cs: copy result of compilation.
* System.Web.Compilation/CompilationException.cs: simple ToString ()
implementation.
* System.Web.Compilation/CompilationResult.cs: implemented CopyFrom and
ToString.
* System.Web.Compilation/GlobalAsaxCompiler.cs:
* System.Web.Compilation/PageCompiler.cs:
* System.Web.Compilation/UserControlCompiler.cs: removed
CompilerOptions as it's now handled in the base class. Get all the
types in the generated assembly and look for one that derives from
the correct Type.
* System.Web.UI/Control.cs: implemented TemplateSourceDirectory.
* System.Web.UI/TemplateControl.cs: implemented LoadControl and
LoadTemplate.
* System.Web.Util/PathUtil.cs: some path handling methods that are not
available in Path.
svn path=/trunk/mcs/; revision=9583
* list: added/removed files.
* System.Web.Compilation/AspGenerator.cs: reworked user control
compilation. Provide the options as a Hashtable for use in compilation.
Create the user controls in the private bin path of the domain.
* System.Web.Compilation/BaseCompiler.cs: base class for the various
compiler types.
* System.Web.Compilation/CachingCompiler.cs: actually executes mcs and
do some poor caching (it will use Cache when finished).
* System.Web.Compilation/CompilationException.cs: this exception has
enough information to generate a nice error page.
* System.Web.Compilation/CompilationResult.cs: used in caching.
* System.Web.Compilation/PageCompiler.cs: now derives from BaseCompiler
* System.Web.Compilation/TemplateFactory.cs: no longer needed.
* System.Web.Compilation/UserControlCompiler.cs: new class used when
compiling user controls.
* System.Web.Compilation/WebServiceCompiler.cs: derives from
BaseCompiler.
* System.Web.Mail/SmtpMail.cs: i don't wanna see that warning :-).
* System.Web.UI/TemplateParser.cs: fixed BaseType.
* System.Web.UI/UserControlParser.cs: helper class to compile user
controls.
svn path=/trunk/mcs/; revision=9191