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