1 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * AspParser.cs: the parser fires events when it parses an element.
5 * GlobalAsaxCompiler.cs:
7 * UserControlCompiler.cs:
8 * AspElements.cs: modified to use the new parser interface.
10 * AspGenerator.cs: modified to use the new parser. Merge multiple text
11 strings into one single LiteralControl.
13 * AspTokenizer.cs: added Line and Column properties.
15 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
17 * AspParser.cs: fixed bug #36929.
19 2003-01-21 Tim Haynes <thaynes@openlinksw.com>
23 * CachingCompiler.cs: changes to work around spaces and
24 directory-separators in the local filesystem.
26 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
28 * AspGenerator.cs: make the generated file compile with csc after last
31 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
33 * AspGenerator.cs: removed unused variable. Added support for
34 properties/fields of type string [].
36 2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
38 * AspGenerator.cs: modified loading of the parent type now that
39 Type.GetType is fixed.
41 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
43 * AspGenerator.cs: cast to Control if the container does not implement
46 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
48 * AspGenerator.cs: fixed a couple of thinkos related to IsSubclassOf.
50 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
52 * AspElements.cs: attributes without value lacked a space afterwards.
54 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
56 * AspGenerator.cs: functions for columns don't return anything. Fixed
59 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
61 * AspGenerator.cs: add data bound controls to code render function.
63 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
65 * AspComponentFoundry.cs: reworked to allow same prefix for multiple
66 controls. You can register 1 assembly plus any number of user controls
67 under the same prefix.
69 * AspGenerator.cs: don't add duplicate 'using' for the same namespace.
70 Hack to allow @Register access to assemblies in other places than bin
73 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
75 * AspElements.cs: added 'codebehind' attribute for page, control and
76 application. It's ignored by MS, but allowed. Fixed typo.
78 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
80 * AspGenerator.cs: fixed EnableSesssionState handling.
82 2003-01-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
84 * AspGenerator.cs: don't generate instance fields for pages/controls
85 when the base class specified in the Inherits attribute already has
86 them. Closes bug #36262.
88 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
90 * AspGenerator.cs: generate code like 'control.XXX = value' also for
91 public fields (properties were being handled in that way too).
93 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
95 * AspGenerator.cs: now it uses the current HttpContext when creating
96 user controls. TemplateSourceDirectory is no longer a dummy value.
98 * GlobalAsaxCompiler.cs:
100 * UserControlCompiler.cs: set the context which will be used to locate
103 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
105 * AspGenerator.cs: added support for AutoEventWireup attribute in
108 * CompilationResult.cs:
109 * GlobalAsaxCompiler.cs:
111 * UserControlCompiler.cs: store the options.
113 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
115 * AspElements.cs: new method Tag.GetElements
116 used to parse the inner contents of a tag looking for data binding or
119 New property HtmlControlTag.ParseChildren allows
120 differentiation of a couple of HtmlControls that has children as
121 properties (namely HtmlTable and HtmlTableRow).
123 * AspGenerator.cs: fixed container semantics to
124 match BindingContainer one. Implemented Inherits attribute for page and
127 Support HtmlControls that has ChildrenAsProperties.
129 Generate code for data binding functions that matches the semantic of
132 Handle data bound and code render attribute values.
134 Set proper value return for TemplateSourceDirectory. Should be relative
137 * BaseCompiler.cs: moved CompilerOptions and
138 References handling here.
140 * CachingCompiler.cs: copy result of compilation.
142 * CompilationException.cs: simple ToString () implementation.
144 * CompilationResult.cs: implemented CopyFrom and ToString.
146 * GlobalAsaxCompiler.cs:
148 * UserControlCompiler.cs: removed CompilerOptions as it's now handled
149 in the base class. Get all the types in the generated assembly and
150 look for one that derives from the correct Type.
152 2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
154 * AspElements.cs: added @Application directive.
156 * AspGenerator.cs: make it work also with application files. We
157 currently generate an extra private function.
159 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
161 * GlobalAsaxCompiler.cs: compiler for global.asax file. If the file
162 exists, it will be compiled into an HttpApplication derived class
163 (directly or through a user-provided class).
165 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
167 * AspGenerator.cs: fixed target file name and generated class name.
168 * BaseCompiler.cs: reference assemblies in PrivateBinPath.
170 2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
172 * AspGenerator.cs: reworked user control
173 compilation. Provide the options as a Hashtable for use in compilation.
174 Create the user controls in the private bin path of the domain.
176 * BaseCompiler.cs: base class for the various compiler types.
178 * CachingCompiler.cs: actually executes mcs and do some poor caching
179 (it will use Cache when finished).
181 * CompilationException.cs: this exception has enough information to
182 generate a nice error page.
183 * CompilationResult.cs: used in caching.
185 * PageCompiler.cs: now derives from BaseCompiler
187 * TemplateFactory.cs: no longer needed.
189 * UserControlCompiler.cs: new class used when compiling user controls.
190 * WebServiceCompiler.cs: derives from BaseCompiler.
192 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
194 * AspElements.cs: added ServerComment class.
195 * AspParser.cs: ignore ServerComments tags. Remove server comments when
200 * PageCompiler.cs: check if the type is already cached before generating
202 * TemplateFactory.cs: if csFile parameter is null, only checks if we
203 already have the page compiled.
205 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
207 * AspGenerator.cs: undo one-liner change.
209 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
211 * AspGenerator.cs: removed a few hacks no longer needed.
213 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
215 * PageCompiler.cs: tracing.
216 * TemplateFactory.cs: cache compiled types and tracing.
217 * WebServiceCompiler.cs: new parameter in GetTypeFromsource,
219 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
221 * AspComponentFoundry.cs: fixed typo.
222 * TemplateFactory.cs: use csc style options.
223 * AspGenerator.cs: don't use FileDependencies property of base class.
225 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
227 * System.Web.Compilation/AspElements.cs:
228 * System.Web.Compilation/AspGenerator.cs:
229 * System.Web.Compilation/AspParser.cs:
230 * System.Web.Compilation/PageCompiler.cs:
231 * System.Web.Compilation/TemplateFactory.cs: we are now able to compile
232 pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
234 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
236 * AspElements.cs: added WebService directive.
237 * WebServiceCompiler.cs: New file.
239 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
241 * PageCompiler.cs: fixed compilation.
243 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
245 * PageCompiler.cs: generate C# file using AspGenerator.
247 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
249 * AspComponentFoundry.cs: LookupFoundry now returns bool.
250 * AspGenerator.cs: New file.
252 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
254 * AspComponentFoundry.cs: New file.
255 * AspElements.cs: renamed Component to Aspcomponent.
257 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
264 * TemplateFactory.cs: first steps to move xsp into System.Web.