ChangeLog 194 KB

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