1 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * AspParser.cs: fixed bug #36929.
5 2003-01-21 Tim Haynes <thaynes@openlinksw.com>
9 * CachingCompiler.cs: changes to work around spaces and
10 directory-separators in the local filesystem.
12 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
14 * AspGenerator.cs: make the generated file compile with csc after last
17 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
19 * AspGenerator.cs: removed unused variable. Added support for
20 properties/fields of type string [].
22 2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
24 * AspGenerator.cs: modified loading of the parent type now that
25 Type.GetType is fixed.
27 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
29 * AspGenerator.cs: cast to Control if the container does not implement
32 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
34 * AspGenerator.cs: fixed a couple of thinkos related to IsSubclassOf.
36 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
38 * AspElements.cs: attributes without value lacked a space afterwards.
40 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
42 * AspGenerator.cs: functions for columns don't return anything. Fixed
45 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
47 * AspGenerator.cs: add data bound controls to code render function.
49 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
51 * AspComponentFoundry.cs: reworked to allow same prefix for multiple
52 controls. You can register 1 assembly plus any number of user controls
53 under the same prefix.
55 * AspGenerator.cs: don't add duplicate 'using' for the same namespace.
56 Hack to allow @Register access to assemblies in other places than bin
59 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
61 * AspElements.cs: added 'codebehind' attribute for page, control and
62 application. It's ignored by MS, but allowed. Fixed typo.
64 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
66 * AspGenerator.cs: fixed EnableSesssionState handling.
68 2003-01-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
70 * AspGenerator.cs: don't generate instance fields for pages/controls
71 when the base class specified in the Inherits attribute already has
72 them. Closes bug #36262.
74 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
76 * AspGenerator.cs: generate code like 'control.XXX = value' also for
77 public fields (properties were being handled in that way too).
79 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
81 * AspGenerator.cs: now it uses the current HttpContext when creating
82 user controls. TemplateSourceDirectory is no longer a dummy value.
84 * GlobalAsaxCompiler.cs:
86 * UserControlCompiler.cs: set the context which will be used to locate
89 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
91 * AspGenerator.cs: added support for AutoEventWireup attribute in
94 * CompilationResult.cs:
95 * GlobalAsaxCompiler.cs:
97 * UserControlCompiler.cs: store the options.
99 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
101 * AspElements.cs: new method Tag.GetElements
102 used to parse the inner contents of a tag looking for data binding or
105 New property HtmlControlTag.ParseChildren allows
106 differentiation of a couple of HtmlControls that has children as
107 properties (namely HtmlTable and HtmlTableRow).
109 * AspGenerator.cs: fixed container semantics to
110 match BindingContainer one. Implemented Inherits attribute for page and
113 Support HtmlControls that has ChildrenAsProperties.
115 Generate code for data binding functions that matches the semantic of
118 Handle data bound and code render attribute values.
120 Set proper value return for TemplateSourceDirectory. Should be relative
123 * BaseCompiler.cs: moved CompilerOptions and
124 References handling here.
126 * CachingCompiler.cs: copy result of compilation.
128 * CompilationException.cs: simple ToString () implementation.
130 * CompilationResult.cs: implemented CopyFrom and ToString.
132 * GlobalAsaxCompiler.cs:
134 * UserControlCompiler.cs: removed CompilerOptions as it's now handled
135 in the base class. Get all the types in the generated assembly and
136 look for one that derives from the correct Type.
138 2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
140 * AspElements.cs: added @Application directive.
142 * AspGenerator.cs: make it work also with application files. We
143 currently generate an extra private function.
145 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
147 * GlobalAsaxCompiler.cs: compiler for global.asax file. If the file
148 exists, it will be compiled into an HttpApplication derived class
149 (directly or through a user-provided class).
151 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
153 * AspGenerator.cs: fixed target file name and generated class name.
154 * BaseCompiler.cs: reference assemblies in PrivateBinPath.
156 2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
158 * AspGenerator.cs: reworked user control
159 compilation. Provide the options as a Hashtable for use in compilation.
160 Create the user controls in the private bin path of the domain.
162 * BaseCompiler.cs: base class for the various compiler types.
164 * CachingCompiler.cs: actually executes mcs and do some poor caching
165 (it will use Cache when finished).
167 * CompilationException.cs: this exception has enough information to
168 generate a nice error page.
169 * CompilationResult.cs: used in caching.
171 * PageCompiler.cs: now derives from BaseCompiler
173 * TemplateFactory.cs: no longer needed.
175 * UserControlCompiler.cs: new class used when compiling user controls.
176 * WebServiceCompiler.cs: derives from BaseCompiler.
178 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
180 * AspElements.cs: added ServerComment class.
181 * AspParser.cs: ignore ServerComments tags. Remove server comments when
186 * PageCompiler.cs: check if the type is already cached before generating
188 * TemplateFactory.cs: if csFile parameter is null, only checks if we
189 already have the page compiled.
191 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
193 * AspGenerator.cs: undo one-liner change.
195 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
197 * AspGenerator.cs: removed a few hacks no longer needed.
199 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
201 * PageCompiler.cs: tracing.
202 * TemplateFactory.cs: cache compiled types and tracing.
203 * WebServiceCompiler.cs: new parameter in GetTypeFromsource,
205 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
207 * AspComponentFoundry.cs: fixed typo.
208 * TemplateFactory.cs: use csc style options.
209 * AspGenerator.cs: don't use FileDependencies property of base class.
211 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
213 * System.Web.Compilation/AspElements.cs:
214 * System.Web.Compilation/AspGenerator.cs:
215 * System.Web.Compilation/AspParser.cs:
216 * System.Web.Compilation/PageCompiler.cs:
217 * System.Web.Compilation/TemplateFactory.cs: we are now able to compile
218 pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
220 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
222 * AspElements.cs: added WebService directive.
223 * WebServiceCompiler.cs: New file.
225 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
227 * PageCompiler.cs: fixed compilation.
229 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
231 * PageCompiler.cs: generate C# file using AspGenerator.
233 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
235 * AspComponentFoundry.cs: LookupFoundry now returns bool.
236 * AspGenerator.cs: New file.
238 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
240 * AspComponentFoundry.cs: New file.
241 * AspElements.cs: renamed Component to Aspcomponent.
243 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
250 * TemplateFactory.cs: first steps to move xsp into System.Web.