1 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * AspGenerator.cs: fixed code generation for Table/TableRow/TableCell
6 2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8 * AspElements.cs: get the property Type for controls that use
9 ParseChildren with a property name.
11 * AspGenerator.cs: generate correct signature for the method that
12 adds controls to the default property in ParseChildren.
14 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
16 * AspGenerator.cs: rethrow exceptions that may come from parsing or
17 compilation if a user control.
19 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
21 * AspGenerator.cs: throw ParseException on parse
24 * AspParser.cs: added Line and Column props.
26 * CompilationException.cs: derives now from HtmlizedException.
28 * CompilationResult.cs: added fileName field. Fixed set_ExitCode.
30 * GlobalAsaxCompiler.cs:
32 * UserControlCompiler.cs: pass the file name in the CompilationResult.
34 * ParseException.cs: new exception.
37 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
39 * AspGenerator.cs: remove "file://" from the private bin path. Fixes
42 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
44 * AspParser.cs: the parser fires events when it parses an element.
46 * GlobalAsaxCompiler.cs:
48 * UserControlCompiler.cs:
49 * AspElements.cs: modified to use the new parser interface.
51 * AspGenerator.cs: modified to use the new parser. Merge multiple text
52 strings into one single LiteralControl.
54 * AspTokenizer.cs: added Line and Column properties.
56 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
58 * AspParser.cs: fixed bug #36929.
60 2003-01-21 Tim Haynes <thaynes@openlinksw.com>
64 * CachingCompiler.cs: changes to work around spaces and
65 directory-separators in the local filesystem.
67 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
69 * AspGenerator.cs: make the generated file compile with csc after last
72 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
74 * AspGenerator.cs: removed unused variable. Added support for
75 properties/fields of type string [].
77 2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
79 * AspGenerator.cs: modified loading of the parent type now that
80 Type.GetType is fixed.
82 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
84 * AspGenerator.cs: cast to Control if the container does not implement
87 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
89 * AspGenerator.cs: fixed a couple of thinkos related to IsSubclassOf.
91 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
93 * AspElements.cs: attributes without value lacked a space afterwards.
95 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
97 * AspGenerator.cs: functions for columns don't return anything. Fixed
100 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
102 * AspGenerator.cs: add data bound controls to code render function.
104 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
106 * AspComponentFoundry.cs: reworked to allow same prefix for multiple
107 controls. You can register 1 assembly plus any number of user controls
108 under the same prefix.
110 * AspGenerator.cs: don't add duplicate 'using' for the same namespace.
111 Hack to allow @Register access to assemblies in other places than bin
114 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
116 * AspElements.cs: added 'codebehind' attribute for page, control and
117 application. It's ignored by MS, but allowed. Fixed typo.
119 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
121 * AspGenerator.cs: fixed EnableSesssionState handling.
123 2003-01-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
125 * AspGenerator.cs: don't generate instance fields for pages/controls
126 when the base class specified in the Inherits attribute already has
127 them. Closes bug #36262.
129 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
131 * AspGenerator.cs: generate code like 'control.XXX = value' also for
132 public fields (properties were being handled in that way too).
134 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
136 * AspGenerator.cs: now it uses the current HttpContext when creating
137 user controls. TemplateSourceDirectory is no longer a dummy value.
139 * GlobalAsaxCompiler.cs:
141 * UserControlCompiler.cs: set the context which will be used to locate
144 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
146 * AspGenerator.cs: added support for AutoEventWireup attribute in
149 * CompilationResult.cs:
150 * GlobalAsaxCompiler.cs:
152 * UserControlCompiler.cs: store the options.
154 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
156 * AspElements.cs: new method Tag.GetElements
157 used to parse the inner contents of a tag looking for data binding or
160 New property HtmlControlTag.ParseChildren allows
161 differentiation of a couple of HtmlControls that has children as
162 properties (namely HtmlTable and HtmlTableRow).
164 * AspGenerator.cs: fixed container semantics to
165 match BindingContainer one. Implemented Inherits attribute for page and
168 Support HtmlControls that has ChildrenAsProperties.
170 Generate code for data binding functions that matches the semantic of
173 Handle data bound and code render attribute values.
175 Set proper value return for TemplateSourceDirectory. Should be relative
178 * BaseCompiler.cs: moved CompilerOptions and
179 References handling here.
181 * CachingCompiler.cs: copy result of compilation.
183 * CompilationException.cs: simple ToString () implementation.
185 * CompilationResult.cs: implemented CopyFrom and ToString.
187 * GlobalAsaxCompiler.cs:
189 * UserControlCompiler.cs: removed CompilerOptions as it's now handled
190 in the base class. Get all the types in the generated assembly and
191 look for one that derives from the correct Type.
193 2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
195 * AspElements.cs: added @Application directive.
197 * AspGenerator.cs: make it work also with application files. We
198 currently generate an extra private function.
200 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
202 * GlobalAsaxCompiler.cs: compiler for global.asax file. If the file
203 exists, it will be compiled into an HttpApplication derived class
204 (directly or through a user-provided class).
206 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
208 * AspGenerator.cs: fixed target file name and generated class name.
209 * BaseCompiler.cs: reference assemblies in PrivateBinPath.
211 2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
213 * AspGenerator.cs: reworked user control
214 compilation. Provide the options as a Hashtable for use in compilation.
215 Create the user controls in the private bin path of the domain.
217 * BaseCompiler.cs: base class for the various compiler types.
219 * CachingCompiler.cs: actually executes mcs and do some poor caching
220 (it will use Cache when finished).
222 * CompilationException.cs: this exception has enough information to
223 generate a nice error page.
224 * CompilationResult.cs: used in caching.
226 * PageCompiler.cs: now derives from BaseCompiler
228 * TemplateFactory.cs: no longer needed.
230 * UserControlCompiler.cs: new class used when compiling user controls.
231 * WebServiceCompiler.cs: derives from BaseCompiler.
233 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
235 * AspElements.cs: added ServerComment class.
236 * AspParser.cs: ignore ServerComments tags. Remove server comments when
241 * PageCompiler.cs: check if the type is already cached before generating
243 * TemplateFactory.cs: if csFile parameter is null, only checks if we
244 already have the page compiled.
246 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
248 * AspGenerator.cs: undo one-liner change.
250 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
252 * AspGenerator.cs: removed a few hacks no longer needed.
254 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
256 * PageCompiler.cs: tracing.
257 * TemplateFactory.cs: cache compiled types and tracing.
258 * WebServiceCompiler.cs: new parameter in GetTypeFromsource,
260 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
262 * AspComponentFoundry.cs: fixed typo.
263 * TemplateFactory.cs: use csc style options.
264 * AspGenerator.cs: don't use FileDependencies property of base class.
266 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
268 * System.Web.Compilation/AspElements.cs:
269 * System.Web.Compilation/AspGenerator.cs:
270 * System.Web.Compilation/AspParser.cs:
271 * System.Web.Compilation/PageCompiler.cs:
272 * System.Web.Compilation/TemplateFactory.cs: we are now able to compile
273 pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
275 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
277 * AspElements.cs: added WebService directive.
278 * WebServiceCompiler.cs: New file.
280 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
282 * PageCompiler.cs: fixed compilation.
284 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
286 * PageCompiler.cs: generate C# file using AspGenerator.
288 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
290 * AspComponentFoundry.cs: LookupFoundry now returns bool.
291 * AspGenerator.cs: New file.
293 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
295 * AspComponentFoundry.cs: New file.
296 * AspElements.cs: renamed Component to Aspcomponent.
298 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
305 * TemplateFactory.cs: first steps to move xsp into System.Web.