1 2005-07-25 Eyal Alalouf <eyala@mainsoft.com>
2 * HttpContext.cs HttpRuntime.cs HttpApplication.cs: timeout is not supported
3 in TARGET_J2EE configuration (no Thread.Abort support).
5 2005-07-25 Eyal Alalouf <eyala@mainsoft.com>
6 * QueueManager.cs: TARGET_J2EE fixes.
7 * HttpApplicationFactory.cs: TARGET_J2EE fixes.
9 2005-07-24 Eyal Alalouf <eyala@mainsoft.com>
10 * HttpRequest.cs: Removed GhFilePath property from TARGET_J2EE.
12 2005-07-19 Eyal Alalouf <eyala@mainsoft.com>
13 * CapabilitiesLoader.cs: Indentation fixes in TARGET_J2EE specific code.
15 2005-07-19 Eyal Alalouf <eyala@mainsoft.com>
16 * Grasshopper compilation fixes. Disabled use of unsupported features under TARGET_JVM/J2EE configuration.
18 2005-07-18 Eyal Alalouf <eyala@mainsoft.com>
20 * HttpRequest.cs: Fix compilation error in TARGET_J2EE config.
21 * HttpApplicationFactory.cs: Fix compilation error in TARGET_J2EE config.
23 2005-07-18 Eyal Alalouf <eyala@mainsoft.com>
25 * CapabilitiesLoader.cs: Fix compilation error in TARGET_J2EE config.
27 2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
29 * SiteMap.cs: Read provider info from the configuration files.
31 2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
33 * HttpResponseHeader.cs: URL encode \r and \n in header values. Fixes
36 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
38 * HttpUtility.cs: fix another stupid buglet in htmldecode.
40 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
44 * HttpRequest.cs: use StrUtils (invariant culture).
46 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
48 * HttpRequest.cs: use StartsWith when looking for 'multipart/form-data'.
49 File uploading was broken since a few commits ago.
51 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
53 * HttpResponse.cs: ensure that the last chunk ('0\r\n\r\n') is sent
54 even if response.Close is called before a final flush. MS/IIS fails to
57 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
59 * HttpRequest.cs: don't print anything for unknown content types in
60 ParseFormData. Use lowercase compare.
62 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
64 * HttpResponse.cs: invariant love.
66 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
68 * HttpResponse.cs: avoid 1 string concat.
69 * HttpRequest.cs: fix BinaryRead. It was totally wrong.
71 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
73 * HttpUtility.cs: don't append an extra 0 when no digits seen. Fixes
76 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
78 * HttpUtility.cs: the lower limit for using &#xx; encoding is 160, not
79 128. Reset number back to 0 after use. Fixes bug #75365.
81 2005-06-19 Svetlana Zholkovsky <svetlanaz-at-mainsoft.com>
82 * In following classes added TARGET_J2EE or/and TARGET_JVM
87 - CapabilitiesLoader.cs
89 - HttpApplicationFactory.cs
93 * Added Mainsoft's specific files :
94 - GhHttpAsyncResult.jvm.cs
96 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
98 * HttpRequest.cs: avoid one intermediate buffer when reading the request
99 body and fail for over limit content length when the content type is
100 not handled as form or multipart data.
102 2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
104 * HttpResponse.cs: fix the check in Close() so that CloseConnection is
105 called even if there has been no final Flush. Fixes bug #75176.
107 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
109 * HttpParseException.cs:
111 * HttpApplication.cs: updates for 1.1 service pack.
113 2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
115 * HttpUtility.cs: fix InvalidCastException.
117 2005-06-05 Kornél Pál <kornelpal@hotmail.com>
119 * HttpWriter.cs: Fixed: _OutputFilter.Close () was called twice.
121 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
123 * HttpUtility.cs: modified HtmlDecode so that it does not need to call
124 Int32.Parse and handles improper &# sequences. Fixes bug #74907.
126 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
128 * SiteMapNodeCollection.cs: Implemented missing methods. The collection
129 does not inherit from CollectionBase any more.
130 * SiteMapNode.cs: Track api changes.
131 * SiteMapProvider.cs: Moved several methods to the new
132 StaticSiteMapProvider class. Other fixes.
133 * XmlSiteMapProvider.cs: Watch changes in the xml files. Other fixes.
134 * SiteMapProviderCollection.cs: Minor fixes.
135 * SiteMap.cs: Added missing event. Avoid double check lock.
136 * StaticSiteMapProvider.cs: New class that implements some of the
137 funtionality of SiteMapProvider.
139 2005-05-25 Ben Maurer <bmaurer@ximian.com>
141 * MimeTypes.cs: Remove extra spaces, they were typos. Fixes 75049.
143 2005-05-13 Atsushi Enomoto <atsishi@ximian.com>
145 * HttpUtility.cs : UrlDecodeToBytes() incorrectly decoded escaped
146 characters. Patch by Kazuki Oikawa.
148 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
150 * HttpRuntime.cs: PlatformID.Unix.
152 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
154 * HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
155 Clear the _Headers array instead of creating a new ArrayList in
158 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
160 * HttpResponse.cs: we had 2 variables to track client connection status.
161 Use only one. Increase the buffer size to 28KB when writing from a file.
163 * StaticFileHandler.cs: set the Content-Type before writing the file.
164 This allows flushing before all the content is written.
166 * HttpApplication.cs: use the variable instead of the property when
167 setting the Principal for the current process.
169 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
171 * ReusableMemoryStream.cs:
172 * HttpWriter.cs: keep a pool of buffers to avoid allocations.
174 2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
176 * HttpResponse.cs: no need to save/restore the thread culture when
177 getting the Date header. According to Ben's profiling, this is a big
180 * HttpRuntime.cs: ignore exceptions that might be thrown when unloading
183 2005-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
185 * HttpApplicationFactory.cs: ignore any exception thrown when invoking
186 an application event.
188 2005-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
190 * HttpBrowserCapabilities.cs: fix Win32 property.
192 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
194 * HttpResponse.cs: only add the charset when explicitly set or for
195 well-known content types.
197 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
199 * HttpCachePolicy.cs:
200 * HttpAsyncResult.cs:
201 * HttpClientCertificate.cs:
204 * HttpCacheVaryByHeaders.cs:
205 * HttpBrowserCapabilities.cs:
207 * HttpCacheVaryByParams.cs: no more warnings.
209 * QueueManager.cs: check for local connections with minLocalFreeThreads.
211 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
213 * ServerVariablesCollection.cs: shuffled variables, added missing ones
214 and call a method in HttpRequest to set the HTTP_ variables.
216 * HttpRequest.cs: new method to add HTTP_ variables to a collection.
218 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
220 * HttpRequest.cs: GetAllHeaders was returning the value twice instead
221 of 'name: value'. When HTTP_ is requested on the output, don't include
224 2005-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
226 * HttpCookieCollection.cs: when adding more than one cookie with the
227 same name, the last one is the winner.
229 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
231 * HttpRequest.cs: correctly store the value cookies in Params. Fixes
234 2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
236 * HttpRequest.cs: Path and FilePath also change when RewritePath is
237 called. Fixes bug #73055.
239 2005-02-23 Sebastien Pouliot <sebastien@ximian.com>
241 * HttpRequest.cs: Make sure that any access after a ValidateInput
242 throws an exception if the data isn't safe.
244 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
246 * CapabilitiesLoader.cs: fix the path, as machine.config is now in a
247 x.x/ directory below $PREFIX/etc/mono.
249 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
251 * HttpRequest.cs: fail on unicode full-width '<' and '>' too. Fixes
252 a security report (http://secunia.com/advisories/14325) that wan't
253 reported to us before public disclosure.
255 2005-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
257 * HttpResponse.cs: send the calculated content length even when it's 0.
260 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
262 * HttpContext.cs: Added internal property to keep a reference to
263 the last accessed page. Page uses this to implement PreviousPage.
265 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
267 * ProcessModelInfo.cs: Fixed warning.
269 2005-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
271 * TraceContext.cs: writing a message without any other argument is not
272 a warniing. Fixes bug #72017.
274 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
276 * HttpApplication.cs: if there are no more handlers, finish the
277 request and ensure we call Complete on it. Now FreeTextBox 3.0 works.
279 2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
281 * HttpRequest.cs: honor the maxRequestSize limit from machine.config.
283 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
285 * HttpApplication.cs: reread application CultureInfo as web.config
286 might have changed. Fixes bug #62539.
288 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
290 * HttpResponse.cs: fixed ApplyAppPathModifier to insert the session ID.
292 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
294 * HttpApplicationFactory.cs: monitor changes in global.asax and bin
295 directory and shutdown the application when that happens. Fixes bug
298 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
300 * ReusableMemoryStream.cs: copied from System.IO.MemoryStream and
301 slightly modified to allow expanding the buffer for cases on which the
302 regular MemoryStream don't allow it.
304 * HttpWriter.cs: use the new ReusableMemoryStream and fix bug #59841.
305 Otherwise we would have to allocate a new MemoryStream...
307 2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
309 * HttpApplication.cs: Create() is now GetInstance().
311 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
313 * SiteMapNodeCollection.cs: Added missing properties.
314 * HttpParseException.cs: Added 2.0 methods and properties.
315 * SiteMapNode.cs: Added missing methods and properties.
316 * SiteMapProvider.cs, XmlSiteMapProvider.cs,
317 SiteMapProviderCollection.cs: IProvider does not exist any
318 more, it is now ProviderBase.
319 * ISiteMapProvider.cs: Deleted.
320 * ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
322 * SiteMap.cs: Minor fixes.
324 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
326 * SiteMapProviderCollection.cs: Fixed warning.
327 * HttpApplication.cs: Added new 2.0 events.
329 2004-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
331 * HttpResponse.cs: added internl SetHeadersSent.
332 * HttpRuntime.cs: don't throw the 'headers already sent' exception
333 if we're sending a runtime error.
335 2004-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
337 * HttpApplication.cs: undo the TimeoutManager.(Add|Remove) shuffling.
338 It causes troubles under heavy load.
340 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
342 * SiteMap.cs: don't lock on Type.
343 * CapabilitiesLoader.cs: avoid 2 locks when loading data.
345 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
347 * HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
348 presence of rewriting.
350 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
352 * HttpApplication.cs: don't hang if a sync step is aborted. Fixes the
353 system.web portion of bug #68270.
355 2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
357 * TraceContext.cs: don't cast to Page is the handler it's
360 2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
362 * HttpRequest.cs: CurrentExecutionFilePath is the one that
363 changes when Transfer or Execute are used, not FilePath.
365 * HttpServerUtility.cs: moved form saving/restoring from
366 Transfer to Execute, as it's needed there too. the query string is
367 correctly set now. Fixes bug #67388.
369 * HttpContext.cs: use SetCurrentExePath instead of SetFilePath.
371 2004-10-03 Ben Maurer <bmaurer@ximian.com>
373 * HttpResponse.cs: use UtcNow
375 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
377 * HttpResponse.cs: SuppressContent does not throw and clears all the
378 buffered output. Fixes bug #67213.
380 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
382 * HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.
384 2004-09-29 Ben Maurer <bmaurer@ximian.com>
386 * HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.
388 2004-09-25 Ben Maurer <bmaurer@ximian.com>
390 * HttpApplication.cs: Make sure requests are removed from
391 the timeout manager. Fixes a major leak. #66751.
393 2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
395 * HttpApplicationFactory.cs:
396 * HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
399 2004-09-12 Ben Maurer <bmaurer@ximian.com>
401 * HttpContext.cs: use CallContext. It is a little bit faster.
403 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
405 * HttpStaticObjectsCollection.cs: don't share static session objects
406 declared in the application file across the application, but on a
407 per-session basis. Fixes bug #65446.
409 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
411 * HttpServerUtility.cs: in Transfer(path), don't keep form data if
412 the transfer is done from inside a page that received a postback.
415 2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
417 * HttpValueCollection.cs: fixed signature of ToString (). Closes bug
420 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
422 * HttpWriter.cs (.ctor): Dont create teh StreamWriter twice
423 (Clear): Don't recreate the MemoryStream and StreamWriter
425 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
427 * HttpApplication.cs: only add/remove to/from the timeout
428 manager when we're in a interruptible step.
430 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
432 * TraceContext.cs: when IsEnabled has not been set, return the value
433 from the TraceManager. Fixes bug #63469.
435 2004-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
437 * HttpRuntime.cs: initialize the response writer when finishing a
438 request because it cannot be queued. Under heavy load we made new
439 requests be processed before the ones that might be queued. This is
442 * QueueManager.cs: instead of queueing/dequeuing separately, we now
443 have a single method that does everything needed to decide which one
444 will be the next request processed.
446 2004-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
448 * HttpRuntime.cs: removed initializations to null in .cctor. Prevent
449 other requests from avoiding the lock if they are received before the
450 configuration system is inited. Ensure that the queue manager is not
451 null before using it (it can be null while the first request is being
454 2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
456 * HttpServerUtility.cs: ensure we have a full virtual path for the
457 request being executed.
459 2004-08-02 Duncan Mak <duncan@ximian.com>
461 * ApplicationShutdownReason.cs: Fixed typos.
464 * HttpDataTransferMode.cs:
465 * HttpRequestPriority.cs: Added [Serializable] attribute.
467 2004-08-02 Duncan Mak <duncan@ximian.com>
469 * ApplicationShutdownReason.cs:
471 * HttpDataTransferMode.cs:
472 * HttpRequestPriority.cs: Added 2.0 enumerations.
474 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
476 * HttpApplication.cs: the file not found might be a dependency.
478 2004-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
480 * HttpCookie.cs: use invariant when formatting expires date. Fixes bug
483 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
485 * HttpApplication.cs: don't keep the session around if we got it from
486 the context. Fixes bug #61232.
488 2004-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
490 * HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
493 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
495 * TraceContext.cs: added internal HaveTrace property whose
496 value is true when the page has a Trace attribute.
498 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
500 * TraceData.cs: fixed <br> output. Closes bug #60181.
502 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
504 * HttpUtility.cs: check for control characters in the string to encode
505 or decode and return the same string if there are none.
507 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
509 * HttpApplication.cs: change/restore the IPrincipal in their own methods
510 and make them internal.
512 2004-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
514 * HttpContext.cs: reverting Pedro's patch and sending mail with test
517 2004-06-09 Pedro Martnez Juli <yoros@wanadoo.es>
519 * HttpContext: User property returns its own "user" value because
520 the context can walk through different Threads. When "User" property
521 is changed, change "Thread.CurrentPrincipal" too.
523 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
525 * HttpRequest.cs: removed extra ^Ms and fixed style of last patch.
527 2004-06-08 Alon Gazit <along@mainsoft.com>
529 * HttpRequest.cs: Add a patch for HttpRequest.ServerVariables.
531 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
533 * HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
534 Fix (at least partially) #59683.
536 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
538 * HttpRequest.cs: reverting patch from Alon Gazit. Uses the above file
539 that doesn't compile.
541 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
543 * TraceData.cs: fixes nullref in an application that relies on
544 r ["Message"] not being null. Closes bug #59679.
546 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
548 * HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.
550 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
552 * HttpRuntime.cs: implemented a 5 simple properties that were TODOs.
554 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
556 * HttpBrowserCapabilities.cs: implemented ClrVersion and GetClrVersions.
557 * HttpException.cs: removed MonoTODO.
559 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
561 * TraceContext.cs: don't check if HttpRuntime.TraceManager
562 is enabled when writing.
564 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
566 * HttpRequest.cs: added ClientTarget internal property.
568 2004-06-03 Lluis Sanchez Gual <lluis@ximian.com>
570 * HttpApplication.cs: Clear the http handler list after releasing the
573 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
575 * TraceData.cs: html-encode the messages written to the trace. Fixes
578 2004-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
580 * HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
583 2004-05-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
585 * HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
586 when SetFilePath is called. This way the cached values are reset and
587 get the right value in case someone (namely SessionStateModule +
588 cookieless session) changes the FilePath after the property cached its
589 value. Fixes bug #59364.
591 2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>
593 * HttpApplicationFactory.cs: Added SignalError (still todo)
595 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
597 * HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
598 chunked encoding disabled. Fixed chunked suffix and end. Send the
599 'lastchunk' marked when in the final Flush even if the content length
600 is 0. This makes mod-mono-server work fine with chunked encoding.
602 * HttpRuntime.cs: Set the _firstRequest* variables to true
603 earlier. TraceContext don't take any parameter now.
605 * TraceManager.cs: don't need a context. Use GetAppConfig.
607 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
609 * HttpApplication.cs: set culture/uiculture from configuration and
610 restore it after each step. Fixes bug #52851.
612 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
614 * HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
615 entities hashtable creation until it's really needed.
617 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
619 * HttpApplicationFactory.cs: if no module matches the name found for a
620 possible event, ignore it. Fixes bug #58542.
622 2004-05-16 Patrik Torstensson <totte@hiddenpeaks.com>
624 * HttpRuntime (Init): Removed old todo
625 * HttApplication : Implemented IHttpHandlerFactory recycling
627 2004-04-28 Patrik Torstensson
629 * HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
632 2004-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
634 * HttpUtility.cs: return null in HtmlDecode for null input instead of
635 throwing an exception. Patch by Jan Jaros (bug #57083).
637 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
639 * TimeoutManager.cs: Swap the order of initialization of contexts
640 and the Timer, to avoid race condition of CheckTimeouts being called
641 before contexts gets initialized.
643 2004-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
645 * HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
646 Now the posted file content does not have the boundaries and headers
649 2004-03-25 Alon Gazit <along@mainsoft.com>
651 * HttpRequest.cs: fix ValidateCookieCollection() to prevent
652 InvalidCastException.
654 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
656 * HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.
658 2004-03-01 Larry Ewing <lewing@ximian.com>
660 * HttpUtility.cs: fix UrlEncodeToBytes count check.
662 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
664 * HttpServerUtility.cs:
665 * HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
668 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
670 * HttpUtility.cs: fixed length check. Closes bug #54201.
671 Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
674 2004-02-11 Jackson Harper <jackson@ximian.com>
676 * TraceData.cs: Use ToString for cookie/header/var name values so
677 null is handled properly.
679 2004-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
681 * HttpApplication.cs: ApplicationState is inited by the factory so,
682 return that value in the property. when we use the context Session,
683 cache it in the instance field.
685 * HttpApplicationFactory.cs: fixed target Type for the event when
686 hooking application and module events. Initialize application
687 and session scope objects. Fixes non-aplication events hook up.
689 * HttpStaticObjectsCollection.cs: added StaticItem and delay the
690 creation of the objects until they are requested.
692 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
694 * HttpApplicationFactory.cs: fixlet for session events hook.
696 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
698 * HttpApplicationFactory.cs: attach all events from Type and BaseType
699 at the same time. Fixes bug #53454.
701 2004-01-27 Jackson Harper <jackson@ximian.com>
703 * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
704 null now, dont hadd the header if it does.
705 * HttpCacheVaryByParams.cs: Return null if there are no items.
707 2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
709 * HttpCachePolicy.cs: it's not public.
710 * HttpRuntime.cs: wait for requests before disposing the queue.
712 2004-01-15 Jackson Harper <jackson@ximian.com>
714 * HttpCachePolicy.cs: Fix typo causing varyby params headers to be
715 created when they shouldn't be.
717 2004-01-14 Jackson Harper <jackson@ximian.com>
719 * TraceData.cs: Fix some typos in the output text. Fix control
720 position when adding controls recursively.
722 2004-01-14 Jackson Harper <jackson@ximian.com>
724 * HttpCachePolicy.cs: Expose duration and sliding properties.
726 2004-01-14 Jackson Harper <jackson@ximian.com>
728 * HttpCachePolicy.cs: Add an event that is fired when the
729 cacheability is updated. The response uses this to determine
730 whether or not it needs to cache itself.
731 * HttpResponse.cs: When the cacheability is updated either create
732 or dispose of the cached raw response based on whether or not we
733 wil need it. This allows output caching to be controlled
736 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
738 * HttpContext.cs: add setter for ConfigTimeout.
739 * HttpException.cs: added Description property and HTML encode some
742 * HttpRequest.cs: support request validation.
744 * HttpRequestValidationException.cs: added message and description.
746 * HttpServerUtility.cs: implemented ScriptTimeout.
748 2004-01-11 Jackson Harper <jackson@ximian.com>
750 * TraceManager.cs: Dont crash if there is no trace config element.
752 2004-01-11 Jackson Harper <jackson@ximian.com>
754 * HttpRequest.cs: Add property for determining if the request is
757 2004-01-10 Jackson Harper <jackson@ximian.com>
759 * TraceContext.cs: Handle tracing when it is enabled in the config
760 file but not on the page.
761 * TraceManager.cs: Get settings from the configuration object.
762 * HttpRuntime.cs: Create trace manager in the first request start
763 so it can get configuration settings.
765 2004-01-10 Jackson Harper <jackson@ximian.com>
767 * TraceContext.cs: Save the request path in the trace data.
768 * TraceData.cs: Add RequestPath property, make some rendering
769 methods internal static so the TraceHandler can use them.
770 * TraceManager.cs: Expose trace data, add a method for clearing
773 2004-01-10 Jackson Harper <jackson@ximian.com>
775 * HttpRuntime.cs: Add trace manager
776 * TraceManager.cs: New class for handling trace configuration and
777 storing trace data objects.
778 * TraceContext.cs: Save trace data to the trace manager. Fix typo.
780 2004-01-10 Jackson Harper <jackson@ximian.com>
782 * TraceData.cs: New class for storing trace data. Data is stored
783 here instead of the trace context so it can be saved and accessed
784 from the trace handler.
785 * TraceContext.cs: Save data in the TraceData object, let the
786 trace data object handle the rendering.
788 2004-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
790 * HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
791 Thanks to Jan Jaros (mono-bug@jerryweb.info).
793 * HttpRequestValidationException.cs: fix comment.
795 2004-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
797 * HttpException.cs: default to error 500. Fixes bug #52623.
799 2004-01-04 Jackson Harper <jackson@ximian.com>
801 * TraceContext.cs: Store and render trace info times. Also render
802 cookie sizes. Remove debug code.
804 2004-01-04 Jackson Harper <jackson@ximian.com>
806 * HttpResponse.cs: Set the cached response date header so it can
808 * HttpResponseHeader.cs: Let values be set so we can update cached
809 response header values.
811 2004-01-04 Jackson Harper <jackson@ximian.com>
813 * HttpResponse.cs: Implement RemoveOutputCacheItem.
815 2004-01-04 Jackson Harper <jackson@ximian.com>
817 * HttpCachePolicy.cs: Add internal method to get the vary by custom string
818 * HttpCacheVaryByHeaders.cs: Add internal method to get the header names.
820 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
822 * HttpRuntime.cs: implemented MachineConfigurationDirectory,
824 2004-1-1 Alon Gazit <along@mainsoft.com>
825 * HttpWriter.cs: add check in Write() in order to prevent
826 NullReferenceException.
828 2004-1-1 Alon Gazit <along@mainsoft.com>
829 * HttpResponse.cs: implemented ExpiresAbsolute and Expires.
831 2003-12-18 Jackson Harper <jackson@ximian.com>
833 * TraceContext.cs: Write () methods are not warnings.
835 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
837 * HttpBrowserCapabilities.cs: added GetClrVersions ().
838 * HttpCachePolicy.cs: added SetAllowResponseInBrowserHistory ().
839 * HttpContext.cs: added set_Current and RewritePath (s, s, s) for 1.1.
840 * HttpRequest.cs: added set_ContentType, SetPathInfo and ValidateInput.
841 * HttpRequestValidationException.cs: new class for 1.1
842 * HttpResponse.cs: added RedirectLocation.
843 * HttpRuntime.cs: added UnloadAppDomain.
844 * HttpServerUtility.cs: Execute (s, t, b) is internal for < 1.2
845 * HttpUtility.cs: copied UrlPathEncode from HttpServerUtility.
846 * HttpWorkerRequest.cs: added [ComVisible] and made the ctor public.
848 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
850 * HttpContext.cs: implemented IsCustomErrorEnabled and
851 IsDebuggingEnabled. Added internal ErrorPage property.
853 * HttpRuntime.cs: on error, check if we have a custom error page enabled
854 to handle it and redirect.
856 * HttpResponse.cs: added RedirectCustomError (), which actually does
857 the redirection to the error page.
859 2003-12-16 Jackson Harper <jackson@ximian.com>
861 * TraceContext.cs: Render all the data, and the stylesheet.
863 2003-12-16 Jackson Harper <jackson@ximian.com>
865 * TraceContext.cs: Add incomplete render method.
867 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
869 * CapabilitiesLoader.cs: loads browser detection and capabilities data
870 from browscap.ini file by Gary J. Keith.
872 * HttpBrowserCapabilities.cs: removed almost all TODOs.
874 * HttpRequest.cs: fixed Browser property.
876 2003-12-15 Jackson Harper <jackson@ximian.com>
878 * TraceContext.cs: Initial implementation of storing data.
879 * HttpContext.cs: Create and expose a trace object.
881 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
883 * HttpApplication.cs: ThreadAbortException is ok on Redirect.
884 * HttpContext.cs: added TimeoutPossible property.
885 * HttpResponse.cs: throw ThreadAbortException if End () is called within
886 a step in which is possible to timeout.
890 2003-12-04 Jackson Harper <jackson@ximian.com>
892 * HttpRequest.cs: Cleanup method.
894 2003-12-04 Jackson Harper <jackson@ximian.com>
896 * HttpValueCollection.cs: Allow blank value names. Posting
897 <blank>=SomeValue is valid. And occurs if a radio button does
898 not have its name set.
900 2003-12-03 Jackson Harper <jackson@ximian.com>
902 * HttpResponse.cs: Actually apply an app path modifier in
903 ApplyAppPathModifer and add a method to set the app path modifier.
904 * HttpRequest.cs: Add utility method for setting a request header.
906 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
908 * HttpApplication.cs: handle FileNotFound and DirectoryNotFound
909 exceptions when creating the handler to generate a better error page.
911 * HttpException.cs: display the http_code if available. Changed all
912 \n by \r\n to make the hidden stack trace readable.
914 * StaticFileHandler.cs: don't send the real path in th eerror.
916 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
918 * HttpContext.cs: updated GetConfig and GetAppConfig to new API.
920 * HttpResponse.cs: separate initialization of the HttpWriter, as it
921 tries to read configuration settings while the config. system is not
922 available (ie, before the first request).
924 * HttpRuntime.cs: delayed queueManager and response writer
925 initialization until the configuration system is working.
927 2003-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
929 * HttpRuntime.cs: added request queue handling.
931 * QueueManager.cs: simple request queue.
933 * TimeoutManager.cs: added some locks to prevent the enumerator used in
934 CheckTimeouts to be out of synch.
936 2003-11-25 Jackson Harper <jackson@ximian.com>
938 * HttpStaticObjectsCollection.cs: Add methods for serialization
939 and conversion to/from byte arrays.
941 2003-11-21 Jackson Harper <jackson@ximian.com>
943 * HttpResponse.cs: When caching data set the content length in the
944 cached repsonse so that only that amount will be written back to
945 the client. Add method to write a range of binary data.
946 * HttpCacheVaryByParams.cs: Add method to retrieve param names.
948 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
950 * HttpApplication.cs:
952 * HttpRuntime.cs: add timeout handling.
953 * TimeoutManager.cs: new class that takes care of aborting threads on
956 2003-11-19 Jackson Harper <jackson@ximian.com>
958 * HttpWriter.cs: Use a constant for the buffer size so the cache
959 can get the buffer size. Add method to get the buffer.
960 * HttpResponse.cs: Methods for getting data to cache, and setting
962 * HttpCachePolicy.cs: Expose a pages cache expire time.
964 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
967 * HttpWriter.cs: some fixes to allow closing a response stream without
970 2003-11-13 Jackson Harper <jackson@ximian.com>
972 * HttpCachePolicy.cs: Make sure cacheability and maxage get
973 set. Add method to set Http response header data
974 * HttpCacheVaryByParams.cs: Add method to create a response header.
975 * HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
976 * HttpResponse.cs: Set cache headers.
978 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
980 * HttpModuleCollection.cs (GetKey): Recursion, again!
982 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
984 * HttpClientCertificate.cs (ValidUntil): recursion!
986 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
988 * SiteMapNode.cs (GetDataSourceView): Implement.
989 * SiteMapProvider.cs: Typo fixing.
990 * XmlSiteMapProvider.cs: We shouldnt resolve here.
992 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
994 * SiteMap.cs (Init): implement a hack that doesnt need the config
995 stuff. Should do that later.
996 * SiteMapNodeCollection (OnValidate): Fix recursion.
997 * SiteMapProvider.cs: We dont implement some culture stuff work
999 * XmlSiteMapProvider.cs: Added.
1001 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
1003 * ISiteMapProvider.cs:
1006 * SiteMapNodeCollection.cs:
1007 * SiteMapProvider.cs:
1008 * SiteMapProviderCollection.cs: V2 sitemap related stuff.
1010 2003-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1012 * HttpRequest.cs: don't attempt to read more bytes than specified
1015 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1020 * HttpValueCollection.cs: encoding fixes/updates.
1022 * HttpWriter.cs: when updating the encoding, flush the existing stream.
1025 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
1027 * HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
1028 return false (which makes sense, as the custom errors *arent* enabled;
1030 * HttpResponseStream.cs: you actually can write with len = 0
1032 2003-11-03 Jackson Harper <jackson@ximian.com>
1034 * HttpResponse.cs (ContentEncoding): Throw
1035 ArgumentNullException. Patch by Yaron Shkop.
1037 2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1039 * HttpMultipartContentParser.cs : Quick fix for cygwin build.
1040 CSC complains that constant char cannot be casted as byte.
1042 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1044 * HttpApplication.cs: added AssemblyLocation property.
1046 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1048 * HttpApplicationFactory.cs: use NoParamsInvoker.
1049 * HttpRequest.cs: support request filters.
1050 * HttpRequestStream.cs: mono-stylized and added new Set method.
1052 * NoParamsInvoker.cs: proxy class to invoke user-provided methods
1053 without parameters that are invoked by EventHandlers.
1055 2003-10-13 Lluis Sanchez Gual <lluis@ximian.com>
1057 * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
1058 to invariant culture.
1060 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1063 * HttpServerUtility.cs: change the response writer in Execute. Thanks
1064 to Rich Alimi <rich@velvetsea.net> for noticing this.
1066 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1068 * HttpApplicationFactory.cs: support for wiring up events without
1071 2003-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1073 * HttpUtility.cs: small memory usage reduction.
1075 2003-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1077 * HttpApplication.cs: pass the Uri, not the file path to
1078 when looking for a handler.
1080 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1082 * HttpRequest.cs: small fix needed when reading big POST data.
1084 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
1086 * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
1087 (this will get the address from the request headers).
1089 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
1091 * HttpServerUtility.cs: In Transfer(), preserve the query string if
1094 2003-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1096 * HttpApplication.cs: ensure we do all the EndRequest steps. Don't
1097 filter the output on error.
1099 * HttpResponse.cs: modified DoFilter to allow bypassing filtering.
1101 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1103 * HttpApplication.cs: when the request is completed or an
1104 error happens, execute all the delegates attached to EndRequest, not
1105 only the last one. This makes xsp/test/authtest work again.
1107 * HttpMethodNotAllowedHandler.cs: fixed description for http
1110 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1112 * HttpRequest.cs: quick way of checking that the path is within the
1113 root for the application. Thanks to Johannes for reporting.
1115 * HttpRuntime.cs: use the status code from teh exception when it'ss a
1118 * StaticFileHandler.cs: forbidden is 403.
1120 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1122 * HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
1123 <rich@velvetsea.net>.
1125 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1127 * HttpException.cs: make the unhandled error more like the MS one.
1128 * HttpRuntime.cs: set a 500 error code on unhandled exceptions.
1130 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1132 * HttpResponse.cs: flush headers when the body length is 0.
1133 * StaticFileHandler.cs: added If-Modified-Since handling patch slightly
1134 modified from the original by Piers Haken <piersh@friskit.com>.
1136 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1138 * HttpResponse.cs: another patch from totte and me. This one prevents
1139 writing output if the client have disconnected and filters the data
1140 when there's a non-final Flush in the middle of the process.
1142 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1144 * HttpApplication.cs: fixed typos. Closes bug #44197.
1146 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1148 * HttpApplication.cs:
1149 * HttpApplicationFactory.cs: fix duplicate application OnStart events.
1151 Patch by Patrik Torstensson.
1153 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1155 * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
1156 overload. The previous one only admits static methods.
1158 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1160 * ProcessModelInfo.cs: Fixed signature
1162 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1164 * WebCategoryAttribute.cs: Implemented localization
1165 * WebSysDescriptionAttribute.cs: Implemented localization
1167 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1169 * HttpRuntime.cs: also clear the headers that may have been set upon
1170 error processing the request.
1172 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1174 * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
1177 * HttpWriter.cs: flush the filter after writing.
1179 2003-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1181 * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
1183 2003-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1185 * HttpContext.cs: Session doesn't have a setter.
1187 * HttpResponse.cs: Request is private.
1189 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1191 * HttpRequest.cs: fixed Headers property. It was getting known headers
1192 values instead of known headers names.
1194 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1196 * HttpApplication.cs: prevent nullref if an error happens before context
1198 * HttpException.cs: small fix in the stack trace sent.
1199 * HttpUtility.cs: the lock is not needed.
1201 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1203 * HttpRequest.cs: added REMOTE_PORT.
1204 * HttpValueCollection.cs: fixed bug #45490.
1206 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1208 * HttpApplication.cs:
1209 * HttpApplicationFactory.cs: fire application start and session
1212 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1214 * HttpException.cs: encode as HTML the inner exception that
1215 is appended as a comment at the end of error pages.
1217 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1219 * HttpWriter.cs: don't do anything in Flush. Fixes #42249.
1221 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1223 * HtmlizedException.cs: added more virtual methods.
1225 * HttpException.cs: some work on the output when there's a source
1228 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1230 * HtmlizedException.cs: simplified to cope with the new interface.
1232 * HttpApplicationFactory.cs: use the application file parser to get the
1235 * HttpException.cs: small changes. Needs some more work on
1238 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1240 * HttpRequest.cs: fixed Url property.
1242 2003-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1244 * HtmlizedException.cs:
1245 * HttpException.cs: display the correct line number in error messages.
1247 2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1249 * HttpCachePolicy.cs: implemented all TODOs.
1250 * HttpRequestStream.cs: make it internal.
1252 2003-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1254 * HttpContext.cs: implemented RewritePath in other way.
1255 * HttpRequest.cs: removed SetPhysicalPath and added SetForm.
1256 * HttpServerUtility.cs: implemented Transfer (string, bool).
1258 2003-03-16 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
1259 * HttpContext.cs : Implemented RewritePath
1260 * HttpRequest.cs : Added internal function SetPhysicalPath
1262 2003-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1264 * HttpServerUtility.cs: implemented Transfer ().
1266 2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1268 * HttpRuntime.cs: Cache no longer have a Dispose method.
1270 * HttpServerUtility.cs: removed MonoTODO.
1272 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1274 * HttpHelper.cs: store the values in an ArrayList to get them in correct
1277 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1279 * HttpApplicationFactory.cs: Global.asax takes precedence over
1280 global.asax if it exists.
1282 * HttpRequest.cs: use allowCrossAppMapping in MapPath.
1284 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1286 * HttpApplication.cs: CreateHttpHandler is now internal.
1288 * HttpRequest.cs: allow setting QueryStringRaw, which
1289 invalidates the data obtained from the previous value. Added internal
1292 * HttpServerUtility.cs: implemented Execute and GetLastError.
1294 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1296 * HttpServerUtility.cs: style.
1298 2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1300 * HttpApplication.cs: only execute the EndRequest step on error
1301 condition or request marked as completed. This prevent page events from
1302 being called when, for example, the url authorization module forbids
1305 2003-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1307 * HttpRequest.cs: implemented the indexer.
1309 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1311 * HtmlizedException.cs: base class for exceptions that makes it easy to
1312 generate error pages.
1314 * HttpException.cs: improved error displaying.
1316 * HttpRuntime.cs: removed debugging output.
1318 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1320 * HttpApplication.cs: display the error instead of hanging when we get
1321 any error before the last step of the request.
1323 2003-02-04 Tim Haynes <thaynes@openlinksw.com>
1325 * HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement
1328 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1330 * HttpRequest.cs: added BaseVirtualDir property and use it in MapPath.
1332 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1334 * HttpRequest.cs: implemented CurrentExecutionFilePath.
1336 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1338 * HttpApplication.cs: keep _lasterror if no context. Attach
1339 application events *after* modules initialization (if not, User is not
1340 set when the user handler is called).
1342 * HttpApplicationFactory.cs: made all methods related to
1343 AttachEvents static. I will fix OnStart/OnEnd for application and
1346 * HttpRequest.cs: don't initialize cookies twice.
1348 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1351 (ApplyAppPathModifiers): return the root directory for "".
1353 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1355 * HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.
1357 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1359 * HttpApplication.cs: added new state to handle default authentication.
1361 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1363 * HttpContext.cs: removed hack to get the User.
1365 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1367 * HttpUtility.cs: fixed bug #36038. Thanks to juancri@tagnet.org for
1368 reporting the bug and how to fix it.
1370 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1372 * HttpCookie.cs: send 'expires' in the header.
1374 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1376 * HttpValueCollection.cs: patch from Botjan Vizin
1377 <bostjan.vizin@siol.net> that implements ToString (bool).
1379 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1381 * HttpApplicationFactory.cs: add the context as parameter when building
1382 the application Type.
1384 * HttpCookie.cs: new internal constructor.
1385 * HttpCookieCollection.cs: new internal method to make a cookie expire.
1387 * HttpRequest.cs: MapPath fixes.
1388 * HttpResponse.cs: implemented ApplyAppPathModifier.
1389 * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
1391 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1393 * HttpContext.cs: hack to create a default user when there's no one.
1394 Implemented GetConfig (string).
1396 * HttpRequest.cs: fixes to MapPath (string).
1398 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1400 * HttpRuntime.cs: avoid nulls and exception when getting resource
1403 * StaticFileHandler.cs: added file name to error message.
1405 2002-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1407 * HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
1409 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1411 * HttpApplicationFactory.cs: get the events from the application class,
1412 fire Application/Session Start/End and add the others as application
1415 2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1417 * HttpApplicationFactory.cs: compile global.asax file if it exists.
1419 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1421 * HttpRequest.cs: provide a default Browser until we detect it.
1423 (End): do not close the connection here.
1424 (Flush (bool)): send the headers when, for example, Redirect () is
1427 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1429 * HttpException.cs: simple error output.
1431 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1433 * HttpApplication.cs: style.
1434 * HttpException.cs: style.
1435 * HttpRuntime.cs: only flush the response if there are no errors.
1436 Otherwise, write an error output.
1437 * HttpWriter.cs: change Unicode to UTF8.
1439 2002-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1441 * HttpApplication.cs: don't begin the request using ExecuteNextAsync
1442 (it fails to work on NetServ).
1444 * HttpWorkerRequest.cs: typo.
1446 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1448 * HttpValueCollection.cs: the value may contain trailing '=' as it is
1449 UrlEncoded. Don't split name=value based on '='.
1451 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1453 * HttpCookie.cs: made GetCookieHeader internal.
1455 * HttpRequest.cs: get cookies from request.
1457 * HttpResponse.cs: send cookies. Implemented
1458 AddFileDependencies (). Added check for _Writer == null in Flush
1459 (Patrik ;-). Clear the content if HEAD or SupressContent == true.
1460 Removed redirect hack used in old server.
1462 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1464 * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
1465 most ContentLength bytes.
1467 * HttpResponse.cs: now it sends the headers. Added
1468 X-Powered-By header :-).
1470 * HttpRuntime.cs: fixed typo.
1472 * HttpValueCollection.cs: cosmetic changes.
1474 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1476 * HttpApplication.cs: reenabled a few lines of code
1477 (ThreadPool already fixed).
1482 * HttpValueCollection.cs:
1483 * HttpWriter.cs: Use WebEncoding.Encoding.
1485 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1487 * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
1488 This fixes sending bytes and allows mixing byte with chars.
1490 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1492 * HttpResponse.cs: implemented WriteFile methods.
1493 * MimeTypes.cs: removed duplicated entries.
1495 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1497 * HttpResponse.cs: don't throw exception in a couple of
1498 methods not yet implemented.
1500 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1502 * HttpApplication.cs: fixed type and handle factories when creating
1503 IHttpHandler for a request.
1505 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1507 * HttpApplication.cs: use handlers from configuration.
1508 * HttpContext.cs: get handlers from ConfigurationSettings.
1510 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1512 * HttpMethodNotAllowedHandler.cs:
1514 * StaticFileHandler.cs: Modified file.
1516 * HttpUtility.cs: implemented all missing methods.
1519 2002-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1521 * System.Web/HttpApplication.cs: use the static file handler.
1522 * System.Web/HttpForbiddenHandler.cs: handler to forbid access.
1523 * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
1526 * System.Web/HttpUtility.cs: finished all UrlDecode methods.
1527 * System.Web/MimeTypes.cs: map from file extension to MIME type.
1528 * System.Web/StaticFileHandler.cs: serves static files
1530 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1532 * System.Web/HttpApplication.cs:
1533 * System.Web/HttpApplicationFactory.cs:
1534 * System.Web/HttpRequest.cs:
1535 * System.Web/HttpRuntime.cs: we are now able to compile pages and use
1536 HttpApplication, HttpRuntime and SimpleWorkerRequest.
1538 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1540 * HttpApplication.cs: added some missing methods.
1541 * HttpApplicationFactory.cs: get event handlers for the application.
1542 * HttpAsyncResult.cs: little fixes.
1543 * HttpRequest.cs: make Encoding work even with no worker request.
1545 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1547 * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
1548 to add HttpMapPath to the list file...
1550 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1552 * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
1553 report when i get a test case.
1555 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1557 * HttpApplicationFactory.cs:
1558 * HttpCachePolicy.cs:
1559 * HttpResponseHeader.cs:
1560 * HttpResponseStream.cs:
1561 * HttpResponseStreamProxy.cs:
1562 * HttpValueCollection.cs: misc. fixes based on class status page.
1564 * IHttpMapPath.cs: New file.
1566 * HttpRequest.cs: implemented ContentEncoding.
1567 * HttpWorkerRequest.cs: mono-stylized and implemented
1568 SendResponseFromMemory.
1570 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1572 * HttpContext.cs: reformatted.
1573 * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
1576 2002-08-05 Patrik Torstensson <ptorsten@hotmail.com>
1578 * HttpApplication.cs: Implemented a state machine to allow handling of
1579 HttpModules and HttpHandlers. Implementation of async handlers.
1581 * HttpApplicationFactory.cs: Factory for creating HttpApplication
1582 instances, including caching.
1584 * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
1585 application instance to execute requests in and implementation of
1586 request execution (still no request queue).
1588 * HttpAsyncResult.cs: New file to handle async module results.
1590 * HttpRequest.cs: Change signature of Dispose
1591 * HttpResponse.cs: new internal method allowing filtering to happen
1592 during the request flow in the state machine.
1594 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1596 * HttpApplication.cs: events were not being initialized.
1598 2002-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1600 * ProcessModelInfo.cs: fixed compilation.
1602 2002-07-25 Tim Coleman <tim@timcoleman.com>
1603 * ProcessModelInfo.cs:
1605 * HttpParseException.cs:
1606 * HttpCompileException.cs:
1607 * HttpUnhandledException.cs:
1608 Internal constructors added to these
1610 2002-07-24 Tim Coleman <tim@timcoleman.com>
1612 Fix constructor, reference to shutdownreason.
1614 2002-07-24 Tim Coleman <tim@timcoleman.com>
1615 * HttpCachePolicy.cs:
1616 Added stubbs to this class.
1617 * HttpCacheability.cs:
1618 * HttpCacheRevalidation.cs:
1619 * HttpValidationStatus.cs:
1620 * ProcessShutdownReason.cs:
1623 Reorder the enumerations (and in some cases make
1624 one-based) in order to agree with the .NET
1625 implementation, based on the class status page.
1627 Implementation of this class.
1629 2002-07-23 Tim Coleman <tim@timcoleman.com>
1630 * HttpCompileException.cs:
1631 * HttpParseException.cs:
1632 * HttpUnhandledException.cs:
1634 * HttpApplication.cs:
1635 * HttpBrowserCapabilities.cs:
1636 Added missing methods stubbs and attributes based
1637 on the class status page. Also reformatted some
1638 source for consistency.
1640 2002-07-23 Tim Coleman <tim@timcoleman.com>
1641 * HttpUtility.cs: Moved entities hashtable into main
1642 class as a static object, so we don't instantiate
1643 a new one every time. Also put the hashtable
1644 building into a lock block.
1646 2002-07-22 Tim Coleman <tim@timcoleman.com>
1647 * HttpUtility.cs: Cleanup of the code, implementation
1648 of HtmlDecode/HtmlEncode functions
1650 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1652 * HttpResponse.cs: quick&dirty hack to make redirection work. Should
1653 be out of there once we have SimpleWorkerRequest.
1655 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1657 * HttpUtility.cs: little typo, big headache.
1659 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1661 * HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
1663 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1665 * System.Web/HttpResponse.cs:
1667 Fixes based on class status page:
1669 - Add attributes (DefaultEvent, ParseChildren).
1671 - Explicitly implement some interfaces (IPostBackDataHandler
1672 and IPostBackEventHandler).
1673 - Implemented some missing methods.
1675 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1678 (Session): return null instead of throwing an exception.
1681 (HttpMethod): return RequestType if not set.
1682 (GetRawContent): return QueryString if we don't have a
1685 * HttpUtility.cs: fixed Decode and Encode.
1687 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1689 * HttpApplication.cs:
1690 * HttpContext.cs: added System.Web.SessionState namespace.
1692 * HttpSessionState.cs: removed. It is under
1693 System.Web.SessionState.
1695 2002-06-10 Duncan Mak <duncan@ximian.com>
1697 * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
1699 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1701 * HttpRequest.cs: implemented Browser property.
1703 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1705 * HttpBrowserCapabilities.cs: stubbed out.
1707 2002-05-18 Miguel de Icaza <miguel@ximian.com>
1709 * HttpRuntime.cs: Reformat file.
1711 2002-05-07 Duncan Mak <duncan@ximian.com>
1713 * HttpBrowserCapabilities.cs: Added, replacing
1714 HttpBrowserCapabilites because of typo.
1716 * HttpBrowserCapabilites.cs: Removed, replaced by above.
1718 * HttpRequest.cs (Browser): Fixed typo.
1720 2002-04-12 Patrik Torstensson <patrik.torstensson@labs2.com>
1722 * HttpApplication.cs: Minor updates
1723 * HttpApplicationState.cs: Ready.
1724 * HttpClientCertificate.cs: Signature updates
1725 * HttpValueCollection.cs: ready
1726 * HttpStaticObjectsCollection.cs: ready
1727 * HttpResponseHeader.cs: made internal only
1728 * HttpResponse.cs: Signature updates
1729 * HttpPostedFile.cs: ready
1730 * HttpCacheVaryByHeaders.cs: ready (except communication to policy)
1731 * HttpCacheVaryByParams.cs: ready (except communication to policy)
1733 System.Web is now over 60% ready..
1735 2002-04-11 Patrik Torstensson <patrik.torstensson@labs2.com>
1737 * HttpException.cs: 95% ready, only windows dependent code left
1738 * HttpFileCollection.cs: Finished.
1739 * HttpRequest.cs: Minor fixes and fixed signature problems
1740 * HttpResponse.cs: Implementation of missing methods and signature problems
1741 * HttpResponseHeader.cs: Fixed signature problems
1742 * HttpRuntime.cs: Fixed signature problems
1743 * HttpServerUtility.cs: Added support for HttpApplication
1744 * HttpSessionState.cs: Fixed signature issues
1745 * HttpUtility.cs: fixed signature issues
1746 * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
1747 * HttpWorkerRequest.cs: Fixed small signature issue
1748 * HttpWriter.cs: Fixed signature issue
1749 * HttpApplication.cs: Basic implementation
1750 * HttpApplicationState.cs: Small fixes to support major change comming up
1751 * HttpBrowserCapabilities.cs: Added Type method
1752 * HttpClientCertificate.cs: Almost ready, needs to parse certificate.
1753 * HttpContext.cs: Fixed signature issues and added last methods.
1754 * HttpCookie.cs: Full implementation
1755 * HttpCookieCollection.cs: Full implementation
1756 * TraceContext.cs: Methods implemented.
1757 * HttpPostedFile.cs: Placeholder
1758 * HttpStaticObjectsCollection.cs: Placeholder
1759 * HttpModuleCollection.cs: Ready, will be used during the major revamp.
1761 * Fixed a number of other small signature problems also (class status page)
1764 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
1766 * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
1767 * Checkin of all new files (noted in last changenote)
1769 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
1771 * HttpContext.cs: First implementation (basic support, few methods left to impl)
1772 * HttpException.cs: Partial implementation (basic support)
1773 * HttpHelper.cs: Header parse helper, used by runtime (non public)
1774 * HttpRequest.cs: Implementation (all methods there, not all fully impl)
1775 * HttpRequestStream.cs: Full implementation
1776 * HttpResponse.cs: Partial implementation(almost all methods)
1777 * HttpResponseHeader.cs: Header helper
1778 * HttpResponseStream.cs: Full implementation - Response stream support
1779 * HttpResponseStreamProxy.cs: Implementation - filter support
1780 * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
1781 * HttpServerUtility.cs: Implemented usage of HttpContext for methods
1782 and moved encoding functions to HttpUtility.
1784 * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
1785 added the Attribute encoding functions.
1787 * HttpValueCollection.cs: Implementation.
1788 * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
1789 * HttpWriter.cs: Implementation (with filter support)
1791 * HttpFileCollection: Added dummy class (placeholder)
1792 * HttpApplication.cs: Added dummy class (placeholder)
1793 * HttpApplicationState.cs: Added dummy class (placeholder)
1794 * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
1795 * HtttpCachePolicy.cs: Added dummy class (placeholder)
1796 * HttpClientCertificate.cs: Added dummy class (placeholder)
1797 * HttpSessionState.cs: Added dummy class (placeholder)
1798 * TraceContext.cs: Added dummy class (placeholder)
1801 2002/04/10 Nick Drochak <ndrochak@gol.com>
1803 * HttpServerUtility.cs: Fix build breaker.
1805 2002-03-28 Wictor Wiln <wictor@iBizkit.se>
1807 * HttpServerUtils.cs : Added some more functionality
1809 2002-03-28 Martin Baulig <martin@gnome.org>
1811 * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
1812 char to a string, use ToString() instead.
1814 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
1816 * WebCategoryAttribute.cs
1817 : Added private attribute.
1819 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
1821 * HttpRuntime.cs : Stubbed methods for
1822 FormatStringResource(...) in agreement with the various
1823 overloads available at String.Format(...)
1825 2002-01-08 Gaurav Vaish <gavish@iitk.ac.in>
1827 * TODOAttribute.cs : Added, as an internal class to the assembly
1829 2002-01-03 Nick Drochak <ndrochak@gol.com>
1831 * HttpRuntime.cs: remove uneeded exception variable from catch and
1832 initialize remaining instance members to avoid compile warnings
1834 2002-01-02 Nick Drochak <ndrochak@gol.com>
1836 * HttpRuntime.cs: fix spelling error/variable name change.
1838 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
1840 * HttpRuntime.cs : Initial implementation
1842 2001-08-29 Bob Smith <bob@thestuff.net>
1844 * HttpWorkerRequest.cs: Partial Implementation.
1846 2001-08-16 Bob Smith <bob@thestuff.net>
1848 * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
1850 2001-08-09 Bob Smith <bob@thestuff.net>
1852 * BeginEventHandler.cs: Implemented.
1853 * EndEventHandler.cs: Implemented.
1854 * HttpCacheability.cs: Implemented.
1855 * HttpCacheRevalidation.cs: Implemented.
1856 * HttpCacheValidateHandler.cs: Implemented.
1857 * HttpCookieCollection.cs: Implemented.
1858 * HttpCookie.cs: Implemented.
1859 * HttpValidationStatus.cs: Implemented.
1860 * HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
1861 * IHttpAsyncHandler.cs: Implemented.
1862 * IHttpHandler.cs: Implemented.
1863 * IHttpHandlerFactory.cs: Implemented.
1864 * IHttpModule.cs: Implemented.
1865 * ProcessShutdownReason.cs: Implemented.
1866 * ProcessStatus.cs: Implemented.
1867 * TraceMode.cs: Implemented.