ChangeLog 49 KB

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