1 2007-05-07 Marek Habersack <mhabersack@novell.com>
3 * HttpResponseStream.cs: use BufferOutput
5 * HttpResponse.cs: support Buffer, but use BufferOutput
7 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
9 * BrowserCapabilities.cs:
12 2007-04-30 Igor Zelmanovich <igorz@mainsoft.com>
14 * HttpApplication.cs: reverted r74717.
16 2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
18 * HttpContext.jvm.cs: Response.End() must abort thread if not async.
20 2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
22 * HttpApplication.cs: doesn't cache httpHandlersSection in instance,
23 that allows to consider httpHandlers section in nested web.config.
25 2007-04-27 Marek Habersack <mhabersack@novell.com>
27 * XmlSiteMapProvider.cs: add support for siteMapFile attribute.
29 2007-04-24 Marek Habersack <mhabersack@novell.com>
31 * CapabilitiesLoader.cs: Hashtables used as property containers
32 should not be case-insensitive as we now preload the property
33 hashes with default properties, to make the code work in case
34 browscap.ini is broken or missing. Instead, the keys are
35 lower-cased and trimmed before indexing the Hashtable.
36 Added all the missing capabilities to the defaultCaps Hashtable.
37 The returned Hashtable is not reversed in GetCapabilities anymore
38 - it might make the code faster, but it also makes it mismatch
39 browsers (e.g. Firefox 2.0 is mismatched for Mozilla 1.8).
40 All of the above fixes bug #81437.
42 * HttpRequest.cs: MS.NET throws HttpException for invalid paths,
43 not ArgumentNullException.
45 * HttpException.cs: wrap GetHtmlErrorMessage internals in
46 try/catch to capture possible exceptions in HttpContext.
48 * HttpContext.cs: IsCustomErrorEnabled is used from within
49 HttpException, make sure it gets the section in a safe way and
50 resorts to the default settings.
52 * HttpResponse.cs: HeaderEncoding is used in the same context as
53 above. Take the same precautions.
55 2007-04-22 Joshua Tauberer <jit@occams.info>
57 * HttpParamsCollection.cs: Fix IndexOutOfRangeException.
59 2007-04-19 Miguel de Icaza <miguel@novell.com>
61 * BaseParamsCollection.cs (Get (string)): Call LoadInfo here to
64 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
66 * HttpException.cs: used GetBaseException() instead InnerException.
68 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
70 * HttpException.cs: shows message of InnerException in head of Page.
72 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
74 * HttpException.cs: fixed generated HTML formating.
76 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
78 * HttpContext.cs: GetGlobalResourceObject, GetLocalResourceObject
79 use case-insensitive ResourceManager
81 2007-04-15 Marek Habersack <mhabersack@novell.com>
83 * VirtualPathUtility.cs: converted to LF line endings and set the
84 svn:eol-style property to 'native'
86 2007-04-13 Marek Habersack <mhabersack@novell.com>
88 * SiteMap.cs: try to look up the current map node in providers
89 other than the current one. Patch from Mike Morano
90 <mmorano@mikeandwan.us>. Fixes bug #81366.
92 2007-04-12 Vladimir Krasnov <vladimirk@mainsoft.com>
94 * HttpRequest.cs: fixed Params property to be lazy initialzation
96 * added HttpParamsCollection.cs
98 2007-04-11 Konstantin Triger <kostat@mainsoft.com>
100 * HttpRequest.cs: IsLocal should return true for loopback addresses.
102 2007-04-10 Marek Habersack <mhabersack@novell.com>
104 * HttpCookie.cs: format the output of HttpCookie.Values.ToString()
105 in the same way MS.NET does. Fixes bug #81333. Patch from Mike
106 Morano <mmorano@mikeandwan.us>.
108 * XmlSiteMapProvider.cs: add the NotifyFilters.Size to the
109 watcher flags, so that we watch for modifications to a file when
112 * HttpApplicationFactory.cs: add the NotifyFilters.Size to the
113 watcher flags, so that we watch for modifications to a file when
115 App_Code, App_Browsers and App_GlobalResources watchers must watch
116 for events with the '*' mask so that they can notice events
117 related to subdirectory creation/deletion.
118 Watch for subdirectory events with the App_Code watcher.
120 2007-04-07 Marek Habersack <mhabersack@novell.com>
122 * HttpException.cs: show a default custom error message if custom
124 Cleaned up the errors HTML, made it XHTML-compliant. Generated
125 HTML now uses inline CSS styles.
127 2007-04-06 Marek Habersack <mhabersack@novell.com>
129 * HttpUtility.cs: added a constant that contains the default query
131 ParseQueryString supports queries with both '&' and ';' parameter
134 2007-04-05 Marek Habersack <mhabersack@novell.com>
136 * CapabilitiesLoader.cs: Make sure that the capability names
137 (keys) are stored in lowercase.
139 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
141 * XmlSiteMapProvider.cs:
142 custom attributes of siteMapNode are loaded properly.
144 2007-04-05 Marek Habersack <mhabersack@novell.com>
146 * CapabilitiesLoader.cs: add a full default set of capabilities
147 for cases when browscap.ini is broken, missing or doesn't contain
148 definition for the client's User-Agent. Makes it possible to surf
149 asp.net sites from unsupported clients.
151 2007-04-04 Juraj Skripsky <js@hotfeet.ch>
153 * HttpApplicationFactory.cs: Make sure an web application is
154 shutdown only once (and Application_End in global.asax is called
155 only once as well). This is necessary because FileSystemWatcher
156 emits multiple events when e.g. global.asax is changed.
158 2007-04-01 Vladimir Krasnov <vladimirk@mainsoft.com>
160 * HttpRequest.cs: fixed Headers property to use optimized
162 * WebROCollection.cs: used StringComparer.OrdinalIgnoreCase for
164 * ServerVariablesCollection.cs: used lazy collection fill optimization
165 * added: HeadersCollection.cs, BaseParamsCollection.cs
167 2007-04-01 Konstantin Triger <kostat@mainsoft.com>
170 GetLocalResourceObject - should not prefix resources with 'Resources.'.
172 2007-04-01 Konstantin Triger <kostat@mainsoft.com>
174 * BrowserCapabilities.cs: Default Browser (userAgent) property to 'Unknown'.
176 2007-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
178 * HttpContext.cs: timeout methods removed from TARGET_J2EE compilation
179 * HttpContext.jvm.cs: added stubs for timeout methods
181 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
183 * StaticSiteMapProvider.cs:
184 GetChildNodes does not return null but SiteMapNodeCollection.EmptyCollection.
186 2007-03-28 Konstantin Triger <kostat@mainsoft.com>
188 * BrowserCapabilities.cs:
190 2. Break recoursion in case 'browser' capability is not found.
192 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
194 * SiteMapNode.cs: fixed GetAllNodes method.
196 2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
198 * XmlSiteMapProvider.cs: fixed:
199 resolve app-relative path from config such siteMapFile="~/Web.sitemap".
201 2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
204 * XmlSiteMapProvider.cs: fixed: Localize Site-Map Data.
206 2007-03-26 Konstantin Triger <kostat@mainsoft.com>
208 * HttpRequest.cs: correctly handle null and empty virtual pathes in MapPath.
210 2007-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
212 * HttpContext.cs: AppGlobalResourcesAssembly static member stored in
213 AppDomain for TARGET_JVM
215 2007-03-24 Marek Habersack <mhabersack@novell.com>
217 * HttpRuntime.cs: use ICalls.GetMachineConfigPath instead of
218 opening the machine.config file and getting its path.
220 * CapabilitiesLoader.cs: use HttpRuntime.MachineConfigurationDirectory
221 instead of opening the machine config file and getting its path.
223 2007-03-23 Konstantin Triger <kostat@mainsoft.com>
225 * HttpApplication.cs: complete the pipeline in case of exception during
226 InitOnce() to avoid a deadlock.
228 2007-03-22 Adar Wesley <adarw@mainsoft.com>
230 * BrowserCapabilities.cs: Added implementation for all capabilities.
231 changed implementation to throw when capability is not defined in browscaps.ini.
233 * CapabilitiesLoader.cs: fixed parent resultion bug. added internal support for
234 browser and browsers capabilities.
236 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
238 * HttpContext.jvm.cs, HttpRuntime.cs: cached instance of HttpRuntime
239 in context in addition to AppDomain
241 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
243 * HttpCookie.cs, HttpCookieCollection.cs: used OrdinalIgnoreCase
244 StringComparer for cookies and values collections
246 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
248 * HttpApplication.cs: refactred handlers configuration section as
251 2007-03-20 Marek Habersack <mhabersack@novell.com>
253 * HttpRequest.cs: implement AppRelativeCurrentExecutionFilePath.
255 2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
257 * VirtualPathUtility.cs: fixed GetFileName(), GetExtension() methods.
259 2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
261 * VirtualPathUtility.cs: fixed GetDirectory() method.
263 2007-03-15 Marek Habersack <mhabersack@novell.com>
265 * XmlSiteMapProvider.cs: handle cases with no default for the
268 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
270 * HttpRequest.cs: fixed MapPath () method.
272 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
274 * VirtualPathUtility.cs: fixed ToAbsolute() method.
276 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
278 * VirtualPathUtility.cs: refactoring: class is shared with 1.x.
280 2007-03-15 Marek Habersack <mhabersack@novell.com>
282 * XmlSiteMapProvider.cs: add support for the enableLocalization
283 <siteMap> attribute and handle per-node localization resource
284 strings for explicit localization as well as the resourceKey
285 attribute to <siteMapNode> for implicit localization (closes bug
288 * SiteMapNode.cs: add support for the resource keys and foreign
290 Implement GetImplicitResourceString.
291 Add support for translation of the Title and Description
292 attributes (closes bug #81103) as well as foreign attributes.
294 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
296 * VirtualPathUtility.cs: fixed: works properly with appRelative path.
298 2007-03-13 Marek Habersack <mhabersack@novell.com>
300 * HttpApplicationFactory.cs: resources compiler no longer accepts
303 * HttpRuntime.cs: Do not compile local resources here anymore.
305 * HttpContext.cs: if App_LocalResources assembly corresponding to
306 the virtual path is not found, compile it here.
307 Look up resources in the "Resources." class path.
309 2007-03-13 Igor Zelmanovich <igorz@mainsoft.com>
311 * HttpUtility.cs: fixed HttpUtillity.HtmlAttributeEncode
312 '<' char must be encoded.
314 2007-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
316 * CapabilitiesLoader.cs: added TARGET_JVM part of static members,
317 added caching to GetCapabilities method for performance improvement
319 2007-03-12 Marek Habersack <mhabersack@novell.com>
321 * XmlSiteMapProvider.cs: support custom site map providers. Fixes
324 2007-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
326 * StaticFileHandler.cs: fixed ProcessRequest TARGET_JVM path,
327 if_modified_since fixed in WAR mode
329 2007-02-25 Vladimir Krasnov <vladimirk@mainsoft.com>
331 * HttpRequest.jvm.cs: fixed LoadWwwForm, should distinguish between
332 query string and form values
334 2007-02-21 Marek Habersack <grendello@gmail.com>
336 * HttpRuntime.cs: BinDirectory returns the bin directory
337 determined by the application host on the application startup.
339 * HttpApplicationFactory.cs: Watch the bin directory determined by
340 the application host on the application startup.
342 2007-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
344 * HttpRequest.cs: fixed MapPath, removed TARGET_J2EE block that checks
347 2007-02-19 Marek Habersack <grendello@gmail.com>
349 * HttpContext.cs: Make sure all the global resource objects are
350 sought in the Resources. namespace.
352 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
354 * HttpContext.jvm.cs, HttpRequest.jvm.cs: Adapt for tunning under test
355 harness where we don't have a SevletRequest/Response.
357 2007-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
359 * HttpApplication.cs: fixed InitOnce, httpModules section is global and
360 taken from the root web.config
362 2007-02-12 Robert Jordan <robertj@gmx.net>
364 * HttpResponseStream.cs (BlockManager.EnsureCapacity):
365 don't call Marshal.ReAllocHGlobal on NULL because, unlike
366 realloc(3) and g_realloc, it doesn't support this semantic.
367 Fixes a part of bug #77075.
369 2007-02-12 Marek Habersack <grendello@gmail.com>
371 * HttpRuntime.cs: support for preservation (.compiled) assembly
374 2007-02-11 Vladimir Krasnov <vladimirk@mainsoft.com>
376 * HttpApplication.cs: added exception pass through from processAction
379 2007-02-02 Marek Habersack <grendello@gmail.com>
381 * HttpApplicationFactory.cs: make code a bit more compact.
383 2007-01-30 Vladimir Krasnov <vladimirk@mainsoft.com>
385 * HttpResponse.cs: fixed TARGET_J2EE part of Redirect for portlet
387 2007-01-30 Adar Wesley <adarw@mainsoft.com>
389 * VirtualPathUtility.cs: fixed exceptions thrown from Combine
390 so they are compatible with MS.
392 2007-01-25 Marek Habersack <grendello@gmail.com>
394 * HttpApplication.cs: Make sure that a specific culture is used
395 when setting the current thread culture.
397 2007-01-21 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
399 * HttpServerUtility.cs: implement Execute/Transfer overloads that take
400 an IHttpHandler. Still missing the documented check for page IsCallback.
401 Also, on MS when i derive from Page for my IHttpHandler, it works fine,
402 but if I just implement IHttpHandler, an exception is thrown. This needs
403 to be researched but, by now, the IHttpHandler version works on mono
406 2007-01-20 Miguel de Icaza <miguel@novell.com>
408 * SiteMapNode.cs (GetExplicitResourceString): implement.
410 * HttpContext.cs (GetGlobalResourceObject): remove unused variable.
412 * StaticFileHandler.cs (ProcessRequest): remove unused variable.
414 * HttpApplication.cs (ProcessError): Remove unused variable.
416 * HttpServerUtility.cs (Execute): Add new overload and rename
417 parameter to match MS (as they are normative).
419 2007-01-17 Marek Habersack <grendello@gmail.com>
421 * HttpApplicationFactory.cs: Implement code and framework to
422 enable automatic application restarts on changes to folders/files
423 in a generic way. Patch from Damien Churchill
424 <damien.churchill@ukplc.net>, thanks!
425 Make sure the top-level assemblies (App_Code, resources) are not
426 referenced twice should a compilation error occur.
428 2007-01-16 Atsushi Enomoto <atsushi@ximian.com>
430 * TraceData.cs : page could be null. Fixed bug #80480.
432 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
434 * VirtualPathUtility.cs: fixed bugs in methods - GetDirectory and
435 GetExtension, according to the VirtualPathUtilityTest
437 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
439 * SiteMapProvider.cs: fixed IsAccessibleToUser, true if
440 SecurityTrimmingEnabled not enabled, true if Roles exists on node and
443 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
445 * HttpRequest.jvm.cs, HttpContext.jvm.cs: Added TARGET_J2EE specific files.
446 * HttpContext.cs, HttpResponse.cs, HttpRequest.cs, HttpCookie.cs:
447 Add J2EE Portal support for TARGET_J2EE.
449 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
451 * HttpRequest.cs: fixed IsLocal, should check all ip addresses of host
453 2007-01-05 Marek Habersack <grendello@gmail.com>
455 * HttpApplicationFactory.cs: Use the new app resources compiler.
457 * HttpRuntime.cs: Use the new app resources compiler.
459 * HttpContext.cs: Reimplement the GetGlobalResourceObject
460 methods, implement the GetLocalResourceObject methods.
462 * HttpResponse.cs: Implement the HeaderEncoding property.
464 2007-01-04 Andreia Gaita <avidigal@novell.com>
466 * HttpRuntime.cs: Add check for NET_2_0 when initializing
467 WebConfigurationManager, build failing on 1.1 profile
469 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
471 * HttpApplicationFactory.cs, HttpRuntime.cs: WebConfigurationManager
472 should be initializaed before any possible access to it
474 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
476 * HttpRequest.cs: fixed Path property, add call of
477 Uri.UnescapeDataString in net_2_0
479 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
481 * HttpApplication.cs: fixed PreStart, should not set thread culture
484 2007-01-03 Vladimir Krasnov <vladimirk@mainsoft.com>
486 * HttpRequest.cs: fixed jvm version of MakeInputStream, should not
487 throw exception on zero content length
489 2007-01-03 Vladimir Krasnov <vladimirk@mainsoft.com>
491 * SiteMap.cs, SiteMapNodeCollection.cs: TARGET_JVM of static members
493 2006-12-20 Marek Habersack <grendello@gmail.com>
495 * HttpContext.cs: add internal setter for the Profile property.
497 * HttpApplicationFactory.cs: Added a shortcut version of
498 InvokeSessionEnd for use from the 2.0 SessionState code.
500 2006-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
502 * HttpRequest.cs: fixed Path property, returns unescaped url
504 2006-12-16 Marek Habersack <grendello@gmail.com>
506 * HttpRequest.cs: Fix for http exception during first visit to an
507 application when the visit path is not the app's virtual root.
509 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
511 * SiteMapProvider.cs.cs:
512 * XmlSiteMapProvider.cs: fixed: because more then one node with empty url
513 is allowed unique key is generated for each node.
515 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
517 * SiteMapProvider.cs.cs: fixed: IsAccessibleToUser resolvs relative url.
518 * StaticSiteMapProvider.cs: fixed: RemoveNode
520 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
522 * VirtualPathUtility.cs: fixed: Combine(), ToAbsolute() methods.
524 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
526 * VirtualPathUtility.cs: fixed: IsAppRelative() method.
528 2006-12-07 Vladimir Krasnov <vladimirk@mainsoft.com>
530 * BrowserCapabilities.cs: fixed MSDomVersion property
532 2006-12-05 Igor Zelmanovich <igorz@mainsoft.com>
534 * VirtualPathUtility.cs: fixed: ToAbsolute() method.
536 2006-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
538 * HttpRequest.cs: call MapPath on the HttpWorkerRequest so that if
539 FilePath is changed we get the new physical path, not the one of the
540 original request. Fixes bug #80152.
542 2006-12-03 Igor Zelmanovich <igorz@mainsoft.com>
544 * HttpWriter.cs: reverted r38835.
546 2006-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
548 * HttpWriter.cs: remove unused WriteBytes method.
550 2006-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
552 * HttpRequest.cs: physical path comes from GetFilePathTranslated to
553 avoid trimming in HttpRequest.MapPath.
555 2006-11-29 Marek Habersack <grendello@gmail.com>
557 * HttpApplication.cs: Make use of the handler stack implemented
560 * HttpCacheVaryByHeaders.cs: Optionally omit the vary:* header
561 value in the 2.0 profile.
563 * HttpServerUtility.cs: Make use of the handler stack implemented
565 Implemented the UrlToken{Encode,Decode} 2.0 methods.
567 * HttpResponse.cs: Implemented the IsRequestBeingRedirected
570 * HttpContext.cs: Implemented the CurrentHandler and PreviousHandler
571 methods, together with helper functions to handle the handler
573 GetSection(string) should be present only in the 2.0 profile.
575 * HttpCachePolicy.cs: implement the SetNoServerCaching,
576 SetNoStore, SetNoTransforms, SetValidUntilExpires and
577 SetOmitVaryStar methods.
578 Added code to set the no-store and no-transform options of the
579 Cache-Control header.
581 2006-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
583 * HttpServerUtility.cs: don't prepend extra '?' when the original url
584 already has a query string. Fixes bug #80042.
586 2006-11-24 Miguel de Icaza <miguel@novell.com>
588 * HttpApplicationFactory.cs (InitType): Also look for "Web.Config"
591 2006-11-20 Marek Habersack <grendello@gmail.com>
593 * HttpApplication.cs: Added support for automatic detection of
594 user's preferred language.
596 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
598 * HttpApplication.cs: don't leak the directory name for non-local
601 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
603 * CapabilitiesLoader.cs: made the hasstable that contains the properties
604 for the brower case insensitive. Fixes bug #79795.
606 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
608 * HttpResponse.cs: fix typo that prevented Server.Execute from restoring
609 the initial output stream used. Closes bug #79916.
611 2006-11-12 Marek Habersack <grendello@gmail.com>
613 * HttpContext.cs: Implemented the 2.0 RewritePath overloads.
615 2006-11-08 Marek Habersack <grendello@gmail.com>
617 * HttpRuntime.cs: Moved the resource compiler results handling to
618 the resource compiler itself.
620 * HttpApplicationFactory.cs: Add invocation of the App_Code
621 compiler. Moved the resource compiler results handling to the
622 resource compiler itself. Removed compilation of the local
623 resources from here - it should be done only when a request
624 determines that the App_LocalResources directory exists.
627 2006-11-07 Andrew Skiba <andrews@mainsoft.com>
629 * HttpRuntime.cs: TARGET_JVM ifdef
631 2006-11-05 Andrew Skiba <andrews@mainsoft.com>
633 * SiteMapProvider.cs: don't iterate through Roles when they are null.
635 2006-11-05 Vladimir Krasnov <vladimirk@mainsoft.com>
637 * HttpContext.cs: implemented Profile property
639 2006-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
641 * HttpApplication.cs: the unexpected 'tick' exceptions can be an abort
642 exception due to timeout or end of the request.
644 2006-10-18 Marek Habersack <grendello@gmail.com>
646 * HttpRuntime.cs: add support for compilation of local resources
647 at the start of request.
649 * HttpContext.cs: implement the GetGlobalResourceObject APIs
651 * HttpApplicationFactory.cs: include the bootstrap code for the
652 global/local resources compiler.
654 2006-10-09 Marek Habersack <grendello@gmail.com>
656 * HttpApplication.cs: change the pipeline order for ASP.NET 2.0 to
657 comply with the Microsoft documentation.
659 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
661 * HttpApplication.cs: this makes the test run successfully. Still need
662 to figure out why that is null.
664 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
666 * HttpApplication.cs: band-aid patch to help debugging hang running 2.0
669 2006-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
671 * HttpServerUtility.cs: 1.1 Execute(s) preserves the query string.
672 Thanks to Hubert Fongarnand. Fixes bug #79506.
674 2006-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
676 * QueueManager.cs: if disposed, always return null for next request.
677 * HttpRuntime.cs: dispose the queue manager when shutting down the
678 domain. This will close pending requests with a 503.
679 * HttpApplication.cs: release the handler before marking the request
680 as completed. If in PipelineDone context is null, use
681 HttpContext.Current. Fixes some of those "Tick detected an unhandled
682 exception" errors printed out.
684 2006-09-11 Andrew Skiba <andrews@mainsoft.com>
686 * XmlSiteMapProvider.cs: ifdef TARGET_JVM
688 2006-09-11 Vladimir Krasnov <vladimirk@mainsoft.com>
690 * HttpWriter.cs: fixed WriteLine to work correctly in utf-16 encoding
692 2006-09-08 Robert Jordan <robertj@gmx.net>
694 * TraceData.cs: fixed NRE if `sizes' is null, which may happen
695 if a page was unable to save its viewstate and size.
697 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
699 * HttpApplicationFactory.cs: ifdef the previous fix with TARGET_JVM to
702 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
704 * HttpApplicationFactory.cs: watch web.config too. Fixes bug #78356.
706 2006-09-05 Konstantin Triger <kostat@mainsoft.com>
708 * SiteMapProvider.cs: consider authorization section for access decision.
710 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
712 * HttpUtility.cs: fixed UrlPathEncode method.
714 2006-08-31 Boris Kirzner <borisk@mainsoft.com>
716 * VirtualPathUtility.cs : pass parameters in correct order.
718 2006-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
720 * HttpApplicationFactory.cs: handle the 'renamed' event too.
722 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
724 * HttpApplication.cs: fixed BeginProcessRequest, TARGET_JVM part
727 2006-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
729 * HttpApplication.cs: don't leak local path names when a file is not
732 2006-06-21 Konstantin Triger <kostat@mainsoft.com>
734 * XmlSiteMapProvider.cs: if the url is relative, make it relative to the
737 2006-06-07 Juraj Skripsky <js@hotfeet.ch>
739 * HttpException.cs (GetHtmlizedErrorMessage): Beautify compilation error
740 page by showing multiple errors on separate lines.
742 2006-06-05 Juraj Skripsky <js@hotfeet.ch>
744 * HttpRequest.cs: simplify code around uri_builder (and rename
745 to url_components). Move storage of query_string into
746 uri_builder.Query and initialize it lazily using
747 worker_request.GetQueryStringRawBytes() or GetQueryString().
748 (QueryString): Use HttpUtility.ParseQueryString instead of
749 duplicating its functionality.
751 2006-06-05 Juraj Skripsky <js@hotfeet.ch>
753 * HttpUtility.cs (ParseQueryString): move core of
754 ParseQueryString into internal method to make it available to
757 2006-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
759 * HttpApplication.cs: assign the context when run from a thread not in
760 the threadpool. Patch by Andrew Skiba. Fixes bug #78583.
762 2006-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
764 * HttpApplication.cs: context.Handler does not change for
765 HttpServerUtility.Execute, so moved setting it into the pipeline instead
768 2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
770 * HttpUtility.cs: implemented ParseQueryString
772 2006-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
774 * HttpUtility.cs: get rid of TryParseHexa.
776 2006-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
778 * HttpApplicationFactory.cs: make sure that the application start event
779 is run before any request is processed.
781 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
783 * HttpServerUtility.cs: don't reset the query string in Execute() when
784 the path does not contain it and we have one from the previous request.
787 2006-04-20 Andrew Skiba <andrews@mainsoft.com>
789 * SiteMapNode.cs: fix few null reference exceptions
791 2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
794 (TransmitFile): make sure we can read the file before buffering it.
796 2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
798 * HttpApplicationFactory.cs: don't fail on events that are not
799 EventHandlers. Patch by Matthew Metnetsky.
801 2006-04-11 Andrew Skiba <andrews@mainsoft.com>
803 * HttpRequest.cs: remove code duplication (see UrlUtils.Combine)
805 2006-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
807 * HttpUtility.cs: allow "%%" as a escape for '%' and ignore invalid
808 hexadecimal characters. Based on a patch by Vladimir Krasnov.
810 2006-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
812 * HttpWriter.cs: only keep the byte buffer around if its size is less
813 than or equals to 32K.
815 2006-04-08 Miguel de Icaza <miguel@novell.com>
817 * HttpWriter.cs (Write): Added missing check for null string as
818 something is now calling it like that.
820 2006-03-27 Joshua Tauberer <tauberer@for.net>
822 * HttpWriter.cs: Avoid creation of a byte[] on each Write()
823 by reusing and resizing a private array.
825 2006-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
827 * HttpRequest.cs: the field content_length can be < 0 and then we try to
828 read when there's no data and block.
830 2006-04-05 Andrew Skiba <andrews@mainsoft.com>
832 * HttpUtility: UrlEncode and UrlEncodeUnicode logic unified, behaviour
833 fixed to match dotnet and http://rfc.net/rfc1738.html
835 2006-03-30 Konstantin Triger <kostat@mainsoft.com>
837 * HttpApplicationFactory.cs: refactoring: remove static modifier from session_end field.
838 Does not check the behavior as HttpApplicationFactory is a singleton.
840 2006-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
842 * HttpUtility.cs: UrlDecode does not throw if an hexadecimal sequence
843 fails to parse as an integer. Fixes bug #77931.
845 2006-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
847 * HttpResponse.cs: more fixes for CacheControl: MS allows to set it to
848 null and "" and the getter value does not completely depend on Cache.
850 * HttpRequest.cs: fail validating the request input if there's a control
851 character after a '<'. Fixes XSS_Null test.
853 All System.Web tests pass again.
854 2006-03-22 Robert Jordan <robertj@gmx.net>
856 * HttpCachePolicy.cs: fix the Cache-control header. Fixes bug #77826.
858 2006-03-22 Chris Toshok <toshok@ximian.com>
860 * HttpApplication.cs: fix typo - AuthenticateRequest =>
861 PostAuthenticateRequest.
863 2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
866 * HttpRequest.cs: revert part of r58229.
868 2006-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
870 * ServerVariablesCollection.cs: fixed "URL" variable, it should not
873 2006-03-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
876 (CheckString): style and don't index the string twice per iteration.
878 2006-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
880 * TempFileStream.cs: a FileStream that removes the file once
882 * HttpRequest.cs: support for writing request data to on-disk
883 files if the request is longer than the threshold specified in the
884 configuration files. In mono this will work for 1.x and 2.0, while with
885 MS this only works for 2.0.
887 2006-03-18 Robert Jordan <robertj@gmx.net>
889 * HttpCachePolicy.cs: expose the validation callbacks.
892 2006-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
894 * HttpApplication.cs: fix upper bound when iterating through the module
897 2006-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
899 * HttpRequest.cs: use the provided content encoding to decode the file
900 name. Fixes bug #77714.
902 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
904 * HttpResponse.cs: allow setting a Cache-Control header through
905 AppendHeader. Fixes bug #77775.
907 2006-03-15 Chris Toshok <toshok@ximian.com>
909 * XmlSiteMapProvider.cs (RemoveProvider): oops, no override.
911 * StaticSiteMapProvider.cs (AddNode): call MapUrl.
912 (FindSiteMapNode): same.
914 2006-03-15 Chris Toshok <toshok@ximian.com>
916 * SiteMapProvider.cs (ReturnNodeIfAccessible): new function,
917 either return the node or throw InvalidOperationException.
918 (get_RootNode): use ReturnNodeIfAccessible.
919 (IsAccessibleToUser): flesh this out a bit, and add comments on
920 how the rest of the implementation should be written.
921 (FindSiteMapNodeFromKey): implement to match MS behavior, docs be
924 * XmlSiteMapProvider.cs: corcompare work.
926 * StaticSiteMapProvider.cs (AddNode): Add a check to see if node
927 == RootNode. Not sure if this is actually correct, but it's
928 required given our implementation of XmlSiteMapProvider. without
929 this check, we end up assigning RootNode.ParentNode == RootNode,
930 which makes for an infinite loop when we traverse up the tree.
932 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
934 * HttpRequest.cs: fixed MakeInputStream method under TARGET_JVM,
935 fixed if content lenght value is less that byte received
937 2006-03-10 Chris Toshok <toshok@ximian.com>
939 * StaticSiteMapProvider.cs (UrlToNode): this entire file is #if
940 NET_2_0, no need to embed another #if NET_2_0.
942 * SiteMapProvider.cs (AddNode): throw NotImplementedException.
943 (FindSiteMapNode): with null context, return null. don't throw
944 ArgumentNullException.
945 (RemoveNode): throw NotImplementedException.
946 (IsAccessibleToUser): check arguments to make test pass. still
947 lacking the method's actual functionality.
948 (ResourceKey): add missing property.
950 2006-03-10 Chris Toshok <toshok@ximian.com>
952 * HttpRequest.cs (CheckString): add back in the check for \xff1c
953 that i took out. oops.
955 2006-03-10 Chris Toshok <toshok@ximian.com>
957 * HttpRequest.cs (CheckString): implement as described in
958 Shackow's "Professional ASP.NET 2.0 Security, Membership, and Role
959 Management", page 310.
961 2006-03-08 Chris Toshok <toshok@ximian.com>
963 * SiteMap.cs: clean this up a bunch. use the SiteMapSection to
964 initialize the provider collection, and don't add a provider.
965 web.config handles that for us. Also, don't always return true
968 2006-02-28 Chris Toshok <toshok@ximian.com>
970 * HttpCookieMode.cs: corcompare work.
972 * ProcessShutdownReason.cs: same.
974 * SiteMapNodeCollection.cs: same.
976 * SiteMapNode.cs: same.
978 * SiteMapProvider.cs: same.
980 * HttpCacheRevalidation.cs: same.
982 * HttpCacheability.cs: same.
984 * StaticSiteMapProvider.cs: same.
986 * HttpValidationStatus.cs: same.
988 2006-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
990 * DefaultHttpHandler.cs: New file.
992 2006-02-01 Chris Toshok <toshok@ximian.com>
994 * SiteMap.cs: use GetSection instead of GetWebApplicationSection.
996 2006-02-01 Chris Toshok <toshok@ximian.com>
998 * HttpApplication.cs: CONFIGURATION_2_0 => NET_2_0, and use
999 GetSection instead of GetWebApplicationSection.
1001 * HttpApplication.jvm.cs: same.
1003 * HttpApplicationFactory.cs: same.
1005 * HttpContext.cs: same.
1007 * CapabilitiesLoader.cs: same.
1009 * QueueManager.cs: same.
1011 * HttpRuntime.cs: same.
1013 * TraceManager.cs: same.
1015 * HttpRequest.cs: same.
1017 2006-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1019 * HttpApplication.cs: keep any exception that happens during
1022 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1024 * HttpDataTransferMode.cs: Removed file.
1025 * HttpRequestPriority.cs: Removed file.
1026 * ApplicationShutdownReason.cs:
1029 * HttpApplication.cs: minor class status fixes.
1031 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1033 * VirtualPathUtility.cs: done with all the not implemented methods.
1035 2006-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1037 * HttpResponse.cs: use UInt64.Parse for content length. In AppendHeader,
1038 set cache_control through the property to update the cachebility
1039 accordingly. When using the cached headers, don't add again all the
1040 headers to that collection.
1041 * HttpCacheVaryByParams.cs: if there are no params, return null.
1042 Otherwise we get an empty 'Vary' header.
1044 2006-01-25 Chris Toshok <toshok@ximian.com>
1046 * HttpApplication.cs (Start): wrap InitOnce in a try/catch block,
1047 and if there's a configuration error, output it and end things
1050 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1052 * HttpRequest.cs: fixed the file path when RewritePath is used. Also
1053 add the PathInfo to the Url. Fixes bug #77291.
1055 2006-01-22 Chris Toshok <toshok@ximian.com>
1057 * HttpRequest.cs (ReadBoundary): remove two unused variables to
1059 (IsBoundary): remove unused method.
1061 * MimeTypes.cs (.cctor): use a 2.0 friendly form of the Hashtable
1062 ctor to silence a warning.
1064 * HttpCacheVaryByHeaders.cs (.ctor): same.
1066 * HttpCacheVaryByParams.cs (.ctor): same.
1068 * StaticSiteMapProvider.cs (UrlToNode): same.
1070 2006-01-22 Konstantin Triger <kostat@mainsoft.com>
1072 * HttpWorkerRequest.cs: ensure case insensitivity in header search.
1074 2006-01-19 Konstantin Triger <kostat@mainsoft.com>
1076 * HttpApplication.jvm.cs: merge HttpApplication.cs changes.
1078 2006-01-17 Chris Toshok <toshok@ximian.com>
1080 * CapabilitiesLoader.cs (Init): use WebConfigurationManager in the
1081 CONFIGURATION_2_0 case.
1083 * HttpRuntime.cs (MachineConfigurationDirectory): same.
1085 2006-01-16 Chris Toshok <toshok@ximian.com>
1087 * HttpApplicationFactory.cs: call WebConfigurationManager.Init in
1088 the CONFIGURATION_2_0 case.
1090 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1092 * HttpWriter.cs: made Write (char) less memory hungry. Thanks to Mike
1093 Glenn for pointing this out.
1095 2006-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1097 * HttpApplicationFactory.cs: fix condition for ContextAvailable.
1099 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1101 * HttpResponse.cs: removed TARGET_JVM block from End
1102 * GetJavaTextReader: Merged TARGET_JVM block from LoadFile
1103 to GetJavaTextReader
1105 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1107 * HttpRequest.cs: removed TARGET_JVM block from MapPath
1109 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1111 * HttpRequest.cs: little fix in MapPath(), virtualPath.Replace
1112 return value wasnt stored.
1114 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1116 * HttpResponse.cs: typo in comment.
1118 * HttpApplicationFactory.cs:
1119 * HttpApplication.cs: don't discard the application used for running the
1120 Application_Start event to allow for Redirect/Transfer to be used. Fail
1121 to get the request/response from the application object as MS does (it
1122 can still be retrieved through HttpContext.Current.blah). Fixes
1125 2006-01-09 Vladimir Krasnov <vladimirk@mainsoft.com>
1127 * CapabilitiesLoader.cs: Merged TARGET_JVM parts in LoadFile
1129 * HttpException.cs: Merged TARGET_JVM parts in GetHtmlizedErrorMessage
1131 * HttpRequest.cs: Merged TARGET_JVM parts in MapPath from /main/29
1132 * HttpResponse.cs: Merged TARGET_JVM parts in End() from /main/30
1133 * StaticFileHandler.cs: Merged TARGET_JVM parts in ProcessRequest
1136 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
1138 * BrowserCapabilities.cs, HttpBrowserCapabilities.cs,
1139 HttpResponseStream.cs: TARGET_JVM changes to let the compilation
1142 2006-01-04 Chris Toshok <toshok@ximian.com>
1144 * HttpContext.cs (IsCustomErrorEnabled): add CONFIGURATION_2_0
1145 code. use a nasty 'using' hack to map the 2.0 CustomErrorsMode to
1146 the 1.x CustomErrorMode name.
1147 (IsDebuggingEnabled): add CONFIGURATION_2_0 code.
1148 (ConfigTimeout): add CONFIGURATION_2_0 code.
1150 * HttpRequest.cs (MakeInputStream): add CONFIGURATION_2_0 code.
1152 * HttpApplication.cs (RedirectCustomError): add CONFIGURATION_2_0
1155 * SiteMap.c (Init): use
1156 WebConfigurationManager.GetWebApplicationSection.
1158 2005-12-21 Miguel de Icaza <miguel@novell.com>
1160 * HttpUtility.cs (UrlEncodeUnicode): The generated encoding of
1161 unicode values must be in %XXXX format, not %XX sometimes.
1163 2005-12-08 Robert Jordan <robertj@gmx.net>
1165 * MimeTypes.cs: added entry for "jpg".
1167 2005-12-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1169 * HttpRequest.cs: only read up to content-length when provided. Patch
1172 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1174 * HttpCookie.cs: fixed the set_Secure. Closes bug #76906.
1176 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1178 * HttpResponseStream.cs: flush the filter stream before closing.
1179 Patch by Geir Bergum that fixes bug #76753.
1181 2005-11-28 Chris Toshok <toshok@ximian.com>
1183 * HttpContext.cs (Profile): remove the #if false from around this,
1184 as we now have the ProfileBase type.
1185 (GetConfig): add CONFIGURATION_2_0 version.
1186 (GetSection): add CONFIGURATION_2_0 version.
1188 2005-11-28 Chris Toshok <toshok@ximian.com>
1190 * TraceManager.cs (..ctor): CONFIGURATION_2_0 work.
1192 * QueueManager.cs (..ctor): CONFIGURATION_2_0 work.
1194 * HttpRequest.cs (AnonymousID): add 2.0 property.
1195 (MakeInputStream): CONFIGURATION_2_0 work.
1197 * HttpApplication.cs (InitOnce): change around the
1198 CONFIGURATION_2_0 stuff since we need additional Culture foo for
1201 2005-11-27 Chris Toshok <toshok@ximian.com>
1203 * HttpApplication.cs (InitOnce): add Configuration_2.0 code.
1206 2005-11-26 Miguel de Icaza <miguel@novell.com>
1208 * HttpResponseStream.cs: Do not try to write zero bytes.
1210 2005-11-24 Miguel de Icaza <miguel@novell.com>
1212 * WebROCollection.cs: Do not add an empty "=" to the query string
1213 if the key is empty or null.
1215 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1217 * WebROCollection.cs: override ToString and generate a query string from
1218 the key/value pairs. Fixes bug #76779.
1220 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1222 * HttpServerUtility.cs: prevent possible nullref in GetLastError().
1224 2005-11-07 Jason Diamond <jason@diamond.name>
1226 * HttpRequest.cs: Don't throw exception when Content-Length doesn't
1227 match length of POSTed data. Also, allow charset parameter on
1228 Content-Type header when type is "application/x-www-form-urlencoded".
1230 2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1232 * WebROCollection.cs: add an ID for the collection. Page needs it.
1234 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1236 * HttpRequest.cs: no need to allocate the buffer when all the content
1239 2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1241 * HttpApplication.cs: ignore TAE in ProcesssError. The Error event might
1242 redirect or transfer and that causes a TAE to be thrown. Fixes
1245 2005-11-01 Chris Toshok <toshok@ximian.com>
1247 * VirtualPathUtility.cs: new (partial implementation) to get some
1248 MS provider examples compiling.
1250 2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1252 * HttpContext.cs: added a new internal overload for ClearError.
1254 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1256 * HttpRuntime.cs: invoke callbacks on private items in the cache before
1257 calling disposing the app. factory. This way we get notifications of
1258 removal for all sessions stored in the cache (InProc only).
1260 2005-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1262 * HttpResponseStream.cs: reworked buffering so that adjacents blocks are
1263 written at once. Also fix bug #76460.
1265 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1267 * HttpResponseStream.cs: when allocating a chunk larger than the
1268 default chunk size, mark all the blocks as taken. Fixes bug
1271 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1273 * HttpResponse.cs: use HaveFilter instead of Filter.
1274 * HttpResponseStream.cs: allocate chunks of the requested size
1275 when it's > 32KB. Fixes bug #76460.
1277 2005-10-14 Sebastien Pouliot <sebastien@ximian.com>
1279 * ServerVariablesCollection.cs: Added a demand for
1280 SerializationFormatter on GetObjectData method (even if it's not
1281 really required in this case as it remove warnings from gendarme.
1283 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1286 * HttpRequest.cs: buglets in error checking in Filter.
1288 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1290 * OutputFilterStream.cs: proxy class for response filters.
1291 * HttpResponse.cs: moved all the actual write operations into the
1292 response stream. Handle response filtering. When caching, get the
1293 actual length of the data, not the buffer length.
1294 * HttpApplication.cs: if there's no error, invoke the filters before
1295 updating the request cache.
1296 * HttpResponseStream.cs: new Filter property. SendChunkSize is moved
1297 here and now supports writing the final chunk. New method ApplyFilter
1298 that filters the existing buckets and replaces them with the filtered
1299 ones. Modified Write to deal with buffering and filtering.
1301 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1303 * HttpResponseStream.cs: allow for writes of more than 32K at once.
1305 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1307 * InputFilterStream.cs proxy stream for use by filters.
1308 * HttpRequest.cs: implement input filtering.
1310 2005-10-02 Eyal Alaluf <eyala@mainsoft.com>
1311 * HttpApplication.jvm.cs - Workaround for use of yield in
1312 HttpApplication.cs HttpRuntime.cs: AppDomain.Unload is not supported
1315 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1317 * HttpResponseStream.cs: remove dead code.
1319 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
1321 * HttpClientCertificate.cs: Remove last TODO on IsValid. This now
1322 works when using XSP. Now use flags to determine valid/presence.
1324 2005-09-26 Chris Toshok <toshok@ximian.com>
1326 * HttpApplicationFactory.cs (OnAppFileChanged): add null checks
1327 for bin_watcher and app_file_watcher so we don't get NRE's here.
1329 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1331 * BrowserCapabilities.cs: don't rely on the win32 attribute to be there.
1332 Just use the platform to determine whether Win32 is true or not. Fixes
1335 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1337 * HttpApplication.cs: fixed typo when setting UI culture. Closes bug
1340 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1342 * HttpRequest.cs: new SetFilePath() that does not conflict with
1343 SetCurrentExePath. Now when transfering from a page to another,
1344 CurrentExecutionFilePath and FilePath are correct.
1346 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1348 * TraceContext.cs: add new method to store size of controls.
1349 * TraceData.cs: render control size.
1350 * HttpResponse.cs: new internal method to get the number of bytes of
1352 * HttpResponseStream.cs: added Length property to the Buckets and new
1355 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1357 * TraceData.cs: we have to change the method of getting a control render
1358 size. MS does not do this or otherwise would run into the same bug
1359 (#76051) that this patch fixes. This is temporarily setting the size
1362 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1364 * HttpResponseStream.cs: implemented Send(stream) for files. Fixes bug
1367 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1369 * HttpRuntime.cs: catch errors when compiling global.asax and
1370 initializing the application. Fixes bug #76090.
1372 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1374 * BrowserCapabilities.cs: Fixed changes (in 2.0) with versions. Fixed
1375 compare with "True" (culture and case sensitivity).
1376 * HttpApplicationState.cs: Added LinkDemand for Minimal. Use the
1377 internal HttpStaticObjectsCollection ctor to avoid the UnmanagedCode
1379 * HttpContext.cs: Added LinkDemand for Minimal. Added 2.0 properties
1380 and methods to test CAS on them.
1381 * HttpRequest.cs: Added LinkDemand for Minimal. Ensure we return
1382 proper values when worker_request is null.
1383 * HttpResponse.cs: Added LinkDemand for Minimal. Ensure we return
1384 proper values when context or WorkerRequest is null. Added 2.0
1385 properties and methods to test CAS on them.
1386 * HttpRuntime.cs: Added LinkDemand for Minimal. Added PathDiscovery
1387 demands for properties returning directories. Added demand for High
1388 level on AppDomainAppId and AppDomainId properties, Low level on
1389 IsOnUNCShare, Medium level on ProcessRequest and a demand for
1390 UnmanagedCode on UnloadAppDomain method. Constructor also has a
1391 UnmanagedCode demand for 1.x.
1392 * HttpStaticObjectsCollection.cs: Added LinkDemand for Minimal. Added
1393 a UnmanagedCode demand to public ctor. Added internal ctor without the
1394 demand. Changed Serialize and Deserialize methods to public for 2.0.
1396 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1398 * HttpWorkerRequest.cs: Removed TODO for 2.0 APIs and return the
1399 default values for them.
1401 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1403 * HttpApplication.cs: : Added LinkDemand and InheritanceDemand (class)
1404 for Minimal. Changed AssemblyLocation to a property (so it doesn't
1405 require special permission, PathDiscovery) to create an instance.
1406 Protected Modules property with a Demand for High level. Added some
1407 missing HttpException for null context.
1408 * HttpServerUtility.cs: Added LinkDemand for Minimal. Added demands
1409 for UnmanagedCode on all CreateObject* methods. Added demand for
1410 Medium level on MachineName and ScriptTimeout properties. Added new
1411 overloaded Transfer method (2.0) to test CAS on it.
1412 * HttpUtility.cs: Added LinkDemand for Minimal. Added [Obsolete] to
1413 ctor (2.0). Changed some return values when 'count' is 0. Added
1414 ParseQueryString (overload) methods for 2.0 (to enabled CAS testing on
1416 * HttpWorkerRequest.cs: Added LinkDemand and InheritanceDemand (class)
1417 for Minimal. Added RequestTraceIdentifier and RootWebConfigPath (2.0)
1418 properties, GetPreloadedEntityBody, GetPreloadedEntityBodyLength,
1419 GetTotalEntityBodyLength and ReadEntityBody (2.0) methods to test CAS
1420 on them. Fixed SendResponseFromMemory to ignore IntPtr.Zero (used in
1421 tests without failures).
1422 * ServerVariablesCollection.cs: Fixed loadServerVariablesCollection
1423 when HttpWorkerRequest is null.
1424 * TraceContext.cs: Added LinkDemand for Minimal. Fixed default Mode
1425 (SortByTime). Added new (2.0) TraceFinished event to test CAS on it.
1427 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1429 * HttpBrowserCapabilities.cs: Added LinkDemand and InheritanceDemand
1430 (class) for Minimal. Note that current MCS has problem compiling
1431 security attributes on partial class (bug #75969).
1432 * HttpCachePolicy.cs: Added LinkDemand for Minimal. Added 2.0 methods
1433 (stub) to enable CAS tests on them.
1434 * HttpCacheVaryByHeaders.cs: Added LinkDemand for Minimal.
1435 * HttpCacheVaryByParams.cs: Added LinkDemand for Minimal.
1436 * HttpClientCertificate.cs: Added LinkDemand and InheritanceDemand
1437 (class) for Minimal.
1438 * HttpCookie.cs: Added LinkDemand for Minimal.
1439 * HttpCookieCollection.cs: Added LinkDemand for Minimal.
1440 * HttpFileCollection.cs: Added LinkDemand for Minimal.
1441 * HttpModuleCollection.cs: Added LinkDemand for Minimal.
1442 * HttpPostedFile.cs: Added LinkDemand for Minimal.
1443 * HttpRequestPriority.cs: Fix enum values.
1444 * HttpWriter.cs: Added LinkDemand for Minimal.
1446 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1448 * ProcessInfo.cs: Added LinkDemand and InheritanceDemand (class) for
1450 * ProcessModelInfo.cs: Added LinkDemand and InheritanceDemand (class)
1451 for Minimal. Methods GetCurrentProcessInfo and GetHistory are also
1452 protected by Demand for High level.
1454 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1456 * HttpCompileException.cs: Added new public ctors and [Serializable]
1457 to 2.0. Added new Message property and GetObjectData (protected by a
1458 demand for SerializationFormatter) for 2.0. Fixed line-ending.
1459 * HttpException.cs: Added LinkDemand and InheritanceDemand (class) for
1460 Minimal. Renamed parameters to match documentation.
1461 * HttpParseException.cs: Added LinkDemand (class) for Minimal. Added
1462 demand for SerializationFormatter on GetObjectData method. Fixed
1464 * HttpRequestValidationException.cs: Added new public ctors and
1465 [Serializable] to 2.0. Added LinkDemand for Minimal.
1466 * HttpUnhandledException.cs: Added new public ctors and [Serializable]
1467 to 2.0. Removed unused internal ctor. Added LinkDemand for Minimal.
1470 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1472 * HttpResponseSubstitutionCallback.cs: New. 2.0 delegate.
1473 * TraceContextEventArgs.cs: New. 2.0 class.
1474 * TraceContextEventHandler.cs: New. 2.0 delegate.
1476 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1478 * HttpRequest.cs: use GetServerName instead of GetLocalAddress when
1481 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1483 * HttpRequest.cs: fix the indexer.
1485 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1487 * HttpPostedFile.cs: fixes in Seek and Position.
1489 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
1491 * HttpRequest.cs: Make sure the MemoryStream created have their
1492 contents marked as public - or else you can't call GetBuffer on them!
1494 2005-09-08 Miguel de Icaza <miguel@novell.com>
1496 * HttpRequest.cs: Patch from Juraj Skripsky <js@hotfeet.ch> that
1499 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1501 * HttpPostedFile.cs: Make this class actually work. Every time we read,
1502 we have to position the underlying stream.
1504 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1506 * HttpRequest.cs: reading multipart/form-data works again.
1508 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
1509 * HttpRequest.cs: Under TARGET_JVM the input stream must allow GetBuffer.
1511 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
1512 * HttpApplicationFactory.cs: TARGET_J2EE/JVM fix.
1514 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1516 * HttpRequest.cs: correctly detect multipart/form-data.
1518 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1520 * HttpApplicationFactory.cs: recycle after invoking session_end.
1522 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1524 * HttpRuntime.cs: remove Console.
1526 * HttpApplicationFactory.cs: don't hook Session_End, but keep
1527 the MethodInfo around for later invocation if needed. Don't call
1528 GetMethods() for every HttpApplication (or derived class) instances.
1529 Added a method, used by SessionStateModule, that will create use an
1530 application without context to invoke Session_End. Keep a pool of
1531 applications that are meant to be used by this method only.
1533 * HttpApplication.cs: add a SetSession method and do not
1534 attach all the events if the application is for Session_End only.
1536 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1538 * HttpRuntime.cs: actually unload the domain when requested. Reformatted
1539 FinishUnavailable() and removed the 'Location' header form the error.
1541 * HttpApplicationFactory.cs: set up the watcher for the bin directory.
1542 This also prevents a nullref when global.asax is changed.
1544 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1546 * HttpApplication.cs: fixed bug introduced when moving GetHandler call
1547 around. Now we get error pages again.
1549 2005-09-06 Miguel de Icaza <miguel@novell.com>
1551 * HttpApplication.cs: Catch EndRequest errors as well.
1553 2005-09-05 Miguel de Icaza <miguel@novell.com>
1555 * HttpApplication.cs: Invoke EndRequest handler before OutputPage
1556 as FormsAuthentication will issue a Redirect from the EndRequest
1559 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1561 * HttpApplication.cs: when writing an error message, catch the possible
1564 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1566 * HttpResponseStream.cs: prevent invalid cast exception if the first
1567 thing written is a file.
1569 2005-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1571 * HttpApplication.cs: fix invalid cast exception (bug #75926).
1573 2005-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1575 * HttpApplicationFactory.cs: only trigger the Application_Start event
1576 once. It was being invoked more than once when several clients were
1577 hitting the server at the same time on startup.
1579 2005-09-01 Eyal Alaluf <eyala@mainsoft.com>
1581 * HttpContext.cs HttpResponse.cs HttpWorkerRequest.cs HttpRuntime.cs
1582 HttpApplicationFactory.cs HttpApplication.cs: TARGET_J2EE/JVM fixes.
1583 Mostly workaround limited AppModel in TARGET_J2EE.
1585 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1587 * HttpResponse.cs: if the request method is HEAD, that's equivalent to
1588 SuppressContent. Added an internal TransmitFile that allows setting the
1590 * StaticFileHandler.cs: use the new internal TransmitFile and remove
1591 generation of Content-Length header, as now it's computed correctly.
1592 * HttpApplication.cs: remove debugging stuff.
1593 * HttpResponseStream.cs: suppress_content is checked in HttpResponse.
1595 2005-08-31 Miguel de Icaza <miguel@novell.com>
1597 Removed debugging info.
1599 * HttpApplication.cs: Add support for async handlers.
1601 Add extra 2.x methods.
1603 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1605 * BrowserCapabilities.cs: removed extra 'using'.
1607 * HttpApplication.cs: use just the 'modcoll' to hold the collection of
1608 modules instead of having a separate 'modules' one.
1610 2005-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1612 * HttpApplication.cs: clone the module collection so that
1613 it's not shared between HttpApplications. Call GetHandler() in the
1616 2005-08-30 Miguel de Icaza <miguel@novell.com>
1618 * HttpApplication.cs: Add the new 2.x method overloads that take a
1621 (RunHooks): Pass the extra data instead of null.
1623 * HttpCookie.cs (HttpOnly): Add 2.x cookie header.
1625 * BrowserCapabilities.cs: Move the core of the capabilities into a
1626 separate file. Use partial classes to choose what version to
1629 * HttpBrowserCapabilities.cs: Update to move the code elsewhere.
1631 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
1633 * HttpResponseStream.cs: Fix a bug introduced by last fix (thanks to
1636 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
1638 * HttpResponseStream.cs: Compilation fixes for TARGET_JVM. TARGET_JVM
1639 does not support unsafe code. I localized all unsafe code within Chunk
1640 & Block and created a managed version of Chunk.
1642 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
1643 * HttpApplicationFactory.cs: Compilation fixes for TARGET_J2EE. Under
1644 TARGET_J2EE static fields are shared by all app domains. We handle
1645 this difference by explicitly getting/setting values from the app
1646 domain. Since HttpApplicationFactory has many static fields, I
1647 refactored it to have one static instance and moved the static fields
1648 into instance fields.
1650 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
1652 * HttpRequest.cs: Disable use of IntPtrStream for TARGET_JVM
1654 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
1656 * HttpContext.cs: Compilation fixes for TARGET_J2EE/JVM
1658 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1660 * HttpResponse.cs: don't duplicate the 'charset=' and don't send a
1661 charset for unknown MIME types.
1662 * StaticFileHandler.cs: set the Content-Length header here.
1663 * HttpRequest.cs: prevent nullrefs when we have no 'charset='.
1665 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1667 * StaticFileHandler.cs: use TransmitFile instead of WriteFile. This way
1668 xsp will use sendfile().
1670 2005-08-28 Chris Toshok <toshok@ximian.com>
1672 * SiteMapNode.cs: fix IHierarchyData.GetParent.
1674 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1677 * IntPtrStream.cs: now we only have a read-only MemoryStream or an
1678 IntPtrStream. The copy is moved into HttpRequest.
1680 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
1682 * WebCategoryAttribute.cs: New. Required internal attribute.
1683 * WebSysDescriptionAttribute.cs: New. Required internal attribute.
1685 2005-08-26 Jackson Harper <jackson@ximian.com>
1687 * HttpResponseStream.cs: Use GetBuffer so the memory isn't
1690 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1692 * HttpApplication.cs: GetHandler might return null when, for example,
1693 a web service fails, but that does not mean that returning a null
1694 handler should throw another exception, as the web service code
1695 serialized the error as a faultString. So if the handler is null, just
1696 don't call ProcessRequest and keep going.
1698 2005-08-26 Jackson Harper <jackson@ximian.com>
1700 * HttpResponse.cs: Send the cached headers if this is a cached
1701 response. Save the headers, date header, and page data. Fix a typo.
1702 * HttpResponseStream.cs: Add new accesor to get a byte [] of the
1705 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1707 * HttpWorkerRequest.cs: SetEndOfSendNotification is a noop. No matter
1708 what callback you use that never gets called. In XSP I actually
1709 implement something for this method.
1710 * HttpServerUtility.cs: unused variable.
1712 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1714 * HttpInputStream.cs: new ctor that takes a byte [].
1715 * IntPtrStream.cs: make it work on a byte [] too.
1718 (ContentLength): return 0 for negative numbers or error parsing, but
1719 keep content_length negative in those cases.
1720 (MakeInputStream): when there's no content-length (or it's negative),
1721 we still read the request into a MemoryStream. Use
1722 IsEntireEntityIsPreloaded() as a fast path.
1724 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1726 * HttpClientCertificate.cs: On 1.x the .ctor throws a
1727 ArgumentNullException (but 2.0 throws a NRE).
1729 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1731 * HttpRequest.cs: HttpMethod deserves its own field. Fix IsLocal.
1733 2005-08-25 Chris Toshok <toshok@ximian.com>
1735 * HttpApplication.cs (IsReusable): return true.
1736 (InitOnce): remove the initialization of handler_factory from
1738 (GetHandler) and move it here, so we make sure to load handlers
1739 from all needed web.config files.
1741 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1743 * HttpServerUtility.cs: use GetHandler().
1744 * HttpApplication.cs: remove obsolete method. Now Transfe/Execute work.
1746 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1748 * HttpApplication.cs: no need for the local var. here.
1750 2005-08-25 Chris Toshok <toshok@ximian.com>
1752 * HttpApplication.cs (InitOnce): move the initialization of
1753 modules above the call to HttpApplicationFactory.AttachEvents,
1754 since that method accesses HttpApplication.Modules. Fixes
1756 (IsReusable): mark TODO.
1758 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1760 * HttpResponseHeader.cs: removed obsolete class.
1761 * HttpResponse.cs: no more 'obsolete' warnings.
1763 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1765 * HttpRuntime.cs: implemeted some missing properties.
1767 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1769 * HttpResponse.cs: implemented RemoveOutputCacheItem().
1771 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1773 * HttpApplication.cs: implemented GetVaryByCustomString().
1775 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1777 * HttpRequest.cs: implemented SetHeader (allows adding a header
1778 circumventing the read-only protection of the collection) and SetForm,
1779 which just assigns a value of the 'form' collection.
1780 * HttpServerUtility.cs: NameValueCollection -> WebROCollection.
1782 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1785 * HttpRequest.cs: implemented RewritePath and supporting methods.
1787 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
1789 * HttpRequest.cs: Avoid NRE if work_request if null in the ctor.
1790 * HttpResponse.cs: Avoid NRE if work_request if null in the ctor.
1792 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1794 * HttpApplication.cs: if there's any exception thrown when getting the
1795 handler, don't add an extra error to the context, as we already have
1798 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1802 * HttpWorkerRequest.cs:
1803 * HttpApplication.cs: added mising attributes and enabled methods
1806 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1808 * WebROCollection.cs: a collection that allows setting IsReadOnly.
1809 * HttpRequest.cs: implemented MapImageCoordinates(). Use WebROCollection
1810 instead of a NameValueCollection in Form, Headers, Params, QueryString.
1812 2005-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1814 * HttpInputStream.cs: new copy ctor.
1815 * IntPtrStream.cs: getters for base_address and size.
1816 * HttpRequest.cs: implemented SaveAs(). Use a wrapper on top of
1817 InputStream so that reading POST form or files does not modify the state
1818 if InputStream. Don't use uri_builder.Query in QueryStringRaw, as it
1821 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1823 * HttpRequest.cs: implemented UserLanguages and reuse code from
1826 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1828 * HttpRequest.cs: implemented AcceptTypes.
1830 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1832 * HttpRequest.cs: implemented this[] in terms of Params. Don't add the
1833 header collection in Params.
1835 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1837 * HttpRequest.cs: fix Files property.
1838 * HttpApplication.cs: invoke the default authentication event after all
1839 the other auth. modules.
1841 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1843 * ServerVariablesCollection.cs: mark the collection as read-only except
1844 when we fill it. Add the HTTP_blah key/value pairs too.
1846 2005-08-18 Chris Toshok <toshok@ximian.com>
1848 * HttpRequest.cs (get_Params): implement.
1850 2005-08-17 Chris Toshok <toshok@ximian.com>
1852 * HttpResponse.cs: HttpResponse's Cookie's collection acts
1853 differently than HttpRequests in that it never returns null from
1854 the "this [string]" accessor.
1856 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1858 * HttpRequest.cs: check length 0 case when reading a POST.
1860 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1862 * HttpContext.cs: added security attributes for User and
1863 SkipAuthorization properties.
1864 * HttpApplicationFactory.cs: AttachEvents is now called form the
1865 application .ctor. Recycle instead of dispose.
1866 * HttpApplication.cs: attach events to the newly created application.
1868 2005-08-15 Jackson Harper <jackson@ximian.com>
1870 * ApplicationShutdownReason.cs: make build
1872 2005-08-15 Miguel de Icaza <miguel@novell.com>
1874 * HttpApplication.cs: Update comments
1876 * HttpPostedFile.cs: Use a substream to read from the uploaded
1879 * HttpRequest.cs: use new code to read the uploaded files.
1881 2005-08-12 Miguel de Icaza <miguel@novell.com>
1883 2.x API fixage and small additions:
1885 * HttpResponse.cs: Make constructor internal.
1887 * HttpRequest.cs (IsLocal): Expose if NET_2.x
1889 * HttpContext.cs: Remove internal routine.
1891 * HttpApplication.cs: Add 2.x events.
1893 * HttpRequest.cs: Another iFolder issue: I was not setting up the
1896 Fixes to get iFolder to work:
1898 * HttpApplicationFactory.cs: Set the context when we are initting
1901 * HttpApplication.cs (SetContext): helper routine.
1903 * HttpResponse.cs: Implement the various cache operations:n
1904 Expires, ExpiresAbsolute, CacheControl.
1906 Actually produce the Cache-Control header, the "Cache" property
1907 takes precedence over the compatibility settings (Expires,
1908 ExpiresAbsolutely and CacheControl).
1910 * HttpCachePolicy.cs: Fix style.
1912 Fix the generation of the headers, use lower-case values, do not
1913 add the max-value if the value is zero.
1915 Allow for all possible values in SetCacheability.
1917 * HttpRuntime.cs (ClrInstallDirectory): Implement.
1919 * HttpResponseStream.cs: Remove debugging stuff.
1921 2005-08-11 Miguel de Icaza <miguel@novell.com>
1923 Big chunked handling rewrite, and integration of Ben's unmanaged
1926 * HttpWriter.cs: Delegate chunked encoding writing to the
1929 * HttpResponse.cs: Rework the chunked encoding system, centralize
1932 * HttpResponseStream.cs: Deploy Ben's bucket-base unmanaged
1935 Changed the way that we handle chunked encoding, centralize it
1938 Remove a lot of manual handling of buffering turned off, and
1939 instead delegate it all to Flush, fixes several issues with the
1942 * HttpWorkerRequest.cs (SendResponseFromMemory (IntPtr, int)):
1943 Provide a default implementation since currently XSP does not have
1944 this method implemented.
1946 2005-08-11 Sebastien Pouliot <sebastien@ximian.com>
1948 * HttpClientCertificate.cs: Culture insensitive int parsing. Fixed
1951 2005-08-10 Miguel de Icaza <miguel@novell.com>
1953 * ServerVariablesCollection.cs: For Ben. Implement the header
1954 fetching here, do not implement it in HttpRequest.cs.
1956 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
1958 * HttpClientCertificate.cs: Changed IsPresent logic so that new unit
1959 tests will work as expected.
1961 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
1963 * HttpClientCertificate.cs: Implemented, except for validation. Note
1964 that the HttpWorkerRequest derived classes must be updated to supply
1965 the required informations.
1966 * HttpRequest.cs: Create an HttpClientCertificate on first call to
1969 2005-08-09 Miguel de Icaza <miguel@novell.com>
1971 * HttpRuntime.cs (AspInstallDirectory): Implement.
1973 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
1975 * HttpClientCertificate.cs: New. Stub. It won't be fun to test.
1977 2005-08-04 Ben Maurer <bmaurer@ximian.com>
1979 * HttpContext.cs: Kill a NIE.
1981 2005-08-04 Miguel de Icaza <miguel@novell.com>
1983 * HttpApplicationFactory.cs: Change "Start" event like the "End"
1984 event, and only do this once, when we init the type.
1986 Fire the "Application_Start" event after we create the type.
1988 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1990 * HttpApplication.cs: catch a ThreadAbort (coming from Response.End)
1993 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1995 * HttpResponse.cs: setting the Status property resets the
1996 StatusDescription (see the tests) and the default value for the
1997 description is the one provided by GetStatusDescription() in
2000 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2002 * HttpRequest.cs: s/boundry/boundary/ and fix typo in array creation.
2004 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2006 * HttpApplication.cs: add call to EndOfRequest when everything is said
2009 2005-08-02 Miguel de Icaza <miguel@novell.com>
2011 * HttpResponse.cs: Stub for TransmitFile.
2013 * HttpRequest.cs (IsAuthenticated): Implement.
2015 2005-08-01 Miguel de Icaza <miguel@novell.com>
2017 * HttpRequest.cs: Cope with implementations of HttpWorkerRequest
2018 (unpatched xsp) that do not send back the PreloadedEntityBody.
2020 * HttpApplication.cs: keep track of the factory.
2021 (Dispose): Only dispose once, clean up other variables, release
2022 the ManualResetEvent.
2023 Release the handler to the factory.
2025 * HttpApplicationFactory.cs: Implement a stack to reuse the
2028 * HttpRequest.cs: On uploads, if the ContentLenght is zero, throw
2031 * HttpRuntime.cs: Recycle the application after using it.
2033 * HttpPostedFile.cs: Implement SaveAs.
2035 * HttpContext.cs: Return the "Server" property.
2037 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2039 * HttpServerUtility.cs: implemented missing bits.
2041 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2043 * HttpRequest.cs: query string was getting a '?' as the start of the
2044 first variable name. This makes the asmx help page work again.
2046 2005-08-01 Miguel de Icaza <miguel@novell.com>
2048 * HttpRequest.cs (Cookies, Forms): Add validation.
2049 (Forms): Add application/x-www-form-urlencoded parsing and
2050 multipart/form-data parsing.
2052 (HttpMultiPart): Implement new class to load multi-part data from
2053 a stream since there is no longer a byte [] that holds the data
2054 (currently we have an unmanaged IntPtr buffer wrapped as a
2055 stream). Also the 2.x framework will add support for large
2056 uploads which are sent directly to disk, which will require the
2057 FileStream interface.
2059 (Path, PathInfo): Fill a couple more methods to avoid crashes.
2061 * HttpContext.cs: Fill another one to get web services summary
2062 page painting. The page does not work though.
2064 * HttpApplication.cs: Rework the pipeline to not depend on
2065 `finally', as `finally' would not be invoked if we choose not to
2066 call the pipeline again (which happens if the `stop' variable is
2069 Instead force the pipeline to go to the shutdown, and yield from
2070 there after all the release-state callbacks have been invoked.
2072 2005-07-31 Miguel de Icaza <miguel@novell.com>
2074 * HttpApplication.cs: Remove debugging messages since the compiler
2077 You must use at least mcs from revision 47879 for the application
2080 2005-07-30 Miguel de Icaza <miguel@novell.com>
2082 * HttpContext.cs: Error handling methods.
2084 * HttpResponse.cs: Trigger the last event.
2086 * HttpRuntime.cs: Add queueing of the next request.
2088 * HttpApplication.cs: Deploy the new yield-based application
2089 pipeline, add error handling to the pipeline.
2091 * HttpApplication.cs (AsyncRequestState): Just use the done event
2094 2005-07-29 Miguel de Icaza <miguel@novell.com>
2096 * HttpResponseStream.cs, HttpRequest.cs: Fix bugs found by nunit.
2098 * HttpApplication.cs: Fix a race condition.
2100 * HttpResponseStream.cs: Fix bug, send the size of the buffer that
2101 we have so far instead of the internal size of the buffer. This
2102 will need work later to ensure we enforce the Content-Length
2103 maximum output size if set.
2105 * ServerVariablesCollection.cs: This class now inherits from
2106 NameValueCollection, we should probably review what the middle
2107 class did, there are no dependencies on it.
2109 I need to write tests to investigate if something is missing or
2110 has changed in this implementation.
2112 2005-07-27 Miguel de Icaza <miguel@novell.com>
2114 * HttpRequest.cs: No happy replies here, send a 411.
2116 2005-07-27 Chris Toshok <toshok@ximian.com>
2118 * HttpResponseHeader.cs: remove spew.
2120 2005-07-27 Chris Toshok <toshok@ximian.com>
2122 * HttpResponseHeader.cs (HttpResponseHandler..ctor): use
2123 HttpWorkerRequest.GetKnownResponseHeaderName instead of
2124 GetKnownRequestHeaderName. Fixes Response.Redirect until miguel's
2125 new HttpReponse is online.
2127 2005-07-26 Miguel de Icaza <miguel@novell.com>
2129 * HttpResponse.cs: use_chunked is now a byte-array, if not null,
2130 we use it to hold the size of the chunked so we do not have to
2131 allocate many of these.
2132 (SendSize): Helper routine to send the chunked headers.
2133 (BinaryWrite): First user of the chunked writer.
2135 * HttpApplication.cs: Do not crash if they request a Server
2136 instance, but throw a NotImplementedException.
2138 * HttpRequest.cs: fix a few problems exposed by the regression
2141 * HttpRequest.cs (Cookies): use Chris' new constructor to get the
2144 : The big Uri rework: instead of using QueryString
2145 as the population mechanism, populate an UriBuilder from the
2146 various HttpWorkerRequest methods.
2148 * HttpWorkerRequest.cs (GetProtocol): Implement in terms of
2151 * HttpResponse.cs: Pointed by Ben, Write (null) is a nop instead
2154 * HttpContext.cs: Add a couple of properties to help the 2.x
2157 * HttpResponse.cs: Make ContentLength a long, add back support for
2158 session's app_path_mod.
2159 (ApplyAppPathmodifier): put back.
2160 (End): Pass a flag to abort so we can tell the exceptions appart
2162 (WriteHeaders): Send the HTTP status.
2163 (Redirect): Implement.
2164 (Write): Use the Output property to load writer when needed.
2166 * HttpRequest.cs (ctor): Temporary use of InitFromWR, will fix
2168 (MakeInputStream): check content-length size, use routines to load
2169 the preloaded data, handle incomplete transfers.
2170 (Query): Do not insert null keys into the collection.
2172 (UrlReferer): implement.
2174 * HttpApplication.cs (RunHooks): Catch Thread.Abort, and call
2175 Thread.ResetAbort after each step.
2177 Ensure that ReleaseState is called if we ever succeed in acquiring
2178 the state even if we have stopped the request pipeline.
2180 Report file not found, directory not found.
2182 2005-07-25 Miguel de Icaza <miguel@novell.com>
2184 * HttpCookieCollection.cs: Add expiration of the cookie.
2186 * HttpRequest.cs: Add check for ContentLength, use
2187 GetPreloadedEntityBody, correct number of bytes uploaded.
2189 2005-07-21 Miguel de Icaza <miguel@novell.com>
2191 * HttpResponseHeader.cs: Our implementation of HttpResponse only
2192 uses the text headers, does not use any constants as XSP would go
2193 through a slower code path anyways.
2195 2005-07-21 Chris Toshok <toshok@ximian.com>
2197 * HttpBrowserCapabilities.cs: enable support for the W3CDomVersion
2198 and EcmaScriptVersion properties.
2200 2005-07-21 Chris Toshok <toshok@ximian.com>
2202 * HttpResponseHeader.cs: hi, i'm stupid and missed String.Replace.
2204 2005-07-21 Chris Toshok <toshok@ximian.com>
2206 * HttpResponseHeader.cs: url encode just \r and \n if they're
2207 present in the value.
2209 2005-07-20 Chris Toshok <toshok@ximian.com>
2211 * HttpPostedFile.cs: add missing ContentLength property.
2213 2005-07-20 Chris Toshok <toshok@ximian.com>
2215 * HttpCookieCollection.cs: add a new ctor that takes a string (the
2216 contents of the Cookies: header).
2218 2005-07-20 Chris Toshok <toshok@ximian.com>
2220 * HttpCookieCollection.cs: add another ctor (internal, but not
2221 obsolete, so we aren't passing a stupid HttpResponse in in order
2222 to change the behavior of the collection.)
2224 * HttpCookie.cs: init this.values in the internal ctor.
2226 2005-07-20 Chris Toshok <toshok@ximian.com>
2228 * HttpCookieCollection.cs: use "auto-fill mode" when we're dealing
2229 with an HttpResponse's cookie collection. That is, create the
2230 cookie if the consumer looks it up.
2232 2005-07-20 Miguel de Icaza <miguel@novell.com>
2234 * HttpApplication.cs: Ongoing work on pipeline, I will need to
2237 2005-07-19 Miguel de Icaza <miguel@novell.com>
2239 * HttpContext.cs (GetService): Implement. Return all of the
2240 properties that we have access to. Make HttpWorkerRequest the
2241 first match as this is the only likely reason people need to use
2244 * IntPtrStream.cs: Bring from corlib.
2246 * MultiPartContentParser.cs: use a MemoryStream as HttpInputStream
2247 will now be using IntPtrStream.
2249 * HttpRequest.cs (MakeInputStream): move code that loads the
2251 (CloseInputStream): Helper method that we will call later to
2252 ensure that we dispose properly the malloced() block.
2253 (BinaryRead): Implemented.
2255 * HttpInputStream.cs: Rewrite to be a descendant of
2258 2005-07-18 Miguel de Icaza <miguel@novell.com>
2260 * HttpApplication.cs (Modules): Add modules support and
2263 2005-07-18 Chris Toshok <toshok@ximian.com>
2265 * HttpResponseHeader.cs: initial implementation.
2267 2005-07-18 Chris Toshok <toshok@ximian.com>
2269 * HttpModuleCollection.cs (HttpModuleCollection.GetKey): add
2272 * HttpFileCollection.cs: initial implementation.
2274 2005-07-18 Chris Toshok <toshok@ximian.com>
2276 * HttpModuleCollection.cs (HttpModuleCollection.CopyTo): implement
2279 2005-07-18 Chris Toshok <toshok@ximian.com>
2281 * HttpModuleCollection.cs: initial implementation.
2283 2005-07-18 Chris Toshok <toshok@ximian.com>
2285 * HttpCacheVaryByHeaders.cs: only add the header if it's not
2286 already in the hash.
2288 * HttpCacheVaryByParams.cs: only add the param if it's not already
2291 2005-07-18 Chris Toshok <toshok@ximian.com>
2293 * HttpCookie.cs (HttpCookie+CookieNVC.Set): new override to fix an
2296 2005-07-17 Miguel de Icaza <miguel@novell.com>
2298 * HttpRequest.cs (Headers, InputStream): implemented two more
2301 * HttpInputStream.cs: All we need is a MemoryStream with writable
2304 * HttpPostedFile.cs: Use a Stream.
2306 2005-07-16 Chris Toshok <toshok@ximian.com>
2308 * HttpCacheVaryByHeaders.cs: make sure we set vary_by_unspecified
2309 = false in the custom setter.
2311 2005-07-16 Chris Toshok <toshok@ximian.com>
2313 * HttpCacheVaryByParams.cs: initial implementation.
2315 2005-07-16 Chris Toshok <toshok@ximian.com>
2317 * HttpCacheVaryByHeaders.cs: initial implementation.
2319 2005-07-15 Chris Toshok <toshok@ximian.com>
2321 * HttpCookie.cs: one more time.
2323 2005-07-15 Chris Toshok <toshok@ximian.com>
2325 * HttpCookie.cs (HttpCookie.GetCookieHeader): use
2328 2005-07-15 Chris Toshok <toshok@ximian.com>
2330 * HttpCookie.cs (HttpCookie.GetCookieHeader): implement to fix
2333 2005-07-15 Chris Toshok <toshok@ximian.com>
2335 * HttpCookieCollection.cs: initial implementation (with a couple
2336 of labeled inefficiencies.)
2338 2005-07-15 Chris Toshok <toshok@ximian.com>
2340 * HttpCookie.cs (HttpCookie.get_HasKeys): use values.HasKeys()
2341 instead of trying to be smart about it ourselves.
2343 2005-07-15 Chris Toshok <toshok@ximian.com>
2345 * HttpCookie.cs: initial implementation. we fail one unit test,
2346 but it might be due to a bug in NameValueCollection.
2348 2005-07-15 Miguel de Icaza <miguel@novell.com>
2352 2005-07-14 Miguel de Icaza <miguel@novell.com>
2354 * HttpRuntime.cs: Return a few of the values from the AppDomain
2357 Put the application shutdown process.
2359 * HttpApplicationFactory.cs (AddEvent): Fixed bug when more than
2362 (FireEvent): Do not ignore errors.
2364 * HttpContext.cs (GetAppConfig, GetConfig): First success, use
2365 ConfigurationSettings.GetConfig to get the value that QueueManager
2368 2005-07-14 Dick Porter <dick@ximian.com>
2370 * HttpPostedFile.cs: New basic implementation; needs someone to
2371 figure out what a HttpRequestStream does
2373 2005-07-13 Miguel de Icaza <miguel@novell.com>
2375 * HttpRequest.cs: More work on this file
2377 * HttpRequest.cs, HttpApplication.cs, HttpContext.cs,
2378 HttpRuntime.cs: New from scratch implementation.
2380 2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
2382 * SiteMap.cs: Read provider info from the configuration files.
2384 2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2386 * HttpResponseHeader.cs: URL encode \r and \n in header values. Fixes
2389 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2391 * HttpUtility.cs: fix another stupid buglet in htmldecode.
2393 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2397 * HttpRequest.cs: use StrUtils (invariant culture).
2399 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2401 * HttpRequest.cs: use StartsWith when looking for 'multipart/form-data'.
2402 File uploading was broken since a few commits ago.
2404 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2406 * HttpResponse.cs: ensure that the last chunk ('0\r\n\r\n') is sent
2407 even if response.Close is called before a final flush. MS/IIS fails to
2410 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2412 * HttpRequest.cs: don't print anything for unknown content types in
2413 ParseFormData. Use lowercase compare.
2415 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2417 * HttpResponse.cs: invariant love.
2419 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2421 * HttpResponse.cs: avoid 1 string concat.
2422 * HttpRequest.cs: fix BinaryRead. It was totally wrong.
2424 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2426 * HttpUtility.cs: don't append an extra 0 when no digits seen. Fixes
2429 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2431 * HttpUtility.cs: the lower limit for using &#xx; encoding is 160, not
2432 128. Reset number back to 0 after use. Fixes bug #75365.
2434 2005-06-19 Svetlana Zholkovsky <svetlanaz-at-mainsoft.com>
2435 * In following classes added TARGET_J2EE or/and TARGET_JVM
2440 - CapabilitiesLoader.cs
2441 - HttpApplication.cs
2442 - HttpApplicationFactory.cs
2446 * Added Mainsoft's specific files :
2447 - GhHttpAsyncResult.jvm.cs
2449 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2451 * HttpRequest.cs: avoid one intermediate buffer when reading the request
2452 body and fail for over limit content length when the content type is
2453 not handled as form or multipart data.
2455 2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2457 * HttpResponse.cs: fix the check in Close() so that CloseConnection is
2458 called even if there has been no final Flush. Fixes bug #75176.
2460 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2462 * HttpParseException.cs:
2464 * HttpApplication.cs: updates for 1.1 service pack.
2466 2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2468 * HttpUtility.cs: fix InvalidCastException.
2470 2005-06-05 Korn__l P__l <kornelpal@hotmail.com>
2472 * HttpWriter.cs: Fixed: _OutputFilter.Close () was called twice.
2474 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2476 * HttpUtility.cs: modified HtmlDecode so that it does not need to call
2477 Int32.Parse and handles improper &# sequences. Fixes bug #74907.
2479 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
2481 * SiteMapNodeCollection.cs: Implemented missing methods. The collection
2482 does not inherit from CollectionBase any more.
2483 * SiteMapNode.cs: Track api changes.
2484 * SiteMapProvider.cs: Moved several methods to the new
2485 StaticSiteMapProvider class. Other fixes.
2486 * XmlSiteMapProvider.cs: Watch changes in the xml files. Other fixes.
2487 * SiteMapProviderCollection.cs: Minor fixes.
2488 * SiteMap.cs: Added missing event. Avoid double check lock.
2489 * StaticSiteMapProvider.cs: New class that implements some of the
2490 funtionality of SiteMapProvider.
2492 2005-05-25 Ben Maurer <bmaurer@ximian.com>
2494 * MimeTypes.cs: Remove extra spaces, they were typos. Fixes 75049.
2496 2005-05-13 Atsushi Enomoto <atsishi@ximian.com>
2498 * HttpUtility.cs : UrlDecodeToBytes() incorrectly decoded escaped
2499 characters. Patch by Kazuki Oikawa.
2501 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2503 * HttpRuntime.cs: PlatformID.Unix.
2505 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2507 * HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
2508 Clear the _Headers array instead of creating a new ArrayList in
2511 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2513 * HttpResponse.cs: we had 2 variables to track client connection status.
2514 Use only one. Increase the buffer size to 28KB when writing from a file.
2516 * StaticFileHandler.cs: set the Content-Type before writing the file.
2517 This allows flushing before all the content is written.
2519 * HttpApplication.cs: use the variable instead of the property when
2520 setting the Principal for the current process.
2522 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2524 * ReusableMemoryStream.cs:
2525 * HttpWriter.cs: keep a pool of buffers to avoid allocations.
2527 2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2529 * HttpResponse.cs: no need to save/restore the thread culture when
2530 getting the Date header. According to Ben's profiling, this is a big
2531 deal in performance.
2533 * HttpRuntime.cs: ignore exceptions that might be thrown when unloading
2536 2005-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2538 * HttpApplicationFactory.cs: ignore any exception thrown when invoking
2539 an application event.
2541 2005-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2543 * HttpBrowserCapabilities.cs: fix Win32 property.
2545 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2547 * HttpResponse.cs: only add the charset when explicitly set or for
2548 well-known content types.
2550 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2552 * HttpCachePolicy.cs:
2553 * HttpAsyncResult.cs:
2554 * HttpClientCertificate.cs:
2557 * HttpCacheVaryByHeaders.cs:
2558 * HttpBrowserCapabilities.cs:
2560 * HttpCacheVaryByParams.cs: no more warnings.
2562 * QueueManager.cs: check for local connections with minLocalFreeThreads.
2564 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2566 * ServerVariablesCollection.cs: shuffled variables, added missing ones
2567 and call a method in HttpRequest to set the HTTP_ variables.
2569 * HttpRequest.cs: new method to add HTTP_ variables to a collection.
2571 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2573 * HttpRequest.cs: GetAllHeaders was returning the value twice instead
2574 of 'name: value'. When HTTP_ is requested on the output, don't include
2577 2005-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2579 * HttpCookieCollection.cs: when adding more than one cookie with the
2580 same name, the last one is the winner.
2582 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2584 * HttpRequest.cs: correctly store the value cookies in Params. Fixes
2587 2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2589 * HttpRequest.cs: Path and FilePath also change when RewritePath is
2590 called. Fixes bug #73055.
2592 2005-02-23 Sebastien Pouliot <sebastien@ximian.com>
2594 * HttpRequest.cs: Make sure that any access after a ValidateInput
2595 throws an exception if the data isn't safe.
2597 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2599 * CapabilitiesLoader.cs: fix the path, as machine.config is now in a
2600 x.x/ directory below $PREFIX/etc/mono.
2602 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2604 * HttpRequest.cs: fail on unicode full-width '<' and '>' too. Fixes
2605 a security report (http://secunia.com/advisories/14325) that wan't
2606 reported to us before public disclosure.
2608 2005-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2610 * HttpResponse.cs: send the calculated content length even when it's 0.
2613 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
2615 * HttpContext.cs: Added internal property to keep a reference to
2616 the last accessed page. Page uses this to implement PreviousPage.
2618 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
2620 * ProcessModelInfo.cs: Fixed warning.
2622 2005-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2624 * TraceContext.cs: writing a message without any other argument is not
2625 a warniing. Fixes bug #72017.
2627 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2629 * HttpApplication.cs: if there are no more handlers, finish the
2630 request and ensure we call Complete on it. Now FreeTextBox 3.0 works.
2632 2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2634 * HttpRequest.cs: honor the maxRequestSize limit from machine.config.
2636 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2638 * HttpApplication.cs: reread application CultureInfo as web.config
2639 might have changed. Fixes bug #62539.
2641 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2643 * HttpResponse.cs: fixed ApplyAppPathModifier to insert the session ID.
2645 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2647 * HttpApplicationFactory.cs: monitor changes in global.asax and bin
2648 directory and shutdown the application when that happens. Fixes bug
2651 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2653 * ReusableMemoryStream.cs: copied from System.IO.MemoryStream and
2654 slightly modified to allow expanding the buffer for cases on which the
2655 regular MemoryStream don't allow it.
2657 * HttpWriter.cs: use the new ReusableMemoryStream and fix bug #59841.
2658 Otherwise we would have to allocate a new MemoryStream...
2660 2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2662 * HttpApplication.cs: Create() is now GetInstance().
2664 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
2666 * SiteMapNodeCollection.cs: Added missing properties.
2667 * HttpParseException.cs: Added 2.0 methods and properties.
2668 * SiteMapNode.cs: Added missing methods and properties.
2669 * SiteMapProvider.cs, XmlSiteMapProvider.cs,
2670 SiteMapProviderCollection.cs: IProvider does not exist any
2671 more, it is now ProviderBase.
2672 * ISiteMapProvider.cs: Deleted.
2673 * ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
2675 * SiteMap.cs: Minor fixes.
2677 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
2679 * SiteMapProviderCollection.cs: Fixed warning.
2680 * HttpApplication.cs: Added new 2.0 events.
2682 2004-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2684 * HttpResponse.cs: added internl SetHeadersSent.
2685 * HttpRuntime.cs: don't throw the 'headers already sent' exception
2686 if we're sending a runtime error.
2688 2004-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2690 * HttpApplication.cs: undo the TimeoutManager.(Add|Remove) shuffling.
2691 It causes troubles under heavy load.
2693 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2695 * SiteMap.cs: don't lock on Type.
2696 * CapabilitiesLoader.cs: avoid 2 locks when loading data.
2698 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2700 * HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
2701 presence of rewriting.
2703 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2705 * HttpApplication.cs: don't hang if a sync step is aborted. Fixes the
2706 system.web portion of bug #68270.
2708 2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2710 * TraceContext.cs: don't cast to Page is the handler it's
2713 2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2715 * HttpRequest.cs: CurrentExecutionFilePath is the one that
2716 changes when Transfer or Execute are used, not FilePath.
2718 * HttpServerUtility.cs: moved form saving/restoring from
2719 Transfer to Execute, as it's needed there too. the query string is
2720 correctly set now. Fixes bug #67388.
2722 * HttpContext.cs: use SetCurrentExePath instead of SetFilePath.
2724 2004-10-03 Ben Maurer <bmaurer@ximian.com>
2726 * HttpResponse.cs: use UtcNow
2728 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2730 * HttpResponse.cs: SuppressContent does not throw and clears all the
2731 buffered output. Fixes bug #67213.
2733 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2735 * HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.
2737 2004-09-29 Ben Maurer <bmaurer@ximian.com>
2739 * HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.
2741 2004-09-25 Ben Maurer <bmaurer@ximian.com>
2743 * HttpApplication.cs: Make sure requests are removed from
2744 the timeout manager. Fixes a major leak. #66751.
2746 2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2748 * HttpApplicationFactory.cs:
2749 * HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
2752 2004-09-12 Ben Maurer <bmaurer@ximian.com>
2754 * HttpContext.cs: use CallContext. It is a little bit faster.
2756 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2758 * HttpStaticObjectsCollection.cs: don't share static session objects
2759 declared in the application file across the application, but on a
2760 per-session basis. Fixes bug #65446.
2762 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2764 * HttpServerUtility.cs: in Transfer(path), don't keep form data if
2765 the transfer is done from inside a page that received a postback.
2768 2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2770 * HttpValueCollection.cs: fixed signature of ToString (). Closes bug
2773 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
2775 * HttpWriter.cs (.ctor): Dont create teh StreamWriter twice
2776 (Clear): Don't recreate the MemoryStream and StreamWriter
2778 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2780 * HttpApplication.cs: only add/remove to/from the timeout
2781 manager when we're in a interruptible step.
2783 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2785 * TraceContext.cs: when IsEnabled has not been set, return the value
2786 from the TraceManager. Fixes bug #63469.
2788 2004-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2790 * HttpRuntime.cs: initialize the response writer when finishing a
2791 request because it cannot be queued. Under heavy load we made new
2792 requests be processed before the ones that might be queued. This is
2795 * QueueManager.cs: instead of queueing/dequeuing separately, we now
2796 have a single method that does everything needed to decide which one
2797 will be the next request processed.
2799 2004-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2801 * HttpRuntime.cs: removed initializations to null in .cctor. Prevent
2802 other requests from avoiding the lock if they are received before the
2803 configuration system is inited. Ensure that the queue manager is not
2804 null before using it (it can be null while the first request is being
2807 2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2809 * HttpServerUtility.cs: ensure we have a full virtual path for the
2810 request being executed.
2812 2004-08-02 Duncan Mak <duncan@ximian.com>
2814 * ApplicationShutdownReason.cs: Fixed typos.
2816 * HttpCookieMode.cs:
2817 * HttpDataTransferMode.cs:
2818 * HttpRequestPriority.cs: Added [Serializable] attribute.
2820 2004-08-02 Duncan Mak <duncan@ximian.com>
2822 * ApplicationShutdownReason.cs:
2823 * HttpCookieMode.cs:
2824 * HttpDataTransferMode.cs:
2825 * HttpRequestPriority.cs: Added 2.0 enumerations.
2827 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2829 * HttpApplication.cs: the file not found might be a dependency.
2831 2004-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2833 * HttpCookie.cs: use invariant when formatting expires date. Fixes bug
2836 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2838 * HttpApplication.cs: don't keep the session around if we got it from
2839 the context. Fixes bug #61232.
2841 2004-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2843 * HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
2846 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2848 * TraceContext.cs: added internal HaveTrace property whose
2849 value is true when the page has a Trace attribute.
2851 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2853 * TraceData.cs: fixed <br> output. Closes bug #60181.
2855 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2857 * HttpUtility.cs: check for control characters in the string to encode
2858 or decode and return the same string if there are none.
2860 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2862 * HttpApplication.cs: change/restore the IPrincipal in their own methods
2863 and make them internal.
2865 2004-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2867 * HttpContext.cs: reverting Pedro's patch and sending mail with test
2870 2004-06-09 Pedro Martnez Juli <yoros@wanadoo.es>
2872 * HttpContext: User property returns its own "user" value because
2873 the context can walk through different Threads. When "User" property
2874 is changed, change "Thread.CurrentPrincipal" too.
2876 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2878 * HttpRequest.cs: removed extra ^Ms and fixed style of last patch.
2880 2004-06-08 Alon Gazit <along@mainsoft.com>
2882 * HttpRequest.cs: Add a patch for HttpRequest.ServerVariables.
2884 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
2886 * HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
2887 Fix (at least partially) #59683.
2889 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2891 * HttpRequest.cs: reverting patch from Alon Gazit. Uses the above file
2892 that doesn't compile.
2894 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2896 * TraceData.cs: fixes nullref in an application that relies on
2897 r ["Message"] not being null. Closes bug #59679.
2899 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2901 * HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.
2903 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2905 * HttpRuntime.cs: implemented a 5 simple properties that were TODOs.
2907 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2909 * HttpBrowserCapabilities.cs: implemented ClrVersion and GetClrVersions.
2910 * HttpException.cs: removed MonoTODO.
2912 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2914 * TraceContext.cs: don't check if HttpRuntime.TraceManager
2915 is enabled when writing.
2917 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2919 * HttpRequest.cs: added ClientTarget internal property.
2921 2004-06-03 Lluis Sanchez Gual <lluis@ximian.com>
2923 * HttpApplication.cs: Clear the http handler list after releasing the
2926 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2928 * TraceData.cs: html-encode the messages written to the trace. Fixes
2931 2004-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2933 * HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
2936 2004-05-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2938 * HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
2939 when SetFilePath is called. This way the cached values are reset and
2940 get the right value in case someone (namely SessionStateModule +
2941 cookieless session) changes the FilePath after the property cached its
2942 value. Fixes bug #59364.
2944 2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>
2946 * HttpApplicationFactory.cs: Added SignalError (still todo)
2948 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2950 * HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
2951 chunked encoding disabled. Fixed chunked suffix and end. Send the
2952 'lastchunk' marked when in the final Flush even if the content length
2953 is 0. This makes mod-mono-server work fine with chunked encoding.
2955 * HttpRuntime.cs: Set the _firstRequest* variables to true
2956 earlier. TraceContext don't take any parameter now.
2958 * TraceManager.cs: don't need a context. Use GetAppConfig.
2960 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2962 * HttpApplication.cs: set culture/uiculture from configuration and
2963 restore it after each step. Fixes bug #52851.
2965 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2967 * HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
2968 entities hashtable creation until it's really needed.
2970 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2972 * HttpApplicationFactory.cs: if no module matches the name found for a
2973 possible event, ignore it. Fixes bug #58542.
2975 2004-05-16 Patrik Torstensson <totte@hiddenpeaks.com>
2977 * HttpRuntime (Init): Removed old todo
2978 * HttApplication : Implemented IHttpHandlerFactory recycling
2980 2004-04-28 Patrik Torstensson
2982 * HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
2985 2004-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2987 * HttpUtility.cs: return null in HtmlDecode for null input instead of
2988 throwing an exception. Patch by Jan Jaros (bug #57083).
2990 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
2992 * TimeoutManager.cs: Swap the order of initialization of contexts
2993 and the Timer, to avoid race condition of CheckTimeouts being called
2994 before contexts gets initialized.
2996 2004-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2998 * HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
2999 Now the posted file content does not have the boundaries and headers
3002 2004-03-25 Alon Gazit <along@mainsoft.com>
3004 * HttpRequest.cs: fix ValidateCookieCollection() to prevent
3005 InvalidCastException.
3007 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3009 * HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.
3011 2004-03-01 Larry Ewing <lewing@ximian.com>
3013 * HttpUtility.cs: fix UrlEncodeToBytes count check.
3015 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3017 * HttpServerUtility.cs:
3018 * HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
3021 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3023 * HttpUtility.cs: fixed length check. Closes bug #54201.
3024 Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
3027 2004-02-11 Jackson Harper <jackson@ximian.com>
3029 * TraceData.cs: Use ToString for cookie/header/var name values so
3030 null is handled properly.
3032 2004-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3034 * HttpApplication.cs: ApplicationState is inited by the factory so,
3035 return that value in the property. when we use the context Session,
3036 cache it in the instance field.
3038 * HttpApplicationFactory.cs: fixed target Type for the event when
3039 hooking application and module events. Initialize application
3040 and session scope objects. Fixes non-aplication events hook up.
3042 * HttpStaticObjectsCollection.cs: added StaticItem and delay the
3043 creation of the objects until they are requested.
3045 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3047 * HttpApplicationFactory.cs: fixlet for session events hook.
3049 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3051 * HttpApplicationFactory.cs: attach all events from Type and BaseType
3052 at the same time. Fixes bug #53454.
3054 2004-01-27 Jackson Harper <jackson@ximian.com>
3056 * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
3057 null now, dont hadd the header if it does.
3058 * HttpCacheVaryByParams.cs: Return null if there are no items.
3060 2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3062 * HttpCachePolicy.cs: it's not public.
3063 * HttpRuntime.cs: wait for requests before disposing the queue.
3065 2004-01-15 Jackson Harper <jackson@ximian.com>
3067 * HttpCachePolicy.cs: Fix typo causing varyby params headers to be
3068 created when they shouldn't be.
3070 2004-01-14 Jackson Harper <jackson@ximian.com>
3072 * TraceData.cs: Fix some typos in the output text. Fix control
3073 position when adding controls recursively.
3075 2004-01-14 Jackson Harper <jackson@ximian.com>
3077 * HttpCachePolicy.cs: Expose duration and sliding properties.
3079 2004-01-14 Jackson Harper <jackson@ximian.com>
3081 * HttpCachePolicy.cs: Add an event that is fired when the
3082 cacheability is updated. The response uses this to determine
3083 whether or not it needs to cache itself.
3084 * HttpResponse.cs: When the cacheability is updated either create
3085 or dispose of the cached raw response based on whether or not we
3086 wil need it. This allows output caching to be controlled
3089 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3091 * HttpContext.cs: add setter for ConfigTimeout.
3092 * HttpException.cs: added Description property and HTML encode some
3095 * HttpRequest.cs: support request validation.
3097 * HttpRequestValidationException.cs: added message and description.
3099 * HttpServerUtility.cs: implemented ScriptTimeout.
3101 2004-01-11 Jackson Harper <jackson@ximian.com>
3103 * TraceManager.cs: Dont crash if there is no trace config element.
3105 2004-01-11 Jackson Harper <jackson@ximian.com>
3107 * HttpRequest.cs: Add property for determining if the request is
3110 2004-01-10 Jackson Harper <jackson@ximian.com>
3112 * TraceContext.cs: Handle tracing when it is enabled in the config
3113 file but not on the page.
3114 * TraceManager.cs: Get settings from the configuration object.
3115 * HttpRuntime.cs: Create trace manager in the first request start
3116 so it can get configuration settings.
3118 2004-01-10 Jackson Harper <jackson@ximian.com>
3120 * TraceContext.cs: Save the request path in the trace data.
3121 * TraceData.cs: Add RequestPath property, make some rendering
3122 methods internal static so the TraceHandler can use them.
3123 * TraceManager.cs: Expose trace data, add a method for clearing
3126 2004-01-10 Jackson Harper <jackson@ximian.com>
3128 * HttpRuntime.cs: Add trace manager
3129 * TraceManager.cs: New class for handling trace configuration and
3130 storing trace data objects.
3131 * TraceContext.cs: Save trace data to the trace manager. Fix typo.
3133 2004-01-10 Jackson Harper <jackson@ximian.com>
3135 * TraceData.cs: New class for storing trace data. Data is stored
3136 here instead of the trace context so it can be saved and accessed
3137 from the trace handler.
3138 * TraceContext.cs: Save data in the TraceData object, let the
3139 trace data object handle the rendering.
3141 2004-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3143 * HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
3144 Thanks to Jan Jaros (mono-bug@jerryweb.info).
3146 * HttpRequestValidationException.cs: fix comment.
3148 2004-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3150 * HttpException.cs: default to error 500. Fixes bug #52623.
3152 2004-01-04 Jackson Harper <jackson@ximian.com>
3154 * TraceContext.cs: Store and render trace info times. Also render
3155 cookie sizes. Remove debug code.
3157 2004-01-04 Jackson Harper <jackson@ximian.com>
3159 * HttpResponse.cs: Set the cached response date header so it can
3161 * HttpResponseHeader.cs: Let values be set so we can update cached
3162 response header values.
3164 2004-01-04 Jackson Harper <jackson@ximian.com>
3166 * HttpResponse.cs: Implement RemoveOutputCacheItem.
3168 2004-01-04 Jackson Harper <jackson@ximian.com>
3170 * HttpCachePolicy.cs: Add internal method to get the vary by custom string
3171 * HttpCacheVaryByHeaders.cs: Add internal method to get the header names.
3173 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3175 * HttpRuntime.cs: implemented MachineConfigurationDirectory,
3177 2004-1-1 Alon Gazit <along@mainsoft.com>
3178 * HttpWriter.cs: add check in Write() in order to prevent
3179 NullReferenceException.
3181 2004-1-1 Alon Gazit <along@mainsoft.com>
3182 * HttpResponse.cs: implemented ExpiresAbsolute and Expires.
3184 2003-12-18 Jackson Harper <jackson@ximian.com>
3186 * TraceContext.cs: Write () methods are not warnings.
3188 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3190 * HttpBrowserCapabilities.cs: added GetClrVersions ().
3191 * HttpCachePolicy.cs: added SetAllowResponseInBrowserHistory ().
3192 * HttpContext.cs: added set_Current and RewritePath (s, s, s) for 1.1.
3193 * HttpRequest.cs: added set_ContentType, SetPathInfo and ValidateInput.
3194 * HttpRequestValidationException.cs: new class for 1.1
3195 * HttpResponse.cs: added RedirectLocation.
3196 * HttpRuntime.cs: added UnloadAppDomain.
3197 * HttpServerUtility.cs: Execute (s, t, b) is internal for < 1.2
3198 * HttpUtility.cs: copied UrlPathEncode from HttpServerUtility.
3199 * HttpWorkerRequest.cs: added [ComVisible] and made the ctor public.
3201 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3203 * HttpContext.cs: implemented IsCustomErrorEnabled and
3204 IsDebuggingEnabled. Added internal ErrorPage property.
3206 * HttpRuntime.cs: on error, check if we have a custom error page enabled
3207 to handle it and redirect.
3209 * HttpResponse.cs: added RedirectCustomError (), which actually does
3210 the redirection to the error page.
3212 2003-12-16 Jackson Harper <jackson@ximian.com>
3214 * TraceContext.cs: Render all the data, and the stylesheet.
3216 2003-12-16 Jackson Harper <jackson@ximian.com>
3218 * TraceContext.cs: Add incomplete render method.
3220 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3222 * CapabilitiesLoader.cs: loads browser detection and capabilities data
3223 from browscap.ini file by Gary J. Keith.
3225 * HttpBrowserCapabilities.cs: removed almost all TODOs.
3227 * HttpRequest.cs: fixed Browser property.
3229 2003-12-15 Jackson Harper <jackson@ximian.com>
3231 * TraceContext.cs: Initial implementation of storing data.
3232 * HttpContext.cs: Create and expose a trace object.
3234 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3236 * HttpApplication.cs: ThreadAbortException is ok on Redirect.
3237 * HttpContext.cs: added TimeoutPossible property.
3238 * HttpResponse.cs: throw ThreadAbortException if End () is called within
3239 a step in which is possible to timeout.
3243 2003-12-04 Jackson Harper <jackson@ximian.com>
3245 * HttpRequest.cs: Cleanup method.
3247 2003-12-04 Jackson Harper <jackson@ximian.com>
3249 * HttpValueCollection.cs: Allow blank value names. Posting
3250 <blank>=SomeValue is valid. And occurs if a radio button does
3251 not have its name set.
3253 2003-12-03 Jackson Harper <jackson@ximian.com>
3255 * HttpResponse.cs: Actually apply an app path modifier in
3256 ApplyAppPathModifer and add a method to set the app path modifier.
3257 * HttpRequest.cs: Add utility method for setting a request header.
3259 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3261 * HttpApplication.cs: handle FileNotFound and DirectoryNotFound
3262 exceptions when creating the handler to generate a better error page.
3264 * HttpException.cs: display the http_code if available. Changed all
3265 \n by \r\n to make the hidden stack trace readable.
3267 * StaticFileHandler.cs: don't send the real path in th eerror.
3269 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3271 * HttpContext.cs: updated GetConfig and GetAppConfig to new API.
3273 * HttpResponse.cs: separate initialization of the HttpWriter, as it
3274 tries to read configuration settings while the config. system is not
3275 available (ie, before the first request).
3277 * HttpRuntime.cs: delayed queueManager and response writer
3278 initialization until the configuration system is working.
3280 2003-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3282 * HttpRuntime.cs: added request queue handling.
3284 * QueueManager.cs: simple request queue.
3286 * TimeoutManager.cs: added some locks to prevent the enumerator used in
3287 CheckTimeouts to be out of synch.
3289 2003-11-25 Jackson Harper <jackson@ximian.com>
3291 * HttpStaticObjectsCollection.cs: Add methods for serialization
3292 and conversion to/from byte arrays.
3294 2003-11-21 Jackson Harper <jackson@ximian.com>
3296 * HttpResponse.cs: When caching data set the content length in the
3297 cached repsonse so that only that amount will be written back to
3298 the client. Add method to write a range of binary data.
3299 * HttpCacheVaryByParams.cs: Add method to retrieve param names.
3301 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3303 * HttpApplication.cs:
3305 * HttpRuntime.cs: add timeout handling.
3306 * TimeoutManager.cs: new class that takes care of aborting threads on
3309 2003-11-19 Jackson Harper <jackson@ximian.com>
3311 * HttpWriter.cs: Use a constant for the buffer size so the cache
3312 can get the buffer size. Add method to get the buffer.
3313 * HttpResponse.cs: Methods for getting data to cache, and setting
3314 vars from the cache.
3315 * HttpCachePolicy.cs: Expose a pages cache expire time.
3317 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3320 * HttpWriter.cs: some fixes to allow closing a response stream without
3323 2003-11-13 Jackson Harper <jackson@ximian.com>
3325 * HttpCachePolicy.cs: Make sure cacheability and maxage get
3326 set. Add method to set Http response header data
3327 * HttpCacheVaryByParams.cs: Add method to create a response header.
3328 * HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
3329 * HttpResponse.cs: Set cache headers.
3331 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
3333 * HttpModuleCollection.cs (GetKey): Recursion, again!
3335 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
3337 * HttpClientCertificate.cs (ValidUntil): recursion!
3339 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
3341 * SiteMapNode.cs (GetDataSourceView): Implement.
3342 * SiteMapProvider.cs: Typo fixing.
3343 * XmlSiteMapProvider.cs: We shouldnt resolve here.
3345 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
3347 * SiteMap.cs (Init): implement a hack that doesnt need the config
3348 stuff. Should do that later.
3349 * SiteMapNodeCollection (OnValidate): Fix recursion.
3350 * SiteMapProvider.cs: We dont implement some culture stuff work
3351 around it. Fix typo.
3352 * XmlSiteMapProvider.cs: Added.
3354 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
3356 * ISiteMapProvider.cs:
3359 * SiteMapNodeCollection.cs:
3360 * SiteMapProvider.cs:
3361 * SiteMapProviderCollection.cs: V2 sitemap related stuff.
3363 2003-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3365 * HttpRequest.cs: don't attempt to read more bytes than specified
3368 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3373 * HttpValueCollection.cs: encoding fixes/updates.
3375 * HttpWriter.cs: when updating the encoding, flush the existing stream.
3378 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
3380 * HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
3381 return false (which makes sense, as the custom errors *arent* enabled;
3383 * HttpResponseStream.cs: you actually can write with len = 0
3385 2003-11-03 Jackson Harper <jackson@ximian.com>
3387 * HttpResponse.cs (ContentEncoding): Throw
3388 ArgumentNullException. Patch by Yaron Shkop.
3390 2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3392 * HttpMultipartContentParser.cs : Quick fix for cygwin build.
3393 CSC complains that constant char cannot be casted as byte.
3395 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3397 * HttpApplication.cs: added AssemblyLocation property.
3399 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3401 * HttpApplicationFactory.cs: use NoParamsInvoker.
3402 * HttpRequest.cs: support request filters.
3403 * HttpRequestStream.cs: mono-stylized and added new Set method.
3405 * NoParamsInvoker.cs: proxy class to invoke user-provided methods
3406 without parameters that are invoked by EventHandlers.
3408 2003-10-13 Lluis Sanchez Gual <lluis@ximian.com>
3410 * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
3411 to invariant culture.
3413 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3416 * HttpServerUtility.cs: change the response writer in Execute. Thanks
3417 to Rich Alimi <rich@velvetsea.net> for noticing this.
3419 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3421 * HttpApplicationFactory.cs: support for wiring up events without
3424 2003-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3426 * HttpUtility.cs: small memory usage reduction.
3428 2003-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3430 * HttpApplication.cs: pass the Uri, not the file path to
3431 when looking for a handler.
3433 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3435 * HttpRequest.cs: small fix needed when reading big POST data.
3437 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
3439 * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
3440 (this will get the address from the request headers).
3442 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
3444 * HttpServerUtility.cs: In Transfer(), preserve the query string if
3447 2003-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3449 * HttpApplication.cs: ensure we do all the EndRequest steps. Don't
3450 filter the output on error.
3452 * HttpResponse.cs: modified DoFilter to allow bypassing filtering.
3454 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3456 * HttpApplication.cs: when the request is completed or an
3457 error happens, execute all the delegates attached to EndRequest, not
3458 only the last one. This makes xsp/test/authtest work again.
3460 * HttpMethodNotAllowedHandler.cs: fixed description for http
3463 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3465 * HttpRequest.cs: quick way of checking that the path is within the
3466 root for the application. Thanks to Johannes for reporting.
3468 * HttpRuntime.cs: use the status code from teh exception when it'ss a
3471 * StaticFileHandler.cs: forbidden is 403.
3473 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3475 * HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
3476 <rich@velvetsea.net>.
3478 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3480 * HttpException.cs: make the unhandled error more like the MS one.
3481 * HttpRuntime.cs: set a 500 error code on unhandled exceptions.
3483 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3485 * HttpResponse.cs: flush headers when the body length is 0.
3486 * StaticFileHandler.cs: added If-Modified-Since handling patch slightly
3487 modified from the original by Piers Haken <piersh@friskit.com>.
3489 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3491 * HttpResponse.cs: another patch from totte and me. This one prevents
3492 writing output if the client have disconnected and filters the data
3493 when there's a non-final Flush in the middle of the process.
3495 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3497 * HttpApplication.cs: fixed typos. Closes bug #44197.
3499 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3501 * HttpApplication.cs:
3502 * HttpApplicationFactory.cs: fix duplicate application OnStart events.
3504 Patch by Patrik Torstensson.
3506 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3508 * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
3509 overload. The previous one only admits static methods.
3511 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3513 * ProcessModelInfo.cs: Fixed signature
3515 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3517 * WebCategoryAttribute.cs: Implemented localization
3518 * WebSysDescriptionAttribute.cs: Implemented localization
3520 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3522 * HttpRuntime.cs: also clear the headers that may have been set upon
3523 error processing the request.
3525 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3527 * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
3530 * HttpWriter.cs: flush the filter after writing.
3532 2003-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3534 * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
3536 2003-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3538 * HttpContext.cs: Session doesn't have a setter.
3540 * HttpResponse.cs: Request is private.
3542 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3544 * HttpRequest.cs: fixed Headers property. It was getting known headers
3545 values instead of known headers names.
3547 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3549 * HttpApplication.cs: prevent nullref if an error happens before context
3551 * HttpException.cs: small fix in the stack trace sent.
3552 * HttpUtility.cs: the lock is not needed.
3554 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3556 * HttpRequest.cs: added REMOTE_PORT.
3557 * HttpValueCollection.cs: fixed bug #45490.
3559 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3561 * HttpApplication.cs:
3562 * HttpApplicationFactory.cs: fire application start and session
3565 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3567 * HttpException.cs: encode as HTML the inner exception that
3568 is appended as a comment at the end of error pages.
3570 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3572 * HttpWriter.cs: don't do anything in Flush. Fixes #42249.
3574 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3576 * HtmlizedException.cs: added more virtual methods.
3578 * HttpException.cs: some work on the output when there's a source
3581 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3583 * HtmlizedException.cs: simplified to cope with the new interface.
3585 * HttpApplicationFactory.cs: use the application file parser to get the
3588 * HttpException.cs: small changes. Needs some more work on
3591 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3593 * HttpRequest.cs: fixed Url property.
3595 2003-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3597 * HtmlizedException.cs:
3598 * HttpException.cs: display the correct line number in error messages.
3600 2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3602 * HttpCachePolicy.cs: implemented all TODOs.
3603 * HttpRequestStream.cs: make it internal.
3605 2003-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3607 * HttpContext.cs: implemented RewritePath in other way.
3608 * HttpRequest.cs: removed SetPhysicalPath and added SetForm.
3609 * HttpServerUtility.cs: implemented Transfer (string, bool).
3611 2003-03-16 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
3612 * HttpContext.cs : Implemented RewritePath
3613 * HttpRequest.cs : Added internal function SetPhysicalPath
3615 2003-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3617 * HttpServerUtility.cs: implemented Transfer ().
3619 2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3621 * HttpRuntime.cs: Cache no longer have a Dispose method.
3623 * HttpServerUtility.cs: removed MonoTODO.
3625 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3627 * HttpHelper.cs: store the values in an ArrayList to get them in correct
3630 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3632 * HttpApplicationFactory.cs: Global.asax takes precedence over
3633 global.asax if it exists.
3635 * HttpRequest.cs: use allowCrossAppMapping in MapPath.
3637 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3639 * HttpApplication.cs: CreateHttpHandler is now internal.
3641 * HttpRequest.cs: allow setting QueryStringRaw, which
3642 invalidates the data obtained from the previous value. Added internal
3645 * HttpServerUtility.cs: implemented Execute and GetLastError.
3647 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3649 * HttpServerUtility.cs: style.
3651 2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3653 * HttpApplication.cs: only execute the EndRequest step on error
3654 condition or request marked as completed. This prevent page events from
3655 being called when, for example, the url authorization module forbids
3658 2003-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3660 * HttpRequest.cs: implemented the indexer.
3662 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3664 * HtmlizedException.cs: base class for exceptions that makes it easy to
3665 generate error pages.
3667 * HttpException.cs: improved error displaying.
3669 * HttpRuntime.cs: removed debugging output.
3671 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3673 * HttpApplication.cs: display the error instead of hanging when we get
3674 any error before the last step of the request.
3676 2003-02-04 Tim Haynes <thaynes@openlinksw.com>
3678 * HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement
3681 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3683 * HttpRequest.cs: added BaseVirtualDir property and use it in MapPath.
3685 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3687 * HttpRequest.cs: implemented CurrentExecutionFilePath.
3689 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3691 * HttpApplication.cs: keep _lasterror if no context. Attach
3692 application events *after* modules initialization (if not, User is not
3693 set when the user handler is called).
3695 * HttpApplicationFactory.cs: made all methods related to
3696 AttachEvents static. I will fix OnStart/OnEnd for application and
3699 * HttpRequest.cs: don't initialize cookies twice.
3701 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3704 (ApplyAppPathModifiers): return the root directory for "".
3706 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3708 * HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.
3710 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3712 * HttpApplication.cs: added new state to handle default authentication.
3714 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3716 * HttpContext.cs: removed hack to get the User.
3718 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3720 * HttpUtility.cs: fixed bug #36038. Thanks to juancri@tagnet.org for
3721 reporting the bug and how to fix it.
3723 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3725 * HttpCookie.cs: send 'expires' in the header.
3727 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3729 * HttpValueCollection.cs: patch from Botjan Vizin
3730 <bostjan.vizin@siol.net> that implements ToString (bool).
3732 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3734 * HttpApplicationFactory.cs: add the context as parameter when building
3735 the application Type.
3737 * HttpCookie.cs: new internal constructor.
3738 * HttpCookieCollection.cs: new internal method to make a cookie expire.
3740 * HttpRequest.cs: MapPath fixes.
3741 * HttpResponse.cs: implemented ApplyAppPathModifier.
3742 * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
3744 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3746 * HttpContext.cs: hack to create a default user when there's no one.
3747 Implemented GetConfig (string).
3749 * HttpRequest.cs: fixes to MapPath (string).
3751 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3753 * HttpRuntime.cs: avoid nulls and exception when getting resource
3756 * StaticFileHandler.cs: added file name to error message.
3758 2002-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3760 * HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
3762 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3764 * HttpApplicationFactory.cs: get the events from the application class,
3765 fire Application/Session Start/End and add the others as application
3768 2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3770 * HttpApplicationFactory.cs: compile global.asax file if it exists.
3772 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3774 * HttpRequest.cs: provide a default Browser until we detect it.
3776 (End): do not close the connection here.
3777 (Flush (bool)): send the headers when, for example, Redirect () is
3780 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3782 * HttpException.cs: simple error output.
3784 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3786 * HttpApplication.cs: style.
3787 * HttpException.cs: style.
3788 * HttpRuntime.cs: only flush the response if there are no errors.
3789 Otherwise, write an error output.
3790 * HttpWriter.cs: change Unicode to UTF8.
3792 2002-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3794 * HttpApplication.cs: don't begin the request using ExecuteNextAsync
3795 (it fails to work on NetServ).
3797 * HttpWorkerRequest.cs: typo.
3799 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3801 * HttpValueCollection.cs: the value may contain trailing '=' as it is
3802 UrlEncoded. Don't split name=value based on '='.
3804 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3806 * HttpCookie.cs: made GetCookieHeader internal.
3808 * HttpRequest.cs: get cookies from request.
3810 * HttpResponse.cs: send cookies. Implemented
3811 AddFileDependencies (). Added check for _Writer == null in Flush
3812 (Patrik ;-). Clear the content if HEAD or SupressContent == true.
3813 Removed redirect hack used in old server.
3815 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3817 * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
3818 most ContentLength bytes.
3820 * HttpResponse.cs: now it sends the headers. Added
3821 X-Powered-By header :-).
3823 * HttpRuntime.cs: fixed typo.
3825 * HttpValueCollection.cs: cosmetic changes.
3827 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3829 * HttpApplication.cs: reenabled a few lines of code
3830 (ThreadPool already fixed).
3835 * HttpValueCollection.cs:
3836 * HttpWriter.cs: Use WebEncoding.Encoding.
3838 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3840 * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
3841 This fixes sending bytes and allows mixing byte with chars.
3843 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3845 * HttpResponse.cs: implemented WriteFile methods.
3846 * MimeTypes.cs: removed duplicated entries.
3848 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3850 * HttpResponse.cs: don't throw exception in a couple of
3851 methods not yet implemented.
3853 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3855 * HttpApplication.cs: fixed type and handle factories when creating
3856 IHttpHandler for a request.
3858 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3860 * HttpApplication.cs: use handlers from configuration.
3861 * HttpContext.cs: get handlers from ConfigurationSettings.
3863 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3865 * HttpMethodNotAllowedHandler.cs:
3867 * StaticFileHandler.cs: Modified file.
3869 * HttpUtility.cs: implemented all missing methods.
3872 2002-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3874 * System.Web/HttpApplication.cs: use the static file handler.
3875 * System.Web/HttpForbiddenHandler.cs: handler to forbid access.
3876 * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
3879 * System.Web/HttpUtility.cs: finished all UrlDecode methods.
3880 * System.Web/MimeTypes.cs: map from file extension to MIME type.
3881 * System.Web/StaticFileHandler.cs: serves static files
3883 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3885 * System.Web/HttpApplication.cs:
3886 * System.Web/HttpApplicationFactory.cs:
3887 * System.Web/HttpRequest.cs:
3888 * System.Web/HttpRuntime.cs: we are now able to compile pages and use
3889 HttpApplication, HttpRuntime and SimpleWorkerRequest.
3891 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3893 * HttpApplication.cs: added some missing methods.
3894 * HttpApplicationFactory.cs: get event handlers for the application.
3895 * HttpAsyncResult.cs: little fixes.
3896 * HttpRequest.cs: make Encoding work even with no worker request.
3898 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3900 * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
3901 to add HttpMapPath to the list file...
3903 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3905 * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
3906 report when i get a test case.
3908 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3910 * HttpApplicationFactory.cs:
3911 * HttpCachePolicy.cs:
3912 * HttpResponseHeader.cs:
3913 * HttpResponseStream.cs:
3914 * HttpResponseStreamProxy.cs:
3915 * HttpValueCollection.cs: misc. fixes based on class status page.
3917 * IHttpMapPath.cs: New file.
3919 * HttpRequest.cs: implemented ContentEncoding.
3920 * HttpWorkerRequest.cs: mono-stylized and implemented
3921 SendResponseFromMemory.
3923 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3925 * HttpContext.cs: reformatted.
3926 * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
3929 2002-08-05 Patrik Torstensson <ptorsten@hotmail.com>
3931 * HttpApplication.cs: Implemented a state machine to allow handling of
3932 HttpModules and HttpHandlers. Implementation of async handlers.
3934 * HttpApplicationFactory.cs: Factory for creating HttpApplication
3935 instances, including caching.
3937 * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
3938 application instance to execute requests in and implementation of
3939 request execution (still no request queue).
3941 * HttpAsyncResult.cs: New file to handle async module results.
3943 * HttpRequest.cs: Change signature of Dispose
3944 * HttpResponse.cs: new internal method allowing filtering to happen
3945 during the request flow in the state machine.
3947 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3949 * HttpApplication.cs: events were not being initialized.
3951 2002-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3953 * ProcessModelInfo.cs: fixed compilation.
3955 2002-07-25 Tim Coleman <tim@timcoleman.com>
3956 * ProcessModelInfo.cs:
3958 * HttpParseException.cs:
3959 * HttpCompileException.cs:
3960 * HttpUnhandledException.cs:
3961 Internal constructors added to these
3963 2002-07-24 Tim Coleman <tim@timcoleman.com>
3965 Fix constructor, reference to shutdownreason.
3967 2002-07-24 Tim Coleman <tim@timcoleman.com>
3968 * HttpCachePolicy.cs:
3969 Added stubbs to this class.
3970 * HttpCacheability.cs:
3971 * HttpCacheRevalidation.cs:
3972 * HttpValidationStatus.cs:
3973 * ProcessShutdownReason.cs:
3976 Reorder the enumerations (and in some cases make
3977 one-based) in order to agree with the .NET
3978 implementation, based on the class status page.
3980 Implementation of this class.
3982 2002-07-23 Tim Coleman <tim@timcoleman.com>
3983 * HttpCompileException.cs:
3984 * HttpParseException.cs:
3985 * HttpUnhandledException.cs:
3987 * HttpApplication.cs:
3988 * HttpBrowserCapabilities.cs:
3989 Added missing methods stubbs and attributes based
3990 on the class status page. Also reformatted some
3991 source for consistency.
3993 2002-07-23 Tim Coleman <tim@timcoleman.com>
3994 * HttpUtility.cs: Moved entities hashtable into main
3995 class as a static object, so we don't instantiate
3996 a new one every time. Also put the hashtable
3997 building into a lock block.
3999 2002-07-22 Tim Coleman <tim@timcoleman.com>
4000 * HttpUtility.cs: Cleanup of the code, implementation
4001 of HtmlDecode/HtmlEncode functions
4003 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4005 * HttpResponse.cs: quick&dirty hack to make redirection work. Should
4006 be out of there once we have SimpleWorkerRequest.
4008 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4010 * HttpUtility.cs: little typo, big headache.
4012 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4014 * HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
4016 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4018 * System.Web/HttpResponse.cs:
4020 Fixes based on class status page:
4022 - Add attributes (DefaultEvent, ParseChildren).
4024 - Explicitly implement some interfaces (IPostBackDataHandler
4025 and IPostBackEventHandler).
4026 - Implemented some missing methods.
4028 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4031 (Session): return null instead of throwing an exception.
4034 (HttpMethod): return RequestType if not set.
4035 (GetRawContent): return QueryString if we don't have a
4038 * HttpUtility.cs: fixed Decode and Encode.
4040 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4042 * HttpApplication.cs:
4043 * HttpContext.cs: added System.Web.SessionState namespace.
4045 * HttpSessionState.cs: removed. It is under
4046 System.Web.SessionState.
4048 2002-06-10 Duncan Mak <duncan@ximian.com>
4050 * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
4052 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4054 * HttpRequest.cs: implemented Browser property.
4056 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4058 * HttpBrowserCapabilities.cs: stubbed out.
4060 2002-05-18 Miguel de Icaza <miguel@ximian.com>
4062 * HttpRuntime.cs: Reformat file.
4064 2002-05-07 Duncan Mak <duncan@ximian.com>
4066 * HttpBrowserCapabilities.cs: Added, replacing
4067 HttpBrowserCapabilites because of typo.
4069 * HttpBrowserCapabilites.cs: Removed, replaced by above.
4071 * HttpRequest.cs (Browser): Fixed typo.
4073 2002-04-12 Patrik Torstensson <patrik.torstensson@labs2.com>
4075 * HttpApplication.cs: Minor updates
4076 * HttpApplicationState.cs: Ready.
4077 * HttpClientCertificate.cs: Signature updates
4078 * HttpValueCollection.cs: ready
4079 * HttpStaticObjectsCollection.cs: ready
4080 * HttpResponseHeader.cs: made internal only
4081 * HttpResponse.cs: Signature updates
4082 * HttpPostedFile.cs: ready
4083 * HttpCacheVaryByHeaders.cs: ready (except communication to policy)
4084 * HttpCacheVaryByParams.cs: ready (except communication to policy)
4086 System.Web is now over 60% ready..
4088 2002-04-11 Patrik Torstensson <patrik.torstensson@labs2.com>
4090 * HttpException.cs: 95% ready, only windows dependent code left
4091 * HttpFileCollection.cs: Finished.
4092 * HttpRequest.cs: Minor fixes and fixed signature problems
4093 * HttpResponse.cs: Implementation of missing methods and signature problems
4094 * HttpResponseHeader.cs: Fixed signature problems
4095 * HttpRuntime.cs: Fixed signature problems
4096 * HttpServerUtility.cs: Added support for HttpApplication
4097 * HttpSessionState.cs: Fixed signature issues
4098 * HttpUtility.cs: fixed signature issues
4099 * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
4100 * HttpWorkerRequest.cs: Fixed small signature issue
4101 * HttpWriter.cs: Fixed signature issue
4102 * HttpApplication.cs: Basic implementation
4103 * HttpApplicationState.cs: Small fixes to support major change comming up
4104 * HttpBrowserCapabilities.cs: Added Type method
4105 * HttpClientCertificate.cs: Almost ready, needs to parse certificate.
4106 * HttpContext.cs: Fixed signature issues and added last methods.
4107 * HttpCookie.cs: Full implementation
4108 * HttpCookieCollection.cs: Full implementation
4109 * TraceContext.cs: Methods implemented.
4110 * HttpPostedFile.cs: Placeholder
4111 * HttpStaticObjectsCollection.cs: Placeholder
4112 * HttpModuleCollection.cs: Ready, will be used during the major revamp.
4114 * Fixed a number of other small signature problems also (class status page)
4117 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
4119 * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
4120 * Checkin of all new files (noted in last changenote)
4122 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
4124 * HttpContext.cs: First implementation (basic support, few methods left to impl)
4125 * HttpException.cs: Partial implementation (basic support)
4126 * HttpHelper.cs: Header parse helper, used by runtime (non public)
4127 * HttpRequest.cs: Implementation (all methods there, not all fully impl)
4128 * HttpRequestStream.cs: Full implementation
4129 * HttpResponse.cs: Partial implementation(almost all methods)
4130 * HttpResponseHeader.cs: Header helper
4131 * HttpResponseStream.cs: Full implementation - Response stream support
4132 * HttpResponseStreamProxy.cs: Implementation - filter support
4133 * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
4134 * HttpServerUtility.cs: Implemented usage of HttpContext for methods
4135 and moved encoding functions to HttpUtility.
4137 * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
4138 added the Attribute encoding functions.
4140 * HttpValueCollection.cs: Implementation.
4141 * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
4142 * HttpWriter.cs: Implementation (with filter support)
4144 * HttpFileCollection: Added dummy class (placeholder)
4145 * HttpApplication.cs: Added dummy class (placeholder)
4146 * HttpApplicationState.cs: Added dummy class (placeholder)
4147 * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
4148 * HtttpCachePolicy.cs: Added dummy class (placeholder)
4149 * HttpClientCertificate.cs: Added dummy class (placeholder)
4150 * HttpSessionState.cs: Added dummy class (placeholder)
4151 * TraceContext.cs: Added dummy class (placeholder)
4154 2002/04/10 Nick Drochak <ndrochak@gol.com>
4156 * HttpServerUtility.cs: Fix build breaker.
4158 2002-03-28 Wictor Wiln <wictor@iBizkit.se>
4160 * HttpServerUtils.cs : Added some more functionality
4162 2002-03-28 Martin Baulig <martin@gnome.org>
4164 * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
4165 char to a string, use ToString() instead.
4167 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
4169 * WebCategoryAttribute.cs
4170 : Added private attribute.
4172 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
4174 * HttpRuntime.cs : Stubbed methods for
4175 FormatStringResource(...) in agreement with the various
4176 overloads available at String.Format(...)
4178 2002-01-08 Gaurav Vaish <gavish@iitk.ac.in>
4180 * TODOAttribute.cs : Added, as an internal class to the assembly
4182 2002-01-03 Nick Drochak <ndrochak@gol.com>
4184 * HttpRuntime.cs: remove uneeded exception variable from catch and
4185 initialize remaining instance members to avoid compile warnings
4187 2002-01-02 Nick Drochak <ndrochak@gol.com>
4189 * HttpRuntime.cs: fix spelling error/variable name change.
4191 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
4193 * HttpRuntime.cs : Initial implementation
4195 2001-08-29 Bob Smith <bob@thestuff.net>
4197 * HttpWorkerRequest.cs: Partial Implementation.
4199 2001-08-16 Bob Smith <bob@thestuff.net>
4201 * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
4203 2001-08-09 Bob Smith <bob@thestuff.net>
4205 * BeginEventHandler.cs: Implemented.
4206 * EndEventHandler.cs: Implemented.
4207 * HttpCacheability.cs: Implemented.
4208 * HttpCacheRevalidation.cs: Implemented.
4209 * HttpCacheValidateHandler.cs: Implemented.
4210 * HttpCookieCollection.cs: Implemented.
4211 * HttpCookie.cs: Implemented.
4212 * HttpValidationStatus.cs: Implemented.
4213 * HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
4214 * IHttpAsyncHandler.cs: Implemented.
4215 * IHttpHandler.cs: Implemented.
4216 * IHttpHandlerFactory.cs: Implemented.
4217 * IHttpModule.cs: Implemented.
4218 * ProcessShutdownReason.cs: Implemented.
4219 * ProcessStatus.cs: Implemented.
4220 * TraceMode.cs: Implemented.