ChangeLog 55 KB

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