ChangeLog 89 KB

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