blob: a47d68099d4f74140140a729661b5ea39fe55ceb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
|
2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: handle code render syntax in tag attributes.
* AspParser.cs: the constructor now takes a TextReader.
* TemplateControlCompiler.cs: removed comment.
2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateControlCompiler.cs: added support for data bound properties.
2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspComponentFoundry.cs: simplified it a lot by using Type and Assembly
instead of their names.
* AspElements.cs: removed. No longer needed.
* AspGenerator.cs: this file is now in charge of interfacing between
the parser and the compiler. It manages the creation of the
ControlBuilder tree and the compilation of the CodeDOM tree.
* AspParser.cs: tag handling is simpler now. Instead of a whole bunch
of different Types, tags are just and id and a set of attributes.
Implement ILocation interface.
* AspTokenizer.cs: added a few methods to help the parser implementing
ILocation.
* BaseCompiler.cs: handles the portions of the CodeDOM tree that are
common to appliaction, page and user control, including the actual
compilation and error handling.
* CSCompiler.cs: compiles C# files using CodeDOM interfaces.
* CachingCompiler.cs: simplified to use the new interfaces.
* CompilationException.cs: it's now using CompilationResult to report
errors.
* CompilationResult.cs: Removed file.
* Directive.cs: to check for the validity of a directive.
* GlobalAsaxCompiler.cs: simplified a lot, as most of the work is done
in BaseCompiler.
* ILocation.cs: interface used to now the exact place where a parse
error happens.
* PageCompiler.cs: generates a couple of methods that are only used in
pages.
* ParseException.cs: use the ILocation interface.
* TagAttributes.cs: handles the attributes of the tags parsed.
* TagType.cs: an enum for the different kinds of tags.
* TemplateControlCompiler.cs: this is the one that does most of the
conversion from teh ControlBuilder tree into a CodeDOM tree.
* UserControlCompiler.cs: simplified as most of the work is done in
its base classes.
* WebServiceCompiler.cs: dummy.
2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspComponentFoundry.cs: added GetComponentType method.
2003-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspTokenizer.cs: allow quotes inside server tags that are part of
attribute values.
* CachingCompiler.cs: no more 'FileNotFound' exceptions when the
compilation fails.
2003-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: generate correct appbase path. It was working with
mcs but not with csc.
* BaseCompiler.cs: quote arguments and removed GetRandomFileName.
* CachingCompiler.cs: quote source file.
2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: now the Inherits attribute works as expected for
global.asax file.
2003-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CompilationException.cs:
* ParseException.cs: display the correct line number in error messages.
* AspElements.cs: added TargetSchema attribute for control. It's
ignored.
2003-03-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BaseCompiler.cs: fixed the hack to work under windows.
* CachingCompiler.cs: under windows, try 'mcs.bat' and then 'mcs'.
2003-03-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BaseCompiler.cs: hacks to work-around our buggy System.Uri.
2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
* BaseCompiler.cs: Removed a FIXME: and added a correct calculation of
app's private bin path
2003-03-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs:
* BaseCompiler.cs:
* CachingCompiler.cs:
* CompilationResult.cs:
* GlobalAsaxCompiler.cs:
* PageCompiler.cs:
* UserControlCompiler.cs: recompile the page if dependencies change.
2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: corrected typo and wrong fix.
2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: fixed code generation for Table/TableRow/TableCell
when used explicitly.
2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspElements.cs: get the property Type for controls that use
ParseChildren with a property name.
* AspGenerator.cs: generate correct signature for the method that
adds controls to the default property in ParseChildren.
2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: rethrow exceptions that may come from parsing or
compilation if a user control.
2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: throw ParseException on parse
error.
* AspParser.cs: added Line and Column props.
* CompilationException.cs: derives now from HtmlizedException.
* CompilationResult.cs: added fileName field. Fixed set_ExitCode.
* GlobalAsaxCompiler.cs:
* PageCompiler.cs:
* UserControlCompiler.cs: pass the file name in the CompilationResult.
* ParseException.cs: new exception.
2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: remove "file://" from the private bin path. Fixes
bug #37628.
2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspParser.cs: the parser fires events when it parses an element.
* GlobalAsaxCompiler.cs:
* PageCompiler.cs:
* UserControlCompiler.cs:
* AspElements.cs: modified to use the new parser interface.
* AspGenerator.cs: modified to use the new parser. Merge multiple text
strings into one single LiteralControl.
* AspTokenizer.cs: added Line and Column properties.
2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspParser.cs: fixed bug #36929.
2003-01-21 Tim Haynes <thaynes@openlinksw.com>
* AspGenerator.cs:
* BaseCompiler.cs:
* CachingCompiler.cs: changes to work around spaces and
directory-separators in the local filesystem.
2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: make the generated file compile with csc after last
change.
2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: removed unused variable. Added support for
properties/fields of type string [].
2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: modified loading of the parent type now that
Type.GetType is fixed.
2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: cast to Control if the container does not implement
INamingContainer.
2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: fixed a couple of thinkos related to IsSubclassOf.
2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspElements.cs: attributes without value lacked a space afterwards.
2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: functions for columns don't return anything. Fixed
typo.
2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: add data bound controls to code render function.
2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspComponentFoundry.cs: reworked to allow same prefix for multiple
controls. You can register 1 assembly plus any number of user controls
under the same prefix.
* AspGenerator.cs: don't add duplicate 'using' for the same namespace.
Hack to allow @Register access to assemblies in other places than bin
directory.
2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspElements.cs: added 'codebehind' attribute for page, control and
application. It's ignored by MS, but allowed. Fixed typo.
2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: fixed EnableSesssionState handling.
2003-01-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: don't generate instance fields for pages/controls
when the base class specified in the Inherits attribute already has
them. Closes bug #36262.
2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: generate code like 'control.XXX = value' also for
public fields (properties were being handled in that way too).
2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: now it uses the current HttpContext when creating
user controls. TemplateSourceDirectory is no longer a dummy value.
* GlobalAsaxCompiler.cs:
* PageCompiler.cs:
* UserControlCompiler.cs: set the context which will be used to locate
the files.
2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: added support for AutoEventWireup attribute in
@Page and @Control.
* CompilationResult.cs:
* GlobalAsaxCompiler.cs:
* PageCompiler.cs:
* UserControlCompiler.cs: store the options.
2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspElements.cs: new method Tag.GetElements
used to parse the inner contents of a tag looking for data binding or
code render tags.
New property HtmlControlTag.ParseChildren allows
differentiation of a couple of HtmlControls that has children as
properties (namely HtmlTable and HtmlTableRow).
* AspGenerator.cs: fixed container semantics to
match BindingContainer one. Implemented Inherits attribute for page and
control.
Support HtmlControls that has ChildrenAsProperties.
Generate code for data binding functions that matches the semantic of
Container.
Handle data bound and code render attribute values.
Set proper value return for TemplateSourceDirectory. Should be relative
to appPath.
* BaseCompiler.cs: moved CompilerOptions and
References handling here.
* CachingCompiler.cs: copy result of compilation.
* CompilationException.cs: simple ToString () implementation.
* CompilationResult.cs: implemented CopyFrom and ToString.
* GlobalAsaxCompiler.cs:
* PageCompiler.cs:
* UserControlCompiler.cs: removed CompilerOptions as it's now handled
in the base class. Get all the types in the generated assembly and
look for one that derives from the correct Type.
2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspElements.cs: added @Application directive.
* AspGenerator.cs: make it work also with application files. We
currently generate an extra private function.
2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* GlobalAsaxCompiler.cs: compiler for global.asax file. If the file
exists, it will be compiled into an HttpApplication derived class
(directly or through a user-provided class).
2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: fixed target file name and generated class name.
* BaseCompiler.cs: reference assemblies in PrivateBinPath.
2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: reworked user control
compilation. Provide the options as a Hashtable for use in compilation.
Create the user controls in the private bin path of the domain.
* BaseCompiler.cs: base class for the various compiler types.
* CachingCompiler.cs: actually executes mcs and do some poor caching
(it will use Cache when finished).
* CompilationException.cs: this exception has enough information to
generate a nice error page.
* CompilationResult.cs: used in caching.
* PageCompiler.cs: now derives from BaseCompiler
* TemplateFactory.cs: no longer needed.
* UserControlCompiler.cs: new class used when compiling user controls.
* WebServiceCompiler.cs: derives from BaseCompiler.
2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspElements.cs: added ServerComment class.
* AspParser.cs: ignore ServerComments tags. Remove server comments when
in verbatim mode.
Fixes #33482.
* PageCompiler.cs: check if the type is already cached before generating
the C# file.
* TemplateFactory.cs: if csFile parameter is null, only checks if we
already have the page compiled.
2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: undo one-liner change.
2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: removed a few hacks no longer needed.
2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* PageCompiler.cs: tracing.
* TemplateFactory.cs: cache compiled types and tracing.
* WebServiceCompiler.cs: new parameter in GetTypeFromsource,
2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspComponentFoundry.cs: fixed typo.
* TemplateFactory.cs: use csc style options.
* AspGenerator.cs: don't use FileDependencies property of base class.
2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.Compilation/AspElements.cs:
* System.Web.Compilation/AspGenerator.cs:
* System.Web.Compilation/AspParser.cs:
* System.Web.Compilation/PageCompiler.cs:
* System.Web.Compilation/TemplateFactory.cs: we are now able to compile
pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspElements.cs: added WebService directive.
* WebServiceCompiler.cs: New file.
2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* PageCompiler.cs: fixed compilation.
2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* PageCompiler.cs: generate C# file using AspGenerator.
2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspComponentFoundry.cs: LookupFoundry now returns bool.
* AspGenerator.cs: New file.
2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspComponentFoundry.cs: New file.
* AspElements.cs: renamed Component to Aspcomponent.
2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspElements.cs:
* AspParser.cs:
* AspTokenizer.cs:
* ChangeLog:
* PageCompiler.cs:
* TemplateFactory.cs: first steps to move xsp into System.Web.
|