1 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * AspGenerator.cs: rethrow exceptions that may can from parsing or
4 compilation if a user control.
6 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8 * AspGenerator.cs: throw ParseException on parse
11 * AspParser.cs: added Line and Column props.
13 * CompilationException.cs: derives now from HtmlizedException.
15 * CompilationResult.cs: added fileName field. Fixed set_ExitCode.
17 * GlobalAsaxCompiler.cs:
19 * UserControlCompiler.cs: pass the file name in the CompilationResult.
21 * ParseException.cs: new exception.
24 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
26 * AspGenerator.cs: remove "file://" from the private bin path. Fixes
29 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
31 * AspParser.cs: the parser fires events when it parses an element.
33 * GlobalAsaxCompiler.cs:
35 * UserControlCompiler.cs:
36 * AspElements.cs: modified to use the new parser interface.
38 * AspGenerator.cs: modified to use the new parser. Merge multiple text
39 strings into one single LiteralControl.
41 * AspTokenizer.cs: added Line and Column properties.
43 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
45 * AspParser.cs: fixed bug #36929.
47 2003-01-21 Tim Haynes <thaynes@openlinksw.com>
51 * CachingCompiler.cs: changes to work around spaces and
52 directory-separators in the local filesystem.
54 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
56 * AspGenerator.cs: make the generated file compile with csc after last
59 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
61 * AspGenerator.cs: removed unused variable. Added support for
62 properties/fields of type string [].
64 2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
66 * AspGenerator.cs: modified loading of the parent type now that
67 Type.GetType is fixed.
69 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
71 * AspGenerator.cs: cast to Control if the container does not implement
74 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
76 * AspGenerator.cs: fixed a couple of thinkos related to IsSubclassOf.
78 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
80 * AspElements.cs: attributes without value lacked a space afterwards.
82 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
84 * AspGenerator.cs: functions for columns don't return anything. Fixed
87 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
89 * AspGenerator.cs: add data bound controls to code render function.
91 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
93 * AspComponentFoundry.cs: reworked to allow same prefix for multiple
94 controls. You can register 1 assembly plus any number of user controls
95 under the same prefix.
97 * AspGenerator.cs: don't add duplicate 'using' for the same namespace.
98 Hack to allow @Register access to assemblies in other places than bin
101 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
103 * AspElements.cs: added 'codebehind' attribute for page, control and
104 application. It's ignored by MS, but allowed. Fixed typo.
106 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
108 * AspGenerator.cs: fixed EnableSesssionState handling.
110 2003-01-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
112 * AspGenerator.cs: don't generate instance fields for pages/controls
113 when the base class specified in the Inherits attribute already has
114 them. Closes bug #36262.
116 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
118 * AspGenerator.cs: generate code like 'control.XXX = value' also for
119 public fields (properties were being handled in that way too).
121 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
123 * AspGenerator.cs: now it uses the current HttpContext when creating
124 user controls. TemplateSourceDirectory is no longer a dummy value.
126 * GlobalAsaxCompiler.cs:
128 * UserControlCompiler.cs: set the context which will be used to locate
131 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
133 * AspGenerator.cs: added support for AutoEventWireup attribute in
136 * CompilationResult.cs:
137 * GlobalAsaxCompiler.cs:
139 * UserControlCompiler.cs: store the options.
141 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
143 * AspElements.cs: new method Tag.GetElements
144 used to parse the inner contents of a tag looking for data binding or
147 New property HtmlControlTag.ParseChildren allows
148 differentiation of a couple of HtmlControls that has children as
149 properties (namely HtmlTable and HtmlTableRow).
151 * AspGenerator.cs: fixed container semantics to
152 match BindingContainer one. Implemented Inherits attribute for page and
155 Support HtmlControls that has ChildrenAsProperties.
157 Generate code for data binding functions that matches the semantic of
160 Handle data bound and code render attribute values.
162 Set proper value return for TemplateSourceDirectory. Should be relative
165 * BaseCompiler.cs: moved CompilerOptions and
166 References handling here.
168 * CachingCompiler.cs: copy result of compilation.
170 * CompilationException.cs: simple ToString () implementation.
172 * CompilationResult.cs: implemented CopyFrom and ToString.
174 * GlobalAsaxCompiler.cs:
176 * UserControlCompiler.cs: removed CompilerOptions as it's now handled
177 in the base class. Get all the types in the generated assembly and
178 look for one that derives from the correct Type.
180 2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
182 * AspElements.cs: added @Application directive.
184 * AspGenerator.cs: make it work also with application files. We
185 currently generate an extra private function.
187 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
189 * GlobalAsaxCompiler.cs: compiler for global.asax file. If the file
190 exists, it will be compiled into an HttpApplication derived class
191 (directly or through a user-provided class).
193 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
195 * AspGenerator.cs: fixed target file name and generated class name.
196 * BaseCompiler.cs: reference assemblies in PrivateBinPath.
198 2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
200 * AspGenerator.cs: reworked user control
201 compilation. Provide the options as a Hashtable for use in compilation.
202 Create the user controls in the private bin path of the domain.
204 * BaseCompiler.cs: base class for the various compiler types.
206 * CachingCompiler.cs: actually executes mcs and do some poor caching
207 (it will use Cache when finished).
209 * CompilationException.cs: this exception has enough information to
210 generate a nice error page.
211 * CompilationResult.cs: used in caching.
213 * PageCompiler.cs: now derives from BaseCompiler
215 * TemplateFactory.cs: no longer needed.
217 * UserControlCompiler.cs: new class used when compiling user controls.
218 * WebServiceCompiler.cs: derives from BaseCompiler.
220 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
222 * AspElements.cs: added ServerComment class.
223 * AspParser.cs: ignore ServerComments tags. Remove server comments when
228 * PageCompiler.cs: check if the type is already cached before generating
230 * TemplateFactory.cs: if csFile parameter is null, only checks if we
231 already have the page compiled.
233 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
235 * AspGenerator.cs: undo one-liner change.
237 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
239 * AspGenerator.cs: removed a few hacks no longer needed.
241 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
243 * PageCompiler.cs: tracing.
244 * TemplateFactory.cs: cache compiled types and tracing.
245 * WebServiceCompiler.cs: new parameter in GetTypeFromsource,
247 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
249 * AspComponentFoundry.cs: fixed typo.
250 * TemplateFactory.cs: use csc style options.
251 * AspGenerator.cs: don't use FileDependencies property of base class.
253 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
255 * System.Web.Compilation/AspElements.cs:
256 * System.Web.Compilation/AspGenerator.cs:
257 * System.Web.Compilation/AspParser.cs:
258 * System.Web.Compilation/PageCompiler.cs:
259 * System.Web.Compilation/TemplateFactory.cs: we are now able to compile
260 pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
262 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
264 * AspElements.cs: added WebService directive.
265 * WebServiceCompiler.cs: New file.
267 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
269 * PageCompiler.cs: fixed compilation.
271 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
273 * PageCompiler.cs: generate C# file using AspGenerator.
275 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
277 * AspComponentFoundry.cs: LookupFoundry now returns bool.
278 * AspGenerator.cs: New file.
280 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
282 * AspComponentFoundry.cs: New file.
283 * AspElements.cs: renamed Component to Aspcomponent.
285 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
292 * TemplateFactory.cs: first steps to move xsp into System.Web.