ChangeLog 102 KB

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