2
0

ChangeLog 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903
  1. 2005-02-17 Gonzalo Paniagua Javier <[email protected]>
  2. * ExpressionBuilderContext.cs:
  3. * ExpressionBuilder.cs: implemented.
  4. 2005-02-11 Gonzalo Paniagua Javier <[email protected]>
  5. * AspGenerator.cs: don't fail on <tbody runat=server>. Fixes bug #71856.
  6. 2005-01-28 Lluis Sanchez Gual <[email protected]>
  7. * TemplateControlCompiler.cs: When generating a property value,
  8. check for TypeConverterAttribute in the PropertyInfo, not only in the
  9. property type.
  10. Implemented code generation using InstanceDescriptor, when the type
  11. converter supports conversion to that type.
  12. 2005-01-21 Lluis Sanchez Gual <[email protected]>
  13. * Directive.cs: Added MASTER directive.
  14. * AspGenerator.cs: Use UserControlCompiler for compiling master pages.
  15. * PageCompiler.cs: Set the master file name when generating the page.
  16. * TemplateControlCompiler.cs: When generating the method for a
  17. content holder, register the content holder in the base MasterPage.
  18. Added method for registering a Content control for a MasterPage.
  19. Generate code for Content controls.
  20. 2005-01-10 Lluis Sanchez Gual <[email protected]>
  21. * TemplateControlCompiler.cs: Get the container type from the
  22. template (if it was defined using TemplateContainerAttribute.
  23. 2004-10-29 Gonzalo Paniagua Javier <[email protected]>
  24. * AspGenerator.cs: correctly process script tags that self-closing.
  25. Fixes bug #69657.
  26. 2004-10-27 Gonzalo Paniagua Javier <[email protected]>
  27. * CachingCompiler.cs: when compiling a single .cs file, add the file
  28. itself to dependencies. Fixes bug #68788.
  29. 2004-09-30 Gonzalo Paniagua Javier <[email protected]>
  30. * ControlBuilder.cs: don't close server tags when we get to a closing
  31. tag that is not applied to a server control. Fixes bug #60323.
  32. 2004-09-08 Gonzalo Paniagua Javier <[email protected]>
  33. * WebServiceCompiler.cs: fix buglet in my last commit.
  34. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  35. * BaseCompiler.cs:
  36. * CachingCompiler.cs:
  37. * WebServiceCompiler.cs: correctly cache Type instead of the assembly
  38. for ashx/asmx. Otherwise we need to open the file and check for the
  39. class name in there. Thanks to Ben for pointing this out.
  40. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  41. * AspParser.cs:
  42. * AspTokenizer.cs: prevent quotes from being swallowed when we're
  43. inside a server tag and they are the next non-whitespace character.
  44. Fixes bug #63451.
  45. 2004-09-01 Gonzalo Paniagua Javier <[email protected]>
  46. * CachingCompiler.cs: don't try to watch for changes in system
  47. assemblies. Fixes bug #64871.
  48. 2004-09-01 Gonzalo Paniagua Javier <[email protected]>
  49. * AspGenerator.cs: handle builders that need to process inner text
  50. with tags.
  51. * Location.cs: added setters for the properties.
  52. 2004-08-02 Duncan Mak <[email protected]>
  53. * BuildProviderResultFlags.cs:
  54. * IImplicitResourceProvider.cs:
  55. * ImplicitResourceKey.cs:
  56. * IResourceReader.cs: Added.
  57. 2004-07-21 Gonzalo Paniagua Javier <[email protected]>
  58. * AspGenerator.cs: the path for file was treated as virtual, but it's
  59. physical. Fixes bug #61524.
  60. 2004-07-16 Gonzalo Paniagua Javier <[email protected]>
  61. * AspParser.cs: fixed case-sensitivity issues with #include and its
  62. attributes. Closes #61429.
  63. 2004-07-07 Gonzalo Paniagua Javier <[email protected]>
  64. * BaseCompiler.cs:
  65. * WebServiceCompiler.cs: really create the dlls under DynamicBase
  66. 2004-06-19 Gonzalo Paniagua Javier <[email protected]>
  67. * TemplateControlCompiler.cs: for system colors, use SystemColors class
  68. instead of Color. Fixes bug #60249.
  69. 2004-06-16 Gonzalo Paniagua Javier <[email protected]>
  70. * BaseCompiler.cs: try getting the Type from the cache before doing the
  71. real work. Remove temporary files right after successful compilation.
  72. * CachingCompiler.cs: added GetTypeFromCache.
  73. * UserControlCompiler.cs: nothing interesting.
  74. * WebServiceCompiler.cs: try getting the Type from the cache before
  75. doing anything else. Remove temp files on sucessful compilation.
  76. 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
  77. * AspGenerator.cs:
  78. * CachingCompiler.cs: use a different prefix when caching compiler
  79. results or Types.
  80. 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
  81. * BaseCompiler.cs: dynamicBase is now protected. Check
  82. MONO_ASPNET_NODELETE here.
  83. * TemplateControlCompiler.cs: if the type is not known but has a
  84. TypeConverter, invoke ConvertFromString in the generated code.
  85. * WebServiceCompiler.cs: it used a hardcoded C# compiler, now it gets
  86. the compiler from the configuration. Also handle MONO_ASPNET_NODELETE.
  87. * CachingCompiler.cs: updated compilation of web services and simple
  88. web handlers.
  89. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  90. * CSCompiler.cs: removed.
  91. * CachingCompiler.cs: language independent compilation for single files.
  92. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  93. * BaseCompiler.cs:
  94. * WebServiceCompiler.cs: adapted to the 'new' CachingCompiler.
  95. * CachingCompiler.cs: use HttpRuntime.Cache.
  96. 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
  97. * PageCompiler.cs: fixed Trace and add support for Buffer.
  98. 2004-06-04 Gonzalo Paniagua Javier <[email protected]>
  99. * PageCompiler.cs: override CreateConstructor to add assignment for
  100. ClientTarget.
  101. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  102. * TemplateControlCompiler.cs: use CodeDelegateCreateExpression instead
  103. of CodeObjectCreateExpression for the render method delegate. Thanks
  104. to Jochen Wezel.
  105. 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
  106. * BaseCompiler.cs: use DynamicBase for the output assemblies.
  107. 2004-05-12 Gonzalo Paniagua Javier <[email protected]>
  108. * AspGenerator.cs: ObjectTagBuilder do not override HasBody now.
  109. 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
  110. * AspParser.cs: indent a few lines.
  111. * AspTokenizer.cs: added ungetc() used when we read a '/' in an unquoted
  112. attribute value. This way we can simulate reading 2 characters ahead
  113. (one in ungetc and the other in Peek) and work with values like
  114. text/javascript. Fixes bug #57302.
  115. 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
  116. * AspParser.cs: ignore whitespace after directives. Fixes bug #58057.
  117. 2004-04-02 Lluis Sanchez Gual <[email protected]>
  118. * TemplateControlCompiler.cs: Fixed build for net_1_0 profile.
  119. 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
  120. * GlobalAsaxCompiler.cs: removed Imports and Assemblies properties.
  121. 2004-02-23 Gonzalo Paniagua Javier <[email protected]>
  122. * AspGenerator.cs: error out when <object> server tag is not closed.
  123. Ignore any content inside it.
  124. 2004-02-10 Jackson Harper <[email protected]>
  125. * AspTokenizer.cs: Collect discarded characters that might be used
  126. in client side scripts. Patch by Liyu Liu.
  127. * AspParser.cs: Add discarded characters. Patch by Liyu Liu.
  128. 2004-02-10 Jackson Harper <[email protected]>
  129. * BaseCompiler.cs: Use the TempDirectory for compilation. Fixes
  130. bug #54117.
  131. 2004-01-30 Jackson Harper <[email protected]>
  132. * TemplateControlCompiler.cs: Call ToString on the types hashcode,
  133. the build method takes strings not ints.
  134. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  135. * AspGenerator.cs: handle more possible errors in global.asax file.
  136. * BaseCompiler.cs: added utility methods for creating <object> related
  137. properties and fields.
  138. * GlobalAsaxCompiler.cs: keep around applications and session scope
  139. objects builders. Also a list of imports and assemblies added in
  140. global.asax.
  141. * TemplateControlCompiler.cs: use base class methods for <object> stuff.
  142. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  143. * AspGenerator.cs: use the Cache to store compiled Types. Don't parse
  144. pages more than once. Thanks to Eric Lindvall for pointing this out.
  145. 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
  146. * TemplateControlCompiler.cs: allow handling subproperties for other
  147. types than Style and Font. Fixes bug #53217.
  148. 2004-01-16 Jackson Harper <[email protected]>
  149. * TagAttribute.cs: attributes can be stored as encoded html so we
  150. decode them here.
  151. 2004-01-14 Jackson Harper <[email protected]>
  152. * TemplateControlCompiler.cs: Is a user control is cached and
  153. shared use the controls type hashcode for the GUID so it will be
  154. the same across instances.
  155. 2004-01-13 Jackson Harper <[email protected]>
  156. * TemplateControlCompiler.cs: If an item has the partial caching
  157. attribute build a PartialCachingControl in the parents __Build method.
  158. * BaseCompiler.cs: Add a method for adding class attributes to the
  159. class.
  160. * UserControlCompiler.cs: If caching is enabled on a user control
  161. add the PartialCachingAttribute to it.
  162. 2004-01-12 Gonzalo Paniagua Javier <[email protected]>
  163. * PageCompiler.cs: invoke Request.ValidateInput if required.
  164. 2004-01-03 Gonzalo Paniagua Javier <[email protected]>
  165. * AspGenerator.cs: don't rely on GC to close the files parsed. Fixes bug
  166. #52521. Patch by [email protected].
  167. 2003-12-25 Jackson Harper <[email protected]>
  168. * AspGenerator.cs: Allow scriptlets in javascript. This fixes bug
  169. #52522.
  170. 2003-12-17 Gonzalo Paniagua Javier <[email protected]>
  171. * PageCompiler.cs: assign the ErrorPage property if provided.
  172. 2003-12-15 Jackson Harper <[email protected]>
  173. * PageCompiler.cs: Add Trace and TraceMode to framework initialize
  174. method if they are set.
  175. 2003-12-15 Gonzalo Paniagua Javier <[email protected]>
  176. * AspGenerator.cs: ignore <tbody> when we're inside a server table and
  177. fail when runat="server" is applied to <tbody> with a parse error
  178. instead of waiting for a compilation error. Fixes bug #52157.
  179. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  180. * AspGenerator.cs: basic checking of ID validity. Throw a
  181. ParseException when mixing languages.
  182. 2003-11-30 Gonzalo Paniagua Javier <[email protected]>
  183. * PageCompiler.cs: assign LCID, Culture and/or UICulture in
  184. FrameworInitialize() if provided in @Page.
  185. Fixes bug #51511.
  186. 2003-11-20 Gonzalo Paniagua Javier <[email protected]>
  187. * TemplateControlCompiler.cs: support for expressions of
  188. System.Drawing.Size type. Allow getting Color from comma separated
  189. numbers, which is not allowed by ColorConverter.
  190. This makes http://www.codeproject.com/aspnet/asppopup.asp work.
  191. 2003-11-13 Jackson Harper <[email protected]>
  192. * PageCompiler.cs: Call InitOutputCache when the OutputCache
  193. directive is set.
  194. 2003-11-05 Gonzalo Paniagua Javier <[email protected]>
  195. * AspGenerator.cs: use fileEncoding from configuration files.
  196. * PageCompiler.cs: add assign statements for ContentType,
  197. ResponseEncoding and CodePage if supplied.
  198. 2003-10-21 Gonzalo Paniagua Javier <[email protected]>
  199. * TemplateControlCompiler.cs: fix bug #42994. Now we don't generate
  200. a return statement for user controls with 'void' return type.
  201. 2003-10-19 Gonzalo Paniagua Javier <[email protected]>
  202. * AspParser.cs: fixed bug #49627.
  203. 2003-10-14 Gonzalo Paniagua Javier <[email protected]>
  204. * BaseCompiler.cs: now gets the CodeCompiler from configuration files.
  205. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  206. * Directive.cs: new attribute for @Page directive in 1.1.
  207. 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
  208. * AspParser.cs:
  209. * TagAttributes.cs: allow duplicated runat=server attributes and display
  210. error page when duplicated attributes and runat is specified.
  211. 2003-10-10 Gonzalo Paniagua Javier <[email protected]>
  212. * AspTokenizer.cs: moved token numbers above unicode.
  213. 2003-09-22 Gonzalo Paniagua Javier <[email protected]>
  214. * AspGenerator.cs: don't process code render tags inside scripts. Check
  215. the language of the script and treat javascript as verbatim input.
  216. Fixes bug #48592.
  217. 2003-09-19 Gonzalo Paniagua Javier <[email protected]>
  218. * TemplateControlCompiler.cs: fixed bug #48212.
  219. 2003-09-18 Gonzalo Paniagua Javier <[email protected]>
  220. * WebServiceCompiler.cs: remove the temporary files here too.
  221. 2003-08-03 Gonzalo Paniagua Javier <[email protected]>
  222. * AspGenerator.cs: fixed bug #46429.
  223. 2003-08-01 Gonzalo Paniagua Javier <[email protected]>
  224. * Directive.cs: support @WebHandler.
  225. 2003-07-16 Gonzalo Paniagua Javier <[email protected]>
  226. * TemplateControlCompiler.cs: support string []. Fixes bug #46415.
  227. 2003-07-08 Gonzalo Paniagua Javier <[email protected]>
  228. * BaseCompiler.cs: first look for cached items, then generate the tree.
  229. This should speed things up.
  230. * CachingCompiler.cs: when compiling web services, use the full path of
  231. the .asmx file as key when caching.
  232. * WebServiceCompiler.cs: first look for cached items, then generate
  233. the source file.
  234. 2003-07-04 Gonzalo Paniagua Javier <[email protected]>
  235. * AspParser.cs: more useful error information,
  236. * BaseCompiler.cs:
  237. * CachingCompiler.cs: honor the debug="true" option.
  238. * TemplateControlCompiler.cs: small fixes for templates.
  239. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  240. * BaseCompiler.cs: made Compiler property virtual.
  241. * CachingCompiler.cs: added support for compiling web services.
  242. * WebServiceCompiler.cs: implemented.
  243. 2003-05-22 Gonzalo Paniagua Javier <[email protected]>
  244. * CachingCompiler.cs: fixed bug #43477.
  245. 2003-05-22 Gonzalo Paniagua Javier <[email protected]>
  246. * AspParser.cs:
  247. * AspTokenizer.cs: fixed bugs #43206 and #43371.
  248. 2003-05-10 Gonzalo Paniagua Javier <[email protected]>
  249. * TemplateControlCompiler.cs: duh! Generate SupportAutoEvents instead
  250. of AutoEventWireup (which is internal). Thanks to Stuart Ballard for
  251. reporting.
  252. 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
  253. * CompilationException.cs: don't add duplicated lines in the case that
  254. mcs reports several errors for the same one.
  255. 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
  256. * AspGenerator.cs: fully support including files, ie., treat them just
  257. as C treats #includes.
  258. 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
  259. * AspGenerator.cs:
  260. * AspParser.cs:
  261. * TagType.cs: Added support for server side includes.
  262. 2003-05-03 Gonzalo Paniagua Javier <[email protected]>
  263. * CSCompiler.cs: actually add the list of referenced assemblies to the
  264. compiler options. Throw a CompilationException if there's an error.
  265. * CachingCompiler.cs: added a method to compile directly from a source
  266. file.
  267. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  268. * AspGenerator.cs: copy the location before setting the value for the
  269. control builders.
  270. * BaseCompiler.cs: changed parameters for CompilationException.
  271. * CompilationException.cs: it takes now line numbers and error
  272. descriptions from the CompilerErrorCollection.
  273. * Location.cs: used when a copy of an ILocation is needed.
  274. * ParseException.cs: implemented new methods to provide line numbers
  275. and souce file.
  276. * TemplateControlCompiler.cs: throw a ParseException where appropiate.
  277. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  278. * AspGenerator.cs: also support data bind syntax inside tags not
  279. processed as controls. Added debugging method.
  280. * TemplateControlCompiler.cs: reset the number of data binding handlers
  281. in the proper place. Small fix when getting the container type.
  282. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  283. * TemplateControlCompiler.cs: correctly set the TemplateSourceDirectory
  284. value.
  285. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  286. * AspGenerator.cs: handle code render syntax in tag attributes.
  287. * AspParser.cs: the constructor now takes a TextReader.
  288. * TemplateControlCompiler.cs: removed comment.
  289. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  290. * TemplateControlCompiler.cs: added support for data bound properties.
  291. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  292. * AspComponentFoundry.cs: simplified it a lot by using Type and Assembly
  293. instead of their names.
  294. * AspElements.cs: removed. No longer needed.
  295. * AspGenerator.cs: this file is now in charge of interfacing between
  296. the parser and the compiler. It manages the creation of the
  297. ControlBuilder tree and the compilation of the CodeDOM tree.
  298. * AspParser.cs: tag handling is simpler now. Instead of a whole bunch
  299. of different Types, tags are just and id and a set of attributes.
  300. Implement ILocation interface.
  301. * AspTokenizer.cs: added a few methods to help the parser implementing
  302. ILocation.
  303. * BaseCompiler.cs: handles the portions of the CodeDOM tree that are
  304. common to appliaction, page and user control, including the actual
  305. compilation and error handling.
  306. * CSCompiler.cs: compiles C# files using CodeDOM interfaces.
  307. * CachingCompiler.cs: simplified to use the new interfaces.
  308. * CompilationException.cs: it's now using CompilationResult to report
  309. errors.
  310. * CompilationResult.cs: Removed file.
  311. * Directive.cs: to check for the validity of a directive.
  312. * GlobalAsaxCompiler.cs: simplified a lot, as most of the work is done
  313. in BaseCompiler.
  314. * ILocation.cs: interface used to now the exact place where a parse
  315. error happens.
  316. * PageCompiler.cs: generates a couple of methods that are only used in
  317. pages.
  318. * ParseException.cs: use the ILocation interface.
  319. * TagAttributes.cs: handles the attributes of the tags parsed.
  320. * TagType.cs: an enum for the different kinds of tags.
  321. * TemplateControlCompiler.cs: this is the one that does most of the
  322. conversion from teh ControlBuilder tree into a CodeDOM tree.
  323. * UserControlCompiler.cs: simplified as most of the work is done in
  324. its base classes.
  325. * WebServiceCompiler.cs: dummy.
  326. 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
  327. * AspComponentFoundry.cs: added GetComponentType method.
  328. 2003-03-28 Gonzalo Paniagua Javier <[email protected]>
  329. * AspTokenizer.cs: allow quotes inside server tags that are part of
  330. attribute values.
  331. * CachingCompiler.cs: no more 'FileNotFound' exceptions when the
  332. compilation fails.
  333. 2003-03-27 Gonzalo Paniagua Javier <[email protected]>
  334. * AspGenerator.cs: generate correct appbase path. It was working with
  335. mcs but not with csc.
  336. * BaseCompiler.cs: quote arguments and removed GetRandomFileName.
  337. * CachingCompiler.cs: quote source file.
  338. 2003-03-26 Gonzalo Paniagua Javier <[email protected]>
  339. * AspGenerator.cs: now the Inherits attribute works as expected for
  340. global.asax file.
  341. 2003-03-24 Gonzalo Paniagua Javier <[email protected]>
  342. * CompilationException.cs:
  343. * ParseException.cs: display the correct line number in error messages.
  344. * AspElements.cs: added TargetSchema attribute for control. It's
  345. ignored.
  346. 2003-03-17 Gonzalo Paniagua Javier <[email protected]>
  347. * BaseCompiler.cs: fixed the hack to work under windows.
  348. * CachingCompiler.cs: under windows, try 'mcs.bat' and then 'mcs'.
  349. 2003-03-17 Gonzalo Paniagua Javier <[email protected]>
  350. * BaseCompiler.cs: hacks to work-around our buggy System.Uri.
  351. 2003-03-17 George Kodinov <[email protected]>
  352. * BaseCompiler.cs: Removed a FIXME: and added a correct calculation of
  353. app's private bin path
  354. 2003-03-10 Gonzalo Paniagua Javier <[email protected]>
  355. * AspGenerator.cs:
  356. * BaseCompiler.cs:
  357. * CachingCompiler.cs:
  358. * CompilationResult.cs:
  359. * GlobalAsaxCompiler.cs:
  360. * PageCompiler.cs:
  361. * UserControlCompiler.cs: recompile the page if dependencies change.
  362. 2003-02-15 Gonzalo Paniagua Javier <[email protected]>
  363. * AspGenerator.cs: corrected typo and wrong fix.
  364. 2003-02-14 Gonzalo Paniagua Javier <[email protected]>
  365. * AspGenerator.cs: fixed code generation for Table/TableRow/TableCell
  366. when used explicitly.
  367. 2003-02-13 Gonzalo Paniagua Javier <[email protected]>
  368. * AspElements.cs: get the property Type for controls that use
  369. ParseChildren with a property name.
  370. * AspGenerator.cs: generate correct signature for the method that
  371. adds controls to the default property in ParseChildren.
  372. 2003-02-11 Gonzalo Paniagua Javier <[email protected]>
  373. * AspGenerator.cs: rethrow exceptions that may come from parsing or
  374. compilation if a user control.
  375. 2003-02-11 Gonzalo Paniagua Javier <[email protected]>
  376. * AspGenerator.cs: throw ParseException on parse
  377. error.
  378. * AspParser.cs: added Line and Column props.
  379. * CompilationException.cs: derives now from HtmlizedException.
  380. * CompilationResult.cs: added fileName field. Fixed set_ExitCode.
  381. * GlobalAsaxCompiler.cs:
  382. * PageCompiler.cs:
  383. * UserControlCompiler.cs: pass the file name in the CompilationResult.
  384. * ParseException.cs: new exception.
  385. 2003-02-05 Gonzalo Paniagua Javier <[email protected]>
  386. * AspGenerator.cs: remove "file://" from the private bin path. Fixes
  387. bug #37628.
  388. 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
  389. * AspParser.cs: the parser fires events when it parses an element.
  390. * GlobalAsaxCompiler.cs:
  391. * PageCompiler.cs:
  392. * UserControlCompiler.cs:
  393. * AspElements.cs: modified to use the new parser interface.
  394. * AspGenerator.cs: modified to use the new parser. Merge multiple text
  395. strings into one single LiteralControl.
  396. * AspTokenizer.cs: added Line and Column properties.
  397. 2003-01-24 Gonzalo Paniagua Javier <[email protected]>
  398. * AspParser.cs: fixed bug #36929.
  399. 2003-01-21 Tim Haynes <[email protected]>
  400. * AspGenerator.cs:
  401. * BaseCompiler.cs:
  402. * CachingCompiler.cs: changes to work around spaces and
  403. directory-separators in the local filesystem.
  404. 2003-01-20 Gonzalo Paniagua Javier <[email protected]>
  405. * AspGenerator.cs: make the generated file compile with csc after last
  406. change.
  407. 2003-01-20 Gonzalo Paniagua Javier <[email protected]>
  408. * AspGenerator.cs: removed unused variable. Added support for
  409. properties/fields of type string [].
  410. 2003-01-16 Gonzalo Paniagua Javier <[email protected]>
  411. * AspGenerator.cs: modified loading of the parent type now that
  412. Type.GetType is fixed.
  413. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  414. * AspGenerator.cs: cast to Control if the container does not implement
  415. INamingContainer.
  416. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  417. * AspGenerator.cs: fixed a couple of thinkos related to IsSubclassOf.
  418. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  419. * AspElements.cs: attributes without value lacked a space afterwards.
  420. 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
  421. * AspGenerator.cs: functions for columns don't return anything. Fixed
  422. typo.
  423. 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
  424. * AspGenerator.cs: add data bound controls to code render function.
  425. 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
  426. * AspComponentFoundry.cs: reworked to allow same prefix for multiple
  427. controls. You can register 1 assembly plus any number of user controls
  428. under the same prefix.
  429. * AspGenerator.cs: don't add duplicate 'using' for the same namespace.
  430. Hack to allow @Register access to assemblies in other places than bin
  431. directory.
  432. 2003-01-06 Gonzalo Paniagua Javier <[email protected]>
  433. * AspElements.cs: added 'codebehind' attribute for page, control and
  434. application. It's ignored by MS, but allowed. Fixed typo.
  435. 2003-01-06 Gonzalo Paniagua Javier <[email protected]>
  436. * AspGenerator.cs: fixed EnableSesssionState handling.
  437. 2003-01-05 Gonzalo Paniagua Javier <[email protected]>
  438. * AspGenerator.cs: don't generate instance fields for pages/controls
  439. when the base class specified in the Inherits attribute already has
  440. them. Closes bug #36262.
  441. 2002-12-19 Gonzalo Paniagua Javier <[email protected]>
  442. * AspGenerator.cs: generate code like 'control.XXX = value' also for
  443. public fields (properties were being handled in that way too).
  444. 2002-12-18 Gonzalo Paniagua Javier <[email protected]>
  445. * AspGenerator.cs: now it uses the current HttpContext when creating
  446. user controls. TemplateSourceDirectory is no longer a dummy value.
  447. * GlobalAsaxCompiler.cs:
  448. * PageCompiler.cs:
  449. * UserControlCompiler.cs: set the context which will be used to locate
  450. the files.
  451. 2002-12-13 Gonzalo Paniagua Javier <[email protected]>
  452. * AspGenerator.cs: added support for AutoEventWireup attribute in
  453. @Page and @Control.
  454. * CompilationResult.cs:
  455. * GlobalAsaxCompiler.cs:
  456. * PageCompiler.cs:
  457. * UserControlCompiler.cs: store the options.
  458. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  459. * AspElements.cs: new method Tag.GetElements
  460. used to parse the inner contents of a tag looking for data binding or
  461. code render tags.
  462. New property HtmlControlTag.ParseChildren allows
  463. differentiation of a couple of HtmlControls that has children as
  464. properties (namely HtmlTable and HtmlTableRow).
  465. * AspGenerator.cs: fixed container semantics to
  466. match BindingContainer one. Implemented Inherits attribute for page and
  467. control.
  468. Support HtmlControls that has ChildrenAsProperties.
  469. Generate code for data binding functions that matches the semantic of
  470. Container.
  471. Handle data bound and code render attribute values.
  472. Set proper value return for TemplateSourceDirectory. Should be relative
  473. to appPath.
  474. * BaseCompiler.cs: moved CompilerOptions and
  475. References handling here.
  476. * CachingCompiler.cs: copy result of compilation.
  477. * CompilationException.cs: simple ToString () implementation.
  478. * CompilationResult.cs: implemented CopyFrom and ToString.
  479. * GlobalAsaxCompiler.cs:
  480. * PageCompiler.cs:
  481. * UserControlCompiler.cs: removed CompilerOptions as it's now handled
  482. in the base class. Get all the types in the generated assembly and
  483. look for one that derives from the correct Type.
  484. 2002-11-30 Gonzalo Paniagua Javier <[email protected]>
  485. * AspElements.cs: added @Application directive.
  486. * AspGenerator.cs: make it work also with application files. We
  487. currently generate an extra private function.
  488. 2002-11-29 Gonzalo Paniagua Javier <[email protected]>
  489. * GlobalAsaxCompiler.cs: compiler for global.asax file. If the file
  490. exists, it will be compiled into an HttpApplication derived class
  491. (directly or through a user-provided class).
  492. 2002-11-27 Gonzalo Paniagua Javier <[email protected]>
  493. * AspGenerator.cs: fixed target file name and generated class name.
  494. * BaseCompiler.cs: reference assemblies in PrivateBinPath.
  495. 2002-11-26 Gonzalo Paniagua Javier <[email protected]>
  496. * AspGenerator.cs: reworked user control
  497. compilation. Provide the options as a Hashtable for use in compilation.
  498. Create the user controls in the private bin path of the domain.
  499. * BaseCompiler.cs: base class for the various compiler types.
  500. * CachingCompiler.cs: actually executes mcs and do some poor caching
  501. (it will use Cache when finished).
  502. * CompilationException.cs: this exception has enough information to
  503. generate a nice error page.
  504. * CompilationResult.cs: used in caching.
  505. * PageCompiler.cs: now derives from BaseCompiler
  506. * TemplateFactory.cs: no longer needed.
  507. * UserControlCompiler.cs: new class used when compiling user controls.
  508. * WebServiceCompiler.cs: derives from BaseCompiler.
  509. 2002-11-13 Gonzalo Paniagua Javier <[email protected]>
  510. * AspElements.cs: added ServerComment class.
  511. * AspParser.cs: ignore ServerComments tags. Remove server comments when
  512. in verbatim mode.
  513. Fixes #33482.
  514. * PageCompiler.cs: check if the type is already cached before generating
  515. the C# file.
  516. * TemplateFactory.cs: if csFile parameter is null, only checks if we
  517. already have the page compiled.
  518. 2002-11-02 Gonzalo Paniagua Javier <[email protected]>
  519. * AspGenerator.cs: undo one-liner change.
  520. 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
  521. * AspGenerator.cs: removed a few hacks no longer needed.
  522. 2002-10-27 Gonzalo Paniagua Javier <[email protected]>
  523. * PageCompiler.cs: tracing.
  524. * TemplateFactory.cs: cache compiled types and tracing.
  525. * WebServiceCompiler.cs: new parameter in GetTypeFromsource,
  526. 2002-10-23 Gonzalo Paniagua Javier <[email protected]>
  527. * AspComponentFoundry.cs: fixed typo.
  528. * TemplateFactory.cs: use csc style options.
  529. * AspGenerator.cs: don't use FileDependencies property of base class.
  530. 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
  531. * System.Web.Compilation/AspElements.cs:
  532. * System.Web.Compilation/AspGenerator.cs:
  533. * System.Web.Compilation/AspParser.cs:
  534. * System.Web.Compilation/PageCompiler.cs:
  535. * System.Web.Compilation/TemplateFactory.cs: we are now able to compile
  536. pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
  537. 2002-09-11 Gonzalo Paniagua Javier <[email protected]>
  538. * AspElements.cs: added WebService directive.
  539. * WebServiceCompiler.cs: New file.
  540. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  541. * PageCompiler.cs: fixed compilation.
  542. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  543. * PageCompiler.cs: generate C# file using AspGenerator.
  544. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  545. * AspComponentFoundry.cs: LookupFoundry now returns bool.
  546. * AspGenerator.cs: New file.
  547. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  548. * AspComponentFoundry.cs: New file.
  549. * AspElements.cs: renamed Component to Aspcomponent.
  550. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  551. * AspElements.cs:
  552. * AspParser.cs:
  553. * AspTokenizer.cs:
  554. * ChangeLog:
  555. * PageCompiler.cs:
  556. * TemplateFactory.cs: first steps to move xsp into System.Web.