ChangeLog 199 KB

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