2007-03-13 Jonathan Chambers <joncham@gmail.com>
[mono.git] / mcs / class / System.Web / System.Web.Compilation / ChangeLog
1 2007-03-13  Marek Habersack  <mhabersack@novell.com>
2
3         * PageThemeCompiler.cs: let property builders through, stop the
4         builders that have no control type. Fixes bug #81092
5
6         * PageCompiler.cs: interfaces are to be implemented by the parent
7         partial class, not the generated one.
8
9         * AppResourceFilesCollection.cs: added separate constructor for
10         local resources handling.
11
12         * TemplateControlCompiler.cs: request the local resource object
13         with proper virtual path.
14         Put field declarations for controls in the partial class.
15         Make sure builders are in valid state before trying to use them.
16
17         * BaseCompiler.cs: added code to assing AppRelativeVirtualPath
18         property in the page/control constructor.
19         Change the generated code model for pages/controls to comply with
20         the way MS.NET does (partial class contains only two properties
21         plus declarations of all the controls, the actual control/page
22         class inherits from the partial class). Fixes bug #81001.
23
24         * AppResourcesCompiler.cs: does not require specifying manually
25         whether it's a global or local resource compiler anymore. New
26         constructors take care of that.
27         Changed to compile local resources on demand, when a control/page
28         is parsed.
29
30 2007-03-12  Marek Habersack  <mhabersack@novell.com>
31
32         * AspParser.cs: revert r73587 as it breaks more than it fixes.
33
34         * AspComponentFoundry.cs: try to register foundries from App_Code
35         assemblies if tag prefix and its namespace are defined. Fixes bug
36         #78797.
37
38         * BuildManager.cs, BaseCompiler.cs: CodeAssemblies is a collection
39         of Assembly instances, not strings.
40
41         * CachingCompiler.cs: make sure items in the CodeAssemblies and
42         TopLevelAssemblies are really instances of the Assembly class
43         before trying to use them.
44         CodeAssemblies is a collection of Assembly instances, not
45         strings.
46
47         * AppCodeCompiler.cs: on MS.NET CodeAssemblies is a collection of
48         assemblies, not paths to assemblies.
49
50 2007-03-10  Marek Habersack  <mhabersack@novell.com>
51
52         * PageCompiler.cs, BaseCompiler.cs: refactoring: moved the
53         CreateProfileProperty and InternalCreatePageProperty to
54         BaseCompiler from PageCompiler.
55
56         * GlobalAsaxCompiler.cs: generate the Profile property for the
57         Global_asax class.
58
59 2007-03-09  Marek Habersack  <mhabersack@novell.com>
60
61         * AppCodeCompiler.cs: Add the GetProfile method to the
62         ProfileCommon auto-generated class.
63
64         * AppResourcesCompiler.cs: attempt to load the resource file
65         earlier in the process, to gracefully handle empty files.
66
67         * ThemeDirectoryCompiler.cs: make compiled themes depend on the
68         .skin and .css files composing the theme.
69
70 2007-03-05  Marek Habersack  <mhabersack@novell.com>
71
72         * PageThemeCompiler.cs: Use correct theme path for
73         AppRelativeTemplateSourceDirectory.
74         Do not process builders of type CodeRenderBuilder.
75         Make sure builder.ControlType is not null before depending on it.
76
77         * ThemeDirectoryCompiler.cs: theme parser should be passed the
78         virtual directory of the theme.
79
80 2007-03-03  Marek Habersack  <mhabersack@novell.com>
81
82         * PageCompiler.cs: Added support for setting the
83         MaintainScrollPositionOnPostBack property if the corresponding
84         page directive attribute is found.
85
86         * Directive.cs: added the MaintainScrollPositionOnPostBack and
87         LinePragmas directives.
88
89 2007-03-02  Marek Habersack  <grendello@gmail.com>
90
91         * AppCodeCompiler.cs: Correctly process App_Code directories which
92         have no compilable files in the top-level directory. Fixes bug
93         #80998.
94         Write preservation files for the App_Code assemblies.
95
96 2007-03-01  Marek Habersack  <grendello@gmail.com>
97
98         * AspParser.cs: fix GetVerbatim for cases when the end is
99         e.g. --> or --%> and the string matched is ---> or ---%>
100         respectively. The new code always backs out to make sure the end is
101         matched correctly.
102
103 2007-02-27  Marek Habersack  <grendello@gmail.com>
104
105         * TemplateControlCompiler.cs: ParseExpression returns an object,
106         don't assume any concrete type.
107         Use the current culture when converting the expression to a
108         string.
109
110         * ConnectionStringsExpressionBuilder.cs: Implement support for
111         expressions of the <%$ ConnectionStrings:StringName %> form
112
113 2007-02-19  Marek Habersack  <grendello@gmail.com>
114
115         * ResourceExpressionBuilder.cs: Do not prepend the .Resources prefix here
116
117 2007-02-16  Marek Habersack  <grendello@gmail.com>
118
119         * CachingCompiler.cs, BaseCompiler.cs: Make sure that no assembly
120         is referenced twice by the compiler(s).
121
122         * TemplateControlCompiler.cs: Fix the problem with cultures which
123         have a comma as their decimal separator and font/whatever
124         units. New code does not reparse the text representation of the
125         unit on the runtime (e.g. 0.9em) but instead it constructs the
126         property using the FontUnit/Unit constructors which take,
127         respectively, Unit and double/unittype parameters. This avoids
128         culture-specific parsing.
129         Also fix converting from invariant strings in a culture-aware
130         environment (e.g. in a page that uses Culture="auto") during the
131         page parsing phase.
132
133 2007-02-12  Marek Habersack  <grendello@gmail.com>
134
135         * PreservationFile.cs: Support preservation (assembly mapping)
136         files (the ones with .compiled extension in the ASP.NET temporary
137         directory). This one implements a loader/saver class.
138
139         * AppResourcesCompiler.cs: support for assembly name mapping.
140
141         * AppCodeCompiler.cs: support for assembly name mapping.
142
143 2007-02-08  Marek Habersack  <grendello@gmail.com>
144
145         * TemplateControlCompiler.cs: Fix TemplateSourceDirectory.
146
147         * AspComponentFoundry.cs: Avoid duplicate control registration
148         exception.
149
150         * ResourceExpressionBuilder.cs: Make sure all the global resources
151         are looked up using the "Resources." prefix.
152
153         * AppResourcesCompiler.cs: Make sure all the global resources are
154         embedded with the "Resources." prefix.
155
156 2007-02-02  Marek Habersack  <grendello@gmail.com>
157
158         * AspGenerator.cs: Move the cache insert code to a separate method, for
159         use from other places.
160
161         * AspComponentFoundry.cs: Register controls mentioned in web.config, but
162         defer their compilation to the moment when they are actually requested.
163
164 2007-01-22  Marek Habersack  <grendello@gmail.com>
165
166         * ThemeDirectoryCompiler.cs: Make sure the code works for empty themes.
167
168 2007-01-20  Miguel de Icaza  <miguel@novell.com>
169
170         * ClientBuildManager.cs: Remove unused variable (this could be a
171         real problem, we never use the appPhysicalTargetDir) 
172
173         * AssemblyBuilder.cs: Remove unused field.
174
175         * AppResourceFilesCollection.cs: Remove unused field.
176
177         * TemplateControlCompiler.cs (GetExpressionFromString): Remove
178         unused variable. 
179
180         * AppResourcesCompiler.cs: Remove unused variable.
181
182         * AppSettingsExpressionBuilder.cs (GetAppSetting): remove unused
183         parameter. 
184
185         * PageCompiler.cs: Put InternalCreatePageProperty inside the
186         NET_2_0 block to eliminate warnings.
187
188 2007-01-20  Gert Driesen  <drieseng@users.sourceforge.net>
189
190         * BaseCompiler.cs: Fixed build on 1.0 profile.
191
192 2007-01-20  Marek Habersack  <grendello@gmail.com>
193
194         * BaseCompiler.cs: If the control base type is in the root
195         namespace, make sure global:: is prepended to it.
196
197         * TemplateControlCompiler.cs: AutoHandlers is obsolete in 2.0,
198         mark it as such in the generated code as well.  
199
200         * AppCodeCompiler.cs: Include debug information if configured in
201         web.config. Fixes bug #80096.
202
203 2007-01-17  Marek Habersack  <grendello@gmail.com>
204
205         * AppCodeCompiler.cs: Reference toplevel assemblies (at this stage
206         App_GlobalResources) when compiling App_Code sources.
207
208         * CachingCompiler.cs: Reference toplevel assemblies when compiling
209         e.g. Global.asax
210
211         * AppResourcesCompiler.cs: Close the streams properly.
212
213         * AspGenerator.cs: Don't ignore thead/tbody anymore.
214
215 2007-01-15  Marek Habersack  <grendello@gmail.com>
216
217         * WsdlBuildProvider.cs: New build provider for WSDL files.
218         Compile only when System.Web.Services are present.
219
220         * TemplateControlCompiler.cs: Forgotten in the previous commit -
221         don't pass the current culture to GetLocalResourceObject, let the
222         method figure it out on its own.
223
224 2007-01-05  Marek Habersack  <grendello@gmail.com>
225
226         * AppResourceFilesCollection.cs: new class to keep and manage
227         collection of resource files for the App_{Global,Local}Resources
228         folders.
229
230         * TemplateControlCompiler.cs: rely on
231         HttpContext.GetLocalResourceObject to select the correct culture.
232
233         * AppResourceFileInfo.cs: new class for keeping resource files
234         information.
235
236         * AppResourcesCompiler.cs: new implementation.
237
238 2006-12-20  Marek Habersack  <grendello@gmail.com>
239
240         * AssemblyBuilder.cs: add an internal version of the
241         AddCodeCompileUnit method.
242
243         * AppCodeCompiler.cs: implement support for ProfileCommon
244         generation from properties named in the <profile> element in
245         Web.config.
246
247         * PageCompiler.cs: create the Profile property in 2.0 code.
248
249 2006-12-12  Vladimir Krasnov  <vladimirk@mainsoft.com>
250
251         * ThemeDirectoryCompiler.jvm.cs: fixed virtual path for themes
252
253 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
254
255         * ThemeDirectoryCompiler.cs: refactoring.
256
257 2006-11-28  Marek Habersack  <grendello@gmail.com>
258
259         * BuildManager.cs: Add an internal property to signal whether or
260         not we have any resources from App_{Global,Local}Resources
261
262         * AspGenerator.cs: Register controls from
263         system.web/pages/controls collection before parsing.
264
265         * AppResourcesCompiler.cs: Let the build process know if we have
266         compiled any resources from App_{Global,Local}Resources
267
268 2006-11-27  Marek Habersack  <grendello@gmail.com>
269
270         * CachingCompiler.cs: Automatically reference App_Code
271         assemblies.
272
273         * AppCodeCompiler.cs: Add ~/bin/*.dll to the referenced assemblies
274         when compiling.
275
276 2006-11-25  Marek Habersack  <grendello@gmail.com>
277
278         * AppResourcesCompiler.cs: small optimizations.
279
280         * AppResourceFilesCompiler.cs: small optimizations.
281
282 2006-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
283
284         * WebServiceCompiler.cs: add the type to the cache after getting it
285         from the compiled assembly.
286
287 2006-11-20  Marek Habersack  <grendello@gmail.com>
288
289         * AppCodeCompiler.cs: Reference assemblies listed in
290         system.web/compilation/assemblies.
291         Don't create empty assemblies.
292
293 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
294
295         * TemplateControlCompiler.cs: fixed:
296         When <%# Bind(...) %>-expression is used more then once for same control
297         The variable associated with this control is declared only once.
298
299 2006-11-18  Marek Habersack  <grendello@gmail.com>
300
301         * AppResourceFilesCompiler.cs: Fixed an exception thrown when
302         files with names like File.resources or File.resx are found in the
303         resource directories.
304
305 2006-11-16  Marek Habersack  <grendello@gmail.com>
306
307         * ForceCopyBuildProvider.cs: Added the build provider for
308         copy-only files.
309
310         * MasterPageBuildProvider.cs: Added the build provider for Master
311         Pages.
312
313         * IgnoreFileBuildProvider.cs: Make the class sealed.
314
315         * AppCodeCompiler.cs: Fixed BuildProvider creation for a path. Now
316         correctly uses the BuildProviderCollection to retrieve the
317         appropriate builder and maps the physical input file path into
318         application relative path when setting the virtual path of the
319         build provider.
320
321 2006-11-13  Marek Habersack  <grendello@gmail.com>
322
323         * AssemblyBuilder.cs: Added referenced assemblies support. Added a
324         constructor with just the CodeDomProvider argument. CreateCodeFile
325         now uses the code provider's file extension. Added internal method
326         to add pre-generated source code files. Added a BuildAssembly
327         overload that takes no virtual path as  the
328         parameter. BuildAssembly now uses an array of source files instead
329         of compile units and also handles embedded resources and
330         referenced assemblies. BuildAssembly deletes the temporary files
331         if MONO_ASPNET_NODELET isn't set in the environment.
332
333         * AppCodeCompiler.cs: Use the FileUtils methods for temporary file
334         creation. Use the build providers collection to build unknown
335         files in App_Code. Use AssemblyBuilder to compile the assembly.
336
337         * AppResourceFilesCompiler.cs: Use the FileUtils methods for
338         temporary file creation.
339
340         * WebHandlerBuildProvider.cs: Added the BuildProviderAppliesTo
341         attribute.
342
343         * UserControlBuildProvider.cs: Added the BuildProviderAppliesTo
344         attribute.
345
346         * PageBuildProvider.cs: Added the BuildProviderAppliesTo
347         attribute.
348
349         * WebServiceBuildProvider.cs: Added the BuildProviderAppliesTo
350         attribute.
351
352         * IgnoreFileBuildProvider.cs: Added the BuildProviderAppliesTo
353         attribute.
354
355 2006-11-08  Marek Habersack  <grendello@gmail.com>
356
357         * BuildProvider.cs: Implemented the GetCustomString
358         method. Removed the necessity to retrieve the CompilationSection
359         twice when GetDefaultCompilerType is called.
360
361         * AppResourcesCompiler.cs: Added resource compiler results
362         handling.
363
364         * AppCodeCompiler.cs: The App_Code compiler classes
365
366         * BuildManager.cs: Implement the CodeAssemblies property.
367         Added an internal TopLevelTypes property to be used in the custom
368         GetType methods. Implemented the GetCompiledCustomString method.
369         Implemented the GetType method overloads. Implemented the
370         GetVirtualPathDependencies method.
371
372         * BaseCompiler.cs: Reference the assemblies from App_Code, if any
373
374 2006-10-18  Marek Habersack  <grendello@gmail.com>
375
376         * TemplateControlCompiler.cs: add support for resource
377         expressions in tag attributes.
378
379         * ResourceExpressionBuilder.cs: add support for resource
380         expressions in tag attributes.
381
382         * BaseCompiler.cs: add global/local resource assemblies to
383         compilation references, if present.
384
385         * AppResourcesCompiler.cs: global/local resources compiler.
386
387         * AppResourceFilesCompiler.cs: compiler of resource files.
388
389 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
390
391         * TemplateControlCompiler.cs: fixed: Bind functions (Data-Binding Syntax).
392         At run time, the Bind method calls the Eval method, if there is DataItem
393         != null to bind to.
394         If there is DataItem == null (like InsertItemTemplate in FormView) Bind
395         method don't raise exception and works properly to extract data from
396         bounded controls on postback.
397                 
398 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
399
400         * AspGenerator.cs: if we are tracking non-server tags for
401         well-formedness, handle tags that do not need to be closed (br, img,...)
402         Fixes bug #79437.
403
404 2006-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
405
406         * PageCompiler.cs: support the EnableEventValidation attribute.
407
408 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
409
410         * AspGenerator.cs: after parsing an include file, don't error out if we
411         still have opened tags unless this was the last file to parse. Fixes
412         bug #79318.
413
414 2006-09-05  Konstantin Triger <kostat@mainsoft.com>
415
416         * ParseException.cs: Ensure the source file stream is closed.
417
418 2006-08-25  Kornél Pál  <kornelpal@gmail.com>
419
420         * AppSettingsExpressionBuilder.cs: Use assembly name constants.
421         * ConnectionStringsExpressionBuilder.cs: Use name reference
422           constants.
423         * ResourceExpressionBuilder.cs: Use assembly name constants.
424
425 2006-08-20  Vladimir Krasnov  <vladimirk@mainsoft.com>
426
427         * ThemeDirectoryCompiler.jvm.cs: implemented GetCompiledInstance
428
429 2006-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
430
431         * ClientBuildManager.cs: handle domain shutdown and unload.
432         Implemented some properties. Commented.
433
434 2006-08-10  Andrew Skiba  <andrews@mainsoft.com>
435
436         * ThemeDirectoryCompiler.cs: render css path as a virtual path.
437
438 2006-08-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
439
440         * added ThemeDirectoryCompiler.jvm.cs
441
442 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
443
444         * PageThemeCompiler.cs: Don't generate a 'Items.Clear ()' call if
445         the property Items does not exist. Patch by Marek Habersack that fixes
446         bug #78971.
447
448 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
449
450         * TemplateControlCompiler.cs: support assigning nullable types.
451         Patch by Marek Habersack that fixes bug #78970.
452
453 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
454
455         * TemplateControlCompiler.cs: make password work again.
456
457 2006-06-21 Juraj Skripsky <js@hotfeet.ch>
458
459         * AspTokenizer.cs (ReadAttValue), AspParser.cs (GetAttributes):
460         MS.NET handles nested quotes differently for server controls and
461         for "normal" controls. Add a property "AlternatingQuotes" to the
462         tokenizer and let the parser decide whether it is well-formed or not.
463
464 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
465
466         * PageThemeCompiler.cs, TemplateControlCompiler.cs: take care of
467         UrlPropertyAttribute.
468
469 2006-06-18 Andrew Skiba <andrews@mainsoft.com>
470
471         * TemplateControlCompiler.cs: check IsWritablePropertyOrField before
472         generating code for assignment statement and DataBind event.
473         
474 2006-06-15 Juraj Skripsky <js@hotfeet.ch>
475
476         * AspTokenizer.cs (ReadAttValue), AspParser.cs (GetAttributes):
477         Don't allow an attribute value to contain the same quote characters
478         as the ones used for delimiting the value itself. Add a token
479         NOTWELLFORMED to signal that case to AspParser. Fixes bug #78643.
480
481 2006-06-08      Konstantin Triger <kostat@mainsoft.com>
482
483         * ThemeDirectoryCompiler.cs: use physical path instead of virtual path.
484
485 2006-04-24  Andrew Skiba  <andrews@mainsoft.com>
486
487         * ThemeDirectoryCompiler.cs: use UrlUtils.Combine to combine pathes
488
489 2006-04-23  Andrew Skiba  <andrews@mainsoft.com>
490
491         * PageThemeCompiler.cs: initialize __linkedStyleSheets field with the
492         array of style sheets from the parser
493         * ThemeDirectoryCompiler.cs: scan *.css files in theme directory and
494         put them in LinkedStyleSheets of PageThemeParser
495
496 2006-04-20  Chris Toshok  <toshok@ximian.com>
497
498         * BaseCompiler.cs: for 2.0, emit the correct namespace and class
499         names in the case where you use "NS.ClassName" in the Inherits
500         attribute.  Fixes bug #78135.
501
502 2006-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
503
504         * CachingCompiler.cs: no need to play the Wait/PulseAll game, as we
505         already acquired the lock even when we might have not created the 'key'
506         to the compilation ticket.
507
508 2006-04-16  Andrew Skiba <andrews@mainsoft.com>
509
510         * ThemeDirectoryCompiler.cs: add to the directory parser all the
511         assemblies found by PageThemeFileParsers
512
513 2006-04-12  Lluis Sanchez Gual <lluis@novell.com>
514
515         * TemplateControlCompiler.cs: Properly read all content of
516         string properties.
517
518 2006-04-11  Andrew Skiba <andrews@mainsoft.com>
519
520         * TemplateControlCompiler.cs : fix for partial parsers
521
522 2006-04-11  Andrew Skiba <andrews@mainsoft.com>
523
524         * ThemeDirectoryCompiler.cs : map the virtual path to the physical
525         path
526
527 2006-04-08  Miguel de Icaza  <miguel@novell.com>
528
529         * TemplateControlCompiler.cs: An attempt to fix the regression
530         introduced in r58505 (a bug fix for 77762).   This was reported in
531         the mailing list with a batch of new 2.0 failures.
532
533         We really need a test suite in NUnit to check on ASP.NET aspx
534         changes.
535
536 2006-03-27  Robert Jordan  <robertj@gmx.net>
537
538         * CachingCompiler.cs:  change the compilation locking scheme
539         from "one mcs per process" to "one mcs per file".
540
541 2006-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
542
543         * System.Web.Compilation/TemplateControlCompiler.cs: handle the new
544         StringPropertyBuilder.
545
546 2006-03-24  Chris Toshok  <toshok@ximian.com>
547
548         * BaseCompiler.cs (GetCompiledType): fall back to CodeDomProvider
549         if system.web/compilation doesn't list a compiler for our
550         language.
551
552 2006-03-13  Chris Toshok  <toshok@ximian.com>
553
554         * TemplateControlCompiler.cs (InitMethod): when generating the
555         call to ApplyStyleSheetSkin, don't just blindly pass "this" as the
556         argument to it.  Only do that if the class we're compiling is
557         actually a subclass of Page.  If it's not, pass this.Page.
558
559 2006-03-07  Chris Toshok  <toshok@ximian.com>
560
561         * AspGenerator.cs: refactor the parsing code so that we can
562         initiate parsing from outside this class.
563
564         * PageCompiler.cs (PrependStatementsToFrameworkInitialize): new
565         method, add our StyleSheetTheme assignment here.
566         (AppendStatementsToFrameworkInitialize): rename AddStatements* to
567         this.
568
569         * TemplateControlCompiler.cs (EnsureID): make protected.
570         (CreateAssignStatementsFromAttributes): same
571         (AddChildCall): same.
572         (CreateControlTree): same.
573         (CreateFrameworkInitializeMethod): change
574         "AddStatementsToFrameworkInitialize" to
575         "AppendStatementsToFrameworkInitialize", and add call to
576         "PrependStatementsToFrameworkInitialize" before the generation of
577         "base.FrameworkInitialize()."
578
579         * PageThemeCompiler.cs (CreateControlSkinMethod): remove spew.
580
581 2006-03-07  Chris Toshok  <toshok@ximian.com>
582
583         * ThemeDirectoryCompiler.cs: new file.
584
585         * PageThemeCompiler.cs: new file.
586
587 2006-03-07  Chris Toshok  <toshok@ximian.com>
588
589         * BaseCompiler.cs: fix typo in "initialize" in multiple places.
590         (Init): move the CreateMethods call here.
591
592 2006-03-02  Chris Toshok  <toshok@ximian.com>
593
594         * TemplateControlCompiler.cs (InitMethod): emit an assignment for
595         SkinID just after the creation of our object, and right after that
596         call "_ctrl.ApplyStyleSheetSkin (page)".
597         (CreateAssignStatementsFromAttributes): split out the majority of
598         this code to CreateAssignStatementFromAttribute, and change this
599         method to simply a loop over the attribute keys.  In the 2.0 case,
600         skip the SkinID property, since that's handled explicitly in
601         InitMethod.
602
603         * PageCompiler.cs (AddStatementsToInitMethod): emit assignments
604         for Theme and StyleSheetTheme.
605
606 2006-02-23  Chris Toshok  <toshok@ximian.com>
607
608         * TemplateControlCompiler.cs (AddContentTemplateInvocation): track
609         change from ContentControlBuilderInternal to
610         ContentBuilderInternal.
611         (AddCodeRender): same.
612
613 2006-02-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
614
615         * AssemblyBuilder.cs:
616         * BuildManager.cs: compile the assembly from AssemblyBuilder and use
617         GetGeneratedType() on the BuildProvider instead of loading the assembly
618         and trying a wild guess at the type name.
619
620 2006-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
621
622         * GlobalAsaxCompiler.cs:
623         * PageCompiler.cs:
624         * TemplateControlCompiler.cs: CreateMethods is now internal.
625
626         * WebServiceBuildProvider.cs:
627         * PageBuildProvider.cs:
628         * UserControlBuildProvider.cs:
629         * WebHandlerBuildProvider.cs: new build providers.
630
631         * BuildProvider.cs: add assemblies.
632
633         * BaseCompiler.cs: expose the provider and the compile unit through
634         properties.
635
636 2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
637
638         * CompilerType.cs: implemented.
639
640         * AssemblyBuilder.cs: implemented most of it.
641
642         * WebServiceCompiler.cs:
643         * CachingCompiler.cs: update 2.0 compiler instance creation code.
644
645         * ClientBuildManager.cs: implemented some of its methods. Not yet
646         ready.
647
648         * BuildManager.cs: the more interesting methods are implemented now.
649
650         * BaseCompiler.cs: delete the temporary files in case of error.
651
652         * BuildProvider.cs: implemented the Get*Compiler* protected methods.
653
654 2006-02-07  Chris Toshok  <toshok@ximian.com>
655
656         * TemplateControlCompiler.cs (AddParsedSubObjectStmt): append the
657         calls to AddParsedSubObject to a special statement collection --
658         builder.flushOutputStatements -- not to builder.method.Statements.
659         (InitMethod): initially, set flushOutputStatements to
660         method.Statements.  If we're dealing with a ContentPlaceHolder,
661         set flushOutputStatements to be the else block of a conditional we
662         create.  This causes the compiled control to fall back to the
663         ContentPlaceHolder's child controls in case there's no
664         corresponding Content template.
665         (AddChildCall): use methodStatements instead of method.Statements.
666         (CreateControlTree): same.
667
668         * PageCompiler.cs (CreatePropertyAssign): factor out the
669         string,string implementation and add one that also takes a
670         CodeExpression; make the string,string implementation call the
671         three arg one with thisRef.
672         (AddStatementsToInitMethod): make use of the 3-arg form of
673         CreatePropertyAssign to reduce code.  Also, add support for
674         setting the page's Title from the parser's Title.
675
676 2006-02-07  Chris Toshok  <toshok@ximian.com>
677
678         * UserControlCompiler.cs (AddStatementsToInitMethod): emit code to
679         assign __ctrl.MasterPageFile to our master page, if we have one.
680
681         * PageCompiler.cs (CreateContructor): remove the MasterPageFile
682         assignment from here.
683         (AddStatementsToInitMethod): and move it here.
684         
685         * TemplateControlCompiler.cs (InitMethod): in the case where
686         builder is a RootBuilder (we're building the __BuildControlTree
687         method), call a virtual method so that subclasses can add their
688         own statements to the method (used by both Page and MasterPage);
689         Also, in the RootBuilder case, the argument should be the
690         parser.ClassName type (the class we're building); lastly, expand
691         the ContentPlaceHolder logic to include all the
692         ContentTemplates/InstantiateIn magic.
693         (AddStatementsToInitMethod): empty virtual method.
694         (AddContentTemplateInvocation): ContentControlBuilder ->
695         ContentControlBuilderInternal.
696         (CreateControlTree): same.
697         (CallBaseFrameworkInitialize): new function, create call to
698         base.FrameworkInitialize.
699         (CreateFrameworkInitializeMethod): call CallBaseFrameworkIniitialize.
700
701 2006-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
702
703         * IgnoreFileBuildProvider.cs: it's not public.
704         * BuildProvider.cs: mostly implemented.
705
706 2006-02-01  Chris Toshok  <toshok@ximian.com>
707
708         * WebServiceCompiler.cs: CONFIGURATION_2_0 => NET_2_0, and use
709         GetSection instead of GetWebApplicationSection.
710
711         * CachingCompiler.cs: same.
712
713         * AspGenerator.cs: same.
714
715         * BaseCompiler.cs: same.
716         
717 2006-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
718
719         * AspGenerator.cs: ignore 'thead'. Fixes bug #77326.
720
721 2006-01-22  Chris Toshok  <toshok@ximian.com>
722
723         * IgnoreFileBuildProvider.cs: build provider which does nothing.
724
725 2006-01-22  Chris Toshok  <toshok@ximian.com>
726
727         * AspComponentFoundry.cs (.ctor): use a 2.0 friendly form of the
728         Hashtable ctor to silence a couple of warning.
729         (CompoundFoundry.ctor): same
730
731         * Directive.cs (InitHash): use a 2.0 friendly form of the
732         Hashtable ctor to silence a couple of warning.
733
734         * TagAttributes.cs (MakeHash): use a 2.0 friendly form of the
735         Hashtable ctor to silence a warning.
736         (GetDictionary): same.
737
738 2006-01-22  Chris Toshok  <toshok@ximian.com>
739
740         * AppSettingsExpressionBuilder.cs: implement this, patterning it
741         after an example on msdn.  Also, enable the ExpressionEditor
742         attribute, but use the string rather than the Type overload so we
743         won't have yet another circular dep.
744
745         * ConnectionStringsExpressionBuilder.cs: partial implementation.
746         Same deal with the ExpressionEditor attribute.
747
748         * ResourceExpressionBuilder.cs: same deal with the
749         ExpressionEditor attribute.
750         
751 2006-01-20  Chris Toshok  <toshok@ximian.com>
752
753         * ResourceExpressionBuilder.cs (ParseExpression): implement.
754
755         * ResourceExpressionFields.cs: implement.
756
757 2006-01-20  Chris Toshok  <toshok@ximian.com>
758
759         * ClientBuildManagerParameter.cs: implement.
760
761         * ClientBuildManagerCallback.cs: this class contains an empty
762         default implementation.
763
764 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
765
766         * AspGenerator.cs: add support for 'src' in <script runat="server">.
767         Fixes bug #77150.
768
769 2006-01-04  Chris Toshok  <toshok@ximian.com>
770
771         * WebServiceCompiler.cs (GetCompiledType): add CONFIGURATION_2_0
772         code.
773
774         * AspGenerator.cs (CheckLanguage): add CONFIGURATION_2_0 code.
775
776 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
777
778         * AspGenerator.cs: fix yesterday's fix.
779
780 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
781
782         * AspGenerator.cs: only do special processing for <script> if it has
783         the runat="server" attribute. Fixes bug #76918.
784
785 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
786
787         * TemplateControlCompiler.cs: treat LightGrey as a synonym of LightGray.
788         Fixes bug #76677.
789
790 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
791
792         * TemplateControlCompiler.cs: handle data bound attributes for html
793         controls. Fixes bug #76785.
794
795 2005-11-28  Chris Toshok  <toshok@ximian.com>
796
797         * CachingCompiler.cs (Compile): CONFIGURATION_2_0 work.
798
799         * BaseCompiler.cs (GetCompiledType): CONFIGURATION_2_0 work.
800
801 2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
802
803         * WebServiceCompiler.cs: fixed caching for web handlers.
804
805 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
806
807         * AspParser.cs: don't change case for verbatim IDs.
808         Fixes bug #76657.
809
810 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
811
812         * AspParser.cs: when processing verbatim input, throw if we reach EOF
813         before the expected end of the data.
814
815 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
816
817         * CachingCompiler.cs: 
818         * WebServiceCompiler.cs: when caching a type loaded from an assembly
819         that we didn't compile, make it depend on the file itself, not on a
820         non-existing cache key. This problem affected performance of web
821         services and .ashx, making unnecessary extra calls to LoadFrom every
822         time the cache was cleared.
823
824 2005-09-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
825
826         * BaseCompiler.cs: set the domain's DynamicBase property instead of
827         guessing it in BaseCompiler.
828
829 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
830
831         * WebServiceCompiler.cs: apply the same fix as in r45440 that fixed bug
832         75146 for pages/controls.
833
834 2005-08-09  Miguel de Icaza  <miguel@novell.com>
835
836         * WebServiceCompiler.cs: Use the new DynamicDir method.
837
838         * BaseCompiler.cs: Use the DynamicBase property as a hint, but
839         since this value is null most of the time, compute the real value.
840
841         Added Bonus: if the directory has some kind of permission problem,
842         try a different directory name.
843
844 2005-07-13  Miguel de Icaza  <miguel@novell.com>
845
846         * AspGenerator.cs (AspGenerator.CheckLanguage): Use
847         BaseParser.Context for the context. 
848
849 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
850
851         * TagAttributes.cs:
852         * AspParser.cs:
853         * TemplateControlCompiler.cs: use invariant culture versions of starts/
854         endswith.
855
856 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
857
858         * TemplateControlCompiler.cs: comparison between member name and the
859         first part of the id provided by the user should also be
860         case-insensitive. Fixes bug #75379.
861
862 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
863
864         * CachingCompiler.cs: use cache.InsertPrivate.
865         * AspGenerator.cs: use cache.InsertPrivate. Removed extra call to
866         AddDependency.
867
868 2005-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
869
870         * CachingCompiler.cs: create the assemly in the DynamicBase directory,
871         as all the others, when compiling an assembly from a Src file. Fixes
872         bug #75371.
873
874 2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
875
876         * TemplateControlCompiler.cs: if the property is not found, don't forget
877         about trying the field.
878
879 2005-06-13  Lluis Sanchez Gual <lluis@novell.com>
880
881         * Directive.cs: Register the MasterType directive.
882         * PageCompiler.cs: If a MasterType is specified, add a type specific
883         Master property. All this fixes bug #75192.
884
885 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
886
887         * TemplateControlCompiler.cs: when mapping an attribute name to a field
888         or property name, there's no need to try with every property and field,
889         but just the one found when searching by name (no case). There was one
890         call to ProcessPropertiesAndFields per property or field until found,
891         now only one if the property/field is found, none otherwise.
892
893 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
894
895         * TemplateControlCompiler.cs: allow more than 2 levels when looking for
896         properties of fields for an attribute like "Prop1-Prop2-Prop3". Fixes
897         bug #75234.
898
899 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
900
901         * BaseCompiler.cs: when the OutputAssembly is null, we can still have
902         the assembly file there and be able to load it. Thanks to Rogerio and
903         Mark.
904
905 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
906
907         * AspParser.cs: InvariantCulture love.
908
909 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
910
911         * TemplateControlCompiler.cs: use the Page AddContentTemplate method,
912         as the one in Master is protected. Fixes bug #75157.
913
914 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
915
916         * AspComponentFoundry.cs: tagnames have precedence over types in
917         assemblies when they use the same prefix. Fixes bug #71855.
918
919 2005-05-03  Lluis Sanchez Gual <lluis@novell.com>
920
921         * WebServiceCompiler.cs: Create the temp directory before
922         creating the web service source code file.
923
924 2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
925
926         * AspGenerator.cs: when checking languages, try to match other aliases
927         too (ie, 'cs' == 'c#').
928
929 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
930
931         * BaseCompiler.cs: check that DynamicBase directory exists before
932         creating the TempFileCollection.
933
934 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
935
936         * AspGenerator.cs: use a stack for non-server tags even before getting
937         to a form. Fixes bug #70274.
938
939 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
940
941         * AspParser.cs: don't error out on ill formed tags if it's not a server
942         tag (ie, allow something like '<table align="left cellpadding="0">' to
943         work, as MS does. Fixes bug #67909.
944
945 2005-04-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
946         * BaseCompiler.cs: do the bridge of Explicit/Strict attributes from
947         @Page/@Control directives to CodeDOM (VB.NET support)
948
949 2005-04-19  Lluis Sanchez Gual <lluis@novell.com>
950
951         * AspParser.cs: Fixed parsing of data binding tags in server
952         tag attributes. Allow <%...%> blocks not assigned to
953         attributes in client tags.
954         * TagAttributes.cs: Make sure that data binding blocks in server
955         tags are always assigned to attributes.
956
957 2005-04-15  Lluis Sanchez Gual <lluis@novell.com>
958
959         * TemplateControlCompiler.cs: Implemented support for two-way
960         binding.
961
962 2005-04-14  Lluis Sanchez Gual <lluis@novell.com>
963
964         * TemplateControlCompiler.cs: Use the new BindingContainerType
965         property to find the type of the binding container. 
966         
967 2005-04-07  Lluis Sanchez Gual <lluis@novell.com>
968
969         * TemplateControlCompiler.cs: Avoid using the GetConverter() trick
970         for primitive types. Parse an empty color string as Color.Empty.
971         Get the converter for a property using its PropertyDescriptor.
972         
973 2005-04-05  Lluis Sanchez Gual <lluis@novell.com>
974
975         * TemplateControlCompiler.cs: Don't autogenerate IDs for
976         controls inside Content template.
977
978 2005-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
979
980         * TemplateControlCompiler.cs: make typedesc.aspx work again.
981
982 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
983
984         * ExpressionBuilderContext.cs:
985         * ExpressionBuilder.cs: implemented.
986
987 2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
988
989         * AspGenerator.cs: don't fail on <tbody runat=server>. Fixes bug #71856.
990
991 2005-01-28  Lluis Sanchez Gual <lluis@novell.com>
992
993         * TemplateControlCompiler.cs: When generating a property value,
994         check for TypeConverterAttribute in the PropertyInfo, not only in the
995         property type.
996         Implemented code generation using InstanceDescriptor, when the type
997         converter supports conversion to that type.
998
999 2005-01-21  Lluis Sanchez Gual <lluis@novell.com>
1000
1001         * Directive.cs: Added MASTER directive.
1002         * AspGenerator.cs: Use UserControlCompiler for compiling master pages.
1003         * PageCompiler.cs: Set the master file name when generating the page.
1004         * TemplateControlCompiler.cs: When generating the method for a
1005         content holder, register the content holder in the base MasterPage.
1006         Added method for registering a Content control for a MasterPage.
1007         Generate code for Content controls.
1008
1009 2005-01-10  Lluis Sanchez Gual <lluis@novell.com>
1010
1011         * TemplateControlCompiler.cs: Get the container type from the
1012         template (if it was defined using TemplateContainerAttribute.
1013
1014 2004-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1015
1016         * AspGenerator.cs: correctly process script tags that self-closing.
1017         Fixes bug #69657.
1018
1019 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1020
1021         * CachingCompiler.cs: when compiling a single .cs file, add the file
1022         itself to dependencies. Fixes bug #68788.
1023
1024 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1025
1026         * ControlBuilder.cs: don't close server tags when we get to a closing
1027         tag that is not applied to a server control. Fixes bug #60323.
1028
1029 2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1030
1031         * WebServiceCompiler.cs: fix buglet in my last commit.
1032
1033 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1034
1035         * BaseCompiler.cs:
1036         * CachingCompiler.cs:
1037         * WebServiceCompiler.cs: correctly cache Type instead of the assembly
1038         for ashx/asmx. Otherwise we need to open the file and check for the
1039         class name in there. Thanks to Ben for pointing this out.
1040
1041 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1042
1043         * AspParser.cs:
1044         * AspTokenizer.cs: prevent quotes from being swallowed when we're 
1045         inside a server tag and they are the next non-whitespace character.
1046         Fixes bug #63451.
1047
1048 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1049
1050         * CachingCompiler.cs: don't try to watch for changes in system
1051         assemblies. Fixes bug #64871.
1052
1053 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1054
1055         * AspGenerator.cs: handle builders that need to process inner text
1056         with tags.
1057
1058         * Location.cs: added setters for the properties.
1059
1060 2004-08-02  Duncan Mak  <duncan@ximian.com>
1061
1062         * BuildProviderResultFlags.cs:  
1063         * IImplicitResourceProvider.cs: 
1064         * ImplicitResourceKey.cs:
1065         * IResourceReader.cs: Added.
1066
1067 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1068
1069         * AspGenerator.cs: the path for file was treated as virtual, but it's
1070         physical. Fixes bug #61524.
1071
1072 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1073
1074         * AspParser.cs: fixed case-sensitivity issues with #include and its
1075         attributes. Closes #61429.
1076
1077 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1078
1079         * BaseCompiler.cs:
1080         * WebServiceCompiler.cs: really create the dlls under DynamicBase
1081
1082 2004-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1083
1084         * TemplateControlCompiler.cs: for system colors, use SystemColors class
1085         instead of Color. Fixes bug #60249.
1086
1087 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1088
1089         * BaseCompiler.cs: try getting the Type from the cache before doing the 
1090         real work. Remove temporary files right after successful compilation.
1091
1092         * CachingCompiler.cs: added GetTypeFromCache.
1093
1094         * UserControlCompiler.cs: nothing interesting.
1095
1096         * WebServiceCompiler.cs: try getting the Type from the cache before
1097         doing anything else. Remove temp files on sucessful compilation.
1098
1099 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1100
1101         * AspGenerator.cs:
1102         * CachingCompiler.cs: use a different prefix when caching compiler
1103         results or Types.
1104
1105 2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1106
1107         * BaseCompiler.cs: dynamicBase is now protected. Check
1108         MONO_ASPNET_NODELETE here.
1109
1110         * TemplateControlCompiler.cs: if the type is not known but has a 
1111         TypeConverter, invoke ConvertFromString in the generated code.
1112
1113         * WebServiceCompiler.cs: it used a hardcoded C# compiler, now it gets
1114         the compiler from the configuration. Also handle MONO_ASPNET_NODELETE.
1115
1116         * CachingCompiler.cs: updated compilation of web services and simple
1117         web handlers.
1118
1119 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1120
1121         * CSCompiler.cs: removed.
1122
1123         * CachingCompiler.cs: language independent compilation for single files.
1124
1125 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1126
1127         * BaseCompiler.cs:
1128         * WebServiceCompiler.cs: adapted to the 'new' CachingCompiler.
1129         * CachingCompiler.cs: use HttpRuntime.Cache.
1130
1131 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1132
1133         * PageCompiler.cs: fixed Trace and add support for Buffer.
1134
1135 2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1136
1137         * PageCompiler.cs: override CreateConstructor to add assignment for
1138         ClientTarget.
1139         
1140 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1141
1142         * TemplateControlCompiler.cs: use CodeDelegateCreateExpression instead
1143         of CodeObjectCreateExpression for the render method delegate. Thanks
1144         to Jochen Wezel.
1145
1146 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1147
1148         * BaseCompiler.cs: use DynamicBase for the output assemblies.
1149
1150 2004-05-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1151
1152         * AspGenerator.cs: ObjectTagBuilder do not override HasBody now.
1153
1154 2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1155
1156         * AspParser.cs: indent a few lines.
1157         * AspTokenizer.cs: added ungetc() used when we read a '/' in an unquoted
1158         attribute value. This way we can simulate reading 2 characters ahead
1159         (one in ungetc and the other in Peek) and work with values like
1160         text/javascript. Fixes bug #57302.
1161
1162 2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1163
1164         * AspParser.cs: ignore whitespace after directives. Fixes bug #58057.
1165
1166 2004-04-02  Lluis Sanchez Gual  <lluis@ximian.com>
1167
1168         * TemplateControlCompiler.cs: Fixed build for net_1_0 profile.
1169
1170 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1171
1172         * GlobalAsaxCompiler.cs: removed Imports and Assemblies properties.
1173
1174 2004-02-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1175
1176         * AspGenerator.cs: error out when <object> server tag is not closed.
1177         Ignore any content inside it.
1178
1179 2004-02-10  Jackson Harper <jackson@ximian.com>
1180
1181         * AspTokenizer.cs: Collect discarded characters that might be used
1182         in client side scripts. Patch by Liyu Liu.
1183         * AspParser.cs: Add discarded characters. Patch by Liyu Liu.
1184         
1185 2004-02-10  Jackson Harper <jackson@ximian.com>
1186
1187         * BaseCompiler.cs: Use the TempDirectory for compilation. Fixes
1188         bug #54117.
1189         
1190 2004-01-30  Jackson Harper <jackson@ximian.com>
1191
1192         * TemplateControlCompiler.cs: Call ToString on the types hashcode,
1193         the build method takes strings not ints.
1194         
1195 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1196
1197         * AspGenerator.cs: handle more possible errors in global.asax file.
1198
1199         * BaseCompiler.cs: added utility methods for creating <object> related
1200         properties and fields.
1201
1202         * GlobalAsaxCompiler.cs: keep around applications and session scope
1203         objects builders. Also a list of imports and assemblies added in
1204         global.asax.
1205
1206         * TemplateControlCompiler.cs: use base class methods for <object> stuff.
1207
1208 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1209
1210         * AspGenerator.cs: use the Cache to store compiled Types. Don't parse
1211         pages more than once. Thanks to Eric Lindvall for pointing this out.
1212
1213 2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1214
1215         * TemplateControlCompiler.cs: allow handling subproperties for other
1216         types than Style and Font. Fixes bug #53217.
1217
1218 2004-01-16  Jackson Harper <jackson@ximian.com>
1219
1220         * TagAttribute.cs: attributes can be stored as encoded html so we
1221         decode them here.
1222         
1223 2004-01-14  Jackson Harper <jackson@ximian.com>
1224
1225         * TemplateControlCompiler.cs: Is a user control is cached and
1226         shared use the controls type hashcode for the GUID so it will be
1227         the same across instances.
1228         
1229 2004-01-13  Jackson Harper <jackson@ximian.com>
1230         
1231         * TemplateControlCompiler.cs: If an item has the partial caching
1232         attribute build a PartialCachingControl in the parents __Build method.
1233         * BaseCompiler.cs: Add a method for adding class attributes to the
1234         class.
1235         * UserControlCompiler.cs: If caching is enabled on a user control
1236         add the PartialCachingAttribute to it.
1237         
1238 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1239
1240         * PageCompiler.cs: invoke Request.ValidateInput if required.
1241
1242 2004-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1243
1244         * AspGenerator.cs: don't rely on GC to close the files parsed. Fixes bug
1245         #52521. Patch by liyul@hotmail.com.
1246
1247 2003-12-25  Jackson Harper <jackson@ximian.com>
1248
1249         * AspGenerator.cs: Allow scriptlets in javascript. This fixes bug
1250         #52522.
1251         
1252 2003-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1253
1254         * PageCompiler.cs: assign the ErrorPage property if provided.
1255
1256 2003-12-15  Jackson Harper <jackson@ximian.com>
1257
1258         * PageCompiler.cs: Add Trace and TraceMode to framework initialize
1259         method if they are set.
1260         
1261 2003-12-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1262
1263         * AspGenerator.cs: ignore <tbody> when we're inside a server table and
1264         fail when runat="server" is applied to <tbody> with a parse error
1265         instead of waiting for a compilation error. Fixes bug #52157.
1266
1267 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1268
1269         * AspGenerator.cs: basic checking of ID validity.  Throw a
1270         ParseException when mixing languages.
1271
1272 2003-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1273
1274         * PageCompiler.cs: assign LCID, Culture and/or UICulture in
1275         FrameworInitialize() if provided in @Page.
1276
1277         Fixes bug #51511.
1278
1279 2003-11-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1280
1281         * TemplateControlCompiler.cs: support for expressions of
1282         System.Drawing.Size type. Allow getting Color from comma separated
1283         numbers, which is not allowed by ColorConverter.
1284
1285         This makes http://www.codeproject.com/aspnet/asppopup.asp work.
1286
1287 2003-11-13  Jackson Harper <jackson@ximian.com>
1288
1289         * PageCompiler.cs: Call InitOutputCache when the OutputCache
1290         directive is set.
1291         
1292 2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1293
1294         * AspGenerator.cs: use fileEncoding from configuration files.
1295
1296         * PageCompiler.cs: add assign statements for ContentType,
1297         ResponseEncoding and CodePage if supplied.
1298
1299 2003-10-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1300
1301         * TemplateControlCompiler.cs: fix bug #42994. Now we don't generate
1302         a return statement for user controls with 'void' return type.
1303
1304 2003-10-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1305
1306         * AspParser.cs: fixed bug #49627.
1307
1308 2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1309
1310         * BaseCompiler.cs: now gets the CodeCompiler from configuration files.
1311
1312 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1313
1314         * Directive.cs: new attribute for @Page directive in 1.1.
1315
1316 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1317
1318         * AspParser.cs:
1319         * TagAttributes.cs: allow duplicated runat=server attributes and display
1320         error page when duplicated attributes and runat is specified.
1321
1322 2003-10-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1323
1324         * AspTokenizer.cs: moved token numbers above unicode.
1325
1326 2003-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1327
1328         * AspGenerator.cs: don't process code render tags inside scripts. Check
1329         the language of the script and treat javascript as verbatim input.
1330         Fixes bug #48592.
1331
1332 2003-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1333
1334         * TemplateControlCompiler.cs: fixed bug #48212.
1335
1336 2003-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1337
1338         * WebServiceCompiler.cs: remove the temporary files here too.
1339
1340 2003-08-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1341
1342         * AspGenerator.cs: fixed bug #46429.
1343
1344 2003-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1345
1346         * Directive.cs: support @WebHandler.
1347         
1348 2003-07-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1349
1350         * TemplateControlCompiler.cs: support string []. Fixes bug #46415.
1351
1352 2003-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1353
1354         * BaseCompiler.cs: first look for cached items, then generate the tree.
1355         This should speed things up.
1356
1357         * CachingCompiler.cs: when compiling web services, use the full path of
1358         the .asmx file as key when caching.
1359
1360         * WebServiceCompiler.cs: first look for cached items, then generate
1361         the source file.
1362
1363 2003-07-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1364
1365         * AspParser.cs: more useful error information,
1366
1367         * BaseCompiler.cs:
1368         * CachingCompiler.cs: honor the debug="true" option.
1369
1370         * TemplateControlCompiler.cs: small fixes for templates.
1371
1372 2003-07-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1373
1374         * BaseCompiler.cs: made Compiler property virtual.
1375
1376         * CachingCompiler.cs: added support for compiling web services.
1377
1378         * WebServiceCompiler.cs: implemented.
1379
1380 2003-05-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1381
1382         * CachingCompiler.cs: fixed bug #43477.
1383
1384 2003-05-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1385
1386         * AspParser.cs:
1387         * AspTokenizer.cs: fixed bugs #43206 and #43371.
1388
1389 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1390
1391         * TemplateControlCompiler.cs: duh! Generate SupportAutoEvents instead
1392         of AutoEventWireup (which is internal). Thanks to Stuart Ballard for
1393         reporting.
1394
1395 2003-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1396
1397         * CompilationException.cs: don't add duplicated lines in the case that
1398         mcs reports several errors for the same one.
1399
1400 2003-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1401
1402         * AspGenerator.cs: fully support including files, ie., treat them just
1403         as C treats #includes.
1404
1405 2003-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1406
1407         * AspGenerator.cs:
1408         * AspParser.cs:
1409         * TagType.cs: Added support for server side includes.
1410
1411 2003-05-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1412
1413         * CSCompiler.cs: actually add the list of referenced assemblies to the
1414         compiler options. Throw a CompilationException if there's an error.
1415
1416         * CachingCompiler.cs: added a method to compile directly from a source
1417         file.
1418         
1419 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1420
1421         * AspGenerator.cs: copy the location before setting the value for the
1422         control builders.
1423
1424         * BaseCompiler.cs: changed parameters for CompilationException.
1425
1426         * CompilationException.cs: it takes now line numbers and error
1427         descriptions from the CompilerErrorCollection.
1428
1429         * Location.cs: used when a copy of an ILocation is needed.
1430
1431         * ParseException.cs: implemented new methods to provide line numbers
1432         and souce file.
1433
1434         * TemplateControlCompiler.cs: throw a ParseException where appropiate.
1435
1436 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1437
1438         * AspGenerator.cs: also support data bind syntax inside tags not
1439         processed as controls. Added debugging method.
1440
1441         * TemplateControlCompiler.cs: reset the number of data binding handlers 
1442         in the proper place. Small fix when getting the container type.
1443
1444 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1445
1446         * TemplateControlCompiler.cs: correctly set the TemplateSourceDirectory 
1447         value.
1448
1449 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1450
1451         * AspGenerator.cs: handle code render syntax in tag attributes.
1452
1453         * AspParser.cs: the constructor now takes a TextReader.
1454
1455         * TemplateControlCompiler.cs: removed comment.
1456
1457 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1458
1459         * TemplateControlCompiler.cs: added support for data bound properties.
1460
1461 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1462
1463         * AspComponentFoundry.cs: simplified it a lot by using Type and Assembly
1464         instead of their names.
1465
1466         * AspElements.cs: removed. No longer needed.
1467
1468         * AspGenerator.cs: this file is now in charge of interfacing between
1469         the parser and the compiler. It manages the creation of the
1470         ControlBuilder tree and the compilation of the CodeDOM tree.
1471
1472         * AspParser.cs: tag handling is simpler now.  Instead of a whole bunch
1473         of different Types, tags are just and id and a set of attributes.
1474         Implement ILocation interface.
1475         
1476         * AspTokenizer.cs: added a few methods to help the parser implementing
1477         ILocation.
1478
1479         * BaseCompiler.cs: handles the portions of the CodeDOM tree that are
1480         common to appliaction, page and user control, including the actual
1481         compilation and error handling.
1482
1483         * CSCompiler.cs: compiles C# files using CodeDOM interfaces.
1484
1485         * CachingCompiler.cs: simplified to use the new interfaces.
1486
1487         * CompilationException.cs: it's now using CompilationResult to report
1488         errors.
1489
1490         * CompilationResult.cs: Removed file.
1491
1492         * Directive.cs: to check for the validity of a directive.
1493
1494         * GlobalAsaxCompiler.cs: simplified a lot, as most of the work is done
1495         in BaseCompiler.
1496
1497         * ILocation.cs: interface used to now the exact place where a parse
1498         error happens.
1499
1500         * PageCompiler.cs: generates a couple of methods that are only used in
1501         pages.
1502
1503         * ParseException.cs: use the ILocation interface.
1504
1505         * TagAttributes.cs: handles the attributes of the tags parsed.
1506
1507         * TagType.cs: an enum for the different kinds of tags.
1508
1509         * TemplateControlCompiler.cs: this is the one that does most of the
1510         conversion from teh ControlBuilder tree into a CodeDOM tree.
1511
1512         * UserControlCompiler.cs: simplified as most of the work is done in
1513         its base classes.
1514
1515         * WebServiceCompiler.cs: dummy.
1516
1517 2003-04-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1518
1519         * AspComponentFoundry.cs: added GetComponentType method.
1520
1521 2003-03-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1522
1523         * AspTokenizer.cs: allow quotes inside server tags that are part of
1524         attribute values.
1525         
1526         * CachingCompiler.cs: no more 'FileNotFound' exceptions when the
1527         compilation fails.
1528
1529 2003-03-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1530
1531         * AspGenerator.cs: generate correct appbase path. It was working with
1532         mcs but not with csc.
1533
1534         * BaseCompiler.cs: quote arguments and removed GetRandomFileName.
1535
1536         * CachingCompiler.cs: quote source file.
1537
1538 2003-03-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1539
1540         * AspGenerator.cs: now the Inherits attribute works as expected for
1541         global.asax file.
1542
1543 2003-03-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1544
1545         * CompilationException.cs:
1546         * ParseException.cs: display the correct line number in error messages.
1547
1548         * AspElements.cs: added TargetSchema attribute for control. It's
1549         ignored.
1550
1551 2003-03-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1552
1553         * BaseCompiler.cs: fixed the hack to work under windows.
1554         * CachingCompiler.cs: under windows, try 'mcs.bat' and then 'mcs'.
1555
1556 2003-03-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1557
1558         * BaseCompiler.cs: hacks to work-around our buggy System.Uri.
1559
1560 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
1561
1562         * BaseCompiler.cs: Removed a FIXME: and added a correct calculation of
1563         app's private bin path
1564
1565 2003-03-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1566
1567         * AspGenerator.cs:
1568         * BaseCompiler.cs:
1569         * CachingCompiler.cs:
1570         * CompilationResult.cs:
1571         * GlobalAsaxCompiler.cs:
1572         * PageCompiler.cs:
1573         * UserControlCompiler.cs: recompile the page if dependencies change.
1574
1575 2003-02-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1576
1577         * AspGenerator.cs: corrected typo and wrong fix.
1578
1579 2003-02-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1580
1581         * AspGenerator.cs: fixed code generation for Table/TableRow/TableCell
1582         when used explicitly.
1583
1584 2003-02-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1585
1586         * AspElements.cs: get the property Type for controls that use
1587         ParseChildren with a property name.
1588
1589         * AspGenerator.cs: generate correct signature for the method that
1590         adds controls to the default property in ParseChildren.
1591
1592 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1593
1594         * AspGenerator.cs: rethrow exceptions that may come from parsing or 
1595         compilation if a user control.
1596
1597 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1598
1599         * AspGenerator.cs: throw ParseException on parse
1600         error.
1601
1602         * AspParser.cs: added Line and Column props.
1603
1604         * CompilationException.cs: derives now from HtmlizedException.
1605
1606         * CompilationResult.cs: added fileName field.  Fixed set_ExitCode.
1607
1608         * GlobalAsaxCompiler.cs:
1609         * PageCompiler.cs:
1610         * UserControlCompiler.cs: pass the file name in the CompilationResult.
1611
1612         * ParseException.cs: new exception.
1613
1614
1615 2003-02-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1616
1617         * AspGenerator.cs: remove "file://" from the private bin path. Fixes
1618         bug #37628.
1619
1620 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1621
1622         * AspParser.cs: the parser fires events when it parses an element.
1623
1624         * GlobalAsaxCompiler.cs:
1625         * PageCompiler.cs:
1626         * UserControlCompiler.cs:
1627         * AspElements.cs: modified to use the new parser interface.
1628
1629         * AspGenerator.cs: modified to use the new parser. Merge multiple text
1630         strings into one single LiteralControl.
1631
1632         * AspTokenizer.cs: added Line and Column properties.
1633
1634 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1635
1636         * AspParser.cs: fixed bug #36929.
1637
1638 2003-01-21  Tim Haynes <thaynes@openlinksw.com>
1639
1640         * AspGenerator.cs:
1641         * BaseCompiler.cs:
1642         * CachingCompiler.cs: changes to work around spaces and
1643         directory-separators in the local filesystem.
1644
1645 2003-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1646
1647         * AspGenerator.cs: make the generated file compile with csc after last
1648         change.
1649
1650 2003-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1651
1652         * AspGenerator.cs: removed unused variable. Added support for
1653         properties/fields of type string [].
1654
1655 2003-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1656
1657         * AspGenerator.cs: modified loading of the parent type now that
1658         Type.GetType is fixed.
1659
1660 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1661
1662         * AspGenerator.cs: cast to Control if the container does not implement
1663         INamingContainer.
1664
1665 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1666
1667         * AspGenerator.cs: fixed a couple of thinkos related to IsSubclassOf.
1668
1669 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1670
1671         * AspElements.cs: attributes without value lacked a space afterwards.
1672
1673 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1674
1675         * AspGenerator.cs: functions for columns don't return anything. Fixed
1676         typo.
1677
1678 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1679
1680         * AspGenerator.cs: add data bound controls to code render function.
1681
1682 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1683
1684         * AspComponentFoundry.cs: reworked to allow same prefix for multiple
1685         controls. You can register 1 assembly plus any number of user controls
1686         under the same prefix.
1687
1688         * AspGenerator.cs: don't add duplicate 'using' for the same namespace.
1689         Hack to allow @Register access to assemblies in other places than bin
1690         directory.
1691
1692 2003-01-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1693
1694         * AspElements.cs: added 'codebehind' attribute for page, control and
1695         application. It's ignored by MS, but allowed. Fixed typo.
1696
1697 2003-01-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1698
1699         * AspGenerator.cs: fixed EnableSesssionState handling.
1700
1701 2003-01-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1702
1703         * AspGenerator.cs: don't generate instance fields for pages/controls
1704         when the base class specified in the Inherits attribute already has
1705         them. Closes bug #36262.
1706
1707 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1708
1709         * AspGenerator.cs: generate code like 'control.XXX = value' also for
1710         public fields (properties were being handled in that way too).
1711
1712 2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1713
1714         * AspGenerator.cs: now it uses the current HttpContext when creating
1715         user controls. TemplateSourceDirectory is no longer a dummy value.
1716
1717         * GlobalAsaxCompiler.cs:
1718         * PageCompiler.cs:
1719         * UserControlCompiler.cs: set the context which will be used to locate
1720         the files.
1721         
1722 2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1723
1724         * AspGenerator.cs: added support for AutoEventWireup attribute in
1725         @Page and @Control.
1726
1727         * CompilationResult.cs:
1728         * GlobalAsaxCompiler.cs:
1729         * PageCompiler.cs:
1730         * UserControlCompiler.cs: store the options.
1731
1732 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1733
1734         * AspElements.cs: new method Tag.GetElements
1735         used to parse the inner contents of a tag looking for data binding or 
1736         code render tags.
1737         
1738         New property HtmlControlTag.ParseChildren allows
1739         differentiation of a couple of HtmlControls that has children as
1740         properties (namely HtmlTable and HtmlTableRow).
1741
1742         * AspGenerator.cs: fixed container semantics to
1743         match BindingContainer one. Implemented Inherits attribute for page and
1744         control.
1745
1746         Support HtmlControls that has ChildrenAsProperties.
1747         
1748         Generate code for data binding functions that matches the semantic of
1749         Container.
1750
1751         Handle data bound and code render attribute values.
1752
1753         Set proper value return for TemplateSourceDirectory. Should be relative
1754         to appPath.
1755         
1756         * BaseCompiler.cs: moved CompilerOptions and
1757         References handling here.
1758
1759         * CachingCompiler.cs: copy result of compilation.
1760
1761         * CompilationException.cs: simple ToString () implementation.
1762
1763         * CompilationResult.cs: implemented CopyFrom and ToString.
1764
1765         * GlobalAsaxCompiler.cs:
1766         * PageCompiler.cs:
1767         * UserControlCompiler.cs: removed CompilerOptions as it's now handled
1768         in the base class. Get all the types in the generated assembly and
1769         look for one that derives from the correct Type.
1770         
1771 2002-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1772
1773         * AspElements.cs: added @Application directive.
1774
1775         * AspGenerator.cs: make it work also with application files. We
1776         currently generate an extra private function.
1777
1778 2002-11-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1779
1780         * GlobalAsaxCompiler.cs: compiler for global.asax file. If the file
1781         exists, it will be compiled into an HttpApplication derived class
1782         (directly or through a user-provided class).
1783
1784 2002-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1785
1786         * AspGenerator.cs: fixed target file name and generated class name.
1787         * BaseCompiler.cs: reference assemblies in PrivateBinPath.
1788
1789 2002-11-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1790
1791         * AspGenerator.cs: reworked user control
1792         compilation. Provide the options as a Hashtable for use in compilation.
1793         Create the user controls in the private bin path of the domain.
1794
1795         * BaseCompiler.cs: base class for the various compiler types.
1796
1797         * CachingCompiler.cs: actually executes mcs and do some poor caching
1798         (it will use Cache when finished).
1799
1800         * CompilationException.cs: this exception has enough information to
1801         generate a nice error page.
1802         * CompilationResult.cs: used in caching.
1803
1804         * PageCompiler.cs: now derives from BaseCompiler
1805
1806         * TemplateFactory.cs: no longer needed.
1807
1808         * UserControlCompiler.cs: new class used when compiling user controls.
1809         * WebServiceCompiler.cs: derives from BaseCompiler.
1810
1811 2002-11-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1812
1813         * AspElements.cs: added ServerComment class.
1814         * AspParser.cs: ignore ServerComments tags. Remove server comments when 
1815         in verbatim mode.
1816
1817         Fixes #33482.
1818
1819         * PageCompiler.cs: check if the type is already cached before generating
1820         the C# file.
1821         * TemplateFactory.cs: if csFile parameter is null, only checks if we
1822         already have the page compiled.
1823
1824 2002-11-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1825
1826         * AspGenerator.cs: undo one-liner change.
1827
1828 2002-10-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1829
1830         * AspGenerator.cs: removed a few hacks no longer needed.
1831
1832 2002-10-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1833
1834         * PageCompiler.cs: tracing.
1835         * TemplateFactory.cs: cache compiled types and tracing.
1836         * WebServiceCompiler.cs: new parameter in GetTypeFromsource,
1837
1838 2002-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1839
1840         * AspComponentFoundry.cs: fixed typo.
1841         * TemplateFactory.cs: use csc style options.
1842         * AspGenerator.cs: don't use FileDependencies property of base class.
1843
1844 2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1845
1846         * System.Web.Compilation/AspElements.cs:
1847         * System.Web.Compilation/AspGenerator.cs:
1848         * System.Web.Compilation/AspParser.cs:
1849         * System.Web.Compilation/PageCompiler.cs:
1850         * System.Web.Compilation/TemplateFactory.cs: we are now able to compile
1851         pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
1852
1853 2002-09-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1854
1855         * AspElements.cs: added WebService directive.
1856         * WebServiceCompiler.cs: New file.
1857
1858 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1859
1860         * PageCompiler.cs: fixed compilation.
1861
1862 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1863
1864         * PageCompiler.cs: generate C# file using AspGenerator.
1865
1866 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1867
1868         * AspComponentFoundry.cs: LookupFoundry now returns bool.
1869         * AspGenerator.cs: New file.
1870
1871 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1872
1873         * AspComponentFoundry.cs: New file.
1874         * AspElements.cs: renamed Component to Aspcomponent.
1875
1876 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1877
1878         * AspElements.cs:
1879         * AspParser.cs:
1880         * AspTokenizer.cs:
1881         * ChangeLog:
1882         * PageCompiler.cs:
1883         * TemplateFactory.cs: first steps to move xsp into System.Web.
1884