ChangeLog 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632
  1. 2006-12-10 Igor Zelmanovich <[email protected]>
  2. * ThemeDirectoryCompiler.cs: refactoring.
  3. 2006-11-28 Marek Habersack <[email protected]>
  4. * BuildManager.cs: Add an internal property to signal whether or
  5. not we have any resources from App_{Global,Local}Resources
  6. * AspGenerator.cs: Register controls from
  7. system.web/pages/controls collection before parsing.
  8. * AppResourcesCompiler.cs: Let the build process know if we have
  9. compiled any resources from App_{Global,Local}Resources
  10. 2006-11-27 Marek Habersack <[email protected]>
  11. * CachingCompiler.cs: Automatically reference App_Code
  12. assemblies.
  13. * AppCodeCompiler.cs: Add ~/bin/*.dll to the referenced assemblies
  14. when compiling.
  15. 2006-11-25 Marek Habersack <[email protected]>
  16. * AppResourcesCompiler.cs: small optimizations.
  17. * AppResourceFilesCompiler.cs: small optimizations.
  18. 2006-11-21 Gonzalo Paniagua Javier <[email protected]>
  19. * WebServiceCompiler.cs: add the type to the cache after getting it
  20. from the compiled assembly.
  21. 2006-11-20 Marek Habersack <[email protected]>
  22. * AppCodeCompiler.cs: Reference assemblies listed in
  23. system.web/compilation/assemblies.
  24. Don't create empty assemblies.
  25. 2006-11-19 Igor Zelmanovich <[email protected]>
  26. * TemplateControlCompiler.cs: fixed:
  27. When <%# Bind(...) %>-expression is used more then once for same control
  28. The variable associated with this control is declared only once.
  29. 2006-11-18 Marek Habersack <[email protected]>
  30. * AppResourceFilesCompiler.cs: Fixed an exception thrown when
  31. files with names like File.resources or File.resx are found in the
  32. resource directories.
  33. 2006-11-16 Marek Habersack <[email protected]>
  34. * ForceCopyBuildProvider.cs: Added the build provider for
  35. copy-only files.
  36. * MasterPageBuildProvider.cs: Added the build provider for Master
  37. Pages.
  38. * IgnoreFileBuildProvider.cs: Make the class sealed.
  39. * AppCodeCompiler.cs: Fixed BuildProvider creation for a path. Now
  40. correctly uses the BuildProviderCollection to retrieve the
  41. appropriate builder and maps the physical input file path into
  42. application relative path when setting the virtual path of the
  43. build provider.
  44. 2006-11-13 Marek Habersack <[email protected]>
  45. * AssemblyBuilder.cs: Added referenced assemblies support. Added a
  46. constructor with just the CodeDomProvider argument. CreateCodeFile
  47. now uses the code provider's file extension. Added internal method
  48. to add pre-generated source code files. Added a BuildAssembly
  49. overload that takes no virtual path as the
  50. parameter. BuildAssembly now uses an array of source files instead
  51. of compile units and also handles embedded resources and
  52. referenced assemblies. BuildAssembly deletes the temporary files
  53. if MONO_ASPNET_NODELET isn't set in the environment.
  54. * AppCodeCompiler.cs: Use the FileUtils methods for temporary file
  55. creation. Use the build providers collection to build unknown
  56. files in App_Code. Use AssemblyBuilder to compile the assembly.
  57. * AppResourceFilesCompiler.cs: Use the FileUtils methods for
  58. temporary file creation.
  59. * WebHandlerBuildProvider.cs: Added the BuildProviderAppliesTo
  60. attribute.
  61. * UserControlBuildProvider.cs: Added the BuildProviderAppliesTo
  62. attribute.
  63. * PageBuildProvider.cs: Added the BuildProviderAppliesTo
  64. attribute.
  65. * WebServiceBuildProvider.cs: Added the BuildProviderAppliesTo
  66. attribute.
  67. * IgnoreFileBuildProvider.cs: Added the BuildProviderAppliesTo
  68. attribute.
  69. 2006-11-08 Marek Habersack <[email protected]>
  70. * BuildProvider.cs: Implemented the GetCustomString
  71. method. Removed the necessity to retrieve the CompilationSection
  72. twice when GetDefaultCompilerType is called.
  73. * AppResourcesCompiler.cs: Added resource compiler results
  74. handling.
  75. * AppCodeCompiler.cs: The App_Code compiler classes
  76. * BuildManager.cs: Implement the CodeAssemblies property.
  77. Added an internal TopLevelTypes property to be used in the custom
  78. GetType methods. Implemented the GetCompiledCustomString method.
  79. Implemented the GetType method overloads. Implemented the
  80. GetVirtualPathDependencies method.
  81. * BaseCompiler.cs: Reference the assemblies from App_Code, if any
  82. 2006-10-18 Marek Habersack <[email protected]>
  83. * TemplateControlCompiler.cs: add support for resource
  84. expressions in tag attributes.
  85. * ResourceExpressionBuilder.cs: add support for resource
  86. expressions in tag attributes.
  87. * BaseCompiler.cs: add global/local resource assemblies to
  88. compilation references, if present.
  89. * AppResourcesCompiler.cs: global/local resources compiler.
  90. * AppResourceFilesCompiler.cs: compiler of resource files.
  91. 2006-10-03 Igor Zelmanovich <[email protected]>
  92. * TemplateControlCompiler.cs: fixed: Bind functions (Data-Binding Syntax).
  93. At run time, the Bind method calls the Eval method, if there is DataItem
  94. != null to bind to.
  95. If there is DataItem == null (like InsertItemTemplate in FormView) Bind
  96. method don't raise exception and works properly to extract data from
  97. bounded controls on postback.
  98. 2006-09-20 Gonzalo Paniagua Javier <[email protected]>
  99. * AspGenerator.cs: if we are tracking non-server tags for
  100. well-formedness, handle tags that do not need to be closed (br, img,...)
  101. Fixes bug #79437.
  102. 2006-09-18 Gonzalo Paniagua Javier <[email protected]>
  103. * PageCompiler.cs: support the EnableEventValidation attribute.
  104. 2006-09-08 Gonzalo Paniagua Javier <[email protected]>
  105. * AspGenerator.cs: after parsing an include file, don't error out if we
  106. still have opened tags unless this was the last file to parse. Fixes
  107. bug #79318.
  108. 2006-09-05 Konstantin Triger <[email protected]>
  109. * ParseException.cs: Ensure the source file stream is closed.
  110. 2006-08-25 Kornél Pál <[email protected]>
  111. * AppSettingsExpressionBuilder.cs: Use assembly name constants.
  112. * ConnectionStringsExpressionBuilder.cs: Use name reference
  113. constants.
  114. * ResourceExpressionBuilder.cs: Use assembly name constants.
  115. 2006-08-20 Vladimir Krasnov <[email protected]>
  116. * ThemeDirectoryCompiler.jvm.cs: implemented GetCompiledInstance
  117. 2006-08-10 Gonzalo Paniagua Javier <[email protected]>
  118. * ClientBuildManager.cs: handle domain shutdown and unload.
  119. Implemented some properties. Commented.
  120. 2006-08-10 Andrew Skiba <[email protected]>
  121. * ThemeDirectoryCompiler.cs: render css path as a virtual path.
  122. 2006-08-08 Vladimir Krasnov <[email protected]>
  123. * added ThemeDirectoryCompiler.jvm.cs
  124. 2006-07-28 Gonzalo Paniagua Javier <[email protected]>
  125. * PageThemeCompiler.cs: Don't generate a 'Items.Clear ()' call if
  126. the property Items does not exist. Patch by Marek Habersack that fixes
  127. bug #78971.
  128. 2006-07-28 Gonzalo Paniagua Javier <[email protected]>
  129. * TemplateControlCompiler.cs: support assigning nullable types.
  130. Patch by Marek Habersack that fixes bug #78970.
  131. 2006-07-13 Gonzalo Paniagua Javier <[email protected]>
  132. * TemplateControlCompiler.cs: make password work again.
  133. 2006-06-21 Juraj Skripsky <[email protected]>
  134. * AspTokenizer.cs (ReadAttValue), AspParser.cs (GetAttributes):
  135. MS.NET handles nested quotes differently for server controls and
  136. for "normal" controls. Add a property "AlternatingQuotes" to the
  137. tokenizer and let the parser decide whether it is well-formed or not.
  138. 2006-06-20 Andrew Skiba <[email protected]>
  139. * PageThemeCompiler.cs, TemplateControlCompiler.cs: take care of
  140. UrlPropertyAttribute.
  141. 2006-06-18 Andrew Skiba <[email protected]>
  142. * TemplateControlCompiler.cs: check IsWritablePropertyOrField before
  143. generating code for assignment statement and DataBind event.
  144. 2006-06-15 Juraj Skripsky <[email protected]>
  145. * AspTokenizer.cs (ReadAttValue), AspParser.cs (GetAttributes):
  146. Don't allow an attribute value to contain the same quote characters
  147. as the ones used for delimiting the value itself. Add a token
  148. NOTWELLFORMED to signal that case to AspParser. Fixes bug #78643.
  149. 2006-06-08 Konstantin Triger <[email protected]>
  150. * ThemeDirectoryCompiler.cs: use physical path instead of virtual path.
  151. 2006-04-24 Andrew Skiba <[email protected]>
  152. * ThemeDirectoryCompiler.cs: use UrlUtils.Combine to combine pathes
  153. 2006-04-23 Andrew Skiba <[email protected]>
  154. * PageThemeCompiler.cs: initialize __linkedStyleSheets field with the
  155. array of style sheets from the parser
  156. * ThemeDirectoryCompiler.cs: scan *.css files in theme directory and
  157. put them in LinkedStyleSheets of PageThemeParser
  158. 2006-04-20 Chris Toshok <[email protected]>
  159. * BaseCompiler.cs: for 2.0, emit the correct namespace and class
  160. names in the case where you use "NS.ClassName" in the Inherits
  161. attribute. Fixes bug #78135.
  162. 2006-04-20 Gonzalo Paniagua Javier <[email protected]>
  163. * CachingCompiler.cs: no need to play the Wait/PulseAll game, as we
  164. already acquired the lock even when we might have not created the 'key'
  165. to the compilation ticket.
  166. 2006-04-16 Andrew Skiba <[email protected]>
  167. * ThemeDirectoryCompiler.cs: add to the directory parser all the
  168. assemblies found by PageThemeFileParsers
  169. 2006-04-12 Lluis Sanchez Gual <[email protected]>
  170. * TemplateControlCompiler.cs: Properly read all content of
  171. string properties.
  172. 2006-04-11 Andrew Skiba <[email protected]>
  173. * TemplateControlCompiler.cs : fix for partial parsers
  174. 2006-04-11 Andrew Skiba <[email protected]>
  175. * ThemeDirectoryCompiler.cs : map the virtual path to the physical
  176. path
  177. 2006-04-08 Miguel de Icaza <[email protected]>
  178. * TemplateControlCompiler.cs: An attempt to fix the regression
  179. introduced in r58505 (a bug fix for 77762). This was reported in
  180. the mailing list with a batch of new 2.0 failures.
  181. We really need a test suite in NUnit to check on ASP.NET aspx
  182. changes.
  183. 2006-03-27 Robert Jordan <[email protected]>
  184. * CachingCompiler.cs: change the compilation locking scheme
  185. from "one mcs per process" to "one mcs per file".
  186. 2006-03-24 Gonzalo Paniagua Javier <[email protected]>
  187. * System.Web.Compilation/TemplateControlCompiler.cs: handle the new
  188. StringPropertyBuilder.
  189. 2006-03-24 Chris Toshok <[email protected]>
  190. * BaseCompiler.cs (GetCompiledType): fall back to CodeDomProvider
  191. if system.web/compilation doesn't list a compiler for our
  192. language.
  193. 2006-03-13 Chris Toshok <[email protected]>
  194. * TemplateControlCompiler.cs (InitMethod): when generating the
  195. call to ApplyStyleSheetSkin, don't just blindly pass "this" as the
  196. argument to it. Only do that if the class we're compiling is
  197. actually a subclass of Page. If it's not, pass this.Page.
  198. 2006-03-07 Chris Toshok <[email protected]>
  199. * AspGenerator.cs: refactor the parsing code so that we can
  200. initiate parsing from outside this class.
  201. * PageCompiler.cs (PrependStatementsToFrameworkInitialize): new
  202. method, add our StyleSheetTheme assignment here.
  203. (AppendStatementsToFrameworkInitialize): rename AddStatements* to
  204. this.
  205. * TemplateControlCompiler.cs (EnsureID): make protected.
  206. (CreateAssignStatementsFromAttributes): same
  207. (AddChildCall): same.
  208. (CreateControlTree): same.
  209. (CreateFrameworkInitializeMethod): change
  210. "AddStatementsToFrameworkInitialize" to
  211. "AppendStatementsToFrameworkInitialize", and add call to
  212. "PrependStatementsToFrameworkInitialize" before the generation of
  213. "base.FrameworkInitialize()."
  214. * PageThemeCompiler.cs (CreateControlSkinMethod): remove spew.
  215. 2006-03-07 Chris Toshok <[email protected]>
  216. * ThemeDirectoryCompiler.cs: new file.
  217. * PageThemeCompiler.cs: new file.
  218. 2006-03-07 Chris Toshok <[email protected]>
  219. * BaseCompiler.cs: fix typo in "initialize" in multiple places.
  220. (Init): move the CreateMethods call here.
  221. 2006-03-02 Chris Toshok <[email protected]>
  222. * TemplateControlCompiler.cs (InitMethod): emit an assignment for
  223. SkinID just after the creation of our object, and right after that
  224. call "_ctrl.ApplyStyleSheetSkin (page)".
  225. (CreateAssignStatementsFromAttributes): split out the majority of
  226. this code to CreateAssignStatementFromAttribute, and change this
  227. method to simply a loop over the attribute keys. In the 2.0 case,
  228. skip the SkinID property, since that's handled explicitly in
  229. InitMethod.
  230. * PageCompiler.cs (AddStatementsToInitMethod): emit assignments
  231. for Theme and StyleSheetTheme.
  232. 2006-02-23 Chris Toshok <[email protected]>
  233. * TemplateControlCompiler.cs (AddContentTemplateInvocation): track
  234. change from ContentControlBuilderInternal to
  235. ContentBuilderInternal.
  236. (AddCodeRender): same.
  237. 2006-02-16 Gonzalo Paniagua Javier <[email protected]>
  238. * AssemblyBuilder.cs:
  239. * BuildManager.cs: compile the assembly from AssemblyBuilder and use
  240. GetGeneratedType() on the BuildProvider instead of loading the assembly
  241. and trying a wild guess at the type name.
  242. 2006-02-14 Gonzalo Paniagua Javier <[email protected]>
  243. * GlobalAsaxCompiler.cs:
  244. * PageCompiler.cs:
  245. * TemplateControlCompiler.cs: CreateMethods is now internal.
  246. * WebServiceBuildProvider.cs:
  247. * PageBuildProvider.cs:
  248. * UserControlBuildProvider.cs:
  249. * WebHandlerBuildProvider.cs: new build providers.
  250. * BuildProvider.cs: add assemblies.
  251. * BaseCompiler.cs: expose the provider and the compile unit through
  252. properties.
  253. 2006-02-10 Gonzalo Paniagua Javier <[email protected]>
  254. * CompilerType.cs: implemented.
  255. * AssemblyBuilder.cs: implemented most of it.
  256. * WebServiceCompiler.cs:
  257. * CachingCompiler.cs: update 2.0 compiler instance creation code.
  258. * ClientBuildManager.cs: implemented some of its methods. Not yet
  259. ready.
  260. * BuildManager.cs: the more interesting methods are implemented now.
  261. * BaseCompiler.cs: delete the temporary files in case of error.
  262. * BuildProvider.cs: implemented the Get*Compiler* protected methods.
  263. 2006-02-07 Chris Toshok <[email protected]>
  264. * TemplateControlCompiler.cs (AddParsedSubObjectStmt): append the
  265. calls to AddParsedSubObject to a special statement collection --
  266. builder.flushOutputStatements -- not to builder.method.Statements.
  267. (InitMethod): initially, set flushOutputStatements to
  268. method.Statements. If we're dealing with a ContentPlaceHolder,
  269. set flushOutputStatements to be the else block of a conditional we
  270. create. This causes the compiled control to fall back to the
  271. ContentPlaceHolder's child controls in case there's no
  272. corresponding Content template.
  273. (AddChildCall): use methodStatements instead of method.Statements.
  274. (CreateControlTree): same.
  275. * PageCompiler.cs (CreatePropertyAssign): factor out the
  276. string,string implementation and add one that also takes a
  277. CodeExpression; make the string,string implementation call the
  278. three arg one with thisRef.
  279. (AddStatementsToInitMethod): make use of the 3-arg form of
  280. CreatePropertyAssign to reduce code. Also, add support for
  281. setting the page's Title from the parser's Title.
  282. 2006-02-07 Chris Toshok <[email protected]>
  283. * UserControlCompiler.cs (AddStatementsToInitMethod): emit code to
  284. assign __ctrl.MasterPageFile to our master page, if we have one.
  285. * PageCompiler.cs (CreateContructor): remove the MasterPageFile
  286. assignment from here.
  287. (AddStatementsToInitMethod): and move it here.
  288. * TemplateControlCompiler.cs (InitMethod): in the case where
  289. builder is a RootBuilder (we're building the __BuildControlTree
  290. method), call a virtual method so that subclasses can add their
  291. own statements to the method (used by both Page and MasterPage);
  292. Also, in the RootBuilder case, the argument should be the
  293. parser.ClassName type (the class we're building); lastly, expand
  294. the ContentPlaceHolder logic to include all the
  295. ContentTemplates/InstantiateIn magic.
  296. (AddStatementsToInitMethod): empty virtual method.
  297. (AddContentTemplateInvocation): ContentControlBuilder ->
  298. ContentControlBuilderInternal.
  299. (CreateControlTree): same.
  300. (CallBaseFrameworkInitialize): new function, create call to
  301. base.FrameworkInitialize.
  302. (CreateFrameworkInitializeMethod): call CallBaseFrameworkIniitialize.
  303. 2006-02-06 Gonzalo Paniagua Javier <[email protected]>
  304. * IgnoreFileBuildProvider.cs: it's not public.
  305. * BuildProvider.cs: mostly implemented.
  306. 2006-02-01 Chris Toshok <[email protected]>
  307. * WebServiceCompiler.cs: CONFIGURATION_2_0 => NET_2_0, and use
  308. GetSection instead of GetWebApplicationSection.
  309. * CachingCompiler.cs: same.
  310. * AspGenerator.cs: same.
  311. * BaseCompiler.cs: same.
  312. 2006-01-23 Gonzalo Paniagua Javier <[email protected]>
  313. * AspGenerator.cs: ignore 'thead'. Fixes bug #77326.
  314. 2006-01-22 Chris Toshok <[email protected]>
  315. * IgnoreFileBuildProvider.cs: build provider which does nothing.
  316. 2006-01-22 Chris Toshok <[email protected]>
  317. * AspComponentFoundry.cs (.ctor): use a 2.0 friendly form of the
  318. Hashtable ctor to silence a couple of warning.
  319. (CompoundFoundry.ctor): same
  320. * Directive.cs (InitHash): use a 2.0 friendly form of the
  321. Hashtable ctor to silence a couple of warning.
  322. * TagAttributes.cs (MakeHash): use a 2.0 friendly form of the
  323. Hashtable ctor to silence a warning.
  324. (GetDictionary): same.
  325. 2006-01-22 Chris Toshok <[email protected]>
  326. * AppSettingsExpressionBuilder.cs: implement this, patterning it
  327. after an example on msdn. Also, enable the ExpressionEditor
  328. attribute, but use the string rather than the Type overload so we
  329. won't have yet another circular dep.
  330. * ConnectionStringsExpressionBuilder.cs: partial implementation.
  331. Same deal with the ExpressionEditor attribute.
  332. * ResourceExpressionBuilder.cs: same deal with the
  333. ExpressionEditor attribute.
  334. 2006-01-20 Chris Toshok <[email protected]>
  335. * ResourceExpressionBuilder.cs (ParseExpression): implement.
  336. * ResourceExpressionFields.cs: implement.
  337. 2006-01-20 Chris Toshok <[email protected]>
  338. * ClientBuildManagerParameter.cs: implement.
  339. * ClientBuildManagerCallback.cs: this class contains an empty
  340. default implementation.
  341. 2006-01-10 Gonzalo Paniagua Javier <[email protected]>
  342. * AspGenerator.cs: add support for 'src' in <script runat="server">.
  343. Fixes bug #77150.
  344. 2006-01-04 Chris Toshok <[email protected]>
  345. * WebServiceCompiler.cs (GetCompiledType): add CONFIGURATION_2_0
  346. code.
  347. * AspGenerator.cs (CheckLanguage): add CONFIGURATION_2_0 code.
  348. 2005-12-06 Gonzalo Paniagua Javier <[email protected]>
  349. * AspGenerator.cs: fix yesterday's fix.
  350. 2005-12-06 Gonzalo Paniagua Javier <[email protected]>
  351. * AspGenerator.cs: only do special processing for <script> if it has
  352. the runat="server" attribute. Fixes bug #76918.
  353. 2005-12-01 Gonzalo Paniagua Javier <[email protected]>
  354. * TemplateControlCompiler.cs: treat LightGrey as a synonym of LightGray.
  355. Fixes bug #76677.
  356. 2005-11-30 Gonzalo Paniagua Javier <[email protected]>
  357. * TemplateControlCompiler.cs: handle data bound attributes for html
  358. controls. Fixes bug #76785.
  359. 2005-11-28 Chris Toshok <[email protected]>
  360. * CachingCompiler.cs (Compile): CONFIGURATION_2_0 work.
  361. * BaseCompiler.cs (GetCompiledType): CONFIGURATION_2_0 work.
  362. 2005-11-22 Gonzalo Paniagua Javier <[email protected]>
  363. * WebServiceCompiler.cs: fixed caching for web handlers.
  364. 2005-11-21 Gonzalo Paniagua Javier <[email protected]>
  365. * AspParser.cs: don't change case for verbatim IDs.
  366. Fixes bug #76657.
  367. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  368. * AspParser.cs: when processing verbatim input, throw if we reach EOF
  369. before the expected end of the data.
  370. 2005-09-22 Gonzalo Paniagua Javier <[email protected]>
  371. * CachingCompiler.cs:
  372. * WebServiceCompiler.cs: when caching a type loaded from an assembly
  373. that we didn't compile, make it depend on the file itself, not on a
  374. non-existing cache key. This problem affected performance of web
  375. services and .ashx, making unnecessary extra calls to LoadFrom every
  376. time the cache was cleared.
  377. 2005-09-10 Gonzalo Paniagua Javier <[email protected]>
  378. * BaseCompiler.cs: set the domain's DynamicBase property instead of
  379. guessing it in BaseCompiler.
  380. 2005-08-18 Gonzalo Paniagua Javier <[email protected]>
  381. * WebServiceCompiler.cs: apply the same fix as in r45440 that fixed bug
  382. 75146 for pages/controls.
  383. 2005-08-09 Miguel de Icaza <[email protected]>
  384. * WebServiceCompiler.cs: Use the new DynamicDir method.
  385. * BaseCompiler.cs: Use the DynamicBase property as a hint, but
  386. since this value is null most of the time, compute the real value.
  387. Added Bonus: if the directory has some kind of permission problem,
  388. try a different directory name.
  389. 2005-07-13 Miguel de Icaza <[email protected]>
  390. * AspGenerator.cs (AspGenerator.CheckLanguage): Use
  391. BaseParser.Context for the context.
  392. 2005-06-26 Gonzalo Paniagua Javier <[email protected]>
  393. * TagAttributes.cs:
  394. * AspParser.cs:
  395. * TemplateControlCompiler.cs: use invariant culture versions of starts/
  396. endswith.
  397. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  398. * TemplateControlCompiler.cs: comparison between member name and the
  399. first part of the id provided by the user should also be
  400. case-insensitive. Fixes bug #75379.
  401. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  402. * CachingCompiler.cs: use cache.InsertPrivate.
  403. * AspGenerator.cs: use cache.InsertPrivate. Removed extra call to
  404. AddDependency.
  405. 2005-06-24 Gonzalo Paniagua Javier <[email protected]>
  406. * CachingCompiler.cs: create the assemly in the DynamicBase directory,
  407. as all the others, when compiling an assembly from a Src file. Fixes
  408. bug #75371.
  409. 2005-06-15 Gonzalo Paniagua Javier <[email protected]>
  410. * TemplateControlCompiler.cs: if the property is not found, don't forget
  411. about trying the field.
  412. 2005-06-13 Lluis Sanchez Gual <[email protected]>
  413. * Directive.cs: Register the MasterType directive.
  414. * PageCompiler.cs: If a MasterType is specified, add a type specific
  415. Master property. All this fixes bug #75192.
  416. 2005-06-11 Gonzalo Paniagua Javier <[email protected]>
  417. * TemplateControlCompiler.cs: when mapping an attribute name to a field
  418. or property name, there's no need to try with every property and field,
  419. but just the one found when searching by name (no case). There was one
  420. call to ProcessPropertiesAndFields per property or field until found,
  421. now only one if the property/field is found, none otherwise.
  422. 2005-06-11 Gonzalo Paniagua Javier <[email protected]>
  423. * TemplateControlCompiler.cs: allow more than 2 levels when looking for
  424. properties of fields for an attribute like "Prop1-Prop2-Prop3". Fixes
  425. bug #75234.
  426. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  427. * BaseCompiler.cs: when the OutputAssembly is null, we can still have
  428. the assembly file there and be able to load it. Thanks to Rogerio and
  429. Mark.
  430. 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
  431. * AspParser.cs: InvariantCulture love.
  432. 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
  433. * TemplateControlCompiler.cs: use the Page AddContentTemplate method,
  434. as the one in Master is protected. Fixes bug #75157.
  435. 2005-05-06 Gonzalo Paniagua Javier <[email protected]>
  436. * AspComponentFoundry.cs: tagnames have precedence over types in
  437. assemblies when they use the same prefix. Fixes bug #71855.
  438. 2005-05-03 Lluis Sanchez Gual <[email protected]>
  439. * WebServiceCompiler.cs: Create the temp directory before
  440. creating the web service source code file.
  441. 2005-04-25 Gonzalo Paniagua Javier <[email protected]>
  442. * AspGenerator.cs: when checking languages, try to match other aliases
  443. too (ie, 'cs' == 'c#').
  444. 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
  445. * BaseCompiler.cs: check that DynamicBase directory exists before
  446. creating the TempFileCollection.
  447. 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
  448. * AspGenerator.cs: use a stack for non-server tags even before getting
  449. to a form. Fixes bug #70274.
  450. 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
  451. * AspParser.cs: don't error out on ill formed tags if it's not a server
  452. tag (ie, allow something like '<table align="left cellpadding="0">' to
  453. work, as MS does. Fixes bug #67909.
  454. 2005-04-20 Rafael Teixeira <[email protected]>
  455. * BaseCompiler.cs: do the bridge of Explicit/Strict attributes from
  456. @Page/@Control directives to CodeDOM (VB.NET support)
  457. 2005-04-19 Lluis Sanchez Gual <[email protected]>
  458. * AspParser.cs: Fixed parsing of data binding tags in server
  459. tag attributes. Allow <%...%> blocks not assigned to
  460. attributes in client tags.
  461. * TagAttributes.cs: Make sure that data binding blocks in server
  462. tags are always assigned to attributes.
  463. 2005-04-15 Lluis Sanchez Gual <[email protected]>
  464. * TemplateControlCompiler.cs: Implemented support for two-way
  465. binding.
  466. 2005-04-14 Lluis Sanchez Gual <[email protected]>
  467. * TemplateControlCompiler.cs: Use the new BindingContainerType
  468. property to find the type of the binding container.
  469. 2005-04-07 Lluis Sanchez Gual <[email protected]>
  470. * TemplateControlCompiler.cs: Avoid using the GetConverter() trick
  471. for primitive types. Parse an empty color string as Color.Empty.
  472. Get the converter for a property using its PropertyDescriptor.
  473. 2005-04-05 Lluis Sanchez Gual <[email protected]>
  474. * TemplateControlCompiler.cs: Don't autogenerate IDs for
  475. controls inside Content template.
  476. 2005-03-18 Gonzalo Paniagua Javier <[email protected]>
  477. * TemplateControlCompiler.cs: make typedesc.aspx work again.
  478. 2005-02-17 Gonzalo Paniagua Javier <[email protected]>
  479. * ExpressionBuilderContext.cs:
  480. * ExpressionBuilder.cs: implemented.
  481. 2005-02-11 Gonzalo Paniagua Javier <[email protected]>
  482. * AspGenerator.cs: don't fail on <tbody runat=server>. Fixes bug #71856.
  483. 2005-01-28 Lluis Sanchez Gual <[email protected]>
  484. * TemplateControlCompiler.cs: When generating a property value,
  485. check for TypeConverterAttribute in the PropertyInfo, not only in the
  486. property type.
  487. Implemented code generation using InstanceDescriptor, when the type
  488. converter supports conversion to that type.
  489. 2005-01-21 Lluis Sanchez Gual <[email protected]>
  490. * Directive.cs: Added MASTER directive.
  491. * AspGenerator.cs: Use UserControlCompiler for compiling master pages.
  492. * PageCompiler.cs: Set the master file name when generating the page.
  493. * TemplateControlCompiler.cs: When generating the method for a
  494. content holder, register the content holder in the base MasterPage.
  495. Added method for registering a Content control for a MasterPage.
  496. Generate code for Content controls.
  497. 2005-01-10 Lluis Sanchez Gual <[email protected]>
  498. * TemplateControlCompiler.cs: Get the container type from the
  499. template (if it was defined using TemplateContainerAttribute.
  500. 2004-10-29 Gonzalo Paniagua Javier <[email protected]>
  501. * AspGenerator.cs: correctly process script tags that self-closing.
  502. Fixes bug #69657.
  503. 2004-10-27 Gonzalo Paniagua Javier <[email protected]>
  504. * CachingCompiler.cs: when compiling a single .cs file, add the file
  505. itself to dependencies. Fixes bug #68788.
  506. 2004-09-30 Gonzalo Paniagua Javier <[email protected]>
  507. * ControlBuilder.cs: don't close server tags when we get to a closing
  508. tag that is not applied to a server control. Fixes bug #60323.
  509. 2004-09-08 Gonzalo Paniagua Javier <[email protected]>
  510. * WebServiceCompiler.cs: fix buglet in my last commit.
  511. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  512. * BaseCompiler.cs:
  513. * CachingCompiler.cs:
  514. * WebServiceCompiler.cs: correctly cache Type instead of the assembly
  515. for ashx/asmx. Otherwise we need to open the file and check for the
  516. class name in there. Thanks to Ben for pointing this out.
  517. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  518. * AspParser.cs:
  519. * AspTokenizer.cs: prevent quotes from being swallowed when we're
  520. inside a server tag and they are the next non-whitespace character.
  521. Fixes bug #63451.
  522. 2004-09-01 Gonzalo Paniagua Javier <[email protected]>
  523. * CachingCompiler.cs: don't try to watch for changes in system
  524. assemblies. Fixes bug #64871.
  525. 2004-09-01 Gonzalo Paniagua Javier <[email protected]>
  526. * AspGenerator.cs: handle builders that need to process inner text
  527. with tags.
  528. * Location.cs: added setters for the properties.
  529. 2004-08-02 Duncan Mak <[email protected]>
  530. * BuildProviderResultFlags.cs:
  531. * IImplicitResourceProvider.cs:
  532. * ImplicitResourceKey.cs:
  533. * IResourceReader.cs: Added.
  534. 2004-07-21 Gonzalo Paniagua Javier <[email protected]>
  535. * AspGenerator.cs: the path for file was treated as virtual, but it's
  536. physical. Fixes bug #61524.
  537. 2004-07-16 Gonzalo Paniagua Javier <[email protected]>
  538. * AspParser.cs: fixed case-sensitivity issues with #include and its
  539. attributes. Closes #61429.
  540. 2004-07-07 Gonzalo Paniagua Javier <[email protected]>
  541. * BaseCompiler.cs:
  542. * WebServiceCompiler.cs: really create the dlls under DynamicBase
  543. 2004-06-19 Gonzalo Paniagua Javier <[email protected]>
  544. * TemplateControlCompiler.cs: for system colors, use SystemColors class
  545. instead of Color. Fixes bug #60249.
  546. 2004-06-16 Gonzalo Paniagua Javier <[email protected]>
  547. * BaseCompiler.cs: try getting the Type from the cache before doing the
  548. real work. Remove temporary files right after successful compilation.
  549. * CachingCompiler.cs: added GetTypeFromCache.
  550. * UserControlCompiler.cs: nothing interesting.
  551. * WebServiceCompiler.cs: try getting the Type from the cache before
  552. doing anything else. Remove temp files on sucessful compilation.
  553. 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
  554. * AspGenerator.cs:
  555. * CachingCompiler.cs: use a different prefix when caching compiler
  556. results or Types.
  557. 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
  558. * BaseCompiler.cs: dynamicBase is now protected. Check
  559. MONO_ASPNET_NODELETE here.
  560. * TemplateControlCompiler.cs: if the type is not known but has a
  561. TypeConverter, invoke ConvertFromString in the generated code.
  562. * WebServiceCompiler.cs: it used a hardcoded C# compiler, now it gets
  563. the compiler from the configuration. Also handle MONO_ASPNET_NODELETE.
  564. * CachingCompiler.cs: updated compilation of web services and simple
  565. web handlers.
  566. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  567. * CSCompiler.cs: removed.
  568. * CachingCompiler.cs: language independent compilation for single files.
  569. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  570. * BaseCompiler.cs:
  571. * WebServiceCompiler.cs: adapted to the 'new' CachingCompiler.
  572. * CachingCompiler.cs: use HttpRuntime.Cache.
  573. 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
  574. * PageCompiler.cs: fixed Trace and add support for Buffer.
  575. 2004-06-04 Gonzalo Paniagua Javier <[email protected]>
  576. * PageCompiler.cs: override CreateConstructor to add assignment for
  577. ClientTarget.
  578. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  579. * TemplateControlCompiler.cs: use CodeDelegateCreateExpression instead
  580. of CodeObjectCreateExpression for the render method delegate. Thanks
  581. to Jochen Wezel.
  582. 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
  583. * BaseCompiler.cs: use DynamicBase for the output assemblies.
  584. 2004-05-12 Gonzalo Paniagua Javier <[email protected]>
  585. * AspGenerator.cs: ObjectTagBuilder do not override HasBody now.
  586. 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
  587. * AspParser.cs: indent a few lines.
  588. * AspTokenizer.cs: added ungetc() used when we read a '/' in an unquoted
  589. attribute value. This way we can simulate reading 2 characters ahead
  590. (one in ungetc and the other in Peek) and work with values like
  591. text/javascript. Fixes bug #57302.
  592. 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
  593. * AspParser.cs: ignore whitespace after directives. Fixes bug #58057.
  594. 2004-04-02 Lluis Sanchez Gual <[email protected]>
  595. * TemplateControlCompiler.cs: Fixed build for net_1_0 profile.
  596. 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
  597. * GlobalAsaxCompiler.cs: removed Imports and Assemblies properties.
  598. 2004-02-23 Gonzalo Paniagua Javier <[email protected]>
  599. * AspGenerator.cs: error out when <object> server tag is not closed.
  600. Ignore any content inside it.
  601. 2004-02-10 Jackson Harper <[email protected]>
  602. * AspTokenizer.cs: Collect discarded characters that might be used
  603. in client side scripts. Patch by Liyu Liu.
  604. * AspParser.cs: Add discarded characters. Patch by Liyu Liu.
  605. 2004-02-10 Jackson Harper <[email protected]>
  606. * BaseCompiler.cs: Use the TempDirectory for compilation. Fixes
  607. bug #54117.
  608. 2004-01-30 Jackson Harper <[email protected]>
  609. * TemplateControlCompiler.cs: Call ToString on the types hashcode,
  610. the build method takes strings not ints.
  611. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  612. * AspGenerator.cs: handle more possible errors in global.asax file.
  613. * BaseCompiler.cs: added utility methods for creating <object> related
  614. properties and fields.
  615. * GlobalAsaxCompiler.cs: keep around applications and session scope
  616. objects builders. Also a list of imports and assemblies added in
  617. global.asax.
  618. * TemplateControlCompiler.cs: use base class methods for <object> stuff.
  619. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  620. * AspGenerator.cs: use the Cache to store compiled Types. Don't parse
  621. pages more than once. Thanks to Eric Lindvall for pointing this out.
  622. 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
  623. * TemplateControlCompiler.cs: allow handling subproperties for other
  624. types than Style and Font. Fixes bug #53217.
  625. 2004-01-16 Jackson Harper <[email protected]>
  626. * TagAttribute.cs: attributes can be stored as encoded html so we
  627. decode them here.
  628. 2004-01-14 Jackson Harper <[email protected]>
  629. * TemplateControlCompiler.cs: Is a user control is cached and
  630. shared use the controls type hashcode for the GUID so it will be
  631. the same across instances.
  632. 2004-01-13 Jackson Harper <[email protected]>
  633. * TemplateControlCompiler.cs: If an item has the partial caching
  634. attribute build a PartialCachingControl in the parents __Build method.
  635. * BaseCompiler.cs: Add a method for adding class attributes to the
  636. class.
  637. * UserControlCompiler.cs: If caching is enabled on a user control
  638. add the PartialCachingAttribute to it.
  639. 2004-01-12 Gonzalo Paniagua Javier <[email protected]>
  640. * PageCompiler.cs: invoke Request.ValidateInput if required.
  641. 2004-01-03 Gonzalo Paniagua Javier <[email protected]>
  642. * AspGenerator.cs: don't rely on GC to close the files parsed. Fixes bug
  643. #52521. Patch by [email protected].
  644. 2003-12-25 Jackson Harper <[email protected]>
  645. * AspGenerator.cs: Allow scriptlets in javascript. This fixes bug
  646. #52522.
  647. 2003-12-17 Gonzalo Paniagua Javier <[email protected]>
  648. * PageCompiler.cs: assign the ErrorPage property if provided.
  649. 2003-12-15 Jackson Harper <[email protected]>
  650. * PageCompiler.cs: Add Trace and TraceMode to framework initialize
  651. method if they are set.
  652. 2003-12-15 Gonzalo Paniagua Javier <[email protected]>
  653. * AspGenerator.cs: ignore <tbody> when we're inside a server table and
  654. fail when runat="server" is applied to <tbody> with a parse error
  655. instead of waiting for a compilation error. Fixes bug #52157.
  656. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  657. * AspGenerator.cs: basic checking of ID validity. Throw a
  658. ParseException when mixing languages.
  659. 2003-11-30 Gonzalo Paniagua Javier <[email protected]>
  660. * PageCompiler.cs: assign LCID, Culture and/or UICulture in
  661. FrameworInitialize() if provided in @Page.
  662. Fixes bug #51511.
  663. 2003-11-20 Gonzalo Paniagua Javier <[email protected]>
  664. * TemplateControlCompiler.cs: support for expressions of
  665. System.Drawing.Size type. Allow getting Color from comma separated
  666. numbers, which is not allowed by ColorConverter.
  667. This makes http://www.codeproject.com/aspnet/asppopup.asp work.
  668. 2003-11-13 Jackson Harper <[email protected]>
  669. * PageCompiler.cs: Call InitOutputCache when the OutputCache
  670. directive is set.
  671. 2003-11-05 Gonzalo Paniagua Javier <[email protected]>
  672. * AspGenerator.cs: use fileEncoding from configuration files.
  673. * PageCompiler.cs: add assign statements for ContentType,
  674. ResponseEncoding and CodePage if supplied.
  675. 2003-10-21 Gonzalo Paniagua Javier <[email protected]>
  676. * TemplateControlCompiler.cs: fix bug #42994. Now we don't generate
  677. a return statement for user controls with 'void' return type.
  678. 2003-10-19 Gonzalo Paniagua Javier <[email protected]>
  679. * AspParser.cs: fixed bug #49627.
  680. 2003-10-14 Gonzalo Paniagua Javier <[email protected]>
  681. * BaseCompiler.cs: now gets the CodeCompiler from configuration files.
  682. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  683. * Directive.cs: new attribute for @Page directive in 1.1.
  684. 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
  685. * AspParser.cs:
  686. * TagAttributes.cs: allow duplicated runat=server attributes and display
  687. error page when duplicated attributes and runat is specified.
  688. 2003-10-10 Gonzalo Paniagua Javier <[email protected]>
  689. * AspTokenizer.cs: moved token numbers above unicode.
  690. 2003-09-22 Gonzalo Paniagua Javier <[email protected]>
  691. * AspGenerator.cs: don't process code render tags inside scripts. Check
  692. the language of the script and treat javascript as verbatim input.
  693. Fixes bug #48592.
  694. 2003-09-19 Gonzalo Paniagua Javier <[email protected]>
  695. * TemplateControlCompiler.cs: fixed bug #48212.
  696. 2003-09-18 Gonzalo Paniagua Javier <[email protected]>
  697. * WebServiceCompiler.cs: remove the temporary files here too.
  698. 2003-08-03 Gonzalo Paniagua Javier <[email protected]>
  699. * AspGenerator.cs: fixed bug #46429.
  700. 2003-08-01 Gonzalo Paniagua Javier <[email protected]>
  701. * Directive.cs: support @WebHandler.
  702. 2003-07-16 Gonzalo Paniagua Javier <[email protected]>
  703. * TemplateControlCompiler.cs: support string []. Fixes bug #46415.
  704. 2003-07-08 Gonzalo Paniagua Javier <[email protected]>
  705. * BaseCompiler.cs: first look for cached items, then generate the tree.
  706. This should speed things up.
  707. * CachingCompiler.cs: when compiling web services, use the full path of
  708. the .asmx file as key when caching.
  709. * WebServiceCompiler.cs: first look for cached items, then generate
  710. the source file.
  711. 2003-07-04 Gonzalo Paniagua Javier <[email protected]>
  712. * AspParser.cs: more useful error information,
  713. * BaseCompiler.cs:
  714. * CachingCompiler.cs: honor the debug="true" option.
  715. * TemplateControlCompiler.cs: small fixes for templates.
  716. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  717. * BaseCompiler.cs: made Compiler property virtual.
  718. * CachingCompiler.cs: added support for compiling web services.
  719. * WebServiceCompiler.cs: implemented.
  720. 2003-05-22 Gonzalo Paniagua Javier <[email protected]>
  721. * CachingCompiler.cs: fixed bug #43477.
  722. 2003-05-22 Gonzalo Paniagua Javier <[email protected]>
  723. * AspParser.cs:
  724. * AspTokenizer.cs: fixed bugs #43206 and #43371.
  725. 2003-05-10 Gonzalo Paniagua Javier <[email protected]>
  726. * TemplateControlCompiler.cs: duh! Generate SupportAutoEvents instead
  727. of AutoEventWireup (which is internal). Thanks to Stuart Ballard for
  728. reporting.
  729. 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
  730. * CompilationException.cs: don't add duplicated lines in the case that
  731. mcs reports several errors for the same one.
  732. 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
  733. * AspGenerator.cs: fully support including files, ie., treat them just
  734. as C treats #includes.
  735. 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
  736. * AspGenerator.cs:
  737. * AspParser.cs:
  738. * TagType.cs: Added support for server side includes.
  739. 2003-05-03 Gonzalo Paniagua Javier <[email protected]>
  740. * CSCompiler.cs: actually add the list of referenced assemblies to the
  741. compiler options. Throw a CompilationException if there's an error.
  742. * CachingCompiler.cs: added a method to compile directly from a source
  743. file.
  744. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  745. * AspGenerator.cs: copy the location before setting the value for the
  746. control builders.
  747. * BaseCompiler.cs: changed parameters for CompilationException.
  748. * CompilationException.cs: it takes now line numbers and error
  749. descriptions from the CompilerErrorCollection.
  750. * Location.cs: used when a copy of an ILocation is needed.
  751. * ParseException.cs: implemented new methods to provide line numbers
  752. and souce file.
  753. * TemplateControlCompiler.cs: throw a ParseException where appropiate.
  754. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  755. * AspGenerator.cs: also support data bind syntax inside tags not
  756. processed as controls. Added debugging method.
  757. * TemplateControlCompiler.cs: reset the number of data binding handlers
  758. in the proper place. Small fix when getting the container type.
  759. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  760. * TemplateControlCompiler.cs: correctly set the TemplateSourceDirectory
  761. value.
  762. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  763. * AspGenerator.cs: handle code render syntax in tag attributes.
  764. * AspParser.cs: the constructor now takes a TextReader.
  765. * TemplateControlCompiler.cs: removed comment.
  766. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  767. * TemplateControlCompiler.cs: added support for data bound properties.
  768. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  769. * AspComponentFoundry.cs: simplified it a lot by using Type and Assembly
  770. instead of their names.
  771. * AspElements.cs: removed. No longer needed.
  772. * AspGenerator.cs: this file is now in charge of interfacing between
  773. the parser and the compiler. It manages the creation of the
  774. ControlBuilder tree and the compilation of the CodeDOM tree.
  775. * AspParser.cs: tag handling is simpler now. Instead of a whole bunch
  776. of different Types, tags are just and id and a set of attributes.
  777. Implement ILocation interface.
  778. * AspTokenizer.cs: added a few methods to help the parser implementing
  779. ILocation.
  780. * BaseCompiler.cs: handles the portions of the CodeDOM tree that are
  781. common to appliaction, page and user control, including the actual
  782. compilation and error handling.
  783. * CSCompiler.cs: compiles C# files using CodeDOM interfaces.
  784. * CachingCompiler.cs: simplified to use the new interfaces.
  785. * CompilationException.cs: it's now using CompilationResult to report
  786. errors.
  787. * CompilationResult.cs: Removed file.
  788. * Directive.cs: to check for the validity of a directive.
  789. * GlobalAsaxCompiler.cs: simplified a lot, as most of the work is done
  790. in BaseCompiler.
  791. * ILocation.cs: interface used to now the exact place where a parse
  792. error happens.
  793. * PageCompiler.cs: generates a couple of methods that are only used in
  794. pages.
  795. * ParseException.cs: use the ILocation interface.
  796. * TagAttributes.cs: handles the attributes of the tags parsed.
  797. * TagType.cs: an enum for the different kinds of tags.
  798. * TemplateControlCompiler.cs: this is the one that does most of the
  799. conversion from teh ControlBuilder tree into a CodeDOM tree.
  800. * UserControlCompiler.cs: simplified as most of the work is done in
  801. its base classes.
  802. * WebServiceCompiler.cs: dummy.
  803. 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
  804. * AspComponentFoundry.cs: added GetComponentType method.
  805. 2003-03-28 Gonzalo Paniagua Javier <[email protected]>
  806. * AspTokenizer.cs: allow quotes inside server tags that are part of
  807. attribute values.
  808. * CachingCompiler.cs: no more 'FileNotFound' exceptions when the
  809. compilation fails.
  810. 2003-03-27 Gonzalo Paniagua Javier <[email protected]>
  811. * AspGenerator.cs: generate correct appbase path. It was working with
  812. mcs but not with csc.
  813. * BaseCompiler.cs: quote arguments and removed GetRandomFileName.
  814. * CachingCompiler.cs: quote source file.
  815. 2003-03-26 Gonzalo Paniagua Javier <[email protected]>
  816. * AspGenerator.cs: now the Inherits attribute works as expected for
  817. global.asax file.
  818. 2003-03-24 Gonzalo Paniagua Javier <[email protected]>
  819. * CompilationException.cs:
  820. * ParseException.cs: display the correct line number in error messages.
  821. * AspElements.cs: added TargetSchema attribute for control. It's
  822. ignored.
  823. 2003-03-17 Gonzalo Paniagua Javier <[email protected]>
  824. * BaseCompiler.cs: fixed the hack to work under windows.
  825. * CachingCompiler.cs: under windows, try 'mcs.bat' and then 'mcs'.
  826. 2003-03-17 Gonzalo Paniagua Javier <[email protected]>
  827. * BaseCompiler.cs: hacks to work-around our buggy System.Uri.
  828. 2003-03-17 George Kodinov <[email protected]>
  829. * BaseCompiler.cs: Removed a FIXME: and added a correct calculation of
  830. app's private bin path
  831. 2003-03-10 Gonzalo Paniagua Javier <[email protected]>
  832. * AspGenerator.cs:
  833. * BaseCompiler.cs:
  834. * CachingCompiler.cs:
  835. * CompilationResult.cs:
  836. * GlobalAsaxCompiler.cs:
  837. * PageCompiler.cs:
  838. * UserControlCompiler.cs: recompile the page if dependencies change.
  839. 2003-02-15 Gonzalo Paniagua Javier <[email protected]>
  840. * AspGenerator.cs: corrected typo and wrong fix.
  841. 2003-02-14 Gonzalo Paniagua Javier <[email protected]>
  842. * AspGenerator.cs: fixed code generation for Table/TableRow/TableCell
  843. when used explicitly.
  844. 2003-02-13 Gonzalo Paniagua Javier <[email protected]>
  845. * AspElements.cs: get the property Type for controls that use
  846. ParseChildren with a property name.
  847. * AspGenerator.cs: generate correct signature for the method that
  848. adds controls to the default property in ParseChildren.
  849. 2003-02-11 Gonzalo Paniagua Javier <[email protected]>
  850. * AspGenerator.cs: rethrow exceptions that may come from parsing or
  851. compilation if a user control.
  852. 2003-02-11 Gonzalo Paniagua Javier <[email protected]>
  853. * AspGenerator.cs: throw ParseException on parse
  854. error.
  855. * AspParser.cs: added Line and Column props.
  856. * CompilationException.cs: derives now from HtmlizedException.
  857. * CompilationResult.cs: added fileName field. Fixed set_ExitCode.
  858. * GlobalAsaxCompiler.cs:
  859. * PageCompiler.cs:
  860. * UserControlCompiler.cs: pass the file name in the CompilationResult.
  861. * ParseException.cs: new exception.
  862. 2003-02-05 Gonzalo Paniagua Javier <[email protected]>
  863. * AspGenerator.cs: remove "file://" from the private bin path. Fixes
  864. bug #37628.
  865. 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
  866. * AspParser.cs: the parser fires events when it parses an element.
  867. * GlobalAsaxCompiler.cs:
  868. * PageCompiler.cs:
  869. * UserControlCompiler.cs:
  870. * AspElements.cs: modified to use the new parser interface.
  871. * AspGenerator.cs: modified to use the new parser. Merge multiple text
  872. strings into one single LiteralControl.
  873. * AspTokenizer.cs: added Line and Column properties.
  874. 2003-01-24 Gonzalo Paniagua Javier <[email protected]>
  875. * AspParser.cs: fixed bug #36929.
  876. 2003-01-21 Tim Haynes <[email protected]>
  877. * AspGenerator.cs:
  878. * BaseCompiler.cs:
  879. * CachingCompiler.cs: changes to work around spaces and
  880. directory-separators in the local filesystem.
  881. 2003-01-20 Gonzalo Paniagua Javier <[email protected]>
  882. * AspGenerator.cs: make the generated file compile with csc after last
  883. change.
  884. 2003-01-20 Gonzalo Paniagua Javier <[email protected]>
  885. * AspGenerator.cs: removed unused variable. Added support for
  886. properties/fields of type string [].
  887. 2003-01-16 Gonzalo Paniagua Javier <[email protected]>
  888. * AspGenerator.cs: modified loading of the parent type now that
  889. Type.GetType is fixed.
  890. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  891. * AspGenerator.cs: cast to Control if the container does not implement
  892. INamingContainer.
  893. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  894. * AspGenerator.cs: fixed a couple of thinkos related to IsSubclassOf.
  895. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  896. * AspElements.cs: attributes without value lacked a space afterwards.
  897. 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
  898. * AspGenerator.cs: functions for columns don't return anything. Fixed
  899. typo.
  900. 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
  901. * AspGenerator.cs: add data bound controls to code render function.
  902. 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
  903. * AspComponentFoundry.cs: reworked to allow same prefix for multiple
  904. controls. You can register 1 assembly plus any number of user controls
  905. under the same prefix.
  906. * AspGenerator.cs: don't add duplicate 'using' for the same namespace.
  907. Hack to allow @Register access to assemblies in other places than bin
  908. directory.
  909. 2003-01-06 Gonzalo Paniagua Javier <[email protected]>
  910. * AspElements.cs: added 'codebehind' attribute for page, control and
  911. application. It's ignored by MS, but allowed. Fixed typo.
  912. 2003-01-06 Gonzalo Paniagua Javier <[email protected]>
  913. * AspGenerator.cs: fixed EnableSesssionState handling.
  914. 2003-01-05 Gonzalo Paniagua Javier <[email protected]>
  915. * AspGenerator.cs: don't generate instance fields for pages/controls
  916. when the base class specified in the Inherits attribute already has
  917. them. Closes bug #36262.
  918. 2002-12-19 Gonzalo Paniagua Javier <[email protected]>
  919. * AspGenerator.cs: generate code like 'control.XXX = value' also for
  920. public fields (properties were being handled in that way too).
  921. 2002-12-18 Gonzalo Paniagua Javier <[email protected]>
  922. * AspGenerator.cs: now it uses the current HttpContext when creating
  923. user controls. TemplateSourceDirectory is no longer a dummy value.
  924. * GlobalAsaxCompiler.cs:
  925. * PageCompiler.cs:
  926. * UserControlCompiler.cs: set the context which will be used to locate
  927. the files.
  928. 2002-12-13 Gonzalo Paniagua Javier <[email protected]>
  929. * AspGenerator.cs: added support for AutoEventWireup attribute in
  930. @Page and @Control.
  931. * CompilationResult.cs:
  932. * GlobalAsaxCompiler.cs:
  933. * PageCompiler.cs:
  934. * UserControlCompiler.cs: store the options.
  935. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  936. * AspElements.cs: new method Tag.GetElements
  937. used to parse the inner contents of a tag looking for data binding or
  938. code render tags.
  939. New property HtmlControlTag.ParseChildren allows
  940. differentiation of a couple of HtmlControls that has children as
  941. properties (namely HtmlTable and HtmlTableRow).
  942. * AspGenerator.cs: fixed container semantics to
  943. match BindingContainer one. Implemented Inherits attribute for page and
  944. control.
  945. Support HtmlControls that has ChildrenAsProperties.
  946. Generate code for data binding functions that matches the semantic of
  947. Container.
  948. Handle data bound and code render attribute values.
  949. Set proper value return for TemplateSourceDirectory. Should be relative
  950. to appPath.
  951. * BaseCompiler.cs: moved CompilerOptions and
  952. References handling here.
  953. * CachingCompiler.cs: copy result of compilation.
  954. * CompilationException.cs: simple ToString () implementation.
  955. * CompilationResult.cs: implemented CopyFrom and ToString.
  956. * GlobalAsaxCompiler.cs:
  957. * PageCompiler.cs:
  958. * UserControlCompiler.cs: removed CompilerOptions as it's now handled
  959. in the base class. Get all the types in the generated assembly and
  960. look for one that derives from the correct Type.
  961. 2002-11-30 Gonzalo Paniagua Javier <[email protected]>
  962. * AspElements.cs: added @Application directive.
  963. * AspGenerator.cs: make it work also with application files. We
  964. currently generate an extra private function.
  965. 2002-11-29 Gonzalo Paniagua Javier <[email protected]>
  966. * GlobalAsaxCompiler.cs: compiler for global.asax file. If the file
  967. exists, it will be compiled into an HttpApplication derived class
  968. (directly or through a user-provided class).
  969. 2002-11-27 Gonzalo Paniagua Javier <[email protected]>
  970. * AspGenerator.cs: fixed target file name and generated class name.
  971. * BaseCompiler.cs: reference assemblies in PrivateBinPath.
  972. 2002-11-26 Gonzalo Paniagua Javier <[email protected]>
  973. * AspGenerator.cs: reworked user control
  974. compilation. Provide the options as a Hashtable for use in compilation.
  975. Create the user controls in the private bin path of the domain.
  976. * BaseCompiler.cs: base class for the various compiler types.
  977. * CachingCompiler.cs: actually executes mcs and do some poor caching
  978. (it will use Cache when finished).
  979. * CompilationException.cs: this exception has enough information to
  980. generate a nice error page.
  981. * CompilationResult.cs: used in caching.
  982. * PageCompiler.cs: now derives from BaseCompiler
  983. * TemplateFactory.cs: no longer needed.
  984. * UserControlCompiler.cs: new class used when compiling user controls.
  985. * WebServiceCompiler.cs: derives from BaseCompiler.
  986. 2002-11-13 Gonzalo Paniagua Javier <[email protected]>
  987. * AspElements.cs: added ServerComment class.
  988. * AspParser.cs: ignore ServerComments tags. Remove server comments when
  989. in verbatim mode.
  990. Fixes #33482.
  991. * PageCompiler.cs: check if the type is already cached before generating
  992. the C# file.
  993. * TemplateFactory.cs: if csFile parameter is null, only checks if we
  994. already have the page compiled.
  995. 2002-11-02 Gonzalo Paniagua Javier <[email protected]>
  996. * AspGenerator.cs: undo one-liner change.
  997. 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
  998. * AspGenerator.cs: removed a few hacks no longer needed.
  999. 2002-10-27 Gonzalo Paniagua Javier <[email protected]>
  1000. * PageCompiler.cs: tracing.
  1001. * TemplateFactory.cs: cache compiled types and tracing.
  1002. * WebServiceCompiler.cs: new parameter in GetTypeFromsource,
  1003. 2002-10-23 Gonzalo Paniagua Javier <[email protected]>
  1004. * AspComponentFoundry.cs: fixed typo.
  1005. * TemplateFactory.cs: use csc style options.
  1006. * AspGenerator.cs: don't use FileDependencies property of base class.
  1007. 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
  1008. * System.Web.Compilation/AspElements.cs:
  1009. * System.Web.Compilation/AspGenerator.cs:
  1010. * System.Web.Compilation/AspParser.cs:
  1011. * System.Web.Compilation/PageCompiler.cs:
  1012. * System.Web.Compilation/TemplateFactory.cs: we are now able to compile
  1013. pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
  1014. 2002-09-11 Gonzalo Paniagua Javier <[email protected]>
  1015. * AspElements.cs: added WebService directive.
  1016. * WebServiceCompiler.cs: New file.
  1017. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  1018. * PageCompiler.cs: fixed compilation.
  1019. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  1020. * PageCompiler.cs: generate C# file using AspGenerator.
  1021. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  1022. * AspComponentFoundry.cs: LookupFoundry now returns bool.
  1023. * AspGenerator.cs: New file.
  1024. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  1025. * AspComponentFoundry.cs: New file.
  1026. * AspElements.cs: renamed Component to Aspcomponent.
  1027. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  1028. * AspElements.cs:
  1029. * AspParser.cs:
  1030. * AspTokenizer.cs:
  1031. * ChangeLog:
  1032. * PageCompiler.cs:
  1033. * TemplateFactory.cs: first steps to move xsp into System.Web.