ChangeLog 196 KB

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