1 2007-03-13 Marek Habersack <mhabersack@novell.com>
3 * HttpApplicationFactory.cs: resources compiler no longer accepts
6 * HttpRuntime.cs: Do not compile local resources here anymore.
8 * HttpContext.cs: if App_LocalResources assembly corresponding to
9 the virtual path is not found, compile it here.
10 Look up resources in the "Resources." class path.
12 2007-03-13 Igor Zelmanovich <igorz@mainsoft.com>
14 * HttpUtility.cs: fixed HttpUtillity.HtmlAttributeEncode
15 '<' char must be encoded.
17 2007-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
19 * CapabilitiesLoader.cs: added TARGET_JVM part of static members,
20 added caching to GetCapabilities method for performance improvement
22 2007-03-12 Marek Habersack <mhabersack@novell.com>
24 * XmlSiteMapProvider.cs: support custom site map providers. Fixes
27 2007-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
29 * StaticFileHandler.cs: fixed ProcessRequest TARGET_JVM path,
30 if_modified_since fixed in WAR mode
32 2007-02-25 Vladimir Krasnov <vladimirk@mainsoft.com>
34 * HttpRequest.jvm.cs: fixed LoadWwwForm, should distinguish between
35 query string and form values
37 2007-02-21 Marek Habersack <grendello@gmail.com>
39 * HttpRuntime.cs: BinDirectory returns the bin directory
40 determined by the application host on the application startup.
42 * HttpApplicationFactory.cs: Watch the bin directory determined by
43 the application host on the application startup.
45 2007-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
47 * HttpRequest.cs: fixed MapPath, removed TARGET_J2EE block that checks
50 2007-02-19 Marek Habersack <grendello@gmail.com>
52 * HttpContext.cs: Make sure all the global resource objects are
53 sought in the Resources. namespace.
55 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
57 * HttpContext.jvm.cs, HttpRequest.jvm.cs: Adapt for tunning under test
58 harness where we don't have a SevletRequest/Response.
60 2007-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
62 * HttpApplication.cs: fixed InitOnce, httpModules section is global and
63 taken from the root web.config
65 2007-02-12 Robert Jordan <robertj@gmx.net>
67 * HttpResponseStream.cs (BlockManager.EnsureCapacity):
68 don't call Marshal.ReAllocHGlobal on NULL because, unlike
69 realloc(3) and g_realloc, it doesn't support this semantic.
70 Fixes a part of bug #77075.
72 2007-02-12 Marek Habersack <grendello@gmail.com>
74 * HttpRuntime.cs: support for preservation (.compiled) assembly
77 2007-02-11 Vladimir Krasnov <vladimirk@mainsoft.com>
79 * HttpApplication.cs: added exception pass through from processAction
82 2007-02-02 Marek Habersack <grendello@gmail.com>
84 * HttpApplicationFactory.cs: make code a bit more compact.
86 2007-01-30 Vladimir Krasnov <vladimirk@mainsoft.com>
88 * HttpResponse.cs: fixed TARGET_J2EE part of Redirect for portlet
90 2007-01-30 Adar Wesley <adarw@mainsoft.com>
92 * VirtualPathUtility.cs: fixed exceptions thrown from Combine
93 so they are compatible with MS.
95 2007-01-25 Marek Habersack <grendello@gmail.com>
97 * HttpApplication.cs: Make sure that a specific culture is used
98 when setting the current thread culture.
100 2007-01-21 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
102 * HttpServerUtility.cs: implement Execute/Transfer overloads that take
103 an IHttpHandler. Still missing the documented check for page IsCallback.
104 Also, on MS when i derive from Page for my IHttpHandler, it works fine,
105 but if I just implement IHttpHandler, an exception is thrown. This needs
106 to be researched but, by now, the IHttpHandler version works on mono
109 2007-01-20 Miguel de Icaza <miguel@novell.com>
111 * SiteMapNode.cs (GetExplicitResourceString): implement.
113 * HttpContext.cs (GetGlobalResourceObject): remove unused variable.
115 * StaticFileHandler.cs (ProcessRequest): remove unused variable.
117 * HttpApplication.cs (ProcessError): Remove unused variable.
119 * HttpServerUtility.cs (Execute): Add new overload and rename
120 parameter to match MS (as they are normative).
122 2007-01-17 Marek Habersack <grendello@gmail.com>
124 * HttpApplicationFactory.cs: Implement code and framework to
125 enable automatic application restarts on changes to folders/files
126 in a generic way. Patch from Damien Churchill
127 <damien.churchill@ukplc.net>, thanks!
128 Make sure the top-level assemblies (App_Code, resources) are not
129 referenced twice should a compilation error occur.
131 2007-01-16 Atsushi Enomoto <atsushi@ximian.com>
133 * TraceData.cs : page could be null. Fixed bug #80480.
135 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
137 * VirtualPathUtility.cs: fixed bugs in methods - GetDirectory and
138 GetExtension, according to the VirtualPathUtilityTest
140 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
142 * SiteMapProvider.cs: fixed IsAccessibleToUser, true if
143 SecurityTrimmingEnabled not enabled, true if Roles exists on node and
146 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
148 * HttpRequest.jvm.cs, HttpContext.jvm.cs: Added TARGET_J2EE specific files.
149 * HttpContext.cs, HttpResponse.cs, HttpRequest.cs, HttpCookie.cs:
150 Add J2EE Portal support for TARGET_J2EE.
152 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
154 * HttpRequest.cs: fixed IsLocal, should check all ip addresses of host
156 2007-01-05 Marek Habersack <grendello@gmail.com>
158 * HttpApplicationFactory.cs: Use the new app resources compiler.
160 * HttpRuntime.cs: Use the new app resources compiler.
162 * HttpContext.cs: Reimplement the GetGlobalResourceObject
163 methods, implement the GetLocalResourceObject methods.
165 * HttpResponse.cs: Implement the HeaderEncoding property.
167 2007-01-04 Andreia Gaita <avidigal@novell.com>
169 * HttpRuntime.cs: Add check for NET_2_0 when initializing
170 WebConfigurationManager, build failing on 1.1 profile
172 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
174 * HttpApplicationFactory.cs, HttpRuntime.cs: WebConfigurationManager
175 should be initializaed before any possible access to it
177 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
179 * HttpRequest.cs: fixed Path property, add call of
180 Uri.UnescapeDataString in net_2_0
182 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
184 * HttpApplication.cs: fixed PreStart, should not set thread culture
187 2007-01-03 Vladimir Krasnov <vladimirk@mainsoft.com>
189 * HttpRequest.cs: fixed jvm version of MakeInputStream, should not
190 throw exception on zero content length
192 2007-01-03 Vladimir Krasnov <vladimirk@mainsoft.com>
194 * SiteMap.cs, SiteMapNodeCollection.cs: TARGET_JVM of static members
196 2006-12-20 Marek Habersack <grendello@gmail.com>
198 * HttpContext.cs: add internal setter for the Profile property.
200 * HttpApplicationFactory.cs: Added a shortcut version of
201 InvokeSessionEnd for use from the 2.0 SessionState code.
203 2006-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
205 * HttpRequest.cs: fixed Path property, returns unescaped url
207 2006-12-16 Marek Habersack <grendello@gmail.com>
209 * HttpRequest.cs: Fix for http exception during first visit to an
210 application when the visit path is not the app's virtual root.
212 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
214 * SiteMapProvider.cs.cs:
215 * XmlSiteMapProvider.cs: fixed: because more then one node with empty url
216 is allowed unique key is generated for each node.
218 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
220 * SiteMapProvider.cs.cs: fixed: IsAccessibleToUser resolvs relative url.
221 * StaticSiteMapProvider.cs: fixed: RemoveNode
223 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
225 * VirtualPathUtility.cs: fixed: Combine(), ToAbsolute() methods.
227 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
229 * VirtualPathUtility.cs: fixed: IsAppRelative() method.
231 2006-12-07 Vladimir Krasnov <vladimirk@mainsoft.com>
233 * BrowserCapabilities.cs: fixed MSDomVersion property
235 2006-12-05 Igor Zelmanovich <igorz@mainsoft.com>
237 * VirtualPathUtility.cs: fixed: ToAbsolute() method.
239 2006-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
241 * HttpRequest.cs: call MapPath on the HttpWorkerRequest so that if
242 FilePath is changed we get the new physical path, not the one of the
243 original request. Fixes bug #80152.
245 2006-12-03 Igor Zelmanovich <igorz@mainsoft.com>
247 * HttpWriter.cs: reverted r38835.
249 2006-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
251 * HttpWriter.cs: remove unused WriteBytes method.
253 2006-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
255 * HttpRequest.cs: physical path comes from GetFilePathTranslated to
256 avoid trimming in HttpRequest.MapPath.
258 2006-11-29 Marek Habersack <grendello@gmail.com>
260 * HttpApplication.cs: Make use of the handler stack implemented
263 * HttpCacheVaryByHeaders.cs: Optionally omit the vary:* header
264 value in the 2.0 profile.
266 * HttpServerUtility.cs: Make use of the handler stack implemented
268 Implemented the UrlToken{Encode,Decode} 2.0 methods.
270 * HttpResponse.cs: Implemented the IsRequestBeingRedirected
273 * HttpContext.cs: Implemented the CurrentHandler and PreviousHandler
274 methods, together with helper functions to handle the handler
276 GetSection(string) should be present only in the 2.0 profile.
278 * HttpCachePolicy.cs: implement the SetNoServerCaching,
279 SetNoStore, SetNoTransforms, SetValidUntilExpires and
280 SetOmitVaryStar methods.
281 Added code to set the no-store and no-transform options of the
282 Cache-Control header.
284 2006-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
286 * HttpServerUtility.cs: don't prepend extra '?' when the original url
287 already has a query string. Fixes bug #80042.
289 2006-11-24 Miguel de Icaza <miguel@novell.com>
291 * HttpApplicationFactory.cs (InitType): Also look for "Web.Config"
294 2006-11-20 Marek Habersack <grendello@gmail.com>
296 * HttpApplication.cs: Added support for automatic detection of
297 user's preferred language.
299 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
301 * HttpApplication.cs: don't leak the directory name for non-local
304 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
306 * CapabilitiesLoader.cs: made the hasstable that contains the properties
307 for the brower case insensitive. Fixes bug #79795.
309 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
311 * HttpResponse.cs: fix typo that prevented Server.Execute from restoring
312 the initial output stream used. Closes bug #79916.
314 2006-11-12 Marek Habersack <grendello@gmail.com>
316 * HttpContext.cs: Implemented the 2.0 RewritePath overloads.
318 2006-11-08 Marek Habersack <grendello@gmail.com>
320 * HttpRuntime.cs: Moved the resource compiler results handling to
321 the resource compiler itself.
323 * HttpApplicationFactory.cs: Add invocation of the App_Code
324 compiler. Moved the resource compiler results handling to the
325 resource compiler itself. Removed compilation of the local
326 resources from here - it should be done only when a request
327 determines that the App_LocalResources directory exists.
330 2006-11-07 Andrew Skiba <andrews@mainsoft.com>
332 * HttpRuntime.cs: TARGET_JVM ifdef
334 2006-11-05 Andrew Skiba <andrews@mainsoft.com>
336 * SiteMapProvider.cs: don't iterate through Roles when they are null.
338 2006-11-05 Vladimir Krasnov <vladimirk@mainsoft.com>
340 * HttpContext.cs: implemented Profile property
342 2006-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
344 * HttpApplication.cs: the unexpected 'tick' exceptions can be an abort
345 exception due to timeout or end of the request.
347 2006-10-18 Marek Habersack <grendello@gmail.com>
349 * HttpRuntime.cs: add support for compilation of local resources
350 at the start of request.
352 * HttpContext.cs: implement the GetGlobalResourceObject APIs
354 * HttpApplicationFactory.cs: include the bootstrap code for the
355 global/local resources compiler.
357 2006-10-09 Marek Habersack <grendello@gmail.com>
359 * HttpApplication.cs: change the pipeline order for ASP.NET 2.0 to
360 comply with the Microsoft documentation.
362 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
364 * HttpApplication.cs: this makes the test run successfully. Still need
365 to figure out why that is null.
367 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
369 * HttpApplication.cs: band-aid patch to help debugging hang running 2.0
372 2006-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
374 * HttpServerUtility.cs: 1.1 Execute(s) preserves the query string.
375 Thanks to Hubert Fongarnand. Fixes bug #79506.
377 2006-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
379 * QueueManager.cs: if disposed, always return null for next request.
380 * HttpRuntime.cs: dispose the queue manager when shutting down the
381 domain. This will close pending requests with a 503.
382 * HttpApplication.cs: release the handler before marking the request
383 as completed. If in PipelineDone context is null, use
384 HttpContext.Current. Fixes some of those "Tick detected an unhandled
385 exception" errors printed out.
387 2006-09-11 Andrew Skiba <andrews@mainsoft.com>
389 * XmlSiteMapProvider.cs: ifdef TARGET_JVM
391 2006-09-11 Vladimir Krasnov <vladimirk@mainsoft.com>
393 * HttpWriter.cs: fixed WriteLine to work correctly in utf-16 encoding
395 2006-09-08 Robert Jordan <robertj@gmx.net>
397 * TraceData.cs: fixed NRE if `sizes' is null, which may happen
398 if a page was unable to save its viewstate and size.
400 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
402 * HttpApplicationFactory.cs: ifdef the previous fix with TARGET_JVM to
405 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
407 * HttpApplicationFactory.cs: watch web.config too. Fixes bug #78356.
409 2006-09-05 Konstantin Triger <kostat@mainsoft.com>
411 * SiteMapProvider.cs: consider authorization section for access decision.
413 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
415 * HttpUtility.cs: fixed UrlPathEncode method.
417 2006-08-31 Boris Kirzner <borisk@mainsoft.com>
419 * VirtualPathUtility.cs : pass parameters in correct order.
421 2006-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
423 * HttpApplicationFactory.cs: handle the 'renamed' event too.
425 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
427 * HttpApplication.cs: fixed BeginProcessRequest, TARGET_JVM part
430 2006-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
432 * HttpApplication.cs: don't leak local path names when a file is not
435 2006-06-21 Konstantin Triger <kostat@mainsoft.com>
437 * XmlSiteMapProvider.cs: if the url is relative, make it relative to the
440 2006-06-07 Juraj Skripsky <js@hotfeet.ch>
442 * HttpException.cs (GetHtmlizedErrorMessage): Beautify compilation error
443 page by showing multiple errors on separate lines.
445 2006-06-05 Juraj Skripsky <js@hotfeet.ch>
447 * HttpRequest.cs: simplify code around uri_builder (and rename
448 to url_components). Move storage of query_string into
449 uri_builder.Query and initialize it lazily using
450 worker_request.GetQueryStringRawBytes() or GetQueryString().
451 (QueryString): Use HttpUtility.ParseQueryString instead of
452 duplicating its functionality.
454 2006-06-05 Juraj Skripsky <js@hotfeet.ch>
456 * HttpUtility.cs (ParseQueryString): move core of
457 ParseQueryString into internal method to make it available to
460 2006-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
462 * HttpApplication.cs: assign the context when run from a thread not in
463 the threadpool. Patch by Andrew Skiba. Fixes bug #78583.
465 2006-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
467 * HttpApplication.cs: context.Handler does not change for
468 HttpServerUtility.Execute, so moved setting it into the pipeline instead
471 2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
473 * HttpUtility.cs: implemented ParseQueryString
475 2006-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
477 * HttpUtility.cs: get rid of TryParseHexa.
479 2006-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
481 * HttpApplicationFactory.cs: make sure that the application start event
482 is run before any request is processed.
484 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
486 * HttpServerUtility.cs: don't reset the query string in Execute() when
487 the path does not contain it and we have one from the previous request.
490 2006-04-20 Andrew Skiba <andrews@mainsoft.com>
492 * SiteMapNode.cs: fix few null reference exceptions
494 2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
497 (TransmitFile): make sure we can read the file before buffering it.
499 2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
501 * HttpApplicationFactory.cs: don't fail on events that are not
502 EventHandlers. Patch by Matthew Metnetsky.
504 2006-04-11 Andrew Skiba <andrews@mainsoft.com>
506 * HttpRequest.cs: remove code duplication (see UrlUtils.Combine)
508 2006-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
510 * HttpUtility.cs: allow "%%" as a escape for '%' and ignore invalid
511 hexadecimal characters. Based on a patch by Vladimir Krasnov.
513 2006-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
515 * HttpWriter.cs: only keep the byte buffer around if its size is less
516 than or equals to 32K.
518 2006-04-08 Miguel de Icaza <miguel@novell.com>
520 * HttpWriter.cs (Write): Added missing check for null string as
521 something is now calling it like that.
523 2006-03-27 Joshua Tauberer <tauberer@for.net>
525 * HttpWriter.cs: Avoid creation of a byte[] on each Write()
526 by reusing and resizing a private array.
528 2006-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
530 * HttpRequest.cs: the field content_length can be < 0 and then we try to
531 read when there's no data and block.
533 2006-04-05 Andrew Skiba <andrews@mainsoft.com>
535 * HttpUtility: UrlEncode and UrlEncodeUnicode logic unified, behaviour
536 fixed to match dotnet and http://rfc.net/rfc1738.html
538 2006-03-30 Konstantin Triger <kostat@mainsoft.com>
540 * HttpApplicationFactory.cs: refactoring: remove static modifier from session_end field.
541 Does not check the behavior as HttpApplicationFactory is a singleton.
543 2006-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
545 * HttpUtility.cs: UrlDecode does not throw if an hexadecimal sequence
546 fails to parse as an integer. Fixes bug #77931.
548 2006-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
550 * HttpResponse.cs: more fixes for CacheControl: MS allows to set it to
551 null and "" and the getter value does not completely depend on Cache.
553 * HttpRequest.cs: fail validating the request input if there's a control
554 character after a '<'. Fixes XSS_Null test.
556 All System.Web tests pass again.
557 2006-03-22 Robert Jordan <robertj@gmx.net>
559 * HttpCachePolicy.cs: fix the Cache-control header. Fixes bug #77826.
561 2006-03-22 Chris Toshok <toshok@ximian.com>
563 * HttpApplication.cs: fix typo - AuthenticateRequest =>
564 PostAuthenticateRequest.
566 2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
569 * HttpRequest.cs: revert part of r58229.
571 2006-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
573 * ServerVariablesCollection.cs: fixed "URL" variable, it should not
576 2006-03-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
579 (CheckString): style and don't index the string twice per iteration.
581 2006-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
583 * TempFileStream.cs: a FileStream that removes the file once
585 * HttpRequest.cs: support for writing request data to on-disk
586 files if the request is longer than the threshold specified in the
587 configuration files. In mono this will work for 1.x and 2.0, while with
588 MS this only works for 2.0.
590 2006-03-18 Robert Jordan <robertj@gmx.net>
592 * HttpCachePolicy.cs: expose the validation callbacks.
595 2006-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
597 * HttpApplication.cs: fix upper bound when iterating through the module
600 2006-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
602 * HttpRequest.cs: use the provided content encoding to decode the file
603 name. Fixes bug #77714.
605 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
607 * HttpResponse.cs: allow setting a Cache-Control header through
608 AppendHeader. Fixes bug #77775.
610 2006-03-15 Chris Toshok <toshok@ximian.com>
612 * XmlSiteMapProvider.cs (RemoveProvider): oops, no override.
614 * StaticSiteMapProvider.cs (AddNode): call MapUrl.
615 (FindSiteMapNode): same.
617 2006-03-15 Chris Toshok <toshok@ximian.com>
619 * SiteMapProvider.cs (ReturnNodeIfAccessible): new function,
620 either return the node or throw InvalidOperationException.
621 (get_RootNode): use ReturnNodeIfAccessible.
622 (IsAccessibleToUser): flesh this out a bit, and add comments on
623 how the rest of the implementation should be written.
624 (FindSiteMapNodeFromKey): implement to match MS behavior, docs be
627 * XmlSiteMapProvider.cs: corcompare work.
629 * StaticSiteMapProvider.cs (AddNode): Add a check to see if node
630 == RootNode. Not sure if this is actually correct, but it's
631 required given our implementation of XmlSiteMapProvider. without
632 this check, we end up assigning RootNode.ParentNode == RootNode,
633 which makes for an infinite loop when we traverse up the tree.
635 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
637 * HttpRequest.cs: fixed MakeInputStream method under TARGET_JVM,
638 fixed if content lenght value is less that byte received
640 2006-03-10 Chris Toshok <toshok@ximian.com>
642 * StaticSiteMapProvider.cs (UrlToNode): this entire file is #if
643 NET_2_0, no need to embed another #if NET_2_0.
645 * SiteMapProvider.cs (AddNode): throw NotImplementedException.
646 (FindSiteMapNode): with null context, return null. don't throw
647 ArgumentNullException.
648 (RemoveNode): throw NotImplementedException.
649 (IsAccessibleToUser): check arguments to make test pass. still
650 lacking the method's actual functionality.
651 (ResourceKey): add missing property.
653 2006-03-10 Chris Toshok <toshok@ximian.com>
655 * HttpRequest.cs (CheckString): add back in the check for \xff1c
656 that i took out. oops.
658 2006-03-10 Chris Toshok <toshok@ximian.com>
660 * HttpRequest.cs (CheckString): implement as described in
661 Shackow's "Professional ASP.NET 2.0 Security, Membership, and Role
662 Management", page 310.
664 2006-03-08 Chris Toshok <toshok@ximian.com>
666 * SiteMap.cs: clean this up a bunch. use the SiteMapSection to
667 initialize the provider collection, and don't add a provider.
668 web.config handles that for us. Also, don't always return true
671 2006-02-28 Chris Toshok <toshok@ximian.com>
673 * HttpCookieMode.cs: corcompare work.
675 * ProcessShutdownReason.cs: same.
677 * SiteMapNodeCollection.cs: same.
679 * SiteMapNode.cs: same.
681 * SiteMapProvider.cs: same.
683 * HttpCacheRevalidation.cs: same.
685 * HttpCacheability.cs: same.
687 * StaticSiteMapProvider.cs: same.
689 * HttpValidationStatus.cs: same.
691 2006-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
693 * DefaultHttpHandler.cs: New file.
695 2006-02-01 Chris Toshok <toshok@ximian.com>
697 * SiteMap.cs: use GetSection instead of GetWebApplicationSection.
699 2006-02-01 Chris Toshok <toshok@ximian.com>
701 * HttpApplication.cs: CONFIGURATION_2_0 => NET_2_0, and use
702 GetSection instead of GetWebApplicationSection.
704 * HttpApplication.jvm.cs: same.
706 * HttpApplicationFactory.cs: same.
708 * HttpContext.cs: same.
710 * CapabilitiesLoader.cs: same.
712 * QueueManager.cs: same.
714 * HttpRuntime.cs: same.
716 * TraceManager.cs: same.
718 * HttpRequest.cs: same.
720 2006-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
722 * HttpApplication.cs: keep any exception that happens during
725 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
727 * HttpDataTransferMode.cs: Removed file.
728 * HttpRequestPriority.cs: Removed file.
729 * ApplicationShutdownReason.cs:
732 * HttpApplication.cs: minor class status fixes.
734 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
736 * VirtualPathUtility.cs: done with all the not implemented methods.
738 2006-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
740 * HttpResponse.cs: use UInt64.Parse for content length. In AppendHeader,
741 set cache_control through the property to update the cachebility
742 accordingly. When using the cached headers, don't add again all the
743 headers to that collection.
744 * HttpCacheVaryByParams.cs: if there are no params, return null.
745 Otherwise we get an empty 'Vary' header.
747 2006-01-25 Chris Toshok <toshok@ximian.com>
749 * HttpApplication.cs (Start): wrap InitOnce in a try/catch block,
750 and if there's a configuration error, output it and end things
753 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
755 * HttpRequest.cs: fixed the file path when RewritePath is used. Also
756 add the PathInfo to the Url. Fixes bug #77291.
758 2006-01-22 Chris Toshok <toshok@ximian.com>
760 * HttpRequest.cs (ReadBoundary): remove two unused variables to
762 (IsBoundary): remove unused method.
764 * MimeTypes.cs (.cctor): use a 2.0 friendly form of the Hashtable
765 ctor to silence a warning.
767 * HttpCacheVaryByHeaders.cs (.ctor): same.
769 * HttpCacheVaryByParams.cs (.ctor): same.
771 * StaticSiteMapProvider.cs (UrlToNode): same.
773 2006-01-22 Konstantin Triger <kostat@mainsoft.com>
775 * HttpWorkerRequest.cs: ensure case insensitivity in header search.
777 2006-01-19 Konstantin Triger <kostat@mainsoft.com>
779 * HttpApplication.jvm.cs: merge HttpApplication.cs changes.
781 2006-01-17 Chris Toshok <toshok@ximian.com>
783 * CapabilitiesLoader.cs (Init): use WebConfigurationManager in the
784 CONFIGURATION_2_0 case.
786 * HttpRuntime.cs (MachineConfigurationDirectory): same.
788 2006-01-16 Chris Toshok <toshok@ximian.com>
790 * HttpApplicationFactory.cs: call WebConfigurationManager.Init in
791 the CONFIGURATION_2_0 case.
793 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
795 * HttpWriter.cs: made Write (char) less memory hungry. Thanks to Mike
796 Glenn for pointing this out.
798 2006-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
800 * HttpApplicationFactory.cs: fix condition for ContextAvailable.
802 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
804 * HttpResponse.cs: removed TARGET_JVM block from End
805 * GetJavaTextReader: Merged TARGET_JVM block from LoadFile
808 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
810 * HttpRequest.cs: removed TARGET_JVM block from MapPath
812 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
814 * HttpRequest.cs: little fix in MapPath(), virtualPath.Replace
815 return value wasnt stored.
817 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
819 * HttpResponse.cs: typo in comment.
821 * HttpApplicationFactory.cs:
822 * HttpApplication.cs: don't discard the application used for running the
823 Application_Start event to allow for Redirect/Transfer to be used. Fail
824 to get the request/response from the application object as MS does (it
825 can still be retrieved through HttpContext.Current.blah). Fixes
828 2006-01-09 Vladimir Krasnov <vladimirk@mainsoft.com>
830 * CapabilitiesLoader.cs: Merged TARGET_JVM parts in LoadFile
832 * HttpException.cs: Merged TARGET_JVM parts in GetHtmlizedErrorMessage
834 * HttpRequest.cs: Merged TARGET_JVM parts in MapPath from /main/29
835 * HttpResponse.cs: Merged TARGET_JVM parts in End() from /main/30
836 * StaticFileHandler.cs: Merged TARGET_JVM parts in ProcessRequest
839 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
841 * BrowserCapabilities.cs, HttpBrowserCapabilities.cs,
842 HttpResponseStream.cs: TARGET_JVM changes to let the compilation
845 2006-01-04 Chris Toshok <toshok@ximian.com>
847 * HttpContext.cs (IsCustomErrorEnabled): add CONFIGURATION_2_0
848 code. use a nasty 'using' hack to map the 2.0 CustomErrorsMode to
849 the 1.x CustomErrorMode name.
850 (IsDebuggingEnabled): add CONFIGURATION_2_0 code.
851 (ConfigTimeout): add CONFIGURATION_2_0 code.
853 * HttpRequest.cs (MakeInputStream): add CONFIGURATION_2_0 code.
855 * HttpApplication.cs (RedirectCustomError): add CONFIGURATION_2_0
858 * SiteMap.c (Init): use
859 WebConfigurationManager.GetWebApplicationSection.
861 2005-12-21 Miguel de Icaza <miguel@novell.com>
863 * HttpUtility.cs (UrlEncodeUnicode): The generated encoding of
864 unicode values must be in %XXXX format, not %XX sometimes.
866 2005-12-08 Robert Jordan <robertj@gmx.net>
868 * MimeTypes.cs: added entry for "jpg".
870 2005-12-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
872 * HttpRequest.cs: only read up to content-length when provided. Patch
875 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
877 * HttpCookie.cs: fixed the set_Secure. Closes bug #76906.
879 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
881 * HttpResponseStream.cs: flush the filter stream before closing.
882 Patch by Geir Bergum that fixes bug #76753.
884 2005-11-28 Chris Toshok <toshok@ximian.com>
886 * HttpContext.cs (Profile): remove the #if false from around this,
887 as we now have the ProfileBase type.
888 (GetConfig): add CONFIGURATION_2_0 version.
889 (GetSection): add CONFIGURATION_2_0 version.
891 2005-11-28 Chris Toshok <toshok@ximian.com>
893 * TraceManager.cs (..ctor): CONFIGURATION_2_0 work.
895 * QueueManager.cs (..ctor): CONFIGURATION_2_0 work.
897 * HttpRequest.cs (AnonymousID): add 2.0 property.
898 (MakeInputStream): CONFIGURATION_2_0 work.
900 * HttpApplication.cs (InitOnce): change around the
901 CONFIGURATION_2_0 stuff since we need additional Culture foo for
904 2005-11-27 Chris Toshok <toshok@ximian.com>
906 * HttpApplication.cs (InitOnce): add Configuration_2.0 code.
909 2005-11-26 Miguel de Icaza <miguel@novell.com>
911 * HttpResponseStream.cs: Do not try to write zero bytes.
913 2005-11-24 Miguel de Icaza <miguel@novell.com>
915 * WebROCollection.cs: Do not add an empty "=" to the query string
916 if the key is empty or null.
918 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
920 * WebROCollection.cs: override ToString and generate a query string from
921 the key/value pairs. Fixes bug #76779.
923 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
925 * HttpServerUtility.cs: prevent possible nullref in GetLastError().
927 2005-11-07 Jason Diamond <jason@diamond.name>
929 * HttpRequest.cs: Don't throw exception when Content-Length doesn't
930 match length of POSTed data. Also, allow charset parameter on
931 Content-Type header when type is "application/x-www-form-urlencoded".
933 2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
935 * WebROCollection.cs: add an ID for the collection. Page needs it.
937 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
939 * HttpRequest.cs: no need to allocate the buffer when all the content
942 2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
944 * HttpApplication.cs: ignore TAE in ProcesssError. The Error event might
945 redirect or transfer and that causes a TAE to be thrown. Fixes
948 2005-11-01 Chris Toshok <toshok@ximian.com>
950 * VirtualPathUtility.cs: new (partial implementation) to get some
951 MS provider examples compiling.
953 2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
955 * HttpContext.cs: added a new internal overload for ClearError.
957 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
959 * HttpRuntime.cs: invoke callbacks on private items in the cache before
960 calling disposing the app. factory. This way we get notifications of
961 removal for all sessions stored in the cache (InProc only).
963 2005-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
965 * HttpResponseStream.cs: reworked buffering so that adjacents blocks are
966 written at once. Also fix bug #76460.
968 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
970 * HttpResponseStream.cs: when allocating a chunk larger than the
971 default chunk size, mark all the blocks as taken. Fixes bug
974 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
976 * HttpResponse.cs: use HaveFilter instead of Filter.
977 * HttpResponseStream.cs: allocate chunks of the requested size
978 when it's > 32KB. Fixes bug #76460.
980 2005-10-14 Sebastien Pouliot <sebastien@ximian.com>
982 * ServerVariablesCollection.cs: Added a demand for
983 SerializationFormatter on GetObjectData method (even if it's not
984 really required in this case as it remove warnings from gendarme.
986 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
989 * HttpRequest.cs: buglets in error checking in Filter.
991 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
993 * OutputFilterStream.cs: proxy class for response filters.
994 * HttpResponse.cs: moved all the actual write operations into the
995 response stream. Handle response filtering. When caching, get the
996 actual length of the data, not the buffer length.
997 * HttpApplication.cs: if there's no error, invoke the filters before
998 updating the request cache.
999 * HttpResponseStream.cs: new Filter property. SendChunkSize is moved
1000 here and now supports writing the final chunk. New method ApplyFilter
1001 that filters the existing buckets and replaces them with the filtered
1002 ones. Modified Write to deal with buffering and filtering.
1004 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1006 * HttpResponseStream.cs: allow for writes of more than 32K at once.
1008 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1010 * InputFilterStream.cs proxy stream for use by filters.
1011 * HttpRequest.cs: implement input filtering.
1013 2005-10-02 Eyal Alaluf <eyala@mainsoft.com>
1014 * HttpApplication.jvm.cs - Workaround for use of yield in
1015 HttpApplication.cs HttpRuntime.cs: AppDomain.Unload is not supported
1018 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1020 * HttpResponseStream.cs: remove dead code.
1022 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
1024 * HttpClientCertificate.cs: Remove last TODO on IsValid. This now
1025 works when using XSP. Now use flags to determine valid/presence.
1027 2005-09-26 Chris Toshok <toshok@ximian.com>
1029 * HttpApplicationFactory.cs (OnAppFileChanged): add null checks
1030 for bin_watcher and app_file_watcher so we don't get NRE's here.
1032 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1034 * BrowserCapabilities.cs: don't rely on the win32 attribute to be there.
1035 Just use the platform to determine whether Win32 is true or not. Fixes
1038 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1040 * HttpApplication.cs: fixed typo when setting UI culture. Closes bug
1043 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1045 * HttpRequest.cs: new SetFilePath() that does not conflict with
1046 SetCurrentExePath. Now when transfering from a page to another,
1047 CurrentExecutionFilePath and FilePath are correct.
1049 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1051 * TraceContext.cs: add new method to store size of controls.
1052 * TraceData.cs: render control size.
1053 * HttpResponse.cs: new internal method to get the number of bytes of
1055 * HttpResponseStream.cs: added Length property to the Buckets and new
1058 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1060 * TraceData.cs: we have to change the method of getting a control render
1061 size. MS does not do this or otherwise would run into the same bug
1062 (#76051) that this patch fixes. This is temporarily setting the size
1065 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1067 * HttpResponseStream.cs: implemented Send(stream) for files. Fixes bug
1070 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1072 * HttpRuntime.cs: catch errors when compiling global.asax and
1073 initializing the application. Fixes bug #76090.
1075 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1077 * BrowserCapabilities.cs: Fixed changes (in 2.0) with versions. Fixed
1078 compare with "True" (culture and case sensitivity).
1079 * HttpApplicationState.cs: Added LinkDemand for Minimal. Use the
1080 internal HttpStaticObjectsCollection ctor to avoid the UnmanagedCode
1082 * HttpContext.cs: Added LinkDemand for Minimal. Added 2.0 properties
1083 and methods to test CAS on them.
1084 * HttpRequest.cs: Added LinkDemand for Minimal. Ensure we return
1085 proper values when worker_request is null.
1086 * HttpResponse.cs: Added LinkDemand for Minimal. Ensure we return
1087 proper values when context or WorkerRequest is null. Added 2.0
1088 properties and methods to test CAS on them.
1089 * HttpRuntime.cs: Added LinkDemand for Minimal. Added PathDiscovery
1090 demands for properties returning directories. Added demand for High
1091 level on AppDomainAppId and AppDomainId properties, Low level on
1092 IsOnUNCShare, Medium level on ProcessRequest and a demand for
1093 UnmanagedCode on UnloadAppDomain method. Constructor also has a
1094 UnmanagedCode demand for 1.x.
1095 * HttpStaticObjectsCollection.cs: Added LinkDemand for Minimal. Added
1096 a UnmanagedCode demand to public ctor. Added internal ctor without the
1097 demand. Changed Serialize and Deserialize methods to public for 2.0.
1099 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1101 * HttpWorkerRequest.cs: Removed TODO for 2.0 APIs and return the
1102 default values for them.
1104 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1106 * HttpApplication.cs: : Added LinkDemand and InheritanceDemand (class)
1107 for Minimal. Changed AssemblyLocation to a property (so it doesn't
1108 require special permission, PathDiscovery) to create an instance.
1109 Protected Modules property with a Demand for High level. Added some
1110 missing HttpException for null context.
1111 * HttpServerUtility.cs: Added LinkDemand for Minimal. Added demands
1112 for UnmanagedCode on all CreateObject* methods. Added demand for
1113 Medium level on MachineName and ScriptTimeout properties. Added new
1114 overloaded Transfer method (2.0) to test CAS on it.
1115 * HttpUtility.cs: Added LinkDemand for Minimal. Added [Obsolete] to
1116 ctor (2.0). Changed some return values when 'count' is 0. Added
1117 ParseQueryString (overload) methods for 2.0 (to enabled CAS testing on
1119 * HttpWorkerRequest.cs: Added LinkDemand and InheritanceDemand (class)
1120 for Minimal. Added RequestTraceIdentifier and RootWebConfigPath (2.0)
1121 properties, GetPreloadedEntityBody, GetPreloadedEntityBodyLength,
1122 GetTotalEntityBodyLength and ReadEntityBody (2.0) methods to test CAS
1123 on them. Fixed SendResponseFromMemory to ignore IntPtr.Zero (used in
1124 tests without failures).
1125 * ServerVariablesCollection.cs: Fixed loadServerVariablesCollection
1126 when HttpWorkerRequest is null.
1127 * TraceContext.cs: Added LinkDemand for Minimal. Fixed default Mode
1128 (SortByTime). Added new (2.0) TraceFinished event to test CAS on it.
1130 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1132 * HttpBrowserCapabilities.cs: Added LinkDemand and InheritanceDemand
1133 (class) for Minimal. Note that current MCS has problem compiling
1134 security attributes on partial class (bug #75969).
1135 * HttpCachePolicy.cs: Added LinkDemand for Minimal. Added 2.0 methods
1136 (stub) to enable CAS tests on them.
1137 * HttpCacheVaryByHeaders.cs: Added LinkDemand for Minimal.
1138 * HttpCacheVaryByParams.cs: Added LinkDemand for Minimal.
1139 * HttpClientCertificate.cs: Added LinkDemand and InheritanceDemand
1140 (class) for Minimal.
1141 * HttpCookie.cs: Added LinkDemand for Minimal.
1142 * HttpCookieCollection.cs: Added LinkDemand for Minimal.
1143 * HttpFileCollection.cs: Added LinkDemand for Minimal.
1144 * HttpModuleCollection.cs: Added LinkDemand for Minimal.
1145 * HttpPostedFile.cs: Added LinkDemand for Minimal.
1146 * HttpRequestPriority.cs: Fix enum values.
1147 * HttpWriter.cs: Added LinkDemand for Minimal.
1149 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1151 * ProcessInfo.cs: Added LinkDemand and InheritanceDemand (class) for
1153 * ProcessModelInfo.cs: Added LinkDemand and InheritanceDemand (class)
1154 for Minimal. Methods GetCurrentProcessInfo and GetHistory are also
1155 protected by Demand for High level.
1157 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1159 * HttpCompileException.cs: Added new public ctors and [Serializable]
1160 to 2.0. Added new Message property and GetObjectData (protected by a
1161 demand for SerializationFormatter) for 2.0. Fixed line-ending.
1162 * HttpException.cs: Added LinkDemand and InheritanceDemand (class) for
1163 Minimal. Renamed parameters to match documentation.
1164 * HttpParseException.cs: Added LinkDemand (class) for Minimal. Added
1165 demand for SerializationFormatter on GetObjectData method. Fixed
1167 * HttpRequestValidationException.cs: Added new public ctors and
1168 [Serializable] to 2.0. Added LinkDemand for Minimal.
1169 * HttpUnhandledException.cs: Added new public ctors and [Serializable]
1170 to 2.0. Removed unused internal ctor. Added LinkDemand for Minimal.
1173 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1175 * HttpResponseSubstitutionCallback.cs: New. 2.0 delegate.
1176 * TraceContextEventArgs.cs: New. 2.0 class.
1177 * TraceContextEventHandler.cs: New. 2.0 delegate.
1179 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1181 * HttpRequest.cs: use GetServerName instead of GetLocalAddress when
1184 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1186 * HttpRequest.cs: fix the indexer.
1188 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1190 * HttpPostedFile.cs: fixes in Seek and Position.
1192 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
1194 * HttpRequest.cs: Make sure the MemoryStream created have their
1195 contents marked as public - or else you can't call GetBuffer on them!
1197 2005-09-08 Miguel de Icaza <miguel@novell.com>
1199 * HttpRequest.cs: Patch from Juraj Skripsky <js@hotfeet.ch> that
1202 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1204 * HttpPostedFile.cs: Make this class actually work. Every time we read,
1205 we have to position the underlying stream.
1207 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1209 * HttpRequest.cs: reading multipart/form-data works again.
1211 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
1212 * HttpRequest.cs: Under TARGET_JVM the input stream must allow GetBuffer.
1214 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
1215 * HttpApplicationFactory.cs: TARGET_J2EE/JVM fix.
1217 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1219 * HttpRequest.cs: correctly detect multipart/form-data.
1221 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1223 * HttpApplicationFactory.cs: recycle after invoking session_end.
1225 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1227 * HttpRuntime.cs: remove Console.
1229 * HttpApplicationFactory.cs: don't hook Session_End, but keep
1230 the MethodInfo around for later invocation if needed. Don't call
1231 GetMethods() for every HttpApplication (or derived class) instances.
1232 Added a method, used by SessionStateModule, that will create use an
1233 application without context to invoke Session_End. Keep a pool of
1234 applications that are meant to be used by this method only.
1236 * HttpApplication.cs: add a SetSession method and do not
1237 attach all the events if the application is for Session_End only.
1239 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1241 * HttpRuntime.cs: actually unload the domain when requested. Reformatted
1242 FinishUnavailable() and removed the 'Location' header form the error.
1244 * HttpApplicationFactory.cs: set up the watcher for the bin directory.
1245 This also prevents a nullref when global.asax is changed.
1247 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1249 * HttpApplication.cs: fixed bug introduced when moving GetHandler call
1250 around. Now we get error pages again.
1252 2005-09-06 Miguel de Icaza <miguel@novell.com>
1254 * HttpApplication.cs: Catch EndRequest errors as well.
1256 2005-09-05 Miguel de Icaza <miguel@novell.com>
1258 * HttpApplication.cs: Invoke EndRequest handler before OutputPage
1259 as FormsAuthentication will issue a Redirect from the EndRequest
1262 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1264 * HttpApplication.cs: when writing an error message, catch the possible
1267 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1269 * HttpResponseStream.cs: prevent invalid cast exception if the first
1270 thing written is a file.
1272 2005-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1274 * HttpApplication.cs: fix invalid cast exception (bug #75926).
1276 2005-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1278 * HttpApplicationFactory.cs: only trigger the Application_Start event
1279 once. It was being invoked more than once when several clients were
1280 hitting the server at the same time on startup.
1282 2005-09-01 Eyal Alaluf <eyala@mainsoft.com>
1284 * HttpContext.cs HttpResponse.cs HttpWorkerRequest.cs HttpRuntime.cs
1285 HttpApplicationFactory.cs HttpApplication.cs: TARGET_J2EE/JVM fixes.
1286 Mostly workaround limited AppModel in TARGET_J2EE.
1288 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1290 * HttpResponse.cs: if the request method is HEAD, that's equivalent to
1291 SuppressContent. Added an internal TransmitFile that allows setting the
1293 * StaticFileHandler.cs: use the new internal TransmitFile and remove
1294 generation of Content-Length header, as now it's computed correctly.
1295 * HttpApplication.cs: remove debugging stuff.
1296 * HttpResponseStream.cs: suppress_content is checked in HttpResponse.
1298 2005-08-31 Miguel de Icaza <miguel@novell.com>
1300 Removed debugging info.
1302 * HttpApplication.cs: Add support for async handlers.
1304 Add extra 2.x methods.
1306 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1308 * BrowserCapabilities.cs: removed extra 'using'.
1310 * HttpApplication.cs: use just the 'modcoll' to hold the collection of
1311 modules instead of having a separate 'modules' one.
1313 2005-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1315 * HttpApplication.cs: clone the module collection so that
1316 it's not shared between HttpApplications. Call GetHandler() in the
1319 2005-08-30 Miguel de Icaza <miguel@novell.com>
1321 * HttpApplication.cs: Add the new 2.x method overloads that take a
1324 (RunHooks): Pass the extra data instead of null.
1326 * HttpCookie.cs (HttpOnly): Add 2.x cookie header.
1328 * BrowserCapabilities.cs: Move the core of the capabilities into a
1329 separate file. Use partial classes to choose what version to
1332 * HttpBrowserCapabilities.cs: Update to move the code elsewhere.
1334 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
1336 * HttpResponseStream.cs: Fix a bug introduced by last fix (thanks to
1339 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
1341 * HttpResponseStream.cs: Compilation fixes for TARGET_JVM. TARGET_JVM
1342 does not support unsafe code. I localized all unsafe code within Chunk
1343 & Block and created a managed version of Chunk.
1345 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
1346 * HttpApplicationFactory.cs: Compilation fixes for TARGET_J2EE. Under
1347 TARGET_J2EE static fields are shared by all app domains. We handle
1348 this difference by explicitly getting/setting values from the app
1349 domain. Since HttpApplicationFactory has many static fields, I
1350 refactored it to have one static instance and moved the static fields
1351 into instance fields.
1353 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
1355 * HttpRequest.cs: Disable use of IntPtrStream for TARGET_JVM
1357 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
1359 * HttpContext.cs: Compilation fixes for TARGET_J2EE/JVM
1361 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1363 * HttpResponse.cs: don't duplicate the 'charset=' and don't send a
1364 charset for unknown MIME types.
1365 * StaticFileHandler.cs: set the Content-Length header here.
1366 * HttpRequest.cs: prevent nullrefs when we have no 'charset='.
1368 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1370 * StaticFileHandler.cs: use TransmitFile instead of WriteFile. This way
1371 xsp will use sendfile().
1373 2005-08-28 Chris Toshok <toshok@ximian.com>
1375 * SiteMapNode.cs: fix IHierarchyData.GetParent.
1377 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1380 * IntPtrStream.cs: now we only have a read-only MemoryStream or an
1381 IntPtrStream. The copy is moved into HttpRequest.
1383 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
1385 * WebCategoryAttribute.cs: New. Required internal attribute.
1386 * WebSysDescriptionAttribute.cs: New. Required internal attribute.
1388 2005-08-26 Jackson Harper <jackson@ximian.com>
1390 * HttpResponseStream.cs: Use GetBuffer so the memory isn't
1393 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1395 * HttpApplication.cs: GetHandler might return null when, for example,
1396 a web service fails, but that does not mean that returning a null
1397 handler should throw another exception, as the web service code
1398 serialized the error as a faultString. So if the handler is null, just
1399 don't call ProcessRequest and keep going.
1401 2005-08-26 Jackson Harper <jackson@ximian.com>
1403 * HttpResponse.cs: Send the cached headers if this is a cached
1404 response. Save the headers, date header, and page data. Fix a typo.
1405 * HttpResponseStream.cs: Add new accesor to get a byte [] of the
1408 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1410 * HttpWorkerRequest.cs: SetEndOfSendNotification is a noop. No matter
1411 what callback you use that never gets called. In XSP I actually
1412 implement something for this method.
1413 * HttpServerUtility.cs: unused variable.
1415 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1417 * HttpInputStream.cs: new ctor that takes a byte [].
1418 * IntPtrStream.cs: make it work on a byte [] too.
1421 (ContentLength): return 0 for negative numbers or error parsing, but
1422 keep content_length negative in those cases.
1423 (MakeInputStream): when there's no content-length (or it's negative),
1424 we still read the request into a MemoryStream. Use
1425 IsEntireEntityIsPreloaded() as a fast path.
1427 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1429 * HttpClientCertificate.cs: On 1.x the .ctor throws a
1430 ArgumentNullException (but 2.0 throws a NRE).
1432 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1434 * HttpRequest.cs: HttpMethod deserves its own field. Fix IsLocal.
1436 2005-08-25 Chris Toshok <toshok@ximian.com>
1438 * HttpApplication.cs (IsReusable): return true.
1439 (InitOnce): remove the initialization of handler_factory from
1441 (GetHandler) and move it here, so we make sure to load handlers
1442 from all needed web.config files.
1444 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1446 * HttpServerUtility.cs: use GetHandler().
1447 * HttpApplication.cs: remove obsolete method. Now Transfe/Execute work.
1449 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1451 * HttpApplication.cs: no need for the local var. here.
1453 2005-08-25 Chris Toshok <toshok@ximian.com>
1455 * HttpApplication.cs (InitOnce): move the initialization of
1456 modules above the call to HttpApplicationFactory.AttachEvents,
1457 since that method accesses HttpApplication.Modules. Fixes
1459 (IsReusable): mark TODO.
1461 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1463 * HttpResponseHeader.cs: removed obsolete class.
1464 * HttpResponse.cs: no more 'obsolete' warnings.
1466 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1468 * HttpRuntime.cs: implemeted some missing properties.
1470 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1472 * HttpResponse.cs: implemented RemoveOutputCacheItem().
1474 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1476 * HttpApplication.cs: implemented GetVaryByCustomString().
1478 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1480 * HttpRequest.cs: implemented SetHeader (allows adding a header
1481 circumventing the read-only protection of the collection) and SetForm,
1482 which just assigns a value of the 'form' collection.
1483 * HttpServerUtility.cs: NameValueCollection -> WebROCollection.
1485 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1488 * HttpRequest.cs: implemented RewritePath and supporting methods.
1490 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
1492 * HttpRequest.cs: Avoid NRE if work_request if null in the ctor.
1493 * HttpResponse.cs: Avoid NRE if work_request if null in the ctor.
1495 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1497 * HttpApplication.cs: if there's any exception thrown when getting the
1498 handler, don't add an extra error to the context, as we already have
1501 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1505 * HttpWorkerRequest.cs:
1506 * HttpApplication.cs: added mising attributes and enabled methods
1509 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1511 * WebROCollection.cs: a collection that allows setting IsReadOnly.
1512 * HttpRequest.cs: implemented MapImageCoordinates(). Use WebROCollection
1513 instead of a NameValueCollection in Form, Headers, Params, QueryString.
1515 2005-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1517 * HttpInputStream.cs: new copy ctor.
1518 * IntPtrStream.cs: getters for base_address and size.
1519 * HttpRequest.cs: implemented SaveAs(). Use a wrapper on top of
1520 InputStream so that reading POST form or files does not modify the state
1521 if InputStream. Don't use uri_builder.Query in QueryStringRaw, as it
1524 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1526 * HttpRequest.cs: implemented UserLanguages and reuse code from
1529 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1531 * HttpRequest.cs: implemented AcceptTypes.
1533 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1535 * HttpRequest.cs: implemented this[] in terms of Params. Don't add the
1536 header collection in Params.
1538 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1540 * HttpRequest.cs: fix Files property.
1541 * HttpApplication.cs: invoke the default authentication event after all
1542 the other auth. modules.
1544 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1546 * ServerVariablesCollection.cs: mark the collection as read-only except
1547 when we fill it. Add the HTTP_blah key/value pairs too.
1549 2005-08-18 Chris Toshok <toshok@ximian.com>
1551 * HttpRequest.cs (get_Params): implement.
1553 2005-08-17 Chris Toshok <toshok@ximian.com>
1555 * HttpResponse.cs: HttpResponse's Cookie's collection acts
1556 differently than HttpRequests in that it never returns null from
1557 the "this [string]" accessor.
1559 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1561 * HttpRequest.cs: check length 0 case when reading a POST.
1563 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1565 * HttpContext.cs: added security attributes for User and
1566 SkipAuthorization properties.
1567 * HttpApplicationFactory.cs: AttachEvents is now called form the
1568 application .ctor. Recycle instead of dispose.
1569 * HttpApplication.cs: attach events to the newly created application.
1571 2005-08-15 Jackson Harper <jackson@ximian.com>
1573 * ApplicationShutdownReason.cs: make build
1575 2005-08-15 Miguel de Icaza <miguel@novell.com>
1577 * HttpApplication.cs: Update comments
1579 * HttpPostedFile.cs: Use a substream to read from the uploaded
1582 * HttpRequest.cs: use new code to read the uploaded files.
1584 2005-08-12 Miguel de Icaza <miguel@novell.com>
1586 2.x API fixage and small additions:
1588 * HttpResponse.cs: Make constructor internal.
1590 * HttpRequest.cs (IsLocal): Expose if NET_2.x
1592 * HttpContext.cs: Remove internal routine.
1594 * HttpApplication.cs: Add 2.x events.
1596 * HttpRequest.cs: Another iFolder issue: I was not setting up the
1599 Fixes to get iFolder to work:
1601 * HttpApplicationFactory.cs: Set the context when we are initting
1604 * HttpApplication.cs (SetContext): helper routine.
1606 * HttpResponse.cs: Implement the various cache operations:n
1607 Expires, ExpiresAbsolute, CacheControl.
1609 Actually produce the Cache-Control header, the "Cache" property
1610 takes precedence over the compatibility settings (Expires,
1611 ExpiresAbsolutely and CacheControl).
1613 * HttpCachePolicy.cs: Fix style.
1615 Fix the generation of the headers, use lower-case values, do not
1616 add the max-value if the value is zero.
1618 Allow for all possible values in SetCacheability.
1620 * HttpRuntime.cs (ClrInstallDirectory): Implement.
1622 * HttpResponseStream.cs: Remove debugging stuff.
1624 2005-08-11 Miguel de Icaza <miguel@novell.com>
1626 Big chunked handling rewrite, and integration of Ben's unmanaged
1629 * HttpWriter.cs: Delegate chunked encoding writing to the
1632 * HttpResponse.cs: Rework the chunked encoding system, centralize
1635 * HttpResponseStream.cs: Deploy Ben's bucket-base unmanaged
1638 Changed the way that we handle chunked encoding, centralize it
1641 Remove a lot of manual handling of buffering turned off, and
1642 instead delegate it all to Flush, fixes several issues with the
1645 * HttpWorkerRequest.cs (SendResponseFromMemory (IntPtr, int)):
1646 Provide a default implementation since currently XSP does not have
1647 this method implemented.
1649 2005-08-11 Sebastien Pouliot <sebastien@ximian.com>
1651 * HttpClientCertificate.cs: Culture insensitive int parsing. Fixed
1654 2005-08-10 Miguel de Icaza <miguel@novell.com>
1656 * ServerVariablesCollection.cs: For Ben. Implement the header
1657 fetching here, do not implement it in HttpRequest.cs.
1659 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
1661 * HttpClientCertificate.cs: Changed IsPresent logic so that new unit
1662 tests will work as expected.
1664 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
1666 * HttpClientCertificate.cs: Implemented, except for validation. Note
1667 that the HttpWorkerRequest derived classes must be updated to supply
1668 the required informations.
1669 * HttpRequest.cs: Create an HttpClientCertificate on first call to
1672 2005-08-09 Miguel de Icaza <miguel@novell.com>
1674 * HttpRuntime.cs (AspInstallDirectory): Implement.
1676 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
1678 * HttpClientCertificate.cs: New. Stub. It won't be fun to test.
1680 2005-08-04 Ben Maurer <bmaurer@ximian.com>
1682 * HttpContext.cs: Kill a NIE.
1684 2005-08-04 Miguel de Icaza <miguel@novell.com>
1686 * HttpApplicationFactory.cs: Change "Start" event like the "End"
1687 event, and only do this once, when we init the type.
1689 Fire the "Application_Start" event after we create the type.
1691 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1693 * HttpApplication.cs: catch a ThreadAbort (coming from Response.End)
1696 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1698 * HttpResponse.cs: setting the Status property resets the
1699 StatusDescription (see the tests) and the default value for the
1700 description is the one provided by GetStatusDescription() in
1703 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1705 * HttpRequest.cs: s/boundry/boundary/ and fix typo in array creation.
1707 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1709 * HttpApplication.cs: add call to EndOfRequest when everything is said
1712 2005-08-02 Miguel de Icaza <miguel@novell.com>
1714 * HttpResponse.cs: Stub for TransmitFile.
1716 * HttpRequest.cs (IsAuthenticated): Implement.
1718 2005-08-01 Miguel de Icaza <miguel@novell.com>
1720 * HttpRequest.cs: Cope with implementations of HttpWorkerRequest
1721 (unpatched xsp) that do not send back the PreloadedEntityBody.
1723 * HttpApplication.cs: keep track of the factory.
1724 (Dispose): Only dispose once, clean up other variables, release
1725 the ManualResetEvent.
1726 Release the handler to the factory.
1728 * HttpApplicationFactory.cs: Implement a stack to reuse the
1731 * HttpRequest.cs: On uploads, if the ContentLenght is zero, throw
1734 * HttpRuntime.cs: Recycle the application after using it.
1736 * HttpPostedFile.cs: Implement SaveAs.
1738 * HttpContext.cs: Return the "Server" property.
1740 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1742 * HttpServerUtility.cs: implemented missing bits.
1744 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1746 * HttpRequest.cs: query string was getting a '?' as the start of the
1747 first variable name. This makes the asmx help page work again.
1749 2005-08-01 Miguel de Icaza <miguel@novell.com>
1751 * HttpRequest.cs (Cookies, Forms): Add validation.
1752 (Forms): Add application/x-www-form-urlencoded parsing and
1753 multipart/form-data parsing.
1755 (HttpMultiPart): Implement new class to load multi-part data from
1756 a stream since there is no longer a byte [] that holds the data
1757 (currently we have an unmanaged IntPtr buffer wrapped as a
1758 stream). Also the 2.x framework will add support for large
1759 uploads which are sent directly to disk, which will require the
1760 FileStream interface.
1762 (Path, PathInfo): Fill a couple more methods to avoid crashes.
1764 * HttpContext.cs: Fill another one to get web services summary
1765 page painting. The page does not work though.
1767 * HttpApplication.cs: Rework the pipeline to not depend on
1768 `finally', as `finally' would not be invoked if we choose not to
1769 call the pipeline again (which happens if the `stop' variable is
1772 Instead force the pipeline to go to the shutdown, and yield from
1773 there after all the release-state callbacks have been invoked.
1775 2005-07-31 Miguel de Icaza <miguel@novell.com>
1777 * HttpApplication.cs: Remove debugging messages since the compiler
1780 You must use at least mcs from revision 47879 for the application
1783 2005-07-30 Miguel de Icaza <miguel@novell.com>
1785 * HttpContext.cs: Error handling methods.
1787 * HttpResponse.cs: Trigger the last event.
1789 * HttpRuntime.cs: Add queueing of the next request.
1791 * HttpApplication.cs: Deploy the new yield-based application
1792 pipeline, add error handling to the pipeline.
1794 * HttpApplication.cs (AsyncRequestState): Just use the done event
1797 2005-07-29 Miguel de Icaza <miguel@novell.com>
1799 * HttpResponseStream.cs, HttpRequest.cs: Fix bugs found by nunit.
1801 * HttpApplication.cs: Fix a race condition.
1803 * HttpResponseStream.cs: Fix bug, send the size of the buffer that
1804 we have so far instead of the internal size of the buffer. This
1805 will need work later to ensure we enforce the Content-Length
1806 maximum output size if set.
1808 * ServerVariablesCollection.cs: This class now inherits from
1809 NameValueCollection, we should probably review what the middle
1810 class did, there are no dependencies on it.
1812 I need to write tests to investigate if something is missing or
1813 has changed in this implementation.
1815 2005-07-27 Miguel de Icaza <miguel@novell.com>
1817 * HttpRequest.cs: No happy replies here, send a 411.
1819 2005-07-27 Chris Toshok <toshok@ximian.com>
1821 * HttpResponseHeader.cs: remove spew.
1823 2005-07-27 Chris Toshok <toshok@ximian.com>
1825 * HttpResponseHeader.cs (HttpResponseHandler..ctor): use
1826 HttpWorkerRequest.GetKnownResponseHeaderName instead of
1827 GetKnownRequestHeaderName. Fixes Response.Redirect until miguel's
1828 new HttpReponse is online.
1830 2005-07-26 Miguel de Icaza <miguel@novell.com>
1832 * HttpResponse.cs: use_chunked is now a byte-array, if not null,
1833 we use it to hold the size of the chunked so we do not have to
1834 allocate many of these.
1835 (SendSize): Helper routine to send the chunked headers.
1836 (BinaryWrite): First user of the chunked writer.
1838 * HttpApplication.cs: Do not crash if they request a Server
1839 instance, but throw a NotImplementedException.
1841 * HttpRequest.cs: fix a few problems exposed by the regression
1844 * HttpRequest.cs (Cookies): use Chris' new constructor to get the
1847 : The big Uri rework: instead of using QueryString
1848 as the population mechanism, populate an UriBuilder from the
1849 various HttpWorkerRequest methods.
1851 * HttpWorkerRequest.cs (GetProtocol): Implement in terms of
1854 * HttpResponse.cs: Pointed by Ben, Write (null) is a nop instead
1857 * HttpContext.cs: Add a couple of properties to help the 2.x
1860 * HttpResponse.cs: Make ContentLength a long, add back support for
1861 session's app_path_mod.
1862 (ApplyAppPathmodifier): put back.
1863 (End): Pass a flag to abort so we can tell the exceptions appart
1865 (WriteHeaders): Send the HTTP status.
1866 (Redirect): Implement.
1867 (Write): Use the Output property to load writer when needed.
1869 * HttpRequest.cs (ctor): Temporary use of InitFromWR, will fix
1871 (MakeInputStream): check content-length size, use routines to load
1872 the preloaded data, handle incomplete transfers.
1873 (Query): Do not insert null keys into the collection.
1875 (UrlReferer): implement.
1877 * HttpApplication.cs (RunHooks): Catch Thread.Abort, and call
1878 Thread.ResetAbort after each step.
1880 Ensure that ReleaseState is called if we ever succeed in acquiring
1881 the state even if we have stopped the request pipeline.
1883 Report file not found, directory not found.
1885 2005-07-25 Miguel de Icaza <miguel@novell.com>
1887 * HttpCookieCollection.cs: Add expiration of the cookie.
1889 * HttpRequest.cs: Add check for ContentLength, use
1890 GetPreloadedEntityBody, correct number of bytes uploaded.
1892 2005-07-21 Miguel de Icaza <miguel@novell.com>
1894 * HttpResponseHeader.cs: Our implementation of HttpResponse only
1895 uses the text headers, does not use any constants as XSP would go
1896 through a slower code path anyways.
1898 2005-07-21 Chris Toshok <toshok@ximian.com>
1900 * HttpBrowserCapabilities.cs: enable support for the W3CDomVersion
1901 and EcmaScriptVersion properties.
1903 2005-07-21 Chris Toshok <toshok@ximian.com>
1905 * HttpResponseHeader.cs: hi, i'm stupid and missed String.Replace.
1907 2005-07-21 Chris Toshok <toshok@ximian.com>
1909 * HttpResponseHeader.cs: url encode just \r and \n if they're
1910 present in the value.
1912 2005-07-20 Chris Toshok <toshok@ximian.com>
1914 * HttpPostedFile.cs: add missing ContentLength property.
1916 2005-07-20 Chris Toshok <toshok@ximian.com>
1918 * HttpCookieCollection.cs: add a new ctor that takes a string (the
1919 contents of the Cookies: header).
1921 2005-07-20 Chris Toshok <toshok@ximian.com>
1923 * HttpCookieCollection.cs: add another ctor (internal, but not
1924 obsolete, so we aren't passing a stupid HttpResponse in in order
1925 to change the behavior of the collection.)
1927 * HttpCookie.cs: init this.values in the internal ctor.
1929 2005-07-20 Chris Toshok <toshok@ximian.com>
1931 * HttpCookieCollection.cs: use "auto-fill mode" when we're dealing
1932 with an HttpResponse's cookie collection. That is, create the
1933 cookie if the consumer looks it up.
1935 2005-07-20 Miguel de Icaza <miguel@novell.com>
1937 * HttpApplication.cs: Ongoing work on pipeline, I will need to
1940 2005-07-19 Miguel de Icaza <miguel@novell.com>
1942 * HttpContext.cs (GetService): Implement. Return all of the
1943 properties that we have access to. Make HttpWorkerRequest the
1944 first match as this is the only likely reason people need to use
1947 * IntPtrStream.cs: Bring from corlib.
1949 * MultiPartContentParser.cs: use a MemoryStream as HttpInputStream
1950 will now be using IntPtrStream.
1952 * HttpRequest.cs (MakeInputStream): move code that loads the
1954 (CloseInputStream): Helper method that we will call later to
1955 ensure that we dispose properly the malloced() block.
1956 (BinaryRead): Implemented.
1958 * HttpInputStream.cs: Rewrite to be a descendant of
1961 2005-07-18 Miguel de Icaza <miguel@novell.com>
1963 * HttpApplication.cs (Modules): Add modules support and
1966 2005-07-18 Chris Toshok <toshok@ximian.com>
1968 * HttpResponseHeader.cs: initial implementation.
1970 2005-07-18 Chris Toshok <toshok@ximian.com>
1972 * HttpModuleCollection.cs (HttpModuleCollection.GetKey): add
1975 * HttpFileCollection.cs: initial implementation.
1977 2005-07-18 Chris Toshok <toshok@ximian.com>
1979 * HttpModuleCollection.cs (HttpModuleCollection.CopyTo): implement
1982 2005-07-18 Chris Toshok <toshok@ximian.com>
1984 * HttpModuleCollection.cs: initial implementation.
1986 2005-07-18 Chris Toshok <toshok@ximian.com>
1988 * HttpCacheVaryByHeaders.cs: only add the header if it's not
1989 already in the hash.
1991 * HttpCacheVaryByParams.cs: only add the param if it's not already
1994 2005-07-18 Chris Toshok <toshok@ximian.com>
1996 * HttpCookie.cs (HttpCookie+CookieNVC.Set): new override to fix an
1999 2005-07-17 Miguel de Icaza <miguel@novell.com>
2001 * HttpRequest.cs (Headers, InputStream): implemented two more
2004 * HttpInputStream.cs: All we need is a MemoryStream with writable
2007 * HttpPostedFile.cs: Use a Stream.
2009 2005-07-16 Chris Toshok <toshok@ximian.com>
2011 * HttpCacheVaryByHeaders.cs: make sure we set vary_by_unspecified
2012 = false in the custom setter.
2014 2005-07-16 Chris Toshok <toshok@ximian.com>
2016 * HttpCacheVaryByParams.cs: initial implementation.
2018 2005-07-16 Chris Toshok <toshok@ximian.com>
2020 * HttpCacheVaryByHeaders.cs: initial implementation.
2022 2005-07-15 Chris Toshok <toshok@ximian.com>
2024 * HttpCookie.cs: one more time.
2026 2005-07-15 Chris Toshok <toshok@ximian.com>
2028 * HttpCookie.cs (HttpCookie.GetCookieHeader): use
2031 2005-07-15 Chris Toshok <toshok@ximian.com>
2033 * HttpCookie.cs (HttpCookie.GetCookieHeader): implement to fix
2036 2005-07-15 Chris Toshok <toshok@ximian.com>
2038 * HttpCookieCollection.cs: initial implementation (with a couple
2039 of labeled inefficiencies.)
2041 2005-07-15 Chris Toshok <toshok@ximian.com>
2043 * HttpCookie.cs (HttpCookie.get_HasKeys): use values.HasKeys()
2044 instead of trying to be smart about it ourselves.
2046 2005-07-15 Chris Toshok <toshok@ximian.com>
2048 * HttpCookie.cs: initial implementation. we fail one unit test,
2049 but it might be due to a bug in NameValueCollection.
2051 2005-07-15 Miguel de Icaza <miguel@novell.com>
2055 2005-07-14 Miguel de Icaza <miguel@novell.com>
2057 * HttpRuntime.cs: Return a few of the values from the AppDomain
2060 Put the application shutdown process.
2062 * HttpApplicationFactory.cs (AddEvent): Fixed bug when more than
2065 (FireEvent): Do not ignore errors.
2067 * HttpContext.cs (GetAppConfig, GetConfig): First success, use
2068 ConfigurationSettings.GetConfig to get the value that QueueManager
2071 2005-07-14 Dick Porter <dick@ximian.com>
2073 * HttpPostedFile.cs: New basic implementation; needs someone to
2074 figure out what a HttpRequestStream does
2076 2005-07-13 Miguel de Icaza <miguel@novell.com>
2078 * HttpRequest.cs: More work on this file
2080 * HttpRequest.cs, HttpApplication.cs, HttpContext.cs,
2081 HttpRuntime.cs: New from scratch implementation.
2083 2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
2085 * SiteMap.cs: Read provider info from the configuration files.
2087 2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2089 * HttpResponseHeader.cs: URL encode \r and \n in header values. Fixes
2092 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2094 * HttpUtility.cs: fix another stupid buglet in htmldecode.
2096 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2100 * HttpRequest.cs: use StrUtils (invariant culture).
2102 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2104 * HttpRequest.cs: use StartsWith when looking for 'multipart/form-data'.
2105 File uploading was broken since a few commits ago.
2107 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2109 * HttpResponse.cs: ensure that the last chunk ('0\r\n\r\n') is sent
2110 even if response.Close is called before a final flush. MS/IIS fails to
2113 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2115 * HttpRequest.cs: don't print anything for unknown content types in
2116 ParseFormData. Use lowercase compare.
2118 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2120 * HttpResponse.cs: invariant love.
2122 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2124 * HttpResponse.cs: avoid 1 string concat.
2125 * HttpRequest.cs: fix BinaryRead. It was totally wrong.
2127 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2129 * HttpUtility.cs: don't append an extra 0 when no digits seen. Fixes
2132 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2134 * HttpUtility.cs: the lower limit for using &#xx; encoding is 160, not
2135 128. Reset number back to 0 after use. Fixes bug #75365.
2137 2005-06-19 Svetlana Zholkovsky <svetlanaz-at-mainsoft.com>
2138 * In following classes added TARGET_J2EE or/and TARGET_JVM
2143 - CapabilitiesLoader.cs
2144 - HttpApplication.cs
2145 - HttpApplicationFactory.cs
2149 * Added Mainsoft's specific files :
2150 - GhHttpAsyncResult.jvm.cs
2152 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2154 * HttpRequest.cs: avoid one intermediate buffer when reading the request
2155 body and fail for over limit content length when the content type is
2156 not handled as form or multipart data.
2158 2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2160 * HttpResponse.cs: fix the check in Close() so that CloseConnection is
2161 called even if there has been no final Flush. Fixes bug #75176.
2163 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2165 * HttpParseException.cs:
2167 * HttpApplication.cs: updates for 1.1 service pack.
2169 2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2171 * HttpUtility.cs: fix InvalidCastException.
2173 2005-06-05 Korn__l P__l <kornelpal@hotmail.com>
2175 * HttpWriter.cs: Fixed: _OutputFilter.Close () was called twice.
2177 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2179 * HttpUtility.cs: modified HtmlDecode so that it does not need to call
2180 Int32.Parse and handles improper &# sequences. Fixes bug #74907.
2182 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
2184 * SiteMapNodeCollection.cs: Implemented missing methods. The collection
2185 does not inherit from CollectionBase any more.
2186 * SiteMapNode.cs: Track api changes.
2187 * SiteMapProvider.cs: Moved several methods to the new
2188 StaticSiteMapProvider class. Other fixes.
2189 * XmlSiteMapProvider.cs: Watch changes in the xml files. Other fixes.
2190 * SiteMapProviderCollection.cs: Minor fixes.
2191 * SiteMap.cs: Added missing event. Avoid double check lock.
2192 * StaticSiteMapProvider.cs: New class that implements some of the
2193 funtionality of SiteMapProvider.
2195 2005-05-25 Ben Maurer <bmaurer@ximian.com>
2197 * MimeTypes.cs: Remove extra spaces, they were typos. Fixes 75049.
2199 2005-05-13 Atsushi Enomoto <atsishi@ximian.com>
2201 * HttpUtility.cs : UrlDecodeToBytes() incorrectly decoded escaped
2202 characters. Patch by Kazuki Oikawa.
2204 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2206 * HttpRuntime.cs: PlatformID.Unix.
2208 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2210 * HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
2211 Clear the _Headers array instead of creating a new ArrayList in
2214 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2216 * HttpResponse.cs: we had 2 variables to track client connection status.
2217 Use only one. Increase the buffer size to 28KB when writing from a file.
2219 * StaticFileHandler.cs: set the Content-Type before writing the file.
2220 This allows flushing before all the content is written.
2222 * HttpApplication.cs: use the variable instead of the property when
2223 setting the Principal for the current process.
2225 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2227 * ReusableMemoryStream.cs:
2228 * HttpWriter.cs: keep a pool of buffers to avoid allocations.
2230 2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2232 * HttpResponse.cs: no need to save/restore the thread culture when
2233 getting the Date header. According to Ben's profiling, this is a big
2234 deal in performance.
2236 * HttpRuntime.cs: ignore exceptions that might be thrown when unloading
2239 2005-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2241 * HttpApplicationFactory.cs: ignore any exception thrown when invoking
2242 an application event.
2244 2005-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2246 * HttpBrowserCapabilities.cs: fix Win32 property.
2248 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2250 * HttpResponse.cs: only add the charset when explicitly set or for
2251 well-known content types.
2253 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2255 * HttpCachePolicy.cs:
2256 * HttpAsyncResult.cs:
2257 * HttpClientCertificate.cs:
2260 * HttpCacheVaryByHeaders.cs:
2261 * HttpBrowserCapabilities.cs:
2263 * HttpCacheVaryByParams.cs: no more warnings.
2265 * QueueManager.cs: check for local connections with minLocalFreeThreads.
2267 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2269 * ServerVariablesCollection.cs: shuffled variables, added missing ones
2270 and call a method in HttpRequest to set the HTTP_ variables.
2272 * HttpRequest.cs: new method to add HTTP_ variables to a collection.
2274 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2276 * HttpRequest.cs: GetAllHeaders was returning the value twice instead
2277 of 'name: value'. When HTTP_ is requested on the output, don't include
2280 2005-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2282 * HttpCookieCollection.cs: when adding more than one cookie with the
2283 same name, the last one is the winner.
2285 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2287 * HttpRequest.cs: correctly store the value cookies in Params. Fixes
2290 2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2292 * HttpRequest.cs: Path and FilePath also change when RewritePath is
2293 called. Fixes bug #73055.
2295 2005-02-23 Sebastien Pouliot <sebastien@ximian.com>
2297 * HttpRequest.cs: Make sure that any access after a ValidateInput
2298 throws an exception if the data isn't safe.
2300 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2302 * CapabilitiesLoader.cs: fix the path, as machine.config is now in a
2303 x.x/ directory below $PREFIX/etc/mono.
2305 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2307 * HttpRequest.cs: fail on unicode full-width '<' and '>' too. Fixes
2308 a security report (http://secunia.com/advisories/14325) that wan't
2309 reported to us before public disclosure.
2311 2005-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2313 * HttpResponse.cs: send the calculated content length even when it's 0.
2316 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
2318 * HttpContext.cs: Added internal property to keep a reference to
2319 the last accessed page. Page uses this to implement PreviousPage.
2321 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
2323 * ProcessModelInfo.cs: Fixed warning.
2325 2005-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2327 * TraceContext.cs: writing a message without any other argument is not
2328 a warniing. Fixes bug #72017.
2330 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2332 * HttpApplication.cs: if there are no more handlers, finish the
2333 request and ensure we call Complete on it. Now FreeTextBox 3.0 works.
2335 2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2337 * HttpRequest.cs: honor the maxRequestSize limit from machine.config.
2339 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2341 * HttpApplication.cs: reread application CultureInfo as web.config
2342 might have changed. Fixes bug #62539.
2344 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2346 * HttpResponse.cs: fixed ApplyAppPathModifier to insert the session ID.
2348 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2350 * HttpApplicationFactory.cs: monitor changes in global.asax and bin
2351 directory and shutdown the application when that happens. Fixes bug
2354 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2356 * ReusableMemoryStream.cs: copied from System.IO.MemoryStream and
2357 slightly modified to allow expanding the buffer for cases on which the
2358 regular MemoryStream don't allow it.
2360 * HttpWriter.cs: use the new ReusableMemoryStream and fix bug #59841.
2361 Otherwise we would have to allocate a new MemoryStream...
2363 2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2365 * HttpApplication.cs: Create() is now GetInstance().
2367 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
2369 * SiteMapNodeCollection.cs: Added missing properties.
2370 * HttpParseException.cs: Added 2.0 methods and properties.
2371 * SiteMapNode.cs: Added missing methods and properties.
2372 * SiteMapProvider.cs, XmlSiteMapProvider.cs,
2373 SiteMapProviderCollection.cs: IProvider does not exist any
2374 more, it is now ProviderBase.
2375 * ISiteMapProvider.cs: Deleted.
2376 * ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
2378 * SiteMap.cs: Minor fixes.
2380 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
2382 * SiteMapProviderCollection.cs: Fixed warning.
2383 * HttpApplication.cs: Added new 2.0 events.
2385 2004-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2387 * HttpResponse.cs: added internl SetHeadersSent.
2388 * HttpRuntime.cs: don't throw the 'headers already sent' exception
2389 if we're sending a runtime error.
2391 2004-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2393 * HttpApplication.cs: undo the TimeoutManager.(Add|Remove) shuffling.
2394 It causes troubles under heavy load.
2396 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2398 * SiteMap.cs: don't lock on Type.
2399 * CapabilitiesLoader.cs: avoid 2 locks when loading data.
2401 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2403 * HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
2404 presence of rewriting.
2406 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2408 * HttpApplication.cs: don't hang if a sync step is aborted. Fixes the
2409 system.web portion of bug #68270.
2411 2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2413 * TraceContext.cs: don't cast to Page is the handler it's
2416 2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2418 * HttpRequest.cs: CurrentExecutionFilePath is the one that
2419 changes when Transfer or Execute are used, not FilePath.
2421 * HttpServerUtility.cs: moved form saving/restoring from
2422 Transfer to Execute, as it's needed there too. the query string is
2423 correctly set now. Fixes bug #67388.
2425 * HttpContext.cs: use SetCurrentExePath instead of SetFilePath.
2427 2004-10-03 Ben Maurer <bmaurer@ximian.com>
2429 * HttpResponse.cs: use UtcNow
2431 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2433 * HttpResponse.cs: SuppressContent does not throw and clears all the
2434 buffered output. Fixes bug #67213.
2436 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2438 * HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.
2440 2004-09-29 Ben Maurer <bmaurer@ximian.com>
2442 * HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.
2444 2004-09-25 Ben Maurer <bmaurer@ximian.com>
2446 * HttpApplication.cs: Make sure requests are removed from
2447 the timeout manager. Fixes a major leak. #66751.
2449 2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2451 * HttpApplicationFactory.cs:
2452 * HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
2455 2004-09-12 Ben Maurer <bmaurer@ximian.com>
2457 * HttpContext.cs: use CallContext. It is a little bit faster.
2459 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2461 * HttpStaticObjectsCollection.cs: don't share static session objects
2462 declared in the application file across the application, but on a
2463 per-session basis. Fixes bug #65446.
2465 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2467 * HttpServerUtility.cs: in Transfer(path), don't keep form data if
2468 the transfer is done from inside a page that received a postback.
2471 2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2473 * HttpValueCollection.cs: fixed signature of ToString (). Closes bug
2476 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
2478 * HttpWriter.cs (.ctor): Dont create teh StreamWriter twice
2479 (Clear): Don't recreate the MemoryStream and StreamWriter
2481 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2483 * HttpApplication.cs: only add/remove to/from the timeout
2484 manager when we're in a interruptible step.
2486 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2488 * TraceContext.cs: when IsEnabled has not been set, return the value
2489 from the TraceManager. Fixes bug #63469.
2491 2004-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2493 * HttpRuntime.cs: initialize the response writer when finishing a
2494 request because it cannot be queued. Under heavy load we made new
2495 requests be processed before the ones that might be queued. This is
2498 * QueueManager.cs: instead of queueing/dequeuing separately, we now
2499 have a single method that does everything needed to decide which one
2500 will be the next request processed.
2502 2004-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2504 * HttpRuntime.cs: removed initializations to null in .cctor. Prevent
2505 other requests from avoiding the lock if they are received before the
2506 configuration system is inited. Ensure that the queue manager is not
2507 null before using it (it can be null while the first request is being
2510 2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2512 * HttpServerUtility.cs: ensure we have a full virtual path for the
2513 request being executed.
2515 2004-08-02 Duncan Mak <duncan@ximian.com>
2517 * ApplicationShutdownReason.cs: Fixed typos.
2519 * HttpCookieMode.cs:
2520 * HttpDataTransferMode.cs:
2521 * HttpRequestPriority.cs: Added [Serializable] attribute.
2523 2004-08-02 Duncan Mak <duncan@ximian.com>
2525 * ApplicationShutdownReason.cs:
2526 * HttpCookieMode.cs:
2527 * HttpDataTransferMode.cs:
2528 * HttpRequestPriority.cs: Added 2.0 enumerations.
2530 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2532 * HttpApplication.cs: the file not found might be a dependency.
2534 2004-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2536 * HttpCookie.cs: use invariant when formatting expires date. Fixes bug
2539 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2541 * HttpApplication.cs: don't keep the session around if we got it from
2542 the context. Fixes bug #61232.
2544 2004-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2546 * HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
2549 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2551 * TraceContext.cs: added internal HaveTrace property whose
2552 value is true when the page has a Trace attribute.
2554 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2556 * TraceData.cs: fixed <br> output. Closes bug #60181.
2558 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2560 * HttpUtility.cs: check for control characters in the string to encode
2561 or decode and return the same string if there are none.
2563 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2565 * HttpApplication.cs: change/restore the IPrincipal in their own methods
2566 and make them internal.
2568 2004-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2570 * HttpContext.cs: reverting Pedro's patch and sending mail with test
2573 2004-06-09 Pedro Martnez Juli <yoros@wanadoo.es>
2575 * HttpContext: User property returns its own "user" value because
2576 the context can walk through different Threads. When "User" property
2577 is changed, change "Thread.CurrentPrincipal" too.
2579 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2581 * HttpRequest.cs: removed extra ^Ms and fixed style of last patch.
2583 2004-06-08 Alon Gazit <along@mainsoft.com>
2585 * HttpRequest.cs: Add a patch for HttpRequest.ServerVariables.
2587 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
2589 * HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
2590 Fix (at least partially) #59683.
2592 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2594 * HttpRequest.cs: reverting patch from Alon Gazit. Uses the above file
2595 that doesn't compile.
2597 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2599 * TraceData.cs: fixes nullref in an application that relies on
2600 r ["Message"] not being null. Closes bug #59679.
2602 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2604 * HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.
2606 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2608 * HttpRuntime.cs: implemented a 5 simple properties that were TODOs.
2610 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2612 * HttpBrowserCapabilities.cs: implemented ClrVersion and GetClrVersions.
2613 * HttpException.cs: removed MonoTODO.
2615 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2617 * TraceContext.cs: don't check if HttpRuntime.TraceManager
2618 is enabled when writing.
2620 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2622 * HttpRequest.cs: added ClientTarget internal property.
2624 2004-06-03 Lluis Sanchez Gual <lluis@ximian.com>
2626 * HttpApplication.cs: Clear the http handler list after releasing the
2629 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2631 * TraceData.cs: html-encode the messages written to the trace. Fixes
2634 2004-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2636 * HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
2639 2004-05-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2641 * HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
2642 when SetFilePath is called. This way the cached values are reset and
2643 get the right value in case someone (namely SessionStateModule +
2644 cookieless session) changes the FilePath after the property cached its
2645 value. Fixes bug #59364.
2647 2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>
2649 * HttpApplicationFactory.cs: Added SignalError (still todo)
2651 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2653 * HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
2654 chunked encoding disabled. Fixed chunked suffix and end. Send the
2655 'lastchunk' marked when in the final Flush even if the content length
2656 is 0. This makes mod-mono-server work fine with chunked encoding.
2658 * HttpRuntime.cs: Set the _firstRequest* variables to true
2659 earlier. TraceContext don't take any parameter now.
2661 * TraceManager.cs: don't need a context. Use GetAppConfig.
2663 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2665 * HttpApplication.cs: set culture/uiculture from configuration and
2666 restore it after each step. Fixes bug #52851.
2668 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2670 * HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
2671 entities hashtable creation until it's really needed.
2673 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2675 * HttpApplicationFactory.cs: if no module matches the name found for a
2676 possible event, ignore it. Fixes bug #58542.
2678 2004-05-16 Patrik Torstensson <totte@hiddenpeaks.com>
2680 * HttpRuntime (Init): Removed old todo
2681 * HttApplication : Implemented IHttpHandlerFactory recycling
2683 2004-04-28 Patrik Torstensson
2685 * HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
2688 2004-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2690 * HttpUtility.cs: return null in HtmlDecode for null input instead of
2691 throwing an exception. Patch by Jan Jaros (bug #57083).
2693 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
2695 * TimeoutManager.cs: Swap the order of initialization of contexts
2696 and the Timer, to avoid race condition of CheckTimeouts being called
2697 before contexts gets initialized.
2699 2004-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2701 * HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
2702 Now the posted file content does not have the boundaries and headers
2705 2004-03-25 Alon Gazit <along@mainsoft.com>
2707 * HttpRequest.cs: fix ValidateCookieCollection() to prevent
2708 InvalidCastException.
2710 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2712 * HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.
2714 2004-03-01 Larry Ewing <lewing@ximian.com>
2716 * HttpUtility.cs: fix UrlEncodeToBytes count check.
2718 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2720 * HttpServerUtility.cs:
2721 * HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
2724 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2726 * HttpUtility.cs: fixed length check. Closes bug #54201.
2727 Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
2730 2004-02-11 Jackson Harper <jackson@ximian.com>
2732 * TraceData.cs: Use ToString for cookie/header/var name values so
2733 null is handled properly.
2735 2004-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2737 * HttpApplication.cs: ApplicationState is inited by the factory so,
2738 return that value in the property. when we use the context Session,
2739 cache it in the instance field.
2741 * HttpApplicationFactory.cs: fixed target Type for the event when
2742 hooking application and module events. Initialize application
2743 and session scope objects. Fixes non-aplication events hook up.
2745 * HttpStaticObjectsCollection.cs: added StaticItem and delay the
2746 creation of the objects until they are requested.
2748 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2750 * HttpApplicationFactory.cs: fixlet for session events hook.
2752 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2754 * HttpApplicationFactory.cs: attach all events from Type and BaseType
2755 at the same time. Fixes bug #53454.
2757 2004-01-27 Jackson Harper <jackson@ximian.com>
2759 * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
2760 null now, dont hadd the header if it does.
2761 * HttpCacheVaryByParams.cs: Return null if there are no items.
2763 2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2765 * HttpCachePolicy.cs: it's not public.
2766 * HttpRuntime.cs: wait for requests before disposing the queue.
2768 2004-01-15 Jackson Harper <jackson@ximian.com>
2770 * HttpCachePolicy.cs: Fix typo causing varyby params headers to be
2771 created when they shouldn't be.
2773 2004-01-14 Jackson Harper <jackson@ximian.com>
2775 * TraceData.cs: Fix some typos in the output text. Fix control
2776 position when adding controls recursively.
2778 2004-01-14 Jackson Harper <jackson@ximian.com>
2780 * HttpCachePolicy.cs: Expose duration and sliding properties.
2782 2004-01-14 Jackson Harper <jackson@ximian.com>
2784 * HttpCachePolicy.cs: Add an event that is fired when the
2785 cacheability is updated. The response uses this to determine
2786 whether or not it needs to cache itself.
2787 * HttpResponse.cs: When the cacheability is updated either create
2788 or dispose of the cached raw response based on whether or not we
2789 wil need it. This allows output caching to be controlled
2792 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2794 * HttpContext.cs: add setter for ConfigTimeout.
2795 * HttpException.cs: added Description property and HTML encode some
2798 * HttpRequest.cs: support request validation.
2800 * HttpRequestValidationException.cs: added message and description.
2802 * HttpServerUtility.cs: implemented ScriptTimeout.
2804 2004-01-11 Jackson Harper <jackson@ximian.com>
2806 * TraceManager.cs: Dont crash if there is no trace config element.
2808 2004-01-11 Jackson Harper <jackson@ximian.com>
2810 * HttpRequest.cs: Add property for determining if the request is
2813 2004-01-10 Jackson Harper <jackson@ximian.com>
2815 * TraceContext.cs: Handle tracing when it is enabled in the config
2816 file but not on the page.
2817 * TraceManager.cs: Get settings from the configuration object.
2818 * HttpRuntime.cs: Create trace manager in the first request start
2819 so it can get configuration settings.
2821 2004-01-10 Jackson Harper <jackson@ximian.com>
2823 * TraceContext.cs: Save the request path in the trace data.
2824 * TraceData.cs: Add RequestPath property, make some rendering
2825 methods internal static so the TraceHandler can use them.
2826 * TraceManager.cs: Expose trace data, add a method for clearing
2829 2004-01-10 Jackson Harper <jackson@ximian.com>
2831 * HttpRuntime.cs: Add trace manager
2832 * TraceManager.cs: New class for handling trace configuration and
2833 storing trace data objects.
2834 * TraceContext.cs: Save trace data to the trace manager. Fix typo.
2836 2004-01-10 Jackson Harper <jackson@ximian.com>
2838 * TraceData.cs: New class for storing trace data. Data is stored
2839 here instead of the trace context so it can be saved and accessed
2840 from the trace handler.
2841 * TraceContext.cs: Save data in the TraceData object, let the
2842 trace data object handle the rendering.
2844 2004-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2846 * HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
2847 Thanks to Jan Jaros (mono-bug@jerryweb.info).
2849 * HttpRequestValidationException.cs: fix comment.
2851 2004-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2853 * HttpException.cs: default to error 500. Fixes bug #52623.
2855 2004-01-04 Jackson Harper <jackson@ximian.com>
2857 * TraceContext.cs: Store and render trace info times. Also render
2858 cookie sizes. Remove debug code.
2860 2004-01-04 Jackson Harper <jackson@ximian.com>
2862 * HttpResponse.cs: Set the cached response date header so it can
2864 * HttpResponseHeader.cs: Let values be set so we can update cached
2865 response header values.
2867 2004-01-04 Jackson Harper <jackson@ximian.com>
2869 * HttpResponse.cs: Implement RemoveOutputCacheItem.
2871 2004-01-04 Jackson Harper <jackson@ximian.com>
2873 * HttpCachePolicy.cs: Add internal method to get the vary by custom string
2874 * HttpCacheVaryByHeaders.cs: Add internal method to get the header names.
2876 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2878 * HttpRuntime.cs: implemented MachineConfigurationDirectory,
2880 2004-1-1 Alon Gazit <along@mainsoft.com>
2881 * HttpWriter.cs: add check in Write() in order to prevent
2882 NullReferenceException.
2884 2004-1-1 Alon Gazit <along@mainsoft.com>
2885 * HttpResponse.cs: implemented ExpiresAbsolute and Expires.
2887 2003-12-18 Jackson Harper <jackson@ximian.com>
2889 * TraceContext.cs: Write () methods are not warnings.
2891 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2893 * HttpBrowserCapabilities.cs: added GetClrVersions ().
2894 * HttpCachePolicy.cs: added SetAllowResponseInBrowserHistory ().
2895 * HttpContext.cs: added set_Current and RewritePath (s, s, s) for 1.1.
2896 * HttpRequest.cs: added set_ContentType, SetPathInfo and ValidateInput.
2897 * HttpRequestValidationException.cs: new class for 1.1
2898 * HttpResponse.cs: added RedirectLocation.
2899 * HttpRuntime.cs: added UnloadAppDomain.
2900 * HttpServerUtility.cs: Execute (s, t, b) is internal for < 1.2
2901 * HttpUtility.cs: copied UrlPathEncode from HttpServerUtility.
2902 * HttpWorkerRequest.cs: added [ComVisible] and made the ctor public.
2904 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2906 * HttpContext.cs: implemented IsCustomErrorEnabled and
2907 IsDebuggingEnabled. Added internal ErrorPage property.
2909 * HttpRuntime.cs: on error, check if we have a custom error page enabled
2910 to handle it and redirect.
2912 * HttpResponse.cs: added RedirectCustomError (), which actually does
2913 the redirection to the error page.
2915 2003-12-16 Jackson Harper <jackson@ximian.com>
2917 * TraceContext.cs: Render all the data, and the stylesheet.
2919 2003-12-16 Jackson Harper <jackson@ximian.com>
2921 * TraceContext.cs: Add incomplete render method.
2923 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2925 * CapabilitiesLoader.cs: loads browser detection and capabilities data
2926 from browscap.ini file by Gary J. Keith.
2928 * HttpBrowserCapabilities.cs: removed almost all TODOs.
2930 * HttpRequest.cs: fixed Browser property.
2932 2003-12-15 Jackson Harper <jackson@ximian.com>
2934 * TraceContext.cs: Initial implementation of storing data.
2935 * HttpContext.cs: Create and expose a trace object.
2937 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2939 * HttpApplication.cs: ThreadAbortException is ok on Redirect.
2940 * HttpContext.cs: added TimeoutPossible property.
2941 * HttpResponse.cs: throw ThreadAbortException if End () is called within
2942 a step in which is possible to timeout.
2946 2003-12-04 Jackson Harper <jackson@ximian.com>
2948 * HttpRequest.cs: Cleanup method.
2950 2003-12-04 Jackson Harper <jackson@ximian.com>
2952 * HttpValueCollection.cs: Allow blank value names. Posting
2953 <blank>=SomeValue is valid. And occurs if a radio button does
2954 not have its name set.
2956 2003-12-03 Jackson Harper <jackson@ximian.com>
2958 * HttpResponse.cs: Actually apply an app path modifier in
2959 ApplyAppPathModifer and add a method to set the app path modifier.
2960 * HttpRequest.cs: Add utility method for setting a request header.
2962 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2964 * HttpApplication.cs: handle FileNotFound and DirectoryNotFound
2965 exceptions when creating the handler to generate a better error page.
2967 * HttpException.cs: display the http_code if available. Changed all
2968 \n by \r\n to make the hidden stack trace readable.
2970 * StaticFileHandler.cs: don't send the real path in th eerror.
2972 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2974 * HttpContext.cs: updated GetConfig and GetAppConfig to new API.
2976 * HttpResponse.cs: separate initialization of the HttpWriter, as it
2977 tries to read configuration settings while the config. system is not
2978 available (ie, before the first request).
2980 * HttpRuntime.cs: delayed queueManager and response writer
2981 initialization until the configuration system is working.
2983 2003-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2985 * HttpRuntime.cs: added request queue handling.
2987 * QueueManager.cs: simple request queue.
2989 * TimeoutManager.cs: added some locks to prevent the enumerator used in
2990 CheckTimeouts to be out of synch.
2992 2003-11-25 Jackson Harper <jackson@ximian.com>
2994 * HttpStaticObjectsCollection.cs: Add methods for serialization
2995 and conversion to/from byte arrays.
2997 2003-11-21 Jackson Harper <jackson@ximian.com>
2999 * HttpResponse.cs: When caching data set the content length in the
3000 cached repsonse so that only that amount will be written back to
3001 the client. Add method to write a range of binary data.
3002 * HttpCacheVaryByParams.cs: Add method to retrieve param names.
3004 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3006 * HttpApplication.cs:
3008 * HttpRuntime.cs: add timeout handling.
3009 * TimeoutManager.cs: new class that takes care of aborting threads on
3012 2003-11-19 Jackson Harper <jackson@ximian.com>
3014 * HttpWriter.cs: Use a constant for the buffer size so the cache
3015 can get the buffer size. Add method to get the buffer.
3016 * HttpResponse.cs: Methods for getting data to cache, and setting
3017 vars from the cache.
3018 * HttpCachePolicy.cs: Expose a pages cache expire time.
3020 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3023 * HttpWriter.cs: some fixes to allow closing a response stream without
3026 2003-11-13 Jackson Harper <jackson@ximian.com>
3028 * HttpCachePolicy.cs: Make sure cacheability and maxage get
3029 set. Add method to set Http response header data
3030 * HttpCacheVaryByParams.cs: Add method to create a response header.
3031 * HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
3032 * HttpResponse.cs: Set cache headers.
3034 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
3036 * HttpModuleCollection.cs (GetKey): Recursion, again!
3038 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
3040 * HttpClientCertificate.cs (ValidUntil): recursion!
3042 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
3044 * SiteMapNode.cs (GetDataSourceView): Implement.
3045 * SiteMapProvider.cs: Typo fixing.
3046 * XmlSiteMapProvider.cs: We shouldnt resolve here.
3048 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
3050 * SiteMap.cs (Init): implement a hack that doesnt need the config
3051 stuff. Should do that later.
3052 * SiteMapNodeCollection (OnValidate): Fix recursion.
3053 * SiteMapProvider.cs: We dont implement some culture stuff work
3054 around it. Fix typo.
3055 * XmlSiteMapProvider.cs: Added.
3057 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
3059 * ISiteMapProvider.cs:
3062 * SiteMapNodeCollection.cs:
3063 * SiteMapProvider.cs:
3064 * SiteMapProviderCollection.cs: V2 sitemap related stuff.
3066 2003-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3068 * HttpRequest.cs: don't attempt to read more bytes than specified
3071 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3076 * HttpValueCollection.cs: encoding fixes/updates.
3078 * HttpWriter.cs: when updating the encoding, flush the existing stream.
3081 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
3083 * HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
3084 return false (which makes sense, as the custom errors *arent* enabled;
3086 * HttpResponseStream.cs: you actually can write with len = 0
3088 2003-11-03 Jackson Harper <jackson@ximian.com>
3090 * HttpResponse.cs (ContentEncoding): Throw
3091 ArgumentNullException. Patch by Yaron Shkop.
3093 2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3095 * HttpMultipartContentParser.cs : Quick fix for cygwin build.
3096 CSC complains that constant char cannot be casted as byte.
3098 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3100 * HttpApplication.cs: added AssemblyLocation property.
3102 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3104 * HttpApplicationFactory.cs: use NoParamsInvoker.
3105 * HttpRequest.cs: support request filters.
3106 * HttpRequestStream.cs: mono-stylized and added new Set method.
3108 * NoParamsInvoker.cs: proxy class to invoke user-provided methods
3109 without parameters that are invoked by EventHandlers.
3111 2003-10-13 Lluis Sanchez Gual <lluis@ximian.com>
3113 * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
3114 to invariant culture.
3116 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3119 * HttpServerUtility.cs: change the response writer in Execute. Thanks
3120 to Rich Alimi <rich@velvetsea.net> for noticing this.
3122 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3124 * HttpApplicationFactory.cs: support for wiring up events without
3127 2003-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3129 * HttpUtility.cs: small memory usage reduction.
3131 2003-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3133 * HttpApplication.cs: pass the Uri, not the file path to
3134 when looking for a handler.
3136 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3138 * HttpRequest.cs: small fix needed when reading big POST data.
3140 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
3142 * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
3143 (this will get the address from the request headers).
3145 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
3147 * HttpServerUtility.cs: In Transfer(), preserve the query string if
3150 2003-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3152 * HttpApplication.cs: ensure we do all the EndRequest steps. Don't
3153 filter the output on error.
3155 * HttpResponse.cs: modified DoFilter to allow bypassing filtering.
3157 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3159 * HttpApplication.cs: when the request is completed or an
3160 error happens, execute all the delegates attached to EndRequest, not
3161 only the last one. This makes xsp/test/authtest work again.
3163 * HttpMethodNotAllowedHandler.cs: fixed description for http
3166 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3168 * HttpRequest.cs: quick way of checking that the path is within the
3169 root for the application. Thanks to Johannes for reporting.
3171 * HttpRuntime.cs: use the status code from teh exception when it'ss a
3174 * StaticFileHandler.cs: forbidden is 403.
3176 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3178 * HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
3179 <rich@velvetsea.net>.
3181 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3183 * HttpException.cs: make the unhandled error more like the MS one.
3184 * HttpRuntime.cs: set a 500 error code on unhandled exceptions.
3186 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3188 * HttpResponse.cs: flush headers when the body length is 0.
3189 * StaticFileHandler.cs: added If-Modified-Since handling patch slightly
3190 modified from the original by Piers Haken <piersh@friskit.com>.
3192 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3194 * HttpResponse.cs: another patch from totte and me. This one prevents
3195 writing output if the client have disconnected and filters the data
3196 when there's a non-final Flush in the middle of the process.
3198 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3200 * HttpApplication.cs: fixed typos. Closes bug #44197.
3202 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3204 * HttpApplication.cs:
3205 * HttpApplicationFactory.cs: fix duplicate application OnStart events.
3207 Patch by Patrik Torstensson.
3209 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3211 * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
3212 overload. The previous one only admits static methods.
3214 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3216 * ProcessModelInfo.cs: Fixed signature
3218 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3220 * WebCategoryAttribute.cs: Implemented localization
3221 * WebSysDescriptionAttribute.cs: Implemented localization
3223 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3225 * HttpRuntime.cs: also clear the headers that may have been set upon
3226 error processing the request.
3228 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3230 * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
3233 * HttpWriter.cs: flush the filter after writing.
3235 2003-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3237 * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
3239 2003-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3241 * HttpContext.cs: Session doesn't have a setter.
3243 * HttpResponse.cs: Request is private.
3245 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3247 * HttpRequest.cs: fixed Headers property. It was getting known headers
3248 values instead of known headers names.
3250 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3252 * HttpApplication.cs: prevent nullref if an error happens before context
3254 * HttpException.cs: small fix in the stack trace sent.
3255 * HttpUtility.cs: the lock is not needed.
3257 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3259 * HttpRequest.cs: added REMOTE_PORT.
3260 * HttpValueCollection.cs: fixed bug #45490.
3262 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3264 * HttpApplication.cs:
3265 * HttpApplicationFactory.cs: fire application start and session
3268 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3270 * HttpException.cs: encode as HTML the inner exception that
3271 is appended as a comment at the end of error pages.
3273 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3275 * HttpWriter.cs: don't do anything in Flush. Fixes #42249.
3277 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3279 * HtmlizedException.cs: added more virtual methods.
3281 * HttpException.cs: some work on the output when there's a source
3284 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3286 * HtmlizedException.cs: simplified to cope with the new interface.
3288 * HttpApplicationFactory.cs: use the application file parser to get the
3291 * HttpException.cs: small changes. Needs some more work on
3294 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3296 * HttpRequest.cs: fixed Url property.
3298 2003-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3300 * HtmlizedException.cs:
3301 * HttpException.cs: display the correct line number in error messages.
3303 2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3305 * HttpCachePolicy.cs: implemented all TODOs.
3306 * HttpRequestStream.cs: make it internal.
3308 2003-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3310 * HttpContext.cs: implemented RewritePath in other way.
3311 * HttpRequest.cs: removed SetPhysicalPath and added SetForm.
3312 * HttpServerUtility.cs: implemented Transfer (string, bool).
3314 2003-03-16 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
3315 * HttpContext.cs : Implemented RewritePath
3316 * HttpRequest.cs : Added internal function SetPhysicalPath
3318 2003-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3320 * HttpServerUtility.cs: implemented Transfer ().
3322 2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3324 * HttpRuntime.cs: Cache no longer have a Dispose method.
3326 * HttpServerUtility.cs: removed MonoTODO.
3328 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3330 * HttpHelper.cs: store the values in an ArrayList to get them in correct
3333 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3335 * HttpApplicationFactory.cs: Global.asax takes precedence over
3336 global.asax if it exists.
3338 * HttpRequest.cs: use allowCrossAppMapping in MapPath.
3340 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3342 * HttpApplication.cs: CreateHttpHandler is now internal.
3344 * HttpRequest.cs: allow setting QueryStringRaw, which
3345 invalidates the data obtained from the previous value. Added internal
3348 * HttpServerUtility.cs: implemented Execute and GetLastError.
3350 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3352 * HttpServerUtility.cs: style.
3354 2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3356 * HttpApplication.cs: only execute the EndRequest step on error
3357 condition or request marked as completed. This prevent page events from
3358 being called when, for example, the url authorization module forbids
3361 2003-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3363 * HttpRequest.cs: implemented the indexer.
3365 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3367 * HtmlizedException.cs: base class for exceptions that makes it easy to
3368 generate error pages.
3370 * HttpException.cs: improved error displaying.
3372 * HttpRuntime.cs: removed debugging output.
3374 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3376 * HttpApplication.cs: display the error instead of hanging when we get
3377 any error before the last step of the request.
3379 2003-02-04 Tim Haynes <thaynes@openlinksw.com>
3381 * HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement
3384 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3386 * HttpRequest.cs: added BaseVirtualDir property and use it in MapPath.
3388 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3390 * HttpRequest.cs: implemented CurrentExecutionFilePath.
3392 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3394 * HttpApplication.cs: keep _lasterror if no context. Attach
3395 application events *after* modules initialization (if not, User is not
3396 set when the user handler is called).
3398 * HttpApplicationFactory.cs: made all methods related to
3399 AttachEvents static. I will fix OnStart/OnEnd for application and
3402 * HttpRequest.cs: don't initialize cookies twice.
3404 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3407 (ApplyAppPathModifiers): return the root directory for "".
3409 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3411 * HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.
3413 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3415 * HttpApplication.cs: added new state to handle default authentication.
3417 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3419 * HttpContext.cs: removed hack to get the User.
3421 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3423 * HttpUtility.cs: fixed bug #36038. Thanks to juancri@tagnet.org for
3424 reporting the bug and how to fix it.
3426 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3428 * HttpCookie.cs: send 'expires' in the header.
3430 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3432 * HttpValueCollection.cs: patch from Botjan Vizin
3433 <bostjan.vizin@siol.net> that implements ToString (bool).
3435 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3437 * HttpApplicationFactory.cs: add the context as parameter when building
3438 the application Type.
3440 * HttpCookie.cs: new internal constructor.
3441 * HttpCookieCollection.cs: new internal method to make a cookie expire.
3443 * HttpRequest.cs: MapPath fixes.
3444 * HttpResponse.cs: implemented ApplyAppPathModifier.
3445 * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
3447 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3449 * HttpContext.cs: hack to create a default user when there's no one.
3450 Implemented GetConfig (string).
3452 * HttpRequest.cs: fixes to MapPath (string).
3454 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3456 * HttpRuntime.cs: avoid nulls and exception when getting resource
3459 * StaticFileHandler.cs: added file name to error message.
3461 2002-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3463 * HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
3465 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3467 * HttpApplicationFactory.cs: get the events from the application class,
3468 fire Application/Session Start/End and add the others as application
3471 2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3473 * HttpApplicationFactory.cs: compile global.asax file if it exists.
3475 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3477 * HttpRequest.cs: provide a default Browser until we detect it.
3479 (End): do not close the connection here.
3480 (Flush (bool)): send the headers when, for example, Redirect () is
3483 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3485 * HttpException.cs: simple error output.
3487 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3489 * HttpApplication.cs: style.
3490 * HttpException.cs: style.
3491 * HttpRuntime.cs: only flush the response if there are no errors.
3492 Otherwise, write an error output.
3493 * HttpWriter.cs: change Unicode to UTF8.
3495 2002-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3497 * HttpApplication.cs: don't begin the request using ExecuteNextAsync
3498 (it fails to work on NetServ).
3500 * HttpWorkerRequest.cs: typo.
3502 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3504 * HttpValueCollection.cs: the value may contain trailing '=' as it is
3505 UrlEncoded. Don't split name=value based on '='.
3507 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3509 * HttpCookie.cs: made GetCookieHeader internal.
3511 * HttpRequest.cs: get cookies from request.
3513 * HttpResponse.cs: send cookies. Implemented
3514 AddFileDependencies (). Added check for _Writer == null in Flush
3515 (Patrik ;-). Clear the content if HEAD or SupressContent == true.
3516 Removed redirect hack used in old server.
3518 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3520 * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
3521 most ContentLength bytes.
3523 * HttpResponse.cs: now it sends the headers. Added
3524 X-Powered-By header :-).
3526 * HttpRuntime.cs: fixed typo.
3528 * HttpValueCollection.cs: cosmetic changes.
3530 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3532 * HttpApplication.cs: reenabled a few lines of code
3533 (ThreadPool already fixed).
3538 * HttpValueCollection.cs:
3539 * HttpWriter.cs: Use WebEncoding.Encoding.
3541 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3543 * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
3544 This fixes sending bytes and allows mixing byte with chars.
3546 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3548 * HttpResponse.cs: implemented WriteFile methods.
3549 * MimeTypes.cs: removed duplicated entries.
3551 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3553 * HttpResponse.cs: don't throw exception in a couple of
3554 methods not yet implemented.
3556 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3558 * HttpApplication.cs: fixed type and handle factories when creating
3559 IHttpHandler for a request.
3561 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3563 * HttpApplication.cs: use handlers from configuration.
3564 * HttpContext.cs: get handlers from ConfigurationSettings.
3566 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3568 * HttpMethodNotAllowedHandler.cs:
3570 * StaticFileHandler.cs: Modified file.
3572 * HttpUtility.cs: implemented all missing methods.
3575 2002-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3577 * System.Web/HttpApplication.cs: use the static file handler.
3578 * System.Web/HttpForbiddenHandler.cs: handler to forbid access.
3579 * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
3582 * System.Web/HttpUtility.cs: finished all UrlDecode methods.
3583 * System.Web/MimeTypes.cs: map from file extension to MIME type.
3584 * System.Web/StaticFileHandler.cs: serves static files
3586 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3588 * System.Web/HttpApplication.cs:
3589 * System.Web/HttpApplicationFactory.cs:
3590 * System.Web/HttpRequest.cs:
3591 * System.Web/HttpRuntime.cs: we are now able to compile pages and use
3592 HttpApplication, HttpRuntime and SimpleWorkerRequest.
3594 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3596 * HttpApplication.cs: added some missing methods.
3597 * HttpApplicationFactory.cs: get event handlers for the application.
3598 * HttpAsyncResult.cs: little fixes.
3599 * HttpRequest.cs: make Encoding work even with no worker request.
3601 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3603 * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
3604 to add HttpMapPath to the list file...
3606 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3608 * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
3609 report when i get a test case.
3611 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3613 * HttpApplicationFactory.cs:
3614 * HttpCachePolicy.cs:
3615 * HttpResponseHeader.cs:
3616 * HttpResponseStream.cs:
3617 * HttpResponseStreamProxy.cs:
3618 * HttpValueCollection.cs: misc. fixes based on class status page.
3620 * IHttpMapPath.cs: New file.
3622 * HttpRequest.cs: implemented ContentEncoding.
3623 * HttpWorkerRequest.cs: mono-stylized and implemented
3624 SendResponseFromMemory.
3626 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3628 * HttpContext.cs: reformatted.
3629 * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
3632 2002-08-05 Patrik Torstensson <ptorsten@hotmail.com>
3634 * HttpApplication.cs: Implemented a state machine to allow handling of
3635 HttpModules and HttpHandlers. Implementation of async handlers.
3637 * HttpApplicationFactory.cs: Factory for creating HttpApplication
3638 instances, including caching.
3640 * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
3641 application instance to execute requests in and implementation of
3642 request execution (still no request queue).
3644 * HttpAsyncResult.cs: New file to handle async module results.
3646 * HttpRequest.cs: Change signature of Dispose
3647 * HttpResponse.cs: new internal method allowing filtering to happen
3648 during the request flow in the state machine.
3650 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3652 * HttpApplication.cs: events were not being initialized.
3654 2002-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3656 * ProcessModelInfo.cs: fixed compilation.
3658 2002-07-25 Tim Coleman <tim@timcoleman.com>
3659 * ProcessModelInfo.cs:
3661 * HttpParseException.cs:
3662 * HttpCompileException.cs:
3663 * HttpUnhandledException.cs:
3664 Internal constructors added to these
3666 2002-07-24 Tim Coleman <tim@timcoleman.com>
3668 Fix constructor, reference to shutdownreason.
3670 2002-07-24 Tim Coleman <tim@timcoleman.com>
3671 * HttpCachePolicy.cs:
3672 Added stubbs to this class.
3673 * HttpCacheability.cs:
3674 * HttpCacheRevalidation.cs:
3675 * HttpValidationStatus.cs:
3676 * ProcessShutdownReason.cs:
3679 Reorder the enumerations (and in some cases make
3680 one-based) in order to agree with the .NET
3681 implementation, based on the class status page.
3683 Implementation of this class.
3685 2002-07-23 Tim Coleman <tim@timcoleman.com>
3686 * HttpCompileException.cs:
3687 * HttpParseException.cs:
3688 * HttpUnhandledException.cs:
3690 * HttpApplication.cs:
3691 * HttpBrowserCapabilities.cs:
3692 Added missing methods stubbs and attributes based
3693 on the class status page. Also reformatted some
3694 source for consistency.
3696 2002-07-23 Tim Coleman <tim@timcoleman.com>
3697 * HttpUtility.cs: Moved entities hashtable into main
3698 class as a static object, so we don't instantiate
3699 a new one every time. Also put the hashtable
3700 building into a lock block.
3702 2002-07-22 Tim Coleman <tim@timcoleman.com>
3703 * HttpUtility.cs: Cleanup of the code, implementation
3704 of HtmlDecode/HtmlEncode functions
3706 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3708 * HttpResponse.cs: quick&dirty hack to make redirection work. Should
3709 be out of there once we have SimpleWorkerRequest.
3711 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3713 * HttpUtility.cs: little typo, big headache.
3715 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3717 * HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
3719 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3721 * System.Web/HttpResponse.cs:
3723 Fixes based on class status page:
3725 - Add attributes (DefaultEvent, ParseChildren).
3727 - Explicitly implement some interfaces (IPostBackDataHandler
3728 and IPostBackEventHandler).
3729 - Implemented some missing methods.
3731 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3734 (Session): return null instead of throwing an exception.
3737 (HttpMethod): return RequestType if not set.
3738 (GetRawContent): return QueryString if we don't have a
3741 * HttpUtility.cs: fixed Decode and Encode.
3743 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3745 * HttpApplication.cs:
3746 * HttpContext.cs: added System.Web.SessionState namespace.
3748 * HttpSessionState.cs: removed. It is under
3749 System.Web.SessionState.
3751 2002-06-10 Duncan Mak <duncan@ximian.com>
3753 * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
3755 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3757 * HttpRequest.cs: implemented Browser property.
3759 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3761 * HttpBrowserCapabilities.cs: stubbed out.
3763 2002-05-18 Miguel de Icaza <miguel@ximian.com>
3765 * HttpRuntime.cs: Reformat file.
3767 2002-05-07 Duncan Mak <duncan@ximian.com>
3769 * HttpBrowserCapabilities.cs: Added, replacing
3770 HttpBrowserCapabilites because of typo.
3772 * HttpBrowserCapabilites.cs: Removed, replaced by above.
3774 * HttpRequest.cs (Browser): Fixed typo.
3776 2002-04-12 Patrik Torstensson <patrik.torstensson@labs2.com>
3778 * HttpApplication.cs: Minor updates
3779 * HttpApplicationState.cs: Ready.
3780 * HttpClientCertificate.cs: Signature updates
3781 * HttpValueCollection.cs: ready
3782 * HttpStaticObjectsCollection.cs: ready
3783 * HttpResponseHeader.cs: made internal only
3784 * HttpResponse.cs: Signature updates
3785 * HttpPostedFile.cs: ready
3786 * HttpCacheVaryByHeaders.cs: ready (except communication to policy)
3787 * HttpCacheVaryByParams.cs: ready (except communication to policy)
3789 System.Web is now over 60% ready..
3791 2002-04-11 Patrik Torstensson <patrik.torstensson@labs2.com>
3793 * HttpException.cs: 95% ready, only windows dependent code left
3794 * HttpFileCollection.cs: Finished.
3795 * HttpRequest.cs: Minor fixes and fixed signature problems
3796 * HttpResponse.cs: Implementation of missing methods and signature problems
3797 * HttpResponseHeader.cs: Fixed signature problems
3798 * HttpRuntime.cs: Fixed signature problems
3799 * HttpServerUtility.cs: Added support for HttpApplication
3800 * HttpSessionState.cs: Fixed signature issues
3801 * HttpUtility.cs: fixed signature issues
3802 * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
3803 * HttpWorkerRequest.cs: Fixed small signature issue
3804 * HttpWriter.cs: Fixed signature issue
3805 * HttpApplication.cs: Basic implementation
3806 * HttpApplicationState.cs: Small fixes to support major change comming up
3807 * HttpBrowserCapabilities.cs: Added Type method
3808 * HttpClientCertificate.cs: Almost ready, needs to parse certificate.
3809 * HttpContext.cs: Fixed signature issues and added last methods.
3810 * HttpCookie.cs: Full implementation
3811 * HttpCookieCollection.cs: Full implementation
3812 * TraceContext.cs: Methods implemented.
3813 * HttpPostedFile.cs: Placeholder
3814 * HttpStaticObjectsCollection.cs: Placeholder
3815 * HttpModuleCollection.cs: Ready, will be used during the major revamp.
3817 * Fixed a number of other small signature problems also (class status page)
3820 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
3822 * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
3823 * Checkin of all new files (noted in last changenote)
3825 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
3827 * HttpContext.cs: First implementation (basic support, few methods left to impl)
3828 * HttpException.cs: Partial implementation (basic support)
3829 * HttpHelper.cs: Header parse helper, used by runtime (non public)
3830 * HttpRequest.cs: Implementation (all methods there, not all fully impl)
3831 * HttpRequestStream.cs: Full implementation
3832 * HttpResponse.cs: Partial implementation(almost all methods)
3833 * HttpResponseHeader.cs: Header helper
3834 * HttpResponseStream.cs: Full implementation - Response stream support
3835 * HttpResponseStreamProxy.cs: Implementation - filter support
3836 * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
3837 * HttpServerUtility.cs: Implemented usage of HttpContext for methods
3838 and moved encoding functions to HttpUtility.
3840 * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
3841 added the Attribute encoding functions.
3843 * HttpValueCollection.cs: Implementation.
3844 * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
3845 * HttpWriter.cs: Implementation (with filter support)
3847 * HttpFileCollection: Added dummy class (placeholder)
3848 * HttpApplication.cs: Added dummy class (placeholder)
3849 * HttpApplicationState.cs: Added dummy class (placeholder)
3850 * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
3851 * HtttpCachePolicy.cs: Added dummy class (placeholder)
3852 * HttpClientCertificate.cs: Added dummy class (placeholder)
3853 * HttpSessionState.cs: Added dummy class (placeholder)
3854 * TraceContext.cs: Added dummy class (placeholder)
3857 2002/04/10 Nick Drochak <ndrochak@gol.com>
3859 * HttpServerUtility.cs: Fix build breaker.
3861 2002-03-28 Wictor Wiln <wictor@iBizkit.se>
3863 * HttpServerUtils.cs : Added some more functionality
3865 2002-03-28 Martin Baulig <martin@gnome.org>
3867 * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
3868 char to a string, use ToString() instead.
3870 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
3872 * WebCategoryAttribute.cs
3873 : Added private attribute.
3875 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
3877 * HttpRuntime.cs : Stubbed methods for
3878 FormatStringResource(...) in agreement with the various
3879 overloads available at String.Format(...)
3881 2002-01-08 Gaurav Vaish <gavish@iitk.ac.in>
3883 * TODOAttribute.cs : Added, as an internal class to the assembly
3885 2002-01-03 Nick Drochak <ndrochak@gol.com>
3887 * HttpRuntime.cs: remove uneeded exception variable from catch and
3888 initialize remaining instance members to avoid compile warnings
3890 2002-01-02 Nick Drochak <ndrochak@gol.com>
3892 * HttpRuntime.cs: fix spelling error/variable name change.
3894 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
3896 * HttpRuntime.cs : Initial implementation
3898 2001-08-29 Bob Smith <bob@thestuff.net>
3900 * HttpWorkerRequest.cs: Partial Implementation.
3902 2001-08-16 Bob Smith <bob@thestuff.net>
3904 * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
3906 2001-08-09 Bob Smith <bob@thestuff.net>
3908 * BeginEventHandler.cs: Implemented.
3909 * EndEventHandler.cs: Implemented.
3910 * HttpCacheability.cs: Implemented.
3911 * HttpCacheRevalidation.cs: Implemented.
3912 * HttpCacheValidateHandler.cs: Implemented.
3913 * HttpCookieCollection.cs: Implemented.
3914 * HttpCookie.cs: Implemented.
3915 * HttpValidationStatus.cs: Implemented.
3916 * HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
3917 * IHttpAsyncHandler.cs: Implemented.
3918 * IHttpHandler.cs: Implemented.
3919 * IHttpHandlerFactory.cs: Implemented.
3920 * IHttpModule.cs: Implemented.
3921 * ProcessShutdownReason.cs: Implemented.
3922 * ProcessStatus.cs: Implemented.
3923 * TraceMode.cs: Implemented.