ChangeLog 27 KB

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