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