2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web.Compilation / ChangeLog
1 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2
3         * AspGenerator.cs: rethrow exceptions that may can from parsing or 
4         compilation if a user control.
5
6 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7
8         * AspGenerator.cs: throw ParseException on parse
9         error.
10
11         * AspParser.cs: added Line and Column props.
12
13         * CompilationException.cs: derives now from HtmlizedException.
14
15         * CompilationResult.cs: added fileName field.  Fixed set_ExitCode.
16
17         * GlobalAsaxCompiler.cs:
18         * PageCompiler.cs:
19         * UserControlCompiler.cs: pass the file name in the CompilationResult.
20
21         * ParseException.cs: new exception.
22
23
24 2003-02-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
25
26         * AspGenerator.cs: remove "file://" from the private bin path. Fixes
27         bug #37628.
28
29 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
30
31         * AspParser.cs: the parser fires events when it parses an element.
32
33         * GlobalAsaxCompiler.cs:
34         * PageCompiler.cs:
35         * UserControlCompiler.cs:
36         * AspElements.cs: modified to use the new parser interface.
37
38         * AspGenerator.cs: modified to use the new parser. Merge multiple text
39         strings into one single LiteralControl.
40
41         * AspTokenizer.cs: added Line and Column properties.
42
43 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
44
45         * AspParser.cs: fixed bug #36929.
46
47 2003-01-21  Tim Haynes <thaynes@openlinksw.com>
48
49         * AspGenerator.cs:
50         * BaseCompiler.cs:
51         * CachingCompiler.cs: changes to work around spaces and
52         directory-separators in the local filesystem.
53
54 2003-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
55
56         * AspGenerator.cs: make the generated file compile with csc after last
57         change.
58
59 2003-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
60
61         * AspGenerator.cs: removed unused variable. Added support for
62         properties/fields of type string [].
63
64 2003-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
65
66         * AspGenerator.cs: modified loading of the parent type now that
67         Type.GetType is fixed.
68
69 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
70
71         * AspGenerator.cs: cast to Control if the container does not implement
72         INamingContainer.
73
74 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
75
76         * AspGenerator.cs: fixed a couple of thinkos related to IsSubclassOf.
77
78 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
79
80         * AspElements.cs: attributes without value lacked a space afterwards.
81
82 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
83
84         * AspGenerator.cs: functions for columns don't return anything. Fixed
85         typo.
86
87 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
88
89         * AspGenerator.cs: add data bound controls to code render function.
90
91 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
92
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.
96
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
99         directory.
100
101 2003-01-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
102
103         * AspElements.cs: added 'codebehind' attribute for page, control and
104         application. It's ignored by MS, but allowed. Fixed typo.
105
106 2003-01-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
107
108         * AspGenerator.cs: fixed EnableSesssionState handling.
109
110 2003-01-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
111
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.
115
116 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
117
118         * AspGenerator.cs: generate code like 'control.XXX = value' also for
119         public fields (properties were being handled in that way too).
120
121 2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
122
123         * AspGenerator.cs: now it uses the current HttpContext when creating
124         user controls. TemplateSourceDirectory is no longer a dummy value.
125
126         * GlobalAsaxCompiler.cs:
127         * PageCompiler.cs:
128         * UserControlCompiler.cs: set the context which will be used to locate
129         the files.
130         
131 2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
132
133         * AspGenerator.cs: added support for AutoEventWireup attribute in
134         @Page and @Control.
135
136         * CompilationResult.cs:
137         * GlobalAsaxCompiler.cs:
138         * PageCompiler.cs:
139         * UserControlCompiler.cs: store the options.
140
141 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
142
143         * AspElements.cs: new method Tag.GetElements
144         used to parse the inner contents of a tag looking for data binding or 
145         code render tags.
146         
147         New property HtmlControlTag.ParseChildren allows
148         differentiation of a couple of HtmlControls that has children as
149         properties (namely HtmlTable and HtmlTableRow).
150
151         * AspGenerator.cs: fixed container semantics to
152         match BindingContainer one. Implemented Inherits attribute for page and
153         control.
154
155         Support HtmlControls that has ChildrenAsProperties.
156         
157         Generate code for data binding functions that matches the semantic of
158         Container.
159
160         Handle data bound and code render attribute values.
161
162         Set proper value return for TemplateSourceDirectory. Should be relative
163         to appPath.
164         
165         * BaseCompiler.cs: moved CompilerOptions and
166         References handling here.
167
168         * CachingCompiler.cs: copy result of compilation.
169
170         * CompilationException.cs: simple ToString () implementation.
171
172         * CompilationResult.cs: implemented CopyFrom and ToString.
173
174         * GlobalAsaxCompiler.cs:
175         * PageCompiler.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.
179         
180 2002-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
181
182         * AspElements.cs: added @Application directive.
183
184         * AspGenerator.cs: make it work also with application files. We
185         currently generate an extra private function.
186
187 2002-11-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
188
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).
192
193 2002-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
194
195         * AspGenerator.cs: fixed target file name and generated class name.
196         * BaseCompiler.cs: reference assemblies in PrivateBinPath.
197
198 2002-11-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
199
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.
203
204         * BaseCompiler.cs: base class for the various compiler types.
205
206         * CachingCompiler.cs: actually executes mcs and do some poor caching
207         (it will use Cache when finished).
208
209         * CompilationException.cs: this exception has enough information to
210         generate a nice error page.
211         * CompilationResult.cs: used in caching.
212
213         * PageCompiler.cs: now derives from BaseCompiler
214
215         * TemplateFactory.cs: no longer needed.
216
217         * UserControlCompiler.cs: new class used when compiling user controls.
218         * WebServiceCompiler.cs: derives from BaseCompiler.
219
220 2002-11-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
221
222         * AspElements.cs: added ServerComment class.
223         * AspParser.cs: ignore ServerComments tags. Remove server comments when 
224         in verbatim mode.
225
226         Fixes #33482.
227
228         * PageCompiler.cs: check if the type is already cached before generating
229         the C# file.
230         * TemplateFactory.cs: if csFile parameter is null, only checks if we
231         already have the page compiled.
232
233 2002-11-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
234
235         * AspGenerator.cs: undo one-liner change.
236
237 2002-10-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
238
239         * AspGenerator.cs: removed a few hacks no longer needed.
240
241 2002-10-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
242
243         * PageCompiler.cs: tracing.
244         * TemplateFactory.cs: cache compiled types and tracing.
245         * WebServiceCompiler.cs: new parameter in GetTypeFromsource,
246
247 2002-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
248
249         * AspComponentFoundry.cs: fixed typo.
250         * TemplateFactory.cs: use csc style options.
251         * AspGenerator.cs: don't use FileDependencies property of base class.
252
253 2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
254
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.
261
262 2002-09-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
263
264         * AspElements.cs: added WebService directive.
265         * WebServiceCompiler.cs: New file.
266
267 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
268
269         * PageCompiler.cs: fixed compilation.
270
271 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
272
273         * PageCompiler.cs: generate C# file using AspGenerator.
274
275 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
276
277         * AspComponentFoundry.cs: LookupFoundry now returns bool.
278         * AspGenerator.cs: New file.
279
280 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
281
282         * AspComponentFoundry.cs: New file.
283         * AspElements.cs: renamed Component to Aspcomponent.
284
285 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
286
287         * AspElements.cs:
288         * AspParser.cs:
289         * AspTokenizer.cs:
290         * ChangeLog:
291         * PageCompiler.cs:
292         * TemplateFactory.cs: first steps to move xsp into System.Web.
293