ChangeLog 56 KB

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