ChangeLog 88 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736
  1. 2005-09-08 Gonzalo Paniagua Javier <[email protected]>
  2. * HttpPostedFile.cs: fixes in Seek and Position.
  3. 2005-09-08 Sebastien Pouliot <[email protected]>
  4. * HttpRequest.cs: Make sure the MemoryStream created have their
  5. contents marked as public - or else you can't call GetBuffer on them!
  6. 2005-09-08 Miguel de Icaza <[email protected]>
  7. * HttpRequest.cs: Patch from Juraj Skripsky <[email protected]> that
  8. fixes UrlReferrer.
  9. 2005-09-08 Gonzalo Paniagua Javier <[email protected]>
  10. * HttpPostedFile.cs: Make this class actually work. Every time we read,
  11. we have to position the underlying stream.
  12. 2005-09-08 Gonzalo Paniagua Javier <[email protected]>
  13. * HttpRequest.cs: reading multipart/form-data works again.
  14. 2005-09-08 Eyal Alaluf <[email protected]>
  15. * HttpRequest.cs: Under TARGET_JVM the input stream must allow GetBuffer.
  16. 2005-09-08 Eyal Alaluf <[email protected]>
  17. * HttpApplicationFactory.cs: TARGET_J2EE/JVM fix.
  18. 2005-09-07 Gonzalo Paniagua Javier <[email protected]>
  19. * HttpRequest.cs: correctly detect multipart/form-data.
  20. 2005-09-07 Gonzalo Paniagua Javier <[email protected]>
  21. * HttpApplicationFactory.cs: recycle after invoking session_end.
  22. 2005-09-06 Gonzalo Paniagua Javier <[email protected]>
  23. * HttpRuntime.cs: remove Console.
  24. * HttpApplicationFactory.cs: don't hook Session_End, but keep
  25. the MethodInfo around for later invocation if needed. Don't call
  26. GetMethods() for every HttpApplication (or derived class) instances.
  27. Added a method, used by SessionStateModule, that will create use an
  28. application without context to invoke Session_End. Keep a pool of
  29. applications that are meant to be used by this method only.
  30. * HttpApplication.cs: add a SetSession method and do not
  31. attach all the events if the application is for Session_End only.
  32. 2005-09-06 Gonzalo Paniagua Javier <[email protected]>
  33. * HttpRuntime.cs: actually unload the domain when requested. Reformatted
  34. FinishUnavailable() and removed the 'Location' header form the error.
  35. * HttpApplicationFactory.cs: set up the watcher for the bin directory.
  36. This also prevents a nullref when global.asax is changed.
  37. 2005-09-06 Gonzalo Paniagua Javier <[email protected]>
  38. * HttpApplication.cs: fixed bug introduced when moving GetHandler call
  39. around. Now we get error pages again.
  40. 2005-09-06 Miguel de Icaza <[email protected]>
  41. * HttpApplication.cs: Catch EndRequest errors as well.
  42. 2005-09-05 Miguel de Icaza <[email protected]>
  43. * HttpApplication.cs: Invoke EndRequest handler before OutputPage
  44. as FormsAuthentication will issue a Redirect from the EndRequest
  45. handler.
  46. 2005-09-05 Gonzalo Paniagua Javier <[email protected]>
  47. * HttpApplication.cs: when writing an error message, catch the possible
  48. write error.
  49. 2005-09-05 Gonzalo Paniagua Javier <[email protected]>
  50. * HttpResponseStream.cs: prevent invalid cast exception if the first
  51. thing written is a file.
  52. 2005-09-04 Gonzalo Paniagua Javier <[email protected]>
  53. * HttpApplication.cs: fix invalid cast exception (bug #75926).
  54. 2005-09-01 Gonzalo Paniagua Javier <[email protected]>
  55. * HttpApplicationFactory.cs: only trigger the Application_Start event
  56. once. It was being invoked more than once when several clients were
  57. hitting the server at the same time on startup.
  58. 2005-09-01 Eyal Alaluf <[email protected]>
  59. * HttpContext.cs HttpResponse.cs HttpWorkerRequest.cs HttpRuntime.cs
  60. HttpApplicationFactory.cs HttpApplication.cs: TARGET_J2EE/JVM fixes.
  61. Mostly workaround limited AppModel in TARGET_J2EE.
  62. 2005-08-31 Gonzalo Paniagua Javier <[email protected]>
  63. * HttpResponse.cs: if the request method is HEAD, that's equivalent to
  64. SuppressContent. Added an internal TransmitFile that allows setting the
  65. final_flush flag.
  66. * StaticFileHandler.cs: use the new internal TransmitFile and remove
  67. generation of Content-Length header, as now it's computed correctly.
  68. * HttpApplication.cs: remove debugging stuff.
  69. * HttpResponseStream.cs: suppress_content is checked in HttpResponse.
  70. 2005-08-31 Miguel de Icaza <[email protected]>
  71. Removed debugging info.
  72. * HttpApplication.cs: Add support for async handlers.
  73. Add extra 2.x methods.
  74. 2005-08-31 Gonzalo Paniagua Javier <[email protected]>
  75. * BrowserCapabilities.cs: removed extra 'using'.
  76. * HttpApplication.cs: use just the 'modcoll' to hold the collection of
  77. modules instead of having a separate 'modules' one.
  78. 2005-08-30 Gonzalo Paniagua Javier <[email protected]>
  79. * HttpApplication.cs: clone the module collection so that
  80. it's not shared between HttpApplications. Call GetHandler() in the
  81. right place.
  82. 2005-08-30 Miguel de Icaza <[email protected]>
  83. * HttpApplication.cs: Add the new 2.x method overloads that take a
  84. data object.
  85. (RunHooks): Pass the extra data instead of null.
  86. * HttpCookie.cs (HttpOnly): Add 2.x cookie header.
  87. * BrowserCapabilities.cs: Move the core of the capabilities into a
  88. separate file. Use partial classes to choose what version to
  89. compile against.
  90. * HttpBrowserCapabilities.cs: Update to move the code elsewhere.
  91. 2005-08-30 Eyal Alaluf <[email protected]>
  92. * HttpResponseStream.cs: Fix a bug introduced by last fix (thanks to
  93. Ben)
  94. 2005-08-30 Eyal Alaluf <[email protected]>
  95. * HttpResponseStream.cs: Compilation fixes for TARGET_JVM. TARGET_JVM
  96. does not support unsafe code. I localized all unsafe code within Chunk
  97. & Block and created a managed version of Chunk.
  98. 2005-08-30 Eyal Alaluf <[email protected]>
  99. * HttpApplicationFactory.cs: Compilation fixes for TARGET_J2EE. Under
  100. TARGET_J2EE static fields are shared by all app domains. We handle
  101. this difference by explicitly getting/setting values from the app
  102. domain. Since HttpApplicationFactory has many static fields, I
  103. refactored it to have one static instance and moved the static fields
  104. into instance fields.
  105. 2005-08-29 Eyal Alaluf <[email protected]>
  106. * HttpRequest.cs: Disable use of IntPtrStream for TARGET_JVM
  107. 2005-08-29 Eyal Alaluf <[email protected]>
  108. * HttpContext.cs: Compilation fixes for TARGET_J2EE/JVM
  109. 2005-08-28 Gonzalo Paniagua Javier <[email protected]>
  110. * HttpResponse.cs: don't duplicate the 'charset=' and don't send a
  111. charset for unknown MIME types.
  112. * StaticFileHandler.cs: set the Content-Length header here.
  113. * HttpRequest.cs: prevent nullrefs when we have no 'charset='.
  114. 2005-08-28 Gonzalo Paniagua Javier <[email protected]>
  115. * StaticFileHandler.cs: use TransmitFile instead of WriteFile. This way
  116. xsp will use sendfile().
  117. 2005-08-28 Chris Toshok <[email protected]>
  118. * SiteMapNode.cs: fix IHierarchyData.GetParent.
  119. 2005-08-26 Gonzalo Paniagua Javier <[email protected]>
  120. * HttpRequest.cs:
  121. * IntPtrStream.cs: now we only have a read-only MemoryStream or an
  122. IntPtrStream. The copy is moved into HttpRequest.
  123. 2005-08-26 Sebastien Pouliot <[email protected]>
  124. * WebCategoryAttribute.cs: New. Required internal attribute.
  125. * WebSysDescriptionAttribute.cs: New. Required internal attribute.
  126. 2005-08-26 Jackson Harper <[email protected]>
  127. * HttpResponseStream.cs: Use GetBuffer so the memory isn't
  128. duplicated.
  129. 2005-08-26 Gonzalo Paniagua Javier <[email protected]>
  130. * HttpApplication.cs: GetHandler might return null when, for example,
  131. a web service fails, but that does not mean that returning a null
  132. handler should throw another exception, as the web service code
  133. serialized the error as a faultString. So if the handler is null, just
  134. don't call ProcessRequest and keep going.
  135. 2005-08-26 Jackson Harper <[email protected]>
  136. * HttpResponse.cs: Send the cached headers if this is a cached
  137. response. Save the headers, date header, and page data. Fix a typo.
  138. * HttpResponseStream.cs: Add new accesor to get a byte [] of the
  139. page data.
  140. 2005-08-26 Gonzalo Paniagua Javier <[email protected]>
  141. * HttpWorkerRequest.cs: SetEndOfSendNotification is a noop. No matter
  142. what callback you use that never gets called. In XSP I actually
  143. implement something for this method.
  144. * HttpServerUtility.cs: unused variable.
  145. 2005-08-26 Gonzalo Paniagua Javier <[email protected]>
  146. * HttpInputStream.cs: new ctor that takes a byte [].
  147. * IntPtrStream.cs: make it work on a byte [] too.
  148. * HttpRequest.cs:
  149. (ContentLength): return 0 for negative numbers or error parsing, but
  150. keep content_length negative in those cases.
  151. (MakeInputStream): when there's no content-length (or it's negative),
  152. we still read the request into a MemoryStream. Use
  153. IsEntireEntityIsPreloaded() as a fast path.
  154. 2005-08-25 Sebastien Pouliot <[email protected]>
  155. * HttpClientCertificate.cs: On 1.x the .ctor throws a
  156. ArgumentNullException (but 2.0 throws a NRE).
  157. 2005-08-25 Gonzalo Paniagua Javier <[email protected]>
  158. * HttpRequest.cs: HttpMethod deserves its own field. Fix IsLocal.
  159. 2005-08-25 Chris Toshok <[email protected]>
  160. * HttpApplication.cs (IsReusable): return true.
  161. (InitOnce): remove the initialization of handler_factory from
  162. here.
  163. (GetHandler) and move it here, so we make sure to load handlers
  164. from all needed web.config files.
  165. 2005-08-25 Gonzalo Paniagua Javier <[email protected]>
  166. * HttpServerUtility.cs: use GetHandler().
  167. * HttpApplication.cs: remove obsolete method. Now Transfe/Execute work.
  168. 2005-08-25 Gonzalo Paniagua Javier <[email protected]>
  169. * HttpApplication.cs: no need for the local var. here.
  170. 2005-08-25 Chris Toshok <[email protected]>
  171. * HttpApplication.cs (InitOnce): move the initialization of
  172. modules above the call to HttpApplicationFactory.AttachEvents,
  173. since that method accesses HttpApplication.Modules. Fixes
  174. nGallery.
  175. (IsReusable): mark TODO.
  176. 2005-08-23 Gonzalo Paniagua Javier <[email protected]>
  177. * HttpResponseHeader.cs: removed obsolete class.
  178. * HttpResponse.cs: no more 'obsolete' warnings.
  179. 2005-08-23 Gonzalo Paniagua Javier <[email protected]>
  180. * HttpRuntime.cs: implemeted some missing properties.
  181. 2005-08-22 Gonzalo Paniagua Javier <[email protected]>
  182. * HttpResponse.cs: implemented RemoveOutputCacheItem().
  183. 2005-08-22 Gonzalo Paniagua Javier <[email protected]>
  184. * HttpApplication.cs: implemented GetVaryByCustomString().
  185. 2005-08-22 Gonzalo Paniagua Javier <[email protected]>
  186. * HttpRequest.cs: implemented SetHeader (allows adding a header
  187. circumventing the read-only protection of the collection) and SetForm,
  188. which just assigns a value of the 'form' collection.
  189. * HttpServerUtility.cs: NameValueCollection -> WebROCollection.
  190. 2005-08-22 Gonzalo Paniagua Javier <[email protected]>
  191. * HttpContext.cs:
  192. * HttpRequest.cs: implemented RewritePath and supporting methods.
  193. 2005-08-22 Sebastien Pouliot <[email protected]>
  194. * HttpRequest.cs: Avoid NRE if work_request if null in the ctor.
  195. * HttpResponse.cs: Avoid NRE if work_request if null in the ctor.
  196. 2005-08-20 Gonzalo Paniagua Javier <[email protected]>
  197. * HttpApplication.cs: if there's any exception thrown when getting the
  198. handler, don't add an extra error to the context, as we already have
  199. one.
  200. 2005-08-20 Gonzalo Paniagua Javier <[email protected]>
  201. * HttpWriter.cs:
  202. * HttpResponse.cs:
  203. * HttpWorkerRequest.cs:
  204. * HttpApplication.cs: added mising attributes and enabled methods
  205. present in 1.1 SP1.
  206. 2005-08-20 Gonzalo Paniagua Javier <[email protected]>
  207. * WebROCollection.cs: a collection that allows setting IsReadOnly.
  208. * HttpRequest.cs: implemented MapImageCoordinates(). Use WebROCollection
  209. instead of a NameValueCollection in Form, Headers, Params, QueryString.
  210. 2005-08-19 Gonzalo Paniagua Javier <[email protected]>
  211. * HttpInputStream.cs: new copy ctor.
  212. * IntPtrStream.cs: getters for base_address and size.
  213. * HttpRequest.cs: implemented SaveAs(). Use a wrapper on top of
  214. InputStream so that reading POST form or files does not modify the state
  215. if InputStream. Don't use uri_builder.Query in QueryStringRaw, as it
  216. returns the '?'.
  217. 2005-08-18 Gonzalo Paniagua Javier <[email protected]>
  218. * HttpRequest.cs: implemented UserLanguages and reuse code from
  219. AcceptTypes.
  220. 2005-08-18 Gonzalo Paniagua Javier <[email protected]>
  221. * HttpRequest.cs: implemented AcceptTypes.
  222. 2005-08-18 Gonzalo Paniagua Javier <[email protected]>
  223. * HttpRequest.cs: implemented this[] in terms of Params. Don't add the
  224. header collection in Params.
  225. 2005-08-18 Gonzalo Paniagua Javier <[email protected]>
  226. * HttpRequest.cs: fix Files property.
  227. * HttpApplication.cs: invoke the default authentication event after all
  228. the other auth. modules.
  229. 2005-08-18 Gonzalo Paniagua Javier <[email protected]>
  230. * ServerVariablesCollection.cs: mark the collection as read-only except
  231. when we fill it. Add the HTTP_blah key/value pairs too.
  232. 2005-08-18 Chris Toshok <[email protected]>
  233. * HttpRequest.cs (get_Params): implement.
  234. 2005-08-17 Chris Toshok <[email protected]>
  235. * HttpResponse.cs: HttpResponse's Cookie's collection acts
  236. differently than HttpRequests in that it never returns null from
  237. the "this [string]" accessor.
  238. 2005-08-17 Gonzalo Paniagua Javier <[email protected]>
  239. * HttpRequest.cs: check length 0 case when reading a POST.
  240. 2005-08-17 Gonzalo Paniagua Javier <[email protected]>
  241. * HttpContext.cs: added security attributes for User and
  242. SkipAuthorization properties.
  243. * HttpApplicationFactory.cs: AttachEvents is now called form the
  244. application .ctor. Recycle instead of dispose.
  245. * HttpApplication.cs: attach events to the newly created application.
  246. 2005-08-15 Jackson Harper <[email protected]>
  247. * ApplicationShutdownReason.cs: make build
  248. 2005-08-15 Miguel de Icaza <[email protected]>
  249. * HttpApplication.cs: Update comments
  250. * HttpPostedFile.cs: Use a substream to read from the uploaded
  251. multiparts.
  252. * HttpRequest.cs: use new code to read the uploaded files.
  253. 2005-08-12 Miguel de Icaza <[email protected]>
  254. 2.x API fixage and small additions:
  255. * HttpResponse.cs: Make constructor internal.
  256. * HttpRequest.cs (IsLocal): Expose if NET_2.x
  257. * HttpContext.cs: Remove internal routine.
  258. * HttpApplication.cs: Add 2.x events.
  259. * HttpRequest.cs: Another iFolder issue: I was not setting up the
  260. uri_builder here.
  261. Fixes to get iFolder to work:
  262. * HttpApplicationFactory.cs: Set the context when we are initting
  263. the application.
  264. * HttpApplication.cs (SetContext): helper routine.
  265. * HttpResponse.cs: Implement the various cache operations:n
  266. Expires, ExpiresAbsolute, CacheControl.
  267. Actually produce the Cache-Control header, the "Cache" property
  268. takes precedence over the compatibility settings (Expires,
  269. ExpiresAbsolutely and CacheControl).
  270. * HttpCachePolicy.cs: Fix style.
  271. Fix the generation of the headers, use lower-case values, do not
  272. add the max-value if the value is zero.
  273. Allow for all possible values in SetCacheability.
  274. * HttpRuntime.cs (ClrInstallDirectory): Implement.
  275. * HttpResponseStream.cs: Remove debugging stuff.
  276. 2005-08-11 Miguel de Icaza <[email protected]>
  277. Big chunked handling rewrite, and integration of Ben's unmanaged
  278. output stream.
  279. * HttpWriter.cs: Delegate chunked encoding writing to the
  280. HttpResponse.
  281. * HttpResponse.cs: Rework the chunked encoding system, centralize
  282. it all.
  283. * HttpResponseStream.cs: Deploy Ben's bucket-base unmanaged
  284. buffers code.
  285. Changed the way that we handle chunked encoding, centralize it
  286. all;
  287. Remove a lot of manual handling of buffering turned off, and
  288. instead delegate it all to Flush, fixes several issues with the
  289. new framework.
  290. * HttpWorkerRequest.cs (SendResponseFromMemory (IntPtr, int)):
  291. Provide a default implementation since currently XSP does not have
  292. this method implemented.
  293. 2005-08-11 Sebastien Pouliot <[email protected]>
  294. * HttpClientCertificate.cs: Culture insensitive int parsing. Fixed
  295. NET_2_0 build.
  296. 2005-08-10 Miguel de Icaza <[email protected]>
  297. * ServerVariablesCollection.cs: For Ben. Implement the header
  298. fetching here, do not implement it in HttpRequest.cs.
  299. 2005-08-10 Sebastien Pouliot <[email protected]>
  300. * HttpClientCertificate.cs: Changed IsPresent logic so that new unit
  301. tests will work as expected.
  302. 2005-08-10 Sebastien Pouliot <[email protected]>
  303. * HttpClientCertificate.cs: Implemented, except for validation. Note
  304. that the HttpWorkerRequest derived classes must be updated to supply
  305. the required informations.
  306. * HttpRequest.cs: Create an HttpClientCertificate on first call to
  307. ClientCertificate.
  308. 2005-08-09 Miguel de Icaza <[email protected]>
  309. * HttpRuntime.cs (AspInstallDirectory): Implement.
  310. 2005-08-09 Sebastien Pouliot <[email protected]>
  311. * HttpClientCertificate.cs: New. Stub. It won't be fun to test.
  312. 2005-08-04 Ben Maurer <[email protected]>
  313. * HttpContext.cs: Kill a NIE.
  314. 2005-08-04 Miguel de Icaza <[email protected]>
  315. * HttpApplicationFactory.cs: Change "Start" event like the "End"
  316. event, and only do this once, when we init the type.
  317. Fire the "Application_Start" event after we create the type.
  318. 2005-08-03 Gonzalo Paniagua Javier <[email protected]>
  319. * HttpApplication.cs: catch a ThreadAbort (coming from Response.End)
  320. here too.
  321. 2005-08-03 Gonzalo Paniagua Javier <[email protected]>
  322. * HttpResponse.cs: setting the Status property resets the
  323. StatusDescription (see the tests) and the default value for the
  324. description is the one provided by GetStatusDescription() in
  325. HttpWorkerRequest.
  326. 2005-08-03 Gonzalo Paniagua Javier <[email protected]>
  327. * HttpRequest.cs: s/boundry/boundary/ and fix typo in array creation.
  328. 2005-08-03 Gonzalo Paniagua Javier <[email protected]>
  329. * HttpApplication.cs: add call to EndOfRequest when everything is said
  330. and done.
  331. 2005-08-02 Miguel de Icaza <[email protected]>
  332. * HttpResponse.cs: Stub for TransmitFile.
  333. * HttpRequest.cs (IsAuthenticated): Implement.
  334. 2005-08-01 Miguel de Icaza <[email protected]>
  335. * HttpRequest.cs: Cope with implementations of HttpWorkerRequest
  336. (unpatched xsp) that do not send back the PreloadedEntityBody.
  337. * HttpApplication.cs: keep track of the factory.
  338. (Dispose): Only dispose once, clean up other variables, release
  339. the ManualResetEvent.
  340. Release the handler to the factory.
  341. * HttpApplicationFactory.cs: Implement a stack to reuse the
  342. applications.
  343. * HttpRequest.cs: On uploads, if the ContentLenght is zero, throw
  344. a 411.
  345. * HttpRuntime.cs: Recycle the application after using it.
  346. * HttpPostedFile.cs: Implement SaveAs.
  347. * HttpContext.cs: Return the "Server" property.
  348. 2005-08-01 Gonzalo Paniagua Javier <[email protected]>
  349. * HttpServerUtility.cs: implemented missing bits.
  350. 2005-08-01 Gonzalo Paniagua Javier <[email protected]>
  351. * HttpRequest.cs: query string was getting a '?' as the start of the
  352. first variable name. This makes the asmx help page work again.
  353. 2005-08-01 Miguel de Icaza <[email protected]>
  354. * HttpRequest.cs (Cookies, Forms): Add validation.
  355. (Forms): Add application/x-www-form-urlencoded parsing and
  356. multipart/form-data parsing.
  357. (HttpMultiPart): Implement new class to load multi-part data from
  358. a stream since there is no longer a byte [] that holds the data
  359. (currently we have an unmanaged IntPtr buffer wrapped as a
  360. stream). Also the 2.x framework will add support for large
  361. uploads which are sent directly to disk, which will require the
  362. FileStream interface.
  363. (Path, PathInfo): Fill a couple more methods to avoid crashes.
  364. * HttpContext.cs: Fill another one to get web services summary
  365. page painting. The page does not work though.
  366. * HttpApplication.cs: Rework the pipeline to not depend on
  367. `finally', as `finally' would not be invoked if we choose not to
  368. call the pipeline again (which happens if the `stop' variable is
  369. set).
  370. Instead force the pipeline to go to the shutdown, and yield from
  371. there after all the release-state callbacks have been invoked.
  372. 2005-07-31 Miguel de Icaza <[email protected]>
  373. * HttpApplication.cs: Remove debugging messages since the compiler
  374. bug has been fixed.
  375. You must use at least mcs from revision 47879 for the application
  376. pipeline to work.
  377. 2005-07-30 Miguel de Icaza <[email protected]>
  378. * HttpContext.cs: Error handling methods.
  379. * HttpResponse.cs: Trigger the last event.
  380. * HttpRuntime.cs: Add queueing of the next request.
  381. * HttpApplication.cs: Deploy the new yield-based application
  382. pipeline, add error handling to the pipeline.
  383. * HttpApplication.cs (AsyncRequestState): Just use the done event
  384. from the parent.
  385. 2005-07-29 Miguel de Icaza <[email protected]>
  386. * HttpResponseStream.cs, HttpRequest.cs: Fix bugs found by nunit.
  387. * HttpApplication.cs: Fix a race condition.
  388. * HttpResponseStream.cs: Fix bug, send the size of the buffer that
  389. we have so far instead of the internal size of the buffer. This
  390. will need work later to ensure we enforce the Content-Length
  391. maximum output size if set.
  392. * ServerVariablesCollection.cs: This class now inherits from
  393. NameValueCollection, we should probably review what the middle
  394. class did, there are no dependencies on it.
  395. I need to write tests to investigate if something is missing or
  396. has changed in this implementation.
  397. 2005-07-27 Miguel de Icaza <[email protected]>
  398. * HttpRequest.cs: No happy replies here, send a 411.
  399. 2005-07-27 Chris Toshok <[email protected]>
  400. * HttpResponseHeader.cs: remove spew.
  401. 2005-07-27 Chris Toshok <[email protected]>
  402. * HttpResponseHeader.cs (HttpResponseHandler..ctor): use
  403. HttpWorkerRequest.GetKnownResponseHeaderName instead of
  404. GetKnownRequestHeaderName. Fixes Response.Redirect until miguel's
  405. new HttpReponse is online.
  406. 2005-07-26 Miguel de Icaza <[email protected]>
  407. * HttpResponse.cs: use_chunked is now a byte-array, if not null,
  408. we use it to hold the size of the chunked so we do not have to
  409. allocate many of these.
  410. (SendSize): Helper routine to send the chunked headers.
  411. (BinaryWrite): First user of the chunked writer.
  412. * HttpApplication.cs: Do not crash if they request a Server
  413. instance, but throw a NotImplementedException.
  414. * HttpRequest.cs: fix a few problems exposed by the regression
  415. test suite.
  416. * HttpRequest.cs (Cookies): use Chris' new constructor to get the
  417. cookies parsed.
  418. : The big Uri rework: instead of using QueryString
  419. as the population mechanism, populate an UriBuilder from the
  420. various HttpWorkerRequest methods.
  421. * HttpWorkerRequest.cs (GetProtocol): Implement in terms of
  422. IsSecure().
  423. * HttpResponse.cs: Pointed by Ben, Write (null) is a nop instead
  424. of a crash.
  425. * HttpContext.cs: Add a couple of properties to help the 2.x
  426. build.
  427. * HttpResponse.cs: Make ContentLength a long, add back support for
  428. session's app_path_mod.
  429. (ApplyAppPathmodifier): put back.
  430. (End): Pass a flag to abort so we can tell the exceptions appart
  431. in HttpApplication.
  432. (WriteHeaders): Send the HTTP status.
  433. (Redirect): Implement.
  434. (Write): Use the Output property to load writer when needed.
  435. * HttpRequest.cs (ctor): Temporary use of InitFromWR, will fix
  436. later.
  437. (MakeInputStream): check content-length size, use routines to load
  438. the preloaded data, handle incomplete transfers.
  439. (Query): Do not insert null keys into the collection.
  440. (Url): implement.
  441. (UrlReferer): implement.
  442. * HttpApplication.cs (RunHooks): Catch Thread.Abort, and call
  443. Thread.ResetAbort after each step.
  444. Ensure that ReleaseState is called if we ever succeed in acquiring
  445. the state even if we have stopped the request pipeline.
  446. Report file not found, directory not found.
  447. 2005-07-25 Miguel de Icaza <[email protected]>
  448. * HttpCookieCollection.cs: Add expiration of the cookie.
  449. * HttpRequest.cs: Add check for ContentLength, use
  450. GetPreloadedEntityBody, correct number of bytes uploaded.
  451. 2005-07-21 Miguel de Icaza <[email protected]>
  452. * HttpResponseHeader.cs: Our implementation of HttpResponse only
  453. uses the text headers, does not use any constants as XSP would go
  454. through a slower code path anyways.
  455. 2005-07-21 Chris Toshok <[email protected]>
  456. * HttpBrowserCapabilities.cs: enable support for the W3CDomVersion
  457. and EcmaScriptVersion properties.
  458. 2005-07-21 Chris Toshok <[email protected]>
  459. * HttpResponseHeader.cs: hi, i'm stupid and missed String.Replace.
  460. 2005-07-21 Chris Toshok <[email protected]>
  461. * HttpResponseHeader.cs: url encode just \r and \n if they're
  462. present in the value.
  463. 2005-07-20 Chris Toshok <[email protected]>
  464. * HttpPostedFile.cs: add missing ContentLength property.
  465. 2005-07-20 Chris Toshok <[email protected]>
  466. * HttpCookieCollection.cs: add a new ctor that takes a string (the
  467. contents of the Cookies: header).
  468. 2005-07-20 Chris Toshok <[email protected]>
  469. * HttpCookieCollection.cs: add another ctor (internal, but not
  470. obsolete, so we aren't passing a stupid HttpResponse in in order
  471. to change the behavior of the collection.)
  472. * HttpCookie.cs: init this.values in the internal ctor.
  473. 2005-07-20 Chris Toshok <[email protected]>
  474. * HttpCookieCollection.cs: use "auto-fill mode" when we're dealing
  475. with an HttpResponse's cookie collection. That is, create the
  476. cookie if the consumer looks it up.
  477. 2005-07-20 Miguel de Icaza <[email protected]>
  478. * HttpApplication.cs: Ongoing work on pipeline, I will need to
  479. redo this later.
  480. 2005-07-19 Miguel de Icaza <[email protected]>
  481. * HttpContext.cs (GetService): Implement. Return all of the
  482. properties that we have access to. Make HttpWorkerRequest the
  483. first match as this is the only likely reason people need to use
  484. this.
  485. * IntPtrStream.cs: Bring from corlib.
  486. * MultiPartContentParser.cs: use a MemoryStream as HttpInputStream
  487. will now be using IntPtrStream.
  488. * HttpRequest.cs (MakeInputStream): move code that loads the
  489. request here
  490. (CloseInputStream): Helper method that we will call later to
  491. ensure that we dispose properly the malloced() block.
  492. (BinaryRead): Implemented.
  493. * HttpInputStream.cs: Rewrite to be a descendant of
  494. IntPtrStream.cs
  495. 2005-07-18 Miguel de Icaza <[email protected]>
  496. * HttpApplication.cs (Modules): Add modules support and
  497. AsyncResult.
  498. 2005-07-18 Chris Toshok <[email protected]>
  499. * HttpResponseHeader.cs: initial implementation.
  500. 2005-07-18 Chris Toshok <[email protected]>
  501. * HttpModuleCollection.cs (HttpModuleCollection.GetKey): add
  502. missing method.
  503. * HttpFileCollection.cs: initial implementation.
  504. 2005-07-18 Chris Toshok <[email protected]>
  505. * HttpModuleCollection.cs (HttpModuleCollection.CopyTo): implement
  506. missing method.
  507. 2005-07-18 Chris Toshok <[email protected]>
  508. * HttpModuleCollection.cs: initial implementation.
  509. 2005-07-18 Chris Toshok <[email protected]>
  510. * HttpCacheVaryByHeaders.cs: only add the header if it's not
  511. already in the hash.
  512. * HttpCacheVaryByParams.cs: only add the param if it's not already
  513. in the hash.
  514. 2005-07-18 Chris Toshok <[email protected]>
  515. * HttpCookie.cs (HttpCookie+CookieNVC.Set): new override to fix an
  516. MS quirk.
  517. 2005-07-17 Miguel de Icaza <[email protected]>
  518. * HttpRequest.cs (Headers, InputStream): implemented two more
  519. properties.
  520. * HttpInputStream.cs: All we need is a MemoryStream with writable
  521. set to false.
  522. * HttpPostedFile.cs: Use a Stream.
  523. 2005-07-16 Chris Toshok <[email protected]>
  524. * HttpCacheVaryByHeaders.cs: make sure we set vary_by_unspecified
  525. = false in the custom setter.
  526. 2005-07-16 Chris Toshok <[email protected]>
  527. * HttpCacheVaryByParams.cs: initial implementation.
  528. 2005-07-16 Chris Toshok <[email protected]>
  529. * HttpCacheVaryByHeaders.cs: initial implementation.
  530. 2005-07-15 Chris Toshok <[email protected]>
  531. * HttpCookie.cs: one more time.
  532. 2005-07-15 Chris Toshok <[email protected]>
  533. * HttpCookie.cs (HttpCookie.GetCookieHeader): use
  534. expires.ToString().
  535. 2005-07-15 Chris Toshok <[email protected]>
  536. * HttpCookie.cs (HttpCookie.GetCookieHeader): implement to fix
  537. ben's bug.
  538. 2005-07-15 Chris Toshok <[email protected]>
  539. * HttpCookieCollection.cs: initial implementation (with a couple
  540. of labeled inefficiencies.)
  541. 2005-07-15 Chris Toshok <[email protected]>
  542. * HttpCookie.cs (HttpCookie.get_HasKeys): use values.HasKeys()
  543. instead of trying to be smart about it ourselves.
  544. 2005-07-15 Chris Toshok <[email protected]>
  545. * HttpCookie.cs: initial implementation. we fail one unit test,
  546. but it might be due to a bug in NameValueCollection.
  547. 2005-07-15 Miguel de Icaza <[email protected]>
  548. * HttpRequest.cs:
  549. 2005-07-14 Miguel de Icaza <[email protected]>
  550. * HttpRuntime.cs: Return a few of the values from the AppDomain
  551. data.
  552. Put the application shutdown process.
  553. * HttpApplicationFactory.cs (AddEvent): Fixed bug when more than
  554. one method existed.
  555. (FireEvent): Do not ignore errors.
  556. * HttpContext.cs (GetAppConfig, GetConfig): First success, use
  557. ConfigurationSettings.GetConfig to get the value that QueueManager
  558. needed.
  559. 2005-07-14 Dick Porter <[email protected]>
  560. * HttpPostedFile.cs: New basic implementation; needs someone to
  561. figure out what a HttpRequestStream does
  562. 2005-07-13 Miguel de Icaza <[email protected]>
  563. * HttpRequest.cs: More work on this file
  564. * HttpRequest.cs, HttpApplication.cs, HttpContext.cs,
  565. HttpRuntime.cs: New from scratch implementation.
  566. 2005-07-01 Lluis Sanchez Gual <[email protected]>
  567. * SiteMap.cs: Read provider info from the configuration files.
  568. 2005-06-27 Gonzalo Paniagua Javier <[email protected]>
  569. * HttpResponseHeader.cs: URL encode \r and \n in header values. Fixes
  570. bug #75392.
  571. 2005-06-26 Gonzalo Paniagua Javier <[email protected]>
  572. * HttpUtility.cs: fix another stupid buglet in htmldecode.
  573. 2005-06-26 Gonzalo Paniagua Javier <[email protected]>
  574. * HttpContext.cs:
  575. * HttpResponse.cs:
  576. * HttpRequest.cs: use StrUtils (invariant culture).
  577. 2005-06-26 Gonzalo Paniagua Javier <[email protected]>
  578. * HttpRequest.cs: use StartsWith when looking for 'multipart/form-data'.
  579. File uploading was broken since a few commits ago.
  580. 2005-06-26 Gonzalo Paniagua Javier <[email protected]>
  581. * HttpResponse.cs: ensure that the last chunk ('0\r\n\r\n') is sent
  582. even if response.Close is called before a final flush. MS/IIS fails to
  583. do this.
  584. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  585. * HttpRequest.cs: don't print anything for unknown content types in
  586. ParseFormData. Use lowercase compare.
  587. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  588. * HttpResponse.cs: invariant love.
  589. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  590. * HttpResponse.cs: avoid 1 string concat.
  591. * HttpRequest.cs: fix BinaryRead. It was totally wrong.
  592. 2005-06-23 Gonzalo Paniagua Javier <[email protected]>
  593. * HttpUtility.cs: don't append an extra 0 when no digits seen. Fixes
  594. bug #75370.
  595. 2005-06-23 Gonzalo Paniagua Javier <[email protected]>
  596. * HttpUtility.cs: the lower limit for using &#xx; encoding is 160, not
  597. 128. Reset number back to 0 after use. Fixes bug #75365.
  598. 2005-06-19 Svetlana Zholkovsky <svetlanaz-at-mainsoft.com>
  599. * In following classes added TARGET_J2EE or/and TARGET_JVM
  600. directives:
  601. - HttpResponse.cs
  602. - HttpRuntime.cs
  603. - HttpUtility.cs
  604. - CapabilitiesLoader.cs
  605. - HttpApplication.cs
  606. - HttpApplicationFactory.cs
  607. - HttpContext.cs
  608. - HttpException.cs
  609. - HttpRequest.cs
  610. * Added Mainsoft's specific files :
  611. - GhHttpAsyncResult.jvm.cs
  612. 2005-06-10 Gonzalo Paniagua Javier <[email protected]>
  613. * HttpRequest.cs: avoid one intermediate buffer when reading the request
  614. body and fail for over limit content length when the content type is
  615. not handled as form or multipart data.
  616. 2005-06-09 Gonzalo Paniagua Javier <[email protected]>
  617. * HttpResponse.cs: fix the check in Close() so that CloseConnection is
  618. called even if there has been no final Flush. Fixes bug #75176.
  619. 2005-06-08 Gonzalo Paniagua Javier <[email protected]>
  620. * HttpParseException.cs:
  621. * HttpResponse.cs:
  622. * HttpApplication.cs: updates for 1.1 service pack.
  623. 2005-06-06 Gonzalo Paniagua Javier <[email protected]>
  624. * HttpUtility.cs: fix InvalidCastException.
  625. 2005-06-05 Kornél Pál <[email protected]>
  626. * HttpWriter.cs: Fixed: _OutputFilter.Close () was called twice.
  627. 2005-06-02 Gonzalo Paniagua Javier <[email protected]>
  628. * HttpUtility.cs: modified HtmlDecode so that it does not need to call
  629. Int32.Parse and handles improper &# sequences. Fixes bug #74907.
  630. 2005-05-26 Lluis Sanchez Gual <[email protected]>
  631. * SiteMapNodeCollection.cs: Implemented missing methods. The collection
  632. does not inherit from CollectionBase any more.
  633. * SiteMapNode.cs: Track api changes.
  634. * SiteMapProvider.cs: Moved several methods to the new
  635. StaticSiteMapProvider class. Other fixes.
  636. * XmlSiteMapProvider.cs: Watch changes in the xml files. Other fixes.
  637. * SiteMapProviderCollection.cs: Minor fixes.
  638. * SiteMap.cs: Added missing event. Avoid double check lock.
  639. * StaticSiteMapProvider.cs: New class that implements some of the
  640. funtionality of SiteMapProvider.
  641. 2005-05-25 Ben Maurer <[email protected]>
  642. * MimeTypes.cs: Remove extra spaces, they were typos. Fixes 75049.
  643. 2005-05-13 Atsushi Enomoto <[email protected]>
  644. * HttpUtility.cs : UrlDecodeToBytes() incorrectly decoded escaped
  645. characters. Patch by Kazuki Oikawa.
  646. 2005-05-09 Gonzalo Paniagua Javier <[email protected]>
  647. * HttpRuntime.cs: PlatformID.Unix.
  648. 2005-05-08 Gonzalo Paniagua Javier <[email protected]>
  649. * HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
  650. Clear the _Headers array instead of creating a new ArrayList in
  651. ClearHeaders().
  652. 2005-05-08 Gonzalo Paniagua Javier <[email protected]>
  653. * HttpResponse.cs: we had 2 variables to track client connection status.
  654. Use only one. Increase the buffer size to 28KB when writing from a file.
  655. * StaticFileHandler.cs: set the Content-Type before writing the file.
  656. This allows flushing before all the content is written.
  657. * HttpApplication.cs: use the variable instead of the property when
  658. setting the Principal for the current process.
  659. 2005-05-08 Gonzalo Paniagua Javier <[email protected]>
  660. * ReusableMemoryStream.cs:
  661. * HttpWriter.cs: keep a pool of buffers to avoid allocations.
  662. 2005-05-07 Gonzalo Paniagua Javier <[email protected]>
  663. * HttpResponse.cs: no need to save/restore the thread culture when
  664. getting the Date header. According to Ben's profiling, this is a big
  665. deal in performance.
  666. * HttpRuntime.cs: ignore exceptions that might be thrown when unloading
  667. a domain.
  668. 2005-05-04 Gonzalo Paniagua Javier <[email protected]>
  669. * HttpApplicationFactory.cs: ignore any exception thrown when invoking
  670. an application event.
  671. 2005-04-23 Gonzalo Paniagua Javier <[email protected]>
  672. * HttpBrowserCapabilities.cs: fix Win32 property.
  673. 2005-04-21 Gonzalo Paniagua Javier <[email protected]>
  674. * HttpResponse.cs: only add the charset when explicitly set or for
  675. well-known content types.
  676. 2005-04-20 Gonzalo Paniagua Javier <[email protected]>
  677. * HttpCachePolicy.cs:
  678. * HttpAsyncResult.cs:
  679. * HttpClientCertificate.cs:
  680. * HttpException.cs:
  681. * HttpRuntime.cs:
  682. * HttpCacheVaryByHeaders.cs:
  683. * HttpBrowserCapabilities.cs:
  684. * HttpUtility.cs:
  685. * HttpCacheVaryByParams.cs: no more warnings.
  686. * QueueManager.cs: check for local connections with minLocalFreeThreads.
  687. 2005-04-19 Gonzalo Paniagua Javier <[email protected]>
  688. * ServerVariablesCollection.cs: shuffled variables, added missing ones
  689. and call a method in HttpRequest to set the HTTP_ variables.
  690. * HttpRequest.cs: new method to add HTTP_ variables to a collection.
  691. 2005-04-19 Gonzalo Paniagua Javier <[email protected]>
  692. * HttpRequest.cs: GetAllHeaders was returning the value twice instead
  693. of 'name: value'. When HTTP_ is requested on the output, don't include
  694. unknown headers.
  695. 2005-03-23 Gonzalo Paniagua Javier <[email protected]>
  696. * HttpCookieCollection.cs: when adding more than one cookie with the
  697. same name, the last one is the winner.
  698. 2005-03-09 Gonzalo Paniagua Javier <[email protected]>
  699. * HttpRequest.cs: correctly store the value cookies in Params. Fixes
  700. bug #73345.
  701. 2005-02-28 Gonzalo Paniagua Javier <[email protected]>
  702. * HttpRequest.cs: Path and FilePath also change when RewritePath is
  703. called. Fixes bug #73055.
  704. 2005-02-23 Sebastien Pouliot <[email protected]>
  705. * HttpRequest.cs: Make sure that any access after a ValidateInput
  706. throws an exception if the data isn't safe.
  707. 2005-02-22 Gonzalo Paniagua Javier <[email protected]>
  708. * CapabilitiesLoader.cs: fix the path, as machine.config is now in a
  709. x.x/ directory below $PREFIX/etc/mono.
  710. 2005-02-22 Gonzalo Paniagua Javier <[email protected]>
  711. * HttpRequest.cs: fail on unicode full-width '<' and '>' too. Fixes
  712. a security report (http://secunia.com/advisories/14325) that wan't
  713. reported to us before public disclosure.
  714. 2005-02-18 Gonzalo Paniagua Javier <[email protected]>
  715. * HttpResponse.cs: send the calculated content length even when it's 0.
  716. Fixes bug #72655.
  717. 2005-02-04 Lluis Sanchez Gual <[email protected]>
  718. * HttpContext.cs: Added internal property to keep a reference to
  719. the last accessed page. Page uses this to implement PreviousPage.
  720. 2005-02-02 Lluis Sanchez Gual <[email protected]>
  721. * ProcessModelInfo.cs: Fixed warning.
  722. 2005-02-01 Gonzalo Paniagua Javier <[email protected]>
  723. * TraceContext.cs: writing a message without any other argument is not
  724. a warniing. Fixes bug #72017.
  725. 2005-01-20 Gonzalo Paniagua Javier <[email protected]>
  726. * HttpApplication.cs: if there are no more handlers, finish the
  727. request and ensure we call Complete on it. Now FreeTextBox 3.0 works.
  728. 2004-12-21 Gonzalo Paniagua Javier <[email protected]>
  729. * HttpRequest.cs: honor the maxRequestSize limit from machine.config.
  730. 2004-12-15 Gonzalo Paniagua Javier <[email protected]>
  731. * HttpApplication.cs: reread application CultureInfo as web.config
  732. might have changed. Fixes bug #62539.
  733. 2004-11-30 Gonzalo Paniagua Javier <[email protected]>
  734. * HttpResponse.cs: fixed ApplyAppPathModifier to insert the session ID.
  735. 2004-11-29 Gonzalo Paniagua Javier <[email protected]>
  736. * HttpApplicationFactory.cs: monitor changes in global.asax and bin
  737. directory and shutdown the application when that happens. Fixes bug
  738. #49651.
  739. 2004-11-29 Gonzalo Paniagua Javier <[email protected]>
  740. * ReusableMemoryStream.cs: copied from System.IO.MemoryStream and
  741. slightly modified to allow expanding the buffer for cases on which the
  742. regular MemoryStream don't allow it.
  743. * HttpWriter.cs: use the new ReusableMemoryStream and fix bug #59841.
  744. Otherwise we would have to allocate a new MemoryStream...
  745. 2004-11-28 Gonzalo Paniagua Javier <[email protected]>
  746. * HttpApplication.cs: Create() is now GetInstance().
  747. 2004-11-18 Lluis Sanchez Gual <[email protected]>
  748. * SiteMapNodeCollection.cs: Added missing properties.
  749. * HttpParseException.cs: Added 2.0 methods and properties.
  750. * SiteMapNode.cs: Added missing methods and properties.
  751. * SiteMapProvider.cs, XmlSiteMapProvider.cs,
  752. SiteMapProviderCollection.cs: IProvider does not exist any
  753. more, it is now ProviderBase.
  754. * ISiteMapProvider.cs: Deleted.
  755. * ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
  756. Implemented.
  757. * SiteMap.cs: Minor fixes.
  758. 2004-11-15 Lluis Sanchez Gual <[email protected]>
  759. * SiteMapProviderCollection.cs: Fixed warning.
  760. * HttpApplication.cs: Added new 2.0 events.
  761. 2004-11-12 Gonzalo Paniagua Javier <[email protected]>
  762. * HttpResponse.cs: added internl SetHeadersSent.
  763. * HttpRuntime.cs: don't throw the 'headers already sent' exception
  764. if we're sending a runtime error.
  765. 2004-11-11 Gonzalo Paniagua Javier <[email protected]>
  766. * HttpApplication.cs: undo the TimeoutManager.(Add|Remove) shuffling.
  767. It causes troubles under heavy load.
  768. 2004-11-08 Gonzalo Paniagua Javier <[email protected]>
  769. * SiteMap.cs: don't lock on Type.
  770. * CapabilitiesLoader.cs: avoid 2 locks when loading data.
  771. 2004-11-08 Gonzalo Paniagua Javier <[email protected]>
  772. * HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
  773. presence of rewriting.
  774. 2004-10-27 Gonzalo Paniagua Javier <[email protected]>
  775. * HttpApplication.cs: don't hang if a sync step is aborted. Fixes the
  776. system.web portion of bug #68270.
  777. 2004-10-10 Gonzalo Paniagua Javier <[email protected]>
  778. * TraceContext.cs: don't cast to Page is the handler it's
  779. not a page.
  780. 2004-10-06 Gonzalo Paniagua Javier <[email protected]>
  781. * HttpRequest.cs: CurrentExecutionFilePath is the one that
  782. changes when Transfer or Execute are used, not FilePath.
  783. * HttpServerUtility.cs: moved form saving/restoring from
  784. Transfer to Execute, as it's needed there too. the query string is
  785. correctly set now. Fixes bug #67388.
  786. * HttpContext.cs: use SetCurrentExePath instead of SetFilePath.
  787. 2004-10-03 Ben Maurer <[email protected]>
  788. * HttpResponse.cs: use UtcNow
  789. 2004-10-01 Gonzalo Paniagua Javier <[email protected]>
  790. * HttpResponse.cs: SuppressContent does not throw and clears all the
  791. buffered output. Fixes bug #67213.
  792. 2004-09-30 Gonzalo Paniagua Javier <[email protected]>
  793. * HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.
  794. 2004-09-29 Ben Maurer <[email protected]>
  795. * HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.
  796. 2004-09-25 Ben Maurer <[email protected]>
  797. * HttpApplication.cs: Make sure requests are removed from
  798. the timeout manager. Fixes a major leak. #66751.
  799. 2004-09-24 Gonzalo Paniagua Javier <[email protected]>
  800. * HttpApplicationFactory.cs:
  801. * HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
  802. unloading.
  803. 2004-09-12 Ben Maurer <[email protected]>
  804. * HttpContext.cs: use CallContext. It is a little bit faster.
  805. 2004-09-09 Gonzalo Paniagua Javier <[email protected]>
  806. * HttpStaticObjectsCollection.cs: don't share static session objects
  807. declared in the application file across the application, but on a
  808. per-session basis. Fixes bug #65446.
  809. 2004-09-09 Gonzalo Paniagua Javier <[email protected]>
  810. * HttpServerUtility.cs: in Transfer(path), don't keep form data if
  811. the transfer is done from inside a page that received a postback.
  812. Fixes bug #65613.
  813. 2004-09-08 Gonzalo Paniagua Javier <[email protected]>
  814. * HttpValueCollection.cs: fixed signature of ToString (). Closes bug
  815. #65392.
  816. 2004-09-06 Ben Maurer <[email protected]>
  817. * HttpWriter.cs (.ctor): Dont create teh StreamWriter twice
  818. (Clear): Don't recreate the MemoryStream and StreamWriter
  819. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  820. * HttpApplication.cs: only add/remove to/from the timeout
  821. manager when we're in a interruptible step.
  822. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  823. * TraceContext.cs: when IsEnabled has not been set, return the value
  824. from the TraceManager. Fixes bug #63469.
  825. 2004-08-31 Gonzalo Paniagua Javier <[email protected]>
  826. * HttpRuntime.cs: initialize the response writer when finishing a
  827. request because it cannot be queued. Under heavy load we made new
  828. requests be processed before the ones that might be queued. This is
  829. no longer the case.
  830. * QueueManager.cs: instead of queueing/dequeuing separately, we now
  831. have a single method that does everything needed to decide which one
  832. will be the next request processed.
  833. 2004-08-27 Gonzalo Paniagua Javier <[email protected]>
  834. * HttpRuntime.cs: removed initializations to null in .cctor. Prevent
  835. other requests from avoiding the lock if they are received before the
  836. configuration system is inited. Ensure that the queue manager is not
  837. null before using it (it can be null while the first request is being
  838. processed).
  839. 2004-08-22 Gonzalo Paniagua Javier <[email protected]>
  840. * HttpServerUtility.cs: ensure we have a full virtual path for the
  841. request being executed.
  842. 2004-08-02 Duncan Mak <[email protected]>
  843. * ApplicationShutdownReason.cs: Fixed typos.
  844. * HttpCookieMode.cs:
  845. * HttpDataTransferMode.cs:
  846. * HttpRequestPriority.cs: Added [Serializable] attribute.
  847. 2004-08-02 Duncan Mak <[email protected]>
  848. * ApplicationShutdownReason.cs:
  849. * HttpCookieMode.cs:
  850. * HttpDataTransferMode.cs:
  851. * HttpRequestPriority.cs: Added 2.0 enumerations.
  852. 2004-07-21 Gonzalo Paniagua Javier <[email protected]>
  853. * HttpApplication.cs: the file not found might be a dependency.
  854. 2004-07-20 Gonzalo Paniagua Javier <[email protected]>
  855. * HttpCookie.cs: use invariant when formatting expires date. Fixes bug
  856. #61690.
  857. 2004-07-07 Gonzalo Paniagua Javier <[email protected]>
  858. * HttpApplication.cs: don't keep the session around if we got it from
  859. the context. Fixes bug #61232.
  860. 2004-07-06 Gonzalo Paniagua Javier <[email protected]>
  861. * HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
  862. #61181.
  863. 2004-07-02 Gonzalo Paniagua Javier <[email protected]>
  864. * TraceContext.cs: added internal HaveTrace property whose
  865. value is true when the page has a Trace attribute.
  866. 2004-06-15 Gonzalo Paniagua Javier <[email protected]>
  867. * TraceData.cs: fixed <br> output. Closes bug #60181.
  868. 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
  869. * HttpUtility.cs: check for control characters in the string to encode
  870. or decode and return the same string if there are none.
  871. 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
  872. * HttpApplication.cs: change/restore the IPrincipal in their own methods
  873. and make them internal.
  874. 2004-06-09 Gonzalo Paniagua Javier <[email protected]>
  875. * HttpContext.cs: reverting Pedro's patch and sending mail with test
  876. to mono-devel.
  877. 2004-06-09 Pedro Martnez Juli <[email protected]>
  878. * HttpContext: User property returns its own "user" value because
  879. the context can walk through different Threads. When "User" property
  880. is changed, change "Thread.CurrentPrincipal" too.
  881. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  882. * HttpRequest.cs: removed extra ^Ms and fixed style of last patch.
  883. 2004-06-08 Alon Gazit <[email protected]>
  884. * HttpRequest.cs: Add a patch for HttpRequest.ServerVariables.
  885. 2004-06-07 Sebastien Pouliot <[email protected]>
  886. * HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
  887. Fix (at least partially) #59683.
  888. 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
  889. * HttpRequest.cs: reverting patch from Alon Gazit. Uses the above file
  890. that doesn't compile.
  891. 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
  892. * TraceData.cs: fixes nullref in an application that relies on
  893. r ["Message"] not being null. Closes bug #59679.
  894. 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
  895. * HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.
  896. 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
  897. * HttpRuntime.cs: implemented a 5 simple properties that were TODOs.
  898. 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
  899. * HttpBrowserCapabilities.cs: implemented ClrVersion and GetClrVersions.
  900. * HttpException.cs: removed MonoTODO.
  901. 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
  902. * TraceContext.cs: don't check if HttpRuntime.TraceManager
  903. is enabled when writing.
  904. 2004-06-04 Gonzalo Paniagua Javier <[email protected]>
  905. * HttpRequest.cs: added ClientTarget internal property.
  906. 2004-06-03 Lluis Sanchez Gual <[email protected]>
  907. * HttpApplication.cs: Clear the http handler list after releasing the
  908. handlers.
  909. 2004-06-02 Gonzalo Paniagua Javier <[email protected]>
  910. * TraceData.cs: html-encode the messages written to the trace. Fixes
  911. bug #59431.
  912. 2004-06-01 Gonzalo Paniagua Javier <[email protected]>
  913. * HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
  914. to Markus Krutner.
  915. 2004-05-31 Gonzalo Paniagua Javier <[email protected]>
  916. * HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
  917. when SetFilePath is called. This way the cached values are reset and
  918. get the right value in case someone (namely SessionStateModule +
  919. cookieless session) changes the FilePath after the property cached its
  920. value. Fixes bug #59364.
  921. 2004-05-27 Patrik Torstensson <[email protected]>
  922. * HttpApplicationFactory.cs: Added SignalError (still todo)
  923. 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
  924. * HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
  925. chunked encoding disabled. Fixed chunked suffix and end. Send the
  926. 'lastchunk' marked when in the final Flush even if the content length
  927. is 0. This makes mod-mono-server work fine with chunked encoding.
  928. * HttpRuntime.cs: Set the _firstRequest* variables to true
  929. earlier. TraceContext don't take any parameter now.
  930. * TraceManager.cs: don't need a context. Use GetAppConfig.
  931. 2004-05-25 Gonzalo Paniagua Javier <[email protected]>
  932. * HttpApplication.cs: set culture/uiculture from configuration and
  933. restore it after each step. Fixes bug #52851.
  934. 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
  935. * HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
  936. entities hashtable creation until it's really needed.
  937. 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
  938. * HttpApplicationFactory.cs: if no module matches the name found for a
  939. possible event, ignore it. Fixes bug #58542.
  940. 2004-05-16 Patrik Torstensson <[email protected]>
  941. * HttpRuntime (Init): Removed old todo
  942. * HttApplication : Implemented IHttpHandlerFactory recycling
  943. 2004-04-28 Patrik Torstensson
  944. * HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
  945. removed MonoTodo
  946. 2004-04-16 Gonzalo Paniagua Javier <[email protected]>
  947. * HttpUtility.cs: return null in HtmlDecode for null input instead of
  948. throwing an exception. Patch by Jan Jaros (bug #57083).
  949. 2004-04-10 Vladimir Vukicevic <[email protected]>
  950. * TimeoutManager.cs: Swap the order of initialization of contexts
  951. and the Timer, to avoid race condition of CheckTimeouts being called
  952. before contexts gets initialized.
  953. 2004-03-27 Gonzalo Paniagua Javier <[email protected]>
  954. * HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
  955. Now the posted file content does not have the boundaries and headers
  956. included.
  957. 2004-03-25 Alon Gazit <[email protected]>
  958. * HttpRequest.cs: fix ValidateCookieCollection() to prevent
  959. InvalidCastException.
  960. 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
  961. * HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.
  962. 2004-03-01 Larry Ewing <[email protected]>
  963. * HttpUtility.cs: fix UrlEncodeToBytes count check.
  964. 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
  965. * HttpServerUtility.cs:
  966. * HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
  967. #53670).
  968. 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
  969. * HttpUtility.cs: fixed length check. Closes bug #54201.
  970. Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
  971. decoding.
  972. 2004-02-11 Jackson Harper <[email protected]>
  973. * TraceData.cs: Use ToString for cookie/header/var name values so
  974. null is handled properly.
  975. 2004-02-09 Gonzalo Paniagua Javier <[email protected]>
  976. * HttpApplication.cs: ApplicationState is inited by the factory so,
  977. return that value in the property. when we use the context Session,
  978. cache it in the instance field.
  979. * HttpApplicationFactory.cs: fixed target Type for the event when
  980. hooking application and module events. Initialize application
  981. and session scope objects. Fixes non-aplication events hook up.
  982. * HttpStaticObjectsCollection.cs: added StaticItem and delay the
  983. creation of the objects until they are requested.
  984. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  985. * HttpApplicationFactory.cs: fixlet for session events hook.
  986. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  987. * HttpApplicationFactory.cs: attach all events from Type and BaseType
  988. at the same time. Fixes bug #53454.
  989. 2004-01-27 Jackson Harper <[email protected]>
  990. * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
  991. null now, dont hadd the header if it does.
  992. * HttpCacheVaryByParams.cs: Return null if there are no items.
  993. 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
  994. * HttpCachePolicy.cs: it's not public.
  995. * HttpRuntime.cs: wait for requests before disposing the queue.
  996. 2004-01-15 Jackson Harper <[email protected]>
  997. * HttpCachePolicy.cs: Fix typo causing varyby params headers to be
  998. created when they shouldn't be.
  999. 2004-01-14 Jackson Harper <[email protected]>
  1000. * TraceData.cs: Fix some typos in the output text. Fix control
  1001. position when adding controls recursively.
  1002. 2004-01-14 Jackson Harper <[email protected]>
  1003. * HttpCachePolicy.cs: Expose duration and sliding properties.
  1004. 2004-01-14 Jackson Harper <[email protected]>
  1005. * HttpCachePolicy.cs: Add an event that is fired when the
  1006. cacheability is updated. The response uses this to determine
  1007. whether or not it needs to cache itself.
  1008. * HttpResponse.cs: When the cacheability is updated either create
  1009. or dispose of the cached raw response based on whether or not we
  1010. wil need it. This allows output caching to be controlled
  1011. programatically.
  1012. 2004-01-12 Gonzalo Paniagua Javier <[email protected]>
  1013. * HttpContext.cs: add setter for ConfigTimeout.
  1014. * HttpException.cs: added Description property and HTML encode some
  1015. unescaped values.
  1016. * HttpRequest.cs: support request validation.
  1017. * HttpRequestValidationException.cs: added message and description.
  1018. * HttpServerUtility.cs: implemented ScriptTimeout.
  1019. 2004-01-11 Jackson Harper <[email protected]>
  1020. * TraceManager.cs: Dont crash if there is no trace config element.
  1021. 2004-01-11 Jackson Harper <[email protected]>
  1022. * HttpRequest.cs: Add property for determining if the request is
  1023. local or not.
  1024. 2004-01-10 Jackson Harper <[email protected]>
  1025. * TraceContext.cs: Handle tracing when it is enabled in the config
  1026. file but not on the page.
  1027. * TraceManager.cs: Get settings from the configuration object.
  1028. * HttpRuntime.cs: Create trace manager in the first request start
  1029. so it can get configuration settings.
  1030. 2004-01-10 Jackson Harper <[email protected]>
  1031. * TraceContext.cs: Save the request path in the trace data.
  1032. * TraceData.cs: Add RequestPath property, make some rendering
  1033. methods internal static so the TraceHandler can use them.
  1034. * TraceManager.cs: Expose trace data, add a method for clearing
  1035. trace data.
  1036. 2004-01-10 Jackson Harper <[email protected]>
  1037. * HttpRuntime.cs: Add trace manager
  1038. * TraceManager.cs: New class for handling trace configuration and
  1039. storing trace data objects.
  1040. * TraceContext.cs: Save trace data to the trace manager. Fix typo.
  1041. 2004-01-10 Jackson Harper <[email protected]>
  1042. * TraceData.cs: New class for storing trace data. Data is stored
  1043. here instead of the trace context so it can be saved and accessed
  1044. from the trace handler.
  1045. * TraceContext.cs: Save data in the TraceData object, let the
  1046. trace data object handle the rendering.
  1047. 2004-01-08 Gonzalo Paniagua Javier <[email protected]>
  1048. * HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
  1049. Thanks to Jan Jaros ([email protected]).
  1050. * HttpRequestValidationException.cs: fix comment.
  1051. 2004-01-06 Gonzalo Paniagua Javier <[email protected]>
  1052. * HttpException.cs: default to error 500. Fixes bug #52623.
  1053. 2004-01-04 Jackson Harper <[email protected]>
  1054. * TraceContext.cs: Store and render trace info times. Also render
  1055. cookie sizes. Remove debug code.
  1056. 2004-01-04 Jackson Harper <[email protected]>
  1057. * HttpResponse.cs: Set the cached response date header so it can
  1058. be updated.
  1059. * HttpResponseHeader.cs: Let values be set so we can update cached
  1060. response header values.
  1061. 2004-01-04 Jackson Harper <[email protected]>
  1062. * HttpResponse.cs: Implement RemoveOutputCacheItem.
  1063. 2004-01-04 Jackson Harper <[email protected]>
  1064. * HttpCachePolicy.cs: Add internal method to get the vary by custom string
  1065. * HttpCacheVaryByHeaders.cs: Add internal method to get the header names.
  1066. 2004-01-03 Gonzalo Paniagua Javier <[email protected]>
  1067. * HttpRuntime.cs: implemented MachineConfigurationDirectory,
  1068. 2004-1-1 Alon Gazit <[email protected]>
  1069. * HttpWriter.cs: add check in Write() in order to prevent
  1070. NullReferenceException.
  1071. 2004-1-1 Alon Gazit <[email protected]>
  1072. * HttpResponse.cs: implemented ExpiresAbsolute and Expires.
  1073. 2003-12-18 Jackson Harper <[email protected]>
  1074. * TraceContext.cs: Write () methods are not warnings.
  1075. 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
  1076. * HttpBrowserCapabilities.cs: added GetClrVersions ().
  1077. * HttpCachePolicy.cs: added SetAllowResponseInBrowserHistory ().
  1078. * HttpContext.cs: added set_Current and RewritePath (s, s, s) for 1.1.
  1079. * HttpRequest.cs: added set_ContentType, SetPathInfo and ValidateInput.
  1080. * HttpRequestValidationException.cs: new class for 1.1
  1081. * HttpResponse.cs: added RedirectLocation.
  1082. * HttpRuntime.cs: added UnloadAppDomain.
  1083. * HttpServerUtility.cs: Execute (s, t, b) is internal for < 1.2
  1084. * HttpUtility.cs: copied UrlPathEncode from HttpServerUtility.
  1085. * HttpWorkerRequest.cs: added [ComVisible] and made the ctor public.
  1086. 2003-12-17 Gonzalo Paniagua Javier <[email protected]>
  1087. * HttpContext.cs: implemented IsCustomErrorEnabled and
  1088. IsDebuggingEnabled. Added internal ErrorPage property.
  1089. * HttpRuntime.cs: on error, check if we have a custom error page enabled
  1090. to handle it and redirect.
  1091. * HttpResponse.cs: added RedirectCustomError (), which actually does
  1092. the redirection to the error page.
  1093. 2003-12-16 Jackson Harper <[email protected]>
  1094. * TraceContext.cs: Render all the data, and the stylesheet.
  1095. 2003-12-16 Jackson Harper <[email protected]>
  1096. * TraceContext.cs: Add incomplete render method.
  1097. 2003-12-16 Gonzalo Paniagua Javier <[email protected]>
  1098. * CapabilitiesLoader.cs: loads browser detection and capabilities data
  1099. from browscap.ini file by Gary J. Keith.
  1100. * HttpBrowserCapabilities.cs: removed almost all TODOs.
  1101. * HttpRequest.cs: fixed Browser property.
  1102. 2003-12-15 Jackson Harper <[email protected]>
  1103. * TraceContext.cs: Initial implementation of storing data.
  1104. * HttpContext.cs: Create and expose a trace object.
  1105. 2003-12-04 Gonzalo Paniagua Javier <[email protected]>
  1106. * HttpApplication.cs: ThreadAbortException is ok on Redirect.
  1107. * HttpContext.cs: added TimeoutPossible property.
  1108. * HttpResponse.cs: throw ThreadAbortException if End () is called within
  1109. a step in which is possible to timeout.
  1110. Fixes bug #51703.
  1111. 2003-12-04 Jackson Harper <[email protected]>
  1112. * HttpRequest.cs: Cleanup method.
  1113. 2003-12-04 Jackson Harper <[email protected]>
  1114. * HttpValueCollection.cs: Allow blank value names. Posting
  1115. <blank>=SomeValue is valid. And occurs if a radio button does
  1116. not have its name set.
  1117. 2003-12-03 Jackson Harper <[email protected]>
  1118. * HttpResponse.cs: Actually apply an app path modifier in
  1119. ApplyAppPathModifer and add a method to set the app path modifier.
  1120. * HttpRequest.cs: Add utility method for setting a request header.
  1121. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  1122. * HttpApplication.cs: handle FileNotFound and DirectoryNotFound
  1123. exceptions when creating the handler to generate a better error page.
  1124. * HttpException.cs: display the http_code if available. Changed all
  1125. \n by \r\n to make the hidden stack trace readable.
  1126. * StaticFileHandler.cs: don't send the real path in th eerror.
  1127. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  1128. * HttpContext.cs: updated GetConfig and GetAppConfig to new API.
  1129. * HttpResponse.cs: separate initialization of the HttpWriter, as it
  1130. tries to read configuration settings while the config. system is not
  1131. available (ie, before the first request).
  1132. * HttpRuntime.cs: delayed queueManager and response writer
  1133. initialization until the configuration system is working.
  1134. 2003-11-26 Gonzalo Paniagua Javier <[email protected]>
  1135. * HttpRuntime.cs: added request queue handling.
  1136. * QueueManager.cs: simple request queue.
  1137. * TimeoutManager.cs: added some locks to prevent the enumerator used in
  1138. CheckTimeouts to be out of synch.
  1139. 2003-11-25 Jackson Harper <[email protected]>
  1140. * HttpStaticObjectsCollection.cs: Add methods for serialization
  1141. and conversion to/from byte arrays.
  1142. 2003-11-21 Jackson Harper <[email protected]>
  1143. * HttpResponse.cs: When caching data set the content length in the
  1144. cached repsonse so that only that amount will be written back to
  1145. the client. Add method to write a range of binary data.
  1146. * HttpCacheVaryByParams.cs: Add method to retrieve param names.
  1147. 2003-11-21 Gonzalo Paniagua Javier <[email protected]>
  1148. * HttpApplication.cs:
  1149. * HttpContext.cs:
  1150. * HttpRuntime.cs: add timeout handling.
  1151. * TimeoutManager.cs: new class that takes care of aborting threads on
  1152. timeout.
  1153. 2003-11-19 Jackson Harper <[email protected]>
  1154. * HttpWriter.cs: Use a constant for the buffer size so the cache
  1155. can get the buffer size. Add method to get the buffer.
  1156. * HttpResponse.cs: Methods for getting data to cache, and setting
  1157. vars from the cache.
  1158. * HttpCachePolicy.cs: Expose a pages cache expire time.
  1159. 2003-11-18 Gonzalo Paniagua Javier <[email protected]>
  1160. * HttpResponse.cs:
  1161. * HttpWriter.cs: some fixes to allow closing a response stream without
  1162. messing the rest.
  1163. 2003-11-13 Jackson Harper <[email protected]>
  1164. * HttpCachePolicy.cs: Make sure cacheability and maxage get
  1165. set. Add method to set Http response header data
  1166. * HttpCacheVaryByParams.cs: Add method to create a response header.
  1167. * HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
  1168. * HttpResponse.cs: Set cache headers.
  1169. 2003-11-11 Ben Maurer <[email protected]>
  1170. * HttpModuleCollection.cs (GetKey): Recursion, again!
  1171. 2003-11-11 Ben Maurer <[email protected]>
  1172. * HttpClientCertificate.cs (ValidUntil): recursion!
  1173. 2003-11-08 Ben Maurer <[email protected]>
  1174. * SiteMapNode.cs (GetDataSourceView): Implement.
  1175. * SiteMapProvider.cs: Typo fixing.
  1176. * XmlSiteMapProvider.cs: We shouldnt resolve here.
  1177. 2003-11-08 Ben Maurer <[email protected]>
  1178. * SiteMap.cs (Init): implement a hack that doesnt need the config
  1179. stuff. Should do that later.
  1180. * SiteMapNodeCollection (OnValidate): Fix recursion.
  1181. * SiteMapProvider.cs: We dont implement some culture stuff work
  1182. around it. Fix typo.
  1183. * XmlSiteMapProvider.cs: Added.
  1184. 2003-11-07 Ben Maurer <[email protected]>
  1185. * ISiteMapProvider.cs:
  1186. * SiteMap.cs:
  1187. * SiteMapNode.cs:
  1188. * SiteMapNodeCollection.cs:
  1189. * SiteMapProvider.cs:
  1190. * SiteMapProviderCollection.cs: V2 sitemap related stuff.
  1191. 2003-11-07 Gonzalo Paniagua Javier <[email protected]>
  1192. * HttpRequest.cs: don't attempt to read more bytes than specified
  1193. content length.
  1194. 2003-11-05 Gonzalo Paniagua Javier <[email protected]>
  1195. * HttpRequest.cs:
  1196. * HttpResponse.cs:
  1197. * HttpUtility.cs:
  1198. * HttpValueCollection.cs: encoding fixes/updates.
  1199. * HttpWriter.cs: when updating the encoding, flush the existing stream.
  1200. Encoding updates.
  1201. 2003-11-04 Ben Maurer <[email protected]>
  1202. * HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
  1203. return false (which makes sense, as the custom errors *arent* enabled;
  1204. ie they dont work.
  1205. * HttpResponseStream.cs: you actually can write with len = 0
  1206. 2003-11-03 Jackson Harper <[email protected]>
  1207. * HttpResponse.cs (ContentEncoding): Throw
  1208. ArgumentNullException. Patch by Yaron Shkop.
  1209. 2003-10-30 Atsushi Enomoto <[email protected]>
  1210. * HttpMultipartContentParser.cs : Quick fix for cygwin build.
  1211. CSC complains that constant char cannot be casted as byte.
  1212. 2003-10-22 Gonzalo Paniagua Javier <[email protected]>
  1213. * HttpApplication.cs: added AssemblyLocation property.
  1214. 2003-10-18 Gonzalo Paniagua Javier <[email protected]>
  1215. * HttpApplicationFactory.cs: use NoParamsInvoker.
  1216. * HttpRequest.cs: support request filters.
  1217. * HttpRequestStream.cs: mono-stylized and added new Set method.
  1218. * NoParamsInvoker.cs: proxy class to invoke user-provided methods
  1219. without parameters that are invoked by EventHandlers.
  1220. 2003-10-13 Lluis Sanchez Gual <[email protected]>
  1221. * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
  1222. to invariant culture.
  1223. 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
  1224. * HttpResponse.cs:
  1225. * HttpServerUtility.cs: change the response writer in Execute. Thanks
  1226. to Rich Alimi <[email protected]> for noticing this.
  1227. 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
  1228. * HttpApplicationFactory.cs: support for wiring up events without
  1229. parameters.
  1230. 2003-10-06 Gonzalo Paniagua Javier <[email protected]>
  1231. * HttpUtility.cs: small memory usage reduction.
  1232. 2003-10-01 Gonzalo Paniagua Javier <[email protected]>
  1233. * HttpApplication.cs: pass the Uri, not the file path to
  1234. when looking for a handler.
  1235. 2003-09-21 Gonzalo Paniagua Javier <[email protected]>
  1236. * HttpRequest.cs: small fix needed when reading big POST data.
  1237. 2003-09-04 Lluis Sanchez Gual <[email protected]>
  1238. * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
  1239. (this will get the address from the request headers).
  1240. 2003-09-04 Lluis Sanchez Gual <[email protected]>
  1241. * HttpServerUtility.cs: In Transfer(), preserve the query string if
  1242. told to do so.
  1243. 2003-08-29 Gonzalo Paniagua Javier <[email protected]>
  1244. * HttpApplication.cs: ensure we do all the EndRequest steps. Don't
  1245. filter the output on error.
  1246. * HttpResponse.cs: modified DoFilter to allow bypassing filtering.
  1247. 2003-08-27 Gonzalo Paniagua Javier <[email protected]>
  1248. * HttpApplication.cs: when the request is completed or an
  1249. error happens, execute all the delegates attached to EndRequest, not
  1250. only the last one. This makes xsp/test/authtest work again.
  1251. * HttpMethodNotAllowedHandler.cs: fixed description for http
  1252. status code.
  1253. 2003-08-22 Gonzalo Paniagua Javier <[email protected]>
  1254. * HttpRequest.cs: quick way of checking that the path is within the
  1255. root for the application. Thanks to Johannes for reporting.
  1256. * HttpRuntime.cs: use the status code from teh exception when it'ss a
  1257. HttpException.
  1258. * StaticFileHandler.cs: forbidden is 403.
  1259. 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
  1260. * HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
  1261. <[email protected]>.
  1262. 2003-08-19 Gonzalo Paniagua Javier <[email protected]>
  1263. * HttpException.cs: make the unhandled error more like the MS one.
  1264. * HttpRuntime.cs: set a 500 error code on unhandled exceptions.
  1265. 2003-08-19 Gonzalo Paniagua Javier <[email protected]>
  1266. * HttpResponse.cs: flush headers when the body length is 0.
  1267. * StaticFileHandler.cs: added If-Modified-Since handling patch slightly
  1268. modified from the original by Piers Haken <[email protected]>.
  1269. 2003-08-14 Gonzalo Paniagua Javier <[email protected]>
  1270. * HttpResponse.cs: another patch from totte and me. This one prevents
  1271. writing output if the client have disconnected and filters the data
  1272. when there's a non-final Flush in the middle of the process.
  1273. 2003-08-12 Gonzalo Paniagua Javier <[email protected]>
  1274. * HttpApplication.cs: fixed typos. Closes bug #44197.
  1275. 2003-08-12 Gonzalo Paniagua Javier <[email protected]>
  1276. * HttpApplication.cs:
  1277. * HttpApplicationFactory.cs: fix duplicate application OnStart events.
  1278. Patch by Patrik Torstensson.
  1279. 2003-08-11 Gonzalo Paniagua Javier <[email protected]>
  1280. * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
  1281. overload. The previous one only admits static methods.
  1282. 2003-08-01 Andreas Nahr <[email protected]>
  1283. * ProcessModelInfo.cs: Fixed signature
  1284. 2003-07-30 Andreas Nahr <[email protected]>
  1285. * WebCategoryAttribute.cs: Implemented localization
  1286. * WebSysDescriptionAttribute.cs: Implemented localization
  1287. 2003-07-23 Gonzalo Paniagua Javier <[email protected]>
  1288. * HttpRuntime.cs: also clear the headers that may have been set upon
  1289. error processing the request.
  1290. 2003-07-23 Gonzalo Paniagua Javier <[email protected]>
  1291. * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
  1292. Write method.
  1293. * HttpWriter.cs: flush the filter after writing.
  1294. 2003-07-22 Gonzalo Paniagua Javier <[email protected]>
  1295. * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
  1296. 2003-07-08 Gonzalo Paniagua Javier <[email protected]>
  1297. * HttpContext.cs: Session doesn't have a setter.
  1298. * HttpResponse.cs: Request is private.
  1299. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  1300. * HttpRequest.cs: fixed Headers property. It was getting known headers
  1301. values instead of known headers names.
  1302. 2003-07-01 Gonzalo Paniagua Javier <[email protected]>
  1303. * HttpApplication.cs: prevent nullref if an error happens before context
  1304. is set.
  1305. * HttpException.cs: small fix in the stack trace sent.
  1306. * HttpUtility.cs: the lock is not needed.
  1307. 2003-06-30 Gonzalo Paniagua Javier <[email protected]>
  1308. * HttpRequest.cs: added REMOTE_PORT.
  1309. * HttpValueCollection.cs: fixed bug #45490.
  1310. 2003-05-13 Gonzalo Paniagua Javier <[email protected]>
  1311. * HttpApplication.cs:
  1312. * HttpApplicationFactory.cs: fire application start and session
  1313. start/end events.
  1314. 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
  1315. * HttpException.cs: encode as HTML the inner exception that
  1316. is appended as a comment at the end of error pages.
  1317. 2003-05-03 Gonzalo Paniagua Javier <[email protected]>
  1318. * HttpWriter.cs: don't do anything in Flush. Fixes #42249.
  1319. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  1320. * HtmlizedException.cs: added more virtual methods.
  1321. * HttpException.cs: some work on the output when there's a source
  1322. file present.
  1323. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  1324. * HtmlizedException.cs: simplified to cope with the new interface.
  1325. * HttpApplicationFactory.cs: use the application file parser to get the
  1326. application Type.
  1327. * HttpException.cs: small changes. Needs some more work on
  1328. ParseExceptions.
  1329. 2003-03-25 Gonzalo Paniagua Javier <[email protected]>
  1330. * HttpRequest.cs: fixed Url property.
  1331. 2003-03-24 Gonzalo Paniagua Javier <[email protected]>
  1332. * HtmlizedException.cs:
  1333. * HttpException.cs: display the correct line number in error messages.
  1334. 2003-03-22 Gonzalo Paniagua Javier <[email protected]>
  1335. * HttpCachePolicy.cs: implemented all TODOs.
  1336. * HttpRequestStream.cs: make it internal.
  1337. 2003-03-18 Gonzalo Paniagua Javier <[email protected]>
  1338. * HttpContext.cs: implemented RewritePath in other way.
  1339. * HttpRequest.cs: removed SetPhysicalPath and added SetForm.
  1340. * HttpServerUtility.cs: implemented Transfer (string, bool).
  1341. 2003-03-16 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
  1342. * HttpContext.cs : Implemented RewritePath
  1343. * HttpRequest.cs : Added internal function SetPhysicalPath
  1344. 2003-03-14 Gonzalo Paniagua Javier <[email protected]>
  1345. * HttpServerUtility.cs: implemented Transfer ().
  1346. 2003-03-13 Gonzalo Paniagua Javier <[email protected]>
  1347. * HttpRuntime.cs: Cache no longer have a Dispose method.
  1348. * HttpServerUtility.cs: removed MonoTODO.
  1349. 2003-03-03 Gonzalo Paniagua Javier <[email protected]>
  1350. * HttpHelper.cs: store the values in an ArrayList to get them in correct
  1351. order.
  1352. 2003-02-17 Gonzalo Paniagua Javier <[email protected]>
  1353. * HttpApplicationFactory.cs: Global.asax takes precedence over
  1354. global.asax if it exists.
  1355. * HttpRequest.cs: use allowCrossAppMapping in MapPath.
  1356. 2003-02-17 Gonzalo Paniagua Javier <[email protected]>
  1357. * HttpApplication.cs: CreateHttpHandler is now internal.
  1358. * HttpRequest.cs: allow setting QueryStringRaw, which
  1359. invalidates the data obtained from the previous value. Added internal
  1360. SetFilePath method.
  1361. * HttpServerUtility.cs: implemented Execute and GetLastError.
  1362. 2003-02-17 Gonzalo Paniagua Javier <[email protected]>
  1363. * HttpServerUtility.cs: style.
  1364. 2003-02-13 Gonzalo Paniagua Javier <[email protected]>
  1365. * HttpApplication.cs: only execute the EndRequest step on error
  1366. condition or request marked as completed. This prevent page events from
  1367. being called when, for example, the url authorization module forbids
  1368. the request.
  1369. 2003-02-12 Gonzalo Paniagua Javier <[email protected]>
  1370. * HttpRequest.cs: implemented the indexer.
  1371. 2003-02-11 Gonzalo Paniagua Javier <[email protected]>
  1372. * HtmlizedException.cs: base class for exceptions that makes it easy to
  1373. generate error pages.
  1374. * HttpException.cs: improved error displaying.
  1375. * HttpRuntime.cs: removed debugging output.
  1376. 2003-02-06 Gonzalo Paniagua Javier <[email protected]>
  1377. * HttpApplication.cs: display the error instead of hanging when we get
  1378. any error before the last step of the request.
  1379. 2003-02-04 Tim Haynes <[email protected]>
  1380. * HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement
  1381. instance counter.
  1382. 2003-01-29 Gonzalo Paniagua Javier <[email protected]>
  1383. * HttpRequest.cs: added BaseVirtualDir property and use it in MapPath.
  1384. 2003-01-17 Gonzalo Paniagua Javier <[email protected]>
  1385. * HttpRequest.cs: implemented CurrentExecutionFilePath.
  1386. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  1387. * HttpApplication.cs: keep _lasterror if no context. Attach
  1388. application events *after* modules initialization (if not, User is not
  1389. set when the user handler is called).
  1390. * HttpApplicationFactory.cs: made all methods related to
  1391. AttachEvents static. I will fix OnStart/OnEnd for application and
  1392. session later.
  1393. * HttpRequest.cs: don't initialize cookies twice.
  1394. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  1395. * HttpResponse.cs:
  1396. (ApplyAppPathModifiers): return the root directory for "".
  1397. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  1398. * HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.
  1399. 2003-01-04 Gonzalo Paniagua Javier <[email protected]>
  1400. * HttpApplication.cs: added new state to handle default authentication.
  1401. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  1402. * HttpContext.cs: removed hack to get the User.
  1403. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  1404. * HttpUtility.cs: fixed bug #36038. Thanks to [email protected] for
  1405. reporting the bug and how to fix it.
  1406. 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
  1407. * HttpCookie.cs: send 'expires' in the header.
  1408. 2002-12-19 Gonzalo Paniagua Javier <[email protected]>
  1409. * HttpValueCollection.cs: patch from Botjan Vizin
  1410. <[email protected]> that implements ToString (bool).
  1411. 2002-12-18 Gonzalo Paniagua Javier <[email protected]>
  1412. * HttpApplicationFactory.cs: add the context as parameter when building
  1413. the application Type.
  1414. * HttpCookie.cs: new internal constructor.
  1415. * HttpCookieCollection.cs: new internal method to make a cookie expire.
  1416. * HttpRequest.cs: MapPath fixes.
  1417. * HttpResponse.cs: implemented ApplyAppPathModifier.
  1418. * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
  1419. 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
  1420. * HttpContext.cs: hack to create a default user when there's no one.
  1421. Implemented GetConfig (string).
  1422. * HttpRequest.cs: fixes to MapPath (string).
  1423. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  1424. * HttpRuntime.cs: avoid nulls and exception when getting resource
  1425. format strings.
  1426. * StaticFileHandler.cs: added file name to error message.
  1427. 2002-12-05 Gonzalo Paniagua Javier <[email protected]>
  1428. * HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
  1429. 2002-12-02 Gonzalo Paniagua Javier <[email protected]>
  1430. * HttpApplicationFactory.cs: get the events from the application class,
  1431. fire Application/Session Start/End and add the others as application
  1432. events.
  1433. 2002-11-30 Gonzalo Paniagua Javier <[email protected]>
  1434. * HttpApplicationFactory.cs: compile global.asax file if it exists.
  1435. 2002-11-27 Gonzalo Paniagua Javier <[email protected]>
  1436. * HttpRequest.cs: provide a default Browser until we detect it.
  1437. * HttpResponse.cs:
  1438. (End): do not close the connection here.
  1439. (Flush (bool)): send the headers when, for example, Redirect () is
  1440. called.
  1441. 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
  1442. * HttpException.cs: simple error output.
  1443. 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
  1444. * HttpApplication.cs: style.
  1445. * HttpException.cs: style.
  1446. * HttpRuntime.cs: only flush the response if there are no errors.
  1447. Otherwise, write an error output.
  1448. * HttpWriter.cs: change Unicode to UTF8.
  1449. 2002-11-09 Gonzalo Paniagua Javier <[email protected]>
  1450. * HttpApplication.cs: don't begin the request using ExecuteNextAsync
  1451. (it fails to work on NetServ).
  1452. * HttpWorkerRequest.cs: typo.
  1453. 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
  1454. * HttpValueCollection.cs: the value may contain trailing '=' as it is
  1455. UrlEncoded. Don't split name=value based on '='.
  1456. 2002-11-02 Gonzalo Paniagua Javier <[email protected]>
  1457. * HttpCookie.cs: made GetCookieHeader internal.
  1458. * HttpRequest.cs: get cookies from request.
  1459. * HttpResponse.cs: send cookies. Implemented
  1460. AddFileDependencies (). Added check for _Writer == null in Flush
  1461. (Patrik ;-). Clear the content if HEAD or SupressContent == true.
  1462. Removed redirect hack used in old server.
  1463. 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
  1464. * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
  1465. most ContentLength bytes.
  1466. * HttpResponse.cs: now it sends the headers. Added
  1467. X-Powered-By header :-).
  1468. * HttpRuntime.cs: fixed typo.
  1469. * HttpValueCollection.cs: cosmetic changes.
  1470. 2002-10-27 Gonzalo Paniagua Javier <[email protected]>
  1471. * HttpApplication.cs: reenabled a few lines of code
  1472. (ThreadPool already fixed).
  1473. * HttpRequest.cs:
  1474. * HttpResponse.cs:
  1475. * HttpUtility.cs:
  1476. * HttpValueCollection.cs:
  1477. * HttpWriter.cs: Use WebEncoding.Encoding.
  1478. 2002-10-25 Gonzalo Paniagua Javier <[email protected]>
  1479. * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
  1480. This fixes sending bytes and allows mixing byte with chars.
  1481. 2002-10-25 Gonzalo Paniagua Javier <[email protected]>
  1482. * HttpResponse.cs: implemented WriteFile methods.
  1483. * MimeTypes.cs: removed duplicated entries.
  1484. 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
  1485. * HttpResponse.cs: don't throw exception in a couple of
  1486. methods not yet implemented.
  1487. 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
  1488. * HttpApplication.cs: fixed type and handle factories when creating
  1489. IHttpHandler for a request.
  1490. 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
  1491. * HttpApplication.cs: use handlers from configuration.
  1492. * HttpContext.cs: get handlers from ConfigurationSettings.
  1493. 2002-10-02 Gonzalo Paniagua Javier <[email protected]>
  1494. * HttpMethodNotAllowedHandler.cs:
  1495. * HttpRuntime.cs:
  1496. * StaticFileHandler.cs: Modified file.
  1497. * HttpUtility.cs: implemented all missing methods.
  1498. 2002-09-30 Gonzalo Paniagua Javier <[email protected]>
  1499. * System.Web/HttpApplication.cs: use the static file handler.
  1500. * System.Web/HttpForbiddenHandler.cs: handler to forbid access.
  1501. * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
  1502. allowed.
  1503. * System.Web/HttpUtility.cs: finished all UrlDecode methods.
  1504. * System.Web/MimeTypes.cs: map from file extension to MIME type.
  1505. * System.Web/StaticFileHandler.cs: serves static files
  1506. 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
  1507. * System.Web/HttpApplication.cs:
  1508. * System.Web/HttpApplicationFactory.cs:
  1509. * System.Web/HttpRequest.cs:
  1510. * System.Web/HttpRuntime.cs: we are now able to compile pages and use
  1511. HttpApplication, HttpRuntime and SimpleWorkerRequest.
  1512. 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
  1513. * HttpApplication.cs: added some missing methods.
  1514. * HttpApplicationFactory.cs: get event handlers for the application.
  1515. * HttpAsyncResult.cs: little fixes.
  1516. * HttpRequest.cs: make Encoding work even with no worker request.
  1517. 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
  1518. * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
  1519. to add HttpMapPath to the list file...
  1520. 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
  1521. * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
  1522. report when i get a test case.
  1523. 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
  1524. * HttpApplicationFactory.cs:
  1525. * HttpCachePolicy.cs:
  1526. * HttpResponseHeader.cs:
  1527. * HttpResponseStream.cs:
  1528. * HttpResponseStreamProxy.cs:
  1529. * HttpValueCollection.cs: misc. fixes based on class status page.
  1530. * IHttpMapPath.cs: New file.
  1531. * HttpRequest.cs: implemented ContentEncoding.
  1532. * HttpWorkerRequest.cs: mono-stylized and implemented
  1533. SendResponseFromMemory.
  1534. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  1535. * HttpContext.cs: reformatted.
  1536. * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
  1537. the indexer.
  1538. 2002-08-05 Patrik Torstensson <[email protected]>
  1539. * HttpApplication.cs: Implemented a state machine to allow handling of
  1540. HttpModules and HttpHandlers. Implementation of async handlers.
  1541. * HttpApplicationFactory.cs: Factory for creating HttpApplication
  1542. instances, including caching.
  1543. * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
  1544. application instance to execute requests in and implementation of
  1545. request execution (still no request queue).
  1546. * HttpAsyncResult.cs: New file to handle async module results.
  1547. * HttpRequest.cs: Change signature of Dispose
  1548. * HttpResponse.cs: new internal method allowing filtering to happen
  1549. during the request flow in the state machine.
  1550. 2002-07-28 Gonzalo Paniagua Javier <[email protected]>
  1551. * HttpApplication.cs: events were not being initialized.
  1552. 2002-07-25 Gonzalo Paniagua Javier <[email protected]>
  1553. * ProcessModelInfo.cs: fixed compilation.
  1554. 2002-07-25 Tim Coleman <[email protected]>
  1555. * ProcessModelInfo.cs:
  1556. New class added
  1557. * HttpParseException.cs:
  1558. * HttpCompileException.cs:
  1559. * HttpUnhandledException.cs:
  1560. Internal constructors added to these
  1561. 2002-07-24 Tim Coleman <[email protected]>
  1562. * ProcessInfo.cs:
  1563. Fix constructor, reference to shutdownreason.
  1564. 2002-07-24 Tim Coleman <[email protected]>
  1565. * HttpCachePolicy.cs:
  1566. Added stubbs to this class.
  1567. * HttpCacheability.cs:
  1568. * HttpCacheRevalidation.cs:
  1569. * HttpValidationStatus.cs:
  1570. * ProcessShutdownReason.cs:
  1571. * ProcessStatus.cs:
  1572. * TraceMode.cs:
  1573. Reorder the enumerations (and in some cases make
  1574. one-based) in order to agree with the .NET
  1575. implementation, based on the class status page.
  1576. * ProcessInfo.cs:
  1577. Implementation of this class.
  1578. 2002-07-23 Tim Coleman <[email protected]>
  1579. * HttpCompileException.cs:
  1580. * HttpParseException.cs:
  1581. * HttpUnhandledException.cs:
  1582. New stubbs created.
  1583. * HttpApplication.cs:
  1584. * HttpBrowserCapabilities.cs:
  1585. Added missing methods stubbs and attributes based
  1586. on the class status page. Also reformatted some
  1587. source for consistency.
  1588. 2002-07-23 Tim Coleman <[email protected]>
  1589. * HttpUtility.cs: Moved entities hashtable into main
  1590. class as a static object, so we don't instantiate
  1591. a new one every time. Also put the hashtable
  1592. building into a lock block.
  1593. 2002-07-22 Tim Coleman <[email protected]>
  1594. * HttpUtility.cs: Cleanup of the code, implementation
  1595. of HtmlDecode/HtmlEncode functions
  1596. 2002-07-14 Gonzalo Paniagua Javier <[email protected]>
  1597. * HttpResponse.cs: quick&dirty hack to make redirection work. Should
  1598. be out of there once we have SimpleWorkerRequest.
  1599. 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
  1600. * HttpUtility.cs: little typo, big headache.
  1601. 2002-07-10 Gonzalo Paniagua Javier <[email protected]>
  1602. * HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
  1603. 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
  1604. * System.Web/HttpResponse.cs:
  1605. Fixes based on class status page:
  1606. - Add attributes (DefaultEvent, ParseChildren).
  1607. - Fix declarations.
  1608. - Explicitly implement some interfaces (IPostBackDataHandler
  1609. and IPostBackEventHandler).
  1610. - Implemented some missing methods.
  1611. 2002-06-29 Gonzalo Paniagua Javier <[email protected]>
  1612. * HttpContext.cs:
  1613. (Session): return null instead of throwing an exception.
  1614. * HttpRequest.cs:
  1615. (HttpMethod): return RequestType if not set.
  1616. (GetRawContent): return QueryString if we don't have a
  1617. HttpWorkerRequest.
  1618. * HttpUtility.cs: fixed Decode and Encode.
  1619. 2002-06-25 Gonzalo Paniagua Javier <[email protected]>
  1620. * HttpApplication.cs:
  1621. * HttpContext.cs: added System.Web.SessionState namespace.
  1622. * HttpSessionState.cs: removed. It is under
  1623. System.Web.SessionState.
  1624. 2002-06-10 Duncan Mak <[email protected]>
  1625. * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
  1626. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  1627. * HttpRequest.cs: implemented Browser property.
  1628. 2002-06-03 Gonzalo Paniagua Javier <[email protected]>
  1629. * HttpBrowserCapabilities.cs: stubbed out.
  1630. 2002-05-18 Miguel de Icaza <[email protected]>
  1631. * HttpRuntime.cs: Reformat file.
  1632. 2002-05-07 Duncan Mak <[email protected]>
  1633. * HttpBrowserCapabilities.cs: Added, replacing
  1634. HttpBrowserCapabilites because of typo.
  1635. * HttpBrowserCapabilites.cs: Removed, replaced by above.
  1636. * HttpRequest.cs (Browser): Fixed typo.
  1637. 2002-04-12 Patrik Torstensson <[email protected]>
  1638. * HttpApplication.cs: Minor updates
  1639. * HttpApplicationState.cs: Ready.
  1640. * HttpClientCertificate.cs: Signature updates
  1641. * HttpValueCollection.cs: ready
  1642. * HttpStaticObjectsCollection.cs: ready
  1643. * HttpResponseHeader.cs: made internal only
  1644. * HttpResponse.cs: Signature updates
  1645. * HttpPostedFile.cs: ready
  1646. * HttpCacheVaryByHeaders.cs: ready (except communication to policy)
  1647. * HttpCacheVaryByParams.cs: ready (except communication to policy)
  1648. System.Web is now over 60% ready..
  1649. 2002-04-11 Patrik Torstensson <[email protected]>
  1650. * HttpException.cs: 95% ready, only windows dependent code left
  1651. * HttpFileCollection.cs: Finished.
  1652. * HttpRequest.cs: Minor fixes and fixed signature problems
  1653. * HttpResponse.cs: Implementation of missing methods and signature problems
  1654. * HttpResponseHeader.cs: Fixed signature problems
  1655. * HttpRuntime.cs: Fixed signature problems
  1656. * HttpServerUtility.cs: Added support for HttpApplication
  1657. * HttpSessionState.cs: Fixed signature issues
  1658. * HttpUtility.cs: fixed signature issues
  1659. * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
  1660. * HttpWorkerRequest.cs: Fixed small signature issue
  1661. * HttpWriter.cs: Fixed signature issue
  1662. * HttpApplication.cs: Basic implementation
  1663. * HttpApplicationState.cs: Small fixes to support major change comming up
  1664. * HttpBrowserCapabilities.cs: Added Type method
  1665. * HttpClientCertificate.cs: Almost ready, needs to parse certificate.
  1666. * HttpContext.cs: Fixed signature issues and added last methods.
  1667. * HttpCookie.cs: Full implementation
  1668. * HttpCookieCollection.cs: Full implementation
  1669. * TraceContext.cs: Methods implemented.
  1670. * HttpPostedFile.cs: Placeholder
  1671. * HttpStaticObjectsCollection.cs: Placeholder
  1672. * HttpModuleCollection.cs: Ready, will be used during the major revamp.
  1673. * Fixed a number of other small signature problems also (class status page)
  1674. 2002-04-10 Patrik Torstensson <[email protected]>
  1675. * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
  1676. * Checkin of all new files (noted in last changenote)
  1677. 2002-04-10 Patrik Torstensson <[email protected]>
  1678. * HttpContext.cs: First implementation (basic support, few methods left to impl)
  1679. * HttpException.cs: Partial implementation (basic support)
  1680. * HttpHelper.cs: Header parse helper, used by runtime (non public)
  1681. * HttpRequest.cs: Implementation (all methods there, not all fully impl)
  1682. * HttpRequestStream.cs: Full implementation
  1683. * HttpResponse.cs: Partial implementation(almost all methods)
  1684. * HttpResponseHeader.cs: Header helper
  1685. * HttpResponseStream.cs: Full implementation - Response stream support
  1686. * HttpResponseStreamProxy.cs: Implementation - filter support
  1687. * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
  1688. * HttpServerUtility.cs: Implemented usage of HttpContext for methods
  1689. and moved encoding functions to HttpUtility.
  1690. * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
  1691. added the Attribute encoding functions.
  1692. * HttpValueCollection.cs: Implementation.
  1693. * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
  1694. * HttpWriter.cs: Implementation (with filter support)
  1695. * HttpFileCollection: Added dummy class (placeholder)
  1696. * HttpApplication.cs: Added dummy class (placeholder)
  1697. * HttpApplicationState.cs: Added dummy class (placeholder)
  1698. * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
  1699. * HtttpCachePolicy.cs: Added dummy class (placeholder)
  1700. * HttpClientCertificate.cs: Added dummy class (placeholder)
  1701. * HttpSessionState.cs: Added dummy class (placeholder)
  1702. * TraceContext.cs: Added dummy class (placeholder)
  1703. 2002/04/10 Nick Drochak <[email protected]>
  1704. * HttpServerUtility.cs: Fix build breaker.
  1705. 2002-03-28 Wictor Wiln <[email protected]>
  1706. * HttpServerUtils.cs : Added some more functionality
  1707. 2002-03-28 Martin Baulig <[email protected]>
  1708. * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
  1709. char to a string, use ToString() instead.
  1710. 2002-03-16 Gaurav Vaish <[email protected]>
  1711. * WebCategoryAttribute.cs
  1712. : Added private attribute.
  1713. 2002-03-16 Gaurav Vaish <[email protected]>
  1714. * HttpRuntime.cs : Stubbed methods for
  1715. FormatStringResource(...) in agreement with the various
  1716. overloads available at String.Format(...)
  1717. 2002-01-08 Gaurav Vaish <[email protected]>
  1718. * TODOAttribute.cs : Added, as an internal class to the assembly
  1719. 2002-01-03 Nick Drochak <[email protected]>
  1720. * HttpRuntime.cs: remove uneeded exception variable from catch and
  1721. initialize remaining instance members to avoid compile warnings
  1722. 2002-01-02 Nick Drochak <[email protected]>
  1723. * HttpRuntime.cs: fix spelling error/variable name change.
  1724. 2001-12-18 Gaurav Vaish <[email protected]>
  1725. * HttpRuntime.cs : Initial implementation
  1726. 2001-08-29 Bob Smith <[email protected]>
  1727. * HttpWorkerRequest.cs: Partial Implementation.
  1728. 2001-08-16 Bob Smith <[email protected]>
  1729. * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
  1730. 2001-08-09 Bob Smith <[email protected]>
  1731. * BeginEventHandler.cs: Implemented.
  1732. * EndEventHandler.cs: Implemented.
  1733. * HttpCacheability.cs: Implemented.
  1734. * HttpCacheRevalidation.cs: Implemented.
  1735. * HttpCacheValidateHandler.cs: Implemented.
  1736. * HttpCookieCollection.cs: Implemented.
  1737. * HttpCookie.cs: Implemented.
  1738. * HttpValidationStatus.cs: Implemented.
  1739. * HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
  1740. * IHttpAsyncHandler.cs: Implemented.
  1741. * IHttpHandler.cs: Implemented.
  1742. * IHttpHandlerFactory.cs: Implemented.
  1743. * IHttpModule.cs: Implemented.
  1744. * ProcessShutdownReason.cs: Implemented.
  1745. * ProcessStatus.cs: Implemented.
  1746. * TraceMode.cs: Implemented.