ChangeLog 31 KB

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