This commit was manufactured by cvs2svn to create branch 'mono-1-0'.
[mono.git] / mcs / class / System.Web / System.Web.Compilation / ChangeLog
1 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2
3         * AspGenerator.cs: the path for file was treated as virtual, but it's
4         physical. Fixes bug #61524.
5
6 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7
8         * AspParser.cs: fixed case-sensitivity issues with #include and its
9         attributes. Closes #61429.
10
11 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
12
13         * BaseCompiler.cs:
14         * WebServiceCompiler.cs: really create the dlls under DynamicBase
15
16 2004-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
17
18         * TemplateControlCompiler.cs: for system colors, use SystemColors class
19         instead of Color. Fixes bug #60249.
20
21 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
22
23         * BaseCompiler.cs: try getting the Type from the cache before doing the 
24         real work. Remove temporary files right after successful compilation.
25
26         * CachingCompiler.cs: added GetTypeFromCache.
27
28         * UserControlCompiler.cs: nothing interesting.
29
30         * WebServiceCompiler.cs: try getting the Type from the cache before
31         doing anything else. Remove temp files on sucessful compilation.
32
33 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
34
35         * AspGenerator.cs:
36         * CachingCompiler.cs: use a different prefix when caching compiler
37         results or Types.
38
39 2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
40
41         * BaseCompiler.cs: dynamicBase is now protected. Check
42         MONO_ASPNET_NODELETE here.
43
44         * TemplateControlCompiler.cs: if the type is not known but has a 
45         TypeConverter, invoke ConvertFromString in the generated code.
46
47         * WebServiceCompiler.cs: it used a hardcoded C# compiler, now it gets
48         the compiler from the configuration. Also handle MONO_ASPNET_NODELETE.
49
50         * CachingCompiler.cs: updated compilation of web services and simple
51         web handlers.
52
53 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
54
55         * CSCompiler.cs: removed.
56
57         * CachingCompiler.cs: language independent compilation for single files.
58
59 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
60
61         * BaseCompiler.cs:
62         * WebServiceCompiler.cs: adapted to the 'new' CachingCompiler.
63         * CachingCompiler.cs: use HttpRuntime.Cache.
64
65 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
66
67         * PageCompiler.cs: fixed Trace and add support for Buffer.
68
69 2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
70
71         * PageCompiler.cs: override CreateConstructor to add assignment for
72         ClientTarget.
73         
74 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
75
76         * TemplateControlCompiler.cs: use CodeDelegateCreateExpression instead
77         of CodeObjectCreateExpression for the render method delegate. Thanks
78         to Jochen Wezel.
79
80 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
81
82         * BaseCompiler.cs: use DynamicBase for the output assemblies.
83
84 2004-05-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
85
86         * AspGenerator.cs: ObjectTagBuilder do not override HasBody now.
87
88 2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
89
90         * AspParser.cs: indent a few lines.
91         * AspTokenizer.cs: added ungetc() used when we read a '/' in an unquoted
92         attribute value. This way we can simulate reading 2 characters ahead
93         (one in ungetc and the other in Peek) and work with values like
94         text/javascript. Fixes bug #57302.
95
96 2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
97
98         * AspParser.cs: ignore whitespace after directives. Fixes bug #58057.
99
100 2004-04-02  Lluis Sanchez Gual  <lluis@ximian.com>
101
102         * TemplateControlCompiler.cs: Fixed build for net_1_0 profile.
103
104 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
105
106         * GlobalAsaxCompiler.cs: removed Imports and Assemblies properties.
107
108 2004-02-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
109
110         * AspGenerator.cs: error out when <object> server tag is not closed.
111         Ignore any content inside it.
112
113 2004-02-10  Jackson Harper <jackson@ximian.com>
114
115         * AspTokenizer.cs: Collect discarded characters that might be used
116         in client side scripts. Patch by Liyu Liu.
117         * AspParser.cs: Add discarded characters. Patch by Liyu Liu.
118         
119 2004-02-10  Jackson Harper <jackson@ximian.com>
120
121         * BaseCompiler.cs: Use the TempDirectory for compilation. Fixes
122         bug #54117.
123         
124 2004-01-30  Jackson Harper <jackson@ximian.com>
125
126         * TemplateControlCompiler.cs: Call ToString on the types hashcode,
127         the build method takes strings not ints.
128         
129 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
130
131         * AspGenerator.cs: handle more possible errors in global.asax file.
132
133         * BaseCompiler.cs: added utility methods for creating <object> related
134         properties and fields.
135
136         * GlobalAsaxCompiler.cs: keep around applications and session scope
137         objects builders. Also a list of imports and assemblies added in
138         global.asax.
139
140         * TemplateControlCompiler.cs: use base class methods for <object> stuff.
141
142 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
143
144         * AspGenerator.cs: use the Cache to store compiled Types. Don't parse
145         pages more than once. Thanks to Eric Lindvall for pointing this out.
146
147 2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
148
149         * TemplateControlCompiler.cs: allow handling subproperties for other
150         types than Style and Font. Fixes bug #53217.
151
152 2004-01-16  Jackson Harper <jackson@ximian.com>
153
154         * TagAttribute.cs: attributes can be stored as encoded html so we
155         decode them here.
156         
157 2004-01-14  Jackson Harper <jackson@ximian.com>
158
159         * TemplateControlCompiler.cs: Is a user control is cached and
160         shared use the controls type hashcode for the GUID so it will be
161         the same across instances.
162         
163 2004-01-13  Jackson Harper <jackson@ximian.com>
164         
165         * TemplateControlCompiler.cs: If an item has the partial caching
166         attribute build a PartialCachingControl in the parents __Build method.
167         * BaseCompiler.cs: Add a method for adding class attributes to the
168         class.
169         * UserControlCompiler.cs: If caching is enabled on a user control
170         add the PartialCachingAttribute to it.
171         
172 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
173
174         * PageCompiler.cs: invoke Request.ValidateInput if required.
175
176 2004-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
177
178         * AspGenerator.cs: don't rely on GC to close the files parsed. Fixes bug
179         #52521. Patch by liyul@hotmail.com.
180
181 2003-12-25  Jackson Harper <jackson@ximian.com>
182
183         * AspGenerator.cs: Allow scriptlets in javascript. This fixes bug
184         #52522.
185         
186 2003-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
187
188         * PageCompiler.cs: assign the ErrorPage property if provided.
189
190 2003-12-15  Jackson Harper <jackson@ximian.com>
191
192         * PageCompiler.cs: Add Trace and TraceMode to framework initialize
193         method if they are set.
194         
195 2003-12-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
196
197         * AspGenerator.cs: ignore <tbody> when we're inside a server table and
198         fail when runat="server" is applied to <tbody> with a parse error
199         instead of waiting for a compilation error. Fixes bug #52157.
200
201 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
202
203         * AspGenerator.cs: basic checking of ID validity.  Throw a
204         ParseException when mixing languages.
205
206 2003-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
207
208         * PageCompiler.cs: assign LCID, Culture and/or UICulture in
209         FrameworInitialize() if provided in @Page.
210
211         Fixes bug #51511.
212
213 2003-11-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
214
215         * TemplateControlCompiler.cs: support for expressions of
216         System.Drawing.Size type. Allow getting Color from comma separated
217         numbers, which is not allowed by ColorConverter.
218
219         This makes http://www.codeproject.com/aspnet/asppopup.asp work.
220
221 2003-11-13  Jackson Harper <jackson@ximian.com>
222
223         * PageCompiler.cs: Call InitOutputCache when the OutputCache
224         directive is set.
225         
226 2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
227
228         * AspGenerator.cs: use fileEncoding from configuration files.
229
230         * PageCompiler.cs: add assign statements for ContentType,
231         ResponseEncoding and CodePage if supplied.
232
233 2003-10-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
234
235         * TemplateControlCompiler.cs: fix bug #42994. Now we don't generate
236         a return statement for user controls with 'void' return type.
237
238 2003-10-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
239
240         * AspParser.cs: fixed bug #49627.
241
242 2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
243
244         * BaseCompiler.cs: now gets the CodeCompiler from configuration files.
245
246 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
247
248         * Directive.cs: new attribute for @Page directive in 1.1.
249
250 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
251
252         * AspParser.cs:
253         * TagAttributes.cs: allow duplicated runat=server attributes and display
254         error page when duplicated attributes and runat is specified.
255
256 2003-10-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
257
258         * AspTokenizer.cs: moved token numbers above unicode.
259
260 2003-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
261
262         * AspGenerator.cs: don't process code render tags inside scripts. Check
263         the language of the script and treat javascript as verbatim input.
264         Fixes bug #48592.
265
266 2003-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
267
268         * TemplateControlCompiler.cs: fixed bug #48212.
269
270 2003-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
271
272         * WebServiceCompiler.cs: remove the temporary files here too.
273
274 2003-08-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
275
276         * AspGenerator.cs: fixed bug #46429.
277
278 2003-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
279
280         * Directive.cs: support @WebHandler.
281         
282 2003-07-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
283
284         * TemplateControlCompiler.cs: support string []. Fixes bug #46415.
285
286 2003-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
287
288         * BaseCompiler.cs: first look for cached items, then generate the tree.
289         This should speed things up.
290
291         * CachingCompiler.cs: when compiling web services, use the full path of
292         the .asmx file as key when caching.
293
294         * WebServiceCompiler.cs: first look for cached items, then generate
295         the source file.
296
297 2003-07-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
298
299         * AspParser.cs: more useful error information,
300
301         * BaseCompiler.cs:
302         * CachingCompiler.cs: honor the debug="true" option.
303
304         * TemplateControlCompiler.cs: small fixes for templates.
305
306 2003-07-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
307
308         * BaseCompiler.cs: made Compiler property virtual.
309
310         * CachingCompiler.cs: added support for compiling web services.
311
312         * WebServiceCompiler.cs: implemented.
313
314 2003-05-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
315
316         * CachingCompiler.cs: fixed bug #43477.
317
318 2003-05-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
319
320         * AspParser.cs:
321         * AspTokenizer.cs: fixed bugs #43206 and #43371.
322
323 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
324
325         * TemplateControlCompiler.cs: duh! Generate SupportAutoEvents instead
326         of AutoEventWireup (which is internal). Thanks to Stuart Ballard for
327         reporting.
328
329 2003-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
330
331         * CompilationException.cs: don't add duplicated lines in the case that
332         mcs reports several errors for the same one.
333
334 2003-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
335
336         * AspGenerator.cs: fully support including files, ie., treat them just
337         as C treats #includes.
338
339 2003-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
340
341         * AspGenerator.cs:
342         * AspParser.cs:
343         * TagType.cs: Added support for server side includes.
344
345 2003-05-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
346
347         * CSCompiler.cs: actually add the list of referenced assemblies to the
348         compiler options. Throw a CompilationException if there's an error.
349
350         * CachingCompiler.cs: added a method to compile directly from a source
351         file.
352         
353 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
354
355         * AspGenerator.cs: copy the location before setting the value for the
356         control builders.
357
358         * BaseCompiler.cs: changed parameters for CompilationException.
359
360         * CompilationException.cs: it takes now line numbers and error
361         descriptions from the CompilerErrorCollection.
362
363         * Location.cs: used when a copy of an ILocation is needed.
364
365         * ParseException.cs: implemented new methods to provide line numbers
366         and souce file.
367
368         * TemplateControlCompiler.cs: throw a ParseException where appropiate.
369
370 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
371
372         * AspGenerator.cs: also support data bind syntax inside tags not
373         processed as controls. Added debugging method.
374
375         * TemplateControlCompiler.cs: reset the number of data binding handlers 
376         in the proper place. Small fix when getting the container type.
377
378 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
379
380         * TemplateControlCompiler.cs: correctly set the TemplateSourceDirectory 
381         value.
382
383 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
384
385         * AspGenerator.cs: handle code render syntax in tag attributes.
386
387         * AspParser.cs: the constructor now takes a TextReader.
388
389         * TemplateControlCompiler.cs: removed comment.
390
391 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
392
393         * TemplateControlCompiler.cs: added support for data bound properties.
394
395 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
396
397         * AspComponentFoundry.cs: simplified it a lot by using Type and Assembly
398         instead of their names.
399
400         * AspElements.cs: removed. No longer needed.
401
402         * AspGenerator.cs: this file is now in charge of interfacing between
403         the parser and the compiler. It manages the creation of the
404         ControlBuilder tree and the compilation of the CodeDOM tree.
405
406         * AspParser.cs: tag handling is simpler now.  Instead of a whole bunch
407         of different Types, tags are just and id and a set of attributes.
408         Implement ILocation interface.
409         
410         * AspTokenizer.cs: added a few methods to help the parser implementing
411         ILocation.
412
413         * BaseCompiler.cs: handles the portions of the CodeDOM tree that are
414         common to appliaction, page and user control, including the actual
415         compilation and error handling.
416
417         * CSCompiler.cs: compiles C# files using CodeDOM interfaces.
418
419         * CachingCompiler.cs: simplified to use the new interfaces.
420
421         * CompilationException.cs: it's now using CompilationResult to report
422         errors.
423
424         * CompilationResult.cs: Removed file.
425
426         * Directive.cs: to check for the validity of a directive.
427
428         * GlobalAsaxCompiler.cs: simplified a lot, as most of the work is done
429         in BaseCompiler.
430
431         * ILocation.cs: interface used to now the exact place where a parse
432         error happens.
433
434         * PageCompiler.cs: generates a couple of methods that are only used in
435         pages.
436
437         * ParseException.cs: use the ILocation interface.
438
439         * TagAttributes.cs: handles the attributes of the tags parsed.
440
441         * TagType.cs: an enum for the different kinds of tags.
442
443         * TemplateControlCompiler.cs: this is the one that does most of the
444         conversion from teh ControlBuilder tree into a CodeDOM tree.
445
446         * UserControlCompiler.cs: simplified as most of the work is done in
447         its base classes.
448
449         * WebServiceCompiler.cs: dummy.
450
451 2003-04-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
452
453         * AspComponentFoundry.cs: added GetComponentType method.
454
455 2003-03-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
456
457         * AspTokenizer.cs: allow quotes inside server tags that are part of
458         attribute values.
459         
460         * CachingCompiler.cs: no more 'FileNotFound' exceptions when the
461         compilation fails.
462
463 2003-03-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
464
465         * AspGenerator.cs: generate correct appbase path. It was working with
466         mcs but not with csc.
467
468         * BaseCompiler.cs: quote arguments and removed GetRandomFileName.
469
470         * CachingCompiler.cs: quote source file.
471
472 2003-03-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
473
474         * AspGenerator.cs: now the Inherits attribute works as expected for
475         global.asax file.
476
477 2003-03-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
478
479         * CompilationException.cs:
480         * ParseException.cs: display the correct line number in error messages.
481
482         * AspElements.cs: added TargetSchema attribute for control. It's
483         ignored.
484
485 2003-03-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
486
487         * BaseCompiler.cs: fixed the hack to work under windows.
488         * CachingCompiler.cs: under windows, try 'mcs.bat' and then 'mcs'.
489
490 2003-03-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
491
492         * BaseCompiler.cs: hacks to work-around our buggy System.Uri.
493
494 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
495
496         * BaseCompiler.cs: Removed a FIXME: and added a correct calculation of
497         app's private bin path
498
499 2003-03-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
500
501         * AspGenerator.cs:
502         * BaseCompiler.cs:
503         * CachingCompiler.cs:
504         * CompilationResult.cs:
505         * GlobalAsaxCompiler.cs:
506         * PageCompiler.cs:
507         * UserControlCompiler.cs: recompile the page if dependencies change.
508
509 2003-02-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
510
511         * AspGenerator.cs: corrected typo and wrong fix.
512
513 2003-02-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
514
515         * AspGenerator.cs: fixed code generation for Table/TableRow/TableCell
516         when used explicitly.
517
518 2003-02-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
519
520         * AspElements.cs: get the property Type for controls that use
521         ParseChildren with a property name.
522
523         * AspGenerator.cs: generate correct signature for the method that
524         adds controls to the default property in ParseChildren.
525
526 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
527
528         * AspGenerator.cs: rethrow exceptions that may come from parsing or 
529         compilation if a user control.
530
531 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
532
533         * AspGenerator.cs: throw ParseException on parse
534         error.
535
536         * AspParser.cs: added Line and Column props.
537
538         * CompilationException.cs: derives now from HtmlizedException.
539
540         * CompilationResult.cs: added fileName field.  Fixed set_ExitCode.
541
542         * GlobalAsaxCompiler.cs:
543         * PageCompiler.cs:
544         * UserControlCompiler.cs: pass the file name in the CompilationResult.
545
546         * ParseException.cs: new exception.
547
548
549 2003-02-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
550
551         * AspGenerator.cs: remove "file://" from the private bin path. Fixes
552         bug #37628.
553
554 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
555
556         * AspParser.cs: the parser fires events when it parses an element.
557
558         * GlobalAsaxCompiler.cs:
559         * PageCompiler.cs:
560         * UserControlCompiler.cs:
561         * AspElements.cs: modified to use the new parser interface.
562
563         * AspGenerator.cs: modified to use the new parser. Merge multiple text
564         strings into one single LiteralControl.
565
566         * AspTokenizer.cs: added Line and Column properties.
567
568 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
569
570         * AspParser.cs: fixed bug #36929.
571
572 2003-01-21  Tim Haynes <thaynes@openlinksw.com>
573
574         * AspGenerator.cs:
575         * BaseCompiler.cs:
576         * CachingCompiler.cs: changes to work around spaces and
577         directory-separators in the local filesystem.
578
579 2003-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
580
581         * AspGenerator.cs: make the generated file compile with csc after last
582         change.
583
584 2003-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
585
586         * AspGenerator.cs: removed unused variable. Added support for
587         properties/fields of type string [].
588
589 2003-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
590
591         * AspGenerator.cs: modified loading of the parent type now that
592         Type.GetType is fixed.
593
594 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
595
596         * AspGenerator.cs: cast to Control if the container does not implement
597         INamingContainer.
598
599 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
600
601         * AspGenerator.cs: fixed a couple of thinkos related to IsSubclassOf.
602
603 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
604
605         * AspElements.cs: attributes without value lacked a space afterwards.
606
607 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
608
609         * AspGenerator.cs: functions for columns don't return anything. Fixed
610         typo.
611
612 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
613
614         * AspGenerator.cs: add data bound controls to code render function.
615
616 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
617
618         * AspComponentFoundry.cs: reworked to allow same prefix for multiple
619         controls. You can register 1 assembly plus any number of user controls
620         under the same prefix.
621
622         * AspGenerator.cs: don't add duplicate 'using' for the same namespace.
623         Hack to allow @Register access to assemblies in other places than bin
624         directory.
625
626 2003-01-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
627
628         * AspElements.cs: added 'codebehind' attribute for page, control and
629         application. It's ignored by MS, but allowed. Fixed typo.
630
631 2003-01-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
632
633         * AspGenerator.cs: fixed EnableSesssionState handling.
634
635 2003-01-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
636
637         * AspGenerator.cs: don't generate instance fields for pages/controls
638         when the base class specified in the Inherits attribute already has
639         them. Closes bug #36262.
640
641 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
642
643         * AspGenerator.cs: generate code like 'control.XXX = value' also for
644         public fields (properties were being handled in that way too).
645
646 2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
647
648         * AspGenerator.cs: now it uses the current HttpContext when creating
649         user controls. TemplateSourceDirectory is no longer a dummy value.
650
651         * GlobalAsaxCompiler.cs:
652         * PageCompiler.cs:
653         * UserControlCompiler.cs: set the context which will be used to locate
654         the files.
655         
656 2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
657
658         * AspGenerator.cs: added support for AutoEventWireup attribute in
659         @Page and @Control.
660
661         * CompilationResult.cs:
662         * GlobalAsaxCompiler.cs:
663         * PageCompiler.cs:
664         * UserControlCompiler.cs: store the options.
665
666 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
667
668         * AspElements.cs: new method Tag.GetElements
669         used to parse the inner contents of a tag looking for data binding or 
670         code render tags.
671         
672         New property HtmlControlTag.ParseChildren allows
673         differentiation of a couple of HtmlControls that has children as
674         properties (namely HtmlTable and HtmlTableRow).
675
676         * AspGenerator.cs: fixed container semantics to
677         match BindingContainer one. Implemented Inherits attribute for page and
678         control.
679
680         Support HtmlControls that has ChildrenAsProperties.
681         
682         Generate code for data binding functions that matches the semantic of
683         Container.
684
685         Handle data bound and code render attribute values.
686
687         Set proper value return for TemplateSourceDirectory. Should be relative
688         to appPath.
689         
690         * BaseCompiler.cs: moved CompilerOptions and
691         References handling here.
692
693         * CachingCompiler.cs: copy result of compilation.
694
695         * CompilationException.cs: simple ToString () implementation.
696
697         * CompilationResult.cs: implemented CopyFrom and ToString.
698
699         * GlobalAsaxCompiler.cs:
700         * PageCompiler.cs:
701         * UserControlCompiler.cs: removed CompilerOptions as it's now handled
702         in the base class. Get all the types in the generated assembly and
703         look for one that derives from the correct Type.
704         
705 2002-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
706
707         * AspElements.cs: added @Application directive.
708
709         * AspGenerator.cs: make it work also with application files. We
710         currently generate an extra private function.
711
712 2002-11-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
713
714         * GlobalAsaxCompiler.cs: compiler for global.asax file. If the file
715         exists, it will be compiled into an HttpApplication derived class
716         (directly or through a user-provided class).
717
718 2002-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
719
720         * AspGenerator.cs: fixed target file name and generated class name.
721         * BaseCompiler.cs: reference assemblies in PrivateBinPath.
722
723 2002-11-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
724
725         * AspGenerator.cs: reworked user control
726         compilation. Provide the options as a Hashtable for use in compilation.
727         Create the user controls in the private bin path of the domain.
728
729         * BaseCompiler.cs: base class for the various compiler types.
730
731         * CachingCompiler.cs: actually executes mcs and do some poor caching
732         (it will use Cache when finished).
733
734         * CompilationException.cs: this exception has enough information to
735         generate a nice error page.
736         * CompilationResult.cs: used in caching.
737
738         * PageCompiler.cs: now derives from BaseCompiler
739
740         * TemplateFactory.cs: no longer needed.
741
742         * UserControlCompiler.cs: new class used when compiling user controls.
743         * WebServiceCompiler.cs: derives from BaseCompiler.
744
745 2002-11-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
746
747         * AspElements.cs: added ServerComment class.
748         * AspParser.cs: ignore ServerComments tags. Remove server comments when 
749         in verbatim mode.
750
751         Fixes #33482.
752
753         * PageCompiler.cs: check if the type is already cached before generating
754         the C# file.
755         * TemplateFactory.cs: if csFile parameter is null, only checks if we
756         already have the page compiled.
757
758 2002-11-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
759
760         * AspGenerator.cs: undo one-liner change.
761
762 2002-10-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
763
764         * AspGenerator.cs: removed a few hacks no longer needed.
765
766 2002-10-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
767
768         * PageCompiler.cs: tracing.
769         * TemplateFactory.cs: cache compiled types and tracing.
770         * WebServiceCompiler.cs: new parameter in GetTypeFromsource,
771
772 2002-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
773
774         * AspComponentFoundry.cs: fixed typo.
775         * TemplateFactory.cs: use csc style options.
776         * AspGenerator.cs: don't use FileDependencies property of base class.
777
778 2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
779
780         * System.Web.Compilation/AspElements.cs:
781         * System.Web.Compilation/AspGenerator.cs:
782         * System.Web.Compilation/AspParser.cs:
783         * System.Web.Compilation/PageCompiler.cs:
784         * System.Web.Compilation/TemplateFactory.cs: we are now able to compile
785         pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
786
787 2002-09-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
788
789         * AspElements.cs: added WebService directive.
790         * WebServiceCompiler.cs: New file.
791
792 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
793
794         * PageCompiler.cs: fixed compilation.
795
796 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
797
798         * PageCompiler.cs: generate C# file using AspGenerator.
799
800 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
801
802         * AspComponentFoundry.cs: LookupFoundry now returns bool.
803         * AspGenerator.cs: New file.
804
805 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
806
807         * AspComponentFoundry.cs: New file.
808         * AspElements.cs: renamed Component to Aspcomponent.
809
810 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
811
812         * AspElements.cs:
813         * AspParser.cs:
814         * AspTokenizer.cs:
815         * ChangeLog:
816         * PageCompiler.cs:
817         * TemplateFactory.cs: first steps to move xsp into System.Web.
818