ChangeLog 197 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972
  1. 2010-02-03 Marek Habersack <[email protected]>
  2. * HttpApplication.cs: GetOutputCacheProviderName returns the value
  3. of OutputCache.DefaultProviderName
  4. * HttpRuntime.cs: internal cache is used to hold the dependencies
  5. now.
  6. 2010-01-20 Marek Habersack <[email protected]>
  7. * HttpContext.cs: implemented the 4.0 SetSessionStateBehavior
  8. method
  9. * HttpCacheVaryByContentEncodings.cs, HttpCacheVaryByHeaders.cs,
  10. HttpCacheVaryByParams.cs : parameterless constructors are public
  11. in 4.0
  12. * HttpApplication.cs: implemented the 4.0
  13. GetOutputCacheProviderName method
  14. 2010-01-19 Marek Habersack <[email protected]>
  15. * StaticSiteMapProvider.cs: AddNode checks the url of node
  16. returned by FindSiteMapNode to see if it indeed was a
  17. duplicate. It is necessary if application derives from
  18. StaticSiteMapProvider and overrides FindSiteMapNode to return
  19. RootNode if rawUrl doesn't match any existing node. Fixes bug
  20. #570194
  21. 2010-01-09 Marek Habersack <[email protected]>
  22. * VirtualPathUtility.cs: small optimizations for GetDirectory
  23. 2009-11-23 Marek Habersack <[email protected]>
  24. * HttpRequest.cs: PathInfo returns an empty string when worker
  25. request is absent or its GetPathInfo method returns a null. Patch
  26. from Tiaan <[email protected]>, thanks!
  27. 2009-11-19 Marek Habersack <[email protected]>
  28. * VirtualPathUtility.cs: made Normalize internal
  29. 2009-11-16 Marek Habersack <[email protected]>
  30. * HttpContext.cs: RewritePath now treats non-rooted and
  31. app-relative paths correctly - the former are formed by
  32. concatenating base virtual path with the passed file path and the
  33. latter by calling VirtualPathUtility.ToAbsolute. Rooted and
  34. absolute paths are left unmodified. Fixes bug #550103
  35. 2009-11-13 Marek Habersack <[email protected]>
  36. * HttpResponse.cs: added parameter checks to Redirect ().
  37. If the passed url starts with http:, https:, file: or ftp: then it
  38. is treated as a fully qualified one and no attempt to rewrite the
  39. url to the fully qualified form (if system.web/httpRuntime
  40. UseFullyQualifiedRedirectUrl is true) is made.
  41. 2009-11-09 Marek Habersack <[email protected]>
  42. * HttpCookie.cs: made HttpCookie.CookieNVC serializable. Patch
  43. from Sean Foy <[email protected]>, thanks! Fixes bug
  44. #553063
  45. * HttpCookieCollection.cs: Add allows for duplicate cookie
  46. names. Fixes bug #553150
  47. 2009-10-30 Marek Habersack <[email protected]>
  48. * HttpRequest.cs: added internal property ClientFilePath, which
  49. may have a different value than FilePath when virtual path has
  50. been rewritten, but the caller specified that the client paths
  51. should still be constructed using the original url.
  52. * HttpContext.cs: RewritePath always sets Request.FilePath,
  53. Request.ClientFilePath is set only when setClientFilePath is
  54. true. This makes client urls work correctly when url rewriting is
  55. being used.
  56. 2009-10-20 Marek Habersack <[email protected]>
  57. * HttpResponse.cs: implemented the WriteSubstitution method,
  58. thus enabling post-cache substitution.
  59. 2009-10-12 Marek Habersack <[email protected]>
  60. * HttpResponse.cs: actually _use_ the url passed to Redirect when
  61. fully qualified redirect url is requested, doh. Fixes bug #542846
  62. 2009-10-07 Gonzalo Paniagua Javier <[email protected]>
  63. * StaticFileHandler.cs: it's the last flush even when a VPP is used.
  64. 2009-10-07 Marek Habersack <[email protected]>
  65. * TraceData.cs: make long execution times stand out.
  66. 2009-09-29 Miguel de Icaza <[email protected]>
  67. * HttpUtility.cs: Do not use CAS Attributes when using MonoTouch.
  68. Remove unnecesasry using clause.
  69. 2009-09-29 Marek Habersack <[email protected]>
  70. * HttpResponse.cs: use full url in redirect if
  71. UseFullyQualifiedRedirectUrl is set to true in httpRuntime
  72. configuration section. Patch from Brett Kiefer
  73. <[email protected]>, thanks! Fixes bug #542846
  74. 2009-09-28 Marek Habersack <[email protected]>
  75. * HttpContext.cs: GetResourceProvider - renamed the 'key' argument
  76. to 'virtualPath' in order to reflects its purpose better. Local
  77. resource providers are created for the passed virtualPath and not
  78. for the current request's path. Fixes bug #542484
  79. 2009-09-25 Marek Habersack <[email protected]>
  80. * StaticSiteMapProvider.cs: MapUrl must normalize paths. Fixes bug
  81. #541969
  82. * XmlSiteMapProvider.cs: siteMapFile parameter must be mapped in
  83. Initialize. Fixes bug #541969
  84. 2009-09-24 Marek Habersack <[email protected]>
  85. * XmlSiteMapProvider.cs: added "securityTrimmingEnabled" to the
  86. list of supported attributes in Initialize. Fixes bug #541607
  87. 2009-09-07 Marek Habersack <[email protected]>
  88. * HttpContext.cs: when creating local resource provider, pass the
  89. current file's virtual path to CreateLocalResourceProvider. Fixes
  90. bug #536757
  91. * XmlSiteMapProvider.cs: do not allow the provider to be
  92. intialized more than once.
  93. Initialize throws if it finds unknown attributes in the
  94. 'attributes' collection.
  95. AddNode checks its arguments and throws if they are null or aren't
  96. from the same provider.
  97. FindStartingNode throws exceptions in several erroneous situations
  98. now.
  99. Added private method GetConfigDocument which performs several
  100. checks on the source .sitemap file and throws exceptions if it
  101. finds any errors.
  102. BuildSiteMap clears provider state before building the map.
  103. BuildSiteMapRecursive correctly deals with custom providers. Fixes
  104. bug #465696
  105. FindSiteMapNode maps url before searching. Fixes bug #465696
  106. * VirtualPathUtility.cs: Combine a bit more efficient
  107. * StaticSiteMapProvider.cs: FindSiteMap node checks if rawUrl is
  108. relative to application root and if yes, makes it absolute.
  109. MapUrl converts both rooted and not rooted urls to absolute.
  110. * SiteMapProvider.cs: check if HttpContext.Request exists before
  111. using it in FindSiteMapnode
  112. * SiteMap.cs: Providers collection must be read-only.
  113. 2009-09-04 Marek Habersack <[email protected]>
  114. * HttpRuntime.cs: retrieve real Mono version from the runtime and
  115. store it in the MonoVersion internal static property.
  116. * HttpException.cs: report real Mono version when backtrace is
  117. displayed.
  118. 2009-08-24 Marek Habersack <[email protected]>
  119. * VirtualPath.cs: Added new constructor which takes virtual and
  120. physical paths as well as a boolean marking the instance as
  121. referring to a fake location. Part of fix for bug #463813
  122. 2009-07-28 Gonzalo Paniagua Javier <[email protected]>
  123. * HttpApplicationFactory.cs: allow subclasses of EventHandler for
  124. event handlers in global.asax.
  125. Fixes bug #525743.
  126. 2009-07-23 Marek Habersack <[email protected]>
  127. * HttpException.cs: if an exception is processed which refers to
  128. internal "files", don't show the internal name.
  129. 2009-07-18 Marek Habersack <[email protected]>
  130. * HttpContext.cs: GetGlobalResourceObject must look for resources
  131. in the 'Resources' "namespace" - it was a regression from the
  132. previous change to that method.
  133. 2009-07-15 Marek Habersack <[email protected]>
  134. * HttpApplicationFactory.cs: added internal methods to
  135. enable/disable specific watchers. Part of fix for bug #522017
  136. 2009-07-14 Gonzalo Paniagua Javier <[email protected]>
  137. * ApplicationShutdownReason.cs: add new 3.5 value.
  138. * ParserErrorCollection.cs: add setter for ParserError.
  139. Patch from Daniel Gagne.
  140. 2009-07-14 Marek Habersack <[email protected]>
  141. * HttpApplicationFactory.cs: OnFileChanged doesn't reload
  142. application if reload suppression is active.
  143. 2009-07-13 Marek Habersack <[email protected]>
  144. * HttpApplication.cs: LoadType - wrap call to LoadTypeFromBin in
  145. try/catch so that we can decide whether or not to throw
  146. exceptions. LoadTypeFromBin - ignore the FileLoadException and
  147. BadImageException exceptions as they don't matter in this
  148. context.
  149. 2009-07-13 Gert Driesen <[email protected]>
  150. * HttpResponseStream.cs: Added argument checks to Write. Modified
  151. methods/properties that requires a readable stream to throw
  152. NotSupportedException instead of InvalidOperationException for
  153. compatibility with MS.
  154. 2009-07-09 Gonzalo Paniagua Javier <[email protected]>
  155. * HttpApplication.cs: use GetSection instead of
  156. OpenWebConfiguration+GetSection.
  157. 2009-07-09 Marek Habersack <[email protected]>
  158. * HttpContext.cs: fall back to default resource provider factory
  159. if the factory provided by user doesn't have the required object
  160. in Get{Global,Local}ResourceObject. Fixes bug #520397
  161. Refactored the GetResourceObject method and the
  162. ResourceManagerCacheKey class to DefaultResourceProvider.
  163. 2009-07-07 Gonzalo Paniagua Javier <[email protected]>
  164. * ParserError.cs: add 3 missing setters. Patch from Daniel Gagne.
  165. 2009-06-15 Marek Habersack <[email protected]>
  166. * HttpCachePolicy.cs: SetHeaders adds max-age when MaxAge is set
  167. to TimeSpan.Zero by calling SetMaxAge. Fixes bug #513000
  168. 2009-06-05 Marek Habersack <[email protected]>
  169. * VirtualPathUtility.cs: IsValidVirtualPath no longer uses
  170. WebConfigurationManager.GetSection to retrieve the verification
  171. setting. Instead, the setting is retrieved in the static
  172. constructor.
  173. * HttpRequest.cs: ApplyUrlMapping must not use
  174. WebConfigurationManager.GetSection as it would cause a recursive
  175. call loop. Code to detect whether url mappings are in effect has
  176. been moved to a static constructor.
  177. 2009-06-04 Marek Habersack <[email protected]>
  178. * HttpResponse.cs: version header configuration is read lazily
  179. now.
  180. * HttpException.cs: do not show version info if custom errors are
  181. in effect. Fixes bug #509092
  182. Don't generate trace for 403. Fixes bug #509092
  183. * HttpApplicationFactory.cs: OnFileChanged ignores the directory
  184. part of the file triggering the event. Fixes bug #509998
  185. 2009-06-03 Marek Habersack <[email protected]>
  186. * VirtualPathUtility.cs: IsValidVirtualPath now checks the value
  187. of the
  188. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\VerificationCompatibility
  189. registry key when running on Windows and also consults the
  190. mono-specific system.web/monoSettings configuration section to see
  191. what is the verificationCompatibility property set to. If either
  192. of the two is set to 1, Mono will not verify the validity of
  193. the current request's path. Fixes bug #509163
  194. * HttpApplicationFactory.cs: OnFileChanged must check whether the
  195. modified location is a directory before it decides to ignore it
  196. when watcher's filter is "?eb.?config". Fixes bug #509450 (see
  197. also bug #495011)
  198. * HttpForbiddenHandler.cs: updated the error message to match
  199. .NET, added requested path and description. Fixes bug #509092
  200. * HttpException.cs: if trace is not requested, don't output <!--
  201. following the version information in WriteFileBottom. Fixes bug
  202. #509475
  203. GetDefaultErrorMessage appends trace only if showTrace is
  204. true. Fixes bug #509092
  205. 2009-06-02 Marek Habersack <[email protected]>
  206. * HttpApplication.cs: LocateHandler needs to pass current request
  207. path and filepath to WebConfigurationManager when retrieving
  208. system.web/httpHandlers section as only this will guarantee that
  209. any <location> elements relating to the current request's which
  210. contain system.web/httpHandlers section will be correctly read and
  211. used. Also fixes reading httpHandlers section if it's found in
  212. web.config located in a subdirectory. Fixes bug #509069
  213. * HttpException.cs: 403 errors get same treatment as 404
  214. below. Fixes bug #509092
  215. 2009-06-01 Marek Habersack <[email protected]>
  216. * HttpException.cs: if custom errors are enabled and the error
  217. code is 404 show the "standard" 404 error message instead of the
  218. default custom error mode one. Fixes bug #508649
  219. 2009-05-28 Marek Habersack <[email protected]>
  220. * HttpUtility.cs: fixed UrlDecode for encoded strings which
  221. should be converted to byte sequences longer than 2 bytes. Fixes
  222. bug #507666
  223. 2009-05-14 Marek Habersack <[email protected]>
  224. * HttpApplication.cs: LocateHandler won't cache if a default
  225. handler was returned.
  226. 2009-05-07 Gonzalo Paniagua Javier <[email protected]>
  227. * MimeTypes.cs: add silverlight related types.
  228. 2009-04-28 Gonzalo Paniagua Javier <[email protected]>
  229. * HttpContext.cs:
  230. * HttpWorkerRequest.cs:
  231. * HttpRuntime.cs: if other parts of the system are using the
  232. threadpool and we queue requests, once the threadpool is free we
  233. might still not get back to use it to the maximum extent possible.
  234. Adding a few more calls to QueuePendingRequest ensures that does not
  235. happen.
  236. 2009-04-24 Marek Habersack <[email protected]>
  237. * HtmlizedException.cs: make HtmlException derive from
  238. HttpException. System.Web.Mvc relies upon compile and parse
  239. exception being descendants of HttpException or otherwise it will
  240. catch and ignore compilation/parsing errors.
  241. 2009-04-16 Marek Habersack <[email protected]>
  242. * HttpContext.cs: local resources code now uses the custom
  243. resource provider factory, just like the global resources
  244. code. Fixes bug #493263
  245. 2009-04-15 Marek Habersack <[email protected]>
  246. * HttpApplicationFactory.cs: if a notification is received from a
  247. FileSystemWatcher which was configured to watch for
  248. subdirectories, uses a filter (currently we have just one such
  249. watcher - waiting for changes to '?eb.?onfig') and the event
  250. doesn't match the filter, ignore the event. Fixes bug #495011
  251. 2009-04-13 Gonzalo Paniagua Javier <[email protected]>
  252. * HttpUtility.cs: the collection returned from ParseQueryString knows
  253. how to convert the key/value pairs to a string.
  254. 2009-04-10 Gonzalo Paniagua Javier <[email protected]>
  255. * HttpResponseStream.cs: use the unsafe version when copying buffers.
  256. 2009-04-06 Marek Habersack <[email protected]>
  257. * HttpRuntime.cs: added a new internal static property
  258. IsDebuggingEnabled
  259. * HttpContext.cs: IsDebuggingEnabled now calls
  260. HttpRuntime.IsDebuggingEnabled
  261. 2009-04-03 Gert Driesen <[email protected]>
  262. * HttpRuntime.cs: Avoid ANE on Windows when HttpRuntime is used
  263. outside of ASP.NET. Fixed compiler warning by setting
  264. assemblyMappingEnabled.
  265. 2009-04-02 Marek Habersack <[email protected]>
  266. * HttpException.cs: if there are more lines with errors, display
  267. them all.
  268. 2009-03-31 Marek Habersack <[email protected]>
  269. * HttpApplicationFactory.cs: use glob patterns to watch for
  270. changes to global.asax and web.config files.
  271. Set up recursive watch on web.config in a separate thread, to
  272. minimize application startup delay. Fixes bug #490497
  273. * VirtualPath.cs: added code to detect whether the VirtualPath
  274. instance represents a fake virtual path (IsFake property).
  275. Added new property DirectoryNoNormalize which returns
  276. non-normalized directory for the VirtualPath instance.
  277. Made ToString () a bit more friendly and well-behaved.
  278. 2009-03-26 Marek Habersack <[email protected]>
  279. * HttpWorkerRequest.cs: use a generic dictionary to keep header
  280. names in 2.0+.
  281. GetKnown{Request,Response}HeaderIndex doesn't use the switch
  282. anymore.
  283. * HttpResponse.cs: WriteHeaders now checks whether a header to be
  284. sent is a known one or not and uses the appropriate method to send
  285. that header. Partial fix for bug #488702
  286. 2009-03-25 Gonzalo Paniagua Javier <[email protected]>
  287. * HttpResponse.cs: ClearHeaders() also resets cacheability.
  288. Bug #485557 fixed.
  289. 2009-03-21 Marek Habersack <[email protected]>
  290. * HttpResponse.cs: added two missing 3.0+ properties -
  291. SubStatusCode and TrySkipIisCustomErrors.
  292. 2009-03-04 Marek Habersack <[email protected]>
  293. * HttpRuntime.cs: do not clean the dynamic base directory in
  294. DoUnload, it can cause race conditions.
  295. 2009-03-03 Marek Habersack <[email protected]>
  296. * HttpResponse.cs: fully implemented the Headers property.
  297. It is also used in the 1.1 profile, but is internal.
  298. * HttpCookie.cs: GetCookieHeader renamed to GetCookieHeaderValue -
  299. now returns a string with the header value.
  300. * HttpCacheVaryByParams.cs: GetResponseHeader renamed to
  301. GetResponseHeaderValue - now returns a string with the header
  302. value.
  303. * HttpCachePolicy.cs: SetHeaders now takes a NameValueCollection
  304. instead of an ArrayList
  305. * HttpRequest.cs: avoid calculating the same value twice in
  306. MakeInputStream
  307. 2009-03-02 Everaldo Canuto <[email protected]>
  308. * HttpResponse.cs: Headers property implementation.
  309. 2009-02-28 Gonzalo Paniagua Javier <[email protected]>
  310. * Web/HttpResponseHeader.cs:
  311. * Web/HttpResponse.cs:
  312. * Web/QueueManager.cs:
  313. * Web/HttpRequest.cs:
  314. * Web/TraceManager.cs:
  315. * Web/HttpServerUtility.cs:
  316. * Web/HttpApplication.cs: use GetWebApplication
  317. instead of GetSection for application level configuration.
  318. 2009-02-26 Marek Habersack <[email protected]>
  319. * HttpResponse.cs: added DisableKernelCache and TransmitFile
  320. methods.
  321. * IisTraceListener.cs: added + implemented
  322. 2009-02-25 Marek Habersack <[email protected]>
  323. * HttpApplication.cs: let the current context known that
  324. MapRequestHandler is done.
  325. * HttpContext.cs: implemented RemapHandler
  326. 2009-02-24 Marek Habersack <[email protected]>
  327. * TempFileStream.cs: the class is internal
  328. * VirtualPathUtility.cs: ToAbsolute (string, string, bool) is
  329. internal
  330. * HttpException.cs: made the HttpException (int httpCode, string
  331. message, Exception innerException, string resourceName) internal.
  332. 2009-02-22 Gonzalo Paniagua Javier <[email protected]>
  333. * HttpServerUtility.cs: allow Transfer to static files too.
  334. 2009-02-20 Gonzalo Paniagua Javier <[email protected]>
  335. * HttpWriter.cs: new Response property and WriteUTF8Ptr
  336. method.
  337. * HttpResponseStream.cs: added support for writing from an
  338. IntPtr. copied the memcpy method from String.cs.
  339. 2009-02-18 Gonzalo Paniagua Javier <[email protected]>
  340. * HttpApplicationFactory.cs: check of global.asax was precompiled.
  341. 2009-01-29 Gonzalo Paniagua Javier <[email protected]>
  342. * HttpApplicationFactory.cs: fix check that avoids lock. Keep one
  343. HttpApplication instance ready to be returned in an instance variable
  344. to avoid a few locks.
  345. 2009-01-29 Marek Habersack <[email protected]>
  346. * HttpApplicationFactory.cs: optimize lock usage.
  347. 2009-01-23 Gonzalo Paniagua Javier <[email protected]>
  348. * HttpResponse.cs: make sure config is not null here.
  349. * HttpApplication.cs: add a timer (-d:PIPELINE_TIMER) for the pipeline.
  350. Handle timeouts for OutputPage() too.
  351. 2009-01-23 Gonzalo Paniagua Javier <[email protected]>
  352. * HttpApplicationFactory.cs: set/reset the context for the application
  353. when creating/disposing. Dispose() out of the lock.
  354. 2009-01-24 Marek Habersack <[email protected]>
  355. * XmlSiteMapProvider.cs: if a nested sitemap is used (via the
  356. siteMapFile node attribute) watch the named file for
  357. changes. Fixes bug #465693
  358. 2009-01-19 Christian Hergert <[email protected]>
  359. * QueueManager.cs: Implement requests queued performance counter.
  360. * HttpRuntime.cs: Implement requests total counter.
  361. * HttpApplication.cs: Implement requests total counter.
  362. 2009-01-13 Dean Brettle <[email protected]>
  363. * HttpApplicationFactory.cs: if there are any *.browser files in
  364. App_Data/Mono_Machine_Browsers/, use those instead of the default
  365. machine browser files. This allows app developers to workaround
  366. limitations with Mono's default browser files without causing
  367. incompatibilities with MS's implementation.
  368. 2009-01-09 Marek Habersack <[email protected]>
  369. * HttpContext.cs: RewritePath now treats relative and absolute
  370. file paths with more care. If a path is of the ~/file.aspx form,
  371. then the ~/ part is removed and the rest is combined with the base
  372. virtual path. If the file path is of the ~ or /file.aspx forms,
  373. then it is combined verbatim with the base virtual path. Fixes bug
  374. #463964
  375. Make sure the path returned from HttpRequest.BaseVirtualPath
  376. contains the trailing slash before combining. Fixes bug #463964
  377. 2008-12-25 Gonzalo Paniagua Javier <[email protected]>
  378. * ServerVariablesCollection.cs: use IndexOf (char).
  379. 2008-12-24 Marek Habersack <[email protected]>
  380. * HttpApplicationFactory.cs: watch for changes to web.config also
  381. in the subdirectories.
  382. 2008-12-20 Marek Habersack <[email protected]>
  383. * HttpResponse.cs: the code in TransmitFile (VirtualFile, bool)
  384. was an abomination - dear children, don't do this at home (never,
  385. ever, allocate a buffer to load entire file). I will wear a brown
  386. paper bag every 2nd Sunday in the next 6 months for writing the
  387. old version of this code.
  388. New code optimizes the write when DefaultVirtualFile is used (as
  389. it refers to a physical file on disk) and reads/writes other
  390. virtual files in chunks.
  391. 2008-12-16 Marek Habersack <[email protected]>
  392. * StaticFileHandler.cs: use HttpRuntime.RunningOnWindows instead
  393. of checking the platform directly.
  394. 2008-12-09 Marek Habersack <[email protected]>
  395. * HttpServerUtility.cs: when Execute finishes, clear
  396. Request.QueryStringRaw. Backport of r121010 by Vladimir Krasnov.
  397. 2008-12-03 Gert Driesen <[email protected]>
  398. * NoParamsInvoker.cs:
  399. * HttpApplicationFactory.cs: Fixed support for static eventhandlers.
  400. 2008-11-25 Gonzalo Paniagua Javier <[email protected]>
  401. * HttpContext.cs: MS does not throw. They just return null.
  402. 2008-11-24 Marek Habersack <[email protected]>
  403. * HttpRuntime.cs: take PlatformID.MacOSX into account when
  404. determining whether we're running on Windows or not. Possible fix
  405. for #447874
  406. 2008-11-21 Marek Habersack <[email protected]>
  407. * HttpParseException.cs, HtmlizedException.cs: added
  408. deserialization constructor.
  409. 2008-10-31 Marek Habersack <[email protected]>
  410. * HttpContext.cs: RewritePath correctly rewrites paths for cases
  411. when application is running under a virtual directory different to
  412. '/'. Fixes bug #371581
  413. RewritePath checks the passed virtual path for validity.
  414. * HttpRequest.cs: MapPath now uses
  415. VirtualPathUtility.IsValidVirtualPath.
  416. * VirtualPathUtility.cs: made Canonize () internal.
  417. Added a new method - IsValidVirtualPath () which checks whether a
  418. passed path contains only characters allowed for virtual paths.
  419. 2008-10-22 Marek Habersack <[email protected]>
  420. * HttpApplicationFactory.cs: use only the first matching method in
  421. GetApplicationTypeEvents, since it will be the one coming from the
  422. topmost type. Partial fix for bug #437691
  423. 2008-10-21 Marek Habersack <[email protected]>
  424. * HttpApplication.cs: if context.Session is null in get_Session,
  425. throw an exception. Fixes bug #437289
  426. * CapabilitiesLoader.cs: seal BrowserData.
  427. Seal CapabilitiesLoader.
  428. Do not lock on typeof (CapabilitiesLoader) in GetCapabilities ().
  429. 2008-10-16 Marek Habersack <[email protected]>
  430. * HttpApplicationFactory.cs: when looking up application type
  431. event handlers (the Application_* methods), look deep in the
  432. parent chain - we must support private handler methods in base
  433. types as well.
  434. 2008-10-15 Marek Habersack <[email protected]>
  435. * HttpResponse.cs: CacheabilityUpdatedEvent is no longer
  436. used. cached_response is allocated only when the IsCached property
  437. is assigned the 'true' value.
  438. * HttpCachePolicy.cs: CacheabilityUpdatedEvent is no longer used,
  439. removed all the traces of it. SetCacheability should not switch
  440. output caching on.
  441. 2008-10-12 Gert Driesen <[email protected]>
  442. * HttpResponse.cs: Simplify code for outputting ASP.NET version, as
  443. version header cannot be configured. MS corrected this documenation
  444. error in .NET 2.0 SDK.
  445. 2008-10-03 Gonzalo Paniagua Javier <[email protected]>
  446. * HttpApplication.cs: make sure we release the resources used by the
  447. request and/or the response at the end of the request.
  448. Fixes bug #430040.
  449. 2008-10-01 Marek Habersack <[email protected]>
  450. * BrowserCapabilities.cs: IsBrowser needs to compare browser names
  451. case insensitively.
  452. 2008-09-29 Marek Habersack <[email protected]>
  453. * HttpApplication.cs: do not assume the passed IAsyncResult is a
  454. is a valid object in async_handler_complete_cb. Fixes bug #430488
  455. 2008-09-28 Sebastien Pouliot <[email protected]>
  456. * HttpRequest.cs: Make sure the result of the multiplications are
  457. longs (not integers casted into longs since they could overflow).
  458. [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
  459. 2008-09-23 Marek Habersack <[email protected]>
  460. * HttpWorkerRequest.cs: implemented a SendCalculatedContentLength
  461. overload. This method apparently does nothing in MS.NET.
  462. 2008-09-16 Juraj Skripsky <[email protected]>
  463. * HttpServerUtility.cs (UrlDecode, UrlEncode): Respect request/response
  464. encoding. Fixes bug #426539.
  465. 2008-08-29 Marek Habersack <[email protected]>
  466. * HttpApplication.cs: do not cache handlers which aren't
  467. reusable.
  468. 2008-08-20 Marek Habersack <[email protected]>
  469. * HttpResponseHeader.cs: encode header values if
  470. httpRuntime.enableHeaderChecking is true (default). Fixes bug
  471. #418620
  472. 2008-08-13 Marek Habersack <[email protected]>
  473. * HttpException.cs: do not use StringBuilder.AppendFormat when
  474. there is no need.
  475. 2008-08-08 Marek Habersack <[email protected]>
  476. * XmlSiteMapProvider.cs: a better bugfix for bug #412495.
  477. Do not call RootNode within BuildSiteMap, as it induces
  478. recursion. Fixes bug #415685.
  479. 2008-07-29 Marek Habersack <[email protected]>
  480. * HttpRequest.cs: if the FilePath contains embedded cookie-less
  481. session identifier, remove it before computing the base virtual
  482. directory. Fixes bug #397418
  483. 2008-07-28 Marek Habersack <[email protected]>
  484. * XmlSiteMapProvider.cs: set the base ResourceKey to the name of
  485. our associated site map file, so that localization works
  486. correctly. Fixes bug #412493
  487. Do not add the root node retrieved from BuildSiteMapRecursive in
  488. BuildMap, if the node is already the current root node. Fixes bug
  489. #412495
  490. 2008-07-26 Gert Driesen <[email protected]>
  491. * HttpCachePolicy.cs: Only add Expires header if expire date is
  492. actually set. Removed extra tabs and regions. Code formatting.
  493. 2008-07-23 Marek Habersack <[email protected]>
  494. * HttpApplication.cs: do not register handlers for
  495. BeginRequest/EndRequest when called from within the
  496. Application_Start handler. Fixes bug #411213
  497. * HttpApplicationFactory.cs: let the application know we're
  498. running the Application_Start handler so that it can suppress
  499. registering some events from inside that handler (see bug
  500. #381971). Fixes bug #411213
  501. 2008-06-30 Marek Habersack <[email protected]>
  502. * HttpRuntime.cs, HttpApplication.cs: hush the warnings
  503. * HttpContext.cs: GetGlobalObjectFromFactory caches the
  504. ResourceManager objects now. Patch from Zoltan Varga
  505. <[email protected]>, thanks!
  506. The GetGlobalObjectFromFactory caches are thread local to avoid
  507. locking.
  508. GetResourceObject ResourceManager cache is now a thread local
  509. Dictionary to avoid cloning.
  510. Hush the warnings.
  511. 2008-06-27 Robert Jordan <[email protected]>
  512. * HttpCachePolicy.cs: map default HttpCacheability to
  513. "Cache-control: private" for MS.NET compatibility.
  514. Fixes bug #404083. Contributed by
  515. Hubert FONGARNAND <[email protected]>.
  516. 2008-06-21 Robert Jordan <[email protected]>
  517. * HttpRuntime.cs (.cctor): Workaround for bug #402263.
  518. 2008-06-19 Marek Habersack <[email protected]>
  519. * MimeTypes.cs: added a mime type entry for .xpi files.
  520. 2008-06-18 Juraj Skripsky <[email protected]>
  521. * HttpResponse.cs (AddHeadersNoCache): Add "X-AspNet-Version" header if
  522. enabled.
  523. 2008-06-16 Noam Lampert <[email protected]>
  524. * HttpContext.cs: improve support for RewritePath
  525. 2008-06-10 Marek Habersack <[email protected]>
  526. * HttpRuntime.cs: do not create a new thread to run the
  527. application, reuse the thread from the hosting application (XSP's
  528. thread comes from threadpool).
  529. 2008-06-06 Marek Habersack <[email protected]>
  530. * SiteMap.cs: FindCurrentNode is no longer needed. CurrentNode
  531. uses Provider.CurrentNode to find the return value.
  532. AddNode doesn't throw a duplicate key exception for nodes not
  533. belonging to the current provider.
  534. Check whether keys exist before removing entries from the
  535. dictionaries.
  536. * XmlSiteMapProvider.cs: implemented support for child providers
  537. (the AddProvider method). FindSiteMapNode* methods look for the
  538. node also in the collection of child providers. Fixes bug #397040
  539. 2008-06-04 Marek Habersack <[email protected]>
  540. * HttpResponse.cs: correctly modify virtual path to include the
  541. session ID in cookieless session mode. Fixes bug #396628.
  542. * HttpServerUtility.cs: remove session hash from the URL if in the
  543. cookieless mode. Fixes bug #396628.
  544. * HttpRequest.cs: make sure that BaseVirtualDir always returns
  545. some value.
  546. 2008-06-02 Miguel de Icaza <[email protected]>
  547. * HttpRuntime.cs: Thanks to Christian Hergert for finding this
  548. one.
  549. Do not throw NIEX on IsOnUNCShare, instead compute the value.
  550. 2008-05-30 Marek Habersack <[email protected]>
  551. * HttpApplication.cs, HttpCachePolicy.cs, SiteMapProvider.cs,
  552. TraceContext.cs: do not use synthetized event accessors (to avoid
  553. locks).
  554. 2008-05-19 Noam Lampert <[email protected]>
  555. * HttpServerUtility.cs: Fix bug in UrlPathEncode when URL contains '?'
  556. 2008-05-12 Noam Lampert <[email protected]>
  557. * HttpApplication.cs: Fix regressions introduced by latest commit
  558. 2008-05-07 Gonzalo Panigua Javier <[email protected]>
  559. * HttpApplication.cs: create a fake context while loading the
  560. modules on the first request so that the modules don't mess up
  561. with the actual output of that request.
  562. 2008-05-07 Marek Habersack <[email protected]>
  563. * HttpRequest.cs: StripPath should handle UNC paths too. Fixes bug
  564. #385870. Patch from Ivan Hamilton <[email protected]>,
  565. thanks!
  566. 2008-05-06 Marek Habersack <[email protected]>
  567. * MimeTypes.cs: mime type keys might not exist in the dictionary,
  568. in the 2.0 profile. Patch from Rolf Kvinge <[email protected]>
  569. and Jean-Baptiste Evain <[email protected]>, thanks! Fixes bug
  570. #386008
  571. 2008-04-30 Marek Habersack <[email protected]>
  572. * HttpApplication.cs: when the Start method is called in a new
  573. thread, the thread's culture and ui culture are set to their
  574. defaults, thus ignoring whatever their values were in the parent
  575. thread. This is now fixed by passing an array containing the
  576. culture values to the Start method, so that the new thread can be
  577. properly initialized. Fixes bug #323566
  578. * SiteMapNode.cs: the implicitResourceKey parameter to one of the
  579. constructors sets the value of the ResourceKey property.
  580. GetImplicitResourceString uses the provider's ResourceKey as the
  581. global resource object key and the node's ResourceKey to construct
  582. the resource name. Fixes bug #323994
  583. ResourceKey setter throws an InvalidOperationException now, when
  584. the node is read-only.
  585. 2008-04-29 Marek Habersack <[email protected]>
  586. * HttpException.cs: safe guard against context being null in
  587. GetHtmlErrorMessage.
  588. 2008-04-26 Marek Habersack <[email protected]>
  589. * VirtualPath.cs: added a new property, PhysicalPath.
  590. 2008-04-25 Gert Driesen <[email protected]>
  591. * HttpResponse.cs: Use double quotes in link to match MS.
  592. 2008-04-25 Marek Habersack <[email protected]>
  593. * HttpApplication.cs: use Request.CurrentExecutionFilePath when
  594. querying for the handler. Makes requests work if request path was
  595. rewritten without modifying the FilePath. Fixes bug #383652
  596. * HttpContext.cs: set Request.FilePath in RewritePath only if
  597. setClientFilePath is true. Fixes bug #383652
  598. Revert the change in revision 100273 - the real bug was in a
  599. different overload of RewritePath, fixed with the commit for the
  600. above bug #383652
  601. 2008-04-24 Marek Habersack <[email protected]>
  602. * HttpApplication.cs: added a new overload of GetHandler which
  603. allows the caller to ignore the handler found in the context
  604. passed to the method.
  605. * HttpServerUtility.cs: have HttpApplication.GetHandler ignore the
  606. handler found in the current context when Execute'ing another
  607. page. Fixes bug #316166
  608. 2008-04-23 Marek Habersack <[email protected]>
  609. * VirtualPath.cs: introduced the CurrentRequestDirectory property,
  610. which returns the virtual directory for the current request. The
  611. information is taken from either current request's
  612. CurrentExecutionFilePath property (if not null) or from the path
  613. set externally (by setting the property or using the appropriate
  614. VirtualPath constructor). The new property is used to construct
  615. the correct absolute virtual path in the MakeRooted method. Fixes
  616. bug #381715.
  617. * HttpApplication.cs: events registered from Application_Start are
  618. silently ignored - any event registered after the one-time
  619. application initialization is completed, is ignored. Fixes bug
  620. #381971
  621. * HttpApplicationFactory.cs: call app.DisposeInternal instead of
  622. app.Dispose.
  623. * HttpContext.cs: Fix bug #371581 for 1.1 as well.
  624. 2008-04-19 Marek Habersack <[email protected]>
  625. * HttpException.cs: don't write the stack trace inside html
  626. comment if custom errors are enabled.
  627. 2008-04-15 Kornél Pál <[email protected]>
  628. * HttpRuntime.cs: Don't add Date header for error pages either. Fixes bug
  629. #363404.
  630. 2008-04-15 Marek Habersack <[email protected]>
  631. * HttpRequest.cs: dispose of streams the way it should
  632. be done.
  633. 2008-04-14 Igor Zelmanovich <[email protected]>
  634. * HttpRuntime.cs: refactoring.
  635. 2008-04-14 Marek Habersack <[email protected]>
  636. * XmlSiteMapProvider.cs: FindStartingNode throws an exception when
  637. it is passed a file which ends in an extension other than
  638. .sitemap.
  639. Fixed a check for the siteMapFile attribute presence. Fixes bug
  640. #379566.
  641. * SiteMap.cs: FindCurrent node uses the default provider
  642. exclusively. Fixes bug #379566
  643. 2008-04-10 Marek Habersack <[email protected]>
  644. * HttpApplicationFactory.cs: compile web references before
  645. App_Code. Fixes bug #377934
  646. * MimeTypes.cs: added some missing MIME types. New entries
  647. contributed by Albert Ritmeester
  648. <[email protected]>, thanks! Fixes bug #372290
  649. 2008-04-09 Marek Habersack <[email protected]>
  650. * HttpContext.cs: make RewritePath work correctly in the 2.0
  651. profile, fixes bug #371581
  652. * HttpApplicationFactory.cs: compile web references. Fixes bug
  653. #377934
  654. * VirtualPath.cs: added a method to convert a physical path into a
  655. virtual one, if the physical path is under the application root.
  656. 2008-04-08 Dean Brettle <[email protected]>
  657. * HttpApplicationFactory.cs (CapabilitiesProcessor): changed to
  658. use etc/mono/2.0/Browser/*.browser files in addition to
  659. ~/App_Browsers/*.browser files.
  660. 2008-04-07 Marek Habersack <[email protected]>
  661. * VirtualPath.cs: added
  662. 2008-04-02 Marek Habersack <[email protected]>
  663. * HttpRequest.cs: make sure QueryStringRaw is always returned with
  664. a leading '?' and that we return something meaningful even if the
  665. url components weren't collected before. Fixes bug #376352
  666. 2008-04-01 Marek Habersack <[email protected]>
  667. * HttpApplication.cs: set context.Handler to the detected handler
  668. object before firing application events. Fixes bug #372897
  669. 2008-03-31 Marek Habersack <[email protected]>
  670. * StaticFileHandler.cs: added code to use custom
  671. VirtualPathProvider, if present, to serve files from virtual
  672. storage.
  673. * HttpResponse.cs: added two internal TransmitFile overloads which
  674. take a VirtualFile as a parameter.
  675. 2008-03-27 Marek Habersack <[email protected]>
  676. * HttpRequest.cs: make UrlComponents internal.
  677. * HttpContext.cs: added support for resource provider factories.
  678. 2008-03-13 Marek Habersack <[email protected]>
  679. * HttpApplicationFactory.cs: use HttpApplication.BinDirs to
  680. create watchers for binary application directories.
  681. * HttpApplication.cs: use HttpRuntime.CaseInsensitive instead of
  682. own IsRunningOnWindows.
  683. Remove the BinDirectories enumerator property, replaced with a
  684. BinDirectory one returning a string with path to the binary
  685. directory.
  686. * HttpRuntime.cs: introduce two static properties -
  687. CaseInsensitive (set to true whenever the environment is
  688. case-insensitive - i.e. MONO_IOMAP="all" or MONO_IOMAP="case", or
  689. running on Windows) and RunningOnWindows.
  690. 2008-03-12 Marek Habersack <[email protected]>
  691. * HttpApplication.cs: HttpContext.Handler may be set by a module
  692. in any of the event handlers between acquiring the initial handler
  693. and processing the request. Honor the setting and use
  694. HttpContext.Handler instead of the matched one if set.
  695. 2008-03-10 Marek Habersack <[email protected]>
  696. * HttpApplication.cs: synchronize Modules and Dispose with
  697. InitOnce. Should prevent firing module events before the modules
  698. are fully initialized.
  699. 2008-03-09 Dean Brettle <[email protected]>
  700. * HttpApplicationFactory.cs: Added support for detecting
  701. App_Browsers/*.browser files and using them to determine capabilities.
  702. Also restart the app if the App_Browsers, App_Code, or App_GlobalResources
  703. directories are created.
  704. * BrowserCapabilities.cs (TagWriter): get value via internal virtual
  705. GetTagWriter() method, which is overridden in nBrowser.Result.
  706. * HttpRequest.cs (BrowserMightHaveSpecialWriter, BrowserMightHaveAdapters):
  707. internal properties added to allow Page and Control methods to avoid
  708. accessing Request.Browser to get browser-specific HtmlTextWriters or
  709. ControlAdapters. Those things only exist when there are App_Browsers
  710. files.
  711. 2008-03-09 Marek Habersack <[email protected]>
  712. * HttpUtility.cs: HTML-decode the query string prior to parsing
  713. it.
  714. 2008-03-01 Marek Habersack <[email protected]>
  715. * HttpRuntime.cs: SettingsMappingManager has been moved to
  716. Mono.Web.
  717. 2008-02-28 Marek Habersack <[email protected]>
  718. * HttpParamsCollection.cs: restore the GetValues overrides only to
  719. make sure the collections are merged before invoking the base
  720. implementation.
  721. Remove code that's no longer needed.
  722. 2008-02-27 Marek Habersack <[email protected]>
  723. * HttpException.cs: error message output format changes.
  724. 2008-02-26 Kornél Pál <[email protected]>
  725. * HttpResponse.cs: Don't add Date header because servers usually add
  726. a Date header that would result in duplicate Date header sent to the
  727. client. Fixes bug #363404.
  728. 2008-02-25 Marek Habersack <[email protected]>
  729. * HttpException.cs: fix a buglet with unfoldable hidden divs which
  730. contain the full compiler output and the full source code.
  731. * HttpContext.cs: correctly set the timeout if the user has
  732. specified a timeout which, when converted to milliseconds yields a
  733. value larger than one allowed by Timer.Change. This can happen,
  734. for instance, when HttpServerUtility.ScriptTimeout is set to
  735. Int32.MaxValue. Previously, when something like that happened, the
  736. value was converted to 0ms, giving an instantenous timer
  737. expiration and, what follows, a request "timeout".
  738. 2008-02-19 Marek Habersack <[email protected]>
  739. * HttpParamsCollection.cs: do not override the NVC behavior for
  740. GetValues - values from different sources (Form, Query, Cookies,
  741. ServerVariables) must be kept separate for this purpose. This is
  742. also the behavior of MS.NET. Fixes bug #362189
  743. 2008-02-18 Marek Habersack <[email protected]>
  744. * HttpRuntime.cs: When app is offline, send status code 503
  745. instead of 200. Fixes bug #357565
  746. 2008-02-10 Gert Driesen <[email protected]>
  747. * HttpException.cs: Avoid IndexOutOfRangeException when there are no
  748. error lines.
  749. 2008-02-07 Gert Driesen <[email protected]>
  750. * HttpException.cs: Removed CWL.
  751. 2008-02-07 Marek Habersack <[email protected]>
  752. * HttpException.cs: more exception output compatibility changes to
  753. match MS.NET.
  754. 2008-02-07 Vladimir Krasnov <[email protected]>
  755. * HttpContext.jvm.cs: added CurrentHandlerInternal property
  756. 2008-02-07 Marek Habersack <[email protected]>
  757. * HttpException.cs: moved several strings to constants, for easier
  758. maintenance.
  759. Added 3 new constructors which let the caller to set the exception
  760. description.
  761. The Description property is now settable.
  762. The stack trace at the bottom of the file is written after the
  763. terminating </html>, inside a HTML comment. Format changed to
  764. match MS.NET.
  765. Error 404 is handled in a special way, to match the output with
  766. MS.NET.
  767. * HttpContext.cs, StaticFileHandler.cs, HttpApplication.cs: use
  768. the new HttpException constructor for 404.
  769. 2008-02-07 Vladimir Krasnov <[email protected]>
  770. * HttpResponse.cs: fixed AddHeadersNoCache, removed date_header since
  771. java app server adds it, under TARGET_J2EE.
  772. 2008-02-06 Marek Habersack <[email protected]>
  773. * HttpApplicationFactory.cs: in FireOnAppEnd, set app_type to null
  774. after the event has been fired.
  775. * HttpRuntime.cs: when switching to offline mode fire the
  776. shutdown events. Fixes bug #357565.
  777. Watch for Created event in the FileSystemWatcher for the
  778. app_offline.htm files.
  779. 2008-01-29 Vladimir Krasnov <[email protected]>
  780. * HttpRequest.cs: performance optimization of QueryStringRaw
  781. 2008-01-27 Igor Zelmanovich <[email protected]>
  782. * HttpResponse.cs: rise PreSendRequestHeaders befire headers_sent
  783. initialization to allow set additional headers or status code at
  784. PreSendRequestHeaders event handlers.
  785. 2008-01-24 Marek Habersack <[email protected]>
  786. * HttpApplicationFactory.cs: use BuildManager.GetCompiledType to
  787. build the application (global.asax) file.
  788. 2008-01-22 Konstantin Triger <[email protected]>
  789. * HttpResponse.cs: move headers_sent initialization up to prevent additional
  790. trial to send headers if an exception is thrown.
  791. 2008-01-21 Konstantin Triger <[email protected]>
  792. * HttpRequest.cs: Form validation: ensure the collection is accessible after
  793. validation failed.
  794. 2008-01-16 Juraj Skripsky <[email protected]>
  795. * HttpRequest.cs (get_UrlReferrer): Handle case when headers contain
  796. invalid Url for referer.
  797. 2008-01-16 Juraj Skripsky <[email protected]>
  798. * HttpCookieCollection.cs (AllKeys): Use Keys.CopyTo().
  799. 2008-01-14 Sebastien Pouliot <[email protected]>
  800. * HttpCookie.cs: Fix HttpOnly setter. Found using Gendarme.
  801. 2008-01-02 Vladimir Krasnov <[email protected]>
  802. * HttpContext.cs: added resource manager caching in GetResourceObject
  803. * HttpContext.jvm.cs: added resourceManagerCache storing in appdomain
  804. 2007-12-31 Vladimir Krasnov <[email protected]>
  805. * HttpContext.cs: added HasError method
  806. * HttpApplication.cs: refactored thread abort handling
  807. 2007-12-31 Vladimir Krasnov <[email protected]>
  808. * HttpRuntime.cs: fixed HttpRuntime, added Cache.DependencyCache
  809. initialization
  810. 2007-12-26 Igor Zelmanovich <[email protected]>
  811. * TraceContext.cs:
  812. * TraceData.cs:
  813. make trace considers control state info.
  814. 2007-12-25 Igor Zelmanovich <[email protected]>
  815. * HttpApplication.cs: initialize culture each request.
  816. makes it consider culture settings from nested web.config
  817. 2007-12-19 Juraj Skripsky <[email protected]>
  818. * HttpContext.cs, HttpApplication.cs: Move timeout tracking from
  819. TimeoutManager into HttpContext. Replace periodic timeout checks with
  820. separate per-context timeout timers.
  821. * HttpRuntime.cs: remove TimeoutManager.
  822. 2007-12-18 Miguel de Icaza <[email protected]>
  823. * HttpCookieCollection.cs (Get): implement using the indexer to
  824. share some code. Should fix #349564.
  825. 2007-12-16 Igor Zelmanovich <[email protected]>
  826. * HttpContext.cs: added IsProcessingInclude property.
  827. * HttpServerUtility.cs: set IsProcessingInclude value within Execute.
  828. 2007-12-13 Marek Habersack <[email protected]>
  829. * HttpRequest.cs, HttpResponse.cs, SiteMapNode.cs, HttpRuntime.cs,
  830. HttpResponseStream.cs, HttpApplication.cs, HttpCachePolicy.cs:
  831. speed optimization - use String.Concat instead of String.Format in
  832. some cases.
  833. 2007-12-13 Igor Zelmanovich <[email protected]>
  834. * HttpApplication.cs:
  835. * HttpContext.cs:
  836. * HttpRequest.cs:
  837. * HttpServerUtility.cs:
  838. - When Transfer/Execute is called with preserveForm=true, transferred
  839. page is not processed as PostBack but form collection is preserved.
  840. - When Execute is called more than once, PreviousPage property is set
  841. correct.
  842. 2007-12-09 Vladimir Krasnov <[email protected]>
  843. * HttpApplication.cs: added TARGET_JVM to LoadType method
  844. 2007-12-08 Marek Habersack <[email protected]>
  845. * HttpRuntime.cs: initialize the Settings Mapping Manager once per
  846. application, just after initalizing the WebConfigurationManager.
  847. 2007-11-28 Marek Habersack <[email protected]>
  848. * HttpApplication.cs: peform the check of whether we're running on
  849. Windows from within a static constructor.
  850. 2007-11-23 Marek Habersack <[email protected]>
  851. * RequestNotificationStatus.cs: fix the order of enum members.
  852. * RequestNotification.cs: assign correct values to the enum
  853. members.
  854. * StaticSiteMapProvider.cs: change visibility of the constructor.
  855. * HttpRequest.cs: added missing property LogonUserIdentity.
  856. * HttpCacheVaryByContentEncodings.cs: this constructor should not
  857. be public.
  858. 2007-11-23 Daniel Nauck <[email protected]>
  859. * TraceContextRecord.cs: implemented
  860. 2007-11-23 Marek Habersack <[email protected]>
  861. * BrowserCapabilities.cs: the JavaScript property is obsolete in
  862. 2.0sp1.
  863. 2007-11-22 Daniel Nauck <[email protected]>
  864. * IPartitionResolver.cs: implemented
  865. 2007-11-22 Daniel Nauck <[email protected]>
  866. * WebPageTraceListener.cs: implemented
  867. 2007-11-22 Marek Habersack <[email protected]>
  868. * RequestNotificationStatus.cs: added
  869. * RequestNotification.cs: added
  870. * HttpCacheVaryByContentEncodings.cs: added
  871. * HttpCachePolicy.cs: added the HttpCacheVaryByContentEncodings
  872. property.
  873. * HttpApplication.cs: added 3 new events to the pipeline (for
  874. compatibility with the 2.0sp1/3.5 version of System.Web)
  875. 2007-11-22 Daniel Nauck <[email protected]>
  876. * WebPageTraceListener.cs: initial checkin (stubs).
  877. 2007-11-17 Marek Habersack <[email protected]>
  878. * HttpResponse.cs: make sure fileDependencies is not null before
  879. attempting to use it. Fixes bug #342511.
  880. 2007-11-07 Igor Zelmanovich <[email protected]>
  881. * TraceContext.cs:
  882. * TraceData.cs: implemented TraceMode feature.
  883. 2007-11-07 Igor Zelmanovich <[email protected]>
  884. * BaseParamsCollection.cs:
  885. ensure collection will not be changed during enumeration.
  886. 2007-11-06 Marek Habersack <[email protected]>
  887. * HttpResponse.cs: trigger the PreSendRequestHeaders event before
  888. setting the output headers. Fixes bugs #334521, #339538
  889. * TraceData.cs: do not use DataTable for trace data storage
  890. anymore. Instead, a set of classes is used to hold data and a
  891. Queue container (generic version in 2.0) is used to hold the data
  892. rows. Fixes bug #325267.
  893. 2007-11-05 Marek Habersack <[email protected]>
  894. * HttpRequest.cs: cope with UriBuilder.Query being null.
  895. 2007-11-03 Gert Driesen <[email protected]>
  896. * HttpRuntime.cs: Always return a path with trailing directory
  897. separator character. Spaces to tabs.
  898. 2007-11-03 Marek Habersack <[email protected]>
  899. * HttpApplication.cs: removed unused internal PrivateBinPath
  900. property.
  901. * HttpRuntime.cs: BinDirectory returns a path that ends with the
  902. directory separator character.
  903. 2007-11-02 Marek Habersack <[email protected]>
  904. * HttpServerUtility.cs: in 2.0, Transfer is allowed only from
  905. pages. Fixes bug #334931
  906. Also, according to MSDN docs, transfer in 2.0+ is possible only to
  907. other pages.
  908. * HttpRuntime.cs: BinDirectory returns a full path to the actual
  909. bin directory in the application root. If no bin directory is
  910. found, it defaults to returning <applicationPath>/bin. Fixes bug
  911. 338116.
  912. * HttpApplication.cs: introduced HTTP handler cache to save time
  913. on repetitive handler collection traversals. On busy sites the
  914. traversal of the default 26 handlers may account for thousands of
  915. unnecessary calls to configsystem.LocateHandler method, which may
  916. also involve executing a regex. The cache is cleared whenever the
  917. HTTP handler collection is modified.
  918. 2007-10-30 Igor Zelmanovich <[email protected]>
  919. * HttpUtility.cs: fixed HtmlEncode for TARGET_JVM.
  920. 2007-10-30 Igor Zelmanovich <[email protected]>
  921. * HttpUtility.cs: fixed UrlPathEncode.
  922. 2007-10-24 Gert Driesen <[email protected]>
  923. * StaticFileHandler.cs: Modified 404 message to match MS.
  924. 2007-10-24 Marek Habersack <[email protected]>
  925. * HttpUtility.cs: MS.NET does not support the ';' query parameter
  926. separator. Fixes bug #335615
  927. 2007-10-18 Juraj Skripsky <[email protected]>
  928. * StaticSiteMapProvider.cs: Replace Hashtables by Dictionaries,
  929. don't allocate them on-demand, there will never be many
  930. Provider instances around.
  931. AddNode(): Check for duplicate keys before adding any item to
  932. hashtables.
  933. RemoveNode(): Use fact that Hashtable.Remove() never throws,
  934. remove item from keyToNode as well, make symmetric to AddNode().
  935. MapUrl(): Use VirtualPathUtility, allow for full urls
  936. (e.g. http://www.google.com).
  937. 2007-10-17 Marek Habersack <[email protected]>
  938. * StaticFileHandler.cs: fixed an bug with Mono running under
  939. Windows operating systems which caused XSP to return source of the
  940. requested page if the file name used in the request ended in any
  941. number of spaces or dots. The problem lies in the way the Win32
  942. subsystem treats such file names - it ignores the trailing
  943. characters and allows the calling application to open a file on
  944. disk even when its name does not contain the trailing characters
  945. used in the open request. Such file names may be supported by the
  946. underlying filesystem (e.g. NTFS) but they are not supported by
  947. the I/O Win32 subsystem. The security issue is reported in
  948. CVE security report CVE-2007-5473. Fixes bug #332401
  949. 2007-10-17 Igor Zelmanovich <[email protected]>
  950. * HttpResponse.cs:
  951. response status is sent after PreSendRequestHeaders invoked.
  952. Redirect method set RedirectLocation property
  953. fixes bug #334521
  954. 2007-10-15 Marek Habersack <[email protected]>
  955. * HttpApplication.cs: do not return a non-existing bin directory
  956. from BinDirectories. Patch from Atsushi Enomoto
  957. <[email protected]>, thanks! Fixes bug #332434.
  958. 2007-10-04 Marek Habersack <[email protected]>
  959. * HttpApplication.cs: call the Init method after loading the
  960. modules and hooking up application events. Fixes bug #330416.
  961. 2007-10-01 Marek Habersack <[email protected]>
  962. * HttpServerUtility.cs: set a flag when transferring control to
  963. another page.
  964. * HttpContext.cs: added an internal InTransit property to carry
  965. information that HttpServerUtility.Transfer has been used, over to
  966. the target page.
  967. 2007-09-12 Juraj Skripsky <[email protected]>
  968. * StaticSiteMapProvider.cs (AddNode): Add message text to
  969. InvalidOperationException (duplicate url case).
  970. 2007-09-06 Marek Habersack <[email protected]>
  971. * HttpCachePolicy.cs: implemented setting the ETag and
  972. Last-Modified headers from file dependencies.
  973. * HttpResponse.cs: implemented file dependency methods.
  974. 2007-09-01 Marek Habersack <[email protected]>
  975. * HttpRuntime.cs: rewrote the app_offline.htm support. It now uses
  976. filesystem watchers instead of checking for existence of the
  977. file(s) at the beginning of every request. No performance penalty
  978. that way.
  979. 2007-08-31 Marek Habersack <[email protected]>
  980. * HttpApplicationFactory.cs: added methods to enable/disable
  981. watchers.
  982. * HttpRuntime.cs: implemented handling of app_offline.htm file in
  983. the application root directory. Fixes bug #81127.
  984. * HttpResponse.cs: make sure neither context or
  985. context.ApplicationInstance are null in End ().
  986. 2007-08-27 Marek Habersack <[email protected]>
  987. * HttpCookie.cs: make sure a key is output even if it has no
  988. values set. Fixes bug #81333.
  989. 2007-08-23 Marek Habersack <[email protected]>
  990. * HttpApplication.cs: added a static array BinDirs which contains
  991. the common bin directory names we can encounter.
  992. Added internal static property IsRunningOnWindows.
  993. Added internal enumerable property BinDirectories to iterate over
  994. the full paths of the available binary directories.
  995. Added internal enumerable property BinDirectoryAssemblies to
  996. iterate over .dll files in the bin directories.
  997. LoadTypeFromPrivateBin renamed to LoadTypeFromBin.
  998. LoadTypeFromBin uses BinDirectoryAssemblies.
  999. * HttpApplicationFactory.cs: use HttpApplication.BinDirectories to
  1000. interate over the list of bin dirs.
  1001. 2007-08-21 Marek Habersack <[email protected]>
  1002. * HttpApplicationFactory.cs: watch for changes in all the
  1003. private binary directories for the current application domain.
  1004. * HttpApplication.cs: turn the PrivateBinPath property into an
  1005. internal enumerable, so that code throughout the assembly can
  1006. iterate over the list of private bin directories configured for
  1007. the application domain.
  1008. Added a new internal method LoadTypeFromPrivateBin, for sharing
  1009. with other parts of the assembly.
  1010. 2007-08-18 Juraj Skripsky <[email protected]>
  1011. * HttpRequest.cs (StripPath): Fix off-by-one error, make static.
  1012. 2007-08-18 Marek Habersack <[email protected]>
  1013. * HttpRequest.cs: IE sends the full input file path when uploading
  1014. a file via the upload input control. Detect the situation and
  1015. strip the leading path. Fixes bug #82059.
  1016. * HttpServerUtility.cs: set the current context's path(s) to the
  1017. Transfer/Execute target only to retrieve the new handler, and
  1018. restore them immediately afterwards. It has a two-fold effect:
  1019. first it avoids an extra round trip to the original page which
  1020. called Transfer/Execute, second it makes FilePath etc. return
  1021. information about the original page (that is the one which called
  1022. Transfer/Execute). Fixes bug #82439.
  1023. 2007-08-14 Marek Habersack <[email protected]>
  1024. * XmlSiteMapProvider.cs: do not hide this_lock.
  1025. 2007-08-09 Marek Habersack <[email protected]>
  1026. * HttpApplicationFactory.cs: unconditionally watch for changes
  1027. (including creation) to Global.asax, global.asax, Web.config,
  1028. web.config and Web.Config. This makes the application restart once
  1029. any of those is created. Patch from Juraj Skripsky
  1030. <[email protected]>, thanks! Fixes bug #82380.
  1031. 2007-08-08 Marek Habersack <[email protected]>
  1032. * StaticSiteMapProvider.cs, HttpApplicationFactory.cs,
  1033. HttpStaticObjectsCollection.cs, SiteMapProvider.cs,
  1034. XmlSiteMapProvider.cs, HttpApplication.cs, CapabilitiesLoader.cs,
  1035. TimeoutManager.cs: do not use lock (this), replace it with lock
  1036. (this_object), where this_object is an instance variable. Prevents
  1037. deadlocks in situation when external code locks on the class
  1038. instance.
  1039. 2007-08-05 Vladimir Krasnov <[email protected]>
  1040. * HttpUtility.cs: performance refactoring, optimized UrlEncode
  1041. 2007-08-05 Igor Zelmanovich <[email protected]>
  1042. * SiteMapNode.cs: refactoring + typo fix:
  1043. variable is declared in scope where is used.
  1044. 2007-07-31 Vladimir Krasnov <[email protected]>
  1045. * VirtualPathUtility.cs: refactored GetDirectory, ToAbsolute, added
  1046. internal api to skip path normalizing
  1047. 2007-07-30 Vladimir Krasnov <[email protected]>
  1048. * HttpResponseStream.jvm.cs: optimized CharBucket
  1049. 2007-07-22 Vladimir Krasnov <[email protected]>
  1050. * HttpServerUtility.cs: fixed Execute, SetCurrentExePath should be
  1051. called after ApplicationInstance.GetHandler call in case of GetHandler
  1052. fails for some reason
  1053. 2007-07-21 Marek Habersack <[email protected]>
  1054. * HttpRuntime.cs: clean up the dynamic base directory on domain
  1055. shutdown.
  1056. 2007-07-10 Vladimir Krasnov <[email protected]>
  1057. * HttpUtility.cs: optimized HtmlEncode and HtmlAttributeEncode methods
  1058. 2007-07-05 Miguel de Icaza <[email protected]>
  1059. * HttpApplication.cs (AsyncRequestState.Complete): Add the
  1060. try/catch for the callback here to ensure that we only call
  1061. complete_event.Set once.
  1062. (PipelineDone): This is where the core of the bug fix is: do not
  1063. call Complete() or call done.Set() (depending on the invocation
  1064. case) until we are actually done cleaning up the request.
  1065. The problem was that we signaled that we were done, but we had not
  1066. completed the shut down, so another thread could have been
  1067. scheduled on the same HttpApplication and had its variables be
  1068. modified as we completed the shutdown on the first thread.
  1069. This fixes #81400 which was a very long standing bug.
  1070. (Tick): Remove the pipeline check against null, this is not
  1071. necessary and it will help us find problems like this one in the
  1072. future.
  1073. Reverts patch r66072 which was a described as:
  1074. band-aid patch to help debugging hang running 2.0
  1075. tests.
  1076. 2007-07-02 Marek Habersack <[email protected]>
  1077. * CapabilitiesLoader.cs: provide default capability values for all
  1078. the 2.0+ capabilities which are not defined in our
  1079. browscap.ini. The default values have been assigned as per
  1080. MSDN. Fixes bug #81927
  1081. 2007-06-28 Vladimir Krasnov <[email protected]>
  1082. * HttpResponse.cs: fixed AddHeadersNoCache, removed content-length
  1083. header for TARGET_JVM
  1084. * HttpWorkerRequest.cs: made this class partial, moved TARGET_JVM stuff
  1085. to .jvm part
  1086. * HttpWriter.cs: fixed write methods, output_stream can write char[]
  1087. and string in TARGET_JVM
  1088. added HttpWorkerRequest.jvm.cs, HttpResponseStream.jvm.cs
  1089. 2007-06-25 Juraj Skripsky <[email protected]>
  1090. * HttpRuntime.cs (ShutdownAppDomain): Re-introduce call to
  1091. "Cache.InvokePrivateCallbacks".
  1092. 2007-06-24 Vladimir Krasnov <[email protected]>
  1093. * HttpUtility.cs: fixed HtmlAttributeEncode, performance improvement
  1094. 2007-06-20 Marek Habersack <[email protected]>
  1095. * HttpRuntime.cs: added new internal property, InternalCache, to
  1096. keep all the internal cache entries instead of mixing them with
  1097. the public cache ones.
  1098. Do not invoke Cache.InvokePrivateCallbacks - this method no longer
  1099. exists.
  1100. * HttpResponse.cs: private entries are now kept in
  1101. Context.InternalCache.
  1102. * HttpContext.cs: added new internal property, InternalCache,
  1103. which returns the HttpRuntime.InternalCache value.
  1104. * HttpApplication.cs: check all the loaded assemblies for the type
  1105. being looked up. Patch from Juraj Skripsky <[email protected]>,
  1106. thanks! Fixes bug #81697.
  1107. 2007-06-18 Igor Zelmanovich <[email protected]>
  1108. * HttpUtility.cs: refactoring:
  1109. removed constants to another class.
  1110. 2007-06-18 Igor Zelmanovich <[email protected]>
  1111. * AssemblyResourceLoader.cs: refactoring:
  1112. make the code reusable in System.Web.Extenssions.
  1113. 2007-05-31 Marek Habersack <[email protected]>
  1114. * SiteMapProvider.cs: implemented proper logic of authorizing
  1115. user's access to a sitemap node, as per MSDN2 docs. Patch from
  1116. Dumitru Ban <[email protected]>, thanks!
  1117. 2007-05-30 Marek Habersack <[email protected]>
  1118. * TraceManager.cs: Catch all the possible exceptions in the
  1119. constructor - the object MUST be created successfully (even if
  1120. there are errors).
  1121. * HttpRequest.cs: do not attempt to apply url mappings if the
  1122. configuration manager has errors.
  1123. * HttpRuntime.cs: handle static constructor exceptions later on,
  1124. during the first call to ReallyProcessRequest.
  1125. * QueueManager.cs: provide defaults for the parameters to be read
  1126. from the config file(s).
  1127. Catch all the possible exceptions in the constructor - the object
  1128. MUST be created successfully (even if there are errors).
  1129. 2007-05-29 Marek Habersack <[email protected]>
  1130. * SiteMapProvider.cs: updated the node accessibility comments.
  1131. If Roles not null and user is not in at least one of the
  1132. specified roles, return false.
  1133. If there Url is null or empty, return false.
  1134. 2007-05-28 Marek Habersack <[email protected]>
  1135. * HttpRequest.cs: since Path is used from within
  1136. WebConfigurationManager, under some conditions it may lead to
  1137. endless recursion if the UrlComponents is not instantiated when
  1138. Path_get is called.
  1139. 2007-05-21 Vladimir Krasnov <[email protected]>
  1140. * HttpContext.cs: added ProfileInitialized boolean property
  1141. 2007-05-16 Vladimir Krasnov <[email protected]>
  1142. * VirtualPathUtility.cs: Normalize method check more carefully if need
  1143. to normalize, performance fix
  1144. 2007-05-16 Konstantin Triger <[email protected]>
  1145. * HttpContext.cs: correctly check for request locality.
  1146. 2007-05-15 Marek Habersack <[email protected]>
  1147. * HttpApplication.cs: refactoring - moved LoadType from
  1148. WebConfigurationHost here and made it internal static, in order to
  1149. make the code avaliable from all the places where extended type
  1150. loading is required.
  1151. 2007-05-14 Marek Habersack <[email protected]>
  1152. * HttpUtility.cs: when parsing query strings, skip the leading ?
  1153. for the first parameter name.
  1154. * HttpRequest.cs: added support for mapping urls, as defined in
  1155. the system.web/urlMappings section.
  1156. 2007-05-14 Vladimir Krasnov <[email protected]>
  1157. * HttpWriter.cs: GetMaxByteCount was used in Write and WriteString
  1158. methods to improve performance of HttpWriter
  1159. 2007-05-14 Igor Zelmanovich <[email protected]>
  1160. * HttpApplication.cs:
  1161. prevent DOS attack: remove configuration from the cache in case
  1162. of invalid resource not exists
  1163. 2007-05-14 Vladimir Krasnov <[email protected]>
  1164. * TraceContext.cs: refactoring, cached TraceManager
  1165. 2007-05-03 Igor Zelmanovich <[email protected]>
  1166. * HttpApplication.cs:
  1167. * HttpContext.cs:
  1168. handling exceptions occurred if <system.web/customError>
  1169. section is not valid.
  1170. 2007-05-08 Vladimir Krasnov <[email protected]>
  1171. * BaseParamsCollection.cs: fixed Get(string) property, fixed collection
  1172. lazy initialization
  1173. 2007-05-07 Marek Habersack <[email protected]>
  1174. * HttpResponseStream.cs: use BufferOutput
  1175. * HttpResponse.cs: support Buffer, but use BufferOutput
  1176. 2007-05-03 Igor Zelmanovich <[email protected]>
  1177. * BrowserCapabilities.cs:
  1178. added missing API.
  1179. 2007-04-30 Igor Zelmanovich <[email protected]>
  1180. * HttpApplication.cs: reverted r74717.
  1181. 2007-04-29 Igor Zelmanovich <[email protected]>
  1182. * HttpContext.jvm.cs: Response.End() must abort thread if not async.
  1183. 2007-04-29 Igor Zelmanovich <[email protected]>
  1184. * HttpApplication.cs: doesn't cache httpHandlersSection in instance,
  1185. that allows to consider httpHandlers section in nested web.config.
  1186. 2007-04-27 Marek Habersack <[email protected]>
  1187. * XmlSiteMapProvider.cs: add support for siteMapFile attribute.
  1188. 2007-04-24 Marek Habersack <[email protected]>
  1189. * CapabilitiesLoader.cs: Hashtables used as property containers
  1190. should not be case-insensitive as we now preload the property
  1191. hashes with default properties, to make the code work in case
  1192. browscap.ini is broken or missing. Instead, the keys are
  1193. lower-cased and trimmed before indexing the Hashtable.
  1194. Added all the missing capabilities to the defaultCaps Hashtable.
  1195. The returned Hashtable is not reversed in GetCapabilities anymore
  1196. - it might make the code faster, but it also makes it mismatch
  1197. browsers (e.g. Firefox 2.0 is mismatched for Mozilla 1.8).
  1198. All of the above fixes bug #81437.
  1199. * HttpRequest.cs: MS.NET throws HttpException for invalid paths,
  1200. not ArgumentNullException.
  1201. * HttpException.cs: wrap GetHtmlErrorMessage internals in
  1202. try/catch to capture possible exceptions in HttpContext.
  1203. * HttpContext.cs: IsCustomErrorEnabled is used from within
  1204. HttpException, make sure it gets the section in a safe way and
  1205. resorts to the default settings.
  1206. * HttpResponse.cs: HeaderEncoding is used in the same context as
  1207. above. Take the same precautions.
  1208. 2007-04-22 Joshua Tauberer <[email protected]>
  1209. * HttpParamsCollection.cs: Fix IndexOutOfRangeException.
  1210. 2007-04-19 Miguel de Icaza <[email protected]>
  1211. * BaseParamsCollection.cs (Get (string)): Call LoadInfo here to
  1212. fix #81385
  1213. 2007-04-17 Igor Zelmanovich <[email protected]>
  1214. * HttpException.cs: used GetBaseException() instead InnerException.
  1215. 2007-04-17 Igor Zelmanovich <[email protected]>
  1216. * HttpException.cs: shows message of InnerException in head of Page.
  1217. 2007-04-17 Igor Zelmanovich <[email protected]>
  1218. * HttpException.cs: fixed generated HTML formating.
  1219. 2007-04-17 Igor Zelmanovich <[email protected]>
  1220. * HttpContext.cs: GetGlobalResourceObject, GetLocalResourceObject
  1221. use case-insensitive ResourceManager
  1222. 2007-04-15 Marek Habersack <[email protected]>
  1223. * VirtualPathUtility.cs: converted to LF line endings and set the
  1224. svn:eol-style property to 'native'
  1225. 2007-04-13 Marek Habersack <[email protected]>
  1226. * SiteMap.cs: try to look up the current map node in providers
  1227. other than the current one. Patch from Mike Morano
  1228. <[email protected]>. Fixes bug #81366.
  1229. 2007-04-12 Vladimir Krasnov <[email protected]>
  1230. * HttpRequest.cs: fixed Params property to be lazy initialzation
  1231. collection
  1232. * added HttpParamsCollection.cs
  1233. 2007-04-11 Konstantin Triger <[email protected]>
  1234. * HttpRequest.cs: IsLocal should return true for loopback addresses.
  1235. 2007-04-10 Marek Habersack <[email protected]>
  1236. * HttpCookie.cs: format the output of HttpCookie.Values.ToString()
  1237. in the same way MS.NET does. Fixes bug #81333. Patch from Mike
  1238. Morano <[email protected]>.
  1239. * XmlSiteMapProvider.cs: add the NotifyFilters.Size to the
  1240. watcher flags, so that we watch for modifications to a file when
  1241. using Linux inotify.
  1242. * HttpApplicationFactory.cs: add the NotifyFilters.Size to the
  1243. watcher flags, so that we watch for modifications to a file when
  1244. using Linux inotify.
  1245. App_Code, App_Browsers and App_GlobalResources watchers must watch
  1246. for events with the '*' mask so that they can notice events
  1247. related to subdirectory creation/deletion.
  1248. Watch for subdirectory events with the App_Code watcher.
  1249. 2007-04-07 Marek Habersack <[email protected]>
  1250. * HttpException.cs: show a default custom error message if custom
  1251. errors are enabled.
  1252. Cleaned up the errors HTML, made it XHTML-compliant. Generated
  1253. HTML now uses inline CSS styles.
  1254. 2007-04-06 Marek Habersack <[email protected]>
  1255. * HttpUtility.cs: added a constant that contains the default query
  1256. parameter character.
  1257. ParseQueryString supports queries with both '&' and ';' parameter
  1258. separators.
  1259. 2007-04-05 Marek Habersack <[email protected]>
  1260. * CapabilitiesLoader.cs: Make sure that the capability names
  1261. (keys) are stored in lowercase.
  1262. 2007-04-05 Igor Zelmanovich <[email protected]>
  1263. * XmlSiteMapProvider.cs:
  1264. custom attributes of siteMapNode are loaded properly.
  1265. 2007-04-05 Marek Habersack <[email protected]>
  1266. * CapabilitiesLoader.cs: add a full default set of capabilities
  1267. for cases when browscap.ini is broken, missing or doesn't contain
  1268. definition for the client's User-Agent. Makes it possible to surf
  1269. asp.net sites from unsupported clients.
  1270. 2007-04-04 Juraj Skripsky <[email protected]>
  1271. * HttpApplicationFactory.cs: Make sure an web application is
  1272. shutdown only once (and Application_End in global.asax is called
  1273. only once as well). This is necessary because FileSystemWatcher
  1274. emits multiple events when e.g. global.asax is changed.
  1275. 2007-04-01 Vladimir Krasnov <[email protected]>
  1276. * HttpRequest.cs: fixed Headers property to use optimized
  1277. HeadersCollection
  1278. * WebROCollection.cs: used StringComparer.OrdinalIgnoreCase for
  1279. NET_2_0
  1280. * ServerVariablesCollection.cs: used lazy collection fill optimization
  1281. * added: HeadersCollection.cs, BaseParamsCollection.cs
  1282. 2007-04-01 Konstantin Triger <[email protected]>
  1283. * HttpContext.cs:
  1284. GetLocalResourceObject - should not prefix resources with 'Resources.'.
  1285. 2007-04-01 Konstantin Triger <[email protected]>
  1286. * BrowserCapabilities.cs: Default Browser (userAgent) property to 'Unknown'.
  1287. 2007-03-29 Vladimir Krasnov <[email protected]>
  1288. * HttpContext.cs: timeout methods removed from TARGET_J2EE compilation
  1289. * HttpContext.jvm.cs: added stubs for timeout methods
  1290. 2007-03-28 Igor Zelmanovich <[email protected]>
  1291. * StaticSiteMapProvider.cs:
  1292. GetChildNodes does not return null but SiteMapNodeCollection.EmptyCollection.
  1293. 2007-03-28 Konstantin Triger <[email protected]>
  1294. * BrowserCapabilities.cs:
  1295. 1. refactoring.
  1296. 2. Break recoursion in case 'browser' capability is not found.
  1297. 2007-03-28 Igor Zelmanovich <[email protected]>
  1298. * SiteMapNode.cs: fixed GetAllNodes method.
  1299. 2007-03-27 Igor Zelmanovich <[email protected]>
  1300. * XmlSiteMapProvider.cs: fixed:
  1301. resolve app-relative path from config such siteMapFile="~/Web.sitemap".
  1302. 2007-03-27 Igor Zelmanovich <[email protected]>
  1303. * SiteMapNode.cs:
  1304. * XmlSiteMapProvider.cs: fixed: Localize Site-Map Data.
  1305. 2007-03-26 Konstantin Triger <[email protected]>
  1306. * HttpRequest.cs: correctly handle null and empty virtual pathes in MapPath.
  1307. 2007-03-25 Vladimir Krasnov <[email protected]>
  1308. * HttpContext.cs: AppGlobalResourcesAssembly static member stored in
  1309. AppDomain for TARGET_JVM
  1310. 2007-03-24 Marek Habersack <[email protected]>
  1311. * HttpRuntime.cs: use ICalls.GetMachineConfigPath instead of
  1312. opening the machine.config file and getting its path.
  1313. * CapabilitiesLoader.cs: use HttpRuntime.MachineConfigurationDirectory
  1314. instead of opening the machine config file and getting its path.
  1315. 2007-03-23 Konstantin Triger <[email protected]>
  1316. * HttpApplication.cs: complete the pipeline in case of exception during
  1317. InitOnce() to avoid a deadlock.
  1318. 2007-03-22 Adar Wesley <[email protected]>
  1319. * BrowserCapabilities.cs: Added implementation for all capabilities.
  1320. changed implementation to throw when capability is not defined in browscaps.ini.
  1321. * CapabilitiesLoader.cs: fixed parent resultion bug. added internal support for
  1322. browser and browsers capabilities.
  1323. 2007-03-21 Vladimir Krasnov <[email protected]>
  1324. * HttpContext.jvm.cs, HttpRuntime.cs: cached instance of HttpRuntime
  1325. in context in addition to AppDomain
  1326. 2007-03-21 Vladimir Krasnov <[email protected]>
  1327. * HttpCookie.cs, HttpCookieCollection.cs: used OrdinalIgnoreCase
  1328. StringComparer for cookies and values collections
  1329. 2007-03-21 Vladimir Krasnov <[email protected]>
  1330. * HttpApplication.cs: refactred handlers configuration section as
  1331. member of class
  1332. 2007-03-20 Marek Habersack <[email protected]>
  1333. * HttpRequest.cs: implement AppRelativeCurrentExecutionFilePath.
  1334. 2007-03-18 Igor Zelmanovich <[email protected]>
  1335. * VirtualPathUtility.cs: fixed GetFileName(), GetExtension() methods.
  1336. 2007-03-18 Igor Zelmanovich <[email protected]>
  1337. * VirtualPathUtility.cs: fixed GetDirectory() method.
  1338. 2007-03-15 Marek Habersack <[email protected]>
  1339. * XmlSiteMapProvider.cs: handle cases with no default for the
  1340. reskey properly.
  1341. 2007-03-15 Igor Zelmanovich <[email protected]>
  1342. * HttpRequest.cs: fixed MapPath () method.
  1343. 2007-03-15 Igor Zelmanovich <[email protected]>
  1344. * VirtualPathUtility.cs: fixed ToAbsolute() method.
  1345. 2007-03-15 Igor Zelmanovich <[email protected]>
  1346. * VirtualPathUtility.cs: refactoring: class is shared with 1.x.
  1347. 2007-03-15 Marek Habersack <[email protected]>
  1348. * XmlSiteMapProvider.cs: add support for the enableLocalization
  1349. <siteMap> attribute and handle per-node localization resource
  1350. strings for explicit localization as well as the resourceKey
  1351. attribute to <siteMapNode> for implicit localization (closes bug
  1352. #81103).
  1353. * SiteMapNode.cs: add support for the resource keys and foreign
  1354. attributes.
  1355. Implement GetImplicitResourceString.
  1356. Add support for translation of the Title and Description
  1357. attributes (closes bug #81103) as well as foreign attributes.
  1358. 2007-03-15 Igor Zelmanovich <[email protected]>
  1359. * VirtualPathUtility.cs: fixed: works properly with appRelative path.
  1360. 2007-03-13 Marek Habersack <[email protected]>
  1361. * HttpApplicationFactory.cs: resources compiler no longer accepts
  1362. a boolean parameter.
  1363. * HttpRuntime.cs: Do not compile local resources here anymore.
  1364. * HttpContext.cs: if App_LocalResources assembly corresponding to
  1365. the virtual path is not found, compile it here.
  1366. Look up resources in the "Resources." class path.
  1367. 2007-03-13 Igor Zelmanovich <[email protected]>
  1368. * HttpUtility.cs: fixed HttpUtillity.HtmlAttributeEncode
  1369. '<' char must be encoded.
  1370. 2007-03-12 Vladimir Krasnov <[email protected]>
  1371. * CapabilitiesLoader.cs: added TARGET_JVM part of static members,
  1372. added caching to GetCapabilities method for performance improvement
  1373. 2007-03-12 Marek Habersack <[email protected]>
  1374. * XmlSiteMapProvider.cs: support custom site map providers. Fixes
  1375. bug #81115
  1376. 2007-03-06 Vladimir Krasnov <[email protected]>
  1377. * StaticFileHandler.cs: fixed ProcessRequest TARGET_JVM path,
  1378. if_modified_since fixed in WAR mode
  1379. 2007-02-25 Vladimir Krasnov <[email protected]>
  1380. * HttpRequest.jvm.cs: fixed LoadWwwForm, should distinguish between
  1381. query string and form values
  1382. 2007-02-21 Marek Habersack <[email protected]>
  1383. * HttpRuntime.cs: BinDirectory returns the bin directory
  1384. determined by the application host on the application startup.
  1385. * HttpApplicationFactory.cs: Watch the bin directory determined by
  1386. the application host on the application startup.
  1387. 2007-02-20 Vladimir Krasnov <[email protected]>
  1388. * HttpRequest.cs: fixed MapPath, removed TARGET_J2EE block that checks
  1389. war root symbol
  1390. 2007-02-19 Marek Habersack <[email protected]>
  1391. * HttpContext.cs: Make sure all the global resource objects are
  1392. sought in the Resources. namespace.
  1393. 2007-02-18 Eyal Alaluf <[email protected]>
  1394. * HttpContext.jvm.cs, HttpRequest.jvm.cs: Adapt for tunning under test
  1395. harness where we don't have a SevletRequest/Response.
  1396. 2007-02-13 Vladimir Krasnov <[email protected]>
  1397. * HttpApplication.cs: fixed InitOnce, httpModules section is global and
  1398. taken from the root web.config
  1399. 2007-02-12 Robert Jordan <[email protected]>
  1400. * HttpResponseStream.cs (BlockManager.EnsureCapacity):
  1401. don't call Marshal.ReAllocHGlobal on NULL because, unlike
  1402. realloc(3) and g_realloc, it doesn't support this semantic.
  1403. Fixes a part of bug #77075.
  1404. 2007-02-12 Marek Habersack <[email protected]>
  1405. * HttpRuntime.cs: support for preservation (.compiled) assembly
  1406. mapping files.
  1407. 2007-02-11 Vladimir Krasnov <[email protected]>
  1408. * HttpApplication.cs: added exception pass through from processAction
  1409. in j2ee portal
  1410. 2007-02-02 Marek Habersack <[email protected]>
  1411. * HttpApplicationFactory.cs: make code a bit more compact.
  1412. 2007-01-30 Vladimir Krasnov <[email protected]>
  1413. * HttpResponse.cs: fixed TARGET_J2EE part of Redirect for portlet
  1414. 2007-01-30 Adar Wesley <[email protected]>
  1415. * VirtualPathUtility.cs: fixed exceptions thrown from Combine
  1416. so they are compatible with MS.
  1417. 2007-01-25 Marek Habersack <[email protected]>
  1418. * HttpApplication.cs: Make sure that a specific culture is used
  1419. when setting the current thread culture.
  1420. 2007-01-21 Gonzalo Paniagua Javier <[email protected]>
  1421. * HttpServerUtility.cs: implement Execute/Transfer overloads that take
  1422. an IHttpHandler. Still missing the documented check for page IsCallback.
  1423. Also, on MS when i derive from Page for my IHttpHandler, it works fine,
  1424. but if I just implement IHttpHandler, an exception is thrown. This needs
  1425. to be researched but, by now, the IHttpHandler version works on mono
  1426. and fails on MS.
  1427. 2007-01-20 Miguel de Icaza <[email protected]>
  1428. * SiteMapNode.cs (GetExplicitResourceString): implement.
  1429. * HttpContext.cs (GetGlobalResourceObject): remove unused variable.
  1430. * StaticFileHandler.cs (ProcessRequest): remove unused variable.
  1431. * HttpApplication.cs (ProcessError): Remove unused variable.
  1432. * HttpServerUtility.cs (Execute): Add new overload and rename
  1433. parameter to match MS (as they are normative).
  1434. 2007-01-17 Marek Habersack <[email protected]>
  1435. * HttpApplicationFactory.cs: Implement code and framework to
  1436. enable automatic application restarts on changes to folders/files
  1437. in a generic way. Patch from Damien Churchill
  1438. <[email protected]>, thanks!
  1439. Make sure the top-level assemblies (App_Code, resources) are not
  1440. referenced twice should a compilation error occur.
  1441. 2007-01-16 Atsushi Enomoto <[email protected]>
  1442. * TraceData.cs : page could be null. Fixed bug #80480.
  1443. 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
  1444. * VirtualPathUtility.cs: fixed bugs in methods - GetDirectory and
  1445. GetExtension, according to the VirtualPathUtilityTest
  1446. 2007-01-15 Vladimir Krasnov <[email protected]>
  1447. * SiteMapProvider.cs: fixed IsAccessibleToUser, true if
  1448. SecurityTrimmingEnabled not enabled, true if Roles exists on node and
  1449. rolename is '*'
  1450. 2007-01-14 Eyal Alaluf <[email protected]>
  1451. * HttpRequest.jvm.cs, HttpContext.jvm.cs: Added TARGET_J2EE specific files.
  1452. * HttpContext.cs, HttpResponse.cs, HttpRequest.cs, HttpCookie.cs:
  1453. Add J2EE Portal support for TARGET_J2EE.
  1454. 2007-01-04 Vladimir Krasnov <[email protected]>
  1455. * HttpRequest.cs: fixed IsLocal, should check all ip addresses of host
  1456. 2007-01-05 Marek Habersack <[email protected]>
  1457. * HttpApplicationFactory.cs: Use the new app resources compiler.
  1458. * HttpRuntime.cs: Use the new app resources compiler.
  1459. * HttpContext.cs: Reimplement the GetGlobalResourceObject
  1460. methods, implement the GetLocalResourceObject methods.
  1461. * HttpResponse.cs: Implement the HeaderEncoding property.
  1462. 2007-01-04 Andreia Gaita <[email protected]>
  1463. * HttpRuntime.cs: Add check for NET_2_0 when initializing
  1464. WebConfigurationManager, build failing on 1.1 profile
  1465. 2007-01-04 Vladimir Krasnov <[email protected]>
  1466. * HttpApplicationFactory.cs, HttpRuntime.cs: WebConfigurationManager
  1467. should be initializaed before any possible access to it
  1468. 2007-01-04 Vladimir Krasnov <[email protected]>
  1469. * HttpRequest.cs: fixed Path property, add call of
  1470. Uri.UnescapeDataString in net_2_0
  1471. 2007-01-04 Vladimir Krasnov <[email protected]>
  1472. * HttpApplication.cs: fixed PreStart, should not set thread culture
  1473. to invariant
  1474. 2007-01-03 Vladimir Krasnov <[email protected]>
  1475. * HttpRequest.cs: fixed jvm version of MakeInputStream, should not
  1476. throw exception on zero content length
  1477. 2007-01-03 Vladimir Krasnov <[email protected]>
  1478. * SiteMap.cs, SiteMapNodeCollection.cs: TARGET_JVM of static members
  1479. 2006-12-20 Marek Habersack <[email protected]>
  1480. * HttpContext.cs: add internal setter for the Profile property.
  1481. * HttpApplicationFactory.cs: Added a shortcut version of
  1482. InvokeSessionEnd for use from the 2.0 SessionState code.
  1483. 2006-12-18 Vladimir Krasnov <[email protected]>
  1484. * HttpRequest.cs: fixed Path property, returns unescaped url
  1485. 2006-12-16 Marek Habersack <[email protected]>
  1486. * HttpRequest.cs: Fix for http exception during first visit to an
  1487. application when the visit path is not the app's virtual root.
  1488. 2006-12-12 Igor Zelmanovich <[email protected]>
  1489. * SiteMapProvider.cs.cs:
  1490. * XmlSiteMapProvider.cs: fixed: because more then one node with empty url
  1491. is allowed unique key is generated for each node.
  1492. 2006-12-12 Igor Zelmanovich <[email protected]>
  1493. * SiteMapProvider.cs.cs: fixed: IsAccessibleToUser resolvs relative url.
  1494. * StaticSiteMapProvider.cs: fixed: RemoveNode
  1495. 2006-12-12 Igor Zelmanovich <[email protected]>
  1496. * VirtualPathUtility.cs: fixed: Combine(), ToAbsolute() methods.
  1497. 2006-12-12 Igor Zelmanovich <[email protected]>
  1498. * VirtualPathUtility.cs: fixed: IsAppRelative() method.
  1499. 2006-12-07 Vladimir Krasnov <[email protected]>
  1500. * BrowserCapabilities.cs: fixed MSDomVersion property
  1501. 2006-12-05 Igor Zelmanovich <[email protected]>
  1502. * VirtualPathUtility.cs: fixed: ToAbsolute() method.
  1503. 2006-12-05 Gonzalo Paniagua Javier <[email protected]>
  1504. * HttpRequest.cs: call MapPath on the HttpWorkerRequest so that if
  1505. FilePath is changed we get the new physical path, not the one of the
  1506. original request. Fixes bug #80152.
  1507. 2006-12-03 Igor Zelmanovich <[email protected]>
  1508. * HttpWriter.cs: reverted r38835.
  1509. 2006-12-01 Gonzalo Paniagua Javier <[email protected]>
  1510. * HttpWriter.cs: remove unused WriteBytes method.
  1511. 2006-11-30 Gonzalo Paniagua Javier <[email protected]>
  1512. * HttpRequest.cs: physical path comes from GetFilePathTranslated to
  1513. avoid trimming in HttpRequest.MapPath.
  1514. 2006-11-29 Marek Habersack <[email protected]>
  1515. * HttpApplication.cs: Make use of the handler stack implemented
  1516. in HttpContext.
  1517. * HttpCacheVaryByHeaders.cs: Optionally omit the vary:* header
  1518. value in the 2.0 profile.
  1519. * HttpServerUtility.cs: Make use of the handler stack implemented
  1520. in HttpContext.
  1521. Implemented the UrlToken{Encode,Decode} 2.0 methods.
  1522. * HttpResponse.cs: Implemented the IsRequestBeingRedirected
  1523. property.
  1524. * HttpContext.cs: Implemented the CurrentHandler and PreviousHandler
  1525. methods, together with helper functions to handle the handler
  1526. stack.
  1527. GetSection(string) should be present only in the 2.0 profile.
  1528. * HttpCachePolicy.cs: implement the SetNoServerCaching,
  1529. SetNoStore, SetNoTransforms, SetValidUntilExpires and
  1530. SetOmitVaryStar methods.
  1531. Added code to set the no-store and no-transform options of the
  1532. Cache-Control header.
  1533. 2006-11-25 Gonzalo Paniagua Javier <[email protected]>
  1534. * HttpServerUtility.cs: don't prepend extra '?' when the original url
  1535. already has a query string. Fixes bug #80042.
  1536. 2006-11-24 Miguel de Icaza <[email protected]>
  1537. * HttpApplicationFactory.cs (InitType): Also look for "Web.Config"
  1538. casing here.
  1539. 2006-11-20 Marek Habersack <[email protected]>
  1540. * HttpApplication.cs: Added support for automatic detection of
  1541. user's preferred language.
  1542. 2006-11-16 Gonzalo Paniagua Javier <[email protected]>
  1543. * HttpApplication.cs: don't leak the directory name for non-local
  1544. connections.
  1545. 2006-11-13 Gonzalo Paniagua Javier <[email protected]>
  1546. * CapabilitiesLoader.cs: made the hasstable that contains the properties
  1547. for the brower case insensitive. Fixes bug #79795.
  1548. 2006-11-13 Gonzalo Paniagua Javier <[email protected]>
  1549. * HttpResponse.cs: fix typo that prevented Server.Execute from restoring
  1550. the initial output stream used. Closes bug #79916.
  1551. 2006-11-12 Marek Habersack <[email protected]>
  1552. * HttpContext.cs: Implemented the 2.0 RewritePath overloads.
  1553. 2006-11-08 Marek Habersack <[email protected]>
  1554. * HttpRuntime.cs: Moved the resource compiler results handling to
  1555. the resource compiler itself.
  1556. * HttpApplicationFactory.cs: Add invocation of the App_Code
  1557. compiler. Moved the resource compiler results handling to the
  1558. resource compiler itself. Removed compilation of the local
  1559. resources from here - it should be done only when a request
  1560. determines that the App_LocalResources directory exists.
  1561. 2006-11-07 Andrew Skiba <[email protected]>
  1562. * HttpRuntime.cs: TARGET_JVM ifdef
  1563. 2006-11-05 Andrew Skiba <[email protected]>
  1564. * SiteMapProvider.cs: don't iterate through Roles when they are null.
  1565. 2006-11-05 Vladimir Krasnov <[email protected]>
  1566. * HttpContext.cs: implemented Profile property
  1567. 2006-11-04 Gonzalo Paniagua Javier <[email protected]>
  1568. * HttpApplication.cs: the unexpected 'tick' exceptions can be an abort
  1569. exception due to timeout or end of the request.
  1570. 2006-10-18 Marek Habersack <[email protected]>
  1571. * HttpRuntime.cs: add support for compilation of local resources
  1572. at the start of request.
  1573. * HttpContext.cs: implement the GetGlobalResourceObject APIs
  1574. * HttpApplicationFactory.cs: include the bootstrap code for the
  1575. global/local resources compiler.
  1576. 2006-10-09 Marek Habersack <[email protected]>
  1577. * HttpApplication.cs: change the pipeline order for ASP.NET 2.0 to
  1578. comply with the Microsoft documentation.
  1579. 2006-09-28 Gonzalo Paniagua Javier <[email protected]>
  1580. * HttpApplication.cs: this makes the test run successfully. Still need
  1581. to figure out why that is null.
  1582. 2006-09-28 Gonzalo Paniagua Javier <[email protected]>
  1583. * HttpApplication.cs: band-aid patch to help debugging hang running 2.0
  1584. tests.
  1585. 2006-09-27 Gonzalo Paniagua Javier <[email protected]>
  1586. * HttpServerUtility.cs: 1.1 Execute(s) preserves the query string.
  1587. Thanks to Hubert Fongarnand. Fixes bug #79506.
  1588. 2006-09-26 Gonzalo Paniagua Javier <[email protected]>
  1589. * QueueManager.cs: if disposed, always return null for next request.
  1590. * HttpRuntime.cs: dispose the queue manager when shutting down the
  1591. domain. This will close pending requests with a 503.
  1592. * HttpApplication.cs: release the handler before marking the request
  1593. as completed. If in PipelineDone context is null, use
  1594. HttpContext.Current. Fixes some of those "Tick detected an unhandled
  1595. exception" errors printed out.
  1596. 2006-09-11 Andrew Skiba <[email protected]>
  1597. * XmlSiteMapProvider.cs: ifdef TARGET_JVM
  1598. 2006-09-11 Vladimir Krasnov <[email protected]>
  1599. * HttpWriter.cs: fixed WriteLine to work correctly in utf-16 encoding
  1600. 2006-09-08 Robert Jordan <[email protected]>
  1601. * TraceData.cs: fixed NRE if `sizes' is null, which may happen
  1602. if a page was unable to save its viewstate and size.
  1603. 2006-09-07 Andrew Skiba <[email protected]>
  1604. * HttpApplicationFactory.cs: ifdef the previous fix with TARGET_JVM to
  1605. pass compilation.
  1606. 2006-09-06 Gonzalo Paniagua Javier <[email protected]>
  1607. * HttpApplicationFactory.cs: watch web.config too. Fixes bug #78356.
  1608. 2006-09-05 Konstantin Triger <[email protected]>
  1609. * SiteMapProvider.cs: consider authorization section for access decision.
  1610. 2006-09-04 Igor Zelmanovich <[email protected]>
  1611. * HttpUtility.cs: fixed UrlPathEncode method.
  1612. 2006-08-31 Boris Kirzner <[email protected]>
  1613. * VirtualPathUtility.cs : pass parameters in correct order.
  1614. 2006-08-21 Gonzalo Paniagua Javier <[email protected]>
  1615. * HttpApplicationFactory.cs: handle the 'renamed' event too.
  1616. 2006-08-08 Vladimir Krasnov <[email protected]>
  1617. * HttpApplication.cs: fixed BeginProcessRequest, TARGET_JVM part
  1618. merged
  1619. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  1620. * HttpApplication.cs: don't leak local path names when a file is not
  1621. found.
  1622. 2006-06-21 Konstantin Triger <[email protected]>
  1623. * XmlSiteMapProvider.cs: if the url is relative, make it relative to the
  1624. context root.
  1625. 2006-06-07 Juraj Skripsky <[email protected]>
  1626. * HttpException.cs (GetHtmlizedErrorMessage): Beautify compilation error
  1627. page by showing multiple errors on separate lines.
  1628. 2006-06-05 Juraj Skripsky <[email protected]>
  1629. * HttpRequest.cs: simplify code around uri_builder (and rename
  1630. to url_components). Move storage of query_string into
  1631. uri_builder.Query and initialize it lazily using
  1632. worker_request.GetQueryStringRawBytes() or GetQueryString().
  1633. (QueryString): Use HttpUtility.ParseQueryString instead of
  1634. duplicating its functionality.
  1635. 2006-06-05 Juraj Skripsky <[email protected]>
  1636. * HttpUtility.cs (ParseQueryString): move core of
  1637. ParseQueryString into internal method to make it available to
  1638. HttpRequest.
  1639. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  1640. * HttpApplication.cs: assign the context when run from a thread not in
  1641. the threadpool. Patch by Andrew Skiba. Fixes bug #78583.
  1642. 2006-05-26 Gonzalo Paniagua Javier <[email protected]>
  1643. * HttpApplication.cs: context.Handler does not change for
  1644. HttpServerUtility.Execute, so moved setting it into the pipeline instead
  1645. of GetHandler.
  1646. 2006-05-17 Kazuki Oikawa <[email protected]>
  1647. * HttpUtility.cs: implemented ParseQueryString
  1648. 2006-05-10 Gonzalo Paniagua Javier <[email protected]>
  1649. * HttpUtility.cs: get rid of TryParseHexa.
  1650. 2006-04-25 Gonzalo Paniagua Javier <[email protected]>
  1651. * HttpApplicationFactory.cs: make sure that the application start event
  1652. is run before any request is processed.
  1653. 2006-04-24 Gonzalo Paniagua Javier <[email protected]>
  1654. * HttpServerUtility.cs: don't reset the query string in Execute() when
  1655. the path does not contain it and we have one from the previous request.
  1656. Fixes bug #78177.
  1657. 2006-04-20 Andrew Skiba <[email protected]>
  1658. * SiteMapNode.cs: fix few null reference exceptions
  1659. 2006-04-18 Gonzalo Paniagua Javier <[email protected]>
  1660. * HttpResponse.cs:
  1661. (TransmitFile): make sure we can read the file before buffering it.
  1662. 2006-04-18 Gonzalo Paniagua Javier <[email protected]>
  1663. * HttpApplicationFactory.cs: don't fail on events that are not
  1664. EventHandlers. Patch by Matthew Metnetsky.
  1665. 2006-04-11 Andrew Skiba <[email protected]>
  1666. * HttpRequest.cs: remove code duplication (see UrlUtils.Combine)
  1667. 2006-04-10 Gonzalo Paniagua Javier <[email protected]>
  1668. * HttpUtility.cs: allow "%%" as a escape for '%' and ignore invalid
  1669. hexadecimal characters. Based on a patch by Vladimir Krasnov.
  1670. 2006-04-09 Gonzalo Paniagua Javier <[email protected]>
  1671. * HttpWriter.cs: only keep the byte buffer around if its size is less
  1672. than or equals to 32K.
  1673. 2006-04-08 Miguel de Icaza <[email protected]>
  1674. * HttpWriter.cs (Write): Added missing check for null string as
  1675. something is now calling it like that.
  1676. 2006-03-27 Joshua Tauberer <[email protected]>
  1677. * HttpWriter.cs: Avoid creation of a byte[] on each Write()
  1678. by reusing and resizing a private array.
  1679. 2006-04-07 Gonzalo Paniagua Javier <[email protected]>
  1680. * HttpRequest.cs: the field content_length can be < 0 and then we try to
  1681. read when there's no data and block.
  1682. 2006-04-05 Andrew Skiba <[email protected]>
  1683. * HttpUtility: UrlEncode and UrlEncodeUnicode logic unified, behaviour
  1684. fixed to match dotnet and http://rfc.net/rfc1738.html
  1685. 2006-03-30 Konstantin Triger <[email protected]>
  1686. * HttpApplicationFactory.cs: refactoring: remove static modifier from session_end field.
  1687. Does not check the behavior as HttpApplicationFactory is a singleton.
  1688. 2006-03-27 Gonzalo Paniagua Javier <[email protected]>
  1689. * HttpUtility.cs: UrlDecode does not throw if an hexadecimal sequence
  1690. fails to parse as an integer. Fixes bug #77931.
  1691. 2006-03-23 Gonzalo Paniagua Javier <[email protected]>
  1692. * HttpResponse.cs: more fixes for CacheControl: MS allows to set it to
  1693. null and "" and the getter value does not completely depend on Cache.
  1694. * HttpRequest.cs: fail validating the request input if there's a control
  1695. character after a '<'. Fixes XSS_Null test.
  1696. All System.Web tests pass again.
  1697. 2006-03-22 Robert Jordan <[email protected]>
  1698. * HttpCachePolicy.cs: fix the Cache-control header. Fixes bug #77826.
  1699. 2006-03-22 Chris Toshok <[email protected]>
  1700. * HttpApplication.cs: fix typo - AuthenticateRequest =>
  1701. PostAuthenticateRequest.
  1702. 2006-03-21 Gonzalo Paniagua Javier <[email protected]>
  1703. * ChangeLog:
  1704. * HttpRequest.cs: revert part of r58229.
  1705. 2006-03-21 Vladimir Krasnov <[email protected]>
  1706. * ServerVariablesCollection.cs: fixed "URL" variable, it should not
  1707. return path info
  1708. 2006-03-20 Gonzalo Paniagua Javier <[email protected]>
  1709. * HttpRequest.cs:
  1710. (CheckString): style and don't index the string twice per iteration.
  1711. 2006-03-19 Gonzalo Paniagua Javier <[email protected]>
  1712. * TempFileStream.cs: a FileStream that removes the file once
  1713. it is disposed.
  1714. * HttpRequest.cs: support for writing request data to on-disk
  1715. files if the request is longer than the threshold specified in the
  1716. configuration files. In mono this will work for 1.x and 2.0, while with
  1717. MS this only works for 2.0.
  1718. 2006-03-18 Robert Jordan <[email protected]>
  1719. * HttpCachePolicy.cs: expose the validation callbacks.
  1720. Fixes bug #77825.
  1721. 2006-03-18 Gonzalo Paniagua Javier <[email protected]>
  1722. * HttpApplication.cs: fix upper bound when iterating through the module
  1723. collection.
  1724. 2006-03-16 Gonzalo Paniagua Javier <[email protected]>
  1725. * HttpRequest.cs: use the provided content encoding to decode the file
  1726. name. Fixes bug #77714.
  1727. 2006-03-15 Gonzalo Paniagua Javier <[email protected]>
  1728. * HttpResponse.cs: allow setting a Cache-Control header through
  1729. AppendHeader. Fixes bug #77775.
  1730. 2006-03-15 Chris Toshok <[email protected]>
  1731. * XmlSiteMapProvider.cs (RemoveProvider): oops, no override.
  1732. * StaticSiteMapProvider.cs (AddNode): call MapUrl.
  1733. (FindSiteMapNode): same.
  1734. 2006-03-15 Chris Toshok <[email protected]>
  1735. * SiteMapProvider.cs (ReturnNodeIfAccessible): new function,
  1736. either return the node or throw InvalidOperationException.
  1737. (get_RootNode): use ReturnNodeIfAccessible.
  1738. (IsAccessibleToUser): flesh this out a bit, and add comments on
  1739. how the rest of the implementation should be written.
  1740. (FindSiteMapNodeFromKey): implement to match MS behavior, docs be
  1741. damned.
  1742. * XmlSiteMapProvider.cs: corcompare work.
  1743. * StaticSiteMapProvider.cs (AddNode): Add a check to see if node
  1744. == RootNode. Not sure if this is actually correct, but it's
  1745. required given our implementation of XmlSiteMapProvider. without
  1746. this check, we end up assigning RootNode.ParentNode == RootNode,
  1747. which makes for an infinite loop when we traverse up the tree.
  1748. 2006-03-15 Vladimir Krasnov <[email protected]>
  1749. * HttpRequest.cs: fixed MakeInputStream method under TARGET_JVM,
  1750. fixed if content lenght value is less that byte received
  1751. 2006-03-10 Chris Toshok <[email protected]>
  1752. * StaticSiteMapProvider.cs (UrlToNode): this entire file is #if
  1753. NET_2_0, no need to embed another #if NET_2_0.
  1754. * SiteMapProvider.cs (AddNode): throw NotImplementedException.
  1755. (FindSiteMapNode): with null context, return null. don't throw
  1756. ArgumentNullException.
  1757. (RemoveNode): throw NotImplementedException.
  1758. (IsAccessibleToUser): check arguments to make test pass. still
  1759. lacking the method's actual functionality.
  1760. (ResourceKey): add missing property.
  1761. 2006-03-10 Chris Toshok <[email protected]>
  1762. * HttpRequest.cs (CheckString): add back in the check for \xff1c
  1763. that i took out. oops.
  1764. 2006-03-10 Chris Toshok <[email protected]>
  1765. * HttpRequest.cs (CheckString): implement as described in
  1766. Shackow's "Professional ASP.NET 2.0 Security, Membership, and Role
  1767. Management", page 310.
  1768. 2006-03-08 Chris Toshok <[email protected]>
  1769. * SiteMap.cs: clean this up a bunch. use the SiteMapSection to
  1770. initialize the provider collection, and don't add a provider.
  1771. web.config handles that for us. Also, don't always return true
  1772. from get_Enabled.
  1773. 2006-02-28 Chris Toshok <[email protected]>
  1774. * HttpCookieMode.cs: corcompare work.
  1775. * ProcessShutdownReason.cs: same.
  1776. * SiteMapNodeCollection.cs: same.
  1777. * SiteMapNode.cs: same.
  1778. * SiteMapProvider.cs: same.
  1779. * HttpCacheRevalidation.cs: same.
  1780. * HttpCacheability.cs: same.
  1781. * StaticSiteMapProvider.cs: same.
  1782. * HttpValidationStatus.cs: same.
  1783. 2006-02-06 Gonzalo Paniagua Javier <[email protected]>
  1784. * DefaultHttpHandler.cs: New file.
  1785. 2006-02-01 Chris Toshok <[email protected]>
  1786. * SiteMap.cs: use GetSection instead of GetWebApplicationSection.
  1787. 2006-02-01 Chris Toshok <[email protected]>
  1788. * HttpApplication.cs: CONFIGURATION_2_0 => NET_2_0, and use
  1789. GetSection instead of GetWebApplicationSection.
  1790. * HttpApplication.jvm.cs: same.
  1791. * HttpApplicationFactory.cs: same.
  1792. * HttpContext.cs: same.
  1793. * CapabilitiesLoader.cs: same.
  1794. * QueueManager.cs: same.
  1795. * HttpRuntime.cs: same.
  1796. * TraceManager.cs: same.
  1797. * HttpRequest.cs: same.
  1798. 2006-01-31 Gonzalo Paniagua Javier <[email protected]>
  1799. * HttpApplication.cs: keep any exception that happens during
  1800. initialization.
  1801. 2006-01-30 Gonzalo Paniagua Javier <[email protected]>
  1802. * HttpDataTransferMode.cs: Removed file.
  1803. * HttpRequestPriority.cs: Removed file.
  1804. * ApplicationShutdownReason.cs:
  1805. * SiteMap.cs:
  1806. * HttpRuntime.cs:
  1807. * HttpApplication.cs: minor class status fixes.
  1808. 2006-01-30 Gonzalo Paniagua Javier <[email protected]>
  1809. * VirtualPathUtility.cs: done with all the not implemented methods.
  1810. 2006-01-26 Gonzalo Paniagua Javier <[email protected]>
  1811. * HttpResponse.cs: use UInt64.Parse for content length. In AppendHeader,
  1812. set cache_control through the property to update the cachebility
  1813. accordingly. When using the cached headers, don't add again all the
  1814. headers to that collection.
  1815. * HttpCacheVaryByParams.cs: if there are no params, return null.
  1816. Otherwise we get an empty 'Vary' header.
  1817. 2006-01-25 Chris Toshok <[email protected]>
  1818. * HttpApplication.cs (Start): wrap InitOnce in a try/catch block,
  1819. and if there's a configuration error, output it and end things
  1820. immediately.
  1821. 2006-01-24 Gonzalo Paniagua Javier <[email protected]>
  1822. * HttpRequest.cs: fixed the file path when RewritePath is used. Also
  1823. add the PathInfo to the Url. Fixes bug #77291.
  1824. 2006-01-22 Chris Toshok <[email protected]>
  1825. * HttpRequest.cs (ReadBoundary): remove two unused variables to
  1826. quiet mcs.
  1827. (IsBoundary): remove unused method.
  1828. * MimeTypes.cs (.cctor): use a 2.0 friendly form of the Hashtable
  1829. ctor to silence a warning.
  1830. * HttpCacheVaryByHeaders.cs (.ctor): same.
  1831. * HttpCacheVaryByParams.cs (.ctor): same.
  1832. * StaticSiteMapProvider.cs (UrlToNode): same.
  1833. 2006-01-22 Konstantin Triger <[email protected]>
  1834. * HttpWorkerRequest.cs: ensure case insensitivity in header search.
  1835. 2006-01-19 Konstantin Triger <[email protected]>
  1836. * HttpApplication.jvm.cs: merge HttpApplication.cs changes.
  1837. 2006-01-17 Chris Toshok <[email protected]>
  1838. * CapabilitiesLoader.cs (Init): use WebConfigurationManager in the
  1839. CONFIGURATION_2_0 case.
  1840. * HttpRuntime.cs (MachineConfigurationDirectory): same.
  1841. 2006-01-16 Chris Toshok <[email protected]>
  1842. * HttpApplicationFactory.cs: call WebConfigurationManager.Init in
  1843. the CONFIGURATION_2_0 case.
  1844. 2006-01-13 Gonzalo Paniagua Javier <[email protected]>
  1845. * HttpWriter.cs: made Write (char) less memory hungry. Thanks to Mike
  1846. Glenn for pointing this out.
  1847. 2006-01-11 Gonzalo Paniagua Javier <[email protected]>
  1848. * HttpApplicationFactory.cs: fix condition for ContextAvailable.
  1849. 2006-01-11 Vladimir Krasnov <[email protected]>
  1850. * HttpResponse.cs: removed TARGET_JVM block from End
  1851. * GetJavaTextReader: Merged TARGET_JVM block from LoadFile
  1852. to GetJavaTextReader
  1853. 2006-01-11 Vladimir Krasnov <[email protected]>
  1854. * HttpRequest.cs: removed TARGET_JVM block from MapPath
  1855. 2006-01-11 Vladimir Krasnov <[email protected]>
  1856. * HttpRequest.cs: little fix in MapPath(), virtualPath.Replace
  1857. return value wasnt stored.
  1858. 2006-01-10 Gonzalo Paniagua Javier <[email protected]>
  1859. * HttpResponse.cs: typo in comment.
  1860. * HttpApplicationFactory.cs:
  1861. * HttpApplication.cs: don't discard the application used for running the
  1862. Application_Start event to allow for Redirect/Transfer to be used. Fail
  1863. to get the request/response from the application object as MS does (it
  1864. can still be retrieved through HttpContext.Current.blah). Fixes
  1865. bug #77162.
  1866. 2006-01-09 Vladimir Krasnov <[email protected]>
  1867. * CapabilitiesLoader.cs: Merged TARGET_JVM parts in LoadFile
  1868. from /main/9
  1869. * HttpException.cs: Merged TARGET_JVM parts in GetHtmlizedErrorMessage
  1870. from /main/13
  1871. * HttpRequest.cs: Merged TARGET_JVM parts in MapPath from /main/29
  1872. * HttpResponse.cs: Merged TARGET_JVM parts in End() from /main/30
  1873. * StaticFileHandler.cs: Merged TARGET_JVM parts in ProcessRequest
  1874. from /main/7
  1875. 2006-01-08 Konstantin Triger <[email protected]>
  1876. * BrowserCapabilities.cs, HttpBrowserCapabilities.cs,
  1877. HttpResponseStream.cs: TARGET_JVM changes to let the compilation
  1878. pass with csc 1.1.
  1879. 2006-01-04 Chris Toshok <[email protected]>
  1880. * HttpContext.cs (IsCustomErrorEnabled): add CONFIGURATION_2_0
  1881. code. use a nasty 'using' hack to map the 2.0 CustomErrorsMode to
  1882. the 1.x CustomErrorMode name.
  1883. (IsDebuggingEnabled): add CONFIGURATION_2_0 code.
  1884. (ConfigTimeout): add CONFIGURATION_2_0 code.
  1885. * HttpRequest.cs (MakeInputStream): add CONFIGURATION_2_0 code.
  1886. * HttpApplication.cs (RedirectCustomError): add CONFIGURATION_2_0
  1887. code.
  1888. * SiteMap.c (Init): use
  1889. WebConfigurationManager.GetWebApplicationSection.
  1890. 2005-12-21 Miguel de Icaza <[email protected]>
  1891. * HttpUtility.cs (UrlEncodeUnicode): The generated encoding of
  1892. unicode values must be in %XXXX format, not %XX sometimes.
  1893. 2005-12-08 Robert Jordan <[email protected]>
  1894. * MimeTypes.cs: added entry for "jpg".
  1895. 2005-12-07 Gonzalo Paniagua Javier <[email protected]>
  1896. * HttpRequest.cs: only read up to content-length when provided. Patch
  1897. by Peter Teichman.
  1898. 2005-12-06 Gonzalo Paniagua Javier <[email protected]>
  1899. * HttpCookie.cs: fixed the set_Secure. Closes bug #76906.
  1900. 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
  1901. * HttpResponseStream.cs: flush the filter stream before closing.
  1902. Patch by Geir Bergum that fixes bug #76753.
  1903. 2005-11-28 Chris Toshok <[email protected]>
  1904. * HttpContext.cs (Profile): remove the #if false from around this,
  1905. as we now have the ProfileBase type.
  1906. (GetConfig): add CONFIGURATION_2_0 version.
  1907. (GetSection): add CONFIGURATION_2_0 version.
  1908. 2005-11-28 Chris Toshok <[email protected]>
  1909. * TraceManager.cs (..ctor): CONFIGURATION_2_0 work.
  1910. * QueueManager.cs (..ctor): CONFIGURATION_2_0 work.
  1911. * HttpRequest.cs (AnonymousID): add 2.0 property.
  1912. (MakeInputStream): CONFIGURATION_2_0 work.
  1913. * HttpApplication.cs (InitOnce): change around the
  1914. CONFIGURATION_2_0 stuff since we need additional Culture foo for
  1915. it.
  1916. 2005-11-27 Chris Toshok <[email protected]>
  1917. * HttpApplication.cs (InitOnce): add Configuration_2.0 code.
  1918. (GetHandler): same.
  1919. 2005-11-26 Miguel de Icaza <[email protected]>
  1920. * HttpResponseStream.cs: Do not try to write zero bytes.
  1921. 2005-11-24 Miguel de Icaza <[email protected]>
  1922. * WebROCollection.cs: Do not add an empty "=" to the query string
  1923. if the key is empty or null.
  1924. 2005-11-21 Gonzalo Paniagua Javier <[email protected]>
  1925. * WebROCollection.cs: override ToString and generate a query string from
  1926. the key/value pairs. Fixes bug #76779.
  1927. 2005-11-21 Gonzalo Paniagua Javier <[email protected]>
  1928. * HttpServerUtility.cs: prevent possible nullref in GetLastError().
  1929. 2005-11-07 Jason Diamond <[email protected]>
  1930. * HttpRequest.cs: Don't throw exception when Content-Length doesn't
  1931. match length of POSTed data. Also, allow charset parameter on
  1932. Content-Type header when type is "application/x-www-form-urlencoded".
  1933. 2005-11-07 Gonzalo Paniagua Javier <[email protected]>
  1934. * WebROCollection.cs: add an ID for the collection. Page needs it.
  1935. 2005-11-03 Gonzalo Paniagua Javier <[email protected]>
  1936. * HttpRequest.cs: no need to allocate the buffer when all the content
  1937. is preloaded.
  1938. 2005-11-02 Gonzalo Paniagua Javier <[email protected]>
  1939. * HttpApplication.cs: ignore TAE in ProcesssError. The Error event might
  1940. redirect or transfer and that causes a TAE to be thrown. Fixes
  1941. bug #76573.
  1942. 2005-11-01 Chris Toshok <[email protected]>
  1943. * VirtualPathUtility.cs: new (partial implementation) to get some
  1944. MS provider examples compiling.
  1945. 2005-10-31 Gonzalo Paniagua Javier <[email protected]>
  1946. * HttpContext.cs: added a new internal overload for ClearError.
  1947. 2005-10-24 Gonzalo Paniagua Javier <[email protected]>
  1948. * HttpRuntime.cs: invoke callbacks on private items in the cache before
  1949. calling disposing the app. factory. This way we get notifications of
  1950. removal for all sessions stored in the cache (InProc only).
  1951. 2005-10-19 Gonzalo Paniagua Javier <[email protected]>
  1952. * HttpResponseStream.cs: reworked buffering so that adjacents blocks are
  1953. written at once. Also fix bug #76460.
  1954. 2005-10-18 Gonzalo Paniagua Javier <[email protected]>
  1955. * HttpResponseStream.cs: when allocating a chunk larger than the
  1956. default chunk size, mark all the blocks as taken. Fixes bug
  1957. #76452.
  1958. 2005-10-17 Gonzalo Paniagua Javier <[email protected]>
  1959. * HttpResponse.cs: use HaveFilter instead of Filter.
  1960. * HttpResponseStream.cs: allocate chunks of the requested size
  1961. when it's > 32KB. Fixes bug #76460.
  1962. 2005-10-14 Sebastien Pouliot <[email protected]>
  1963. * ServerVariablesCollection.cs: Added a demand for
  1964. SerializationFormatter on GetObjectData method (even if it's not
  1965. really required in this case as it remove warnings from gendarme.
  1966. 2005-10-07 Gonzalo Paniagua Javier <[email protected]>
  1967. * HttpResponse.cs:
  1968. * HttpRequest.cs: buglets in error checking in Filter.
  1969. 2005-10-03 Gonzalo Paniagua Javier <[email protected]>
  1970. * OutputFilterStream.cs: proxy class for response filters.
  1971. * HttpResponse.cs: moved all the actual write operations into the
  1972. response stream. Handle response filtering. When caching, get the
  1973. actual length of the data, not the buffer length.
  1974. * HttpApplication.cs: if there's no error, invoke the filters before
  1975. updating the request cache.
  1976. * HttpResponseStream.cs: new Filter property. SendChunkSize is moved
  1977. here and now supports writing the final chunk. New method ApplyFilter
  1978. that filters the existing buckets and replaces them with the filtered
  1979. ones. Modified Write to deal with buffering and filtering.
  1980. 2005-10-03 Gonzalo Paniagua Javier <[email protected]>
  1981. * HttpResponseStream.cs: allow for writes of more than 32K at once.
  1982. 2005-10-03 Gonzalo Paniagua Javier <[email protected]>
  1983. * InputFilterStream.cs proxy stream for use by filters.
  1984. * HttpRequest.cs: implement input filtering.
  1985. 2005-10-02 Eyal Alaluf <[email protected]>
  1986. * HttpApplication.jvm.cs - Workaround for use of yield in
  1987. HttpApplication.cs HttpRuntime.cs: AppDomain.Unload is not supported
  1988. * under TARGET_J2EE
  1989. 2005-09-30 Gonzalo Paniagua Javier <[email protected]>
  1990. * HttpResponseStream.cs: remove dead code.
  1991. 2005-09-29 Sebastien Pouliot <[email protected]>
  1992. * HttpClientCertificate.cs: Remove last TODO on IsValid. This now
  1993. works when using XSP. Now use flags to determine valid/presence.
  1994. 2005-09-26 Chris Toshok <[email protected]>
  1995. * HttpApplicationFactory.cs (OnAppFileChanged): add null checks
  1996. for bin_watcher and app_file_watcher so we don't get NRE's here.
  1997. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  1998. * BrowserCapabilities.cs: don't rely on the win32 attribute to be there.
  1999. Just use the platform to determine whether Win32 is true or not. Fixes
  2000. bug #74777.
  2001. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  2002. * HttpApplication.cs: fixed typo when setting UI culture. Closes bug
  2003. #76189.
  2004. 2005-09-22 Gonzalo Paniagua Javier <[email protected]>
  2005. * HttpRequest.cs: new SetFilePath() that does not conflict with
  2006. SetCurrentExePath. Now when transfering from a page to another,
  2007. CurrentExecutionFilePath and FilePath are correct.
  2008. 2005-09-21 Gonzalo Paniagua Javier <[email protected]>
  2009. * TraceContext.cs: add new method to store size of controls.
  2010. * TraceData.cs: render control size.
  2011. * HttpResponse.cs: new internal method to get the number of bytes of
  2012. buffered output.
  2013. * HttpResponseStream.cs: added Length property to the Buckets and new
  2014. GetTotalLength.
  2015. 2005-09-20 Gonzalo Paniagua Javier <[email protected]>
  2016. * TraceData.cs: we have to change the method of getting a control render
  2017. size. MS does not do this or otherwise would run into the same bug
  2018. (#76051) that this patch fixes. This is temporarily setting the size
  2019. to 0.
  2020. 2005-09-20 Gonzalo Paniagua Javier <[email protected]>
  2021. * HttpResponseStream.cs: implemented Send(stream) for files. Fixes bug
  2022. #76145.
  2023. 2005-09-19 Gonzalo Paniagua Javier <[email protected]>
  2024. * HttpRuntime.cs: catch errors when compiling global.asax and
  2025. initializing the application. Fixes bug #76090.
  2026. 2005-09-14 Sebastien Pouliot <[email protected]>
  2027. * BrowserCapabilities.cs: Fixed changes (in 2.0) with versions. Fixed
  2028. compare with "True" (culture and case sensitivity).
  2029. * HttpApplicationState.cs: Added LinkDemand for Minimal. Use the
  2030. internal HttpStaticObjectsCollection ctor to avoid the UnmanagedCode
  2031. demand.
  2032. * HttpContext.cs: Added LinkDemand for Minimal. Added 2.0 properties
  2033. and methods to test CAS on them.
  2034. * HttpRequest.cs: Added LinkDemand for Minimal. Ensure we return
  2035. proper values when worker_request is null.
  2036. * HttpResponse.cs: Added LinkDemand for Minimal. Ensure we return
  2037. proper values when context or WorkerRequest is null. Added 2.0
  2038. properties and methods to test CAS on them.
  2039. * HttpRuntime.cs: Added LinkDemand for Minimal. Added PathDiscovery
  2040. demands for properties returning directories. Added demand for High
  2041. level on AppDomainAppId and AppDomainId properties, Low level on
  2042. IsOnUNCShare, Medium level on ProcessRequest and a demand for
  2043. UnmanagedCode on UnloadAppDomain method. Constructor also has a
  2044. UnmanagedCode demand for 1.x.
  2045. * HttpStaticObjectsCollection.cs: Added LinkDemand for Minimal. Added
  2046. a UnmanagedCode demand to public ctor. Added internal ctor without the
  2047. demand. Changed Serialize and Deserialize methods to public for 2.0.
  2048. 2005-09-14 Sebastien Pouliot <[email protected]>
  2049. * HttpWorkerRequest.cs: Removed TODO for 2.0 APIs and return the
  2050. default values for them.
  2051. 2005-09-13 Sebastien Pouliot <[email protected]>
  2052. * HttpApplication.cs: : Added LinkDemand and InheritanceDemand (class)
  2053. for Minimal. Changed AssemblyLocation to a property (so it doesn't
  2054. require special permission, PathDiscovery) to create an instance.
  2055. Protected Modules property with a Demand for High level. Added some
  2056. missing HttpException for null context.
  2057. * HttpServerUtility.cs: Added LinkDemand for Minimal. Added demands
  2058. for UnmanagedCode on all CreateObject* methods. Added demand for
  2059. Medium level on MachineName and ScriptTimeout properties. Added new
  2060. overloaded Transfer method (2.0) to test CAS on it.
  2061. * HttpUtility.cs: Added LinkDemand for Minimal. Added [Obsolete] to
  2062. ctor (2.0). Changed some return values when 'count' is 0. Added
  2063. ParseQueryString (overload) methods for 2.0 (to enabled CAS testing on
  2064. them).
  2065. * HttpWorkerRequest.cs: Added LinkDemand and InheritanceDemand (class)
  2066. for Minimal. Added RequestTraceIdentifier and RootWebConfigPath (2.0)
  2067. properties, GetPreloadedEntityBody, GetPreloadedEntityBodyLength,
  2068. GetTotalEntityBodyLength and ReadEntityBody (2.0) methods to test CAS
  2069. on them. Fixed SendResponseFromMemory to ignore IntPtr.Zero (used in
  2070. tests without failures).
  2071. * ServerVariablesCollection.cs: Fixed loadServerVariablesCollection
  2072. when HttpWorkerRequest is null.
  2073. * TraceContext.cs: Added LinkDemand for Minimal. Fixed default Mode
  2074. (SortByTime). Added new (2.0) TraceFinished event to test CAS on it.
  2075. 2005-09-13 Sebastien Pouliot <[email protected]>
  2076. * HttpBrowserCapabilities.cs: Added LinkDemand and InheritanceDemand
  2077. (class) for Minimal. Note that current MCS has problem compiling
  2078. security attributes on partial class (bug #75969).
  2079. * HttpCachePolicy.cs: Added LinkDemand for Minimal. Added 2.0 methods
  2080. (stub) to enable CAS tests on them.
  2081. * HttpCacheVaryByHeaders.cs: Added LinkDemand for Minimal.
  2082. * HttpCacheVaryByParams.cs: Added LinkDemand for Minimal.
  2083. * HttpClientCertificate.cs: Added LinkDemand and InheritanceDemand
  2084. (class) for Minimal.
  2085. * HttpCookie.cs: Added LinkDemand for Minimal.
  2086. * HttpCookieCollection.cs: Added LinkDemand for Minimal.
  2087. * HttpFileCollection.cs: Added LinkDemand for Minimal.
  2088. * HttpModuleCollection.cs: Added LinkDemand for Minimal.
  2089. * HttpPostedFile.cs: Added LinkDemand for Minimal.
  2090. * HttpRequestPriority.cs: Fix enum values.
  2091. * HttpWriter.cs: Added LinkDemand for Minimal.
  2092. 2005-09-13 Sebastien Pouliot <[email protected]>
  2093. * ProcessInfo.cs: Added LinkDemand and InheritanceDemand (class) for
  2094. Minimal.
  2095. * ProcessModelInfo.cs: Added LinkDemand and InheritanceDemand (class)
  2096. for Minimal. Methods GetCurrentProcessInfo and GetHistory are also
  2097. protected by Demand for High level.
  2098. 2005-09-13 Sebastien Pouliot <[email protected]>
  2099. * HttpCompileException.cs: Added new public ctors and [Serializable]
  2100. to 2.0. Added new Message property and GetObjectData (protected by a
  2101. demand for SerializationFormatter) for 2.0. Fixed line-ending.
  2102. * HttpException.cs: Added LinkDemand and InheritanceDemand (class) for
  2103. Minimal. Renamed parameters to match documentation.
  2104. * HttpParseException.cs: Added LinkDemand (class) for Minimal. Added
  2105. demand for SerializationFormatter on GetObjectData method. Fixed
  2106. line-ending.
  2107. * HttpRequestValidationException.cs: Added new public ctors and
  2108. [Serializable] to 2.0. Added LinkDemand for Minimal.
  2109. * HttpUnhandledException.cs: Added new public ctors and [Serializable]
  2110. to 2.0. Removed unused internal ctor. Added LinkDemand for Minimal.
  2111. Fixed line-ending.
  2112. 2005-09-13 Sebastien Pouliot <[email protected]>
  2113. * HttpResponseSubstitutionCallback.cs: New. 2.0 delegate.
  2114. * TraceContextEventArgs.cs: New. 2.0 class.
  2115. * TraceContextEventHandler.cs: New. 2.0 delegate.
  2116. 2005-09-13 Gonzalo Paniagua Javier <[email protected]>
  2117. * HttpRequest.cs: use GetServerName instead of GetLocalAddress when
  2118. building the Url.
  2119. 2005-09-09 Gonzalo Paniagua Javier <[email protected]>
  2120. * HttpRequest.cs: fix the indexer.
  2121. 2005-09-08 Gonzalo Paniagua Javier <[email protected]>
  2122. * HttpPostedFile.cs: fixes in Seek and Position.
  2123. 2005-09-08 Sebastien Pouliot <[email protected]>
  2124. * HttpRequest.cs: Make sure the MemoryStream created have their
  2125. contents marked as public - or else you can't call GetBuffer on them!
  2126. 2005-09-08 Miguel de Icaza <[email protected]>
  2127. * HttpRequest.cs: Patch from Juraj Skripsky <[email protected]> that
  2128. fixes UrlReferrer.
  2129. 2005-09-08 Gonzalo Paniagua Javier <[email protected]>
  2130. * HttpPostedFile.cs: Make this class actually work. Every time we read,
  2131. we have to position the underlying stream.
  2132. 2005-09-08 Gonzalo Paniagua Javier <[email protected]>
  2133. * HttpRequest.cs: reading multipart/form-data works again.
  2134. 2005-09-08 Eyal Alaluf <[email protected]>
  2135. * HttpRequest.cs: Under TARGET_JVM the input stream must allow GetBuffer.
  2136. 2005-09-08 Eyal Alaluf <[email protected]>
  2137. * HttpApplicationFactory.cs: TARGET_J2EE/JVM fix.
  2138. 2005-09-07 Gonzalo Paniagua Javier <[email protected]>
  2139. * HttpRequest.cs: correctly detect multipart/form-data.
  2140. 2005-09-07 Gonzalo Paniagua Javier <[email protected]>
  2141. * HttpApplicationFactory.cs: recycle after invoking session_end.
  2142. 2005-09-06 Gonzalo Paniagua Javier <[email protected]>
  2143. * HttpRuntime.cs: remove Console.
  2144. * HttpApplicationFactory.cs: don't hook Session_End, but keep
  2145. the MethodInfo around for later invocation if needed. Don't call
  2146. GetMethods() for every HttpApplication (or derived class) instances.
  2147. Added a method, used by SessionStateModule, that will create use an
  2148. application without context to invoke Session_End. Keep a pool of
  2149. applications that are meant to be used by this method only.
  2150. * HttpApplication.cs: add a SetSession method and do not
  2151. attach all the events if the application is for Session_End only.
  2152. 2005-09-06 Gonzalo Paniagua Javier <[email protected]>
  2153. * HttpRuntime.cs: actually unload the domain when requested. Reformatted
  2154. FinishUnavailable() and removed the 'Location' header form the error.
  2155. * HttpApplicationFactory.cs: set up the watcher for the bin directory.
  2156. This also prevents a nullref when global.asax is changed.
  2157. 2005-09-06 Gonzalo Paniagua Javier <[email protected]>
  2158. * HttpApplication.cs: fixed bug introduced when moving GetHandler call
  2159. around. Now we get error pages again.
  2160. 2005-09-06 Miguel de Icaza <[email protected]>
  2161. * HttpApplication.cs: Catch EndRequest errors as well.
  2162. 2005-09-05 Miguel de Icaza <[email protected]>
  2163. * HttpApplication.cs: Invoke EndRequest handler before OutputPage
  2164. as FormsAuthentication will issue a Redirect from the EndRequest
  2165. handler.
  2166. 2005-09-05 Gonzalo Paniagua Javier <[email protected]>
  2167. * HttpApplication.cs: when writing an error message, catch the possible
  2168. write error.
  2169. 2005-09-05 Gonzalo Paniagua Javier <[email protected]>
  2170. * HttpResponseStream.cs: prevent invalid cast exception if the first
  2171. thing written is a file.
  2172. 2005-09-04 Gonzalo Paniagua Javier <[email protected]>
  2173. * HttpApplication.cs: fix invalid cast exception (bug #75926).
  2174. 2005-09-01 Gonzalo Paniagua Javier <[email protected]>
  2175. * HttpApplicationFactory.cs: only trigger the Application_Start event
  2176. once. It was being invoked more than once when several clients were
  2177. hitting the server at the same time on startup.
  2178. 2005-09-01 Eyal Alaluf <[email protected]>
  2179. * HttpContext.cs HttpResponse.cs HttpWorkerRequest.cs HttpRuntime.cs
  2180. HttpApplicationFactory.cs HttpApplication.cs: TARGET_J2EE/JVM fixes.
  2181. Mostly workaround limited AppModel in TARGET_J2EE.
  2182. 2005-08-31 Gonzalo Paniagua Javier <[email protected]>
  2183. * HttpResponse.cs: if the request method is HEAD, that's equivalent to
  2184. SuppressContent. Added an internal TransmitFile that allows setting the
  2185. final_flush flag.
  2186. * StaticFileHandler.cs: use the new internal TransmitFile and remove
  2187. generation of Content-Length header, as now it's computed correctly.
  2188. * HttpApplication.cs: remove debugging stuff.
  2189. * HttpResponseStream.cs: suppress_content is checked in HttpResponse.
  2190. 2005-08-31 Miguel de Icaza <[email protected]>
  2191. Removed debugging info.
  2192. * HttpApplication.cs: Add support for async handlers.
  2193. Add extra 2.x methods.
  2194. 2005-08-31 Gonzalo Paniagua Javier <[email protected]>
  2195. * BrowserCapabilities.cs: removed extra 'using'.
  2196. * HttpApplication.cs: use just the 'modcoll' to hold the collection of
  2197. modules instead of having a separate 'modules' one.
  2198. 2005-08-30 Gonzalo Paniagua Javier <[email protected]>
  2199. * HttpApplication.cs: clone the module collection so that
  2200. it's not shared between HttpApplications. Call GetHandler() in the
  2201. right place.
  2202. 2005-08-30 Miguel de Icaza <[email protected]>
  2203. * HttpApplication.cs: Add the new 2.x method overloads that take a
  2204. data object.
  2205. (RunHooks): Pass the extra data instead of null.
  2206. * HttpCookie.cs (HttpOnly): Add 2.x cookie header.
  2207. * BrowserCapabilities.cs: Move the core of the capabilities into a
  2208. separate file. Use partial classes to choose what version to
  2209. compile against.
  2210. * HttpBrowserCapabilities.cs: Update to move the code elsewhere.
  2211. 2005-08-30 Eyal Alaluf <[email protected]>
  2212. * HttpResponseStream.cs: Fix a bug introduced by last fix (thanks to
  2213. Ben)
  2214. 2005-08-30 Eyal Alaluf <[email protected]>
  2215. * HttpResponseStream.cs: Compilation fixes for TARGET_JVM. TARGET_JVM
  2216. does not support unsafe code. I localized all unsafe code within Chunk
  2217. & Block and created a managed version of Chunk.
  2218. 2005-08-30 Eyal Alaluf <[email protected]>
  2219. * HttpApplicationFactory.cs: Compilation fixes for TARGET_J2EE. Under
  2220. TARGET_J2EE static fields are shared by all app domains. We handle
  2221. this difference by explicitly getting/setting values from the app
  2222. domain. Since HttpApplicationFactory has many static fields, I
  2223. refactored it to have one static instance and moved the static fields
  2224. into instance fields.
  2225. 2005-08-29 Eyal Alaluf <[email protected]>
  2226. * HttpRequest.cs: Disable use of IntPtrStream for TARGET_JVM
  2227. 2005-08-29 Eyal Alaluf <[email protected]>
  2228. * HttpContext.cs: Compilation fixes for TARGET_J2EE/JVM
  2229. 2005-08-28 Gonzalo Paniagua Javier <[email protected]>
  2230. * HttpResponse.cs: don't duplicate the 'charset=' and don't send a
  2231. charset for unknown MIME types.
  2232. * StaticFileHandler.cs: set the Content-Length header here.
  2233. * HttpRequest.cs: prevent nullrefs when we have no 'charset='.
  2234. 2005-08-28 Gonzalo Paniagua Javier <[email protected]>
  2235. * StaticFileHandler.cs: use TransmitFile instead of WriteFile. This way
  2236. xsp will use sendfile().
  2237. 2005-08-28 Chris Toshok <[email protected]>
  2238. * SiteMapNode.cs: fix IHierarchyData.GetParent.
  2239. 2005-08-26 Gonzalo Paniagua Javier <[email protected]>
  2240. * HttpRequest.cs:
  2241. * IntPtrStream.cs: now we only have a read-only MemoryStream or an
  2242. IntPtrStream. The copy is moved into HttpRequest.
  2243. 2005-08-26 Sebastien Pouliot <[email protected]>
  2244. * WebCategoryAttribute.cs: New. Required internal attribute.
  2245. * WebSysDescriptionAttribute.cs: New. Required internal attribute.
  2246. 2005-08-26 Jackson Harper <[email protected]>
  2247. * HttpResponseStream.cs: Use GetBuffer so the memory isn't
  2248. duplicated.
  2249. 2005-08-26 Gonzalo Paniagua Javier <[email protected]>
  2250. * HttpApplication.cs: GetHandler might return null when, for example,
  2251. a web service fails, but that does not mean that returning a null
  2252. handler should throw another exception, as the web service code
  2253. serialized the error as a faultString. So if the handler is null, just
  2254. don't call ProcessRequest and keep going.
  2255. 2005-08-26 Jackson Harper <[email protected]>
  2256. * HttpResponse.cs: Send the cached headers if this is a cached
  2257. response. Save the headers, date header, and page data. Fix a typo.
  2258. * HttpResponseStream.cs: Add new accesor to get a byte [] of the
  2259. page data.
  2260. 2005-08-26 Gonzalo Paniagua Javier <[email protected]>
  2261. * HttpWorkerRequest.cs: SetEndOfSendNotification is a noop. No matter
  2262. what callback you use that never gets called. In XSP I actually
  2263. implement something for this method.
  2264. * HttpServerUtility.cs: unused variable.
  2265. 2005-08-26 Gonzalo Paniagua Javier <[email protected]>
  2266. * HttpInputStream.cs: new ctor that takes a byte [].
  2267. * IntPtrStream.cs: make it work on a byte [] too.
  2268. * HttpRequest.cs:
  2269. (ContentLength): return 0 for negative numbers or error parsing, but
  2270. keep content_length negative in those cases.
  2271. (MakeInputStream): when there's no content-length (or it's negative),
  2272. we still read the request into a MemoryStream. Use
  2273. IsEntireEntityIsPreloaded() as a fast path.
  2274. 2005-08-25 Sebastien Pouliot <[email protected]>
  2275. * HttpClientCertificate.cs: On 1.x the .ctor throws a
  2276. ArgumentNullException (but 2.0 throws a NRE).
  2277. 2005-08-25 Gonzalo Paniagua Javier <[email protected]>
  2278. * HttpRequest.cs: HttpMethod deserves its own field. Fix IsLocal.
  2279. 2005-08-25 Chris Toshok <[email protected]>
  2280. * HttpApplication.cs (IsReusable): return true.
  2281. (InitOnce): remove the initialization of handler_factory from
  2282. here.
  2283. (GetHandler) and move it here, so we make sure to load handlers
  2284. from all needed web.config files.
  2285. 2005-08-25 Gonzalo Paniagua Javier <[email protected]>
  2286. * HttpServerUtility.cs: use GetHandler().
  2287. * HttpApplication.cs: remove obsolete method. Now Transfe/Execute work.
  2288. 2005-08-25 Gonzalo Paniagua Javier <[email protected]>
  2289. * HttpApplication.cs: no need for the local var. here.
  2290. 2005-08-25 Chris Toshok <[email protected]>
  2291. * HttpApplication.cs (InitOnce): move the initialization of
  2292. modules above the call to HttpApplicationFactory.AttachEvents,
  2293. since that method accesses HttpApplication.Modules. Fixes
  2294. nGallery.
  2295. (IsReusable): mark TODO.
  2296. 2005-08-23 Gonzalo Paniagua Javier <[email protected]>
  2297. * HttpResponseHeader.cs: removed obsolete class.
  2298. * HttpResponse.cs: no more 'obsolete' warnings.
  2299. 2005-08-23 Gonzalo Paniagua Javier <[email protected]>
  2300. * HttpRuntime.cs: implemeted some missing properties.
  2301. 2005-08-22 Gonzalo Paniagua Javier <[email protected]>
  2302. * HttpResponse.cs: implemented RemoveOutputCacheItem().
  2303. 2005-08-22 Gonzalo Paniagua Javier <[email protected]>
  2304. * HttpApplication.cs: implemented GetVaryByCustomString().
  2305. 2005-08-22 Gonzalo Paniagua Javier <[email protected]>
  2306. * HttpRequest.cs: implemented SetHeader (allows adding a header
  2307. circumventing the read-only protection of the collection) and SetForm,
  2308. which just assigns a value of the 'form' collection.
  2309. * HttpServerUtility.cs: NameValueCollection -> WebROCollection.
  2310. 2005-08-22 Gonzalo Paniagua Javier <[email protected]>
  2311. * HttpContext.cs:
  2312. * HttpRequest.cs: implemented RewritePath and supporting methods.
  2313. 2005-08-22 Sebastien Pouliot <[email protected]>
  2314. * HttpRequest.cs: Avoid NRE if work_request if null in the ctor.
  2315. * HttpResponse.cs: Avoid NRE if work_request if null in the ctor.
  2316. 2005-08-20 Gonzalo Paniagua Javier <[email protected]>
  2317. * HttpApplication.cs: if there's any exception thrown when getting the
  2318. handler, don't add an extra error to the context, as we already have
  2319. one.
  2320. 2005-08-20 Gonzalo Paniagua Javier <[email protected]>
  2321. * HttpWriter.cs:
  2322. * HttpResponse.cs:
  2323. * HttpWorkerRequest.cs:
  2324. * HttpApplication.cs: added mising attributes and enabled methods
  2325. present in 1.1 SP1.
  2326. 2005-08-20 Gonzalo Paniagua Javier <[email protected]>
  2327. * WebROCollection.cs: a collection that allows setting IsReadOnly.
  2328. * HttpRequest.cs: implemented MapImageCoordinates(). Use WebROCollection
  2329. instead of a NameValueCollection in Form, Headers, Params, QueryString.
  2330. 2005-08-19 Gonzalo Paniagua Javier <[email protected]>
  2331. * HttpInputStream.cs: new copy ctor.
  2332. * IntPtrStream.cs: getters for base_address and size.
  2333. * HttpRequest.cs: implemented SaveAs(). Use a wrapper on top of
  2334. InputStream so that reading POST form or files does not modify the state
  2335. if InputStream. Don't use uri_builder.Query in QueryStringRaw, as it
  2336. returns the '?'.
  2337. 2005-08-18 Gonzalo Paniagua Javier <[email protected]>
  2338. * HttpRequest.cs: implemented UserLanguages and reuse code from
  2339. AcceptTypes.
  2340. 2005-08-18 Gonzalo Paniagua Javier <[email protected]>
  2341. * HttpRequest.cs: implemented AcceptTypes.
  2342. 2005-08-18 Gonzalo Paniagua Javier <[email protected]>
  2343. * HttpRequest.cs: implemented this[] in terms of Params. Don't add the
  2344. header collection in Params.
  2345. 2005-08-18 Gonzalo Paniagua Javier <[email protected]>
  2346. * HttpRequest.cs: fix Files property.
  2347. * HttpApplication.cs: invoke the default authentication event after all
  2348. the other auth. modules.
  2349. 2005-08-18 Gonzalo Paniagua Javier <[email protected]>
  2350. * ServerVariablesCollection.cs: mark the collection as read-only except
  2351. when we fill it. Add the HTTP_blah key/value pairs too.
  2352. 2005-08-18 Chris Toshok <[email protected]>
  2353. * HttpRequest.cs (get_Params): implement.
  2354. 2005-08-17 Chris Toshok <[email protected]>
  2355. * HttpResponse.cs: HttpResponse's Cookie's collection acts
  2356. differently than HttpRequests in that it never returns null from
  2357. the "this [string]" accessor.
  2358. 2005-08-17 Gonzalo Paniagua Javier <[email protected]>
  2359. * HttpRequest.cs: check length 0 case when reading a POST.
  2360. 2005-08-17 Gonzalo Paniagua Javier <[email protected]>
  2361. * HttpContext.cs: added security attributes for User and
  2362. SkipAuthorization properties.
  2363. * HttpApplicationFactory.cs: AttachEvents is now called form the
  2364. application .ctor. Recycle instead of dispose.
  2365. * HttpApplication.cs: attach events to the newly created application.
  2366. 2005-08-15 Jackson Harper <[email protected]>
  2367. * ApplicationShutdownReason.cs: make build
  2368. 2005-08-15 Miguel de Icaza <[email protected]>
  2369. * HttpApplication.cs: Update comments
  2370. * HttpPostedFile.cs: Use a substream to read from the uploaded
  2371. multiparts.
  2372. * HttpRequest.cs: use new code to read the uploaded files.
  2373. 2005-08-12 Miguel de Icaza <[email protected]>
  2374. 2.x API fixage and small additions:
  2375. * HttpResponse.cs: Make constructor internal.
  2376. * HttpRequest.cs (IsLocal): Expose if NET_2.x
  2377. * HttpContext.cs: Remove internal routine.
  2378. * HttpApplication.cs: Add 2.x events.
  2379. * HttpRequest.cs: Another iFolder issue: I was not setting up the
  2380. uri_builder here.
  2381. Fixes to get iFolder to work:
  2382. * HttpApplicationFactory.cs: Set the context when we are initting
  2383. the application.
  2384. * HttpApplication.cs (SetContext): helper routine.
  2385. * HttpResponse.cs: Implement the various cache operations:n
  2386. Expires, ExpiresAbsolute, CacheControl.
  2387. Actually produce the Cache-Control header, the "Cache" property
  2388. takes precedence over the compatibility settings (Expires,
  2389. ExpiresAbsolutely and CacheControl).
  2390. * HttpCachePolicy.cs: Fix style.
  2391. Fix the generation of the headers, use lower-case values, do not
  2392. add the max-value if the value is zero.
  2393. Allow for all possible values in SetCacheability.
  2394. * HttpRuntime.cs (ClrInstallDirectory): Implement.
  2395. * HttpResponseStream.cs: Remove debugging stuff.
  2396. 2005-08-11 Miguel de Icaza <[email protected]>
  2397. Big chunked handling rewrite, and integration of Ben's unmanaged
  2398. output stream.
  2399. * HttpWriter.cs: Delegate chunked encoding writing to the
  2400. HttpResponse.
  2401. * HttpResponse.cs: Rework the chunked encoding system, centralize
  2402. it all.
  2403. * HttpResponseStream.cs: Deploy Ben's bucket-base unmanaged
  2404. buffers code.
  2405. Changed the way that we handle chunked encoding, centralize it
  2406. all;
  2407. Remove a lot of manual handling of buffering turned off, and
  2408. instead delegate it all to Flush, fixes several issues with the
  2409. new framework.
  2410. * HttpWorkerRequest.cs (SendResponseFromMemory (IntPtr, int)):
  2411. Provide a default implementation since currently XSP does not have
  2412. this method implemented.
  2413. 2005-08-11 Sebastien Pouliot <[email protected]>
  2414. * HttpClientCertificate.cs: Culture insensitive int parsing. Fixed
  2415. NET_2_0 build.
  2416. 2005-08-10 Miguel de Icaza <[email protected]>
  2417. * ServerVariablesCollection.cs: For Ben. Implement the header
  2418. fetching here, do not implement it in HttpRequest.cs.
  2419. 2005-08-10 Sebastien Pouliot <[email protected]>
  2420. * HttpClientCertificate.cs: Changed IsPresent logic so that new unit
  2421. tests will work as expected.
  2422. 2005-08-10 Sebastien Pouliot <[email protected]>
  2423. * HttpClientCertificate.cs: Implemented, except for validation. Note
  2424. that the HttpWorkerRequest derived classes must be updated to supply
  2425. the required informations.
  2426. * HttpRequest.cs: Create an HttpClientCertificate on first call to
  2427. ClientCertificate.
  2428. 2005-08-09 Miguel de Icaza <[email protected]>
  2429. * HttpRuntime.cs (AspInstallDirectory): Implement.
  2430. 2005-08-09 Sebastien Pouliot <[email protected]>
  2431. * HttpClientCertificate.cs: New. Stub. It won't be fun to test.
  2432. 2005-08-04 Ben Maurer <[email protected]>
  2433. * HttpContext.cs: Kill a NIE.
  2434. 2005-08-04 Miguel de Icaza <[email protected]>
  2435. * HttpApplicationFactory.cs: Change "Start" event like the "End"
  2436. event, and only do this once, when we init the type.
  2437. Fire the "Application_Start" event after we create the type.
  2438. 2005-08-03 Gonzalo Paniagua Javier <[email protected]>
  2439. * HttpApplication.cs: catch a ThreadAbort (coming from Response.End)
  2440. here too.
  2441. 2005-08-03 Gonzalo Paniagua Javier <[email protected]>
  2442. * HttpResponse.cs: setting the Status property resets the
  2443. StatusDescription (see the tests) and the default value for the
  2444. description is the one provided by GetStatusDescription() in
  2445. HttpWorkerRequest.
  2446. 2005-08-03 Gonzalo Paniagua Javier <[email protected]>
  2447. * HttpRequest.cs: s/boundry/boundary/ and fix typo in array creation.
  2448. 2005-08-03 Gonzalo Paniagua Javier <[email protected]>
  2449. * HttpApplication.cs: add call to EndOfRequest when everything is said
  2450. and done.
  2451. 2005-08-02 Miguel de Icaza <[email protected]>
  2452. * HttpResponse.cs: Stub for TransmitFile.
  2453. * HttpRequest.cs (IsAuthenticated): Implement.
  2454. 2005-08-01 Miguel de Icaza <[email protected]>
  2455. * HttpRequest.cs: Cope with implementations of HttpWorkerRequest
  2456. (unpatched xsp) that do not send back the PreloadedEntityBody.
  2457. * HttpApplication.cs: keep track of the factory.
  2458. (Dispose): Only dispose once, clean up other variables, release
  2459. the ManualResetEvent.
  2460. Release the handler to the factory.
  2461. * HttpApplicationFactory.cs: Implement a stack to reuse the
  2462. applications.
  2463. * HttpRequest.cs: On uploads, if the ContentLenght is zero, throw
  2464. a 411.
  2465. * HttpRuntime.cs: Recycle the application after using it.
  2466. * HttpPostedFile.cs: Implement SaveAs.
  2467. * HttpContext.cs: Return the "Server" property.
  2468. 2005-08-01 Gonzalo Paniagua Javier <[email protected]>
  2469. * HttpServerUtility.cs: implemented missing bits.
  2470. 2005-08-01 Gonzalo Paniagua Javier <[email protected]>
  2471. * HttpRequest.cs: query string was getting a '?' as the start of the
  2472. first variable name. This makes the asmx help page work again.
  2473. 2005-08-01 Miguel de Icaza <[email protected]>
  2474. * HttpRequest.cs (Cookies, Forms): Add validation.
  2475. (Forms): Add application/x-www-form-urlencoded parsing and
  2476. multipart/form-data parsing.
  2477. (HttpMultiPart): Implement new class to load multi-part data from
  2478. a stream since there is no longer a byte [] that holds the data
  2479. (currently we have an unmanaged IntPtr buffer wrapped as a
  2480. stream). Also the 2.x framework will add support for large
  2481. uploads which are sent directly to disk, which will require the
  2482. FileStream interface.
  2483. (Path, PathInfo): Fill a couple more methods to avoid crashes.
  2484. * HttpContext.cs: Fill another one to get web services summary
  2485. page painting. The page does not work though.
  2486. * HttpApplication.cs: Rework the pipeline to not depend on
  2487. `finally', as `finally' would not be invoked if we choose not to
  2488. call the pipeline again (which happens if the `stop' variable is
  2489. set).
  2490. Instead force the pipeline to go to the shutdown, and yield from
  2491. there after all the release-state callbacks have been invoked.
  2492. 2005-07-31 Miguel de Icaza <[email protected]>
  2493. * HttpApplication.cs: Remove debugging messages since the compiler
  2494. bug has been fixed.
  2495. You must use at least mcs from revision 47879 for the application
  2496. pipeline to work.
  2497. 2005-07-30 Miguel de Icaza <[email protected]>
  2498. * HttpContext.cs: Error handling methods.
  2499. * HttpResponse.cs: Trigger the last event.
  2500. * HttpRuntime.cs: Add queueing of the next request.
  2501. * HttpApplication.cs: Deploy the new yield-based application
  2502. pipeline, add error handling to the pipeline.
  2503. * HttpApplication.cs (AsyncRequestState): Just use the done event
  2504. from the parent.
  2505. 2005-07-29 Miguel de Icaza <[email protected]>
  2506. * HttpResponseStream.cs, HttpRequest.cs: Fix bugs found by nunit.
  2507. * HttpApplication.cs: Fix a race condition.
  2508. * HttpResponseStream.cs: Fix bug, send the size of the buffer that
  2509. we have so far instead of the internal size of the buffer. This
  2510. will need work later to ensure we enforce the Content-Length
  2511. maximum output size if set.
  2512. * ServerVariablesCollection.cs: This class now inherits from
  2513. NameValueCollection, we should probably review what the middle
  2514. class did, there are no dependencies on it.
  2515. I need to write tests to investigate if something is missing or
  2516. has changed in this implementation.
  2517. 2005-07-27 Miguel de Icaza <[email protected]>
  2518. * HttpRequest.cs: No happy replies here, send a 411.
  2519. 2005-07-27 Chris Toshok <[email protected]>
  2520. * HttpResponseHeader.cs: remove spew.
  2521. 2005-07-27 Chris Toshok <[email protected]>
  2522. * HttpResponseHeader.cs (HttpResponseHandler..ctor): use
  2523. HttpWorkerRequest.GetKnownResponseHeaderName instead of
  2524. GetKnownRequestHeaderName. Fixes Response.Redirect until miguel's
  2525. new HttpReponse is online.
  2526. 2005-07-26 Miguel de Icaza <[email protected]>
  2527. * HttpResponse.cs: use_chunked is now a byte-array, if not null,
  2528. we use it to hold the size of the chunked so we do not have to
  2529. allocate many of these.
  2530. (SendSize): Helper routine to send the chunked headers.
  2531. (BinaryWrite): First user of the chunked writer.
  2532. * HttpApplication.cs: Do not crash if they request a Server
  2533. instance, but throw a NotImplementedException.
  2534. * HttpRequest.cs: fix a few problems exposed by the regression
  2535. test suite.
  2536. * HttpRequest.cs (Cookies): use Chris' new constructor to get the
  2537. cookies parsed.
  2538. : The big Uri rework: instead of using QueryString
  2539. as the population mechanism, populate an UriBuilder from the
  2540. various HttpWorkerRequest methods.
  2541. * HttpWorkerRequest.cs (GetProtocol): Implement in terms of
  2542. IsSecure().
  2543. * HttpResponse.cs: Pointed by Ben, Write (null) is a nop instead
  2544. of a crash.
  2545. * HttpContext.cs: Add a couple of properties to help the 2.x
  2546. build.
  2547. * HttpResponse.cs: Make ContentLength a long, add back support for
  2548. session's app_path_mod.
  2549. (ApplyAppPathmodifier): put back.
  2550. (End): Pass a flag to abort so we can tell the exceptions appart
  2551. in HttpApplication.
  2552. (WriteHeaders): Send the HTTP status.
  2553. (Redirect): Implement.
  2554. (Write): Use the Output property to load writer when needed.
  2555. * HttpRequest.cs (ctor): Temporary use of InitFromWR, will fix
  2556. later.
  2557. (MakeInputStream): check content-length size, use routines to load
  2558. the preloaded data, handle incomplete transfers.
  2559. (Query): Do not insert null keys into the collection.
  2560. (Url): implement.
  2561. (UrlReferer): implement.
  2562. * HttpApplication.cs (RunHooks): Catch Thread.Abort, and call
  2563. Thread.ResetAbort after each step.
  2564. Ensure that ReleaseState is called if we ever succeed in acquiring
  2565. the state even if we have stopped the request pipeline.
  2566. Report file not found, directory not found.
  2567. 2005-07-25 Miguel de Icaza <[email protected]>
  2568. * HttpCookieCollection.cs: Add expiration of the cookie.
  2569. * HttpRequest.cs: Add check for ContentLength, use
  2570. GetPreloadedEntityBody, correct number of bytes uploaded.
  2571. 2005-07-21 Miguel de Icaza <[email protected]>
  2572. * HttpResponseHeader.cs: Our implementation of HttpResponse only
  2573. uses the text headers, does not use any constants as XSP would go
  2574. through a slower code path anyways.
  2575. 2005-07-21 Chris Toshok <[email protected]>
  2576. * HttpBrowserCapabilities.cs: enable support for the W3CDomVersion
  2577. and EcmaScriptVersion properties.
  2578. 2005-07-21 Chris Toshok <[email protected]>
  2579. * HttpResponseHeader.cs: hi, i'm stupid and missed String.Replace.
  2580. 2005-07-21 Chris Toshok <[email protected]>
  2581. * HttpResponseHeader.cs: url encode just \r and \n if they're
  2582. present in the value.
  2583. 2005-07-20 Chris Toshok <[email protected]>
  2584. * HttpPostedFile.cs: add missing ContentLength property.
  2585. 2005-07-20 Chris Toshok <[email protected]>
  2586. * HttpCookieCollection.cs: add a new ctor that takes a string (the
  2587. contents of the Cookies: header).
  2588. 2005-07-20 Chris Toshok <[email protected]>
  2589. * HttpCookieCollection.cs: add another ctor (internal, but not
  2590. obsolete, so we aren't passing a stupid HttpResponse in in order
  2591. to change the behavior of the collection.)
  2592. * HttpCookie.cs: init this.values in the internal ctor.
  2593. 2005-07-20 Chris Toshok <[email protected]>
  2594. * HttpCookieCollection.cs: use "auto-fill mode" when we're dealing
  2595. with an HttpResponse's cookie collection. That is, create the
  2596. cookie if the consumer looks it up.
  2597. 2005-07-20 Miguel de Icaza <[email protected]>
  2598. * HttpApplication.cs: Ongoing work on pipeline, I will need to
  2599. redo this later.
  2600. 2005-07-19 Miguel de Icaza <[email protected]>
  2601. * HttpContext.cs (GetService): Implement. Return all of the
  2602. properties that we have access to. Make HttpWorkerRequest the
  2603. first match as this is the only likely reason people need to use
  2604. this.
  2605. * IntPtrStream.cs: Bring from corlib.
  2606. * MultiPartContentParser.cs: use a MemoryStream as HttpInputStream
  2607. will now be using IntPtrStream.
  2608. * HttpRequest.cs (MakeInputStream): move code that loads the
  2609. request here
  2610. (CloseInputStream): Helper method that we will call later to
  2611. ensure that we dispose properly the malloced() block.
  2612. (BinaryRead): Implemented.
  2613. * HttpInputStream.cs: Rewrite to be a descendant of
  2614. IntPtrStream.cs
  2615. 2005-07-18 Miguel de Icaza <[email protected]>
  2616. * HttpApplication.cs (Modules): Add modules support and
  2617. AsyncResult.
  2618. 2005-07-18 Chris Toshok <[email protected]>
  2619. * HttpResponseHeader.cs: initial implementation.
  2620. 2005-07-18 Chris Toshok <[email protected]>
  2621. * HttpModuleCollection.cs (HttpModuleCollection.GetKey): add
  2622. missing method.
  2623. * HttpFileCollection.cs: initial implementation.
  2624. 2005-07-18 Chris Toshok <[email protected]>
  2625. * HttpModuleCollection.cs (HttpModuleCollection.CopyTo): implement
  2626. missing method.
  2627. 2005-07-18 Chris Toshok <[email protected]>
  2628. * HttpModuleCollection.cs: initial implementation.
  2629. 2005-07-18 Chris Toshok <[email protected]>
  2630. * HttpCacheVaryByHeaders.cs: only add the header if it's not
  2631. already in the hash.
  2632. * HttpCacheVaryByParams.cs: only add the param if it's not already
  2633. in the hash.
  2634. 2005-07-18 Chris Toshok <[email protected]>
  2635. * HttpCookie.cs (HttpCookie+CookieNVC.Set): new override to fix an
  2636. MS quirk.
  2637. 2005-07-17 Miguel de Icaza <[email protected]>
  2638. * HttpRequest.cs (Headers, InputStream): implemented two more
  2639. properties.
  2640. * HttpInputStream.cs: All we need is a MemoryStream with writable
  2641. set to false.
  2642. * HttpPostedFile.cs: Use a Stream.
  2643. 2005-07-16 Chris Toshok <[email protected]>
  2644. * HttpCacheVaryByHeaders.cs: make sure we set vary_by_unspecified
  2645. = false in the custom setter.
  2646. 2005-07-16 Chris Toshok <[email protected]>
  2647. * HttpCacheVaryByParams.cs: initial implementation.
  2648. 2005-07-16 Chris Toshok <[email protected]>
  2649. * HttpCacheVaryByHeaders.cs: initial implementation.
  2650. 2005-07-15 Chris Toshok <[email protected]>
  2651. * HttpCookie.cs: one more time.
  2652. 2005-07-15 Chris Toshok <[email protected]>
  2653. * HttpCookie.cs (HttpCookie.GetCookieHeader): use
  2654. expires.ToString().
  2655. 2005-07-15 Chris Toshok <[email protected]>
  2656. * HttpCookie.cs (HttpCookie.GetCookieHeader): implement to fix
  2657. ben's bug.
  2658. 2005-07-15 Chris Toshok <[email protected]>
  2659. * HttpCookieCollection.cs: initial implementation (with a couple
  2660. of labeled inefficiencies.)
  2661. 2005-07-15 Chris Toshok <[email protected]>
  2662. * HttpCookie.cs (HttpCookie.get_HasKeys): use values.HasKeys()
  2663. instead of trying to be smart about it ourselves.
  2664. 2005-07-15 Chris Toshok <[email protected]>
  2665. * HttpCookie.cs: initial implementation. we fail one unit test,
  2666. but it might be due to a bug in NameValueCollection.
  2667. 2005-07-15 Miguel de Icaza <[email protected]>
  2668. * HttpRequest.cs:
  2669. 2005-07-14 Miguel de Icaza <[email protected]>
  2670. * HttpRuntime.cs: Return a few of the values from the AppDomain
  2671. data.
  2672. Put the application shutdown process.
  2673. * HttpApplicationFactory.cs (AddEvent): Fixed bug when more than
  2674. one method existed.
  2675. (FireEvent): Do not ignore errors.
  2676. * HttpContext.cs (GetAppConfig, GetConfig): First success, use
  2677. ConfigurationSettings.GetConfig to get the value that QueueManager
  2678. needed.
  2679. 2005-07-14 Dick Porter <[email protected]>
  2680. * HttpPostedFile.cs: New basic implementation; needs someone to
  2681. figure out what a HttpRequestStream does
  2682. 2005-07-13 Miguel de Icaza <[email protected]>
  2683. * HttpRequest.cs: More work on this file
  2684. * HttpRequest.cs, HttpApplication.cs, HttpContext.cs,
  2685. HttpRuntime.cs: New from scratch implementation.
  2686. 2005-07-01 Lluis Sanchez Gual <[email protected]>
  2687. * SiteMap.cs: Read provider info from the configuration files.
  2688. 2005-06-27 Gonzalo Paniagua Javier <[email protected]>
  2689. * HttpResponseHeader.cs: URL encode \r and \n in header values. Fixes
  2690. bug #75392.
  2691. 2005-06-26 Gonzalo Paniagua Javier <[email protected]>
  2692. * HttpUtility.cs: fix another stupid buglet in htmldecode.
  2693. 2005-06-26 Gonzalo Paniagua Javier <[email protected]>
  2694. * HttpContext.cs:
  2695. * HttpResponse.cs:
  2696. * HttpRequest.cs: use StrUtils (invariant culture).
  2697. 2005-06-26 Gonzalo Paniagua Javier <[email protected]>
  2698. * HttpRequest.cs: use StartsWith when looking for 'multipart/form-data'.
  2699. File uploading was broken since a few commits ago.
  2700. 2005-06-26 Gonzalo Paniagua Javier <[email protected]>
  2701. * HttpResponse.cs: ensure that the last chunk ('0\r\n\r\n') is sent
  2702. even if response.Close is called before a final flush. MS/IIS fails to
  2703. do this.
  2704. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  2705. * HttpRequest.cs: don't print anything for unknown content types in
  2706. ParseFormData. Use lowercase compare.
  2707. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  2708. * HttpResponse.cs: invariant love.
  2709. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  2710. * HttpResponse.cs: avoid 1 string concat.
  2711. * HttpRequest.cs: fix BinaryRead. It was totally wrong.
  2712. 2005-06-23 Gonzalo Paniagua Javier <[email protected]>
  2713. * HttpUtility.cs: don't append an extra 0 when no digits seen. Fixes
  2714. bug #75370.
  2715. 2005-06-23 Gonzalo Paniagua Javier <[email protected]>
  2716. * HttpUtility.cs: the lower limit for using &#xx; encoding is 160, not
  2717. 128. Reset number back to 0 after use. Fixes bug #75365.
  2718. 2005-06-19 Svetlana Zholkovsky <svetlanaz-at-mainsoft.com>
  2719. * In following classes added TARGET_J2EE or/and TARGET_JVM
  2720. directives:
  2721. - HttpResponse.cs
  2722. - HttpRuntime.cs
  2723. - HttpUtility.cs
  2724. - CapabilitiesLoader.cs
  2725. - HttpApplication.cs
  2726. - HttpApplicationFactory.cs
  2727. - HttpContext.cs
  2728. - HttpException.cs
  2729. - HttpRequest.cs
  2730. * Added Mainsoft's specific files :
  2731. - GhHttpAsyncResult.jvm.cs
  2732. 2005-06-10 Gonzalo Paniagua Javier <[email protected]>
  2733. * HttpRequest.cs: avoid one intermediate buffer when reading the request
  2734. body and fail for over limit content length when the content type is
  2735. not handled as form or multipart data.
  2736. 2005-06-09 Gonzalo Paniagua Javier <[email protected]>
  2737. * HttpResponse.cs: fix the check in Close() so that CloseConnection is
  2738. called even if there has been no final Flush. Fixes bug #75176.
  2739. 2005-06-08 Gonzalo Paniagua Javier <[email protected]>
  2740. * HttpParseException.cs:
  2741. * HttpResponse.cs:
  2742. * HttpApplication.cs: updates for 1.1 service pack.
  2743. 2005-06-06 Gonzalo Paniagua Javier <[email protected]>
  2744. * HttpUtility.cs: fix InvalidCastException.
  2745. 2005-06-05 Kornél Pál <[email protected]>
  2746. * HttpWriter.cs: Fixed: _OutputFilter.Close () was called twice.
  2747. 2005-06-02 Gonzalo Paniagua Javier <[email protected]>
  2748. * HttpUtility.cs: modified HtmlDecode so that it does not need to call
  2749. Int32.Parse and handles improper &# sequences. Fixes bug #74907.
  2750. 2005-05-26 Lluis Sanchez Gual <[email protected]>
  2751. * SiteMapNodeCollection.cs: Implemented missing methods. The collection
  2752. does not inherit from CollectionBase any more.
  2753. * SiteMapNode.cs: Track api changes.
  2754. * SiteMapProvider.cs: Moved several methods to the new
  2755. StaticSiteMapProvider class. Other fixes.
  2756. * XmlSiteMapProvider.cs: Watch changes in the xml files. Other fixes.
  2757. * SiteMapProviderCollection.cs: Minor fixes.
  2758. * SiteMap.cs: Added missing event. Avoid double check lock.
  2759. * StaticSiteMapProvider.cs: New class that implements some of the
  2760. funtionality of SiteMapProvider.
  2761. 2005-05-25 Ben Maurer <[email protected]>
  2762. * MimeTypes.cs: Remove extra spaces, they were typos. Fixes 75049.
  2763. 2005-05-13 Atsushi Enomoto <[email protected]>
  2764. * HttpUtility.cs : UrlDecodeToBytes() incorrectly decoded escaped
  2765. characters. Patch by Kazuki Oikawa.
  2766. 2005-05-09 Gonzalo Paniagua Javier <[email protected]>
  2767. * HttpRuntime.cs: PlatformID.Unix.
  2768. 2005-05-08 Gonzalo Paniagua Javier <[email protected]>
  2769. * HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
  2770. Clear the _Headers array instead of creating a new ArrayList in
  2771. ClearHeaders().
  2772. 2005-05-08 Gonzalo Paniagua Javier <[email protected]>
  2773. * HttpResponse.cs: we had 2 variables to track client connection status.
  2774. Use only one. Increase the buffer size to 28KB when writing from a file.
  2775. * StaticFileHandler.cs: set the Content-Type before writing the file.
  2776. This allows flushing before all the content is written.
  2777. * HttpApplication.cs: use the variable instead of the property when
  2778. setting the Principal for the current process.
  2779. 2005-05-08 Gonzalo Paniagua Javier <[email protected]>
  2780. * ReusableMemoryStream.cs:
  2781. * HttpWriter.cs: keep a pool of buffers to avoid allocations.
  2782. 2005-05-07 Gonzalo Paniagua Javier <[email protected]>
  2783. * HttpResponse.cs: no need to save/restore the thread culture when
  2784. getting the Date header. According to Ben's profiling, this is a big
  2785. deal in performance.
  2786. * HttpRuntime.cs: ignore exceptions that might be thrown when unloading
  2787. a domain.
  2788. 2005-05-04 Gonzalo Paniagua Javier <[email protected]>
  2789. * HttpApplicationFactory.cs: ignore any exception thrown when invoking
  2790. an application event.
  2791. 2005-04-23 Gonzalo Paniagua Javier <[email protected]>
  2792. * HttpBrowserCapabilities.cs: fix Win32 property.
  2793. 2005-04-21 Gonzalo Paniagua Javier <[email protected]>
  2794. * HttpResponse.cs: only add the charset when explicitly set or for
  2795. well-known content types.
  2796. 2005-04-20 Gonzalo Paniagua Javier <[email protected]>
  2797. * HttpCachePolicy.cs:
  2798. * HttpAsyncResult.cs:
  2799. * HttpClientCertificate.cs:
  2800. * HttpException.cs:
  2801. * HttpRuntime.cs:
  2802. * HttpCacheVaryByHeaders.cs:
  2803. * HttpBrowserCapabilities.cs:
  2804. * HttpUtility.cs:
  2805. * HttpCacheVaryByParams.cs: no more warnings.
  2806. * QueueManager.cs: check for local connections with minLocalFreeThreads.
  2807. 2005-04-19 Gonzalo Paniagua Javier <[email protected]>
  2808. * ServerVariablesCollection.cs: shuffled variables, added missing ones
  2809. and call a method in HttpRequest to set the HTTP_ variables.
  2810. * HttpRequest.cs: new method to add HTTP_ variables to a collection.
  2811. 2005-04-19 Gonzalo Paniagua Javier <[email protected]>
  2812. * HttpRequest.cs: GetAllHeaders was returning the value twice instead
  2813. of 'name: value'. When HTTP_ is requested on the output, don't include
  2814. unknown headers.
  2815. 2005-03-23 Gonzalo Paniagua Javier <[email protected]>
  2816. * HttpCookieCollection.cs: when adding more than one cookie with the
  2817. same name, the last one is the winner.
  2818. 2005-03-09 Gonzalo Paniagua Javier <[email protected]>
  2819. * HttpRequest.cs: correctly store the value cookies in Params. Fixes
  2820. bug #73345.
  2821. 2005-02-28 Gonzalo Paniagua Javier <[email protected]>
  2822. * HttpRequest.cs: Path and FilePath also change when RewritePath is
  2823. called. Fixes bug #73055.
  2824. 2005-02-23 Sebastien Pouliot <[email protected]>
  2825. * HttpRequest.cs: Make sure that any access after a ValidateInput
  2826. throws an exception if the data isn't safe.
  2827. 2005-02-22 Gonzalo Paniagua Javier <[email protected]>
  2828. * CapabilitiesLoader.cs: fix the path, as machine.config is now in a
  2829. x.x/ directory below $PREFIX/etc/mono.
  2830. 2005-02-22 Gonzalo Paniagua Javier <[email protected]>
  2831. * HttpRequest.cs: fail on unicode full-width '<' and '>' too. Fixes
  2832. a security report (http://secunia.com/advisories/14325) that wan't
  2833. reported to us before public disclosure.
  2834. 2005-02-18 Gonzalo Paniagua Javier <[email protected]>
  2835. * HttpResponse.cs: send the calculated content length even when it's 0.
  2836. Fixes bug #72655.
  2837. 2005-02-04 Lluis Sanchez Gual <[email protected]>
  2838. * HttpContext.cs: Added internal property to keep a reference to
  2839. the last accessed page. Page uses this to implement PreviousPage.
  2840. 2005-02-02 Lluis Sanchez Gual <[email protected]>
  2841. * ProcessModelInfo.cs: Fixed warning.
  2842. 2005-02-01 Gonzalo Paniagua Javier <[email protected]>
  2843. * TraceContext.cs: writing a message without any other argument is not
  2844. a warniing. Fixes bug #72017.
  2845. 2005-01-20 Gonzalo Paniagua Javier <[email protected]>
  2846. * HttpApplication.cs: if there are no more handlers, finish the
  2847. request and ensure we call Complete on it. Now FreeTextBox 3.0 works.
  2848. 2004-12-21 Gonzalo Paniagua Javier <[email protected]>
  2849. * HttpRequest.cs: honor the maxRequestSize limit from machine.config.
  2850. 2004-12-15 Gonzalo Paniagua Javier <[email protected]>
  2851. * HttpApplication.cs: reread application CultureInfo as web.config
  2852. might have changed. Fixes bug #62539.
  2853. 2004-11-30 Gonzalo Paniagua Javier <[email protected]>
  2854. * HttpResponse.cs: fixed ApplyAppPathModifier to insert the session ID.
  2855. 2004-11-29 Gonzalo Paniagua Javier <[email protected]>
  2856. * HttpApplicationFactory.cs: monitor changes in global.asax and bin
  2857. directory and shutdown the application when that happens. Fixes bug
  2858. #49651.
  2859. 2004-11-29 Gonzalo Paniagua Javier <[email protected]>
  2860. * ReusableMemoryStream.cs: copied from System.IO.MemoryStream and
  2861. slightly modified to allow expanding the buffer for cases on which the
  2862. regular MemoryStream don't allow it.
  2863. * HttpWriter.cs: use the new ReusableMemoryStream and fix bug #59841.
  2864. Otherwise we would have to allocate a new MemoryStream...
  2865. 2004-11-28 Gonzalo Paniagua Javier <[email protected]>
  2866. * HttpApplication.cs: Create() is now GetInstance().
  2867. 2004-11-18 Lluis Sanchez Gual <[email protected]>
  2868. * SiteMapNodeCollection.cs: Added missing properties.
  2869. * HttpParseException.cs: Added 2.0 methods and properties.
  2870. * SiteMapNode.cs: Added missing methods and properties.
  2871. * SiteMapProvider.cs, XmlSiteMapProvider.cs,
  2872. SiteMapProviderCollection.cs: IProvider does not exist any
  2873. more, it is now ProviderBase.
  2874. * ISiteMapProvider.cs: Deleted.
  2875. * ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
  2876. Implemented.
  2877. * SiteMap.cs: Minor fixes.
  2878. 2004-11-15 Lluis Sanchez Gual <[email protected]>
  2879. * SiteMapProviderCollection.cs: Fixed warning.
  2880. * HttpApplication.cs: Added new 2.0 events.
  2881. 2004-11-12 Gonzalo Paniagua Javier <[email protected]>
  2882. * HttpResponse.cs: added internl SetHeadersSent.
  2883. * HttpRuntime.cs: don't throw the 'headers already sent' exception
  2884. if we're sending a runtime error.
  2885. 2004-11-11 Gonzalo Paniagua Javier <[email protected]>
  2886. * HttpApplication.cs: undo the TimeoutManager.(Add|Remove) shuffling.
  2887. It causes troubles under heavy load.
  2888. 2004-11-08 Gonzalo Paniagua Javier <[email protected]>
  2889. * SiteMap.cs: don't lock on Type.
  2890. * CapabilitiesLoader.cs: avoid 2 locks when loading data.
  2891. 2004-11-08 Gonzalo Paniagua Javier <[email protected]>
  2892. * HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
  2893. presence of rewriting.
  2894. 2004-10-27 Gonzalo Paniagua Javier <[email protected]>
  2895. * HttpApplication.cs: don't hang if a sync step is aborted. Fixes the
  2896. system.web portion of bug #68270.
  2897. 2004-10-10 Gonzalo Paniagua Javier <[email protected]>
  2898. * TraceContext.cs: don't cast to Page is the handler it's
  2899. not a page.
  2900. 2004-10-06 Gonzalo Paniagua Javier <[email protected]>
  2901. * HttpRequest.cs: CurrentExecutionFilePath is the one that
  2902. changes when Transfer or Execute are used, not FilePath.
  2903. * HttpServerUtility.cs: moved form saving/restoring from
  2904. Transfer to Execute, as it's needed there too. the query string is
  2905. correctly set now. Fixes bug #67388.
  2906. * HttpContext.cs: use SetCurrentExePath instead of SetFilePath.
  2907. 2004-10-03 Ben Maurer <[email protected]>
  2908. * HttpResponse.cs: use UtcNow
  2909. 2004-10-01 Gonzalo Paniagua Javier <[email protected]>
  2910. * HttpResponse.cs: SuppressContent does not throw and clears all the
  2911. buffered output. Fixes bug #67213.
  2912. 2004-09-30 Gonzalo Paniagua Javier <[email protected]>
  2913. * HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.
  2914. 2004-09-29 Ben Maurer <[email protected]>
  2915. * HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.
  2916. 2004-09-25 Ben Maurer <[email protected]>
  2917. * HttpApplication.cs: Make sure requests are removed from
  2918. the timeout manager. Fixes a major leak. #66751.
  2919. 2004-09-24 Gonzalo Paniagua Javier <[email protected]>
  2920. * HttpApplicationFactory.cs:
  2921. * HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
  2922. unloading.
  2923. 2004-09-12 Ben Maurer <[email protected]>
  2924. * HttpContext.cs: use CallContext. It is a little bit faster.
  2925. 2004-09-09 Gonzalo Paniagua Javier <[email protected]>
  2926. * HttpStaticObjectsCollection.cs: don't share static session objects
  2927. declared in the application file across the application, but on a
  2928. per-session basis. Fixes bug #65446.
  2929. 2004-09-09 Gonzalo Paniagua Javier <[email protected]>
  2930. * HttpServerUtility.cs: in Transfer(path), don't keep form data if
  2931. the transfer is done from inside a page that received a postback.
  2932. Fixes bug #65613.
  2933. 2004-09-08 Gonzalo Paniagua Javier <[email protected]>
  2934. * HttpValueCollection.cs: fixed signature of ToString (). Closes bug
  2935. #65392.
  2936. 2004-09-06 Ben Maurer <[email protected]>
  2937. * HttpWriter.cs (.ctor): Dont create teh StreamWriter twice
  2938. (Clear): Don't recreate the MemoryStream and StreamWriter
  2939. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  2940. * HttpApplication.cs: only add/remove to/from the timeout
  2941. manager when we're in a interruptible step.
  2942. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  2943. * TraceContext.cs: when IsEnabled has not been set, return the value
  2944. from the TraceManager. Fixes bug #63469.
  2945. 2004-08-31 Gonzalo Paniagua Javier <[email protected]>
  2946. * HttpRuntime.cs: initialize the response writer when finishing a
  2947. request because it cannot be queued. Under heavy load we made new
  2948. requests be processed before the ones that might be queued. This is
  2949. no longer the case.
  2950. * QueueManager.cs: instead of queueing/dequeuing separately, we now
  2951. have a single method that does everything needed to decide which one
  2952. will be the next request processed.
  2953. 2004-08-27 Gonzalo Paniagua Javier <[email protected]>
  2954. * HttpRuntime.cs: removed initializations to null in .cctor. Prevent
  2955. other requests from avoiding the lock if they are received before the
  2956. configuration system is inited. Ensure that the queue manager is not
  2957. null before using it (it can be null while the first request is being
  2958. processed).
  2959. 2004-08-22 Gonzalo Paniagua Javier <[email protected]>
  2960. * HttpServerUtility.cs: ensure we have a full virtual path for the
  2961. request being executed.
  2962. 2004-08-02 Duncan Mak <[email protected]>
  2963. * ApplicationShutdownReason.cs: Fixed typos.
  2964. * HttpCookieMode.cs:
  2965. * HttpDataTransferMode.cs:
  2966. * HttpRequestPriority.cs: Added [Serializable] attribute.
  2967. 2004-08-02 Duncan Mak <[email protected]>
  2968. * ApplicationShutdownReason.cs:
  2969. * HttpCookieMode.cs:
  2970. * HttpDataTransferMode.cs:
  2971. * HttpRequestPriority.cs: Added 2.0 enumerations.
  2972. 2004-07-21 Gonzalo Paniagua Javier <[email protected]>
  2973. * HttpApplication.cs: the file not found might be a dependency.
  2974. 2004-07-20 Gonzalo Paniagua Javier <[email protected]>
  2975. * HttpCookie.cs: use invariant when formatting expires date. Fixes bug
  2976. #61690.
  2977. 2004-07-07 Gonzalo Paniagua Javier <[email protected]>
  2978. * HttpApplication.cs: don't keep the session around if we got it from
  2979. the context. Fixes bug #61232.
  2980. 2004-07-06 Gonzalo Paniagua Javier <[email protected]>
  2981. * HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
  2982. #61181.
  2983. 2004-07-02 Gonzalo Paniagua Javier <[email protected]>
  2984. * TraceContext.cs: added internal HaveTrace property whose
  2985. value is true when the page has a Trace attribute.
  2986. 2004-06-15 Gonzalo Paniagua Javier <[email protected]>
  2987. * TraceData.cs: fixed <br> output. Closes bug #60181.
  2988. 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
  2989. * HttpUtility.cs: check for control characters in the string to encode
  2990. or decode and return the same string if there are none.
  2991. 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
  2992. * HttpApplication.cs: change/restore the IPrincipal in their own methods
  2993. and make them internal.
  2994. 2004-06-09 Gonzalo Paniagua Javier <[email protected]>
  2995. * HttpContext.cs: reverting Pedro's patch and sending mail with test
  2996. to mono-devel.
  2997. 2004-06-09 Pedro Martnez Juli <[email protected]>
  2998. * HttpContext: User property returns its own "user" value because
  2999. the context can walk through different Threads. When "User" property
  3000. is changed, change "Thread.CurrentPrincipal" too.
  3001. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  3002. * HttpRequest.cs: removed extra ^Ms and fixed style of last patch.
  3003. 2004-06-08 Alon Gazit <[email protected]>
  3004. * HttpRequest.cs: Add a patch for HttpRequest.ServerVariables.
  3005. 2004-06-07 Sebastien Pouliot <[email protected]>
  3006. * HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
  3007. Fix (at least partially) #59683.
  3008. 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
  3009. * HttpRequest.cs: reverting patch from Alon Gazit. Uses the above file
  3010. that doesn't compile.
  3011. 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
  3012. * TraceData.cs: fixes nullref in an application that relies on
  3013. r ["Message"] not being null. Closes bug #59679.
  3014. 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
  3015. * HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.
  3016. 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
  3017. * HttpRuntime.cs: implemented a 5 simple properties that were TODOs.
  3018. 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
  3019. * HttpBrowserCapabilities.cs: implemented ClrVersion and GetClrVersions.
  3020. * HttpException.cs: removed MonoTODO.
  3021. 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
  3022. * TraceContext.cs: don't check if HttpRuntime.TraceManager
  3023. is enabled when writing.
  3024. 2004-06-04 Gonzalo Paniagua Javier <[email protected]>
  3025. * HttpRequest.cs: added ClientTarget internal property.
  3026. 2004-06-03 Lluis Sanchez Gual <[email protected]>
  3027. * HttpApplication.cs: Clear the http handler list after releasing the
  3028. handlers.
  3029. 2004-06-02 Gonzalo Paniagua Javier <[email protected]>
  3030. * TraceData.cs: html-encode the messages written to the trace. Fixes
  3031. bug #59431.
  3032. 2004-06-01 Gonzalo Paniagua Javier <[email protected]>
  3033. * HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
  3034. to Markus Krutner.
  3035. 2004-05-31 Gonzalo Paniagua Javier <[email protected]>
  3036. * HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
  3037. when SetFilePath is called. This way the cached values are reset and
  3038. get the right value in case someone (namely SessionStateModule +
  3039. cookieless session) changes the FilePath after the property cached its
  3040. value. Fixes bug #59364.
  3041. 2004-05-27 Patrik Torstensson <[email protected]>
  3042. * HttpApplicationFactory.cs: Added SignalError (still todo)
  3043. 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
  3044. * HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
  3045. chunked encoding disabled. Fixed chunked suffix and end. Send the
  3046. 'lastchunk' marked when in the final Flush even if the content length
  3047. is 0. This makes mod-mono-server work fine with chunked encoding.
  3048. * HttpRuntime.cs: Set the _firstRequest* variables to true
  3049. earlier. TraceContext don't take any parameter now.
  3050. * TraceManager.cs: don't need a context. Use GetAppConfig.
  3051. 2004-05-25 Gonzalo Paniagua Javier <[email protected]>
  3052. * HttpApplication.cs: set culture/uiculture from configuration and
  3053. restore it after each step. Fixes bug #52851.
  3054. 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
  3055. * HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
  3056. entities hashtable creation until it's really needed.
  3057. 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
  3058. * HttpApplicationFactory.cs: if no module matches the name found for a
  3059. possible event, ignore it. Fixes bug #58542.
  3060. 2004-05-16 Patrik Torstensson <[email protected]>
  3061. * HttpRuntime (Init): Removed old todo
  3062. * HttApplication : Implemented IHttpHandlerFactory recycling
  3063. 2004-04-28 Patrik Torstensson
  3064. * HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
  3065. removed MonoTodo
  3066. 2004-04-16 Gonzalo Paniagua Javier <[email protected]>
  3067. * HttpUtility.cs: return null in HtmlDecode for null input instead of
  3068. throwing an exception. Patch by Jan Jaros (bug #57083).
  3069. 2004-04-10 Vladimir Vukicevic <[email protected]>
  3070. * TimeoutManager.cs: Swap the order of initialization of contexts
  3071. and the Timer, to avoid race condition of CheckTimeouts being called
  3072. before contexts gets initialized.
  3073. 2004-03-27 Gonzalo Paniagua Javier <[email protected]>
  3074. * HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
  3075. Now the posted file content does not have the boundaries and headers
  3076. included.
  3077. 2004-03-25 Alon Gazit <[email protected]>
  3078. * HttpRequest.cs: fix ValidateCookieCollection() to prevent
  3079. InvalidCastException.
  3080. 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
  3081. * HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.
  3082. 2004-03-01 Larry Ewing <[email protected]>
  3083. * HttpUtility.cs: fix UrlEncodeToBytes count check.
  3084. 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
  3085. * HttpServerUtility.cs:
  3086. * HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
  3087. #53670).
  3088. 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
  3089. * HttpUtility.cs: fixed length check. Closes bug #54201.
  3090. Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
  3091. decoding.
  3092. 2004-02-11 Jackson Harper <[email protected]>
  3093. * TraceData.cs: Use ToString for cookie/header/var name values so
  3094. null is handled properly.
  3095. 2004-02-09 Gonzalo Paniagua Javier <[email protected]>
  3096. * HttpApplication.cs: ApplicationState is inited by the factory so,
  3097. return that value in the property. when we use the context Session,
  3098. cache it in the instance field.
  3099. * HttpApplicationFactory.cs: fixed target Type for the event when
  3100. hooking application and module events. Initialize application
  3101. and session scope objects. Fixes non-aplication events hook up.
  3102. * HttpStaticObjectsCollection.cs: added StaticItem and delay the
  3103. creation of the objects until they are requested.
  3104. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  3105. * HttpApplicationFactory.cs: fixlet for session events hook.
  3106. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  3107. * HttpApplicationFactory.cs: attach all events from Type and BaseType
  3108. at the same time. Fixes bug #53454.
  3109. 2004-01-27 Jackson Harper <[email protected]>
  3110. * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
  3111. null now, dont hadd the header if it does.
  3112. * HttpCacheVaryByParams.cs: Return null if there are no items.
  3113. 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
  3114. * HttpCachePolicy.cs: it's not public.
  3115. * HttpRuntime.cs: wait for requests before disposing the queue.
  3116. 2004-01-15 Jackson Harper <[email protected]>
  3117. * HttpCachePolicy.cs: Fix typo causing varyby params headers to be
  3118. created when they shouldn't be.
  3119. 2004-01-14 Jackson Harper <[email protected]>
  3120. * TraceData.cs: Fix some typos in the output text. Fix control
  3121. position when adding controls recursively.
  3122. 2004-01-14 Jackson Harper <[email protected]>
  3123. * HttpCachePolicy.cs: Expose duration and sliding properties.
  3124. 2004-01-14 Jackson Harper <[email protected]>
  3125. * HttpCachePolicy.cs: Add an event that is fired when the
  3126. cacheability is updated. The response uses this to determine
  3127. whether or not it needs to cache itself.
  3128. * HttpResponse.cs: When the cacheability is updated either create
  3129. or dispose of the cached raw response based on whether or not we
  3130. wil need it. This allows output caching to be controlled
  3131. programatically.
  3132. 2004-01-12 Gonzalo Paniagua Javier <[email protected]>
  3133. * HttpContext.cs: add setter for ConfigTimeout.
  3134. * HttpException.cs: added Description property and HTML encode some
  3135. unescaped values.
  3136. * HttpRequest.cs: support request validation.
  3137. * HttpRequestValidationException.cs: added message and description.
  3138. * HttpServerUtility.cs: implemented ScriptTimeout.
  3139. 2004-01-11 Jackson Harper <[email protected]>
  3140. * TraceManager.cs: Dont crash if there is no trace config element.
  3141. 2004-01-11 Jackson Harper <[email protected]>
  3142. * HttpRequest.cs: Add property for determining if the request is
  3143. local or not.
  3144. 2004-01-10 Jackson Harper <[email protected]>
  3145. * TraceContext.cs: Handle tracing when it is enabled in the config
  3146. file but not on the page.
  3147. * TraceManager.cs: Get settings from the configuration object.
  3148. * HttpRuntime.cs: Create trace manager in the first request start
  3149. so it can get configuration settings.
  3150. 2004-01-10 Jackson Harper <[email protected]>
  3151. * TraceContext.cs: Save the request path in the trace data.
  3152. * TraceData.cs: Add RequestPath property, make some rendering
  3153. methods internal static so the TraceHandler can use them.
  3154. * TraceManager.cs: Expose trace data, add a method for clearing
  3155. trace data.
  3156. 2004-01-10 Jackson Harper <[email protected]>
  3157. * HttpRuntime.cs: Add trace manager
  3158. * TraceManager.cs: New class for handling trace configuration and
  3159. storing trace data objects.
  3160. * TraceContext.cs: Save trace data to the trace manager. Fix typo.
  3161. 2004-01-10 Jackson Harper <[email protected]>
  3162. * TraceData.cs: New class for storing trace data. Data is stored
  3163. here instead of the trace context so it can be saved and accessed
  3164. from the trace handler.
  3165. * TraceContext.cs: Save data in the TraceData object, let the
  3166. trace data object handle the rendering.
  3167. 2004-01-08 Gonzalo Paniagua Javier <[email protected]>
  3168. * HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
  3169. Thanks to Jan Jaros ([email protected]).
  3170. * HttpRequestValidationException.cs: fix comment.
  3171. 2004-01-06 Gonzalo Paniagua Javier <[email protected]>
  3172. * HttpException.cs: default to error 500. Fixes bug #52623.
  3173. 2004-01-04 Jackson Harper <[email protected]>
  3174. * TraceContext.cs: Store and render trace info times. Also render
  3175. cookie sizes. Remove debug code.
  3176. 2004-01-04 Jackson Harper <[email protected]>
  3177. * HttpResponse.cs: Set the cached response date header so it can
  3178. be updated.
  3179. * HttpResponseHeader.cs: Let values be set so we can update cached
  3180. response header values.
  3181. 2004-01-04 Jackson Harper <[email protected]>
  3182. * HttpResponse.cs: Implement RemoveOutputCacheItem.
  3183. 2004-01-04 Jackson Harper <[email protected]>
  3184. * HttpCachePolicy.cs: Add internal method to get the vary by custom string
  3185. * HttpCacheVaryByHeaders.cs: Add internal method to get the header names.
  3186. 2004-01-03 Gonzalo Paniagua Javier <[email protected]>
  3187. * HttpRuntime.cs: implemented MachineConfigurationDirectory,
  3188. 2004-1-1 Alon Gazit <[email protected]>
  3189. * HttpWriter.cs: add check in Write() in order to prevent
  3190. NullReferenceException.
  3191. 2004-1-1 Alon Gazit <[email protected]>
  3192. * HttpResponse.cs: implemented ExpiresAbsolute and Expires.
  3193. 2003-12-18 Jackson Harper <[email protected]>
  3194. * TraceContext.cs: Write () methods are not warnings.
  3195. 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
  3196. * HttpBrowserCapabilities.cs: added GetClrVersions ().
  3197. * HttpCachePolicy.cs: added SetAllowResponseInBrowserHistory ().
  3198. * HttpContext.cs: added set_Current and RewritePath (s, s, s) for 1.1.
  3199. * HttpRequest.cs: added set_ContentType, SetPathInfo and ValidateInput.
  3200. * HttpRequestValidationException.cs: new class for 1.1
  3201. * HttpResponse.cs: added RedirectLocation.
  3202. * HttpRuntime.cs: added UnloadAppDomain.
  3203. * HttpServerUtility.cs: Execute (s, t, b) is internal for < 1.2
  3204. * HttpUtility.cs: copied UrlPathEncode from HttpServerUtility.
  3205. * HttpWorkerRequest.cs: added [ComVisible] and made the ctor public.
  3206. 2003-12-17 Gonzalo Paniagua Javier <[email protected]>
  3207. * HttpContext.cs: implemented IsCustomErrorEnabled and
  3208. IsDebuggingEnabled. Added internal ErrorPage property.
  3209. * HttpRuntime.cs: on error, check if we have a custom error page enabled
  3210. to handle it and redirect.
  3211. * HttpResponse.cs: added RedirectCustomError (), which actually does
  3212. the redirection to the error page.
  3213. 2003-12-16 Jackson Harper <[email protected]>
  3214. * TraceContext.cs: Render all the data, and the stylesheet.
  3215. 2003-12-16 Jackson Harper <[email protected]>
  3216. * TraceContext.cs: Add incomplete render method.
  3217. 2003-12-16 Gonzalo Paniagua Javier <[email protected]>
  3218. * CapabilitiesLoader.cs: loads browser detection and capabilities data
  3219. from browscap.ini file by Gary J. Keith.
  3220. * HttpBrowserCapabilities.cs: removed almost all TODOs.
  3221. * HttpRequest.cs: fixed Browser property.
  3222. 2003-12-15 Jackson Harper <[email protected]>
  3223. * TraceContext.cs: Initial implementation of storing data.
  3224. * HttpContext.cs: Create and expose a trace object.
  3225. 2003-12-04 Gonzalo Paniagua Javier <[email protected]>
  3226. * HttpApplication.cs: ThreadAbortException is ok on Redirect.
  3227. * HttpContext.cs: added TimeoutPossible property.
  3228. * HttpResponse.cs: throw ThreadAbortException if End () is called within
  3229. a step in which is possible to timeout.
  3230. Fixes bug #51703.
  3231. 2003-12-04 Jackson Harper <[email protected]>
  3232. * HttpRequest.cs: Cleanup method.
  3233. 2003-12-04 Jackson Harper <[email protected]>
  3234. * HttpValueCollection.cs: Allow blank value names. Posting
  3235. <blank>=SomeValue is valid. And occurs if a radio button does
  3236. not have its name set.
  3237. 2003-12-03 Jackson Harper <[email protected]>
  3238. * HttpResponse.cs: Actually apply an app path modifier in
  3239. ApplyAppPathModifer and add a method to set the app path modifier.
  3240. * HttpRequest.cs: Add utility method for setting a request header.
  3241. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  3242. * HttpApplication.cs: handle FileNotFound and DirectoryNotFound
  3243. exceptions when creating the handler to generate a better error page.
  3244. * HttpException.cs: display the http_code if available. Changed all
  3245. \n by \r\n to make the hidden stack trace readable.
  3246. * StaticFileHandler.cs: don't send the real path in th eerror.
  3247. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  3248. * HttpContext.cs: updated GetConfig and GetAppConfig to new API.
  3249. * HttpResponse.cs: separate initialization of the HttpWriter, as it
  3250. tries to read configuration settings while the config. system is not
  3251. available (ie, before the first request).
  3252. * HttpRuntime.cs: delayed queueManager and response writer
  3253. initialization until the configuration system is working.
  3254. 2003-11-26 Gonzalo Paniagua Javier <[email protected]>
  3255. * HttpRuntime.cs: added request queue handling.
  3256. * QueueManager.cs: simple request queue.
  3257. * TimeoutManager.cs: added some locks to prevent the enumerator used in
  3258. CheckTimeouts to be out of synch.
  3259. 2003-11-25 Jackson Harper <[email protected]>
  3260. * HttpStaticObjectsCollection.cs: Add methods for serialization
  3261. and conversion to/from byte arrays.
  3262. 2003-11-21 Jackson Harper <[email protected]>
  3263. * HttpResponse.cs: When caching data set the content length in the
  3264. cached repsonse so that only that amount will be written back to
  3265. the client. Add method to write a range of binary data.
  3266. * HttpCacheVaryByParams.cs: Add method to retrieve param names.
  3267. 2003-11-21 Gonzalo Paniagua Javier <[email protected]>
  3268. * HttpApplication.cs:
  3269. * HttpContext.cs:
  3270. * HttpRuntime.cs: add timeout handling.
  3271. * TimeoutManager.cs: new class that takes care of aborting threads on
  3272. timeout.
  3273. 2003-11-19 Jackson Harper <[email protected]>
  3274. * HttpWriter.cs: Use a constant for the buffer size so the cache
  3275. can get the buffer size. Add method to get the buffer.
  3276. * HttpResponse.cs: Methods for getting data to cache, and setting
  3277. vars from the cache.
  3278. * HttpCachePolicy.cs: Expose a pages cache expire time.
  3279. 2003-11-18 Gonzalo Paniagua Javier <[email protected]>
  3280. * HttpResponse.cs:
  3281. * HttpWriter.cs: some fixes to allow closing a response stream without
  3282. messing the rest.
  3283. 2003-11-13 Jackson Harper <[email protected]>
  3284. * HttpCachePolicy.cs: Make sure cacheability and maxage get
  3285. set. Add method to set Http response header data
  3286. * HttpCacheVaryByParams.cs: Add method to create a response header.
  3287. * HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
  3288. * HttpResponse.cs: Set cache headers.
  3289. 2003-11-11 Ben Maurer <[email protected]>
  3290. * HttpModuleCollection.cs (GetKey): Recursion, again!
  3291. 2003-11-11 Ben Maurer <[email protected]>
  3292. * HttpClientCertificate.cs (ValidUntil): recursion!
  3293. 2003-11-08 Ben Maurer <[email protected]>
  3294. * SiteMapNode.cs (GetDataSourceView): Implement.
  3295. * SiteMapProvider.cs: Typo fixing.
  3296. * XmlSiteMapProvider.cs: We shouldnt resolve here.
  3297. 2003-11-08 Ben Maurer <[email protected]>
  3298. * SiteMap.cs (Init): implement a hack that doesnt need the config
  3299. stuff. Should do that later.
  3300. * SiteMapNodeCollection (OnValidate): Fix recursion.
  3301. * SiteMapProvider.cs: We dont implement some culture stuff work
  3302. around it. Fix typo.
  3303. * XmlSiteMapProvider.cs: Added.
  3304. 2003-11-07 Ben Maurer <[email protected]>
  3305. * ISiteMapProvider.cs:
  3306. * SiteMap.cs:
  3307. * SiteMapNode.cs:
  3308. * SiteMapNodeCollection.cs:
  3309. * SiteMapProvider.cs:
  3310. * SiteMapProviderCollection.cs: V2 sitemap related stuff.
  3311. 2003-11-07 Gonzalo Paniagua Javier <[email protected]>
  3312. * HttpRequest.cs: don't attempt to read more bytes than specified
  3313. content length.
  3314. 2003-11-05 Gonzalo Paniagua Javier <[email protected]>
  3315. * HttpRequest.cs:
  3316. * HttpResponse.cs:
  3317. * HttpUtility.cs:
  3318. * HttpValueCollection.cs: encoding fixes/updates.
  3319. * HttpWriter.cs: when updating the encoding, flush the existing stream.
  3320. Encoding updates.
  3321. 2003-11-04 Ben Maurer <[email protected]>
  3322. * HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
  3323. return false (which makes sense, as the custom errors *arent* enabled;
  3324. ie they dont work.
  3325. * HttpResponseStream.cs: you actually can write with len = 0
  3326. 2003-11-03 Jackson Harper <[email protected]>
  3327. * HttpResponse.cs (ContentEncoding): Throw
  3328. ArgumentNullException. Patch by Yaron Shkop.
  3329. 2003-10-30 Atsushi Enomoto <[email protected]>
  3330. * HttpMultipartContentParser.cs : Quick fix for cygwin build.
  3331. CSC complains that constant char cannot be casted as byte.
  3332. 2003-10-22 Gonzalo Paniagua Javier <[email protected]>
  3333. * HttpApplication.cs: added AssemblyLocation property.
  3334. 2003-10-18 Gonzalo Paniagua Javier <[email protected]>
  3335. * HttpApplicationFactory.cs: use NoParamsInvoker.
  3336. * HttpRequest.cs: support request filters.
  3337. * HttpRequestStream.cs: mono-stylized and added new Set method.
  3338. * NoParamsInvoker.cs: proxy class to invoke user-provided methods
  3339. without parameters that are invoked by EventHandlers.
  3340. 2003-10-13 Lluis Sanchez Gual <[email protected]>
  3341. * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
  3342. to invariant culture.
  3343. 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
  3344. * HttpResponse.cs:
  3345. * HttpServerUtility.cs: change the response writer in Execute. Thanks
  3346. to Rich Alimi <[email protected]> for noticing this.
  3347. 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
  3348. * HttpApplicationFactory.cs: support for wiring up events without
  3349. parameters.
  3350. 2003-10-06 Gonzalo Paniagua Javier <[email protected]>
  3351. * HttpUtility.cs: small memory usage reduction.
  3352. 2003-10-01 Gonzalo Paniagua Javier <[email protected]>
  3353. * HttpApplication.cs: pass the Uri, not the file path to
  3354. when looking for a handler.
  3355. 2003-09-21 Gonzalo Paniagua Javier <[email protected]>
  3356. * HttpRequest.cs: small fix needed when reading big POST data.
  3357. 2003-09-04 Lluis Sanchez Gual <[email protected]>
  3358. * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
  3359. (this will get the address from the request headers).
  3360. 2003-09-04 Lluis Sanchez Gual <[email protected]>
  3361. * HttpServerUtility.cs: In Transfer(), preserve the query string if
  3362. told to do so.
  3363. 2003-08-29 Gonzalo Paniagua Javier <[email protected]>
  3364. * HttpApplication.cs: ensure we do all the EndRequest steps. Don't
  3365. filter the output on error.
  3366. * HttpResponse.cs: modified DoFilter to allow bypassing filtering.
  3367. 2003-08-27 Gonzalo Paniagua Javier <[email protected]>
  3368. * HttpApplication.cs: when the request is completed or an
  3369. error happens, execute all the delegates attached to EndRequest, not
  3370. only the last one. This makes xsp/test/authtest work again.
  3371. * HttpMethodNotAllowedHandler.cs: fixed description for http
  3372. status code.
  3373. 2003-08-22 Gonzalo Paniagua Javier <[email protected]>
  3374. * HttpRequest.cs: quick way of checking that the path is within the
  3375. root for the application. Thanks to Johannes for reporting.
  3376. * HttpRuntime.cs: use the status code from teh exception when it'ss a
  3377. HttpException.
  3378. * StaticFileHandler.cs: forbidden is 403.
  3379. 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
  3380. * HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
  3381. <[email protected]>.
  3382. 2003-08-19 Gonzalo Paniagua Javier <[email protected]>
  3383. * HttpException.cs: make the unhandled error more like the MS one.
  3384. * HttpRuntime.cs: set a 500 error code on unhandled exceptions.
  3385. 2003-08-19 Gonzalo Paniagua Javier <[email protected]>
  3386. * HttpResponse.cs: flush headers when the body length is 0.
  3387. * StaticFileHandler.cs: added If-Modified-Since handling patch slightly
  3388. modified from the original by Piers Haken <[email protected]>.
  3389. 2003-08-14 Gonzalo Paniagua Javier <[email protected]>
  3390. * HttpResponse.cs: another patch from totte and me. This one prevents
  3391. writing output if the client have disconnected and filters the data
  3392. when there's a non-final Flush in the middle of the process.
  3393. 2003-08-12 Gonzalo Paniagua Javier <[email protected]>
  3394. * HttpApplication.cs: fixed typos. Closes bug #44197.
  3395. 2003-08-12 Gonzalo Paniagua Javier <[email protected]>
  3396. * HttpApplication.cs:
  3397. * HttpApplicationFactory.cs: fix duplicate application OnStart events.
  3398. Patch by Patrik Torstensson.
  3399. 2003-08-11 Gonzalo Paniagua Javier <[email protected]>
  3400. * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
  3401. overload. The previous one only admits static methods.
  3402. 2003-08-01 Andreas Nahr <[email protected]>
  3403. * ProcessModelInfo.cs: Fixed signature
  3404. 2003-07-30 Andreas Nahr <[email protected]>
  3405. * WebCategoryAttribute.cs: Implemented localization
  3406. * WebSysDescriptionAttribute.cs: Implemented localization
  3407. 2003-07-23 Gonzalo Paniagua Javier <[email protected]>
  3408. * HttpRuntime.cs: also clear the headers that may have been set upon
  3409. error processing the request.
  3410. 2003-07-23 Gonzalo Paniagua Javier <[email protected]>
  3411. * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
  3412. Write method.
  3413. * HttpWriter.cs: flush the filter after writing.
  3414. 2003-07-22 Gonzalo Paniagua Javier <[email protected]>
  3415. * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
  3416. 2003-07-08 Gonzalo Paniagua Javier <[email protected]>
  3417. * HttpContext.cs: Session doesn't have a setter.
  3418. * HttpResponse.cs: Request is private.
  3419. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  3420. * HttpRequest.cs: fixed Headers property. It was getting known headers
  3421. values instead of known headers names.
  3422. 2003-07-01 Gonzalo Paniagua Javier <[email protected]>
  3423. * HttpApplication.cs: prevent nullref if an error happens before context
  3424. is set.
  3425. * HttpException.cs: small fix in the stack trace sent.
  3426. * HttpUtility.cs: the lock is not needed.
  3427. 2003-06-30 Gonzalo Paniagua Javier <[email protected]>
  3428. * HttpRequest.cs: added REMOTE_PORT.
  3429. * HttpValueCollection.cs: fixed bug #45490.
  3430. 2003-05-13 Gonzalo Paniagua Javier <[email protected]>
  3431. * HttpApplication.cs:
  3432. * HttpApplicationFactory.cs: fire application start and session
  3433. start/end events.
  3434. 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
  3435. * HttpException.cs: encode as HTML the inner exception that
  3436. is appended as a comment at the end of error pages.
  3437. 2003-05-03 Gonzalo Paniagua Javier <[email protected]>
  3438. * HttpWriter.cs: don't do anything in Flush. Fixes #42249.
  3439. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  3440. * HtmlizedException.cs: added more virtual methods.
  3441. * HttpException.cs: some work on the output when there's a source
  3442. file present.
  3443. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  3444. * HtmlizedException.cs: simplified to cope with the new interface.
  3445. * HttpApplicationFactory.cs: use the application file parser to get the
  3446. application Type.
  3447. * HttpException.cs: small changes. Needs some more work on
  3448. ParseExceptions.
  3449. 2003-03-25 Gonzalo Paniagua Javier <[email protected]>
  3450. * HttpRequest.cs: fixed Url property.
  3451. 2003-03-24 Gonzalo Paniagua Javier <[email protected]>
  3452. * HtmlizedException.cs:
  3453. * HttpException.cs: display the correct line number in error messages.
  3454. 2003-03-22 Gonzalo Paniagua Javier <[email protected]>
  3455. * HttpCachePolicy.cs: implemented all TODOs.
  3456. * HttpRequestStream.cs: make it internal.
  3457. 2003-03-18 Gonzalo Paniagua Javier <[email protected]>
  3458. * HttpContext.cs: implemented RewritePath in other way.
  3459. * HttpRequest.cs: removed SetPhysicalPath and added SetForm.
  3460. * HttpServerUtility.cs: implemented Transfer (string, bool).
  3461. 2003-03-16 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
  3462. * HttpContext.cs : Implemented RewritePath
  3463. * HttpRequest.cs : Added internal function SetPhysicalPath
  3464. 2003-03-14 Gonzalo Paniagua Javier <[email protected]>
  3465. * HttpServerUtility.cs: implemented Transfer ().
  3466. 2003-03-13 Gonzalo Paniagua Javier <[email protected]>
  3467. * HttpRuntime.cs: Cache no longer have a Dispose method.
  3468. * HttpServerUtility.cs: removed MonoTODO.
  3469. 2003-03-03 Gonzalo Paniagua Javier <[email protected]>
  3470. * HttpHelper.cs: store the values in an ArrayList to get them in correct
  3471. order.
  3472. 2003-02-17 Gonzalo Paniagua Javier <[email protected]>
  3473. * HttpApplicationFactory.cs: Global.asax takes precedence over
  3474. global.asax if it exists.
  3475. * HttpRequest.cs: use allowCrossAppMapping in MapPath.
  3476. 2003-02-17 Gonzalo Paniagua Javier <[email protected]>
  3477. * HttpApplication.cs: CreateHttpHandler is now internal.
  3478. * HttpRequest.cs: allow setting QueryStringRaw, which
  3479. invalidates the data obtained from the previous value. Added internal
  3480. SetFilePath method.
  3481. * HttpServerUtility.cs: implemented Execute and GetLastError.
  3482. 2003-02-17 Gonzalo Paniagua Javier <[email protected]>
  3483. * HttpServerUtility.cs: style.
  3484. 2003-02-13 Gonzalo Paniagua Javier <[email protected]>
  3485. * HttpApplication.cs: only execute the EndRequest step on error
  3486. condition or request marked as completed. This prevent page events from
  3487. being called when, for example, the url authorization module forbids
  3488. the request.
  3489. 2003-02-12 Gonzalo Paniagua Javier <[email protected]>
  3490. * HttpRequest.cs: implemented the indexer.
  3491. 2003-02-11 Gonzalo Paniagua Javier <[email protected]>
  3492. * HtmlizedException.cs: base class for exceptions that makes it easy to
  3493. generate error pages.
  3494. * HttpException.cs: improved error displaying.
  3495. * HttpRuntime.cs: removed debugging output.
  3496. 2003-02-06 Gonzalo Paniagua Javier <[email protected]>
  3497. * HttpApplication.cs: display the error instead of hanging when we get
  3498. any error before the last step of the request.
  3499. 2003-02-04 Tim Haynes <[email protected]>
  3500. * HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement
  3501. instance counter.
  3502. 2003-01-29 Gonzalo Paniagua Javier <[email protected]>
  3503. * HttpRequest.cs: added BaseVirtualDir property and use it in MapPath.
  3504. 2003-01-17 Gonzalo Paniagua Javier <[email protected]>
  3505. * HttpRequest.cs: implemented CurrentExecutionFilePath.
  3506. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  3507. * HttpApplication.cs: keep _lasterror if no context. Attach
  3508. application events *after* modules initialization (if not, User is not
  3509. set when the user handler is called).
  3510. * HttpApplicationFactory.cs: made all methods related to
  3511. AttachEvents static. I will fix OnStart/OnEnd for application and
  3512. session later.
  3513. * HttpRequest.cs: don't initialize cookies twice.
  3514. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  3515. * HttpResponse.cs:
  3516. (ApplyAppPathModifiers): return the root directory for "".
  3517. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  3518. * HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.
  3519. 2003-01-04 Gonzalo Paniagua Javier <[email protected]>
  3520. * HttpApplication.cs: added new state to handle default authentication.
  3521. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  3522. * HttpContext.cs: removed hack to get the User.
  3523. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  3524. * HttpUtility.cs: fixed bug #36038. Thanks to [email protected] for
  3525. reporting the bug and how to fix it.
  3526. 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
  3527. * HttpCookie.cs: send 'expires' in the header.
  3528. 2002-12-19 Gonzalo Paniagua Javier <[email protected]>
  3529. * HttpValueCollection.cs: patch from Botjan Vizin
  3530. <[email protected]> that implements ToString (bool).
  3531. 2002-12-18 Gonzalo Paniagua Javier <[email protected]>
  3532. * HttpApplicationFactory.cs: add the context as parameter when building
  3533. the application Type.
  3534. * HttpCookie.cs: new internal constructor.
  3535. * HttpCookieCollection.cs: new internal method to make a cookie expire.
  3536. * HttpRequest.cs: MapPath fixes.
  3537. * HttpResponse.cs: implemented ApplyAppPathModifier.
  3538. * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
  3539. 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
  3540. * HttpContext.cs: hack to create a default user when there's no one.
  3541. Implemented GetConfig (string).
  3542. * HttpRequest.cs: fixes to MapPath (string).
  3543. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  3544. * HttpRuntime.cs: avoid nulls and exception when getting resource
  3545. format strings.
  3546. * StaticFileHandler.cs: added file name to error message.
  3547. 2002-12-05 Gonzalo Paniagua Javier <[email protected]>
  3548. * HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
  3549. 2002-12-02 Gonzalo Paniagua Javier <[email protected]>
  3550. * HttpApplicationFactory.cs: get the events from the application class,
  3551. fire Application/Session Start/End and add the others as application
  3552. events.
  3553. 2002-11-30 Gonzalo Paniagua Javier <[email protected]>
  3554. * HttpApplicationFactory.cs: compile global.asax file if it exists.
  3555. 2002-11-27 Gonzalo Paniagua Javier <[email protected]>
  3556. * HttpRequest.cs: provide a default Browser until we detect it.
  3557. * HttpResponse.cs:
  3558. (End): do not close the connection here.
  3559. (Flush (bool)): send the headers when, for example, Redirect () is
  3560. called.
  3561. 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
  3562. * HttpException.cs: simple error output.
  3563. 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
  3564. * HttpApplication.cs: style.
  3565. * HttpException.cs: style.
  3566. * HttpRuntime.cs: only flush the response if there are no errors.
  3567. Otherwise, write an error output.
  3568. * HttpWriter.cs: change Unicode to UTF8.
  3569. 2002-11-09 Gonzalo Paniagua Javier <[email protected]>
  3570. * HttpApplication.cs: don't begin the request using ExecuteNextAsync
  3571. (it fails to work on NetServ).
  3572. * HttpWorkerRequest.cs: typo.
  3573. 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
  3574. * HttpValueCollection.cs: the value may contain trailing '=' as it is
  3575. UrlEncoded. Don't split name=value based on '='.
  3576. 2002-11-02 Gonzalo Paniagua Javier <[email protected]>
  3577. * HttpCookie.cs: made GetCookieHeader internal.
  3578. * HttpRequest.cs: get cookies from request.
  3579. * HttpResponse.cs: send cookies. Implemented
  3580. AddFileDependencies (). Added check for _Writer == null in Flush
  3581. (Patrik ;-). Clear the content if HEAD or SupressContent == true.
  3582. Removed redirect hack used in old server.
  3583. 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
  3584. * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
  3585. most ContentLength bytes.
  3586. * HttpResponse.cs: now it sends the headers. Added
  3587. X-Powered-By header :-).
  3588. * HttpRuntime.cs: fixed typo.
  3589. * HttpValueCollection.cs: cosmetic changes.
  3590. 2002-10-27 Gonzalo Paniagua Javier <[email protected]>
  3591. * HttpApplication.cs: reenabled a few lines of code
  3592. (ThreadPool already fixed).
  3593. * HttpRequest.cs:
  3594. * HttpResponse.cs:
  3595. * HttpUtility.cs:
  3596. * HttpValueCollection.cs:
  3597. * HttpWriter.cs: Use WebEncoding.Encoding.
  3598. 2002-10-25 Gonzalo Paniagua Javier <[email protected]>
  3599. * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
  3600. This fixes sending bytes and allows mixing byte with chars.
  3601. 2002-10-25 Gonzalo Paniagua Javier <[email protected]>
  3602. * HttpResponse.cs: implemented WriteFile methods.
  3603. * MimeTypes.cs: removed duplicated entries.
  3604. 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
  3605. * HttpResponse.cs: don't throw exception in a couple of
  3606. methods not yet implemented.
  3607. 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
  3608. * HttpApplication.cs: fixed type and handle factories when creating
  3609. IHttpHandler for a request.
  3610. 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
  3611. * HttpApplication.cs: use handlers from configuration.
  3612. * HttpContext.cs: get handlers from ConfigurationSettings.
  3613. 2002-10-02 Gonzalo Paniagua Javier <[email protected]>
  3614. * HttpMethodNotAllowedHandler.cs:
  3615. * HttpRuntime.cs:
  3616. * StaticFileHandler.cs: Modified file.
  3617. * HttpUtility.cs: implemented all missing methods.
  3618. 2002-09-30 Gonzalo Paniagua Javier <[email protected]>
  3619. * System.Web/HttpApplication.cs: use the static file handler.
  3620. * System.Web/HttpForbiddenHandler.cs: handler to forbid access.
  3621. * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
  3622. allowed.
  3623. * System.Web/HttpUtility.cs: finished all UrlDecode methods.
  3624. * System.Web/MimeTypes.cs: map from file extension to MIME type.
  3625. * System.Web/StaticFileHandler.cs: serves static files
  3626. 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
  3627. * System.Web/HttpApplication.cs:
  3628. * System.Web/HttpApplicationFactory.cs:
  3629. * System.Web/HttpRequest.cs:
  3630. * System.Web/HttpRuntime.cs: we are now able to compile pages and use
  3631. HttpApplication, HttpRuntime and SimpleWorkerRequest.
  3632. 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
  3633. * HttpApplication.cs: added some missing methods.
  3634. * HttpApplicationFactory.cs: get event handlers for the application.
  3635. * HttpAsyncResult.cs: little fixes.
  3636. * HttpRequest.cs: make Encoding work even with no worker request.
  3637. 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
  3638. * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
  3639. to add HttpMapPath to the list file...
  3640. 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
  3641. * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
  3642. report when i get a test case.
  3643. 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
  3644. * HttpApplicationFactory.cs:
  3645. * HttpCachePolicy.cs:
  3646. * HttpResponseHeader.cs:
  3647. * HttpResponseStream.cs:
  3648. * HttpResponseStreamProxy.cs:
  3649. * HttpValueCollection.cs: misc. fixes based on class status page.
  3650. * IHttpMapPath.cs: New file.
  3651. * HttpRequest.cs: implemented ContentEncoding.
  3652. * HttpWorkerRequest.cs: mono-stylized and implemented
  3653. SendResponseFromMemory.
  3654. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  3655. * HttpContext.cs: reformatted.
  3656. * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
  3657. the indexer.
  3658. 2002-08-05 Patrik Torstensson <[email protected]>
  3659. * HttpApplication.cs: Implemented a state machine to allow handling of
  3660. HttpModules and HttpHandlers. Implementation of async handlers.
  3661. * HttpApplicationFactory.cs: Factory for creating HttpApplication
  3662. instances, including caching.
  3663. * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
  3664. application instance to execute requests in and implementation of
  3665. request execution (still no request queue).
  3666. * HttpAsyncResult.cs: New file to handle async module results.
  3667. * HttpRequest.cs: Change signature of Dispose
  3668. * HttpResponse.cs: new internal method allowing filtering to happen
  3669. during the request flow in the state machine.
  3670. 2002-07-28 Gonzalo Paniagua Javier <[email protected]>
  3671. * HttpApplication.cs: events were not being initialized.
  3672. 2002-07-25 Gonzalo Paniagua Javier <[email protected]>
  3673. * ProcessModelInfo.cs: fixed compilation.
  3674. 2002-07-25 Tim Coleman <[email protected]>
  3675. * ProcessModelInfo.cs:
  3676. New class added
  3677. * HttpParseException.cs:
  3678. * HttpCompileException.cs:
  3679. * HttpUnhandledException.cs:
  3680. Internal constructors added to these
  3681. 2002-07-24 Tim Coleman <[email protected]>
  3682. * ProcessInfo.cs:
  3683. Fix constructor, reference to shutdownreason.
  3684. 2002-07-24 Tim Coleman <[email protected]>
  3685. * HttpCachePolicy.cs:
  3686. Added stubbs to this class.
  3687. * HttpCacheability.cs:
  3688. * HttpCacheRevalidation.cs:
  3689. * HttpValidationStatus.cs:
  3690. * ProcessShutdownReason.cs:
  3691. * ProcessStatus.cs:
  3692. * TraceMode.cs:
  3693. Reorder the enumerations (and in some cases make
  3694. one-based) in order to agree with the .NET
  3695. implementation, based on the class status page.
  3696. * ProcessInfo.cs:
  3697. Implementation of this class.
  3698. 2002-07-23 Tim Coleman <[email protected]>
  3699. * HttpCompileException.cs:
  3700. * HttpParseException.cs:
  3701. * HttpUnhandledException.cs:
  3702. New stubbs created.
  3703. * HttpApplication.cs:
  3704. * HttpBrowserCapabilities.cs:
  3705. Added missing methods stubbs and attributes based
  3706. on the class status page. Also reformatted some
  3707. source for consistency.
  3708. 2002-07-23 Tim Coleman <[email protected]>
  3709. * HttpUtility.cs: Moved entities hashtable into main
  3710. class as a static object, so we don't instantiate
  3711. a new one every time. Also put the hashtable
  3712. building into a lock block.
  3713. 2002-07-22 Tim Coleman <[email protected]>
  3714. * HttpUtility.cs: Cleanup of the code, implementation
  3715. of HtmlDecode/HtmlEncode functions
  3716. 2002-07-14 Gonzalo Paniagua Javier <[email protected]>
  3717. * HttpResponse.cs: quick&dirty hack to make redirection work. Should
  3718. be out of there once we have SimpleWorkerRequest.
  3719. 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
  3720. * HttpUtility.cs: little typo, big headache.
  3721. 2002-07-10 Gonzalo Paniagua Javier <[email protected]>
  3722. * HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
  3723. 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
  3724. * System.Web/HttpResponse.cs:
  3725. Fixes based on class status page:
  3726. - Add attributes (DefaultEvent, ParseChildren).
  3727. - Fix declarations.
  3728. - Explicitly implement some interfaces (IPostBackDataHandler
  3729. and IPostBackEventHandler).
  3730. - Implemented some missing methods.
  3731. 2002-06-29 Gonzalo Paniagua Javier <[email protected]>
  3732. * HttpContext.cs:
  3733. (Session): return null instead of throwing an exception.
  3734. * HttpRequest.cs:
  3735. (HttpMethod): return RequestType if not set.
  3736. (GetRawContent): return QueryString if we don't have a
  3737. HttpWorkerRequest.
  3738. * HttpUtility.cs: fixed Decode and Encode.
  3739. 2002-06-25 Gonzalo Paniagua Javier <[email protected]>
  3740. * HttpApplication.cs:
  3741. * HttpContext.cs: added System.Web.SessionState namespace.
  3742. * HttpSessionState.cs: removed. It is under
  3743. System.Web.SessionState.
  3744. 2002-06-10 Duncan Mak <[email protected]>
  3745. * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
  3746. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  3747. * HttpRequest.cs: implemented Browser property.
  3748. 2002-06-03 Gonzalo Paniagua Javier <[email protected]>
  3749. * HttpBrowserCapabilities.cs: stubbed out.
  3750. 2002-05-18 Miguel de Icaza <[email protected]>
  3751. * HttpRuntime.cs: Reformat file.
  3752. 2002-05-07 Duncan Mak <[email protected]>
  3753. * HttpBrowserCapabilities.cs: Added, replacing
  3754. HttpBrowserCapabilites because of typo.
  3755. * HttpBrowserCapabilites.cs: Removed, replaced by above.
  3756. * HttpRequest.cs (Browser): Fixed typo.
  3757. 2002-04-12 Patrik Torstensson <[email protected]>
  3758. * HttpApplication.cs: Minor updates
  3759. * HttpApplicationState.cs: Ready.
  3760. * HttpClientCertificate.cs: Signature updates
  3761. * HttpValueCollection.cs: ready
  3762. * HttpStaticObjectsCollection.cs: ready
  3763. * HttpResponseHeader.cs: made internal only
  3764. * HttpResponse.cs: Signature updates
  3765. * HttpPostedFile.cs: ready
  3766. * HttpCacheVaryByHeaders.cs: ready (except communication to policy)
  3767. * HttpCacheVaryByParams.cs: ready (except communication to policy)
  3768. System.Web is now over 60% ready..
  3769. 2002-04-11 Patrik Torstensson <[email protected]>
  3770. * HttpException.cs: 95% ready, only windows dependent code left
  3771. * HttpFileCollection.cs: Finished.
  3772. * HttpRequest.cs: Minor fixes and fixed signature problems
  3773. * HttpResponse.cs: Implementation of missing methods and signature problems
  3774. * HttpResponseHeader.cs: Fixed signature problems
  3775. * HttpRuntime.cs: Fixed signature problems
  3776. * HttpServerUtility.cs: Added support for HttpApplication
  3777. * HttpSessionState.cs: Fixed signature issues
  3778. * HttpUtility.cs: fixed signature issues
  3779. * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
  3780. * HttpWorkerRequest.cs: Fixed small signature issue
  3781. * HttpWriter.cs: Fixed signature issue
  3782. * HttpApplication.cs: Basic implementation
  3783. * HttpApplicationState.cs: Small fixes to support major change comming up
  3784. * HttpBrowserCapabilities.cs: Added Type method
  3785. * HttpClientCertificate.cs: Almost ready, needs to parse certificate.
  3786. * HttpContext.cs: Fixed signature issues and added last methods.
  3787. * HttpCookie.cs: Full implementation
  3788. * HttpCookieCollection.cs: Full implementation
  3789. * TraceContext.cs: Methods implemented.
  3790. * HttpPostedFile.cs: Placeholder
  3791. * HttpStaticObjectsCollection.cs: Placeholder
  3792. * HttpModuleCollection.cs: Ready, will be used during the major revamp.
  3793. * Fixed a number of other small signature problems also (class status page)
  3794. 2002-04-10 Patrik Torstensson <[email protected]>
  3795. * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
  3796. * Checkin of all new files (noted in last changenote)
  3797. 2002-04-10 Patrik Torstensson <[email protected]>
  3798. * HttpContext.cs: First implementation (basic support, few methods left to impl)
  3799. * HttpException.cs: Partial implementation (basic support)
  3800. * HttpHelper.cs: Header parse helper, used by runtime (non public)
  3801. * HttpRequest.cs: Implementation (all methods there, not all fully impl)
  3802. * HttpRequestStream.cs: Full implementation
  3803. * HttpResponse.cs: Partial implementation(almost all methods)
  3804. * HttpResponseHeader.cs: Header helper
  3805. * HttpResponseStream.cs: Full implementation - Response stream support
  3806. * HttpResponseStreamProxy.cs: Implementation - filter support
  3807. * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
  3808. * HttpServerUtility.cs: Implemented usage of HttpContext for methods
  3809. and moved encoding functions to HttpUtility.
  3810. * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
  3811. added the Attribute encoding functions.
  3812. * HttpValueCollection.cs: Implementation.
  3813. * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
  3814. * HttpWriter.cs: Implementation (with filter support)
  3815. * HttpFileCollection: Added dummy class (placeholder)
  3816. * HttpApplication.cs: Added dummy class (placeholder)
  3817. * HttpApplicationState.cs: Added dummy class (placeholder)
  3818. * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
  3819. * HtttpCachePolicy.cs: Added dummy class (placeholder)
  3820. * HttpClientCertificate.cs: Added dummy class (placeholder)
  3821. * HttpSessionState.cs: Added dummy class (placeholder)
  3822. * TraceContext.cs: Added dummy class (placeholder)
  3823. 2002/04/10 Nick Drochak <[email protected]>
  3824. * HttpServerUtility.cs: Fix build breaker.
  3825. 2002-03-28 Wictor Wiln <[email protected]>
  3826. * HttpServerUtils.cs : Added some more functionality
  3827. 2002-03-28 Martin Baulig <[email protected]>
  3828. * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
  3829. char to a string, use ToString() instead.
  3830. 2002-03-16 Gaurav Vaish <[email protected]>
  3831. * WebCategoryAttribute.cs
  3832. : Added private attribute.
  3833. 2002-03-16 Gaurav Vaish <[email protected]>
  3834. * HttpRuntime.cs : Stubbed methods for
  3835. FormatStringResource(...) in agreement with the various
  3836. overloads available at String.Format(...)
  3837. 2002-01-08 Gaurav Vaish <[email protected]>
  3838. * TODOAttribute.cs : Added, as an internal class to the assembly
  3839. 2002-01-03 Nick Drochak <[email protected]>
  3840. * HttpRuntime.cs: remove uneeded exception variable from catch and
  3841. initialize remaining instance members to avoid compile warnings
  3842. 2002-01-02 Nick Drochak <[email protected]>
  3843. * HttpRuntime.cs: fix spelling error/variable name change.
  3844. 2001-12-18 Gaurav Vaish <[email protected]>
  3845. * HttpRuntime.cs : Initial implementation
  3846. 2001-08-29 Bob Smith <[email protected]>
  3847. * HttpWorkerRequest.cs: Partial Implementation.
  3848. 2001-08-16 Bob Smith <[email protected]>
  3849. * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
  3850. 2001-08-09 Bob Smith <[email protected]>
  3851. * BeginEventHandler.cs: Implemented.
  3852. * EndEventHandler.cs: Implemented.
  3853. * HttpCacheability.cs: Implemented.
  3854. * HttpCacheRevalidation.cs: Implemented.
  3855. * HttpCacheValidateHandler.cs: Implemented.
  3856. * HttpCookieCollection.cs: Implemented.
  3857. * HttpCookie.cs: Implemented.
  3858. * HttpValidationStatus.cs: Implemented.
  3859. * HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
  3860. * IHttpAsyncHandler.cs: Implemented.
  3861. * IHttpHandler.cs: Implemented.
  3862. * IHttpHandlerFactory.cs: Implemented.
  3863. * IHttpModule.cs: Implemented.
  3864. * ProcessShutdownReason.cs: Implemented.
  3865. * ProcessStatus.cs: Implemented.
  3866. * TraceMode.cs: Implemented.