ChangeLog 33 KB

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