1 2007-05-29 Marek Habersack <mhabersack@novell.com>
3 * SiteMapProvider.cs: updated the node accessibility comments.
4 If Roles not null and user is not in at least one of the
5 specified roles, return false.
6 If there Url is null or empty, return false.
8 2007-05-28 Marek Habersack <mhabersack@novell.com>
10 * HttpRequest.cs: since Path is used from within
11 WebConfigurationManager, under some conditions it may lead to
12 endless recursion if the UrlComponents is not instantiated when
15 2007-05-21 Vladimir Krasnov <vladimirk@mainsoft.com>
17 * HttpContext.cs: added ProfileInitialized boolean property
19 2007-05-16 Vladimir Krasnov <vladimirk@mainsoft.com>
21 * VirtualPathUtility.cs: Normalize method check more carefully if need
22 to normalize, performance fix
24 2007-05-16 Konstantin Triger <kostat@mainsoft.com>
26 * HttpContext.cs: correctly check for request locality.
28 2007-05-15 Marek Habersack <mhabersack@novell.com>
30 * HttpApplication.cs: refactoring - moved LoadType from
31 WebConfigurationHost here and made it internal static, in order to
32 make the code avaliable from all the places where extended type
35 2007-05-14 Marek Habersack <mhabersack@novell.com>
37 * HttpUtility.cs: when parsing query strings, skip the leading ?
38 for the first parameter name.
40 * HttpRequest.cs: added support for mapping urls, as defined in
41 the system.web/urlMappings section.
43 2007-05-14 Vladimir Krasnov <vladimirk@mainsoft.com>
45 * HttpWriter.cs: GetMaxByteCount was used in Write and WriteString
46 methods to improve performance of HttpWriter
48 2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
51 prevent DOS attack: remove configuration from the cache in case
52 of invalid resource not exists
54 2007-05-14 Vladimir Krasnov <vladimirk@mainsoft.com>
56 * TraceContext.cs: refactoring, cached TraceManager
58 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
62 handling exceptions occurred if <system.web/customError>
65 2007-05-08 Vladimir Krasnov <vladimirk@mainsoft.com>
67 * BaseParamsCollection.cs: fixed Get(string) property, fixed collection
70 2007-05-07 Marek Habersack <mhabersack@novell.com>
72 * HttpResponseStream.cs: use BufferOutput
74 * HttpResponse.cs: support Buffer, but use BufferOutput
76 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
78 * BrowserCapabilities.cs:
81 2007-04-30 Igor Zelmanovich <igorz@mainsoft.com>
83 * HttpApplication.cs: reverted r74717.
85 2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
87 * HttpContext.jvm.cs: Response.End() must abort thread if not async.
89 2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
91 * HttpApplication.cs: doesn't cache httpHandlersSection in instance,
92 that allows to consider httpHandlers section in nested web.config.
94 2007-04-27 Marek Habersack <mhabersack@novell.com>
96 * XmlSiteMapProvider.cs: add support for siteMapFile attribute.
98 2007-04-24 Marek Habersack <mhabersack@novell.com>
100 * CapabilitiesLoader.cs: Hashtables used as property containers
101 should not be case-insensitive as we now preload the property
102 hashes with default properties, to make the code work in case
103 browscap.ini is broken or missing. Instead, the keys are
104 lower-cased and trimmed before indexing the Hashtable.
105 Added all the missing capabilities to the defaultCaps Hashtable.
106 The returned Hashtable is not reversed in GetCapabilities anymore
107 - it might make the code faster, but it also makes it mismatch
108 browsers (e.g. Firefox 2.0 is mismatched for Mozilla 1.8).
109 All of the above fixes bug #81437.
111 * HttpRequest.cs: MS.NET throws HttpException for invalid paths,
112 not ArgumentNullException.
114 * HttpException.cs: wrap GetHtmlErrorMessage internals in
115 try/catch to capture possible exceptions in HttpContext.
117 * HttpContext.cs: IsCustomErrorEnabled is used from within
118 HttpException, make sure it gets the section in a safe way and
119 resorts to the default settings.
121 * HttpResponse.cs: HeaderEncoding is used in the same context as
122 above. Take the same precautions.
124 2007-04-22 Joshua Tauberer <jit@occams.info>
126 * HttpParamsCollection.cs: Fix IndexOutOfRangeException.
128 2007-04-19 Miguel de Icaza <miguel@novell.com>
130 * BaseParamsCollection.cs (Get (string)): Call LoadInfo here to
133 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
135 * HttpException.cs: used GetBaseException() instead InnerException.
137 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
139 * HttpException.cs: shows message of InnerException in head of Page.
141 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
143 * HttpException.cs: fixed generated HTML formating.
145 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
147 * HttpContext.cs: GetGlobalResourceObject, GetLocalResourceObject
148 use case-insensitive ResourceManager
150 2007-04-15 Marek Habersack <mhabersack@novell.com>
152 * VirtualPathUtility.cs: converted to LF line endings and set the
153 svn:eol-style property to 'native'
155 2007-04-13 Marek Habersack <mhabersack@novell.com>
157 * SiteMap.cs: try to look up the current map node in providers
158 other than the current one. Patch from Mike Morano
159 <mmorano@mikeandwan.us>. Fixes bug #81366.
161 2007-04-12 Vladimir Krasnov <vladimirk@mainsoft.com>
163 * HttpRequest.cs: fixed Params property to be lazy initialzation
165 * added HttpParamsCollection.cs
167 2007-04-11 Konstantin Triger <kostat@mainsoft.com>
169 * HttpRequest.cs: IsLocal should return true for loopback addresses.
171 2007-04-10 Marek Habersack <mhabersack@novell.com>
173 * HttpCookie.cs: format the output of HttpCookie.Values.ToString()
174 in the same way MS.NET does. Fixes bug #81333. Patch from Mike
175 Morano <mmorano@mikeandwan.us>.
177 * XmlSiteMapProvider.cs: add the NotifyFilters.Size to the
178 watcher flags, so that we watch for modifications to a file when
181 * HttpApplicationFactory.cs: add the NotifyFilters.Size to the
182 watcher flags, so that we watch for modifications to a file when
184 App_Code, App_Browsers and App_GlobalResources watchers must watch
185 for events with the '*' mask so that they can notice events
186 related to subdirectory creation/deletion.
187 Watch for subdirectory events with the App_Code watcher.
189 2007-04-07 Marek Habersack <mhabersack@novell.com>
191 * HttpException.cs: show a default custom error message if custom
193 Cleaned up the errors HTML, made it XHTML-compliant. Generated
194 HTML now uses inline CSS styles.
196 2007-04-06 Marek Habersack <mhabersack@novell.com>
198 * HttpUtility.cs: added a constant that contains the default query
200 ParseQueryString supports queries with both '&' and ';' parameter
203 2007-04-05 Marek Habersack <mhabersack@novell.com>
205 * CapabilitiesLoader.cs: Make sure that the capability names
206 (keys) are stored in lowercase.
208 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
210 * XmlSiteMapProvider.cs:
211 custom attributes of siteMapNode are loaded properly.
213 2007-04-05 Marek Habersack <mhabersack@novell.com>
215 * CapabilitiesLoader.cs: add a full default set of capabilities
216 for cases when browscap.ini is broken, missing or doesn't contain
217 definition for the client's User-Agent. Makes it possible to surf
218 asp.net sites from unsupported clients.
220 2007-04-04 Juraj Skripsky <js@hotfeet.ch>
222 * HttpApplicationFactory.cs: Make sure an web application is
223 shutdown only once (and Application_End in global.asax is called
224 only once as well). This is necessary because FileSystemWatcher
225 emits multiple events when e.g. global.asax is changed.
227 2007-04-01 Vladimir Krasnov <vladimirk@mainsoft.com>
229 * HttpRequest.cs: fixed Headers property to use optimized
231 * WebROCollection.cs: used StringComparer.OrdinalIgnoreCase for
233 * ServerVariablesCollection.cs: used lazy collection fill optimization
234 * added: HeadersCollection.cs, BaseParamsCollection.cs
236 2007-04-01 Konstantin Triger <kostat@mainsoft.com>
239 GetLocalResourceObject - should not prefix resources with 'Resources.'.
241 2007-04-01 Konstantin Triger <kostat@mainsoft.com>
243 * BrowserCapabilities.cs: Default Browser (userAgent) property to 'Unknown'.
245 2007-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
247 * HttpContext.cs: timeout methods removed from TARGET_J2EE compilation
248 * HttpContext.jvm.cs: added stubs for timeout methods
250 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
252 * StaticSiteMapProvider.cs:
253 GetChildNodes does not return null but SiteMapNodeCollection.EmptyCollection.
255 2007-03-28 Konstantin Triger <kostat@mainsoft.com>
257 * BrowserCapabilities.cs:
259 2. Break recoursion in case 'browser' capability is not found.
261 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
263 * SiteMapNode.cs: fixed GetAllNodes method.
265 2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
267 * XmlSiteMapProvider.cs: fixed:
268 resolve app-relative path from config such siteMapFile="~/Web.sitemap".
270 2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
273 * XmlSiteMapProvider.cs: fixed: Localize Site-Map Data.
275 2007-03-26 Konstantin Triger <kostat@mainsoft.com>
277 * HttpRequest.cs: correctly handle null and empty virtual pathes in MapPath.
279 2007-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
281 * HttpContext.cs: AppGlobalResourcesAssembly static member stored in
282 AppDomain for TARGET_JVM
284 2007-03-24 Marek Habersack <mhabersack@novell.com>
286 * HttpRuntime.cs: use ICalls.GetMachineConfigPath instead of
287 opening the machine.config file and getting its path.
289 * CapabilitiesLoader.cs: use HttpRuntime.MachineConfigurationDirectory
290 instead of opening the machine config file and getting its path.
292 2007-03-23 Konstantin Triger <kostat@mainsoft.com>
294 * HttpApplication.cs: complete the pipeline in case of exception during
295 InitOnce() to avoid a deadlock.
297 2007-03-22 Adar Wesley <adarw@mainsoft.com>
299 * BrowserCapabilities.cs: Added implementation for all capabilities.
300 changed implementation to throw when capability is not defined in browscaps.ini.
302 * CapabilitiesLoader.cs: fixed parent resultion bug. added internal support for
303 browser and browsers capabilities.
305 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
307 * HttpContext.jvm.cs, HttpRuntime.cs: cached instance of HttpRuntime
308 in context in addition to AppDomain
310 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
312 * HttpCookie.cs, HttpCookieCollection.cs: used OrdinalIgnoreCase
313 StringComparer for cookies and values collections
315 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
317 * HttpApplication.cs: refactred handlers configuration section as
320 2007-03-20 Marek Habersack <mhabersack@novell.com>
322 * HttpRequest.cs: implement AppRelativeCurrentExecutionFilePath.
324 2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
326 * VirtualPathUtility.cs: fixed GetFileName(), GetExtension() methods.
328 2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
330 * VirtualPathUtility.cs: fixed GetDirectory() method.
332 2007-03-15 Marek Habersack <mhabersack@novell.com>
334 * XmlSiteMapProvider.cs: handle cases with no default for the
337 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
339 * HttpRequest.cs: fixed MapPath () method.
341 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
343 * VirtualPathUtility.cs: fixed ToAbsolute() method.
345 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
347 * VirtualPathUtility.cs: refactoring: class is shared with 1.x.
349 2007-03-15 Marek Habersack <mhabersack@novell.com>
351 * XmlSiteMapProvider.cs: add support for the enableLocalization
352 <siteMap> attribute and handle per-node localization resource
353 strings for explicit localization as well as the resourceKey
354 attribute to <siteMapNode> for implicit localization (closes bug
357 * SiteMapNode.cs: add support for the resource keys and foreign
359 Implement GetImplicitResourceString.
360 Add support for translation of the Title and Description
361 attributes (closes bug #81103) as well as foreign attributes.
363 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
365 * VirtualPathUtility.cs: fixed: works properly with appRelative path.
367 2007-03-13 Marek Habersack <mhabersack@novell.com>
369 * HttpApplicationFactory.cs: resources compiler no longer accepts
372 * HttpRuntime.cs: Do not compile local resources here anymore.
374 * HttpContext.cs: if App_LocalResources assembly corresponding to
375 the virtual path is not found, compile it here.
376 Look up resources in the "Resources." class path.
378 2007-03-13 Igor Zelmanovich <igorz@mainsoft.com>
380 * HttpUtility.cs: fixed HttpUtillity.HtmlAttributeEncode
381 '<' char must be encoded.
383 2007-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
385 * CapabilitiesLoader.cs: added TARGET_JVM part of static members,
386 added caching to GetCapabilities method for performance improvement
388 2007-03-12 Marek Habersack <mhabersack@novell.com>
390 * XmlSiteMapProvider.cs: support custom site map providers. Fixes
393 2007-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
395 * StaticFileHandler.cs: fixed ProcessRequest TARGET_JVM path,
396 if_modified_since fixed in WAR mode
398 2007-02-25 Vladimir Krasnov <vladimirk@mainsoft.com>
400 * HttpRequest.jvm.cs: fixed LoadWwwForm, should distinguish between
401 query string and form values
403 2007-02-21 Marek Habersack <grendello@gmail.com>
405 * HttpRuntime.cs: BinDirectory returns the bin directory
406 determined by the application host on the application startup.
408 * HttpApplicationFactory.cs: Watch the bin directory determined by
409 the application host on the application startup.
411 2007-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
413 * HttpRequest.cs: fixed MapPath, removed TARGET_J2EE block that checks
416 2007-02-19 Marek Habersack <grendello@gmail.com>
418 * HttpContext.cs: Make sure all the global resource objects are
419 sought in the Resources. namespace.
421 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
423 * HttpContext.jvm.cs, HttpRequest.jvm.cs: Adapt for tunning under test
424 harness where we don't have a SevletRequest/Response.
426 2007-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
428 * HttpApplication.cs: fixed InitOnce, httpModules section is global and
429 taken from the root web.config
431 2007-02-12 Robert Jordan <robertj@gmx.net>
433 * HttpResponseStream.cs (BlockManager.EnsureCapacity):
434 don't call Marshal.ReAllocHGlobal on NULL because, unlike
435 realloc(3) and g_realloc, it doesn't support this semantic.
436 Fixes a part of bug #77075.
438 2007-02-12 Marek Habersack <grendello@gmail.com>
440 * HttpRuntime.cs: support for preservation (.compiled) assembly
443 2007-02-11 Vladimir Krasnov <vladimirk@mainsoft.com>
445 * HttpApplication.cs: added exception pass through from processAction
448 2007-02-02 Marek Habersack <grendello@gmail.com>
450 * HttpApplicationFactory.cs: make code a bit more compact.
452 2007-01-30 Vladimir Krasnov <vladimirk@mainsoft.com>
454 * HttpResponse.cs: fixed TARGET_J2EE part of Redirect for portlet
456 2007-01-30 Adar Wesley <adarw@mainsoft.com>
458 * VirtualPathUtility.cs: fixed exceptions thrown from Combine
459 so they are compatible with MS.
461 2007-01-25 Marek Habersack <grendello@gmail.com>
463 * HttpApplication.cs: Make sure that a specific culture is used
464 when setting the current thread culture.
466 2007-01-21 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
468 * HttpServerUtility.cs: implement Execute/Transfer overloads that take
469 an IHttpHandler. Still missing the documented check for page IsCallback.
470 Also, on MS when i derive from Page for my IHttpHandler, it works fine,
471 but if I just implement IHttpHandler, an exception is thrown. This needs
472 to be researched but, by now, the IHttpHandler version works on mono
475 2007-01-20 Miguel de Icaza <miguel@novell.com>
477 * SiteMapNode.cs (GetExplicitResourceString): implement.
479 * HttpContext.cs (GetGlobalResourceObject): remove unused variable.
481 * StaticFileHandler.cs (ProcessRequest): remove unused variable.
483 * HttpApplication.cs (ProcessError): Remove unused variable.
485 * HttpServerUtility.cs (Execute): Add new overload and rename
486 parameter to match MS (as they are normative).
488 2007-01-17 Marek Habersack <grendello@gmail.com>
490 * HttpApplicationFactory.cs: Implement code and framework to
491 enable automatic application restarts on changes to folders/files
492 in a generic way. Patch from Damien Churchill
493 <damien.churchill@ukplc.net>, thanks!
494 Make sure the top-level assemblies (App_Code, resources) are not
495 referenced twice should a compilation error occur.
497 2007-01-16 Atsushi Enomoto <atsushi@ximian.com>
499 * TraceData.cs : page could be null. Fixed bug #80480.
501 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
503 * VirtualPathUtility.cs: fixed bugs in methods - GetDirectory and
504 GetExtension, according to the VirtualPathUtilityTest
506 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
508 * SiteMapProvider.cs: fixed IsAccessibleToUser, true if
509 SecurityTrimmingEnabled not enabled, true if Roles exists on node and
512 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
514 * HttpRequest.jvm.cs, HttpContext.jvm.cs: Added TARGET_J2EE specific files.
515 * HttpContext.cs, HttpResponse.cs, HttpRequest.cs, HttpCookie.cs:
516 Add J2EE Portal support for TARGET_J2EE.
518 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
520 * HttpRequest.cs: fixed IsLocal, should check all ip addresses of host
522 2007-01-05 Marek Habersack <grendello@gmail.com>
524 * HttpApplicationFactory.cs: Use the new app resources compiler.
526 * HttpRuntime.cs: Use the new app resources compiler.
528 * HttpContext.cs: Reimplement the GetGlobalResourceObject
529 methods, implement the GetLocalResourceObject methods.
531 * HttpResponse.cs: Implement the HeaderEncoding property.
533 2007-01-04 Andreia Gaita <avidigal@novell.com>
535 * HttpRuntime.cs: Add check for NET_2_0 when initializing
536 WebConfigurationManager, build failing on 1.1 profile
538 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
540 * HttpApplicationFactory.cs, HttpRuntime.cs: WebConfigurationManager
541 should be initializaed before any possible access to it
543 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
545 * HttpRequest.cs: fixed Path property, add call of
546 Uri.UnescapeDataString in net_2_0
548 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
550 * HttpApplication.cs: fixed PreStart, should not set thread culture
553 2007-01-03 Vladimir Krasnov <vladimirk@mainsoft.com>
555 * HttpRequest.cs: fixed jvm version of MakeInputStream, should not
556 throw exception on zero content length
558 2007-01-03 Vladimir Krasnov <vladimirk@mainsoft.com>
560 * SiteMap.cs, SiteMapNodeCollection.cs: TARGET_JVM of static members
562 2006-12-20 Marek Habersack <grendello@gmail.com>
564 * HttpContext.cs: add internal setter for the Profile property.
566 * HttpApplicationFactory.cs: Added a shortcut version of
567 InvokeSessionEnd for use from the 2.0 SessionState code.
569 2006-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
571 * HttpRequest.cs: fixed Path property, returns unescaped url
573 2006-12-16 Marek Habersack <grendello@gmail.com>
575 * HttpRequest.cs: Fix for http exception during first visit to an
576 application when the visit path is not the app's virtual root.
578 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
580 * SiteMapProvider.cs.cs:
581 * XmlSiteMapProvider.cs: fixed: because more then one node with empty url
582 is allowed unique key is generated for each node.
584 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
586 * SiteMapProvider.cs.cs: fixed: IsAccessibleToUser resolvs relative url.
587 * StaticSiteMapProvider.cs: fixed: RemoveNode
589 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
591 * VirtualPathUtility.cs: fixed: Combine(), ToAbsolute() methods.
593 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
595 * VirtualPathUtility.cs: fixed: IsAppRelative() method.
597 2006-12-07 Vladimir Krasnov <vladimirk@mainsoft.com>
599 * BrowserCapabilities.cs: fixed MSDomVersion property
601 2006-12-05 Igor Zelmanovich <igorz@mainsoft.com>
603 * VirtualPathUtility.cs: fixed: ToAbsolute() method.
605 2006-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
607 * HttpRequest.cs: call MapPath on the HttpWorkerRequest so that if
608 FilePath is changed we get the new physical path, not the one of the
609 original request. Fixes bug #80152.
611 2006-12-03 Igor Zelmanovich <igorz@mainsoft.com>
613 * HttpWriter.cs: reverted r38835.
615 2006-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
617 * HttpWriter.cs: remove unused WriteBytes method.
619 2006-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
621 * HttpRequest.cs: physical path comes from GetFilePathTranslated to
622 avoid trimming in HttpRequest.MapPath.
624 2006-11-29 Marek Habersack <grendello@gmail.com>
626 * HttpApplication.cs: Make use of the handler stack implemented
629 * HttpCacheVaryByHeaders.cs: Optionally omit the vary:* header
630 value in the 2.0 profile.
632 * HttpServerUtility.cs: Make use of the handler stack implemented
634 Implemented the UrlToken{Encode,Decode} 2.0 methods.
636 * HttpResponse.cs: Implemented the IsRequestBeingRedirected
639 * HttpContext.cs: Implemented the CurrentHandler and PreviousHandler
640 methods, together with helper functions to handle the handler
642 GetSection(string) should be present only in the 2.0 profile.
644 * HttpCachePolicy.cs: implement the SetNoServerCaching,
645 SetNoStore, SetNoTransforms, SetValidUntilExpires and
646 SetOmitVaryStar methods.
647 Added code to set the no-store and no-transform options of the
648 Cache-Control header.
650 2006-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
652 * HttpServerUtility.cs: don't prepend extra '?' when the original url
653 already has a query string. Fixes bug #80042.
655 2006-11-24 Miguel de Icaza <miguel@novell.com>
657 * HttpApplicationFactory.cs (InitType): Also look for "Web.Config"
660 2006-11-20 Marek Habersack <grendello@gmail.com>
662 * HttpApplication.cs: Added support for automatic detection of
663 user's preferred language.
665 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
667 * HttpApplication.cs: don't leak the directory name for non-local
670 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
672 * CapabilitiesLoader.cs: made the hasstable that contains the properties
673 for the brower case insensitive. Fixes bug #79795.
675 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
677 * HttpResponse.cs: fix typo that prevented Server.Execute from restoring
678 the initial output stream used. Closes bug #79916.
680 2006-11-12 Marek Habersack <grendello@gmail.com>
682 * HttpContext.cs: Implemented the 2.0 RewritePath overloads.
684 2006-11-08 Marek Habersack <grendello@gmail.com>
686 * HttpRuntime.cs: Moved the resource compiler results handling to
687 the resource compiler itself.
689 * HttpApplicationFactory.cs: Add invocation of the App_Code
690 compiler. Moved the resource compiler results handling to the
691 resource compiler itself. Removed compilation of the local
692 resources from here - it should be done only when a request
693 determines that the App_LocalResources directory exists.
696 2006-11-07 Andrew Skiba <andrews@mainsoft.com>
698 * HttpRuntime.cs: TARGET_JVM ifdef
700 2006-11-05 Andrew Skiba <andrews@mainsoft.com>
702 * SiteMapProvider.cs: don't iterate through Roles when they are null.
704 2006-11-05 Vladimir Krasnov <vladimirk@mainsoft.com>
706 * HttpContext.cs: implemented Profile property
708 2006-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
710 * HttpApplication.cs: the unexpected 'tick' exceptions can be an abort
711 exception due to timeout or end of the request.
713 2006-10-18 Marek Habersack <grendello@gmail.com>
715 * HttpRuntime.cs: add support for compilation of local resources
716 at the start of request.
718 * HttpContext.cs: implement the GetGlobalResourceObject APIs
720 * HttpApplicationFactory.cs: include the bootstrap code for the
721 global/local resources compiler.
723 2006-10-09 Marek Habersack <grendello@gmail.com>
725 * HttpApplication.cs: change the pipeline order for ASP.NET 2.0 to
726 comply with the Microsoft documentation.
728 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
730 * HttpApplication.cs: this makes the test run successfully. Still need
731 to figure out why that is null.
733 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
735 * HttpApplication.cs: band-aid patch to help debugging hang running 2.0
738 2006-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
740 * HttpServerUtility.cs: 1.1 Execute(s) preserves the query string.
741 Thanks to Hubert Fongarnand. Fixes bug #79506.
743 2006-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
745 * QueueManager.cs: if disposed, always return null for next request.
746 * HttpRuntime.cs: dispose the queue manager when shutting down the
747 domain. This will close pending requests with a 503.
748 * HttpApplication.cs: release the handler before marking the request
749 as completed. If in PipelineDone context is null, use
750 HttpContext.Current. Fixes some of those "Tick detected an unhandled
751 exception" errors printed out.
753 2006-09-11 Andrew Skiba <andrews@mainsoft.com>
755 * XmlSiteMapProvider.cs: ifdef TARGET_JVM
757 2006-09-11 Vladimir Krasnov <vladimirk@mainsoft.com>
759 * HttpWriter.cs: fixed WriteLine to work correctly in utf-16 encoding
761 2006-09-08 Robert Jordan <robertj@gmx.net>
763 * TraceData.cs: fixed NRE if `sizes' is null, which may happen
764 if a page was unable to save its viewstate and size.
766 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
768 * HttpApplicationFactory.cs: ifdef the previous fix with TARGET_JVM to
771 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
773 * HttpApplicationFactory.cs: watch web.config too. Fixes bug #78356.
775 2006-09-05 Konstantin Triger <kostat@mainsoft.com>
777 * SiteMapProvider.cs: consider authorization section for access decision.
779 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
781 * HttpUtility.cs: fixed UrlPathEncode method.
783 2006-08-31 Boris Kirzner <borisk@mainsoft.com>
785 * VirtualPathUtility.cs : pass parameters in correct order.
787 2006-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
789 * HttpApplicationFactory.cs: handle the 'renamed' event too.
791 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
793 * HttpApplication.cs: fixed BeginProcessRequest, TARGET_JVM part
796 2006-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
798 * HttpApplication.cs: don't leak local path names when a file is not
801 2006-06-21 Konstantin Triger <kostat@mainsoft.com>
803 * XmlSiteMapProvider.cs: if the url is relative, make it relative to the
806 2006-06-07 Juraj Skripsky <js@hotfeet.ch>
808 * HttpException.cs (GetHtmlizedErrorMessage): Beautify compilation error
809 page by showing multiple errors on separate lines.
811 2006-06-05 Juraj Skripsky <js@hotfeet.ch>
813 * HttpRequest.cs: simplify code around uri_builder (and rename
814 to url_components). Move storage of query_string into
815 uri_builder.Query and initialize it lazily using
816 worker_request.GetQueryStringRawBytes() or GetQueryString().
817 (QueryString): Use HttpUtility.ParseQueryString instead of
818 duplicating its functionality.
820 2006-06-05 Juraj Skripsky <js@hotfeet.ch>
822 * HttpUtility.cs (ParseQueryString): move core of
823 ParseQueryString into internal method to make it available to
826 2006-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
828 * HttpApplication.cs: assign the context when run from a thread not in
829 the threadpool. Patch by Andrew Skiba. Fixes bug #78583.
831 2006-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
833 * HttpApplication.cs: context.Handler does not change for
834 HttpServerUtility.Execute, so moved setting it into the pipeline instead
837 2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
839 * HttpUtility.cs: implemented ParseQueryString
841 2006-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
843 * HttpUtility.cs: get rid of TryParseHexa.
845 2006-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
847 * HttpApplicationFactory.cs: make sure that the application start event
848 is run before any request is processed.
850 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
852 * HttpServerUtility.cs: don't reset the query string in Execute() when
853 the path does not contain it and we have one from the previous request.
856 2006-04-20 Andrew Skiba <andrews@mainsoft.com>
858 * SiteMapNode.cs: fix few null reference exceptions
860 2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
863 (TransmitFile): make sure we can read the file before buffering it.
865 2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
867 * HttpApplicationFactory.cs: don't fail on events that are not
868 EventHandlers. Patch by Matthew Metnetsky.
870 2006-04-11 Andrew Skiba <andrews@mainsoft.com>
872 * HttpRequest.cs: remove code duplication (see UrlUtils.Combine)
874 2006-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
876 * HttpUtility.cs: allow "%%" as a escape for '%' and ignore invalid
877 hexadecimal characters. Based on a patch by Vladimir Krasnov.
879 2006-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
881 * HttpWriter.cs: only keep the byte buffer around if its size is less
882 than or equals to 32K.
884 2006-04-08 Miguel de Icaza <miguel@novell.com>
886 * HttpWriter.cs (Write): Added missing check for null string as
887 something is now calling it like that.
889 2006-03-27 Joshua Tauberer <tauberer@for.net>
891 * HttpWriter.cs: Avoid creation of a byte[] on each Write()
892 by reusing and resizing a private array.
894 2006-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
896 * HttpRequest.cs: the field content_length can be < 0 and then we try to
897 read when there's no data and block.
899 2006-04-05 Andrew Skiba <andrews@mainsoft.com>
901 * HttpUtility: UrlEncode and UrlEncodeUnicode logic unified, behaviour
902 fixed to match dotnet and http://rfc.net/rfc1738.html
904 2006-03-30 Konstantin Triger <kostat@mainsoft.com>
906 * HttpApplicationFactory.cs: refactoring: remove static modifier from session_end field.
907 Does not check the behavior as HttpApplicationFactory is a singleton.
909 2006-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
911 * HttpUtility.cs: UrlDecode does not throw if an hexadecimal sequence
912 fails to parse as an integer. Fixes bug #77931.
914 2006-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
916 * HttpResponse.cs: more fixes for CacheControl: MS allows to set it to
917 null and "" and the getter value does not completely depend on Cache.
919 * HttpRequest.cs: fail validating the request input if there's a control
920 character after a '<'. Fixes XSS_Null test.
922 All System.Web tests pass again.
923 2006-03-22 Robert Jordan <robertj@gmx.net>
925 * HttpCachePolicy.cs: fix the Cache-control header. Fixes bug #77826.
927 2006-03-22 Chris Toshok <toshok@ximian.com>
929 * HttpApplication.cs: fix typo - AuthenticateRequest =>
930 PostAuthenticateRequest.
932 2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
935 * HttpRequest.cs: revert part of r58229.
937 2006-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
939 * ServerVariablesCollection.cs: fixed "URL" variable, it should not
942 2006-03-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
945 (CheckString): style and don't index the string twice per iteration.
947 2006-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
949 * TempFileStream.cs: a FileStream that removes the file once
951 * HttpRequest.cs: support for writing request data to on-disk
952 files if the request is longer than the threshold specified in the
953 configuration files. In mono this will work for 1.x and 2.0, while with
954 MS this only works for 2.0.
956 2006-03-18 Robert Jordan <robertj@gmx.net>
958 * HttpCachePolicy.cs: expose the validation callbacks.
961 2006-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
963 * HttpApplication.cs: fix upper bound when iterating through the module
966 2006-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
968 * HttpRequest.cs: use the provided content encoding to decode the file
969 name. Fixes bug #77714.
971 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
973 * HttpResponse.cs: allow setting a Cache-Control header through
974 AppendHeader. Fixes bug #77775.
976 2006-03-15 Chris Toshok <toshok@ximian.com>
978 * XmlSiteMapProvider.cs (RemoveProvider): oops, no override.
980 * StaticSiteMapProvider.cs (AddNode): call MapUrl.
981 (FindSiteMapNode): same.
983 2006-03-15 Chris Toshok <toshok@ximian.com>
985 * SiteMapProvider.cs (ReturnNodeIfAccessible): new function,
986 either return the node or throw InvalidOperationException.
987 (get_RootNode): use ReturnNodeIfAccessible.
988 (IsAccessibleToUser): flesh this out a bit, and add comments on
989 how the rest of the implementation should be written.
990 (FindSiteMapNodeFromKey): implement to match MS behavior, docs be
993 * XmlSiteMapProvider.cs: corcompare work.
995 * StaticSiteMapProvider.cs (AddNode): Add a check to see if node
996 == RootNode. Not sure if this is actually correct, but it's
997 required given our implementation of XmlSiteMapProvider. without
998 this check, we end up assigning RootNode.ParentNode == RootNode,
999 which makes for an infinite loop when we traverse up the tree.
1001 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1003 * HttpRequest.cs: fixed MakeInputStream method under TARGET_JVM,
1004 fixed if content lenght value is less that byte received
1006 2006-03-10 Chris Toshok <toshok@ximian.com>
1008 * StaticSiteMapProvider.cs (UrlToNode): this entire file is #if
1009 NET_2_0, no need to embed another #if NET_2_0.
1011 * SiteMapProvider.cs (AddNode): throw NotImplementedException.
1012 (FindSiteMapNode): with null context, return null. don't throw
1013 ArgumentNullException.
1014 (RemoveNode): throw NotImplementedException.
1015 (IsAccessibleToUser): check arguments to make test pass. still
1016 lacking the method's actual functionality.
1017 (ResourceKey): add missing property.
1019 2006-03-10 Chris Toshok <toshok@ximian.com>
1021 * HttpRequest.cs (CheckString): add back in the check for \xff1c
1022 that i took out. oops.
1024 2006-03-10 Chris Toshok <toshok@ximian.com>
1026 * HttpRequest.cs (CheckString): implement as described in
1027 Shackow's "Professional ASP.NET 2.0 Security, Membership, and Role
1028 Management", page 310.
1030 2006-03-08 Chris Toshok <toshok@ximian.com>
1032 * SiteMap.cs: clean this up a bunch. use the SiteMapSection to
1033 initialize the provider collection, and don't add a provider.
1034 web.config handles that for us. Also, don't always return true
1037 2006-02-28 Chris Toshok <toshok@ximian.com>
1039 * HttpCookieMode.cs: corcompare work.
1041 * ProcessShutdownReason.cs: same.
1043 * SiteMapNodeCollection.cs: same.
1045 * SiteMapNode.cs: same.
1047 * SiteMapProvider.cs: same.
1049 * HttpCacheRevalidation.cs: same.
1051 * HttpCacheability.cs: same.
1053 * StaticSiteMapProvider.cs: same.
1055 * HttpValidationStatus.cs: same.
1057 2006-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1059 * DefaultHttpHandler.cs: New file.
1061 2006-02-01 Chris Toshok <toshok@ximian.com>
1063 * SiteMap.cs: use GetSection instead of GetWebApplicationSection.
1065 2006-02-01 Chris Toshok <toshok@ximian.com>
1067 * HttpApplication.cs: CONFIGURATION_2_0 => NET_2_0, and use
1068 GetSection instead of GetWebApplicationSection.
1070 * HttpApplication.jvm.cs: same.
1072 * HttpApplicationFactory.cs: same.
1074 * HttpContext.cs: same.
1076 * CapabilitiesLoader.cs: same.
1078 * QueueManager.cs: same.
1080 * HttpRuntime.cs: same.
1082 * TraceManager.cs: same.
1084 * HttpRequest.cs: same.
1086 2006-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1088 * HttpApplication.cs: keep any exception that happens during
1091 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1093 * HttpDataTransferMode.cs: Removed file.
1094 * HttpRequestPriority.cs: Removed file.
1095 * ApplicationShutdownReason.cs:
1098 * HttpApplication.cs: minor class status fixes.
1100 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1102 * VirtualPathUtility.cs: done with all the not implemented methods.
1104 2006-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1106 * HttpResponse.cs: use UInt64.Parse for content length. In AppendHeader,
1107 set cache_control through the property to update the cachebility
1108 accordingly. When using the cached headers, don't add again all the
1109 headers to that collection.
1110 * HttpCacheVaryByParams.cs: if there are no params, return null.
1111 Otherwise we get an empty 'Vary' header.
1113 2006-01-25 Chris Toshok <toshok@ximian.com>
1115 * HttpApplication.cs (Start): wrap InitOnce in a try/catch block,
1116 and if there's a configuration error, output it and end things
1119 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1121 * HttpRequest.cs: fixed the file path when RewritePath is used. Also
1122 add the PathInfo to the Url. Fixes bug #77291.
1124 2006-01-22 Chris Toshok <toshok@ximian.com>
1126 * HttpRequest.cs (ReadBoundary): remove two unused variables to
1128 (IsBoundary): remove unused method.
1130 * MimeTypes.cs (.cctor): use a 2.0 friendly form of the Hashtable
1131 ctor to silence a warning.
1133 * HttpCacheVaryByHeaders.cs (.ctor): same.
1135 * HttpCacheVaryByParams.cs (.ctor): same.
1137 * StaticSiteMapProvider.cs (UrlToNode): same.
1139 2006-01-22 Konstantin Triger <kostat@mainsoft.com>
1141 * HttpWorkerRequest.cs: ensure case insensitivity in header search.
1143 2006-01-19 Konstantin Triger <kostat@mainsoft.com>
1145 * HttpApplication.jvm.cs: merge HttpApplication.cs changes.
1147 2006-01-17 Chris Toshok <toshok@ximian.com>
1149 * CapabilitiesLoader.cs (Init): use WebConfigurationManager in the
1150 CONFIGURATION_2_0 case.
1152 * HttpRuntime.cs (MachineConfigurationDirectory): same.
1154 2006-01-16 Chris Toshok <toshok@ximian.com>
1156 * HttpApplicationFactory.cs: call WebConfigurationManager.Init in
1157 the CONFIGURATION_2_0 case.
1159 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1161 * HttpWriter.cs: made Write (char) less memory hungry. Thanks to Mike
1162 Glenn for pointing this out.
1164 2006-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1166 * HttpApplicationFactory.cs: fix condition for ContextAvailable.
1168 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1170 * HttpResponse.cs: removed TARGET_JVM block from End
1171 * GetJavaTextReader: Merged TARGET_JVM block from LoadFile
1172 to GetJavaTextReader
1174 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1176 * HttpRequest.cs: removed TARGET_JVM block from MapPath
1178 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1180 * HttpRequest.cs: little fix in MapPath(), virtualPath.Replace
1181 return value wasnt stored.
1183 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1185 * HttpResponse.cs: typo in comment.
1187 * HttpApplicationFactory.cs:
1188 * HttpApplication.cs: don't discard the application used for running the
1189 Application_Start event to allow for Redirect/Transfer to be used. Fail
1190 to get the request/response from the application object as MS does (it
1191 can still be retrieved through HttpContext.Current.blah). Fixes
1194 2006-01-09 Vladimir Krasnov <vladimirk@mainsoft.com>
1196 * CapabilitiesLoader.cs: Merged TARGET_JVM parts in LoadFile
1198 * HttpException.cs: Merged TARGET_JVM parts in GetHtmlizedErrorMessage
1200 * HttpRequest.cs: Merged TARGET_JVM parts in MapPath from /main/29
1201 * HttpResponse.cs: Merged TARGET_JVM parts in End() from /main/30
1202 * StaticFileHandler.cs: Merged TARGET_JVM parts in ProcessRequest
1205 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
1207 * BrowserCapabilities.cs, HttpBrowserCapabilities.cs,
1208 HttpResponseStream.cs: TARGET_JVM changes to let the compilation
1211 2006-01-04 Chris Toshok <toshok@ximian.com>
1213 * HttpContext.cs (IsCustomErrorEnabled): add CONFIGURATION_2_0
1214 code. use a nasty 'using' hack to map the 2.0 CustomErrorsMode to
1215 the 1.x CustomErrorMode name.
1216 (IsDebuggingEnabled): add CONFIGURATION_2_0 code.
1217 (ConfigTimeout): add CONFIGURATION_2_0 code.
1219 * HttpRequest.cs (MakeInputStream): add CONFIGURATION_2_0 code.
1221 * HttpApplication.cs (RedirectCustomError): add CONFIGURATION_2_0
1224 * SiteMap.c (Init): use
1225 WebConfigurationManager.GetWebApplicationSection.
1227 2005-12-21 Miguel de Icaza <miguel@novell.com>
1229 * HttpUtility.cs (UrlEncodeUnicode): The generated encoding of
1230 unicode values must be in %XXXX format, not %XX sometimes.
1232 2005-12-08 Robert Jordan <robertj@gmx.net>
1234 * MimeTypes.cs: added entry for "jpg".
1236 2005-12-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1238 * HttpRequest.cs: only read up to content-length when provided. Patch
1241 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1243 * HttpCookie.cs: fixed the set_Secure. Closes bug #76906.
1245 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1247 * HttpResponseStream.cs: flush the filter stream before closing.
1248 Patch by Geir Bergum that fixes bug #76753.
1250 2005-11-28 Chris Toshok <toshok@ximian.com>
1252 * HttpContext.cs (Profile): remove the #if false from around this,
1253 as we now have the ProfileBase type.
1254 (GetConfig): add CONFIGURATION_2_0 version.
1255 (GetSection): add CONFIGURATION_2_0 version.
1257 2005-11-28 Chris Toshok <toshok@ximian.com>
1259 * TraceManager.cs (..ctor): CONFIGURATION_2_0 work.
1261 * QueueManager.cs (..ctor): CONFIGURATION_2_0 work.
1263 * HttpRequest.cs (AnonymousID): add 2.0 property.
1264 (MakeInputStream): CONFIGURATION_2_0 work.
1266 * HttpApplication.cs (InitOnce): change around the
1267 CONFIGURATION_2_0 stuff since we need additional Culture foo for
1270 2005-11-27 Chris Toshok <toshok@ximian.com>
1272 * HttpApplication.cs (InitOnce): add Configuration_2.0 code.
1275 2005-11-26 Miguel de Icaza <miguel@novell.com>
1277 * HttpResponseStream.cs: Do not try to write zero bytes.
1279 2005-11-24 Miguel de Icaza <miguel@novell.com>
1281 * WebROCollection.cs: Do not add an empty "=" to the query string
1282 if the key is empty or null.
1284 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1286 * WebROCollection.cs: override ToString and generate a query string from
1287 the key/value pairs. Fixes bug #76779.
1289 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1291 * HttpServerUtility.cs: prevent possible nullref in GetLastError().
1293 2005-11-07 Jason Diamond <jason@diamond.name>
1295 * HttpRequest.cs: Don't throw exception when Content-Length doesn't
1296 match length of POSTed data. Also, allow charset parameter on
1297 Content-Type header when type is "application/x-www-form-urlencoded".
1299 2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1301 * WebROCollection.cs: add an ID for the collection. Page needs it.
1303 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1305 * HttpRequest.cs: no need to allocate the buffer when all the content
1308 2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1310 * HttpApplication.cs: ignore TAE in ProcesssError. The Error event might
1311 redirect or transfer and that causes a TAE to be thrown. Fixes
1314 2005-11-01 Chris Toshok <toshok@ximian.com>
1316 * VirtualPathUtility.cs: new (partial implementation) to get some
1317 MS provider examples compiling.
1319 2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1321 * HttpContext.cs: added a new internal overload for ClearError.
1323 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1325 * HttpRuntime.cs: invoke callbacks on private items in the cache before
1326 calling disposing the app. factory. This way we get notifications of
1327 removal for all sessions stored in the cache (InProc only).
1329 2005-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1331 * HttpResponseStream.cs: reworked buffering so that adjacents blocks are
1332 written at once. Also fix bug #76460.
1334 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1336 * HttpResponseStream.cs: when allocating a chunk larger than the
1337 default chunk size, mark all the blocks as taken. Fixes bug
1340 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1342 * HttpResponse.cs: use HaveFilter instead of Filter.
1343 * HttpResponseStream.cs: allocate chunks of the requested size
1344 when it's > 32KB. Fixes bug #76460.
1346 2005-10-14 Sebastien Pouliot <sebastien@ximian.com>
1348 * ServerVariablesCollection.cs: Added a demand for
1349 SerializationFormatter on GetObjectData method (even if it's not
1350 really required in this case as it remove warnings from gendarme.
1352 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1355 * HttpRequest.cs: buglets in error checking in Filter.
1357 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1359 * OutputFilterStream.cs: proxy class for response filters.
1360 * HttpResponse.cs: moved all the actual write operations into the
1361 response stream. Handle response filtering. When caching, get the
1362 actual length of the data, not the buffer length.
1363 * HttpApplication.cs: if there's no error, invoke the filters before
1364 updating the request cache.
1365 * HttpResponseStream.cs: new Filter property. SendChunkSize is moved
1366 here and now supports writing the final chunk. New method ApplyFilter
1367 that filters the existing buckets and replaces them with the filtered
1368 ones. Modified Write to deal with buffering and filtering.
1370 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1372 * HttpResponseStream.cs: allow for writes of more than 32K at once.
1374 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1376 * InputFilterStream.cs proxy stream for use by filters.
1377 * HttpRequest.cs: implement input filtering.
1379 2005-10-02 Eyal Alaluf <eyala@mainsoft.com>
1380 * HttpApplication.jvm.cs - Workaround for use of yield in
1381 HttpApplication.cs HttpRuntime.cs: AppDomain.Unload is not supported
1384 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1386 * HttpResponseStream.cs: remove dead code.
1388 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
1390 * HttpClientCertificate.cs: Remove last TODO on IsValid. This now
1391 works when using XSP. Now use flags to determine valid/presence.
1393 2005-09-26 Chris Toshok <toshok@ximian.com>
1395 * HttpApplicationFactory.cs (OnAppFileChanged): add null checks
1396 for bin_watcher and app_file_watcher so we don't get NRE's here.
1398 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1400 * BrowserCapabilities.cs: don't rely on the win32 attribute to be there.
1401 Just use the platform to determine whether Win32 is true or not. Fixes
1404 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1406 * HttpApplication.cs: fixed typo when setting UI culture. Closes bug
1409 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1411 * HttpRequest.cs: new SetFilePath() that does not conflict with
1412 SetCurrentExePath. Now when transfering from a page to another,
1413 CurrentExecutionFilePath and FilePath are correct.
1415 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1417 * TraceContext.cs: add new method to store size of controls.
1418 * TraceData.cs: render control size.
1419 * HttpResponse.cs: new internal method to get the number of bytes of
1421 * HttpResponseStream.cs: added Length property to the Buckets and new
1424 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1426 * TraceData.cs: we have to change the method of getting a control render
1427 size. MS does not do this or otherwise would run into the same bug
1428 (#76051) that this patch fixes. This is temporarily setting the size
1431 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1433 * HttpResponseStream.cs: implemented Send(stream) for files. Fixes bug
1436 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1438 * HttpRuntime.cs: catch errors when compiling global.asax and
1439 initializing the application. Fixes bug #76090.
1441 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1443 * BrowserCapabilities.cs: Fixed changes (in 2.0) with versions. Fixed
1444 compare with "True" (culture and case sensitivity).
1445 * HttpApplicationState.cs: Added LinkDemand for Minimal. Use the
1446 internal HttpStaticObjectsCollection ctor to avoid the UnmanagedCode
1448 * HttpContext.cs: Added LinkDemand for Minimal. Added 2.0 properties
1449 and methods to test CAS on them.
1450 * HttpRequest.cs: Added LinkDemand for Minimal. Ensure we return
1451 proper values when worker_request is null.
1452 * HttpResponse.cs: Added LinkDemand for Minimal. Ensure we return
1453 proper values when context or WorkerRequest is null. Added 2.0
1454 properties and methods to test CAS on them.
1455 * HttpRuntime.cs: Added LinkDemand for Minimal. Added PathDiscovery
1456 demands for properties returning directories. Added demand for High
1457 level on AppDomainAppId and AppDomainId properties, Low level on
1458 IsOnUNCShare, Medium level on ProcessRequest and a demand for
1459 UnmanagedCode on UnloadAppDomain method. Constructor also has a
1460 UnmanagedCode demand for 1.x.
1461 * HttpStaticObjectsCollection.cs: Added LinkDemand for Minimal. Added
1462 a UnmanagedCode demand to public ctor. Added internal ctor without the
1463 demand. Changed Serialize and Deserialize methods to public for 2.0.
1465 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1467 * HttpWorkerRequest.cs: Removed TODO for 2.0 APIs and return the
1468 default values for them.
1470 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1472 * HttpApplication.cs: : Added LinkDemand and InheritanceDemand (class)
1473 for Minimal. Changed AssemblyLocation to a property (so it doesn't
1474 require special permission, PathDiscovery) to create an instance.
1475 Protected Modules property with a Demand for High level. Added some
1476 missing HttpException for null context.
1477 * HttpServerUtility.cs: Added LinkDemand for Minimal. Added demands
1478 for UnmanagedCode on all CreateObject* methods. Added demand for
1479 Medium level on MachineName and ScriptTimeout properties. Added new
1480 overloaded Transfer method (2.0) to test CAS on it.
1481 * HttpUtility.cs: Added LinkDemand for Minimal. Added [Obsolete] to
1482 ctor (2.0). Changed some return values when 'count' is 0. Added
1483 ParseQueryString (overload) methods for 2.0 (to enabled CAS testing on
1485 * HttpWorkerRequest.cs: Added LinkDemand and InheritanceDemand (class)
1486 for Minimal. Added RequestTraceIdentifier and RootWebConfigPath (2.0)
1487 properties, GetPreloadedEntityBody, GetPreloadedEntityBodyLength,
1488 GetTotalEntityBodyLength and ReadEntityBody (2.0) methods to test CAS
1489 on them. Fixed SendResponseFromMemory to ignore IntPtr.Zero (used in
1490 tests without failures).
1491 * ServerVariablesCollection.cs: Fixed loadServerVariablesCollection
1492 when HttpWorkerRequest is null.
1493 * TraceContext.cs: Added LinkDemand for Minimal. Fixed default Mode
1494 (SortByTime). Added new (2.0) TraceFinished event to test CAS on it.
1496 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1498 * HttpBrowserCapabilities.cs: Added LinkDemand and InheritanceDemand
1499 (class) for Minimal. Note that current MCS has problem compiling
1500 security attributes on partial class (bug #75969).
1501 * HttpCachePolicy.cs: Added LinkDemand for Minimal. Added 2.0 methods
1502 (stub) to enable CAS tests on them.
1503 * HttpCacheVaryByHeaders.cs: Added LinkDemand for Minimal.
1504 * HttpCacheVaryByParams.cs: Added LinkDemand for Minimal.
1505 * HttpClientCertificate.cs: Added LinkDemand and InheritanceDemand
1506 (class) for Minimal.
1507 * HttpCookie.cs: Added LinkDemand for Minimal.
1508 * HttpCookieCollection.cs: Added LinkDemand for Minimal.
1509 * HttpFileCollection.cs: Added LinkDemand for Minimal.
1510 * HttpModuleCollection.cs: Added LinkDemand for Minimal.
1511 * HttpPostedFile.cs: Added LinkDemand for Minimal.
1512 * HttpRequestPriority.cs: Fix enum values.
1513 * HttpWriter.cs: Added LinkDemand for Minimal.
1515 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1517 * ProcessInfo.cs: Added LinkDemand and InheritanceDemand (class) for
1519 * ProcessModelInfo.cs: Added LinkDemand and InheritanceDemand (class)
1520 for Minimal. Methods GetCurrentProcessInfo and GetHistory are also
1521 protected by Demand for High level.
1523 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1525 * HttpCompileException.cs: Added new public ctors and [Serializable]
1526 to 2.0. Added new Message property and GetObjectData (protected by a
1527 demand for SerializationFormatter) for 2.0. Fixed line-ending.
1528 * HttpException.cs: Added LinkDemand and InheritanceDemand (class) for
1529 Minimal. Renamed parameters to match documentation.
1530 * HttpParseException.cs: Added LinkDemand (class) for Minimal. Added
1531 demand for SerializationFormatter on GetObjectData method. Fixed
1533 * HttpRequestValidationException.cs: Added new public ctors and
1534 [Serializable] to 2.0. Added LinkDemand for Minimal.
1535 * HttpUnhandledException.cs: Added new public ctors and [Serializable]
1536 to 2.0. Removed unused internal ctor. Added LinkDemand for Minimal.
1539 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1541 * HttpResponseSubstitutionCallback.cs: New. 2.0 delegate.
1542 * TraceContextEventArgs.cs: New. 2.0 class.
1543 * TraceContextEventHandler.cs: New. 2.0 delegate.
1545 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1547 * HttpRequest.cs: use GetServerName instead of GetLocalAddress when
1550 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1552 * HttpRequest.cs: fix the indexer.
1554 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1556 * HttpPostedFile.cs: fixes in Seek and Position.
1558 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
1560 * HttpRequest.cs: Make sure the MemoryStream created have their
1561 contents marked as public - or else you can't call GetBuffer on them!
1563 2005-09-08 Miguel de Icaza <miguel@novell.com>
1565 * HttpRequest.cs: Patch from Juraj Skripsky <js@hotfeet.ch> that
1568 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1570 * HttpPostedFile.cs: Make this class actually work. Every time we read,
1571 we have to position the underlying stream.
1573 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1575 * HttpRequest.cs: reading multipart/form-data works again.
1577 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
1578 * HttpRequest.cs: Under TARGET_JVM the input stream must allow GetBuffer.
1580 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
1581 * HttpApplicationFactory.cs: TARGET_J2EE/JVM fix.
1583 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1585 * HttpRequest.cs: correctly detect multipart/form-data.
1587 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1589 * HttpApplicationFactory.cs: recycle after invoking session_end.
1591 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1593 * HttpRuntime.cs: remove Console.
1595 * HttpApplicationFactory.cs: don't hook Session_End, but keep
1596 the MethodInfo around for later invocation if needed. Don't call
1597 GetMethods() for every HttpApplication (or derived class) instances.
1598 Added a method, used by SessionStateModule, that will create use an
1599 application without context to invoke Session_End. Keep a pool of
1600 applications that are meant to be used by this method only.
1602 * HttpApplication.cs: add a SetSession method and do not
1603 attach all the events if the application is for Session_End only.
1605 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1607 * HttpRuntime.cs: actually unload the domain when requested. Reformatted
1608 FinishUnavailable() and removed the 'Location' header form the error.
1610 * HttpApplicationFactory.cs: set up the watcher for the bin directory.
1611 This also prevents a nullref when global.asax is changed.
1613 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1615 * HttpApplication.cs: fixed bug introduced when moving GetHandler call
1616 around. Now we get error pages again.
1618 2005-09-06 Miguel de Icaza <miguel@novell.com>
1620 * HttpApplication.cs: Catch EndRequest errors as well.
1622 2005-09-05 Miguel de Icaza <miguel@novell.com>
1624 * HttpApplication.cs: Invoke EndRequest handler before OutputPage
1625 as FormsAuthentication will issue a Redirect from the EndRequest
1628 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1630 * HttpApplication.cs: when writing an error message, catch the possible
1633 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1635 * HttpResponseStream.cs: prevent invalid cast exception if the first
1636 thing written is a file.
1638 2005-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1640 * HttpApplication.cs: fix invalid cast exception (bug #75926).
1642 2005-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1644 * HttpApplicationFactory.cs: only trigger the Application_Start event
1645 once. It was being invoked more than once when several clients were
1646 hitting the server at the same time on startup.
1648 2005-09-01 Eyal Alaluf <eyala@mainsoft.com>
1650 * HttpContext.cs HttpResponse.cs HttpWorkerRequest.cs HttpRuntime.cs
1651 HttpApplicationFactory.cs HttpApplication.cs: TARGET_J2EE/JVM fixes.
1652 Mostly workaround limited AppModel in TARGET_J2EE.
1654 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1656 * HttpResponse.cs: if the request method is HEAD, that's equivalent to
1657 SuppressContent. Added an internal TransmitFile that allows setting the
1659 * StaticFileHandler.cs: use the new internal TransmitFile and remove
1660 generation of Content-Length header, as now it's computed correctly.
1661 * HttpApplication.cs: remove debugging stuff.
1662 * HttpResponseStream.cs: suppress_content is checked in HttpResponse.
1664 2005-08-31 Miguel de Icaza <miguel@novell.com>
1666 Removed debugging info.
1668 * HttpApplication.cs: Add support for async handlers.
1670 Add extra 2.x methods.
1672 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1674 * BrowserCapabilities.cs: removed extra 'using'.
1676 * HttpApplication.cs: use just the 'modcoll' to hold the collection of
1677 modules instead of having a separate 'modules' one.
1679 2005-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1681 * HttpApplication.cs: clone the module collection so that
1682 it's not shared between HttpApplications. Call GetHandler() in the
1685 2005-08-30 Miguel de Icaza <miguel@novell.com>
1687 * HttpApplication.cs: Add the new 2.x method overloads that take a
1690 (RunHooks): Pass the extra data instead of null.
1692 * HttpCookie.cs (HttpOnly): Add 2.x cookie header.
1694 * BrowserCapabilities.cs: Move the core of the capabilities into a
1695 separate file. Use partial classes to choose what version to
1698 * HttpBrowserCapabilities.cs: Update to move the code elsewhere.
1700 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
1702 * HttpResponseStream.cs: Fix a bug introduced by last fix (thanks to
1705 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
1707 * HttpResponseStream.cs: Compilation fixes for TARGET_JVM. TARGET_JVM
1708 does not support unsafe code. I localized all unsafe code within Chunk
1709 & Block and created a managed version of Chunk.
1711 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
1712 * HttpApplicationFactory.cs: Compilation fixes for TARGET_J2EE. Under
1713 TARGET_J2EE static fields are shared by all app domains. We handle
1714 this difference by explicitly getting/setting values from the app
1715 domain. Since HttpApplicationFactory has many static fields, I
1716 refactored it to have one static instance and moved the static fields
1717 into instance fields.
1719 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
1721 * HttpRequest.cs: Disable use of IntPtrStream for TARGET_JVM
1723 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
1725 * HttpContext.cs: Compilation fixes for TARGET_J2EE/JVM
1727 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1729 * HttpResponse.cs: don't duplicate the 'charset=' and don't send a
1730 charset for unknown MIME types.
1731 * StaticFileHandler.cs: set the Content-Length header here.
1732 * HttpRequest.cs: prevent nullrefs when we have no 'charset='.
1734 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1736 * StaticFileHandler.cs: use TransmitFile instead of WriteFile. This way
1737 xsp will use sendfile().
1739 2005-08-28 Chris Toshok <toshok@ximian.com>
1741 * SiteMapNode.cs: fix IHierarchyData.GetParent.
1743 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1746 * IntPtrStream.cs: now we only have a read-only MemoryStream or an
1747 IntPtrStream. The copy is moved into HttpRequest.
1749 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
1751 * WebCategoryAttribute.cs: New. Required internal attribute.
1752 * WebSysDescriptionAttribute.cs: New. Required internal attribute.
1754 2005-08-26 Jackson Harper <jackson@ximian.com>
1756 * HttpResponseStream.cs: Use GetBuffer so the memory isn't
1759 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1761 * HttpApplication.cs: GetHandler might return null when, for example,
1762 a web service fails, but that does not mean that returning a null
1763 handler should throw another exception, as the web service code
1764 serialized the error as a faultString. So if the handler is null, just
1765 don't call ProcessRequest and keep going.
1767 2005-08-26 Jackson Harper <jackson@ximian.com>
1769 * HttpResponse.cs: Send the cached headers if this is a cached
1770 response. Save the headers, date header, and page data. Fix a typo.
1771 * HttpResponseStream.cs: Add new accesor to get a byte [] of the
1774 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1776 * HttpWorkerRequest.cs: SetEndOfSendNotification is a noop. No matter
1777 what callback you use that never gets called. In XSP I actually
1778 implement something for this method.
1779 * HttpServerUtility.cs: unused variable.
1781 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1783 * HttpInputStream.cs: new ctor that takes a byte [].
1784 * IntPtrStream.cs: make it work on a byte [] too.
1787 (ContentLength): return 0 for negative numbers or error parsing, but
1788 keep content_length negative in those cases.
1789 (MakeInputStream): when there's no content-length (or it's negative),
1790 we still read the request into a MemoryStream. Use
1791 IsEntireEntityIsPreloaded() as a fast path.
1793 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1795 * HttpClientCertificate.cs: On 1.x the .ctor throws a
1796 ArgumentNullException (but 2.0 throws a NRE).
1798 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1800 * HttpRequest.cs: HttpMethod deserves its own field. Fix IsLocal.
1802 2005-08-25 Chris Toshok <toshok@ximian.com>
1804 * HttpApplication.cs (IsReusable): return true.
1805 (InitOnce): remove the initialization of handler_factory from
1807 (GetHandler) and move it here, so we make sure to load handlers
1808 from all needed web.config files.
1810 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1812 * HttpServerUtility.cs: use GetHandler().
1813 * HttpApplication.cs: remove obsolete method. Now Transfe/Execute work.
1815 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1817 * HttpApplication.cs: no need for the local var. here.
1819 2005-08-25 Chris Toshok <toshok@ximian.com>
1821 * HttpApplication.cs (InitOnce): move the initialization of
1822 modules above the call to HttpApplicationFactory.AttachEvents,
1823 since that method accesses HttpApplication.Modules. Fixes
1825 (IsReusable): mark TODO.
1827 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1829 * HttpResponseHeader.cs: removed obsolete class.
1830 * HttpResponse.cs: no more 'obsolete' warnings.
1832 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1834 * HttpRuntime.cs: implemeted some missing properties.
1836 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1838 * HttpResponse.cs: implemented RemoveOutputCacheItem().
1840 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1842 * HttpApplication.cs: implemented GetVaryByCustomString().
1844 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1846 * HttpRequest.cs: implemented SetHeader (allows adding a header
1847 circumventing the read-only protection of the collection) and SetForm,
1848 which just assigns a value of the 'form' collection.
1849 * HttpServerUtility.cs: NameValueCollection -> WebROCollection.
1851 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1854 * HttpRequest.cs: implemented RewritePath and supporting methods.
1856 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
1858 * HttpRequest.cs: Avoid NRE if work_request if null in the ctor.
1859 * HttpResponse.cs: Avoid NRE if work_request if null in the ctor.
1861 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1863 * HttpApplication.cs: if there's any exception thrown when getting the
1864 handler, don't add an extra error to the context, as we already have
1867 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1871 * HttpWorkerRequest.cs:
1872 * HttpApplication.cs: added mising attributes and enabled methods
1875 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1877 * WebROCollection.cs: a collection that allows setting IsReadOnly.
1878 * HttpRequest.cs: implemented MapImageCoordinates(). Use WebROCollection
1879 instead of a NameValueCollection in Form, Headers, Params, QueryString.
1881 2005-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1883 * HttpInputStream.cs: new copy ctor.
1884 * IntPtrStream.cs: getters for base_address and size.
1885 * HttpRequest.cs: implemented SaveAs(). Use a wrapper on top of
1886 InputStream so that reading POST form or files does not modify the state
1887 if InputStream. Don't use uri_builder.Query in QueryStringRaw, as it
1890 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1892 * HttpRequest.cs: implemented UserLanguages and reuse code from
1895 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1897 * HttpRequest.cs: implemented AcceptTypes.
1899 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1901 * HttpRequest.cs: implemented this[] in terms of Params. Don't add the
1902 header collection in Params.
1904 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1906 * HttpRequest.cs: fix Files property.
1907 * HttpApplication.cs: invoke the default authentication event after all
1908 the other auth. modules.
1910 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1912 * ServerVariablesCollection.cs: mark the collection as read-only except
1913 when we fill it. Add the HTTP_blah key/value pairs too.
1915 2005-08-18 Chris Toshok <toshok@ximian.com>
1917 * HttpRequest.cs (get_Params): implement.
1919 2005-08-17 Chris Toshok <toshok@ximian.com>
1921 * HttpResponse.cs: HttpResponse's Cookie's collection acts
1922 differently than HttpRequests in that it never returns null from
1923 the "this [string]" accessor.
1925 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1927 * HttpRequest.cs: check length 0 case when reading a POST.
1929 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1931 * HttpContext.cs: added security attributes for User and
1932 SkipAuthorization properties.
1933 * HttpApplicationFactory.cs: AttachEvents is now called form the
1934 application .ctor. Recycle instead of dispose.
1935 * HttpApplication.cs: attach events to the newly created application.
1937 2005-08-15 Jackson Harper <jackson@ximian.com>
1939 * ApplicationShutdownReason.cs: make build
1941 2005-08-15 Miguel de Icaza <miguel@novell.com>
1943 * HttpApplication.cs: Update comments
1945 * HttpPostedFile.cs: Use a substream to read from the uploaded
1948 * HttpRequest.cs: use new code to read the uploaded files.
1950 2005-08-12 Miguel de Icaza <miguel@novell.com>
1952 2.x API fixage and small additions:
1954 * HttpResponse.cs: Make constructor internal.
1956 * HttpRequest.cs (IsLocal): Expose if NET_2.x
1958 * HttpContext.cs: Remove internal routine.
1960 * HttpApplication.cs: Add 2.x events.
1962 * HttpRequest.cs: Another iFolder issue: I was not setting up the
1965 Fixes to get iFolder to work:
1967 * HttpApplicationFactory.cs: Set the context when we are initting
1970 * HttpApplication.cs (SetContext): helper routine.
1972 * HttpResponse.cs: Implement the various cache operations:n
1973 Expires, ExpiresAbsolute, CacheControl.
1975 Actually produce the Cache-Control header, the "Cache" property
1976 takes precedence over the compatibility settings (Expires,
1977 ExpiresAbsolutely and CacheControl).
1979 * HttpCachePolicy.cs: Fix style.
1981 Fix the generation of the headers, use lower-case values, do not
1982 add the max-value if the value is zero.
1984 Allow for all possible values in SetCacheability.
1986 * HttpRuntime.cs (ClrInstallDirectory): Implement.
1988 * HttpResponseStream.cs: Remove debugging stuff.
1990 2005-08-11 Miguel de Icaza <miguel@novell.com>
1992 Big chunked handling rewrite, and integration of Ben's unmanaged
1995 * HttpWriter.cs: Delegate chunked encoding writing to the
1998 * HttpResponse.cs: Rework the chunked encoding system, centralize
2001 * HttpResponseStream.cs: Deploy Ben's bucket-base unmanaged
2004 Changed the way that we handle chunked encoding, centralize it
2007 Remove a lot of manual handling of buffering turned off, and
2008 instead delegate it all to Flush, fixes several issues with the
2011 * HttpWorkerRequest.cs (SendResponseFromMemory (IntPtr, int)):
2012 Provide a default implementation since currently XSP does not have
2013 this method implemented.
2015 2005-08-11 Sebastien Pouliot <sebastien@ximian.com>
2017 * HttpClientCertificate.cs: Culture insensitive int parsing. Fixed
2020 2005-08-10 Miguel de Icaza <miguel@novell.com>
2022 * ServerVariablesCollection.cs: For Ben. Implement the header
2023 fetching here, do not implement it in HttpRequest.cs.
2025 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
2027 * HttpClientCertificate.cs: Changed IsPresent logic so that new unit
2028 tests will work as expected.
2030 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
2032 * HttpClientCertificate.cs: Implemented, except for validation. Note
2033 that the HttpWorkerRequest derived classes must be updated to supply
2034 the required informations.
2035 * HttpRequest.cs: Create an HttpClientCertificate on first call to
2038 2005-08-09 Miguel de Icaza <miguel@novell.com>
2040 * HttpRuntime.cs (AspInstallDirectory): Implement.
2042 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
2044 * HttpClientCertificate.cs: New. Stub. It won't be fun to test.
2046 2005-08-04 Ben Maurer <bmaurer@ximian.com>
2048 * HttpContext.cs: Kill a NIE.
2050 2005-08-04 Miguel de Icaza <miguel@novell.com>
2052 * HttpApplicationFactory.cs: Change "Start" event like the "End"
2053 event, and only do this once, when we init the type.
2055 Fire the "Application_Start" event after we create the type.
2057 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2059 * HttpApplication.cs: catch a ThreadAbort (coming from Response.End)
2062 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2064 * HttpResponse.cs: setting the Status property resets the
2065 StatusDescription (see the tests) and the default value for the
2066 description is the one provided by GetStatusDescription() in
2069 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2071 * HttpRequest.cs: s/boundry/boundary/ and fix typo in array creation.
2073 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2075 * HttpApplication.cs: add call to EndOfRequest when everything is said
2078 2005-08-02 Miguel de Icaza <miguel@novell.com>
2080 * HttpResponse.cs: Stub for TransmitFile.
2082 * HttpRequest.cs (IsAuthenticated): Implement.
2084 2005-08-01 Miguel de Icaza <miguel@novell.com>
2086 * HttpRequest.cs: Cope with implementations of HttpWorkerRequest
2087 (unpatched xsp) that do not send back the PreloadedEntityBody.
2089 * HttpApplication.cs: keep track of the factory.
2090 (Dispose): Only dispose once, clean up other variables, release
2091 the ManualResetEvent.
2092 Release the handler to the factory.
2094 * HttpApplicationFactory.cs: Implement a stack to reuse the
2097 * HttpRequest.cs: On uploads, if the ContentLenght is zero, throw
2100 * HttpRuntime.cs: Recycle the application after using it.
2102 * HttpPostedFile.cs: Implement SaveAs.
2104 * HttpContext.cs: Return the "Server" property.
2106 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2108 * HttpServerUtility.cs: implemented missing bits.
2110 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2112 * HttpRequest.cs: query string was getting a '?' as the start of the
2113 first variable name. This makes the asmx help page work again.
2115 2005-08-01 Miguel de Icaza <miguel@novell.com>
2117 * HttpRequest.cs (Cookies, Forms): Add validation.
2118 (Forms): Add application/x-www-form-urlencoded parsing and
2119 multipart/form-data parsing.
2121 (HttpMultiPart): Implement new class to load multi-part data from
2122 a stream since there is no longer a byte [] that holds the data
2123 (currently we have an unmanaged IntPtr buffer wrapped as a
2124 stream). Also the 2.x framework will add support for large
2125 uploads which are sent directly to disk, which will require the
2126 FileStream interface.
2128 (Path, PathInfo): Fill a couple more methods to avoid crashes.
2130 * HttpContext.cs: Fill another one to get web services summary
2131 page painting. The page does not work though.
2133 * HttpApplication.cs: Rework the pipeline to not depend on
2134 `finally', as `finally' would not be invoked if we choose not to
2135 call the pipeline again (which happens if the `stop' variable is
2138 Instead force the pipeline to go to the shutdown, and yield from
2139 there after all the release-state callbacks have been invoked.
2141 2005-07-31 Miguel de Icaza <miguel@novell.com>
2143 * HttpApplication.cs: Remove debugging messages since the compiler
2146 You must use at least mcs from revision 47879 for the application
2149 2005-07-30 Miguel de Icaza <miguel@novell.com>
2151 * HttpContext.cs: Error handling methods.
2153 * HttpResponse.cs: Trigger the last event.
2155 * HttpRuntime.cs: Add queueing of the next request.
2157 * HttpApplication.cs: Deploy the new yield-based application
2158 pipeline, add error handling to the pipeline.
2160 * HttpApplication.cs (AsyncRequestState): Just use the done event
2163 2005-07-29 Miguel de Icaza <miguel@novell.com>
2165 * HttpResponseStream.cs, HttpRequest.cs: Fix bugs found by nunit.
2167 * HttpApplication.cs: Fix a race condition.
2169 * HttpResponseStream.cs: Fix bug, send the size of the buffer that
2170 we have so far instead of the internal size of the buffer. This
2171 will need work later to ensure we enforce the Content-Length
2172 maximum output size if set.
2174 * ServerVariablesCollection.cs: This class now inherits from
2175 NameValueCollection, we should probably review what the middle
2176 class did, there are no dependencies on it.
2178 I need to write tests to investigate if something is missing or
2179 has changed in this implementation.
2181 2005-07-27 Miguel de Icaza <miguel@novell.com>
2183 * HttpRequest.cs: No happy replies here, send a 411.
2185 2005-07-27 Chris Toshok <toshok@ximian.com>
2187 * HttpResponseHeader.cs: remove spew.
2189 2005-07-27 Chris Toshok <toshok@ximian.com>
2191 * HttpResponseHeader.cs (HttpResponseHandler..ctor): use
2192 HttpWorkerRequest.GetKnownResponseHeaderName instead of
2193 GetKnownRequestHeaderName. Fixes Response.Redirect until miguel's
2194 new HttpReponse is online.
2196 2005-07-26 Miguel de Icaza <miguel@novell.com>
2198 * HttpResponse.cs: use_chunked is now a byte-array, if not null,
2199 we use it to hold the size of the chunked so we do not have to
2200 allocate many of these.
2201 (SendSize): Helper routine to send the chunked headers.
2202 (BinaryWrite): First user of the chunked writer.
2204 * HttpApplication.cs: Do not crash if they request a Server
2205 instance, but throw a NotImplementedException.
2207 * HttpRequest.cs: fix a few problems exposed by the regression
2210 * HttpRequest.cs (Cookies): use Chris' new constructor to get the
2213 : The big Uri rework: instead of using QueryString
2214 as the population mechanism, populate an UriBuilder from the
2215 various HttpWorkerRequest methods.
2217 * HttpWorkerRequest.cs (GetProtocol): Implement in terms of
2220 * HttpResponse.cs: Pointed by Ben, Write (null) is a nop instead
2223 * HttpContext.cs: Add a couple of properties to help the 2.x
2226 * HttpResponse.cs: Make ContentLength a long, add back support for
2227 session's app_path_mod.
2228 (ApplyAppPathmodifier): put back.
2229 (End): Pass a flag to abort so we can tell the exceptions appart
2231 (WriteHeaders): Send the HTTP status.
2232 (Redirect): Implement.
2233 (Write): Use the Output property to load writer when needed.
2235 * HttpRequest.cs (ctor): Temporary use of InitFromWR, will fix
2237 (MakeInputStream): check content-length size, use routines to load
2238 the preloaded data, handle incomplete transfers.
2239 (Query): Do not insert null keys into the collection.
2241 (UrlReferer): implement.
2243 * HttpApplication.cs (RunHooks): Catch Thread.Abort, and call
2244 Thread.ResetAbort after each step.
2246 Ensure that ReleaseState is called if we ever succeed in acquiring
2247 the state even if we have stopped the request pipeline.
2249 Report file not found, directory not found.
2251 2005-07-25 Miguel de Icaza <miguel@novell.com>
2253 * HttpCookieCollection.cs: Add expiration of the cookie.
2255 * HttpRequest.cs: Add check for ContentLength, use
2256 GetPreloadedEntityBody, correct number of bytes uploaded.
2258 2005-07-21 Miguel de Icaza <miguel@novell.com>
2260 * HttpResponseHeader.cs: Our implementation of HttpResponse only
2261 uses the text headers, does not use any constants as XSP would go
2262 through a slower code path anyways.
2264 2005-07-21 Chris Toshok <toshok@ximian.com>
2266 * HttpBrowserCapabilities.cs: enable support for the W3CDomVersion
2267 and EcmaScriptVersion properties.
2269 2005-07-21 Chris Toshok <toshok@ximian.com>
2271 * HttpResponseHeader.cs: hi, i'm stupid and missed String.Replace.
2273 2005-07-21 Chris Toshok <toshok@ximian.com>
2275 * HttpResponseHeader.cs: url encode just \r and \n if they're
2276 present in the value.
2278 2005-07-20 Chris Toshok <toshok@ximian.com>
2280 * HttpPostedFile.cs: add missing ContentLength property.
2282 2005-07-20 Chris Toshok <toshok@ximian.com>
2284 * HttpCookieCollection.cs: add a new ctor that takes a string (the
2285 contents of the Cookies: header).
2287 2005-07-20 Chris Toshok <toshok@ximian.com>
2289 * HttpCookieCollection.cs: add another ctor (internal, but not
2290 obsolete, so we aren't passing a stupid HttpResponse in in order
2291 to change the behavior of the collection.)
2293 * HttpCookie.cs: init this.values in the internal ctor.
2295 2005-07-20 Chris Toshok <toshok@ximian.com>
2297 * HttpCookieCollection.cs: use "auto-fill mode" when we're dealing
2298 with an HttpResponse's cookie collection. That is, create the
2299 cookie if the consumer looks it up.
2301 2005-07-20 Miguel de Icaza <miguel@novell.com>
2303 * HttpApplication.cs: Ongoing work on pipeline, I will need to
2306 2005-07-19 Miguel de Icaza <miguel@novell.com>
2308 * HttpContext.cs (GetService): Implement. Return all of the
2309 properties that we have access to. Make HttpWorkerRequest the
2310 first match as this is the only likely reason people need to use
2313 * IntPtrStream.cs: Bring from corlib.
2315 * MultiPartContentParser.cs: use a MemoryStream as HttpInputStream
2316 will now be using IntPtrStream.
2318 * HttpRequest.cs (MakeInputStream): move code that loads the
2320 (CloseInputStream): Helper method that we will call later to
2321 ensure that we dispose properly the malloced() block.
2322 (BinaryRead): Implemented.
2324 * HttpInputStream.cs: Rewrite to be a descendant of
2327 2005-07-18 Miguel de Icaza <miguel@novell.com>
2329 * HttpApplication.cs (Modules): Add modules support and
2332 2005-07-18 Chris Toshok <toshok@ximian.com>
2334 * HttpResponseHeader.cs: initial implementation.
2336 2005-07-18 Chris Toshok <toshok@ximian.com>
2338 * HttpModuleCollection.cs (HttpModuleCollection.GetKey): add
2341 * HttpFileCollection.cs: initial implementation.
2343 2005-07-18 Chris Toshok <toshok@ximian.com>
2345 * HttpModuleCollection.cs (HttpModuleCollection.CopyTo): implement
2348 2005-07-18 Chris Toshok <toshok@ximian.com>
2350 * HttpModuleCollection.cs: initial implementation.
2352 2005-07-18 Chris Toshok <toshok@ximian.com>
2354 * HttpCacheVaryByHeaders.cs: only add the header if it's not
2355 already in the hash.
2357 * HttpCacheVaryByParams.cs: only add the param if it's not already
2360 2005-07-18 Chris Toshok <toshok@ximian.com>
2362 * HttpCookie.cs (HttpCookie+CookieNVC.Set): new override to fix an
2365 2005-07-17 Miguel de Icaza <miguel@novell.com>
2367 * HttpRequest.cs (Headers, InputStream): implemented two more
2370 * HttpInputStream.cs: All we need is a MemoryStream with writable
2373 * HttpPostedFile.cs: Use a Stream.
2375 2005-07-16 Chris Toshok <toshok@ximian.com>
2377 * HttpCacheVaryByHeaders.cs: make sure we set vary_by_unspecified
2378 = false in the custom setter.
2380 2005-07-16 Chris Toshok <toshok@ximian.com>
2382 * HttpCacheVaryByParams.cs: initial implementation.
2384 2005-07-16 Chris Toshok <toshok@ximian.com>
2386 * HttpCacheVaryByHeaders.cs: initial implementation.
2388 2005-07-15 Chris Toshok <toshok@ximian.com>
2390 * HttpCookie.cs: one more time.
2392 2005-07-15 Chris Toshok <toshok@ximian.com>
2394 * HttpCookie.cs (HttpCookie.GetCookieHeader): use
2397 2005-07-15 Chris Toshok <toshok@ximian.com>
2399 * HttpCookie.cs (HttpCookie.GetCookieHeader): implement to fix
2402 2005-07-15 Chris Toshok <toshok@ximian.com>
2404 * HttpCookieCollection.cs: initial implementation (with a couple
2405 of labeled inefficiencies.)
2407 2005-07-15 Chris Toshok <toshok@ximian.com>
2409 * HttpCookie.cs (HttpCookie.get_HasKeys): use values.HasKeys()
2410 instead of trying to be smart about it ourselves.
2412 2005-07-15 Chris Toshok <toshok@ximian.com>
2414 * HttpCookie.cs: initial implementation. we fail one unit test,
2415 but it might be due to a bug in NameValueCollection.
2417 2005-07-15 Miguel de Icaza <miguel@novell.com>
2421 2005-07-14 Miguel de Icaza <miguel@novell.com>
2423 * HttpRuntime.cs: Return a few of the values from the AppDomain
2426 Put the application shutdown process.
2428 * HttpApplicationFactory.cs (AddEvent): Fixed bug when more than
2431 (FireEvent): Do not ignore errors.
2433 * HttpContext.cs (GetAppConfig, GetConfig): First success, use
2434 ConfigurationSettings.GetConfig to get the value that QueueManager
2437 2005-07-14 Dick Porter <dick@ximian.com>
2439 * HttpPostedFile.cs: New basic implementation; needs someone to
2440 figure out what a HttpRequestStream does
2442 2005-07-13 Miguel de Icaza <miguel@novell.com>
2444 * HttpRequest.cs: More work on this file
2446 * HttpRequest.cs, HttpApplication.cs, HttpContext.cs,
2447 HttpRuntime.cs: New from scratch implementation.
2449 2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
2451 * SiteMap.cs: Read provider info from the configuration files.
2453 2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2455 * HttpResponseHeader.cs: URL encode \r and \n in header values. Fixes
2458 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2460 * HttpUtility.cs: fix another stupid buglet in htmldecode.
2462 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2466 * HttpRequest.cs: use StrUtils (invariant culture).
2468 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2470 * HttpRequest.cs: use StartsWith when looking for 'multipart/form-data'.
2471 File uploading was broken since a few commits ago.
2473 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2475 * HttpResponse.cs: ensure that the last chunk ('0\r\n\r\n') is sent
2476 even if response.Close is called before a final flush. MS/IIS fails to
2479 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2481 * HttpRequest.cs: don't print anything for unknown content types in
2482 ParseFormData. Use lowercase compare.
2484 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2486 * HttpResponse.cs: invariant love.
2488 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2490 * HttpResponse.cs: avoid 1 string concat.
2491 * HttpRequest.cs: fix BinaryRead. It was totally wrong.
2493 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2495 * HttpUtility.cs: don't append an extra 0 when no digits seen. Fixes
2498 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2500 * HttpUtility.cs: the lower limit for using &#xx; encoding is 160, not
2501 128. Reset number back to 0 after use. Fixes bug #75365.
2503 2005-06-19 Svetlana Zholkovsky <svetlanaz-at-mainsoft.com>
2504 * In following classes added TARGET_J2EE or/and TARGET_JVM
2509 - CapabilitiesLoader.cs
2510 - HttpApplication.cs
2511 - HttpApplicationFactory.cs
2515 * Added Mainsoft's specific files :
2516 - GhHttpAsyncResult.jvm.cs
2518 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2520 * HttpRequest.cs: avoid one intermediate buffer when reading the request
2521 body and fail for over limit content length when the content type is
2522 not handled as form or multipart data.
2524 2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2526 * HttpResponse.cs: fix the check in Close() so that CloseConnection is
2527 called even if there has been no final Flush. Fixes bug #75176.
2529 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2531 * HttpParseException.cs:
2533 * HttpApplication.cs: updates for 1.1 service pack.
2535 2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2537 * HttpUtility.cs: fix InvalidCastException.
2539 2005-06-05 Korn__l P__l <kornelpal@hotmail.com>
2541 * HttpWriter.cs: Fixed: _OutputFilter.Close () was called twice.
2543 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2545 * HttpUtility.cs: modified HtmlDecode so that it does not need to call
2546 Int32.Parse and handles improper &# sequences. Fixes bug #74907.
2548 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
2550 * SiteMapNodeCollection.cs: Implemented missing methods. The collection
2551 does not inherit from CollectionBase any more.
2552 * SiteMapNode.cs: Track api changes.
2553 * SiteMapProvider.cs: Moved several methods to the new
2554 StaticSiteMapProvider class. Other fixes.
2555 * XmlSiteMapProvider.cs: Watch changes in the xml files. Other fixes.
2556 * SiteMapProviderCollection.cs: Minor fixes.
2557 * SiteMap.cs: Added missing event. Avoid double check lock.
2558 * StaticSiteMapProvider.cs: New class that implements some of the
2559 funtionality of SiteMapProvider.
2561 2005-05-25 Ben Maurer <bmaurer@ximian.com>
2563 * MimeTypes.cs: Remove extra spaces, they were typos. Fixes 75049.
2565 2005-05-13 Atsushi Enomoto <atsishi@ximian.com>
2567 * HttpUtility.cs : UrlDecodeToBytes() incorrectly decoded escaped
2568 characters. Patch by Kazuki Oikawa.
2570 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2572 * HttpRuntime.cs: PlatformID.Unix.
2574 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2576 * HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
2577 Clear the _Headers array instead of creating a new ArrayList in
2580 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2582 * HttpResponse.cs: we had 2 variables to track client connection status.
2583 Use only one. Increase the buffer size to 28KB when writing from a file.
2585 * StaticFileHandler.cs: set the Content-Type before writing the file.
2586 This allows flushing before all the content is written.
2588 * HttpApplication.cs: use the variable instead of the property when
2589 setting the Principal for the current process.
2591 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2593 * ReusableMemoryStream.cs:
2594 * HttpWriter.cs: keep a pool of buffers to avoid allocations.
2596 2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2598 * HttpResponse.cs: no need to save/restore the thread culture when
2599 getting the Date header. According to Ben's profiling, this is a big
2600 deal in performance.
2602 * HttpRuntime.cs: ignore exceptions that might be thrown when unloading
2605 2005-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2607 * HttpApplicationFactory.cs: ignore any exception thrown when invoking
2608 an application event.
2610 2005-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2612 * HttpBrowserCapabilities.cs: fix Win32 property.
2614 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2616 * HttpResponse.cs: only add the charset when explicitly set or for
2617 well-known content types.
2619 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2621 * HttpCachePolicy.cs:
2622 * HttpAsyncResult.cs:
2623 * HttpClientCertificate.cs:
2626 * HttpCacheVaryByHeaders.cs:
2627 * HttpBrowserCapabilities.cs:
2629 * HttpCacheVaryByParams.cs: no more warnings.
2631 * QueueManager.cs: check for local connections with minLocalFreeThreads.
2633 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2635 * ServerVariablesCollection.cs: shuffled variables, added missing ones
2636 and call a method in HttpRequest to set the HTTP_ variables.
2638 * HttpRequest.cs: new method to add HTTP_ variables to a collection.
2640 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2642 * HttpRequest.cs: GetAllHeaders was returning the value twice instead
2643 of 'name: value'. When HTTP_ is requested on the output, don't include
2646 2005-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2648 * HttpCookieCollection.cs: when adding more than one cookie with the
2649 same name, the last one is the winner.
2651 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2653 * HttpRequest.cs: correctly store the value cookies in Params. Fixes
2656 2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2658 * HttpRequest.cs: Path and FilePath also change when RewritePath is
2659 called. Fixes bug #73055.
2661 2005-02-23 Sebastien Pouliot <sebastien@ximian.com>
2663 * HttpRequest.cs: Make sure that any access after a ValidateInput
2664 throws an exception if the data isn't safe.
2666 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2668 * CapabilitiesLoader.cs: fix the path, as machine.config is now in a
2669 x.x/ directory below $PREFIX/etc/mono.
2671 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2673 * HttpRequest.cs: fail on unicode full-width '<' and '>' too. Fixes
2674 a security report (http://secunia.com/advisories/14325) that wan't
2675 reported to us before public disclosure.
2677 2005-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2679 * HttpResponse.cs: send the calculated content length even when it's 0.
2682 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
2684 * HttpContext.cs: Added internal property to keep a reference to
2685 the last accessed page. Page uses this to implement PreviousPage.
2687 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
2689 * ProcessModelInfo.cs: Fixed warning.
2691 2005-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2693 * TraceContext.cs: writing a message without any other argument is not
2694 a warniing. Fixes bug #72017.
2696 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2698 * HttpApplication.cs: if there are no more handlers, finish the
2699 request and ensure we call Complete on it. Now FreeTextBox 3.0 works.
2701 2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2703 * HttpRequest.cs: honor the maxRequestSize limit from machine.config.
2705 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2707 * HttpApplication.cs: reread application CultureInfo as web.config
2708 might have changed. Fixes bug #62539.
2710 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2712 * HttpResponse.cs: fixed ApplyAppPathModifier to insert the session ID.
2714 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2716 * HttpApplicationFactory.cs: monitor changes in global.asax and bin
2717 directory and shutdown the application when that happens. Fixes bug
2720 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2722 * ReusableMemoryStream.cs: copied from System.IO.MemoryStream and
2723 slightly modified to allow expanding the buffer for cases on which the
2724 regular MemoryStream don't allow it.
2726 * HttpWriter.cs: use the new ReusableMemoryStream and fix bug #59841.
2727 Otherwise we would have to allocate a new MemoryStream...
2729 2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2731 * HttpApplication.cs: Create() is now GetInstance().
2733 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
2735 * SiteMapNodeCollection.cs: Added missing properties.
2736 * HttpParseException.cs: Added 2.0 methods and properties.
2737 * SiteMapNode.cs: Added missing methods and properties.
2738 * SiteMapProvider.cs, XmlSiteMapProvider.cs,
2739 SiteMapProviderCollection.cs: IProvider does not exist any
2740 more, it is now ProviderBase.
2741 * ISiteMapProvider.cs: Deleted.
2742 * ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
2744 * SiteMap.cs: Minor fixes.
2746 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
2748 * SiteMapProviderCollection.cs: Fixed warning.
2749 * HttpApplication.cs: Added new 2.0 events.
2751 2004-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2753 * HttpResponse.cs: added internl SetHeadersSent.
2754 * HttpRuntime.cs: don't throw the 'headers already sent' exception
2755 if we're sending a runtime error.
2757 2004-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2759 * HttpApplication.cs: undo the TimeoutManager.(Add|Remove) shuffling.
2760 It causes troubles under heavy load.
2762 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2764 * SiteMap.cs: don't lock on Type.
2765 * CapabilitiesLoader.cs: avoid 2 locks when loading data.
2767 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2769 * HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
2770 presence of rewriting.
2772 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2774 * HttpApplication.cs: don't hang if a sync step is aborted. Fixes the
2775 system.web portion of bug #68270.
2777 2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2779 * TraceContext.cs: don't cast to Page is the handler it's
2782 2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2784 * HttpRequest.cs: CurrentExecutionFilePath is the one that
2785 changes when Transfer or Execute are used, not FilePath.
2787 * HttpServerUtility.cs: moved form saving/restoring from
2788 Transfer to Execute, as it's needed there too. the query string is
2789 correctly set now. Fixes bug #67388.
2791 * HttpContext.cs: use SetCurrentExePath instead of SetFilePath.
2793 2004-10-03 Ben Maurer <bmaurer@ximian.com>
2795 * HttpResponse.cs: use UtcNow
2797 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2799 * HttpResponse.cs: SuppressContent does not throw and clears all the
2800 buffered output. Fixes bug #67213.
2802 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2804 * HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.
2806 2004-09-29 Ben Maurer <bmaurer@ximian.com>
2808 * HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.
2810 2004-09-25 Ben Maurer <bmaurer@ximian.com>
2812 * HttpApplication.cs: Make sure requests are removed from
2813 the timeout manager. Fixes a major leak. #66751.
2815 2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2817 * HttpApplicationFactory.cs:
2818 * HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
2821 2004-09-12 Ben Maurer <bmaurer@ximian.com>
2823 * HttpContext.cs: use CallContext. It is a little bit faster.
2825 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2827 * HttpStaticObjectsCollection.cs: don't share static session objects
2828 declared in the application file across the application, but on a
2829 per-session basis. Fixes bug #65446.
2831 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2833 * HttpServerUtility.cs: in Transfer(path), don't keep form data if
2834 the transfer is done from inside a page that received a postback.
2837 2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2839 * HttpValueCollection.cs: fixed signature of ToString (). Closes bug
2842 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
2844 * HttpWriter.cs (.ctor): Dont create teh StreamWriter twice
2845 (Clear): Don't recreate the MemoryStream and StreamWriter
2847 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2849 * HttpApplication.cs: only add/remove to/from the timeout
2850 manager when we're in a interruptible step.
2852 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2854 * TraceContext.cs: when IsEnabled has not been set, return the value
2855 from the TraceManager. Fixes bug #63469.
2857 2004-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2859 * HttpRuntime.cs: initialize the response writer when finishing a
2860 request because it cannot be queued. Under heavy load we made new
2861 requests be processed before the ones that might be queued. This is
2864 * QueueManager.cs: instead of queueing/dequeuing separately, we now
2865 have a single method that does everything needed to decide which one
2866 will be the next request processed.
2868 2004-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2870 * HttpRuntime.cs: removed initializations to null in .cctor. Prevent
2871 other requests from avoiding the lock if they are received before the
2872 configuration system is inited. Ensure that the queue manager is not
2873 null before using it (it can be null while the first request is being
2876 2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2878 * HttpServerUtility.cs: ensure we have a full virtual path for the
2879 request being executed.
2881 2004-08-02 Duncan Mak <duncan@ximian.com>
2883 * ApplicationShutdownReason.cs: Fixed typos.
2885 * HttpCookieMode.cs:
2886 * HttpDataTransferMode.cs:
2887 * HttpRequestPriority.cs: Added [Serializable] attribute.
2889 2004-08-02 Duncan Mak <duncan@ximian.com>
2891 * ApplicationShutdownReason.cs:
2892 * HttpCookieMode.cs:
2893 * HttpDataTransferMode.cs:
2894 * HttpRequestPriority.cs: Added 2.0 enumerations.
2896 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2898 * HttpApplication.cs: the file not found might be a dependency.
2900 2004-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2902 * HttpCookie.cs: use invariant when formatting expires date. Fixes bug
2905 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2907 * HttpApplication.cs: don't keep the session around if we got it from
2908 the context. Fixes bug #61232.
2910 2004-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2912 * HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
2915 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2917 * TraceContext.cs: added internal HaveTrace property whose
2918 value is true when the page has a Trace attribute.
2920 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2922 * TraceData.cs: fixed <br> output. Closes bug #60181.
2924 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2926 * HttpUtility.cs: check for control characters in the string to encode
2927 or decode and return the same string if there are none.
2929 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2931 * HttpApplication.cs: change/restore the IPrincipal in their own methods
2932 and make them internal.
2934 2004-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2936 * HttpContext.cs: reverting Pedro's patch and sending mail with test
2939 2004-06-09 Pedro Martnez Juli <yoros@wanadoo.es>
2941 * HttpContext: User property returns its own "user" value because
2942 the context can walk through different Threads. When "User" property
2943 is changed, change "Thread.CurrentPrincipal" too.
2945 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2947 * HttpRequest.cs: removed extra ^Ms and fixed style of last patch.
2949 2004-06-08 Alon Gazit <along@mainsoft.com>
2951 * HttpRequest.cs: Add a patch for HttpRequest.ServerVariables.
2953 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
2955 * HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
2956 Fix (at least partially) #59683.
2958 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2960 * HttpRequest.cs: reverting patch from Alon Gazit. Uses the above file
2961 that doesn't compile.
2963 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2965 * TraceData.cs: fixes nullref in an application that relies on
2966 r ["Message"] not being null. Closes bug #59679.
2968 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2970 * HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.
2972 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2974 * HttpRuntime.cs: implemented a 5 simple properties that were TODOs.
2976 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2978 * HttpBrowserCapabilities.cs: implemented ClrVersion and GetClrVersions.
2979 * HttpException.cs: removed MonoTODO.
2981 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2983 * TraceContext.cs: don't check if HttpRuntime.TraceManager
2984 is enabled when writing.
2986 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2988 * HttpRequest.cs: added ClientTarget internal property.
2990 2004-06-03 Lluis Sanchez Gual <lluis@ximian.com>
2992 * HttpApplication.cs: Clear the http handler list after releasing the
2995 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2997 * TraceData.cs: html-encode the messages written to the trace. Fixes
3000 2004-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3002 * HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
3005 2004-05-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3007 * HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
3008 when SetFilePath is called. This way the cached values are reset and
3009 get the right value in case someone (namely SessionStateModule +
3010 cookieless session) changes the FilePath after the property cached its
3011 value. Fixes bug #59364.
3013 2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>
3015 * HttpApplicationFactory.cs: Added SignalError (still todo)
3017 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3019 * HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
3020 chunked encoding disabled. Fixed chunked suffix and end. Send the
3021 'lastchunk' marked when in the final Flush even if the content length
3022 is 0. This makes mod-mono-server work fine with chunked encoding.
3024 * HttpRuntime.cs: Set the _firstRequest* variables to true
3025 earlier. TraceContext don't take any parameter now.
3027 * TraceManager.cs: don't need a context. Use GetAppConfig.
3029 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3031 * HttpApplication.cs: set culture/uiculture from configuration and
3032 restore it after each step. Fixes bug #52851.
3034 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3036 * HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
3037 entities hashtable creation until it's really needed.
3039 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3041 * HttpApplicationFactory.cs: if no module matches the name found for a
3042 possible event, ignore it. Fixes bug #58542.
3044 2004-05-16 Patrik Torstensson <totte@hiddenpeaks.com>
3046 * HttpRuntime (Init): Removed old todo
3047 * HttApplication : Implemented IHttpHandlerFactory recycling
3049 2004-04-28 Patrik Torstensson
3051 * HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
3054 2004-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3056 * HttpUtility.cs: return null in HtmlDecode for null input instead of
3057 throwing an exception. Patch by Jan Jaros (bug #57083).
3059 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
3061 * TimeoutManager.cs: Swap the order of initialization of contexts
3062 and the Timer, to avoid race condition of CheckTimeouts being called
3063 before contexts gets initialized.
3065 2004-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3067 * HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
3068 Now the posted file content does not have the boundaries and headers
3071 2004-03-25 Alon Gazit <along@mainsoft.com>
3073 * HttpRequest.cs: fix ValidateCookieCollection() to prevent
3074 InvalidCastException.
3076 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3078 * HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.
3080 2004-03-01 Larry Ewing <lewing@ximian.com>
3082 * HttpUtility.cs: fix UrlEncodeToBytes count check.
3084 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3086 * HttpServerUtility.cs:
3087 * HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
3090 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3092 * HttpUtility.cs: fixed length check. Closes bug #54201.
3093 Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
3096 2004-02-11 Jackson Harper <jackson@ximian.com>
3098 * TraceData.cs: Use ToString for cookie/header/var name values so
3099 null is handled properly.
3101 2004-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3103 * HttpApplication.cs: ApplicationState is inited by the factory so,
3104 return that value in the property. when we use the context Session,
3105 cache it in the instance field.
3107 * HttpApplicationFactory.cs: fixed target Type for the event when
3108 hooking application and module events. Initialize application
3109 and session scope objects. Fixes non-aplication events hook up.
3111 * HttpStaticObjectsCollection.cs: added StaticItem and delay the
3112 creation of the objects until they are requested.
3114 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3116 * HttpApplicationFactory.cs: fixlet for session events hook.
3118 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3120 * HttpApplicationFactory.cs: attach all events from Type and BaseType
3121 at the same time. Fixes bug #53454.
3123 2004-01-27 Jackson Harper <jackson@ximian.com>
3125 * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
3126 null now, dont hadd the header if it does.
3127 * HttpCacheVaryByParams.cs: Return null if there are no items.
3129 2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3131 * HttpCachePolicy.cs: it's not public.
3132 * HttpRuntime.cs: wait for requests before disposing the queue.
3134 2004-01-15 Jackson Harper <jackson@ximian.com>
3136 * HttpCachePolicy.cs: Fix typo causing varyby params headers to be
3137 created when they shouldn't be.
3139 2004-01-14 Jackson Harper <jackson@ximian.com>
3141 * TraceData.cs: Fix some typos in the output text. Fix control
3142 position when adding controls recursively.
3144 2004-01-14 Jackson Harper <jackson@ximian.com>
3146 * HttpCachePolicy.cs: Expose duration and sliding properties.
3148 2004-01-14 Jackson Harper <jackson@ximian.com>
3150 * HttpCachePolicy.cs: Add an event that is fired when the
3151 cacheability is updated. The response uses this to determine
3152 whether or not it needs to cache itself.
3153 * HttpResponse.cs: When the cacheability is updated either create
3154 or dispose of the cached raw response based on whether or not we
3155 wil need it. This allows output caching to be controlled
3158 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3160 * HttpContext.cs: add setter for ConfigTimeout.
3161 * HttpException.cs: added Description property and HTML encode some
3164 * HttpRequest.cs: support request validation.
3166 * HttpRequestValidationException.cs: added message and description.
3168 * HttpServerUtility.cs: implemented ScriptTimeout.
3170 2004-01-11 Jackson Harper <jackson@ximian.com>
3172 * TraceManager.cs: Dont crash if there is no trace config element.
3174 2004-01-11 Jackson Harper <jackson@ximian.com>
3176 * HttpRequest.cs: Add property for determining if the request is
3179 2004-01-10 Jackson Harper <jackson@ximian.com>
3181 * TraceContext.cs: Handle tracing when it is enabled in the config
3182 file but not on the page.
3183 * TraceManager.cs: Get settings from the configuration object.
3184 * HttpRuntime.cs: Create trace manager in the first request start
3185 so it can get configuration settings.
3187 2004-01-10 Jackson Harper <jackson@ximian.com>
3189 * TraceContext.cs: Save the request path in the trace data.
3190 * TraceData.cs: Add RequestPath property, make some rendering
3191 methods internal static so the TraceHandler can use them.
3192 * TraceManager.cs: Expose trace data, add a method for clearing
3195 2004-01-10 Jackson Harper <jackson@ximian.com>
3197 * HttpRuntime.cs: Add trace manager
3198 * TraceManager.cs: New class for handling trace configuration and
3199 storing trace data objects.
3200 * TraceContext.cs: Save trace data to the trace manager. Fix typo.
3202 2004-01-10 Jackson Harper <jackson@ximian.com>
3204 * TraceData.cs: New class for storing trace data. Data is stored
3205 here instead of the trace context so it can be saved and accessed
3206 from the trace handler.
3207 * TraceContext.cs: Save data in the TraceData object, let the
3208 trace data object handle the rendering.
3210 2004-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3212 * HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
3213 Thanks to Jan Jaros (mono-bug@jerryweb.info).
3215 * HttpRequestValidationException.cs: fix comment.
3217 2004-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3219 * HttpException.cs: default to error 500. Fixes bug #52623.
3221 2004-01-04 Jackson Harper <jackson@ximian.com>
3223 * TraceContext.cs: Store and render trace info times. Also render
3224 cookie sizes. Remove debug code.
3226 2004-01-04 Jackson Harper <jackson@ximian.com>
3228 * HttpResponse.cs: Set the cached response date header so it can
3230 * HttpResponseHeader.cs: Let values be set so we can update cached
3231 response header values.
3233 2004-01-04 Jackson Harper <jackson@ximian.com>
3235 * HttpResponse.cs: Implement RemoveOutputCacheItem.
3237 2004-01-04 Jackson Harper <jackson@ximian.com>
3239 * HttpCachePolicy.cs: Add internal method to get the vary by custom string
3240 * HttpCacheVaryByHeaders.cs: Add internal method to get the header names.
3242 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3244 * HttpRuntime.cs: implemented MachineConfigurationDirectory,
3246 2004-1-1 Alon Gazit <along@mainsoft.com>
3247 * HttpWriter.cs: add check in Write() in order to prevent
3248 NullReferenceException.
3250 2004-1-1 Alon Gazit <along@mainsoft.com>
3251 * HttpResponse.cs: implemented ExpiresAbsolute and Expires.
3253 2003-12-18 Jackson Harper <jackson@ximian.com>
3255 * TraceContext.cs: Write () methods are not warnings.
3257 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3259 * HttpBrowserCapabilities.cs: added GetClrVersions ().
3260 * HttpCachePolicy.cs: added SetAllowResponseInBrowserHistory ().
3261 * HttpContext.cs: added set_Current and RewritePath (s, s, s) for 1.1.
3262 * HttpRequest.cs: added set_ContentType, SetPathInfo and ValidateInput.
3263 * HttpRequestValidationException.cs: new class for 1.1
3264 * HttpResponse.cs: added RedirectLocation.
3265 * HttpRuntime.cs: added UnloadAppDomain.
3266 * HttpServerUtility.cs: Execute (s, t, b) is internal for < 1.2
3267 * HttpUtility.cs: copied UrlPathEncode from HttpServerUtility.
3268 * HttpWorkerRequest.cs: added [ComVisible] and made the ctor public.
3270 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3272 * HttpContext.cs: implemented IsCustomErrorEnabled and
3273 IsDebuggingEnabled. Added internal ErrorPage property.
3275 * HttpRuntime.cs: on error, check if we have a custom error page enabled
3276 to handle it and redirect.
3278 * HttpResponse.cs: added RedirectCustomError (), which actually does
3279 the redirection to the error page.
3281 2003-12-16 Jackson Harper <jackson@ximian.com>
3283 * TraceContext.cs: Render all the data, and the stylesheet.
3285 2003-12-16 Jackson Harper <jackson@ximian.com>
3287 * TraceContext.cs: Add incomplete render method.
3289 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3291 * CapabilitiesLoader.cs: loads browser detection and capabilities data
3292 from browscap.ini file by Gary J. Keith.
3294 * HttpBrowserCapabilities.cs: removed almost all TODOs.
3296 * HttpRequest.cs: fixed Browser property.
3298 2003-12-15 Jackson Harper <jackson@ximian.com>
3300 * TraceContext.cs: Initial implementation of storing data.
3301 * HttpContext.cs: Create and expose a trace object.
3303 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3305 * HttpApplication.cs: ThreadAbortException is ok on Redirect.
3306 * HttpContext.cs: added TimeoutPossible property.
3307 * HttpResponse.cs: throw ThreadAbortException if End () is called within
3308 a step in which is possible to timeout.
3312 2003-12-04 Jackson Harper <jackson@ximian.com>
3314 * HttpRequest.cs: Cleanup method.
3316 2003-12-04 Jackson Harper <jackson@ximian.com>
3318 * HttpValueCollection.cs: Allow blank value names. Posting
3319 <blank>=SomeValue is valid. And occurs if a radio button does
3320 not have its name set.
3322 2003-12-03 Jackson Harper <jackson@ximian.com>
3324 * HttpResponse.cs: Actually apply an app path modifier in
3325 ApplyAppPathModifer and add a method to set the app path modifier.
3326 * HttpRequest.cs: Add utility method for setting a request header.
3328 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3330 * HttpApplication.cs: handle FileNotFound and DirectoryNotFound
3331 exceptions when creating the handler to generate a better error page.
3333 * HttpException.cs: display the http_code if available. Changed all
3334 \n by \r\n to make the hidden stack trace readable.
3336 * StaticFileHandler.cs: don't send the real path in th eerror.
3338 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3340 * HttpContext.cs: updated GetConfig and GetAppConfig to new API.
3342 * HttpResponse.cs: separate initialization of the HttpWriter, as it
3343 tries to read configuration settings while the config. system is not
3344 available (ie, before the first request).
3346 * HttpRuntime.cs: delayed queueManager and response writer
3347 initialization until the configuration system is working.
3349 2003-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3351 * HttpRuntime.cs: added request queue handling.
3353 * QueueManager.cs: simple request queue.
3355 * TimeoutManager.cs: added some locks to prevent the enumerator used in
3356 CheckTimeouts to be out of synch.
3358 2003-11-25 Jackson Harper <jackson@ximian.com>
3360 * HttpStaticObjectsCollection.cs: Add methods for serialization
3361 and conversion to/from byte arrays.
3363 2003-11-21 Jackson Harper <jackson@ximian.com>
3365 * HttpResponse.cs: When caching data set the content length in the
3366 cached repsonse so that only that amount will be written back to
3367 the client. Add method to write a range of binary data.
3368 * HttpCacheVaryByParams.cs: Add method to retrieve param names.
3370 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3372 * HttpApplication.cs:
3374 * HttpRuntime.cs: add timeout handling.
3375 * TimeoutManager.cs: new class that takes care of aborting threads on
3378 2003-11-19 Jackson Harper <jackson@ximian.com>
3380 * HttpWriter.cs: Use a constant for the buffer size so the cache
3381 can get the buffer size. Add method to get the buffer.
3382 * HttpResponse.cs: Methods for getting data to cache, and setting
3383 vars from the cache.
3384 * HttpCachePolicy.cs: Expose a pages cache expire time.
3386 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3389 * HttpWriter.cs: some fixes to allow closing a response stream without
3392 2003-11-13 Jackson Harper <jackson@ximian.com>
3394 * HttpCachePolicy.cs: Make sure cacheability and maxage get
3395 set. Add method to set Http response header data
3396 * HttpCacheVaryByParams.cs: Add method to create a response header.
3397 * HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
3398 * HttpResponse.cs: Set cache headers.
3400 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
3402 * HttpModuleCollection.cs (GetKey): Recursion, again!
3404 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
3406 * HttpClientCertificate.cs (ValidUntil): recursion!
3408 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
3410 * SiteMapNode.cs (GetDataSourceView): Implement.
3411 * SiteMapProvider.cs: Typo fixing.
3412 * XmlSiteMapProvider.cs: We shouldnt resolve here.
3414 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
3416 * SiteMap.cs (Init): implement a hack that doesnt need the config
3417 stuff. Should do that later.
3418 * SiteMapNodeCollection (OnValidate): Fix recursion.
3419 * SiteMapProvider.cs: We dont implement some culture stuff work
3420 around it. Fix typo.
3421 * XmlSiteMapProvider.cs: Added.
3423 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
3425 * ISiteMapProvider.cs:
3428 * SiteMapNodeCollection.cs:
3429 * SiteMapProvider.cs:
3430 * SiteMapProviderCollection.cs: V2 sitemap related stuff.
3432 2003-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3434 * HttpRequest.cs: don't attempt to read more bytes than specified
3437 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3442 * HttpValueCollection.cs: encoding fixes/updates.
3444 * HttpWriter.cs: when updating the encoding, flush the existing stream.
3447 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
3449 * HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
3450 return false (which makes sense, as the custom errors *arent* enabled;
3452 * HttpResponseStream.cs: you actually can write with len = 0
3454 2003-11-03 Jackson Harper <jackson@ximian.com>
3456 * HttpResponse.cs (ContentEncoding): Throw
3457 ArgumentNullException. Patch by Yaron Shkop.
3459 2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3461 * HttpMultipartContentParser.cs : Quick fix for cygwin build.
3462 CSC complains that constant char cannot be casted as byte.
3464 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3466 * HttpApplication.cs: added AssemblyLocation property.
3468 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3470 * HttpApplicationFactory.cs: use NoParamsInvoker.
3471 * HttpRequest.cs: support request filters.
3472 * HttpRequestStream.cs: mono-stylized and added new Set method.
3474 * NoParamsInvoker.cs: proxy class to invoke user-provided methods
3475 without parameters that are invoked by EventHandlers.
3477 2003-10-13 Lluis Sanchez Gual <lluis@ximian.com>
3479 * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
3480 to invariant culture.
3482 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3485 * HttpServerUtility.cs: change the response writer in Execute. Thanks
3486 to Rich Alimi <rich@velvetsea.net> for noticing this.
3488 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3490 * HttpApplicationFactory.cs: support for wiring up events without
3493 2003-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3495 * HttpUtility.cs: small memory usage reduction.
3497 2003-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3499 * HttpApplication.cs: pass the Uri, not the file path to
3500 when looking for a handler.
3502 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3504 * HttpRequest.cs: small fix needed when reading big POST data.
3506 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
3508 * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
3509 (this will get the address from the request headers).
3511 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
3513 * HttpServerUtility.cs: In Transfer(), preserve the query string if
3516 2003-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3518 * HttpApplication.cs: ensure we do all the EndRequest steps. Don't
3519 filter the output on error.
3521 * HttpResponse.cs: modified DoFilter to allow bypassing filtering.
3523 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3525 * HttpApplication.cs: when the request is completed or an
3526 error happens, execute all the delegates attached to EndRequest, not
3527 only the last one. This makes xsp/test/authtest work again.
3529 * HttpMethodNotAllowedHandler.cs: fixed description for http
3532 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3534 * HttpRequest.cs: quick way of checking that the path is within the
3535 root for the application. Thanks to Johannes for reporting.
3537 * HttpRuntime.cs: use the status code from teh exception when it'ss a
3540 * StaticFileHandler.cs: forbidden is 403.
3542 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3544 * HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
3545 <rich@velvetsea.net>.
3547 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3549 * HttpException.cs: make the unhandled error more like the MS one.
3550 * HttpRuntime.cs: set a 500 error code on unhandled exceptions.
3552 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3554 * HttpResponse.cs: flush headers when the body length is 0.
3555 * StaticFileHandler.cs: added If-Modified-Since handling patch slightly
3556 modified from the original by Piers Haken <piersh@friskit.com>.
3558 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3560 * HttpResponse.cs: another patch from totte and me. This one prevents
3561 writing output if the client have disconnected and filters the data
3562 when there's a non-final Flush in the middle of the process.
3564 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3566 * HttpApplication.cs: fixed typos. Closes bug #44197.
3568 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3570 * HttpApplication.cs:
3571 * HttpApplicationFactory.cs: fix duplicate application OnStart events.
3573 Patch by Patrik Torstensson.
3575 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3577 * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
3578 overload. The previous one only admits static methods.
3580 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3582 * ProcessModelInfo.cs: Fixed signature
3584 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3586 * WebCategoryAttribute.cs: Implemented localization
3587 * WebSysDescriptionAttribute.cs: Implemented localization
3589 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3591 * HttpRuntime.cs: also clear the headers that may have been set upon
3592 error processing the request.
3594 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3596 * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
3599 * HttpWriter.cs: flush the filter after writing.
3601 2003-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3603 * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
3605 2003-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3607 * HttpContext.cs: Session doesn't have a setter.
3609 * HttpResponse.cs: Request is private.
3611 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3613 * HttpRequest.cs: fixed Headers property. It was getting known headers
3614 values instead of known headers names.
3616 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3618 * HttpApplication.cs: prevent nullref if an error happens before context
3620 * HttpException.cs: small fix in the stack trace sent.
3621 * HttpUtility.cs: the lock is not needed.
3623 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3625 * HttpRequest.cs: added REMOTE_PORT.
3626 * HttpValueCollection.cs: fixed bug #45490.
3628 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3630 * HttpApplication.cs:
3631 * HttpApplicationFactory.cs: fire application start and session
3634 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3636 * HttpException.cs: encode as HTML the inner exception that
3637 is appended as a comment at the end of error pages.
3639 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3641 * HttpWriter.cs: don't do anything in Flush. Fixes #42249.
3643 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3645 * HtmlizedException.cs: added more virtual methods.
3647 * HttpException.cs: some work on the output when there's a source
3650 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3652 * HtmlizedException.cs: simplified to cope with the new interface.
3654 * HttpApplicationFactory.cs: use the application file parser to get the
3657 * HttpException.cs: small changes. Needs some more work on
3660 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3662 * HttpRequest.cs: fixed Url property.
3664 2003-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3666 * HtmlizedException.cs:
3667 * HttpException.cs: display the correct line number in error messages.
3669 2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3671 * HttpCachePolicy.cs: implemented all TODOs.
3672 * HttpRequestStream.cs: make it internal.
3674 2003-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3676 * HttpContext.cs: implemented RewritePath in other way.
3677 * HttpRequest.cs: removed SetPhysicalPath and added SetForm.
3678 * HttpServerUtility.cs: implemented Transfer (string, bool).
3680 2003-03-16 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
3681 * HttpContext.cs : Implemented RewritePath
3682 * HttpRequest.cs : Added internal function SetPhysicalPath
3684 2003-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3686 * HttpServerUtility.cs: implemented Transfer ().
3688 2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3690 * HttpRuntime.cs: Cache no longer have a Dispose method.
3692 * HttpServerUtility.cs: removed MonoTODO.
3694 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3696 * HttpHelper.cs: store the values in an ArrayList to get them in correct
3699 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3701 * HttpApplicationFactory.cs: Global.asax takes precedence over
3702 global.asax if it exists.
3704 * HttpRequest.cs: use allowCrossAppMapping in MapPath.
3706 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3708 * HttpApplication.cs: CreateHttpHandler is now internal.
3710 * HttpRequest.cs: allow setting QueryStringRaw, which
3711 invalidates the data obtained from the previous value. Added internal
3714 * HttpServerUtility.cs: implemented Execute and GetLastError.
3716 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3718 * HttpServerUtility.cs: style.
3720 2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3722 * HttpApplication.cs: only execute the EndRequest step on error
3723 condition or request marked as completed. This prevent page events from
3724 being called when, for example, the url authorization module forbids
3727 2003-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3729 * HttpRequest.cs: implemented the indexer.
3731 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3733 * HtmlizedException.cs: base class for exceptions that makes it easy to
3734 generate error pages.
3736 * HttpException.cs: improved error displaying.
3738 * HttpRuntime.cs: removed debugging output.
3740 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3742 * HttpApplication.cs: display the error instead of hanging when we get
3743 any error before the last step of the request.
3745 2003-02-04 Tim Haynes <thaynes@openlinksw.com>
3747 * HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement
3750 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3752 * HttpRequest.cs: added BaseVirtualDir property and use it in MapPath.
3754 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3756 * HttpRequest.cs: implemented CurrentExecutionFilePath.
3758 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3760 * HttpApplication.cs: keep _lasterror if no context. Attach
3761 application events *after* modules initialization (if not, User is not
3762 set when the user handler is called).
3764 * HttpApplicationFactory.cs: made all methods related to
3765 AttachEvents static. I will fix OnStart/OnEnd for application and
3768 * HttpRequest.cs: don't initialize cookies twice.
3770 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3773 (ApplyAppPathModifiers): return the root directory for "".
3775 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3777 * HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.
3779 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3781 * HttpApplication.cs: added new state to handle default authentication.
3783 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3785 * HttpContext.cs: removed hack to get the User.
3787 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3789 * HttpUtility.cs: fixed bug #36038. Thanks to juancri@tagnet.org for
3790 reporting the bug and how to fix it.
3792 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3794 * HttpCookie.cs: send 'expires' in the header.
3796 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3798 * HttpValueCollection.cs: patch from Botjan Vizin
3799 <bostjan.vizin@siol.net> that implements ToString (bool).
3801 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3803 * HttpApplicationFactory.cs: add the context as parameter when building
3804 the application Type.
3806 * HttpCookie.cs: new internal constructor.
3807 * HttpCookieCollection.cs: new internal method to make a cookie expire.
3809 * HttpRequest.cs: MapPath fixes.
3810 * HttpResponse.cs: implemented ApplyAppPathModifier.
3811 * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
3813 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3815 * HttpContext.cs: hack to create a default user when there's no one.
3816 Implemented GetConfig (string).
3818 * HttpRequest.cs: fixes to MapPath (string).
3820 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3822 * HttpRuntime.cs: avoid nulls and exception when getting resource
3825 * StaticFileHandler.cs: added file name to error message.
3827 2002-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3829 * HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
3831 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3833 * HttpApplicationFactory.cs: get the events from the application class,
3834 fire Application/Session Start/End and add the others as application
3837 2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3839 * HttpApplicationFactory.cs: compile global.asax file if it exists.
3841 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3843 * HttpRequest.cs: provide a default Browser until we detect it.
3845 (End): do not close the connection here.
3846 (Flush (bool)): send the headers when, for example, Redirect () is
3849 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3851 * HttpException.cs: simple error output.
3853 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3855 * HttpApplication.cs: style.
3856 * HttpException.cs: style.
3857 * HttpRuntime.cs: only flush the response if there are no errors.
3858 Otherwise, write an error output.
3859 * HttpWriter.cs: change Unicode to UTF8.
3861 2002-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3863 * HttpApplication.cs: don't begin the request using ExecuteNextAsync
3864 (it fails to work on NetServ).
3866 * HttpWorkerRequest.cs: typo.
3868 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3870 * HttpValueCollection.cs: the value may contain trailing '=' as it is
3871 UrlEncoded. Don't split name=value based on '='.
3873 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3875 * HttpCookie.cs: made GetCookieHeader internal.
3877 * HttpRequest.cs: get cookies from request.
3879 * HttpResponse.cs: send cookies. Implemented
3880 AddFileDependencies (). Added check for _Writer == null in Flush
3881 (Patrik ;-). Clear the content if HEAD or SupressContent == true.
3882 Removed redirect hack used in old server.
3884 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3886 * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
3887 most ContentLength bytes.
3889 * HttpResponse.cs: now it sends the headers. Added
3890 X-Powered-By header :-).
3892 * HttpRuntime.cs: fixed typo.
3894 * HttpValueCollection.cs: cosmetic changes.
3896 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3898 * HttpApplication.cs: reenabled a few lines of code
3899 (ThreadPool already fixed).
3904 * HttpValueCollection.cs:
3905 * HttpWriter.cs: Use WebEncoding.Encoding.
3907 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3909 * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
3910 This fixes sending bytes and allows mixing byte with chars.
3912 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3914 * HttpResponse.cs: implemented WriteFile methods.
3915 * MimeTypes.cs: removed duplicated entries.
3917 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3919 * HttpResponse.cs: don't throw exception in a couple of
3920 methods not yet implemented.
3922 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3924 * HttpApplication.cs: fixed type and handle factories when creating
3925 IHttpHandler for a request.
3927 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3929 * HttpApplication.cs: use handlers from configuration.
3930 * HttpContext.cs: get handlers from ConfigurationSettings.
3932 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3934 * HttpMethodNotAllowedHandler.cs:
3936 * StaticFileHandler.cs: Modified file.
3938 * HttpUtility.cs: implemented all missing methods.
3941 2002-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3943 * System.Web/HttpApplication.cs: use the static file handler.
3944 * System.Web/HttpForbiddenHandler.cs: handler to forbid access.
3945 * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
3948 * System.Web/HttpUtility.cs: finished all UrlDecode methods.
3949 * System.Web/MimeTypes.cs: map from file extension to MIME type.
3950 * System.Web/StaticFileHandler.cs: serves static files
3952 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3954 * System.Web/HttpApplication.cs:
3955 * System.Web/HttpApplicationFactory.cs:
3956 * System.Web/HttpRequest.cs:
3957 * System.Web/HttpRuntime.cs: we are now able to compile pages and use
3958 HttpApplication, HttpRuntime and SimpleWorkerRequest.
3960 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3962 * HttpApplication.cs: added some missing methods.
3963 * HttpApplicationFactory.cs: get event handlers for the application.
3964 * HttpAsyncResult.cs: little fixes.
3965 * HttpRequest.cs: make Encoding work even with no worker request.
3967 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3969 * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
3970 to add HttpMapPath to the list file...
3972 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3974 * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
3975 report when i get a test case.
3977 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3979 * HttpApplicationFactory.cs:
3980 * HttpCachePolicy.cs:
3981 * HttpResponseHeader.cs:
3982 * HttpResponseStream.cs:
3983 * HttpResponseStreamProxy.cs:
3984 * HttpValueCollection.cs: misc. fixes based on class status page.
3986 * IHttpMapPath.cs: New file.
3988 * HttpRequest.cs: implemented ContentEncoding.
3989 * HttpWorkerRequest.cs: mono-stylized and implemented
3990 SendResponseFromMemory.
3992 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3994 * HttpContext.cs: reformatted.
3995 * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
3998 2002-08-05 Patrik Torstensson <ptorsten@hotmail.com>
4000 * HttpApplication.cs: Implemented a state machine to allow handling of
4001 HttpModules and HttpHandlers. Implementation of async handlers.
4003 * HttpApplicationFactory.cs: Factory for creating HttpApplication
4004 instances, including caching.
4006 * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
4007 application instance to execute requests in and implementation of
4008 request execution (still no request queue).
4010 * HttpAsyncResult.cs: New file to handle async module results.
4012 * HttpRequest.cs: Change signature of Dispose
4013 * HttpResponse.cs: new internal method allowing filtering to happen
4014 during the request flow in the state machine.
4016 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4018 * HttpApplication.cs: events were not being initialized.
4020 2002-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4022 * ProcessModelInfo.cs: fixed compilation.
4024 2002-07-25 Tim Coleman <tim@timcoleman.com>
4025 * ProcessModelInfo.cs:
4027 * HttpParseException.cs:
4028 * HttpCompileException.cs:
4029 * HttpUnhandledException.cs:
4030 Internal constructors added to these
4032 2002-07-24 Tim Coleman <tim@timcoleman.com>
4034 Fix constructor, reference to shutdownreason.
4036 2002-07-24 Tim Coleman <tim@timcoleman.com>
4037 * HttpCachePolicy.cs:
4038 Added stubbs to this class.
4039 * HttpCacheability.cs:
4040 * HttpCacheRevalidation.cs:
4041 * HttpValidationStatus.cs:
4042 * ProcessShutdownReason.cs:
4045 Reorder the enumerations (and in some cases make
4046 one-based) in order to agree with the .NET
4047 implementation, based on the class status page.
4049 Implementation of this class.
4051 2002-07-23 Tim Coleman <tim@timcoleman.com>
4052 * HttpCompileException.cs:
4053 * HttpParseException.cs:
4054 * HttpUnhandledException.cs:
4056 * HttpApplication.cs:
4057 * HttpBrowserCapabilities.cs:
4058 Added missing methods stubbs and attributes based
4059 on the class status page. Also reformatted some
4060 source for consistency.
4062 2002-07-23 Tim Coleman <tim@timcoleman.com>
4063 * HttpUtility.cs: Moved entities hashtable into main
4064 class as a static object, so we don't instantiate
4065 a new one every time. Also put the hashtable
4066 building into a lock block.
4068 2002-07-22 Tim Coleman <tim@timcoleman.com>
4069 * HttpUtility.cs: Cleanup of the code, implementation
4070 of HtmlDecode/HtmlEncode functions
4072 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4074 * HttpResponse.cs: quick&dirty hack to make redirection work. Should
4075 be out of there once we have SimpleWorkerRequest.
4077 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4079 * HttpUtility.cs: little typo, big headache.
4081 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4083 * HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
4085 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4087 * System.Web/HttpResponse.cs:
4089 Fixes based on class status page:
4091 - Add attributes (DefaultEvent, ParseChildren).
4093 - Explicitly implement some interfaces (IPostBackDataHandler
4094 and IPostBackEventHandler).
4095 - Implemented some missing methods.
4097 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4100 (Session): return null instead of throwing an exception.
4103 (HttpMethod): return RequestType if not set.
4104 (GetRawContent): return QueryString if we don't have a
4107 * HttpUtility.cs: fixed Decode and Encode.
4109 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4111 * HttpApplication.cs:
4112 * HttpContext.cs: added System.Web.SessionState namespace.
4114 * HttpSessionState.cs: removed. It is under
4115 System.Web.SessionState.
4117 2002-06-10 Duncan Mak <duncan@ximian.com>
4119 * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
4121 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4123 * HttpRequest.cs: implemented Browser property.
4125 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4127 * HttpBrowserCapabilities.cs: stubbed out.
4129 2002-05-18 Miguel de Icaza <miguel@ximian.com>
4131 * HttpRuntime.cs: Reformat file.
4133 2002-05-07 Duncan Mak <duncan@ximian.com>
4135 * HttpBrowserCapabilities.cs: Added, replacing
4136 HttpBrowserCapabilites because of typo.
4138 * HttpBrowserCapabilites.cs: Removed, replaced by above.
4140 * HttpRequest.cs (Browser): Fixed typo.
4142 2002-04-12 Patrik Torstensson <patrik.torstensson@labs2.com>
4144 * HttpApplication.cs: Minor updates
4145 * HttpApplicationState.cs: Ready.
4146 * HttpClientCertificate.cs: Signature updates
4147 * HttpValueCollection.cs: ready
4148 * HttpStaticObjectsCollection.cs: ready
4149 * HttpResponseHeader.cs: made internal only
4150 * HttpResponse.cs: Signature updates
4151 * HttpPostedFile.cs: ready
4152 * HttpCacheVaryByHeaders.cs: ready (except communication to policy)
4153 * HttpCacheVaryByParams.cs: ready (except communication to policy)
4155 System.Web is now over 60% ready..
4157 2002-04-11 Patrik Torstensson <patrik.torstensson@labs2.com>
4159 * HttpException.cs: 95% ready, only windows dependent code left
4160 * HttpFileCollection.cs: Finished.
4161 * HttpRequest.cs: Minor fixes and fixed signature problems
4162 * HttpResponse.cs: Implementation of missing methods and signature problems
4163 * HttpResponseHeader.cs: Fixed signature problems
4164 * HttpRuntime.cs: Fixed signature problems
4165 * HttpServerUtility.cs: Added support for HttpApplication
4166 * HttpSessionState.cs: Fixed signature issues
4167 * HttpUtility.cs: fixed signature issues
4168 * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
4169 * HttpWorkerRequest.cs: Fixed small signature issue
4170 * HttpWriter.cs: Fixed signature issue
4171 * HttpApplication.cs: Basic implementation
4172 * HttpApplicationState.cs: Small fixes to support major change comming up
4173 * HttpBrowserCapabilities.cs: Added Type method
4174 * HttpClientCertificate.cs: Almost ready, needs to parse certificate.
4175 * HttpContext.cs: Fixed signature issues and added last methods.
4176 * HttpCookie.cs: Full implementation
4177 * HttpCookieCollection.cs: Full implementation
4178 * TraceContext.cs: Methods implemented.
4179 * HttpPostedFile.cs: Placeholder
4180 * HttpStaticObjectsCollection.cs: Placeholder
4181 * HttpModuleCollection.cs: Ready, will be used during the major revamp.
4183 * Fixed a number of other small signature problems also (class status page)
4186 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
4188 * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
4189 * Checkin of all new files (noted in last changenote)
4191 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
4193 * HttpContext.cs: First implementation (basic support, few methods left to impl)
4194 * HttpException.cs: Partial implementation (basic support)
4195 * HttpHelper.cs: Header parse helper, used by runtime (non public)
4196 * HttpRequest.cs: Implementation (all methods there, not all fully impl)
4197 * HttpRequestStream.cs: Full implementation
4198 * HttpResponse.cs: Partial implementation(almost all methods)
4199 * HttpResponseHeader.cs: Header helper
4200 * HttpResponseStream.cs: Full implementation - Response stream support
4201 * HttpResponseStreamProxy.cs: Implementation - filter support
4202 * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
4203 * HttpServerUtility.cs: Implemented usage of HttpContext for methods
4204 and moved encoding functions to HttpUtility.
4206 * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
4207 added the Attribute encoding functions.
4209 * HttpValueCollection.cs: Implementation.
4210 * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
4211 * HttpWriter.cs: Implementation (with filter support)
4213 * HttpFileCollection: Added dummy class (placeholder)
4214 * HttpApplication.cs: Added dummy class (placeholder)
4215 * HttpApplicationState.cs: Added dummy class (placeholder)
4216 * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
4217 * HtttpCachePolicy.cs: Added dummy class (placeholder)
4218 * HttpClientCertificate.cs: Added dummy class (placeholder)
4219 * HttpSessionState.cs: Added dummy class (placeholder)
4220 * TraceContext.cs: Added dummy class (placeholder)
4223 2002/04/10 Nick Drochak <ndrochak@gol.com>
4225 * HttpServerUtility.cs: Fix build breaker.
4227 2002-03-28 Wictor Wiln <wictor@iBizkit.se>
4229 * HttpServerUtils.cs : Added some more functionality
4231 2002-03-28 Martin Baulig <martin@gnome.org>
4233 * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
4234 char to a string, use ToString() instead.
4236 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
4238 * WebCategoryAttribute.cs
4239 : Added private attribute.
4241 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
4243 * HttpRuntime.cs : Stubbed methods for
4244 FormatStringResource(...) in agreement with the various
4245 overloads available at String.Format(...)
4247 2002-01-08 Gaurav Vaish <gavish@iitk.ac.in>
4249 * TODOAttribute.cs : Added, as an internal class to the assembly
4251 2002-01-03 Nick Drochak <ndrochak@gol.com>
4253 * HttpRuntime.cs: remove uneeded exception variable from catch and
4254 initialize remaining instance members to avoid compile warnings
4256 2002-01-02 Nick Drochak <ndrochak@gol.com>
4258 * HttpRuntime.cs: fix spelling error/variable name change.
4260 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
4262 * HttpRuntime.cs : Initial implementation
4264 2001-08-29 Bob Smith <bob@thestuff.net>
4266 * HttpWorkerRequest.cs: Partial Implementation.
4268 2001-08-16 Bob Smith <bob@thestuff.net>
4270 * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
4272 2001-08-09 Bob Smith <bob@thestuff.net>
4274 * BeginEventHandler.cs: Implemented.
4275 * EndEventHandler.cs: Implemented.
4276 * HttpCacheability.cs: Implemented.
4277 * HttpCacheRevalidation.cs: Implemented.
4278 * HttpCacheValidateHandler.cs: Implemented.
4279 * HttpCookieCollection.cs: Implemented.
4280 * HttpCookie.cs: Implemented.
4281 * HttpValidationStatus.cs: Implemented.
4282 * HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
4283 * IHttpAsyncHandler.cs: Implemented.
4284 * IHttpHandler.cs: Implemented.
4285 * IHttpHandlerFactory.cs: Implemented.
4286 * IHttpModule.cs: Implemented.
4287 * ProcessShutdownReason.cs: Implemented.
4288 * ProcessStatus.cs: Implemented.
4289 * TraceMode.cs: Implemented.