1 2005-12-08 Robert Jordan <robertj@gmx.net>
3 * MimeTypes.cs: added entry for "jpg".
5 2005-12-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7 * HttpRequest.cs: only read up to content-length when provided. Patch
10 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
12 * HttpCookie.cs: fixed the set_Secure. Closes bug #76906.
14 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
16 * HttpResponseStream.cs: flush the filter stream before closing.
17 Patch by Geir Bergum that fixes bug #76753.
19 2005-11-28 Chris Toshok <toshok@ximian.com>
21 * HttpContext.cs (Profile): remove the #if false from around this,
22 as we now have the ProfileBase type.
23 (GetConfig): add CONFIGURATION_2_0 version.
24 (GetSection): add CONFIGURATION_2_0 version.
26 2005-11-28 Chris Toshok <toshok@ximian.com>
28 * TraceManager.cs (..ctor): CONFIGURATION_2_0 work.
30 * QueueManager.cs (..ctor): CONFIGURATION_2_0 work.
32 * HttpRequest.cs (AnonymousID): add 2.0 property.
33 (MakeInputStream): CONFIGURATION_2_0 work.
35 * HttpApplication.cs (InitOnce): change around the
36 CONFIGURATION_2_0 stuff since we need additional Culture foo for
39 2005-11-27 Chris Toshok <toshok@ximian.com>
41 * HttpApplication.cs (InitOnce): add Configuration_2.0 code.
44 2005-11-26 Miguel de Icaza <miguel@novell.com>
46 * HttpResponseStream.cs: Do not try to write zero bytes.
48 2005-11-24 Miguel de Icaza <miguel@novell.com>
50 * WebROCollection.cs: Do not add an empty "=" to the query string
51 if the key is empty or null.
53 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
55 * WebROCollection.cs: override ToString and generate a query string from
56 the key/value pairs. Fixes bug #76779.
58 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
60 * HttpServerUtility.cs: prevent possible nullref in GetLastError().
62 2005-11-07 Jason Diamond <jason@diamond.name>
64 * HttpRequest.cs: Don't throw exception when Content-Length doesn't
65 match length of POSTed data. Also, allow charset parameter on
66 Content-Type header when type is "application/x-www-form-urlencoded".
68 2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
70 * WebROCollection.cs: add an ID for the collection. Page needs it.
72 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
74 * HttpRequest.cs: no need to allocate the buffer when all the content
77 2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
79 * HttpApplication.cs: ignore TAE in ProcesssError. The Error event might
80 redirect or transfer and that causes a TAE to be thrown. Fixes
83 2005-11-01 Chris Toshok <toshok@ximian.com>
85 * VirtualPathUtility.cs: new (partial implementation) to get some
86 MS provider examples compiling.
88 2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
90 * HttpContext.cs: added a new internal overload for ClearError.
92 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
94 * HttpRuntime.cs: invoke callbacks on private items in the cache before
95 calling disposing the app. factory. This way we get notifications of
96 removal for all sessions stored in the cache (InProc only).
98 2005-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
100 * HttpResponseStream.cs: reworked buffering so that adjacents blocks are
101 written at once. Also fix bug #76460.
103 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
105 * HttpResponseStream.cs: when allocating a chunk larger than the
106 default chunk size, mark all the blocks as taken. Fixes bug
109 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
111 * HttpResponse.cs: use HaveFilter instead of Filter.
112 * HttpResponseStream.cs: allocate chunks of the requested size
113 when it's > 32KB. Fixes bug #76460.
115 2005-10-14 Sebastien Pouliot <sebastien@ximian.com>
117 * ServerVariablesCollection.cs: Added a demand for
118 SerializationFormatter on GetObjectData method (even if it's not
119 really required in this case as it remove warnings from gendarme.
121 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
124 * HttpRequest.cs: buglets in error checking in Filter.
126 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
128 * OutputFilterStream.cs: proxy class for response filters.
129 * HttpResponse.cs: moved all the actual write operations into the
130 response stream. Handle response filtering. When caching, get the
131 actual length of the data, not the buffer length.
132 * HttpApplication.cs: if there's no error, invoke the filters before
133 updating the request cache.
134 * HttpResponseStream.cs: new Filter property. SendChunkSize is moved
135 here and now supports writing the final chunk. New method ApplyFilter
136 that filters the existing buckets and replaces them with the filtered
137 ones. Modified Write to deal with buffering and filtering.
139 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
141 * HttpResponseStream.cs: allow for writes of more than 32K at once.
143 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
145 * InputFilterStream.cs proxy stream for use by filters.
146 * HttpRequest.cs: implement input filtering.
148 2005-10-02 Eyal Alaluf <eyala@mainsoft.com>
149 * HttpApplication.jvm.cs - Workaround for use of yield in
150 HttpApplication.cs HttpRuntime.cs: AppDomain.Unload is not supported
153 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
155 * HttpResponseStream.cs: remove dead code.
157 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
159 * HttpClientCertificate.cs: Remove last TODO on IsValid. This now
160 works when using XSP. Now use flags to determine valid/presence.
162 2005-09-26 Chris Toshok <toshok@ximian.com>
164 * HttpApplicationFactory.cs (OnAppFileChanged): add null checks
165 for bin_watcher and app_file_watcher so we don't get NRE's here.
167 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
169 * BrowserCapabilities.cs: don't rely on the win32 attribute to be there.
170 Just use the platform to determine whether Win32 is true or not. Fixes
173 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
175 * HttpApplication.cs: fixed typo when setting UI culture. Closes bug
178 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
180 * HttpRequest.cs: new SetFilePath() that does not conflict with
181 SetCurrentExePath. Now when transfering from a page to another,
182 CurrentExecutionFilePath and FilePath are correct.
184 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
186 * TraceContext.cs: add new method to store size of controls.
187 * TraceData.cs: render control size.
188 * HttpResponse.cs: new internal method to get the number of bytes of
190 * HttpResponseStream.cs: added Length property to the Buckets and new
193 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
195 * TraceData.cs: we have to change the method of getting a control render
196 size. MS does not do this or otherwise would run into the same bug
197 (#76051) that this patch fixes. This is temporarily setting the size
200 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
202 * HttpResponseStream.cs: implemented Send(stream) for files. Fixes bug
205 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
207 * HttpRuntime.cs: catch errors when compiling global.asax and
208 initializing the application. Fixes bug #76090.
210 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
212 * BrowserCapabilities.cs: Fixed changes (in 2.0) with versions. Fixed
213 compare with "True" (culture and case sensitivity).
214 * HttpApplicationState.cs: Added LinkDemand for Minimal. Use the
215 internal HttpStaticObjectsCollection ctor to avoid the UnmanagedCode
217 * HttpContext.cs: Added LinkDemand for Minimal. Added 2.0 properties
218 and methods to test CAS on them.
219 * HttpRequest.cs: Added LinkDemand for Minimal. Ensure we return
220 proper values when worker_request is null.
221 * HttpResponse.cs: Added LinkDemand for Minimal. Ensure we return
222 proper values when context or WorkerRequest is null. Added 2.0
223 properties and methods to test CAS on them.
224 * HttpRuntime.cs: Added LinkDemand for Minimal. Added PathDiscovery
225 demands for properties returning directories. Added demand for High
226 level on AppDomainAppId and AppDomainId properties, Low level on
227 IsOnUNCShare, Medium level on ProcessRequest and a demand for
228 UnmanagedCode on UnloadAppDomain method. Constructor also has a
229 UnmanagedCode demand for 1.x.
230 * HttpStaticObjectsCollection.cs: Added LinkDemand for Minimal. Added
231 a UnmanagedCode demand to public ctor. Added internal ctor without the
232 demand. Changed Serialize and Deserialize methods to public for 2.0.
234 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
236 * HttpWorkerRequest.cs: Removed TODO for 2.0 APIs and return the
237 default values for them.
239 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
241 * HttpApplication.cs: : Added LinkDemand and InheritanceDemand (class)
242 for Minimal. Changed AssemblyLocation to a property (so it doesn't
243 require special permission, PathDiscovery) to create an instance.
244 Protected Modules property with a Demand for High level. Added some
245 missing HttpException for null context.
246 * HttpServerUtility.cs: Added LinkDemand for Minimal. Added demands
247 for UnmanagedCode on all CreateObject* methods. Added demand for
248 Medium level on MachineName and ScriptTimeout properties. Added new
249 overloaded Transfer method (2.0) to test CAS on it.
250 * HttpUtility.cs: Added LinkDemand for Minimal. Added [Obsolete] to
251 ctor (2.0). Changed some return values when 'count' is 0. Added
252 ParseQueryString (overload) methods for 2.0 (to enabled CAS testing on
254 * HttpWorkerRequest.cs: Added LinkDemand and InheritanceDemand (class)
255 for Minimal. Added RequestTraceIdentifier and RootWebConfigPath (2.0)
256 properties, GetPreloadedEntityBody, GetPreloadedEntityBodyLength,
257 GetTotalEntityBodyLength and ReadEntityBody (2.0) methods to test CAS
258 on them. Fixed SendResponseFromMemory to ignore IntPtr.Zero (used in
259 tests without failures).
260 * ServerVariablesCollection.cs: Fixed loadServerVariablesCollection
261 when HttpWorkerRequest is null.
262 * TraceContext.cs: Added LinkDemand for Minimal. Fixed default Mode
263 (SortByTime). Added new (2.0) TraceFinished event to test CAS on it.
265 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
267 * HttpBrowserCapabilities.cs: Added LinkDemand and InheritanceDemand
268 (class) for Minimal. Note that current MCS has problem compiling
269 security attributes on partial class (bug #75969).
270 * HttpCachePolicy.cs: Added LinkDemand for Minimal. Added 2.0 methods
271 (stub) to enable CAS tests on them.
272 * HttpCacheVaryByHeaders.cs: Added LinkDemand for Minimal.
273 * HttpCacheVaryByParams.cs: Added LinkDemand for Minimal.
274 * HttpClientCertificate.cs: Added LinkDemand and InheritanceDemand
276 * HttpCookie.cs: Added LinkDemand for Minimal.
277 * HttpCookieCollection.cs: Added LinkDemand for Minimal.
278 * HttpFileCollection.cs: Added LinkDemand for Minimal.
279 * HttpModuleCollection.cs: Added LinkDemand for Minimal.
280 * HttpPostedFile.cs: Added LinkDemand for Minimal.
281 * HttpRequestPriority.cs: Fix enum values.
282 * HttpWriter.cs: Added LinkDemand for Minimal.
284 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
286 * ProcessInfo.cs: Added LinkDemand and InheritanceDemand (class) for
288 * ProcessModelInfo.cs: Added LinkDemand and InheritanceDemand (class)
289 for Minimal. Methods GetCurrentProcessInfo and GetHistory are also
290 protected by Demand for High level.
292 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
294 * HttpCompileException.cs: Added new public ctors and [Serializable]
295 to 2.0. Added new Message property and GetObjectData (protected by a
296 demand for SerializationFormatter) for 2.0. Fixed line-ending.
297 * HttpException.cs: Added LinkDemand and InheritanceDemand (class) for
298 Minimal. Renamed parameters to match documentation.
299 * HttpParseException.cs: Added LinkDemand (class) for Minimal. Added
300 demand for SerializationFormatter on GetObjectData method. Fixed
302 * HttpRequestValidationException.cs: Added new public ctors and
303 [Serializable] to 2.0. Added LinkDemand for Minimal.
304 * HttpUnhandledException.cs: Added new public ctors and [Serializable]
305 to 2.0. Removed unused internal ctor. Added LinkDemand for Minimal.
308 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
310 * HttpResponseSubstitutionCallback.cs: New. 2.0 delegate.
311 * TraceContextEventArgs.cs: New. 2.0 class.
312 * TraceContextEventHandler.cs: New. 2.0 delegate.
314 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
316 * HttpRequest.cs: use GetServerName instead of GetLocalAddress when
319 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
321 * HttpRequest.cs: fix the indexer.
323 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
325 * HttpPostedFile.cs: fixes in Seek and Position.
327 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
329 * HttpRequest.cs: Make sure the MemoryStream created have their
330 contents marked as public - or else you can't call GetBuffer on them!
332 2005-09-08 Miguel de Icaza <miguel@novell.com>
334 * HttpRequest.cs: Patch from Juraj Skripsky <js@hotfeet.ch> that
337 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
339 * HttpPostedFile.cs: Make this class actually work. Every time we read,
340 we have to position the underlying stream.
342 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
344 * HttpRequest.cs: reading multipart/form-data works again.
346 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
347 * HttpRequest.cs: Under TARGET_JVM the input stream must allow GetBuffer.
349 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
350 * HttpApplicationFactory.cs: TARGET_J2EE/JVM fix.
352 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
354 * HttpRequest.cs: correctly detect multipart/form-data.
356 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
358 * HttpApplicationFactory.cs: recycle after invoking session_end.
360 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
362 * HttpRuntime.cs: remove Console.
364 * HttpApplicationFactory.cs: don't hook Session_End, but keep
365 the MethodInfo around for later invocation if needed. Don't call
366 GetMethods() for every HttpApplication (or derived class) instances.
367 Added a method, used by SessionStateModule, that will create use an
368 application without context to invoke Session_End. Keep a pool of
369 applications that are meant to be used by this method only.
371 * HttpApplication.cs: add a SetSession method and do not
372 attach all the events if the application is for Session_End only.
374 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
376 * HttpRuntime.cs: actually unload the domain when requested. Reformatted
377 FinishUnavailable() and removed the 'Location' header form the error.
379 * HttpApplicationFactory.cs: set up the watcher for the bin directory.
380 This also prevents a nullref when global.asax is changed.
382 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
384 * HttpApplication.cs: fixed bug introduced when moving GetHandler call
385 around. Now we get error pages again.
387 2005-09-06 Miguel de Icaza <miguel@novell.com>
389 * HttpApplication.cs: Catch EndRequest errors as well.
391 2005-09-05 Miguel de Icaza <miguel@novell.com>
393 * HttpApplication.cs: Invoke EndRequest handler before OutputPage
394 as FormsAuthentication will issue a Redirect from the EndRequest
397 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
399 * HttpApplication.cs: when writing an error message, catch the possible
402 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
404 * HttpResponseStream.cs: prevent invalid cast exception if the first
405 thing written is a file.
407 2005-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
409 * HttpApplication.cs: fix invalid cast exception (bug #75926).
411 2005-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
413 * HttpApplicationFactory.cs: only trigger the Application_Start event
414 once. It was being invoked more than once when several clients were
415 hitting the server at the same time on startup.
417 2005-09-01 Eyal Alaluf <eyala@mainsoft.com>
419 * HttpContext.cs HttpResponse.cs HttpWorkerRequest.cs HttpRuntime.cs
420 HttpApplicationFactory.cs HttpApplication.cs: TARGET_J2EE/JVM fixes.
421 Mostly workaround limited AppModel in TARGET_J2EE.
423 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
425 * HttpResponse.cs: if the request method is HEAD, that's equivalent to
426 SuppressContent. Added an internal TransmitFile that allows setting the
428 * StaticFileHandler.cs: use the new internal TransmitFile and remove
429 generation of Content-Length header, as now it's computed correctly.
430 * HttpApplication.cs: remove debugging stuff.
431 * HttpResponseStream.cs: suppress_content is checked in HttpResponse.
433 2005-08-31 Miguel de Icaza <miguel@novell.com>
435 Removed debugging info.
437 * HttpApplication.cs: Add support for async handlers.
439 Add extra 2.x methods.
441 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
443 * BrowserCapabilities.cs: removed extra 'using'.
445 * HttpApplication.cs: use just the 'modcoll' to hold the collection of
446 modules instead of having a separate 'modules' one.
448 2005-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
450 * HttpApplication.cs: clone the module collection so that
451 it's not shared between HttpApplications. Call GetHandler() in the
454 2005-08-30 Miguel de Icaza <miguel@novell.com>
456 * HttpApplication.cs: Add the new 2.x method overloads that take a
459 (RunHooks): Pass the extra data instead of null.
461 * HttpCookie.cs (HttpOnly): Add 2.x cookie header.
463 * BrowserCapabilities.cs: Move the core of the capabilities into a
464 separate file. Use partial classes to choose what version to
467 * HttpBrowserCapabilities.cs: Update to move the code elsewhere.
469 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
471 * HttpResponseStream.cs: Fix a bug introduced by last fix (thanks to
474 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
476 * HttpResponseStream.cs: Compilation fixes for TARGET_JVM. TARGET_JVM
477 does not support unsafe code. I localized all unsafe code within Chunk
478 & Block and created a managed version of Chunk.
480 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
481 * HttpApplicationFactory.cs: Compilation fixes for TARGET_J2EE. Under
482 TARGET_J2EE static fields are shared by all app domains. We handle
483 this difference by explicitly getting/setting values from the app
484 domain. Since HttpApplicationFactory has many static fields, I
485 refactored it to have one static instance and moved the static fields
486 into instance fields.
488 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
490 * HttpRequest.cs: Disable use of IntPtrStream for TARGET_JVM
492 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
494 * HttpContext.cs: Compilation fixes for TARGET_J2EE/JVM
496 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
498 * HttpResponse.cs: don't duplicate the 'charset=' and don't send a
499 charset for unknown MIME types.
500 * StaticFileHandler.cs: set the Content-Length header here.
501 * HttpRequest.cs: prevent nullrefs when we have no 'charset='.
503 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
505 * StaticFileHandler.cs: use TransmitFile instead of WriteFile. This way
506 xsp will use sendfile().
508 2005-08-28 Chris Toshok <toshok@ximian.com>
510 * SiteMapNode.cs: fix IHierarchyData.GetParent.
512 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
515 * IntPtrStream.cs: now we only have a read-only MemoryStream or an
516 IntPtrStream. The copy is moved into HttpRequest.
518 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
520 * WebCategoryAttribute.cs: New. Required internal attribute.
521 * WebSysDescriptionAttribute.cs: New. Required internal attribute.
523 2005-08-26 Jackson Harper <jackson@ximian.com>
525 * HttpResponseStream.cs: Use GetBuffer so the memory isn't
528 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
530 * HttpApplication.cs: GetHandler might return null when, for example,
531 a web service fails, but that does not mean that returning a null
532 handler should throw another exception, as the web service code
533 serialized the error as a faultString. So if the handler is null, just
534 don't call ProcessRequest and keep going.
536 2005-08-26 Jackson Harper <jackson@ximian.com>
538 * HttpResponse.cs: Send the cached headers if this is a cached
539 response. Save the headers, date header, and page data. Fix a typo.
540 * HttpResponseStream.cs: Add new accesor to get a byte [] of the
543 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
545 * HttpWorkerRequest.cs: SetEndOfSendNotification is a noop. No matter
546 what callback you use that never gets called. In XSP I actually
547 implement something for this method.
548 * HttpServerUtility.cs: unused variable.
550 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
552 * HttpInputStream.cs: new ctor that takes a byte [].
553 * IntPtrStream.cs: make it work on a byte [] too.
556 (ContentLength): return 0 for negative numbers or error parsing, but
557 keep content_length negative in those cases.
558 (MakeInputStream): when there's no content-length (or it's negative),
559 we still read the request into a MemoryStream. Use
560 IsEntireEntityIsPreloaded() as a fast path.
562 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
564 * HttpClientCertificate.cs: On 1.x the .ctor throws a
565 ArgumentNullException (but 2.0 throws a NRE).
567 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
569 * HttpRequest.cs: HttpMethod deserves its own field. Fix IsLocal.
571 2005-08-25 Chris Toshok <toshok@ximian.com>
573 * HttpApplication.cs (IsReusable): return true.
574 (InitOnce): remove the initialization of handler_factory from
576 (GetHandler) and move it here, so we make sure to load handlers
577 from all needed web.config files.
579 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
581 * HttpServerUtility.cs: use GetHandler().
582 * HttpApplication.cs: remove obsolete method. Now Transfe/Execute work.
584 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
586 * HttpApplication.cs: no need for the local var. here.
588 2005-08-25 Chris Toshok <toshok@ximian.com>
590 * HttpApplication.cs (InitOnce): move the initialization of
591 modules above the call to HttpApplicationFactory.AttachEvents,
592 since that method accesses HttpApplication.Modules. Fixes
594 (IsReusable): mark TODO.
596 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
598 * HttpResponseHeader.cs: removed obsolete class.
599 * HttpResponse.cs: no more 'obsolete' warnings.
601 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
603 * HttpRuntime.cs: implemeted some missing properties.
605 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
607 * HttpResponse.cs: implemented RemoveOutputCacheItem().
609 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
611 * HttpApplication.cs: implemented GetVaryByCustomString().
613 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
615 * HttpRequest.cs: implemented SetHeader (allows adding a header
616 circumventing the read-only protection of the collection) and SetForm,
617 which just assigns a value of the 'form' collection.
618 * HttpServerUtility.cs: NameValueCollection -> WebROCollection.
620 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
623 * HttpRequest.cs: implemented RewritePath and supporting methods.
625 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
627 * HttpRequest.cs: Avoid NRE if work_request if null in the ctor.
628 * HttpResponse.cs: Avoid NRE if work_request if null in the ctor.
630 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
632 * HttpApplication.cs: if there's any exception thrown when getting the
633 handler, don't add an extra error to the context, as we already have
636 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
640 * HttpWorkerRequest.cs:
641 * HttpApplication.cs: added mising attributes and enabled methods
644 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
646 * WebROCollection.cs: a collection that allows setting IsReadOnly.
647 * HttpRequest.cs: implemented MapImageCoordinates(). Use WebROCollection
648 instead of a NameValueCollection in Form, Headers, Params, QueryString.
650 2005-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
652 * HttpInputStream.cs: new copy ctor.
653 * IntPtrStream.cs: getters for base_address and size.
654 * HttpRequest.cs: implemented SaveAs(). Use a wrapper on top of
655 InputStream so that reading POST form or files does not modify the state
656 if InputStream. Don't use uri_builder.Query in QueryStringRaw, as it
659 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
661 * HttpRequest.cs: implemented UserLanguages and reuse code from
664 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
666 * HttpRequest.cs: implemented AcceptTypes.
668 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
670 * HttpRequest.cs: implemented this[] in terms of Params. Don't add the
671 header collection in Params.
673 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
675 * HttpRequest.cs: fix Files property.
676 * HttpApplication.cs: invoke the default authentication event after all
677 the other auth. modules.
679 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
681 * ServerVariablesCollection.cs: mark the collection as read-only except
682 when we fill it. Add the HTTP_blah key/value pairs too.
684 2005-08-18 Chris Toshok <toshok@ximian.com>
686 * HttpRequest.cs (get_Params): implement.
688 2005-08-17 Chris Toshok <toshok@ximian.com>
690 * HttpResponse.cs: HttpResponse's Cookie's collection acts
691 differently than HttpRequests in that it never returns null from
692 the "this [string]" accessor.
694 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
696 * HttpRequest.cs: check length 0 case when reading a POST.
698 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
700 * HttpContext.cs: added security attributes for User and
701 SkipAuthorization properties.
702 * HttpApplicationFactory.cs: AttachEvents is now called form the
703 application .ctor. Recycle instead of dispose.
704 * HttpApplication.cs: attach events to the newly created application.
706 2005-08-15 Jackson Harper <jackson@ximian.com>
708 * ApplicationShutdownReason.cs: make build
710 2005-08-15 Miguel de Icaza <miguel@novell.com>
712 * HttpApplication.cs: Update comments
714 * HttpPostedFile.cs: Use a substream to read from the uploaded
717 * HttpRequest.cs: use new code to read the uploaded files.
719 2005-08-12 Miguel de Icaza <miguel@novell.com>
721 2.x API fixage and small additions:
723 * HttpResponse.cs: Make constructor internal.
725 * HttpRequest.cs (IsLocal): Expose if NET_2.x
727 * HttpContext.cs: Remove internal routine.
729 * HttpApplication.cs: Add 2.x events.
731 * HttpRequest.cs: Another iFolder issue: I was not setting up the
734 Fixes to get iFolder to work:
736 * HttpApplicationFactory.cs: Set the context when we are initting
739 * HttpApplication.cs (SetContext): helper routine.
741 * HttpResponse.cs: Implement the various cache operations:n
742 Expires, ExpiresAbsolute, CacheControl.
744 Actually produce the Cache-Control header, the "Cache" property
745 takes precedence over the compatibility settings (Expires,
746 ExpiresAbsolutely and CacheControl).
748 * HttpCachePolicy.cs: Fix style.
750 Fix the generation of the headers, use lower-case values, do not
751 add the max-value if the value is zero.
753 Allow for all possible values in SetCacheability.
755 * HttpRuntime.cs (ClrInstallDirectory): Implement.
757 * HttpResponseStream.cs: Remove debugging stuff.
759 2005-08-11 Miguel de Icaza <miguel@novell.com>
761 Big chunked handling rewrite, and integration of Ben's unmanaged
764 * HttpWriter.cs: Delegate chunked encoding writing to the
767 * HttpResponse.cs: Rework the chunked encoding system, centralize
770 * HttpResponseStream.cs: Deploy Ben's bucket-base unmanaged
773 Changed the way that we handle chunked encoding, centralize it
776 Remove a lot of manual handling of buffering turned off, and
777 instead delegate it all to Flush, fixes several issues with the
780 * HttpWorkerRequest.cs (SendResponseFromMemory (IntPtr, int)):
781 Provide a default implementation since currently XSP does not have
782 this method implemented.
784 2005-08-11 Sebastien Pouliot <sebastien@ximian.com>
786 * HttpClientCertificate.cs: Culture insensitive int parsing. Fixed
789 2005-08-10 Miguel de Icaza <miguel@novell.com>
791 * ServerVariablesCollection.cs: For Ben. Implement the header
792 fetching here, do not implement it in HttpRequest.cs.
794 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
796 * HttpClientCertificate.cs: Changed IsPresent logic so that new unit
797 tests will work as expected.
799 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
801 * HttpClientCertificate.cs: Implemented, except for validation. Note
802 that the HttpWorkerRequest derived classes must be updated to supply
803 the required informations.
804 * HttpRequest.cs: Create an HttpClientCertificate on first call to
807 2005-08-09 Miguel de Icaza <miguel@novell.com>
809 * HttpRuntime.cs (AspInstallDirectory): Implement.
811 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
813 * HttpClientCertificate.cs: New. Stub. It won't be fun to test.
815 2005-08-04 Ben Maurer <bmaurer@ximian.com>
817 * HttpContext.cs: Kill a NIE.
819 2005-08-04 Miguel de Icaza <miguel@novell.com>
821 * HttpApplicationFactory.cs: Change "Start" event like the "End"
822 event, and only do this once, when we init the type.
824 Fire the "Application_Start" event after we create the type.
826 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
828 * HttpApplication.cs: catch a ThreadAbort (coming from Response.End)
831 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
833 * HttpResponse.cs: setting the Status property resets the
834 StatusDescription (see the tests) and the default value for the
835 description is the one provided by GetStatusDescription() in
838 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
840 * HttpRequest.cs: s/boundry/boundary/ and fix typo in array creation.
842 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
844 * HttpApplication.cs: add call to EndOfRequest when everything is said
847 2005-08-02 Miguel de Icaza <miguel@novell.com>
849 * HttpResponse.cs: Stub for TransmitFile.
851 * HttpRequest.cs (IsAuthenticated): Implement.
853 2005-08-01 Miguel de Icaza <miguel@novell.com>
855 * HttpRequest.cs: Cope with implementations of HttpWorkerRequest
856 (unpatched xsp) that do not send back the PreloadedEntityBody.
858 * HttpApplication.cs: keep track of the factory.
859 (Dispose): Only dispose once, clean up other variables, release
860 the ManualResetEvent.
861 Release the handler to the factory.
863 * HttpApplicationFactory.cs: Implement a stack to reuse the
866 * HttpRequest.cs: On uploads, if the ContentLenght is zero, throw
869 * HttpRuntime.cs: Recycle the application after using it.
871 * HttpPostedFile.cs: Implement SaveAs.
873 * HttpContext.cs: Return the "Server" property.
875 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
877 * HttpServerUtility.cs: implemented missing bits.
879 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
881 * HttpRequest.cs: query string was getting a '?' as the start of the
882 first variable name. This makes the asmx help page work again.
884 2005-08-01 Miguel de Icaza <miguel@novell.com>
886 * HttpRequest.cs (Cookies, Forms): Add validation.
887 (Forms): Add application/x-www-form-urlencoded parsing and
888 multipart/form-data parsing.
890 (HttpMultiPart): Implement new class to load multi-part data from
891 a stream since there is no longer a byte [] that holds the data
892 (currently we have an unmanaged IntPtr buffer wrapped as a
893 stream). Also the 2.x framework will add support for large
894 uploads which are sent directly to disk, which will require the
895 FileStream interface.
897 (Path, PathInfo): Fill a couple more methods to avoid crashes.
899 * HttpContext.cs: Fill another one to get web services summary
900 page painting. The page does not work though.
902 * HttpApplication.cs: Rework the pipeline to not depend on
903 `finally', as `finally' would not be invoked if we choose not to
904 call the pipeline again (which happens if the `stop' variable is
907 Instead force the pipeline to go to the shutdown, and yield from
908 there after all the release-state callbacks have been invoked.
910 2005-07-31 Miguel de Icaza <miguel@novell.com>
912 * HttpApplication.cs: Remove debugging messages since the compiler
915 You must use at least mcs from revision 47879 for the application
918 2005-07-30 Miguel de Icaza <miguel@novell.com>
920 * HttpContext.cs: Error handling methods.
922 * HttpResponse.cs: Trigger the last event.
924 * HttpRuntime.cs: Add queueing of the next request.
926 * HttpApplication.cs: Deploy the new yield-based application
927 pipeline, add error handling to the pipeline.
929 * HttpApplication.cs (AsyncRequestState): Just use the done event
932 2005-07-29 Miguel de Icaza <miguel@novell.com>
934 * HttpResponseStream.cs, HttpRequest.cs: Fix bugs found by nunit.
936 * HttpApplication.cs: Fix a race condition.
938 * HttpResponseStream.cs: Fix bug, send the size of the buffer that
939 we have so far instead of the internal size of the buffer. This
940 will need work later to ensure we enforce the Content-Length
941 maximum output size if set.
943 * ServerVariablesCollection.cs: This class now inherits from
944 NameValueCollection, we should probably review what the middle
945 class did, there are no dependencies on it.
947 I need to write tests to investigate if something is missing or
948 has changed in this implementation.
950 2005-07-27 Miguel de Icaza <miguel@novell.com>
952 * HttpRequest.cs: No happy replies here, send a 411.
954 2005-07-27 Chris Toshok <toshok@ximian.com>
956 * HttpResponseHeader.cs: remove spew.
958 2005-07-27 Chris Toshok <toshok@ximian.com>
960 * HttpResponseHeader.cs (HttpResponseHandler..ctor): use
961 HttpWorkerRequest.GetKnownResponseHeaderName instead of
962 GetKnownRequestHeaderName. Fixes Response.Redirect until miguel's
963 new HttpReponse is online.
965 2005-07-26 Miguel de Icaza <miguel@novell.com>
967 * HttpResponse.cs: use_chunked is now a byte-array, if not null,
968 we use it to hold the size of the chunked so we do not have to
969 allocate many of these.
970 (SendSize): Helper routine to send the chunked headers.
971 (BinaryWrite): First user of the chunked writer.
973 * HttpApplication.cs: Do not crash if they request a Server
974 instance, but throw a NotImplementedException.
976 * HttpRequest.cs: fix a few problems exposed by the regression
979 * HttpRequest.cs (Cookies): use Chris' new constructor to get the
982 : The big Uri rework: instead of using QueryString
983 as the population mechanism, populate an UriBuilder from the
984 various HttpWorkerRequest methods.
986 * HttpWorkerRequest.cs (GetProtocol): Implement in terms of
989 * HttpResponse.cs: Pointed by Ben, Write (null) is a nop instead
992 * HttpContext.cs: Add a couple of properties to help the 2.x
995 * HttpResponse.cs: Make ContentLength a long, add back support for
996 session's app_path_mod.
997 (ApplyAppPathmodifier): put back.
998 (End): Pass a flag to abort so we can tell the exceptions appart
1000 (WriteHeaders): Send the HTTP status.
1001 (Redirect): Implement.
1002 (Write): Use the Output property to load writer when needed.
1004 * HttpRequest.cs (ctor): Temporary use of InitFromWR, will fix
1006 (MakeInputStream): check content-length size, use routines to load
1007 the preloaded data, handle incomplete transfers.
1008 (Query): Do not insert null keys into the collection.
1010 (UrlReferer): implement.
1012 * HttpApplication.cs (RunHooks): Catch Thread.Abort, and call
1013 Thread.ResetAbort after each step.
1015 Ensure that ReleaseState is called if we ever succeed in acquiring
1016 the state even if we have stopped the request pipeline.
1018 Report file not found, directory not found.
1020 2005-07-25 Miguel de Icaza <miguel@novell.com>
1022 * HttpCookieCollection.cs: Add expiration of the cookie.
1024 * HttpRequest.cs: Add check for ContentLength, use
1025 GetPreloadedEntityBody, correct number of bytes uploaded.
1027 2005-07-21 Miguel de Icaza <miguel@novell.com>
1029 * HttpResponseHeader.cs: Our implementation of HttpResponse only
1030 uses the text headers, does not use any constants as XSP would go
1031 through a slower code path anyways.
1033 2005-07-21 Chris Toshok <toshok@ximian.com>
1035 * HttpBrowserCapabilities.cs: enable support for the W3CDomVersion
1036 and EcmaScriptVersion properties.
1038 2005-07-21 Chris Toshok <toshok@ximian.com>
1040 * HttpResponseHeader.cs: hi, i'm stupid and missed String.Replace.
1042 2005-07-21 Chris Toshok <toshok@ximian.com>
1044 * HttpResponseHeader.cs: url encode just \r and \n if they're
1045 present in the value.
1047 2005-07-20 Chris Toshok <toshok@ximian.com>
1049 * HttpPostedFile.cs: add missing ContentLength property.
1051 2005-07-20 Chris Toshok <toshok@ximian.com>
1053 * HttpCookieCollection.cs: add a new ctor that takes a string (the
1054 contents of the Cookies: header).
1056 2005-07-20 Chris Toshok <toshok@ximian.com>
1058 * HttpCookieCollection.cs: add another ctor (internal, but not
1059 obsolete, so we aren't passing a stupid HttpResponse in in order
1060 to change the behavior of the collection.)
1062 * HttpCookie.cs: init this.values in the internal ctor.
1064 2005-07-20 Chris Toshok <toshok@ximian.com>
1066 * HttpCookieCollection.cs: use "auto-fill mode" when we're dealing
1067 with an HttpResponse's cookie collection. That is, create the
1068 cookie if the consumer looks it up.
1070 2005-07-20 Miguel de Icaza <miguel@novell.com>
1072 * HttpApplication.cs: Ongoing work on pipeline, I will need to
1075 2005-07-19 Miguel de Icaza <miguel@novell.com>
1077 * HttpContext.cs (GetService): Implement. Return all of the
1078 properties that we have access to. Make HttpWorkerRequest the
1079 first match as this is the only likely reason people need to use
1082 * IntPtrStream.cs: Bring from corlib.
1084 * MultiPartContentParser.cs: use a MemoryStream as HttpInputStream
1085 will now be using IntPtrStream.
1087 * HttpRequest.cs (MakeInputStream): move code that loads the
1089 (CloseInputStream): Helper method that we will call later to
1090 ensure that we dispose properly the malloced() block.
1091 (BinaryRead): Implemented.
1093 * HttpInputStream.cs: Rewrite to be a descendant of
1096 2005-07-18 Miguel de Icaza <miguel@novell.com>
1098 * HttpApplication.cs (Modules): Add modules support and
1101 2005-07-18 Chris Toshok <toshok@ximian.com>
1103 * HttpResponseHeader.cs: initial implementation.
1105 2005-07-18 Chris Toshok <toshok@ximian.com>
1107 * HttpModuleCollection.cs (HttpModuleCollection.GetKey): add
1110 * HttpFileCollection.cs: initial implementation.
1112 2005-07-18 Chris Toshok <toshok@ximian.com>
1114 * HttpModuleCollection.cs (HttpModuleCollection.CopyTo): implement
1117 2005-07-18 Chris Toshok <toshok@ximian.com>
1119 * HttpModuleCollection.cs: initial implementation.
1121 2005-07-18 Chris Toshok <toshok@ximian.com>
1123 * HttpCacheVaryByHeaders.cs: only add the header if it's not
1124 already in the hash.
1126 * HttpCacheVaryByParams.cs: only add the param if it's not already
1129 2005-07-18 Chris Toshok <toshok@ximian.com>
1131 * HttpCookie.cs (HttpCookie+CookieNVC.Set): new override to fix an
1134 2005-07-17 Miguel de Icaza <miguel@novell.com>
1136 * HttpRequest.cs (Headers, InputStream): implemented two more
1139 * HttpInputStream.cs: All we need is a MemoryStream with writable
1142 * HttpPostedFile.cs: Use a Stream.
1144 2005-07-16 Chris Toshok <toshok@ximian.com>
1146 * HttpCacheVaryByHeaders.cs: make sure we set vary_by_unspecified
1147 = false in the custom setter.
1149 2005-07-16 Chris Toshok <toshok@ximian.com>
1151 * HttpCacheVaryByParams.cs: initial implementation.
1153 2005-07-16 Chris Toshok <toshok@ximian.com>
1155 * HttpCacheVaryByHeaders.cs: initial implementation.
1157 2005-07-15 Chris Toshok <toshok@ximian.com>
1159 * HttpCookie.cs: one more time.
1161 2005-07-15 Chris Toshok <toshok@ximian.com>
1163 * HttpCookie.cs (HttpCookie.GetCookieHeader): use
1166 2005-07-15 Chris Toshok <toshok@ximian.com>
1168 * HttpCookie.cs (HttpCookie.GetCookieHeader): implement to fix
1171 2005-07-15 Chris Toshok <toshok@ximian.com>
1173 * HttpCookieCollection.cs: initial implementation (with a couple
1174 of labeled inefficiencies.)
1176 2005-07-15 Chris Toshok <toshok@ximian.com>
1178 * HttpCookie.cs (HttpCookie.get_HasKeys): use values.HasKeys()
1179 instead of trying to be smart about it ourselves.
1181 2005-07-15 Chris Toshok <toshok@ximian.com>
1183 * HttpCookie.cs: initial implementation. we fail one unit test,
1184 but it might be due to a bug in NameValueCollection.
1186 2005-07-15 Miguel de Icaza <miguel@novell.com>
1190 2005-07-14 Miguel de Icaza <miguel@novell.com>
1192 * HttpRuntime.cs: Return a few of the values from the AppDomain
1195 Put the application shutdown process.
1197 * HttpApplicationFactory.cs (AddEvent): Fixed bug when more than
1200 (FireEvent): Do not ignore errors.
1202 * HttpContext.cs (GetAppConfig, GetConfig): First success, use
1203 ConfigurationSettings.GetConfig to get the value that QueueManager
1206 2005-07-14 Dick Porter <dick@ximian.com>
1208 * HttpPostedFile.cs: New basic implementation; needs someone to
1209 figure out what a HttpRequestStream does
1211 2005-07-13 Miguel de Icaza <miguel@novell.com>
1213 * HttpRequest.cs: More work on this file
1215 * HttpRequest.cs, HttpApplication.cs, HttpContext.cs,
1216 HttpRuntime.cs: New from scratch implementation.
1218 2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
1220 * SiteMap.cs: Read provider info from the configuration files.
1222 2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1224 * HttpResponseHeader.cs: URL encode \r and \n in header values. Fixes
1227 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1229 * HttpUtility.cs: fix another stupid buglet in htmldecode.
1231 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1235 * HttpRequest.cs: use StrUtils (invariant culture).
1237 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1239 * HttpRequest.cs: use StartsWith when looking for 'multipart/form-data'.
1240 File uploading was broken since a few commits ago.
1242 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1244 * HttpResponse.cs: ensure that the last chunk ('0\r\n\r\n') is sent
1245 even if response.Close is called before a final flush. MS/IIS fails to
1248 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1250 * HttpRequest.cs: don't print anything for unknown content types in
1251 ParseFormData. Use lowercase compare.
1253 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1255 * HttpResponse.cs: invariant love.
1257 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1259 * HttpResponse.cs: avoid 1 string concat.
1260 * HttpRequest.cs: fix BinaryRead. It was totally wrong.
1262 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1264 * HttpUtility.cs: don't append an extra 0 when no digits seen. Fixes
1267 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1269 * HttpUtility.cs: the lower limit for using &#xx; encoding is 160, not
1270 128. Reset number back to 0 after use. Fixes bug #75365.
1272 2005-06-19 Svetlana Zholkovsky <svetlanaz-at-mainsoft.com>
1273 * In following classes added TARGET_J2EE or/and TARGET_JVM
1278 - CapabilitiesLoader.cs
1279 - HttpApplication.cs
1280 - HttpApplicationFactory.cs
1284 * Added Mainsoft's specific files :
1285 - GhHttpAsyncResult.jvm.cs
1287 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1289 * HttpRequest.cs: avoid one intermediate buffer when reading the request
1290 body and fail for over limit content length when the content type is
1291 not handled as form or multipart data.
1293 2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1295 * HttpResponse.cs: fix the check in Close() so that CloseConnection is
1296 called even if there has been no final Flush. Fixes bug #75176.
1298 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1300 * HttpParseException.cs:
1302 * HttpApplication.cs: updates for 1.1 service pack.
1304 2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1306 * HttpUtility.cs: fix InvalidCastException.
1308 2005-06-05 Kornél Pál <kornelpal@hotmail.com>
1310 * HttpWriter.cs: Fixed: _OutputFilter.Close () was called twice.
1312 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1314 * HttpUtility.cs: modified HtmlDecode so that it does not need to call
1315 Int32.Parse and handles improper &# sequences. Fixes bug #74907.
1317 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
1319 * SiteMapNodeCollection.cs: Implemented missing methods. The collection
1320 does not inherit from CollectionBase any more.
1321 * SiteMapNode.cs: Track api changes.
1322 * SiteMapProvider.cs: Moved several methods to the new
1323 StaticSiteMapProvider class. Other fixes.
1324 * XmlSiteMapProvider.cs: Watch changes in the xml files. Other fixes.
1325 * SiteMapProviderCollection.cs: Minor fixes.
1326 * SiteMap.cs: Added missing event. Avoid double check lock.
1327 * StaticSiteMapProvider.cs: New class that implements some of the
1328 funtionality of SiteMapProvider.
1330 2005-05-25 Ben Maurer <bmaurer@ximian.com>
1332 * MimeTypes.cs: Remove extra spaces, they were typos. Fixes 75049.
1334 2005-05-13 Atsushi Enomoto <atsishi@ximian.com>
1336 * HttpUtility.cs : UrlDecodeToBytes() incorrectly decoded escaped
1337 characters. Patch by Kazuki Oikawa.
1339 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1341 * HttpRuntime.cs: PlatformID.Unix.
1343 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1345 * HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
1346 Clear the _Headers array instead of creating a new ArrayList in
1349 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1351 * HttpResponse.cs: we had 2 variables to track client connection status.
1352 Use only one. Increase the buffer size to 28KB when writing from a file.
1354 * StaticFileHandler.cs: set the Content-Type before writing the file.
1355 This allows flushing before all the content is written.
1357 * HttpApplication.cs: use the variable instead of the property when
1358 setting the Principal for the current process.
1360 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1362 * ReusableMemoryStream.cs:
1363 * HttpWriter.cs: keep a pool of buffers to avoid allocations.
1365 2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1367 * HttpResponse.cs: no need to save/restore the thread culture when
1368 getting the Date header. According to Ben's profiling, this is a big
1369 deal in performance.
1371 * HttpRuntime.cs: ignore exceptions that might be thrown when unloading
1374 2005-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1376 * HttpApplicationFactory.cs: ignore any exception thrown when invoking
1377 an application event.
1379 2005-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1381 * HttpBrowserCapabilities.cs: fix Win32 property.
1383 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1385 * HttpResponse.cs: only add the charset when explicitly set or for
1386 well-known content types.
1388 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1390 * HttpCachePolicy.cs:
1391 * HttpAsyncResult.cs:
1392 * HttpClientCertificate.cs:
1395 * HttpCacheVaryByHeaders.cs:
1396 * HttpBrowserCapabilities.cs:
1398 * HttpCacheVaryByParams.cs: no more warnings.
1400 * QueueManager.cs: check for local connections with minLocalFreeThreads.
1402 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1404 * ServerVariablesCollection.cs: shuffled variables, added missing ones
1405 and call a method in HttpRequest to set the HTTP_ variables.
1407 * HttpRequest.cs: new method to add HTTP_ variables to a collection.
1409 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1411 * HttpRequest.cs: GetAllHeaders was returning the value twice instead
1412 of 'name: value'. When HTTP_ is requested on the output, don't include
1415 2005-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1417 * HttpCookieCollection.cs: when adding more than one cookie with the
1418 same name, the last one is the winner.
1420 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1422 * HttpRequest.cs: correctly store the value cookies in Params. Fixes
1425 2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1427 * HttpRequest.cs: Path and FilePath also change when RewritePath is
1428 called. Fixes bug #73055.
1430 2005-02-23 Sebastien Pouliot <sebastien@ximian.com>
1432 * HttpRequest.cs: Make sure that any access after a ValidateInput
1433 throws an exception if the data isn't safe.
1435 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1437 * CapabilitiesLoader.cs: fix the path, as machine.config is now in a
1438 x.x/ directory below $PREFIX/etc/mono.
1440 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1442 * HttpRequest.cs: fail on unicode full-width '<' and '>' too. Fixes
1443 a security report (http://secunia.com/advisories/14325) that wan't
1444 reported to us before public disclosure.
1446 2005-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1448 * HttpResponse.cs: send the calculated content length even when it's 0.
1451 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
1453 * HttpContext.cs: Added internal property to keep a reference to
1454 the last accessed page. Page uses this to implement PreviousPage.
1456 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
1458 * ProcessModelInfo.cs: Fixed warning.
1460 2005-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1462 * TraceContext.cs: writing a message without any other argument is not
1463 a warniing. Fixes bug #72017.
1465 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1467 * HttpApplication.cs: if there are no more handlers, finish the
1468 request and ensure we call Complete on it. Now FreeTextBox 3.0 works.
1470 2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1472 * HttpRequest.cs: honor the maxRequestSize limit from machine.config.
1474 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1476 * HttpApplication.cs: reread application CultureInfo as web.config
1477 might have changed. Fixes bug #62539.
1479 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1481 * HttpResponse.cs: fixed ApplyAppPathModifier to insert the session ID.
1483 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1485 * HttpApplicationFactory.cs: monitor changes in global.asax and bin
1486 directory and shutdown the application when that happens. Fixes bug
1489 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1491 * ReusableMemoryStream.cs: copied from System.IO.MemoryStream and
1492 slightly modified to allow expanding the buffer for cases on which the
1493 regular MemoryStream don't allow it.
1495 * HttpWriter.cs: use the new ReusableMemoryStream and fix bug #59841.
1496 Otherwise we would have to allocate a new MemoryStream...
1498 2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1500 * HttpApplication.cs: Create() is now GetInstance().
1502 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
1504 * SiteMapNodeCollection.cs: Added missing properties.
1505 * HttpParseException.cs: Added 2.0 methods and properties.
1506 * SiteMapNode.cs: Added missing methods and properties.
1507 * SiteMapProvider.cs, XmlSiteMapProvider.cs,
1508 SiteMapProviderCollection.cs: IProvider does not exist any
1509 more, it is now ProviderBase.
1510 * ISiteMapProvider.cs: Deleted.
1511 * ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
1513 * SiteMap.cs: Minor fixes.
1515 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
1517 * SiteMapProviderCollection.cs: Fixed warning.
1518 * HttpApplication.cs: Added new 2.0 events.
1520 2004-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1522 * HttpResponse.cs: added internl SetHeadersSent.
1523 * HttpRuntime.cs: don't throw the 'headers already sent' exception
1524 if we're sending a runtime error.
1526 2004-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1528 * HttpApplication.cs: undo the TimeoutManager.(Add|Remove) shuffling.
1529 It causes troubles under heavy load.
1531 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1533 * SiteMap.cs: don't lock on Type.
1534 * CapabilitiesLoader.cs: avoid 2 locks when loading data.
1536 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1538 * HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
1539 presence of rewriting.
1541 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1543 * HttpApplication.cs: don't hang if a sync step is aborted. Fixes the
1544 system.web portion of bug #68270.
1546 2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1548 * TraceContext.cs: don't cast to Page is the handler it's
1551 2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1553 * HttpRequest.cs: CurrentExecutionFilePath is the one that
1554 changes when Transfer or Execute are used, not FilePath.
1556 * HttpServerUtility.cs: moved form saving/restoring from
1557 Transfer to Execute, as it's needed there too. the query string is
1558 correctly set now. Fixes bug #67388.
1560 * HttpContext.cs: use SetCurrentExePath instead of SetFilePath.
1562 2004-10-03 Ben Maurer <bmaurer@ximian.com>
1564 * HttpResponse.cs: use UtcNow
1566 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1568 * HttpResponse.cs: SuppressContent does not throw and clears all the
1569 buffered output. Fixes bug #67213.
1571 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1573 * HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.
1575 2004-09-29 Ben Maurer <bmaurer@ximian.com>
1577 * HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.
1579 2004-09-25 Ben Maurer <bmaurer@ximian.com>
1581 * HttpApplication.cs: Make sure requests are removed from
1582 the timeout manager. Fixes a major leak. #66751.
1584 2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1586 * HttpApplicationFactory.cs:
1587 * HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
1590 2004-09-12 Ben Maurer <bmaurer@ximian.com>
1592 * HttpContext.cs: use CallContext. It is a little bit faster.
1594 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1596 * HttpStaticObjectsCollection.cs: don't share static session objects
1597 declared in the application file across the application, but on a
1598 per-session basis. Fixes bug #65446.
1600 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1602 * HttpServerUtility.cs: in Transfer(path), don't keep form data if
1603 the transfer is done from inside a page that received a postback.
1606 2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1608 * HttpValueCollection.cs: fixed signature of ToString (). Closes bug
1611 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
1613 * HttpWriter.cs (.ctor): Dont create teh StreamWriter twice
1614 (Clear): Don't recreate the MemoryStream and StreamWriter
1616 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1618 * HttpApplication.cs: only add/remove to/from the timeout
1619 manager when we're in a interruptible step.
1621 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1623 * TraceContext.cs: when IsEnabled has not been set, return the value
1624 from the TraceManager. Fixes bug #63469.
1626 2004-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1628 * HttpRuntime.cs: initialize the response writer when finishing a
1629 request because it cannot be queued. Under heavy load we made new
1630 requests be processed before the ones that might be queued. This is
1633 * QueueManager.cs: instead of queueing/dequeuing separately, we now
1634 have a single method that does everything needed to decide which one
1635 will be the next request processed.
1637 2004-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1639 * HttpRuntime.cs: removed initializations to null in .cctor. Prevent
1640 other requests from avoiding the lock if they are received before the
1641 configuration system is inited. Ensure that the queue manager is not
1642 null before using it (it can be null while the first request is being
1645 2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1647 * HttpServerUtility.cs: ensure we have a full virtual path for the
1648 request being executed.
1650 2004-08-02 Duncan Mak <duncan@ximian.com>
1652 * ApplicationShutdownReason.cs: Fixed typos.
1654 * HttpCookieMode.cs:
1655 * HttpDataTransferMode.cs:
1656 * HttpRequestPriority.cs: Added [Serializable] attribute.
1658 2004-08-02 Duncan Mak <duncan@ximian.com>
1660 * ApplicationShutdownReason.cs:
1661 * HttpCookieMode.cs:
1662 * HttpDataTransferMode.cs:
1663 * HttpRequestPriority.cs: Added 2.0 enumerations.
1665 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1667 * HttpApplication.cs: the file not found might be a dependency.
1669 2004-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1671 * HttpCookie.cs: use invariant when formatting expires date. Fixes bug
1674 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1676 * HttpApplication.cs: don't keep the session around if we got it from
1677 the context. Fixes bug #61232.
1679 2004-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1681 * HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
1684 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1686 * TraceContext.cs: added internal HaveTrace property whose
1687 value is true when the page has a Trace attribute.
1689 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1691 * TraceData.cs: fixed <br> output. Closes bug #60181.
1693 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1695 * HttpUtility.cs: check for control characters in the string to encode
1696 or decode and return the same string if there are none.
1698 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1700 * HttpApplication.cs: change/restore the IPrincipal in their own methods
1701 and make them internal.
1703 2004-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1705 * HttpContext.cs: reverting Pedro's patch and sending mail with test
1708 2004-06-09 Pedro Martnez Juli <yoros@wanadoo.es>
1710 * HttpContext: User property returns its own "user" value because
1711 the context can walk through different Threads. When "User" property
1712 is changed, change "Thread.CurrentPrincipal" too.
1714 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1716 * HttpRequest.cs: removed extra ^Ms and fixed style of last patch.
1718 2004-06-08 Alon Gazit <along@mainsoft.com>
1720 * HttpRequest.cs: Add a patch for HttpRequest.ServerVariables.
1722 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
1724 * HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
1725 Fix (at least partially) #59683.
1727 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1729 * HttpRequest.cs: reverting patch from Alon Gazit. Uses the above file
1730 that doesn't compile.
1732 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1734 * TraceData.cs: fixes nullref in an application that relies on
1735 r ["Message"] not being null. Closes bug #59679.
1737 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1739 * HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.
1741 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1743 * HttpRuntime.cs: implemented a 5 simple properties that were TODOs.
1745 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1747 * HttpBrowserCapabilities.cs: implemented ClrVersion and GetClrVersions.
1748 * HttpException.cs: removed MonoTODO.
1750 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1752 * TraceContext.cs: don't check if HttpRuntime.TraceManager
1753 is enabled when writing.
1755 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1757 * HttpRequest.cs: added ClientTarget internal property.
1759 2004-06-03 Lluis Sanchez Gual <lluis@ximian.com>
1761 * HttpApplication.cs: Clear the http handler list after releasing the
1764 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1766 * TraceData.cs: html-encode the messages written to the trace. Fixes
1769 2004-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1771 * HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
1774 2004-05-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1776 * HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
1777 when SetFilePath is called. This way the cached values are reset and
1778 get the right value in case someone (namely SessionStateModule +
1779 cookieless session) changes the FilePath after the property cached its
1780 value. Fixes bug #59364.
1782 2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>
1784 * HttpApplicationFactory.cs: Added SignalError (still todo)
1786 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1788 * HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
1789 chunked encoding disabled. Fixed chunked suffix and end. Send the
1790 'lastchunk' marked when in the final Flush even if the content length
1791 is 0. This makes mod-mono-server work fine with chunked encoding.
1793 * HttpRuntime.cs: Set the _firstRequest* variables to true
1794 earlier. TraceContext don't take any parameter now.
1796 * TraceManager.cs: don't need a context. Use GetAppConfig.
1798 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1800 * HttpApplication.cs: set culture/uiculture from configuration and
1801 restore it after each step. Fixes bug #52851.
1803 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1805 * HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
1806 entities hashtable creation until it's really needed.
1808 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1810 * HttpApplicationFactory.cs: if no module matches the name found for a
1811 possible event, ignore it. Fixes bug #58542.
1813 2004-05-16 Patrik Torstensson <totte@hiddenpeaks.com>
1815 * HttpRuntime (Init): Removed old todo
1816 * HttApplication : Implemented IHttpHandlerFactory recycling
1818 2004-04-28 Patrik Torstensson
1820 * HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
1823 2004-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1825 * HttpUtility.cs: return null in HtmlDecode for null input instead of
1826 throwing an exception. Patch by Jan Jaros (bug #57083).
1828 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
1830 * TimeoutManager.cs: Swap the order of initialization of contexts
1831 and the Timer, to avoid race condition of CheckTimeouts being called
1832 before contexts gets initialized.
1834 2004-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1836 * HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
1837 Now the posted file content does not have the boundaries and headers
1840 2004-03-25 Alon Gazit <along@mainsoft.com>
1842 * HttpRequest.cs: fix ValidateCookieCollection() to prevent
1843 InvalidCastException.
1845 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1847 * HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.
1849 2004-03-01 Larry Ewing <lewing@ximian.com>
1851 * HttpUtility.cs: fix UrlEncodeToBytes count check.
1853 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1855 * HttpServerUtility.cs:
1856 * HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
1859 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1861 * HttpUtility.cs: fixed length check. Closes bug #54201.
1862 Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
1865 2004-02-11 Jackson Harper <jackson@ximian.com>
1867 * TraceData.cs: Use ToString for cookie/header/var name values so
1868 null is handled properly.
1870 2004-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1872 * HttpApplication.cs: ApplicationState is inited by the factory so,
1873 return that value in the property. when we use the context Session,
1874 cache it in the instance field.
1876 * HttpApplicationFactory.cs: fixed target Type for the event when
1877 hooking application and module events. Initialize application
1878 and session scope objects. Fixes non-aplication events hook up.
1880 * HttpStaticObjectsCollection.cs: added StaticItem and delay the
1881 creation of the objects until they are requested.
1883 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1885 * HttpApplicationFactory.cs: fixlet for session events hook.
1887 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1889 * HttpApplicationFactory.cs: attach all events from Type and BaseType
1890 at the same time. Fixes bug #53454.
1892 2004-01-27 Jackson Harper <jackson@ximian.com>
1894 * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
1895 null now, dont hadd the header if it does.
1896 * HttpCacheVaryByParams.cs: Return null if there are no items.
1898 2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1900 * HttpCachePolicy.cs: it's not public.
1901 * HttpRuntime.cs: wait for requests before disposing the queue.
1903 2004-01-15 Jackson Harper <jackson@ximian.com>
1905 * HttpCachePolicy.cs: Fix typo causing varyby params headers to be
1906 created when they shouldn't be.
1908 2004-01-14 Jackson Harper <jackson@ximian.com>
1910 * TraceData.cs: Fix some typos in the output text. Fix control
1911 position when adding controls recursively.
1913 2004-01-14 Jackson Harper <jackson@ximian.com>
1915 * HttpCachePolicy.cs: Expose duration and sliding properties.
1917 2004-01-14 Jackson Harper <jackson@ximian.com>
1919 * HttpCachePolicy.cs: Add an event that is fired when the
1920 cacheability is updated. The response uses this to determine
1921 whether or not it needs to cache itself.
1922 * HttpResponse.cs: When the cacheability is updated either create
1923 or dispose of the cached raw response based on whether or not we
1924 wil need it. This allows output caching to be controlled
1927 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1929 * HttpContext.cs: add setter for ConfigTimeout.
1930 * HttpException.cs: added Description property and HTML encode some
1933 * HttpRequest.cs: support request validation.
1935 * HttpRequestValidationException.cs: added message and description.
1937 * HttpServerUtility.cs: implemented ScriptTimeout.
1939 2004-01-11 Jackson Harper <jackson@ximian.com>
1941 * TraceManager.cs: Dont crash if there is no trace config element.
1943 2004-01-11 Jackson Harper <jackson@ximian.com>
1945 * HttpRequest.cs: Add property for determining if the request is
1948 2004-01-10 Jackson Harper <jackson@ximian.com>
1950 * TraceContext.cs: Handle tracing when it is enabled in the config
1951 file but not on the page.
1952 * TraceManager.cs: Get settings from the configuration object.
1953 * HttpRuntime.cs: Create trace manager in the first request start
1954 so it can get configuration settings.
1956 2004-01-10 Jackson Harper <jackson@ximian.com>
1958 * TraceContext.cs: Save the request path in the trace data.
1959 * TraceData.cs: Add RequestPath property, make some rendering
1960 methods internal static so the TraceHandler can use them.
1961 * TraceManager.cs: Expose trace data, add a method for clearing
1964 2004-01-10 Jackson Harper <jackson@ximian.com>
1966 * HttpRuntime.cs: Add trace manager
1967 * TraceManager.cs: New class for handling trace configuration and
1968 storing trace data objects.
1969 * TraceContext.cs: Save trace data to the trace manager. Fix typo.
1971 2004-01-10 Jackson Harper <jackson@ximian.com>
1973 * TraceData.cs: New class for storing trace data. Data is stored
1974 here instead of the trace context so it can be saved and accessed
1975 from the trace handler.
1976 * TraceContext.cs: Save data in the TraceData object, let the
1977 trace data object handle the rendering.
1979 2004-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1981 * HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
1982 Thanks to Jan Jaros (mono-bug@jerryweb.info).
1984 * HttpRequestValidationException.cs: fix comment.
1986 2004-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1988 * HttpException.cs: default to error 500. Fixes bug #52623.
1990 2004-01-04 Jackson Harper <jackson@ximian.com>
1992 * TraceContext.cs: Store and render trace info times. Also render
1993 cookie sizes. Remove debug code.
1995 2004-01-04 Jackson Harper <jackson@ximian.com>
1997 * HttpResponse.cs: Set the cached response date header so it can
1999 * HttpResponseHeader.cs: Let values be set so we can update cached
2000 response header values.
2002 2004-01-04 Jackson Harper <jackson@ximian.com>
2004 * HttpResponse.cs: Implement RemoveOutputCacheItem.
2006 2004-01-04 Jackson Harper <jackson@ximian.com>
2008 * HttpCachePolicy.cs: Add internal method to get the vary by custom string
2009 * HttpCacheVaryByHeaders.cs: Add internal method to get the header names.
2011 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2013 * HttpRuntime.cs: implemented MachineConfigurationDirectory,
2015 2004-1-1 Alon Gazit <along@mainsoft.com>
2016 * HttpWriter.cs: add check in Write() in order to prevent
2017 NullReferenceException.
2019 2004-1-1 Alon Gazit <along@mainsoft.com>
2020 * HttpResponse.cs: implemented ExpiresAbsolute and Expires.
2022 2003-12-18 Jackson Harper <jackson@ximian.com>
2024 * TraceContext.cs: Write () methods are not warnings.
2026 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2028 * HttpBrowserCapabilities.cs: added GetClrVersions ().
2029 * HttpCachePolicy.cs: added SetAllowResponseInBrowserHistory ().
2030 * HttpContext.cs: added set_Current and RewritePath (s, s, s) for 1.1.
2031 * HttpRequest.cs: added set_ContentType, SetPathInfo and ValidateInput.
2032 * HttpRequestValidationException.cs: new class for 1.1
2033 * HttpResponse.cs: added RedirectLocation.
2034 * HttpRuntime.cs: added UnloadAppDomain.
2035 * HttpServerUtility.cs: Execute (s, t, b) is internal for < 1.2
2036 * HttpUtility.cs: copied UrlPathEncode from HttpServerUtility.
2037 * HttpWorkerRequest.cs: added [ComVisible] and made the ctor public.
2039 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2041 * HttpContext.cs: implemented IsCustomErrorEnabled and
2042 IsDebuggingEnabled. Added internal ErrorPage property.
2044 * HttpRuntime.cs: on error, check if we have a custom error page enabled
2045 to handle it and redirect.
2047 * HttpResponse.cs: added RedirectCustomError (), which actually does
2048 the redirection to the error page.
2050 2003-12-16 Jackson Harper <jackson@ximian.com>
2052 * TraceContext.cs: Render all the data, and the stylesheet.
2054 2003-12-16 Jackson Harper <jackson@ximian.com>
2056 * TraceContext.cs: Add incomplete render method.
2058 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2060 * CapabilitiesLoader.cs: loads browser detection and capabilities data
2061 from browscap.ini file by Gary J. Keith.
2063 * HttpBrowserCapabilities.cs: removed almost all TODOs.
2065 * HttpRequest.cs: fixed Browser property.
2067 2003-12-15 Jackson Harper <jackson@ximian.com>
2069 * TraceContext.cs: Initial implementation of storing data.
2070 * HttpContext.cs: Create and expose a trace object.
2072 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2074 * HttpApplication.cs: ThreadAbortException is ok on Redirect.
2075 * HttpContext.cs: added TimeoutPossible property.
2076 * HttpResponse.cs: throw ThreadAbortException if End () is called within
2077 a step in which is possible to timeout.
2081 2003-12-04 Jackson Harper <jackson@ximian.com>
2083 * HttpRequest.cs: Cleanup method.
2085 2003-12-04 Jackson Harper <jackson@ximian.com>
2087 * HttpValueCollection.cs: Allow blank value names. Posting
2088 <blank>=SomeValue is valid. And occurs if a radio button does
2089 not have its name set.
2091 2003-12-03 Jackson Harper <jackson@ximian.com>
2093 * HttpResponse.cs: Actually apply an app path modifier in
2094 ApplyAppPathModifer and add a method to set the app path modifier.
2095 * HttpRequest.cs: Add utility method for setting a request header.
2097 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2099 * HttpApplication.cs: handle FileNotFound and DirectoryNotFound
2100 exceptions when creating the handler to generate a better error page.
2102 * HttpException.cs: display the http_code if available. Changed all
2103 \n by \r\n to make the hidden stack trace readable.
2105 * StaticFileHandler.cs: don't send the real path in th eerror.
2107 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2109 * HttpContext.cs: updated GetConfig and GetAppConfig to new API.
2111 * HttpResponse.cs: separate initialization of the HttpWriter, as it
2112 tries to read configuration settings while the config. system is not
2113 available (ie, before the first request).
2115 * HttpRuntime.cs: delayed queueManager and response writer
2116 initialization until the configuration system is working.
2118 2003-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2120 * HttpRuntime.cs: added request queue handling.
2122 * QueueManager.cs: simple request queue.
2124 * TimeoutManager.cs: added some locks to prevent the enumerator used in
2125 CheckTimeouts to be out of synch.
2127 2003-11-25 Jackson Harper <jackson@ximian.com>
2129 * HttpStaticObjectsCollection.cs: Add methods for serialization
2130 and conversion to/from byte arrays.
2132 2003-11-21 Jackson Harper <jackson@ximian.com>
2134 * HttpResponse.cs: When caching data set the content length in the
2135 cached repsonse so that only that amount will be written back to
2136 the client. Add method to write a range of binary data.
2137 * HttpCacheVaryByParams.cs: Add method to retrieve param names.
2139 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2141 * HttpApplication.cs:
2143 * HttpRuntime.cs: add timeout handling.
2144 * TimeoutManager.cs: new class that takes care of aborting threads on
2147 2003-11-19 Jackson Harper <jackson@ximian.com>
2149 * HttpWriter.cs: Use a constant for the buffer size so the cache
2150 can get the buffer size. Add method to get the buffer.
2151 * HttpResponse.cs: Methods for getting data to cache, and setting
2152 vars from the cache.
2153 * HttpCachePolicy.cs: Expose a pages cache expire time.
2155 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2158 * HttpWriter.cs: some fixes to allow closing a response stream without
2161 2003-11-13 Jackson Harper <jackson@ximian.com>
2163 * HttpCachePolicy.cs: Make sure cacheability and maxage get
2164 set. Add method to set Http response header data
2165 * HttpCacheVaryByParams.cs: Add method to create a response header.
2166 * HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
2167 * HttpResponse.cs: Set cache headers.
2169 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
2171 * HttpModuleCollection.cs (GetKey): Recursion, again!
2173 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
2175 * HttpClientCertificate.cs (ValidUntil): recursion!
2177 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
2179 * SiteMapNode.cs (GetDataSourceView): Implement.
2180 * SiteMapProvider.cs: Typo fixing.
2181 * XmlSiteMapProvider.cs: We shouldnt resolve here.
2183 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
2185 * SiteMap.cs (Init): implement a hack that doesnt need the config
2186 stuff. Should do that later.
2187 * SiteMapNodeCollection (OnValidate): Fix recursion.
2188 * SiteMapProvider.cs: We dont implement some culture stuff work
2189 around it. Fix typo.
2190 * XmlSiteMapProvider.cs: Added.
2192 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
2194 * ISiteMapProvider.cs:
2197 * SiteMapNodeCollection.cs:
2198 * SiteMapProvider.cs:
2199 * SiteMapProviderCollection.cs: V2 sitemap related stuff.
2201 2003-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2203 * HttpRequest.cs: don't attempt to read more bytes than specified
2206 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2211 * HttpValueCollection.cs: encoding fixes/updates.
2213 * HttpWriter.cs: when updating the encoding, flush the existing stream.
2216 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
2218 * HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
2219 return false (which makes sense, as the custom errors *arent* enabled;
2221 * HttpResponseStream.cs: you actually can write with len = 0
2223 2003-11-03 Jackson Harper <jackson@ximian.com>
2225 * HttpResponse.cs (ContentEncoding): Throw
2226 ArgumentNullException. Patch by Yaron Shkop.
2228 2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2230 * HttpMultipartContentParser.cs : Quick fix for cygwin build.
2231 CSC complains that constant char cannot be casted as byte.
2233 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2235 * HttpApplication.cs: added AssemblyLocation property.
2237 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2239 * HttpApplicationFactory.cs: use NoParamsInvoker.
2240 * HttpRequest.cs: support request filters.
2241 * HttpRequestStream.cs: mono-stylized and added new Set method.
2243 * NoParamsInvoker.cs: proxy class to invoke user-provided methods
2244 without parameters that are invoked by EventHandlers.
2246 2003-10-13 Lluis Sanchez Gual <lluis@ximian.com>
2248 * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
2249 to invariant culture.
2251 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2254 * HttpServerUtility.cs: change the response writer in Execute. Thanks
2255 to Rich Alimi <rich@velvetsea.net> for noticing this.
2257 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2259 * HttpApplicationFactory.cs: support for wiring up events without
2262 2003-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2264 * HttpUtility.cs: small memory usage reduction.
2266 2003-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2268 * HttpApplication.cs: pass the Uri, not the file path to
2269 when looking for a handler.
2271 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2273 * HttpRequest.cs: small fix needed when reading big POST data.
2275 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
2277 * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
2278 (this will get the address from the request headers).
2280 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
2282 * HttpServerUtility.cs: In Transfer(), preserve the query string if
2285 2003-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2287 * HttpApplication.cs: ensure we do all the EndRequest steps. Don't
2288 filter the output on error.
2290 * HttpResponse.cs: modified DoFilter to allow bypassing filtering.
2292 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2294 * HttpApplication.cs: when the request is completed or an
2295 error happens, execute all the delegates attached to EndRequest, not
2296 only the last one. This makes xsp/test/authtest work again.
2298 * HttpMethodNotAllowedHandler.cs: fixed description for http
2301 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2303 * HttpRequest.cs: quick way of checking that the path is within the
2304 root for the application. Thanks to Johannes for reporting.
2306 * HttpRuntime.cs: use the status code from teh exception when it'ss a
2309 * StaticFileHandler.cs: forbidden is 403.
2311 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2313 * HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
2314 <rich@velvetsea.net>.
2316 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2318 * HttpException.cs: make the unhandled error more like the MS one.
2319 * HttpRuntime.cs: set a 500 error code on unhandled exceptions.
2321 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2323 * HttpResponse.cs: flush headers when the body length is 0.
2324 * StaticFileHandler.cs: added If-Modified-Since handling patch slightly
2325 modified from the original by Piers Haken <piersh@friskit.com>.
2327 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2329 * HttpResponse.cs: another patch from totte and me. This one prevents
2330 writing output if the client have disconnected and filters the data
2331 when there's a non-final Flush in the middle of the process.
2333 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2335 * HttpApplication.cs: fixed typos. Closes bug #44197.
2337 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2339 * HttpApplication.cs:
2340 * HttpApplicationFactory.cs: fix duplicate application OnStart events.
2342 Patch by Patrik Torstensson.
2344 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2346 * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
2347 overload. The previous one only admits static methods.
2349 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2351 * ProcessModelInfo.cs: Fixed signature
2353 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2355 * WebCategoryAttribute.cs: Implemented localization
2356 * WebSysDescriptionAttribute.cs: Implemented localization
2358 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2360 * HttpRuntime.cs: also clear the headers that may have been set upon
2361 error processing the request.
2363 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2365 * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
2368 * HttpWriter.cs: flush the filter after writing.
2370 2003-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2372 * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
2374 2003-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2376 * HttpContext.cs: Session doesn't have a setter.
2378 * HttpResponse.cs: Request is private.
2380 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2382 * HttpRequest.cs: fixed Headers property. It was getting known headers
2383 values instead of known headers names.
2385 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2387 * HttpApplication.cs: prevent nullref if an error happens before context
2389 * HttpException.cs: small fix in the stack trace sent.
2390 * HttpUtility.cs: the lock is not needed.
2392 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2394 * HttpRequest.cs: added REMOTE_PORT.
2395 * HttpValueCollection.cs: fixed bug #45490.
2397 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2399 * HttpApplication.cs:
2400 * HttpApplicationFactory.cs: fire application start and session
2403 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2405 * HttpException.cs: encode as HTML the inner exception that
2406 is appended as a comment at the end of error pages.
2408 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2410 * HttpWriter.cs: don't do anything in Flush. Fixes #42249.
2412 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2414 * HtmlizedException.cs: added more virtual methods.
2416 * HttpException.cs: some work on the output when there's a source
2419 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2421 * HtmlizedException.cs: simplified to cope with the new interface.
2423 * HttpApplicationFactory.cs: use the application file parser to get the
2426 * HttpException.cs: small changes. Needs some more work on
2429 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2431 * HttpRequest.cs: fixed Url property.
2433 2003-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2435 * HtmlizedException.cs:
2436 * HttpException.cs: display the correct line number in error messages.
2438 2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2440 * HttpCachePolicy.cs: implemented all TODOs.
2441 * HttpRequestStream.cs: make it internal.
2443 2003-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2445 * HttpContext.cs: implemented RewritePath in other way.
2446 * HttpRequest.cs: removed SetPhysicalPath and added SetForm.
2447 * HttpServerUtility.cs: implemented Transfer (string, bool).
2449 2003-03-16 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
2450 * HttpContext.cs : Implemented RewritePath
2451 * HttpRequest.cs : Added internal function SetPhysicalPath
2453 2003-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2455 * HttpServerUtility.cs: implemented Transfer ().
2457 2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2459 * HttpRuntime.cs: Cache no longer have a Dispose method.
2461 * HttpServerUtility.cs: removed MonoTODO.
2463 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2465 * HttpHelper.cs: store the values in an ArrayList to get them in correct
2468 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2470 * HttpApplicationFactory.cs: Global.asax takes precedence over
2471 global.asax if it exists.
2473 * HttpRequest.cs: use allowCrossAppMapping in MapPath.
2475 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2477 * HttpApplication.cs: CreateHttpHandler is now internal.
2479 * HttpRequest.cs: allow setting QueryStringRaw, which
2480 invalidates the data obtained from the previous value. Added internal
2483 * HttpServerUtility.cs: implemented Execute and GetLastError.
2485 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2487 * HttpServerUtility.cs: style.
2489 2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2491 * HttpApplication.cs: only execute the EndRequest step on error
2492 condition or request marked as completed. This prevent page events from
2493 being called when, for example, the url authorization module forbids
2496 2003-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2498 * HttpRequest.cs: implemented the indexer.
2500 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2502 * HtmlizedException.cs: base class for exceptions that makes it easy to
2503 generate error pages.
2505 * HttpException.cs: improved error displaying.
2507 * HttpRuntime.cs: removed debugging output.
2509 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2511 * HttpApplication.cs: display the error instead of hanging when we get
2512 any error before the last step of the request.
2514 2003-02-04 Tim Haynes <thaynes@openlinksw.com>
2516 * HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement
2519 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2521 * HttpRequest.cs: added BaseVirtualDir property and use it in MapPath.
2523 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2525 * HttpRequest.cs: implemented CurrentExecutionFilePath.
2527 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2529 * HttpApplication.cs: keep _lasterror if no context. Attach
2530 application events *after* modules initialization (if not, User is not
2531 set when the user handler is called).
2533 * HttpApplicationFactory.cs: made all methods related to
2534 AttachEvents static. I will fix OnStart/OnEnd for application and
2537 * HttpRequest.cs: don't initialize cookies twice.
2539 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2542 (ApplyAppPathModifiers): return the root directory for "".
2544 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2546 * HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.
2548 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2550 * HttpApplication.cs: added new state to handle default authentication.
2552 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2554 * HttpContext.cs: removed hack to get the User.
2556 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2558 * HttpUtility.cs: fixed bug #36038. Thanks to juancri@tagnet.org for
2559 reporting the bug and how to fix it.
2561 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2563 * HttpCookie.cs: send 'expires' in the header.
2565 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2567 * HttpValueCollection.cs: patch from Botjan Vizin
2568 <bostjan.vizin@siol.net> that implements ToString (bool).
2570 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2572 * HttpApplicationFactory.cs: add the context as parameter when building
2573 the application Type.
2575 * HttpCookie.cs: new internal constructor.
2576 * HttpCookieCollection.cs: new internal method to make a cookie expire.
2578 * HttpRequest.cs: MapPath fixes.
2579 * HttpResponse.cs: implemented ApplyAppPathModifier.
2580 * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
2582 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2584 * HttpContext.cs: hack to create a default user when there's no one.
2585 Implemented GetConfig (string).
2587 * HttpRequest.cs: fixes to MapPath (string).
2589 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2591 * HttpRuntime.cs: avoid nulls and exception when getting resource
2594 * StaticFileHandler.cs: added file name to error message.
2596 2002-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2598 * HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
2600 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2602 * HttpApplicationFactory.cs: get the events from the application class,
2603 fire Application/Session Start/End and add the others as application
2606 2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2608 * HttpApplicationFactory.cs: compile global.asax file if it exists.
2610 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2612 * HttpRequest.cs: provide a default Browser until we detect it.
2614 (End): do not close the connection here.
2615 (Flush (bool)): send the headers when, for example, Redirect () is
2618 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2620 * HttpException.cs: simple error output.
2622 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2624 * HttpApplication.cs: style.
2625 * HttpException.cs: style.
2626 * HttpRuntime.cs: only flush the response if there are no errors.
2627 Otherwise, write an error output.
2628 * HttpWriter.cs: change Unicode to UTF8.
2630 2002-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2632 * HttpApplication.cs: don't begin the request using ExecuteNextAsync
2633 (it fails to work on NetServ).
2635 * HttpWorkerRequest.cs: typo.
2637 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2639 * HttpValueCollection.cs: the value may contain trailing '=' as it is
2640 UrlEncoded. Don't split name=value based on '='.
2642 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2644 * HttpCookie.cs: made GetCookieHeader internal.
2646 * HttpRequest.cs: get cookies from request.
2648 * HttpResponse.cs: send cookies. Implemented
2649 AddFileDependencies (). Added check for _Writer == null in Flush
2650 (Patrik ;-). Clear the content if HEAD or SupressContent == true.
2651 Removed redirect hack used in old server.
2653 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2655 * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
2656 most ContentLength bytes.
2658 * HttpResponse.cs: now it sends the headers. Added
2659 X-Powered-By header :-).
2661 * HttpRuntime.cs: fixed typo.
2663 * HttpValueCollection.cs: cosmetic changes.
2665 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2667 * HttpApplication.cs: reenabled a few lines of code
2668 (ThreadPool already fixed).
2673 * HttpValueCollection.cs:
2674 * HttpWriter.cs: Use WebEncoding.Encoding.
2676 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2678 * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
2679 This fixes sending bytes and allows mixing byte with chars.
2681 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2683 * HttpResponse.cs: implemented WriteFile methods.
2684 * MimeTypes.cs: removed duplicated entries.
2686 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2688 * HttpResponse.cs: don't throw exception in a couple of
2689 methods not yet implemented.
2691 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2693 * HttpApplication.cs: fixed type and handle factories when creating
2694 IHttpHandler for a request.
2696 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2698 * HttpApplication.cs: use handlers from configuration.
2699 * HttpContext.cs: get handlers from ConfigurationSettings.
2701 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2703 * HttpMethodNotAllowedHandler.cs:
2705 * StaticFileHandler.cs: Modified file.
2707 * HttpUtility.cs: implemented all missing methods.
2710 2002-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2712 * System.Web/HttpApplication.cs: use the static file handler.
2713 * System.Web/HttpForbiddenHandler.cs: handler to forbid access.
2714 * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
2717 * System.Web/HttpUtility.cs: finished all UrlDecode methods.
2718 * System.Web/MimeTypes.cs: map from file extension to MIME type.
2719 * System.Web/StaticFileHandler.cs: serves static files
2721 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2723 * System.Web/HttpApplication.cs:
2724 * System.Web/HttpApplicationFactory.cs:
2725 * System.Web/HttpRequest.cs:
2726 * System.Web/HttpRuntime.cs: we are now able to compile pages and use
2727 HttpApplication, HttpRuntime and SimpleWorkerRequest.
2729 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2731 * HttpApplication.cs: added some missing methods.
2732 * HttpApplicationFactory.cs: get event handlers for the application.
2733 * HttpAsyncResult.cs: little fixes.
2734 * HttpRequest.cs: make Encoding work even with no worker request.
2736 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2738 * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
2739 to add HttpMapPath to the list file...
2741 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2743 * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
2744 report when i get a test case.
2746 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2748 * HttpApplicationFactory.cs:
2749 * HttpCachePolicy.cs:
2750 * HttpResponseHeader.cs:
2751 * HttpResponseStream.cs:
2752 * HttpResponseStreamProxy.cs:
2753 * HttpValueCollection.cs: misc. fixes based on class status page.
2755 * IHttpMapPath.cs: New file.
2757 * HttpRequest.cs: implemented ContentEncoding.
2758 * HttpWorkerRequest.cs: mono-stylized and implemented
2759 SendResponseFromMemory.
2761 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2763 * HttpContext.cs: reformatted.
2764 * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
2767 2002-08-05 Patrik Torstensson <ptorsten@hotmail.com>
2769 * HttpApplication.cs: Implemented a state machine to allow handling of
2770 HttpModules and HttpHandlers. Implementation of async handlers.
2772 * HttpApplicationFactory.cs: Factory for creating HttpApplication
2773 instances, including caching.
2775 * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
2776 application instance to execute requests in and implementation of
2777 request execution (still no request queue).
2779 * HttpAsyncResult.cs: New file to handle async module results.
2781 * HttpRequest.cs: Change signature of Dispose
2782 * HttpResponse.cs: new internal method allowing filtering to happen
2783 during the request flow in the state machine.
2785 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2787 * HttpApplication.cs: events were not being initialized.
2789 2002-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2791 * ProcessModelInfo.cs: fixed compilation.
2793 2002-07-25 Tim Coleman <tim@timcoleman.com>
2794 * ProcessModelInfo.cs:
2796 * HttpParseException.cs:
2797 * HttpCompileException.cs:
2798 * HttpUnhandledException.cs:
2799 Internal constructors added to these
2801 2002-07-24 Tim Coleman <tim@timcoleman.com>
2803 Fix constructor, reference to shutdownreason.
2805 2002-07-24 Tim Coleman <tim@timcoleman.com>
2806 * HttpCachePolicy.cs:
2807 Added stubbs to this class.
2808 * HttpCacheability.cs:
2809 * HttpCacheRevalidation.cs:
2810 * HttpValidationStatus.cs:
2811 * ProcessShutdownReason.cs:
2814 Reorder the enumerations (and in some cases make
2815 one-based) in order to agree with the .NET
2816 implementation, based on the class status page.
2818 Implementation of this class.
2820 2002-07-23 Tim Coleman <tim@timcoleman.com>
2821 * HttpCompileException.cs:
2822 * HttpParseException.cs:
2823 * HttpUnhandledException.cs:
2825 * HttpApplication.cs:
2826 * HttpBrowserCapabilities.cs:
2827 Added missing methods stubbs and attributes based
2828 on the class status page. Also reformatted some
2829 source for consistency.
2831 2002-07-23 Tim Coleman <tim@timcoleman.com>
2832 * HttpUtility.cs: Moved entities hashtable into main
2833 class as a static object, so we don't instantiate
2834 a new one every time. Also put the hashtable
2835 building into a lock block.
2837 2002-07-22 Tim Coleman <tim@timcoleman.com>
2838 * HttpUtility.cs: Cleanup of the code, implementation
2839 of HtmlDecode/HtmlEncode functions
2841 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2843 * HttpResponse.cs: quick&dirty hack to make redirection work. Should
2844 be out of there once we have SimpleWorkerRequest.
2846 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2848 * HttpUtility.cs: little typo, big headache.
2850 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2852 * HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
2854 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2856 * System.Web/HttpResponse.cs:
2858 Fixes based on class status page:
2860 - Add attributes (DefaultEvent, ParseChildren).
2862 - Explicitly implement some interfaces (IPostBackDataHandler
2863 and IPostBackEventHandler).
2864 - Implemented some missing methods.
2866 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2869 (Session): return null instead of throwing an exception.
2872 (HttpMethod): return RequestType if not set.
2873 (GetRawContent): return QueryString if we don't have a
2876 * HttpUtility.cs: fixed Decode and Encode.
2878 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2880 * HttpApplication.cs:
2881 * HttpContext.cs: added System.Web.SessionState namespace.
2883 * HttpSessionState.cs: removed. It is under
2884 System.Web.SessionState.
2886 2002-06-10 Duncan Mak <duncan@ximian.com>
2888 * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
2890 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2892 * HttpRequest.cs: implemented Browser property.
2894 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2896 * HttpBrowserCapabilities.cs: stubbed out.
2898 2002-05-18 Miguel de Icaza <miguel@ximian.com>
2900 * HttpRuntime.cs: Reformat file.
2902 2002-05-07 Duncan Mak <duncan@ximian.com>
2904 * HttpBrowserCapabilities.cs: Added, replacing
2905 HttpBrowserCapabilites because of typo.
2907 * HttpBrowserCapabilites.cs: Removed, replaced by above.
2909 * HttpRequest.cs (Browser): Fixed typo.
2911 2002-04-12 Patrik Torstensson <patrik.torstensson@labs2.com>
2913 * HttpApplication.cs: Minor updates
2914 * HttpApplicationState.cs: Ready.
2915 * HttpClientCertificate.cs: Signature updates
2916 * HttpValueCollection.cs: ready
2917 * HttpStaticObjectsCollection.cs: ready
2918 * HttpResponseHeader.cs: made internal only
2919 * HttpResponse.cs: Signature updates
2920 * HttpPostedFile.cs: ready
2921 * HttpCacheVaryByHeaders.cs: ready (except communication to policy)
2922 * HttpCacheVaryByParams.cs: ready (except communication to policy)
2924 System.Web is now over 60% ready..
2926 2002-04-11 Patrik Torstensson <patrik.torstensson@labs2.com>
2928 * HttpException.cs: 95% ready, only windows dependent code left
2929 * HttpFileCollection.cs: Finished.
2930 * HttpRequest.cs: Minor fixes and fixed signature problems
2931 * HttpResponse.cs: Implementation of missing methods and signature problems
2932 * HttpResponseHeader.cs: Fixed signature problems
2933 * HttpRuntime.cs: Fixed signature problems
2934 * HttpServerUtility.cs: Added support for HttpApplication
2935 * HttpSessionState.cs: Fixed signature issues
2936 * HttpUtility.cs: fixed signature issues
2937 * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
2938 * HttpWorkerRequest.cs: Fixed small signature issue
2939 * HttpWriter.cs: Fixed signature issue
2940 * HttpApplication.cs: Basic implementation
2941 * HttpApplicationState.cs: Small fixes to support major change comming up
2942 * HttpBrowserCapabilities.cs: Added Type method
2943 * HttpClientCertificate.cs: Almost ready, needs to parse certificate.
2944 * HttpContext.cs: Fixed signature issues and added last methods.
2945 * HttpCookie.cs: Full implementation
2946 * HttpCookieCollection.cs: Full implementation
2947 * TraceContext.cs: Methods implemented.
2948 * HttpPostedFile.cs: Placeholder
2949 * HttpStaticObjectsCollection.cs: Placeholder
2950 * HttpModuleCollection.cs: Ready, will be used during the major revamp.
2952 * Fixed a number of other small signature problems also (class status page)
2955 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
2957 * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
2958 * Checkin of all new files (noted in last changenote)
2960 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
2962 * HttpContext.cs: First implementation (basic support, few methods left to impl)
2963 * HttpException.cs: Partial implementation (basic support)
2964 * HttpHelper.cs: Header parse helper, used by runtime (non public)
2965 * HttpRequest.cs: Implementation (all methods there, not all fully impl)
2966 * HttpRequestStream.cs: Full implementation
2967 * HttpResponse.cs: Partial implementation(almost all methods)
2968 * HttpResponseHeader.cs: Header helper
2969 * HttpResponseStream.cs: Full implementation - Response stream support
2970 * HttpResponseStreamProxy.cs: Implementation - filter support
2971 * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
2972 * HttpServerUtility.cs: Implemented usage of HttpContext for methods
2973 and moved encoding functions to HttpUtility.
2975 * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
2976 added the Attribute encoding functions.
2978 * HttpValueCollection.cs: Implementation.
2979 * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
2980 * HttpWriter.cs: Implementation (with filter support)
2982 * HttpFileCollection: Added dummy class (placeholder)
2983 * HttpApplication.cs: Added dummy class (placeholder)
2984 * HttpApplicationState.cs: Added dummy class (placeholder)
2985 * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
2986 * HtttpCachePolicy.cs: Added dummy class (placeholder)
2987 * HttpClientCertificate.cs: Added dummy class (placeholder)
2988 * HttpSessionState.cs: Added dummy class (placeholder)
2989 * TraceContext.cs: Added dummy class (placeholder)
2992 2002/04/10 Nick Drochak <ndrochak@gol.com>
2994 * HttpServerUtility.cs: Fix build breaker.
2996 2002-03-28 Wictor Wiln <wictor@iBizkit.se>
2998 * HttpServerUtils.cs : Added some more functionality
3000 2002-03-28 Martin Baulig <martin@gnome.org>
3002 * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
3003 char to a string, use ToString() instead.
3005 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
3007 * WebCategoryAttribute.cs
3008 : Added private attribute.
3010 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
3012 * HttpRuntime.cs : Stubbed methods for
3013 FormatStringResource(...) in agreement with the various
3014 overloads available at String.Format(...)
3016 2002-01-08 Gaurav Vaish <gavish@iitk.ac.in>
3018 * TODOAttribute.cs : Added, as an internal class to the assembly
3020 2002-01-03 Nick Drochak <ndrochak@gol.com>
3022 * HttpRuntime.cs: remove uneeded exception variable from catch and
3023 initialize remaining instance members to avoid compile warnings
3025 2002-01-02 Nick Drochak <ndrochak@gol.com>
3027 * HttpRuntime.cs: fix spelling error/variable name change.
3029 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
3031 * HttpRuntime.cs : Initial implementation
3033 2001-08-29 Bob Smith <bob@thestuff.net>
3035 * HttpWorkerRequest.cs: Partial Implementation.
3037 2001-08-16 Bob Smith <bob@thestuff.net>
3039 * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
3041 2001-08-09 Bob Smith <bob@thestuff.net>
3043 * BeginEventHandler.cs: Implemented.
3044 * EndEventHandler.cs: Implemented.
3045 * HttpCacheability.cs: Implemented.
3046 * HttpCacheRevalidation.cs: Implemented.
3047 * HttpCacheValidateHandler.cs: Implemented.
3048 * HttpCookieCollection.cs: Implemented.
3049 * HttpCookie.cs: Implemented.
3050 * HttpValidationStatus.cs: Implemented.
3051 * HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
3052 * IHttpAsyncHandler.cs: Implemented.
3053 * IHttpHandler.cs: Implemented.
3054 * IHttpHandlerFactory.cs: Implemented.
3055 * IHttpModule.cs: Implemented.
3056 * ProcessShutdownReason.cs: Implemented.
3057 * ProcessStatus.cs: Implemented.
3058 * TraceMode.cs: Implemented.