2006-06-15 Juraj Skripsky <js@hotfeet.ch>
[mono.git] / mcs / class / System.Web / System.Web.Compilation / ChangeLog
1 2006-06-15 Juraj Skripsky <js@hotfeet.ch>
2
3         * AspTokenizer.cs (ReadAttValue), AspParser.cs (GetAttributes):
4         Don't allow an attribute value to contain the same quote characters
5         as the ones used for delimiting the value itself. Add a token
6         NOTWELLFORMED to signal that case to AspParser. Fixes bug #78643.
7
8 2006-06-08      Konstantin Triger <kostat@mainsoft.com>
9
10         * ThemeDirectoryCompiler.cs: use physical path instead of virtual path.
11
12 2006-04-24  Andrew Skiba  <andrews@mainsoft.com>
13
14         * ThemeDirectoryCompiler.cs: use UrlUtils.Combine to combine pathes
15
16 2006-04-23  Andrew Skiba  <andrews@mainsoft.com>
17
18         * PageThemeCompiler.cs: initialize __linkedStyleSheets field with the
19         array of style sheets from the parser
20         * ThemeDirectoryCompiler.cs: scan *.css files in theme directory and
21         put them in LinkedStyleSheets of PageThemeParser
22
23 2006-04-20  Chris Toshok  <toshok@ximian.com>
24
25         * BaseCompiler.cs: for 2.0, emit the correct namespace and class
26         names in the case where you use "NS.ClassName" in the Inherits
27         attribute.  Fixes bug #78135.
28
29 2006-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
30
31         * CachingCompiler.cs: no need to play the Wait/PulseAll game, as we
32         already acquired the lock even when we might have not created the 'key'
33         to the compilation ticket.
34
35 2006-04-16  Andrew Skiba <andrews@mainsoft.com>
36
37         * ThemeDirectoryCompiler.cs: add to the directory parser all the
38         assemblies found by PageThemeFileParsers
39
40 2006-04-12  Lluis Sanchez Gual <lluis@novell.com>
41
42         * TemplateControlCompiler.cs: Properly read all content of
43         string properties.
44
45 2006-04-11  Andrew Skiba <andrews@mainsoft.com>
46
47         * TemplateControlCompiler.cs : fix for partial parsers
48
49 2006-04-11  Andrew Skiba <andrews@mainsoft.com>
50
51         * ThemeDirectoryCompiler.cs : map the virtual path to the physical
52         path
53
54 2006-04-08  Miguel de Icaza  <miguel@novell.com>
55
56         * TemplateControlCompiler.cs: An attempt to fix the regression
57         introduced in r58505 (a bug fix for 77762).   This was reported in
58         the mailing list with a batch of new 2.0 failures.
59
60         We really need a test suite in NUnit to check on ASP.NET aspx
61         changes.
62
63 2006-03-27  Robert Jordan  <robertj@gmx.net>
64
65         * CachingCompiler.cs:  change the compilation locking scheme
66         from "one mcs per process" to "one mcs per file".
67
68 2006-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
69
70         * System.Web.Compilation/TemplateControlCompiler.cs: handle the new
71         StringPropertyBuilder.
72
73 2006-03-24  Chris Toshok  <toshok@ximian.com>
74
75         * BaseCompiler.cs (GetCompiledType): fall back to CodeDomProvider
76         if system.web/compilation doesn't list a compiler for our
77         language.
78
79 2006-03-13  Chris Toshok  <toshok@ximian.com>
80
81         * TemplateControlCompiler.cs (InitMethod): when generating the
82         call to ApplyStyleSheetSkin, don't just blindly pass "this" as the
83         argument to it.  Only do that if the class we're compiling is
84         actually a subclass of Page.  If it's not, pass this.Page.
85
86 2006-03-07  Chris Toshok  <toshok@ximian.com>
87
88         * AspGenerator.cs: refactor the parsing code so that we can
89         initiate parsing from outside this class.
90
91         * PageCompiler.cs (PrependStatementsToFrameworkInitialize): new
92         method, add our StyleSheetTheme assignment here.
93         (AppendStatementsToFrameworkInitialize): rename AddStatements* to
94         this.
95
96         * TemplateControlCompiler.cs (EnsureID): make protected.
97         (CreateAssignStatementsFromAttributes): same
98         (AddChildCall): same.
99         (CreateControlTree): same.
100         (CreateFrameworkInitializeMethod): change
101         "AddStatementsToFrameworkInitialize" to
102         "AppendStatementsToFrameworkInitialize", and add call to
103         "PrependStatementsToFrameworkInitialize" before the generation of
104         "base.FrameworkInitialize()."
105
106         * PageThemeCompiler.cs (CreateControlSkinMethod): remove spew.
107
108 2006-03-07  Chris Toshok  <toshok@ximian.com>
109
110         * ThemeDirectoryCompiler.cs: new file.
111
112         * PageThemeCompiler.cs: new file.
113
114 2006-03-07  Chris Toshok  <toshok@ximian.com>
115
116         * BaseCompiler.cs: fix typo in "initialize" in multiple places.
117         (Init): move the CreateMethods call here.
118
119 2006-03-02  Chris Toshok  <toshok@ximian.com>
120
121         * TemplateControlCompiler.cs (InitMethod): emit an assignment for
122         SkinID just after the creation of our object, and right after that
123         call "_ctrl.ApplyStyleSheetSkin (page)".
124         (CreateAssignStatementsFromAttributes): split out the majority of
125         this code to CreateAssignStatementFromAttribute, and change this
126         method to simply a loop over the attribute keys.  In the 2.0 case,
127         skip the SkinID property, since that's handled explicitly in
128         InitMethod.
129
130         * PageCompiler.cs (AddStatementsToInitMethod): emit assignments
131         for Theme and StyleSheetTheme.
132
133 2006-02-23  Chris Toshok  <toshok@ximian.com>
134
135         * TemplateControlCompiler.cs (AddContentTemplateInvocation): track
136         change from ContentControlBuilderInternal to
137         ContentBuilderInternal.
138         (AddCodeRender): same.
139
140 2006-02-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
141
142         * AssemblyBuilder.cs:
143         * BuildManager.cs: compile the assembly from AssemblyBuilder and use
144         GetGeneratedType() on the BuildProvider instead of loading the assembly
145         and trying a wild guess at the type name.
146
147 2006-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
148
149         * GlobalAsaxCompiler.cs:
150         * PageCompiler.cs:
151         * TemplateControlCompiler.cs: CreateMethods is now internal.
152
153         * WebServiceBuildProvider.cs:
154         * PageBuildProvider.cs:
155         * UserControlBuildProvider.cs:
156         * WebHandlerBuildProvider.cs: new build providers.
157
158         * BuildProvider.cs: add assemblies.
159
160         * BaseCompiler.cs: expose the provider and the compile unit through
161         properties.
162
163 2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
164
165         * CompilerType.cs: implemented.
166
167         * AssemblyBuilder.cs: implemented most of it.
168
169         * WebServiceCompiler.cs:
170         * CachingCompiler.cs: update 2.0 compiler instance creation code.
171
172         * ClientBuildManager.cs: implemented some of its methods. Not yet
173         ready.
174
175         * BuildManager.cs: the more interesting methods are implemented now.
176
177         * BaseCompiler.cs: delete the temporary files in case of error.
178
179         * BuildProvider.cs: implemented the Get*Compiler* protected methods.
180
181 2006-02-07  Chris Toshok  <toshok@ximian.com>
182
183         * TemplateControlCompiler.cs (AddParsedSubObjectStmt): append the
184         calls to AddParsedSubObject to a special statement collection --
185         builder.flushOutputStatements -- not to builder.method.Statements.
186         (InitMethod): initially, set flushOutputStatements to
187         method.Statements.  If we're dealing with a ContentPlaceHolder,
188         set flushOutputStatements to be the else block of a conditional we
189         create.  This causes the compiled control to fall back to the
190         ContentPlaceHolder's child controls in case there's no
191         corresponding Content template.
192         (AddChildCall): use methodStatements instead of method.Statements.
193         (CreateControlTree): same.
194
195         * PageCompiler.cs (CreatePropertyAssign): factor out the
196         string,string implementation and add one that also takes a
197         CodeExpression; make the string,string implementation call the
198         three arg one with thisRef.
199         (AddStatementsToInitMethod): make use of the 3-arg form of
200         CreatePropertyAssign to reduce code.  Also, add support for
201         setting the page's Title from the parser's Title.
202
203 2006-02-07  Chris Toshok  <toshok@ximian.com>
204
205         * UserControlCompiler.cs (AddStatementsToInitMethod): emit code to
206         assign __ctrl.MasterPageFile to our master page, if we have one.
207
208         * PageCompiler.cs (CreateContructor): remove the MasterPageFile
209         assignment from here.
210         (AddStatementsToInitMethod): and move it here.
211         
212         * TemplateControlCompiler.cs (InitMethod): in the case where
213         builder is a RootBuilder (we're building the __BuildControlTree
214         method), call a virtual method so that subclasses can add their
215         own statements to the method (used by both Page and MasterPage);
216         Also, in the RootBuilder case, the argument should be the
217         parser.ClassName type (the class we're building); lastly, expand
218         the ContentPlaceHolder logic to include all the
219         ContentTemplates/InstantiateIn magic.
220         (AddStatementsToInitMethod): empty virtual method.
221         (AddContentTemplateInvocation): ContentControlBuilder ->
222         ContentControlBuilderInternal.
223         (CreateControlTree): same.
224         (CallBaseFrameworkInitialize): new function, create call to
225         base.FrameworkInitialize.
226         (CreateFrameworkInitializeMethod): call CallBaseFrameworkIniitialize.
227
228 2006-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
229
230         * IgnoreFileBuildProvider.cs: it's not public.
231         * BuildProvider.cs: mostly implemented.
232
233 2006-02-01  Chris Toshok  <toshok@ximian.com>
234
235         * WebServiceCompiler.cs: CONFIGURATION_2_0 => NET_2_0, and use
236         GetSection instead of GetWebApplicationSection.
237
238         * CachingCompiler.cs: same.
239
240         * AspGenerator.cs: same.
241
242         * BaseCompiler.cs: same.
243         
244 2006-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
245
246         * AspGenerator.cs: ignore 'thead'. Fixes bug #77326.
247
248 2006-01-22  Chris Toshok  <toshok@ximian.com>
249
250         * IgnoreFileBuildProvider.cs: build provider which does nothing.
251
252 2006-01-22  Chris Toshok  <toshok@ximian.com>
253
254         * AspComponentFoundry.cs (.ctor): use a 2.0 friendly form of the
255         Hashtable ctor to silence a couple of warning.
256         (CompoundFoundry.ctor): same
257
258         * Directive.cs (InitHash): use a 2.0 friendly form of the
259         Hashtable ctor to silence a couple of warning.
260
261         * TagAttributes.cs (MakeHash): use a 2.0 friendly form of the
262         Hashtable ctor to silence a warning.
263         (GetDictionary): same.
264
265 2006-01-22  Chris Toshok  <toshok@ximian.com>
266
267         * AppSettingsExpressionBuilder.cs: implement this, patterning it
268         after an example on msdn.  Also, enable the ExpressionEditor
269         attribute, but use the string rather than the Type overload so we
270         won't have yet another circular dep.
271
272         * ConnectionStringsExpressionBuilder.cs: partial implementation.
273         Same deal with the ExpressionEditor attribute.
274
275         * ResourceExpressionBuilder.cs: same deal with the
276         ExpressionEditor attribute.
277         
278 2006-01-20  Chris Toshok  <toshok@ximian.com>
279
280         * ResourceExpressionBuilder.cs (ParseExpression): implement.
281
282         * ResourceExpressionFields.cs: implement.
283
284 2006-01-20  Chris Toshok  <toshok@ximian.com>
285
286         * ClientBuildManagerParameter.cs: implement.
287
288         * ClientBuildManagerCallback.cs: this class contains an empty
289         default implementation.
290
291 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
292
293         * AspGenerator.cs: add support for 'src' in <script runat="server">.
294         Fixes bug #77150.
295
296 2006-01-04  Chris Toshok  <toshok@ximian.com>
297
298         * WebServiceCompiler.cs (GetCompiledType): add CONFIGURATION_2_0
299         code.
300
301         * AspGenerator.cs (CheckLanguage): add CONFIGURATION_2_0 code.
302
303 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
304
305         * AspGenerator.cs: fix yesterday's fix.
306
307 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
308
309         * AspGenerator.cs: only do special processing for <script> if it has
310         the runat="server" attribute. Fixes bug #76918.
311
312 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
313
314         * TemplateControlCompiler.cs: treat LightGrey as a synonym of LightGray.
315         Fixes bug #76677.
316
317 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
318
319         * TemplateControlCompiler.cs: handle data bound attributes for html
320         controls. Fixes bug #76785.
321
322 2005-11-28  Chris Toshok  <toshok@ximian.com>
323
324         * CachingCompiler.cs (Compile): CONFIGURATION_2_0 work.
325
326         * BaseCompiler.cs (GetCompiledType): CONFIGURATION_2_0 work.
327
328 2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
329
330         * WebServiceCompiler.cs: fixed caching for web handlers.
331
332 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
333
334         * AspParser.cs: don't change case for verbatim IDs.
335         Fixes bug #76657.
336
337 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
338
339         * AspParser.cs: when processing verbatim input, throw if we reach EOF
340         before the expected end of the data.
341
342 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
343
344         * CachingCompiler.cs: 
345         * WebServiceCompiler.cs: when caching a type loaded from an assembly
346         that we didn't compile, make it depend on the file itself, not on a
347         non-existing cache key. This problem affected performance of web
348         services and .ashx, making unnecessary extra calls to LoadFrom every
349         time the cache was cleared.
350
351 2005-09-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
352
353         * BaseCompiler.cs: set the domain's DynamicBase property instead of
354         guessing it in BaseCompiler.
355
356 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
357
358         * WebServiceCompiler.cs: apply the same fix as in r45440 that fixed bug
359         75146 for pages/controls.
360
361 2005-08-09  Miguel de Icaza  <miguel@novell.com>
362
363         * WebServiceCompiler.cs: Use the new DynamicDir method.
364
365         * BaseCompiler.cs: Use the DynamicBase property as a hint, but
366         since this value is null most of the time, compute the real value.
367
368         Added Bonus: if the directory has some kind of permission problem,
369         try a different directory name.
370
371 2005-07-13  Miguel de Icaza  <miguel@novell.com>
372
373         * AspGenerator.cs (AspGenerator.CheckLanguage): Use
374         BaseParser.Context for the context. 
375
376 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
377
378         * TagAttributes.cs:
379         * AspParser.cs:
380         * TemplateControlCompiler.cs: use invariant culture versions of starts/
381         endswith.
382
383 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
384
385         * TemplateControlCompiler.cs: comparison between member name and the
386         first part of the id provided by the user should also be
387         case-insensitive. Fixes bug #75379.
388
389 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
390
391         * CachingCompiler.cs: use cache.InsertPrivate.
392         * AspGenerator.cs: use cache.InsertPrivate. Removed extra call to
393         AddDependency.
394
395 2005-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
396
397         * CachingCompiler.cs: create the assemly in the DynamicBase directory,
398         as all the others, when compiling an assembly from a Src file. Fixes
399         bug #75371.
400
401 2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
402
403         * TemplateControlCompiler.cs: if the property is not found, don't forget
404         about trying the field.
405
406 2005-06-13  Lluis Sanchez Gual <lluis@novell.com>
407
408         * Directive.cs: Register the MasterType directive.
409         * PageCompiler.cs: If a MasterType is specified, add a type specific
410         Master property. All this fixes bug #75192.
411
412 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
413
414         * TemplateControlCompiler.cs: when mapping an attribute name to a field
415         or property name, there's no need to try with every property and field,
416         but just the one found when searching by name (no case). There was one
417         call to ProcessPropertiesAndFields per property or field until found,
418         now only one if the property/field is found, none otherwise.
419
420 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
421
422         * TemplateControlCompiler.cs: allow more than 2 levels when looking for
423         properties of fields for an attribute like "Prop1-Prop2-Prop3". Fixes
424         bug #75234.
425
426 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
427
428         * BaseCompiler.cs: when the OutputAssembly is null, we can still have
429         the assembly file there and be able to load it. Thanks to Rogerio and
430         Mark.
431
432 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
433
434         * AspParser.cs: InvariantCulture love.
435
436 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
437
438         * TemplateControlCompiler.cs: use the Page AddContentTemplate method,
439         as the one in Master is protected. Fixes bug #75157.
440
441 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
442
443         * AspComponentFoundry.cs: tagnames have precedence over types in
444         assemblies when they use the same prefix. Fixes bug #71855.
445
446 2005-05-03  Lluis Sanchez Gual <lluis@novell.com>
447
448         * WebServiceCompiler.cs: Create the temp directory before
449         creating the web service source code file.
450
451 2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
452
453         * AspGenerator.cs: when checking languages, try to match other aliases
454         too (ie, 'cs' == 'c#').
455
456 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
457
458         * BaseCompiler.cs: check that DynamicBase directory exists before
459         creating the TempFileCollection.
460
461 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
462
463         * AspGenerator.cs: use a stack for non-server tags even before getting
464         to a form. Fixes bug #70274.
465
466 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
467
468         * AspParser.cs: don't error out on ill formed tags if it's not a server
469         tag (ie, allow something like '<table align="left cellpadding="0">' to
470         work, as MS does. Fixes bug #67909.
471
472 2005-04-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
473         * BaseCompiler.cs: do the bridge of Explicit/Strict attributes from
474         @Page/@Control directives to CodeDOM (VB.NET support)
475
476 2005-04-19  Lluis Sanchez Gual <lluis@novell.com>
477
478         * AspParser.cs: Fixed parsing of data binding tags in server
479         tag attributes. Allow <%...%> blocks not assigned to
480         attributes in client tags.
481         * TagAttributes.cs: Make sure that data binding blocks in server
482         tags are always assigned to attributes.
483
484 2005-04-15  Lluis Sanchez Gual <lluis@novell.com>
485
486         * TemplateControlCompiler.cs: Implemented support for two-way
487         binding.
488
489 2005-04-14  Lluis Sanchez Gual <lluis@novell.com>
490
491         * TemplateControlCompiler.cs: Use the new BindingContainerType
492         property to find the type of the binding container. 
493         
494 2005-04-07  Lluis Sanchez Gual <lluis@novell.com>
495
496         * TemplateControlCompiler.cs: Avoid using the GetConverter() trick
497         for primitive types. Parse an empty color string as Color.Empty.
498         Get the converter for a property using its PropertyDescriptor.
499         
500 2005-04-05  Lluis Sanchez Gual <lluis@novell.com>
501
502         * TemplateControlCompiler.cs: Don't autogenerate IDs for
503         controls inside Content template.
504
505 2005-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
506
507         * TemplateControlCompiler.cs: make typedesc.aspx work again.
508
509 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
510
511         * ExpressionBuilderContext.cs:
512         * ExpressionBuilder.cs: implemented.
513
514 2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
515
516         * AspGenerator.cs: don't fail on <tbody runat=server>. Fixes bug #71856.
517
518 2005-01-28  Lluis Sanchez Gual <lluis@novell.com>
519
520         * TemplateControlCompiler.cs: When generating a property value,
521         check for TypeConverterAttribute in the PropertyInfo, not only in the
522         property type.
523         Implemented code generation using InstanceDescriptor, when the type
524         converter supports conversion to that type.
525
526 2005-01-21  Lluis Sanchez Gual <lluis@novell.com>
527
528         * Directive.cs: Added MASTER directive.
529         * AspGenerator.cs: Use UserControlCompiler for compiling master pages.
530         * PageCompiler.cs: Set the master file name when generating the page.
531         * TemplateControlCompiler.cs: When generating the method for a
532         content holder, register the content holder in the base MasterPage.
533         Added method for registering a Content control for a MasterPage.
534         Generate code for Content controls.
535
536 2005-01-10  Lluis Sanchez Gual <lluis@novell.com>
537
538         * TemplateControlCompiler.cs: Get the container type from the
539         template (if it was defined using TemplateContainerAttribute.
540
541 2004-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
542
543         * AspGenerator.cs: correctly process script tags that self-closing.
544         Fixes bug #69657.
545
546 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
547
548         * CachingCompiler.cs: when compiling a single .cs file, add the file
549         itself to dependencies. Fixes bug #68788.
550
551 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
552
553         * ControlBuilder.cs: don't close server tags when we get to a closing
554         tag that is not applied to a server control. Fixes bug #60323.
555
556 2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
557
558         * WebServiceCompiler.cs: fix buglet in my last commit.
559
560 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
561
562         * BaseCompiler.cs:
563         * CachingCompiler.cs:
564         * WebServiceCompiler.cs: correctly cache Type instead of the assembly
565         for ashx/asmx. Otherwise we need to open the file and check for the
566         class name in there. Thanks to Ben for pointing this out.
567
568 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
569
570         * AspParser.cs:
571         * AspTokenizer.cs: prevent quotes from being swallowed when we're 
572         inside a server tag and they are the next non-whitespace character.
573         Fixes bug #63451.
574
575 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
576
577         * CachingCompiler.cs: don't try to watch for changes in system
578         assemblies. Fixes bug #64871.
579
580 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
581
582         * AspGenerator.cs: handle builders that need to process inner text
583         with tags.
584
585         * Location.cs: added setters for the properties.
586
587 2004-08-02  Duncan Mak  <duncan@ximian.com>
588
589         * BuildProviderResultFlags.cs:  
590         * IImplicitResourceProvider.cs: 
591         * ImplicitResourceKey.cs:
592         * IResourceReader.cs: Added.
593
594 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
595
596         * AspGenerator.cs: the path for file was treated as virtual, but it's
597         physical. Fixes bug #61524.
598
599 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
600
601         * AspParser.cs: fixed case-sensitivity issues with #include and its
602         attributes. Closes #61429.
603
604 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
605
606         * BaseCompiler.cs:
607         * WebServiceCompiler.cs: really create the dlls under DynamicBase
608
609 2004-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
610
611         * TemplateControlCompiler.cs: for system colors, use SystemColors class
612         instead of Color. Fixes bug #60249.
613
614 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
615
616         * BaseCompiler.cs: try getting the Type from the cache before doing the 
617         real work. Remove temporary files right after successful compilation.
618
619         * CachingCompiler.cs: added GetTypeFromCache.
620
621         * UserControlCompiler.cs: nothing interesting.
622
623         * WebServiceCompiler.cs: try getting the Type from the cache before
624         doing anything else. Remove temp files on sucessful compilation.
625
626 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
627
628         * AspGenerator.cs:
629         * CachingCompiler.cs: use a different prefix when caching compiler
630         results or Types.
631
632 2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
633
634         * BaseCompiler.cs: dynamicBase is now protected. Check
635         MONO_ASPNET_NODELETE here.
636
637         * TemplateControlCompiler.cs: if the type is not known but has a 
638         TypeConverter, invoke ConvertFromString in the generated code.
639
640         * WebServiceCompiler.cs: it used a hardcoded C# compiler, now it gets
641         the compiler from the configuration. Also handle MONO_ASPNET_NODELETE.
642
643         * CachingCompiler.cs: updated compilation of web services and simple
644         web handlers.
645
646 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
647
648         * CSCompiler.cs: removed.
649
650         * CachingCompiler.cs: language independent compilation for single files.
651
652 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
653
654         * BaseCompiler.cs:
655         * WebServiceCompiler.cs: adapted to the 'new' CachingCompiler.
656         * CachingCompiler.cs: use HttpRuntime.Cache.
657
658 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
659
660         * PageCompiler.cs: fixed Trace and add support for Buffer.
661
662 2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
663
664         * PageCompiler.cs: override CreateConstructor to add assignment for
665         ClientTarget.
666         
667 2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
668
669         * TemplateControlCompiler.cs: use CodeDelegateCreateExpression instead
670         of CodeObjectCreateExpression for the render method delegate. Thanks
671         to Jochen Wezel.
672
673 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
674
675         * BaseCompiler.cs: use DynamicBase for the output assemblies.
676
677 2004-05-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
678
679         * AspGenerator.cs: ObjectTagBuilder do not override HasBody now.
680
681 2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
682
683         * AspParser.cs: indent a few lines.
684         * AspTokenizer.cs: added ungetc() used when we read a '/' in an unquoted
685         attribute value. This way we can simulate reading 2 characters ahead
686         (one in ungetc and the other in Peek) and work with values like
687         text/javascript. Fixes bug #57302.
688
689 2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
690
691         * AspParser.cs: ignore whitespace after directives. Fixes bug #58057.
692
693 2004-04-02  Lluis Sanchez Gual  <lluis@ximian.com>
694
695         * TemplateControlCompiler.cs: Fixed build for net_1_0 profile.
696
697 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
698
699         * GlobalAsaxCompiler.cs: removed Imports and Assemblies properties.
700
701 2004-02-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
702
703         * AspGenerator.cs: error out when <object> server tag is not closed.
704         Ignore any content inside it.
705
706 2004-02-10  Jackson Harper <jackson@ximian.com>
707
708         * AspTokenizer.cs: Collect discarded characters that might be used
709         in client side scripts. Patch by Liyu Liu.
710         * AspParser.cs: Add discarded characters. Patch by Liyu Liu.
711         
712 2004-02-10  Jackson Harper <jackson@ximian.com>
713
714         * BaseCompiler.cs: Use the TempDirectory for compilation. Fixes
715         bug #54117.
716         
717 2004-01-30  Jackson Harper <jackson@ximian.com>
718
719         * TemplateControlCompiler.cs: Call ToString on the types hashcode,
720         the build method takes strings not ints.
721         
722 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
723
724         * AspGenerator.cs: handle more possible errors in global.asax file.
725
726         * BaseCompiler.cs: added utility methods for creating <object> related
727         properties and fields.
728
729         * GlobalAsaxCompiler.cs: keep around applications and session scope
730         objects builders. Also a list of imports and assemblies added in
731         global.asax.
732
733         * TemplateControlCompiler.cs: use base class methods for <object> stuff.
734
735 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
736
737         * AspGenerator.cs: use the Cache to store compiled Types. Don't parse
738         pages more than once. Thanks to Eric Lindvall for pointing this out.
739
740 2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
741
742         * TemplateControlCompiler.cs: allow handling subproperties for other
743         types than Style and Font. Fixes bug #53217.
744
745 2004-01-16  Jackson Harper <jackson@ximian.com>
746
747         * TagAttribute.cs: attributes can be stored as encoded html so we
748         decode them here.
749         
750 2004-01-14  Jackson Harper <jackson@ximian.com>
751
752         * TemplateControlCompiler.cs: Is a user control is cached and
753         shared use the controls type hashcode for the GUID so it will be
754         the same across instances.
755         
756 2004-01-13  Jackson Harper <jackson@ximian.com>
757         
758         * TemplateControlCompiler.cs: If an item has the partial caching
759         attribute build a PartialCachingControl in the parents __Build method.
760         * BaseCompiler.cs: Add a method for adding class attributes to the
761         class.
762         * UserControlCompiler.cs: If caching is enabled on a user control
763         add the PartialCachingAttribute to it.
764         
765 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
766
767         * PageCompiler.cs: invoke Request.ValidateInput if required.
768
769 2004-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
770
771         * AspGenerator.cs: don't rely on GC to close the files parsed. Fixes bug
772         #52521. Patch by liyul@hotmail.com.
773
774 2003-12-25  Jackson Harper <jackson@ximian.com>
775
776         * AspGenerator.cs: Allow scriptlets in javascript. This fixes bug
777         #52522.
778         
779 2003-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
780
781         * PageCompiler.cs: assign the ErrorPage property if provided.
782
783 2003-12-15  Jackson Harper <jackson@ximian.com>
784
785         * PageCompiler.cs: Add Trace and TraceMode to framework initialize
786         method if they are set.
787         
788 2003-12-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
789
790         * AspGenerator.cs: ignore <tbody> when we're inside a server table and
791         fail when runat="server" is applied to <tbody> with a parse error
792         instead of waiting for a compilation error. Fixes bug #52157.
793
794 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
795
796         * AspGenerator.cs: basic checking of ID validity.  Throw a
797         ParseException when mixing languages.
798
799 2003-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
800
801         * PageCompiler.cs: assign LCID, Culture and/or UICulture in
802         FrameworInitialize() if provided in @Page.
803
804         Fixes bug #51511.
805
806 2003-11-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
807
808         * TemplateControlCompiler.cs: support for expressions of
809         System.Drawing.Size type. Allow getting Color from comma separated
810         numbers, which is not allowed by ColorConverter.
811
812         This makes http://www.codeproject.com/aspnet/asppopup.asp work.
813
814 2003-11-13  Jackson Harper <jackson@ximian.com>
815
816         * PageCompiler.cs: Call InitOutputCache when the OutputCache
817         directive is set.
818         
819 2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
820
821         * AspGenerator.cs: use fileEncoding from configuration files.
822
823         * PageCompiler.cs: add assign statements for ContentType,
824         ResponseEncoding and CodePage if supplied.
825
826 2003-10-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
827
828         * TemplateControlCompiler.cs: fix bug #42994. Now we don't generate
829         a return statement for user controls with 'void' return type.
830
831 2003-10-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
832
833         * AspParser.cs: fixed bug #49627.
834
835 2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
836
837         * BaseCompiler.cs: now gets the CodeCompiler from configuration files.
838
839 2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
840
841         * Directive.cs: new attribute for @Page directive in 1.1.
842
843 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
844
845         * AspParser.cs:
846         * TagAttributes.cs: allow duplicated runat=server attributes and display
847         error page when duplicated attributes and runat is specified.
848
849 2003-10-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
850
851         * AspTokenizer.cs: moved token numbers above unicode.
852
853 2003-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
854
855         * AspGenerator.cs: don't process code render tags inside scripts. Check
856         the language of the script and treat javascript as verbatim input.
857         Fixes bug #48592.
858
859 2003-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
860
861         * TemplateControlCompiler.cs: fixed bug #48212.
862
863 2003-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
864
865         * WebServiceCompiler.cs: remove the temporary files here too.
866
867 2003-08-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
868
869         * AspGenerator.cs: fixed bug #46429.
870
871 2003-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
872
873         * Directive.cs: support @WebHandler.
874         
875 2003-07-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
876
877         * TemplateControlCompiler.cs: support string []. Fixes bug #46415.
878
879 2003-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
880
881         * BaseCompiler.cs: first look for cached items, then generate the tree.
882         This should speed things up.
883
884         * CachingCompiler.cs: when compiling web services, use the full path of
885         the .asmx file as key when caching.
886
887         * WebServiceCompiler.cs: first look for cached items, then generate
888         the source file.
889
890 2003-07-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
891
892         * AspParser.cs: more useful error information,
893
894         * BaseCompiler.cs:
895         * CachingCompiler.cs: honor the debug="true" option.
896
897         * TemplateControlCompiler.cs: small fixes for templates.
898
899 2003-07-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
900
901         * BaseCompiler.cs: made Compiler property virtual.
902
903         * CachingCompiler.cs: added support for compiling web services.
904
905         * WebServiceCompiler.cs: implemented.
906
907 2003-05-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
908
909         * CachingCompiler.cs: fixed bug #43477.
910
911 2003-05-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
912
913         * AspParser.cs:
914         * AspTokenizer.cs: fixed bugs #43206 and #43371.
915
916 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
917
918         * TemplateControlCompiler.cs: duh! Generate SupportAutoEvents instead
919         of AutoEventWireup (which is internal). Thanks to Stuart Ballard for
920         reporting.
921
922 2003-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
923
924         * CompilationException.cs: don't add duplicated lines in the case that
925         mcs reports several errors for the same one.
926
927 2003-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
928
929         * AspGenerator.cs: fully support including files, ie., treat them just
930         as C treats #includes.
931
932 2003-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
933
934         * AspGenerator.cs:
935         * AspParser.cs:
936         * TagType.cs: Added support for server side includes.
937
938 2003-05-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
939
940         * CSCompiler.cs: actually add the list of referenced assemblies to the
941         compiler options. Throw a CompilationException if there's an error.
942
943         * CachingCompiler.cs: added a method to compile directly from a source
944         file.
945         
946 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
947
948         * AspGenerator.cs: copy the location before setting the value for the
949         control builders.
950
951         * BaseCompiler.cs: changed parameters for CompilationException.
952
953         * CompilationException.cs: it takes now line numbers and error
954         descriptions from the CompilerErrorCollection.
955
956         * Location.cs: used when a copy of an ILocation is needed.
957
958         * ParseException.cs: implemented new methods to provide line numbers
959         and souce file.
960
961         * TemplateControlCompiler.cs: throw a ParseException where appropiate.
962
963 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
964
965         * AspGenerator.cs: also support data bind syntax inside tags not
966         processed as controls. Added debugging method.
967
968         * TemplateControlCompiler.cs: reset the number of data binding handlers 
969         in the proper place. Small fix when getting the container type.
970
971 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
972
973         * TemplateControlCompiler.cs: correctly set the TemplateSourceDirectory 
974         value.
975
976 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
977
978         * AspGenerator.cs: handle code render syntax in tag attributes.
979
980         * AspParser.cs: the constructor now takes a TextReader.
981
982         * TemplateControlCompiler.cs: removed comment.
983
984 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
985
986         * TemplateControlCompiler.cs: added support for data bound properties.
987
988 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
989
990         * AspComponentFoundry.cs: simplified it a lot by using Type and Assembly
991         instead of their names.
992
993         * AspElements.cs: removed. No longer needed.
994
995         * AspGenerator.cs: this file is now in charge of interfacing between
996         the parser and the compiler. It manages the creation of the
997         ControlBuilder tree and the compilation of the CodeDOM tree.
998
999         * AspParser.cs: tag handling is simpler now.  Instead of a whole bunch
1000         of different Types, tags are just and id and a set of attributes.
1001         Implement ILocation interface.
1002         
1003         * AspTokenizer.cs: added a few methods to help the parser implementing
1004         ILocation.
1005
1006         * BaseCompiler.cs: handles the portions of the CodeDOM tree that are
1007         common to appliaction, page and user control, including the actual
1008         compilation and error handling.
1009
1010         * CSCompiler.cs: compiles C# files using CodeDOM interfaces.
1011
1012         * CachingCompiler.cs: simplified to use the new interfaces.
1013
1014         * CompilationException.cs: it's now using CompilationResult to report
1015         errors.
1016
1017         * CompilationResult.cs: Removed file.
1018
1019         * Directive.cs: to check for the validity of a directive.
1020
1021         * GlobalAsaxCompiler.cs: simplified a lot, as most of the work is done
1022         in BaseCompiler.
1023
1024         * ILocation.cs: interface used to now the exact place where a parse
1025         error happens.
1026
1027         * PageCompiler.cs: generates a couple of methods that are only used in
1028         pages.
1029
1030         * ParseException.cs: use the ILocation interface.
1031
1032         * TagAttributes.cs: handles the attributes of the tags parsed.
1033
1034         * TagType.cs: an enum for the different kinds of tags.
1035
1036         * TemplateControlCompiler.cs: this is the one that does most of the
1037         conversion from teh ControlBuilder tree into a CodeDOM tree.
1038
1039         * UserControlCompiler.cs: simplified as most of the work is done in
1040         its base classes.
1041
1042         * WebServiceCompiler.cs: dummy.
1043
1044 2003-04-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1045
1046         * AspComponentFoundry.cs: added GetComponentType method.
1047
1048 2003-03-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1049
1050         * AspTokenizer.cs: allow quotes inside server tags that are part of
1051         attribute values.
1052         
1053         * CachingCompiler.cs: no more 'FileNotFound' exceptions when the
1054         compilation fails.
1055
1056 2003-03-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1057
1058         * AspGenerator.cs: generate correct appbase path. It was working with
1059         mcs but not with csc.
1060
1061         * BaseCompiler.cs: quote arguments and removed GetRandomFileName.
1062
1063         * CachingCompiler.cs: quote source file.
1064
1065 2003-03-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1066
1067         * AspGenerator.cs: now the Inherits attribute works as expected for
1068         global.asax file.
1069
1070 2003-03-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1071
1072         * CompilationException.cs:
1073         * ParseException.cs: display the correct line number in error messages.
1074
1075         * AspElements.cs: added TargetSchema attribute for control. It's
1076         ignored.
1077
1078 2003-03-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1079
1080         * BaseCompiler.cs: fixed the hack to work under windows.
1081         * CachingCompiler.cs: under windows, try 'mcs.bat' and then 'mcs'.
1082
1083 2003-03-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1084
1085         * BaseCompiler.cs: hacks to work-around our buggy System.Uri.
1086
1087 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
1088
1089         * BaseCompiler.cs: Removed a FIXME: and added a correct calculation of
1090         app's private bin path
1091
1092 2003-03-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1093
1094         * AspGenerator.cs:
1095         * BaseCompiler.cs:
1096         * CachingCompiler.cs:
1097         * CompilationResult.cs:
1098         * GlobalAsaxCompiler.cs:
1099         * PageCompiler.cs:
1100         * UserControlCompiler.cs: recompile the page if dependencies change.
1101
1102 2003-02-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1103
1104         * AspGenerator.cs: corrected typo and wrong fix.
1105
1106 2003-02-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1107
1108         * AspGenerator.cs: fixed code generation for Table/TableRow/TableCell
1109         when used explicitly.
1110
1111 2003-02-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1112
1113         * AspElements.cs: get the property Type for controls that use
1114         ParseChildren with a property name.
1115
1116         * AspGenerator.cs: generate correct signature for the method that
1117         adds controls to the default property in ParseChildren.
1118
1119 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1120
1121         * AspGenerator.cs: rethrow exceptions that may come from parsing or 
1122         compilation if a user control.
1123
1124 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1125
1126         * AspGenerator.cs: throw ParseException on parse
1127         error.
1128
1129         * AspParser.cs: added Line and Column props.
1130
1131         * CompilationException.cs: derives now from HtmlizedException.
1132
1133         * CompilationResult.cs: added fileName field.  Fixed set_ExitCode.
1134
1135         * GlobalAsaxCompiler.cs:
1136         * PageCompiler.cs:
1137         * UserControlCompiler.cs: pass the file name in the CompilationResult.
1138
1139         * ParseException.cs: new exception.
1140
1141
1142 2003-02-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1143
1144         * AspGenerator.cs: remove "file://" from the private bin path. Fixes
1145         bug #37628.
1146
1147 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1148
1149         * AspParser.cs: the parser fires events when it parses an element.
1150
1151         * GlobalAsaxCompiler.cs:
1152         * PageCompiler.cs:
1153         * UserControlCompiler.cs:
1154         * AspElements.cs: modified to use the new parser interface.
1155
1156         * AspGenerator.cs: modified to use the new parser. Merge multiple text
1157         strings into one single LiteralControl.
1158
1159         * AspTokenizer.cs: added Line and Column properties.
1160
1161 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1162
1163         * AspParser.cs: fixed bug #36929.
1164
1165 2003-01-21  Tim Haynes <thaynes@openlinksw.com>
1166
1167         * AspGenerator.cs:
1168         * BaseCompiler.cs:
1169         * CachingCompiler.cs: changes to work around spaces and
1170         directory-separators in the local filesystem.
1171
1172 2003-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1173
1174         * AspGenerator.cs: make the generated file compile with csc after last
1175         change.
1176
1177 2003-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1178
1179         * AspGenerator.cs: removed unused variable. Added support for
1180         properties/fields of type string [].
1181
1182 2003-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1183
1184         * AspGenerator.cs: modified loading of the parent type now that
1185         Type.GetType is fixed.
1186
1187 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1188
1189         * AspGenerator.cs: cast to Control if the container does not implement
1190         INamingContainer.
1191
1192 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1193
1194         * AspGenerator.cs: fixed a couple of thinkos related to IsSubclassOf.
1195
1196 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1197
1198         * AspElements.cs: attributes without value lacked a space afterwards.
1199
1200 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1201
1202         * AspGenerator.cs: functions for columns don't return anything. Fixed
1203         typo.
1204
1205 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1206
1207         * AspGenerator.cs: add data bound controls to code render function.
1208
1209 2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1210
1211         * AspComponentFoundry.cs: reworked to allow same prefix for multiple
1212         controls. You can register 1 assembly plus any number of user controls
1213         under the same prefix.
1214
1215         * AspGenerator.cs: don't add duplicate 'using' for the same namespace.
1216         Hack to allow @Register access to assemblies in other places than bin
1217         directory.
1218
1219 2003-01-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1220
1221         * AspElements.cs: added 'codebehind' attribute for page, control and
1222         application. It's ignored by MS, but allowed. Fixed typo.
1223
1224 2003-01-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1225
1226         * AspGenerator.cs: fixed EnableSesssionState handling.
1227
1228 2003-01-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1229
1230         * AspGenerator.cs: don't generate instance fields for pages/controls
1231         when the base class specified in the Inherits attribute already has
1232         them. Closes bug #36262.
1233
1234 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1235
1236         * AspGenerator.cs: generate code like 'control.XXX = value' also for
1237         public fields (properties were being handled in that way too).
1238
1239 2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1240
1241         * AspGenerator.cs: now it uses the current HttpContext when creating
1242         user controls. TemplateSourceDirectory is no longer a dummy value.
1243
1244         * GlobalAsaxCompiler.cs:
1245         * PageCompiler.cs:
1246         * UserControlCompiler.cs: set the context which will be used to locate
1247         the files.
1248         
1249 2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1250
1251         * AspGenerator.cs: added support for AutoEventWireup attribute in
1252         @Page and @Control.
1253
1254         * CompilationResult.cs:
1255         * GlobalAsaxCompiler.cs:
1256         * PageCompiler.cs:
1257         * UserControlCompiler.cs: store the options.
1258
1259 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1260
1261         * AspElements.cs: new method Tag.GetElements
1262         used to parse the inner contents of a tag looking for data binding or 
1263         code render tags.
1264         
1265         New property HtmlControlTag.ParseChildren allows
1266         differentiation of a couple of HtmlControls that has children as
1267         properties (namely HtmlTable and HtmlTableRow).
1268
1269         * AspGenerator.cs: fixed container semantics to
1270         match BindingContainer one. Implemented Inherits attribute for page and
1271         control.
1272
1273         Support HtmlControls that has ChildrenAsProperties.
1274         
1275         Generate code for data binding functions that matches the semantic of
1276         Container.
1277
1278         Handle data bound and code render attribute values.
1279
1280         Set proper value return for TemplateSourceDirectory. Should be relative
1281         to appPath.
1282         
1283         * BaseCompiler.cs: moved CompilerOptions and
1284         References handling here.
1285
1286         * CachingCompiler.cs: copy result of compilation.
1287
1288         * CompilationException.cs: simple ToString () implementation.
1289
1290         * CompilationResult.cs: implemented CopyFrom and ToString.
1291
1292         * GlobalAsaxCompiler.cs:
1293         * PageCompiler.cs:
1294         * UserControlCompiler.cs: removed CompilerOptions as it's now handled
1295         in the base class. Get all the types in the generated assembly and
1296         look for one that derives from the correct Type.
1297         
1298 2002-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1299
1300         * AspElements.cs: added @Application directive.
1301
1302         * AspGenerator.cs: make it work also with application files. We
1303         currently generate an extra private function.
1304
1305 2002-11-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1306
1307         * GlobalAsaxCompiler.cs: compiler for global.asax file. If the file
1308         exists, it will be compiled into an HttpApplication derived class
1309         (directly or through a user-provided class).
1310
1311 2002-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1312
1313         * AspGenerator.cs: fixed target file name and generated class name.
1314         * BaseCompiler.cs: reference assemblies in PrivateBinPath.
1315
1316 2002-11-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1317
1318         * AspGenerator.cs: reworked user control
1319         compilation. Provide the options as a Hashtable for use in compilation.
1320         Create the user controls in the private bin path of the domain.
1321
1322         * BaseCompiler.cs: base class for the various compiler types.
1323
1324         * CachingCompiler.cs: actually executes mcs and do some poor caching
1325         (it will use Cache when finished).
1326
1327         * CompilationException.cs: this exception has enough information to
1328         generate a nice error page.
1329         * CompilationResult.cs: used in caching.
1330
1331         * PageCompiler.cs: now derives from BaseCompiler
1332
1333         * TemplateFactory.cs: no longer needed.
1334
1335         * UserControlCompiler.cs: new class used when compiling user controls.
1336         * WebServiceCompiler.cs: derives from BaseCompiler.
1337
1338 2002-11-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1339
1340         * AspElements.cs: added ServerComment class.
1341         * AspParser.cs: ignore ServerComments tags. Remove server comments when 
1342         in verbatim mode.
1343
1344         Fixes #33482.
1345
1346         * PageCompiler.cs: check if the type is already cached before generating
1347         the C# file.
1348         * TemplateFactory.cs: if csFile parameter is null, only checks if we
1349         already have the page compiled.
1350
1351 2002-11-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1352
1353         * AspGenerator.cs: undo one-liner change.
1354
1355 2002-10-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1356
1357         * AspGenerator.cs: removed a few hacks no longer needed.
1358
1359 2002-10-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1360
1361         * PageCompiler.cs: tracing.
1362         * TemplateFactory.cs: cache compiled types and tracing.
1363         * WebServiceCompiler.cs: new parameter in GetTypeFromsource,
1364
1365 2002-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1366
1367         * AspComponentFoundry.cs: fixed typo.
1368         * TemplateFactory.cs: use csc style options.
1369         * AspGenerator.cs: don't use FileDependencies property of base class.
1370
1371 2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1372
1373         * System.Web.Compilation/AspElements.cs:
1374         * System.Web.Compilation/AspGenerator.cs:
1375         * System.Web.Compilation/AspParser.cs:
1376         * System.Web.Compilation/PageCompiler.cs:
1377         * System.Web.Compilation/TemplateFactory.cs: we are now able to compile
1378         pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
1379
1380 2002-09-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1381
1382         * AspElements.cs: added WebService directive.
1383         * WebServiceCompiler.cs: New file.
1384
1385 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1386
1387         * PageCompiler.cs: fixed compilation.
1388
1389 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1390
1391         * PageCompiler.cs: generate C# file using AspGenerator.
1392
1393 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1394
1395         * AspComponentFoundry.cs: LookupFoundry now returns bool.
1396         * AspGenerator.cs: New file.
1397
1398 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1399
1400         * AspComponentFoundry.cs: New file.
1401         * AspElements.cs: renamed Component to Aspcomponent.
1402
1403 2002-08-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1404
1405         * AspElements.cs:
1406         * AspParser.cs:
1407         * AspTokenizer.cs:
1408         * ChangeLog:
1409         * PageCompiler.cs:
1410         * TemplateFactory.cs: first steps to move xsp into System.Web.
1411