ChangeLog 168 KB

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