1 2005-07-24 Eyal Alalouf <eyala@mainsoft.com>
2 * HttpRequest.cs: Removed GhFilePath property from TARGET_J2EE.
4 2005-07-19 Eyal Alalouf <eyala@mainsoft.com>
5 * CapabilitiesLoader.cs: Indentation fixes in TARGET_J2EE specific code.
7 2005-07-19 Eyal Alalouf <eyala@mainsoft.com>
8 * Grasshopper compilation fixes. Disabled use of unsupported features under TARGET_JVM/J2EE configuration.
10 2005-07-18 Eyal Alalouf <eyala@mainsoft.com>
12 * HttpRequest.cs: Fix compilation error in TARGET_J2EE config.
13 * HttpApplicationFactory.cs: Fix compilation error in TARGET_J2EE config.
15 2005-07-18 Eyal Alalouf <eyala@mainsoft.com>
17 * CapabilitiesLoader.cs: Fix compilation error in TARGET_J2EE config.
19 2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
21 * SiteMap.cs: Read provider info from the configuration files.
23 2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
25 * HttpResponseHeader.cs: URL encode \r and \n in header values. Fixes
28 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
30 * HttpUtility.cs: fix another stupid buglet in htmldecode.
32 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
36 * HttpRequest.cs: use StrUtils (invariant culture).
38 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
40 * HttpRequest.cs: use StartsWith when looking for 'multipart/form-data'.
41 File uploading was broken since a few commits ago.
43 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
45 * HttpResponse.cs: ensure that the last chunk ('0\r\n\r\n') is sent
46 even if response.Close is called before a final flush. MS/IIS fails to
49 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
51 * HttpRequest.cs: don't print anything for unknown content types in
52 ParseFormData. Use lowercase compare.
54 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
56 * HttpResponse.cs: invariant love.
58 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
60 * HttpResponse.cs: avoid 1 string concat.
61 * HttpRequest.cs: fix BinaryRead. It was totally wrong.
63 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
65 * HttpUtility.cs: don't append an extra 0 when no digits seen. Fixes
68 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
70 * HttpUtility.cs: the lower limit for using &#xx; encoding is 160, not
71 128. Reset number back to 0 after use. Fixes bug #75365.
73 2005-06-19 Svetlana Zholkovsky <svetlanaz-at-mainsoft.com>
74 * In following classes added TARGET_J2EE or/and TARGET_JVM
79 - CapabilitiesLoader.cs
81 - HttpApplicationFactory.cs
85 * Added Mainsoft's specific files :
86 - GhHttpAsyncResult.jvm.cs
88 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
90 * HttpRequest.cs: avoid one intermediate buffer when reading the request
91 body and fail for over limit content length when the content type is
92 not handled as form or multipart data.
94 2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
96 * HttpResponse.cs: fix the check in Close() so that CloseConnection is
97 called even if there has been no final Flush. Fixes bug #75176.
99 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
101 * HttpParseException.cs:
103 * HttpApplication.cs: updates for 1.1 service pack.
105 2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
107 * HttpUtility.cs: fix InvalidCastException.
109 2005-06-05 Kornél Pál <kornelpal@hotmail.com>
111 * HttpWriter.cs: Fixed: _OutputFilter.Close () was called twice.
113 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
115 * HttpUtility.cs: modified HtmlDecode so that it does not need to call
116 Int32.Parse and handles improper &# sequences. Fixes bug #74907.
118 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
120 * SiteMapNodeCollection.cs: Implemented missing methods. The collection
121 does not inherit from CollectionBase any more.
122 * SiteMapNode.cs: Track api changes.
123 * SiteMapProvider.cs: Moved several methods to the new
124 StaticSiteMapProvider class. Other fixes.
125 * XmlSiteMapProvider.cs: Watch changes in the xml files. Other fixes.
126 * SiteMapProviderCollection.cs: Minor fixes.
127 * SiteMap.cs: Added missing event. Avoid double check lock.
128 * StaticSiteMapProvider.cs: New class that implements some of the
129 funtionality of SiteMapProvider.
131 2005-05-25 Ben Maurer <bmaurer@ximian.com>
133 * MimeTypes.cs: Remove extra spaces, they were typos. Fixes 75049.
135 2005-05-13 Atsushi Enomoto <atsishi@ximian.com>
137 * HttpUtility.cs : UrlDecodeToBytes() incorrectly decoded escaped
138 characters. Patch by Kazuki Oikawa.
140 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
142 * HttpRuntime.cs: PlatformID.Unix.
144 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
146 * HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
147 Clear the _Headers array instead of creating a new ArrayList in
150 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
152 * HttpResponse.cs: we had 2 variables to track client connection status.
153 Use only one. Increase the buffer size to 28KB when writing from a file.
155 * StaticFileHandler.cs: set the Content-Type before writing the file.
156 This allows flushing before all the content is written.
158 * HttpApplication.cs: use the variable instead of the property when
159 setting the Principal for the current process.
161 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
163 * ReusableMemoryStream.cs:
164 * HttpWriter.cs: keep a pool of buffers to avoid allocations.
166 2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
168 * HttpResponse.cs: no need to save/restore the thread culture when
169 getting the Date header. According to Ben's profiling, this is a big
172 * HttpRuntime.cs: ignore exceptions that might be thrown when unloading
175 2005-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
177 * HttpApplicationFactory.cs: ignore any exception thrown when invoking
178 an application event.
180 2005-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
182 * HttpBrowserCapabilities.cs: fix Win32 property.
184 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
186 * HttpResponse.cs: only add the charset when explicitly set or for
187 well-known content types.
189 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
191 * HttpCachePolicy.cs:
192 * HttpAsyncResult.cs:
193 * HttpClientCertificate.cs:
196 * HttpCacheVaryByHeaders.cs:
197 * HttpBrowserCapabilities.cs:
199 * HttpCacheVaryByParams.cs: no more warnings.
201 * QueueManager.cs: check for local connections with minLocalFreeThreads.
203 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
205 * ServerVariablesCollection.cs: shuffled variables, added missing ones
206 and call a method in HttpRequest to set the HTTP_ variables.
208 * HttpRequest.cs: new method to add HTTP_ variables to a collection.
210 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
212 * HttpRequest.cs: GetAllHeaders was returning the value twice instead
213 of 'name: value'. When HTTP_ is requested on the output, don't include
216 2005-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
218 * HttpCookieCollection.cs: when adding more than one cookie with the
219 same name, the last one is the winner.
221 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
223 * HttpRequest.cs: correctly store the value cookies in Params. Fixes
226 2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
228 * HttpRequest.cs: Path and FilePath also change when RewritePath is
229 called. Fixes bug #73055.
231 2005-02-23 Sebastien Pouliot <sebastien@ximian.com>
233 * HttpRequest.cs: Make sure that any access after a ValidateInput
234 throws an exception if the data isn't safe.
236 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
238 * CapabilitiesLoader.cs: fix the path, as machine.config is now in a
239 x.x/ directory below $PREFIX/etc/mono.
241 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
243 * HttpRequest.cs: fail on unicode full-width '<' and '>' too. Fixes
244 a security report (http://secunia.com/advisories/14325) that wan't
245 reported to us before public disclosure.
247 2005-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
249 * HttpResponse.cs: send the calculated content length even when it's 0.
252 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
254 * HttpContext.cs: Added internal property to keep a reference to
255 the last accessed page. Page uses this to implement PreviousPage.
257 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
259 * ProcessModelInfo.cs: Fixed warning.
261 2005-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
263 * TraceContext.cs: writing a message without any other argument is not
264 a warniing. Fixes bug #72017.
266 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
268 * HttpApplication.cs: if there are no more handlers, finish the
269 request and ensure we call Complete on it. Now FreeTextBox 3.0 works.
271 2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
273 * HttpRequest.cs: honor the maxRequestSize limit from machine.config.
275 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
277 * HttpApplication.cs: reread application CultureInfo as web.config
278 might have changed. Fixes bug #62539.
280 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
282 * HttpResponse.cs: fixed ApplyAppPathModifier to insert the session ID.
284 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
286 * HttpApplicationFactory.cs: monitor changes in global.asax and bin
287 directory and shutdown the application when that happens. Fixes bug
290 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
292 * ReusableMemoryStream.cs: copied from System.IO.MemoryStream and
293 slightly modified to allow expanding the buffer for cases on which the
294 regular MemoryStream don't allow it.
296 * HttpWriter.cs: use the new ReusableMemoryStream and fix bug #59841.
297 Otherwise we would have to allocate a new MemoryStream...
299 2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
301 * HttpApplication.cs: Create() is now GetInstance().
303 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
305 * SiteMapNodeCollection.cs: Added missing properties.
306 * HttpParseException.cs: Added 2.0 methods and properties.
307 * SiteMapNode.cs: Added missing methods and properties.
308 * SiteMapProvider.cs, XmlSiteMapProvider.cs,
309 SiteMapProviderCollection.cs: IProvider does not exist any
310 more, it is now ProviderBase.
311 * ISiteMapProvider.cs: Deleted.
312 * ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
314 * SiteMap.cs: Minor fixes.
316 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
318 * SiteMapProviderCollection.cs: Fixed warning.
319 * HttpApplication.cs: Added new 2.0 events.
321 2004-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
323 * HttpResponse.cs: added internl SetHeadersSent.
324 * HttpRuntime.cs: don't throw the 'headers already sent' exception
325 if we're sending a runtime error.
327 2004-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
329 * HttpApplication.cs: undo the TimeoutManager.(Add|Remove) shuffling.
330 It causes troubles under heavy load.
332 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
334 * SiteMap.cs: don't lock on Type.
335 * CapabilitiesLoader.cs: avoid 2 locks when loading data.
337 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
339 * HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
340 presence of rewriting.
342 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
344 * HttpApplication.cs: don't hang if a sync step is aborted. Fixes the
345 system.web portion of bug #68270.
347 2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
349 * TraceContext.cs: don't cast to Page is the handler it's
352 2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
354 * HttpRequest.cs: CurrentExecutionFilePath is the one that
355 changes when Transfer or Execute are used, not FilePath.
357 * HttpServerUtility.cs: moved form saving/restoring from
358 Transfer to Execute, as it's needed there too. the query string is
359 correctly set now. Fixes bug #67388.
361 * HttpContext.cs: use SetCurrentExePath instead of SetFilePath.
363 2004-10-03 Ben Maurer <bmaurer@ximian.com>
365 * HttpResponse.cs: use UtcNow
367 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
369 * HttpResponse.cs: SuppressContent does not throw and clears all the
370 buffered output. Fixes bug #67213.
372 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
374 * HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.
376 2004-09-29 Ben Maurer <bmaurer@ximian.com>
378 * HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.
380 2004-09-25 Ben Maurer <bmaurer@ximian.com>
382 * HttpApplication.cs: Make sure requests are removed from
383 the timeout manager. Fixes a major leak. #66751.
385 2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
387 * HttpApplicationFactory.cs:
388 * HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
391 2004-09-12 Ben Maurer <bmaurer@ximian.com>
393 * HttpContext.cs: use CallContext. It is a little bit faster.
395 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
397 * HttpStaticObjectsCollection.cs: don't share static session objects
398 declared in the application file across the application, but on a
399 per-session basis. Fixes bug #65446.
401 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
403 * HttpServerUtility.cs: in Transfer(path), don't keep form data if
404 the transfer is done from inside a page that received a postback.
407 2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
409 * HttpValueCollection.cs: fixed signature of ToString (). Closes bug
412 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
414 * HttpWriter.cs (.ctor): Dont create teh StreamWriter twice
415 (Clear): Don't recreate the MemoryStream and StreamWriter
417 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
419 * HttpApplication.cs: only add/remove to/from the timeout
420 manager when we're in a interruptible step.
422 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
424 * TraceContext.cs: when IsEnabled has not been set, return the value
425 from the TraceManager. Fixes bug #63469.
427 2004-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
429 * HttpRuntime.cs: initialize the response writer when finishing a
430 request because it cannot be queued. Under heavy load we made new
431 requests be processed before the ones that might be queued. This is
434 * QueueManager.cs: instead of queueing/dequeuing separately, we now
435 have a single method that does everything needed to decide which one
436 will be the next request processed.
438 2004-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
440 * HttpRuntime.cs: removed initializations to null in .cctor. Prevent
441 other requests from avoiding the lock if they are received before the
442 configuration system is inited. Ensure that the queue manager is not
443 null before using it (it can be null while the first request is being
446 2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
448 * HttpServerUtility.cs: ensure we have a full virtual path for the
449 request being executed.
451 2004-08-02 Duncan Mak <duncan@ximian.com>
453 * ApplicationShutdownReason.cs: Fixed typos.
456 * HttpDataTransferMode.cs:
457 * HttpRequestPriority.cs: Added [Serializable] attribute.
459 2004-08-02 Duncan Mak <duncan@ximian.com>
461 * ApplicationShutdownReason.cs:
463 * HttpDataTransferMode.cs:
464 * HttpRequestPriority.cs: Added 2.0 enumerations.
466 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
468 * HttpApplication.cs: the file not found might be a dependency.
470 2004-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
472 * HttpCookie.cs: use invariant when formatting expires date. Fixes bug
475 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
477 * HttpApplication.cs: don't keep the session around if we got it from
478 the context. Fixes bug #61232.
480 2004-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
482 * HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
485 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
487 * TraceContext.cs: added internal HaveTrace property whose
488 value is true when the page has a Trace attribute.
490 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
492 * TraceData.cs: fixed <br> output. Closes bug #60181.
494 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
496 * HttpUtility.cs: check for control characters in the string to encode
497 or decode and return the same string if there are none.
499 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
501 * HttpApplication.cs: change/restore the IPrincipal in their own methods
502 and make them internal.
504 2004-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
506 * HttpContext.cs: reverting Pedro's patch and sending mail with test
509 2004-06-09 Pedro Martnez Juli <yoros@wanadoo.es>
511 * HttpContext: User property returns its own "user" value because
512 the context can walk through different Threads. When "User" property
513 is changed, change "Thread.CurrentPrincipal" too.
515 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
517 * HttpRequest.cs: removed extra ^Ms and fixed style of last patch.
519 2004-06-08 Alon Gazit <along@mainsoft.com>
521 * HttpRequest.cs: Add a patch for HttpRequest.ServerVariables.
523 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
525 * HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
526 Fix (at least partially) #59683.
528 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
530 * HttpRequest.cs: reverting patch from Alon Gazit. Uses the above file
531 that doesn't compile.
533 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
535 * TraceData.cs: fixes nullref in an application that relies on
536 r ["Message"] not being null. Closes bug #59679.
538 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
540 * HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.
542 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
544 * HttpRuntime.cs: implemented a 5 simple properties that were TODOs.
546 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
548 * HttpBrowserCapabilities.cs: implemented ClrVersion and GetClrVersions.
549 * HttpException.cs: removed MonoTODO.
551 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
553 * TraceContext.cs: don't check if HttpRuntime.TraceManager
554 is enabled when writing.
556 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
558 * HttpRequest.cs: added ClientTarget internal property.
560 2004-06-03 Lluis Sanchez Gual <lluis@ximian.com>
562 * HttpApplication.cs: Clear the http handler list after releasing the
565 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
567 * TraceData.cs: html-encode the messages written to the trace. Fixes
570 2004-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
572 * HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
575 2004-05-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
577 * HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
578 when SetFilePath is called. This way the cached values are reset and
579 get the right value in case someone (namely SessionStateModule +
580 cookieless session) changes the FilePath after the property cached its
581 value. Fixes bug #59364.
583 2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>
585 * HttpApplicationFactory.cs: Added SignalError (still todo)
587 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
589 * HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
590 chunked encoding disabled. Fixed chunked suffix and end. Send the
591 'lastchunk' marked when in the final Flush even if the content length
592 is 0. This makes mod-mono-server work fine with chunked encoding.
594 * HttpRuntime.cs: Set the _firstRequest* variables to true
595 earlier. TraceContext don't take any parameter now.
597 * TraceManager.cs: don't need a context. Use GetAppConfig.
599 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
601 * HttpApplication.cs: set culture/uiculture from configuration and
602 restore it after each step. Fixes bug #52851.
604 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
606 * HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
607 entities hashtable creation until it's really needed.
609 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
611 * HttpApplicationFactory.cs: if no module matches the name found for a
612 possible event, ignore it. Fixes bug #58542.
614 2004-05-16 Patrik Torstensson <totte@hiddenpeaks.com>
616 * HttpRuntime (Init): Removed old todo
617 * HttApplication : Implemented IHttpHandlerFactory recycling
619 2004-04-28 Patrik Torstensson
621 * HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
624 2004-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
626 * HttpUtility.cs: return null in HtmlDecode for null input instead of
627 throwing an exception. Patch by Jan Jaros (bug #57083).
629 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
631 * TimeoutManager.cs: Swap the order of initialization of contexts
632 and the Timer, to avoid race condition of CheckTimeouts being called
633 before contexts gets initialized.
635 2004-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
637 * HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
638 Now the posted file content does not have the boundaries and headers
641 2004-03-25 Alon Gazit <along@mainsoft.com>
643 * HttpRequest.cs: fix ValidateCookieCollection() to prevent
644 InvalidCastException.
646 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
648 * HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.
650 2004-03-01 Larry Ewing <lewing@ximian.com>
652 * HttpUtility.cs: fix UrlEncodeToBytes count check.
654 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
656 * HttpServerUtility.cs:
657 * HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
660 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
662 * HttpUtility.cs: fixed length check. Closes bug #54201.
663 Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
666 2004-02-11 Jackson Harper <jackson@ximian.com>
668 * TraceData.cs: Use ToString for cookie/header/var name values so
669 null is handled properly.
671 2004-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
673 * HttpApplication.cs: ApplicationState is inited by the factory so,
674 return that value in the property. when we use the context Session,
675 cache it in the instance field.
677 * HttpApplicationFactory.cs: fixed target Type for the event when
678 hooking application and module events. Initialize application
679 and session scope objects. Fixes non-aplication events hook up.
681 * HttpStaticObjectsCollection.cs: added StaticItem and delay the
682 creation of the objects until they are requested.
684 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
686 * HttpApplicationFactory.cs: fixlet for session events hook.
688 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
690 * HttpApplicationFactory.cs: attach all events from Type and BaseType
691 at the same time. Fixes bug #53454.
693 2004-01-27 Jackson Harper <jackson@ximian.com>
695 * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
696 null now, dont hadd the header if it does.
697 * HttpCacheVaryByParams.cs: Return null if there are no items.
699 2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
701 * HttpCachePolicy.cs: it's not public.
702 * HttpRuntime.cs: wait for requests before disposing the queue.
704 2004-01-15 Jackson Harper <jackson@ximian.com>
706 * HttpCachePolicy.cs: Fix typo causing varyby params headers to be
707 created when they shouldn't be.
709 2004-01-14 Jackson Harper <jackson@ximian.com>
711 * TraceData.cs: Fix some typos in the output text. Fix control
712 position when adding controls recursively.
714 2004-01-14 Jackson Harper <jackson@ximian.com>
716 * HttpCachePolicy.cs: Expose duration and sliding properties.
718 2004-01-14 Jackson Harper <jackson@ximian.com>
720 * HttpCachePolicy.cs: Add an event that is fired when the
721 cacheability is updated. The response uses this to determine
722 whether or not it needs to cache itself.
723 * HttpResponse.cs: When the cacheability is updated either create
724 or dispose of the cached raw response based on whether or not we
725 wil need it. This allows output caching to be controlled
728 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
730 * HttpContext.cs: add setter for ConfigTimeout.
731 * HttpException.cs: added Description property and HTML encode some
734 * HttpRequest.cs: support request validation.
736 * HttpRequestValidationException.cs: added message and description.
738 * HttpServerUtility.cs: implemented ScriptTimeout.
740 2004-01-11 Jackson Harper <jackson@ximian.com>
742 * TraceManager.cs: Dont crash if there is no trace config element.
744 2004-01-11 Jackson Harper <jackson@ximian.com>
746 * HttpRequest.cs: Add property for determining if the request is
749 2004-01-10 Jackson Harper <jackson@ximian.com>
751 * TraceContext.cs: Handle tracing when it is enabled in the config
752 file but not on the page.
753 * TraceManager.cs: Get settings from the configuration object.
754 * HttpRuntime.cs: Create trace manager in the first request start
755 so it can get configuration settings.
757 2004-01-10 Jackson Harper <jackson@ximian.com>
759 * TraceContext.cs: Save the request path in the trace data.
760 * TraceData.cs: Add RequestPath property, make some rendering
761 methods internal static so the TraceHandler can use them.
762 * TraceManager.cs: Expose trace data, add a method for clearing
765 2004-01-10 Jackson Harper <jackson@ximian.com>
767 * HttpRuntime.cs: Add trace manager
768 * TraceManager.cs: New class for handling trace configuration and
769 storing trace data objects.
770 * TraceContext.cs: Save trace data to the trace manager. Fix typo.
772 2004-01-10 Jackson Harper <jackson@ximian.com>
774 * TraceData.cs: New class for storing trace data. Data is stored
775 here instead of the trace context so it can be saved and accessed
776 from the trace handler.
777 * TraceContext.cs: Save data in the TraceData object, let the
778 trace data object handle the rendering.
780 2004-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
782 * HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
783 Thanks to Jan Jaros (mono-bug@jerryweb.info).
785 * HttpRequestValidationException.cs: fix comment.
787 2004-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
789 * HttpException.cs: default to error 500. Fixes bug #52623.
791 2004-01-04 Jackson Harper <jackson@ximian.com>
793 * TraceContext.cs: Store and render trace info times. Also render
794 cookie sizes. Remove debug code.
796 2004-01-04 Jackson Harper <jackson@ximian.com>
798 * HttpResponse.cs: Set the cached response date header so it can
800 * HttpResponseHeader.cs: Let values be set so we can update cached
801 response header values.
803 2004-01-04 Jackson Harper <jackson@ximian.com>
805 * HttpResponse.cs: Implement RemoveOutputCacheItem.
807 2004-01-04 Jackson Harper <jackson@ximian.com>
809 * HttpCachePolicy.cs: Add internal method to get the vary by custom string
810 * HttpCacheVaryByHeaders.cs: Add internal method to get the header names.
812 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
814 * HttpRuntime.cs: implemented MachineConfigurationDirectory,
816 2004-1-1 Alon Gazit <along@mainsoft.com>
817 * HttpWriter.cs: add check in Write() in order to prevent
818 NullReferenceException.
820 2004-1-1 Alon Gazit <along@mainsoft.com>
821 * HttpResponse.cs: implemented ExpiresAbsolute and Expires.
823 2003-12-18 Jackson Harper <jackson@ximian.com>
825 * TraceContext.cs: Write () methods are not warnings.
827 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
829 * HttpBrowserCapabilities.cs: added GetClrVersions ().
830 * HttpCachePolicy.cs: added SetAllowResponseInBrowserHistory ().
831 * HttpContext.cs: added set_Current and RewritePath (s, s, s) for 1.1.
832 * HttpRequest.cs: added set_ContentType, SetPathInfo and ValidateInput.
833 * HttpRequestValidationException.cs: new class for 1.1
834 * HttpResponse.cs: added RedirectLocation.
835 * HttpRuntime.cs: added UnloadAppDomain.
836 * HttpServerUtility.cs: Execute (s, t, b) is internal for < 1.2
837 * HttpUtility.cs: copied UrlPathEncode from HttpServerUtility.
838 * HttpWorkerRequest.cs: added [ComVisible] and made the ctor public.
840 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
842 * HttpContext.cs: implemented IsCustomErrorEnabled and
843 IsDebuggingEnabled. Added internal ErrorPage property.
845 * HttpRuntime.cs: on error, check if we have a custom error page enabled
846 to handle it and redirect.
848 * HttpResponse.cs: added RedirectCustomError (), which actually does
849 the redirection to the error page.
851 2003-12-16 Jackson Harper <jackson@ximian.com>
853 * TraceContext.cs: Render all the data, and the stylesheet.
855 2003-12-16 Jackson Harper <jackson@ximian.com>
857 * TraceContext.cs: Add incomplete render method.
859 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
861 * CapabilitiesLoader.cs: loads browser detection and capabilities data
862 from browscap.ini file by Gary J. Keith.
864 * HttpBrowserCapabilities.cs: removed almost all TODOs.
866 * HttpRequest.cs: fixed Browser property.
868 2003-12-15 Jackson Harper <jackson@ximian.com>
870 * TraceContext.cs: Initial implementation of storing data.
871 * HttpContext.cs: Create and expose a trace object.
873 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
875 * HttpApplication.cs: ThreadAbortException is ok on Redirect.
876 * HttpContext.cs: added TimeoutPossible property.
877 * HttpResponse.cs: throw ThreadAbortException if End () is called within
878 a step in which is possible to timeout.
882 2003-12-04 Jackson Harper <jackson@ximian.com>
884 * HttpRequest.cs: Cleanup method.
886 2003-12-04 Jackson Harper <jackson@ximian.com>
888 * HttpValueCollection.cs: Allow blank value names. Posting
889 <blank>=SomeValue is valid. And occurs if a radio button does
890 not have its name set.
892 2003-12-03 Jackson Harper <jackson@ximian.com>
894 * HttpResponse.cs: Actually apply an app path modifier in
895 ApplyAppPathModifer and add a method to set the app path modifier.
896 * HttpRequest.cs: Add utility method for setting a request header.
898 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
900 * HttpApplication.cs: handle FileNotFound and DirectoryNotFound
901 exceptions when creating the handler to generate a better error page.
903 * HttpException.cs: display the http_code if available. Changed all
904 \n by \r\n to make the hidden stack trace readable.
906 * StaticFileHandler.cs: don't send the real path in th eerror.
908 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
910 * HttpContext.cs: updated GetConfig and GetAppConfig to new API.
912 * HttpResponse.cs: separate initialization of the HttpWriter, as it
913 tries to read configuration settings while the config. system is not
914 available (ie, before the first request).
916 * HttpRuntime.cs: delayed queueManager and response writer
917 initialization until the configuration system is working.
919 2003-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
921 * HttpRuntime.cs: added request queue handling.
923 * QueueManager.cs: simple request queue.
925 * TimeoutManager.cs: added some locks to prevent the enumerator used in
926 CheckTimeouts to be out of synch.
928 2003-11-25 Jackson Harper <jackson@ximian.com>
930 * HttpStaticObjectsCollection.cs: Add methods for serialization
931 and conversion to/from byte arrays.
933 2003-11-21 Jackson Harper <jackson@ximian.com>
935 * HttpResponse.cs: When caching data set the content length in the
936 cached repsonse so that only that amount will be written back to
937 the client. Add method to write a range of binary data.
938 * HttpCacheVaryByParams.cs: Add method to retrieve param names.
940 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
942 * HttpApplication.cs:
944 * HttpRuntime.cs: add timeout handling.
945 * TimeoutManager.cs: new class that takes care of aborting threads on
948 2003-11-19 Jackson Harper <jackson@ximian.com>
950 * HttpWriter.cs: Use a constant for the buffer size so the cache
951 can get the buffer size. Add method to get the buffer.
952 * HttpResponse.cs: Methods for getting data to cache, and setting
954 * HttpCachePolicy.cs: Expose a pages cache expire time.
956 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
959 * HttpWriter.cs: some fixes to allow closing a response stream without
962 2003-11-13 Jackson Harper <jackson@ximian.com>
964 * HttpCachePolicy.cs: Make sure cacheability and maxage get
965 set. Add method to set Http response header data
966 * HttpCacheVaryByParams.cs: Add method to create a response header.
967 * HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
968 * HttpResponse.cs: Set cache headers.
970 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
972 * HttpModuleCollection.cs (GetKey): Recursion, again!
974 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
976 * HttpClientCertificate.cs (ValidUntil): recursion!
978 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
980 * SiteMapNode.cs (GetDataSourceView): Implement.
981 * SiteMapProvider.cs: Typo fixing.
982 * XmlSiteMapProvider.cs: We shouldnt resolve here.
984 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
986 * SiteMap.cs (Init): implement a hack that doesnt need the config
987 stuff. Should do that later.
988 * SiteMapNodeCollection (OnValidate): Fix recursion.
989 * SiteMapProvider.cs: We dont implement some culture stuff work
991 * XmlSiteMapProvider.cs: Added.
993 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
995 * ISiteMapProvider.cs:
998 * SiteMapNodeCollection.cs:
999 * SiteMapProvider.cs:
1000 * SiteMapProviderCollection.cs: V2 sitemap related stuff.
1002 2003-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1004 * HttpRequest.cs: don't attempt to read more bytes than specified
1007 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1012 * HttpValueCollection.cs: encoding fixes/updates.
1014 * HttpWriter.cs: when updating the encoding, flush the existing stream.
1017 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
1019 * HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
1020 return false (which makes sense, as the custom errors *arent* enabled;
1022 * HttpResponseStream.cs: you actually can write with len = 0
1024 2003-11-03 Jackson Harper <jackson@ximian.com>
1026 * HttpResponse.cs (ContentEncoding): Throw
1027 ArgumentNullException. Patch by Yaron Shkop.
1029 2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1031 * HttpMultipartContentParser.cs : Quick fix for cygwin build.
1032 CSC complains that constant char cannot be casted as byte.
1034 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1036 * HttpApplication.cs: added AssemblyLocation property.
1038 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1040 * HttpApplicationFactory.cs: use NoParamsInvoker.
1041 * HttpRequest.cs: support request filters.
1042 * HttpRequestStream.cs: mono-stylized and added new Set method.
1044 * NoParamsInvoker.cs: proxy class to invoke user-provided methods
1045 without parameters that are invoked by EventHandlers.
1047 2003-10-13 Lluis Sanchez Gual <lluis@ximian.com>
1049 * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
1050 to invariant culture.
1052 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1055 * HttpServerUtility.cs: change the response writer in Execute. Thanks
1056 to Rich Alimi <rich@velvetsea.net> for noticing this.
1058 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1060 * HttpApplicationFactory.cs: support for wiring up events without
1063 2003-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1065 * HttpUtility.cs: small memory usage reduction.
1067 2003-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1069 * HttpApplication.cs: pass the Uri, not the file path to
1070 when looking for a handler.
1072 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1074 * HttpRequest.cs: small fix needed when reading big POST data.
1076 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
1078 * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
1079 (this will get the address from the request headers).
1081 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
1083 * HttpServerUtility.cs: In Transfer(), preserve the query string if
1086 2003-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1088 * HttpApplication.cs: ensure we do all the EndRequest steps. Don't
1089 filter the output on error.
1091 * HttpResponse.cs: modified DoFilter to allow bypassing filtering.
1093 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1095 * HttpApplication.cs: when the request is completed or an
1096 error happens, execute all the delegates attached to EndRequest, not
1097 only the last one. This makes xsp/test/authtest work again.
1099 * HttpMethodNotAllowedHandler.cs: fixed description for http
1102 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1104 * HttpRequest.cs: quick way of checking that the path is within the
1105 root for the application. Thanks to Johannes for reporting.
1107 * HttpRuntime.cs: use the status code from teh exception when it'ss a
1110 * StaticFileHandler.cs: forbidden is 403.
1112 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1114 * HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
1115 <rich@velvetsea.net>.
1117 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1119 * HttpException.cs: make the unhandled error more like the MS one.
1120 * HttpRuntime.cs: set a 500 error code on unhandled exceptions.
1122 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1124 * HttpResponse.cs: flush headers when the body length is 0.
1125 * StaticFileHandler.cs: added If-Modified-Since handling patch slightly
1126 modified from the original by Piers Haken <piersh@friskit.com>.
1128 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1130 * HttpResponse.cs: another patch from totte and me. This one prevents
1131 writing output if the client have disconnected and filters the data
1132 when there's a non-final Flush in the middle of the process.
1134 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1136 * HttpApplication.cs: fixed typos. Closes bug #44197.
1138 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1140 * HttpApplication.cs:
1141 * HttpApplicationFactory.cs: fix duplicate application OnStart events.
1143 Patch by Patrik Torstensson.
1145 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1147 * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
1148 overload. The previous one only admits static methods.
1150 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1152 * ProcessModelInfo.cs: Fixed signature
1154 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1156 * WebCategoryAttribute.cs: Implemented localization
1157 * WebSysDescriptionAttribute.cs: Implemented localization
1159 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1161 * HttpRuntime.cs: also clear the headers that may have been set upon
1162 error processing the request.
1164 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1166 * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
1169 * HttpWriter.cs: flush the filter after writing.
1171 2003-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1173 * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
1175 2003-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1177 * HttpContext.cs: Session doesn't have a setter.
1179 * HttpResponse.cs: Request is private.
1181 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1183 * HttpRequest.cs: fixed Headers property. It was getting known headers
1184 values instead of known headers names.
1186 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1188 * HttpApplication.cs: prevent nullref if an error happens before context
1190 * HttpException.cs: small fix in the stack trace sent.
1191 * HttpUtility.cs: the lock is not needed.
1193 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1195 * HttpRequest.cs: added REMOTE_PORT.
1196 * HttpValueCollection.cs: fixed bug #45490.
1198 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1200 * HttpApplication.cs:
1201 * HttpApplicationFactory.cs: fire application start and session
1204 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1206 * HttpException.cs: encode as HTML the inner exception that
1207 is appended as a comment at the end of error pages.
1209 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1211 * HttpWriter.cs: don't do anything in Flush. Fixes #42249.
1213 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1215 * HtmlizedException.cs: added more virtual methods.
1217 * HttpException.cs: some work on the output when there's a source
1220 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1222 * HtmlizedException.cs: simplified to cope with the new interface.
1224 * HttpApplicationFactory.cs: use the application file parser to get the
1227 * HttpException.cs: small changes. Needs some more work on
1230 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1232 * HttpRequest.cs: fixed Url property.
1234 2003-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1236 * HtmlizedException.cs:
1237 * HttpException.cs: display the correct line number in error messages.
1239 2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1241 * HttpCachePolicy.cs: implemented all TODOs.
1242 * HttpRequestStream.cs: make it internal.
1244 2003-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1246 * HttpContext.cs: implemented RewritePath in other way.
1247 * HttpRequest.cs: removed SetPhysicalPath and added SetForm.
1248 * HttpServerUtility.cs: implemented Transfer (string, bool).
1250 2003-03-16 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
1251 * HttpContext.cs : Implemented RewritePath
1252 * HttpRequest.cs : Added internal function SetPhysicalPath
1254 2003-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1256 * HttpServerUtility.cs: implemented Transfer ().
1258 2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1260 * HttpRuntime.cs: Cache no longer have a Dispose method.
1262 * HttpServerUtility.cs: removed MonoTODO.
1264 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1266 * HttpHelper.cs: store the values in an ArrayList to get them in correct
1269 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1271 * HttpApplicationFactory.cs: Global.asax takes precedence over
1272 global.asax if it exists.
1274 * HttpRequest.cs: use allowCrossAppMapping in MapPath.
1276 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1278 * HttpApplication.cs: CreateHttpHandler is now internal.
1280 * HttpRequest.cs: allow setting QueryStringRaw, which
1281 invalidates the data obtained from the previous value. Added internal
1284 * HttpServerUtility.cs: implemented Execute and GetLastError.
1286 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1288 * HttpServerUtility.cs: style.
1290 2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1292 * HttpApplication.cs: only execute the EndRequest step on error
1293 condition or request marked as completed. This prevent page events from
1294 being called when, for example, the url authorization module forbids
1297 2003-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1299 * HttpRequest.cs: implemented the indexer.
1301 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1303 * HtmlizedException.cs: base class for exceptions that makes it easy to
1304 generate error pages.
1306 * HttpException.cs: improved error displaying.
1308 * HttpRuntime.cs: removed debugging output.
1310 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1312 * HttpApplication.cs: display the error instead of hanging when we get
1313 any error before the last step of the request.
1315 2003-02-04 Tim Haynes <thaynes@openlinksw.com>
1317 * HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement
1320 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1322 * HttpRequest.cs: added BaseVirtualDir property and use it in MapPath.
1324 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1326 * HttpRequest.cs: implemented CurrentExecutionFilePath.
1328 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1330 * HttpApplication.cs: keep _lasterror if no context. Attach
1331 application events *after* modules initialization (if not, User is not
1332 set when the user handler is called).
1334 * HttpApplicationFactory.cs: made all methods related to
1335 AttachEvents static. I will fix OnStart/OnEnd for application and
1338 * HttpRequest.cs: don't initialize cookies twice.
1340 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1343 (ApplyAppPathModifiers): return the root directory for "".
1345 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1347 * HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.
1349 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1351 * HttpApplication.cs: added new state to handle default authentication.
1353 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1355 * HttpContext.cs: removed hack to get the User.
1357 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1359 * HttpUtility.cs: fixed bug #36038. Thanks to juancri@tagnet.org for
1360 reporting the bug and how to fix it.
1362 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1364 * HttpCookie.cs: send 'expires' in the header.
1366 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1368 * HttpValueCollection.cs: patch from Botjan Vizin
1369 <bostjan.vizin@siol.net> that implements ToString (bool).
1371 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1373 * HttpApplicationFactory.cs: add the context as parameter when building
1374 the application Type.
1376 * HttpCookie.cs: new internal constructor.
1377 * HttpCookieCollection.cs: new internal method to make a cookie expire.
1379 * HttpRequest.cs: MapPath fixes.
1380 * HttpResponse.cs: implemented ApplyAppPathModifier.
1381 * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
1383 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1385 * HttpContext.cs: hack to create a default user when there's no one.
1386 Implemented GetConfig (string).
1388 * HttpRequest.cs: fixes to MapPath (string).
1390 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1392 * HttpRuntime.cs: avoid nulls and exception when getting resource
1395 * StaticFileHandler.cs: added file name to error message.
1397 2002-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1399 * HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
1401 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1403 * HttpApplicationFactory.cs: get the events from the application class,
1404 fire Application/Session Start/End and add the others as application
1407 2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1409 * HttpApplicationFactory.cs: compile global.asax file if it exists.
1411 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1413 * HttpRequest.cs: provide a default Browser until we detect it.
1415 (End): do not close the connection here.
1416 (Flush (bool)): send the headers when, for example, Redirect () is
1419 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1421 * HttpException.cs: simple error output.
1423 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1425 * HttpApplication.cs: style.
1426 * HttpException.cs: style.
1427 * HttpRuntime.cs: only flush the response if there are no errors.
1428 Otherwise, write an error output.
1429 * HttpWriter.cs: change Unicode to UTF8.
1431 2002-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1433 * HttpApplication.cs: don't begin the request using ExecuteNextAsync
1434 (it fails to work on NetServ).
1436 * HttpWorkerRequest.cs: typo.
1438 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1440 * HttpValueCollection.cs: the value may contain trailing '=' as it is
1441 UrlEncoded. Don't split name=value based on '='.
1443 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1445 * HttpCookie.cs: made GetCookieHeader internal.
1447 * HttpRequest.cs: get cookies from request.
1449 * HttpResponse.cs: send cookies. Implemented
1450 AddFileDependencies (). Added check for _Writer == null in Flush
1451 (Patrik ;-). Clear the content if HEAD or SupressContent == true.
1452 Removed redirect hack used in old server.
1454 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1456 * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
1457 most ContentLength bytes.
1459 * HttpResponse.cs: now it sends the headers. Added
1460 X-Powered-By header :-).
1462 * HttpRuntime.cs: fixed typo.
1464 * HttpValueCollection.cs: cosmetic changes.
1466 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1468 * HttpApplication.cs: reenabled a few lines of code
1469 (ThreadPool already fixed).
1474 * HttpValueCollection.cs:
1475 * HttpWriter.cs: Use WebEncoding.Encoding.
1477 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1479 * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
1480 This fixes sending bytes and allows mixing byte with chars.
1482 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1484 * HttpResponse.cs: implemented WriteFile methods.
1485 * MimeTypes.cs: removed duplicated entries.
1487 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1489 * HttpResponse.cs: don't throw exception in a couple of
1490 methods not yet implemented.
1492 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1494 * HttpApplication.cs: fixed type and handle factories when creating
1495 IHttpHandler for a request.
1497 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1499 * HttpApplication.cs: use handlers from configuration.
1500 * HttpContext.cs: get handlers from ConfigurationSettings.
1502 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1504 * HttpMethodNotAllowedHandler.cs:
1506 * StaticFileHandler.cs: Modified file.
1508 * HttpUtility.cs: implemented all missing methods.
1511 2002-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1513 * System.Web/HttpApplication.cs: use the static file handler.
1514 * System.Web/HttpForbiddenHandler.cs: handler to forbid access.
1515 * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
1518 * System.Web/HttpUtility.cs: finished all UrlDecode methods.
1519 * System.Web/MimeTypes.cs: map from file extension to MIME type.
1520 * System.Web/StaticFileHandler.cs: serves static files
1522 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1524 * System.Web/HttpApplication.cs:
1525 * System.Web/HttpApplicationFactory.cs:
1526 * System.Web/HttpRequest.cs:
1527 * System.Web/HttpRuntime.cs: we are now able to compile pages and use
1528 HttpApplication, HttpRuntime and SimpleWorkerRequest.
1530 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1532 * HttpApplication.cs: added some missing methods.
1533 * HttpApplicationFactory.cs: get event handlers for the application.
1534 * HttpAsyncResult.cs: little fixes.
1535 * HttpRequest.cs: make Encoding work even with no worker request.
1537 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1539 * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
1540 to add HttpMapPath to the list file...
1542 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1544 * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
1545 report when i get a test case.
1547 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1549 * HttpApplicationFactory.cs:
1550 * HttpCachePolicy.cs:
1551 * HttpResponseHeader.cs:
1552 * HttpResponseStream.cs:
1553 * HttpResponseStreamProxy.cs:
1554 * HttpValueCollection.cs: misc. fixes based on class status page.
1556 * IHttpMapPath.cs: New file.
1558 * HttpRequest.cs: implemented ContentEncoding.
1559 * HttpWorkerRequest.cs: mono-stylized and implemented
1560 SendResponseFromMemory.
1562 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1564 * HttpContext.cs: reformatted.
1565 * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
1568 2002-08-05 Patrik Torstensson <ptorsten@hotmail.com>
1570 * HttpApplication.cs: Implemented a state machine to allow handling of
1571 HttpModules and HttpHandlers. Implementation of async handlers.
1573 * HttpApplicationFactory.cs: Factory for creating HttpApplication
1574 instances, including caching.
1576 * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
1577 application instance to execute requests in and implementation of
1578 request execution (still no request queue).
1580 * HttpAsyncResult.cs: New file to handle async module results.
1582 * HttpRequest.cs: Change signature of Dispose
1583 * HttpResponse.cs: new internal method allowing filtering to happen
1584 during the request flow in the state machine.
1586 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1588 * HttpApplication.cs: events were not being initialized.
1590 2002-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1592 * ProcessModelInfo.cs: fixed compilation.
1594 2002-07-25 Tim Coleman <tim@timcoleman.com>
1595 * ProcessModelInfo.cs:
1597 * HttpParseException.cs:
1598 * HttpCompileException.cs:
1599 * HttpUnhandledException.cs:
1600 Internal constructors added to these
1602 2002-07-24 Tim Coleman <tim@timcoleman.com>
1604 Fix constructor, reference to shutdownreason.
1606 2002-07-24 Tim Coleman <tim@timcoleman.com>
1607 * HttpCachePolicy.cs:
1608 Added stubbs to this class.
1609 * HttpCacheability.cs:
1610 * HttpCacheRevalidation.cs:
1611 * HttpValidationStatus.cs:
1612 * ProcessShutdownReason.cs:
1615 Reorder the enumerations (and in some cases make
1616 one-based) in order to agree with the .NET
1617 implementation, based on the class status page.
1619 Implementation of this class.
1621 2002-07-23 Tim Coleman <tim@timcoleman.com>
1622 * HttpCompileException.cs:
1623 * HttpParseException.cs:
1624 * HttpUnhandledException.cs:
1626 * HttpApplication.cs:
1627 * HttpBrowserCapabilities.cs:
1628 Added missing methods stubbs and attributes based
1629 on the class status page. Also reformatted some
1630 source for consistency.
1632 2002-07-23 Tim Coleman <tim@timcoleman.com>
1633 * HttpUtility.cs: Moved entities hashtable into main
1634 class as a static object, so we don't instantiate
1635 a new one every time. Also put the hashtable
1636 building into a lock block.
1638 2002-07-22 Tim Coleman <tim@timcoleman.com>
1639 * HttpUtility.cs: Cleanup of the code, implementation
1640 of HtmlDecode/HtmlEncode functions
1642 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1644 * HttpResponse.cs: quick&dirty hack to make redirection work. Should
1645 be out of there once we have SimpleWorkerRequest.
1647 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1649 * HttpUtility.cs: little typo, big headache.
1651 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1653 * HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
1655 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1657 * System.Web/HttpResponse.cs:
1659 Fixes based on class status page:
1661 - Add attributes (DefaultEvent, ParseChildren).
1663 - Explicitly implement some interfaces (IPostBackDataHandler
1664 and IPostBackEventHandler).
1665 - Implemented some missing methods.
1667 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1670 (Session): return null instead of throwing an exception.
1673 (HttpMethod): return RequestType if not set.
1674 (GetRawContent): return QueryString if we don't have a
1677 * HttpUtility.cs: fixed Decode and Encode.
1679 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1681 * HttpApplication.cs:
1682 * HttpContext.cs: added System.Web.SessionState namespace.
1684 * HttpSessionState.cs: removed. It is under
1685 System.Web.SessionState.
1687 2002-06-10 Duncan Mak <duncan@ximian.com>
1689 * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
1691 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1693 * HttpRequest.cs: implemented Browser property.
1695 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1697 * HttpBrowserCapabilities.cs: stubbed out.
1699 2002-05-18 Miguel de Icaza <miguel@ximian.com>
1701 * HttpRuntime.cs: Reformat file.
1703 2002-05-07 Duncan Mak <duncan@ximian.com>
1705 * HttpBrowserCapabilities.cs: Added, replacing
1706 HttpBrowserCapabilites because of typo.
1708 * HttpBrowserCapabilites.cs: Removed, replaced by above.
1710 * HttpRequest.cs (Browser): Fixed typo.
1712 2002-04-12 Patrik Torstensson <patrik.torstensson@labs2.com>
1714 * HttpApplication.cs: Minor updates
1715 * HttpApplicationState.cs: Ready.
1716 * HttpClientCertificate.cs: Signature updates
1717 * HttpValueCollection.cs: ready
1718 * HttpStaticObjectsCollection.cs: ready
1719 * HttpResponseHeader.cs: made internal only
1720 * HttpResponse.cs: Signature updates
1721 * HttpPostedFile.cs: ready
1722 * HttpCacheVaryByHeaders.cs: ready (except communication to policy)
1723 * HttpCacheVaryByParams.cs: ready (except communication to policy)
1725 System.Web is now over 60% ready..
1727 2002-04-11 Patrik Torstensson <patrik.torstensson@labs2.com>
1729 * HttpException.cs: 95% ready, only windows dependent code left
1730 * HttpFileCollection.cs: Finished.
1731 * HttpRequest.cs: Minor fixes and fixed signature problems
1732 * HttpResponse.cs: Implementation of missing methods and signature problems
1733 * HttpResponseHeader.cs: Fixed signature problems
1734 * HttpRuntime.cs: Fixed signature problems
1735 * HttpServerUtility.cs: Added support for HttpApplication
1736 * HttpSessionState.cs: Fixed signature issues
1737 * HttpUtility.cs: fixed signature issues
1738 * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
1739 * HttpWorkerRequest.cs: Fixed small signature issue
1740 * HttpWriter.cs: Fixed signature issue
1741 * HttpApplication.cs: Basic implementation
1742 * HttpApplicationState.cs: Small fixes to support major change comming up
1743 * HttpBrowserCapabilities.cs: Added Type method
1744 * HttpClientCertificate.cs: Almost ready, needs to parse certificate.
1745 * HttpContext.cs: Fixed signature issues and added last methods.
1746 * HttpCookie.cs: Full implementation
1747 * HttpCookieCollection.cs: Full implementation
1748 * TraceContext.cs: Methods implemented.
1749 * HttpPostedFile.cs: Placeholder
1750 * HttpStaticObjectsCollection.cs: Placeholder
1751 * HttpModuleCollection.cs: Ready, will be used during the major revamp.
1753 * Fixed a number of other small signature problems also (class status page)
1756 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
1758 * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
1759 * Checkin of all new files (noted in last changenote)
1761 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
1763 * HttpContext.cs: First implementation (basic support, few methods left to impl)
1764 * HttpException.cs: Partial implementation (basic support)
1765 * HttpHelper.cs: Header parse helper, used by runtime (non public)
1766 * HttpRequest.cs: Implementation (all methods there, not all fully impl)
1767 * HttpRequestStream.cs: Full implementation
1768 * HttpResponse.cs: Partial implementation(almost all methods)
1769 * HttpResponseHeader.cs: Header helper
1770 * HttpResponseStream.cs: Full implementation - Response stream support
1771 * HttpResponseStreamProxy.cs: Implementation - filter support
1772 * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
1773 * HttpServerUtility.cs: Implemented usage of HttpContext for methods
1774 and moved encoding functions to HttpUtility.
1776 * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
1777 added the Attribute encoding functions.
1779 * HttpValueCollection.cs: Implementation.
1780 * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
1781 * HttpWriter.cs: Implementation (with filter support)
1783 * HttpFileCollection: Added dummy class (placeholder)
1784 * HttpApplication.cs: Added dummy class (placeholder)
1785 * HttpApplicationState.cs: Added dummy class (placeholder)
1786 * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
1787 * HtttpCachePolicy.cs: Added dummy class (placeholder)
1788 * HttpClientCertificate.cs: Added dummy class (placeholder)
1789 * HttpSessionState.cs: Added dummy class (placeholder)
1790 * TraceContext.cs: Added dummy class (placeholder)
1793 2002/04/10 Nick Drochak <ndrochak@gol.com>
1795 * HttpServerUtility.cs: Fix build breaker.
1797 2002-03-28 Wictor Wiln <wictor@iBizkit.se>
1799 * HttpServerUtils.cs : Added some more functionality
1801 2002-03-28 Martin Baulig <martin@gnome.org>
1803 * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
1804 char to a string, use ToString() instead.
1806 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
1808 * WebCategoryAttribute.cs
1809 : Added private attribute.
1811 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
1813 * HttpRuntime.cs : Stubbed methods for
1814 FormatStringResource(...) in agreement with the various
1815 overloads available at String.Format(...)
1817 2002-01-08 Gaurav Vaish <gavish@iitk.ac.in>
1819 * TODOAttribute.cs : Added, as an internal class to the assembly
1821 2002-01-03 Nick Drochak <ndrochak@gol.com>
1823 * HttpRuntime.cs: remove uneeded exception variable from catch and
1824 initialize remaining instance members to avoid compile warnings
1826 2002-01-02 Nick Drochak <ndrochak@gol.com>
1828 * HttpRuntime.cs: fix spelling error/variable name change.
1830 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
1832 * HttpRuntime.cs : Initial implementation
1834 2001-08-29 Bob Smith <bob@thestuff.net>
1836 * HttpWorkerRequest.cs: Partial Implementation.
1838 2001-08-16 Bob Smith <bob@thestuff.net>
1840 * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
1842 2001-08-09 Bob Smith <bob@thestuff.net>
1844 * BeginEventHandler.cs: Implemented.
1845 * EndEventHandler.cs: Implemented.
1846 * HttpCacheability.cs: Implemented.
1847 * HttpCacheRevalidation.cs: Implemented.
1848 * HttpCacheValidateHandler.cs: Implemented.
1849 * HttpCookieCollection.cs: Implemented.
1850 * HttpCookie.cs: Implemented.
1851 * HttpValidationStatus.cs: Implemented.
1852 * HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
1853 * IHttpAsyncHandler.cs: Implemented.
1854 * IHttpHandler.cs: Implemented.
1855 * IHttpHandlerFactory.cs: Implemented.
1856 * IHttpModule.cs: Implemented.
1857 * ProcessShutdownReason.cs: Implemented.
1858 * ProcessStatus.cs: Implemented.
1859 * TraceMode.cs: Implemented.