ChangeLog 27 KB

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