ChangeLog 68 KB

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