2
0

ChangeLog 14 KB

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