ChangeLog 66 KB

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