ChangeLog 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. 2003-03-27 Gonzalo Paniagua Javier <[email protected]>
  2. * AspGenerator.cs: generate correct appbase path. It was working with
  3. mcs but not with csc.
  4. * BaseCompiler.cs: quote arguments and removed GetRandomFileName.
  5. * CachingCompiler.cs: quote source file.
  6. 2003-03-26 Gonzalo Paniagua Javier <[email protected]>
  7. * AspGenerator.cs: now the Inherits attribute works as expected for
  8. global.asax file.
  9. 2003-03-24 Gonzalo Paniagua Javier <[email protected]>
  10. * CompilationException.cs:
  11. * ParseException.cs: display the correct line number in error messages.
  12. * AspElements.cs: added TargetSchema attribute for control. It's
  13. ignored.
  14. 2003-03-17 Gonzalo Paniagua Javier <[email protected]>
  15. * BaseCompiler.cs: fixed the hack to work under windows.
  16. * CachingCompiler.cs: under windows, try 'mcs.bat' and then 'mcs'.
  17. 2003-03-17 Gonzalo Paniagua Javier <[email protected]>
  18. * BaseCompiler.cs: hacks to work-around our buggy System.Uri.
  19. 2003-03-17 George Kodinov <[email protected]>
  20. * BaseCompiler.cs: Removed a FIXME: and added a correct calculation of
  21. app's private bin path
  22. 2003-03-10 Gonzalo Paniagua Javier <[email protected]>
  23. * AspGenerator.cs:
  24. * BaseCompiler.cs:
  25. * CachingCompiler.cs:
  26. * CompilationResult.cs:
  27. * GlobalAsaxCompiler.cs:
  28. * PageCompiler.cs:
  29. * UserControlCompiler.cs: recompile the page if dependencies change.
  30. 2003-02-15 Gonzalo Paniagua Javier <[email protected]>
  31. * AspGenerator.cs: corrected typo and wrong fix.
  32. 2003-02-14 Gonzalo Paniagua Javier <[email protected]>
  33. * AspGenerator.cs: fixed code generation for Table/TableRow/TableCell
  34. when used explicitly.
  35. 2003-02-13 Gonzalo Paniagua Javier <[email protected]>
  36. * AspElements.cs: get the property Type for controls that use
  37. ParseChildren with a property name.
  38. * AspGenerator.cs: generate correct signature for the method that
  39. adds controls to the default property in ParseChildren.
  40. 2003-02-11 Gonzalo Paniagua Javier <[email protected]>
  41. * AspGenerator.cs: rethrow exceptions that may come from parsing or
  42. compilation if a user control.
  43. 2003-02-11 Gonzalo Paniagua Javier <[email protected]>
  44. * AspGenerator.cs: throw ParseException on parse
  45. error.
  46. * AspParser.cs: added Line and Column props.
  47. * CompilationException.cs: derives now from HtmlizedException.
  48. * CompilationResult.cs: added fileName field. Fixed set_ExitCode.
  49. * GlobalAsaxCompiler.cs:
  50. * PageCompiler.cs:
  51. * UserControlCompiler.cs: pass the file name in the CompilationResult.
  52. * ParseException.cs: new exception.
  53. 2003-02-05 Gonzalo Paniagua Javier <[email protected]>
  54. * AspGenerator.cs: remove "file://" from the private bin path. Fixes
  55. bug #37628.
  56. 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
  57. * AspParser.cs: the parser fires events when it parses an element.
  58. * GlobalAsaxCompiler.cs:
  59. * PageCompiler.cs:
  60. * UserControlCompiler.cs:
  61. * AspElements.cs: modified to use the new parser interface.
  62. * AspGenerator.cs: modified to use the new parser. Merge multiple text
  63. strings into one single LiteralControl.
  64. * AspTokenizer.cs: added Line and Column properties.
  65. 2003-01-24 Gonzalo Paniagua Javier <[email protected]>
  66. * AspParser.cs: fixed bug #36929.
  67. 2003-01-21 Tim Haynes <[email protected]>
  68. * AspGenerator.cs:
  69. * BaseCompiler.cs:
  70. * CachingCompiler.cs: changes to work around spaces and
  71. directory-separators in the local filesystem.
  72. 2003-01-20 Gonzalo Paniagua Javier <[email protected]>
  73. * AspGenerator.cs: make the generated file compile with csc after last
  74. change.
  75. 2003-01-20 Gonzalo Paniagua Javier <[email protected]>
  76. * AspGenerator.cs: removed unused variable. Added support for
  77. properties/fields of type string [].
  78. 2003-01-16 Gonzalo Paniagua Javier <[email protected]>
  79. * AspGenerator.cs: modified loading of the parent type now that
  80. Type.GetType is fixed.
  81. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  82. * AspGenerator.cs: cast to Control if the container does not implement
  83. INamingContainer.
  84. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  85. * AspGenerator.cs: fixed a couple of thinkos related to IsSubclassOf.
  86. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  87. * AspElements.cs: attributes without value lacked a space afterwards.
  88. 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
  89. * AspGenerator.cs: functions for columns don't return anything. Fixed
  90. typo.
  91. 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
  92. * AspGenerator.cs: add data bound controls to code render function.
  93. 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
  94. * AspComponentFoundry.cs: reworked to allow same prefix for multiple
  95. controls. You can register 1 assembly plus any number of user controls
  96. under the same prefix.
  97. * AspGenerator.cs: don't add duplicate 'using' for the same namespace.
  98. Hack to allow @Register access to assemblies in other places than bin
  99. directory.
  100. 2003-01-06 Gonzalo Paniagua Javier <[email protected]>
  101. * AspElements.cs: added 'codebehind' attribute for page, control and
  102. application. It's ignored by MS, but allowed. Fixed typo.
  103. 2003-01-06 Gonzalo Paniagua Javier <[email protected]>
  104. * AspGenerator.cs: fixed EnableSesssionState handling.
  105. 2003-01-05 Gonzalo Paniagua Javier <[email protected]>
  106. * AspGenerator.cs: don't generate instance fields for pages/controls
  107. when the base class specified in the Inherits attribute already has
  108. them. Closes bug #36262.
  109. 2002-12-19 Gonzalo Paniagua Javier <[email protected]>
  110. * AspGenerator.cs: generate code like 'control.XXX = value' also for
  111. public fields (properties were being handled in that way too).
  112. 2002-12-18 Gonzalo Paniagua Javier <[email protected]>
  113. * AspGenerator.cs: now it uses the current HttpContext when creating
  114. user controls. TemplateSourceDirectory is no longer a dummy value.
  115. * GlobalAsaxCompiler.cs:
  116. * PageCompiler.cs:
  117. * UserControlCompiler.cs: set the context which will be used to locate
  118. the files.
  119. 2002-12-13 Gonzalo Paniagua Javier <[email protected]>
  120. * AspGenerator.cs: added support for AutoEventWireup attribute in
  121. @Page and @Control.
  122. * CompilationResult.cs:
  123. * GlobalAsaxCompiler.cs:
  124. * PageCompiler.cs:
  125. * UserControlCompiler.cs: store the options.
  126. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  127. * AspElements.cs: new method Tag.GetElements
  128. used to parse the inner contents of a tag looking for data binding or
  129. code render tags.
  130. New property HtmlControlTag.ParseChildren allows
  131. differentiation of a couple of HtmlControls that has children as
  132. properties (namely HtmlTable and HtmlTableRow).
  133. * AspGenerator.cs: fixed container semantics to
  134. match BindingContainer one. Implemented Inherits attribute for page and
  135. control.
  136. Support HtmlControls that has ChildrenAsProperties.
  137. Generate code for data binding functions that matches the semantic of
  138. Container.
  139. Handle data bound and code render attribute values.
  140. Set proper value return for TemplateSourceDirectory. Should be relative
  141. to appPath.
  142. * BaseCompiler.cs: moved CompilerOptions and
  143. References handling here.
  144. * CachingCompiler.cs: copy result of compilation.
  145. * CompilationException.cs: simple ToString () implementation.
  146. * CompilationResult.cs: implemented CopyFrom and ToString.
  147. * GlobalAsaxCompiler.cs:
  148. * PageCompiler.cs:
  149. * UserControlCompiler.cs: removed CompilerOptions as it's now handled
  150. in the base class. Get all the types in the generated assembly and
  151. look for one that derives from the correct Type.
  152. 2002-11-30 Gonzalo Paniagua Javier <[email protected]>
  153. * AspElements.cs: added @Application directive.
  154. * AspGenerator.cs: make it work also with application files. We
  155. currently generate an extra private function.
  156. 2002-11-29 Gonzalo Paniagua Javier <[email protected]>
  157. * GlobalAsaxCompiler.cs: compiler for global.asax file. If the file
  158. exists, it will be compiled into an HttpApplication derived class
  159. (directly or through a user-provided class).
  160. 2002-11-27 Gonzalo Paniagua Javier <[email protected]>
  161. * AspGenerator.cs: fixed target file name and generated class name.
  162. * BaseCompiler.cs: reference assemblies in PrivateBinPath.
  163. 2002-11-26 Gonzalo Paniagua Javier <[email protected]>
  164. * AspGenerator.cs: reworked user control
  165. compilation. Provide the options as a Hashtable for use in compilation.
  166. Create the user controls in the private bin path of the domain.
  167. * BaseCompiler.cs: base class for the various compiler types.
  168. * CachingCompiler.cs: actually executes mcs and do some poor caching
  169. (it will use Cache when finished).
  170. * CompilationException.cs: this exception has enough information to
  171. generate a nice error page.
  172. * CompilationResult.cs: used in caching.
  173. * PageCompiler.cs: now derives from BaseCompiler
  174. * TemplateFactory.cs: no longer needed.
  175. * UserControlCompiler.cs: new class used when compiling user controls.
  176. * WebServiceCompiler.cs: derives from BaseCompiler.
  177. 2002-11-13 Gonzalo Paniagua Javier <[email protected]>
  178. * AspElements.cs: added ServerComment class.
  179. * AspParser.cs: ignore ServerComments tags. Remove server comments when
  180. in verbatim mode.
  181. Fixes #33482.
  182. * PageCompiler.cs: check if the type is already cached before generating
  183. the C# file.
  184. * TemplateFactory.cs: if csFile parameter is null, only checks if we
  185. already have the page compiled.
  186. 2002-11-02 Gonzalo Paniagua Javier <[email protected]>
  187. * AspGenerator.cs: undo one-liner change.
  188. 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
  189. * AspGenerator.cs: removed a few hacks no longer needed.
  190. 2002-10-27 Gonzalo Paniagua Javier <[email protected]>
  191. * PageCompiler.cs: tracing.
  192. * TemplateFactory.cs: cache compiled types and tracing.
  193. * WebServiceCompiler.cs: new parameter in GetTypeFromsource,
  194. 2002-10-23 Gonzalo Paniagua Javier <[email protected]>
  195. * AspComponentFoundry.cs: fixed typo.
  196. * TemplateFactory.cs: use csc style options.
  197. * AspGenerator.cs: don't use FileDependencies property of base class.
  198. 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
  199. * System.Web.Compilation/AspElements.cs:
  200. * System.Web.Compilation/AspGenerator.cs:
  201. * System.Web.Compilation/AspParser.cs:
  202. * System.Web.Compilation/PageCompiler.cs:
  203. * System.Web.Compilation/TemplateFactory.cs: we are now able to compile
  204. pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
  205. 2002-09-11 Gonzalo Paniagua Javier <[email protected]>
  206. * AspElements.cs: added WebService directive.
  207. * WebServiceCompiler.cs: New file.
  208. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  209. * PageCompiler.cs: fixed compilation.
  210. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  211. * PageCompiler.cs: generate C# file using AspGenerator.
  212. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  213. * AspComponentFoundry.cs: LookupFoundry now returns bool.
  214. * AspGenerator.cs: New file.
  215. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  216. * AspComponentFoundry.cs: New file.
  217. * AspElements.cs: renamed Component to Aspcomponent.
  218. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  219. * AspElements.cs:
  220. * AspParser.cs:
  221. * AspTokenizer.cs:
  222. * ChangeLog:
  223. * PageCompiler.cs:
  224. * TemplateFactory.cs: first steps to move xsp into System.Web.