ChangeLog 200 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155
  1. 2010-07-23 Marek Habersack <[email protected]>
  2. * ClientScriptManager.cs: 4.0 adds a class="aspNetHidden"
  3. attribute to the div element surrounding the hidden elements.
  4. 2010-07-14 Marek Habersack <[email protected]>
  5. * DataKeyPropertyAttribute.cs: added (4.0)
  6. 2010-07-13 Marek Habersack <[email protected]>
  7. * Control.cs: moved 4.0 ClientID code to a separate method, so
  8. that the ID_SET flag isn't set when necessary.
  9. 2010-07-10 Marek Habersack <[email protected]>
  10. * Control.cs: when setting ClientIDMode remember the value when
  11. setting the property for the first time.
  12. 2010-07-08 Marek Habersack <[email protected]>
  13. * Control.cs: if generating a predictable ID and the current
  14. control is a naming container, ensure that an ID is generated if
  15. not specified by user.
  16. 2010-07-02 Marek Habersack <[email protected]>
  17. * TemplateControlParser.cs: added support for ClientIDMode
  18. property
  19. * Control.cs: implemented 4.0 features - ClientIDMode and
  20. RenderingCompatibility.
  21. * ClientIDMode.cs, IDataKeysControl.cs: added
  22. 2010-06-17 Marek Habersack <[email protected]>
  23. * RootBuilder.cs: both LINK and META HTML tags must be represented
  24. as instances of HtmlGenericControl. Fixes bug #603541
  25. 2010-06-02 Marek Habersack <[email protected]>
  26. * ViewStateMode.cs: added
  27. * Control.cs: implemented 4.0 ViewStateMode
  28. * Page.cs: implemented 4.0 properties AutoPostBackControl and
  29. RouteData
  30. 2010-06-01 Marek Habersack <[email protected]>
  31. * PageParser.cs: added support for MetaDescription and
  32. MetaKeywords main directive attributes
  33. * Page.cs: implemented MetaDescription and MetaKeywords
  34. 4.0 properties.
  35. 2010-05-19 Marek Habersack <[email protected]>
  36. * DataSourceCacheDurationConverter.cs: implemented. Fixes bug
  37. #603083
  38. * PageParser.cs: handle several main directive attributes
  39. specially, as they can have expressions as their values. Fixes bug
  40. #603532
  41. * MainDirectiveAttribute.cs: added - helper class to handle
  42. directive attributes which can take either a value or an
  43. expression.
  44. * BaseParser.cs: IsDirective, IsExpression and IsDataBound methods
  45. moved to here from TemplateControlCompiler.
  46. 2010-05-15 Marek Habersack <[email protected]>
  47. * Control.cs: implemented 4.0 GetRouteUrl overloads and
  48. GetUniqueIDRelativeTo
  49. 2010-05-05 Marek Habersack <[email protected]>
  50. * CollectionBuilder.cs: if a type has more than on indexer, check
  51. all of them for type compliance in GetChildControlType. Fixes bug
  52. #601290. Patch from Kalyanov Dmitry <[email protected]>,
  53. thanks!
  54. 2010-04-28 Marek Habersack <[email protected]>
  55. * KeyedList.cs: do not implement IStateManager in 4.0
  56. 2010-04-12 Marek Habersack <[email protected]>
  57. * PageParser.cs: if EnableViewStateMac option is present in the
  58. directive, remember it for later use by the compiler.
  59. * Page.cs: initialize EnableViewStateMac with the default read
  60. from the config.
  61. The above fix cross-site scripting vulnerability (CVE: CVE-2010-1459)
  62. Credits: Web Security Research Group (WSRG) of Hewlett Packard
  63. (HP)
  64. 2010-04-07 Marek Habersack <[email protected]>
  65. * Control.cs: control cache must be filled using the local
  66. _controls collection instead of the virtual Controls
  67. property. Fixes bug #594238
  68. Check if _controls isn't null before using it.
  69. 2010-04-06 Marek Safar <[email protected]>
  70. * FileLevelControlBuilderAttribute.cs: Use reference comparison.
  71. 2010-01-20 Marek Habersack <[email protected]>
  72. * ObjectStateFormatter.cs: implemented support for IndexedString
  73. on top of the existing StringFormatter.
  74. * IndexedString.cs: implemented
  75. 2009-12-22 Marek Habersack <[email protected]>
  76. * Page.cs: form javascript declaration block is rendered only if
  77. necessary. Fixes bug #566541
  78. * ClientScriptManager.cs: added internal property ScriptsPresent
  79. used to determine if it is necessary to render form javascript
  80. declaration block.
  81. Hidden fields block is output without indenting the controls and
  82. without rendering trailing empty line.
  83. Made Write{Begin,End}ScriptBlock slightly faster.
  84. 2009-12-18 Marek Habersack <[email protected]>
  85. * ObjectStateFormatter.cs: ObjectFormatter.WriteObject checks
  86. whether candidate converter can convert from string now. Fixes bug
  87. #565547
  88. 2009-11-14 Marek Habersack <[email protected]>
  89. * TemplateControl.cs: if writer is null in
  90. WriteUTF8ResourceString, use output.Write, not writer.Write. Fixes
  91. bug #547015
  92. 2009-11-10 Marek Habersack <[email protected]>
  93. * TemplateParser.cs: AddImports is called from LoadConfigDefaults
  94. so that it reads configuration from the correct .config file (it
  95. needs to be called after this.VirtualPath has been
  96. initialized). Fixes an issue with MVC apps which put configuration
  97. in Views/web.config etc. Fixes bug #552457
  98. * ControlBuilder.cs, Page.cs: system.web/pages section is not
  99. confined to the top-level web.config
  100. 2009-10-30 Marek Habersack <[email protected]>
  101. * Control.cs: ResolveClientUrl takes base path from
  102. Request.ClientFilePath, so that it works correctly for rewritten
  103. urls.
  104. 2009-10-27 Marek Habersack <[email protected]>
  105. * ObjectStateFormatter.cs: do not use a type converter to
  106. serialize an object if the converter is an instance of
  107. TypeConverter itself - its reported capability of converting to
  108. string is not useful here.
  109. 2009-10-12 Marek Habersack <[email protected]>
  110. * ObjectStateFormatter.cs: if a type is associated with a type
  111. converter, do not check if the converter can convert FROM the type
  112. in question, as this is implied. Fixes bug #545979
  113. 2009-10-09 Marek Habersack <[email protected]>
  114. * Control.cs: implemented the LoadViewStateByID property as well
  115. as saving/restoring the view state by control's ID.
  116. 2009-09-22 Marek Habersack <[email protected]>
  117. * WebServiceParser.cs: GetCompiledType uses BuildManager on the
  118. 2.0 profile. Fixes bug #533166
  119. 2009-09-15 Marek Habersack <[email protected]>
  120. * TemplateParser.cs: FindNamespaceInAssembly must catch
  121. ReflectionTypeLoadException so that it doesn't break on invalid
  122. assemblies.
  123. 2009-08-24 Marek Habersack <[email protected]>
  124. * PageParser.cs: 2.0 profile takes advantage of the inputFile
  125. parameter to GetCompiledPageInstance. A check is made whether the
  126. file pointed to by this parameter is inside the application's
  127. virtual path and if not, the compilation request is assumed to
  128. refer to a fake location. Part of fix for bug #463813
  129. 2009-08-18 Marek Habersack <[email protected]>
  130. * ControlBuilder.cs: Location property makes a copy of assigned
  131. ILocation now.
  132. 2009-08-14 Marek Habersack <[email protected]>
  133. * ControlBuilder.cs: when CreateSubBuilder is called on a builder
  134. which is supposed to treat its children as properties and the
  135. default property builder is defined, first check if the tag which
  136. has just been parsed isn't a template property. If it is, don't
  137. use the default property builder, instead create a template
  138. property builder directly. Fixes bug #527753
  139. 2009-07-23 Marek Habersack <[email protected]>
  140. * ControlBuilder.cs: added an internal helper property
  141. IsNamingContainer.
  142. 2009-07-21 Marek Habersack <[email protected]>
  143. * SimpleWebHandlerParser.cs: make sure to ignore invalid bin/
  144. assemblies in AddAssembliesInBin and GetTypeFromBin.
  145. 2009-06-15 Marek Habersack <[email protected]>
  146. * TemplateParser.cs: AddAssembliesInBin (1.1 profile) tries to
  147. load every assembly in order to see if it's a valid one. All bad
  148. dll image errors are silently ignored. Fixes bug #315816
  149. 2009-06-05 Marek Habersack <[email protected]>
  150. * Page.cs: InitializeTheme uses WebConfigurationManager.GetSection
  151. to retrieve page theme name. GetWebApplicationSection cannot be
  152. used because the system.web/pages section is valid also in
  153. subdirectories. Fixes bug #510302
  154. 2009-06-01 Marek Habersack <[email protected]>
  155. * ClientScriptManager.cs: WriteHiddenFields doesn't add the id
  156. attribute to generated input element in the 1.1 profile. Fixes bug
  157. #508167. Patch from Hubert FONGARNAND
  158. <[email protected]>, thanks!
  159. 2009-05-29 Marek Habersack <[email protected]>
  160. * StateBag.cs: made SetDirty (bool) available on 1.1 as
  161. internal. Fixes bug #507836
  162. 2009-05-05 Marek Habersack <[email protected]>
  163. * TemplateParser.cs: PageParserFilterType uses
  164. HttpApplication.LoadType so that it is able to load the filter
  165. from App_Code or with not fully qualified type names.
  166. 2009-05-04 Marek Habersack <[email protected]>
  167. * TemplateParser.cs: take RootBuilder from the associated
  168. generator.
  169. Allow the main page directive to be added twice if the parser
  170. needs it. Used by AspGenerator when extracting the inherited type
  171. name before actual parsing. Fixes bug #500075
  172. * FileLevelControlBuilderAttribute.cs,
  173. FileLevelPageControlBuilder.cs, FileLevelUserControlBuilder.cs:
  174. implemented
  175. * ControlBuilder.cs: added a new internal property,
  176. DataBindingMethod.
  177. Implemented ProcessGeneratedCode.
  178. 2009-04-30 Marek Habersack <[email protected]>
  179. * TemplateParser.cs: removed the PageParserFilterTypeName
  180. property, the filter type name is looked up on demand now.
  181. * ApplicationFileParser.cs, MasterPageParser.cs,
  182. UserControlParser.cs: load config defaults explicitly after
  183. initializing the instance.
  184. 2009-04-29 Marek Habersack <[email protected]>
  185. * DataBinder.cs: GetPropertyValue must throw also if propName is
  186. empty.
  187. 2009-04-24 Marek Habersack <[email protected]>
  188. * TemplateParser.cs: PageParserFilter.Initialize now takes just
  189. one parameter.
  190. AddImport ignores null/empty namespaces. Fixes bug #498118
  191. * PageParserFilter.cs: a few alignments for .NET compatibility in
  192. the default behavior.
  193. 2009-04-22 Marek Habersack <[email protected]>
  194. * TemplateParser.cs: create the imports ArrayList before
  195. attempting to use it. Fixes bug #497174
  196. 2009-04-21 Marek Habersack <[email protected]>
  197. * Page.cs: added support for OutputCacheParameters.NoStore to
  198. InitOutputCache.
  199. * SimpleWebHandlerParser.cs: retrieve CompilationSection from the
  200. appropriate web.config file.
  201. * BaseParser.cs: moved the internal property VirtualPath from
  202. TemplateParser to here and added an internal method
  203. GetConfigSection to retrieve sections from the correct web.config
  204. file on 2.0 applications. Fixes bug #494245
  205. * PageParser.cs: use the new GetConfigSection method to retrieve
  206. ClientTargetSection.
  207. * TemplateParser.cs: moved the VirtualPath property to
  208. BaseParser.
  209. PagesConfig now uses the new GetConfigSection method. Fixes bug
  210. #494245
  211. Added support for the SqlDependency, NoStore and CacheProfile
  212. attributes of the OutputCache directive. Fixes bug #496951
  213. 2009-04-15 Marek Habersack <[email protected]>
  214. * TemplateParser.cs: use generic lists for import, namespace and
  215. interface caches. If a namespace is added (e.g. by parsing the
  216. Import directive), find the assembly in which namespace is
  217. defined.
  218. 2009-04-07 Marek Habersack <[email protected]>
  219. * Control.cs: ApplyTheme - make sure Page is not null before using
  220. it. Fixes bug #492666
  221. 2009-04-06 Marek Habersack <[email protected]>
  222. * Page.cs: ProcessRaiseCallbackEvent and ProcessGetCallbackResult
  223. now return full exception trace if one is caught and we're running
  224. in debugging mode.
  225. 2009-03-31 Marek Habersack <[email protected]>
  226. * Page.cs: SavePageViewState saves the list of controls which
  227. require post back regardless of whether view state is disabled or
  228. not. Fixes bug #490753
  229. * ApplicationFileParser.cs, MasterPageParser.cs, PageParser.cs,
  230. PageThemeFileParser.cs, PageThemeParser.cs, UserControlParser.cs,
  231. WebHandlerParser.cs, WebServiceParser.cs: 2.0 constructors take a
  232. VirtualPath instance for the virtualPath parameter, instead of a
  233. string.
  234. 2009-03-18 Marek Habersack <[email protected]>
  235. * Control.cs: AppRelativeResourceDirectory no longer returns a
  236. hard-coded "~/" when template control's virtual path cannot be
  237. determined. It returns application relative version of
  238. TemplateSourceDirectory instead.
  239. 2009-03-13 Marek Habersack <[email protected]>
  240. * Control.cs: clear the controls cache on control removal. This
  241. ensures that a subsequent FindControl call won't return the
  242. removed control.
  243. 2009-03-06 Marek Habersack <[email protected]>
  244. * XPathBinder.cs: use the pased namespace manager
  245. * ControlBuilder.cs: BindingContainerType - if control type of the
  246. containing builder is null, return typeof (Control)
  247. 2009-03-03 Rodrigo Kumpera <[email protected]>
  248. * Control.cs (FillControlCache): Remove useless control
  249. parameter. It's always the same of 'this'.
  250. 2009-03-03 Rodrigo Kumpera <[email protected]>
  251. * DataBoundLiteralControl.cs: Don't init static literals
  252. as they are lazily created.
  253. 2009-02-28 Gonzalo Paniagua Javier <[email protected]>
  254. * BaseParser.cs:
  255. * PageParser.cs:
  256. * ControlBuilder.cs:
  257. * TemplateParser.cs:
  258. * Page.cs:
  259. * SimpleWebHandlerParser.cs: settings that have to be in
  260. machine.config or the root level web.config now call
  261. GetWebApplicationSection.
  262. 2009-02-28 Gonzalo Paniagua Javier <[email protected]>
  263. * ObjectStateFormatter.cs: use GetWebApplication
  264. instead of GetSection for application level configuration.
  265. 2009-02-28 Gonzalo Paniagua Javier <[email protected]>
  266. * Control.cs: Avoid double OnInit in scenarios with two master
  267. pages.
  268. 2009-02-26 Marek Habersack <[email protected]>
  269. * FileLevelControlBuilderAttribute.cs,
  270. DataSourceCacheDurationConverter: hush the gmcs warnings
  271. 2009-02-20 Gonzalo Paniagua Javier <[email protected]>
  272. * TemplateControl.cs: implement the other ReadStringResource method.
  273. Patch from Kornel Pal.
  274. 2009-02-20 Gonzalo Paniagua Javier <[email protected]>
  275. * ResourceBasedLiteralControl.cs: new Control. It's just
  276. like a LiteralControl but will render itself from the bytes pointed to
  277. by an IntPtr and not create any string from the underlying data unless
  278. needed.
  279. * TemplateControl.cs: implemented a bunch of methods
  280. that are used from the precompiled assemblies for a web project. The
  281. most notable change needed is to be able to read a win32 resource from
  282. the dll of the control. The resource is a concatenation of literals
  283. with plain text for the control and a specialized LiteralControl is
  284. generated from different chunks of the resource.
  285. * HtmlTextWriter.cs: new method that returns the HttpWriter in use.
  286. 2009-02-18 Gonzalo Paniagua Javier <[email protected]>
  287. * TemplateControl.cs: ReadStringResource returns null now.
  288. 2009-02-18 Gonzalo Paniagua Javier <[email protected]>
  289. * MasterPage.cs: the items in ContentPlaceHolders are lowercase.
  290. 2009-02-18 Marek Habersack <[email protected]>
  291. * TemplateParser.cs: don't initialize PageParserFilter in
  292. LoadConfigDefaults, postpone it till the first time the
  293. PageParserFilter property is accessed.
  294. * ApplicationFileParser.cs, UserControlParser.cs: make sure
  295. VirtualPath is set in the constructors.
  296. 2009-02-13 Marek Habersack <[email protected]>
  297. * TemplateParser.cs: PageParserFilter handling moved to here.
  298. PagesConfig must use the current virtual path when retrieving the
  299. section, or otherwise we'll miss the lower level web.configs.
  300. Added the AddControl method, used by PageParserFilter.
  301. Implementing filtering of: parsed directives and the base type, if
  302. a page parser filter is present.
  303. * PageParserFilter.cs: added missing 3.5 members and implemented
  304. everything.
  305. * PageParser.cs: moved PageParserFilter processing to
  306. TemplateParser.
  307. VirtualPath must be set before anything else.
  308. Call page parser filter's directive preprocessing code from
  309. AddDirective if a filter is present and a mastertype or
  310. previouspagetype directive is parsed.
  311. * MasterPageParser.cs: when PageParserFilter is present use it to
  312. preprocess the MasterType directive.
  313. 2009-02-12 Marek Safar <[email protected]>
  314. * ControlBuilder.cs, PageParserFilter.cs, CodeConstructType.cs:
  315. Add few missing members.
  316. 2009-02-06 Gert Driesen <[email protected]>
  317. * Control.cs: Make IsViewStateEnabled available on 1.0 profile
  318. and use it to determine if viewstate needs to be saved instead of
  319. the newly introduced ViewStateShouldBeSaved. Remove
  320. ViewStateShouldBeSaved.
  321. 2009-02-05 Marek Habersack <[email protected]>
  322. * Control.cs: if a control has been added to the controls
  323. collection, removed and added again do not call OnInit (). At the
  324. same time OnInit() should be called more than once if a control is
  325. added to a container which, in turn, is then added to another
  326. control. To achieve that a new state mask flag has been added -
  327. REMOVED. Fixes bug #471305
  328. 2009-02-04 Marek Habersack <[email protected]>
  329. * Control.cs: update of the fix for bug #470993 - view state of
  330. the child controls isn't saved when any of their parents has it
  331. disabled.
  332. 2009-01-30 Marek Habersack <[email protected]>
  333. * Control.cs: don't save the control's state if it's
  334. disabled. Fixes bug #470993
  335. 2009-01-23 Marek Habersack <[email protected]>
  336. * HtmlTextWriter.cs: if OnTagRender returns false when called from
  337. RenderBeginTag, push the tag to the stack regardless, and ignore
  338. it in DoBeginTag and RenderEndTag. Fixes bug #463634
  339. 2009-01-13 Marek Habersack <[email protected]>
  340. * CodeBuilder.cs, RootBuilder.cs, CollectionBuilder.cs: updates
  341. related to ControlBuilder cleanup.
  342. * ControlBuilder.cs: code cleanup - no field should be visible
  343. outside the class unless it's a constant or a read-only field.
  344. 2009-01-12 Marek Habersack <[email protected]>
  345. * TemplateParser.cs: line pragmas are on by default. Fixes bug
  346. #460479
  347. 2009-01-09 Marek Habersack <[email protected]>
  348. * BaseParser.cs, PageParser.cs, UserControlParser.cs: use
  349. VirtualPathUtility.GetDirectory instead of UrlUtils.GetDirectory.
  350. 2008-12-25 Gonzalo Paniagua Javier <[email protected]>
  351. * TemplateControl.cs: use IndexOf (char).
  352. 2008-12-18 Marek Habersack <[email protected]>
  353. * ControlBuilder.cs: BindingContainerType returns typeof (Page)
  354. only when the current object is a RootBuilder and it's been
  355. created for a page parser. Otherwise it returns typeof
  356. (Control). Fixes bug #456305
  357. 2008-12-11 Marek Habersack <[email protected]>
  358. * MasterPageParser.cs: check if masterType is null before using it
  359. in AddDirective.
  360. * TemplateParser.cs: in the 2.0 profile when a custom control is
  361. registered, do not compile it right away but store the tag name in
  362. a registry to be compiled at a later stage.
  363. 2008-12-09 Gonzalo Paniagua Javier <[email protected]>
  364. * XhtmlTextWriter.cs: don't recreate the Hashtables every time, but
  365. Clone the defaults.
  366. 2008-12-10 Marek Habersack <[email protected]>
  367. * MasterPageParser.cs: do not compile anything while
  368. parsing. MasterType virtual path is not compiled, but stored for
  369. later. It is compiled when the MasterType property is requested
  370. from within MasterPageCompiler.
  371. * PageParser.cs: do not compile anything while
  372. parsing. MasterPageFile, MasterType and PreviousPageType virtual
  373. paths aren't compiled but checked for existence and stored for
  374. later. Actual compilation happens when the MasterType and
  375. PreviousPageType are requested from within PageCompiler.
  376. * BaseParser.cs: added a new helper method, ThrowParseFileNotFound.
  377. 2008-12-03 Marek Habersack <[email protected]>
  378. * DataBinder.cs: clean up Eval for good this time.
  379. GetIndexedPropertyValue should throw an exception when a string
  380. indexer expression is used and the container is an IList.
  381. 2008-12-02 Gonzalo Paniagua Javier <[email protected]>
  382. * Page.cs: make sure we don't return null in Title.
  383. 2008-12-02 Marek Habersack <[email protected]>
  384. * DataBinder.cs: when Eval attempts to find Items [] in the
  385. container, catch and ignore all exceptions - the null returned
  386. from GetPropertyValue may be a legitimate return value.
  387. * StateManagedCollection.cs: adding an item to the collection does
  388. not call SetDirty as an item is added, thus not affecting the
  389. indexes of its predecessors. Fixes bug #443100
  390. Insert doesn't call SetDirtyObject as all objects are made dirty
  391. in SetDirty which is called from here. Same applies to this [int]
  392. indexer.
  393. 2008-12-01 Marek Habersack <[email protected]>
  394. * MasterPage.cs: use List <string> for ContentPlaceHolders instead
  395. of ArrayList.
  396. CreateMasterPage now directly accesses the ContentPlaceHolders as
  397. it is now a list of strings.
  398. 2008-11-28 Marek Habersack <[email protected]>
  399. * DataBinder.cs: do the proper thing in Eval when a non-indexed
  400. property is requested on an object and not found. In that case try
  401. to use the Items property.
  402. 2008-11-25 Marek Habersack <[email protected]>
  403. * RootBuilder.cs: use new API in AspComponentFoundry to retrieve
  404. registered control type.
  405. * TemplateControlParser.cs: AddControlImports () removed. Its
  406. functionality is now implemented in ControlBuilder.AddChild in a
  407. more elegant, fine grained and correct way.
  408. * TemplateParser.cs: replaced some "" with String.Empty
  409. * ControlBuilder.cs: AddChild now adds an import for child's
  410. namespace if the control being added has been registered in the
  411. web.config file. Possible fix for #447896 and #447898
  412. * PageParser.cs, MasterPageParser.cs: do not call
  413. AddControlImports, it no longer exists.
  414. 2008-11-21 Marek Habersack <[email protected]>
  415. * ControlBuilder.cs: in BindingContainerType if builder is a
  416. RootBuilder and no naming container is found, return typeof
  417. (Page). In the TemplateBuilder case return cb.ControlType, not
  418. this.ControlType.
  419. 2008-11-18 Gonzalo Paniagua Javier <[email protected]>
  420. * ControlBuilder.cs: make sure the binding container container is a
  421. naming container.
  422. 2008-11-18 Marek Habersack <[email protected]>
  423. * ControlBuilder.cs: make sure no control implementing the
  424. INonBindingContainer can be returned from BindingContainerType.
  425. 2008-11-18 Gonzalo Paniagua Javier <[email protected]>
  426. * ControlBuilder.cs: find the correct naming container even inside
  427. user controls. A corner case of bug #445889.
  428. 2008-11-15 Marek Habersack <[email protected]>
  429. * INonBindingContainer.cs: added
  430. * Control.cs: BindingContainer now checks if a control implements
  431. INonBindingContainer interface in addition to the
  432. BINDING_CONTAINER mask check.
  433. * UserControl.cs: implements INonBindingContainer
  434. * ControlBuilder.cs: use the new INonBindingContainer interface to
  435. determine the binding container type in the BindingContainerType
  436. property. If TemplateBuilder's ContainerType implements that
  437. interface, the NamingContainer is queried for the binding
  438. container type. If ContainerType is null, we return our own
  439. ControlType (if we're TemplateBuilder)
  440. 2008-11-14 Marek Habersack <[email protected]>
  441. * DataBinder.cs: if Eval doesn't find the indicated property, try
  442. to find an indexer property on the object and use the expression
  443. value as its parameter. Fixes #444725
  444. 2008-11-13 Marek Habersack <[email protected]>
  445. * Control.cs: added ability to reset child names to a specific
  446. value, not only to 0.
  447. 2008-10-29 Marek Habersack <[email protected]>
  448. * StateManagedCollection.cs: IList.Remove should call this.IndexOf
  449. instead of items.IndexOf
  450. 2008-10-24 Marek Habersack <[email protected]>
  451. * TemplateControl.cs: pass content hash to
  452. UserControlParser.GetCompiledType when compiling a control in
  453. ParseControl.
  454. * UserControlParser.cs: when compiling a control using a text
  455. reader, append a unique suffix to the "file path" - that way
  456. controls compiled from different input streams won't conflict with
  457. each other in the compilation cache.
  458. 2008-10-23 Marek Habersack <[email protected]>
  459. * TemplateControlParser.cs: added internal method
  460. AddControlImports which adds namespaces named in the
  461. pages/controls section of web.config
  462. * MasterPageParser.cs: unconditionally add namespaces named in the
  463. pages/controls section of web.config.
  464. * PageParser.cs: add namespaces named in the pages/controls
  465. section of web.config to the page whenever it uses a master page.
  466. * StateManagedCollection.cs: modified {Load,Save}ViewState to
  467. properly store/recreate the collection of controls and to use a
  468. more consistent structure for the state.
  469. 2008-10-17 Marek Habersack <[email protected]>
  470. * Control.cs: added the ValidateEvent internal method, used by
  471. classes descending from Control to automatically trigger event
  472. validation.
  473. * Page.cs: removed the CheckForValidationSupport method. It moved
  474. to Control.cs
  475. RaisePostBackEvent no longer validates the events, this
  476. functionality has been moved to Control.ValidateEvent.
  477. 2008-10-15 Marek Habersack <[email protected]>
  478. * Page.cs: Response caching is switched on only when output
  479. caching is configured for this page instance. Fixes bug #435549.
  480. 2008-10-14 Marek Habersack <[email protected]>
  481. * Control.cs: SaveViewStateRecursive must return view state even
  482. if EnableViewState is false. This is apparently what .NET does, as
  483. some commercial ASP.NET controls take advantage of that via
  484. reflection.
  485. 2008-10-08 Marek Habersack <[email protected]>
  486. * DataBinder.cs: in Eval expression needs to be trimmed before
  487. checking whether it's an empty string.
  488. GetIndexedPropertyValue must explicitly look for the "Item"
  489. property, the lack of the DefaultMember attribute on type must not
  490. throw exceptions.
  491. 2008-10-03 Marek Habersack <[email protected]>
  492. * TemplateParser.cs: make sure the generated class name is a valid
  493. language independent identifier. Fixes bug #431622
  494. 2008-09-29 Marek Habersack <[email protected]>
  495. * Page.cs: EnableViewState is initialized from the web
  496. configuration.
  497. ViewState is saved only if EnableViewState is true for the page.
  498. Optimized SavePageControlState implementation.
  499. Implemented the UniqueFilePathSuffix and MaxPageStateFieldLength
  500. properties.
  501. Some coding style changes.
  502. 2008-09-25 Marek Habersack <[email protected]>
  503. * Page.cs: make sure view state is loaded for PreviousPage during
  504. cross-page postback.
  505. 2008-09-13 Atsushi Enomoto <[email protected]>
  506. * IAutoFieldGenerator.cs : new in 3.5 SP1.
  507. 2008-09-13 Atsushi Enomoto <[email protected]>
  508. * CssClassPropertyAttribute.cs : new in 3.5 SP1.
  509. 2008-09-13 Atsushi Enomoto <[email protected]>
  510. * IBindableControl.cs : new in 3.5 SP1.
  511. 2008-09-01 Marek Habersack <[email protected]>
  512. * ControlBuilder.cs: CreatePropertyBuilder now correctly processes
  513. property names with prefixes (e.g. 'prefix:PropertyName').
  514. Original, parsed, tag name is stored to properly handle closing
  515. tags.
  516. CreateSubBuilder compares tagid to tagName case-insensitively now.
  517. * TemplateControl.cs: changed the way in which ParseControl is
  518. implemented for the 2.0+ profile. Still not quite there, but
  519. better and closer to .NET
  520. 2008-08-31 Marek Habersack <[email protected]>
  521. * Control.cs: improved FillControlCache
  522. * TemplateParser.cs: added support for the LinePragmas directive
  523. attribute.
  524. * ControlBuilder.cs: if this instance is a TemplateBuilder do not
  525. call MyNamingContainer, so that our own ContainerType can be used
  526. as the binding container (if present).
  527. Added a cache for children of TemplateBuilder, used later in
  528. TemplateControlCompiler.
  529. 2008-08-26 Marek Habersack <[email protected]>
  530. * TemplateControlParser.cs: added support for the VirtualPath
  531. attribute of the Reference directive.
  532. In the 2.0 profile, all the references are compiled using
  533. BuildManager.GetCompiledType now.
  534. 2008-08-13 Marek Habersack <[email protected]>
  535. * TemplateBuilder.cs: use a generic List to store the bindings on
  536. 2.0+
  537. 2008-08-08 Marek Habersack <[email protected]>
  538. * StateManagedCollection.cs: set all the contained objects state
  539. to dirty in SetDirty.
  540. 2008-07-28 Marek Habersack <[email protected]>
  541. * MasterPage.cs: decouple processing of content templates in
  542. CreateMasterPage from checking whether all the content place
  543. holder ids are defined. Fixes bug #325114
  544. 2008-07-22 Gert Driesen <[email protected]>
  545. * LosFormatter.cs (Deserialize): When stream is non-seekable, do not
  546. attempt to use properties that require a seekable stream. Based on
  547. patch provided by Dean Brettle ([email protected]). Fixes bug #411115.
  548. 2008-07-16 Rodrigo Kumpera <[email protected]>
  549. * DataBoundLiteralControl.cs: Lazily create staticLiterals.
  550. * DataBoundLiteralControl.cs (Render): Don't generate
  551. an intermediate string, write the content directly.
  552. 2008-07-14 Marek Habersack <[email protected]>
  553. * Page.cs: fix the failing tests by moving the form
  554. RaisePostBackEvent code up in RaisePostBackEvents, so that
  555. Validate () isn't called together with the registered post back
  556. events.
  557. 2008-07-10 Roei Erez <[email protected]>
  558. * ClientScriptManager.cs: Bug in javacript code, usind window scope instead of document.
  559. 2008-07-11 Marek Habersack <[email protected]>
  560. * Control.cs: if adapter exists for the given control, use it for
  561. rendering. Patch from Christian Hergert
  562. <[email protected]>, thanks!
  563. 2008-07-10 Roei Erez <[email protected]>
  564. * Page.cs: Differentiate between IPostBackEventHandler that was registered by the user,
  565. and one that was given as post parameter, so that in case ther post data may trigger both
  566. IPostBackEventHandler and IPostBackDataHandler, only the IPostBackDataHandler is actually triggered.
  567. 2008-07-09 Rodrigo Kumpera <[email protected]>
  568. * DataBinder.cs (GetDataItem): Commited stupid code.
  569. 2008-07-09 Rodrigo Kumpera <[email protected]>
  570. * DataBinder.cs (GetDataItem): Use a per-thread cache for
  571. property lookup.
  572. 2008-07-02 Rodrigo Kumpera <[email protected]>
  573. * Control.cs: Fix the lookup in ResolveAdapter that I
  574. broke in the previous change.
  575. 2008-07-02 Rodrigo Kumpera <[email protected]>
  576. * Control.cs: Optimize ResolveAdapter a bit more.
  577. 2008-07-02 Rodrigo Kumpera <[email protected]>
  578. * Control.cs: Optimize the Adapter property and ResolveAdapter a bit.
  579. 2008-07-01 Rodrigo Kumpera <[email protected]>
  580. * TemplateControl.cs: Kill a foreach loop.
  581. 2008-06-30 Marek Habersack <[email protected]>
  582. * TemplateParser.cs: use atomic incrementation for automatic class
  583. name creation to avoid Monitor Enter/Exit.
  584. * UserControlParser.cs: hush the warnings and remove unnecessary
  585. code.
  586. * ControlCachePolicy.cs, PageParser.cs, ControlBuilder.cs,
  587. TemplateParser.cs, SimpleWebHandlerParser.cs, TemplateControl.cs,
  588. ApplicationFileParser.cs: hush the warnings
  589. * Page.cs: Context is protected internal in .NET 3.5
  590. Initialize encryption IVs before returning the transform.
  591. * Control.cs: in 2.0 we should return the context associated with
  592. the current page. In 1.0 we ignore the never set field _context
  593. and keep walking up the parent chain. Also, Context is protected
  594. internal in .NET 3.5
  595. Hush the warnings.
  596. 2008-06-27 Zoltan Varga <[email protected]>
  597. * Control.cs (ResolveAdapter): Avoid calling the Context property getter
  598. multiple times.
  599. * TemplateControl.cs: Avoid collecting the automatic event info for each
  600. instance.
  601. 2008-06-18 Juraj Skripsky <[email protected]>
  602. * Page.cs (ProcessException): Throw HttpUnhandledException instead of
  603. TargetInvocationException to match .NET. Fixes bug #400482.
  604. 2008-06-18 Marek Habersack <[email protected]>
  605. * BasePartialCachingControl.cs: implemented the CachePolicy
  606. property.
  607. * UserControl.cs: implemented the CachePolicy property.
  608. * ControlCachePolicy.cs: implemented missing properties and
  609. methods.
  610. 2008-06-11 Marek Habersack <[email protected]>
  611. * TemplateControl.cs: make sure 'type' isn't null in LoadControl
  612. before attempting to use it.
  613. 2008-06-10 Noam Lampert <[email protected]>
  614. * TemplateControl.jvm.cs: Don't assume that controls containing page-specific
  615. callbacks (e.g. Page_LoadComplete) are necessarily Page derivatives.
  616. 2008-06-04 Juraj Skrispky <[email protected]>
  617. * PageParser.cs (ProcessMainAttributes): Take value of
  618. enableEventValidation from web.config into account. Fixes bug #397099.
  619. 2008-06-04 Marek Habersack <[email protected]>
  620. * PageHandlerFactory.cs: this class should be public. Fixes bug
  621. #396707
  622. 2008-05-30 Marek Habersack <[email protected]>
  623. * DataBindingCollection.cs, ExpressionBindingCollection.cs: do not
  624. use synthetized event accessors (to avoid locks).
  625. 2008-05-28 Marek Habersack <[email protected]>
  626. * ReadOnlyDataSourceView.cs: added. Patch contributed by James
  627. Fitzsimons <[email protected]>, thanks!
  628. * TemplateParser.cs: added support for #pragma checksum
  629. 2008-05-19 Juraj Skripsky <[email protected]>
  630. * Page.cs (ValidateCollection): Don't check _eventValidation, it
  631. has nothing to do with the validators.
  632. 2008-05-16 Marek Habersack <[email protected]>
  633. * StateManagedCollection.cs: make {Save,Load}ViewState simpler.
  634. 2008-05-15 Marek Habersack <[email protected]>
  635. * StateManagedCollection.cs: do not query for index of an item in
  636. a null array.
  637. 2008-05-07 Marek Habersack <[email protected]>
  638. * TemplateParser.cs: added a stack of include directories, to
  639. properly resolve file relative paths when the #include file=""
  640. directive is used. Fixes bug #324536
  641. 2008-05-05 Igor Zelmanovich <[email protected]>
  642. * HiddenFieldPageStatePersister.cs: add TARGET_J2EE def
  643. * Page.cs: remove TARGET_J2EE def
  644. * Page.jvm.cs: add new internal api such PageState and FacesContext.
  645. all those changes make PageAdapter works with JSF under TARGET_J2EE.
  646. 2008-04-24 Marek Habersack <[email protected]>
  647. * RootBuilder.cs: when registering a custom control, add its path
  648. to the parser dependencies. Fixes bug #377915
  649. In the 2.0 profile, if the custom control being used was
  650. registered from web.config and is found in the same directory what
  651. the file being parsed, throw an exception. This behavior matches
  652. MS.NET.
  653. * TemplateParser.cs: added new VirtualPath property, which stores
  654. the virtual path to the file being parsed.
  655. * PageParser.cs: set the VirtualPath property in the 2.0 profile
  656. when constructing the parser.
  657. 2008-04-23 Marek Habersack <[email protected]>
  658. * TemplateParser.cs: constructs the VirtualPath using the current
  659. parser's BaseVirtualDirectory. Fixes bug #381715
  660. 2008-04-19 Marek Habersack <[email protected]>
  661. * SimpleWebHandlerParser.cs: refactoring - move code between
  662. constructors, reader should be set before initializing the rest of
  663. the object. Fixes bug #381364
  664. * TemplateParser.cs: RegisterCustomControl must use absolute
  665. virtual path when querying the virtual path provider for
  666. file. Fixes bug #381364
  667. 2008-04-18 Marek Habersack <[email protected]>
  668. * ObjectStateFormatter.cs: ObjectFormatter.WriteObject should not
  669. use a converter if it can't convert _from_ the type of the object
  670. being written to the stream. Fixes issues with serializing, e.g.,
  671. a DataSet.
  672. 2008-04-14 Marek Habersack <[email protected]>
  673. * SimpleWebHandlerParser.cs, TemplateParser.cs, AspGenerator.cs:
  674. make sure streams are disposed the way they should be.
  675. 2008-04-10 Marek Habersack <[email protected]>
  676. * Control.cs: refactoring - IdSeparator property is internally
  677. present also in 1.1.
  678. 2008-04-08 Dean Brettle <[email protected]>
  679. * Page.cs (PageAdapter): fixed cast error when a ControlAdapter that
  680. wasn't a PageAdapter was used.
  681. 2008-04-08 Marek Habersack <[email protected]>
  682. * TemplateParser.cs: CodeFile/Src handling uses
  683. HostingEnvironment.VirtualPathProvider to check for file
  684. existence.
  685. 2008-04-02 Marek Habersack <[email protected]>
  686. * Page.cs: make SetContext internal (used from tests).
  687. 2008-04-01 Marek Habersack <[email protected]>
  688. * TemplateControl.cs: ParseControl implemented for the 2.0
  689. profile.
  690. * UserControlParser.cs: added support for compiling controls
  691. without input file (e.g. from TemplateControl.ParseControl).
  692. * TemplateParser.cs: implemented VirtualPathProvider support for
  693. registering UserControls.
  694. If there is no input file path provided, auto-generate the class
  695. name in the ClassName property getter.
  696. 2008-03-27 Marek Habersack <[email protected]>
  697. * Page.cs: added an implementation of the ClientQueryString
  698. property.
  699. 2008-03-13 Marek Habersack <[email protected]>
  700. * TemplateParser.cs: HttpApplication.BinaryDirectories property no longer
  701. exists, use HttpApplication.BinDirectory instead.
  702. 2008-03-09 Dean Brettle <[email protected]>
  703. * Page.cs (SavePageControlState, LoadPageControlState): save/load
  704. adapter state in 2.0 profile.
  705. * Page.cs (CreateHtmlTextWriter): call Browser.CreateHtmlTextWriter()
  706. in 2.0 profile.
  707. * Page.cs (RenderPage): call CreateHtmlTextWriter() to get the writer
  708. in 2.0 profile.
  709. * Page.cs (DeterminePostBackMode, InitOutputCache,
  710. RenderClientScriptFormDeclaration, InternalProcessRequest,
  711. PageStatePersister): added support for PageAdapters.
  712. * Control.cs (Adapter, ResolveAdapter): implemented. Adapter calls
  713. ResolveAdapter and remembers result. ResolveAdapter checks for adapters
  714. of the Type hierarchy until it finds one.
  715. * Control.cs (SaveViewStateRecursive, LoadViewStateRecursive): save/load
  716. adapter state in 2.0 profile.
  717. * HtmlTextWriter.cs (BeginRender, EndRender): added empty virtual methods
  718. required by 2.0 profile. These are called by corresponding methods of
  719. System.Web.UI.Adapters.ControlAdapter.
  720. * Page.cs, Control.cs: don't access Request.Browser if it couldn't have
  721. any adapters/writers because there are no files in App_Browsers/.
  722. 2008-03-09 Marek Habersack <[email protected]>
  723. * TemplateControlParser.cs: 2.0 allows controls with extensions
  724. different than .ascx, as long as they derive from
  725. System.Web.UI.UserControl and a build provider is available for
  726. them.
  727. * TemplateParser.cs: user controls must derive from
  728. System.Web.UI.UserControl.
  729. * SimpleWebHandlerParser.cs: if the input file doesn't contain the
  730. correct directive string (tag name is empty for the <%@ %> tag),
  731. use the default directive.
  732. 2008-02-28 Marek Habersack <[email protected]>
  733. * TemplateControlParser.cs: when registering a control, check for
  734. the .ascx extension case-insensitively. Fixes bug #364995
  735. 2008-02-28 Igor Zelmanovich <[email protected]>
  736. * Control.cs:
  737. fixed exception propagation in case of multiple control with same id
  738. were found.
  739. 2008-02-26 Marek Habersack <[email protected]>
  740. * TemplateParser.cs: a better error message.
  741. * ControlBuilder.cs: if one of the parent builders is a
  742. TemplateBuilder, use it as the naming container and use its
  743. ContainerType property as the value of the BindingContainerType
  744. property.
  745. 2008-02-25 Marek Habersack <[email protected]>
  746. * ControlBuilder.cs: correctly chain up to the parent builder when
  747. looking for the naming container.
  748. 2008-02-21 Marek Habersack <[email protected]>
  749. * ControlBuilder.cs: introduced a new internal property -
  750. MyNamingContainer used by the public properties
  751. NamingContainerType and BindingContainerType. This simplifies the
  752. code in the latter property, as the binding container type must
  753. almost always be the same as the naming container type. The only
  754. exception is when we're inside a content builder, in which case we
  755. return the parent's BindingContainerType. Fixes bug #363665
  756. 2008-02-12 Vladimir Krasnov <[email protected]>
  757. * Page.jvm.cs: StateSerializer.readExternal and writeExternal fixed
  758. to support viewstate encryption
  759. 2008-02-12 Vladimir Krasnov <[email protected]>
  760. * ObjectStateFormatter.cs: revert of 91820
  761. 2008-02-08 Marek Habersack <[email protected]>
  762. * SimpleWebHandlerParser.cs: always return a non-null value from
  763. the Program property.
  764. * TemplateParser.cs: make sure that the Src attribute is treated
  765. correctly in the 2.0 profile. Fixes bug #319016
  766. 2008-02-07 Vladimir Krasnov <[email protected]>
  767. * Page.jvm.cs: added StateSerializer class, fixed processSaveState,
  768. processRestoreState
  769. 2008-02-07 Marek Habersack <[email protected]>
  770. * PageHandlerFactory.cs: call PageParser.GetCompiledPageInstance
  771. only - that method calls the appropriate APIs for 1.1 and 2.0
  772. profiles.
  773. 2008-02-06 Vladimir Krasnov <[email protected]>
  774. * Control.cs: fixed ResolveClientUrlInternal for portal url prefixes
  775. 2008-02-04 Marek Habersack <[email protected]>
  776. * SimpleWebHandlerParser.cs: use WebEncoding.FileEncoding when
  777. reading the source file.
  778. 2008-01-30 Igor Zelmanovich <[email protected]>
  779. * ObjectStateFormatter.cs:
  780. ensure ReaderContext.GetCache called with positive arg to prevent from
  781. ArgumentOutOfRange being thrown.
  782. 2008-01-29 Igor Zelmanovich <[email protected]>
  783. * ObjectStateFormatter.cs: has public constructor.
  784. 2008-01-29 Vladimir Krasnov <[email protected]>
  785. * Page.cs: performance optimization of DeterminePostBackMode
  786. 2008-01-24 Marek Habersack <[email protected]>
  787. * PageThemeFileParser.cs: the DefaultBaseType property removed.
  788. * ApplicationFileParser.cs: added constructor which takes a
  789. TextReader.
  790. Removed the DefaultBaseType property.
  791. Added the Reader property.
  792. * MasterPage.cs: use BuildManager to create page instance.
  793. * WebHandlerParser.cs: added a compatibility constructor.
  794. * TemplateControl.cs: GetTypeFromControlPath uses
  795. BuildManager.GetCompiledType for the 2.0+ profile.
  796. * WebServiceParser.cs: added a compatibility internal
  797. constructor.
  798. * SimpleWebHandlerParser.cs: properly treat context and
  799. physicalPath parameters to the constructor, especially for the
  800. 2.0+ profile where they are obsolete.
  801. Dependencies are added using virtual paths.
  802. * PageThemeParser.cs: DefaultBaseType property removed.
  803. * Page.cs: Style sheets and themes are compiled using
  804. BuildManager.
  805. Previous page instance is compiled using BuildManager for the 2.0+
  806. profile.
  807. * MasterPageParser.cs: Use BuildManager to create instance and
  808. compile types.
  809. Dependencies are added using virtual paths.
  810. * SimpleHandlerFactory.cs: Use
  811. BuildManager.CreateInstanceFromVirtualPath for the 2.0+ profile.
  812. * UserControlParser.cs: if the parser is created using a
  813. TextReader, take the input file path from the virtual path.
  814. Added a new internal constructor which takes both a TextReader and
  815. an inputFile parameters.
  816. Set base type to the default in the constructors.
  817. Use virtual path when setting master page dependency.
  818. DefaultBaseTypename doesn't use a literal string in the 2.0+
  819. profile, it gets the base type from the application
  820. configuration.
  821. * TemplateControlParser.cs: Dependency on a control/page mentioned
  822. in the Reference directive is registered using the virtual path.
  823. TextReader property is an override now.
  824. * TemplateParser.cs: RegisterCustomControl adds a dependency on
  825. the virtual path, not the physical path. The custom control is
  826. compiled using BuildManager.GetCompiledType for the 2.0+ profile.
  827. RegisterNamespace does not add a dependency on the assembly.
  828. LoadType does not add a dependency on the assembly.
  829. Legacy Src attribute is handled properly now.
  830. Dependency on code-behind (Src and CodeFile directive attributes)
  831. is added using the code-behind file's virtual path.
  832. GetAssemblyFromSource adds a dependency using the virtual path.
  833. DefaultBaseType implemented here, using DefaultBaseTypeName which
  834. is implemented in the descendant classes.
  835. Added internal CodeBehindSource property, used by build
  836. providers.
  837. ClassName property works correctly if inputFile is missing
  838. (e.g. when the parser has been created using a TextReader)
  839. Added a virtual internal property TextReader to return the readed
  840. which has been used to create the parser instance.
  841. * PageHandlerFactory.cs: GetHandler uses
  842. BuildManager.CreateInstanceFromVirtualPath for the 2.0+ profile.
  843. * PageParser.cs: set the default base type in the constructors.
  844. If the input file is not passed to a constructor, take the input
  845. file path from the virtual path.
  846. GetCompiledPageInstance uses BuildManager.CreateInstanceFromVirtualPath
  847. for the 2.0+ profile.
  848. MasterPage dependency is set using the virtual path of the master
  849. page.
  850. MasterPage is compiled into a type using BuildManager.GetCompiledType.
  851. GetCompiledPageType uses BuildManager.GetCompiledType for the 2.0
  852. profile.
  853. DefaultBaseType override removed, it is implemented in the
  854. TemplateParser class.
  855. DefaultBaseTypename doesn't use a literal string in the 2.0+
  856. profile, it gets the base type from the application
  857. configuration.
  858. 2008-01-17 Igor Zelmanovich <[email protected]>
  859. * Control.cs: fix ResolveUrl for some cases.
  860. 2008-01-17 Igor Zelmanovich <[email protected]>
  861. * Control.cs: consider changes in BaseCompiler.cs.
  862. 2008-01-14 Igor Zelmanovich <[email protected]>
  863. * Control.cs: fixed ResolveClientUrl.
  864. use Context.FilePath instead of Context.CurrentExecutionPath for
  865. resolvint app. releative path.
  866. 2008-13-01 Vladimir Krasnov <[email protected]>
  867. * Page.jvm.cs: optimized SetupResponseWriter, fixed getChildCount and
  868. getChildren methods
  869. * Control.jvm.cs: fixed getChildCount method
  870. 2008-01-09 Igor Zelmanovich <[email protected]>
  871. * Page.cs:
  872. * ClientScriptManager.cs:
  873. refactoring.
  874. 2008-01-07 Igor Zelmanovich <[email protected]>
  875. * Page.cs: added internal API
  876. * IScriptManager.cs: added new internal interface.
  877. 2008-01-07 Igor Zelmanovich <[email protected]>
  878. * ClientScriptManager.cs:
  879. * Control.jvm.cs:
  880. * Page.cs:
  881. * Page.jvm.cs:
  882. for TARGET_J2EE ensure page life cycle is completed in CrossPagePostBack.
  883. 2008-01-07 Marek Habersack <[email protected]>
  884. * TemplateParser.cs: handle legacy 'src' attribute in the 2.0
  885. profile in the correct way. Fixes bug #319016
  886. BaseType is global by default.
  887. 2008-01-02 Marek Habersack <[email protected]>
  888. * TemplateParser.cs: added a wrapper class for server-side script
  889. snippets, to keep track of locations.
  890. Store main directive location for later use in DirectiveLocation
  891. internal property.
  892. 2008-01-01 Igor Zelmanovich <[email protected]>
  893. * Page.cs:
  894. make SubmitDisabledControls and SetFocus works in multiform environment
  895. 2007-12-31 Vladimir Krasnov <[email protected]>
  896. * Page.cs: fixed thread abort handling in ProcessRequest
  897. 2007-12-27 Marek Habersack <[email protected]>
  898. * TemplateParser.cs: check for base type globality also when the
  899. default type is used.
  900. 2007-12-26 Igor Zelmanovich <[email protected]>
  901. * Control.cs:
  902. * Page.cs:
  903. make Trace considers control state info.
  904. 2007-12-20 Igor Zelmanovich <[email protected]>
  905. * Page.cs: refactoring:
  906. split method such InternalProcessRequest to several methods.
  907. It is required for implementing alternative hosting under TARGET_J2EE.
  908. 2007-12-20 Marek Habersack <[email protected]>
  909. * ClientScriptManager.cs: write hidden fields inside a div only in
  910. the 2.0 profile. Fixes bug #349991
  911. 2007-12-20 Igor Zelmanovich <[email protected]>
  912. * Page.cs:
  913. * Control.cs:
  914. * ClientScriptManager.cs:
  915. refactoring: removed Page.LifeCycle internal API,
  916. used Control's stateMask flag instead.
  917. 2007-12-17 Marek Habersack <[email protected]>
  918. * TemplateParser.cs: support the 'Src' directive attribute on 2.0
  919. profile as well as on the 1.1 one. Fixes bug #319016
  920. 2007-12-16 Igor Zelmanovich <[email protected]>
  921. * Page.cs: on CrossPagePostBack previous page is processed by Execute API,
  922. that allow CurrentHandler property works correctly during Page processing.
  923. 2007-12-15 Marek Habersack <[email protected]>
  924. * SimpleWebHandlerParser.cs: Default value for Debug is taken from
  925. the compilation config section.
  926. * TemplateParser.cs: Added LoadConfigDefaults here, loads default
  927. value for Debug from the compilation section.
  928. Cache CompilationConfig in methods where it is accessed more than
  929. once.
  930. Default value for Debug in ProcessMainAttributes is taken from the
  931. compilation config.
  932. * PageParser.cs, TemplateControlParser.cs: LoadPagesConfigDefaults
  933. renamed to LoadConfigDefaults.
  934. 2007-12-13 Marek Habersack <[email protected]>
  935. * ClientScriptManager.cs, MasterPageParser.cs, Control.cs,
  936. Page.cs: speed optimization - use String.Concat instead of
  937. String.Format in some cases.
  938. 2007-12-13 Igor Zelmanovich <[email protected]>
  939. * Page.cs:
  940. - When Transfer/Execute is called with preserveForm=true, transferred
  941. page is not processed as PostBack but form collection is preserved.
  942. - When Execute is called more than once, PreviousPage property is set
  943. correct.
  944. 2007-11-22 Marek Habersack <[email protected]>
  945. * OutputCacheParameters.cs: added the VaryByContentEncoding
  946. property.
  947. * Page.cs: added new InitCache overload.
  948. * TemplateParser.cs: added support for the VaryByContentEncodings
  949. attribute of the OutputCache directive.
  950. 2007-11-19 Vladimir Krasnov <[email protected]>
  951. * Page.jvm.cs: IsMultiForm optimized, cached configuration call
  952. 2007-11-14 Marek Habersack <[email protected]>
  953. * SimpleWebHandlerParser.cs: expect GetTypeFromBin to be called
  954. with a fully qualified type name and act accordingly. Fixes bug
  955. #341456.
  956. 2007-11-13 Igor Zelmanovich <[email protected]>
  957. * ClientScriptManager.cs:
  958. Ensure a script resource is included once in multi form environment.
  959. 2007-11-07 Igor Zelmanovich <[email protected]>
  960. * PageParser.cs: fixed initial value of tracemode.
  961. 2007-11-07 Igor Zelmanovich <[email protected]>
  962. * Control.cs: removes '#define MONO_TRACE'.
  963. It allows to run MONO in release mode without supplementary trace info.
  964. 2007-11-07 Igor Zelmanovich <[email protected]>
  965. * Page.cs: added missing trace information for NET_2_0
  966. 2007-11-06 Igor Zelmanovich <[email protected]>
  967. * Page.cs:
  968. * Page.jvm.cs:
  969. affects TARGET_J2EE only:
  970. validators state (isValid) is restored on GetBack.
  971. 2007-11-06 Marek Habersack <[email protected]>
  972. * Page.cs: formatting
  973. 2007-11-05 Marek Habersack <[email protected]>
  974. * ClientScriptManager.cs: EventStateFieldName is a constant now.
  975. * Page.cs: use full control ids when processing post data. Fixes
  976. bug #317615
  977. 2007-11-03 Marek Habersack <[email protected]>
  978. * Control.cs: need to append a "/" to TemplateSourceDirectory
  979. before calling VirtualPathUtility.Combine, in order to get the
  980. correct physical path to the requested file. Combine looks for the
  981. last occurrence of "/" to determine where the relative paths
  982. should be joined.
  983. * MinimizableAttributeTypeConverter.cs: don't throw on null value,
  984. call the base class method in that case.
  985. * SimpleWebHandlerParser.cs: don't NRE on a null assembly passed
  986. to AddAssembly.
  987. AddAssemblyByName must check the return value of
  988. Assembly.LoadWithPartialName, as the method doesn't throw on
  989. missing assembly, it returns null instead.
  990. * ClientScriptManager.cs: eventValidationArray is serialized in an
  991. optimized fashion, so that its serialized form occupies only as
  992. many slots as were actually used. It may result in that an array
  993. of 0 entries will be serialized and then
  994. restored. EnsureEventValidationArray takes that into consideration
  995. now.
  996. 2007-11-01 Marek Habersack <[email protected]>
  997. * Page.cs, ObjectStateFormatter.cs: use the new
  998. MachineKeySectionUtils class wherever necessary.
  999. 2007-10-29 Marek Habersack <[email protected]>
  1000. * TemplateParser.cs: add the file pointed to by the Src or
  1001. CodeFile attributes to the list of page cache dependencies.
  1002. * PageParser.cs, UserControlParser.cs: Add the MasterPage file to
  1003. the list of page cache dependencies.
  1004. * MasterPageParser.cs: add the source pointed to by VirtualPath to
  1005. the list of cache dependencies.
  1006. 2007-10-23 Marek Habersack <[email protected]>
  1007. * ClientScriptManager.cs: added two constants to define start/end
  1008. script block comments rendering. 1.1 uses HTML comments, while 2.0
  1009. uses a CDATA block.
  1010. * Page.cs: render script blocks with start/end comments taken from
  1011. the ClientScriptManager constants above.
  1012. 2007-10-17 Marek Habersack <[email protected]>
  1013. * TemplateParser.cs: removed code that ignored the Async and
  1014. AsyncTimeout attributes.
  1015. * PageParser.cs: handle the Async and AsyncTimeout attributes
  1016. here. Fixes bug #325450
  1017. * Control.cs: properly configure control visibility in
  1018. PreRenderRecursiveInternal. The check must be made by looking at
  1019. the Visible value, not at the flags directly. Fixes bug #325303
  1020. 2007-10-03 Marek Habersack <[email protected]>
  1021. * Page.cs: complete implementation of ValidationGroups. Fixes bug
  1022. #330423. Patch from Juraj Skripsky <[email protected]>, thanks!
  1023. 2007-10-02 Marek Habersack <[email protected]>
  1024. * SimpleWebHandlerParser.cs: fix the way types are loaded from
  1025. top-level assemblies.
  1026. 2007-10-01 Marek Habersack <[email protected]>
  1027. * Page.cs: do not set IsPostBack to true if we're in transfer from
  1028. another page. Fixes bug #329341
  1029. 2007-09-18 Marek Habersack <[email protected]>
  1030. * TemplateParser.cs: VaryByControl OutputCache attribute is
  1031. allowed for both controls and pages in 2.0.
  1032. 2007-09-11 Marek Habersack <[email protected]>
  1033. * WebServiceParser.cs: inputFile is a virtual path to the service,
  1034. not a physical one in GetCompiledType.
  1035. 2007-09-05 Marek Habersack <[email protected]>
  1036. * RootBuilder.cs: make Foundry settable, but protect the backing
  1037. field from being set to null.
  1038. 2007-09-04 Marek Habersack <[email protected]>
  1039. * TemplateParser.cs: don't optimize for case when 'name' is a full
  1040. assembly name in AddAssemblyByName. Assembly.Load triggers the
  1041. AssemblyResolve event on the current AppDomain if an assembly
  1042. isn't found and we use this mechanism to map names like "App_Code"
  1043. or "App_GlobalResources" to the real names of those dynamic
  1044. assemblies.
  1045. 2007-09-02 Igor Zelmanovich <[email protected]>
  1046. * Page.jvm.cs: implemented IsMultiForm property to take
  1047. the value from configuration.
  1048. 2007-08-30 Igor Zelmanovich <[email protected]>
  1049. * Page.cs: fixed MaintainScrollPositionOnPostBack feature.
  1050. 2007-08-29 Marek Habersack <[email protected]>
  1051. * TemplateBuilder.cs: check for and store for later use the
  1052. TemplateContainerAttribute. Added a nullable property
  1053. TemplateInstance to return the value of the attribute.
  1054. 2007-08-29 Vladimir Krasnov <[email protected]>
  1055. * Control.cs: optimized performance in InitControlsCache()
  1056. 2007-08-28 Marek Habersack <[email protected]>
  1057. * Page.cs: The following property values are returned from cached
  1058. fields instead of looking them up on Context: Application,
  1059. Response, Request, Cache (as determined by the tests).
  1060. Added a backing field for the Session property.
  1061. Session doesn't throw an exception when Context is null - it
  1062. silently ignores it and throws a session not available exception.
  1063. _context is never used directly, the Context property is used
  1064. instead. Fixes bug #82606
  1065. 2007-08-23 Juraj Skripsky <[email protected]>
  1066. * Control.cs (InitControlsCache): Make the hash table case insensitive to
  1067. make FindControl compatible with MS.net again. Add LAMESPEC note.
  1068. 2007-08-23 Marek Habersack <[email protected]>
  1069. * SimpleWebHandlerParser.cs: use
  1070. HttpApplication.BinDirectoryAssemblies in AddAssembliesInBin and
  1071. LoadAssemblyFromBin.
  1072. Restore the old logic in GetTypeFromBin, also use
  1073. HttpApplication.BinDirectoryAssemblies there.
  1074. * TemplateParser.cs: use HttpApplication.BinDirectories to
  1075. interate over the list of bin dirs.
  1076. Use HttpApplication.BinDirectoryAssemblies in AddAssembliesInBin.
  1077. 2007-08-23 Igor Zelmanovich <[email protected]>
  1078. * ClientScriptManager.cs: encode values of hidden fields.
  1079. 2007-08-21 Marek Habersack <[email protected]>
  1080. * SimpleWebHandlerParser.cs: use HttpApplication.PrivateBinPath
  1081. enumerator when loading or adding assemblies from binary
  1082. directories. Remove unused PrivateBinPath property.
  1083. * ControlBuilder.cs: remove unused PrivateBinPath property.
  1084. * TemplateParser.cs: use HttpApplication.PrivateBinPath when
  1085. adding assemblis and loading types.
  1086. 2007-08-21 Igor Zelmanovich <[email protected]>
  1087. * ClientScriptManager.cs: fixed onsubmit script for MultiForm environment
  1088. 2007-08-20 Marek Habersack <[email protected]>
  1089. * MasterPage.cs: use the place holder IDs collection instead of
  1090. the placholder collection to see if we have the place holder in
  1091. the master page. Fixes bug #82485.
  1092. * MasterPageParser.cs: store the content place holder ids in the
  1093. internal cache to gain access to them when needed.
  1094. 2007-08-19 Vladimir Krasnov <[email protected]>
  1095. * MasterPageParser.jvm.cs: optimized GetDirectory call
  1096. * PageTheme.cs: optimized string formatting in CreateSkinKey
  1097. 2007-08-19 Vladimir Krasnov <[email protected]>
  1098. * Page.cs: ResetEventValidationState call moved back to
  1099. InternalProcessRequest
  1100. 2007-08-19 Marek Habersack <[email protected]>
  1101. * Page.cs: make sure not to ever pass a null value as the value
  1102. of the postCollection parameter to control's LoadPostData. The
  1103. ProcessPostData's 'data' parameter is no longer passed to
  1104. LoadPostData, instead we pass _requestValueCollection or an empty
  1105. collection if it is null. The controls should always get all the
  1106. request data, no matter if the 'data' parameter is null or
  1107. not. Possible fix for bug #82477.
  1108. 2007-08-18 Gert Driesen <[email protected]>
  1109. * MasterPage.cs: Include relative URL of MasterPage in exception
  1110. message.
  1111. 2007-08-18 Marek Habersack <[email protected]>
  1112. * MasterPage.cs: if a ContentPlaceHolder ID is not found in the
  1113. associated MasterPage, throw an exception. This is compatible with
  1114. what MS.NET does. Fixes bug #82447.
  1115. 2007-08-15 Igor Zelmanovich <[email protected]>
  1116. * Page.cs: fixed:
  1117. - avoid NullRefferenceException from Title property
  1118. when Page does not have <head runat="server>,
  1119. - scriptManager.ResetEventValidationState () is called from Render.
  1120. It allows multiply calling of RenderControl returns the same output.
  1121. 2007-08-14 Vladimir Krasnov <[email protected]>
  1122. * Control.cs: optimized GetDirectory call in ResolveClientUrl
  1123. 2007-08-14 Vladimir Krasnov <[email protected]>
  1124. * ClientScriptManager.cs: otimized string.Replace in GetScriptLiteral
  1125. 2007-08-14 Marek Habersack <[email protected]>
  1126. * Control.cs: include the actual exception when reporting control
  1127. id clash.
  1128. 2007-08-10 Gert Driesen <[email protected]>
  1129. * PageParser.cs: Replace enableSessionState and readOnlySessionState
  1130. bools with enum backed field. Move 1.0 profile code for checking value
  1131. of EnableSessionState pages config to PagesConfigurationHandler.
  1132. Fixes bug #82392 for 1.0 profile.
  1133. 2007-08-09 Marek Habersack <[email protected]>
  1134. * PageParser.cs: honor web.config enableSessionState
  1135. ReadOnly setting instead of overwriting based on default value for
  1136. page directive EnableSessionState. Patch from Joel Reed
  1137. <[email protected]>, thanks! Fixes bug #82392
  1138. 2007-08-09 Vladimir Krasnov <[email protected]>
  1139. * CssStyleCollection.cs: used ListDictionary instead of
  1140. HybridDictionary as underlaying data structure
  1141. 2007-08-07 Vladimir Krasnov <[email protected]>
  1142. * Control.cs: refactoring of LookForControlByName with caching
  1143. 2007-08-06 Igor Zelmanovich <[email protected]>
  1144. * DataSourceView.cs: fixed:
  1145. view raises onchange event when datasource is chenged.
  1146. 2007-08-06 Igor Zelmanovich <[email protected]>
  1147. * Control.cs: fixed: control ID management.
  1148. 2007-08-06 Igor Zelmanovich <[email protected]>
  1149. * Control.cs: refactoring: code formatting only.
  1150. 2007-08-05 Vladimir Krasnov <[email protected]>
  1151. * HtmlTextWriter.cs: performance refactoring, optimized AddAttribute
  1152. overloads, used StringComparer for tag, styles and attrs hashtables
  1153. fixed AddAttribute, id attr should not be encoded by default
  1154. 2007-07-31 Vladimir Krasnov <[email protected]>
  1155. * Control.cs: fixed AppRelativeTemplateSourceDirectory that should
  1156. depend on AppRelativeVirtualPath
  1157. * Control.jvm.cs: fixed TemplateSourceDirectory that should depend on
  1158. AppRelativeTemplateSourceDirectory
  1159. 2007-07-30 Vladimir Krasnov <[email protected]>
  1160. * Page.jvm.cs: fixed RenderResponse property, should not fail in no
  1161. Contex available
  1162. 2007-07-29 Igor Zelmanovich <[email protected]>
  1163. * Page.cs: added TARGET_J2EE variable at client side.
  1164. 2007-07-24 Igor Zelmanovich <[email protected]>
  1165. * ClientScriptManager.cs:
  1166. * Page.cs:
  1167. * Page.jvm.cs:
  1168. added new internal property IsMultiForm which returns false under
  1169. !TARGET_J2EE (Portal). All client scripts are rendered
  1170. according this property.
  1171. 2007-07-24 Igor Zelmanovich <[email protected]>
  1172. * ClientScriptManager.cs: fixed: GetCallbackEventReference method.
  1173. 2007-07-23 Igor Zelmanovich <[email protected]>
  1174. * Page.cs: refactoring: __doPostBack client script
  1175. It is a part of adapting System.Web to work whith
  1176. System.Web.Extensions (AJAX).
  1177. 2007-07-23 Konstantin Triger <[email protected]>
  1178. * Control.cs: calculate AppRelativeTemplateSourceDirectory from HttpContext
  1179. when control is not in control collection.
  1180. 2007-07-22 Konstantin Triger <[email protected]>
  1181. * Control.cs,
  1182. TemplateControl.cs: base AppRelativeTemplateSourceDirectory property
  1183. on TemplateControl; implement special behavior of Control.TemplateControl for
  1184. TemplateControl instances.
  1185. 2007-07-18 Marek Habersack <[email protected]>
  1186. * ControlBuilder.cs: on the 2.0 profile BindingContainerType
  1187. returns the associated control's base type when parent builder is
  1188. absent instead of typeof (Control). It returns typeof (Control) if
  1189. the parent builder type is determined to be a
  1190. NamingContainer. This makes the generated code match the MS.NET
  1191. output. Fixes bug #82119.
  1192. 2007-07-18 Igor Zelmanovich <[email protected]>
  1193. * Page.cs:
  1194. * ClientScriptManager.cs:
  1195. scripts, registered using RegisterClientScriptInclude,
  1196. RegisterClientScriptResource and RegisterClientScriptBlock appear on Page
  1197. in order matches the order in which the scripts were registered.
  1198. 2007-07-16 Igor Zelmanovich <[email protected]>
  1199. * Control.cs: fixed EnsureID.
  1200. ID is not assigned, if already was set.
  1201. 2007-07-12 Vladimir Krasnov <[email protected]>
  1202. * ClientScriptManager.cs: refactored event validation data structure
  1203. * Page.cs: fixed InternalProcessRequest, event validation list should
  1204. be cleared before render
  1205. 2007-06-24 Vladimir Krasnov <[email protected]>
  1206. * ObjectStateFormatter.cs: optimized loops in array formatters
  1207. 2007-07-03 Marek Habersack <[email protected]>
  1208. * SimpleWebHandlerParser.cs: improve directive
  1209. pre-parsing. Directives can span multiple lines, they don't have
  1210. to start at the beginning of the line and any content can follow
  1211. them after the directive end. Also, do not trim the input since
  1212. that might affect program content. Fixes bug #81993.
  1213. 2007-07-02 Marek Habersack <[email protected]>
  1214. * Control.cs: make sure TemplateSourceDirectory returns meaningful
  1215. results in the 1.1 profile. Fixes bug #81950.
  1216. 2007-06-24 Vladimir Krasnov <[email protected]>
  1217. * ObjectStateFormatter.cs: WriterContext.RegisterCache, refactored out
  1218. parameter
  1219. 2007-06-20 Marek Habersack <[email protected]>
  1220. * BasePartialCachingControl.cs: use HttpRuntime.InternalCache to
  1221. keep the private entries.
  1222. 2007-06-18 Igor Zelmanovich <[email protected]>
  1223. * Control.cs: revised the changes from r79982.
  1224. 2007-06-18 Igor Zelmanovich <[email protected]>
  1225. * Control.cs: optimized flow in ResolveClientUrl.
  1226. 2007-06-15 Gert Driesen <[email protected]>
  1227. * ObjectStateFormatter.cs: Avoid NRE in Serialize. Fixes bug #81851.
  1228. 2007-06-09 Marek Habersack <[email protected]>
  1229. * TemplateControl.cs: make sure TemplateControl is set to the
  1230. current control.
  1231. * Control.cs: TemplateControl property goes up the parent chain if
  1232. the property isn't defined in the current control.
  1233. TemplateSourceDir finally implemented correctly.
  1234. 2007-06-06 Marek Habersack <[email protected]>
  1235. * Control.cs: more changes to the way TemplateSourceDirectory
  1236. works in the 2.0 profile. Take into account situations when a
  1237. control is placed in a UserControl (.ascx) and only then fall back
  1238. to the parent for its TemplateSourceDirectory.
  1239. 2007-06-05 Marek Habersack <[email protected]>
  1240. * Control.cs: TemplateSourceDirectory uses TemplateControl to
  1241. lookup the virtual source directory in the 2.0 instead of the
  1242. Parent.
  1243. ResolveClientUrl copes with empty TemplateSourceDirectory in the
  1244. correct way now - the check is made after the basePath checks.
  1245. The changes above make ResolveClientUrl work properly when called
  1246. from within a control residing in a TemplateControl.
  1247. 2007-05-30 Vladimir Krasnov <[email protected]>
  1248. * HtmlTextWriter.cs: EncodeAttributeValue should call
  1249. HtmlAttributeEncode as documented
  1250. 2007-05-24 Marek Habersack <[email protected]>
  1251. * PageParser.cs: added support for the PreviousPageType
  1252. directive.
  1253. 2007-05-23 Marek Habersack <[email protected]>
  1254. * TemplateParser.cs: use VirtualPathUtility.Combine to properly
  1255. create the custom control's virtual path.
  1256. 2007-05-22 Marek Habersack <[email protected]>
  1257. * TemplateBuilder.cs: in the absence of containerAttribute,
  1258. default to two-way binding direction.
  1259. 2007-05-21 Igor Zelmanovich <[email protected]>
  1260. * DataSourceView.cs: refactoring: Update, Insert methods:
  1261. exception is re-thrown from catch scope.
  1262. It allows actual call stack be shown
  1263. 2007-05-17 Vladimir Krasnov <[email protected]>
  1264. * TemplateControl.jvm.cs: refactored key for CachedString method
  1265. 2007-05-16 Vladimir Krasnov <[email protected]>
  1266. * HtmlTextWriter.cs: refactoring, created hashtables for tags, styles
  1267. and attributes arrays, that gives performance improvement in GetTagKey
  1268. GetStyleKey and GetAttributeKey methods
  1269. 2007-05-15 Marek Habersack <[email protected]>
  1270. * TemplateControl.cs: implemented the 3-parameter overloads of
  1271. GetLocalResourceObject and GetGlobalResourceObject.
  1272. * TemplateParser.cs: refactoring - use HttpApplication.LoadType to
  1273. actually look up types.
  1274. * ControlBuilder.cs: as above
  1275. 2007-05-14 Marek Habersack <[email protected]>
  1276. * ClientScriptManager.cs: put the hidden field within a <div>, the
  1277. way MS.NET does it.
  1278. 2007-05-11 Gert Driesen <[email protected]>
  1279. * ControlBuilder.cs: Fixed exception message in MapType.
  1280. 2007-05-10 Marek Habersack <[email protected]>
  1281. * Control.cs: small formatting change
  1282. 2007-05-10 Igor Zelmanovich <[email protected]>
  1283. * Page.cs: ExecuteRegisteredAsyncTasks:
  1284. implimentation for TARGET_JVM doesn't use WaitHandle.WaitAll, but WaitOne
  1285. 2007-05-09 Vladimir Krasnov <[email protected]>
  1286. * HtmlTextWriter.cs: used classes instead of sctrucs in TARGET_JVM for
  1287. AddedTag, AddedStyle and AddedAttr members
  1288. * TemplateControl.jvm.cs: refactored CachedString method
  1289. 2007-05-09 Marek Habersack <[email protected]>
  1290. * CollectionBuilder.cs: formatting changes
  1291. * ControlBuilder.cs: if a control enables children as properties,
  1292. has a default property and parser encounters a child tag/container
  1293. with the default property name, discard the default property
  1294. builder in order to avoid invalid sub builder invocation. An
  1295. example is: <asp:DropDownList><Items></Items></asp:DropDownList>
  1296. Formatting changes.
  1297. When checking for empty string, use Length not comparison with ""
  1298. 2007-05-08 Marek Habersack <[email protected]>
  1299. * CssStyleCollection.cs: put the style in the bag each time a key
  1300. is set, otherwise resetting of a key has no effect on rendered
  1301. style.
  1302. 2007-05-07 Marek Habersack <[email protected]>
  1303. * TemplateParser.cs: added support for implicit language
  1304. detection. If the language isn't set explicitly in the Page
  1305. directive, the language value taken from the configuration
  1306. considered to be implicit - that is, it can be overwritten by the
  1307. first <script> with the runat="server" and language="xx" sets the
  1308. language for the parser. This makes it possible to have the
  1309. default language set to "C#" and the inline code in, e.g.,
  1310. VisualBasic.
  1311. * ControlBuilder.cs: when mapping types, catch casses of missing
  1312. original and mapped types.
  1313. If mapped type doesn't derive from the original type, throw an
  1314. exception. Fixes bug #81553.
  1315. 2007-05-04 Marek Habersack <[email protected]>
  1316. * Control.cs: added an internal method to resolve a physical path
  1317. to a file from its virtual path considering the possibility that a
  1318. control is placed in a master page, which in turn is referenced
  1319. from a directory another than that of master page itself.
  1320. 2007-05-03 Igor Zelmanovich <[email protected]>
  1321. * AttributeCollection.cs:
  1322. * DataBindingHandlerAttribute.cs:
  1323. * HtmlTextWriter.cs:
  1324. * PartialCachingControl.cs:
  1325. * TemplateControl.cs:
  1326. * TemplateControl.jvm.cs:
  1327. * XPathBinder.cs:
  1328. added missing API.
  1329. 2007-05-03 Igor Zelmanovich <[email protected]>
  1330. * CssStyleCollection.cs: optimization:
  1331. used StringBuilder instead string to hold value.
  1332. When added key that not exists in collection, value is recalculated by
  1333. appending required key to existing value.
  1334. 2007-05-02 Igor Zelmanovich <[email protected]>
  1335. * Control.cs: ResolveClientUrl: optimization.
  1336. if basePath is the same as TemplateSourceDirectory
  1337. releativeUrl is returned as is.
  1338. 2007-05-02 Igor Zelmanovich <[email protected]>
  1339. * Control.cs:
  1340. ResolveClientUrl considers TemplateSourceDirectory property.
  1341. 2007-05-01 Marek Habersack <[email protected]>
  1342. * PageParser.cs: clientTarget comparisons must be case-insensitive
  1343. 2007-04-30 Konstantin Triger <[email protected]>
  1344. * DataBinder.cs: When formatting, threat empty string as null.
  1345. 2007-04-27 Marek Habersack <[email protected]>
  1346. * TemplateControlParser.cs: 2.0 allows 'Namespace' without the
  1347. 'Assembly' attribute on tag prefix registration.
  1348. * TemplateParser.cs: do not rely on assembly name being not null.
  1349. 2007-04-19 Gert Driesen <[email protected]>
  1350. * TemplateParser.cs: On 2.0 profile, allow namespace in ClassName
  1351. attribute. Fixes part of bug #81399.
  1352. 2007-04-11 Marek Habersack <[email protected]>
  1353. * Page.cs: check whether control passed to
  1354. RegisterRequiresPostBack implements the IPostBackDataHandler
  1355. interface.
  1356. 2007-04-06 Marek Habersack <[email protected]>
  1357. * ClientScriptManager.cs: render the 'type' attribute in
  1358. WriteScript and do not render the 'language' attribute when in
  1359. NET_2_0+ mode.
  1360. * Page.cs: defaults for ViewStateEncrptionMode and AsyncTimeout
  1361. are read from the pages section, if found.
  1362. * TemplateControlParser.cs: added support for loading
  1363. pages/controls defaults from web.config even if the page/control
  1364. does not have its corresponding directive.
  1365. Added support for reading the CompilationMode attribute.
  1366. * PageParser.cs: added support for loading pages/controls defaults
  1367. as above. Fixes bug #80915.
  1368. Added support for reading the maxPageStateFieldLength setting.
  1369. Added support for reading the pageParserFilter setting.
  1370. * ControlBuilder.cs: allow tag mappings from code found
  1371. in bin/* or App_Code/*. Fixes bug #80811.
  1372. 2007-03-29 Vladimir Krasnov <[email protected]>
  1373. * TemplateControl.jvm.cs: performance improvement, added cache for
  1374. methods and events in user code
  1375. 2007-03-26 Marek Habersack <[email protected]>
  1376. * TemplateControl.cs: make local resources work with master
  1377. pages - use the AppRelativeVirtualPath for resource resolution.
  1378. * TemplateParser.cs: support the meta:resourcekey attribute in
  1379. Page and Control directives. Fixes bug #81204.
  1380. 2007-03-21 Marek Habersack <[email protected]>
  1381. * UnknownAttributeDescriptor.cs: an internal helper class for
  1382. custom directive attributes support.
  1383. * BaseParser.cs: ThrowParseException can now take variadic
  1384. parameters, for convenience.
  1385. * TemplateParser.cs: add support for custom attributes for the
  1386. Page and Control directives.
  1387. Added support for the CodeFileBaseClass directive. Fixes bug #81132
  1388. 2007-03-20 Igor Zelmanovich <[email protected]>
  1389. * Control.cs: fixed ResolveClientUrl method.
  1390. 2007-03-18 Marek Habersack <[email protected]>
  1391. * BaseParser.cs: fix BaseVirtualDir to always return app-absolute
  1392. paths.
  1393. 2007-03-17 Marek Habersack <[email protected]>
  1394. * MasterPageParser.cs: remove superfluous #ifdef
  1395. * TemplateParser.cs: use VirtualPathUtility here
  1396. 2007-03-14 Vladimir Krasnov <[email protected]>
  1397. * TemplateControl.jvm.cs: fixed WireupAutomaticEvents, performance
  1398. optimization
  1399. 2007-03-13 Marek Habersack <[email protected]>
  1400. * TemplateParser.cs: name generated classes the same way MS.NET
  1401. does - include the app-relative path to the control/page in the
  1402. class name.
  1403. 2007-03-13 Adar Wesley <[email protected]>
  1404. * Page.cs: improved Async Page implementation.
  1405. 2007-03-13 Marek Habersack <[email protected]>
  1406. * TemplateControl.cs: implement AppRelativeVirtualPath. Closes bug
  1407. #80634.
  1408. 2007-03-12 Marek Habersack <[email protected]>
  1409. * RootBuilder.cs: change the error text to be less misleading.
  1410. 2007-03-12 Igor Zelmanovich <[email protected]>
  1411. * AttributeCollection.cs:
  1412. * CssStyleCollection.cs: fixed: works w/o state bag.
  1413. 2007-03-12 Igor Zelmanovich <[email protected]>
  1414. * HtmlTextWriter.cs: fixed:
  1415. - Fixed writing background-image style attribute (different behavior in
  1416. 1.1 and 2.0).
  1417. - Does not encode 'name' attribute.
  1418. - Always encode style attributes (for 2.0 only).
  1419. 2007-03-06 Adar Wesley <[email protected]>
  1420. * Page.cs: initial implementation of support for Async=true. Added
  1421. initial support for ViewStateEncryption. Implemented
  1422. CreateHtmlTextWriterFromType.
  1423. * PageAsyncTask.cs: Created class to support Async pages.
  1424. * ObjectStateFormatter.cs: Added support for ViewState encryption.
  1425. * HtmlTextWriter.cs: Fixed constructor to accept null TextWriter
  1426. to conform to MS behavior.
  1427. 2007-03-05 Vladimir Krasnov <[email protected]>
  1428. * Control.jvm.cs: fixed TemplateSourceDirectory property
  1429. 2007-03-03 Marek Habersack <[email protected]>
  1430. * TemplateParser.cs: support but ignore the Async and AsyncTimeOut
  1431. page directive attributes.
  1432. Support the LinePragmas page directive attribute.
  1433. * PageParser.cs: added support for the
  1434. MaintainScrollPositionOnPostBack page directive attribute.
  1435. 2007-02-26 Igor Zelmanovich <[email protected]>
  1436. * TemplateControl.cs:
  1437. * TemplateControl.jvm.cs: fixed: AutoEventWireup feature:
  1438. Method 'Page_XXX' is declared in the base class must be
  1439. called even is private.
  1440. 2007-02-26 Vladimir Krasnov <[email protected]>
  1441. * Control.cs: fixed AppRelativeTemplateSourceDirectory property, should
  1442. not return AppRelativeTemplateSourceDirectory of master page
  1443. 2007-02-26 Igor Zelmanovich <[email protected]>
  1444. * ClientScriptManager.cs: fixed: GetScriptLiteral escapes back-slash:
  1445. 2007-02-22 Igor Zelmanovich <[email protected]>
  1446. * TemplateControl.cs: added missing property AppRelativeVirtualPath
  1447. 2007-02-21 Konstantin Triger <[email protected]>
  1448. * TemplateParser.cs: remove CodeGenerator.IsValidLanguageIndependentIdentifier
  1449. check from Global.asax inherits attribute to let inherits="A.B" construct.
  1450. 2007-02-20 Igor Zelmanovich <[email protected]>
  1451. * ObjectStateFormatter.cs:
  1452. optimization for serialization of primitive type arrays
  1453. 2007-02-19 Igor Zelmanovich <[email protected]>
  1454. * ClientScriptManager.cs:
  1455. * Control.cs:
  1456. * Page.cs:
  1457. implemented PostBackOptions.TrackFocus feature.
  1458. 2007-02-14 Igor Zelmanovich <[email protected]>
  1459. * Page.cs: for 2.0: refactoring:
  1460. prepare infrastructure for Form.SubmitDisabledControls feature
  1461. 2007-02-18 Eyal Alaluf <[email protected]>
  1462. * Control.jvm.cs, Control.cs: Move TemplateSourceDirectory to .jvm file.
  1463. * Control.jvm.cs, Page.jvm.cs: Centralize Portlet specific API in Page.jvm
  1464. * Page.cs, Page.jvm.cs, ClientScriptManager.cs: Support for Http callbacks
  1465. for J2EE portlets.
  1466. 2007-02-14 Igor Zelmanovich <[email protected]>
  1467. * Page.cs: for 2.0:
  1468. '__EVENTTARGET' and '__EVENTARGUMENT' hidden fields are
  1469. registered only once.
  1470. 2007-02-14 Igor Zelmanovich <[email protected]>
  1471. * Page.cs: for 2.0: '__doPostBack' declared as function of form.
  1472. convention to use 'currForm' instead 'myForm'
  1473. 2007-02-14 Igor Zelmanovich <[email protected]>
  1474. * Page.cs:
  1475. * ClientScriptManager.cs:
  1476. including 'webform.js' requires '__doPostBack' on the form be rendered.
  1477. 2007-02-14 Igor Zelmanovich <[email protected]>
  1478. * Page.cs:
  1479. * ClientScriptManager.cs:
  1480. refactoring: 'theForm' variable is always declared on client.
  1481. '__EVENTTARGET' and '__EVENTARGUMENT' hidden fields is rendered using
  1482. RegisterHiddenField API. 'WebForm_OnSubmit' declared as function of form.
  1483. 2007-02-14 Vladimir Krasnov <[email protected]>
  1484. * Page.cs: fixed OnInit, adding css should throw exception if no header
  1485. present on the page
  1486. 2007-02-14 Igor Zelmanovich <[email protected]>
  1487. * Page.cs: __doPostBack considers 2.0 features
  1488. such RegisterOnSubmitStatement
  1489. 2007-02-14 Igor Zelmanovich <[email protected]>
  1490. * Page.cs:
  1491. * ClientScriptManager.cs:
  1492. implemented RegisterOnSubmitStatement for 2.0
  1493. 2007-02-13 Igor Zelmanovich <[email protected]>
  1494. * ClientScriptManager.cs: EventValidation feature optimization on Callback.
  1495. 2007-02-13 Igor Zelmanovich <[email protected]>
  1496. * Page.cs: fixed exception handling on Callback at client.
  1497. 2007-02-08 Marek Habersack <[email protected]>
  1498. * Page.cs: Make sure to create specific cultures.
  1499. 2007-02-08 Vladimir Krasnov <[email protected]>
  1500. * ClientScriptManager.cs: added array declaration also as member of
  1501. form in TARGET_J2EE for j2ee portal support.
  1502. Added validators context init for GetClientValidationEvent under
  1503. TARGET_J2EE for j2ee portal support.
  1504. * Page.cs: fixed OnFormPostRender, render array declarations after
  1505. postback script.
  1506. 2007-02-04 Igor Zelmanovich <[email protected]>
  1507. * Page.cs:
  1508. * ClientScriptManager.cs:
  1509. client scripts (webform.js, callback.js and
  1510. MaintainScrollPositionOnPostBack.js) were merged into one resource file.
  1511. 2007-02-04 Igor Zelmanovich <[email protected]>
  1512. * Page.cs:
  1513. http://msdn2.microsoft.com/en-us/library/ms178141.aspx
  1514. LAMESPEC: on Callback IsPostBack is set to false, but true.
  1515. 2007-02-04 Igor Zelmanovich <[email protected]>
  1516. * Page.cs:
  1517. VerifyRenderingInServerForm does not fire exception when IsCallback
  1518. 2007-02-04 Igor Zelmanovich <[email protected]>
  1519. * Page.cs:
  1520. * ClientScriptManager.cs:
  1521. fixed RegisterClientScriptInclude: all includes that was registered before
  1522. rendering are rendered at begin form.
  1523. 2007-02-02 Marek Habersack <[email protected]>
  1524. * TemplateParser.cs: Do not register controls here.
  1525. 2007-02-02 Adar Wesley <[email protected]>
  1526. * Control.cs: Changed UniqueId implementation to have '$' and not ':'
  1527. to conform to MS. This led to updating several Tests that referenced
  1528. the UniqueId as string.
  1529. 2007-01-30 Eyal Alaluf <[email protected]>
  1530. * ClientScriptManager.cs: Fix Igor's last changes for TARGET_JVM.
  1531. 2007-01-29 Igor Zelmanovich <[email protected]>
  1532. * Page.cs:
  1533. * ClientScriptManager.cs:
  1534. CallBack works with EvantValidation.
  1535. 2007-01-25 Eyal Alaluf <[email protected]>
  1536. * Page.cs: Change code to use the 'theForm' property when generating
  1537. JavaScript code. Ensure that we pass 'theForm' as param to the JS funcs.
  1538. * Page.jvm.cs, Control.jvm.cs: Implement the 'theForm' property to include
  1539. the portlet namespace. Moved 'PortletNamespace' from Control.jvm.cs
  1540. * Page.jvm.cs, Control.jvm.cs, ClientScriptManager.cs: Added support for
  1541. saving hidden fields for TARGET_J2EE Portlets re-render.
  1542. * Control.cs: Under TARGET_J2EE portal support add the PortletNamespace
  1543. to all the control IDs to ensure they different between portlets.
  1544. 2007-01-24 Vladimir Krasnov <[email protected]>
  1545. * Page.cs: fixed CheckForValidationSupport,
  1546. SupportsEventValidationAttribute should be checked at only one level
  1547. 2007-01-23 Vladimir Krasnov <[email protected]>
  1548. * TemplateControl.jvm.cs: ParseControl not supported, added limited
  1549. implementation if TestDeviceFilter
  1550. 2007-01-22 Konstantin Triger <[email protected]>
  1551. * ClientScriptManager.cs: ensure the callback client script is
  1552. registered before the client script includes are rendered.
  1553. 2007-01-22 Konstantin Triger <[email protected]>
  1554. * Page.cs, ClientScriptManager.cs: ensure the web form client script is
  1555. registerd before the client script includes are rendered.
  1556. 2007-01-21 Konstantin Triger <[email protected]>
  1557. * Page.cs: move the WriteClientScriptIncludes to the top of the form,
  1558. according to the MSDN.
  1559. 2007-01-20 Miguel de Icaza <[email protected]>
  1560. * XhtmlTextWriter.cs: comment out unused code.
  1561. * ThemeProvider.cs: comment out unused code.
  1562. * DataSourceView.cs: Comment unused variable.
  1563. * ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
  1564. code
  1565. * Control.cs: Put _templateControl inside the NET_2_0 ifdef
  1566. 2007-01-20 Marek Habersack <[email protected]>
  1567. * TemplateParser.cs: Check whether the base type is in the root
  1568. namespace.
  1569. 2007-01-18 Eyal Alaluf <[email protected]>
  1570. * Control.jvm.cs: Added PortletNamespace property.
  1571. 2007-01-16 Vladimir Krasnov <[email protected]>
  1572. * TemplateControl.jvm.cs: remover TemplateSourceDirectory propery
  1573. * Control.cs: moved TemplateSourceDirectory from TemplateControl for
  1574. TARGET_JVM, fixed AppRelativeTemplateSourceDirectory
  1575. 2007-01-16 Vladimir Krasnov <[email protected]>
  1576. * TemplateControl.jvm.cs: added 2.0 event names for wiring up
  1577. 2007-01-15 Ilya Kharmatsky <ilya - at - decode-systems.com>
  1578. * Control.cs:
  1579. - IsViewStateEnabled - removed check for non-null page, since
  1580. the control by definition should come with enabled
  1581. view state, even if it not 'attached' to the page
  1582. - HasEvents() - implementation (still could produce bug in exotic scenarios
  1583. when all events added to 'this' control has been removed
  1584. through the property 'Events', but currently we can't see
  1585. better implementation)
  1586. 2007-01-14 Eyal Alaluf <[email protected]>
  1587. * Control.jvm.cs, Page.jvm.cs: Added TARGET_J2EE specific files.
  1588. * Page.cs, ClientScriptManager.cs, Control.cs: Added J2EE portal
  1589. support for TARGET_J2EE.
  1590. 2007-01-12 Miguel de Icaza <[email protected]>
  1591. * Control.cs: Remove comment, it provides no information about
  1592. what could be wrong.
  1593. 2007-01-08 Vladimir Krasnov <[email protected]>
  1594. * PageTheme.cs: implemented
  1595. * Page.cs: fixed InitializeTheme, added PageTheme page initialization
  1596. * TemplateControl.cs,
  1597. * TemplateControl.jvm.cs: added XPath, XPathSelect overloads with
  1598. IXmlNamespaceResolver parameter
  1599. * XPathBinder.cs: added Eval, Select overloads with
  1600. IXmlNamespaceResolver parameter, refactored
  1601. 2007-01-08 Vladimir Krasnov <[email protected]>
  1602. * TemplateControl.jvm.cs: added GetGlobalResourceObject
  1603. 2007-01-07 Igor Zelmanovich <[email protected]>
  1604. * Page.cs: refactoring: used RegisterHiddenField for _VIEWSTATE field.
  1605. 2007-01-04 Igor Zelmanovich <[email protected]>
  1606. * Control.cs: ensure 'id' attribute will be rendered if
  1607. ClientID was accessed but ID is generated by the Page,
  1608. important for custom controls developing.
  1609. 2007-01-04 Igor Zelmanovich <[email protected]>
  1610. * Page.cs: fixed: InitializeCulture should be called
  1611. before creating controls.
  1612. 2007-01-03 Marek Habersack <[email protected]>
  1613. * Page.cs: Make sure the ValidatorOnSubmit function is defined for the
  1614. document before attempting to use it.
  1615. 2007-01-01 Vladimir Krasnov <[email protected]>
  1616. * Control.cs: fixed ResolveClientUrl, wrong when control that calls
  1617. this method and the page are in different folders
  1618. 2006-12-31 Gonzalo Paniagua Javier <[email protected]>
  1619. * Page.cs: show the validation summary when client validation and
  1620. linkbuttons are used. Patch by Juraj Skripsky.
  1621. 2006-12-31 Igor Zelmanovich <[email protected]>
  1622. * Page.cs: fixed: EventValidation is not performed for CallBack request.
  1623. 2006-12-27 Igor Zelmanovich <[email protected]>
  1624. * Page.cs: fixed: RegisterRequiresPostBack feature.
  1625. 2006-12-21 Marek Habersack <[email protected]>
  1626. * ControlBuilder.cs: Add support for tag mapping in 2.0
  1627. 2006-12-20 Marek Habersack <[email protected]>
  1628. * TemplateParser.cs: make sure Context.ApplicationInstance is not
  1629. valid before adding application assembly.
  1630. 2006-12-11 Igor Zelmanovich <[email protected]>
  1631. * Page.cs: fixed and optimized ProcessPostData
  1632. The "second try" used for controls that created at OnLoad.
  1633. fixed for controls that use RgisterRequeresPostBack to handle post data.
  1634. 2006-11-29 Igor Zelmanovich <[email protected]>
  1635. * Page.cs: The specified theme must exist as either an application theme.
  1636. If the theme does not exist, an HttpException exception s thrown.
  1637. 2006-12-09 Marek Habersack <[email protected]>
  1638. * HiddenFieldPageStatePersister.cs: Implement the 2.0 class (used
  1639. also in the 1.x profile)
  1640. * ObjectStateFormatter.cs: Implement the IStateFormatter interface
  1641. * ClientScriptManager.cs: Use IStateFormatter instead of
  1642. LosFormatter.
  1643. Use the IStateFormatter interface when registering the hidden
  1644. field with the state.
  1645. * LosFormatter.cs: Use ObjectStateFormatter
  1646. * PageStatePersister.cs: Make the class available as internal for
  1647. 1.x profile.
  1648. Constructor throws an exception on its page parameter being null.
  1649. Implemented several properties: ControlState, ViewState, Page,
  1650. StateFormatter
  1651. * Page.cs: Use new state persister for all the profiles.
  1652. Use the new HiddenFieldPageStatePersister class.
  1653. * IStateFormatter.cs: Make the class available as internal for 1.x profile.
  1654. 2006-12-04 Vladimir Krasnov <[email protected]>
  1655. * TemplateControl.jvm.cs: fixed TemplateSourceDirectory initialization
  1656. 2006-11-29 Marek Habersack <[email protected]>
  1657. * TemplateParser.cs: if the OutputCache directive is present, make
  1658. sure the cache does not expire the current output.
  1659. 2006-11-29 Igor Zelmanovich <[email protected]>
  1660. * Page.cs: added missing methods and properties:
  1661. AsyncMode
  1662. AsyncTimeout
  1663. IsAsync
  1664. UniqueFilePathSuffix
  1665. MaxPageStateFieldLength
  1666. ViewStateEncryptionMode
  1667. AddOnPreRenderCompleteAsync
  1668. AddOnPreRenderCompleteAsync
  1669. ExecuteRegisteredAsyncTasks
  1670. CreateHtmlTextWriterFromType
  1671. RegisterRequiresViewStateEncryption
  1672. 2006-11-29 Igor Zelmanovich <[email protected]>
  1673. * Page.cs: Master property returns null when no HttpContext.
  1674. 2006-11-29 Igor Zelmanovich <[email protected]>
  1675. * Page.cs: InitializeCulture method is called before OnPreInit.
  1676. 2006-11-28 Marek Habersack <[email protected]>
  1677. * TemplateControlParser.cs: Use the new TemplateParser methods to
  1678. register controls/namespaces
  1679. * TemplateParser.cs: Implement support for the
  1680. system.web/pages/namespaces collection instead of hard-coding the
  1681. namespaces into the source.
  1682. Refactoring: added two internal methods to handle both the
  1683. system.web/pages/controls registration and the Register directive.
  1684. Added a new internal method to pull the system.web/pages/controls
  1685. collection before parsing.
  1686. 2006-11-27 Marek Habersack <[email protected]>
  1687. * SimpleWebHandlerParser.cs: Added support for looking up types in
  1688. the top-level assemblies (App_Code et al)
  1689. 2006-11-27 Igor Zelmanovich <[email protected]>
  1690. * Control.cs: implemented EnsureID method.
  1691. 2006-11-27 Igor Zelmanovich <[email protected]>
  1692. * Control.cs: implemented Focus methods.
  1693. 2006-11-27 Igor Zelmanovich <[email protected]>
  1694. * Page.cs: implemented SetFocus methods.
  1695. * PageLifeCycle.cs:
  1696. 2006-11-27 Igor Zelmanovich <[email protected]>
  1697. * ClientScriptManager.cs: refactoring:
  1698. extracted method RegisterWebFormClientScript
  1699. 2006-11-27 Igor Zelmanovich <[email protected]>
  1700. * Control.cs: implemented OpenFile()
  1701. 2006-11-26 Igor Zelmanovich <[email protected]>
  1702. * Page.cs:
  1703. * Control.cs:
  1704. implemented ClearChildState(), ClearChildControlState() and
  1705. IsChildControlStateCleared
  1706. 2006-11-26 Igor Zelmanovich <[email protected]>
  1707. * Page.cs:
  1708. * ClientScriptManager.cs:
  1709. implemented RegisterExpandoAttribute feature
  1710. 2006-11-23 Igor Zelmanovich <[email protected]>
  1711. * ListSourceHelper.cs: optimization of implementation
  1712. 2006-11-23 Igor Zelmanovich <[email protected]>
  1713. * ListSourceHelper.cs: implemented
  1714. 2006-11-21 Igor Zelmanovich <[email protected]>
  1715. * DataSourceView.cs: fixed: constructor throws ArgumentNullException
  1716. 2006-11-21 Igor Zelmanovich <[email protected]>
  1717. * Page.cs: fixed: PreviousPage property
  1718. when CrossPostBack is processed PreviousPage is initialized
  1719. only if PreviousPage property is called.
  1720. 2006-11-21 Igor Zelmanovich <[email protected]>
  1721. * DataSourceControl.cs: fixed: Focus(), EnableTheming
  1722. 2006-11-21 Marek Habersack <[email protected]>
  1723. * Control.cs: Make ClientIDSeparator private for !NET_2_0
  1724. 2006-11-21 Igor Zelmanovich <[email protected]>
  1725. * Page.cs: fixed: LoadControlState is called for controls
  1726. that added on Load and latter
  1727. 2006-11-20 Marek Habersack <[email protected]>
  1728. * Control.cs: Implementations of a few missing properties.
  1729. * Page.cs: Added support for automatic culture detection from the
  1730. user's browser.
  1731. * PageParser.cs: Added support for "auto" cultures in the Page
  1732. directive.
  1733. 2006-11-20 Igor Zelmanovich <[email protected]>
  1734. * ClientScriptManager.cs: fixed: ValidateEvent feature:
  1735. client side return eventArgument as empty string
  1736. for controls that set it as null
  1737. 2006-11-18 Marek Habersack <[email protected]>
  1738. * ClientScriptManager.cs: Implemented two missing
  1739. GetPostBackEventReference overloads. Made one of the overloads
  1740. internal for .NET < 2.0.
  1741. 2006-11-17 Marek Habersack <[email protected]>
  1742. * PostBackOptions.cs: Renamed the constructors parameters to match
  1743. those Microsoft .NET uses.
  1744. targetControl must not be passed null to the constructor.
  1745. * ClientScriptManager.cs: Support for event validation.
  1746. Implemented a GetPostBackHyperlink overload.
  1747. Implemented the RegisterForEventValidation methods.
  1748. Implemented the ValidateEvent method.
  1749. Added support for saving/restoring event validation state.
  1750. * Page.cs: EnableEventValidation can be set only from the config
  1751. files (the <pages> element), the Page directive or from
  1752. Page_Init. After Page_Init returns, an exception is thrown.
  1753. Made GetFormatter internal, so that ClientScriptManager can use
  1754. it.
  1755. Added the internal LifeCycle property which contains the current
  1756. life cycle stage of the page request processing.
  1757. Added calls to save/restore event validation state.
  1758. Added checks for whether child controls of the page support event
  1759. validation or not.
  1760. Added calls to ClientScriptManager.ValidateEvent in appropriate
  1761. places.
  1762. * PageLifeCycle.cs: Added the PageLifeCycle enum, used in event
  1763. validation.
  1764. 2006-11-16 Gonzalo Paniagua Javier <[email protected]>
  1765. * LosFormatter.cs:
  1766. * ObjectStateFormatter.cs: match MS 1.x and 2.0 behaviour for null and
  1767. empty strings.
  1768. 2006-11-16 Gonzalo Paniagua Javier <[email protected]>
  1769. * SimpleWebHandlerParser.cs: 'using' for file reading.
  1770. 2006-11-16 Gonzalo Paniagua Javier <[email protected]>
  1771. * Page.cs: revert r67514 until after tagging for the next release.
  1772. 2006-11-12 Igor Zelmanovich <[email protected]>
  1773. * LiteralControl.cs: fixed: constructors & Text property
  1774. 2006-11-09 Igor Zelmanovich <[email protected]>
  1775. * Page.cs: fixed: LoadControlState is called for controls
  1776. that added on Load and latter, for 1.x refactoring only
  1777. 2006-11-02 Igor Zelmanovich <[email protected]>
  1778. * ClientScriptManager.cs:
  1779. fixed: checks arguments for null in public methods,
  1780. fixed public interface.
  1781. 2006-10-23 Igor Zelmanovich <[email protected]>
  1782. * PostBackOptions.cs: fixed: default values of properties
  1783. 2006-10-22 Igor Zelmanovich <[email protected]>
  1784. * CssStyleCollection.cs:
  1785. * AttributeCollection.cs:
  1786. fixed: style collection is synchronized with style attribute
  1787. 2006-10-19 Igor Zelmanovich <[email protected]>
  1788. * ClientScriptManager.cs: fixed: renders id attribute in hidden field
  1789. 2006-10-18 Marek Habersack <[email protected]>
  1790. * TemplateParser.cs: reference System.Resources when compiling a
  1791. control.
  1792. * TemplateControl.cs: implement the GetGlobalResourceObject
  1793. ASP.NET 2.0 APIs.
  1794. 2006-10-12 Igor Zelmanovich <[email protected]>
  1795. * Page.cs: fixed: for 2.0 only
  1796. When Page processes Callback IsPostBack = false, but it still needs
  1797. LoadViewState/ControlState and ProcessPostData
  1798. 2006-10-11 Igor Zelmanovich <[email protected]>
  1799. * DataSourceSelectArguments.cs: fixed:
  1800. SortExpression not returns null,
  1801. Empty property returns new instance each time
  1802. 2006-10-10 Igor Zelmanovich <[email protected]>
  1803. * DataSourceSelectArguments.cs:
  1804. fixed: RaiseUnsupportedCapabilitiesError method.
  1805. 2006-10-09 Igor Zelmanovich <[email protected]>
  1806. * DataSourceSelectArguments.cs: fixed: Equals method.
  1807. 2006-10-09 Gonzalo Paniagua Javier <[email protected]>
  1808. * CssStyleCollection.cs: don't clear the collection of properties, but
  1809. create a new one.
  1810. 2006-10-06 Gonzalo Paniagua Javier <[email protected]>
  1811. * CssStyleCollection.cs: 'style' can be modified on our back, so build
  1812. the style table every time instead of keeping one that is not in sync.
  1813. Fixes bug #79587.
  1814. 2006-09-25 Igor Zelmanovich <[email protected]>
  1815. * Page.cs: fixed: Cross-page postback feature in ASP.NET 2.0
  1816. When page is invoked by cross-page posting, PreviousPage processed all
  1817. live-cycle up to OnLoadComplite included.
  1818. IsPostBack, IsCallBack and IsCrossPagePostBack returns relevant values.
  1819. 2006-09-20 Gonzalo Paniagua Javier <[email protected]>
  1820. * TemplateParser.cs: patch by Joel Reed that makes use of the namespace
  1821. collection from the PagesConfiguration to add new namespaces when
  1822. generating the page/control code.
  1823. 2006-09-18 Gonzalo Paniagua Javier <[email protected]>
  1824. * PageParser.cs: support the EnableEventValidation attribute.
  1825. 2006-09-18 Igor Zelmanovich <[email protected]>
  1826. * Page.cs: fixed: Title property works properly
  1827. 2006-09-17 Igor Zelmanovich <[email protected]>
  1828. * ClientScriptManager.cs: added helper method
  1829. 2006-09-14 Igor Zelmanovich <[email protected]>
  1830. * Page.cs: fixed: GetValidators(string), Validate(string) works properly
  1831. 2006-09-08 Robert Jordan <[email protected]>
  1832. * Page.cs: assure that RenderTrace is called even if an
  1833. exception occurred. Fixes bug #78930.
  1834. 2006-09-08 Gonzalo Paniagua Javier <[email protected]>
  1835. * TemplateControl.cs: search for the new Page_* event handlers in 2.0.
  1836. Patch by Marek Habersack that fixes bug #78268.
  1837. 2006-09-07 Lluis Sanchez Gual <[email protected]>
  1838. * Page.cs: Use lowercase getElementById in the javascript that
  1839. checks the browser.
  1840. 2006-08-22 Vladimir Krasnov <[email protected]>
  1841. * KeyedListEnumerator.cs: fixed Current property to return real object
  1842. instead of DictionaryEntry
  1843. 2006-09-06 Gonzalo Paniagua Javier <[email protected]>
  1844. * Page.cs: don't use the Browser object, as it slows down process
  1845. request time *a lot*. Fixes bug #79206.
  1846. 2006-09-05 Konstantin Triger <[email protected]>
  1847. * Page.cs: Imlemented InitOutputCache(OutputCacheParameters cacheSettings).
  1848. * OutputCacheParameters.cs: added an implementation.
  1849. 2006-09-04 Igor Zelmanovich <[email protected]>
  1850. * CssStyleCollection.cs: fixed: background-image style attribute
  1851. 2006-08-31 Konstantin Triger <[email protected]>
  1852. * StaticPartialCachingControl.cs: added forwarding implementation for
  1853. 2.0 version of BuildCachedControl().
  1854. 2006-08-30 Igor Zelmanovich <[email protected]>
  1855. * Page.cs: added internal method
  1856. * ClientScriptManager.cs:
  1857. 2006-08-30 Igor Zelmanovich <[email protected]>
  1858. * ClientScriptManager.cs: added helper method
  1859. 2006-08-22 Vladimir Krasnov <[email protected]>
  1860. * Page.cs: fixed ApplyMasterPage, masterPageFile can be empty string
  1861. if compiled with .net aspx parser
  1862. fixed OnInit, GetStyleSheets may return null if no css files found by
  1863. .net aspx parser
  1864. 2006-08-22 Vladimir Krasnov <[email protected]>
  1865. * TemplateControl.jvm.cs: fixed WireupAutomaticEvents, removed access
  1866. modifiers check on event handlers
  1867. 2006-08-22 Vladimir Krasnov <[email protected]>
  1868. * Control.cs: implemented AppRelativeTemplateSourceDirectory for aspx
  1869. parser 2.0
  1870. * TemplateControl.jvm.cs: fixed AppRelativeVirtualPath
  1871. fixed TemplateSourceDirectory, should not work on master pages.
  1872. 2006-08-20 Vladimir Krasnov <[email protected]>
  1873. * MasterPageParser.jvm.cs: fixed path resolving
  1874. GetCompiledMasterInstance
  1875. 2006-08-17 Vladimir Krasnov <[email protected]>
  1876. * TemplateControl.jvm.cs: fixed data binding API, implemented
  1877. AppRelativeVirtualPath, ReadStringResource
  1878. 2006-08-17 Vladimir Krasnov <[email protected]>
  1879. * Page.cs: added stubs to run aspx files compiled by .net
  1880. 2006-08-17 Vladimir Krasnov <[email protected]>
  1881. * MasterPageParser.jvm.cs: implemented
  1882. 2006-08-10 Andrew Skiba <[email protected]>
  1883. * Page.cs: render css path as a virtual path.
  1884. 2006-08-09 Robert Jordan <[email protected]>
  1885. * Control.cs: add the 2.0 ResolveClientUrl method.
  1886. Expose ResolveClientUrl as internal for the 1.1 profile.
  1887. Fixes bug #77539.
  1888. 2006-08-08 Vladimir Krasnov <[email protected]>
  1889. * added MasterPageParser.jvm.cs
  1890. 2006-08-08 Vladimir Krasnov <[email protected]>
  1891. * ControlBuilder.jvm.cs: added BuildObject method
  1892. 2006-08-08 Vladimir Krasnov <[email protected]>
  1893. * ParseChildrenAttribute.cs: fixed ChildControlType property to
  1894. compliant to .net
  1895. * UserControl.cs: fixed ParseChildren attribute to be compliant
  1896. to .net
  1897. 2006-08-08 Igor Zelmanovich <[email protected]>
  1898. * Page.cs: implemented MaintainScrollPositionOnPostBack feature
  1899. 2006-08-06 Vladimir Krasnov <[email protected]>
  1900. * Control.cs: fixed EnableTheming proprty, fixes bug when child
  1901. control has EnableTheming=false and parent has true.
  1902. 2006-07-31 Vladimir Krasnov <[email protected]>
  1903. * MasterPage.cs: fixed default values, fixed AddContentTemplate
  1904. 2006-07-31 Vladimir Krasnov <[email protected]>
  1905. * Control.cs: fixed EnableTheming proprty, fixes the bug when skins
  1906. are applied even if EnableTheming property was set to false.
  1907. 2006-07-24 Andrew Skiba <[email protected]>
  1908. * DataSourceView.cs: refactor to keep the original exception stack.
  1909. 2006-07-21 Gonzalo Paniagua Javier <[email protected]>
  1910. * PostBackOptions.cs: default to String.Empty for several field values.
  1911. Patch by Marek Habersack.
  1912. 2006-07-20 Gonzalo Paniagua Javier <[email protected]>
  1913. * Page.cs: when ProcessRequest is not called, get the session from
  1914. the current context. Fixes bug #78730.
  1915. 2006-07-20 Gonzalo Paniagua Javier <[email protected]>
  1916. * Page.cs: fix IsPostback for AJAX calls to match MS behavior. Patch
  1917. by Peijen Lin that closes bug #78646.
  1918. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  1919. * TemplateControlParser.cs: fix compilation caching when more than one
  1920. @control is compiled from source. Closes bug #78626.
  1921. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  1922. * Page.cs: add the 2.0 Items property. Fixes bug #78467.
  1923. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  1924. * Page.cs: use the new internal LosFormatter.SerializeToBase64.
  1925. * LosFormatter.cs: always work on base 64 strings even if the
  1926. input/output is on a Stream. Fixes bug #78640.
  1927. 2006-06-08 Konstantin Triger <[email protected]>
  1928. * Page.cs: For loading themes, use '~/App_Themes' instead of
  1929. './App_Themes' to enable theme support for files in sub folders.
  1930. 2006-05-25 Andrew Skiba <[email protected]>
  1931. * Control.cs: move 2.0 stuff into ifdef NET_2_0
  1932. 2006-05-25 Andrew Skiba <[email protected]>
  1933. * Page.cs, Control.cs: Fix the order of OnInit invocation of controls
  1934. created via master page content (see
  1935. http://lists.ximian.com/pipermail/mono-devel-list/2006-May/018585.html ).
  1936. 2006-05-11 Andrew Skiba <[email protected]>
  1937. * Page.cs, PageTheme.cs: This patch uses LinkedStyleSheets from the
  1938. PageTheme and from StyleSheetPageTheme to insert links in page header.
  1939. 2006-05-10 Andrew Skiba <[email protected]>
  1940. * TemlpateParser.cs: surround file name with quotes
  1941. 2006-05-08 Chris Toshok <[email protected]>
  1942. * ControlBuilder.cs (ResetState): set renderIndex to 0 here. This
  1943. fixes the last thing keeping the test in #76818 from working.
  1944. 2006-05-07 Andrew Skiba <[email protected]>
  1945. * Page.cs: if no theme is defined in aspx, read default from web.config.
  1946. Same for the style sheet theme.
  1947. 2006-04-27 Andrew Skiba <[email protected]>
  1948. * TemplateParser.cs: format according to
  1949. http://lists.ximian.com/pipermail/mono-devel-list/2006-April/018096.html
  1950. 2006-04-25 Chris Toshok <[email protected]>
  1951. * PageThemeParser.cs (LinkedStyleSheets): reformat.
  1952. 2006-04-25 Konstantin Triger <[email protected]>
  1953. * Control.cs: implementation for IsViewStateEnabled.
  1954. 2006-04-25 Andrew Skiba <[email protected]>
  1955. * Control.cs: fix null pointer exception
  1956. 2006-04-23 Andrew Skiba <[email protected]>
  1957. * PageThemeParser.cs: add LinkedStyleSheets property
  1958. 2006-04-16 Andrew Skiba <[email protected]>
  1959. * TemplateParser.cs: add internal method AddAssemblyByFileName
  1960. 2006-04-16 Konstantin Triger <[email protected]>
  1961. * SimpleWebHandlerParser.cs: correctly resolve GACs dependencies.
  1962. 2006-04-11 Konstantin Triger <[email protected]>
  1963. * Page.cs, TemplateControl.cs: refactoring implementing Page.GetDataItem().
  1964. 2006-04-10 Chris Toshok <[email protected]>
  1965. * PageThemeFileParser.cs (AddDirective): allow Register directives
  1966. in skin files.
  1967. 2006-04-02 Chris Toshok <[email protected]>
  1968. * Control.cs (DesignMode): always return false for now. Fixes
  1969. #77991.
  1970. 2006-03-24 Gonzalo Paniagua Javier <[email protected]>
  1971. * ControlBuilder.cs: when creating a default property builder, handle
  1972. strings specially.
  1973. * StringPropertyBuilder.cs: new builder used in TextBox 2.0.
  1974. 2006-03-15 Vladimir Krasnov <[email protected]>
  1975. * ControlCollection.cs: fixed CopyTo method, fixes bug when if target
  1976. index is not zero
  1977. 2006-03-13 Chris Toshok <[email protected]>
  1978. * HtmlTextWriterTag.cs: no [Serializable] in 2.0.
  1979. * HtmlTextWriterAttribute.cs: same.
  1980. * HtmlTextWriterStyle.cs: same.
  1981. * VirtualReferenceType.cs: new enum.
  1982. 2006-03-13 Chris Toshok <[email protected]>
  1983. * UserControl.cs: rework InitializeAsUserControl and
  1984. InitializeAsUserControlInternal - the Internal variety doesn't set
  1985. this.page to null now.
  1986. * MasterPage.cs (CreateMasterPage): map the masterPageFile path,
  1987. and also remove a line of spew.
  1988. 2006-03-09 Vladimir Krasnov <[email protected]>
  1989. * Added PageParser.jvm.cs, WebServiceParser.jvm.cs
  1990. 2006-03-07 Chris Toshok <[email protected]>
  1991. * Page.cs (InitializeStyleSheet): load the style sheet theme using
  1992. ThemeDirectoryCompiler.
  1993. (InitializeTheme): load the page's theme using
  1994. ThemeDirectoryCompiler.
  1995. (InternalProcessRequest): call InitializeTheme after OnPreInit.
  1996. (FrameworkInitialize): call InitializeStyleSheet.
  1997. (PageTheme,StyleSheetPageTheme): new properties to get the
  1998. respective themes.
  1999. * Control.cs (ApplyStyleSheetSkin): new method. Calls ApplySkin
  2000. on the ControlSkin (if there is one) for this control in the
  2001. page's StyleSheetSkin.
  2002. (ApplyThemeRecursively): applies the page's theme recursively to
  2003. the control hierarchy. Must be done this way because the control
  2004. tree is already present when we apply the theme (it has to be,
  2005. since theme's override settings).
  2006. * PageTheme.cs (GetControlSkin): add internal call to do the
  2007. lookup for us.
  2008. * PageThemeFileParser.cs: the parser object that represents each
  2009. individual skin file.
  2010. * PageThemeParser.cs: the parser object that represents the entire
  2011. theme directory.
  2012. * PageThemeBuilder.cs: this class generates the right exception on
  2013. the right event, but it's not hooked up yet.
  2014. 2006-03-02 Chris Toshok <[email protected]>
  2015. * Control.cs (ApplyStyleSheetTheme): remove the exception, and add
  2016. a MonoTODO.
  2017. * Page.cs (Theme): implement setter/getter.
  2018. (StyleSheetTheme): same.
  2019. * PageParser.cs (ProcessMainAttributes): parse the Theme and
  2020. StyleSheetTheme attributes.
  2021. 2006-02-27 Chris Toshok <[email protected]>
  2022. * TemplateControl.cs: corcompare work.
  2023. * ExpressionBindingCollection.cs: same.
  2024. * HierarchicalDataSourceControl.cs: same.
  2025. * PostBackOptions.cs: same.
  2026. * ClientScriptManager.cs: same.
  2027. * FilterableAttribute.cs: same.
  2028. * ControlCollection.cs: same.
  2029. * DataBindingCollection.cs: same.
  2030. * PropertyEntry.cs: mark ctor internal.
  2031. * SimpleWebHandlerParser.cs: mark the 2.0 ctor as internal.
  2032. * Page.cs: stub out two Theme oriented 2.0 properties.
  2033. * DataBinder.cs: remove the obsolete attribute on the ctor.
  2034. * TwoWayBoundPropertyEntry.cs: remove this.
  2035. * ControlBuilder.cs (BindingContainerType): virtual in 2.0.
  2036. * ThemeProvider: new (stubbed) class.
  2037. * SkinBuilder.cs: same.
  2038. * PageTheme.cs: same.
  2039. * ControlSkin.cs: same.
  2040. * ControlSkinProc.cs: rename this to ControlSkinDelegate.cs.
  2041. * SimplePropertyEntry.cs: mark ctor as internal.
  2042. * IThemeResolutionService.cs: enable the 3 members of this
  2043. interface.
  2044. 2006-02-27 Chris Toshok <[email protected]>
  2045. * ListSourceHelper.cs: this class is static.
  2046. * Page.cs: add some EditorBrowsable attributes to the 2.0 events.
  2047. 2006-02-27 Chris Toshok <[email protected]>
  2048. * DataSourceView.cs: Name isn't virtual.
  2049. * DataSourceControl.cs: beat this class over the head with the
  2050. corcompare stick.
  2051. * DataSourceControlBuilder.cs: new stubbed control builder for
  2052. DataSourceControl.
  2053. 2006-02-23 Chris Toshok <[email protected]>
  2054. * Page.cs: more corcompare work.
  2055. 2006-02-23 Chris Toshok <[email protected]>
  2056. * Page.cs (ProcessCallbackData): track change to
  2057. ICallbackEventHandler iface.
  2058. * ICallbackEventHandler.cs: enable the proper members of this
  2059. interface.
  2060. * DataSourceSelectArguments.cs: reformat getter/setters.
  2061. 2006-02-22 Cesar Lopez Nataren <[email protected]>
  2062. * HtmlTextWriter.cs: Added method WriteEncodedText for the .NET 2.0 profile.
  2063. 2006-02-14 Gonzalo Paniagua Javier <[email protected]>
  2064. * WebHandlerParser.cs:
  2065. * WebServiceParser.cs:
  2066. * UserControlParser.cs:
  2067. * PageParser.cs: added new ctor that uses a TextReader as input.
  2068. * TemplateControlParser.cs: new Reader property.
  2069. * SimpleWebHandlerParser.cs: new Reader property and ctor.
  2070. 2006-02-12 Cesar Lopez Nataren <[email protected]>
  2071. * HtmlTextWriter.cs: Implemented IsValidFormAttribute and
  2072. WriterBreak for the .NET 2.0 profile.
  2073. 2006-02-10 Gonzalo Paniagua Javier <[email protected]>
  2074. * IThemeResolutionService.cs: this is now added to the
  2075. sources file, but some other stuff does not compile yet as the
  2076. interface changed after the beta.
  2077. * ObjectConverter.cs: removed extra attribute.
  2078. * ObjectStateFormatter.cs: add IStateFormatter for 2.0.
  2079. * ICallbackEventHandler.cs: update the interface, but commented the
  2080. 'good' stuff out, since other files need to be fixed too.
  2081. 2006-02-07 Chris Toshok <[email protected]>
  2082. * ControlBuilder.cs: rename flushOutputStatements to
  2083. methodStatements to at least reflect that they're in that method.
  2084. 2006-02-07 Chris Toshok <[email protected]>
  2085. * MasterPage.cs (CreateMasterPage): don't nullref on null
  2086. contentTemplateCollection.
  2087. * ControlBuilder.cs: add a flushOutputStatements field.
  2088. * PageParser.cs (ProcessMainAttributes): handle Title attribute.
  2089. (Title): add getter.
  2090. * Page.cs (Title): implement getter/setter.
  2091. (InternalProcessRequest): after calling ApplyMasterPage, apply the
  2092. page's Title directive if there is one.
  2093. (AddContentTemplate): make the EditorBrowsable attribute apply to
  2094. the method, not the field.
  2095. 2006-02-07 Chris Toshok <[email protected]>
  2096. * MasterPage.cs: rework this file, adding some static methods
  2097. gleaned from MS stack traces, and clear up the propogation of
  2098. content templates between nested master pages.
  2099. * Control.cs (TemplateControl): implement.
  2100. * TemplateControl.cs: re-indent some of the code.
  2101. (ReadStringRecource): according to msdn2, these throw
  2102. NotSupportedException.
  2103. * MasterPageParser.cs (HandleOption): implement. assign our
  2104. master page's MasterPageFile from the UserControl property.
  2105. * UserControl.cs (InitializeAsUserControlInternal): new method
  2106. that allows initialization without a page.
  2107. * UserControlParser.cs (ProcessMainAttributes): for 2.0 handle
  2108. MasterPageFile attributes, so we can have nested master pages.
  2109. (MasterPageFile): add a 2.0 specific property.
  2110. * TemplateControlParser.cs: in .net 2.0, our base class is
  2111. BaseTemplateParser.
  2112. (HandleOptions): be consistent and call base.HandleOptions.
  2113. * BaseTemplateParser.cs: new (stubbed) class.
  2114. * MasterPageControlBuilder.cs: new file, not filled in (and really
  2115. not used either.)
  2116. * Page.cs (InternalProcessRequest): call ApplyMasterPage.
  2117. (SaveExistingContentTemplates): nuke.
  2118. (ReapplyExistingContentTemplate): nuke.
  2119. (ApplyMasterPage): if we have a master page, call
  2120. MasterPage.ApplyMasterPageRecursive with it and add it to our
  2121. controls.
  2122. (set_MasterPageFile): remove call to SaveExistingContentTemplates.
  2123. (get_Master): call MasterPage.CreateMasterPage.
  2124. (AddContentTemplate): keep track of the page's content templates
  2125. in a local Hashtable - they aren't our master page's content
  2126. templates.
  2127. 2006-02-01 Chris Toshok <[email protected]>
  2128. * TemplateParser.cs: CONFIGURATION_2_0 => NET_2_0, and replace
  2129. calls to GetWebApplicationSection with GetSection.
  2130. * SimpleWebHandlerParser.cs: same.
  2131. * Page.cs: same.
  2132. * PageParser.cs: same.
  2133. * BaseParser.cs: same.
  2134. 2006-01-27 Chris Toshok <[email protected]>
  2135. * MasterPage.cs (ContentTemplatesInternal): add get/set for the
  2136. actual Hashtable.
  2137. * Page.cs (SaveExistingContentTemplates): store off the existing
  2138. MasterPage content templates so they can be reapplied when setting
  2139. MasterPageFile to something else.
  2140. (ReapplyExistingContentTemplates): set masterPage's
  2141. ContentTemplates to our saved copy.
  2142. (set_MasterPageFile): save off the current content templates
  2143. before clearing masterPage.
  2144. (get_Master): reapply the saved content templates after we create
  2145. the new MasterPage.
  2146. 2006-01-25 Chris Toshok <[email protected]>
  2147. * ClientScriptManager.cs (RegisterClientScriptResource): last
  2148. patch, I swear. How can 1 line of code have 3 bugs?
  2149. 2006-01-25 Chris Toshok <[email protected]>
  2150. * ClientScriptManager.cs (RegisterClientScriptResource): gah, fix
  2151. problem with last commit - unquote "resourceName" so it uses the
  2152. parameter instead of the string constant.
  2153. 2006-01-22 Chris Toshok <[email protected]>
  2154. * RootBuilder.cs (.cctor): use a 2.0 friendly hashtable ctor to
  2155. quiet mcs.
  2156. * PageParser.cs (ProcessMainAttributes): i missed a
  2157. CONFIGURATION_2_0 block.
  2158. * BoundPropertyEntry.cs (.ctor): mark as internal to fix
  2159. corcompare.
  2160. 2006-01-18 Konstantin Triger <[email protected]>
  2161. * ObjectStateFormatter.cs: preserve emptiness in ColorFormatter.
  2162. 2006-01-18 Konstantin Triger <[email protected]>
  2163. * HtmlTextWriter.cs: perform case insensitive compare;
  2164. return correct key in default case.
  2165. 2006-01-11 Chris Toshok <[email protected]>
  2166. * ClientScriptManager.cs (RegisterClientScriptResource):
  2167. implement.
  2168. 2006-01-11 Vladimir Krasnov <[email protected]>
  2169. * ObjectStateFormatter.cs: Removed TARGET_JVM parts in
  2170. TypeFormatter.Read
  2171. 2006-01-10 Chris Toshok <[email protected]>
  2172. * Page.cs (ValidateCollection): in NET_2_0 if event validation is
  2173. off, return true.
  2174. 2006-01-09 Chris Toshok <[email protected]>
  2175. * Page.cs: fix a lot of indentation, and add the
  2176. EnableEventValidation .net 2.0 property.
  2177. 2006-01-09 Vladimir Krasnov <[email protected]>
  2178. * ObjectStateFormatter.cs: Merged TARGET_JVM parts in
  2179. TypeFormatter.Read, TypeFormatter.Write from /main/5
  2180. 2006-01-09 Konstantin Triger <[email protected]>
  2181. * Page.cs: make ProcessRequest virtual under TARGET_JVM.
  2182. 2006-01-04 Chris Toshok <[email protected]>
  2183. * TemplateParser.cs (.ctor): kinda gross, but handle the
  2184. AddAssembliesInBin case here.
  2185. * SimpleWebHandlerParser.cs (.ctor): same.
  2186. 2006-01-04 Chris Toshok <[email protected]>
  2187. * SimpleWebHandlerParser.cs: Remove the declaration of
  2188. compilationConfig in the CONFIGURATION_2_0 case. it's
  2189. unnecessary.
  2190. (.ctor): ifdef out the AddAssembliesInBin call in the
  2191. CONFIGURATION_2_0 case. need to revisit this.
  2192. (CompilationConfig): add a CONFIGURATION_2_0 version.
  2193. * BaseParser.cs: Remove the declaration of compilationConfig in
  2194. the CONFIGURATION_2_0 case. it's unnecessary.
  2195. 2005-12-08 Gonzalo Paniagua Javier <[email protected]>
  2196. * Control.cs: use _controls instead of the property wherever possible.
  2197. 2005-12-05 Gonzalo Paniagua Javier <[email protected]>
  2198. * Control.cs: use the _controls field instead of the Controls property.
  2199. Fixes bug #76919.
  2200. 2005-11-30 Sebastien Pouliot <[email protected]>
  2201. * KeyedList.cs: Fixed for IOrderedDictionary change in 2.0 final.
  2202. Now internal.
  2203. * KeyedListEnumerator.cs: Now internal.
  2204. 2005-11-29 Gonzalo Paniagua Javier <[email protected]>
  2205. * ControlCollection.cs: allow 'null' in Remove.
  2206. 2005-11-28 Chris Toshok <[email protected]>
  2207. * Page.cs (GetFormatter): CONFIGURATION_2_0 work.
  2208. * TemplateParser.cs (..ctor): CONFIGURATION_2_0 work.
  2209. (PagesConfig): add a CONFIGURATION_2_0 version that returns a
  2210. PagesSection.
  2211. * PageParser.cs (ProcessMainAttributes): CONFIGURATION_2_0 work.
  2212. * BaseParser.cs (CompilationConfig): add a CONFIGURATION_2_0
  2213. version that returns a CompilationSection.
  2214. 2005-11-22 Gonzalo Paniagua Javier <[email protected]>
  2215. * SimpleWebHandlerParser.cs: removed 'codebehind' related stuff.
  2216. 2005-11-09 Chris Toshok <[email protected]>
  2217. * ViewStateEncryptionMode.cs: new 2.0 enum.
  2218. 2005-11-08 Gonzalo Paniagua Javier <[email protected]>
  2219. * TemplateParser.cs: fixes #76423. Not tested properly.
  2220. 2005-11-07 Gonzalo Paniagua Javier <[email protected]>
  2221. * Page.cs: call LoadViewStateRecursive when the Form collection has
  2222. not been used by a different page (GetTypeHashCode). This fixes problems
  2223. when calling Server.Transfer while preserving Form and QueryString,
  2224. as the page we transfer to used the view state stored in the Form, which
  2225. contained the serialized data for the page calling Server.Transfer
  2226. instead.
  2227. 2005-10-31 Gonzalo Paniagua Javier <[email protected]>
  2228. * Page.cs: add/remove the error before/after invoking OnError.
  2229. 2005-10-27 Gonzalo Paniagua Javier <[email protected]>
  2230. * Page.cs: call OnError when there's an exception (not for TAE). Fixes
  2231. bug #76572.
  2232. 2005-10-25 Gonzalo Paniagua Javier <[email protected]>
  2233. * TemplateControl.cs:
  2234. * PartialCachingControl.cs: if a control is cacheable, LoadControl
  2235. returns a PartialCachingControl that holds the VaryBy* and takes care
  2236. of partial caching and rendering. Fixes bug #76547.
  2237. 2005-10-17 Gonzalo Paniagua Javier <[email protected]>
  2238. * Page.cs: don't cache the 'Validate()' results. IsValid retests
  2239. the validators again.
  2240. 2005-09-29 Gonzalo Paniagua Javier <[email protected]>
  2241. * DesignerDataBoundLiteralControl.cs: changed autoid api.
  2242. * DataBoundLiteralControl.cs: changed autoid api.
  2243. * Control.cs: fixlet for UniqueID and weird test case. Removed
  2244. PreventAutoID and only use the property to set that value.
  2245. * LiteralControl.cs: changed autoid api.
  2246. 2005-09-28 Gonzalo Paniagua Javier <[email protected]>
  2247. * AttributeCollection.cs: avoid code duplication and
  2248. don't add "style" to the bag, or it will overwrite the settings made
  2249. by CssStyleCollection.
  2250. * CssStyleCollection.cs: make it throw where MS throws.
  2251. Minimize the number of times we create the "style" string and take
  2252. care of updating it for the AttributeCollection. FillStyle and
  2253. BagToString are now private. One should use the 2.0 (internal in <2.0)
  2254. Value property.
  2255. 2005-09-28 Gonzalo Paniagua Javier <[email protected]>
  2256. * Control.cs: fix HasChildViewStates.
  2257. 2005-09-27 Gonzalo Paniagua Javier <[email protected]>
  2258. * LosFormatter.cs: when the default ctor is used, MAC is disabled.
  2259. Fixes bug #76240.
  2260. 2005-09-27 Gonzalo Paniagua Javier <[email protected]>
  2261. * ObjectTagBuilder.cs: only fail when no id and no attributes.
  2262. 2005-09-23 Sebastien Pouliot <[email protected]>
  2263. * DataBindingCollection.cs: Using an hashtable is a nice trick but
  2264. we need to copy values (not the DictionaryEntry) in CopyTo.
  2265. * Page.cs: IsValid throws an exception if the page hasn't be
  2266. validated. VerifyRenderingInServerForm doesn't throw an exception
  2267. during unit testing (without a context?) but does in normal ops.
  2268. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  2269. * LosFormatter.cs: the exceptions thrown have a 500 httpCode. Really
  2270. save the allocation of new MemoryStreams when possible. Thanks to
  2271. Sebastien again.
  2272. 2005-09-23 Ben Maurer <[email protected]>
  2273. * HtmlTextWriter.cs: Initial support for escaping.
  2274. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  2275. * ViewStateOutputHashStream.cs: Removed. It didn't last long.
  2276. * Page.cs: almost restored to its previous state, but now that we found
  2277. that LosFormatter ctor that takes 'enableMac', moved the logic to
  2278. add the hash and validate there. Thanks to Sebastien for his input.
  2279. * LosFormatter.cs: implemented the missing ctors and support for
  2280. "MAC" validation of the data.
  2281. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  2282. * Page.cs:
  2283. * ViewStateOutputHashStream.cs: added support for viewstate MAC. It
  2284. prevents the viewstate being altered on the client and it's disabled
  2285. by default as per the documentation, but MS machine.config has it
  2286. enabled in machine.config.
  2287. 2005-09-22 Miguel de Icaza <[email protected]>
  2288. * DataBindingCollection.cs: Raise the event, remove MonoTODO.
  2289. * MinimizableAttributeTypeConverter.cs: Fix warning, compare to a
  2290. string.
  2291. 2005-09-21 Sebastien Pouliot <[email protected]>
  2292. * Control.cs: Added null checks for Trace as it can be null when
  2293. rendering (like it was for 39 unit tests).
  2294. 2005-09-21 Gonzalo Paniagua Javier <[email protected]>
  2295. * Page.cs: reverted hacks used with the wrong method of getting a
  2296. control rendered size.
  2297. * Control.cs: if the trace is enabled, save control rendered size.
  2298. 2005-09-19 Sebastien Pouliot <[email protected]>
  2299. * Page.cs: Remove references to IPageParser (removed from 2.0 RC). We
  2300. now use HtmlHeader directly.
  2301. * UrlPropertyAttribute.cs: Removed AllowedTypes property (2.0 RC) and
  2302. rewrote Equals to avoid dual type cast.
  2303. 2005-09-19 Sebastien Pouliot <[email protected]>
  2304. * SupportsEventValidationAttribute.cs: New attribute added in 2.0 RC.
  2305. 2005-09-19 Sebastien Pouliot <[email protected]>
  2306. * ControlBuilder.cs: Added BuildObject override for 2.0 profile.
  2307. * TagPrefixAttribute.cs: Added LinkDemand for AspNetHostingPermission
  2308. with Minimal level. Fixed checks on ctor.
  2309. * TemplateBuilder.cs: Added LinkDemand and InheritanceDemand for
  2310. AspNetHostingPermission with Minimal level.
  2311. * TemplateContainerAttribute.cs: Added LinkDemand for
  2312. AspNetHostingPermission with Minimal level.
  2313. * TemplateControl.cs: Added LinkDemand and InheritanceDemand for
  2314. AspNetHostingPermission with Minimal level. Fixed checks/exceptions.
  2315. Stubbed IFilterResolutionService for CAS testing.
  2316. * TemplateControlParser.cs: Added LinkDemand and InheritanceDemand for
  2317. AspNetHostingPermission with Minimal level.
  2318. * TemplateParser.cs: Added LinkDemand and InheritanceDemand for
  2319. AspNetHostingPermission with Minimal level.
  2320. * ThemeableAttribute.cs: Added LinkDemand for AspNetHostingPermission
  2321. with Minimal level. Removed IDispose interface.
  2322. * ToolboxDataAttribute.cs: Added LinkDemand for
  2323. AspNetHostingPermission with Minimal level. Fixed IsDefaultAttribute
  2324. to work on both 1.x and 2.0 profiles.
  2325. * Triplet.cs: Added LinkDemand and (only for 1.x) InheritanceDemand
  2326. for AspNetHostingPermission with Minimal level.
  2327. * UserControl.cs: Added LinkDemand and InheritanceDemand for
  2328. AspNetHostingPermission with Minimal level. Stubbed
  2329. IFilterResolutionService for CAS testing.
  2330. * UserControlControlBuilder.cs: Added LinkDemand and InheritanceDemand
  2331. for AspNetHostingPermission with Minimal level.
  2332. * ValidationPropertyAttribute.cs: Added LinkDemand for
  2333. AspNetHostingPermission with Minimal level.
  2334. * ValidatorCollection.cs: Added LinkDemand for AspNetHostingPermission
  2335. with Minimal level.
  2336. * WebResourceAttribute.cs: Removed extra ctor and added setter to
  2337. PerformSubstitution.
  2338. * WebServiceParser.cs: Added LinkDemand and InheritanceDemand for
  2339. AspNetHostingPermission with Minimal level.
  2340. 2005-09-15 Sebastien Pouliot <[email protected]>
  2341. * ParseChildrenAttribute.cs: Added LinkDemand for
  2342. AspNetHostingPermission with Minimal level. Simplified Equals to avoid
  2343. casting. Added new ctor and public fields (2.0). Changed
  2344. ChildControlType setter visibility to internal.
  2345. * PartialCachingAttribute.cs: Added LinkDemand for
  2346. AspNetHostingPermission with Minimal level. Added new ctor and
  2347. SqlDependency property (2.0).
  2348. * PartialCachingControl.cs: Added LinkDemand and InheritanceDemand for
  2349. AspNetHostingPermission with Minimal level.
  2350. * PersistenceModeAttribute.cs: Added LinkDemand for
  2351. AspNetHostingPermission with Minimal level. Simplified Equals to avoid
  2352. casting.
  2353. * PersistChildrenAttribute.cs: Added LinkDemand for
  2354. AspNetHostingPermission with Minimal level. Simplified Equals to avoid
  2355. casting.
  2356. * PropertyConverter.cs: Added LinkDemand for AspNetHostingPermission
  2357. with Minimal level. Class is static in 2.0.
  2358. * RootBuilder.cs: Added LinkDemand and, for 2.0, InheritanceDemand for
  2359. AspNetHostingPermission with Minimal level. Class is no more sealed in
  2360. 2.0. Added new (2.0) BuiltObjects property.
  2361. * SimpleWebHandlerParser.cs: Added LinkDemand and InheritanceDemand
  2362. for AspNetHostingPermission with Minimal level.
  2363. * StateItem.cs: Added LinkDemand for AspNetHostingPermission with
  2364. Minimal level.
  2365. * StateBag.cs: Added LinkDemand for AspNetHostingPermission with
  2366. Minimal level. Removed SetDirty() which was called (2.0) but did
  2367. nothing.
  2368. * StaticPartialCachingControl.cs: Added LinkDemand and
  2369. InheritanceDemand for AspNetHostingPermission with Minimal level.
  2370. 2005-09-15 Sebastien Pouliot <[email protected]>
  2371. * Html32TextWriter.cs: Added LinkDemand and InheritanceDemand for
  2372. AspNetHostingPermission with Minimal level. Added new 2.0 properties
  2373. (but the generated HTML doesn't use them).
  2374. * HtmlTextWriter.cs: Added LinkDemand and InheritanceDemand for
  2375. AspNetHostingPermission with Minimal level.
  2376. * ImageClickEventArgs.cs: Added LinkDemand for AspNetHostingPermission
  2377. with Minimal level.
  2378. * LiteralControl.cs: Added LinkDemand and InheritanceDemand for
  2379. AspNetHostingPermission with Minimal level. Default Text is null.
  2380. * LosFormatter.cs: Added LinkDemand and InheritanceDemand for
  2381. AspNetHostingPermission with Minimal level. Stubbed new 2.0 ctor.
  2382. * ObjectConverter.cs: Added LinkDemand and InheritanceDemand for
  2383. AspNetHostingPermission with Minimal level. Obsoleted ctor for 2.0.
  2384. * ObjectTagBuilder.cs: Added LinkDemand for AspNetHostingPermission
  2385. with Minimal level. Added check for null id (HttpException).
  2386. * Page.cs: Added LinkDemand and InheritanceDemand for
  2387. AspNetHostingPermission with Minimal level. Throw some HttpException
  2388. when no context is available.
  2389. * Pair.cs: Added LinkDemand for AspNetHostingPermission with Minimal
  2390. level. InheritanceDemand too for 1.x.
  2391. * PageParser.cs: Added LinkDemand for AspNetHostingPermission with
  2392. Minimal level.
  2393. 2005-09-14 Sebastien Pouliot <[email protected]>
  2394. * DataBinder.cs: Added LinkDemand for AspNetHostingPermission with
  2395. Minimal level. Fixed some exceptions.
  2396. * DataBindingCollection.cs: Added LinkDemand for
  2397. AspNetHostingPermission with Minimal level. Added 2.0 method and
  2398. event.
  2399. * DataBindingHandlerAttribute.cs: Added LinkDemand for
  2400. AspNetHostingPermission with Minimal level.
  2401. * DataBinding.cs: Added LinkDemand for AspNetHostingPermission with
  2402. Minimal level. Simplified Equals (reduced casts).
  2403. * DataBoundLiteralControl.cs: Added LinkDemand for
  2404. AspNetHostingPermission with Minimal level. Implemented ITextControl
  2405. for 2.0.
  2406. * DesignerDataBoundLiteralControl.cs: Added LinkDemand for
  2407. AspNetHostingPermission with Minimal level.
  2408. * DesignTimeParseData.cs: Added LinkDemand for AspNetHostingPermission
  2409. with Minimal level. Added new 2.0 properties.
  2410. * DesignTimeTemplateParser.cs: Added LinkDemand for
  2411. AspNetHostingPermission with Minimal level. Made class static and
  2412. stubbed missing methods (2.0).
  2413. * EmptyControlCollection.cs: Added LinkDemand and InheritanceDemand
  2414. for AspNetHostingPermission with Minimal level. Changed Add* methods
  2415. exceptions to HttpException.
  2416. 2005-09-14 Sebastien Pouliot <[email protected]>
  2417. * AttributeCollection.cs: Added LinkDemand for AspNetHostingPermission
  2418. with Minimal level.
  2419. * BaseParser.cs: Added LinkDemand and InheritanceDemand for
  2420. AspNetHostingPermission with Minimal level.
  2421. * BasePartialCachingControl.cs: Added LinkDemand and InheritanceDemand
  2422. for AspNetHostingPermission with Minimal level.
  2423. * CompiledTemplateBuilder.cs: Added LinkDemand for
  2424. AspNetHostingPermission with Minimal level.
  2425. * ConstructorNeedsTagAttribute.cs: Added LinkDemand for
  2426. AspNetHostingPermission with Minimal level.
  2427. * ControlBuilderAttribute.cs: Added LinkDemand for
  2428. AspNetHostingPermission with Minimal level. Simplified Equals and
  2429. IsDefaultAttribute.
  2430. * ControlBuilder.cs: Added LinkDemand and InheritanceDemand for
  2431. AspNetHostingPermission with Minimal level.
  2432. * ControlCachePolicy.cs: Hided ctor and removed SupportsCaching setter
  2433. * ControlCollection.cs: Added LinkDemand and InheritanceDemand for
  2434. AspNetHostingPermission with Minimal level. Fixed possible stack
  2435. overflow in Add* methods. Fixed CopyTo as we're not allocating the
  2436. array based on the number of items.
  2437. * Control.cs: Added LinkDemand and InheritanceDemand for
  2438. AspNetHostingPermission with Minimal level. Fixed 2.0 signatures.
  2439. * CssStyleCollection.cs: Added LinkDemand for AspNetHostingPermission
  2440. with Minimal level.
  2441. * IStyleSheet.cs: Fixed parameter orders (2.0).
  2442. 2005-09-10 Gonzalo Paniagua Javier <[email protected]>
  2443. * TemplateParser.cs: default VS 2005 pages are compiled fine now.
  2444. 2005-09-07 Chris Toshok <[email protected]>
  2445. * MinimizableAttributeTypeConverter.cs: new class, whose existence
  2446. we know about because of corcompare, and for whose implementation
  2447. we have exclusively nunit to thank.
  2448. 2005-09-06 Chris Toshok <[email protected]>
  2449. * RootBuilder.cs (.cctor): doh, add all the new html controls
  2450. here.
  2451. 2005-08-31 Chris Toshok <[email protected]>
  2452. * DataSourceSelectArguments.cs (Empty): this is apparently,
  2453. according to corcompare, a property, not a field. go figure.
  2454. (Equals): implement.
  2455. (IsEmpty): remove all mention of it.
  2456. 2005-08-29 Chris Toshok <[email protected]>
  2457. * StateBag.cs (GetChar): add.
  2458. 2005-08-28 Chris Toshok <[email protected]>
  2459. * Page.cs: more random corcompare work.
  2460. (PageAdapter): implement.
  2461. 2005-08-28 Chris Toshok <[email protected]>
  2462. * Page.cs (.ctor): set our initial ID to "__Page".
  2463. (SmartNavigation): obsolete in 2.0.
  2464. (FindControl): new implementation. Just check our own ID against
  2465. the control we're looking for. otherwise pass it along to
  2466. base.FindControl.
  2467. (GetPostBackClientHyperlink): obsolete in 2.0.
  2468. 2005-08-28 Chris Toshok <[email protected]>
  2469. * ClientScriptManager.cs: public sealed in 2.0
  2470. * IAdaptableTextWriter.cs: new 2.0 interface.
  2471. * IHierarchyData.cs: fix return type for GetParent.
  2472. 2005-08-28 Chris Toshok <[email protected]>
  2473. * Pair.cs: mark serializable and sealed in 2.0.
  2474. 2005-08-26 Sebastien Pouliot <[email protected]>
  2475. * CssStyleCollection.cs: Implemented setter for Value (2.0) using the
  2476. existing (but internal) FillStyle method. Rewrote BagToString to use an
  2477. HtmlTextWriter so we get the "right" format for background-image url.
  2478. 2005-08-26 Sebastien Pouliot <[email protected]>
  2479. * CssStyleCollection.cs: Implemented this[HtmlTextWriterStyle],
  2480. Remove(HtmlTextWriterStyle) and the getter for Value (all 2.0). Removed
  2481. the extra space from last patch because they break some unit tests.
  2482. 2005-08-26 Lluis Sanchez Gual <[email protected]>
  2483. * CssStyleCollection.cs: Added some spacing.
  2484. * HtmlTextWriter.cs: Made style and attribute tables static.
  2485. Implemented StaticGetStyleName().
  2486. 2005-08-26 Sebastien Pouliot <[email protected]>
  2487. * CssStyleCollection.cs: Stubbed new 2.0 stuff to allow TableStyleTest
  2488. compilation.
  2489. * HtmlTextWriter.cs: Fix style rendering for BackgroundImage in 2.0.
  2490. The new rendering formats the value as "url(" + original + ")".
  2491. 2005-08-26 Sebastien Pouliot <[email protected]>
  2492. * HtmlTextWriter.cs: Added support for VerticalAlign style (as it
  2493. depends on the HtmlTextWriterStyle ordering).
  2494. 2005-08-26 Gonzalo Paniagua Javier <[email protected]>
  2495. * HtmlTextWriter.cs: remove 'mistaken end of statement' and FIXME.
  2496. 2005-08-25 Sebastien Pouliot <[email protected]>
  2497. * HtmlTextWriterStyle.cs: Added missing VerticalAlign in 2.0 (which
  2498. fixed the rest of the enum values).
  2499. * UrlPropertyAttribute.cs: Removed the .ctor accepting an UrlTypes
  2500. parameter to match 2.0 API. Added a setter to the AllowedTypes
  2501. property.
  2502. 2005-08-24 Chris Toshok <[email protected]>
  2503. * Control.cs (get_Adapter): Instead of throwing an exception, just
  2504. return null, so we can write the rest of the Control specific
  2505. Adapter code and just not enable any of those code paths until we
  2506. have actual adapters. Also flag TODO.
  2507. (EnsureChildControls): Call out to Adapter.CreateChildControls if
  2508. we have an adapter.
  2509. (RenderChildren): call "RenderControl (writer, adapter)" if we
  2510. have an adapter.
  2511. (RenderControl): implement the adapter case naively.
  2512. (LoadRecursive): call out to Adapter.OnLoad if we have one.
  2513. (PreRenderRecursiveInternal): call out to Adapter.OnPrerender if
  2514. we have one.
  2515. (InitRecursive): call out to Adapter.OnInit if we have one.
  2516. 2005-08-24 Chris Toshok <[email protected]>
  2517. * Page.cs (GetPostBackEventReference): track change to
  2518. ClientScriptManager and don't call a removed method.
  2519. * ClientScriptManager.cs: track more recent docs and corcompare
  2520. output.
  2521. 2005-08-24 Sebastien Pouliot <[email protected]>
  2522. * KeyedList.cs: Fixed bug when removing an unexisting object.
  2523. * StateManagedCollection.cs: Fixed API for beta2. Fixed buglets found
  2524. in implementing RoleGroupCollection.
  2525. 2005-08-22 Sebastien Pouliot <[email protected]>
  2526. * Page.cs: Use Control property (and not the _control variable) to get
  2527. the User (so the virtual Control property can be overriden properly).
  2528. Sadly this doesn't seems to be the case for other properties (like
  2529. Request).
  2530. 2005-08-18 Dick Porter <[email protected]>
  2531. * ControlCachePolicy.cs, PersistChildrenAttribute.cs,
  2532. UserControl.cs, DesignerDataBoundLiteralControl.cs,
  2533. PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
  2534. BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
  2535. stubs and attribute fixes
  2536. 2005-08-13 Sebastien Pouliot <[email protected]>
  2537. * Control.cs: Add protected virtual SetDesignModeState, in 2.0
  2538. profile, as this is required for the Login control.
  2539. 2005-08-11 Dick Porter <[email protected]>
  2540. * CssStyleCollection.cs: Tweak the css string format to pass a
  2541. unit test
  2542. * AttributeCollection.cs: Don't NRE if someone sets the "style"
  2543. attribute to null.
  2544. 2005-08-05 Ben Maurer <[email protected]>
  2545. * HtmlTextWriter.cs: Revert the patch below, see test case
  2546. 2005-08-05 Dick Porter <[email protected]>
  2547. * HtmlTextWriter.cs: Make <option> tags render inline, to match
  2548. the ms output
  2549. 2005-08-03 Ben Maurer <[email protected]>
  2550. * HtmlTextWriter.cs: Optmize this not to do insane amounts of
  2551. allocation for large pages, etc.
  2552. 2005-07-30 Chris Toshok <[email protected]>
  2553. * Page.cs (VerifyRenderingInServerForm): copy MS's error message
  2554. since our form-errors jsunit tests depend on it.
  2555. 2005-07-30 Chris Toshok <[email protected]>
  2556. * DataBinder.cs (FormatResult): make internal, not private.
  2557. 2005-07-29 Ben Maurer <[email protected]>
  2558. * StateBag.cs: Don't remove when tracking viewstate, as per msft
  2559. docs.
  2560. 2005-07-29 Ben Maurer <[email protected]>
  2561. * StateBag.cs: Actually *remove* items that are null. Duh.
  2562. 2005-07-21 Peter Dennis Bartok <[email protected]>
  2563. * Page.cs: Need to throw exception when accessing Request but no
  2564. context exists
  2565. 2005-07-20 Chris Toshok <[email protected]>
  2566. * ClientScriptManager.cs (GetClientValidationEvent): the JS we
  2567. stick in onclick handlers for buttons/links/etc.
  2568. * Page.cs (GetSubmitStatements): new function to return
  2569. scriptManager.WriteSubmitStatements. Used by HtmlForm.
  2570. (AreValidatorsUplevel): used by many of the button/linkbutton
  2571. controls (the ones that can CauseValidation) to tell whether or
  2572. not to emit client side validation calls.
  2573. 2005-07-20 Chris Toshok <[email protected]>
  2574. * WebResourceAttribute.cs: make internal (and available) in
  2575. !NET_2_0.
  2576. 2005-07-20 Chris Toshok <[email protected]>
  2577. * ClientScriptManager.cs (GetWebResourceUrl): make internal (but
  2578. available) in !NET_2_0.
  2579. 2005-07-18 Peter Dennis Bartok <[email protected]>
  2580. * Control.cs: Added IDataBindingsAccessor interface methods
  2581. 2005-07-18 Ben Maurer <[email protected]>
  2582. * HtmlTextWriter.cs: Fix nested indentation
  2583. 2005-07-18 Peter Dennis Bartok <[email protected]>
  2584. * Control.cs: Added missing IParserAccessor.AddParsedSubObject
  2585. interface method
  2586. 2005-07-18 Ben Maurer <[email protected]>
  2587. * HtmlTextWriter.cs: Fix indentation (somewhat at least)
  2588. 2005-07-18 Peter Dennis Bartok <[email protected]>
  2589. * Control.cs:
  2590. - Default name for controls on MS.Net is "_ctl" not "_ctrl"
  2591. - MS does not append 'a' for auto-generated names
  2592. 2005-07-17 Ben Maurer <[email protected]>
  2593. * AttributeCollection.cs: Use the invariant culture.
  2594. * StateBag.cs: "Duh" optimization: return null when there are no
  2595. dirty items in the view state
  2596. 2005-07-14 Ben Maurer <[email protected]>
  2597. * StateBag.cs: A "short" version of my favorite method.
  2598. * HtmlTextWriter.cs: New method to get the tag name staticly.
  2599. 2005-07-14 Duncan Mak <[email protected]>
  2600. * DataBindingHandlerAttribute.cs: Fixed after receiving some
  2601. comments from Gonzalo.
  2602. 2005-07-13 Jackson Harper <[email protected]>
  2603. * PropertyConverter.cs: No public constructors.
  2604. 2005-07-13 Ben Maurer <[email protected]>
  2605. * HtmlTextWriter.cs: Remove debugging spew. Style cleanup
  2606. 2005-07-12 Ben Maurer <[email protected]>
  2607. * HtmlTextWriter.cs: Make styles work.
  2608. 2005-07-11 Peter Dennis Bartok <[email protected]>
  2609. * AttributeCollection.cs:
  2610. - Changes to match MS behaviour, the "style" attribute is always
  2611. added to the list, in addition to being added to the
  2612. CssStyleCollection. Also added check for "style" attribute when
  2613. setting via index setter
  2614. - When "Style" attribute is added, CssStyleCollection is
  2615. automatically created
  2616. - The style keyword needs to be lowercase
  2617. 2005-07-11 Ben Maurer <[email protected]>
  2618. * HtmlTextWriter.cs: Missing a PopEndTag here.
  2619. * PropertyConverter.cs: Pass tests
  2620. 2005-07-09 Miguel de Icaza <[email protected]>
  2621. * DataBindingHandlerAttribute.cs: Create the "Default" property.
  2622. 2005-07-09 Duncan Mak <[email protected]>
  2623. * DataBindingHandlerAttribute.cs: Implemented.
  2624. 2005-07-08 Ben Maurer <[email protected]>
  2625. * HtmlTextWriter.cs: Much better compliance with msft
  2626. 2005-07-08 Jackson Harper <[email protected]>
  2627. * ToolbarDataAttribute.cs: New implementation.
  2628. 2005-07-07 Jackson Harper <[email protected]>
  2629. * PropertyConverter.cs: New implementation.
  2630. 2005-07-07 Ben Maurer <[email protected]>
  2631. * StateBag.cs: Noticed an issue where SetDirty was called when the
  2632. key did not exist.
  2633. 2005-07-07 Ben Maurer <[email protected]>
  2634. * StateBag.cs: Add a method that gets a string or else a default
  2635. value.
  2636. 2005-07-07 Dick Porter <[email protected]>
  2637. * StateBag.cs: Added internal SetDirty (void) method to fix the
  2638. build
  2639. 2005-07-07 Sebastien Pouliot <[email protected]>
  2640. * HtmlTextWriter.cs: Small fixlet when attribute has no value.
  2641. 2005-07-07 Miguel de Icaza <[email protected]>
  2642. * HtmlTextWriter.cs: Return the stuff in lowercase to pass the
  2643. tests.
  2644. * StateBag.cs: Add NET_2_0 SetDirty method to get the build
  2645. going.
  2646. 2005-07-07 Sebastien Pouliot <[email protected]>
  2647. * HtmlTextWriter.cs: Small fixlet (required for the unit tests).
  2648. 2005-07-06 Ben Maurer <[email protected]>
  2649. * HtmlTextWriter.cs: Make sure to clear attributes when they are
  2650. written.
  2651. * StateBag.cs: New impl
  2652. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  2653. * Page.cs:
  2654. * Control.cs: avoid the creation of the EventHandlerList and accessing
  2655. to it whenever possible. Fix ENABLE_THEMING constant.
  2656. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  2657. * TemplateParser.cs:
  2658. * TemplateControlParser.cs:
  2659. * UserControlParser.cs: detect circular references when a control tries
  2660. to register itself as a tag. Fixes bug #75376.
  2661. 2005-06-14 Gonzalo Paniagua Javier <[email protected]>
  2662. * PageParser.cs: don't try to compile the master page if it wan't
  2663. provided. Use MapPath from the base classes instead of the long
  2664. version. Fixes bug #75269 that prevented xsp2 from working properly.
  2665. 2005-06-13 Lluis Sanchez Gual <[email protected]>
  2666. * MasterPage.cs: Clear the default content of placeholders before
  2667. adding the page content. Fixes bug #75193.
  2668. 2005-06-13 Lluis Sanchez Gual <[email protected]>
  2669. * PageParser.cs: Added MasterType property. Get the type from the
  2670. MasterType directive.
  2671. * MasterPageParser.cs: Added GetCompiledMasterType method.
  2672. 2005-06-08 Gonzalo Paniagua Javier <[email protected]>
  2673. * UserControl.cs:
  2674. * Page.cs:
  2675. * Control.cs: updates for 1.1 SP1
  2676. 2005-06-06 Lluis Sanchez Gual <[email protected]>
  2677. * Control.cs: Added new DataBind() overload for 2.0. The old
  2678. method calls this new overload.
  2679. 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
  2680. * TemplateParser.cs: ignore empty assembly.Location for in-memory
  2681. generated assemblies.
  2682. 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
  2683. * Page.cs: added AddContentTemplate method.
  2684. 2005-05-26 Gonzalo Paniagua Javier <[email protected]>
  2685. * AttributeCollection.cs: html-encode attribute values. Fixes
  2686. bug #73771.
  2687. 2005-05-26 Lluis Sanchez Gual <[email protected]>
  2688. * DataSourceView.cs: Fix api.
  2689. * NonVisualControlAttribute.cs: Implemented.
  2690. * IDataItemContainer.cs: Added missing properties.
  2691. * Control.cs: Added new EnableTheming and SkinID properties.
  2692. * HierarchicalDataSourceControl.cs: Implemented missing methods.
  2693. 2005-05-13 Lluis Sanchez Gual <[email protected]>
  2694. * ControlCollection.cs: Added internal setter for ReadOnly.
  2695. 2005-05-09 Geoff Norotn <[email protected]>
  2696. * TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
  2697. uses instead of codebehind.
  2698. 2005-05-08 Gonzalo Paniagua Javier <[email protected]>
  2699. * Page.cs: as setting CurrentCulture is slow, don't set it if the
  2700. culture has not changed since before the page started processing.
  2701. 2005-05-06 Gonzalo Paniagua Javier <[email protected]>
  2702. * TemplateParser.cs: LoadWithPartialName returns null if the assembly is
  2703. not found.
  2704. 2005-04-25 Gonzalo Paniagua Javier <[email protected]>
  2705. * TemplateParser.cs:
  2706. * SimpleWebHandlerParser.cs: removed values assigned and neved used.
  2707. 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
  2708. * SimpleWebHandlerParser.cs:
  2709. * TemplateParser.cs: always get the location (full path) for assemblies,
  2710. even the ones from the GAC.
  2711. * BaseCompiler.cs: check that DynamicBase directory exists before
  2712. creating the TempFileCollection.
  2713. 2005-04-22 Lluis Sanchez Gual <[email protected]>
  2714. * ClientScriptManager.cs: Use a linked list instead of a Hashtable
  2715. to store the scripts. In this way, scripts will be rendered in the
  2716. same order as they have been registered. It shouldn't be slower
  2717. since pages don't have many scripts.
  2718. 2005-04-21 Lluis Sanchez Gual <[email protected]>
  2719. * IEditableTextControl.cs: Implemented.
  2720. * DataBinder.cs: Marked constructor as obsolete in 2.0.
  2721. In GetDataItem, check for the IDataItemContainer interface
  2722. in the container.
  2723. * TemplateControl.cs: Improved check for data item.
  2724. 2005-04-21 Gonzalo Paniagua Javier <[email protected]>
  2725. * TemplateParser.cs: we still need LoadWithPartialName if Load fails.
  2726. * Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
  2727. for second postback.
  2728. 2005-04-20 Rafael Teixeira <[email protected]>
  2729. * TemplateParser.cs: Adding support for Strict/Explicit attributes
  2730. for @Page/@Control directives as documented at
  2731. http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconControlDirective.asp.
  2732. First step don't choke on them. Fixing #74671
  2733. 2005-04-20 Gonzalo Paniagua Javier <[email protected]>
  2734. * TemplateParser.cs: use Load instead of LoadWithPartialName. That was
  2735. there from the time when Load wasn't working properly. First part of the
  2736. fix to 74500.
  2737. 2005-04-15 Lluis Sanchez Gual <[email protected]>
  2738. * ControlBuilder.cs: The BindingContainerType property happens
  2739. to exist in 2.0, so I made it public. Added ParentTemplateBuilder,
  2740. which is used to get the binding container that is managing
  2741. the current two-way binding context.
  2742. * TemplateBuilder.cs: Added some methods and an internal class
  2743. to support two-way bindings.
  2744. * CompiledBindableTemplateBuilder.cs: Implemented.
  2745. * IBindableTemplate.cs: This interface inherits from ITemplate.
  2746. 2005-04-14 Lluis Sanchez Gual <[email protected]>
  2747. * ControlBuilder.cs: Added BindingContainerType property,
  2748. which works like NamingContainerType but takes into account
  2749. template builders with a specific container type (specified
  2750. using the TemplateContainerAttribute.
  2751. * StateManagedCollection.cs: Reimplemented Save/Load view
  2752. state methods. The existing implementation was not correct
  2753. in all cases.
  2754. 2005-04-08 Lluis Sanchez Gual <[email protected]>
  2755. * DataSourceView.cs: Added null check.
  2756. 2005-04-07 Lluis Sanchez Gual <[email protected]>
  2757. * TemplateControl.cs:
  2758. * Page.cs: Moved Eval and XPath from Page
  2759. to TemplateControl.
  2760. * StateManagedCollection.cs: Avoid saving null state.
  2761. 2005-04-01 Lluis Sanchez Gual <[email protected]>
  2762. * DataSourceView.cs: Rethrow exceptions not handled by operation
  2763. callbacks.
  2764. * ITextControl.cs: Removed event.
  2765. * CollectionBuilder.cs: Don't crash when a collection has more
  2766. than one indexer.
  2767. 2005-03-23 Lluis Sanchez Gual <[email protected]>
  2768. * Control.cs: Added a new internal property: HasRenderMethodDelegate.
  2769. * HtmlTextWriterAttribute.cs: Replaced wrong enum value.
  2770. * HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes
  2771. 2005-03-16 Lluis Sanchez Gual <[email protected]>
  2772. * ClientScriptManager.cs: Fix build.
  2773. 2005-03-11 Lluis Sanchez Gual <[email protected]>
  2774. * Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
  2775. since it is deprecated in 2.0.
  2776. * Page.cs: Deprecated GetPostBackClientEvent and similar methods
  2777. in 2.0. Moved callback management methods to ClientScriptManager.
  2778. * ClientScriptManager.cs: Moved here deprecated methods from Page.
  2779. In GetPostBackEventReference (PostBackOptions), don't use the
  2780. WebForm_DoPostback script if the post can be done with a simple
  2781. __doPostBack call.
  2782. * PostBackOptions.cs: Fixed default values for some properties.
  2783. 2005-03-09 Gonzalo Paniagua Javier <[email protected]>
  2784. * Control.cs: in FindControl, throw if there's more than one control
  2785. with the same ID. Fixes bug #73479.
  2786. 2005-03-04 Lluis Sanchez Gual <[email protected]>
  2787. * Page.cs: Load control state before loading view state, and the
  2788. same for saving.
  2789. * DataSourceSelectArguments.cs: Fix recursive property call.
  2790. 2005-02-25 Lluis Sanchez Gual <[email protected]>
  2791. * DataSourceView.cs: Fixed incorrect implementation of
  2792. RaiseUnsupportedCapabilityError.
  2793. * IDataItemContainer.cs: Added new properties.
  2794. * Page.cs: Implemented Form property.
  2795. * Control.cs: Fixed formatting.
  2796. * StateManagedCollection.cs: Track view state of items loaded
  2797. in LoadViewState.
  2798. 2005-02-22 Lluis Sanchez Gual <[email protected]>
  2799. * FilterableAttribute.cs: Fix endless loop.
  2800. 2005-02-18 Lluis Sanchez Gual <[email protected]>
  2801. * Page.cs: Implemented missing events.
  2802. 2005-02-17 Gonzalo Paniagua Javier <[email protected]>
  2803. * BoundPropertyEntry.cs:
  2804. * PropertyEntry.cs:
  2805. * TwoWayBoundPropertyEntry.cs: implemented.
  2806. 2005-02-10 Lluis Sanchez Gual <[email protected]>
  2807. * Page.cs: Added support for validation groups. Some fixes in
  2808. SavePageControlState().
  2809. * IFilterResolutionService.cs: Removed extra field.
  2810. * INavigateUIData.cs: Added missing field.
  2811. * ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
  2812. Implemented new interfaces.
  2813. 2005-02-04 Lluis Sanchez Gual <[email protected]>
  2814. * Page.cs: Implemented support for cross page postback. Implemented
  2815. support for postback with options. Fixed several method and property
  2816. signatures for 2.0.
  2817. * PostBackOptions.cs: Added some TODOs.
  2818. 2005-02-02 Lluis Sanchez Gual <[email protected]>
  2819. * ParseChildrenAttribute.cs: Set the correct default value for the
  2820. childType property.
  2821. 2005-01-28 Lluis Sanchez Gual <[email protected]>
  2822. * ParseChildrenAttribute.cs: Added 2.0 property.
  2823. * Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
  2824. * Page.cs: Added support for control state.
  2825. * TemplateBuilder.cs: ContainerType should be internal.
  2826. * Control.cs: Added some new 2.0 methods.
  2827. 2005-01-21 Lluis Sanchez Gual <[email protected]>
  2828. * PageParser.cs: Read the MasterPageFile attribute.
  2829. * UserControlParser.cs: Not sealed any more since we need to inherit from
  2830. it. Added new constructor with an additional "type" parameter.
  2831. * MasterPageParser.cs: Parser for master pages.
  2832. * Page.cs: Added support for master pages.
  2833. * MasterPage.cs: Implemented.
  2834. 2005-01-10 Lluis Sanchez Gual <[email protected]>
  2835. * TemplateBuilder.cs: Added a special constructor that takes an
  2836. attribute provider as parameter. The container type for the template
  2837. may be defined in a TemplateContainerAttribute.
  2838. * ControlBuilder.cs: Create the TemplateBuilder using that special
  2839. constructor.
  2840. * TemplateContainerAttribute.cs: Added 2.0 property and ctor.
  2841. 2004-12-20 Lluis Sanchez Gual <[email protected]>
  2842. * IStyleSheet.cs: Added missing "using".
  2843. * Page.cs: Implemented Header property.
  2844. * CssStyleCollection.cs: Made BagToString method internal.
  2845. * RootBuilder.cs: Register HtmlHead control.
  2846. 2004-12-17 Lluis Sanchez Gual <[email protected]>
  2847. * CssStyleCollection.cs: Minor (!) fix.
  2848. * HtmlTextWriter.cs: Register names for new 2.0 styles.
  2849. 2004-12-17 Lluis Sanchez Gual <[email protected]>
  2850. * CssStyleCollection.cs: Make it work as a standalone collection.
  2851. * HtmlTextWriter.cs: Added static method for getting style names.
  2852. 2004-12-14 Gonzalo Paniagua Javier <[email protected]>
  2853. * ControlCollection.cs: fix off-by-one and store a null at the end to
  2854. remove the reference to the removed control.
  2855. 2004-12-10 Lluis Sanchez Gual <[email protected]>
  2856. * ClientScriptManager.cs: Added GetScriptLiteral helper method.
  2857. 2004-12-02 Lluis Sanchez Gual <[email protected]>
  2858. * Page.cs: Added support for callback events. Moved theform variable
  2859. outside the __doPostBack function, so it can be used by other
  2860. scripts.
  2861. * StateBag.cs: Implemented SetDirty().
  2862. 2004-11-30 Gonzalo Paniagua Javier <[email protected]>
  2863. * Control.cs: when saving "Visible" into the ViewState, save the value
  2864. for this precise control, as using the Visible property might give us
  2865. Control's parent visibility. Fixes bug #69200.
  2866. 2004-11-30 Gonzalo Paniagua Javier <[email protected]>
  2867. * Control.cs: fixed ResolveUrl for relative URLs when using cookie-less
  2868. sessions.
  2869. * System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
  2870. the appRoot + SessionID + vpath format.
  2871. Fixes the 3 issues reported in bug #66623.
  2872. 2004-11-26 Lluis Sanchez Gual <[email protected]>
  2873. * Page.cs: Moved code for managing client scripts to ClientScriptManager,
  2874. which is public in 2.0 and internal in 1.1.
  2875. * ClientScriptManager.cs: Implemented.
  2876. 2004-11-25 Sanjay Gupta <[email protected]>
  2877. * DataSourceView.cs: Removed extra method.
  2878. 2004-11-24 Sanjay Gupta <[email protected]>
  2879. * DataSourveViewSelectCallback.cs: Corrected method signature.
  2880. 2004-11-23 Lluis Sanchez Gual <[email protected]>
  2881. * ControlBuilder.cs: Always check for the ParseChildrenAttribute,
  2882. even if the class doesn't implement IParserAccessor.
  2883. * WebResourceAttribute.cs: Allow multiple attributes of this type.
  2884. 2004-11-15 Lluis Sanchez Gual <[email protected]>
  2885. * DataSourceView.cs: Moved here implementation of DataSourceViewChanged
  2886. from SqlDataSourceView.cs.
  2887. 2004-11-09 Gonzalo Paniagua Javier <[email protected]>
  2888. * Control.cs: unified a few bool fields into an int one.
  2889. * ControlCollection.cs: use an array internally instead of always
  2890. allocating an arraylist. Also added our own enumerator.
  2891. * EmptyControlCollection.cs: there's no 'special' ctor now in the base
  2892. class.
  2893. 2004-11-05 Sanjay Gupta <[email protected]>
  2894. * DataSourceView.cs: Changes in access modifiers of methods.
  2895. 2004-10-20 Sanjay Gupta <[email protected]>
  2896. * DataSourceCapabilities.cs: Added Flags attribute.
  2897. * DataSourceSelectArguments.cs: Updated.
  2898. * DataSourveView.cs: Updated.
  2899. 2004-10-19 Sanjay Gupta <[email protected]>
  2900. * HierarchicalDataSourceView.cs: Corrected class definition and updated.
  2901. 2004-10-18 Gonzalo Paniagua Javier <[email protected]>
  2902. * HierarchicalDataSourceView.cs: fix typo.
  2903. 2004-10-18 Sanjay Gupta <[email protected]>
  2904. * HierarchicalDataSourceView.cs: Updated.
  2905. 2004-10-18 Sanjay Gupta <[email protected]>
  2906. * DataSourceSelectArguments.cs: Initial implementation.
  2907. 2004-10-12 Sanjay Gupta <[email protected]>
  2908. * UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
  2909. 2004-10-12 Sanjay Gupta <[email protected]>
  2910. * UrlTypes.cs: Updated.
  2911. 2004-10-12 Sanjay Gupta <[email protected]>
  2912. * UrlPropertyAttribute.cs: Added new file.
  2913. 2004-10-01 Gonzalo Paniagua Javier <[email protected]>
  2914. * Control.cs: even if the control has no children the naming container
  2915. may contain the control we're looking for. Fixes bug #67304.
  2916. 2004-09-30 Gonzalo Paniagua Javier <[email protected]>
  2917. * AspGenerator.cs: added OtherTags.
  2918. 2004-09-24 Sanjay Gupta <[email protected]>
  2919. * ControlValuePropertyAttribute.cs: Initial implementation.
  2920. 2004-09-24 Sanjay Gupta <[email protected]>
  2921. * IPaginationContainer.cs: Corrected name of class.
  2922. 2004-09-24 Sanjay Gupta <[email protected]>
  2923. * IDReferencePropertyAttribute.cs: Completed implementation.
  2924. 2004-09-24 Sanjay Gupta <[email protected]>
  2925. * ThemeableAttribute.cs:
  2926. * FilterableAttribute.cs: Code scrubbing and optimization.
  2927. 2004-09-14 Sanjay Gupta <[email protected]>
  2928. * ThemeableAttribute.cs: Completed implementation.
  2929. 2004-09-14 Sanjay Gupta <[email protected]>
  2930. * FilterableAttribute.cs: Completed implementation.
  2931. 2004-09-14 Sanjay Gupta <[email protected]>
  2932. * Control.cs: Added new attributes and a method.
  2933. * FilterableAttribute.cs: New attribute, initial implementation.
  2934. * ThemeableAttribute.cs: New attribute, initial implemenataion.
  2935. 2004-09-09 Gonzalo Paniagua Javier <[email protected]>
  2936. * TemplateParser.cs: ensure bin directory exists before trying to access
  2937. it. Fixes bug #65446 (not closed yet due to dependencies).
  2938. 2004-09-09 Sanjay Gupta <[email protected]>
  2939. * Control.cs: Implemented methods of interface IExpressionAccessor.
  2940. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  2941. * SimpleWebHandlerParser.cs: correctly cache Type instead of the
  2942. assembly for ashx/asmx. Otherwise we need to open the file and check
  2943. for the class name in there. Thanks to Ben for pointing this out.
  2944. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  2945. * TemplateParser.cs: removed creation of StringWriter. It's not used.
  2946. * Control.cs: don't create the EventHandlerList until requested.
  2947. 2004-09-03 Sanjay Gupta <[email protected]>
  2948. * Control.cs: Added new interfaces implemented in .Net 2.0.
  2949. * ExpressionBinding.cs: Added new class.
  2950. * ExpressionBindingCollection.cs: Added new class.
  2951. 2004-09-01 Gonzalo Paniagua Javier <[email protected]>
  2952. * LiteralControl.cs: stylized. This control has EnableViewState disabled
  2953. by default and doesn't get an automatic ID. When text is null -> "".
  2954. 2004-08-31 Sanjay Gupta <[email protected]>
  2955. * ControlSkinProc.cs:
  2956. * DataSourceViewOperationCallback.cs:
  2957. * DataSourceViewSelectCallback.cs:
  2958. * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not
  2959. required in definition as delegates by default are sealed.
  2960. 2004-08-31 Sanjay Gupta <[email protected]>
  2961. * IDReferencePropertyAttribute.cs: Corrected and changed from interface
  2962. to class.
  2963. * IMobileTextWriter.cs: Corrected method signatures.
  2964. 2004-08-09 Sanjay Gupta <[email protected]>
  2965. * ControlSkinProc.cs:
  2966. * DataSourceViewOperationCallback.cs:
  2967. * DataSourceViewSelectCallback.cs:
  2968. * ExtractTemplateValuesMethod.cs: Added new delegates.
  2969. 2004-08-06 Sanjay Gupta <[email protected]>
  2970. * IBindableTemplate.cs:
  2971. * ICallbackEventHandler.cs:
  2972. * IControlBuilderAccessor.cs:
  2973. * IControlDesignerAccessor.cs:
  2974. * IControlTypeFilter.cs:
  2975. * IDataItemContainer.cs:
  2976. * IDataSourceViewSchemaAccessor.cs:
  2977. * IDReferencePropertyAttribute.cs:
  2978. * IExpressionsAccessor.cs:
  2979. * IFilterResolutionService.cs:
  2980. * IItemPaginationInfo.cs:
  2981. * IMobileTextWriter.cs:
  2982. * IPageHeader.cs:
  2983. * IPaginationContainer.cs:
  2984. * IPaginationInfo.cs:
  2985. * IResourceResolutionService.cs:
  2986. * IResourceUrlGenerator.cs:
  2987. * IStateFormatter.cs:
  2988. * IStyleSheet.cs:
  2989. * IThemeResolutionService.cs:
  2990. * IUrlResolutionService.cs:
  2991. * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
  2992. 2004-08-05 Sanjay Gupta <[email protected]>
  2993. * PostBackOptions.cs: Added new file and implemented the class.
  2994. 2004-08-04 Gonzalo Paniagua Javier <[email protected]>
  2995. * HtmlTextWriterTag.cs: readded author name.
  2996. 2004-08-04 Sanjay Gupta <[email protected]>
  2997. * HtmlTextWriterAttribute.cs:
  2998. * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
  2999. * CompilationMode.cs:
  3000. * ConflictOptions.cs:
  3001. * DataSourceCacheExpiry.cs:
  3002. * DataSourceCapabilities.cs:
  3003. * DataSourceOperation.cs:
  3004. * TemplateContentType.cs:
  3005. * TemplateInstance.cs:
  3006. * UrlTypes.cs:
  3007. * VerificationConditionalOperator.cs:
  3008. * VerificationReportLevel.cs:
  3009. * VerificationRule.cs:
  3010. * XhtmlMobileDocType.cs: Added enumerations.
  3011. 2004-07-27 Gonzalo Paniagua Javier <[email protected]>
  3012. * Control.cs: style. Reverted previous patch modification of
  3013. TemplateSourceDirectory (failed when the control is reparented). Use
  3014. HasControls() and Controls all over instead of _controls, as Controls
  3015. property and HasControls() might be overriden.
  3016. 2004-07-27 Alon Gazit <[email protected]>
  3017. * Control.cs: Changed the implementation of TemplateSourceDirectory
  3018. and GetDefaultName(). replaced foreach statements with for statements,
  3019. in order to improve performence.
  3020. 2004-07-27 Alon Gazit <[email protected]>
  3021. * Page.cs: changed the implementation of GetViewStateString().
  3022. if the view state object is null there is no need to perform
  3023. Serialization.
  3024. 2004-07-16 Gonzalo Paniagua Javier <[email protected]>
  3025. * TemplateControl.cs: don't include private methods of base classes when
  3026. auto-attaching events. Fixes bug 61569.
  3027. 2004-07-14 Alon Gazit <[email protected]>
  3028. * HtmlTextWriter.cs: changed the Hashtables to case insensitive.
  3029. 2004-07-08 Pablo Baena <[email protected]>
  3030. * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
  3031. 2004-07-02 Gonzalo Paniagua Javier <[email protected]>
  3032. * Page.cs: added additional checks for saving/displaying trace data.
  3033. * PageParser.cs: removed checks for trace enabled in configuration
  3034. files.
  3035. 2004-06-29 Gonzalo Paniagua Javier <[email protected]>
  3036. * ControlCollection.cs: when clearing the control collection, tell the
  3037. owners about the removal. Fixes bug #60800.
  3038. 2004-06-29 Gonzalo Paniagua Javier <[email protected]>
  3039. * Page.cs: don't nullify _context after processing the request as there
  3040. are events not triggered yet. Fixes bug #60726.
  3041. 2004-06-24 Gonzalo Paniagua Javier <[email protected]>
  3042. * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
  3043. bug #60681.
  3044. 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
  3045. * PageParser.cs:
  3046. * UserControlParser.cs: set the page/user control base type even when no
  3047. default directive provided. Fixes bug #60572.
  3048. 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
  3049. * PageParser.cs: use default trace settings from web.config and check
  3050. if trace is only requested for local connections. Fixes bug #60180.
  3051. 2004-06-16 Gonzalo Paniagua Javier <[email protected]>
  3052. * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When
  3053. we read the default directive, check the cache for the Type and if
  3054. present, don't keep reading and store the type found.
  3055. * WebHandlerParser.cs:
  3056. * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
  3057. compiling.
  3058. 2004-06-14 Gonzalo Paniagua Javier <[email protected]>
  3059. * Control.cs: properly fixed bug #59794.
  3060. 2004-06-10 Gonzalo Paniagua Javier <[email protected]>
  3061. * Control.cs:
  3062. (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
  3063. #59794.
  3064. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  3065. * SimpleWebHandlerParser.cs:
  3066. * TemplateParser.cs: pass the language when compiling from a file.
  3067. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  3068. * SimpleWebHandlerParser.cs: if we have a global.asax, move its
  3069. reference to the end to help mcs loading the assemblies. Fixes bug
  3070. #58768.
  3071. * TemplateParser.cs: same as above. Removed some kludges to workaround
  3072. loading assemblies from bin path that are now in the runtime. Don't
  3073. load the assemblies in bin if not needed, but still reference them
  3074. when compiling.
  3075. 2004-06-07 Alon Gazit <[email protected]>
  3076. * Page.cs: Changed Page.ProcessPostData().
  3077. After the change ,the state of controls that aren't visible is saved
  3078. during a postback.
  3079. 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
  3080. * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
  3081. 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
  3082. * Page.cs: IsPostBack also returns true when method is GET and we have
  3083. viewstate information in the query string. Fixes bug #58151.
  3084. 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
  3085. * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
  3086. HttpRutime.TraceManager.
  3087. * PageParser.cs: for 'trace' we have 2 variables now. Added support
  3088. for 'buffer' attribute.
  3089. 2004-06-04 Gonzalo Paniagua Javier <[email protected]>
  3090. * Page.cs: implemented ClientTarget.
  3091. * PageParser.cs: support for clientTarget and check for validity.
  3092. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  3093. * Control.cs:
  3094. * Html32TextWriter.cs:
  3095. * HtmlTextWriter.cs:
  3096. * SimpleWebHandlerParser.cs:
  3097. * TemplateControl.cs: Added protected missing members and attributes.
  3098. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  3099. * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
  3100. calling a protected method of another object.
  3101. 2004-06-03 Atsushi Enomoto <[email protected]>
  3102. * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
  3103. (of other objects) are called in TypeConverterFormatter.
  3104. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  3105. * ObjectStateFormatter.cs: before choosing the binary formatter, check
  3106. if the object type has a TypeConverter that can convert to/from string.
  3107. Fixes bug #59495.
  3108. * Page.cs: call GetViewStateString from outside the WriteLine. This
  3109. allows writing to the Response when getting the string without breaking
  3110. the HTML generated.
  3111. 2004-06-02 Gonzalo Paniagua Javier <[email protected]>
  3112. * HtmlTextWriter.cs: render end tag for unknown tags.
  3113. Patch frmo Markus Krutner. Fixes bug #59466.
  3114. 2004-05-24 Gonzalo Paniagua Javier <[email protected]>
  3115. * Page.cs: call DeterminePostBackMode only once per request. Patch by
  3116. Evain Jb.
  3117. 2004-05-12 Gonzalo Paniagua Javier <[email protected]>
  3118. * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
  3119. [meddochat].
  3120. * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
  3121. that.
  3122. 2004-05-04 Gonzalo Paniagua Javier <[email protected]>
  3123. * SimpleWebHandlerParser.cs:
  3124. * TemplateParser.cs: for the assembly names given in the 'assembly'
  3125. attribute, use LoadWithPartialName instead of Load.
  3126. 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
  3127. * Page.cs: return HttpContext.Current if _context has not yet been
  3128. assigned to. Fixes bug #55245.
  3129. 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
  3130. * TemplateParser.cs: don't add import statement or assemblies from
  3131. global.asax to every file. Fixes bug #55496.
  3132. 2004-03-09 Juraj Skripsky <[email protected]>
  3133. * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
  3134. handle single quotes and a few corner cases correctly (see test cases).
  3135. 2004-03-04 Gonzalo Paniagua Javier <[email protected]>
  3136. * TemplateControl.cs: fixed typos and added new method names to the set
  3137. of page events.
  3138. 2004-02-23 Gonzalo Paniagua Javier <[email protected]>
  3139. * ControlBuilder.cs: added SetTagName().
  3140. * ObjectTagBuilder.cs: use SetTagName so that we can properly close
  3141. <object> builders if the closing tag is provided.
  3142. 2004-02-16 Jackson Harper <[email protected]>
  3143. * Page.cs: Set cacheability for Location.DownStream.
  3144. 2004-02-10 Jackson Harper <[email protected]>
  3145. * TemplateParser.cs: Use full path if the assembly is in the
  3146. private bin directory. Patch by Gonzalo Paniagua Javier.
  3147. 2004-02-09 Jackson Harper <[email protected]>
  3148. * Page.cs: Set cacheability for server side caching.
  3149. 2004-01-30 Jackson Harper <[email protected]>
  3150. * Control.cs: Ensure that dynamically loaded controls are
  3151. initialized.
  3152. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  3153. * ApplicationFileParser.cs: check for error in directives. Use
  3154. GlobalAsaxCompiler.CompileApplicationType for compiling.
  3155. * ObjectTagBuilder.cs: load the Type and check for errors.
  3156. * TemplateParser.cs: add assemblies and imports from global.asax.
  3157. Now we properly create accessors for session and application objects in
  3158. the application itself, pages and controls. First step for fixing
  3159. bug #53387.
  3160. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  3161. * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
  3162. to Eric Lindvall for pointing this out.
  3163. 2004-01-15 Jackson Harper <[email protected]>
  3164. * TemplateParser.cs: Detect if we are parsing a control or page
  3165. properly.
  3166. * Page.cs: vary by params and vary by headers can be null now.
  3167. 2004-01-15 Martin Willemoes Hansen <[email protected]>
  3168. * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
  3169. indention.
  3170. 2004-01-14 Jackson Harper <[email protected]>
  3171. * Page.cs: If we have a postback that wasn't sent through a
  3172. postback script (ie user hit submit on a input type=submit) call
  3173. Validate so page validation occurs. This fixes bug #52770.
  3174. 2004-01-14 Jackson Harper <[email protected]>
  3175. * Page.cs: Don't tell the response to cache anymore. This is done
  3176. when the cacheability is modified by a callback. Set the cache's
  3177. duration.
  3178. 2004-01-14 Jackson Harper <[email protected]>
  3179. * TemplateParser.cs: If varybyparam is set to "none" make it null
  3180. so we dont get a param named null in the outputcache key.
  3181. 2004-01-14 Jackson Harper <[email protected]>
  3182. * BasePartialCachingControl.cs: Use varyby attributes in key
  3183. generation.
  3184. 2004-01-14 Jackson Harper <[email protected]>
  3185. * TemplateParser.cs: Add all the outputcache attribute error
  3186. messages.
  3187. 2004-01-13 Jackson Harper <[email protected]>
  3188. * TemplateParser.cs: Add VaryByControls and Shared output cache
  3189. properties. These are not assigned yet.
  3190. * TemplateControlParser.cs: Do not ignore the OutputCache
  3191. attribute.
  3192. * BasePartialCachingControl.cs: Initial implementation. Keys are
  3193. still not created properly.
  3194. * StaticPartialCachingControl.cs: Assign properties in base class,
  3195. implement CreateControl.
  3196. 2004-01-12 Gonzalo Paniagua Javier <[email protected]>
  3197. * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
  3198. * PageParser.cs: support validateRequest.
  3199. * TemplateControlParser.cs: get default values from system.web/pages
  3200. section.
  3201. * TemplateParser.cs: added separate method for changing base type
  3202. (Inherits or system.web/pages).
  3203. * UserControlParser.cs: support system.web/pages defined base type.
  3204. 2004-01-11 Andreas Nahr <[email protected]>
  3205. * UserControl.cs: Added missing attribute, implemented method
  3206. * Page.cs: Added missing attribute, implemented method
  3207. 2004-01-10 Jackson Harper <[email protected]>
  3208. * Page.cs: Handle trace being enabled in the config file.
  3209. 2004-01-10 Jackson Harper <[email protected]>
  3210. * Page.cs: Save trace data before rendering it.
  3211. * System.Web.dll.sources: Add TraceData.cs
  3212. 2004-01-03 Gonzalo Paniagua Javier <[email protected]>
  3213. * Page.cs: removed a couple of MonoTODO on methods we're not gonna
  3214. implement. Applied patch from Jan Jaros ([email protected]) to
  3215. ensure that Unload event is raised. Fixes bug #52555.
  3216. 2004-01-02 Zoltan Varga <[email protected]>
  3217. * KeyedList.cs: 'private' is not allowed on explicit interface
  3218. implementations. Fixes 1.2 build.
  3219. 2003-12-31 Jackson Harper <[email protected]>
  3220. * TemplateControlParser.cs: When registering tag prefixs make sure
  3221. the file exists and throw the correct error if it does not.
  3222. 2003-12-25 Jackson Harper <[email protected]>
  3223. * Page.cs: Throw error if the session is accessed when sessions
  3224. are disabled.
  3225. 2003-12-18 Jackson Harper <[email protected]>
  3226. * Page.cs: Write Trace info.
  3227. 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
  3228. * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
  3229. * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
  3230. internal.
  3231. * PageParser.cs: the ctor is public.
  3232. * PartialCachingAttribute.cs: added new ctor and Shared property.
  3233. 2003-12-17 Gonzalo Paniagua Javier <[email protected]>
  3234. * Page.cs: assign the ErrorPage to the context if we get an exception
  3235. when processing the page which only calls Unload.
  3236. * PageParser.cs: handle ErrorPage.
  3237. 2003-12-16 Gonzalo Paniagua Javier <[email protected]>
  3238. * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
  3239. are not [Serializable]. Fixes bug #52244.
  3240. 2003-12-16 Jackson Harper <[email protected]>
  3241. * Page.cs: Render trace data when tracing is enabled.
  3242. 2003-12-15 Jackson Harper <[email protected]>
  3243. * PageParser.cs: Add Trace and Trace mode attributes.
  3244. 2003-12-15 Jackson Harper <[email protected]>
  3245. * Page.cs: Use the context trace object.
  3246. 2003-12-14 Alon Gazit <[email protected]>
  3247. * AttributeCollection.cs: Changed AttributeCollection.Render().
  3248. After the change attributes ,that their value is null, aren't
  3249. rendered.
  3250. 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
  3251. * Control.cs: remove a few dangling ^M, don't set values for fields
  3252. that has the default value. If Visible is modified and we're tracking
  3253. viewstate, save and restore it. Fixes bug #48689.
  3254. 2003-12-11 Jackson Harper <[email protected]>
  3255. * Control.cs: Give null for the ID if it hasn't been explicitly
  3256. set. This fixes bug #51520.
  3257. 2003-12-08 Jackson Harper <[email protected]>
  3258. * PageParser.cs: Ignore the SmartNavigation attribute for now.
  3259. 2003-12-05 Jackson Harper <[email protected]>
  3260. * DataBinder.cs (GetIndexedPropertyValue): Check if container is
  3261. an IList and use a cast instead of reflection to retrieve the item
  3262. if it is. Fixes bug #51759.
  3263. 2003-12-04 Alon Gazit <[email protected]>
  3264. * Page.cs: Changed Page.ID so it will call Control.ID.
  3265. Fixed Bug 51682.
  3266. 2003-12-02 Jackson Harper <[email protected]>
  3267. * Page.cs: Implemented registered array declarations. Patch by
  3268. Benjamin Jemlich <[email protected]>
  3269. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  3270. * TemplateParser.cs: basic check for 'classname' attribute and added
  3271. patch by [email protected] for bug #51568, which fixes automatic class
  3272. names for pages starting with a number.
  3273. 2003-11-30 Ben Maurer <[email protected]>
  3274. * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
  3275. reduction.
  3276. * ObjectStateFormatter.cs: Comment out tracing.
  3277. 2003-11-30 Gonzalo Paniagua Javier <[email protected]>
  3278. * Page.cs: fixed UICulture, LCID and Culture. Set the thread
  3279. [UI]Culture before processing the request.
  3280. * PageParser.cs: read Culture, UICulture and LCID attributes. Added
  3281. properties for these. Partially contributed by Mohammad Damt.
  3282. Fixes bug #51511.
  3283. 2003-11-27 Jackson Harper <[email protected]>
  3284. * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
  3285. 51434.
  3286. 2003-11-22 Ben Maurer <[email protected]>
  3287. * ObjectStateFormatter.cs: Fix bug when reading small ints.
  3288. Add some tracing so we can see what is going on.
  3289. 2003-11-21 Jackson Harper <[email protected]>
  3290. * Page.cs: Set vary by params when cache location is Server.
  3291. 2003-11-21 Ben Maurer <[email protected]>
  3292. * ObjectStateFormatter.cs: v2 file. In v1.x this will be
  3293. internal as LosFormatter will eventually use it to save
  3294. the view state.
  3295. 2003-11-21 Gonzalo Paniagua Javier <[email protected]>
  3296. * PersistChildrenAttribute.cs:
  3297. * PersistenceModeAttribute.cs: implemented.
  3298. * TODO: Removed file.
  3299. * OutputCacheLocation.cs:
  3300. * TemplateControlParser.cs:
  3301. * HtmlInputFile.cs: class status based fixes.
  3302. 2003-11-19 Jackson Harper <[email protected]>
  3303. * Page.cs: Always set the cache expire time. Tell the response to
  3304. cache itself for server side cached pages.
  3305. 2003-11-19 Jackson Harper <[email protected]>
  3306. * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
  3307. thing, some corner cases still need work though. Was this the
  3308. shortest lived method in the history of mono?
  3309. 2003-11-19 Jackson Harper <[email protected]>
  3310. * Control.cs: New method for resolving urls that use ~/ to denote
  3311. the applications base directory.
  3312. 2003-11-19 Jackson Harper <[email protected]>
  3313. * TemplateParser.cs: Fix typo in error message.
  3314. 2003-11-19 Gonzalo Paniagua Javier <[email protected]>
  3315. * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
  3316. to Sanjay Gupta.
  3317. 2003-11-19 Todd Berman <[email protected]>
  3318. * KeyedList.cs:
  3319. * KeyedListEnumerator.cs: New v2 implementations.
  3320. 2003-11-17 Ben Maurer <[email protected]>
  3321. * StateManagedCollection.cs: Implement.
  3322. 2003-11-13 Jackson Harper <[email protected]>
  3323. * Page.cs: Initial implementation of InitOutputCache.
  3324. * TemplateParser.cs: Page OutputCache options
  3325. 2003-11-09 Ben Maurer <[email protected]>
  3326. * HierarchicalDataSourceControl.cs: Implement.
  3327. 2003-11-09 Ben Maurer <[email protected]>
  3328. * XPathBinder.cs: Implemented.
  3329. 2003-11-08 Ben Maurer <[email protected]>
  3330. * DataSourceView.cs:
  3331. * IDataSource.cs:
  3332. * ListSourceHelper.cs:
  3333. * DataSourceControl.cs:
  3334. * HierarchicalDataSourceView.cs:
  3335. * IHierarchicalDataSource.cs: Move v2 stuff.
  3336. 2003-11-07 Jackson Harper <[email protected]>
  3337. * Control.cs (ResolveUrl): Special case for urls that consist of
  3338. only a page anchor. ie <a href="#top">. This fixes bug #50165.
  3339. 2003-11-07 Ben Maurer <[email protected]>
  3340. * IHierarchicalEnumerable.cs:
  3341. * IHierarchyData.cs:
  3342. * INavigateUIData.cs: New v2 interfaces.
  3343. 2003-11-06 Gonzalo Paniagua Javier <[email protected]>
  3344. * Page.cs: patch by Alon Gazit <[email protected]> to remove extra
  3345. space in generated javascript.
  3346. 2003-11-05 Gonzalo Paniagua Javier <[email protected]>
  3347. * LosFormatter.cs: encoding updates.
  3348. * Page.cs: implemented CodePage and ContentType.
  3349. * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
  3350. attributes.
  3351. 2003-11-04 Ben Maurer <[email protected]>
  3352. * Control.cs (GetWebResourceUrl): new v2 function
  3353. * Page.cs (GetWebResourceUrl): ditto.
  3354. make the JS we generate work with moz if the form is not a child
  3355. of document.
  3356. * WebResourceAttribute.cs: Added, new v2 attribute.
  3357. 2003-10-22 Gonzalo Paniagua Javier <[email protected]>
  3358. * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
  3359. * PageParser.cs: initialize the parser in the constructor, not just
  3360. before compiling and reference the application assembly.
  3361. * SimpleWebHandlerParser.cs: reference the assembly that contains the
  3362. application Type.
  3363. * TemplateControl.cs:
  3364. * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
  3365. path and physical path when compiling a user control.
  3366. * TemplateParser.cs: new AddApplicationAssembly ().
  3367. * UserControlParser.cs: now we get valid values in the ctor.
  3368. Referencing the application assembly fixes bug #49652.
  3369. 2003-10-18 Gonzalo Paniagua Javier <[email protected]>
  3370. * TemplateControl.cs: moved NoParamsInvoker class to its own file.
  3371. 2003-10-14 Gonzalo Paniagua Javier <[email protected]>
  3372. * BaseParser.cs: added CompilationConfig property.
  3373. * TemplateParser.cs:
  3374. * SimpleWebHandlerParser.cs: added CompilationConfig property.
  3375. Don't hardcode assembly names any more, assemblies in bin are added
  3376. depending on the configuration. The default language is also taken
  3377. from the configuration.
  3378. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  3379. * LosFormatter.cs: fixed bug #49604. Patch by [email protected].
  3380. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  3381. * Control.cs: removed some debug lines.
  3382. * Page.cs: implemented RegisterOnSubmitStatement
  3383. * TemplateControl.cs: fixed wire up for methods with no parameters.
  3384. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  3385. * PageParser.cs: ignore ValidateRequest by now.
  3386. 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
  3387. * System.Web.UI/TemplateControl.cs: support for wiring up events without
  3388. parameters.
  3389. 2003-10-08 Pedro Martnez Juli <[email protected]>
  3390. * PageParser.cs: drop some useless code.
  3391. 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
  3392. * Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
  3393. 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
  3394. * System.Web.UI/PageParser.cs:
  3395. * System.Web.UI/TemplateControlParser.cs: honour the input file given
  3396. as argument.
  3397. 2003-09-29 Gonzalo Paniagua Javier <[email protected]>
  3398. * Control.cs:
  3399. (ClearChildViewState): doh! Don't clear control viewstate but the
  3400. viewstate of possible children.
  3401. (LoadViewStateRecursive): load viewstate even when control is not
  3402. visible.
  3403. Fixes bug #49024.
  3404. The rest are just dangling ^M removed.
  3405. * DataBoundLiteralControl.cs:
  3406. (LoadViewState): we get an object [], not a string [].
  3407. 2003-09-28 Gonzalo Paniagua Javier <[email protected]>
  3408. * Control.cs: implemented ClearChildViewState ().
  3409. 2003-09-22 Gonzalo Paniagua Javier <[email protected]>
  3410. * Page.cs: store unique IDs for controls requiring postback. Fixes bug
  3411. #47985.
  3412. 2003-09-21 Gonzalo Paniagua Javier <[email protected]>
  3413. * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
  3414. dependencies so that it's recompiled when changed.
  3415. 2003-09-18 Gonzalo Paniagua Javier <[email protected]>
  3416. * LosFormatter.cs: fixed Deserialize for empty viewstate.
  3417. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  3418. * Page.cs: check if controls that require postback have
  3419. been changed by an event and register them to be notified of data
  3420. changed event.
  3421. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  3422. * Control.cs: patch by [email protected] (Yaron Shkop) that fixes
  3423. bug #47866.
  3424. 2003-08-21 Gonzalo Paniagua Javier <[email protected]>
  3425. * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
  3426. are not serializable. Fixes bug #47784.
  3427. 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
  3428. * Control.cs: index the viewstates saved by the control position, not
  3429. the control name. Fixes bug #47697.
  3430. 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
  3431. * ControlCollection.cs:
  3432. * EmptyControlCollection.cs: create a minimum ArrayList for this.
  3433. * BaseParser.cs: added setter for BaseVirtualDir.
  3434. * Page.cs: fixed message when restoring view state fails.
  3435. * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
  3436. when a relative path to the control is given. Fixes bug #47685.
  3437. 2003-08-18 Gonzalo Paniagua Javier <[email protected]>
  3438. * Control.cs: when we load the viewstate for a control that has children
  3439. viewstates and the child is not found, keep its viewstate around and
  3440. wait until the child is added to load the viewstate. Fixes bug #47697.
  3441. 2003-08-11 Gonzalo Paniagua Javier <[email protected]>
  3442. * TemplateControl.cs: more Delegate.CreateDelegate fixes.
  3443. 2003-08-01 Andreas Nahr <[email protected]>
  3444. * PartialCachingControl.cs: is not abstract
  3445. 2003-08-01 Gonzalo Paniagua Javier <[email protected]>
  3446. * SimpleHandlerFactory.cs: implemented GetHandler.
  3447. * WebHandlerParser.cs: new file that parses .ashx files.
  3448. 2003-07-30 Andreas Nahr <[email protected]>
  3449. * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
  3450. 2003-07-30 Andreas Nahr <[email protected]>
  3451. * UserControl.cs: Added attribute
  3452. * BasePartialCachingControl.cs: New class and paritally implemented
  3453. * DesignerDataBoundLiteralControl.cs: New class and implemented
  3454. * DesignTimeTemplateParser.cs:
  3455. * PartialCachingControl.cs:
  3456. * StaticPartialCachingControl.cs: New class and paritally implemented
  3457. 2003-07-27 Andreas Nahr <[email protected]>
  3458. * ApplicationFileParser.cs: Fixed signature
  3459. * DesignTimeParseData.cs: Added missing properties, implemented
  3460. * Page.cs: Added attributes
  3461. * PageParser.cs:
  3462. * TemplateControlParser.cs:
  3463. * TemplateParser.cs:
  3464. * UserControlParser.cs: Fixed signature
  3465. 2003-07-17 Andreas Nahr <[email protected]>
  3466. * HtmlControlPersistableAttribute.cs: Added
  3467. * IgnoreUnknownContentAttribute.cs: Added
  3468. 2003-07-17 Andreas Nahr <[email protected]>
  3469. * IUserControlDesignerAccessor.cs: Added and implemented
  3470. * Control.cs: Missing member added, added all attributes
  3471. * Page.cs: Added attributes, fixed signature
  3472. * TemplateControl.cs: Fixed signature, added all attributes
  3473. * UserControl.cs: Added all attributes, added and implemented missing interface
  3474. 2003-07-17 Gonzalo Paniagua Javier <[email protected]>
  3475. * ControlCollection.cs: fixed bug #46472.
  3476. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  3477. * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
  3478. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  3479. * SimpleWebHandlerParser.cs: updated to new compilation interface.
  3480. * TemplateParser.cs: use the new parameter when compiling.
  3481. 2003-07-01 Gonzalo Paniagua Javier <[email protected]>
  3482. * Page.cs: also keep the value for the second try on handling postback
  3483. events.
  3484. 2003-05-14 Gonzalo Paniagua Javier <[email protected]>
  3485. * BaseParser.cs: fixed MapPath for non-rooted files.
  3486. * PageParser.cs: don't pass a non-virtual file around.
  3487. * TemplateControlParser.cs: InputFile uses MapPath now. Take care of
  3488. the exception teh may be throw by MapPath on an invalid path.
  3489. * TemplateParser.cs: removed unused method.
  3490. * UserControlParser.cs: modified inputfile. The result is the same, but
  3491. this one is better.
  3492. 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
  3493. * RootBuilder.cs: throw exception when the tagprefix is not valid or
  3494. not found.
  3495. 2003-05-05 Gonzalo Paniagua Javier <[email protected]>
  3496. * TemplateControlParser.cs: return after processing @Register.
  3497. 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
  3498. * TemplateParser.cs: Added support for server side includes.
  3499. 2003-05-03 Gonzalo Paniagua Javier <[email protected]>
  3500. * TemplateControl.cs: fixed the flags used to find the methods that
  3501. are automatically hooked up on events.
  3502. * TemplateParser.cs: don't compile a source file directly. Use the
  3503. cache instead.
  3504. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  3505. * BaseParser.cs: Location property is now here. Added a couple of
  3506. convenience methods to throw a ParseException.
  3507. * TemplateParser.cs:
  3508. * TemplateControlParser.cs:
  3509. * PageParser.cs: throw ParseException where appropiate.
  3510. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  3511. * ApplicationFileParser.cs: use the generator to actually parse the
  3512. file.
  3513. * ControlBuilder.cs: small fix in NamingContainerType because
  3514. TemplateBuilders have a null ControlType. When a control is appended
  3515. to a parent, assign the child's parent.
  3516. * UserControlParser.cs: fixed the value of InputFile.
  3517. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  3518. * ApplicationFileParser.cs: store the Context and override
  3519. BaseVirtualDir so that it's the application path.
  3520. * BaseParser.cs: removed CurrentVirtualPath property.
  3521. * TemplateControlParser.cs: use BaseVirtualDir.
  3522. * UserControlParser.cs: removed CurrentVirtualPath.
  3523. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  3524. * TemplateParser.cs: always reference all the assemblies in bin
  3525. directory.
  3526. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  3527. * ApplicationFileParser.cs: it works now. Prior to these changes, we
  3528. were using the compiler directly.
  3529. * BaseParser.cs: added some useful properties and methods.
  3530. * CodeBuilder.cs: use ILocation.
  3531. * CodeRenderBuilder.cs: use ILocation.
  3532. * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
  3533. * ControlBuilder.cs: made it useful.
  3534. * DataBindingBuilder.cs: the control type for data bound text is
  3535. DataBoundLiteralControl now.
  3536. * ObjectTagBuilder.cs: store some object tag attributes.
  3537. * PageParser.cs: handle page-only directives.
  3538. * RootBuilder.cs: bah.
  3539. * SimpleWebHandlerParser.cs: made it dummy.
  3540. * TemplateControl.cs: Modified file.
  3541. * TemplateControlParser.cs: handle directives that are common to pages
  3542. and user controls.
  3543. * TemplateParser.cs: utility methods and handling of directives that
  3544. are common to app, page and user controls.
  3545. * UserControl.cs: added ControlBuilderAttribute.
  3546. * UserControlControlBuilder.cs: builder for user controls.
  3547. * UserControlParser.cs: use the new interfaces.
  3548. 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
  3549. * ControlBuilder.cs: line and fileName are protected now.
  3550. * CodeBuilder.cs: base class for the next 2 files.
  3551. * CodeRenderBuilder.cs: builder for code render.
  3552. * DataBindingBuilder.cs: builder for data binding.
  3553. 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
  3554. * ITagNameToTypeMapper.cs: made it internal.
  3555. * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
  3556. * ObjectTag.cs:
  3557. * RootBuilder.cs: initial builder.
  3558. 2003-04-15 Gonzalo Paniagua Javier <[email protected]>
  3559. * CollectionBuilder.cs:
  3560. * TemplateBuilder.cs: new classes derived from ControlBuilder that
  3561. represent a property or a ITemplate.
  3562. * ControlBuilder.cs: implemented all the missing bits.
  3563. * TemplateParser.cs: added mapping from tag name to Type feature.
  3564. 2003-02-15 Gonzalo Paniagua Javier <[email protected]>
  3565. * Control.cs: have i definitely fixed naming container stuff this time?
  3566. * LosFormatter.cs: activated binary serialization code.
  3567. 2003-02-14 Gonzalo Paniagua Javier <[email protected]>
  3568. * Control.cs:
  3569. (AddedControl): fixed default id assignation when the sequence of
  3570. AddedControl until it's included in the page or one of its controls
  3571. does not pass through a naming container.
  3572. 2003-02-09 Gonzalo Paniagua Javier <[email protected]>
  3573. * Control.cs: give different default names depending on the place where
  3574. it is assigned. Implemented ResolveURl (no more ~ rendered in
  3575. attributes!).
  3576. 2003-02-08 Gonzalo Paniagua Javier <[email protected]>
  3577. * Control.cs: when adding a control, assign default names to th
  3578. children that don't have one.
  3579. 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
  3580. * SimpleWebHandlerParser.cs: modified to use the new parser interface.
  3581. 2003-01-17 Gonzalo Paniagua Javier <[email protected]>
  3582. * Control.cs: some more tweaks to naming containers stuff.
  3583. * DataBinder.cs: don't throw exception if the container is null.
  3584. * Page.cs: now we can render client scripts, startup scripts and hidden
  3585. fields. Only render __VIEWSTATE if there is someone that will take care
  3586. of it.
  3587. (RaisePostBackEvents): first try the last one that required raise event,
  3588. then try __EVENTTARGET.
  3589. 2003-01-16 Gonzalo Paniagua Javier <[email protected]>
  3590. * Control.cs: fixes in UniqueID, FindControl, AddedControl,
  3591. UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
  3592. FindControl work with NamingContainers.
  3593. * ControlCollection.cs: notify the parent when clearing the collection.
  3594. * LosFormatter.cs: Added debugging output and generate a valid
  3595. viewstate even for unknown types.
  3596. * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
  3597. viewstate.
  3598. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  3599. * Page.cs: make it fire the LoadData related events also for controls
  3600. such as ImageButton, whose variable(s) in the query string are of the
  3601. form ctrl_name.x and only fire them once per control.
  3602. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  3603. * DataBinder.cs:
  3604. (GetPropertyValue): don't try to get the property as indexed
  3605. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  3606. * DataBinder.cs: use TypeDescriptor to get the properties and their
  3607. values.
  3608. 2003-01-04 Gonzalo Paniagua Javier <[email protected]>
  3609. * Control.cs:
  3610. (AddedControl): take the children to the same state of the parent.
  3611. (InitRecursive): set the page of the children.
  3612. * Page.cs: removed one line (it's done a few lines above).
  3613. * UserControl.cs:
  3614. (OnInit): always call InitializeAsUserControl
  3615. (InitializeAsUserControl): sets the page for the control.
  3616. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  3617. * Control.cs: fixed bug #36037.
  3618. 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
  3619. * BaseParser.cs: a couple of path fixes to make it work
  3620. when the page is not in the root directory.
  3621. 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
  3622. * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
  3623. reporting the bug.
  3624. 2002-12-18 Gonzalo Paniagua Javier <[email protected]>
  3625. * BaseParser.cs: use MapPath and context to locate files.
  3626. * Control.cs: implemented MapPathSecure.
  3627. * TemplateControl.cs: use UrlUtils to generate the path.
  3628. * TemplateControlParser.cs: use the context and MapPath.
  3629. * UserControl.cs: implemented MapPath.
  3630. * UserControlParser.cs: added context parameter to constructor.
  3631. 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
  3632. * Control.cs: implemented MapPathSecure.
  3633. * Page.cs: fixed Server property.
  3634. 2002-12-15 Gonzalo Paniagua Javier <[email protected]>
  3635. * DataBinder.cs: try the indexer if the property is not found in
  3636. GetPropertyValue ().
  3637. 2002-12-13 Gonzalo Paniagua Javier <[email protected]>
  3638. * Control.cs: added AutoEventWireup internal property.
  3639. * Page.cs: removed page events wire up from here.
  3640. * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
  3641. and user controls events.
  3642. * TemplateControlParser.cs: process the options that are applicable
  3643. once we have the instance of the control.
  3644. * TemplateParser.cs: also stores the options.
  3645. * UserControl.cs: hook up events before initializing the control.
  3646. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  3647. * Control.cs: new method to set bindingContainer value.
  3648. * TemplateControl.cs: added controls are not binding containers.
  3649. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  3650. * Control.cs: implemented TemplateSourceDirectory.
  3651. * TemplateControl.cs: implemented LoadControl and LoadTemplate.
  3652. 2002-11-27 Gonzalo Paniagua Javier <[email protected]>
  3653. * UserControl.cs: fixed SetAttribute.
  3654. * UserControlParser.cs: set the correct base type.
  3655. 2002-11-26 Gonzalo Paniagua Javier <[email protected]>
  3656. * TemplateParser.cs: fixed BaseType.
  3657. * UserControlParser.cs: helper class to compile user controls.
  3658. 2002-11-20 Gonzalo Paniagua Javier <[email protected]>
  3659. * LosFormatter.cs: added DateTime to special types.
  3660. 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
  3661. * LosFormatter.cs: added array serialization support. Disabled binary
  3662. serialization and add some debugging code.
  3663. * StateBag.cs: the length of the list of value can be less than the
  3664. length if the list of keys when remaining values are null.
  3665. 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
  3666. * Page.cs: return something useful in GetPostBackClientEvent.
  3667. 2002-11-02 Gonzalo Paniagua Javier <[email protected]>
  3668. * Page.cs: implemented FileDependecies and made it protected.
  3669. 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
  3670. * Control.cs: save control names instead of the controls
  3671. themselves to the ViewState.
  3672. * LosFormatter.cs: added support for serializing unknown
  3673. types. BinaryFormatter does not work so you better don't store anything
  3674. of unknown Type in ViewState.
  3675. * Page.cs: GetViewStateString works now using LosFormatter.
  3676. Complete "Control execution lifecycle" by unloading all the child
  3677. controls. Check for null in RaisePostBackEvents.
  3678. LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
  3679. 2002-10-29 Gonzalo Paniagua Javier <[email protected]>
  3680. * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
  3681. 2002-10-27 Gonzalo Paniagua Javier <[email protected]>
  3682. * LosFormatter.cs: Use WebEncoding.Encoding.
  3683. * Control.cs:
  3684. * Page.cs: fixed namespace.
  3685. 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
  3686. * Page.cs: set the context in ProcessRequest. Added a few trace calls.
  3687. * Control.cs: added some trace information.
  3688. 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
  3689. * SimpleHandlerFactory.cs: new handler for .ashx files.
  3690. 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
  3691. * System.Web.UI/PageHandlerFactory.cs: new file.
  3692. * System.Web.UI/PageParser.cs:
  3693. * System.Web.UI/TemplateControlParser.cs: we are now able to compile
  3694. pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
  3695. 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
  3696. * Control.cs: implemented ObBubbleEvent.
  3697. * Page.cs: temporary workaround to make POST work with xsp server.
  3698. 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
  3699. * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
  3700. return pvt methods.
  3701. 2002-09-11 Gonzalo Paniagua Javier <[email protected]>
  3702. * SimpleWebHandlerParser.cs: New file.
  3703. * WebServiceParser.cs: New file.
  3704. 2002-08-22 Gonzalo Paniagua Javier <[email protected]>
  3705. * LosFormatter.cs: almost fully implemented.
  3706. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  3707. * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
  3708. * EmptyControlCollection.cs: throw correct exception.
  3709. * LosFormatter.cs: stubbed out.
  3710. * OutputCacheLocation.cs: little fix.
  3711. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  3712. * System.Web.UI/ApplicationFileParser.cs:
  3713. * System.Web.UI/BaseParser.cs:
  3714. * System.Web.UI/PageParser.cs:
  3715. * System.Web.UI/TemplateControl.cs:
  3716. * System.Web.UI/TemplateControlParser.cs:
  3717. * System.Web.UI/TemplateParser.cs: first steps to move xsp into
  3718. System.Web.
  3719. 2002-07-30 Gonzalo Paniagua Javier <[email protected]>
  3720. * Page.cs: request to render postback script can be after form started
  3721. rendering.
  3722. 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
  3723. * Page.cs: added more page events to invoke automagically if some
  3724. methods are defined.
  3725. 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
  3726. * Control.cs:
  3727. (SaveViewState): save state even when control is not visible.
  3728. (SaveViewStateRecursive):
  3729. (LoadViewStateRecursive): made internal.
  3730. 2002-07-21 Gonzalo Paniagua Javier <[email protected]>
  3731. * Page.cs: improved event raising to allow client postback for a wider
  3732. variety of actions (clicking an hyperlink, ...).
  3733. 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
  3734. * UserControl.cs: implemented Load/SaveViewState.
  3735. 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
  3736. * AttributeCollection.cs:
  3737. (Add): handle 'style' through styleCollection.
  3738. * CssStyleCollection.cs:
  3739. (fillStyle): renamed to FillStyle and made it internal.
  3740. * Page.cs:
  3741. (GetViewStateString): fixed, broken after other recent changes.
  3742. (ProcessPostData): allow a second try for postback data after OnLoad.
  3743. (ProcessRequest): clear controls collection, removed call to
  3744. UnloadRecursive.
  3745. 2002-07-19 Gonzalo Paniagua Javier <[email protected]>
  3746. * Control.cs: uncommented Dispose.
  3747. * Page.cs:
  3748. (DeterminePostBackMode): more checkings.
  3749. (GetPostBackClientHyperLink): implemented.
  3750. (GetPostBackEventReference): added some comments with the HTML that MS
  3751. generates for that.
  3752. (ProcessRequest): fixed processing order. The page is unloaded after
  3753. a request and regenerated from view state on subsequents posts.
  3754. 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
  3755. * Control.cs: fixed related to ViewState. Added RemovedControl.
  3756. * ControlCollection.cs: notify owner of control removal.
  3757. * CssStyleCollection.cs: almost rewritten to make it render the style
  3758. attribute after changes to it.
  3759. * Page.cs: follow the guidelines in 'Control execution lifecycle'.
  3760. Removed Xml code.
  3761. * StateBag.cs: don't use IDictionary.GetEnumerator on the
  3762. HybridDictionary: it makes the program give an InvalidCastException at
  3763. runtime. Why?
  3764. 2002-07-16 Gonzalo Paniagua Javier <[email protected]>
  3765. * Page.cs: fire Init and Load events for all children.
  3766. 2002-07-14 Gonzalo Paniagua Javier <[email protected]>
  3767. * UserControl.cs: New file.
  3768. 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
  3769. * ControlBuilderAttribute.cs: finished implementation.
  3770. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  3771. * ConstructorNeedsTagAttribute.cs: the default constructor sets the
  3772. property to false.
  3773. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  3774. * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
  3775. * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
  3776. Hashtable. Added internal .ctor.
  3777. * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
  3778. Equals and GetHashCode.
  3779. * System.Web.UI/DataBoundLiteralControl.cs:
  3780. (LoadViewState):
  3781. (SaveViewState): implemented.
  3782. * System.Web.UI/Page.cs: FileDependencies is not public.
  3783. * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
  3784. (GetHashCode):
  3785. (Equals):
  3786. (IsDefaultAttribute): implemented.
  3787. 2002-07-08 Gonzalo Paniagua Javier <[email protected]>
  3788. * Control.cs: fixed Visible property.
  3789. * Page.cs: fixed GetViewStateString.
  3790. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  3791. * System.Web.UI/Page.cs:
  3792. (GetViewStateString): new function to give the server access to the
  3793. generated view state string.
  3794. (Validate): d'oh!
  3795. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  3796. * Control.cs:
  3797. (SaveViewstateRecursive): implemented.
  3798. (SaveViewState): fixed.
  3799. (IParserAccessor.AddParsedSubObject): don't use 'this'.
  3800. * Page.cs: added code to save view state to an xml file. It's not
  3801. being used right now.
  3802. 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
  3803. * System.Web.UI/LiteralControl.cs:
  3804. Fixes based on class status page:
  3805. - Add attributes (DefaultEvent, ParseChildren).
  3806. - Fix declarations.
  3807. - Explicitly implement some interfaces (IPostBackDataHandler
  3808. and IPostBackEventHandler).
  3809. - Implemented some missing methods.
  3810. 2002-06-29 Gonzalo Paniagua Javier <[email protected]>
  3811. * Control.cs: reimplemented FindControls.
  3812. * Page.cs:
  3813. (.ctor): set the page for this control.
  3814. (IsPostBack): return valid value.
  3815. (DeterminePostBackMode): finished.
  3816. (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
  3817. (ProcessPostData): implemented. Raises change and postback events.
  3818. (ProcessRequest): changed to support reuse of the instance.
  3819. (RegisterRequiresPostBack): implemented.
  3820. * ValidatorCollection.cs: implemented all methods.
  3821. 2002-06-25 Gonzalo Paniagua Javier <[email protected]>
  3822. * Control.cs:
  3823. * Page.cs: first attemp to save view state.
  3824. * HtmlForm.cs: don't render Action.
  3825. 2002-06-24 Gonzalo Paniagua Javier <[email protected]>
  3826. * Page.cs: implemented more properties using information we already
  3827. have in Context.
  3828. (OnFormRender):
  3829. (OnFormPostRender):
  3830. (VerifyRenderingInServerForm): implemented.
  3831. 2002-06-22 Gonzalo Paniagua Javier <[email protected]>
  3832. * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
  3833. out runtime. Renamed Page_Init and Page_Load.
  3834. After this, we can load a dll and render HTML in linux.
  3835. 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
  3836. * Control.cs:
  3837. (AddedControl): new function that is called whenever a control is
  3838. added to a collection of controls in a container. It sets the defaults
  3839. except for Page.
  3840. * ControlCollection.cs: call AddedControl in Add/AddAt.
  3841. * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
  3842. SetStaticString and SetDataBoundString.
  3843. * Page.cs: removed SetDefaults.
  3844. 2002-06-19 Gonzalo Paniagua Javier <[email protected]>
  3845. * CompiledTemplateBuilder.cs: new file. Used in the code generated
  3846. by xsp.
  3847. * Control.cs:
  3848. (BindingContainer): implemented.
  3849. (EnsureChildControls): avoid stack overflow.
  3850. * DataBinder.cs: implemented Eval and PropertyValue.
  3851. 2002-06-18 Gonzalo Paniagua Javier <[email protected]>
  3852. * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
  3853. bug as in regular attributes).
  3854. 2002-06-17 Gonzalo Paniagua Javier <[email protected]>
  3855. * Control.cs: implemented PreventAutoID.
  3856. * Page.cs:
  3857. (SetDefaults): don't set ID automatically if Control.PreventAutoID has
  3858. been called.
  3859. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  3860. * Page.cs:
  3861. (Validators): if the collection is null, create one.
  3862. (GetPostBackEventReference 2): don't throw exception.
  3863. (GetPostBackClientEvent): return a string with containing the method
  3864. name, the control name and the argument.
  3865. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  3866. * Page.cs: SetPage is now called SetDefaults and also sets a default
  3867. ID for controls that don't have one yet.
  3868. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  3869. * Page.cs:
  3870. (GetPostBackClient):
  3871. (RegisterRequiresPostBack): don't throw NotImplementedException to
  3872. keep going.
  3873. (ProcessRequest): set the current page as the Page property for *all*
  3874. the controls, not just the direct children of the page.
  3875. 2002-06-11 Gonzalo Paniagua Javier <[email protected]>
  3876. * Control.cs:
  3877. (MapPathSecure): until security is implemented, return the same path
  3878. received as argument.
  3879. (RenderControl): call OnPreRender before rendering the control. So
  3880. AdRotator can read its configuration file.Is there any other place
  3881. where this should be done?
  3882. * HtmlTextWriter.cs:
  3883. (AddAttribute): fixed. Now it really stores attributes.
  3884. (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
  3885. 2002-06-09 Gonzalo Paniagua Javier <[email protected]>
  3886. * ControlCollection.cs:
  3887. (AddAt): if index is -1 behave as a plain Add.
  3888. 2002-06-06 Gonzalo Paniagua Javier <[email protected]>
  3889. * Page.cs: for each child control to render, assign Control.Page.
  3890. Probably also needed in HtmlContainerControl derived classes.
  3891. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  3892. * AttributeCollection.cs: don't need a Hastable. StateBag now works
  3893. fine and takes care of the details.
  3894. * Control.cs: added HasChildren property.
  3895. * StateBag.cs: fixed a couple of nasty bugs.
  3896. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  3897. * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
  3898. Invoke Page_Init and/or Page_Load if the user supplied them (though
  3899. this should depend on AutoEventWireUp attribute of Page directive).
  3900. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  3901. * Control.cs: don't throw exception in ControlID. By now, it returns ID.
  3902. * Page.cs:
  3903. (ProcessRequest): implemented.
  3904. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  3905. * System.Web.UI/Page.cs: finished stubbing out. Implemented some
  3906. methods.
  3907. 2002-06-03 Gonzalo Paniagua Javier <[email protected]>
  3908. * Page.cs:
  3909. (FileDependencies): now is public public.
  3910. (EnableViewStateMAC): uncommented and made protected.
  3911. (GetTypeHashCode): added method.
  3912. 2002-05-24 Duncan Mak <[email protected]>
  3913. * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
  3914. * StateBag.cs (Item): Changed the visibility level of the this
  3915. [object] indexer.
  3916. Misc. formatting edits, fixing some bugs introduced by the indentation.
  3917. * DataBinder.cs (Eval)
  3918. (GetIndexedPropertyValue)
  3919. (GetPropertyValue): Fixed return types.
  3920. 2002-05-21 Miguel de Icaza <[email protected]>
  3921. * HtmlTextWriter.cs: Use this to change the member instances.
  3922. 2002-05-17 Duncan Mak <[email protected]>
  3923. * AttributeCollection.cs:
  3924. * ControlCollection.cs:
  3925. * CssStyleCollection.cs:
  3926. * DataBindingCollection.cs:
  3927. * EmptyControlCollection.cs: Added missing Collection classes.
  3928. 2002-05-17 Duncan Mak <[email protected]>
  3929. * BaseParser.cs:
  3930. * TemplateParser.cs: Implemented. BaseParser is weird because
  3931. there is no documentation on what it does.
  3932. * ControlBuilder.cs:
  3933. * DataBinder.cs:
  3934. * DataBinding.cs: Added.
  3935. * DataBoundLiteralControl.cs:
  3936. * Triplet.cs: Added.
  3937. * RenderMethod.cs: Added this delegate for Control.cs
  3938. 2002-05-15 Gonzalo Paniagua Javier <[email protected]>
  3939. * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
  3940. 2002-05-14 Duncan Mak <[email protected]>
  3941. * ValidationPropertyAttribute.cs: Added to CVS.
  3942. 2002-05-10 Duncan Mak <[email protected]>
  3943. * ConstructorNeedsTagAttribute.cs:
  3944. * ControlBuilderAttribute.cs:
  3945. * ImageClickEventArgs.cs:
  3946. * ParseChildrenAttribute.cs:
  3947. * PartialCachingAttribute.cs:
  3948. * PersistChildrenAttribute.cs:
  3949. * PersistenceModeAttribute.cs:
  3950. * TemplateContainerAttribute.cs: Added to CVS.
  3951. * PersistanceMode.cs: Removed, fixed typo.
  3952. * PersistenceMode.cs: Replacing above.
  3953. * StateBag.cs (this): Fixed indexer, it takes a string as the
  3954. index, not an object.
  3955. * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
  3956. * Page.cs (Validators): return type should be ValidatorCollection,
  3957. not ValidatedCollection.
  3958. * TagPrefixAttribute.cs: Added to CVS.
  3959. 2002-05-07 Duncan Mak <[email protected]>
  3960. * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
  3961. 2002-03-26 Gaurav Vaish <[email protected]>
  3962. * DataBindingHandlerAttribute.cs
  3963. - Completed
  3964. * ToolboxDataAttribute.cs - Completed
  3965. 2002-01-03 Nick Drochak <[email protected]>
  3966. * DesignTimeParseData.cs: initialze static member to avoid compile
  3967. error
  3968. * PropertyConverter.cs: remove uneeded exception variables from
  3969. catch blocks.
  3970. 2002-01-02 Nick Drochak <[email protected]>
  3971. * DesignTimeParseData.cs: fix header to show correct class name
  3972. 2001-12-21 Gaurav Vaish <[email protected]>
  3973. * StateBag.cs - Completed
  3974. 2001-12-19 Gaurav Vaish <[email protected]>
  3975. * Pair.cs - Small undocumented class. Completed.
  3976. 2001-12-18 Gaurav Vaish <[email protected]>
  3977. * DesignTimeParseData.cs - Initial implementation
  3978. * StateBag.cs - Initial implementation
  3979. 2001-12-17 Gaurav Vaish <[email protected]>
  3980. * PropertyConverter.cs - Undocumented class. Completed.
  3981. * Utils.cs - Undocumented, private class.
  3982. Initial implementation
  3983. 2001-08-28 Bob Smith <[email protected]>
  3984. * Control.cs: Figured out some undocumented API.
  3985. * Added TODO.
  3986. * BuildMethod.cs: Initial implementation.
  3987. * BuildTemplateMethod.cs: Initial implementation.
  3988. * HtmlTextWriterAttribute.cs: Initial implementation.
  3989. * HtmlTextWriterStyle.cs: Initial implementation.
  3990. * HtmlTextWriterTag.cs: Initial implementation.
  3991. * IAttributeAccessor.cs: Initial implementation.
  3992. * IDataBindingsAccessor.cs: Initial implementation.
  3993. * ImageClickEventHandler.cs: Initial implementation.
  3994. * INamingContainer.cs: Initial implementation.
  3995. * IParserAccessor.cs: Initial implementation.
  3996. * IPostBackDataHandler.cs: Initial implementation.
  3997. * IPostBackEventHandler.cs: Initial implementation.
  3998. * IStateManager.cs: Initial implementation.
  3999. * ITagNameToTypeMapper.cs: Initial implementation.
  4000. * ITemplate.cs: Initial implementation.
  4001. * IValidator.cs: Initial implementation.
  4002. * OutputCacheLocation.cs: Initial implementation.
  4003. * PersistanceMode.cs: Initial implementation.
  4004. * StateItem.cs: Initial implementation.
  4005. 2001-08-27 Bob Smith <[email protected]>
  4006. * Control.cs: Bug fixes and implementations.
  4007. 2001-08-24 Bob Smith <[email protected]>
  4008. * Control.cs: Bug fixes.
  4009. 2001-08-23 Bob Smith <[email protected]>
  4010. * Control.cs: More implementation. Events reworked for performance.
  4011. 2001-08-22 Bob Smith <[email protected]>
  4012. * LiteralControl.cs: Implemented.
  4013. * Control.cs: Even more implementation (Events). What a beast.
  4014. 2001-08-20 Bob Smith <[email protected]>
  4015. * Control.cs: More implementation. Not done yet. Shutter.
  4016. 2001-08-17 Bob Smith <[email protected]>
  4017. * Control.cs: Partial implementation.