2003-01-07 Gonzalo Paniagua Javier * 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. 2003-01-06 Gonzalo Paniagua Javier * AspElements.cs: added 'codebehind' attribute for page, control and application. It's ignored by MS, but allowed. Fixed typo. 2003-01-06 Gonzalo Paniagua Javier * AspGenerator.cs: fixed EnableSesssionState handling. 2003-01-05 Gonzalo Paniagua Javier * 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. 2002-12-19 Gonzalo Paniagua Javier * AspGenerator.cs: generate code like 'control.XXX = value' also for public fields (properties were being handled in that way too). 2002-12-18 Gonzalo Paniagua Javier * AspGenerator.cs: now it uses the current HttpContext when creating user controls. TemplateSourceDirectory is no longer a dummy value. * GlobalAsaxCompiler.cs: * PageCompiler.cs: * UserControlCompiler.cs: set the context which will be used to locate the files. 2002-12-13 Gonzalo Paniagua Javier * AspGenerator.cs: added support for AutoEventWireup attribute in @Page and @Control. * CompilationResult.cs: * GlobalAsaxCompiler.cs: * PageCompiler.cs: * UserControlCompiler.cs: store the options. 2002-12-12 Gonzalo Paniagua Javier * 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). * 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. * BaseCompiler.cs: moved CompilerOptions and References handling here. * CachingCompiler.cs: copy result of compilation. * CompilationException.cs: simple ToString () implementation. * CompilationResult.cs: implemented CopyFrom and ToString. * GlobalAsaxCompiler.cs: * PageCompiler.cs: * 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. 2002-11-30 Gonzalo Paniagua Javier * AspElements.cs: added @Application directive. * AspGenerator.cs: make it work also with application files. We currently generate an extra private function. 2002-11-29 Gonzalo Paniagua Javier * 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). 2002-11-27 Gonzalo Paniagua Javier * AspGenerator.cs: fixed target file name and generated class name. * BaseCompiler.cs: reference assemblies in PrivateBinPath. 2002-11-26 Gonzalo Paniagua Javier * 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. * BaseCompiler.cs: base class for the various compiler types. * CachingCompiler.cs: actually executes mcs and do some poor caching (it will use Cache when finished). * CompilationException.cs: this exception has enough information to generate a nice error page. * CompilationResult.cs: used in caching. * PageCompiler.cs: now derives from BaseCompiler * TemplateFactory.cs: no longer needed. * UserControlCompiler.cs: new class used when compiling user controls. * WebServiceCompiler.cs: derives from BaseCompiler. 2002-11-13 Gonzalo Paniagua Javier * 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. 2002-11-02 Gonzalo Paniagua Javier * AspGenerator.cs: undo one-liner change. 2002-10-31 Gonzalo Paniagua Javier * AspGenerator.cs: removed a few hacks no longer needed. 2002-10-27 Gonzalo Paniagua Javier * PageCompiler.cs: tracing. * TemplateFactory.cs: cache compiled types and tracing. * WebServiceCompiler.cs: new parameter in GetTypeFromsource, 2002-10-23 Gonzalo Paniagua Javier * AspComponentFoundry.cs: fixed typo. * TemplateFactory.cs: use csc style options. * AspGenerator.cs: don't use FileDependencies property of base class. 2002-09-28 Gonzalo Paniagua Javier * System.Web.Compilation/AspElements.cs: * System.Web.Compilation/AspGenerator.cs: * System.Web.Compilation/AspParser.cs: * System.Web.Compilation/PageCompiler.cs: * System.Web.Compilation/TemplateFactory.cs: we are now able to compile pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest. 2002-09-11 Gonzalo Paniagua Javier * AspElements.cs: added WebService directive. * WebServiceCompiler.cs: New file. 2002-08-18 Gonzalo Paniagua Javier * PageCompiler.cs: fixed compilation. 2002-08-18 Gonzalo Paniagua Javier * PageCompiler.cs: generate C# file using AspGenerator. 2002-08-18 Gonzalo Paniagua Javier * AspComponentFoundry.cs: LookupFoundry now returns bool. * AspGenerator.cs: New file. 2002-08-16 Gonzalo Paniagua Javier * AspComponentFoundry.cs: New file. * AspElements.cs: renamed Component to Aspcomponent. 2002-08-16 Gonzalo Paniagua Javier * AspElements.cs: * AspParser.cs: * AspTokenizer.cs: * ChangeLog: * PageCompiler.cs: * TemplateFactory.cs: first steps to move xsp into System.Web.