1 2008-04-15 Marek Habersack <mhabersack@novell.com>
3 * CachingCompiler.cs: dispose of streams the way it should
6 2008-04-09 Marek Habersack <mhabersack@novell.com>
8 * BuildManager.cs: refactoring - the SetCommonParameters and
9 GetDefaultCompilerTypeForLanguage moved here from BuildProvider,
10 and made internal static.
11 Do not catch compilation exceptions and wrap them in
12 HttpException, let the CompilationException pass through. Fixes
15 * AppWebReferencesCompiler.cs: added - support for compiling of
16 wsdl files found in the App_WebResources directory. Fixes bug
19 * BuildProvider.cs: refactoring - moved the SetCommonParameters
20 and GetDefaultCompilerTypeForLanguage to BuildManager
22 * WsdlBuildProvider.cs: added the CodeCompilerType property
24 Namespace for the generated code is taken from the wsdl path,
25 relative to App_Code or App_WebReferences, if the wsdl in question
26 is under on of those directories.
27 GenerateCode uses OpenReader () so that VirtualPathProvider works
30 * AssemblyBuilder.cs: make sure Encoding.UTF8 is explicitly used
31 when generating source from code unit and use
32 WebEncoding.FileEncoding when adding code files to the unit. Fixes
34 Cope with virtualPath being null in BuildAssembly.
35 Reference assemblies specified in web.config when linking.
37 2008-04-08 Marek Habersack <mhabersack@novell.com>
39 * AspComponentFoundry.cs: add loaded assembly to the
40 BuildManager's list of referenced assemblies instead to
41 WebConfigurationmanager.ExtraAssemblies. Fixes bug #377915
43 * AppCodeCompiler.cs: VirtualPath used in PhysicalToVirtual.
45 * BuildManager.cs: switched to VirtualPath instead of a string
46 path in several methods.
47 Batch compilation is turned off if we have a custom
48 VirtualPathProvider which implements only the VirtualFile and
49 falls back to DefaultVirtualDirectory implementation for directory
51 Added an internal method AddToReferencedAssemblies.
52 Remove invalidated entry from
53 WebConfigurationManager.ExtraAssemblies.
55 * GenericBuildProvider.cs: AddCodeFile accepts a virtual path.
57 * BuildProvider.cs: SetVirtualPath accepts a VirtualPath now.
59 * AssemblyBuilder.cs: constructors use the new VirtualPath class
61 AddCodeFile can use the VirtualPathProvider if necessary now.
62 BuildAssembly overloads accept VirtualPath parameter instead of a
65 * TemplateBuildProvider.cs: GetCodeBehindSource returns the
68 2008-03-31 Marek Habersack <mhabersack@novell.com>
70 * AppCodeCompiler.cs: implemented support for AppInitialize (a
71 static method in any class defined in the App_Code source files),
72 ran just after the App_Code assemblies are compiled in order to
73 perform any application initialization actions.
75 2008-03-27 Marek Habersack <mhabersack@novell.com>
77 * BuildManager.cs: AssertVirtualPathExists now queries the
78 VirtualPathProvider for path existence if physical path check
79 fails, before throwing the 404 exception.
81 2008-03-13 Marek Habersack <mhabersack@novell.com>
83 * BuildManager.cs: if we're running in a case-insensitive
84 environment, use case-insensitive comparer for the build caches.
86 2008-02-29 Marek Habersack <mhabersack@novell.com>
88 * BuildManager.cs: implement a mechanism to ignore certain virtual
89 paths when batch compiling. Helps applications which may have
90 .as?x files which won't work on mono for various reasons (one such
91 sample is mojoportal).
93 2008-02-28 Marek Habersack <mhabersack@novell.com>
95 * TemplateControlCompiler.cs: make sure that data-bound attribute
96 assignments properly convert the Bind expression to the Eval
97 one. Fixes bug #362039
99 * AspGenerator.cs: in 2.0+, aspx files which contain the Content
100 controls can contain only them, whitespace and directives. Fixes
103 2008-02-27 Marek Habersack <mhabersack@novell.com>
105 * AspComponentFoundry.cs: use BuildManager.GetCompiledType in the
106 LoadType method for the 2.0 profile.
108 * CompilationException.cs: use a different format of ErrorMessage
109 for the 2.0+ profile.
111 2008-02-26 Marek Habersack <mhabersack@novell.com>
113 * BuildManager.cs: known file types extensions are now matched
116 2008-02-25 Marek Habersack <mhabersack@novell.com>
118 * TemplateControlCompiler.cs: GetContainerType now checks whether
119 the binding container returned from the builder implements
120 IDataItemContainer (for 2.0+ profiles) and looks for one more
121 property, Rows, if no Items property is found.
123 2008-02-08 Gert Driesen <drieseng@users.sourceforge.net>
125 * AppSettingsExpressionBuilder.cs: Improve exception messages. Return
126 "raw" appsetting value if targetType is null.
128 2008-02-07 Marek Habersack <mhabersack@novell.com>
130 * CompilationException.cs: added new constructor which takes
131 CompilerResults as one of the parameters.
132 Added CompilerOutput property.
134 * AssemblyBuilder.cs: use the new CompilationError constructor.
136 * BuildManager.cs: check for virtualPath existence before
137 attempting to compile the assemblies. Fixes bug #359465
139 2008-02-06 Marek Habersack <mhabersack@novell.com>
141 * GenericBuildProvider.cs: GetGeneratedType may return a type even
142 though the results are null.
144 * AssemblyBuilder.cs: if there are no units, no source files, no
145 resources and no embedded resources in the passed options then
146 do not attempt to compile the assembly. Fixes bug #359325
148 * AppResourcesAssemblyBuilder.cs, AppCodeCompiler.cs: expect that
149 BuildAssembly may return null results.
151 * BuildManager.cs: protect non-page builds from endless recursion
152 if a non-page file recursively references/includes another file
153 from the same batch. If such case is detected, the recursively
154 referenced file is compiled into a separate assembly and removed
155 from the previous compilation batch. Fixes bug #358742.
156 If AssemblyBuilder returns no results from BuildAssembly, it might
157 mean we're dealing with a compilation of empty .as[hm]x files,
158 with no code and only code-behind in bin/. Do not report an error
159 in that case, only add the compiled types to the cache. Fixes bug
162 2008-02-05 Marek Habersack <mhabersack@novell.com>
164 * BuildManager.cs: GetAbsoluteVirtualPath correctly converts
165 non-rooted relative paths to absolute ones now. Fixes bug
168 * GenericBuildProvider.cs: introduced a new abstract method,
169 GetReferencedAssemblies, which is called on descendant builders to
170 get a list of assemblies referenced by the parsed file. Fixes bug
173 * AssemblyBuilder.cs: added a new overload of the
174 AddAssemblyReference method, to be used by build providers to
175 register assemblies collected by the corresponding parser.
177 * TemplateBuildProvider.cs, SimpleBuildProvider.cs: implemented
178 overload of the new abstract method GetReferencedAssemblies.
180 * AspGenerator.cs: introduced a new overload for the Parse method
181 which accepts a bool indicating whether or not to initialize the
182 parser. The overload is used when parsing server-side
183 includes. Fixes bug #357498
185 2008-02-04 Marek Habersack <mhabersack@novell.com>
187 * AssemblyBuilder.cs: do not use WebEncoding.FileEncoding when
188 generating source code files. Fixes bug #357053.
190 * AspGenerator.cs: set isApplication before parsing. Fixes bug
193 2008-01-31 Jb Evain <jbevain@novell.com>
195 * AspGenerator.cs: correct typo. Fix #357547.
197 2008-01-27 Marek Habersack <mhabersack@novell.com>
199 * BuildManager.cs: GetReferencedAssemblies includes the extra
200 assemblies and the App_Code assemblies. Patch from Mike Morano
201 <mmorano@mikeandwan.us>, thanks!
203 2008-01-24 Marek Habersack <mhabersack@novell.com>
205 * WebHandlerBuildProvider.cs: derive from the new
206 SimpleBuildProvider class.
208 * BuildManager.cs: full implementation of the batch compilation
209 for the 2.0 profile. The implementation is most probably different
210 to MS.NET's but the effects are the same (or nearly the same -
211 there are some minor differences). There are missing bits and
212 pieces, but minor ones - to be added later.
214 * SimpleBuildProvider.cs: new build provider abstract class
215 deriving from the GenericBuildProvider that implements common code
216 for building web handlers and web services.
218 * GenericBuildProvider.cs: new generic abstract class used to
219 implement base builder code for all the build provider types and
222 * PageBuildProvider.cs: derive from the new TemplateBuildProvider
223 class and implement all the necessary abstract members.
224 Handle "fake" virtual paths, to properly support generating of the
227 * BuildProvider.cs: SetVirtualPath now converts the passed path to
229 Added internal virtual method GenerateCode, used by derived
231 SetCommonParameters no longer sets the referenced assemblies, this
232 is done in BuildManager now.
233 Added an internal virtual property CodeUnit which returns the
234 build provider's compilation unit.
236 * PageCompiler.cs: fix assignment of base types for asynchronous
237 pages, to match MS.NET.
238 For asynchronous pages, add the necessary methods generation.
240 * BaseCompiler.cs: default namespace is now set using a constant.
241 Renamed the Init method into ConstructType, to better reflect its
242 purpose and made the method internal - it is used by the build
244 Added several CreateProvider overloads for easier and more unified
245 compilation provider creation.
246 Added an internal MainClassType property to enable class type name
247 retrieval from other parts of the class hierarchy.
249 * ApplicationFileBuildProvider.cs: new build provider deriving
250 from the TemplateBuildProvider class to compile the global.asax
253 * AspGenerator.cs: properly handle parsers which have no input
254 file path given, but use TextReader instead.
255 Dependencies are virtual paths now, convert them to physical ones
256 before creating cache dependency.
258 * CachingCompiler.cs: parser dependencies are virtual paths now,
259 convert them to physical ones before creating cache dependency.
261 * AssemblyBuilder.cs: full implementation of the documented
262 functionality as well as a lot of internal build code
263 added. Produces assemblies using the same style what MS.NET for
264 temporary and target file naming. Handles partial type squashing
265 if the same partial type is used by several code compile units
266 added to the same builder instance.
268 * MasterPageBuildProvider.cs: use the new TemplateBuildProvider
269 base class and add implementation of all the abstract methods
272 * ThemeDirectoryBuildProvider.cs: new build provider to compile
273 theme directories. Replaces the old ThemeDirectoryCompiler class.
275 * UserControlBuildProvider.cs: use the new TemplateBuildProvider
276 base class and add implementation of all the abstract methods
279 * TemplateBuildProvider.cs: new internal abstract class which
280 implements the common tasks for all the template control build
283 * WebServiceBuildProvider.cs: use the new SimpleBuildProvider base
284 type to implement building.
286 2008-01-17 Igor Zelmanovich <igorz@mainsoft.com>
288 * BaseCompiler.cs: Assign AppRelativeVirtualPath correctly
290 2008-01-08 Marek Habersack <mhabersack@novell.com>
292 * TemplateControlCompiler.cs: statements to assign
293 fields/properties from resources must be processed at the very end
294 of the control creation method. Some controls (like HyperLink) can
295 set their Text attribute using literal content. In such cases, in
296 order to properly localize the control, the value read from the
297 local page resources must be assigned after the literal value has
298 been added to the control. Fixes bug #323494
300 2008-01-07 Marek Habersack <mhabersack@novell.com>
302 * CachingCompiler.cs: added an overload to the Compile method
303 which accepts a flag whether or not to include debug information
304 in the generated assembly.
306 2008-01-02 Marek Habersack <mhabersack@novell.com>
308 * TemplateControlCompiler.cs: add line pragma wherever necessary.
310 * PageCompiler.cs: reorder the statements to match MS.NET output.
311 Output line pragma information for directive attributes.
313 * BaseCompiler.cs: add a set of AddLinePragma methods for various
315 Output line pragmas when adding server-side scripts to the CodeDOM
318 * AspGenerator.cs: use ServerSideScript to store script location
319 in the original file.
321 * UserControlCompiler.cs: output line pragmas for the init
324 2007-12-28 Marek Habersack <mhabersack@novell.com>
326 * PageCompiler.cs: MS.NET compatibility: added the
327 __fileDependencies object to the generated class.
328 Refactored the output to match MS.NET more closely.
329 IHttpHandler or IHttpAsyncHandler are now added to the generated
330 class list of implemented interfaces.
332 * BaseCompiler.cs: Main class field references are prefixed with
334 Refactored the output to match MS.NET more closely.
336 2007-12-27 Marek Habersack <mhabersack@novell.com>
338 * BaseCompiler.cs: check for base type globality in all the
341 2007-12-23 Vladimir Krasnov <vladimirk@mainsoft.com>
343 * AppSettingsExpressionBuilder.cs: fixed GetAppSetting, should convert
346 2007-12-21 Marek Habersack <mhabersack@novell.com>
348 * BaseCompiler.cs: Refactoring. Move the provider creation code to
349 an internal static method, so that other piece of code which need
350 to create the provider can do it using the same code.
351 Added setters to several internal properties, so that they can be
352 shared with derivative classes.
354 * WebServiceCompiler.cs: adjust to the changes above. Fixes bug
357 * CachingCompiler.cs: adjust to the changes above. Also some
360 2007-12-15 Marek Habersack <mhabersack@novell.com>
362 * AppCodeCompiler.cs: do not instantiate CodeDomProvider twice.
364 * BaseCompiler.cs: do not use CreateCompiler () in the 2.0
365 profile, it's obsoleted. CachingCompiler will use the
366 CodeDomProvider methods directly in that case.
368 * WebServiceCompiler.cs: Updated GetCompiledType to acquire
369 compiler information for the 2.0 profile from system.codeDom.
371 * CachingCompiler.cs: the Compile overloads do not use the
372 compiler instance, but call appropriate methods on the
373 CodeDomProvider instance directly.
374 Updated some Compile overloads to acquire compiler information for
375 the 2.0 profile from system.codeDom.
377 2007-12-14 Juraj Skripsky <js@hotfeet.ch>
379 * TemplateControlCompiler.cs (AddExpressionAssign):
380 Make sure expression does not contain prefix.
382 * AppSettingsExpressionBuilder.cs: Pass type of property to
383 GetAppSetting, not type of declaring type.
385 2007-12-13 Marek Habersack <mhabersack@novell.com>
387 * TemplateControlCompiler.cs, AspComponentFoundry.cs,
388 AssemblyBuilder.cs, AppResourcesCompiler.cs,
389 AppResourcesAssemblyBuilder.cs, AppCodeCompiler.cs: speed
390 optimization - use String.Concat instead of String.Format in some
393 2007-11-22 Marek Habersack <mhabersack@novell.com>
395 * PageCompiler.cs: use
396 pageParser.OutputCacheVaryByContentEncodings when initializing the
397 output cache in the 2.0 profile.
399 2007-11-06 Marek Habersack <mhabersack@novell.com>
401 * BuildManager.cs: properly retrieve the BuildProviderCollection
402 from configuration files.
404 2007-11-03 Marek Habersack <mhabersack@novell.com>
406 * TemplateControlCompiler.cs: do not call converters specified in
407 the member custom attributes if 'str' is null in
408 GetExpressionFromString.
410 2007-10-23 Marek Habersack <mhabersack@novell.com>
412 * AppResourcesAssemblyBuilder.cs: do not output preservation files
413 for satellite assemblies, just for the main assembly. Also, don't
414 add the satellite assemblies to the list of top-level assemblies.
416 2007-10-17 Marek Habersack <mhabersack@novell.com>
418 * PageCompiler.cs: added code to set the AsyncMode and
419 AsyncTimeout Page properties.
421 2007-10-15 Marek Habersack <mhabersack@novell.com>
423 * TemplateControlCompiler.cs, WebServiceCompiler.cs,
424 BuildProvider.cs, BaseCompiler.cs, CachingCompiler.cs: use
425 HttpApplication.LoadType instead of Type.GetType.
427 2007-10-10 Marek Habersack <mhabersack@novell.com>
429 * TemplateControlCompiler.cs: be careful when using type
430 converters taken from attributes attached to class members. They
431 may come from the System.Design namespace, which is mostly not
434 2007-10-01 Marek Habersack <mhabersack@novell.com>
436 * AppResourcesCompiler.cs: resources are no longer compiled into a
437 single assembly. Instead, the common assembly construction code
438 has been moved to AppResourcesAssemblyBuilder to use satellite
441 * AppResourcesAssemblyBuilder.cs: new resource assembly
442 construction code which takes care of outputting satellite
445 2007-09-27 Marek Habersack <mhabersack@novell.com>
447 * TemplateControlCompiler.cs: support nullable types in
448 GenerateExpressionFromString.
450 2007-09-21 Marek Habersack <mhabersack@novell.com>
452 * TemplateControlCompiler.cs: if we're running on a platform with
453 the directory separator character that's different to the Unix
454 style '/' one, convert the input file path to the virtual path
455 style string, with path parts separated by '/'. Patch from Robert
456 Jordan <robertj@gmx.net>, thanks! Fixes bug #324229.
458 2007-09-20 Marek Habersack <mhabersack@novell.com>
460 * TemplateControlCompiler.cs: if a member passed to
461 GetExpressionFromString has a TypeConverter attribute set, try to
462 use the named type converter to convert the string value into the
463 target type. Fixes bug #325489.
465 2007-09-14 Marek Habersack <mhabersack@novell.com>
467 * AppResourcesCompiler.cs: use _culture and _resourceManager
468 instead of culture and resourceManger in the generated code, to
469 avoid case problems for languages that are case-insensitive.
471 2007-09-10 Marek Habersack <mhabersack@novell.com>
473 * TemplateControlCompiler.cs: cast the expression to the field
474 type whenever appropriate in GetExpressionFromString.
475 When generating an object instance and one of the parameters is
476 System.Type, return a typeof expression.
478 2007-09-07 Marek Habersack <mhabersack@novell.com>
480 * TemplateControlCompiler.cs: another modification to the way
481 TemplateInstance.Single templates are treated. The search for
482 parent with this attribute set stops as soon as the first
483 TemplateBuilder is encountered, no matter what the value of its
484 TemplateInstance attribute is.
486 2007-09-06 Marek Habersack <mhabersack@novell.com>
488 * TemplateControlCompiler.cs: ID must be assigned as soon as
489 possible, before any other attributes of the control are
490 accessed. The control code may rely on ID being set.
491 Extend the process of checking if a control is located within a
492 template with the TemplateInstance.Single attribute set, to all
493 the parents of the current builder.
495 2007-09-05 Marek Habersack <mhabersack@novell.com>
497 * ThemeDirectoryCompiler.cs: all the skin files compiled in one
498 batch must share the same component foundry. Under MS.NET if any
499 earlier .skin file registers a control prefix any later .skin
500 files may use it without registering.
502 2007-09-04 Marek Habersack <mhabersack@novell.com>
504 * TemplateControlCompiler.cs: make sure that base class doesn't
505 contain a field of the same name which is accessible from the
506 current control if we're within a singleton template.
507 When generating code for a property or field, use the name
508 retrieved from the metadata by reflection instead of the one
509 parsed from html. Fixes bug #82687. Patch from SunHo Kim
510 <zsunno@gmail.com>, thanks!
512 2007-08-29 Marek Habersack <mhabersack@novell.com>
514 * CachingCompiler.cs: consider contents of the
515 <compilation><assemblies> section when constructing a list of
516 assemblies during compilation.
518 * TemplateControlCompiler.cs: mark fields corresponding to the
519 controls as global references.
520 When control tree is constructed and the parent of the current
521 builder is a TemplateBuilder marked with the TemplateInstance
522 attribute set to Single, use the control's ID as the field
523 name. This makes it possible to refer to controls inside templates
524 by name instead of by using FindControl.
526 2007-08-23 Marek Habersack <mhabersack@novell.com>
528 * AppCodeCompiler.cs: use HttpApplication.BinDirectoryAssemblies
529 and HttpApplication.LoadTypeFromBin.
531 * BuildProvider.cs: use HttpApplication.BinDirectoryAssemblies in
534 2007-08-21 Marek Habersack <mhabersack@novell.com>
536 * BuildProvider.cs: use HttpApplication.PrivateBinPath enumerator
537 to look up assemblies in the binary path(s).
539 2007-08-19 Juraj Skripsky <js@hotfeet.ch>
541 * GlobalAsaxCompiler.cs (ProcessObjects): Make string comparison
542 for scope case insensitive. Fixes bug #82479.
544 2007-08-14 Marek Habersack <mhabersack@novell.com>
546 * TemplateControlCompiler.cs: remove dead code.
548 * AssemblyBuilder.cs: include actual exception information when
549 reporting inability to load a compiled assembly.
551 * AppCodeCompiler.cs: remove unused variables.
553 * AspComponentFoundry.cs: use an ArrayList to implement LIFO for
554 component collections, instead of the old Queue which implemented
555 FIFO. Fixes situations when a control registered later for a
556 certain prefix would not be used in preference to a previously
557 registered one of the same name.
559 2007-08-06 Marek Habersack <mhabersack@novell.com>
561 * AspComponentFoundry.cs: properly add new foundry if the
562 corresponding entry in the foundries collection is a Queue. Patch
563 from Juraj Skripsky <juraj@hotfeet.ch>, thanks! Fixes bug #82285.
565 2007-07-31 Marek Habersack <mhabersack@novell.com>
567 * AspComponentFoundry.cs: do not overwrite previously registered
568 foundries when a new one is registered with the same prefix. Fixes
571 2007-07-18 Marek Habersack <mhabersack@novell.com>
573 * TemplateControlCompiler.cs: on the 2.0 profile, GetContainerType
574 does not look up the Item/Items properties to determine the
575 container type, instead it just returns the type reported by the
576 builder passed to this method. This change makes the generated
577 code match MS.NET. Fixes bug #82119.
579 2007-07-02 Marek Habersack <mhabersack@novell.com>
581 * TemplateControlCompiler.cs: don't use StartWith to see if a
582 variable's value is a bind expression, as it erroneously renames
583 all calls to methods starting with the string Bind. Use a regular
584 expression now instead. Fixes bug #81928.
586 2007-06-20 Marek Habersack <mhabersack@novell.com>
588 * AppResourcesCompiler.cs: use HttpRuntime.InternalCache to keep
590 * CachingCompiler.cs: as above
591 * AspGenerator.cs: as above
593 2007-06-13 Marek Habersack <mhabersack@novell.com>
595 * TemplateControlCompiler.cs: make sure control has a writable
596 TemplateControl property prior to assigning values to it.
598 2007-06-09 Marek Habersack <mhabersack@novell.com>
600 * TemplateControlCompiler.cs: TemplateControl is assigned for
601 controls that are placed within ContentPlaceHolder and not for the
602 ContentPlaceHolder itself.
603 No longer add the overriden version of TemplateSourceDirectory to
604 the generated source, all the work is now done in
605 Control.TemplateSourceDirectory.
607 * BaseCompiler.cs: AppRelativeVirtualPath shouldn't end with a
608 slash, for compatibility with MS.NET
610 2007-06-05 Marek Habersack <mhabersack@novell.com>
612 * TemplateControlCompiler.cs: TemplateSourceDirectory in the 2.0
613 profile uses the TemplateControl property instead of Parent. This
614 allows to return the correct path.
616 2007-06-01 Marek Habersack <mhabersack@novell.com>
618 * TemplateControlCompiler.cs: be case-insensitive when looking for
621 2007-05-29 Marek Habersack <mhabersack@novell.com>
623 * ThemeDirectoryCompiler.cs: pass the skin file's
624 virtual path to the skin file parser as its first paramenter, and
627 2007-05-28 Marek Habersack <mhabersack@novell.com>
629 * ResourceExpressionBuilder.cs: properly cast
630 GetGlobalResourceObject calls to the type of the property being
633 2007-05-25 Marek Habersack <mhabersack@novell.com>
635 * TemplateControlCompiler.cs: Changed a few incorrect
636 ObjectCreationExpression to the correct DelegateCreationExpression.
639 2007-05-24 Marek Habersack <mhabersack@novell.com>
641 * PageCompiler.cs: added support for the PreviousPageType directive.
643 * Directive.cs: as above.
645 2007-05-22 Marek Habersack <mhabersack@novell.com>
647 * UserControlCompiler.cs: the Profile property should be present
648 also in user controls.
650 2007-05-15 Marek Habersack <mhabersack@novell.com>
652 * ResourceExpressionBuilder.cs: added a static method to generate
653 a GetLocalResourceObject call which properly handles types which
654 cannot be converted from strings.
656 * TemplateControlCompiler.cs: use code described above to generate
657 code for properties assigned from resources.
659 * WsdlBuildProvider.cs: make the code actually work - get the
660 physical path of VirtualPath instead of converting it to absolute
662 Do not generate source, add the code unit to assembly builder
665 * XsdBuildProvider.cs: added
667 2007-05-08 Marek Habersack <mhabersack@novell.com>
669 * TemplateControlCompiler.cs: BuildTemplateMethod is a delegate,
670 so use a delegate create expression - it may make difference for
671 languages other than C# (e.g. VisualBasic).
673 2007-05-07 Marek Habersack <mhabersack@novell.com>
675 * AspGenerator.cs: if the parser's language is implicit (i.e. set
676 from the default configuration), the first script with the
677 language attribute present sets the language of the parser.
679 2007-05-04 Marek Habersack <mhabersack@novell.com>
681 * TemplateControlCompiler.cs: do not query the parent for
682 TemplateSourceDirectory if we are generating code for a Master
685 2007-04-30 Marek Habersack <mhabersack@novell.com>
687 * ConnectionStringsExpressionBuilder.cs: support expressions with
688 suffixes .ProviderName and .ConnectionString (case-insensitie) and
689 generate a call to GetConnectionStringProviderName in the former
690 case. Fixes bug #81490
692 * AppCodeCompiler.cs: support for cases when there exists a custom
693 profile class but there is no App_Code directory or it's
694 empty. Fixes bug #81489.
696 * TemplateControlCompiler.cs: fix generation of code for
697 declarative attribute assignments of the form Font-Size="small"
698 (i.e. when a font size is assigned a symbolic, relative size
699 value). This fixes for example rendering of the 0th level of
702 2007-04-27 Marek Habersack <mhabersack@novell.com>
704 * AppCodeCompiler.cs: do not look at the number of errors, check
705 the compiler return code instead.
706 Resolve assembly names from the global web.config to their
707 locations before passing them to the compiler provider.
709 * AssemblyBuilder.cs: as above
711 * AppResourcesCompiler.cs: as above
713 * AspComponentFoundry.cs: formatting changes.
714 AssemblyFoundry looks for the specified namespace+type in the
715 top-level assemblies if necessary.
717 2007-04-26 Marek Habersack <mhabersack@novell.com>
719 * AssemblyBuilder.cs: handle compilation failures in a better
722 * PageCompiler.cs: the Master property must be in the partial
723 class if present. Fixes bug #81442
725 2007-04-20 Marek Habersack <mhabersack@novell.com>
727 * AppCodeCompiler.cs: fix App_Code build when the directory
728 contains both known and unknown files.
730 2007-04-19 Gert Driesen <drieseng@users.sourceforge.net>
732 * AspComponentFoundry.cs: Fixed build on 1.0 profile. Spaces to
735 2007-04-19 Marek Habersack <mhabersack@novell.com>
737 * AppCodeCompiler.cs: yet another method of detecting if we have a
740 * BaseCompiler.cs: as above
742 * AspComponentFoundry.cs: implemented delayed loading of control
743 assemblies. Fixes bug #81058.
745 2007-04-19 Gert Driesen <drieseng@users.sourceforge.net>
747 * BaseCompiler.cs: On 2.0, when ClassName attribute contains namespace
748 then use it instead of the default ASP namespace. Fixes part of bug
751 2007-04-19 Marek Habersack <mhabersack@novell.com>
753 * BaseCompiler.cs: don't look at the number of profile properties
754 when deciding if we have a custom profile. It is possible to have
755 a profile that just inherits from a base class and does not list
756 any custom properties. Fixes bug #81396.
758 * AppCodeCompiler.cs: as above
760 2007-04-15 Marek Habersack <mhabersack@novell.com>
762 * AppCodeCompiler.cs: properly convert physical file path to
763 virtual path for build providers.
764 Make sure there's actually anything to compile.
766 2007-04-11 Marek Habersack <mhabersack@novell.com>
768 * AppCodeCompiler.cs: move custom profile type check till after
769 the App_Code compilation is done. That way we can have custom
770 profile providers in there. Fixes bug #81307.
772 2007-04-10 Marek Habersack <mhabersack@novell.com>
774 * AppResourceFilesCollection.cs: watch App_LocalResources for
777 2007-04-06 Marek Habersack <mhabersack@novell.com>
779 * BaseCompiler.cs: display the source of the file in which the
780 error actually happened if the file exists, or the unit
783 2007-04-03 Marek Habersack <mhabersack@novell.com>
785 * AppResourcesCompiler.cs: global resources are put in the
786 "Resources." namespace while local ones are not. Fixes bug #81174
787 which was reopened after r75261.
789 2007-03-26 Marek Habersack <mhabersack@novell.com>
791 * TemplateControlCompiler.cs: refactor assining properties from
792 resources a bit to support pages and user controls. Fixes bug
794 Process meta:resourcekey after all the field/attribute assignments
795 are done. Fixes bug #80809.
796 Clean the code up a bit.
797 Use GetExpressionFromString to generate a correct expression for
798 custom page/control attributes. Fixes bug #81132.
800 2007-03-21 Marek Habersack <mhabersack@novell.com>
802 * BaseCompiler.cs: cast 'this' to CodeFileBaseClass in
803 AssignAppRelativeVirtualPath if the attribute was defined.
805 * TemplateControlCompiler.cs: added support for setting custom
806 attributes of a base class from the Page or Control directive
809 2007-03-20 Marek Habersack <mhabersack@novell.com>
811 * ResourceExpressionBuilder.cs: if the resource class key is null
812 or empty, call GetLocalResourceObject, if not,
813 GetGlobalResourceObject. Fixes bug #81174.
815 2007-03-16 Marek Habersack <mhabersack@novell.com>
817 * AppCodeCompiler.cs: produce message that makes more sense.
819 2007-03-15 Marek Habersack <mhabersack@novell.com>
821 * AppResourcesCompiler.cs: handle global resource keys with dots
822 the way MS.NET does. All the dots are replaced with underscores
823 when generating the stronly-typed property.
825 2007-03-14 Marek Habersack <mhabersack@novell.com>
827 * AppResourcesCompiler.cs: Fix a bug with global resources file
828 grouping where no translated resources were processed due to base
831 * TemplateControlCompiler.cs: hadle situations when there exist a
832 control in the page with id matching the name of a field/property
833 in the parent class. In this case we use 'protected new' to
836 2007-03-13 Marek Habersack <mhabersack@novell.com>
838 * AspParser.cs: fix an off-by-one parsing bug with server-side
841 * PageThemeCompiler.cs: let property builders through, stop the
842 builders that have no control type. Fixes bug #81092
844 * PageCompiler.cs: interfaces are to be implemented by the parent
845 partial class, not the generated one.
847 * AppResourceFilesCollection.cs: added separate constructor for
848 local resources handling.
850 * TemplateControlCompiler.cs: request the local resource object
851 with proper virtual path.
852 Put field declarations for controls in the partial class.
853 Make sure builders are in valid state before trying to use them.
855 * BaseCompiler.cs: added code to assing AppRelativeVirtualPath
856 property in the page/control constructor.
857 Change the generated code model for pages/controls to comply with
858 the way MS.NET does (partial class contains only two properties
859 plus declarations of all the controls, the actual control/page
860 class inherits from the partial class). Fixes bug #81001.
862 * AppResourcesCompiler.cs: does not require specifying manually
863 whether it's a global or local resource compiler anymore. New
864 constructors take care of that.
865 Changed to compile local resources on demand, when a control/page
868 2007-03-12 Marek Habersack <mhabersack@novell.com>
870 * AspParser.cs: revert r73587 as it breaks more than it fixes.
872 * AspComponentFoundry.cs: try to register foundries from App_Code
873 assemblies if tag prefix and its namespace are defined. Fixes bug
876 * BuildManager.cs, BaseCompiler.cs: CodeAssemblies is a collection
877 of Assembly instances, not strings.
879 * CachingCompiler.cs: make sure items in the CodeAssemblies and
880 TopLevelAssemblies are really instances of the Assembly class
881 before trying to use them.
882 CodeAssemblies is a collection of Assembly instances, not
885 * AppCodeCompiler.cs: on MS.NET CodeAssemblies is a collection of
886 assemblies, not paths to assemblies.
888 2007-03-10 Marek Habersack <mhabersack@novell.com>
890 * PageCompiler.cs, BaseCompiler.cs: refactoring: moved the
891 CreateProfileProperty and InternalCreatePageProperty to
892 BaseCompiler from PageCompiler.
894 * GlobalAsaxCompiler.cs: generate the Profile property for the
897 2007-03-09 Marek Habersack <mhabersack@novell.com>
899 * AppCodeCompiler.cs: Add the GetProfile method to the
900 ProfileCommon auto-generated class.
902 * AppResourcesCompiler.cs: attempt to load the resource file
903 earlier in the process, to gracefully handle empty files.
905 * ThemeDirectoryCompiler.cs: make compiled themes depend on the
906 .skin and .css files composing the theme.
908 2007-03-05 Marek Habersack <mhabersack@novell.com>
910 * PageThemeCompiler.cs: Use correct theme path for
911 AppRelativeTemplateSourceDirectory.
912 Do not process builders of type CodeRenderBuilder.
913 Make sure builder.ControlType is not null before depending on it.
915 * ThemeDirectoryCompiler.cs: theme parser should be passed the
916 virtual directory of the theme.
918 2007-03-03 Marek Habersack <mhabersack@novell.com>
920 * PageCompiler.cs: Added support for setting the
921 MaintainScrollPositionOnPostBack property if the corresponding
922 page directive attribute is found.
924 * Directive.cs: added the MaintainScrollPositionOnPostBack and
925 LinePragmas directives.
927 2007-03-02 Marek Habersack <grendello@gmail.com>
929 * AppCodeCompiler.cs: Correctly process App_Code directories which
930 have no compilable files in the top-level directory. Fixes bug
932 Write preservation files for the App_Code assemblies.
934 2007-03-01 Marek Habersack <grendello@gmail.com>
936 * AspParser.cs: fix GetVerbatim for cases when the end is
937 e.g. --> or --%> and the string matched is ---> or ---%>
938 respectively. The new code always backs out to make sure the end is
941 2007-02-27 Marek Habersack <grendello@gmail.com>
943 * TemplateControlCompiler.cs: ParseExpression returns an object,
944 don't assume any concrete type.
945 Use the current culture when converting the expression to a
948 * ConnectionStringsExpressionBuilder.cs: Implement support for
949 expressions of the <%$ ConnectionStrings:StringName %> form
951 2007-02-19 Marek Habersack <grendello@gmail.com>
953 * ResourceExpressionBuilder.cs: Do not prepend the .Resources prefix here
955 2007-02-16 Marek Habersack <grendello@gmail.com>
957 * CachingCompiler.cs, BaseCompiler.cs: Make sure that no assembly
958 is referenced twice by the compiler(s).
960 * TemplateControlCompiler.cs: Fix the problem with cultures which
961 have a comma as their decimal separator and font/whatever
962 units. New code does not reparse the text representation of the
963 unit on the runtime (e.g. 0.9em) but instead it constructs the
964 property using the FontUnit/Unit constructors which take,
965 respectively, Unit and double/unittype parameters. This avoids
966 culture-specific parsing.
967 Also fix converting from invariant strings in a culture-aware
968 environment (e.g. in a page that uses Culture="auto") during the
971 2007-02-12 Marek Habersack <grendello@gmail.com>
973 * PreservationFile.cs: Support preservation (assembly mapping)
974 files (the ones with .compiled extension in the ASP.NET temporary
975 directory). This one implements a loader/saver class.
977 * AppResourcesCompiler.cs: support for assembly name mapping.
979 * AppCodeCompiler.cs: support for assembly name mapping.
981 2007-02-08 Marek Habersack <grendello@gmail.com>
983 * TemplateControlCompiler.cs: Fix TemplateSourceDirectory.
985 * AspComponentFoundry.cs: Avoid duplicate control registration
988 * ResourceExpressionBuilder.cs: Make sure all the global resources
989 are looked up using the "Resources." prefix.
991 * AppResourcesCompiler.cs: Make sure all the global resources are
992 embedded with the "Resources." prefix.
994 2007-02-02 Marek Habersack <grendello@gmail.com>
996 * AspGenerator.cs: Move the cache insert code to a separate method, for
997 use from other places.
999 * AspComponentFoundry.cs: Register controls mentioned in web.config, but
1000 defer their compilation to the moment when they are actually requested.
1002 2007-01-22 Marek Habersack <grendello@gmail.com>
1004 * ThemeDirectoryCompiler.cs: Make sure the code works for empty themes.
1006 2007-01-20 Miguel de Icaza <miguel@novell.com>
1008 * ClientBuildManager.cs: Remove unused variable (this could be a
1009 real problem, we never use the appPhysicalTargetDir)
1011 * AssemblyBuilder.cs: Remove unused field.
1013 * AppResourceFilesCollection.cs: Remove unused field.
1015 * TemplateControlCompiler.cs (GetExpressionFromString): Remove
1018 * AppResourcesCompiler.cs: Remove unused variable.
1020 * AppSettingsExpressionBuilder.cs (GetAppSetting): remove unused
1023 * PageCompiler.cs: Put InternalCreatePageProperty inside the
1024 NET_2_0 block to eliminate warnings.
1026 2007-01-20 Gert Driesen <drieseng@users.sourceforge.net>
1028 * BaseCompiler.cs: Fixed build on 1.0 profile.
1030 2007-01-20 Marek Habersack <grendello@gmail.com>
1032 * BaseCompiler.cs: If the control base type is in the root
1033 namespace, make sure global:: is prepended to it.
1035 * TemplateControlCompiler.cs: AutoHandlers is obsolete in 2.0,
1036 mark it as such in the generated code as well.
1038 * AppCodeCompiler.cs: Include debug information if configured in
1039 web.config. Fixes bug #80096.
1041 2007-01-17 Marek Habersack <grendello@gmail.com>
1043 * AppCodeCompiler.cs: Reference toplevel assemblies (at this stage
1044 App_GlobalResources) when compiling App_Code sources.
1046 * CachingCompiler.cs: Reference toplevel assemblies when compiling
1049 * AppResourcesCompiler.cs: Close the streams properly.
1051 * AspGenerator.cs: Don't ignore thead/tbody anymore.
1053 2007-01-15 Marek Habersack <grendello@gmail.com>
1055 * WsdlBuildProvider.cs: New build provider for WSDL files.
1056 Compile only when System.Web.Services are present.
1058 * TemplateControlCompiler.cs: Forgotten in the previous commit -
1059 don't pass the current culture to GetLocalResourceObject, let the
1060 method figure it out on its own.
1062 2007-01-05 Marek Habersack <grendello@gmail.com>
1064 * AppResourceFilesCollection.cs: new class to keep and manage
1065 collection of resource files for the App_{Global,Local}Resources
1068 * TemplateControlCompiler.cs: rely on
1069 HttpContext.GetLocalResourceObject to select the correct culture.
1071 * AppResourceFileInfo.cs: new class for keeping resource files
1074 * AppResourcesCompiler.cs: new implementation.
1076 2006-12-20 Marek Habersack <grendello@gmail.com>
1078 * AssemblyBuilder.cs: add an internal version of the
1079 AddCodeCompileUnit method.
1081 * AppCodeCompiler.cs: implement support for ProfileCommon
1082 generation from properties named in the <profile> element in
1085 * PageCompiler.cs: create the Profile property in 2.0 code.
1087 2006-12-12 Vladimir Krasnov <vladimirk@mainsoft.com>
1089 * ThemeDirectoryCompiler.jvm.cs: fixed virtual path for themes
1091 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
1093 * ThemeDirectoryCompiler.cs: refactoring.
1095 2006-11-28 Marek Habersack <grendello@gmail.com>
1097 * BuildManager.cs: Add an internal property to signal whether or
1098 not we have any resources from App_{Global,Local}Resources
1100 * AspGenerator.cs: Register controls from
1101 system.web/pages/controls collection before parsing.
1103 * AppResourcesCompiler.cs: Let the build process know if we have
1104 compiled any resources from App_{Global,Local}Resources
1106 2006-11-27 Marek Habersack <grendello@gmail.com>
1108 * CachingCompiler.cs: Automatically reference App_Code
1111 * AppCodeCompiler.cs: Add ~/bin/*.dll to the referenced assemblies
1114 2006-11-25 Marek Habersack <grendello@gmail.com>
1116 * AppResourcesCompiler.cs: small optimizations.
1118 * AppResourceFilesCompiler.cs: small optimizations.
1120 2006-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1122 * WebServiceCompiler.cs: add the type to the cache after getting it
1123 from the compiled assembly.
1125 2006-11-20 Marek Habersack <grendello@gmail.com>
1127 * AppCodeCompiler.cs: Reference assemblies listed in
1128 system.web/compilation/assemblies.
1129 Don't create empty assemblies.
1131 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
1133 * TemplateControlCompiler.cs: fixed:
1134 When <%# Bind(...) %>-expression is used more then once for same control
1135 The variable associated with this control is declared only once.
1137 2006-11-18 Marek Habersack <grendello@gmail.com>
1139 * AppResourceFilesCompiler.cs: Fixed an exception thrown when
1140 files with names like File.resources or File.resx are found in the
1141 resource directories.
1143 2006-11-16 Marek Habersack <grendello@gmail.com>
1145 * ForceCopyBuildProvider.cs: Added the build provider for
1148 * MasterPageBuildProvider.cs: Added the build provider for Master
1151 * IgnoreFileBuildProvider.cs: Make the class sealed.
1153 * AppCodeCompiler.cs: Fixed BuildProvider creation for a path. Now
1154 correctly uses the BuildProviderCollection to retrieve the
1155 appropriate builder and maps the physical input file path into
1156 application relative path when setting the virtual path of the
1159 2006-11-13 Marek Habersack <grendello@gmail.com>
1161 * AssemblyBuilder.cs: Added referenced assemblies support. Added a
1162 constructor with just the CodeDomProvider argument. CreateCodeFile
1163 now uses the code provider's file extension. Added internal method
1164 to add pre-generated source code files. Added a BuildAssembly
1165 overload that takes no virtual path as the
1166 parameter. BuildAssembly now uses an array of source files instead
1167 of compile units and also handles embedded resources and
1168 referenced assemblies. BuildAssembly deletes the temporary files
1169 if MONO_ASPNET_NODELET isn't set in the environment.
1171 * AppCodeCompiler.cs: Use the FileUtils methods for temporary file
1172 creation. Use the build providers collection to build unknown
1173 files in App_Code. Use AssemblyBuilder to compile the assembly.
1175 * AppResourceFilesCompiler.cs: Use the FileUtils methods for
1176 temporary file creation.
1178 * WebHandlerBuildProvider.cs: Added the BuildProviderAppliesTo
1181 * UserControlBuildProvider.cs: Added the BuildProviderAppliesTo
1184 * PageBuildProvider.cs: Added the BuildProviderAppliesTo
1187 * WebServiceBuildProvider.cs: Added the BuildProviderAppliesTo
1190 * IgnoreFileBuildProvider.cs: Added the BuildProviderAppliesTo
1193 2006-11-08 Marek Habersack <grendello@gmail.com>
1195 * BuildProvider.cs: Implemented the GetCustomString
1196 method. Removed the necessity to retrieve the CompilationSection
1197 twice when GetDefaultCompilerType is called.
1199 * AppResourcesCompiler.cs: Added resource compiler results
1202 * AppCodeCompiler.cs: The App_Code compiler classes
1204 * BuildManager.cs: Implement the CodeAssemblies property.
1205 Added an internal TopLevelTypes property to be used in the custom
1206 GetType methods. Implemented the GetCompiledCustomString method.
1207 Implemented the GetType method overloads. Implemented the
1208 GetVirtualPathDependencies method.
1210 * BaseCompiler.cs: Reference the assemblies from App_Code, if any
1212 2006-10-18 Marek Habersack <grendello@gmail.com>
1214 * TemplateControlCompiler.cs: add support for resource
1215 expressions in tag attributes.
1217 * ResourceExpressionBuilder.cs: add support for resource
1218 expressions in tag attributes.
1220 * BaseCompiler.cs: add global/local resource assemblies to
1221 compilation references, if present.
1223 * AppResourcesCompiler.cs: global/local resources compiler.
1225 * AppResourceFilesCompiler.cs: compiler of resource files.
1227 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
1229 * TemplateControlCompiler.cs: fixed: Bind functions (Data-Binding Syntax).
1230 At run time, the Bind method calls the Eval method, if there is DataItem
1232 If there is DataItem == null (like InsertItemTemplate in FormView) Bind
1233 method don't raise exception and works properly to extract data from
1234 bounded controls on postback.
1236 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1238 * AspGenerator.cs: if we are tracking non-server tags for
1239 well-formedness, handle tags that do not need to be closed (br, img,...)
1242 2006-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1244 * PageCompiler.cs: support the EnableEventValidation attribute.
1246 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1248 * AspGenerator.cs: after parsing an include file, don't error out if we
1249 still have opened tags unless this was the last file to parse. Fixes
1252 2006-09-05 Konstantin Triger <kostat@mainsoft.com>
1254 * ParseException.cs: Ensure the source file stream is closed.
1256 2006-08-25 Kornél Pál <kornelpal@gmail.com>
1258 * AppSettingsExpressionBuilder.cs: Use assembly name constants.
1259 * ConnectionStringsExpressionBuilder.cs: Use name reference
1261 * ResourceExpressionBuilder.cs: Use assembly name constants.
1263 2006-08-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1265 * ThemeDirectoryCompiler.jvm.cs: implemented GetCompiledInstance
1267 2006-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1269 * ClientBuildManager.cs: handle domain shutdown and unload.
1270 Implemented some properties. Commented.
1272 2006-08-10 Andrew Skiba <andrews@mainsoft.com>
1274 * ThemeDirectoryCompiler.cs: render css path as a virtual path.
1276 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1278 * added ThemeDirectoryCompiler.jvm.cs
1280 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1282 * PageThemeCompiler.cs: Don't generate a 'Items.Clear ()' call if
1283 the property Items does not exist. Patch by Marek Habersack that fixes
1286 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1288 * TemplateControlCompiler.cs: support assigning nullable types.
1289 Patch by Marek Habersack that fixes bug #78970.
1291 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1293 * TemplateControlCompiler.cs: make password work again.
1295 2006-06-21 Juraj Skripsky <js@hotfeet.ch>
1297 * AspTokenizer.cs (ReadAttValue), AspParser.cs (GetAttributes):
1298 MS.NET handles nested quotes differently for server controls and
1299 for "normal" controls. Add a property "AlternatingQuotes" to the
1300 tokenizer and let the parser decide whether it is well-formed or not.
1302 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
1304 * PageThemeCompiler.cs, TemplateControlCompiler.cs: take care of
1305 UrlPropertyAttribute.
1307 2006-06-18 Andrew Skiba <andrews@mainsoft.com>
1309 * TemplateControlCompiler.cs: check IsWritablePropertyOrField before
1310 generating code for assignment statement and DataBind event.
1312 2006-06-15 Juraj Skripsky <js@hotfeet.ch>
1314 * AspTokenizer.cs (ReadAttValue), AspParser.cs (GetAttributes):
1315 Don't allow an attribute value to contain the same quote characters
1316 as the ones used for delimiting the value itself. Add a token
1317 NOTWELLFORMED to signal that case to AspParser. Fixes bug #78643.
1319 2006-06-08 Konstantin Triger <kostat@mainsoft.com>
1321 * ThemeDirectoryCompiler.cs: use physical path instead of virtual path.
1323 2006-04-24 Andrew Skiba <andrews@mainsoft.com>
1325 * ThemeDirectoryCompiler.cs: use UrlUtils.Combine to combine pathes
1327 2006-04-23 Andrew Skiba <andrews@mainsoft.com>
1329 * PageThemeCompiler.cs: initialize __linkedStyleSheets field with the
1330 array of style sheets from the parser
1331 * ThemeDirectoryCompiler.cs: scan *.css files in theme directory and
1332 put them in LinkedStyleSheets of PageThemeParser
1334 2006-04-20 Chris Toshok <toshok@ximian.com>
1336 * BaseCompiler.cs: for 2.0, emit the correct namespace and class
1337 names in the case where you use "NS.ClassName" in the Inherits
1338 attribute. Fixes bug #78135.
1340 2006-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1342 * CachingCompiler.cs: no need to play the Wait/PulseAll game, as we
1343 already acquired the lock even when we might have not created the 'key'
1344 to the compilation ticket.
1346 2006-04-16 Andrew Skiba <andrews@mainsoft.com>
1348 * ThemeDirectoryCompiler.cs: add to the directory parser all the
1349 assemblies found by PageThemeFileParsers
1351 2006-04-12 Lluis Sanchez Gual <lluis@novell.com>
1353 * TemplateControlCompiler.cs: Properly read all content of
1356 2006-04-11 Andrew Skiba <andrews@mainsoft.com>
1358 * TemplateControlCompiler.cs : fix for partial parsers
1360 2006-04-11 Andrew Skiba <andrews@mainsoft.com>
1362 * ThemeDirectoryCompiler.cs : map the virtual path to the physical
1365 2006-04-08 Miguel de Icaza <miguel@novell.com>
1367 * TemplateControlCompiler.cs: An attempt to fix the regression
1368 introduced in r58505 (a bug fix for 77762). This was reported in
1369 the mailing list with a batch of new 2.0 failures.
1371 We really need a test suite in NUnit to check on ASP.NET aspx
1374 2006-03-27 Robert Jordan <robertj@gmx.net>
1376 * CachingCompiler.cs: change the compilation locking scheme
1377 from "one mcs per process" to "one mcs per file".
1379 2006-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1381 * System.Web.Compilation/TemplateControlCompiler.cs: handle the new
1382 StringPropertyBuilder.
1384 2006-03-24 Chris Toshok <toshok@ximian.com>
1386 * BaseCompiler.cs (GetCompiledType): fall back to CodeDomProvider
1387 if system.web/compilation doesn't list a compiler for our
1390 2006-03-13 Chris Toshok <toshok@ximian.com>
1392 * TemplateControlCompiler.cs (InitMethod): when generating the
1393 call to ApplyStyleSheetSkin, don't just blindly pass "this" as the
1394 argument to it. Only do that if the class we're compiling is
1395 actually a subclass of Page. If it's not, pass this.Page.
1397 2006-03-07 Chris Toshok <toshok@ximian.com>
1399 * AspGenerator.cs: refactor the parsing code so that we can
1400 initiate parsing from outside this class.
1402 * PageCompiler.cs (PrependStatementsToFrameworkInitialize): new
1403 method, add our StyleSheetTheme assignment here.
1404 (AppendStatementsToFrameworkInitialize): rename AddStatements* to
1407 * TemplateControlCompiler.cs (EnsureID): make protected.
1408 (CreateAssignStatementsFromAttributes): same
1409 (AddChildCall): same.
1410 (CreateControlTree): same.
1411 (CreateFrameworkInitializeMethod): change
1412 "AddStatementsToFrameworkInitialize" to
1413 "AppendStatementsToFrameworkInitialize", and add call to
1414 "PrependStatementsToFrameworkInitialize" before the generation of
1415 "base.FrameworkInitialize()."
1417 * PageThemeCompiler.cs (CreateControlSkinMethod): remove spew.
1419 2006-03-07 Chris Toshok <toshok@ximian.com>
1421 * ThemeDirectoryCompiler.cs: new file.
1423 * PageThemeCompiler.cs: new file.
1425 2006-03-07 Chris Toshok <toshok@ximian.com>
1427 * BaseCompiler.cs: fix typo in "initialize" in multiple places.
1428 (Init): move the CreateMethods call here.
1430 2006-03-02 Chris Toshok <toshok@ximian.com>
1432 * TemplateControlCompiler.cs (InitMethod): emit an assignment for
1433 SkinID just after the creation of our object, and right after that
1434 call "_ctrl.ApplyStyleSheetSkin (page)".
1435 (CreateAssignStatementsFromAttributes): split out the majority of
1436 this code to CreateAssignStatementFromAttribute, and change this
1437 method to simply a loop over the attribute keys. In the 2.0 case,
1438 skip the SkinID property, since that's handled explicitly in
1441 * PageCompiler.cs (AddStatementsToInitMethod): emit assignments
1442 for Theme and StyleSheetTheme.
1444 2006-02-23 Chris Toshok <toshok@ximian.com>
1446 * TemplateControlCompiler.cs (AddContentTemplateInvocation): track
1447 change from ContentControlBuilderInternal to
1448 ContentBuilderInternal.
1449 (AddCodeRender): same.
1451 2006-02-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1453 * AssemblyBuilder.cs:
1454 * BuildManager.cs: compile the assembly from AssemblyBuilder and use
1455 GetGeneratedType() on the BuildProvider instead of loading the assembly
1456 and trying a wild guess at the type name.
1458 2006-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1460 * GlobalAsaxCompiler.cs:
1462 * TemplateControlCompiler.cs: CreateMethods is now internal.
1464 * WebServiceBuildProvider.cs:
1465 * PageBuildProvider.cs:
1466 * UserControlBuildProvider.cs:
1467 * WebHandlerBuildProvider.cs: new build providers.
1469 * BuildProvider.cs: add assemblies.
1471 * BaseCompiler.cs: expose the provider and the compile unit through
1474 2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1476 * CompilerType.cs: implemented.
1478 * AssemblyBuilder.cs: implemented most of it.
1480 * WebServiceCompiler.cs:
1481 * CachingCompiler.cs: update 2.0 compiler instance creation code.
1483 * ClientBuildManager.cs: implemented some of its methods. Not yet
1486 * BuildManager.cs: the more interesting methods are implemented now.
1488 * BaseCompiler.cs: delete the temporary files in case of error.
1490 * BuildProvider.cs: implemented the Get*Compiler* protected methods.
1492 2006-02-07 Chris Toshok <toshok@ximian.com>
1494 * TemplateControlCompiler.cs (AddParsedSubObjectStmt): append the
1495 calls to AddParsedSubObject to a special statement collection --
1496 builder.flushOutputStatements -- not to builder.method.Statements.
1497 (InitMethod): initially, set flushOutputStatements to
1498 method.Statements. If we're dealing with a ContentPlaceHolder,
1499 set flushOutputStatements to be the else block of a conditional we
1500 create. This causes the compiled control to fall back to the
1501 ContentPlaceHolder's child controls in case there's no
1502 corresponding Content template.
1503 (AddChildCall): use methodStatements instead of method.Statements.
1504 (CreateControlTree): same.
1506 * PageCompiler.cs (CreatePropertyAssign): factor out the
1507 string,string implementation and add one that also takes a
1508 CodeExpression; make the string,string implementation call the
1509 three arg one with thisRef.
1510 (AddStatementsToInitMethod): make use of the 3-arg form of
1511 CreatePropertyAssign to reduce code. Also, add support for
1512 setting the page's Title from the parser's Title.
1514 2006-02-07 Chris Toshok <toshok@ximian.com>
1516 * UserControlCompiler.cs (AddStatementsToInitMethod): emit code to
1517 assign __ctrl.MasterPageFile to our master page, if we have one.
1519 * PageCompiler.cs (CreateContructor): remove the MasterPageFile
1520 assignment from here.
1521 (AddStatementsToInitMethod): and move it here.
1523 * TemplateControlCompiler.cs (InitMethod): in the case where
1524 builder is a RootBuilder (we're building the __BuildControlTree
1525 method), call a virtual method so that subclasses can add their
1526 own statements to the method (used by both Page and MasterPage);
1527 Also, in the RootBuilder case, the argument should be the
1528 parser.ClassName type (the class we're building); lastly, expand
1529 the ContentPlaceHolder logic to include all the
1530 ContentTemplates/InstantiateIn magic.
1531 (AddStatementsToInitMethod): empty virtual method.
1532 (AddContentTemplateInvocation): ContentControlBuilder ->
1533 ContentControlBuilderInternal.
1534 (CreateControlTree): same.
1535 (CallBaseFrameworkInitialize): new function, create call to
1536 base.FrameworkInitialize.
1537 (CreateFrameworkInitializeMethod): call CallBaseFrameworkIniitialize.
1539 2006-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1541 * IgnoreFileBuildProvider.cs: it's not public.
1542 * BuildProvider.cs: mostly implemented.
1544 2006-02-01 Chris Toshok <toshok@ximian.com>
1546 * WebServiceCompiler.cs: CONFIGURATION_2_0 => NET_2_0, and use
1547 GetSection instead of GetWebApplicationSection.
1549 * CachingCompiler.cs: same.
1551 * AspGenerator.cs: same.
1553 * BaseCompiler.cs: same.
1555 2006-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1557 * AspGenerator.cs: ignore 'thead'. Fixes bug #77326.
1559 2006-01-22 Chris Toshok <toshok@ximian.com>
1561 * IgnoreFileBuildProvider.cs: build provider which does nothing.
1563 2006-01-22 Chris Toshok <toshok@ximian.com>
1565 * AspComponentFoundry.cs (.ctor): use a 2.0 friendly form of the
1566 Hashtable ctor to silence a couple of warning.
1567 (CompoundFoundry.ctor): same
1569 * Directive.cs (InitHash): use a 2.0 friendly form of the
1570 Hashtable ctor to silence a couple of warning.
1572 * TagAttributes.cs (MakeHash): use a 2.0 friendly form of the
1573 Hashtable ctor to silence a warning.
1574 (GetDictionary): same.
1576 2006-01-22 Chris Toshok <toshok@ximian.com>
1578 * AppSettingsExpressionBuilder.cs: implement this, patterning it
1579 after an example on msdn. Also, enable the ExpressionEditor
1580 attribute, but use the string rather than the Type overload so we
1581 won't have yet another circular dep.
1583 * ConnectionStringsExpressionBuilder.cs: partial implementation.
1584 Same deal with the ExpressionEditor attribute.
1586 * ResourceExpressionBuilder.cs: same deal with the
1587 ExpressionEditor attribute.
1589 2006-01-20 Chris Toshok <toshok@ximian.com>
1591 * ResourceExpressionBuilder.cs (ParseExpression): implement.
1593 * ResourceExpressionFields.cs: implement.
1595 2006-01-20 Chris Toshok <toshok@ximian.com>
1597 * ClientBuildManagerParameter.cs: implement.
1599 * ClientBuildManagerCallback.cs: this class contains an empty
1600 default implementation.
1602 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1604 * AspGenerator.cs: add support for 'src' in <script runat="server">.
1607 2006-01-04 Chris Toshok <toshok@ximian.com>
1609 * WebServiceCompiler.cs (GetCompiledType): add CONFIGURATION_2_0
1612 * AspGenerator.cs (CheckLanguage): add CONFIGURATION_2_0 code.
1614 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1616 * AspGenerator.cs: fix yesterday's fix.
1618 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1620 * AspGenerator.cs: only do special processing for <script> if it has
1621 the runat="server" attribute. Fixes bug #76918.
1623 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1625 * TemplateControlCompiler.cs: treat LightGrey as a synonym of LightGray.
1628 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1630 * TemplateControlCompiler.cs: handle data bound attributes for html
1631 controls. Fixes bug #76785.
1633 2005-11-28 Chris Toshok <toshok@ximian.com>
1635 * CachingCompiler.cs (Compile): CONFIGURATION_2_0 work.
1637 * BaseCompiler.cs (GetCompiledType): CONFIGURATION_2_0 work.
1639 2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1641 * WebServiceCompiler.cs: fixed caching for web handlers.
1643 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1645 * AspParser.cs: don't change case for verbatim IDs.
1648 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1650 * AspParser.cs: when processing verbatim input, throw if we reach EOF
1651 before the expected end of the data.
1653 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1655 * CachingCompiler.cs:
1656 * WebServiceCompiler.cs: when caching a type loaded from an assembly
1657 that we didn't compile, make it depend on the file itself, not on a
1658 non-existing cache key. This problem affected performance of web
1659 services and .ashx, making unnecessary extra calls to LoadFrom every
1660 time the cache was cleared.
1662 2005-09-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1664 * BaseCompiler.cs: set the domain's DynamicBase property instead of
1665 guessing it in BaseCompiler.
1667 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1669 * WebServiceCompiler.cs: apply the same fix as in r45440 that fixed bug
1670 75146 for pages/controls.
1672 2005-08-09 Miguel de Icaza <miguel@novell.com>
1674 * WebServiceCompiler.cs: Use the new DynamicDir method.
1676 * BaseCompiler.cs: Use the DynamicBase property as a hint, but
1677 since this value is null most of the time, compute the real value.
1679 Added Bonus: if the directory has some kind of permission problem,
1680 try a different directory name.
1682 2005-07-13 Miguel de Icaza <miguel@novell.com>
1684 * AspGenerator.cs (AspGenerator.CheckLanguage): Use
1685 BaseParser.Context for the context.
1687 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1691 * TemplateControlCompiler.cs: use invariant culture versions of starts/
1694 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1696 * TemplateControlCompiler.cs: comparison between member name and the
1697 first part of the id provided by the user should also be
1698 case-insensitive. Fixes bug #75379.
1700 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1702 * CachingCompiler.cs: use cache.InsertPrivate.
1703 * AspGenerator.cs: use cache.InsertPrivate. Removed extra call to
1706 2005-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1708 * CachingCompiler.cs: create the assemly in the DynamicBase directory,
1709 as all the others, when compiling an assembly from a Src file. Fixes
1712 2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1714 * TemplateControlCompiler.cs: if the property is not found, don't forget
1715 about trying the field.
1717 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
1719 * Directive.cs: Register the MasterType directive.
1720 * PageCompiler.cs: If a MasterType is specified, add a type specific
1721 Master property. All this fixes bug #75192.
1723 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1725 * TemplateControlCompiler.cs: when mapping an attribute name to a field
1726 or property name, there's no need to try with every property and field,
1727 but just the one found when searching by name (no case). There was one
1728 call to ProcessPropertiesAndFields per property or field until found,
1729 now only one if the property/field is found, none otherwise.
1731 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1733 * TemplateControlCompiler.cs: allow more than 2 levels when looking for
1734 properties of fields for an attribute like "Prop1-Prop2-Prop3". Fixes
1737 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1739 * BaseCompiler.cs: when the OutputAssembly is null, we can still have
1740 the assembly file there and be able to load it. Thanks to Rogerio and
1743 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1745 * AspParser.cs: InvariantCulture love.
1747 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1749 * TemplateControlCompiler.cs: use the Page AddContentTemplate method,
1750 as the one in Master is protected. Fixes bug #75157.
1752 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1754 * AspComponentFoundry.cs: tagnames have precedence over types in
1755 assemblies when they use the same prefix. Fixes bug #71855.
1757 2005-05-03 Lluis Sanchez Gual <lluis@novell.com>
1759 * WebServiceCompiler.cs: Create the temp directory before
1760 creating the web service source code file.
1762 2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1764 * AspGenerator.cs: when checking languages, try to match other aliases
1765 too (ie, 'cs' == 'c#').
1767 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1769 * BaseCompiler.cs: check that DynamicBase directory exists before
1770 creating the TempFileCollection.
1772 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1774 * AspGenerator.cs: use a stack for non-server tags even before getting
1775 to a form. Fixes bug #70274.
1777 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1779 * AspParser.cs: don't error out on ill formed tags if it's not a server
1780 tag (ie, allow something like '<table align="left cellpadding="0">' to
1781 work, as MS does. Fixes bug #67909.
1783 2005-04-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1784 * BaseCompiler.cs: do the bridge of Explicit/Strict attributes from
1785 @Page/@Control directives to CodeDOM (VB.NET support)
1787 2005-04-19 Lluis Sanchez Gual <lluis@novell.com>
1789 * AspParser.cs: Fixed parsing of data binding tags in server
1790 tag attributes. Allow <%...%> blocks not assigned to
1791 attributes in client tags.
1792 * TagAttributes.cs: Make sure that data binding blocks in server
1793 tags are always assigned to attributes.
1795 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
1797 * TemplateControlCompiler.cs: Implemented support for two-way
1800 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
1802 * TemplateControlCompiler.cs: Use the new BindingContainerType
1803 property to find the type of the binding container.
1805 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
1807 * TemplateControlCompiler.cs: Avoid using the GetConverter() trick
1808 for primitive types. Parse an empty color string as Color.Empty.
1809 Get the converter for a property using its PropertyDescriptor.
1811 2005-04-05 Lluis Sanchez Gual <lluis@novell.com>
1813 * TemplateControlCompiler.cs: Don't autogenerate IDs for
1814 controls inside Content template.
1816 2005-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1818 * TemplateControlCompiler.cs: make typedesc.aspx work again.
1820 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1822 * ExpressionBuilderContext.cs:
1823 * ExpressionBuilder.cs: implemented.
1825 2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1827 * AspGenerator.cs: don't fail on <tbody runat=server>. Fixes bug #71856.
1829 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
1831 * TemplateControlCompiler.cs: When generating a property value,
1832 check for TypeConverterAttribute in the PropertyInfo, not only in the
1834 Implemented code generation using InstanceDescriptor, when the type
1835 converter supports conversion to that type.
1837 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
1839 * Directive.cs: Added MASTER directive.
1840 * AspGenerator.cs: Use UserControlCompiler for compiling master pages.
1841 * PageCompiler.cs: Set the master file name when generating the page.
1842 * TemplateControlCompiler.cs: When generating the method for a
1843 content holder, register the content holder in the base MasterPage.
1844 Added method for registering a Content control for a MasterPage.
1845 Generate code for Content controls.
1847 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
1849 * TemplateControlCompiler.cs: Get the container type from the
1850 template (if it was defined using TemplateContainerAttribute.
1852 2004-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1854 * AspGenerator.cs: correctly process script tags that self-closing.
1857 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1859 * CachingCompiler.cs: when compiling a single .cs file, add the file
1860 itself to dependencies. Fixes bug #68788.
1862 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1864 * ControlBuilder.cs: don't close server tags when we get to a closing
1865 tag that is not applied to a server control. Fixes bug #60323.
1867 2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1869 * WebServiceCompiler.cs: fix buglet in my last commit.
1871 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1874 * CachingCompiler.cs:
1875 * WebServiceCompiler.cs: correctly cache Type instead of the assembly
1876 for ashx/asmx. Otherwise we need to open the file and check for the
1877 class name in there. Thanks to Ben for pointing this out.
1879 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1882 * AspTokenizer.cs: prevent quotes from being swallowed when we're
1883 inside a server tag and they are the next non-whitespace character.
1886 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1888 * CachingCompiler.cs: don't try to watch for changes in system
1889 assemblies. Fixes bug #64871.
1891 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1893 * AspGenerator.cs: handle builders that need to process inner text
1896 * Location.cs: added setters for the properties.
1898 2004-08-02 Duncan Mak <duncan@ximian.com>
1900 * BuildProviderResultFlags.cs:
1901 * IImplicitResourceProvider.cs:
1902 * ImplicitResourceKey.cs:
1903 * IResourceReader.cs: Added.
1905 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1907 * AspGenerator.cs: the path for file was treated as virtual, but it's
1908 physical. Fixes bug #61524.
1910 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1912 * AspParser.cs: fixed case-sensitivity issues with #include and its
1913 attributes. Closes #61429.
1915 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1918 * WebServiceCompiler.cs: really create the dlls under DynamicBase
1920 2004-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1922 * TemplateControlCompiler.cs: for system colors, use SystemColors class
1923 instead of Color. Fixes bug #60249.
1925 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1927 * BaseCompiler.cs: try getting the Type from the cache before doing the
1928 real work. Remove temporary files right after successful compilation.
1930 * CachingCompiler.cs: added GetTypeFromCache.
1932 * UserControlCompiler.cs: nothing interesting.
1934 * WebServiceCompiler.cs: try getting the Type from the cache before
1935 doing anything else. Remove temp files on sucessful compilation.
1937 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1940 * CachingCompiler.cs: use a different prefix when caching compiler
1943 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1945 * BaseCompiler.cs: dynamicBase is now protected. Check
1946 MONO_ASPNET_NODELETE here.
1948 * TemplateControlCompiler.cs: if the type is not known but has a
1949 TypeConverter, invoke ConvertFromString in the generated code.
1951 * WebServiceCompiler.cs: it used a hardcoded C# compiler, now it gets
1952 the compiler from the configuration. Also handle MONO_ASPNET_NODELETE.
1954 * CachingCompiler.cs: updated compilation of web services and simple
1957 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1959 * CSCompiler.cs: removed.
1961 * CachingCompiler.cs: language independent compilation for single files.
1963 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1966 * WebServiceCompiler.cs: adapted to the 'new' CachingCompiler.
1967 * CachingCompiler.cs: use HttpRuntime.Cache.
1969 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1971 * PageCompiler.cs: fixed Trace and add support for Buffer.
1973 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1975 * PageCompiler.cs: override CreateConstructor to add assignment for
1978 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1980 * TemplateControlCompiler.cs: use CodeDelegateCreateExpression instead
1981 of CodeObjectCreateExpression for the render method delegate. Thanks
1984 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1986 * BaseCompiler.cs: use DynamicBase for the output assemblies.
1988 2004-05-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1990 * AspGenerator.cs: ObjectTagBuilder do not override HasBody now.
1992 2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1994 * AspParser.cs: indent a few lines.
1995 * AspTokenizer.cs: added ungetc() used when we read a '/' in an unquoted
1996 attribute value. This way we can simulate reading 2 characters ahead
1997 (one in ungetc and the other in Peek) and work with values like
1998 text/javascript. Fixes bug #57302.
2000 2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2002 * AspParser.cs: ignore whitespace after directives. Fixes bug #58057.
2004 2004-04-02 Lluis Sanchez Gual <lluis@ximian.com>
2006 * TemplateControlCompiler.cs: Fixed build for net_1_0 profile.
2008 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2010 * GlobalAsaxCompiler.cs: removed Imports and Assemblies properties.
2012 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2014 * AspGenerator.cs: error out when <object> server tag is not closed.
2015 Ignore any content inside it.
2017 2004-02-10 Jackson Harper <jackson@ximian.com>
2019 * AspTokenizer.cs: Collect discarded characters that might be used
2020 in client side scripts. Patch by Liyu Liu.
2021 * AspParser.cs: Add discarded characters. Patch by Liyu Liu.
2023 2004-02-10 Jackson Harper <jackson@ximian.com>
2025 * BaseCompiler.cs: Use the TempDirectory for compilation. Fixes
2028 2004-01-30 Jackson Harper <jackson@ximian.com>
2030 * TemplateControlCompiler.cs: Call ToString on the types hashcode,
2031 the build method takes strings not ints.
2033 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2035 * AspGenerator.cs: handle more possible errors in global.asax file.
2037 * BaseCompiler.cs: added utility methods for creating <object> related
2038 properties and fields.
2040 * GlobalAsaxCompiler.cs: keep around applications and session scope
2041 objects builders. Also a list of imports and assemblies added in
2044 * TemplateControlCompiler.cs: use base class methods for <object> stuff.
2046 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2048 * AspGenerator.cs: use the Cache to store compiled Types. Don't parse
2049 pages more than once. Thanks to Eric Lindvall for pointing this out.
2051 2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2053 * TemplateControlCompiler.cs: allow handling subproperties for other
2054 types than Style and Font. Fixes bug #53217.
2056 2004-01-16 Jackson Harper <jackson@ximian.com>
2058 * TagAttribute.cs: attributes can be stored as encoded html so we
2061 2004-01-14 Jackson Harper <jackson@ximian.com>
2063 * TemplateControlCompiler.cs: Is a user control is cached and
2064 shared use the controls type hashcode for the GUID so it will be
2065 the same across instances.
2067 2004-01-13 Jackson Harper <jackson@ximian.com>
2069 * TemplateControlCompiler.cs: If an item has the partial caching
2070 attribute build a PartialCachingControl in the parents __Build method.
2071 * BaseCompiler.cs: Add a method for adding class attributes to the
2073 * UserControlCompiler.cs: If caching is enabled on a user control
2074 add the PartialCachingAttribute to it.
2076 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2078 * PageCompiler.cs: invoke Request.ValidateInput if required.
2080 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2082 * AspGenerator.cs: don't rely on GC to close the files parsed. Fixes bug
2083 #52521. Patch by liyul@hotmail.com.
2085 2003-12-25 Jackson Harper <jackson@ximian.com>
2087 * AspGenerator.cs: Allow scriptlets in javascript. This fixes bug
2090 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2092 * PageCompiler.cs: assign the ErrorPage property if provided.
2094 2003-12-15 Jackson Harper <jackson@ximian.com>
2096 * PageCompiler.cs: Add Trace and TraceMode to framework initialize
2097 method if they are set.
2099 2003-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2101 * AspGenerator.cs: ignore <tbody> when we're inside a server table and
2102 fail when runat="server" is applied to <tbody> with a parse error
2103 instead of waiting for a compilation error. Fixes bug #52157.
2105 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2107 * AspGenerator.cs: basic checking of ID validity. Throw a
2108 ParseException when mixing languages.
2110 2003-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2112 * PageCompiler.cs: assign LCID, Culture and/or UICulture in
2113 FrameworInitialize() if provided in @Page.
2117 2003-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2119 * TemplateControlCompiler.cs: support for expressions of
2120 System.Drawing.Size type. Allow getting Color from comma separated
2121 numbers, which is not allowed by ColorConverter.
2123 This makes http://www.codeproject.com/aspnet/asppopup.asp work.
2125 2003-11-13 Jackson Harper <jackson@ximian.com>
2127 * PageCompiler.cs: Call InitOutputCache when the OutputCache
2130 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2132 * AspGenerator.cs: use fileEncoding from configuration files.
2134 * PageCompiler.cs: add assign statements for ContentType,
2135 ResponseEncoding and CodePage if supplied.
2137 2003-10-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2139 * TemplateControlCompiler.cs: fix bug #42994. Now we don't generate
2140 a return statement for user controls with 'void' return type.
2142 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2144 * AspParser.cs: fixed bug #49627.
2146 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2148 * BaseCompiler.cs: now gets the CodeCompiler from configuration files.
2150 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2152 * Directive.cs: new attribute for @Page directive in 1.1.
2154 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2157 * TagAttributes.cs: allow duplicated runat=server attributes and display
2158 error page when duplicated attributes and runat is specified.
2160 2003-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2162 * AspTokenizer.cs: moved token numbers above unicode.
2164 2003-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2166 * AspGenerator.cs: don't process code render tags inside scripts. Check
2167 the language of the script and treat javascript as verbatim input.
2170 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2172 * TemplateControlCompiler.cs: fixed bug #48212.
2174 2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2176 * WebServiceCompiler.cs: remove the temporary files here too.
2178 2003-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2180 * AspGenerator.cs: fixed bug #46429.
2182 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2184 * Directive.cs: support @WebHandler.
2186 2003-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2188 * TemplateControlCompiler.cs: support string []. Fixes bug #46415.
2190 2003-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2192 * BaseCompiler.cs: first look for cached items, then generate the tree.
2193 This should speed things up.
2195 * CachingCompiler.cs: when compiling web services, use the full path of
2196 the .asmx file as key when caching.
2198 * WebServiceCompiler.cs: first look for cached items, then generate
2201 2003-07-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2203 * AspParser.cs: more useful error information,
2206 * CachingCompiler.cs: honor the debug="true" option.
2208 * TemplateControlCompiler.cs: small fixes for templates.
2210 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2212 * BaseCompiler.cs: made Compiler property virtual.
2214 * CachingCompiler.cs: added support for compiling web services.
2216 * WebServiceCompiler.cs: implemented.
2218 2003-05-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2220 * CachingCompiler.cs: fixed bug #43477.
2222 2003-05-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2225 * AspTokenizer.cs: fixed bugs #43206 and #43371.
2227 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2229 * TemplateControlCompiler.cs: duh! Generate SupportAutoEvents instead
2230 of AutoEventWireup (which is internal). Thanks to Stuart Ballard for
2233 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2235 * CompilationException.cs: don't add duplicated lines in the case that
2236 mcs reports several errors for the same one.
2238 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2240 * AspGenerator.cs: fully support including files, ie., treat them just
2241 as C treats #includes.
2243 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2247 * TagType.cs: Added support for server side includes.
2249 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2251 * CSCompiler.cs: actually add the list of referenced assemblies to the
2252 compiler options. Throw a CompilationException if there's an error.
2254 * CachingCompiler.cs: added a method to compile directly from a source
2257 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2259 * AspGenerator.cs: copy the location before setting the value for the
2262 * BaseCompiler.cs: changed parameters for CompilationException.
2264 * CompilationException.cs: it takes now line numbers and error
2265 descriptions from the CompilerErrorCollection.
2267 * Location.cs: used when a copy of an ILocation is needed.
2269 * ParseException.cs: implemented new methods to provide line numbers
2272 * TemplateControlCompiler.cs: throw a ParseException where appropiate.
2274 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2276 * AspGenerator.cs: also support data bind syntax inside tags not
2277 processed as controls. Added debugging method.
2279 * TemplateControlCompiler.cs: reset the number of data binding handlers
2280 in the proper place. Small fix when getting the container type.
2282 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2284 * TemplateControlCompiler.cs: correctly set the TemplateSourceDirectory
2287 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2289 * AspGenerator.cs: handle code render syntax in tag attributes.
2291 * AspParser.cs: the constructor now takes a TextReader.
2293 * TemplateControlCompiler.cs: removed comment.
2295 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2297 * TemplateControlCompiler.cs: added support for data bound properties.
2299 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2301 * AspComponentFoundry.cs: simplified it a lot by using Type and Assembly
2302 instead of their names.
2304 * AspElements.cs: removed. No longer needed.
2306 * AspGenerator.cs: this file is now in charge of interfacing between
2307 the parser and the compiler. It manages the creation of the
2308 ControlBuilder tree and the compilation of the CodeDOM tree.
2310 * AspParser.cs: tag handling is simpler now. Instead of a whole bunch
2311 of different Types, tags are just and id and a set of attributes.
2312 Implement ILocation interface.
2314 * AspTokenizer.cs: added a few methods to help the parser implementing
2317 * BaseCompiler.cs: handles the portions of the CodeDOM tree that are
2318 common to appliaction, page and user control, including the actual
2319 compilation and error handling.
2321 * CSCompiler.cs: compiles C# files using CodeDOM interfaces.
2323 * CachingCompiler.cs: simplified to use the new interfaces.
2325 * CompilationException.cs: it's now using CompilationResult to report
2328 * CompilationResult.cs: Removed file.
2330 * Directive.cs: to check for the validity of a directive.
2332 * GlobalAsaxCompiler.cs: simplified a lot, as most of the work is done
2335 * ILocation.cs: interface used to now the exact place where a parse
2338 * PageCompiler.cs: generates a couple of methods that are only used in
2341 * ParseException.cs: use the ILocation interface.
2343 * TagAttributes.cs: handles the attributes of the tags parsed.
2345 * TagType.cs: an enum for the different kinds of tags.
2347 * TemplateControlCompiler.cs: this is the one that does most of the
2348 conversion from teh ControlBuilder tree into a CodeDOM tree.
2350 * UserControlCompiler.cs: simplified as most of the work is done in
2353 * WebServiceCompiler.cs: dummy.
2355 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2357 * AspComponentFoundry.cs: added GetComponentType method.
2359 2003-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2361 * AspTokenizer.cs: allow quotes inside server tags that are part of
2364 * CachingCompiler.cs: no more 'FileNotFound' exceptions when the
2367 2003-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2369 * AspGenerator.cs: generate correct appbase path. It was working with
2370 mcs but not with csc.
2372 * BaseCompiler.cs: quote arguments and removed GetRandomFileName.
2374 * CachingCompiler.cs: quote source file.
2376 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2378 * AspGenerator.cs: now the Inherits attribute works as expected for
2381 2003-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2383 * CompilationException.cs:
2384 * ParseException.cs: display the correct line number in error messages.
2386 * AspElements.cs: added TargetSchema attribute for control. It's
2389 2003-03-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2391 * BaseCompiler.cs: fixed the hack to work under windows.
2392 * CachingCompiler.cs: under windows, try 'mcs.bat' and then 'mcs'.
2394 2003-03-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2396 * BaseCompiler.cs: hacks to work-around our buggy System.Uri.
2398 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
2400 * BaseCompiler.cs: Removed a FIXME: and added a correct calculation of
2401 app's private bin path
2403 2003-03-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2407 * CachingCompiler.cs:
2408 * CompilationResult.cs:
2409 * GlobalAsaxCompiler.cs:
2411 * UserControlCompiler.cs: recompile the page if dependencies change.
2413 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2415 * AspGenerator.cs: corrected typo and wrong fix.
2417 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2419 * AspGenerator.cs: fixed code generation for Table/TableRow/TableCell
2420 when used explicitly.
2422 2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2424 * AspElements.cs: get the property Type for controls that use
2425 ParseChildren with a property name.
2427 * AspGenerator.cs: generate correct signature for the method that
2428 adds controls to the default property in ParseChildren.
2430 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2432 * AspGenerator.cs: rethrow exceptions that may come from parsing or
2433 compilation if a user control.
2435 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2437 * AspGenerator.cs: throw ParseException on parse
2440 * AspParser.cs: added Line and Column props.
2442 * CompilationException.cs: derives now from HtmlizedException.
2444 * CompilationResult.cs: added fileName field. Fixed set_ExitCode.
2446 * GlobalAsaxCompiler.cs:
2448 * UserControlCompiler.cs: pass the file name in the CompilationResult.
2450 * ParseException.cs: new exception.
2453 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2455 * AspGenerator.cs: remove "file://" from the private bin path. Fixes
2458 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2460 * AspParser.cs: the parser fires events when it parses an element.
2462 * GlobalAsaxCompiler.cs:
2464 * UserControlCompiler.cs:
2465 * AspElements.cs: modified to use the new parser interface.
2467 * AspGenerator.cs: modified to use the new parser. Merge multiple text
2468 strings into one single LiteralControl.
2470 * AspTokenizer.cs: added Line and Column properties.
2472 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2474 * AspParser.cs: fixed bug #36929.
2476 2003-01-21 Tim Haynes <thaynes@openlinksw.com>
2480 * CachingCompiler.cs: changes to work around spaces and
2481 directory-separators in the local filesystem.
2483 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2485 * AspGenerator.cs: make the generated file compile with csc after last
2488 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2490 * AspGenerator.cs: removed unused variable. Added support for
2491 properties/fields of type string [].
2493 2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2495 * AspGenerator.cs: modified loading of the parent type now that
2496 Type.GetType is fixed.
2498 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2500 * AspGenerator.cs: cast to Control if the container does not implement
2503 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2505 * AspGenerator.cs: fixed a couple of thinkos related to IsSubclassOf.
2507 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2509 * AspElements.cs: attributes without value lacked a space afterwards.
2511 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2513 * AspGenerator.cs: functions for columns don't return anything. Fixed
2516 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2518 * AspGenerator.cs: add data bound controls to code render function.
2520 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2522 * AspComponentFoundry.cs: reworked to allow same prefix for multiple
2523 controls. You can register 1 assembly plus any number of user controls
2524 under the same prefix.
2526 * AspGenerator.cs: don't add duplicate 'using' for the same namespace.
2527 Hack to allow @Register access to assemblies in other places than bin
2530 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2532 * AspElements.cs: added 'codebehind' attribute for page, control and
2533 application. It's ignored by MS, but allowed. Fixed typo.
2535 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2537 * AspGenerator.cs: fixed EnableSesssionState handling.
2539 2003-01-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2541 * AspGenerator.cs: don't generate instance fields for pages/controls
2542 when the base class specified in the Inherits attribute already has
2543 them. Closes bug #36262.
2545 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2547 * AspGenerator.cs: generate code like 'control.XXX = value' also for
2548 public fields (properties were being handled in that way too).
2550 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2552 * AspGenerator.cs: now it uses the current HttpContext when creating
2553 user controls. TemplateSourceDirectory is no longer a dummy value.
2555 * GlobalAsaxCompiler.cs:
2557 * UserControlCompiler.cs: set the context which will be used to locate
2560 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2562 * AspGenerator.cs: added support for AutoEventWireup attribute in
2565 * CompilationResult.cs:
2566 * GlobalAsaxCompiler.cs:
2568 * UserControlCompiler.cs: store the options.
2570 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2572 * AspElements.cs: new method Tag.GetElements
2573 used to parse the inner contents of a tag looking for data binding or
2576 New property HtmlControlTag.ParseChildren allows
2577 differentiation of a couple of HtmlControls that has children as
2578 properties (namely HtmlTable and HtmlTableRow).
2580 * AspGenerator.cs: fixed container semantics to
2581 match BindingContainer one. Implemented Inherits attribute for page and
2584 Support HtmlControls that has ChildrenAsProperties.
2586 Generate code for data binding functions that matches the semantic of
2589 Handle data bound and code render attribute values.
2591 Set proper value return for TemplateSourceDirectory. Should be relative
2594 * BaseCompiler.cs: moved CompilerOptions and
2595 References handling here.
2597 * CachingCompiler.cs: copy result of compilation.
2599 * CompilationException.cs: simple ToString () implementation.
2601 * CompilationResult.cs: implemented CopyFrom and ToString.
2603 * GlobalAsaxCompiler.cs:
2605 * UserControlCompiler.cs: removed CompilerOptions as it's now handled
2606 in the base class. Get all the types in the generated assembly and
2607 look for one that derives from the correct Type.
2609 2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2611 * AspElements.cs: added @Application directive.
2613 * AspGenerator.cs: make it work also with application files. We
2614 currently generate an extra private function.
2616 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2618 * GlobalAsaxCompiler.cs: compiler for global.asax file. If the file
2619 exists, it will be compiled into an HttpApplication derived class
2620 (directly or through a user-provided class).
2622 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2624 * AspGenerator.cs: fixed target file name and generated class name.
2625 * BaseCompiler.cs: reference assemblies in PrivateBinPath.
2627 2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2629 * AspGenerator.cs: reworked user control
2630 compilation. Provide the options as a Hashtable for use in compilation.
2631 Create the user controls in the private bin path of the domain.
2633 * BaseCompiler.cs: base class for the various compiler types.
2635 * CachingCompiler.cs: actually executes mcs and do some poor caching
2636 (it will use Cache when finished).
2638 * CompilationException.cs: this exception has enough information to
2639 generate a nice error page.
2640 * CompilationResult.cs: used in caching.
2642 * PageCompiler.cs: now derives from BaseCompiler
2644 * TemplateFactory.cs: no longer needed.
2646 * UserControlCompiler.cs: new class used when compiling user controls.
2647 * WebServiceCompiler.cs: derives from BaseCompiler.
2649 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2651 * AspElements.cs: added ServerComment class.
2652 * AspParser.cs: ignore ServerComments tags. Remove server comments when
2657 * PageCompiler.cs: check if the type is already cached before generating
2659 * TemplateFactory.cs: if csFile parameter is null, only checks if we
2660 already have the page compiled.
2662 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2664 * AspGenerator.cs: undo one-liner change.
2666 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2668 * AspGenerator.cs: removed a few hacks no longer needed.
2670 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2672 * PageCompiler.cs: tracing.
2673 * TemplateFactory.cs: cache compiled types and tracing.
2674 * WebServiceCompiler.cs: new parameter in GetTypeFromsource,
2676 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2678 * AspComponentFoundry.cs: fixed typo.
2679 * TemplateFactory.cs: use csc style options.
2680 * AspGenerator.cs: don't use FileDependencies property of base class.
2682 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2684 * System.Web.Compilation/AspElements.cs:
2685 * System.Web.Compilation/AspGenerator.cs:
2686 * System.Web.Compilation/AspParser.cs:
2687 * System.Web.Compilation/PageCompiler.cs:
2688 * System.Web.Compilation/TemplateFactory.cs: we are now able to compile
2689 pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
2691 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2693 * AspElements.cs: added WebService directive.
2694 * WebServiceCompiler.cs: New file.
2696 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2698 * PageCompiler.cs: fixed compilation.
2700 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2702 * PageCompiler.cs: generate C# file using AspGenerator.
2704 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2706 * AspComponentFoundry.cs: LookupFoundry now returns bool.
2707 * AspGenerator.cs: New file.
2709 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2711 * AspComponentFoundry.cs: New file.
2712 * AspElements.cs: renamed Component to Aspcomponent.
2714 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2721 * TemplateFactory.cs: first steps to move xsp into System.Web.