ChangeLog 48 KB

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