1 2003-03-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * BaseCompiler.cs: fixed the hack to work under windows.
4 * CachingCompiler.cs: under windows, try 'mcs.bat' and then 'mcs'.
6 2003-03-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8 * BaseCompiler.cs: hacks to work-around our buggy System.Uri.
10 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
12 * BaseCompiler.cs: Removed a FIXME: and added a correct calculation of
13 app's private bin path
15 2003-03-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
20 * CompilationResult.cs:
21 * GlobalAsaxCompiler.cs:
23 * UserControlCompiler.cs: recompile the page if dependencies change.
25 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
27 * AspGenerator.cs: corrected typo and wrong fix.
29 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
31 * AspGenerator.cs: fixed code generation for Table/TableRow/TableCell
34 2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
36 * AspElements.cs: get the property Type for controls that use
37 ParseChildren with a property name.
39 * AspGenerator.cs: generate correct signature for the method that
40 adds controls to the default property in ParseChildren.
42 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
44 * AspGenerator.cs: rethrow exceptions that may come from parsing or
45 compilation if a user control.
47 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
49 * AspGenerator.cs: throw ParseException on parse
52 * AspParser.cs: added Line and Column props.
54 * CompilationException.cs: derives now from HtmlizedException.
56 * CompilationResult.cs: added fileName field. Fixed set_ExitCode.
58 * GlobalAsaxCompiler.cs:
60 * UserControlCompiler.cs: pass the file name in the CompilationResult.
62 * ParseException.cs: new exception.
65 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
67 * AspGenerator.cs: remove "file://" from the private bin path. Fixes
70 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
72 * AspParser.cs: the parser fires events when it parses an element.
74 * GlobalAsaxCompiler.cs:
76 * UserControlCompiler.cs:
77 * AspElements.cs: modified to use the new parser interface.
79 * AspGenerator.cs: modified to use the new parser. Merge multiple text
80 strings into one single LiteralControl.
82 * AspTokenizer.cs: added Line and Column properties.
84 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
86 * AspParser.cs: fixed bug #36929.
88 2003-01-21 Tim Haynes <thaynes@openlinksw.com>
92 * CachingCompiler.cs: changes to work around spaces and
93 directory-separators in the local filesystem.
95 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
97 * AspGenerator.cs: make the generated file compile with csc after last
100 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
102 * AspGenerator.cs: removed unused variable. Added support for
103 properties/fields of type string [].
105 2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
107 * AspGenerator.cs: modified loading of the parent type now that
108 Type.GetType is fixed.
110 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
112 * AspGenerator.cs: cast to Control if the container does not implement
115 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
117 * AspGenerator.cs: fixed a couple of thinkos related to IsSubclassOf.
119 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
121 * AspElements.cs: attributes without value lacked a space afterwards.
123 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
125 * AspGenerator.cs: functions for columns don't return anything. Fixed
128 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
130 * AspGenerator.cs: add data bound controls to code render function.
132 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
134 * AspComponentFoundry.cs: reworked to allow same prefix for multiple
135 controls. You can register 1 assembly plus any number of user controls
136 under the same prefix.
138 * AspGenerator.cs: don't add duplicate 'using' for the same namespace.
139 Hack to allow @Register access to assemblies in other places than bin
142 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
144 * AspElements.cs: added 'codebehind' attribute for page, control and
145 application. It's ignored by MS, but allowed. Fixed typo.
147 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
149 * AspGenerator.cs: fixed EnableSesssionState handling.
151 2003-01-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
153 * AspGenerator.cs: don't generate instance fields for pages/controls
154 when the base class specified in the Inherits attribute already has
155 them. Closes bug #36262.
157 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
159 * AspGenerator.cs: generate code like 'control.XXX = value' also for
160 public fields (properties were being handled in that way too).
162 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
164 * AspGenerator.cs: now it uses the current HttpContext when creating
165 user controls. TemplateSourceDirectory is no longer a dummy value.
167 * GlobalAsaxCompiler.cs:
169 * UserControlCompiler.cs: set the context which will be used to locate
172 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
174 * AspGenerator.cs: added support for AutoEventWireup attribute in
177 * CompilationResult.cs:
178 * GlobalAsaxCompiler.cs:
180 * UserControlCompiler.cs: store the options.
182 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
184 * AspElements.cs: new method Tag.GetElements
185 used to parse the inner contents of a tag looking for data binding or
188 New property HtmlControlTag.ParseChildren allows
189 differentiation of a couple of HtmlControls that has children as
190 properties (namely HtmlTable and HtmlTableRow).
192 * AspGenerator.cs: fixed container semantics to
193 match BindingContainer one. Implemented Inherits attribute for page and
196 Support HtmlControls that has ChildrenAsProperties.
198 Generate code for data binding functions that matches the semantic of
201 Handle data bound and code render attribute values.
203 Set proper value return for TemplateSourceDirectory. Should be relative
206 * BaseCompiler.cs: moved CompilerOptions and
207 References handling here.
209 * CachingCompiler.cs: copy result of compilation.
211 * CompilationException.cs: simple ToString () implementation.
213 * CompilationResult.cs: implemented CopyFrom and ToString.
215 * GlobalAsaxCompiler.cs:
217 * UserControlCompiler.cs: removed CompilerOptions as it's now handled
218 in the base class. Get all the types in the generated assembly and
219 look for one that derives from the correct Type.
221 2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
223 * AspElements.cs: added @Application directive.
225 * AspGenerator.cs: make it work also with application files. We
226 currently generate an extra private function.
228 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
230 * GlobalAsaxCompiler.cs: compiler for global.asax file. If the file
231 exists, it will be compiled into an HttpApplication derived class
232 (directly or through a user-provided class).
234 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
236 * AspGenerator.cs: fixed target file name and generated class name.
237 * BaseCompiler.cs: reference assemblies in PrivateBinPath.
239 2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
241 * AspGenerator.cs: reworked user control
242 compilation. Provide the options as a Hashtable for use in compilation.
243 Create the user controls in the private bin path of the domain.
245 * BaseCompiler.cs: base class for the various compiler types.
247 * CachingCompiler.cs: actually executes mcs and do some poor caching
248 (it will use Cache when finished).
250 * CompilationException.cs: this exception has enough information to
251 generate a nice error page.
252 * CompilationResult.cs: used in caching.
254 * PageCompiler.cs: now derives from BaseCompiler
256 * TemplateFactory.cs: no longer needed.
258 * UserControlCompiler.cs: new class used when compiling user controls.
259 * WebServiceCompiler.cs: derives from BaseCompiler.
261 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
263 * AspElements.cs: added ServerComment class.
264 * AspParser.cs: ignore ServerComments tags. Remove server comments when
269 * PageCompiler.cs: check if the type is already cached before generating
271 * TemplateFactory.cs: if csFile parameter is null, only checks if we
272 already have the page compiled.
274 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
276 * AspGenerator.cs: undo one-liner change.
278 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
280 * AspGenerator.cs: removed a few hacks no longer needed.
282 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
284 * PageCompiler.cs: tracing.
285 * TemplateFactory.cs: cache compiled types and tracing.
286 * WebServiceCompiler.cs: new parameter in GetTypeFromsource,
288 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
290 * AspComponentFoundry.cs: fixed typo.
291 * TemplateFactory.cs: use csc style options.
292 * AspGenerator.cs: don't use FileDependencies property of base class.
294 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
296 * System.Web.Compilation/AspElements.cs:
297 * System.Web.Compilation/AspGenerator.cs:
298 * System.Web.Compilation/AspParser.cs:
299 * System.Web.Compilation/PageCompiler.cs:
300 * System.Web.Compilation/TemplateFactory.cs: we are now able to compile
301 pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
303 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
305 * AspElements.cs: added WebService directive.
306 * WebServiceCompiler.cs: New file.
308 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
310 * PageCompiler.cs: fixed compilation.
312 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
314 * PageCompiler.cs: generate C# file using AspGenerator.
316 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
318 * AspComponentFoundry.cs: LookupFoundry now returns bool.
319 * AspGenerator.cs: New file.
321 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
323 * AspComponentFoundry.cs: New file.
324 * AspElements.cs: renamed Component to Aspcomponent.
326 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
333 * TemplateFactory.cs: first steps to move xsp into System.Web.