ChangeLog 27 KB

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