ChangeLog 128 KB

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