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