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