ChangeLog 49 KB

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