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