2
0

ChangeLog 71 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184
  1. 2007-08-19 Juraj Skripsky <[email protected]>
  2. * GlobalAsaxCompiler.cs (ProcessObjects): Make string comparison
  3. for scope case insensitive. Fixes bug #82479.
  4. 2007-08-14 Marek Habersack <[email protected]>
  5. * TemplateControlCompiler.cs: remove dead code.
  6. * AssemblyBuilder.cs: include actual exception information when
  7. reporting inability to load a compiled assembly.
  8. * AppCodeCompiler.cs: remove unused variables.
  9. * AspComponentFoundry.cs: use an ArrayList to implement LIFO for
  10. component collections, instead of the old Queue which implemented
  11. FIFO. Fixes situations when a control registered later for a
  12. certain prefix would not be used in preference to a previously
  13. registered one of the same name.
  14. 2007-08-06 Marek Habersack <[email protected]>
  15. * AspComponentFoundry.cs: properly add new foundry if the
  16. corresponding entry in the foundries collection is a Queue. Patch
  17. from Juraj Skripsky <[email protected]>, thanks! Fixes bug #82285.
  18. 2007-07-31 Marek Habersack <[email protected]>
  19. * AspComponentFoundry.cs: do not overwrite previously registered
  20. foundries when a new one is registered with the same prefix. Fixes
  21. bug #82216
  22. 2007-07-18 Marek Habersack <[email protected]>
  23. * TemplateControlCompiler.cs: on the 2.0 profile, GetContainerType
  24. does not look up the Item/Items properties to determine the
  25. container type, instead it just returns the type reported by the
  26. builder passed to this method. This change makes the generated
  27. code match MS.NET. Fixes bug #82119.
  28. 2007-07-02 Marek Habersack <[email protected]>
  29. * TemplateControlCompiler.cs: don't use StartWith to see if a
  30. variable's value is a bind expression, as it erroneously renames
  31. all calls to methods starting with the string Bind. Use a regular
  32. expression now instead. Fixes bug #81928.
  33. 2007-06-20 Marek Habersack <[email protected]>
  34. * AppResourcesCompiler.cs: use HttpRuntime.InternalCache to keep
  35. private entries.
  36. * CachingCompiler.cs: as above
  37. * AspGenerator.cs: as above
  38. 2007-06-13 Marek Habersack <[email protected]>
  39. * TemplateControlCompiler.cs: make sure control has a writable
  40. TemplateControl property prior to assigning values to it.
  41. 2007-06-09 Marek Habersack <[email protected]>
  42. * TemplateControlCompiler.cs: TemplateControl is assigned for
  43. controls that are placed within ContentPlaceHolder and not for the
  44. ContentPlaceHolder itself.
  45. No longer add the overriden version of TemplateSourceDirectory to
  46. the generated source, all the work is now done in
  47. Control.TemplateSourceDirectory.
  48. * BaseCompiler.cs: AppRelativeVirtualPath shouldn't end with a
  49. slash, for compatibility with MS.NET
  50. 2007-06-05 Marek Habersack <[email protected]>
  51. * TemplateControlCompiler.cs: TemplateSourceDirectory in the 2.0
  52. profile uses the TemplateControl property instead of Parent. This
  53. allows to return the correct path.
  54. 2007-06-01 Marek Habersack <[email protected]>
  55. * TemplateControlCompiler.cs: be case-insensitive when looking for
  56. Bind requests.
  57. 2007-05-29 Marek Habersack <[email protected]>
  58. * ThemeDirectoryCompiler.cs: pass the skin file's
  59. virtual path to the skin file parser as its first paramenter, and
  60. not a physical path.
  61. 2007-05-28 Marek Habersack <[email protected]>
  62. * ResourceExpressionBuilder.cs: properly cast
  63. GetGlobalResourceObject calls to the type of the property being
  64. assigned to.
  65. 2007-05-25 Marek Habersack <[email protected]>
  66. * TemplateControlCompiler.cs: Changed a few incorrect
  67. ObjectCreationExpression to the correct DelegateCreationExpression.
  68. Fixes #81706.
  69. 2007-05-24 Marek Habersack <[email protected]>
  70. * PageCompiler.cs: added support for the PreviousPageType directive.
  71. * Directive.cs: as above.
  72. 2007-05-22 Marek Habersack <[email protected]>
  73. * UserControlCompiler.cs: the Profile property should be present
  74. also in user controls.
  75. 2007-05-15 Marek Habersack <[email protected]>
  76. * ResourceExpressionBuilder.cs: added a static method to generate
  77. a GetLocalResourceObject call which properly handles types which
  78. cannot be converted from strings.
  79. * TemplateControlCompiler.cs: use code described above to generate
  80. code for properties assigned from resources.
  81. * WsdlBuildProvider.cs: make the code actually work - get the
  82. physical path of VirtualPath instead of converting it to absolute
  83. URI path.
  84. Do not generate source, add the code unit to assembly builder
  85. instead.
  86. * XsdBuildProvider.cs: added
  87. 2007-05-08 Marek Habersack <[email protected]>
  88. * TemplateControlCompiler.cs: BuildTemplateMethod is a delegate,
  89. so use a delegate create expression - it may make difference for
  90. languages other than C# (e.g. VisualBasic).
  91. 2007-05-07 Marek Habersack <[email protected]>
  92. * AspGenerator.cs: if the parser's language is implicit (i.e. set
  93. from the default configuration), the first script with the
  94. language attribute present sets the language of the parser.
  95. 2007-05-04 Marek Habersack <[email protected]>
  96. * TemplateControlCompiler.cs: do not query the parent for
  97. TemplateSourceDirectory if we are generating code for a Master
  98. Page.
  99. 2007-04-30 Marek Habersack <[email protected]>
  100. * ConnectionStringsExpressionBuilder.cs: support expressions with
  101. suffixes .ProviderName and .ConnectionString (case-insensitie) and
  102. generate a call to GetConnectionStringProviderName in the former
  103. case. Fixes bug #81490
  104. * AppCodeCompiler.cs: support for cases when there exists a custom
  105. profile class but there is no App_Code directory or it's
  106. empty. Fixes bug #81489.
  107. * TemplateControlCompiler.cs: fix generation of code for
  108. declarative attribute assignments of the form Font-Size="small"
  109. (i.e. when a font size is assigned a symbolic, relative size
  110. value). This fixes for example rendering of the 0th level of
  111. TreeView controls.
  112. 2007-04-27 Marek Habersack <[email protected]>
  113. * AppCodeCompiler.cs: do not look at the number of errors, check
  114. the compiler return code instead.
  115. Resolve assembly names from the global web.config to their
  116. locations before passing them to the compiler provider.
  117. * AssemblyBuilder.cs: as above
  118. * AppResourcesCompiler.cs: as above
  119. * AspComponentFoundry.cs: formatting changes.
  120. AssemblyFoundry looks for the specified namespace+type in the
  121. top-level assemblies if necessary.
  122. 2007-04-26 Marek Habersack <[email protected]>
  123. * AssemblyBuilder.cs: handle compilation failures in a better
  124. way.
  125. * PageCompiler.cs: the Master property must be in the partial
  126. class if present. Fixes bug #81442
  127. 2007-04-20 Marek Habersack <[email protected]>
  128. * AppCodeCompiler.cs: fix App_Code build when the directory
  129. contains both known and unknown files.
  130. 2007-04-19 Gert Driesen <[email protected]>
  131. * AspComponentFoundry.cs: Fixed build on 1.0 profile. Spaces to
  132. tabs.
  133. 2007-04-19 Marek Habersack <[email protected]>
  134. * AppCodeCompiler.cs: yet another method of detecting if we have a
  135. custom profile.
  136. * BaseCompiler.cs: as above
  137. * AspComponentFoundry.cs: implemented delayed loading of control
  138. assemblies. Fixes bug #81058.
  139. 2007-04-19 Gert Driesen <[email protected]>
  140. * BaseCompiler.cs: On 2.0, when ClassName attribute contains namespace
  141. then use it instead of the default ASP namespace. Fixes part of bug
  142. #81399.
  143. 2007-04-19 Marek Habersack <[email protected]>
  144. * BaseCompiler.cs: don't look at the number of profile properties
  145. when deciding if we have a custom profile. It is possible to have
  146. a profile that just inherits from a base class and does not list
  147. any custom properties. Fixes bug #81396.
  148. * AppCodeCompiler.cs: as above
  149. 2007-04-15 Marek Habersack <[email protected]>
  150. * AppCodeCompiler.cs: properly convert physical file path to
  151. virtual path for build providers.
  152. Make sure there's actually anything to compile.
  153. 2007-04-11 Marek Habersack <[email protected]>
  154. * AppCodeCompiler.cs: move custom profile type check till after
  155. the App_Code compilation is done. That way we can have custom
  156. profile providers in there. Fixes bug #81307.
  157. 2007-04-10 Marek Habersack <[email protected]>
  158. * AppResourceFilesCollection.cs: watch App_LocalResources for
  159. changes.
  160. 2007-04-06 Marek Habersack <[email protected]>
  161. * BaseCompiler.cs: display the source of the file in which the
  162. error actually happened if the file exists, or the unit
  163. otherwise.
  164. 2007-04-03 Marek Habersack <[email protected]>
  165. * AppResourcesCompiler.cs: global resources are put in the
  166. "Resources." namespace while local ones are not. Fixes bug #81174
  167. which was reopened after r75261.
  168. 2007-03-26 Marek Habersack <[email protected]>
  169. * TemplateControlCompiler.cs: refactor assining properties from
  170. resources a bit to support pages and user controls. Fixes bug
  171. #81204.
  172. Process meta:resourcekey after all the field/attribute assignments
  173. are done. Fixes bug #80809.
  174. Clean the code up a bit.
  175. Use GetExpressionFromString to generate a correct expression for
  176. custom page/control attributes. Fixes bug #81132.
  177. 2007-03-21 Marek Habersack <[email protected]>
  178. * BaseCompiler.cs: cast 'this' to CodeFileBaseClass in
  179. AssignAppRelativeVirtualPath if the attribute was defined.
  180. * TemplateControlCompiler.cs: added support for setting custom
  181. attributes of a base class from the Page or Control directive
  182. attributes.
  183. 2007-03-20 Marek Habersack <[email protected]>
  184. * ResourceExpressionBuilder.cs: if the resource class key is null
  185. or empty, call GetLocalResourceObject, if not,
  186. GetGlobalResourceObject. Fixes bug #81174.
  187. 2007-03-16 Marek Habersack <[email protected]>
  188. * AppCodeCompiler.cs: produce message that makes more sense.
  189. 2007-03-15 Marek Habersack <[email protected]>
  190. * AppResourcesCompiler.cs: handle global resource keys with dots
  191. the way MS.NET does. All the dots are replaced with underscores
  192. when generating the stronly-typed property.
  193. 2007-03-14 Marek Habersack <[email protected]>
  194. * AppResourcesCompiler.cs: Fix a bug with global resources file
  195. grouping where no translated resources were processed due to base
  196. name mismatch.
  197. * TemplateControlCompiler.cs: hadle situations when there exist a
  198. control in the page with id matching the name of a field/property
  199. in the parent class. In this case we use 'protected new' to
  200. override the parent.
  201. 2007-03-13 Marek Habersack <[email protected]>
  202. * AspParser.cs: fix an off-by-one parsing bug with server-side
  203. includes.
  204. * PageThemeCompiler.cs: let property builders through, stop the
  205. builders that have no control type. Fixes bug #81092
  206. * PageCompiler.cs: interfaces are to be implemented by the parent
  207. partial class, not the generated one.
  208. * AppResourceFilesCollection.cs: added separate constructor for
  209. local resources handling.
  210. * TemplateControlCompiler.cs: request the local resource object
  211. with proper virtual path.
  212. Put field declarations for controls in the partial class.
  213. Make sure builders are in valid state before trying to use them.
  214. * BaseCompiler.cs: added code to assing AppRelativeVirtualPath
  215. property in the page/control constructor.
  216. Change the generated code model for pages/controls to comply with
  217. the way MS.NET does (partial class contains only two properties
  218. plus declarations of all the controls, the actual control/page
  219. class inherits from the partial class). Fixes bug #81001.
  220. * AppResourcesCompiler.cs: does not require specifying manually
  221. whether it's a global or local resource compiler anymore. New
  222. constructors take care of that.
  223. Changed to compile local resources on demand, when a control/page
  224. is parsed.
  225. 2007-03-12 Marek Habersack <[email protected]>
  226. * AspParser.cs: revert r73587 as it breaks more than it fixes.
  227. * AspComponentFoundry.cs: try to register foundries from App_Code
  228. assemblies if tag prefix and its namespace are defined. Fixes bug
  229. #78797.
  230. * BuildManager.cs, BaseCompiler.cs: CodeAssemblies is a collection
  231. of Assembly instances, not strings.
  232. * CachingCompiler.cs: make sure items in the CodeAssemblies and
  233. TopLevelAssemblies are really instances of the Assembly class
  234. before trying to use them.
  235. CodeAssemblies is a collection of Assembly instances, not
  236. strings.
  237. * AppCodeCompiler.cs: on MS.NET CodeAssemblies is a collection of
  238. assemblies, not paths to assemblies.
  239. 2007-03-10 Marek Habersack <[email protected]>
  240. * PageCompiler.cs, BaseCompiler.cs: refactoring: moved the
  241. CreateProfileProperty and InternalCreatePageProperty to
  242. BaseCompiler from PageCompiler.
  243. * GlobalAsaxCompiler.cs: generate the Profile property for the
  244. Global_asax class.
  245. 2007-03-09 Marek Habersack <[email protected]>
  246. * AppCodeCompiler.cs: Add the GetProfile method to the
  247. ProfileCommon auto-generated class.
  248. * AppResourcesCompiler.cs: attempt to load the resource file
  249. earlier in the process, to gracefully handle empty files.
  250. * ThemeDirectoryCompiler.cs: make compiled themes depend on the
  251. .skin and .css files composing the theme.
  252. 2007-03-05 Marek Habersack <[email protected]>
  253. * PageThemeCompiler.cs: Use correct theme path for
  254. AppRelativeTemplateSourceDirectory.
  255. Do not process builders of type CodeRenderBuilder.
  256. Make sure builder.ControlType is not null before depending on it.
  257. * ThemeDirectoryCompiler.cs: theme parser should be passed the
  258. virtual directory of the theme.
  259. 2007-03-03 Marek Habersack <[email protected]>
  260. * PageCompiler.cs: Added support for setting the
  261. MaintainScrollPositionOnPostBack property if the corresponding
  262. page directive attribute is found.
  263. * Directive.cs: added the MaintainScrollPositionOnPostBack and
  264. LinePragmas directives.
  265. 2007-03-02 Marek Habersack <[email protected]>
  266. * AppCodeCompiler.cs: Correctly process App_Code directories which
  267. have no compilable files in the top-level directory. Fixes bug
  268. #80998.
  269. Write preservation files for the App_Code assemblies.
  270. 2007-03-01 Marek Habersack <[email protected]>
  271. * AspParser.cs: fix GetVerbatim for cases when the end is
  272. e.g. --> or --%> and the string matched is ---> or ---%>
  273. respectively. The new code always backs out to make sure the end is
  274. matched correctly.
  275. 2007-02-27 Marek Habersack <[email protected]>
  276. * TemplateControlCompiler.cs: ParseExpression returns an object,
  277. don't assume any concrete type.
  278. Use the current culture when converting the expression to a
  279. string.
  280. * ConnectionStringsExpressionBuilder.cs: Implement support for
  281. expressions of the <%$ ConnectionStrings:StringName %> form
  282. 2007-02-19 Marek Habersack <[email protected]>
  283. * ResourceExpressionBuilder.cs: Do not prepend the .Resources prefix here
  284. 2007-02-16 Marek Habersack <[email protected]>
  285. * CachingCompiler.cs, BaseCompiler.cs: Make sure that no assembly
  286. is referenced twice by the compiler(s).
  287. * TemplateControlCompiler.cs: Fix the problem with cultures which
  288. have a comma as their decimal separator and font/whatever
  289. units. New code does not reparse the text representation of the
  290. unit on the runtime (e.g. 0.9em) but instead it constructs the
  291. property using the FontUnit/Unit constructors which take,
  292. respectively, Unit and double/unittype parameters. This avoids
  293. culture-specific parsing.
  294. Also fix converting from invariant strings in a culture-aware
  295. environment (e.g. in a page that uses Culture="auto") during the
  296. page parsing phase.
  297. 2007-02-12 Marek Habersack <[email protected]>
  298. * PreservationFile.cs: Support preservation (assembly mapping)
  299. files (the ones with .compiled extension in the ASP.NET temporary
  300. directory). This one implements a loader/saver class.
  301. * AppResourcesCompiler.cs: support for assembly name mapping.
  302. * AppCodeCompiler.cs: support for assembly name mapping.
  303. 2007-02-08 Marek Habersack <[email protected]>
  304. * TemplateControlCompiler.cs: Fix TemplateSourceDirectory.
  305. * AspComponentFoundry.cs: Avoid duplicate control registration
  306. exception.
  307. * ResourceExpressionBuilder.cs: Make sure all the global resources
  308. are looked up using the "Resources." prefix.
  309. * AppResourcesCompiler.cs: Make sure all the global resources are
  310. embedded with the "Resources." prefix.
  311. 2007-02-02 Marek Habersack <[email protected]>
  312. * AspGenerator.cs: Move the cache insert code to a separate method, for
  313. use from other places.
  314. * AspComponentFoundry.cs: Register controls mentioned in web.config, but
  315. defer their compilation to the moment when they are actually requested.
  316. 2007-01-22 Marek Habersack <[email protected]>
  317. * ThemeDirectoryCompiler.cs: Make sure the code works for empty themes.
  318. 2007-01-20 Miguel de Icaza <[email protected]>
  319. * ClientBuildManager.cs: Remove unused variable (this could be a
  320. real problem, we never use the appPhysicalTargetDir)
  321. * AssemblyBuilder.cs: Remove unused field.
  322. * AppResourceFilesCollection.cs: Remove unused field.
  323. * TemplateControlCompiler.cs (GetExpressionFromString): Remove
  324. unused variable.
  325. * AppResourcesCompiler.cs: Remove unused variable.
  326. * AppSettingsExpressionBuilder.cs (GetAppSetting): remove unused
  327. parameter.
  328. * PageCompiler.cs: Put InternalCreatePageProperty inside the
  329. NET_2_0 block to eliminate warnings.
  330. 2007-01-20 Gert Driesen <[email protected]>
  331. * BaseCompiler.cs: Fixed build on 1.0 profile.
  332. 2007-01-20 Marek Habersack <[email protected]>
  333. * BaseCompiler.cs: If the control base type is in the root
  334. namespace, make sure global:: is prepended to it.
  335. * TemplateControlCompiler.cs: AutoHandlers is obsolete in 2.0,
  336. mark it as such in the generated code as well.
  337. * AppCodeCompiler.cs: Include debug information if configured in
  338. web.config. Fixes bug #80096.
  339. 2007-01-17 Marek Habersack <[email protected]>
  340. * AppCodeCompiler.cs: Reference toplevel assemblies (at this stage
  341. App_GlobalResources) when compiling App_Code sources.
  342. * CachingCompiler.cs: Reference toplevel assemblies when compiling
  343. e.g. Global.asax
  344. * AppResourcesCompiler.cs: Close the streams properly.
  345. * AspGenerator.cs: Don't ignore thead/tbody anymore.
  346. 2007-01-15 Marek Habersack <[email protected]>
  347. * WsdlBuildProvider.cs: New build provider for WSDL files.
  348. Compile only when System.Web.Services are present.
  349. * TemplateControlCompiler.cs: Forgotten in the previous commit -
  350. don't pass the current culture to GetLocalResourceObject, let the
  351. method figure it out on its own.
  352. 2007-01-05 Marek Habersack <[email protected]>
  353. * AppResourceFilesCollection.cs: new class to keep and manage
  354. collection of resource files for the App_{Global,Local}Resources
  355. folders.
  356. * TemplateControlCompiler.cs: rely on
  357. HttpContext.GetLocalResourceObject to select the correct culture.
  358. * AppResourceFileInfo.cs: new class for keeping resource files
  359. information.
  360. * AppResourcesCompiler.cs: new implementation.
  361. 2006-12-20 Marek Habersack <[email protected]>
  362. * AssemblyBuilder.cs: add an internal version of the
  363. AddCodeCompileUnit method.
  364. * AppCodeCompiler.cs: implement support for ProfileCommon
  365. generation from properties named in the <profile> element in
  366. Web.config.
  367. * PageCompiler.cs: create the Profile property in 2.0 code.
  368. 2006-12-12 Vladimir Krasnov <[email protected]>
  369. * ThemeDirectoryCompiler.jvm.cs: fixed virtual path for themes
  370. 2006-12-10 Igor Zelmanovich <[email protected]>
  371. * ThemeDirectoryCompiler.cs: refactoring.
  372. 2006-11-28 Marek Habersack <[email protected]>
  373. * BuildManager.cs: Add an internal property to signal whether or
  374. not we have any resources from App_{Global,Local}Resources
  375. * AspGenerator.cs: Register controls from
  376. system.web/pages/controls collection before parsing.
  377. * AppResourcesCompiler.cs: Let the build process know if we have
  378. compiled any resources from App_{Global,Local}Resources
  379. 2006-11-27 Marek Habersack <[email protected]>
  380. * CachingCompiler.cs: Automatically reference App_Code
  381. assemblies.
  382. * AppCodeCompiler.cs: Add ~/bin/*.dll to the referenced assemblies
  383. when compiling.
  384. 2006-11-25 Marek Habersack <[email protected]>
  385. * AppResourcesCompiler.cs: small optimizations.
  386. * AppResourceFilesCompiler.cs: small optimizations.
  387. 2006-11-21 Gonzalo Paniagua Javier <[email protected]>
  388. * WebServiceCompiler.cs: add the type to the cache after getting it
  389. from the compiled assembly.
  390. 2006-11-20 Marek Habersack <[email protected]>
  391. * AppCodeCompiler.cs: Reference assemblies listed in
  392. system.web/compilation/assemblies.
  393. Don't create empty assemblies.
  394. 2006-11-19 Igor Zelmanovich <[email protected]>
  395. * TemplateControlCompiler.cs: fixed:
  396. When <%# Bind(...) %>-expression is used more then once for same control
  397. The variable associated with this control is declared only once.
  398. 2006-11-18 Marek Habersack <[email protected]>
  399. * AppResourceFilesCompiler.cs: Fixed an exception thrown when
  400. files with names like File.resources or File.resx are found in the
  401. resource directories.
  402. 2006-11-16 Marek Habersack <[email protected]>
  403. * ForceCopyBuildProvider.cs: Added the build provider for
  404. copy-only files.
  405. * MasterPageBuildProvider.cs: Added the build provider for Master
  406. Pages.
  407. * IgnoreFileBuildProvider.cs: Make the class sealed.
  408. * AppCodeCompiler.cs: Fixed BuildProvider creation for a path. Now
  409. correctly uses the BuildProviderCollection to retrieve the
  410. appropriate builder and maps the physical input file path into
  411. application relative path when setting the virtual path of the
  412. build provider.
  413. 2006-11-13 Marek Habersack <[email protected]>
  414. * AssemblyBuilder.cs: Added referenced assemblies support. Added a
  415. constructor with just the CodeDomProvider argument. CreateCodeFile
  416. now uses the code provider's file extension. Added internal method
  417. to add pre-generated source code files. Added a BuildAssembly
  418. overload that takes no virtual path as the
  419. parameter. BuildAssembly now uses an array of source files instead
  420. of compile units and also handles embedded resources and
  421. referenced assemblies. BuildAssembly deletes the temporary files
  422. if MONO_ASPNET_NODELET isn't set in the environment.
  423. * AppCodeCompiler.cs: Use the FileUtils methods for temporary file
  424. creation. Use the build providers collection to build unknown
  425. files in App_Code. Use AssemblyBuilder to compile the assembly.
  426. * AppResourceFilesCompiler.cs: Use the FileUtils methods for
  427. temporary file creation.
  428. * WebHandlerBuildProvider.cs: Added the BuildProviderAppliesTo
  429. attribute.
  430. * UserControlBuildProvider.cs: Added the BuildProviderAppliesTo
  431. attribute.
  432. * PageBuildProvider.cs: Added the BuildProviderAppliesTo
  433. attribute.
  434. * WebServiceBuildProvider.cs: Added the BuildProviderAppliesTo
  435. attribute.
  436. * IgnoreFileBuildProvider.cs: Added the BuildProviderAppliesTo
  437. attribute.
  438. 2006-11-08 Marek Habersack <[email protected]>
  439. * BuildProvider.cs: Implemented the GetCustomString
  440. method. Removed the necessity to retrieve the CompilationSection
  441. twice when GetDefaultCompilerType is called.
  442. * AppResourcesCompiler.cs: Added resource compiler results
  443. handling.
  444. * AppCodeCompiler.cs: The App_Code compiler classes
  445. * BuildManager.cs: Implement the CodeAssemblies property.
  446. Added an internal TopLevelTypes property to be used in the custom
  447. GetType methods. Implemented the GetCompiledCustomString method.
  448. Implemented the GetType method overloads. Implemented the
  449. GetVirtualPathDependencies method.
  450. * BaseCompiler.cs: Reference the assemblies from App_Code, if any
  451. 2006-10-18 Marek Habersack <[email protected]>
  452. * TemplateControlCompiler.cs: add support for resource
  453. expressions in tag attributes.
  454. * ResourceExpressionBuilder.cs: add support for resource
  455. expressions in tag attributes.
  456. * BaseCompiler.cs: add global/local resource assemblies to
  457. compilation references, if present.
  458. * AppResourcesCompiler.cs: global/local resources compiler.
  459. * AppResourceFilesCompiler.cs: compiler of resource files.
  460. 2006-10-03 Igor Zelmanovich <[email protected]>
  461. * TemplateControlCompiler.cs: fixed: Bind functions (Data-Binding Syntax).
  462. At run time, the Bind method calls the Eval method, if there is DataItem
  463. != null to bind to.
  464. If there is DataItem == null (like InsertItemTemplate in FormView) Bind
  465. method don't raise exception and works properly to extract data from
  466. bounded controls on postback.
  467. 2006-09-20 Gonzalo Paniagua Javier <[email protected]>
  468. * AspGenerator.cs: if we are tracking non-server tags for
  469. well-formedness, handle tags that do not need to be closed (br, img,...)
  470. Fixes bug #79437.
  471. 2006-09-18 Gonzalo Paniagua Javier <[email protected]>
  472. * PageCompiler.cs: support the EnableEventValidation attribute.
  473. 2006-09-08 Gonzalo Paniagua Javier <[email protected]>
  474. * AspGenerator.cs: after parsing an include file, don't error out if we
  475. still have opened tags unless this was the last file to parse. Fixes
  476. bug #79318.
  477. 2006-09-05 Konstantin Triger <[email protected]>
  478. * ParseException.cs: Ensure the source file stream is closed.
  479. 2006-08-25 Kornél Pál <[email protected]>
  480. * AppSettingsExpressionBuilder.cs: Use assembly name constants.
  481. * ConnectionStringsExpressionBuilder.cs: Use name reference
  482. constants.
  483. * ResourceExpressionBuilder.cs: Use assembly name constants.
  484. 2006-08-20 Vladimir Krasnov <[email protected]>
  485. * ThemeDirectoryCompiler.jvm.cs: implemented GetCompiledInstance
  486. 2006-08-10 Gonzalo Paniagua Javier <[email protected]>
  487. * ClientBuildManager.cs: handle domain shutdown and unload.
  488. Implemented some properties. Commented.
  489. 2006-08-10 Andrew Skiba <[email protected]>
  490. * ThemeDirectoryCompiler.cs: render css path as a virtual path.
  491. 2006-08-08 Vladimir Krasnov <[email protected]>
  492. * added ThemeDirectoryCompiler.jvm.cs
  493. 2006-07-28 Gonzalo Paniagua Javier <[email protected]>
  494. * PageThemeCompiler.cs: Don't generate a 'Items.Clear ()' call if
  495. the property Items does not exist. Patch by Marek Habersack that fixes
  496. bug #78971.
  497. 2006-07-28 Gonzalo Paniagua Javier <[email protected]>
  498. * TemplateControlCompiler.cs: support assigning nullable types.
  499. Patch by Marek Habersack that fixes bug #78970.
  500. 2006-07-13 Gonzalo Paniagua Javier <[email protected]>
  501. * TemplateControlCompiler.cs: make password work again.
  502. 2006-06-21 Juraj Skripsky <[email protected]>
  503. * AspTokenizer.cs (ReadAttValue), AspParser.cs (GetAttributes):
  504. MS.NET handles nested quotes differently for server controls and
  505. for "normal" controls. Add a property "AlternatingQuotes" to the
  506. tokenizer and let the parser decide whether it is well-formed or not.
  507. 2006-06-20 Andrew Skiba <[email protected]>
  508. * PageThemeCompiler.cs, TemplateControlCompiler.cs: take care of
  509. UrlPropertyAttribute.
  510. 2006-06-18 Andrew Skiba <[email protected]>
  511. * TemplateControlCompiler.cs: check IsWritablePropertyOrField before
  512. generating code for assignment statement and DataBind event.
  513. 2006-06-15 Juraj Skripsky <[email protected]>
  514. * AspTokenizer.cs (ReadAttValue), AspParser.cs (GetAttributes):
  515. Don't allow an attribute value to contain the same quote characters
  516. as the ones used for delimiting the value itself. Add a token
  517. NOTWELLFORMED to signal that case to AspParser. Fixes bug #78643.
  518. 2006-06-08 Konstantin Triger <[email protected]>
  519. * ThemeDirectoryCompiler.cs: use physical path instead of virtual path.
  520. 2006-04-24 Andrew Skiba <[email protected]>
  521. * ThemeDirectoryCompiler.cs: use UrlUtils.Combine to combine pathes
  522. 2006-04-23 Andrew Skiba <[email protected]>
  523. * PageThemeCompiler.cs: initialize __linkedStyleSheets field with the
  524. array of style sheets from the parser
  525. * ThemeDirectoryCompiler.cs: scan *.css files in theme directory and
  526. put them in LinkedStyleSheets of PageThemeParser
  527. 2006-04-20 Chris Toshok <[email protected]>
  528. * BaseCompiler.cs: for 2.0, emit the correct namespace and class
  529. names in the case where you use "NS.ClassName" in the Inherits
  530. attribute. Fixes bug #78135.
  531. 2006-04-20 Gonzalo Paniagua Javier <[email protected]>
  532. * CachingCompiler.cs: no need to play the Wait/PulseAll game, as we
  533. already acquired the lock even when we might have not created the 'key'
  534. to the compilation ticket.
  535. 2006-04-16 Andrew Skiba <[email protected]>
  536. * ThemeDirectoryCompiler.cs: add to the directory parser all the
  537. assemblies found by PageThemeFileParsers
  538. 2006-04-12 Lluis Sanchez Gual <[email protected]>
  539. * TemplateControlCompiler.cs: Properly read all content of
  540. string properties.
  541. 2006-04-11 Andrew Skiba <[email protected]>
  542. * TemplateControlCompiler.cs : fix for partial parsers
  543. 2006-04-11 Andrew Skiba <[email protected]>
  544. * ThemeDirectoryCompiler.cs : map the virtual path to the physical
  545. path
  546. 2006-04-08 Miguel de Icaza <[email protected]>
  547. * TemplateControlCompiler.cs: An attempt to fix the regression
  548. introduced in r58505 (a bug fix for 77762). This was reported in
  549. the mailing list with a batch of new 2.0 failures.
  550. We really need a test suite in NUnit to check on ASP.NET aspx
  551. changes.
  552. 2006-03-27 Robert Jordan <[email protected]>
  553. * CachingCompiler.cs: change the compilation locking scheme
  554. from "one mcs per process" to "one mcs per file".
  555. 2006-03-24 Gonzalo Paniagua Javier <[email protected]>
  556. * System.Web.Compilation/TemplateControlCompiler.cs: handle the new
  557. StringPropertyBuilder.
  558. 2006-03-24 Chris Toshok <[email protected]>
  559. * BaseCompiler.cs (GetCompiledType): fall back to CodeDomProvider
  560. if system.web/compilation doesn't list a compiler for our
  561. language.
  562. 2006-03-13 Chris Toshok <[email protected]>
  563. * TemplateControlCompiler.cs (InitMethod): when generating the
  564. call to ApplyStyleSheetSkin, don't just blindly pass "this" as the
  565. argument to it. Only do that if the class we're compiling is
  566. actually a subclass of Page. If it's not, pass this.Page.
  567. 2006-03-07 Chris Toshok <[email protected]>
  568. * AspGenerator.cs: refactor the parsing code so that we can
  569. initiate parsing from outside this class.
  570. * PageCompiler.cs (PrependStatementsToFrameworkInitialize): new
  571. method, add our StyleSheetTheme assignment here.
  572. (AppendStatementsToFrameworkInitialize): rename AddStatements* to
  573. this.
  574. * TemplateControlCompiler.cs (EnsureID): make protected.
  575. (CreateAssignStatementsFromAttributes): same
  576. (AddChildCall): same.
  577. (CreateControlTree): same.
  578. (CreateFrameworkInitializeMethod): change
  579. "AddStatementsToFrameworkInitialize" to
  580. "AppendStatementsToFrameworkInitialize", and add call to
  581. "PrependStatementsToFrameworkInitialize" before the generation of
  582. "base.FrameworkInitialize()."
  583. * PageThemeCompiler.cs (CreateControlSkinMethod): remove spew.
  584. 2006-03-07 Chris Toshok <[email protected]>
  585. * ThemeDirectoryCompiler.cs: new file.
  586. * PageThemeCompiler.cs: new file.
  587. 2006-03-07 Chris Toshok <[email protected]>
  588. * BaseCompiler.cs: fix typo in "initialize" in multiple places.
  589. (Init): move the CreateMethods call here.
  590. 2006-03-02 Chris Toshok <[email protected]>
  591. * TemplateControlCompiler.cs (InitMethod): emit an assignment for
  592. SkinID just after the creation of our object, and right after that
  593. call "_ctrl.ApplyStyleSheetSkin (page)".
  594. (CreateAssignStatementsFromAttributes): split out the majority of
  595. this code to CreateAssignStatementFromAttribute, and change this
  596. method to simply a loop over the attribute keys. In the 2.0 case,
  597. skip the SkinID property, since that's handled explicitly in
  598. InitMethod.
  599. * PageCompiler.cs (AddStatementsToInitMethod): emit assignments
  600. for Theme and StyleSheetTheme.
  601. 2006-02-23 Chris Toshok <[email protected]>
  602. * TemplateControlCompiler.cs (AddContentTemplateInvocation): track
  603. change from ContentControlBuilderInternal to
  604. ContentBuilderInternal.
  605. (AddCodeRender): same.
  606. 2006-02-16 Gonzalo Paniagua Javier <[email protected]>
  607. * AssemblyBuilder.cs:
  608. * BuildManager.cs: compile the assembly from AssemblyBuilder and use
  609. GetGeneratedType() on the BuildProvider instead of loading the assembly
  610. and trying a wild guess at the type name.
  611. 2006-02-14 Gonzalo Paniagua Javier <[email protected]>
  612. * GlobalAsaxCompiler.cs:
  613. * PageCompiler.cs:
  614. * TemplateControlCompiler.cs: CreateMethods is now internal.
  615. * WebServiceBuildProvider.cs:
  616. * PageBuildProvider.cs:
  617. * UserControlBuildProvider.cs:
  618. * WebHandlerBuildProvider.cs: new build providers.
  619. * BuildProvider.cs: add assemblies.
  620. * BaseCompiler.cs: expose the provider and the compile unit through
  621. properties.
  622. 2006-02-10 Gonzalo Paniagua Javier <[email protected]>
  623. * CompilerType.cs: implemented.
  624. * AssemblyBuilder.cs: implemented most of it.
  625. * WebServiceCompiler.cs:
  626. * CachingCompiler.cs: update 2.0 compiler instance creation code.
  627. * ClientBuildManager.cs: implemented some of its methods. Not yet
  628. ready.
  629. * BuildManager.cs: the more interesting methods are implemented now.
  630. * BaseCompiler.cs: delete the temporary files in case of error.
  631. * BuildProvider.cs: implemented the Get*Compiler* protected methods.
  632. 2006-02-07 Chris Toshok <[email protected]>
  633. * TemplateControlCompiler.cs (AddParsedSubObjectStmt): append the
  634. calls to AddParsedSubObject to a special statement collection --
  635. builder.flushOutputStatements -- not to builder.method.Statements.
  636. (InitMethod): initially, set flushOutputStatements to
  637. method.Statements. If we're dealing with a ContentPlaceHolder,
  638. set flushOutputStatements to be the else block of a conditional we
  639. create. This causes the compiled control to fall back to the
  640. ContentPlaceHolder's child controls in case there's no
  641. corresponding Content template.
  642. (AddChildCall): use methodStatements instead of method.Statements.
  643. (CreateControlTree): same.
  644. * PageCompiler.cs (CreatePropertyAssign): factor out the
  645. string,string implementation and add one that also takes a
  646. CodeExpression; make the string,string implementation call the
  647. three arg one with thisRef.
  648. (AddStatementsToInitMethod): make use of the 3-arg form of
  649. CreatePropertyAssign to reduce code. Also, add support for
  650. setting the page's Title from the parser's Title.
  651. 2006-02-07 Chris Toshok <[email protected]>
  652. * UserControlCompiler.cs (AddStatementsToInitMethod): emit code to
  653. assign __ctrl.MasterPageFile to our master page, if we have one.
  654. * PageCompiler.cs (CreateContructor): remove the MasterPageFile
  655. assignment from here.
  656. (AddStatementsToInitMethod): and move it here.
  657. * TemplateControlCompiler.cs (InitMethod): in the case where
  658. builder is a RootBuilder (we're building the __BuildControlTree
  659. method), call a virtual method so that subclasses can add their
  660. own statements to the method (used by both Page and MasterPage);
  661. Also, in the RootBuilder case, the argument should be the
  662. parser.ClassName type (the class we're building); lastly, expand
  663. the ContentPlaceHolder logic to include all the
  664. ContentTemplates/InstantiateIn magic.
  665. (AddStatementsToInitMethod): empty virtual method.
  666. (AddContentTemplateInvocation): ContentControlBuilder ->
  667. ContentControlBuilderInternal.
  668. (CreateControlTree): same.
  669. (CallBaseFrameworkInitialize): new function, create call to
  670. base.FrameworkInitialize.
  671. (CreateFrameworkInitializeMethod): call CallBaseFrameworkIniitialize.
  672. 2006-02-06 Gonzalo Paniagua Javier <[email protected]>
  673. * IgnoreFileBuildProvider.cs: it's not public.
  674. * BuildProvider.cs: mostly implemented.
  675. 2006-02-01 Chris Toshok <[email protected]>
  676. * WebServiceCompiler.cs: CONFIGURATION_2_0 => NET_2_0, and use
  677. GetSection instead of GetWebApplicationSection.
  678. * CachingCompiler.cs: same.
  679. * AspGenerator.cs: same.
  680. * BaseCompiler.cs: same.
  681. 2006-01-23 Gonzalo Paniagua Javier <[email protected]>
  682. * AspGenerator.cs: ignore 'thead'. Fixes bug #77326.
  683. 2006-01-22 Chris Toshok <[email protected]>
  684. * IgnoreFileBuildProvider.cs: build provider which does nothing.
  685. 2006-01-22 Chris Toshok <[email protected]>
  686. * AspComponentFoundry.cs (.ctor): use a 2.0 friendly form of the
  687. Hashtable ctor to silence a couple of warning.
  688. (CompoundFoundry.ctor): same
  689. * Directive.cs (InitHash): use a 2.0 friendly form of the
  690. Hashtable ctor to silence a couple of warning.
  691. * TagAttributes.cs (MakeHash): use a 2.0 friendly form of the
  692. Hashtable ctor to silence a warning.
  693. (GetDictionary): same.
  694. 2006-01-22 Chris Toshok <[email protected]>
  695. * AppSettingsExpressionBuilder.cs: implement this, patterning it
  696. after an example on msdn. Also, enable the ExpressionEditor
  697. attribute, but use the string rather than the Type overload so we
  698. won't have yet another circular dep.
  699. * ConnectionStringsExpressionBuilder.cs: partial implementation.
  700. Same deal with the ExpressionEditor attribute.
  701. * ResourceExpressionBuilder.cs: same deal with the
  702. ExpressionEditor attribute.
  703. 2006-01-20 Chris Toshok <[email protected]>
  704. * ResourceExpressionBuilder.cs (ParseExpression): implement.
  705. * ResourceExpressionFields.cs: implement.
  706. 2006-01-20 Chris Toshok <[email protected]>
  707. * ClientBuildManagerParameter.cs: implement.
  708. * ClientBuildManagerCallback.cs: this class contains an empty
  709. default implementation.
  710. 2006-01-10 Gonzalo Paniagua Javier <[email protected]>
  711. * AspGenerator.cs: add support for 'src' in <script runat="server">.
  712. Fixes bug #77150.
  713. 2006-01-04 Chris Toshok <[email protected]>
  714. * WebServiceCompiler.cs (GetCompiledType): add CONFIGURATION_2_0
  715. code.
  716. * AspGenerator.cs (CheckLanguage): add CONFIGURATION_2_0 code.
  717. 2005-12-06 Gonzalo Paniagua Javier <[email protected]>
  718. * AspGenerator.cs: fix yesterday's fix.
  719. 2005-12-06 Gonzalo Paniagua Javier <[email protected]>
  720. * AspGenerator.cs: only do special processing for <script> if it has
  721. the runat="server" attribute. Fixes bug #76918.
  722. 2005-12-01 Gonzalo Paniagua Javier <[email protected]>
  723. * TemplateControlCompiler.cs: treat LightGrey as a synonym of LightGray.
  724. Fixes bug #76677.
  725. 2005-11-30 Gonzalo Paniagua Javier <[email protected]>
  726. * TemplateControlCompiler.cs: handle data bound attributes for html
  727. controls. Fixes bug #76785.
  728. 2005-11-28 Chris Toshok <[email protected]>
  729. * CachingCompiler.cs (Compile): CONFIGURATION_2_0 work.
  730. * BaseCompiler.cs (GetCompiledType): CONFIGURATION_2_0 work.
  731. 2005-11-22 Gonzalo Paniagua Javier <[email protected]>
  732. * WebServiceCompiler.cs: fixed caching for web handlers.
  733. 2005-11-21 Gonzalo Paniagua Javier <[email protected]>
  734. * AspParser.cs: don't change case for verbatim IDs.
  735. Fixes bug #76657.
  736. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  737. * AspParser.cs: when processing verbatim input, throw if we reach EOF
  738. before the expected end of the data.
  739. 2005-09-22 Gonzalo Paniagua Javier <[email protected]>
  740. * CachingCompiler.cs:
  741. * WebServiceCompiler.cs: when caching a type loaded from an assembly
  742. that we didn't compile, make it depend on the file itself, not on a
  743. non-existing cache key. This problem affected performance of web
  744. services and .ashx, making unnecessary extra calls to LoadFrom every
  745. time the cache was cleared.
  746. 2005-09-10 Gonzalo Paniagua Javier <[email protected]>
  747. * BaseCompiler.cs: set the domain's DynamicBase property instead of
  748. guessing it in BaseCompiler.
  749. 2005-08-18 Gonzalo Paniagua Javier <[email protected]>
  750. * WebServiceCompiler.cs: apply the same fix as in r45440 that fixed bug
  751. 75146 for pages/controls.
  752. 2005-08-09 Miguel de Icaza <[email protected]>
  753. * WebServiceCompiler.cs: Use the new DynamicDir method.
  754. * BaseCompiler.cs: Use the DynamicBase property as a hint, but
  755. since this value is null most of the time, compute the real value.
  756. Added Bonus: if the directory has some kind of permission problem,
  757. try a different directory name.
  758. 2005-07-13 Miguel de Icaza <[email protected]>
  759. * AspGenerator.cs (AspGenerator.CheckLanguage): Use
  760. BaseParser.Context for the context.
  761. 2005-06-26 Gonzalo Paniagua Javier <[email protected]>
  762. * TagAttributes.cs:
  763. * AspParser.cs:
  764. * TemplateControlCompiler.cs: use invariant culture versions of starts/
  765. endswith.
  766. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  767. * TemplateControlCompiler.cs: comparison between member name and the
  768. first part of the id provided by the user should also be
  769. case-insensitive. Fixes bug #75379.
  770. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  771. * CachingCompiler.cs: use cache.InsertPrivate.
  772. * AspGenerator.cs: use cache.InsertPrivate. Removed extra call to
  773. AddDependency.
  774. 2005-06-24 Gonzalo Paniagua Javier <[email protected]>
  775. * CachingCompiler.cs: create the assemly in the DynamicBase directory,
  776. as all the others, when compiling an assembly from a Src file. Fixes
  777. bug #75371.
  778. 2005-06-15 Gonzalo Paniagua Javier <[email protected]>
  779. * TemplateControlCompiler.cs: if the property is not found, don't forget
  780. about trying the field.
  781. 2005-06-13 Lluis Sanchez Gual <[email protected]>
  782. * Directive.cs: Register the MasterType directive.
  783. * PageCompiler.cs: If a MasterType is specified, add a type specific
  784. Master property. All this fixes bug #75192.
  785. 2005-06-11 Gonzalo Paniagua Javier <[email protected]>
  786. * TemplateControlCompiler.cs: when mapping an attribute name to a field
  787. or property name, there's no need to try with every property and field,
  788. but just the one found when searching by name (no case). There was one
  789. call to ProcessPropertiesAndFields per property or field until found,
  790. now only one if the property/field is found, none otherwise.
  791. 2005-06-11 Gonzalo Paniagua Javier <[email protected]>
  792. * TemplateControlCompiler.cs: allow more than 2 levels when looking for
  793. properties of fields for an attribute like "Prop1-Prop2-Prop3". Fixes
  794. bug #75234.
  795. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  796. * BaseCompiler.cs: when the OutputAssembly is null, we can still have
  797. the assembly file there and be able to load it. Thanks to Rogerio and
  798. Mark.
  799. 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
  800. * AspParser.cs: InvariantCulture love.
  801. 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
  802. * TemplateControlCompiler.cs: use the Page AddContentTemplate method,
  803. as the one in Master is protected. Fixes bug #75157.
  804. 2005-05-06 Gonzalo Paniagua Javier <[email protected]>
  805. * AspComponentFoundry.cs: tagnames have precedence over types in
  806. assemblies when they use the same prefix. Fixes bug #71855.
  807. 2005-05-03 Lluis Sanchez Gual <[email protected]>
  808. * WebServiceCompiler.cs: Create the temp directory before
  809. creating the web service source code file.
  810. 2005-04-25 Gonzalo Paniagua Javier <[email protected]>
  811. * AspGenerator.cs: when checking languages, try to match other aliases
  812. too (ie, 'cs' == 'c#').
  813. 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
  814. * BaseCompiler.cs: check that DynamicBase directory exists before
  815. creating the TempFileCollection.
  816. 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
  817. * AspGenerator.cs: use a stack for non-server tags even before getting
  818. to a form. Fixes bug #70274.
  819. 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
  820. * AspParser.cs: don't error out on ill formed tags if it's not a server
  821. tag (ie, allow something like '<table align="left cellpadding="0">' to
  822. work, as MS does. Fixes bug #67909.
  823. 2005-04-20 Rafael Teixeira <[email protected]>
  824. * BaseCompiler.cs: do the bridge of Explicit/Strict attributes from
  825. @Page/@Control directives to CodeDOM (VB.NET support)
  826. 2005-04-19 Lluis Sanchez Gual <[email protected]>
  827. * AspParser.cs: Fixed parsing of data binding tags in server
  828. tag attributes. Allow <%...%> blocks not assigned to
  829. attributes in client tags.
  830. * TagAttributes.cs: Make sure that data binding blocks in server
  831. tags are always assigned to attributes.
  832. 2005-04-15 Lluis Sanchez Gual <[email protected]>
  833. * TemplateControlCompiler.cs: Implemented support for two-way
  834. binding.
  835. 2005-04-14 Lluis Sanchez Gual <[email protected]>
  836. * TemplateControlCompiler.cs: Use the new BindingContainerType
  837. property to find the type of the binding container.
  838. 2005-04-07 Lluis Sanchez Gual <[email protected]>
  839. * TemplateControlCompiler.cs: Avoid using the GetConverter() trick
  840. for primitive types. Parse an empty color string as Color.Empty.
  841. Get the converter for a property using its PropertyDescriptor.
  842. 2005-04-05 Lluis Sanchez Gual <[email protected]>
  843. * TemplateControlCompiler.cs: Don't autogenerate IDs for
  844. controls inside Content template.
  845. 2005-03-18 Gonzalo Paniagua Javier <[email protected]>
  846. * TemplateControlCompiler.cs: make typedesc.aspx work again.
  847. 2005-02-17 Gonzalo Paniagua Javier <[email protected]>
  848. * ExpressionBuilderContext.cs:
  849. * ExpressionBuilder.cs: implemented.
  850. 2005-02-11 Gonzalo Paniagua Javier <[email protected]>
  851. * AspGenerator.cs: don't fail on <tbody runat=server>. Fixes bug #71856.
  852. 2005-01-28 Lluis Sanchez Gual <[email protected]>
  853. * TemplateControlCompiler.cs: When generating a property value,
  854. check for TypeConverterAttribute in the PropertyInfo, not only in the
  855. property type.
  856. Implemented code generation using InstanceDescriptor, when the type
  857. converter supports conversion to that type.
  858. 2005-01-21 Lluis Sanchez Gual <[email protected]>
  859. * Directive.cs: Added MASTER directive.
  860. * AspGenerator.cs: Use UserControlCompiler for compiling master pages.
  861. * PageCompiler.cs: Set the master file name when generating the page.
  862. * TemplateControlCompiler.cs: When generating the method for a
  863. content holder, register the content holder in the base MasterPage.
  864. Added method for registering a Content control for a MasterPage.
  865. Generate code for Content controls.
  866. 2005-01-10 Lluis Sanchez Gual <[email protected]>
  867. * TemplateControlCompiler.cs: Get the container type from the
  868. template (if it was defined using TemplateContainerAttribute.
  869. 2004-10-29 Gonzalo Paniagua Javier <[email protected]>
  870. * AspGenerator.cs: correctly process script tags that self-closing.
  871. Fixes bug #69657.
  872. 2004-10-27 Gonzalo Paniagua Javier <[email protected]>
  873. * CachingCompiler.cs: when compiling a single .cs file, add the file
  874. itself to dependencies. Fixes bug #68788.
  875. 2004-09-30 Gonzalo Paniagua Javier <[email protected]>
  876. * ControlBuilder.cs: don't close server tags when we get to a closing
  877. tag that is not applied to a server control. Fixes bug #60323.
  878. 2004-09-08 Gonzalo Paniagua Javier <[email protected]>
  879. * WebServiceCompiler.cs: fix buglet in my last commit.
  880. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  881. * BaseCompiler.cs:
  882. * CachingCompiler.cs:
  883. * WebServiceCompiler.cs: correctly cache Type instead of the assembly
  884. for ashx/asmx. Otherwise we need to open the file and check for the
  885. class name in there. Thanks to Ben for pointing this out.
  886. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  887. * AspParser.cs:
  888. * AspTokenizer.cs: prevent quotes from being swallowed when we're
  889. inside a server tag and they are the next non-whitespace character.
  890. Fixes bug #63451.
  891. 2004-09-01 Gonzalo Paniagua Javier <[email protected]>
  892. * CachingCompiler.cs: don't try to watch for changes in system
  893. assemblies. Fixes bug #64871.
  894. 2004-09-01 Gonzalo Paniagua Javier <[email protected]>
  895. * AspGenerator.cs: handle builders that need to process inner text
  896. with tags.
  897. * Location.cs: added setters for the properties.
  898. 2004-08-02 Duncan Mak <[email protected]>
  899. * BuildProviderResultFlags.cs:
  900. * IImplicitResourceProvider.cs:
  901. * ImplicitResourceKey.cs:
  902. * IResourceReader.cs: Added.
  903. 2004-07-21 Gonzalo Paniagua Javier <[email protected]>
  904. * AspGenerator.cs: the path for file was treated as virtual, but it's
  905. physical. Fixes bug #61524.
  906. 2004-07-16 Gonzalo Paniagua Javier <[email protected]>
  907. * AspParser.cs: fixed case-sensitivity issues with #include and its
  908. attributes. Closes #61429.
  909. 2004-07-07 Gonzalo Paniagua Javier <[email protected]>
  910. * BaseCompiler.cs:
  911. * WebServiceCompiler.cs: really create the dlls under DynamicBase
  912. 2004-06-19 Gonzalo Paniagua Javier <[email protected]>
  913. * TemplateControlCompiler.cs: for system colors, use SystemColors class
  914. instead of Color. Fixes bug #60249.
  915. 2004-06-16 Gonzalo Paniagua Javier <[email protected]>
  916. * BaseCompiler.cs: try getting the Type from the cache before doing the
  917. real work. Remove temporary files right after successful compilation.
  918. * CachingCompiler.cs: added GetTypeFromCache.
  919. * UserControlCompiler.cs: nothing interesting.
  920. * WebServiceCompiler.cs: try getting the Type from the cache before
  921. doing anything else. Remove temp files on sucessful compilation.
  922. 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
  923. * AspGenerator.cs:
  924. * CachingCompiler.cs: use a different prefix when caching compiler
  925. results or Types.
  926. 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
  927. * BaseCompiler.cs: dynamicBase is now protected. Check
  928. MONO_ASPNET_NODELETE here.
  929. * TemplateControlCompiler.cs: if the type is not known but has a
  930. TypeConverter, invoke ConvertFromString in the generated code.
  931. * WebServiceCompiler.cs: it used a hardcoded C# compiler, now it gets
  932. the compiler from the configuration. Also handle MONO_ASPNET_NODELETE.
  933. * CachingCompiler.cs: updated compilation of web services and simple
  934. web handlers.
  935. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  936. * CSCompiler.cs: removed.
  937. * CachingCompiler.cs: language independent compilation for single files.
  938. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  939. * BaseCompiler.cs:
  940. * WebServiceCompiler.cs: adapted to the 'new' CachingCompiler.
  941. * CachingCompiler.cs: use HttpRuntime.Cache.
  942. 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
  943. * PageCompiler.cs: fixed Trace and add support for Buffer.
  944. 2004-06-04 Gonzalo Paniagua Javier <[email protected]>
  945. * PageCompiler.cs: override CreateConstructor to add assignment for
  946. ClientTarget.
  947. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  948. * TemplateControlCompiler.cs: use CodeDelegateCreateExpression instead
  949. of CodeObjectCreateExpression for the render method delegate. Thanks
  950. to Jochen Wezel.
  951. 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
  952. * BaseCompiler.cs: use DynamicBase for the output assemblies.
  953. 2004-05-12 Gonzalo Paniagua Javier <[email protected]>
  954. * AspGenerator.cs: ObjectTagBuilder do not override HasBody now.
  955. 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
  956. * AspParser.cs: indent a few lines.
  957. * AspTokenizer.cs: added ungetc() used when we read a '/' in an unquoted
  958. attribute value. This way we can simulate reading 2 characters ahead
  959. (one in ungetc and the other in Peek) and work with values like
  960. text/javascript. Fixes bug #57302.
  961. 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
  962. * AspParser.cs: ignore whitespace after directives. Fixes bug #58057.
  963. 2004-04-02 Lluis Sanchez Gual <[email protected]>
  964. * TemplateControlCompiler.cs: Fixed build for net_1_0 profile.
  965. 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
  966. * GlobalAsaxCompiler.cs: removed Imports and Assemblies properties.
  967. 2004-02-23 Gonzalo Paniagua Javier <[email protected]>
  968. * AspGenerator.cs: error out when <object> server tag is not closed.
  969. Ignore any content inside it.
  970. 2004-02-10 Jackson Harper <[email protected]>
  971. * AspTokenizer.cs: Collect discarded characters that might be used
  972. in client side scripts. Patch by Liyu Liu.
  973. * AspParser.cs: Add discarded characters. Patch by Liyu Liu.
  974. 2004-02-10 Jackson Harper <[email protected]>
  975. * BaseCompiler.cs: Use the TempDirectory for compilation. Fixes
  976. bug #54117.
  977. 2004-01-30 Jackson Harper <[email protected]>
  978. * TemplateControlCompiler.cs: Call ToString on the types hashcode,
  979. the build method takes strings not ints.
  980. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  981. * AspGenerator.cs: handle more possible errors in global.asax file.
  982. * BaseCompiler.cs: added utility methods for creating <object> related
  983. properties and fields.
  984. * GlobalAsaxCompiler.cs: keep around applications and session scope
  985. objects builders. Also a list of imports and assemblies added in
  986. global.asax.
  987. * TemplateControlCompiler.cs: use base class methods for <object> stuff.
  988. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  989. * AspGenerator.cs: use the Cache to store compiled Types. Don't parse
  990. pages more than once. Thanks to Eric Lindvall for pointing this out.
  991. 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
  992. * TemplateControlCompiler.cs: allow handling subproperties for other
  993. types than Style and Font. Fixes bug #53217.
  994. 2004-01-16 Jackson Harper <[email protected]>
  995. * TagAttribute.cs: attributes can be stored as encoded html so we
  996. decode them here.
  997. 2004-01-14 Jackson Harper <[email protected]>
  998. * TemplateControlCompiler.cs: Is a user control is cached and
  999. shared use the controls type hashcode for the GUID so it will be
  1000. the same across instances.
  1001. 2004-01-13 Jackson Harper <[email protected]>
  1002. * TemplateControlCompiler.cs: If an item has the partial caching
  1003. attribute build a PartialCachingControl in the parents __Build method.
  1004. * BaseCompiler.cs: Add a method for adding class attributes to the
  1005. class.
  1006. * UserControlCompiler.cs: If caching is enabled on a user control
  1007. add the PartialCachingAttribute to it.
  1008. 2004-01-12 Gonzalo Paniagua Javier <[email protected]>
  1009. * PageCompiler.cs: invoke Request.ValidateInput if required.
  1010. 2004-01-03 Gonzalo Paniagua Javier <[email protected]>
  1011. * AspGenerator.cs: don't rely on GC to close the files parsed. Fixes bug
  1012. #52521. Patch by [email protected].
  1013. 2003-12-25 Jackson Harper <[email protected]>
  1014. * AspGenerator.cs: Allow scriptlets in javascript. This fixes bug
  1015. #52522.
  1016. 2003-12-17 Gonzalo Paniagua Javier <[email protected]>
  1017. * PageCompiler.cs: assign the ErrorPage property if provided.
  1018. 2003-12-15 Jackson Harper <[email protected]>
  1019. * PageCompiler.cs: Add Trace and TraceMode to framework initialize
  1020. method if they are set.
  1021. 2003-12-15 Gonzalo Paniagua Javier <[email protected]>
  1022. * AspGenerator.cs: ignore <tbody> when we're inside a server table and
  1023. fail when runat="server" is applied to <tbody> with a parse error
  1024. instead of waiting for a compilation error. Fixes bug #52157.
  1025. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  1026. * AspGenerator.cs: basic checking of ID validity. Throw a
  1027. ParseException when mixing languages.
  1028. 2003-11-30 Gonzalo Paniagua Javier <[email protected]>
  1029. * PageCompiler.cs: assign LCID, Culture and/or UICulture in
  1030. FrameworInitialize() if provided in @Page.
  1031. Fixes bug #51511.
  1032. 2003-11-20 Gonzalo Paniagua Javier <[email protected]>
  1033. * TemplateControlCompiler.cs: support for expressions of
  1034. System.Drawing.Size type. Allow getting Color from comma separated
  1035. numbers, which is not allowed by ColorConverter.
  1036. This makes http://www.codeproject.com/aspnet/asppopup.asp work.
  1037. 2003-11-13 Jackson Harper <[email protected]>
  1038. * PageCompiler.cs: Call InitOutputCache when the OutputCache
  1039. directive is set.
  1040. 2003-11-05 Gonzalo Paniagua Javier <[email protected]>
  1041. * AspGenerator.cs: use fileEncoding from configuration files.
  1042. * PageCompiler.cs: add assign statements for ContentType,
  1043. ResponseEncoding and CodePage if supplied.
  1044. 2003-10-21 Gonzalo Paniagua Javier <[email protected]>
  1045. * TemplateControlCompiler.cs: fix bug #42994. Now we don't generate
  1046. a return statement for user controls with 'void' return type.
  1047. 2003-10-19 Gonzalo Paniagua Javier <[email protected]>
  1048. * AspParser.cs: fixed bug #49627.
  1049. 2003-10-14 Gonzalo Paniagua Javier <[email protected]>
  1050. * BaseCompiler.cs: now gets the CodeCompiler from configuration files.
  1051. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  1052. * Directive.cs: new attribute for @Page directive in 1.1.
  1053. 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
  1054. * AspParser.cs:
  1055. * TagAttributes.cs: allow duplicated runat=server attributes and display
  1056. error page when duplicated attributes and runat is specified.
  1057. 2003-10-10 Gonzalo Paniagua Javier <[email protected]>
  1058. * AspTokenizer.cs: moved token numbers above unicode.
  1059. 2003-09-22 Gonzalo Paniagua Javier <[email protected]>
  1060. * AspGenerator.cs: don't process code render tags inside scripts. Check
  1061. the language of the script and treat javascript as verbatim input.
  1062. Fixes bug #48592.
  1063. 2003-09-19 Gonzalo Paniagua Javier <[email protected]>
  1064. * TemplateControlCompiler.cs: fixed bug #48212.
  1065. 2003-09-18 Gonzalo Paniagua Javier <[email protected]>
  1066. * WebServiceCompiler.cs: remove the temporary files here too.
  1067. 2003-08-03 Gonzalo Paniagua Javier <[email protected]>
  1068. * AspGenerator.cs: fixed bug #46429.
  1069. 2003-08-01 Gonzalo Paniagua Javier <[email protected]>
  1070. * Directive.cs: support @WebHandler.
  1071. 2003-07-16 Gonzalo Paniagua Javier <[email protected]>
  1072. * TemplateControlCompiler.cs: support string []. Fixes bug #46415.
  1073. 2003-07-08 Gonzalo Paniagua Javier <[email protected]>
  1074. * BaseCompiler.cs: first look for cached items, then generate the tree.
  1075. This should speed things up.
  1076. * CachingCompiler.cs: when compiling web services, use the full path of
  1077. the .asmx file as key when caching.
  1078. * WebServiceCompiler.cs: first look for cached items, then generate
  1079. the source file.
  1080. 2003-07-04 Gonzalo Paniagua Javier <[email protected]>
  1081. * AspParser.cs: more useful error information,
  1082. * BaseCompiler.cs:
  1083. * CachingCompiler.cs: honor the debug="true" option.
  1084. * TemplateControlCompiler.cs: small fixes for templates.
  1085. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  1086. * BaseCompiler.cs: made Compiler property virtual.
  1087. * CachingCompiler.cs: added support for compiling web services.
  1088. * WebServiceCompiler.cs: implemented.
  1089. 2003-05-22 Gonzalo Paniagua Javier <[email protected]>
  1090. * CachingCompiler.cs: fixed bug #43477.
  1091. 2003-05-22 Gonzalo Paniagua Javier <[email protected]>
  1092. * AspParser.cs:
  1093. * AspTokenizer.cs: fixed bugs #43206 and #43371.
  1094. 2003-05-10 Gonzalo Paniagua Javier <[email protected]>
  1095. * TemplateControlCompiler.cs: duh! Generate SupportAutoEvents instead
  1096. of AutoEventWireup (which is internal). Thanks to Stuart Ballard for
  1097. reporting.
  1098. 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
  1099. * CompilationException.cs: don't add duplicated lines in the case that
  1100. mcs reports several errors for the same one.
  1101. 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
  1102. * AspGenerator.cs: fully support including files, ie., treat them just
  1103. as C treats #includes.
  1104. 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
  1105. * AspGenerator.cs:
  1106. * AspParser.cs:
  1107. * TagType.cs: Added support for server side includes.
  1108. 2003-05-03 Gonzalo Paniagua Javier <[email protected]>
  1109. * CSCompiler.cs: actually add the list of referenced assemblies to the
  1110. compiler options. Throw a CompilationException if there's an error.
  1111. * CachingCompiler.cs: added a method to compile directly from a source
  1112. file.
  1113. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  1114. * AspGenerator.cs: copy the location before setting the value for the
  1115. control builders.
  1116. * BaseCompiler.cs: changed parameters for CompilationException.
  1117. * CompilationException.cs: it takes now line numbers and error
  1118. descriptions from the CompilerErrorCollection.
  1119. * Location.cs: used when a copy of an ILocation is needed.
  1120. * ParseException.cs: implemented new methods to provide line numbers
  1121. and souce file.
  1122. * TemplateControlCompiler.cs: throw a ParseException where appropiate.
  1123. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  1124. * AspGenerator.cs: also support data bind syntax inside tags not
  1125. processed as controls. Added debugging method.
  1126. * TemplateControlCompiler.cs: reset the number of data binding handlers
  1127. in the proper place. Small fix when getting the container type.
  1128. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  1129. * TemplateControlCompiler.cs: correctly set the TemplateSourceDirectory
  1130. value.
  1131. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  1132. * AspGenerator.cs: handle code render syntax in tag attributes.
  1133. * AspParser.cs: the constructor now takes a TextReader.
  1134. * TemplateControlCompiler.cs: removed comment.
  1135. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  1136. * TemplateControlCompiler.cs: added support for data bound properties.
  1137. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  1138. * AspComponentFoundry.cs: simplified it a lot by using Type and Assembly
  1139. instead of their names.
  1140. * AspElements.cs: removed. No longer needed.
  1141. * AspGenerator.cs: this file is now in charge of interfacing between
  1142. the parser and the compiler. It manages the creation of the
  1143. ControlBuilder tree and the compilation of the CodeDOM tree.
  1144. * AspParser.cs: tag handling is simpler now. Instead of a whole bunch
  1145. of different Types, tags are just and id and a set of attributes.
  1146. Implement ILocation interface.
  1147. * AspTokenizer.cs: added a few methods to help the parser implementing
  1148. ILocation.
  1149. * BaseCompiler.cs: handles the portions of the CodeDOM tree that are
  1150. common to appliaction, page and user control, including the actual
  1151. compilation and error handling.
  1152. * CSCompiler.cs: compiles C# files using CodeDOM interfaces.
  1153. * CachingCompiler.cs: simplified to use the new interfaces.
  1154. * CompilationException.cs: it's now using CompilationResult to report
  1155. errors.
  1156. * CompilationResult.cs: Removed file.
  1157. * Directive.cs: to check for the validity of a directive.
  1158. * GlobalAsaxCompiler.cs: simplified a lot, as most of the work is done
  1159. in BaseCompiler.
  1160. * ILocation.cs: interface used to now the exact place where a parse
  1161. error happens.
  1162. * PageCompiler.cs: generates a couple of methods that are only used in
  1163. pages.
  1164. * ParseException.cs: use the ILocation interface.
  1165. * TagAttributes.cs: handles the attributes of the tags parsed.
  1166. * TagType.cs: an enum for the different kinds of tags.
  1167. * TemplateControlCompiler.cs: this is the one that does most of the
  1168. conversion from teh ControlBuilder tree into a CodeDOM tree.
  1169. * UserControlCompiler.cs: simplified as most of the work is done in
  1170. its base classes.
  1171. * WebServiceCompiler.cs: dummy.
  1172. 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
  1173. * AspComponentFoundry.cs: added GetComponentType method.
  1174. 2003-03-28 Gonzalo Paniagua Javier <[email protected]>
  1175. * AspTokenizer.cs: allow quotes inside server tags that are part of
  1176. attribute values.
  1177. * CachingCompiler.cs: no more 'FileNotFound' exceptions when the
  1178. compilation fails.
  1179. 2003-03-27 Gonzalo Paniagua Javier <[email protected]>
  1180. * AspGenerator.cs: generate correct appbase path. It was working with
  1181. mcs but not with csc.
  1182. * BaseCompiler.cs: quote arguments and removed GetRandomFileName.
  1183. * CachingCompiler.cs: quote source file.
  1184. 2003-03-26 Gonzalo Paniagua Javier <[email protected]>
  1185. * AspGenerator.cs: now the Inherits attribute works as expected for
  1186. global.asax file.
  1187. 2003-03-24 Gonzalo Paniagua Javier <[email protected]>
  1188. * CompilationException.cs:
  1189. * ParseException.cs: display the correct line number in error messages.
  1190. * AspElements.cs: added TargetSchema attribute for control. It's
  1191. ignored.
  1192. 2003-03-17 Gonzalo Paniagua Javier <[email protected]>
  1193. * BaseCompiler.cs: fixed the hack to work under windows.
  1194. * CachingCompiler.cs: under windows, try 'mcs.bat' and then 'mcs'.
  1195. 2003-03-17 Gonzalo Paniagua Javier <[email protected]>
  1196. * BaseCompiler.cs: hacks to work-around our buggy System.Uri.
  1197. 2003-03-17 George Kodinov <[email protected]>
  1198. * BaseCompiler.cs: Removed a FIXME: and added a correct calculation of
  1199. app's private bin path
  1200. 2003-03-10 Gonzalo Paniagua Javier <[email protected]>
  1201. * AspGenerator.cs:
  1202. * BaseCompiler.cs:
  1203. * CachingCompiler.cs:
  1204. * CompilationResult.cs:
  1205. * GlobalAsaxCompiler.cs:
  1206. * PageCompiler.cs:
  1207. * UserControlCompiler.cs: recompile the page if dependencies change.
  1208. 2003-02-15 Gonzalo Paniagua Javier <[email protected]>
  1209. * AspGenerator.cs: corrected typo and wrong fix.
  1210. 2003-02-14 Gonzalo Paniagua Javier <[email protected]>
  1211. * AspGenerator.cs: fixed code generation for Table/TableRow/TableCell
  1212. when used explicitly.
  1213. 2003-02-13 Gonzalo Paniagua Javier <[email protected]>
  1214. * AspElements.cs: get the property Type for controls that use
  1215. ParseChildren with a property name.
  1216. * AspGenerator.cs: generate correct signature for the method that
  1217. adds controls to the default property in ParseChildren.
  1218. 2003-02-11 Gonzalo Paniagua Javier <[email protected]>
  1219. * AspGenerator.cs: rethrow exceptions that may come from parsing or
  1220. compilation if a user control.
  1221. 2003-02-11 Gonzalo Paniagua Javier <[email protected]>
  1222. * AspGenerator.cs: throw ParseException on parse
  1223. error.
  1224. * AspParser.cs: added Line and Column props.
  1225. * CompilationException.cs: derives now from HtmlizedException.
  1226. * CompilationResult.cs: added fileName field. Fixed set_ExitCode.
  1227. * GlobalAsaxCompiler.cs:
  1228. * PageCompiler.cs:
  1229. * UserControlCompiler.cs: pass the file name in the CompilationResult.
  1230. * ParseException.cs: new exception.
  1231. 2003-02-05 Gonzalo Paniagua Javier <[email protected]>
  1232. * AspGenerator.cs: remove "file://" from the private bin path. Fixes
  1233. bug #37628.
  1234. 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
  1235. * AspParser.cs: the parser fires events when it parses an element.
  1236. * GlobalAsaxCompiler.cs:
  1237. * PageCompiler.cs:
  1238. * UserControlCompiler.cs:
  1239. * AspElements.cs: modified to use the new parser interface.
  1240. * AspGenerator.cs: modified to use the new parser. Merge multiple text
  1241. strings into one single LiteralControl.
  1242. * AspTokenizer.cs: added Line and Column properties.
  1243. 2003-01-24 Gonzalo Paniagua Javier <[email protected]>
  1244. * AspParser.cs: fixed bug #36929.
  1245. 2003-01-21 Tim Haynes <[email protected]>
  1246. * AspGenerator.cs:
  1247. * BaseCompiler.cs:
  1248. * CachingCompiler.cs: changes to work around spaces and
  1249. directory-separators in the local filesystem.
  1250. 2003-01-20 Gonzalo Paniagua Javier <[email protected]>
  1251. * AspGenerator.cs: make the generated file compile with csc after last
  1252. change.
  1253. 2003-01-20 Gonzalo Paniagua Javier <[email protected]>
  1254. * AspGenerator.cs: removed unused variable. Added support for
  1255. properties/fields of type string [].
  1256. 2003-01-16 Gonzalo Paniagua Javier <[email protected]>
  1257. * AspGenerator.cs: modified loading of the parent type now that
  1258. Type.GetType is fixed.
  1259. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  1260. * AspGenerator.cs: cast to Control if the container does not implement
  1261. INamingContainer.
  1262. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  1263. * AspGenerator.cs: fixed a couple of thinkos related to IsSubclassOf.
  1264. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  1265. * AspElements.cs: attributes without value lacked a space afterwards.
  1266. 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
  1267. * AspGenerator.cs: functions for columns don't return anything. Fixed
  1268. typo.
  1269. 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
  1270. * AspGenerator.cs: add data bound controls to code render function.
  1271. 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
  1272. * AspComponentFoundry.cs: reworked to allow same prefix for multiple
  1273. controls. You can register 1 assembly plus any number of user controls
  1274. under the same prefix.
  1275. * AspGenerator.cs: don't add duplicate 'using' for the same namespace.
  1276. Hack to allow @Register access to assemblies in other places than bin
  1277. directory.
  1278. 2003-01-06 Gonzalo Paniagua Javier <[email protected]>
  1279. * AspElements.cs: added 'codebehind' attribute for page, control and
  1280. application. It's ignored by MS, but allowed. Fixed typo.
  1281. 2003-01-06 Gonzalo Paniagua Javier <[email protected]>
  1282. * AspGenerator.cs: fixed EnableSesssionState handling.
  1283. 2003-01-05 Gonzalo Paniagua Javier <[email protected]>
  1284. * AspGenerator.cs: don't generate instance fields for pages/controls
  1285. when the base class specified in the Inherits attribute already has
  1286. them. Closes bug #36262.
  1287. 2002-12-19 Gonzalo Paniagua Javier <[email protected]>
  1288. * AspGenerator.cs: generate code like 'control.XXX = value' also for
  1289. public fields (properties were being handled in that way too).
  1290. 2002-12-18 Gonzalo Paniagua Javier <[email protected]>
  1291. * AspGenerator.cs: now it uses the current HttpContext when creating
  1292. user controls. TemplateSourceDirectory is no longer a dummy value.
  1293. * GlobalAsaxCompiler.cs:
  1294. * PageCompiler.cs:
  1295. * UserControlCompiler.cs: set the context which will be used to locate
  1296. the files.
  1297. 2002-12-13 Gonzalo Paniagua Javier <[email protected]>
  1298. * AspGenerator.cs: added support for AutoEventWireup attribute in
  1299. @Page and @Control.
  1300. * CompilationResult.cs:
  1301. * GlobalAsaxCompiler.cs:
  1302. * PageCompiler.cs:
  1303. * UserControlCompiler.cs: store the options.
  1304. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  1305. * AspElements.cs: new method Tag.GetElements
  1306. used to parse the inner contents of a tag looking for data binding or
  1307. code render tags.
  1308. New property HtmlControlTag.ParseChildren allows
  1309. differentiation of a couple of HtmlControls that has children as
  1310. properties (namely HtmlTable and HtmlTableRow).
  1311. * AspGenerator.cs: fixed container semantics to
  1312. match BindingContainer one. Implemented Inherits attribute for page and
  1313. control.
  1314. Support HtmlControls that has ChildrenAsProperties.
  1315. Generate code for data binding functions that matches the semantic of
  1316. Container.
  1317. Handle data bound and code render attribute values.
  1318. Set proper value return for TemplateSourceDirectory. Should be relative
  1319. to appPath.
  1320. * BaseCompiler.cs: moved CompilerOptions and
  1321. References handling here.
  1322. * CachingCompiler.cs: copy result of compilation.
  1323. * CompilationException.cs: simple ToString () implementation.
  1324. * CompilationResult.cs: implemented CopyFrom and ToString.
  1325. * GlobalAsaxCompiler.cs:
  1326. * PageCompiler.cs:
  1327. * UserControlCompiler.cs: removed CompilerOptions as it's now handled
  1328. in the base class. Get all the types in the generated assembly and
  1329. look for one that derives from the correct Type.
  1330. 2002-11-30 Gonzalo Paniagua Javier <[email protected]>
  1331. * AspElements.cs: added @Application directive.
  1332. * AspGenerator.cs: make it work also with application files. We
  1333. currently generate an extra private function.
  1334. 2002-11-29 Gonzalo Paniagua Javier <[email protected]>
  1335. * GlobalAsaxCompiler.cs: compiler for global.asax file. If the file
  1336. exists, it will be compiled into an HttpApplication derived class
  1337. (directly or through a user-provided class).
  1338. 2002-11-27 Gonzalo Paniagua Javier <[email protected]>
  1339. * AspGenerator.cs: fixed target file name and generated class name.
  1340. * BaseCompiler.cs: reference assemblies in PrivateBinPath.
  1341. 2002-11-26 Gonzalo Paniagua Javier <[email protected]>
  1342. * AspGenerator.cs: reworked user control
  1343. compilation. Provide the options as a Hashtable for use in compilation.
  1344. Create the user controls in the private bin path of the domain.
  1345. * BaseCompiler.cs: base class for the various compiler types.
  1346. * CachingCompiler.cs: actually executes mcs and do some poor caching
  1347. (it will use Cache when finished).
  1348. * CompilationException.cs: this exception has enough information to
  1349. generate a nice error page.
  1350. * CompilationResult.cs: used in caching.
  1351. * PageCompiler.cs: now derives from BaseCompiler
  1352. * TemplateFactory.cs: no longer needed.
  1353. * UserControlCompiler.cs: new class used when compiling user controls.
  1354. * WebServiceCompiler.cs: derives from BaseCompiler.
  1355. 2002-11-13 Gonzalo Paniagua Javier <[email protected]>
  1356. * AspElements.cs: added ServerComment class.
  1357. * AspParser.cs: ignore ServerComments tags. Remove server comments when
  1358. in verbatim mode.
  1359. Fixes #33482.
  1360. * PageCompiler.cs: check if the type is already cached before generating
  1361. the C# file.
  1362. * TemplateFactory.cs: if csFile parameter is null, only checks if we
  1363. already have the page compiled.
  1364. 2002-11-02 Gonzalo Paniagua Javier <[email protected]>
  1365. * AspGenerator.cs: undo one-liner change.
  1366. 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
  1367. * AspGenerator.cs: removed a few hacks no longer needed.
  1368. 2002-10-27 Gonzalo Paniagua Javier <[email protected]>
  1369. * PageCompiler.cs: tracing.
  1370. * TemplateFactory.cs: cache compiled types and tracing.
  1371. * WebServiceCompiler.cs: new parameter in GetTypeFromsource,
  1372. 2002-10-23 Gonzalo Paniagua Javier <[email protected]>
  1373. * AspComponentFoundry.cs: fixed typo.
  1374. * TemplateFactory.cs: use csc style options.
  1375. * AspGenerator.cs: don't use FileDependencies property of base class.
  1376. 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
  1377. * System.Web.Compilation/AspElements.cs:
  1378. * System.Web.Compilation/AspGenerator.cs:
  1379. * System.Web.Compilation/AspParser.cs:
  1380. * System.Web.Compilation/PageCompiler.cs:
  1381. * System.Web.Compilation/TemplateFactory.cs: we are now able to compile
  1382. pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
  1383. 2002-09-11 Gonzalo Paniagua Javier <[email protected]>
  1384. * AspElements.cs: added WebService directive.
  1385. * WebServiceCompiler.cs: New file.
  1386. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  1387. * PageCompiler.cs: fixed compilation.
  1388. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  1389. * PageCompiler.cs: generate C# file using AspGenerator.
  1390. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  1391. * AspComponentFoundry.cs: LookupFoundry now returns bool.
  1392. * AspGenerator.cs: New file.
  1393. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  1394. * AspComponentFoundry.cs: New file.
  1395. * AspElements.cs: renamed Component to Aspcomponent.
  1396. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  1397. * AspElements.cs:
  1398. * AspParser.cs:
  1399. * AspTokenizer.cs:
  1400. * ChangeLog:
  1401. * PageCompiler.cs:
  1402. * TemplateFactory.cs: first steps to move xsp into System.Web.