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