ChangeLog 179 KB

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