2009-06-01 Marek Habersack <mhabersack@novell.com>
[mono.git] / mcs / class / System.Web / System.Web.Compilation / ChangeLog
1 2009-06-01  Marek Habersack  <mhabersack@novell.com>
2
3         * AspGenerator.cs: fix mapping of our tag types into
4         CodeConstructType. Fixes bug #508570
5
6 2009-05-26  Marek Habersack  <mhabersack@novell.com>
7
8         * AspGenerator.cs: before including a file specified with the
9         <!--#include file="" --> directive, check if it's within the
10         current application's root.
11
12 2009-05-18  Marek Habersack  <mhabersack@novell.com>
13
14         * BuildManager.cs: GetPrecompiledApplicationType () uses
15         VirtualPathUtility.Combine to build global.asax virtual
16         path. Patch from Robert Jordan <robertj@gmx.net>, thanks! Fixes
17         bug #504615
18
19 2009-05-10  Marek Habersack  <mhabersack@novell.com>
20
21         * AspGenerator.cs: keep processing the tag if it is not a server
22         one and contains expressions and no code render blocks.
23
24 2009-05-05  Marek Habersack  <mhabersack@novell.com>
25
26         * BuildManager.cs: RemoveFailedAssemblies wraps the compilation
27         exception to be rethrown in a HttpException instance.
28
29         * AspGenerator.cs: create a Location and pass it to the parser
30         before calling AddDirective from GetInheritedType, so that we get
31         meaningful exception messages with source, line information etc.
32
33 2009-05-04  Marek Habersack  <mhabersack@novell.com>
34
35         * ThemeDirectoryBuildProvider.cs: use new AspGenerator constructor
36         which takes AspComponentFoundery as its
37         parameter. AspGenerator.RootBuilder isn't initialized until after
38         the parser is initialized.
39
40         * TemplateControlCompiler.cs: make sure to call
41         ProcessGeneratedCode on each instance of ControlBuilder after it's
42         fully generated. Fixes bug #500075
43
44         * TemplateBuildProvider.cs: moved the directive regex to
45         AspGenerator
46
47         * BaseCompiler.cs: added two internal properties, BaseType and
48         DerivedType, which are used in calls to
49         ControlBuilder.ProcessGeneratedCode. Fixes bug #500075
50
51         * AspGenerator.cs: implemented a work around for our parser
52         limitation which is unable to extract the page/control's base type
53         before parsing the actual file contents. This is necessary to
54         support ASP.NET MVC's "generic" Inherits attribute. The reason we
55         need to find out what the base type is before parsing the file is
56         that we need to look at the type's custom attributes to see if a
57         root control builder type is specified (which is what ASP.NET MVC
58         does) and, if yes, use it instead of the default type. Fixes bug
59         #500075
60
61 2009-04-30  Marek Habersack  <mhabersack@novell.com>
62
63         * BuildManager.cs: when BuildInner catches a compilation
64         exception, wrap it in HttpException before re-throwing.
65
66 2009-04-28  Marek Habersack  <mhabersack@novell.com>
67
68         * AspGenerator.cs: ProcessTag doesn't process a tag which is not
69         server-side and which has declarative expressions embedded. Fixes
70         bug #498637
71
72 2009-04-24  Marek Habersack  <mhabersack@novell.com>
73
74         * AspGenerator.cs: ProcessCode should _not_ stop processing the
75         passed code string if the filter's ProcessCodeConstruct returns
76         false. Fixes bug #497775
77
78 2009-04-21  Marek Habersack  <mhabersack@novell.com>
79
80         * PageCompiler.cs: implemented new way of setting output cache
81         parameters in the 2.0 profile. The generated code is now the same
82         as on .NET and uses the OutputCacheParameters class to pass
83         settings to InitOutputCache.
84
85 2009-04-17  Marek Habersack  <mhabersack@novell.com>
86
87         * AspGenerator.cs: if thead/tbody are parsed as children of a
88         server-side table control, ignore them. Fixes bug #481622
89
90 2009-04-16  Marek Habersack  <mhabersack@novell.com>
91
92         * TemplateControlCompiler.cs: using a regexp to check whether an
93         expression is a Bind one. Fixes bug #493639
94         AssignPropertyFromResources now checks whether the field/property
95         passed to it is decorated with the Localizable custom attribute
96         and whether the resource provider contains an entry for that
97         property.
98
99 2009-04-15  Marek Habersack  <mhabersack@novell.com>
100
101         * BuildManager.cs: do not add all assemblies in bin/ when serving
102         a precompiled site. Fixes bug #493873
103         When serving a precompiled site, check if the bin/ directory
104         contains certain well-known assemblies and load them if present.
105
106 2009-04-07  Marek Habersack  <mhabersack@novell.com>
107
108         * TemplateControlCompiler.cs: GenerateExpressionFromString doesn't
109         assume that the passed member is a property anymore. Fixes bug
110         #492252
111
112 2009-04-06  Marek Habersack  <mhabersack@novell.com>
113
114         * BuildManager.cs: make sure that precompiled is not null before
115         using it in GetPrecompiledType.
116
117 2009-04-03  Marek Habersack  <mhabersack@novell.com>
118
119         * AspParser.cs: local copy of checksum generated by the tokenizer
120         is made right after parsing is done.
121
122         * AspGenerator.cs: set tparser.MD5Checksum in Parse instead of in
123         InitParser. Avoids empty checksums in #pragma checksum.
124
125 2009-04-02  Marek Habersack  <mhabersack@novell.com>
126
127         * CompilationException.cs: skip warnings in ErrorMessage and
128         ErrorLines
129
130         * BuildManager.cs: when an error occurs while compiling the
131         requested virtual path, throw the exception, do not attempt to
132         build again.
133
134         * TemplateControlCompiler.cs: implemented missing converter for
135         the ExpandDepth property. Fixes bug #490860
136
137 2009-04-01  Marek Habersack  <mhabersack@novell.com>
138
139         * AssemblyBuilder.cs: CSharpCodePragmaGenerator.ReserveSpace:
140         added the 2 extra chars to pragmaChecksumStaticCount constant (the
141         ones added by Gonzalo below) and removed one NewLine to account
142         for Martin's change below.
143         VBCodePragmaGenerator.ReserveSpace - one newline follows
144         #ExternalSource.
145         VBCodePragmaGenerator.DecorateFile - one newline follows
146         #ExternalSource.
147
148 2009-04-01  Martin Baulig  <martin@ximian.com>
149
150         * AssemblyBuilder.cs: Don't emit a blank line after the #line as
151         thid'd cause all line numbers to be off by 1.
152
153 2009-03-31 Gonzalo Paniagua Javier <gonzalo@novell.com>
154
155         * AssemblyBuilder.cs: the guid has to be quoted.
156
157 2009-03-31  Marek Habersack  <mhabersack@novell.com>
158
159         * All of the below are part of the fix for bug #489687
160
161         * ThemeDirectoryCompiler.cs: pass VirtualPath instances to parser
162         constructors.
163
164         * BuildProvider.cs: associated virtual path is stored internally
165         as an instance of VirtualPath, accessible via new
166         VirtualPathInternal property.
167
168         * BuildManagerDirectoryBuilder.cs: VirtualPath.IsFake is used to
169         detect fake virtual paths.
170         GetBuildProvider now takes a VirtualPath instead of string for the
171         virtualPath parameter. The passed VirtualPath instance is passed
172         unchanged to BuildProvider.
173
174         * BuildManager.cs: AssertVirtualPathExists now uses
175         VirtualPath.IsFake to check for fake virtual paths.
176
177         * ApplicationFileBuildProvider.cs, GenericBuildProvider.cs,
178         MasterPageBuildProvider.cs, PageBuildProvider.cs,
179         ThemeBuildProvider.cs, UserControlBuildProvider.cs,
180         WebHandlerBuildProvider.cs, WebServiceBuildProvider.cs:
181         CreateParser overloads now take a VirtualPath instead of a string
182         for the virtualPath parameter.
183
184         * ThemeBuildProvider.cs: use new parser constructors which take
185         VirtualPath instances instead of strings.
186
187 2009-03-30  Marek Habersack  <mhabersack@novell.com>
188
189         * AspTokenizer.cs: UpdateChecksum - fixed off-by-one bug when
190         processing the checksum buffer.
191
192         * AssemblyBuilder.cs: introduced a kludge to add #pragma checksum
193         and #pragma lines (or its vb equivalent - #ExternalSource) to
194         code-behind files named in the CodeFile/Src directives while
195         copying them to the dynamic directory for compilation. The kludge
196         works by recognizing the .cs and .vb extensions and wrapping the
197         file contents in the appropriate directives. This is done in this
198         way because the other possible way, using the
199         CodeSnippetCompileUnit, requires the entire file to be read in
200         memory and then passed to CodeDOM. We fall back to this way when
201         the file being copied is neither C# or VB.
202
203 2009-03-25  Marek Habersack  <mhabersack@novell.com>
204
205         * AspTokenizer.cs: MD5 checksum calculation happens here. It's
206         done incrementally as characters are read.
207
208         * AspParser.cs: the MD5 checksum is no longer computed here. Moved
209         to AspTokenizer.
210         After parsing, both the tokenizer and the string reader are
211         disposed of.
212
213         * AssemblyBuilder.cs: renamed CopyFile to CopyFileWithChecksum, in
214         prepration for future inclusion of checksum and line pragmas in
215         the file being copied.
216         Files are copied chunk by chunk, not by reading the entire
217         contents.
218
219 2009-03-23  Zoltan Varga  <vargaz@gmail.com>
220
221         * PageCompiler.cs: Fix the build.
222
223 2009-03-23  Marek Habersack  <mhabersack@novell.com>
224
225         * TemplateBuildProvider.cs: add values of the CodeFile and Src
226         page/master/control directives to the list of file dependencies.
227         Extract language also for master/page, not only for controls.
228
229         * PageCompiler.cs: CreateConstructors now triggers master page
230         build, if the current page is using one. Fixes bug #487857
231
232 2009-03-16  Marek Habersack  <mhabersack@novell.com>
233
234         * AspGenerator.cs: when parsing nested tags (includes tags inside
235         client-side javascript script blocks) pass the closing tag up to
236         the containing parser.
237         Instead of parsing the whole plain text contents, plus the two
238         constructs we're interested in from it using regexs. This is
239         necessary as we might be passed JavaScript code and without
240         understanding its syntax we'll confuse the '<' character for the
241         start of a tag.
242         TagParsed now better handles <script> tags. For both server and
243         client tags ProcessScript is called and the input text, in case of
244         client tags, is read verbatim to be processed when ProcessScript
245         is called to close the tag. At this point the verbatim text is
246         checked whether it contains server-side tags and/or expressions.
247
248 2009-03-12  Marek Habersack  <mhabersack@novell.com>
249
250         * BuildManager.cs, BuildManagerDirectoryBuilder.cs,
251         BuildProvider.cs, TemplateBuildProvider.cs: dependencies are
252         returned as an IDictionary <string, bool>. Dependencies must be
253         compared case-insensitively.
254
255         * TemplateBuildProvider.cs: ExtractReferenceDependencies must also
256         extract the value of the Page attribute.
257
258 2009-02-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
259
260         * AppResourcesAssemblyBuilder.cs:
261         * BuildManagerDirectoryBuilder.cs:
262         * AspComponentFoundry.cs:
263         * AssemblyBuilder.cs:
264         * CachingCompiler.cs:
265         * AspGenerator.cs:
266         * WsdlBuildProvider.cs:
267         * BaseCompiler.cs:
268         * BuildProvider.cs:
269         * AppWebReferencesCompiler.cs:
270         * TemplateControlCompiler.cs:
271         * BuildManager.cs:
272         * AppCodeCompiler.cs: settings that have to be in
273         machine.config or the root level web.config now call
274         GetWebApplicationSection.
275
276 2009-02-26  Marek Habersack  <mhabersack@novell.com>
277
278         * TagAttributes.cs: modified ToString to return string formatted
279         in a more helpful way.
280
281         * AspParser.cs: added ToString, helpful when debugging.
282
283         * AspGenerator.cs: properly print leading and trailing plain text
284         when looking for embedded tags in ProcessTagsInAttributes.
285
286 2009-02-25  Marek Habersack  <mhabersack@novell.com>
287
288         * AspTokenizer.cs: put_back now uses a stack and allows more than
289         one invocation when called inside a tag.
290
291         * AspGenerator.cs: when a nested parser is used, pay attention to
292         server tags found inside client tags and add them to the control
293         tree.
294
295 2009-02-24  Marek Habersack  <mhabersack@novell.com>
296
297         * BuildManager.cs: Path.Combine must not be passed null first
298         parameter.
299
300 2009-02-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
301
302         * System.Web.Compilation/BuildManager.cs: updated comment.
303
304 2009-02-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
305
306         * TemplateControlCompiler.cs: lowercase place holder names
307         * BuildManager.cs: initial support for precompiled sites.
308
309 2009-02-13  Marek Habersack  <mhabersack@novell.com>
310
311         * AspParser.cs: added an event raised when parsing is complete.
312
313         * AspGenerator.cs: added support for PageParserFilter which, if
314         found, is used to control certain aspects of code parsing
315         (accepting/rejecting control types, accepting/rejecting code
316         snippets, parsing completion)
317         Added the AddControl method, used by PageParserFilter when a
318         custom filter wants to inject a control in the current control
319         builder tree.
320
321 2009-02-05  Marek Habersack  <mhabersack@novell.com>
322
323         * AppResourcesCompiler.cs: implemented a type resolver for
324         ResXResourceReader so that it can correctly resolve
325         System.Resources types which are normally found in
326         System.Windows.Forms but are included by System.Web
327         directly. Without the type resolver, code comparing types inside
328         ResXResourceReader when file references are used in side the .resx
329         file will not work correctly. The reason for that is that .resx
330         files will name "System.Resources.ResXFileRef,
331         System.Windows.Forms" as the file reference handler, while inside
332         System.Web ResXFileRef will be of type
333         "System.Resources.ResXFileRef, System.Web". Fixes bug #466059
334
335         * GenericBuildProvider.cs: added a new virtual method, MapPath,
336         which can be overriden by builders which need special handling of
337         virtual path mapping.
338
339         * PageBuildProvider.cs: provide implementation of
340         GenericBuildProvider.MapPath which takes into account fake virtual
341         paths. Fixes bug #463950
342
343 2009-01-26  Marek Habersack  <mhabersack@novell.com>
344
345         * BuildManagerDirectoryBuilder.cs: added support for fake virtual
346         paths.
347
348         * CompilationException.cs: added a Message override to make error
349         messages more useful.
350
351 2009-01-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
352
353         * AspComponentFoundry.cs: no need to throw. Caller handles a null
354         return value.
355
356 2009-01-23  Marek Habersack  <mhabersack@novell.com>
357
358         * BuildManager.cs: use -1 for infinite wait in calls to
359         Acquire{Reader,Writer}Lock ().
360
361 2009-01-22  Marek Habersack  <mhabersack@novell.com>
362
363         * XsdBuildProvider.cs: added missing BuildProviderAppliesTo
364         attribute.
365
366         * BuildProvider.cs: added new internal virtual method,
367         ExtractDependencies() whose purpose is to extract virtual path
368         dependencies without compiling the code, if possible.
369         
370         * TemplateBuildProvider.cs: implemented the new
371         ExtractDependencies () method which uses regular expressions to
372         extract file dependencies from the source without having to
373         compile the file.
374
375         * CompilationException.cs: added a new public property, Results,
376         which returns the compilation results.
377
378         * BuildProviderGroup.cs: added. A simple class descending from
379         List <BuildProvider> which is used to hold a compilation batch -
380         that is a collection of BuildProvider instances.
381
382         * BuildManagerDirectoryBuilder.cs: new class which takes care of
383         generating compilation batches for the requested virtual path. A
384         set of batches is generated from files found in the same virtual
385         directory as the requested virtual path and all of the
386         dependencies of those files. All files are grouped in batches
387         within which no file depends upon its siblings. An attempt is made
388         to sort the batches from the "least dependent" to the "most
389         dependent" batches - i.e. the batches which do not depend on other
390         batches go to the top.
391         Code generating the batches now correctly detects dependency loops
392         and throws an exception when one is encountered.
393         Batches are represented as instances of a new class -
394         BuildProviderGroup.
395
396         * BuildManagerCacheItem.cs: added. Contains all the compilation
397         result information needed by BuildManager. See below.
398
399         * BuildManager.cs: complete batch building rewrite:
400          - only one build lock is held instead of a set of compilation
401            tickets. Only one thread can compile anything at one given
402            time.
403          - retrieving types from the build cache now uses a slim rw lock,
404            so that readers aren't blocked while compilation is in
405            progress. Writer lock is acquired only when adding a newly
406            compiled type to the build cache and when removing it after its
407            dependencies made it invalid.
408          - assembly references for each compilation are now collected
409            dynamically as the source is being compiled, this removed a lot
410            of complexity in dealing with assembles containing conflicting
411            types. As a consequence right now there may exist several
412            loaded assemblies containing the same type, but only the latest
413            of them will be used in new compiles.
414          - the thread compiling code can recurse into the Build method
415            which causes the recursively referenced code to be compiled
416            into a separate, uniquely named, assembly. This deals with all
417            recursion loops and dependency problems.
418          - automatic app domain restart after a certain number of compiles
419            is enabled now.
420          - improved compilation error handling. If a compilation error
421            occurs, the code attempts to recompile the assembly up to 3
422            times, each time removing from the batch the files/virtual
423            paths which failed parsing/compilation. If the attempts failed,
424            another one is made to compile only the virtual path requested
425            by the calling code. Only should that fail a compilation
426            exception is thrown. All the compilation errors are written to
427            stdout if the application is in the debug mode.
428          - changed assembly naming. It now generates assembly names based
429            on whether the compilation is recursive and whether the batch
430            being compiled contains more than one code unit or
431            not.
432          - compilation results are now stored in the cache as instances of
433            the new BuildManagerCacheItem class, which contains all the
434            information required by BuildManager to return types,
435            assemblies, dependencies etc.
436          - GetReferencedAssemblies now correctly returns only the
437            assemblies defined in the .config files.
438          - GetVirtualPathDependencies does not need to compile code
439            anymore in order to extract virtual path dependencies. New code
440            in BuildProvider.ExtractDependencies () takes care of that.
441          - a BuildManagerDirectoryBuilder class instance is used to
442            generate compilation batches.
443          - if SYSTEMCOR_DEP is undefined use ReaderWriterLock instead of
444          ReaderWriterLockSlim
445
446         * AssemblyBuilder.cs: added support for keeping track of which
447         code unit was generated by which BuildProvider andr which
448         BuildProvider produced a given source file. Both changes serve the
449         purpose of dealing with compilation errors in BuildManager.
450
451         * ApplicationFileBuildProvider.cs: added missing
452         BuildProviderAppliesTo attribute
453
454 2009-01-14  Marek Habersack  <mhabersack@novell.com>
455
456         * AspGenerator.cs: implemented a work around which allows the
457         server controls embedded in client tag attributes to be parsed and
458         compiled.
459
460 2009-01-13  Marek Habersack  <mhabersack@novell.com>
461
462         * TemplateControlCompiler.cs, AspGenerator.cs, BaseCompiler.cs,
463         GlobalAsaxCompiler.cs, PageThemeCompiler.cs: updates related to
464         ControlBuilder cleanup.
465
466 2009-01-12  Marek Habersack  <mhabersack@novell.com>
467
468         * TemplateControlCompiler.cs: do not generate #line pragmas for
469         plain strings. Fixes bug #461214
470
471 2008-12-11  Marek Habersack  <mhabersack@novell.com>
472
473         * BaseCompiler.cs: added a new method, InitializeType, to be
474         overriden in child classes when any class initialization needs to
475         be performed before methods, constructors and fields are created.
476
477         * TemplateControlCompiler.cs: if the parser has any custom
478         controls registered, compile them here - in the InitializeType
479         method.
480
481 2008-12-10  Marek Habersack  <mhabersack@novell.com>
482
483         * ParseException.cs: made serializable.
484
485         * PageCompiler.cs: CreateStronglyTypedProperty calls
486         AddReferencedAssembly to add type's assembly to the unit's
487         references after the typed property has been created.
488
489         * BaseCompiler.cs: added a new helper method,
490         AddReferencedAssembly to be used whenever an assembly location
491         needs to be added to the compilation unit's list after the parsing
492         is done (e.g. when processing PreviousPageType or MasterPageType
493         properties in PageParser)
494
495 2008-12-08  Marek Habersack  <mhabersack@novell.com>
496
497         * TemplateControlCompiler.cs: use the correct regex match group
498         index in SanitizeBindCall (), fixes bug #457011
499
500 2008-12-05  Marek Habersack  <mhabersack@novell.com>
501
502         * BuildManager.cs: attempt to enter the compilation critical
503         section with a timeout up to 3 times before giving up. This avoids
504         deadlocks in situations where there are two virtual directores
505         each containing user controls referencing user controls from the
506         other directory.
507
508 2008-12-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
509
510         * AspParser.cs: reset to the next character in a partial match in case
511         of failure. Fixes bug #314688.
512
513 2008-12-01  Marek Habersack  <mhabersack@novell.com>
514
515         * TemplateControlCompiler.cs: instead of adding ContentPlaceHolder
516         instances to the ContentPlaceHolders collection when the
517         placeholder is instantiated in the control build method, collect
518         the ids and store them in ContentPlaceHolders inside the
519         constructor. Fixes bug #449970
520         For each content placeholder generate a public virtual property
521         named "Template_PLACEHOLDERID", this is compatible with what .NET
522         does.
523
524         * BaseCompiler.cs: added new virtual method,
525         AddStatementsToConstructor, which is called just before
526         CreateConstructor returns.
527
528 2008-11-25  Marek Habersack  <mhabersack@novell.com>
529
530         * AspComponentFoundry.cs: GetComponentType methods replaced with
531         GetComponent returning an instance of AspComponent which fully
532         describes the registered item. Components are cached, indexed by
533         full tag name.
534
535         * AspComponent.cs: added
536
537 2008-11-21  Marek Habersack  <mhabersack@novell.com>
538
539         * CompilationException.cs: made serializable.
540
541         * TemplateControlCompiler.cs: make the Bind regex stricter.
542         When creating Eval expression from Bind, replace single quotes
543         with double quotes. Fixes bug #447597
544         When processing Bind expressions and the regex doesn't match,
545         throw an exception.
546
547 2008-11-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
548
549         * AspTokenizer.cs: if there's a newline between the opening server tag
550         and any other special character, treat the block as a code-render
551         block.
552         Bug #445889 fixed.
553
554 2008-11-14  Marek Habersack  <mhabersack@novell.com>
555
556         * TemplateControlCompiler.cs: treat Eval and Bind expressions as
557         verbatim code. The only difference between the two is that in the
558         latter case Bind is replaced with Eval in the output code. Fixes
559         bug #444725
560         If BindingDirection of the parent template builder is OneWay in
561         RegisterBindingInfo, do not throw an exception but simply do not
562         register the binding.
563
564 2008-10-29  Marek Habersack  <mhabersack@novell.com>
565
566         * BuildManager.cs: seal the internal classes.
567         Remove unused BuildCacheItem.ValidBuild property.
568
569 2008-10-16  Marek Habersack  <mhabersack@novell.com>
570
571         * TemplateControlCompiler.cs: IsWritablePropertyOrField doesn't
572         use PropertyInfo.CanWrite to check whether the property is
573         writable anymore, it calls GetSetMethod (false) instead.
574
575 2008-10-10  Marek Habersack  <mhabersack@novell.com>
576
577         * TemplateControlCompiler.cs: allow whitespace around parentheses 
578         in the Bind and Eval expressions.
579
580 2008-10-09  Marek Habersack  <mhabersack@novell.com>
581
582         * BuildManager.cs: if monoSettings section is found in the
583         system.web section in web.config, use its contents to augment
584         compiler configuration. Used to work around the issue reported in
585         bug #433806
586
587 2008-10-08  Marek Habersack  <mhabersack@novell.com>
588
589         * TemplateControlCompiler.cs: templates must be instantiated even
590         for builders which process children as properties.
591
592 2008-10-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
593
594         * AssemblyBuilder.cs: use CodeBase to get to the original assembly
595         path because Location might point the the shadow copy. Bug #409646
596         and others fixed.
597
598 2008-10-03  Marek Habersack  <mhabersack@novell.com>
599
600         * BuildManager.cs: if an assembly fails to build out of a batch of
601         files, extract the virtual path that was requested by the client
602         and attempt to compile it alone.
603
604 2008-09-29  Marek Habersack  <mhabersack@novell.com>
605
606         * BuildManagerRemoveEntryEventHandler.cs: added
607
608         * BuildManager.cs: added a static event to notify interested
609         parties when an entry is removed from the buildCache. Fixes bug
610         #429926.
611
612 2008-09-26  Marek Habersack  <mhabersack@novell.com>
613
614         * BuildManager.cs: when creating a cache entry for a virtual path,
615         make it depend on a list of files built recursively from all the
616         virtual path's dependencies. Fixes bug #430114
617
618 2008-09-24  Andreia Gaita <avidigal@novell.com> 
619  
620         * AspParser.cs: When parsing text which contain xml tags that resemble
621         the end string, append the original text instead of the end string,
622         because the casing might not match between the two. Fixes #320445
623
624 2008-09-23  Marek Habersack  <mhabersack@novell.com>
625
626         * AspGenerator.cs: ignore whitespace only if it's between
627         CodeRender blocks, not between DataBinding and
628         CodeRenderExpression.
629
630 2008-09-01  Marek Habersack  <mhabersack@novell.com>
631
632         * BaseCompiler.cs: AssignAppRelativeVirtualPath works with
633         null/empty parser.InputFile now.
634
635         * AspGenerator.cs: AddTypeToCache works checks whether inputFile
636         is null or empty and does not assume the dependencies ArrayList is
637         present.
638         CloseControl uses ControlBuilder's OriginalTagName property,
639         should the property/tag name be prefixed with 'prefix:'
640
641         * CachingCompiler.cs: expect the dependencies ArrayList to be null
642         or empty.
643
644 2008-08-31  Marek Habersack  <mhabersack@novell.com>
645
646         * TemplateControlCompiler.cs: trust builder.BindingContainerType
647         in the 2.0+ profile - do not use container properties to detect
648         the type.
649         Added a helper method, compiled only when DEBUG is defined, to
650         generate Console.WriteLine CodeDOM calls.
651         Templates are processed before anything else, so that children
652         which may depend on parent's templates can get access to them.
653
654         * BaseCompiler.cs: add line pragmas only if enabled for the
655         current file.
656
657 2008-08-29  Marek Habersack  <mhabersack@novell.com>
658
659         * AppCodeCompiler.cs: properly handle profile base class
660         specifications which refer to full type names.
661
662 2008-08-26  Marek Habersack  <mhabersack@novell.com>
663
664         * BuildManager.cs: use VirtualPathUtility.Combine in
665         GetAbsoluteVirtualPath for non-rooted paths.
666
667 2008-08-19  Marek Habersack  <mhabersack@novell.com>
668
669         * ThemeDirectoryBuildProvider.cs: theme directory dependencies
670         should use only virtual paths for CSS files. Fixes bug #397187
671
672 2008-08-18  Marek Habersack  <mhabersack@novell.com>
673
674         * TemplateControlCompiler.cs: process expression when they are
675         used used in values of attributes without associated
676         properties. Fixes bug #417883
677
678         * ResourceExpressionBuilder.cs: added two overloads of
679         CreateGetLocalResourceObject to encompass cases when the generated
680         expression is not assigned to a property but rather used as a
681         parameter to the SetAttribute method. Fixes bug #417883
682
683 2008-08-14  Marek Habersack  <mhabersack@novell.com>
684
685         * AspGenerator.cs: do not ignore directives inside HTML comments.
686
687         * TemplateControlCompiler.cs: .NET allows for whitespace between
688         the directive start (<%) and the directive type character. Added
689         code which copes with such situations correctly.
690
691 2008-08-13  Marek Habersack  <mhabersack@novell.com>
692
693         * TemplateControlCompiler.cs: rewrote the Bind regular expressions
694         to allow for single quotes and an optional second parameter to the
695         "call".
696         Added an Eval regular expression.
697         Both Bind and Eval calls in data expressions are now converted
698         into a CodeDOM method invocations, to allow support for possible
699         languages which use a different call format (previously code
700         snippets were used)
701         Added a method to construct the Eval invoke expression which
702         simplifies code in other areas.
703         
704
705 2008-08-06  Marek Habersack  <mhabersack@novell.com>
706
707         * TemplateControlCompiler.cs: handle situation when a property of
708         a control for which we're generating the code is of type
709         'Type'. In such case, variable.GetType() will return
710         System.MonoType, which must not be output to the generated
711         source. Thanks to Robert Jordan for giving the idea for the hack!
712
713 2008-06-30  Marek Habersack  <mhabersack@novell.com>
714
715         * AspGenerator.cs: hush the warnings and fix invalid type
716         comparison.
717
718         * AssemblyBuilder.cs: hush the warnings and add some debugging
719         CWLs.
720
721         * AspParser.cs, AppResourcesCompiler.cs, TemplateBuildProvider.cs,
722         CachingCompiler.cs, BaseCompiler.cs, TemplateControlCompiler.cs,
723         SimpleBuildProvider.cs, BuildManager.cs: hush the warnings
724
725 2008-06-18  Marek Habersack  <mhabersack@novell.com>
726
727         * TemplateControlCompiler.cs: AddChildCall properly processes the
728         PartialCachingAttribute now.
729
730 2008-06-11  Marek Habersack  <mhabersack@novell.com>
731
732         * BuildManager.cs: if an error occurs while assigning the
733         requested path to an assembly builder inside BuildAssembly, throw
734         an exception.
735
736         * BaseCompiler.cs: do not generate #line pragma for code which
737         exists only in memory.
738
739 2008-05-30  Marek Habersack  <mhabersack@novell.com>
740
741         * ClientBuildManager.cs: do not use synthetized event accessors
742         (to avoid locks).
743
744 2008-05-28  Marek Habersack  <mhabersack@novell.com>
745
746         * AspParser.cs, AspGenerator.cs, BaseCompiler.cs: added support
747         for #pragma checksum
748
749 2008-05-19  Marek Habersack  <mhabersack@novell.com>
750
751         * AspGenerator.cs: if the last tag parsed was a code directive,
752         ignore any accumulated text if it's 100% whitespace.
753         Do not parse code render directives inside comments.
754
755 2008-05-15  Marek Habersack  <mhabersack@novell.com>
756
757         * AspComponentFoundry.cs: treat AssemblyFoundry in a special way
758         when adding a foundry to the array list. AssemblyFoundry instances
759         are stacked at the end of the array list in a LIFO manner. That
760         way TagNameFoundry takes precedence over AssemblyFoundry should
761         the two contain the same type.
762
763 2008-05-14  Marek Habersack  <mhabersack@novell.com>
764
765         * ParseException.cs: location can be null in the FileText property
766         getter.
767
768 2008-05-07  Marek Habersack  <mhabersack@novell.com>
769
770         * AspGenerator.cs: push the include file directory to the parser
771         include directory stack and pop it after parsing the include, so
772         that the relative file paths are resolved correctly. Fixes bug
773         #324536
774
775 2008-05-06  Marek Habersack  <mhabersack@novell.com>
776
777         * TemplateControlCompiler.cs: compatibility - added the
778         __stringResource static field to the generated class and a call to
779         SetStringResourcePointer to the FrameworkInitialize method.
780
781         * PageCompiler.cs: __fileDependencies should also be defined in
782         the 1.x profile.
783         Page properties assigned in the page directive should be set
784         inside BuildControlTree in the 2.0 profile.
785
786 2008-04-29  Marek Habersack  <mhabersack@novell.com>
787
788         * WebServiceCompiler.cs: if compiling a body-less web service, try
789         to load the class type from the loaded assemblies before
790         attempting to find it in the assemblies on disk.
791
792 2008-04-28  Marek Habersack  <mhabersack@novell.com>
793
794         * BuildManager.cs: ignore bad assemblies in the bin/
795         directory. Fixes bug #315816
796
797 2008-04-26  Marek Habersack  <mhabersack@novell.com>
798
799         * GenericBuildProvider.cs: the Parse () method should reuse the
800         previously opened TextReader when calling generator.Parse (), to
801         avoid opening the input file multiple times. Fixes bug #383881
802
803 2008-04-25  Marek Habersack  <mhabersack@novell.com>
804
805         * AspGenerator.cs: put some safeguards in, to make sure streams
806         are closed in any case.
807
808 2008-04-24  Marek Habersack  <mhabersack@novell.com>
809
810         * AspComponentFoundry.cs: added a new GetComponentType overload
811         which returns component source and a boolean flag whether the
812         control was registered from web.config (2.0).
813
814 2008-04-22  Marek Habersack  <mhabersack@novell.com>
815
816         * BuildManager.cs: ignore also arbitrary exceptions when
817         batch-building an assembly. Fixes bug #323556
818
819 2008-04-19  Marek Habersack  <mhabersack@novell.com>
820
821         * BuildManager.cs: use absolute virtual path to query the
822         VirtualPathProvider for path existence.
823         When ASP.NET is self-hosted, force
824         non-batch compilation. Fixes bug #380985
825
826         * ILocation.cs: added a new property, FileText.
827         
828         * Location.cs: added implementation of the ILocation.FileText
829         property.
830
831         * ParseException.cs: use the new ILocation.FileText, if defined,
832         to get the file source.
833         
834         * AspGenerator.cs: when TextReader is present, use it to read with
835         the VirtualPathProvider to read the file source. Fixes bug #381364
836
837         * AspParser.cs: added a new property FileText to provide the file
838         contents which was read in the constructor.
839
840 2008-04-18  Marek Habersack  <mhabersack@novell.com>
841
842         * BuildManager.cs: when any parsing error occurs during batch
843         building, ignore the file which caused it. If the file with
844         parsing error is the one requested by user, throw the parsing
845         exception. Fixes bug #323742
846
847 2008-04-15  Marek Habersack  <mhabersack@novell.com>
848
849         * CachingCompiler.cs: dispose of streams the way it should
850         be done.
851
852 2008-04-09  Marek Habersack  <mhabersack@novell.com>
853
854         * BuildManager.cs: refactoring - the SetCommonParameters and
855         GetDefaultCompilerTypeForLanguage moved here from BuildProvider,
856         and made internal static.
857         Do not catch compilation exceptions and wrap them in
858         HttpException, let the CompilationException pass through. Fixes
859         bug #377904
860
861         * AppWebReferencesCompiler.cs: added - support for compiling of
862         wsdl files found in the App_WebResources directory. Fixes bug
863         #377934
864
865         * BuildProvider.cs: refactoring - moved the SetCommonParameters
866         and GetDefaultCompilerTypeForLanguage to BuildManager
867
868         * WsdlBuildProvider.cs: added the CodeCompilerType property
869         override.
870         Namespace for the generated code is taken from the wsdl path,
871         relative to App_Code or App_WebReferences, if the wsdl in question
872         is under on of those directories.
873         GenerateCode uses OpenReader () so that VirtualPathProvider works
874         for wsdl files.
875
876         * AssemblyBuilder.cs: make sure Encoding.UTF8 is explicitly used
877         when generating source from code unit and use
878         WebEncoding.FileEncoding when adding code files to the unit. Fixes
879         bug #377938
880         Cope with virtualPath being null in BuildAssembly.
881         Reference assemblies specified in web.config when linking.
882
883 2008-04-08  Marek Habersack  <mhabersack@novell.com>
884
885         * AspComponentFoundry.cs: add loaded assembly to the
886         BuildManager's list of referenced assemblies instead to
887         WebConfigurationmanager.ExtraAssemblies. Fixes bug #377915
888
889         * AppCodeCompiler.cs: VirtualPath used in PhysicalToVirtual.
890
891         * BuildManager.cs: switched to VirtualPath instead of a string
892         path in several methods.
893         Batch compilation is turned off if we have a custom
894         VirtualPathProvider which implements only the VirtualFile and
895         falls back to DefaultVirtualDirectory implementation for directory
896         access.
897         Added an internal method AddToReferencedAssemblies.
898         Remove invalidated entry from
899         WebConfigurationManager.ExtraAssemblies.
900
901         * GenericBuildProvider.cs: AddCodeFile accepts a virtual path.
902
903         * BuildProvider.cs: SetVirtualPath accepts a VirtualPath now.
904
905         * AssemblyBuilder.cs: constructors use the new VirtualPath class
906         now.
907         AddCodeFile can use the VirtualPathProvider if necessary now.
908         BuildAssembly overloads accept VirtualPath parameter instead of a
909         string path now.
910
911         * TemplateBuildProvider.cs: GetCodeBehindSource returns the
912         virtual path now.
913
914 2008-03-31  Marek Habersack  <mhabersack@novell.com>
915
916         * AppCodeCompiler.cs: implemented support for AppInitialize (a
917         static method in any class defined in the App_Code source files),
918         ran just after the App_Code assemblies are compiled in order to
919         perform any application initialization actions.
920
921 2008-03-27  Marek Habersack  <mhabersack@novell.com>
922
923         * BuildManager.cs: AssertVirtualPathExists now queries the
924         VirtualPathProvider for path existence if physical path check
925         fails, before throwing the 404 exception.
926
927 2008-03-13  Marek Habersack  <mhabersack@novell.com>
928
929         * BuildManager.cs: if we're running in a case-insensitive
930         environment, use case-insensitive comparer for the build caches. 
931
932 2008-02-29  Marek Habersack  <mhabersack@novell.com>
933
934         * BuildManager.cs: implement a mechanism to ignore certain virtual
935         paths when batch compiling. Helps applications which may have
936         .as?x files which won't work on mono for various reasons (one such
937         sample is mojoportal).
938
939 2008-02-28  Marek Habersack  <mhabersack@novell.com>
940
941         * TemplateControlCompiler.cs: make sure that data-bound attribute
942         assignments properly convert the Bind expression to the Eval
943         one. Fixes bug #362039
944
945         * AspGenerator.cs: in 2.0+, aspx files which contain the Content
946         controls can contain only them, whitespace and directives. Fixes
947         bug #339747
948
949 2008-02-27  Marek Habersack  <mhabersack@novell.com>
950
951         * AspComponentFoundry.cs: use BuildManager.GetCompiledType in the
952         LoadType method for the 2.0 profile.
953
954         * CompilationException.cs: use a different format of ErrorMessage
955         for the 2.0+ profile.
956
957 2008-02-26  Marek Habersack  <mhabersack@novell.com>
958
959         * BuildManager.cs: known file types extensions are now matched
960         case-insensitively.
961
962 2008-02-25  Marek Habersack  <mhabersack@novell.com>
963
964         * TemplateControlCompiler.cs: GetContainerType now checks whether
965         the binding container returned from the builder implements
966         IDataItemContainer (for 2.0+ profiles) and looks for one more
967         property, Rows, if no Items property is found.
968
969 2008-02-08  Gert Driesen  <drieseng@users.sourceforge.net>
970
971         * AppSettingsExpressionBuilder.cs: Improve exception messages. Return
972         "raw" appsetting value if targetType is null.
973
974 2008-02-07  Marek Habersack  <mhabersack@novell.com>
975
976         * CompilationException.cs: added new constructor which takes
977         CompilerResults as one of the parameters.
978         Added CompilerOutput property.
979
980         * AssemblyBuilder.cs: use the new CompilationError constructor.
981
982         * BuildManager.cs: check for virtualPath existence before
983         attempting to compile the assemblies. Fixes bug #359465
984
985 2008-02-06  Marek Habersack  <mhabersack@novell.com>
986
987         * GenericBuildProvider.cs: GetGeneratedType may return a type even
988         though the results are null.
989
990         * AssemblyBuilder.cs: if there are no units, no source files, no
991         resources and no embedded resources in the passed options then
992         do not attempt to compile the assembly. Fixes bug #359325
993
994         * AppResourcesAssemblyBuilder.cs, AppCodeCompiler.cs: expect that
995         BuildAssembly may return null results.
996
997         * BuildManager.cs: protect non-page builds from endless recursion
998         if a non-page file recursively references/includes another file
999         from the same batch. If such case is detected, the recursively
1000         referenced file is compiled into a separate assembly and removed
1001         from the previous compilation batch. Fixes bug #358742.
1002         If AssemblyBuilder returns no results from BuildAssembly, it might
1003         mean we're dealing with a compilation of empty .as[hm]x files,
1004         with no code and only code-behind in bin/. Do not report an error
1005         in that case, only add the compiled types to the cache. Fixes bug
1006         #357624.
1007
1008 2008-02-05  Marek Habersack  <mhabersack@novell.com>
1009
1010         * BuildManager.cs: GetAbsoluteVirtualPath correctly converts
1011         non-rooted relative paths to absolute ones now. Fixes bug
1012         #357504.
1013
1014         * GenericBuildProvider.cs: introduced a new abstract method,
1015         GetReferencedAssemblies, which is called on descendant builders to
1016         get a list of assemblies referenced by the parsed file. Fixes bug
1017         #357499.
1018
1019         * AssemblyBuilder.cs: added a new overload of the
1020         AddAssemblyReference method, to be used by build providers to
1021         register assemblies collected by the corresponding parser.
1022
1023         * TemplateBuildProvider.cs, SimpleBuildProvider.cs: implemented
1024         overload of the new abstract method GetReferencedAssemblies.
1025
1026         * AspGenerator.cs: introduced a new overload for the Parse method
1027         which accepts a bool indicating whether or not to initialize the
1028         parser. The overload is used when parsing server-side
1029         includes. Fixes bug #357498
1030
1031 2008-02-04  Marek Habersack  <mhabersack@novell.com>
1032
1033         * AssemblyBuilder.cs: do not use WebEncoding.FileEncoding when
1034         generating source code files. Fixes bug #357053.
1035
1036         * AspGenerator.cs: set isApplication before parsing. Fixes bug
1037         #357036.
1038
1039 2008-01-31  Jb Evain  <jbevain@novell.com>
1040
1041         * AspGenerator.cs: correct typo. Fix #357547.
1042
1043 2008-01-27  Marek Habersack  <mhabersack@novell.com>
1044
1045         * BuildManager.cs: GetReferencedAssemblies includes the extra
1046         assemblies and the App_Code assemblies. Patch from Mike Morano
1047         <mmorano@mikeandwan.us>, thanks!
1048
1049 2008-01-24  Marek Habersack  <mhabersack@novell.com>
1050
1051         * WebHandlerBuildProvider.cs: derive from the new
1052         SimpleBuildProvider class.
1053
1054         * BuildManager.cs: full implementation of the batch compilation
1055         for the 2.0 profile. The implementation is most probably different
1056         to MS.NET's but the effects are the same (or nearly the same -
1057         there are some minor differences). There are missing bits and
1058         pieces, but minor ones - to be added later.
1059
1060         * SimpleBuildProvider.cs: new build provider abstract class
1061         deriving from the GenericBuildProvider that implements common code
1062         for building web handlers and web services.
1063
1064         * GenericBuildProvider.cs: new generic abstract class used to
1065         implement base builder code for all the build provider types and
1066         maximize code reuse.
1067
1068         * PageBuildProvider.cs: derive from the new TemplateBuildProvider
1069         class and implement all the necessary abstract members. 
1070         Handle "fake" virtual paths, to properly support generating of the
1071         WSDL helper code.
1072
1073         * BuildProvider.cs: SetVirtualPath now converts the passed path to
1074         absolute URL.
1075         Added internal virtual method GenerateCode, used by derived
1076         classes.
1077         SetCommonParameters no longer sets the referenced assemblies, this
1078         is done in BuildManager now.
1079         Added an internal virtual property CodeUnit which returns the
1080         build provider's compilation unit.
1081
1082         * PageCompiler.cs: fix assignment of base types for asynchronous
1083         pages, to match MS.NET.
1084         For asynchronous pages, add the necessary methods generation.
1085
1086         * BaseCompiler.cs: default namespace is now set using a constant.
1087         Renamed the Init method into ConstructType, to better reflect its
1088         purpose and made the method internal - it is used by the build
1089         providers.
1090         Added several CreateProvider overloads for easier and more unified
1091         compilation provider creation.
1092         Added an internal MainClassType property to enable class type name
1093         retrieval from other parts of the class hierarchy.
1094
1095         * ApplicationFileBuildProvider.cs: new build provider deriving
1096         from the TemplateBuildProvider class to compile the global.asax
1097         file.
1098
1099         * AspGenerator.cs: properly handle parsers which have no input
1100         file path given, but use TextReader instead.
1101         Dependencies are virtual paths now, convert them to physical ones
1102         before creating cache dependency.
1103
1104         * CachingCompiler.cs: parser dependencies are virtual paths now,
1105         convert them to physical ones before creating cache dependency.
1106
1107         * AssemblyBuilder.cs: full implementation of the documented
1108         functionality as well as a lot of internal build code
1109         added. Produces assemblies using the same style what MS.NET for
1110         temporary and target file naming. Handles partial type squashing
1111         if the same partial type is used by several code compile units
1112         added to the same builder instance.
1113
1114         * MasterPageBuildProvider.cs: use the new TemplateBuildProvider
1115         base class and add implementation of all the abstract methods
1116         required by it.
1117
1118         * ThemeDirectoryBuildProvider.cs: new build provider to compile
1119         theme directories. Replaces the old ThemeDirectoryCompiler class.
1120
1121         * UserControlBuildProvider.cs: use the new TemplateBuildProvider
1122         base class and add implementation of all the abstract methods
1123         required by it.
1124
1125         * TemplateBuildProvider.cs: new internal abstract class which
1126         implements the common tasks for all the template control build
1127         providers.
1128
1129         * WebServiceBuildProvider.cs: use the new SimpleBuildProvider base
1130         type to implement building.
1131
1132 2008-01-17  Igor Zelmanovich <igorz@mainsoft.com>
1133
1134         * BaseCompiler.cs: Assign AppRelativeVirtualPath correctly
1135
1136 2008-01-08  Marek Habersack  <mhabersack@novell.com>
1137
1138         * TemplateControlCompiler.cs: statements to assign
1139         fields/properties from resources must be processed at the very end
1140         of the control creation method. Some controls (like HyperLink) can
1141         set their Text attribute using literal content. In such cases, in
1142         order to properly localize the control, the value read from the
1143         local page resources must be assigned after the literal value has
1144         been added to the control. Fixes bug #323494
1145
1146 2008-01-07  Marek Habersack  <mhabersack@novell.com>
1147
1148         * CachingCompiler.cs: added an overload to the Compile method
1149         which accepts a flag whether or not to include debug information
1150         in the generated assembly.
1151
1152 2008-01-02  Marek Habersack  <mhabersack@novell.com>
1153
1154         * TemplateControlCompiler.cs: add line pragma wherever necessary.
1155
1156         * PageCompiler.cs: reorder the statements to match MS.NET output.
1157         Output line pragma information for directive attributes.
1158
1159         * BaseCompiler.cs: add a set of AddLinePragma methods for various
1160         CodeDOM elements. 
1161         Output line pragmas when adding server-side scripts to the CodeDOM
1162         tree.
1163
1164         * AspGenerator.cs: use ServerSideScript to store script location
1165         in the original file.
1166
1167         * UserControlCompiler.cs: output line pragmas for the init
1168         method.
1169
1170 2007-12-28  Marek Habersack  <mhabersack@novell.com>
1171
1172         * PageCompiler.cs: MS.NET compatibility: added the
1173         __fileDependencies object to the generated class.
1174         Refactored the output to match MS.NET more closely.
1175         IHttpHandler or IHttpAsyncHandler are now added to the generated
1176         class list of implemented interfaces.
1177         
1178         * BaseCompiler.cs: Main class field references are prefixed with
1179         'global::' now. 
1180         Refactored the output to match MS.NET more closely.
1181
1182 2007-12-27  Marek Habersack  <mhabersack@novell.com>
1183
1184         * BaseCompiler.cs: check for base type globality in all the
1185         location it is used.
1186
1187 2007-12-23  Vladimir Krasnov  <vladimirk@mainsoft.com>
1188
1189         * AppSettingsExpressionBuilder.cs: fixed GetAppSetting, should convert
1190         to property type
1191
1192 2007-12-21  Marek Habersack  <mhabersack@novell.com>
1193
1194         * BaseCompiler.cs: Refactoring. Move the provider creation code to
1195         an internal static method, so that other piece of code which need
1196         to create the provider can do it using the same code. 
1197         Added setters to several internal properties, so that they can be
1198         shared with derivative classes.
1199
1200         * WebServiceCompiler.cs: adjust to the changes above. Fixes bug
1201         #350398.
1202
1203         * CachingCompiler.cs: adjust to the changes above. Also some
1204         refactoring.
1205
1206 2007-12-15  Marek Habersack  <mhabersack@novell.com>
1207
1208         * AppCodeCompiler.cs: do not instantiate CodeDomProvider twice.
1209
1210         * BaseCompiler.cs: do not use CreateCompiler () in the 2.0
1211         profile, it's obsoleted. CachingCompiler will use the
1212         CodeDomProvider methods directly in that case.
1213
1214         * WebServiceCompiler.cs: Updated GetCompiledType to acquire
1215         compiler information for the 2.0 profile from system.codeDom.
1216
1217         * CachingCompiler.cs: the Compile overloads do not use the
1218         compiler instance, but call appropriate methods on the
1219         CodeDomProvider instance directly.
1220         Updated some Compile overloads to acquire compiler information for
1221         the 2.0 profile from system.codeDom.
1222
1223 2007-12-14  Juraj Skripsky  <js@hotfeet.ch>
1224
1225         * TemplateControlCompiler.cs (AddExpressionAssign):
1226         Make sure expression does not contain prefix.
1227         
1228         * AppSettingsExpressionBuilder.cs: Pass type of property to
1229         GetAppSetting, not type of declaring type.
1230
1231 2007-12-13  Marek Habersack  <mhabersack@novell.com>
1232
1233         * TemplateControlCompiler.cs, AspComponentFoundry.cs,
1234         AssemblyBuilder.cs, AppResourcesCompiler.cs,
1235         AppResourcesAssemblyBuilder.cs, AppCodeCompiler.cs: speed
1236         optimization - use String.Concat instead of String.Format in some
1237         cases.
1238
1239 2007-11-22  Marek Habersack  <mhabersack@novell.com>
1240
1241         * PageCompiler.cs: use
1242         pageParser.OutputCacheVaryByContentEncodings when initializing the
1243         output cache in the 2.0 profile.
1244
1245 2007-11-06  Marek Habersack  <mhabersack@novell.com>
1246
1247         * BuildManager.cs: properly retrieve the BuildProviderCollection
1248         from configuration files.
1249
1250 2007-11-03  Marek Habersack  <mhabersack@novell.com>
1251
1252         * TemplateControlCompiler.cs: do not call converters specified in
1253         the member custom attributes if 'str' is null in
1254         GetExpressionFromString.
1255
1256 2007-10-23  Marek Habersack  <mhabersack@novell.com>
1257
1258         * AppResourcesAssemblyBuilder.cs: do not output preservation files
1259         for satellite assemblies, just for the main assembly. Also, don't
1260         add the satellite assemblies to the list of top-level assemblies.
1261
1262 2007-10-17  Marek Habersack  <mhabersack@novell.com>
1263
1264         * PageCompiler.cs: added code to set the AsyncMode and
1265         AsyncTimeout Page properties.
1266
1267 2007-10-15  Marek Habersack  <mhabersack@novell.com>
1268
1269         * TemplateControlCompiler.cs, WebServiceCompiler.cs,
1270         BuildProvider.cs, BaseCompiler.cs, CachingCompiler.cs: use
1271         HttpApplication.LoadType instead of Type.GetType.
1272
1273 2007-10-10  Marek Habersack  <mhabersack@novell.com>
1274
1275         * TemplateControlCompiler.cs: be careful when using type
1276         converters taken from attributes attached to class members. They
1277         may come from the System.Design namespace, which is mostly not
1278         implemented on Mono.
1279
1280 2007-10-01  Marek Habersack  <mhabersack@novell.com>
1281
1282         * AppResourcesCompiler.cs: resources are no longer compiled into a
1283         single assembly. Instead, the common assembly construction code
1284         has been moved to AppResourcesAssemblyBuilder to use satellite
1285         assemblies.
1286
1287         * AppResourcesAssemblyBuilder.cs: new resource assembly
1288         construction code which takes care of outputting satellite
1289         assemblies.
1290
1291 2007-09-27  Marek Habersack  <mhabersack@novell.com>
1292
1293         * TemplateControlCompiler.cs: support nullable types in
1294         GenerateExpressionFromString.
1295
1296 2007-09-21  Marek Habersack  <mhabersack@novell.com>
1297
1298         * TemplateControlCompiler.cs: if we're running on a platform with
1299         the directory separator character that's different to the Unix
1300         style '/' one, convert the input file path to the virtual path
1301         style string, with path parts separated by '/'. Patch from Robert
1302         Jordan <robertj@gmx.net>, thanks! Fixes bug #324229.
1303         
1304 2007-09-20  Marek Habersack  <mhabersack@novell.com>
1305
1306         * TemplateControlCompiler.cs: if a member passed to
1307         GetExpressionFromString has a TypeConverter attribute set, try to
1308         use the named type converter to convert the string value into the
1309         target type. Fixes bug #325489.
1310
1311 2007-09-14  Marek Habersack  <mhabersack@novell.com>
1312
1313         * AppResourcesCompiler.cs: use _culture and _resourceManager
1314         instead of culture and resourceManger in the generated code, to
1315         avoid case problems for languages that are case-insensitive.
1316
1317 2007-09-10  Marek Habersack  <mhabersack@novell.com>
1318
1319         * TemplateControlCompiler.cs: cast the expression to the field
1320         type whenever appropriate in GetExpressionFromString.
1321         When generating an object instance and one of the parameters is
1322         System.Type, return a typeof expression.
1323
1324 2007-09-07  Marek Habersack  <mhabersack@novell.com>
1325
1326         * TemplateControlCompiler.cs: another modification to the way
1327         TemplateInstance.Single templates are treated. The search for
1328         parent with this attribute set stops as soon as the first
1329         TemplateBuilder is encountered, no matter what the value of its
1330         TemplateInstance attribute is.
1331
1332 2007-09-06  Marek Habersack  <mhabersack@novell.com>
1333
1334         * TemplateControlCompiler.cs: ID must be assigned as soon as
1335         possible, before any other attributes of the control are
1336         accessed. The control code may rely on ID being set.
1337         Extend the process of checking if a control is located within a
1338         template with the TemplateInstance.Single attribute set, to all
1339         the parents of the current builder.
1340
1341 2007-09-05  Marek Habersack  <mhabersack@novell.com>
1342
1343         * ThemeDirectoryCompiler.cs: all the skin files compiled in one
1344         batch must share the same component foundry. Under MS.NET if any
1345         earlier .skin file registers a control prefix any later .skin
1346         files may use it without registering.
1347
1348 2007-09-04  Marek Habersack  <mhabersack@novell.com>
1349
1350         * TemplateControlCompiler.cs: make sure that base class doesn't
1351         contain a field of the same name which is accessible from the
1352         current control if we're within a singleton template.
1353         When generating code for a property or field, use the name
1354         retrieved from the metadata by reflection instead of the one
1355         parsed from html. Fixes bug #82687. Patch from SunHo Kim
1356         <zsunno@gmail.com>, thanks!
1357
1358 2007-08-29  Marek Habersack  <mhabersack@novell.com>
1359
1360         * CachingCompiler.cs: consider contents of the
1361         <compilation><assemblies> section when constructing a list of
1362         assemblies during compilation.
1363
1364         * TemplateControlCompiler.cs: mark fields corresponding to the
1365         controls as global references.
1366         When control tree is constructed and the parent of the current
1367         builder is a TemplateBuilder marked with the TemplateInstance
1368         attribute set to Single, use the control's ID as the field
1369         name. This makes it possible to refer to controls inside templates
1370         by name instead of by using FindControl.
1371
1372 2007-08-23  Marek Habersack  <mhabersack@novell.com>
1373
1374         * AppCodeCompiler.cs: use HttpApplication.BinDirectoryAssemblies
1375         and HttpApplication.LoadTypeFromBin.
1376
1377         * BuildProvider.cs: use HttpApplication.BinDirectoryAssemblies in
1378         AddAssembliesInBin.
1379
1380 2007-08-21  Marek Habersack  <mhabersack@novell.com>
1381
1382         * BuildProvider.cs: use HttpApplication.PrivateBinPath enumerator
1383         to look up assemblies in the binary path(s).
1384
1385 2007-08-19  Juraj Skripsky <js@hotfeet.ch>
1386
1387         * GlobalAsaxCompiler.cs (ProcessObjects): Make string comparison
1388         for scope case insensitive. Fixes bug #82479.
1389
1390 2007-08-14  Marek Habersack  <mhabersack@novell.com>
1391
1392         * TemplateControlCompiler.cs: remove dead code.
1393
1394         * AssemblyBuilder.cs: include actual exception information when
1395         reporting inability to load a compiled assembly.
1396
1397         * AppCodeCompiler.cs: remove unused variables.
1398
1399         * AspComponentFoundry.cs: use an ArrayList to implement LIFO for
1400         component collections, instead of the old Queue which implemented
1401         FIFO. Fixes situations when a control registered later for a
1402         certain prefix would not be used in preference to a previously
1403         registered one of the same name.
1404
1405 2007-08-06  Marek Habersack  <mhabersack@novell.com>
1406
1407         * AspComponentFoundry.cs: properly add new foundry if the
1408         corresponding entry in the foundries collection is a Queue. Patch
1409         from Juraj Skripsky <juraj@hotfeet.ch>, thanks! Fixes bug #82285.
1410
1411 2007-07-31  Marek Habersack  <mhabersack@novell.com>
1412
1413         * AspComponentFoundry.cs: do not overwrite previously registered
1414         foundries when a new one is registered with the same prefix. Fixes
1415         bug #82216
1416
1417 2007-07-18  Marek Habersack  <mhabersack@novell.com>
1418
1419         * TemplateControlCompiler.cs: on the 2.0 profile, GetContainerType
1420         does not look up the Item/Items properties to determine the
1421         container type, instead it just returns the type reported by the
1422         builder passed to this method. This change makes the generated
1423         code match MS.NET. Fixes bug #82119.
1424
1425 2007-07-02  Marek Habersack  <mhabersack@novell.com>
1426
1427         * TemplateControlCompiler.cs: don't use StartWith to see if a
1428         variable's value is a bind expression, as it erroneously renames
1429         all calls to methods starting with the string Bind. Use a regular
1430         expression now instead. Fixes bug #81928.
1431
1432 2007-06-20  Marek Habersack  <mhabersack@novell.com>
1433
1434         * AppResourcesCompiler.cs: use HttpRuntime.InternalCache to keep
1435         private entries.
1436         * CachingCompiler.cs: as above
1437         * AspGenerator.cs: as above
1438
1439 2007-06-13  Marek Habersack  <mhabersack@novell.com>
1440
1441         * TemplateControlCompiler.cs: make sure control has a writable
1442         TemplateControl property prior to assigning values to it.
1443
1444 2007-06-09  Marek Habersack  <mhabersack@novell.com>
1445
1446         * TemplateControlCompiler.cs: TemplateControl is assigned for
1447         controls that are placed within ContentPlaceHolder and not for the
1448         ContentPlaceHolder itself.
1449         No longer add the overriden version of TemplateSourceDirectory to
1450         the generated source, all the work is now done in
1451         Control.TemplateSourceDirectory.
1452
1453         * BaseCompiler.cs: AppRelativeVirtualPath shouldn't end with a
1454         slash, for compatibility with MS.NET
1455
1456 2007-06-05  Marek Habersack  <mhabersack@novell.com>
1457
1458         * TemplateControlCompiler.cs: TemplateSourceDirectory in the 2.0
1459         profile uses the TemplateControl property instead of Parent. This
1460         allows to return the correct path.
1461
1462 2007-06-01  Marek Habersack  <mhabersack@novell.com>
1463
1464         * TemplateControlCompiler.cs: be case-insensitive when looking for
1465         Bind requests.
1466
1467 2007-05-29  Marek Habersack  <mhabersack@novell.com>
1468
1469         * ThemeDirectoryCompiler.cs: pass the skin file's
1470         virtual path to the skin file parser as its first paramenter, and
1471         not a physical path.
1472
1473 2007-05-28  Marek Habersack  <mhabersack@novell.com>
1474
1475         * ResourceExpressionBuilder.cs: properly cast
1476         GetGlobalResourceObject calls to the type of the property being
1477         assigned to.
1478
1479 2007-05-25  Marek Habersack  <mhabersack@novell.com>
1480
1481         * TemplateControlCompiler.cs: Changed a few incorrect 
1482         ObjectCreationExpression to the correct DelegateCreationExpression.
1483         Fixes #81706.
1484
1485 2007-05-24  Marek Habersack  <mhabersack@novell.com>
1486
1487         * PageCompiler.cs: added support for the PreviousPageType directive.
1488
1489         * Directive.cs: as above.
1490
1491 2007-05-22  Marek Habersack  <mhabersack@novell.com>
1492
1493         * UserControlCompiler.cs: the Profile property should be present
1494         also in user controls.
1495
1496 2007-05-15  Marek Habersack  <mhabersack@novell.com>
1497
1498         * ResourceExpressionBuilder.cs: added a static method to generate
1499         a GetLocalResourceObject call which properly handles types which
1500         cannot be converted from strings.
1501
1502         * TemplateControlCompiler.cs: use code described above to generate
1503         code for properties assigned from resources.
1504
1505         * WsdlBuildProvider.cs: make the code actually work - get the
1506         physical path of VirtualPath instead of converting it to absolute
1507         URI path.
1508         Do not generate source, add the code unit to assembly builder
1509         instead.
1510
1511         * XsdBuildProvider.cs: added
1512
1513 2007-05-08  Marek Habersack  <mhabersack@novell.com>
1514
1515         * TemplateControlCompiler.cs: BuildTemplateMethod is a delegate,
1516         so use a delegate create expression - it may make difference for
1517         languages other than C# (e.g. VisualBasic).
1518
1519 2007-05-07  Marek Habersack  <mhabersack@novell.com>
1520
1521         * AspGenerator.cs: if the parser's language is implicit (i.e. set
1522         from the default configuration), the first script with the
1523         language attribute present sets the language of the parser.
1524
1525 2007-05-04  Marek Habersack  <mhabersack@novell.com>
1526
1527         * TemplateControlCompiler.cs: do not query the parent for
1528         TemplateSourceDirectory if we are generating code for a Master
1529         Page.
1530
1531 2007-04-30  Marek Habersack  <mhabersack@novell.com>
1532
1533         * ConnectionStringsExpressionBuilder.cs: support expressions with
1534         suffixes .ProviderName and .ConnectionString (case-insensitie) and
1535         generate a call to GetConnectionStringProviderName in the former
1536         case. Fixes bug #81490
1537
1538         * AppCodeCompiler.cs: support for cases when there exists a custom
1539         profile class but there is no App_Code directory or it's
1540         empty. Fixes bug #81489. 
1541
1542         * TemplateControlCompiler.cs: fix generation of code for
1543         declarative attribute assignments of the form Font-Size="small"
1544         (i.e. when a font size is assigned a symbolic, relative size
1545         value). This fixes for example rendering of the 0th level of
1546         TreeView controls.
1547
1548 2007-04-27  Marek Habersack  <mhabersack@novell.com>
1549
1550         * AppCodeCompiler.cs: do not look at the number of errors, check
1551         the compiler return code instead.
1552         Resolve assembly names from the global web.config to their
1553         locations before passing them to the compiler provider.
1554
1555         * AssemblyBuilder.cs: as above
1556
1557         * AppResourcesCompiler.cs: as above
1558         
1559         * AspComponentFoundry.cs: formatting changes.
1560         AssemblyFoundry looks for the specified namespace+type in the
1561         top-level assemblies if necessary.
1562
1563 2007-04-26  Marek Habersack  <mhabersack@novell.com>
1564
1565         * AssemblyBuilder.cs: handle compilation failures in a better
1566         way.
1567
1568         * PageCompiler.cs: the Master property must be in the partial
1569         class if present. Fixes bug #81442
1570
1571 2007-04-20  Marek Habersack  <mhabersack@novell.com>
1572
1573         * AppCodeCompiler.cs: fix App_Code build when the directory
1574         contains both known and unknown files.
1575
1576 2007-04-19  Gert Driesen  <drieseng@users.sourceforge.net>
1577
1578         * AspComponentFoundry.cs: Fixed build on 1.0 profile. Spaces to
1579         tabs.
1580
1581 2007-04-19  Marek Habersack  <mhabersack@novell.com>
1582
1583         * AppCodeCompiler.cs: yet another method of detecting if we have a
1584         custom profile.
1585
1586         * BaseCompiler.cs: as above
1587         
1588         * AspComponentFoundry.cs: implemented delayed loading of control
1589         assemblies. Fixes bug #81058.
1590
1591 2007-04-19  Gert Driesen  <drieseng@users.sourceforge.net>
1592
1593         * BaseCompiler.cs: On 2.0, when ClassName attribute contains namespace
1594         then use it instead of the default ASP namespace. Fixes part of bug
1595         #81399.
1596
1597 2007-04-19  Marek Habersack  <mhabersack@novell.com>
1598
1599         * BaseCompiler.cs: don't look at the number of profile properties
1600         when deciding if we have a custom profile. It is possible to have
1601         a profile that just inherits from a base class and does not list
1602         any custom properties. Fixes bug #81396.
1603
1604         * AppCodeCompiler.cs: as above
1605
1606 2007-04-15  Marek Habersack  <mhabersack@novell.com>
1607
1608         * AppCodeCompiler.cs: properly convert physical file path to
1609         virtual path for build providers.
1610         Make sure there's actually anything to compile.
1611
1612 2007-04-11  Marek Habersack  <mhabersack@novell.com>
1613
1614         * AppCodeCompiler.cs: move custom profile type check till after
1615         the App_Code compilation is done. That way we can have custom
1616         profile providers in there. Fixes bug #81307.
1617
1618 2007-04-10  Marek Habersack  <mhabersack@novell.com>
1619
1620         * AppResourceFilesCollection.cs: watch App_LocalResources for
1621         changes.
1622
1623 2007-04-06  Marek Habersack  <mhabersack@novell.com>
1624
1625         * BaseCompiler.cs: display the source of the file in which the
1626         error actually happened if the file exists, or the unit
1627         otherwise.
1628
1629 2007-04-03  Marek Habersack  <mhabersack@novell.com>
1630
1631         * AppResourcesCompiler.cs: global resources are put in the
1632         "Resources." namespace while local ones are not. Fixes bug #81174
1633         which was reopened after r75261.
1634
1635 2007-03-26  Marek Habersack  <mhabersack@novell.com>
1636
1637         * TemplateControlCompiler.cs: refactor assining properties from
1638         resources a bit to support pages and user controls. Fixes bug
1639         #81204.
1640         Process meta:resourcekey after all the field/attribute assignments
1641         are done. Fixes bug #80809.
1642         Clean the code up a bit.
1643         Use GetExpressionFromString to generate a correct expression for
1644         custom page/control attributes. Fixes bug #81132.
1645
1646 2007-03-21  Marek Habersack  <mhabersack@novell.com>
1647
1648         * BaseCompiler.cs: cast 'this' to CodeFileBaseClass in
1649         AssignAppRelativeVirtualPath if the attribute was defined.
1650
1651         * TemplateControlCompiler.cs: added support for setting custom
1652         attributes of a base class from the Page or Control directive
1653         attributes.
1654
1655 2007-03-20  Marek Habersack  <mhabersack@novell.com>
1656
1657         * ResourceExpressionBuilder.cs: if the resource class key is null
1658         or empty, call GetLocalResourceObject, if not,
1659         GetGlobalResourceObject. Fixes bug #81174.
1660
1661 2007-03-16  Marek Habersack  <mhabersack@novell.com>
1662
1663         * AppCodeCompiler.cs: produce message that makes more sense.
1664
1665 2007-03-15  Marek Habersack  <mhabersack@novell.com>
1666
1667         * AppResourcesCompiler.cs: handle global resource keys with dots
1668         the way MS.NET does. All the dots are replaced with underscores
1669         when generating the stronly-typed property.
1670
1671 2007-03-14  Marek Habersack  <mhabersack@novell.com>
1672
1673         * AppResourcesCompiler.cs: Fix a bug with global resources file
1674         grouping where no translated resources were processed due to base
1675         name mismatch.
1676
1677         * TemplateControlCompiler.cs: hadle situations when there exist a
1678         control in the page with id matching the name of a field/property
1679         in the parent class. In this case we use 'protected new' to
1680         override the parent.
1681
1682 2007-03-13  Marek Habersack  <mhabersack@novell.com>
1683
1684         * AspParser.cs: fix an off-by-one parsing bug with server-side
1685         includes.
1686
1687         * PageThemeCompiler.cs: let property builders through, stop the
1688         builders that have no control type. Fixes bug #81092
1689
1690         * PageCompiler.cs: interfaces are to be implemented by the parent
1691         partial class, not the generated one.
1692
1693         * AppResourceFilesCollection.cs: added separate constructor for
1694         local resources handling.
1695
1696         * TemplateControlCompiler.cs: request the local resource object
1697         with proper virtual path.
1698         Put field declarations for controls in the partial class.
1699         Make sure builders are in valid state before trying to use them.
1700
1701         * BaseCompiler.cs: added code to assing AppRelativeVirtualPath
1702         property in the page/control constructor.
1703         Change the generated code model for pages/controls to comply with
1704         the way MS.NET does (partial class contains only two properties
1705         plus declarations of all the controls, the actual control/page
1706         class inherits from the partial class). Fixes bug #81001.
1707
1708         * AppResourcesCompiler.cs: does not require specifying manually
1709         whether it's a global or local resource compiler anymore. New
1710         constructors take care of that.
1711         Changed to compile local resources on demand, when a control/page
1712         is parsed.
1713
1714 2007-03-12  Marek Habersack  <mhabersack@novell.com>
1715
1716         * AspParser.cs: revert r73587 as it breaks more than it fixes.
1717
1718         * AspComponentFoundry.cs: try to register foundries from App_Code
1719         assemblies if tag prefix and its namespace are defined. Fixes bug
1720         #78797.
1721
1722         * BuildManager.cs, BaseCompiler.cs: CodeAssemblies is a collection
1723         of Assembly instances, not strings.
1724
1725         * CachingCompiler.cs: make sure items in the CodeAssemblies and
1726         TopLevelAssemblies are really instances of the Assembly class
1727         before trying to use them.
1728         CodeAssemblies is a collection of Assembly instances, not
1729         strings.
1730
1731         * AppCodeCompiler.cs: on MS.NET CodeAssemblies is a collection of
1732         assemblies, not paths to assemblies.
1733
1734 2007-03-10  Marek Habersack  <mhabersack@novell.com>
1735
1736         * PageCompiler.cs, BaseCompiler.cs: refactoring: moved the
1737         CreateProfileProperty and InternalCreatePageProperty to
1738         BaseCompiler from PageCompiler.
1739
1740         * GlobalAsaxCompiler.cs: generate the Profile property for the
1741         Global_asax class.
1742
1743 2007-03-09  Marek Habersack  <mhabersack@novell.com>
1744
1745         * AppCodeCompiler.cs: Add the GetProfile method to the
1746         ProfileCommon auto-generated class.
1747
1748         * AppResourcesCompiler.cs: attempt to load the resource file
1749         earlier in the process, to gracefully handle empty files.
1750
1751         * ThemeDirectoryCompiler.cs: make compiled themes depend on the
1752         .skin and .css files composing the theme.
1753
1754 2007-03-05  Marek Habersack  <mhabersack@novell.com>
1755
1756         * PageThemeCompiler.cs: Use correct theme path for
1757         AppRelativeTemplateSourceDirectory.
1758         Do not process builders of type CodeRenderBuilder.
1759         Make sure builder.ControlType is not null before depending on it.
1760
1761         * ThemeDirectoryCompiler.cs: theme parser should be passed the
1762         virtual directory of the theme.
1763
1764 2007-03-03  Marek Habersack  <mhabersack@novell.com>
1765
1766         * PageCompiler.cs: Added support for setting the
1767         MaintainScrollPositionOnPostBack property if the corresponding
1768         page directive attribute is found.
1769
1770         * Directive.cs: added the MaintainScrollPositionOnPostBack and
1771         LinePragmas directives.
1772
1773 2007-03-02  Marek Habersack  <grendello@gmail.com>
1774
1775         * AppCodeCompiler.cs: Correctly process App_Code directories which
1776         have no compilable files in the top-level directory. Fixes bug
1777         #80998.
1778         Write preservation files for the App_Code assemblies.
1779
1780 2007-03-01  Marek Habersack  <grendello@gmail.com>
1781
1782         * AspParser.cs: fix GetVerbatim for cases when the end is
1783         e.g. --> or --%> and the string matched is ---> or ---%>
1784         respectively. The new code always backs out to make sure the end is
1785         matched correctly.
1786
1787 2007-02-27  Marek Habersack  <grendello@gmail.com>
1788
1789         * TemplateControlCompiler.cs: ParseExpression returns an object,
1790         don't assume any concrete type.
1791         Use the current culture when converting the expression to a
1792         string.
1793
1794         * ConnectionStringsExpressionBuilder.cs: Implement support for
1795         expressions of the <%$ ConnectionStrings:StringName %> form
1796
1797 2007-02-19  Marek Habersack  <grendello@gmail.com>
1798
1799         * ResourceExpressionBuilder.cs: Do not prepend the .Resources prefix here
1800
1801 2007-02-16  Marek Habersack  <grendello@gmail.com>
1802
1803         * CachingCompiler.cs, BaseCompiler.cs: Make sure that no assembly
1804         is referenced twice by the compiler(s).
1805
1806         * TemplateControlCompiler.cs: Fix the problem with cultures which
1807         have a comma as their decimal separator and font/whatever
1808         units. New code does not reparse the text representation of the
1809         unit on the runtime (e.g. 0.9em) but instead it constructs the
1810         property using the FontUnit/Unit constructors which take,
1811         respectively, Unit and double/unittype parameters. This avoids
1812         culture-specific parsing.
1813         Also fix converting from invariant strings in a culture-aware
1814         environment (e.g. in a page that uses Culture="auto") during the
1815         page parsing phase.
1816
1817 2007-02-12  Marek Habersack  <grendello@gmail.com>
1818
1819         * PreservationFile.cs: Support preservation (assembly mapping)
1820         files (the ones with .compiled extension in the ASP.NET temporary
1821         directory). This one implements a loader/saver class.
1822
1823         * AppResourcesCompiler.cs: support for assembly name mapping.
1824
1825         * AppCodeCompiler.cs: support for assembly name mapping.
1826
1827 2007-02-08  Marek Habersack  <grendello@gmail.com>
1828
1829         * TemplateControlCompiler.cs: Fix TemplateSourceDirectory.
1830
1831         * AspComponentFoundry.cs: Avoid duplicate control registration
1832         exception.
1833
1834         * ResourceExpressionBuilder.cs: Make sure all the global resources
1835         are looked up using the "Resources." prefix.
1836
1837         * AppResourcesCompiler.cs: Make sure all the global resources are
1838         embedded with the "Resources." prefix.
1839
1840 2007-02-02  Marek Habersack  <grendello@gmail.com>
1841
1842         * AspGenerator.cs: Move the cache insert code to a separate method, for
1843         use from other places.
1844
1845         * AspComponentFoundry.cs: Register controls mentioned in web.config, but
1846         defer their compilation to the moment when they are actually requested.
1847
1848 2007-01-22  Marek Habersack  <grendello@gmail.com>
1849
1850         * ThemeDirectoryCompiler.cs: Make sure the code works for empty themes.
1851
1852 2007-01-20  Miguel de Icaza  <miguel@novell.com>
1853
1854         * ClientBuildManager.cs: Remove unused variable (this could be a
1855         real problem, we never use the appPhysicalTargetDir) 
1856
1857         * AssemblyBuilder.cs: Remove unused field.
1858
1859         * AppResourceFilesCollection.cs: Remove unused field.
1860
1861         * TemplateControlCompiler.cs (GetExpressionFromString): Remove
1862         unused variable. 
1863
1864         * AppResourcesCompiler.cs: Remove unused variable.
1865
1866         * AppSettingsExpressionBuilder.cs (GetAppSetting): remove unused
1867         parameter. 
1868
1869         * PageCompiler.cs: Put InternalCreatePageProperty inside the
1870         NET_2_0 block to eliminate warnings.
1871
1872 2007-01-20  Gert Driesen  <drieseng@users.sourceforge.net>
1873
1874         * BaseCompiler.cs: Fixed build on 1.0 profile.
1875
1876 2007-01-20  Marek Habersack  <grendello@gmail.com>
1877
1878         * BaseCompiler.cs: If the control base type is in the root
1879         namespace, make sure global:: is prepended to it.
1880
1881         * TemplateControlCompiler.cs: AutoHandlers is obsolete in 2.0,
1882         mark it as such in the generated code as well.  
1883
1884         * AppCodeCompiler.cs: Include debug information if configured in
1885         web.config. Fixes bug #80096.
1886
1887 2007-01-17  Marek Habersack  <grendello@gmail.com>
1888
1889         * AppCodeCompiler.cs: Reference toplevel assemblies (at this stage
1890         App_GlobalResources) when compiling App_Code sources.
1891
1892         * CachingCompiler.cs: Reference toplevel assemblies when compiling
1893         e.g. Global.asax
1894
1895         * AppResourcesCompiler.cs: Close the streams properly.
1896
1897         * AspGenerator.cs: Don't ignore thead/tbody anymore.
1898
1899 2007-01-15  Marek Habersack  <grendello@gmail.com>
1900
1901         * WsdlBuildProvider.cs: New build provider for WSDL files.
1902         Compile only when System.Web.Services are present.
1903
1904         * TemplateControlCompiler.cs: Forgotten in the previous commit -
1905         don't pass the current culture to GetLocalResourceObject, let the
1906         method figure it out on its own.
1907
1908 2007-01-05  Marek Habersack  <grendello@gmail.com>
1909
1910         * AppResourceFilesCollection.cs: new class to keep and manage
1911         collection of resource files for the App_{Global,Local}Resources
1912         folders.
1913
1914         * TemplateControlCompiler.cs: rely on
1915         HttpContext.GetLocalResourceObject to select the correct culture.
1916
1917         * AppResourceFileInfo.cs: new class for keeping resource files
1918         information.
1919
1920         * AppResourcesCompiler.cs: new implementation.
1921
1922 2006-12-20  Marek Habersack  <grendello@gmail.com>
1923
1924         * AssemblyBuilder.cs: add an internal version of the
1925         AddCodeCompileUnit method.
1926
1927         * AppCodeCompiler.cs: implement support for ProfileCommon
1928         generation from properties named in the <profile> element in
1929         Web.config.
1930
1931         * PageCompiler.cs: create the Profile property in 2.0 code.
1932
1933 2006-12-12  Vladimir Krasnov  <vladimirk@mainsoft.com>
1934
1935         * ThemeDirectoryCompiler.jvm.cs: fixed virtual path for themes
1936
1937 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
1938
1939         * ThemeDirectoryCompiler.cs: refactoring.
1940
1941 2006-11-28  Marek Habersack  <grendello@gmail.com>
1942
1943         * BuildManager.cs: Add an internal property to signal whether or
1944         not we have any resources from App_{Global,Local}Resources
1945
1946         * AspGenerator.cs: Register controls from
1947         system.web/pages/controls collection before parsing.
1948
1949         * AppResourcesCompiler.cs: Let the build process know if we have
1950         compiled any resources from App_{Global,Local}Resources
1951
1952 2006-11-27  Marek Habersack  <grendello@gmail.com>
1953
1954         * CachingCompiler.cs: Automatically reference App_Code
1955         assemblies.
1956
1957         * AppCodeCompiler.cs: Add ~/bin/*.dll to the referenced assemblies
1958         when compiling.
1959
1960 2006-11-25  Marek Habersack  <grendello@gmail.com>
1961
1962         * AppResourcesCompiler.cs: small optimizations.
1963
1964         * AppResourceFilesCompiler.cs: small optimizations.
1965
1966 2006-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1967
1968         * WebServiceCompiler.cs: add the type to the cache after getting it
1969         from the compiled assembly.
1970
1971 2006-11-20  Marek Habersack  <grendello@gmail.com>
1972
1973         * AppCodeCompiler.cs: Reference assemblies listed in
1974         system.web/compilation/assemblies.
1975         Don't create empty assemblies.
1976
1977 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
1978
1979         * TemplateControlCompiler.cs: fixed:
1980         When <%# Bind(...) %>-expression is used more then once for same control
1981         The variable associated with this control is declared only once.
1982
1983 2006-11-18  Marek Habersack  <grendello@gmail.com>
1984
1985         * AppResourceFilesCompiler.cs: Fixed an exception thrown when
1986         files with names like File.resources or File.resx are found in the
1987         resource directories.
1988
1989 2006-11-16  Marek Habersack  <grendello@gmail.com>
1990
1991         * ForceCopyBuildProvider.cs: Added the build provider for
1992         copy-only files.
1993
1994         * MasterPageBuildProvider.cs: Added the build provider for Master
1995         Pages.
1996
1997         * IgnoreFileBuildProvider.cs: Make the class sealed.
1998
1999         * AppCodeCompiler.cs: Fixed BuildProvider creation for a path. Now
2000         correctly uses the BuildProviderCollection to retrieve the
2001         appropriate builder and maps the physical input file path into
2002         application relative path when setting the virtual path of the
2003         build provider.
2004
2005 2006-11-13  Marek Habersack  <grendello@gmail.com>
2006
2007         * AssemblyBuilder.cs: Added referenced assemblies support. Added a
2008         constructor with just the CodeDomProvider argument. CreateCodeFile
2009         now uses the code provider's file extension. Added internal method
2010         to add pre-generated source code files. Added a BuildAssembly
2011         overload that takes no virtual path as  the
2012         parameter. BuildAssembly now uses an array of source files instead
2013         of compile units and also handles embedded resources and
2014         referenced assemblies. BuildAssembly deletes the temporary files
2015         if MONO_ASPNET_NODELET isn't set in the environment.
2016
2017         * AppCodeCompiler.cs: Use the FileUtils methods for temporary file
2018         creation. Use the build providers collection to build unknown
2019         files in App_Code. Use AssemblyBuilder to compile the assembly.
2020
2021         * AppResourceFilesCompiler.cs: Use the FileUtils methods for
2022         temporary file creation.
2023
2024         * WebHandlerBuildProvider.cs: Added the BuildProviderAppliesTo
2025         attribute.
2026
2027         * UserControlBuildProvider.cs: Added the BuildProviderAppliesTo
2028         attribute.
2029
2030         * PageBuildProvider.cs: Added the BuildProviderAppliesTo
2031         attribute.
2032
2033         * WebServiceBuildProvider.cs: Added the BuildProviderAppliesTo
2034         attribute.
2035
2036         * IgnoreFileBuildProvider.cs: Added the BuildProviderAppliesTo
2037         attribute.
2038
2039 2006-11-08  Marek Habersack  <grendello@gmail.com>
2040
2041         * BuildProvider.cs: Implemented the GetCustomString
2042         method. Removed the necessity to retrieve the CompilationSection
2043         twice when GetDefaultCompilerType is called.
2044
2045         * AppResourcesCompiler.cs: Added resource compiler results
2046         handling.
2047
2048         * AppCodeCompiler.cs: The App_Code compiler classes
2049
2050         * BuildManager.cs: Implement the CodeAssemblies property.
2051         Added an internal TopLevelTypes property to be used in the custom
2052         GetType methods. Implemented the GetCompiledCustomString method.
2053         Implemented the GetType method overloads. Implemented the
2054         GetVirtualPathDependencies method.
2055
2056         * BaseCompiler.cs: Reference the assemblies from App_Code, if any
2057
2058 2006-10-18  Marek Habersack  <grendello@gmail.com>
2059
2060         * TemplateControlCompiler.cs: add support for resource
2061         expressions in tag attributes.
2062
2063         * ResourceExpressionBuilder.cs: add support for resource
2064         expressions in tag attributes.
2065
2066         * BaseCompiler.cs: add global/local resource assemblies to
2067         compilation references, if present.
2068
2069         * AppResourcesCompiler.cs: global/local resources compiler.
2070
2071         * AppResourceFilesCompiler.cs: compiler of resource files.
2072
2073 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2074
2075         * TemplateControlCompiler.cs: fixed: Bind functions (Data-Binding Syntax).
2076         At run time, the Bind method calls the Eval method, if there is DataItem
2077         != null to bind to.
2078         If there is DataItem == null (like InsertItemTemplate in FormView) Bind
2079         method don't raise exception and works properly to extract data from
2080         bounded controls on postback.
2081                 
2082 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2083
2084         * AspGenerator.cs: if we are tracking non-server tags for
2085         well-formedness, handle tags that do not need to be closed (br, img,...)
2086         Fixes bug #79437.
2087
2088 2006-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2089
2090         * PageCompiler.cs: support the EnableEventValidation attribute.
2091
2092 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2093
2094         * AspGenerator.cs: after parsing an include file, don't error out if we
2095         still have opened tags unless this was the last file to parse. Fixes
2096         bug #79318.
2097
2098 2006-09-05  Konstantin Triger <kostat@mainsoft.com>
2099
2100         * ParseException.cs: Ensure the source file stream is closed.
2101
2102 2006-08-25  Kornél Pál  <kornelpal@gmail.com>
2103
2104         * AppSettingsExpressionBuilder.cs: Use assembly name constants.
2105         * ConnectionStringsExpressionBuilder.cs: Use name reference
2106           constants.
2107         * ResourceExpressionBuilder.cs: Use assembly name constants.
2108
2109 2006-08-20  Vladimir Krasnov  <vladimirk@mainsoft.com>
2110
2111         * ThemeDirectoryCompiler.jvm.cs: implemented GetCompiledInstance
2112
2113 2006-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2114
2115         * ClientBuildManager.cs: handle domain shutdown and unload.
2116         Implemented some properties. Commented.
2117
2118 2006-08-10  Andrew Skiba  <andrews@mainsoft.com>
2119
2120         * ThemeDirectoryCompiler.cs: render css path as a virtual path.
2121
2122 2006-08-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
2123
2124         * added ThemeDirectoryCompiler.jvm.cs
2125
2126 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2127
2128         * PageThemeCompiler.cs: Don't generate a 'Items.Clear ()' call if
2129         the property Items does not exist. Patch by Marek Habersack that fixes
2130         bug #78971.
2131
2132 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2133
2134         * TemplateControlCompiler.cs: support assigning nullable types.
2135         Patch by Marek Habersack that fixes bug #78970.
2136
2137 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2138
2139         * TemplateControlCompiler.cs: make password work again.
2140
2141 2006-06-21 Juraj Skripsky <js@hotfeet.ch>
2142
2143         * AspTokenizer.cs (ReadAttValue), AspParser.cs (GetAttributes):
2144         MS.NET handles nested quotes differently for server controls and
2145         for "normal" controls. Add a property "AlternatingQuotes" to the
2146         tokenizer and let the parser decide whether it is well-formed or not.
2147
2148 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
2149
2150         * PageThemeCompiler.cs, TemplateControlCompiler.cs: take care of
2151         UrlPropertyAttribute.
2152
2153 2006-06-18 Andrew Skiba <andrews@mainsoft.com>
2154
2155         * TemplateControlCompiler.cs: check IsWritablePropertyOrField before
2156         generating code for assignment statement and DataBind event.
2157         
2158 2006-06-15 Juraj Skripsky <js@hotfeet.ch>
2159
2160         * AspTokenizer.cs (ReadAttValue), AspParser.cs (GetAttributes):
2161         Don't allow an attribute value to contain the same quote characters
2162         as the ones used for delimiting the value itself. Add a token
2163         NOTWELLFORMED to signal that case to AspParser. Fixes bug #78643.
2164
2165 2006-06-08      Konstantin Triger <kostat@mainsoft.com>
2166
2167         * ThemeDirectoryCompiler.cs: use physical path instead of virtual path.
2168
2169 2006-04-24  Andrew Skiba  <andrews@mainsoft.com>
2170
2171         * ThemeDirectoryCompiler.cs: use UrlUtils.Combine to combine pathes
2172
2173 2006-04-23  Andrew Skiba  <andrews@mainsoft.com>
2174
2175         * PageThemeCompiler.cs: initialize __linkedStyleSheets field with the
2176         array of style sheets from the parser
2177         * ThemeDirectoryCompiler.cs: scan *.css files in theme directory and
2178         put them in LinkedStyleSheets of PageThemeParser
2179
2180 2006-04-20  Chris Toshok  <toshok@ximian.com>
2181
2182         * BaseCompiler.cs: for 2.0, emit the correct namespace and class
2183         names in the case where you use "NS.ClassName" in the Inherits
2184         attribute.  Fixes bug #78135.
2185
2186 2006-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2187
2188         * CachingCompiler.cs: no need to play the Wait/PulseAll game, as we
2189         already acquired the lock even when we might have not created the 'key'
2190         to the compilation ticket.
2191
2192 2006-04-16  Andrew Skiba <andrews@mainsoft.com>
2193
2194         * ThemeDirectoryCompiler.cs: add to the directory parser all the
2195         assemblies found by PageThemeFileParsers
2196
2197 2006-04-12  Lluis Sanchez Gual <lluis@novell.com>
2198
2199         * TemplateControlCompiler.cs: Properly read all content of
2200         string properties.
2201
2202 2006-04-11  Andrew Skiba <andrews@mainsoft.com>
2203
2204         * TemplateControlCompiler.cs : fix for partial parsers
2205
2206 2006-04-11  Andrew Skiba <andrews@mainsoft.com>
2207
2208         * ThemeDirectoryCompiler.cs : map the virtual path to the physical
2209         path
2210
2211 2006-04-08  Miguel de Icaza  <miguel@novell.com>
2212
2213         * TemplateControlCompiler.cs: An attempt to fix the regression
2214         introduced in r58505 (a bug fix for 77762).   This was reported in
2215         the mailing list with a batch of new 2.0 failures.
2216
2217         We really need a test suite in NUnit to check on ASP.NET aspx
2218         changes.
2219
2220 2006-03-27  Robert Jordan  <robertj@gmx.net>
2221
2222         * CachingCompiler.cs:  change the compilation locking scheme
2223         from "one mcs per process" to "one mcs per file".
2224
2225 2006-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2226
2227         * System.Web.Compilation/TemplateControlCompiler.cs: handle the new
2228         StringPropertyBuilder.
2229
2230 2006-03-24  Chris Toshok  <toshok@ximian.com>
2231
2232         * BaseCompiler.cs (GetCompiledType): fall back to CodeDomProvider
2233         if system.web/compilation doesn't list a compiler for our
2234         language.
2235
2236 2006-03-13  Chris Toshok  <toshok@ximian.com>
2237
2238         * TemplateControlCompiler.cs (InitMethod): when generating the
2239         call to ApplyStyleSheetSkin, don't just blindly pass "this" as the
2240         argument to it.  Only do that if the class we're compiling is
2241         actually a subclass of Page.  If it's not, pass this.Page.
2242
2243 2006-03-07  Chris Toshok  <toshok@ximian.com>
2244
2245         * AspGenerator.cs: refactor the parsing code so that we can
2246         initiate parsing from outside this class.
2247
2248         * PageCompiler.cs (PrependStatementsToFrameworkInitialize): new
2249         method, add our StyleSheetTheme assignment here.
2250         (AppendStatementsToFrameworkInitialize): rename AddStatements* to
2251         this.
2252
2253         * TemplateControlCompiler.cs (EnsureID): make protected.
2254         (CreateAssignStatementsFromAttributes): same
2255         (AddChildCall): same.
2256         (CreateControlTree): same.
2257         (CreateFrameworkInitializeMethod): change
2258         "AddStatementsToFrameworkInitialize" to
2259         "AppendStatementsToFrameworkInitialize", and add call to
2260         "PrependStatementsToFrameworkInitialize" before the generation of
2261         "base.FrameworkInitialize()."
2262
2263         * PageThemeCompiler.cs (CreateControlSkinMethod): remove spew.
2264
2265 2006-03-07  Chris Toshok  <toshok@ximian.com>
2266
2267         * ThemeDirectoryCompiler.cs: new file.
2268
2269         * PageThemeCompiler.cs: new file.
2270
2271 2006-03-07  Chris Toshok  <toshok@ximian.com>
2272
2273         * BaseCompiler.cs: fix typo in "initialize" in multiple places.
2274         (Init): move the CreateMethods call here.
2275
2276 2006-03-02  Chris Toshok  <toshok@ximian.com>
2277
2278         * TemplateControlCompiler.cs (InitMethod): emit an assignment for
2279         SkinID just after the creation of our object, and right after that
2280         call "_ctrl.ApplyStyleSheetSkin (page)".
2281         (CreateAssignStatementsFromAttributes): split out the majority of
2282         this code to CreateAssignStatementFromAttribute, and change this
2283         method to simply a loop over the attribute keys.  In the 2.0 case,
2284         skip the SkinID property, since that's handled explicitly in
2285         InitMethod.
2286
2287         * PageCompiler.cs (AddStatementsToInitMethod): emit assignments
2288         for Theme and StyleSheetTheme.
2289
2290 2006-02-23  Chris Toshok  <toshok@ximian.com>
2291
2292         * TemplateControlCompiler.cs (AddContentTemplateInvocation): track
2293         change from ContentControlBuilderInternal to
2294         ContentBuilderInternal.
2295         (AddCodeRender): same.
2296
2297 2006-02-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2298
2299         * AssemblyBuilder.cs:
2300         * BuildManager.cs: compile the assembly from AssemblyBuilder and use
2301         GetGeneratedType() on the BuildProvider instead of loading the assembly
2302         and trying a wild guess at the type name.
2303
2304 2006-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2305
2306         * GlobalAsaxCompiler.cs:
2307         * PageCompiler.cs:
2308         * TemplateControlCompiler.cs: CreateMethods is now internal.
2309
2310         * WebServiceBuildProvider.cs:
2311         * PageBuildProvider.cs:
2312         * UserControlBuildProvider.cs:
2313         * WebHandlerBuildProvider.cs: new build providers.
2314
2315         * BuildProvider.cs: add assemblies.
2316
2317         * BaseCompiler.cs: expose the provider and the compile unit through
2318         properties.
2319
2320 2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2321
2322         * CompilerType.cs: implemented.
2323
2324         * AssemblyBuilder.cs: implemented most of it.
2325
2326         * WebServiceCompiler.cs:
2327         * CachingCompiler.cs: update 2.0 compiler instance creation code.
2328
2329         * ClientBuildManager.cs: implemented some of its methods. Not yet
2330         ready.
2331
2332         * BuildManager.cs: the more interesting methods are implemented now.
2333
2334         * BaseCompiler.cs: delete the temporary files in case of error.
2335
2336         * BuildProvider.cs: implemented the Get*Compiler* protected methods.
2337
2338 2006-02-07  Chris Toshok  <toshok@ximian.com>
2339
2340         * TemplateControlCompiler.cs (AddParsedSubObjectStmt): append the
2341         calls to AddParsedSubObject to a special statement collection --
2342         builder.flushOutputStatements -- not to builder.method.Statements.
2343         (InitMethod): initially, set flushOutputStatements to
2344         method.Statements.  If we're dealing with a ContentPlaceHolder,
2345         set flushOutputStatements to be the else block of a conditional we
2346         create.  This causes the compiled control to fall back to the
2347         ContentPlaceHolder's child controls in case there's no
2348         corresponding Content template.
2349         (AddChildCall): use methodStatements instead of method.Statements.
2350         (CreateControlTree): same.
2351
2352         * PageCompiler.cs (CreatePropertyAssign): factor out the
2353         string,string implementation and add one that also takes a
2354         CodeExpression; make the string,string implementation call the
2355         three arg one with thisRef.
2356         (AddStatementsToInitMethod): make use of the 3-arg form of
2357         CreatePropertyAssign to reduce code.  Also, add support for
2358         setting the page's Title from the parser's Title.
2359
2360 2006-02-07  Chris Toshok  <toshok@ximian.com>
2361
2362         * UserControlCompiler.cs (AddStatementsToInitMethod): emit code to
2363         assign __ctrl.MasterPageFile to our master page, if we have one.
2364
2365         * PageCompiler.cs (CreateContructor): remove the MasterPageFile
2366         assignment from here.
2367         (AddStatementsToInitMethod): and move it here.
2368         
2369         * TemplateControlCompiler.cs (InitMethod): in the case where
2370         builder is a RootBuilder (we're building the __BuildControlTree
2371         method), call a virtual method so that subclasses can add their
2372         own statements to the method (used by both Page and MasterPage);
2373         Also, in the RootBuilder case, the argument should be the
2374         parser.ClassName type (the class we're building); lastly, expand
2375         the ContentPlaceHolder logic to include all the
2376         ContentTemplates/InstantiateIn magic.
2377         (AddStatementsToInitMethod): empty virtual method.
2378         (AddContentTemplateInvocation): ContentControlBuilder ->
2379         ContentControlBuilderInternal.
2380         (CreateControlTree): same.
2381         (CallBaseFrameworkInitialize): new function, create call to
2382         base.FrameworkInitialize.
2383         (CreateFrameworkInitializeMethod): call CallBaseFrameworkIniitialize.
2384
2385 2006-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2386
2387         * IgnoreFileBuildProvider.cs: it's not public.
2388         * BuildProvider.cs: mostly implemented.
2389
2390 2006-02-01  Chris Toshok  <toshok@ximian.com>
2391
2392         * WebServiceCompiler.cs: CONFIGURATION_2_0 => NET_2_0, and use
2393         GetSection instead of GetWebApplicationSection.
2394
2395         * CachingCompiler.cs: same.
2396
2397         * AspGenerator.cs: same.
2398
2399         * BaseCompiler.cs: same.
2400         
2401 2006-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2402
2403         * AspGenerator.cs: ignore 'thead'. Fixes bug #77326.
2404
2405 2006-01-22  Chris Toshok  <toshok@ximian.com>
2406
2407         * IgnoreFileBuildProvider.cs: build provider which does nothing.
2408
2409 2006-01-22  Chris Toshok  <toshok@ximian.com>
2410
2411         * AspComponentFoundry.cs (.ctor): use a 2.0 friendly form of the
2412         Hashtable ctor to silence a couple of warning.
2413         (CompoundFoundry.ctor): same
2414
2415         * Directive.cs (InitHash): use a 2.0 friendly form of the
2416         Hashtable ctor to silence a couple of warning.
2417
2418         * TagAttributes.cs (MakeHash): use a 2.0 friendly form of the
2419         Hashtable ctor to silence a warning.
2420         (GetDictionary): same.
2421
2422 2006-01-22  Chris Toshok  <toshok@ximian.com>
2423
2424         * AppSettingsExpressionBuilder.cs: implement this, patterning it
2425         after an example on msdn.  Also, enable the ExpressionEditor
2426         attribute, but use the string rather than the Type overload so we
2427         won't have yet another circular dep.
2428
2429         * ConnectionStringsExpressionBuilder.cs: partial implementation.
2430         Same deal with the ExpressionEditor attribute.
2431
2432         * ResourceExpressionBuilder.cs: same deal with the
2433         ExpressionEditor attribute.
2434         
2435 2006-01-20  Chris Toshok  <toshok@ximian.com>
2436
2437         * ResourceExpressionBuilder.cs (ParseExpression): implement.
2438
2439         * ResourceExpressionFields.cs: implement.
2440
2441 2006-01-20  Chris Toshok  <toshok@ximian.com>
2442
2443         * ClientBuildManagerParameter.cs: implement.
2444
2445         * ClientBuildManagerCallback.cs: this class contains an empty
2446         default implementation.
2447
2448 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2449
2450         * AspGenerator.cs: add support for 'src' in <script runat="server">.
2451         Fixes bug #77150.
2452
2453 2006-01-04  Chris Toshok  <toshok@ximian.com>
2454
2455         * WebServiceCompiler.cs (GetCompiledType): add CONFIGURATION_2_0
2456         code.
2457
2458         * AspGenerator.cs (CheckLanguage): add CONFIGURATION_2_0 code.
2459
2460 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2461
2462         * AspGenerator.cs: fix yesterday's fix.
2463
2464 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2465
2466         * AspGenerator.cs: only do special processing for <script> if it has
2467         the runat="server" attribute. Fixes bug #76918.
2468
2469 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2470
2471         * TemplateControlCompiler.cs: treat LightGrey as a synonym of LightGray.
2472         Fixes bug #76677.
2473
2474 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2475
2476         * TemplateControlCompiler.cs: handle data bound attributes for html
2477         controls. Fixes bug #76785.
2478
2479 2005-11-28  Chris Toshok  <toshok@ximian.com>
2480
2481         * CachingCompiler.cs (Compile): CONFIGURATION_2_0 work.
2482
2483         * BaseCompiler.cs (GetCompiledType): CONFIGURATION_2_0 work.
2484
2485 2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2486
2487         * WebServiceCompiler.cs: fixed caching for web handlers.
2488
2489 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2490
2491         * AspParser.cs: don't change case for verbatim IDs.
2492         Fixes bug #76657.
2493
2494 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2495
2496         * AspParser.cs: when processing verbatim input, throw if we reach EOF
2497         before the expected end of the data.
2498
2499 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2500
2501         * CachingCompiler.cs: 
2502         * WebServiceCompiler.cs: when caching a type loaded from an assembly
2503         that we didn't compile, make it depend on the file itself, not on a
2504         non-existing cache key. This problem affected performance of web
2505         services and .ashx, making unnecessary extra calls to LoadFrom every
2506         time the cache was cleared.
2507
2508 2005-09-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2509
2510         * BaseCompiler.cs: set the domain's DynamicBase property instead of
2511         guessing it in BaseCompiler.
2512
2513 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2514
2515         * WebServiceCompiler.cs: apply the same fix as in r45440 that fixed bug
2516         75146 for pages/controls.
2517
2518 2005-08-09  Miguel de Icaza  <miguel@novell.com>
2519
2520         * WebServiceCompiler.cs: Use the new DynamicDir method.
2521
2522         * BaseCompiler.cs: Use the DynamicBase property as a hint, but
2523         since this value is null most of the time, compute the real value.
2524
2525         Added Bonus: if the directory has some kind of permission problem,
2526         try a different directory name.
2527
2528 2005-07-13  Miguel de Icaza  <miguel@novell.com>
2529
2530         * AspGenerator.cs (AspGenerator.CheckLanguage): Use
2531         BaseParser.Context for the context. 
2532
2533 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2534
2535         * TagAttributes.cs:
2536         * AspParser.cs:
2537         * TemplateControlCompiler.cs: use invariant culture versions of starts/
2538         endswith.
2539
2540 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2541
2542         * TemplateControlCompiler.cs: comparison between member name and the
2543         first part of the id provided by the user should also be
2544         case-insensitive. Fixes bug #75379.
2545
2546 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2547
2548         * CachingCompiler.cs: use cache.InsertPrivate.
2549         * AspGenerator.cs: use cache.InsertPrivate. Removed extra call to
2550         AddDependency.
2551
2552 2005-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2553
2554         * CachingCompiler.cs: create the assemly in the DynamicBase directory,
2555         as all the others, when compiling an assembly from a Src file. Fixes
2556         bug #75371.
2557
2558 2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2559
2560         * TemplateControlCompiler.cs: if the property is not found, don't forget
2561         about trying the field.
2562
2563 2005-06-13  Lluis Sanchez Gual <lluis@novell.com>
2564
2565         * Directive.cs: Register the MasterType directive.
2566         * PageCompiler.cs: If a MasterType is specified, add a type specific
2567         Master property. All this fixes bug #75192.
2568
2569 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2570
2571         * TemplateControlCompiler.cs: when mapping an attribute name to a field
2572         or property name, there's no need to try with every property and field,
2573         but just the one found when searching by name (no case). There was one
2574         call to ProcessPropertiesAndFields per property or field until found,
2575         now only one if the property/field is found, none otherwise.
2576
2577 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2578
2579         * TemplateControlCompiler.cs: allow more than 2 levels when looking for
2580         properties of fields for an attribute like "Prop1-Prop2-Prop3". Fixes
2581         bug #75234.
2582
2583 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2584
2585         * BaseCompiler.cs: when the OutputAssembly is null, we can still have
2586         the assembly file there and be able to load it. Thanks to Rogerio and
2587         Mark.
2588
2589 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2590
2591         * AspParser.cs: InvariantCulture love.
2592
2593 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2594
2595         * TemplateControlCompiler.cs: use the Page AddContentTemplate method,
2596         as the one in Master is protected. Fixes bug #75157.
2597
2598 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2599
2600         * AspComponentFoundry.cs: tagnames have precedence over types in
2601         assemblies when they use the same prefix. Fixes bug #71855.
2602
2603 2005-05-03  Lluis Sanchez Gual <lluis@novell.com>
2604
2605         * WebServiceCompiler.cs: Create the temp directory before
2606         creating the web service source code file.
2607
2608 2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2609
2610         * AspGenerator.cs: when checking languages, try to match other aliases
2611         too (ie, 'cs' == 'c#').
2612
2613 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2614
2615         * BaseCompiler.cs: check that DynamicBase directory exists before
2616         creating the TempFileCollection.
2617
2618 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2619
2620         * AspGenerator.cs: use a stack for non-server tags even before getting
2621         to a form. Fixes bug #70274.
2622
2623 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2624
2625         * AspParser.cs: don't error out on ill formed tags if it's not a server
2626         tag (ie, allow something like '<table align="left cellpadding="0">' to
2627         work, as MS does. Fixes bug #67909.
2628
2629 2005-04-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2630         * BaseCompiler.cs: do the bridge of Explicit/Strict attributes from
2631         @Page/@Control directives to CodeDOM (VB.NET support)
2632
2633 2005-04-19  Lluis Sanchez Gual <lluis@novell.com>
2634
2635         * AspParser.cs: Fixed parsing of data binding tags in server
2636         tag attributes. Allow <%...%> blocks not assigned to
2637         attributes in client tags.
2638         * TagAttributes.cs: Make sure that data binding blocks in server
2639         tags are always assigned to attributes.
2640
2641 2005-04-15  Lluis Sanchez Gual <lluis@novell.com>
2642
2643         * TemplateControlCompiler.cs: Implemented support for two-way
2644         binding.
2645
2646 2005-04-14  Lluis Sanchez Gual <lluis@novell.com>
2647
2648         * TemplateControlCompiler.cs: Use the new BindingContainerType
2649         property to find the type of the binding container. 
2650         
2651 2005-04-07  Lluis Sanchez Gual <lluis@novell.com>
2652
2653         * TemplateControlCompiler.cs: Avoid using the GetConverter() trick
2654         for primitive types. Parse an empty color string as Color.Empty.
2655         Get the converter for a property using its PropertyDescriptor.
2656         
2657 2005-04-05  Lluis Sanchez Gual <lluis@novell.com>
2658
2659         * TemplateControlCompiler.cs: Don't autogenerate IDs for
2660         controls inside Content template.
2661
2662 2005-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2663
2664         * TemplateControlCompiler.cs: make typedesc.aspx work again.
2665
2666 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2667
2668         * ExpressionBuilderContext.cs:
2669         * ExpressionBuilder.cs: implemented.
2670
2671 2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2672
2673         * AspGenerator.cs: don't fail on <tbody runat=server>. Fixes bug #71856.
2674
2675 2005-01-28  Lluis Sanchez Gual <lluis@novell.com>
2676
2677         * TemplateControlCompiler.cs: When generating a property value,
2678         check for TypeConverterAttribute in the PropertyInfo, not only in the
2679         property type.
2680         Implemented code generation using InstanceDescriptor, when the type
2681         converter supports conversion to that type.
2682
2683 2005-01-21  Lluis Sanchez Gual <lluis@novell.com>
2684
2685         * Directive.cs: Added MASTER directive.
2686         * AspGenerator.cs: Use UserControlCompiler for compiling master pages.
2687         * PageCompiler.cs: Set the master file name when generating the page.
2688         * TemplateControlCompiler.cs: When generating the method for a
2689         content holder, register the content holder in the base MasterPage.
2690         Added method for registering a Content control for a MasterPage.
2691         Generate code for Content controls.
2692
2693 2005-01-10  Lluis Sanchez Gual <lluis@novell.com>
2694
2695         * TemplateControlCompiler.cs: Get the container type from the
2696         template (if it was defined using TemplateContainerAttribute.
2697
2698 2004-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2699
2700         * AspGenerator.cs: correctly process script tags that self-closing.
2701         Fixes bug #69657.
2702
2703 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2704
2705         * CachingCompiler.cs: when compiling a single .cs file, add the file
2706         itself to dependencies. Fixes bug #68788.
2707
2708 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2709
2710         * ControlBuilder.cs: don't close server tags when we get to a closing
2711         tag that is not applied to a server control. Fixes bug #60323.
2712
2713 2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2714
2715         * WebServiceCompiler.cs: fix buglet in my last commit.
2716
2717 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2718
2719         * BaseCompiler.cs:
2720         * CachingCompiler.cs:
2721         * WebServiceCompiler.cs: correctly cache Type instead of the assembly
2722         for ashx/asmx. Otherwise we need to open the file and check for the
2723         class name in there. Thanks to Ben for pointing this out.
2724
2725 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2726
2727         * AspParser.cs:
2728         * AspTokenizer.cs: prevent quotes from being swallowed when we're 
2729         inside a server tag and they are the next non-whitespace character.
2730         Fixes bug #63451.
2731
2732 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2733
2734         * CachingCompiler.cs: don't try to watch for changes in system
2735         assemblies. Fixes bug #64871.
2736
2737 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2738
2739         * AspGenerator.cs: handle builders that need to process inner text
2740         with tags.
2741
2742         * Location.cs: added setters for the properties.
2743
2744 2004-08-02  Duncan Mak  <duncan@ximian.com>
2745
2746         * BuildProviderResultFlags.cs:  
2747         * IImplicitResourceProvider.cs: 
2748         * ImplicitResourceKey.cs:
2749         * IResourceReader.cs: Added.
2750
2751 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2752
2753         * AspGenerator.cs: the path for file was treated as virtual, but it's
2754         physical. Fixes bug #61524.
2755
2756 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2757
2758         * AspParser.cs: fixed case-sensitivity issues with #include and its
2759         attributes. Closes #61429.
2760
2761 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2762
2763         * BaseCompiler.cs:
2764         * WebServiceCompiler.cs: really create the dlls under DynamicBase
2765
2766 2004-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2767
2768         * TemplateControlCompiler.cs: for system colors, use SystemColors class
2769         instead of Color. Fixes bug #60249.
2770
2771 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2772
2773         * BaseCompiler.cs: try getting the Type from the cache before doing the 
2774         real work. Remove temporary files right after successful compilation.
2775
2776         * CachingCompiler.cs: added GetTypeFromCache.
2777
2778         * UserControlCompiler.cs: nothing interesting.
2779
2780         * WebServiceCompiler.cs: try getting the Type from the cache before
2781         doing anything else. Remove temp files on sucessful compilation.
2782
2783 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2784
2785         * AspGenerator.cs:
2786         * CachingCompiler.cs: use a different prefix when caching compiler
2787         results or Types.
2788
2789 2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2790
2791         * BaseCompiler.cs: dynamicBase is now protected. Check
2792         MONO_ASPNET_NODELETE here.
2793
2794         * TemplateControlCompiler.cs: if the type is not known but has a 
2795         TypeConverter, invoke ConvertFromString in the generated code.
2796
2797         * WebServiceCompiler.cs: it used a hardcoded C# compiler, now it gets
2798         the compiler from the configuration. Also handle MONO_ASPNET_NODELETE.
2799
2800         * CachingCompiler.cs: updated compilation of web services and simple
2801         web handlers.
2802
2803 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2804
2805         * CSCompiler.cs: removed.
2806
2807         * CachingCompiler.cs: language independent compilation for single files.
2808
2809 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2810
2811         * BaseCompiler.cs:
2812         * WebServiceCompiler.cs: adapted to the 'new' CachingCompiler.
2813         * CachingCompiler.cs: use HttpRuntime.Cache.
2814
2815 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2816
2817         * PageCompiler.cs: fixed Trace and add support for Buffer.
2818
2819 2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2820
2821         * PageCompiler.cs: override CreateConstructor to add assignment for
2822         ClientTarget.
2823         
2824 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2825
2826         * TemplateControlCompiler.cs: use CodeDelegateCreateExpression instead
2827         of CodeObjectCreateExpression for the render method delegate. Thanks
2828         to Jochen Wezel.
2829
2830 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2831
2832         * BaseCompiler.cs: use DynamicBase for the output assemblies.
2833
2834 2004-05-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2835
2836         * AspGenerator.cs: ObjectTagBuilder do not override HasBody now.
2837
2838 2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2839
2840         * AspParser.cs: indent a few lines.
2841         * AspTokenizer.cs: added ungetc() used when we read a '/' in an unquoted
2842         attribute value. This way we can simulate reading 2 characters ahead
2843         (one in ungetc and the other in Peek) and work with values like
2844         text/javascript. Fixes bug #57302.
2845
2846 2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2847
2848         * AspParser.cs: ignore whitespace after directives. Fixes bug #58057.
2849
2850 2004-04-02  Lluis Sanchez Gual  <lluis@ximian.com>
2851
2852         * TemplateControlCompiler.cs: Fixed build for net_1_0 profile.
2853
2854 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2855
2856         * GlobalAsaxCompiler.cs: removed Imports and Assemblies properties.
2857
2858 2004-02-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2859
2860         * AspGenerator.cs: error out when <object> server tag is not closed.
2861         Ignore any content inside it.
2862
2863 2004-02-10  Jackson Harper <jackson@ximian.com>
2864
2865         * AspTokenizer.cs: Collect discarded characters that might be used
2866         in client side scripts. Patch by Liyu Liu.
2867         * AspParser.cs: Add discarded characters. Patch by Liyu Liu.
2868         
2869 2004-02-10  Jackson Harper <jackson@ximian.com>
2870
2871         * BaseCompiler.cs: Use the TempDirectory for compilation. Fixes
2872         bug #54117.
2873         
2874 2004-01-30  Jackson Harper <jackson@ximian.com>
2875
2876         * TemplateControlCompiler.cs: Call ToString on the types hashcode,
2877         the build method takes strings not ints.
2878         
2879 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2880
2881         * AspGenerator.cs: handle more possible errors in global.asax file.
2882
2883         * BaseCompiler.cs: added utility methods for creating <object> related
2884         properties and fields.
2885
2886         * GlobalAsaxCompiler.cs: keep around applications and session scope
2887         objects builders. Also a list of imports and assemblies added in
2888         global.asax.
2889
2890         * TemplateControlCompiler.cs: use base class methods for <object> stuff.
2891
2892 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2893
2894         * AspGenerator.cs: use the Cache to store compiled Types. Don't parse
2895         pages more than once. Thanks to Eric Lindvall for pointing this out.
2896
2897 2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2898
2899         * TemplateControlCompiler.cs: allow handling subproperties for other
2900         types than Style and Font. Fixes bug #53217.
2901
2902 2004-01-16  Jackson Harper <jackson@ximian.com>
2903
2904         * TagAttribute.cs: attributes can be stored as encoded html so we
2905         decode them here.
2906         
2907 2004-01-14  Jackson Harper <jackson@ximian.com>
2908
2909         * TemplateControlCompiler.cs: Is a user control is cached and
2910         shared use the controls type hashcode for the GUID so it will be
2911         the same across instances.
2912         
2913 2004-01-13  Jackson Harper <jackson@ximian.com>
2914         
2915         * TemplateControlCompiler.cs: If an item has the partial caching
2916         attribute build a PartialCachingControl in the parents __Build method.
2917         * BaseCompiler.cs: Add a method for adding class attributes to the
2918         class.
2919         * UserControlCompiler.cs: If caching is enabled on a user control
2920         add the PartialCachingAttribute to it.
2921         
2922 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2923
2924         * PageCompiler.cs: invoke Request.ValidateInput if required.
2925
2926 2004-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2927
2928         * AspGenerator.cs: don't rely on GC to close the files parsed. Fixes bug
2929         #52521. Patch by liyul@hotmail.com.
2930
2931 2003-12-25  Jackson Harper <jackson@ximian.com>
2932
2933         * AspGenerator.cs: Allow scriptlets in javascript. This fixes bug
2934         #52522.
2935         
2936 2003-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2937
2938         * PageCompiler.cs: assign the ErrorPage property if provided.
2939
2940 2003-12-15  Jackson Harper <jackson@ximian.com>
2941
2942         * PageCompiler.cs: Add Trace and TraceMode to framework initialize
2943         method if they are set.
2944         
2945 2003-12-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2946
2947         * AspGenerator.cs: ignore <tbody> when we're inside a server table and
2948         fail when runat="server" is applied to <tbody> with a parse error
2949         instead of waiting for a compilation error. Fixes bug #52157.
2950
2951 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2952
2953         * AspGenerator.cs: basic checking of ID validity.  Throw a
2954         ParseException when mixing languages.
2955
2956 2003-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2957
2958         * PageCompiler.cs: assign LCID, Culture and/or UICulture in
2959         FrameworInitialize() if provided in @Page.
2960
2961         Fixes bug #51511.
2962
2963 2003-11-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2964
2965         * TemplateControlCompiler.cs: support for expressions of
2966         System.Drawing.Size type. Allow getting Color from comma separated
2967         numbers, which is not allowed by ColorConverter.
2968
2969         This makes http://www.codeproject.com/aspnet/asppopup.asp work.
2970
2971 2003-11-13  Jackson Harper <jackson@ximian.com>
2972
2973         * PageCompiler.cs: Call InitOutputCache when the OutputCache
2974         directive is set.
2975         
2976 2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2977
2978         * AspGenerator.cs: use fileEncoding from configuration files.
2979
2980         * PageCompiler.cs: add assign statements for ContentType,
2981         ResponseEncoding and CodePage if supplied.
2982
2983 2003-10-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2984
2985         * TemplateControlCompiler.cs: fix bug #42994. Now we don't generate
2986         a return statement for user controls with 'void' return type.
2987
2988 2003-10-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2989
2990         * AspParser.cs: fixed bug #49627.
2991
2992 2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2993
2994         * BaseCompiler.cs: now gets the CodeCompiler from configuration files.
2995
2996 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2997
2998         * Directive.cs: new attribute for @Page directive in 1.1.
2999
3000 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3001
3002         * AspParser.cs:
3003         * TagAttributes.cs: allow duplicated runat=server attributes and display
3004         error page when duplicated attributes and runat is specified.
3005
3006 2003-10-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3007
3008         * AspTokenizer.cs: moved token numbers above unicode.
3009
3010 2003-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3011
3012         * AspGenerator.cs: don't process code render tags inside scripts. Check
3013         the language of the script and treat javascript as verbatim input.
3014         Fixes bug #48592.
3015
3016 2003-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3017
3018         * TemplateControlCompiler.cs: fixed bug #48212.
3019
3020 2003-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3021
3022         * WebServiceCompiler.cs: remove the temporary files here too.
3023
3024 2003-08-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3025
3026         * AspGenerator.cs: fixed bug #46429.
3027
3028 2003-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3029
3030         * Directive.cs: support @WebHandler.
3031         
3032 2003-07-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3033
3034         * TemplateControlCompiler.cs: support string []. Fixes bug #46415.
3035
3036 2003-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3037
3038         * BaseCompiler.cs: first look for cached items, then generate the tree.
3039         This should speed things up.
3040
3041         * CachingCompiler.cs: when compiling web services, use the full path of
3042         the .asmx file as key when caching.
3043
3044         * WebServiceCompiler.cs: first look for cached items, then generate
3045         the source file.
3046
3047 2003-07-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3048
3049         * AspParser.cs: more useful error information,
3050
3051         * BaseCompiler.cs:
3052         * CachingCompiler.cs: honor the debug="true" option.
3053
3054         * TemplateControlCompiler.cs: small fixes for templates.
3055
3056 2003-07-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3057
3058         * BaseCompiler.cs: made Compiler property virtual.
3059
3060         * CachingCompiler.cs: added support for compiling web services.
3061
3062         * WebServiceCompiler.cs: implemented.
3063
3064 2003-05-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3065
3066         * CachingCompiler.cs: fixed bug #43477.
3067
3068 2003-05-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3069
3070         * AspParser.cs:
3071         * AspTokenizer.cs: fixed bugs #43206 and #43371.
3072
3073 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3074
3075         * TemplateControlCompiler.cs: duh! Generate SupportAutoEvents instead
3076         of AutoEventWireup (which is internal). Thanks to Stuart Ballard for
3077         reporting.
3078
3079 2003-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3080
3081         * CompilationException.cs: don't add duplicated lines in the case that
3082         mcs reports several errors for the same one.
3083
3084 2003-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3085
3086         * AspGenerator.cs: fully support including files, ie., treat them just
3087         as C treats #includes.
3088
3089 2003-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3090
3091         * AspGenerator.cs:
3092         * AspParser.cs:
3093         * TagType.cs: Added support for server side includes.
3094
3095 2003-05-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3096
3097         * CSCompiler.cs: actually add the list of referenced assemblies to the
3098         compiler options. Throw a CompilationException if there's an error.
3099
3100         * CachingCompiler.cs: added a method to compile directly from a source
3101         file.
3102         
3103 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3104
3105         * AspGenerator.cs: copy the location before setting the value for the
3106         control builders.
3107
3108         * BaseCompiler.cs: changed parameters for CompilationException.
3109
3110         * CompilationException.cs: it takes now line numbers and error
3111         descriptions from the CompilerErrorCollection.
3112
3113         * Location.cs: used when a copy of an ILocation is needed.
3114
3115         * ParseException.cs: implemented new methods to provide line numbers
3116         and souce file.
3117
3118         * TemplateControlCompiler.cs: throw a ParseException where appropiate.
3119
3120 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3121
3122         * AspGenerator.cs: also support data bind syntax inside tags not
3123         processed as controls. Added debugging method.
3124
3125         * TemplateControlCompiler.cs: reset the number of data binding handlers 
3126         in the proper place. Small fix when getting the container type.
3127
3128 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3129
3130         * TemplateControlCompiler.cs: correctly set the TemplateSourceDirectory 
3131         value.
3132
3133 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3134
3135         * AspGenerator.cs: handle code render syntax in tag attributes.
3136
3137         * AspParser.cs: the constructor now takes a TextReader.
3138
3139         * TemplateControlCompiler.cs: removed comment.
3140
3141 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3142
3143         * TemplateControlCompiler.cs: added support for data bound properties.
3144
3145 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3146
3147         * AspComponentFoundry.cs: simplified it a lot by using Type and Assembly
3148         instead of their names.
3149
3150         * AspElements.cs: removed. No longer needed.
3151
3152         * AspGenerator.cs: this file is now in charge of interfacing between
3153         the parser and the compiler. It manages the creation of the
3154         ControlBuilder tree and the compilation of the CodeDOM tree.
3155
3156         * AspParser.cs: tag handling is simpler now.  Instead of a whole bunch
3157         of different Types, tags are just and id and a set of attributes.
3158         Implement ILocation interface.
3159         
3160         * AspTokenizer.cs: added a few methods to help the parser implementing
3161         ILocation.
3162
3163         * BaseCompiler.cs: handles the portions of the CodeDOM tree that are
3164         common to appliaction, page and user control, including the actual
3165         compilation and error handling.
3166
3167         * CSCompiler.cs: compiles C# files using CodeDOM interfaces.
3168
3169         * CachingCompiler.cs: simplified to use the new interfaces.
3170
3171         * CompilationException.cs: it's now using CompilationResult to report
3172         errors.
3173
3174         * CompilationResult.cs: Removed file.
3175
3176         * Directive.cs: to check for the validity of a directive.
3177
3178         * GlobalAsaxCompiler.cs: simplified a lot, as most of the work is done
3179         in BaseCompiler.
3180
3181         * ILocation.cs: interface used to now the exact place where a parse
3182         error happens.
3183
3184         * PageCompiler.cs: generates a couple of methods that are only used in
3185         pages.
3186
3187         * ParseException.cs: use the ILocation interface.
3188
3189         * TagAttributes.cs: handles the attributes of the tags parsed.
3190
3191         * TagType.cs: an enum for the different kinds of tags.
3192
3193         * TemplateControlCompiler.cs: this is the one that does most of the
3194         conversion from teh ControlBuilder tree into a CodeDOM tree.
3195
3196         * UserControlCompiler.cs: simplified as most of the work is done in
3197         its base classes.
3198
3199         * WebServiceCompiler.cs: dummy.
3200
3201 2003-04-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3202
3203         * AspComponentFoundry.cs: added GetComponentType method.
3204
3205 2003-03-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3206
3207         * AspTokenizer.cs: allow quotes inside server tags that are part of
3208         attribute values.
3209         
3210         * CachingCompiler.cs: no more 'FileNotFound' exceptions when the
3211         compilation fails.
3212
3213 2003-03-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3214
3215         * AspGenerator.cs: generate correct appbase path. It was working with
3216         mcs but not with csc.
3217
3218         * BaseCompiler.cs: quote arguments and removed GetRandomFileName.
3219
3220         * CachingCompiler.cs: quote source file.
3221
3222 2003-03-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3223
3224         * AspGenerator.cs: now the Inherits attribute works as expected for
3225         global.asax file.
3226
3227 2003-03-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3228
3229         * CompilationException.cs:
3230         * ParseException.cs: display the correct line number in error messages.
3231
3232         * AspElements.cs: added TargetSchema attribute for control. It's
3233         ignored.
3234
3235 2003-03-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3236
3237         * BaseCompiler.cs: fixed the hack to work under windows.
3238         * CachingCompiler.cs: under windows, try 'mcs.bat' and then 'mcs'.
3239
3240 2003-03-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3241
3242         * BaseCompiler.cs: hacks to work-around our buggy System.Uri.
3243
3244 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
3245
3246         * BaseCompiler.cs: Removed a FIXME: and added a correct calculation of
3247         app's private bin path
3248
3249 2003-03-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3250
3251         * AspGenerator.cs:
3252         * BaseCompiler.cs:
3253         * CachingCompiler.cs:
3254         * CompilationResult.cs:
3255         * GlobalAsaxCompiler.cs:
3256         * PageCompiler.cs:
3257         * UserControlCompiler.cs: recompile the page if dependencies change.
3258
3259 2003-02-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3260
3261         * AspGenerator.cs: corrected typo and wrong fix.
3262
3263 2003-02-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3264
3265         * AspGenerator.cs: fixed code generation for Table/TableRow/TableCell
3266         when used explicitly.
3267
3268 2003-02-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3269
3270         * AspElements.cs: get the property Type for controls that use
3271         ParseChildren with a property name.
3272
3273         * AspGenerator.cs: generate correct signature for the method that
3274         adds controls to the default property in ParseChildren.
3275
3276 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3277
3278         * AspGenerator.cs: rethrow exceptions that may come from parsing or 
3279         compilation if a user control.
3280
3281 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3282
3283         * AspGenerator.cs: throw ParseException on parse
3284         error.
3285
3286         * AspParser.cs: added Line and Column props.
3287
3288         * CompilationException.cs: derives now from HtmlizedException.
3289
3290         * CompilationResult.cs: added fileName field.  Fixed set_ExitCode.
3291
3292         * GlobalAsaxCompiler.cs:
3293         * PageCompiler.cs:
3294         * UserControlCompiler.cs: pass the file name in the CompilationResult.
3295
3296         * ParseException.cs: new exception.
3297
3298
3299 2003-02-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3300
3301         * AspGenerator.cs: remove "file://" from the private bin path. Fixes
3302         bug #37628.
3303
3304 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3305
3306         * AspParser.cs: the parser fires events when it parses an element.
3307
3308         * GlobalAsaxCompiler.cs:
3309         * PageCompiler.cs:
3310         * UserControlCompiler.cs:
3311         * AspElements.cs: modified to use the new parser interface.
3312
3313         * AspGenerator.cs: modified to use the new parser. Merge multiple text
3314         strings into one single LiteralControl.
3315
3316         * AspTokenizer.cs: added Line and Column properties.
3317
3318 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3319
3320         * AspParser.cs: fixed bug #36929.
3321
3322 2003-01-21  Tim Haynes <thaynes@openlinksw.com>
3323
3324         * AspGenerator.cs:
3325         * BaseCompiler.cs:
3326         * CachingCompiler.cs: changes to work around spaces and
3327         directory-separators in the local filesystem.
3328
3329 2003-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3330
3331         * AspGenerator.cs: make the generated file compile with csc after last
3332         change.
3333
3334 2003-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3335
3336         * AspGenerator.cs: removed unused variable. Added support for
3337         properties/fields of type string [].
3338
3339 2003-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3340
3341         * AspGenerator.cs: modified loading of the parent type now that
3342         Type.GetType is fixed.
3343
3344 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3345
3346         * AspGenerator.cs: cast to Control if the container does not implement
3347         INamingContainer.
3348
3349 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3350
3351         * AspGenerator.cs: fixed a couple of thinkos related to IsSubclassOf.
3352
3353 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3354
3355         * AspElements.cs: attributes without value lacked a space afterwards.
3356
3357 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3358
3359         * AspGenerator.cs: functions for columns don't return anything. Fixed
3360         typo.
3361
3362 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3363
3364         * AspGenerator.cs: add data bound controls to code render function.
3365
3366 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3367
3368         * AspComponentFoundry.cs: reworked to allow same prefix for multiple
3369         controls. You can register 1 assembly plus any number of user controls
3370         under the same prefix.
3371
3372         * AspGenerator.cs: don't add duplicate 'using' for the same namespace.
3373         Hack to allow @Register access to assemblies in other places than bin
3374         directory.
3375
3376 2003-01-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3377
3378         * AspElements.cs: added 'codebehind' attribute for page, control and
3379         application. It's ignored by MS, but allowed. Fixed typo.
3380
3381 2003-01-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3382
3383         * AspGenerator.cs: fixed EnableSesssionState handling.
3384
3385 2003-01-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3386
3387         * AspGenerator.cs: don't generate instance fields for pages/controls
3388         when the base class specified in the Inherits attribute already has
3389         them. Closes bug #36262.
3390
3391 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3392
3393         * AspGenerator.cs: generate code like 'control.XXX = value' also for
3394         public fields (properties were being handled in that way too).
3395
3396 2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3397
3398         * AspGenerator.cs: now it uses the current HttpContext when creating
3399         user controls. TemplateSourceDirectory is no longer a dummy value.
3400
3401         * GlobalAsaxCompiler.cs:
3402         * PageCompiler.cs:
3403         * UserControlCompiler.cs: set the context which will be used to locate
3404         the files.
3405         
3406 2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3407
3408         * AspGenerator.cs: added support for AutoEventWireup attribute in
3409         @Page and @Control.
3410
3411         * CompilationResult.cs:
3412         * GlobalAsaxCompiler.cs:
3413         * PageCompiler.cs:
3414         * UserControlCompiler.cs: store the options.
3415
3416 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3417
3418         * AspElements.cs: new method Tag.GetElements
3419         used to parse the inner contents of a tag looking for data binding or 
3420         code render tags.
3421         
3422         New property HtmlControlTag.ParseChildren allows
3423         differentiation of a couple of HtmlControls that has children as
3424         properties (namely HtmlTable and HtmlTableRow).
3425
3426         * AspGenerator.cs: fixed container semantics to
3427         match BindingContainer one. Implemented Inherits attribute for page and
3428         control.
3429
3430         Support HtmlControls that has ChildrenAsProperties.
3431         
3432         Generate code for data binding functions that matches the semantic of
3433         Container.
3434
3435         Handle data bound and code render attribute values.
3436
3437         Set proper value return for TemplateSourceDirectory. Should be relative
3438         to appPath.
3439         
3440         * BaseCompiler.cs: moved CompilerOptions and
3441         References handling here.
3442
3443         * CachingCompiler.cs: copy result of compilation.
3444
3445         * CompilationException.cs: simple ToString () implementation.
3446
3447         * CompilationResult.cs: implemented CopyFrom and ToString.
3448
3449         * GlobalAsaxCompiler.cs:
3450         * PageCompiler.cs:
3451         * UserControlCompiler.cs: removed CompilerOptions as it's now handled
3452         in the base class. Get all the types in the generated assembly and
3453         look for one that derives from the correct Type.
3454         
3455 2002-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3456
3457         * AspElements.cs: added @Application directive.
3458
3459         * AspGenerator.cs: make it work also with application files. We
3460         currently generate an extra private function.
3461
3462 2002-11-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3463
3464         * GlobalAsaxCompiler.cs: compiler for global.asax file. If the file
3465         exists, it will be compiled into an HttpApplication derived class
3466         (directly or through a user-provided class).
3467
3468 2002-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3469
3470         * AspGenerator.cs: fixed target file name and generated class name.
3471         * BaseCompiler.cs: reference assemblies in PrivateBinPath.
3472
3473 2002-11-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3474
3475         * AspGenerator.cs: reworked user control
3476         compilation. Provide the options as a Hashtable for use in compilation.
3477         Create the user controls in the private bin path of the domain.
3478
3479         * BaseCompiler.cs: base class for the various compiler types.
3480
3481         * CachingCompiler.cs: actually executes mcs and do some poor caching
3482         (it will use Cache when finished).
3483
3484         * CompilationException.cs: this exception has enough information to
3485         generate a nice error page.
3486         * CompilationResult.cs: used in caching.
3487
3488         * PageCompiler.cs: now derives from BaseCompiler
3489
3490         * TemplateFactory.cs: no longer needed.
3491
3492         * UserControlCompiler.cs: new class used when compiling user controls.
3493         * WebServiceCompiler.cs: derives from BaseCompiler.
3494
3495 2002-11-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3496
3497         * AspElements.cs: added ServerComment class.
3498         * AspParser.cs: ignore ServerComments tags. Remove server comments when 
3499         in verbatim mode.
3500
3501         Fixes #33482.
3502
3503         * PageCompiler.cs: check if the type is already cached before generating
3504         the C# file.
3505         * TemplateFactory.cs: if csFile parameter is null, only checks if we
3506         already have the page compiled.
3507
3508 2002-11-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3509
3510         * AspGenerator.cs: undo one-liner change.
3511
3512 2002-10-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3513
3514         * AspGenerator.cs: removed a few hacks no longer needed.
3515
3516 2002-10-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3517
3518         * PageCompiler.cs: tracing.
3519         * TemplateFactory.cs: cache compiled types and tracing.
3520         * WebServiceCompiler.cs: new parameter in GetTypeFromsource,
3521
3522 2002-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3523
3524         * AspComponentFoundry.cs: fixed typo.
3525         * TemplateFactory.cs: use csc style options.
3526         * AspGenerator.cs: don't use FileDependencies property of base class.
3527
3528 2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3529
3530         * System.Web.Compilation/AspElements.cs:
3531         * System.Web.Compilation/AspGenerator.cs:
3532         * System.Web.Compilation/AspParser.cs:
3533         * System.Web.Compilation/PageCompiler.cs:
3534         * System.Web.Compilation/TemplateFactory.cs: we are now able to compile
3535         pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
3536
3537 2002-09-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3538
3539         * AspElements.cs: added WebService directive.
3540         * WebServiceCompiler.cs: New file.
3541
3542 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3543
3544         * PageCompiler.cs: fixed compilation.
3545
3546 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3547
3548         * PageCompiler.cs: generate C# file using AspGenerator.
3549
3550 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3551
3552         * AspComponentFoundry.cs: LookupFoundry now returns bool.
3553         * AspGenerator.cs: New file.
3554
3555 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3556
3557         * AspComponentFoundry.cs: New file.
3558         * AspElements.cs: renamed Component to Aspcomponent.
3559
3560 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3561
3562         * AspElements.cs:
3563         * AspParser.cs:
3564         * AspTokenizer.cs:
3565         * ChangeLog:
3566         * PageCompiler.cs:
3567         * TemplateFactory.cs: first steps to move xsp into System.Web.
3568