ChangeLog 36 KB

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