ChangeLog 37 KB

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