ChangeLog 166 KB

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