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