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