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