X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Web%2FSystem.Web.Compilation%2FChangeLog;h=35e40f1d41b6bce3e2fa455d0d35a2c31870c776;hb=8f9813cc6583446d28efc1373bd24649097073ac;hp=52a4e0680db33d2fb82c8974ebecad972f016d08;hpb=6f94553690b1cd6487bcc206aec7f58c99f77adb;p=mono.git diff --git a/mcs/class/System.Web/System.Web.Compilation/ChangeLog b/mcs/class/System.Web/System.Web.Compilation/ChangeLog index 52a4e0680db..35e40f1d41b 100644 --- a/mcs/class/System.Web/System.Web.Compilation/ChangeLog +++ b/mcs/class/System.Web/System.Web.Compilation/ChangeLog @@ -1,3 +1,247 @@ +2008-08-14 Marek Habersack + + * AspGenerator.cs: do not ignore directives inside HTML comments. + + * TemplateControlCompiler.cs: .NET allows for whitespace between + the directive start (<%) and the directive type character. Added + code which copes with such situations correctly. + +2008-08-13 Marek Habersack + + * TemplateControlCompiler.cs: rewrote the Bind regular expressions + to allow for single quotes and an optional second parameter to the + "call". + Added an Eval regular expression. + Both Bind and Eval calls in data expressions are now converted + into a CodeDOM method invocations, to allow support for possible + languages which use a different call format (previously code + snippets were used) + Added a method to construct the Eval invoke expression which + simplifies code in other areas. + + +2008-08-06 Marek Habersack + + * TemplateControlCompiler.cs: handle situation when a property of + a control for which we're generating the code is of type + 'Type'. In such case, variable.GetType() will return + System.MonoType, which must not be output to the generated + source. Thanks to Robert Jordan for giving the idea for the hack! + +2008-06-30 Marek Habersack + + * AspGenerator.cs: hush the warnings and fix invalid type + comparison. + + * AssemblyBuilder.cs: hush the warnings and add some debugging + CWLs. + + * AspParser.cs, AppResourcesCompiler.cs, TemplateBuildProvider.cs, + CachingCompiler.cs, BaseCompiler.cs, TemplateControlCompiler.cs, + SimpleBuildProvider.cs, BuildManager.cs: hush the warnings + +2008-06-18 Marek Habersack + + * TemplateControlCompiler.cs: AddChildCall properly processes the + PartialCachingAttribute now. + +2008-06-11 Marek Habersack + + * BuildManager.cs: if an error occurs while assigning the + requested path to an assembly builder inside BuildAssembly, throw + an exception. + + * BaseCompiler.cs: do not generate #line pragma for code which + exists only in memory. + +2008-05-30 Marek Habersack + + * ClientBuildManager.cs: do not use synthetized event accessors + (to avoid locks). + +2008-05-28 Marek Habersack + + * AspParser.cs, AspGenerator.cs, BaseCompiler.cs: added support + for #pragma checksum + +2008-05-19 Marek Habersack + + * AspGenerator.cs: if the last tag parsed was a code directive, + ignore any accumulated text if it's 100% whitespace. + Do not parse code render directives inside comments. + +2008-05-15 Marek Habersack + + * AspComponentFoundry.cs: treat AssemblyFoundry in a special way + when adding a foundry to the array list. AssemblyFoundry instances + are stacked at the end of the array list in a LIFO manner. That + way TagNameFoundry takes precedence over AssemblyFoundry should + the two contain the same type. + +2008-05-14 Marek Habersack + + * ParseException.cs: location can be null in the FileText property + getter. + +2008-05-07 Marek Habersack + + * AspGenerator.cs: push the include file directory to the parser + include directory stack and pop it after parsing the include, so + that the relative file paths are resolved correctly. Fixes bug + #324536 + +2008-05-06 Marek Habersack + + * TemplateControlCompiler.cs: compatibility - added the + __stringResource static field to the generated class and a call to + SetStringResourcePointer to the FrameworkInitialize method. + + * PageCompiler.cs: __fileDependencies should also be defined in + the 1.x profile. + Page properties assigned in the page directive should be set + inside BuildControlTree in the 2.0 profile. + +2008-04-29 Marek Habersack + + * WebServiceCompiler.cs: if compiling a body-less web service, try + to load the class type from the loaded assemblies before + attempting to find it in the assemblies on disk. + +2008-04-28 Marek Habersack + + * BuildManager.cs: ignore bad assemblies in the bin/ + directory. Fixes bug #315816 + +2008-04-26 Marek Habersack + + * GenericBuildProvider.cs: the Parse () method should reuse the + previously opened TextReader when calling generator.Parse (), to + avoid opening the input file multiple times. Fixes bug #383881 + +2008-04-25 Marek Habersack + + * AspGenerator.cs: put some safeguards in, to make sure streams + are closed in any case. + +2008-04-24 Marek Habersack + + * AspComponentFoundry.cs: added a new GetComponentType overload + which returns component source and a boolean flag whether the + control was registered from web.config (2.0). + +2008-04-22 Marek Habersack + + * BuildManager.cs: ignore also arbitrary exceptions when + batch-building an assembly. Fixes bug #323556 + +2008-04-19 Marek Habersack + + * BuildManager.cs: use absolute virtual path to query the + VirtualPathProvider for path existence. + When ASP.NET is self-hosted, force + non-batch compilation. Fixes bug #380985 + + * ILocation.cs: added a new property, FileText. + + * Location.cs: added implementation of the ILocation.FileText + property. + + * ParseException.cs: use the new ILocation.FileText, if defined, + to get the file source. + + * AspGenerator.cs: when TextReader is present, use it to read with + the VirtualPathProvider to read the file source. Fixes bug #381364 + + * AspParser.cs: added a new property FileText to provide the file + contents which was read in the constructor. + +2008-04-18 Marek Habersack + + * BuildManager.cs: when any parsing error occurs during batch + building, ignore the file which caused it. If the file with + parsing error is the one requested by user, throw the parsing + exception. Fixes bug #323742 + +2008-04-15 Marek Habersack + + * CachingCompiler.cs: dispose of streams the way it should + be done. + +2008-04-09 Marek Habersack + + * BuildManager.cs: refactoring - the SetCommonParameters and + GetDefaultCompilerTypeForLanguage moved here from BuildProvider, + and made internal static. + Do not catch compilation exceptions and wrap them in + HttpException, let the CompilationException pass through. Fixes + bug #377904 + + * AppWebReferencesCompiler.cs: added - support for compiling of + wsdl files found in the App_WebResources directory. Fixes bug + #377934 + + * BuildProvider.cs: refactoring - moved the SetCommonParameters + and GetDefaultCompilerTypeForLanguage to BuildManager + + * WsdlBuildProvider.cs: added the CodeCompilerType property + override. + Namespace for the generated code is taken from the wsdl path, + relative to App_Code or App_WebReferences, if the wsdl in question + is under on of those directories. + GenerateCode uses OpenReader () so that VirtualPathProvider works + for wsdl files. + + * AssemblyBuilder.cs: make sure Encoding.UTF8 is explicitly used + when generating source from code unit and use + WebEncoding.FileEncoding when adding code files to the unit. Fixes + bug #377938 + Cope with virtualPath being null in BuildAssembly. + Reference assemblies specified in web.config when linking. + +2008-04-08 Marek Habersack + + * AspComponentFoundry.cs: add loaded assembly to the + BuildManager's list of referenced assemblies instead to + WebConfigurationmanager.ExtraAssemblies. Fixes bug #377915 + + * AppCodeCompiler.cs: VirtualPath used in PhysicalToVirtual. + + * BuildManager.cs: switched to VirtualPath instead of a string + path in several methods. + Batch compilation is turned off if we have a custom + VirtualPathProvider which implements only the VirtualFile and + falls back to DefaultVirtualDirectory implementation for directory + access. + Added an internal method AddToReferencedAssemblies. + Remove invalidated entry from + WebConfigurationManager.ExtraAssemblies. + + * GenericBuildProvider.cs: AddCodeFile accepts a virtual path. + + * BuildProvider.cs: SetVirtualPath accepts a VirtualPath now. + + * AssemblyBuilder.cs: constructors use the new VirtualPath class + now. + AddCodeFile can use the VirtualPathProvider if necessary now. + BuildAssembly overloads accept VirtualPath parameter instead of a + string path now. + + * TemplateBuildProvider.cs: GetCodeBehindSource returns the + virtual path now. + +2008-03-31 Marek Habersack + + * AppCodeCompiler.cs: implemented support for AppInitialize (a + static method in any class defined in the App_Code source files), + ran just after the App_Code assemblies are compiled in order to + perform any application initialization actions. + +2008-03-27 Marek Habersack + + * BuildManager.cs: AssertVirtualPathExists now queries the + VirtualPathProvider for path existence if physical path check + fails, before throwing the 404 exception. + 2008-03-13 Marek Habersack * BuildManager.cs: if we're running in a case-insensitive