* AspGenerator.cs: generate correct appbase path. It was working with
mcs but not with csc.
* BaseCompiler.cs: quote arguments and removed GetRandomFileName.
* CachingCompiler.cs: quote source file.
svn path=/trunk/mcs/; revision=12862
* BaseCompiler.cs: fixed the hack to work under windows.
* CachingCompiler.cs: under windows, try 'mcs.bat' and then 'mcs'.
svn path=/trunk/mcs/; revision=12659
* list: forgot to add this one.
* System.Web.Compilation/AspGenerator.cs: corrected typo and wrong fix.
* System.Web.UI/Control.cs: have i definitely fixed naming container
stuff this time?
* System.Web.UI/LosFormatter.cs: activated binary serialization code.
* System.Web.UI.WebControls/ButtonColumn.cs: fixed a couple of infinite
loop problems and render correctly the header of the column.
* System.Web.UI.WebControls/DataGridTableInternal.cs: don't assign a
default ID to this control.
* System.Web.UI.WebControls/LinkButton.cs: raise bubble event in
OnCommand.
* System.Web.UI.WebControls/TableCellCollection.cs: fixed the index
returned by Add.
* System.Web.UI.WebControls/TableRowCollection.cs: ditto.
svn path=/trunk/mcs/; revision=11601
* AspElements.cs: get the property Type for controls that use
ParseChildren with a property name.
* AspGenerator.cs: generate correct signature for the method that
adds controls to the default property in ParseChildren.
svn path=/trunk/mcs/; revision=11552
* 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
* System.Web.Compilation/AspParser.cs: the parser fires events when it
parses an element.
* System.Web.UI/SimpleWebHandlerParser.cs:
* System.Web.Compilation/GlobalAsaxCompiler.cs:
* System.Web.Compilation/PageCompiler.cs:
* System.Web.Compilation/UserControlCompiler.cs:
* System.Web.Compilation/AspElements.cs: modified to use the new parser
interface.
* System.Web.Compilation/AspGenerator.cs: modified to use the new
parser. Merge multiple text strings into one single LiteralControl.
* System.Web.Compilation/AspTokenizer.cs: added Line and Column properties.
svn path=/trunk/mcs/; revision=11146
* AspGenerator.cs:
* BaseCompiler.cs:
* CachingCompiler.cs: changes to work around spaces and
directory-separators in the local filesystem.
svn path=/trunk/mcs/; revision=10780
* System.Web.Compilation/AspGenerator.cs: removed unused variable. Added
support for properties/fields of type string [].
* System.Web.UI.WebControls/DataList.cs: handle the exception when
adding new keys to DataKeysArray.
svn path=/trunk/mcs/; revision=10734
* 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
* AspElements.cs: added 'codebehind' attribute for page, control and
application. It's ignored by MS, but allowed. Fixed typo.
svn path=/trunk/mcs/; revision=10217
* AspGenerator.cs: don't generate instance fields for pages/controls
when the base class specified in the Inherits attribute already has
them. Closes bug #36262.
svn path=/trunk/mcs/; revision=10167
* AspGenerator.cs: generate code like 'control.XXX = value' also for
public fields (properties were being handled in that way too).
svn path=/trunk/mcs/; revision=9762
* System.Web/HttpApplicationFactory.cs: add the context as parameter
when building the application Type.
* System.Web/HttpCookie.cs: new internal constructor.
* System.Web/HttpCookieCollection.cs: new internal method to make a
cookie expire.
* System.Web/HttpRequest.cs: MapPath fixes.
* System.Web/HttpResponse.cs: implemented ApplyAppPathModifier.
* System.Web/HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
* System.Web.Compilation/AspGenerator.cs: now it uses the current
HttpContext when creating user controls. TemplateSourceDirectory is no
longer a dummy value.
* System.Web.Compilation/GlobalAsaxCompiler.cs:
* System.Web.Compilation/PageCompiler.cs:
* System.Web.Compilation/UserControlCompiler.cs: set the context which
will be used to locate the files.
* System.Web.UI/BaseParser.cs: use MapPath and context to locate files.
* System.Web.UI/Control.cs: implemented MapPathSecure.
* System.Web.UI/TemplateControl.cs: use UrlUtils to generate the path.
* System.Web.UI/TemplateControlParser.cs: use the context and MapPath.
* System.Web.UI/UserControl.cs: implemented MapPath.
* System.Web.UI/UserControlParser.cs: added context parameter to
constructor.
* System.Web.Util/PathUtil.cs: removed.
* System.Web.Util/UrlUtils.cs: fixed Combine to handle '~'.
svn path=/trunk/mcs/; revision=9737
* System.Web.Compilation/AspGenerator.cs: added support for
AutoEventWireup attribute in @Page and @Control.
* System.Web.Compilation/CompilationResult.cs:
* System.Web.Compilation/GlobalAsaxCompiler.cs:
* System.Web.Compilation/PageCompiler.cs:
* System.Web.Compilation/UserControlCompiler.cs: store the options.
* System.Web.UI/Control.cs: added AutoEventWireup internal property.
* System.Web.UI/Page.cs: removed page events wire up from here.
* System.Web.UI/TemplateControl.cs: new method WireupAutomaticEvents to
hook up page and user controls events.
* System.Web.UI/TemplateControlParser.cs: process the options that are
applicable once we have the instance of the control.
* System.Web.UI/TemplateParser.cs: also stores the options.
* System.Web.UI/UserControl.cs: hook up events before initializing the
control.
svn path=/trunk/mcs/; revision=9623
* 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
* System.Web/HttpApplicationFactory.cs: compile global.asax file if it
exists.
* System.Web.Compilation/AspElements.cs: added @Application directive.
* System.Web.Compilation/AspGenerator.cs: make it work also with
application files. We currently generate an extra private function.
svn path=/trunk/mcs/; revision=9293
* list: added new file.
* System.Web.Compilation/GlobalAsaxCompiler.cs: compiler for global.asax
file. If the file exists, it will be compiled into an HttpApplication
derived class (directly or through a user-provided class).
svn path=/trunk/mcs/; revision=9243
* System.Web.Compilation/AspGenerator.cs: fixed target file name and
generated class name.
* System.Web.Compilation/BaseCompiler.cs: reference assemblies in
PrivateBinPath.
* System.Web.UI/UserControl.cs: fixed SetAttribute.
* System.Web.UI/UserControlParser.cs: set the correct base type.
svn path=/trunk/mcs/; revision=9202
* 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
* AspElements.cs: added ServerComment class.
* AspParser.cs: ignore ServerComments tags. Remove server comments when
in verbatim mode.
Fixes#33482.
* PageCompiler.cs: check if the type is already cached before generating
the C# file.
* TemplateFactory.cs: if csFile parameter is null, only checks if we
already have the page compiled.
svn path=/trunk/mcs/; revision=8974
* System.Web/HttpCookie.cs: made GetCookieHeader internal.
* System.Web/HttpRequest.cs: get cookies from request.
* System.Web/HttpResponse.cs: send cookies. Implemented
AddFileDependencies (). Added check for _Writer == null in Flush
(Patrik ;-). Clear the content if HEAD or SupressContent == true.
Removed redirect hack used in old server.
* System.Web.Compilation/AspGenerator.cs: undo one-liner change.
* System.Web.UI/Page.cs: implemented FileDependecies and made it
protected.
svn path=/trunk/mcs/; revision=8743
* 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