ChangeLog 125 KB

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