ChangeLog 182 KB

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