ChangeLog 102 KB

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