1 2009-06-04 Marek Habersack <mhabersack@novell.com>
3 * HttpException.cs: do not show version info if custom errors are
4 in effect. Fixes bug #509092
6 * HttpApplicationFactory.cs: OnFileChanged ignores the directory
7 part of the file triggering the event. Fixes bug #509998
9 2009-06-03 Marek Habersack <mhabersack@novell.com>
11 * VirtualPathUtility.cs: IsValidVirtualPath now checks the value
13 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\VerificationCompatibility
14 registry key when running on Windows and also consults the
15 mono-specific system.web/monoSettings configuration section to see
16 what is the verificationCompatibility property set to. If either
17 of the two is set to 1, Mono will not verify the validity of
18 the current request's path. Fixes bug #509163
20 * HttpApplicationFactory.cs: OnFileChanged must check whether the
21 modified location is a directory before it decides to ignore it
22 when watcher's filter is "?eb.?config". Fixes bug #509450 (see
25 * HttpForbiddenHandler.cs: updated the error message to match
26 .NET, added requested path and description. Fixes bug #509092
28 * HttpException.cs: if trace is not requested, don't output <!--
29 following the version information in WriteFileBottom. Fixes bug
31 GetDefaultErrorMessage appends trace only if showTrace is
32 true. Fixes bug #509092
34 2009-06-02 Marek Habersack <mhabersack@novell.com>
36 * HttpApplication.cs: LocateHandler needs to pass current request
37 path and filepath to WebConfigurationManager when retrieving
38 system.web/httpHandlers section as only this will guarantee that
39 any <location> elements relating to the current request's which
40 contain system.web/httpHandlers section will be correctly read and
41 used. Also fixes reading httpHandlers section if it's found in
42 web.config located in a subdirectory. Fixes bug #509069
44 * HttpException.cs: 403 errors get same treatment as 404
45 below. Fixes bug #509092
47 2009-06-01 Marek Habersack <mhabersack@novell.com>
49 * HttpException.cs: if custom errors are enabled and the error
50 code is 404 show the "standard" 404 error message instead of the
51 default custom error mode one. Fixes bug #508649
53 2009-05-28 Marek Habersack <mhabersack@novell.com>
55 * HttpUtility.cs: fixed UrlDecode for encoded strings which
56 should be converted to byte sequences longer than 2 bytes. Fixes
59 2009-05-14 Marek Habersack <mhabersack@novell.com>
61 * HttpApplication.cs: LocateHandler won't cache if a default
64 2009-05-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
66 * MimeTypes.cs: add silverlight related types.
68 2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
71 * HttpWorkerRequest.cs:
72 * HttpRuntime.cs: if other parts of the system are using the
73 threadpool and we queue requests, once the threadpool is free we
74 might still not get back to use it to the maximum extent possible.
75 Adding a few more calls to QueuePendingRequest ensures that does not
78 2009-04-24 Marek Habersack <mhabersack@novell.com>
80 * HtmlizedException.cs: make HtmlException derive from
81 HttpException. System.Web.Mvc relies upon compile and parse
82 exception being descendants of HttpException or otherwise it will
83 catch and ignore compilation/parsing errors.
85 2009-04-16 Marek Habersack <mhabersack@novell.com>
87 * HttpContext.cs: local resources code now uses the custom
88 resource provider factory, just like the global resources
89 code. Fixes bug #493263
91 2009-04-15 Marek Habersack <mhabersack@novell.com>
93 * HttpApplicationFactory.cs: if a notification is received from a
94 FileSystemWatcher which was configured to watch for
95 subdirectories, uses a filter (currently we have just one such
96 watcher - waiting for changes to '?eb.?onfig') and the event
97 doesn't match the filter, ignore the event. Fixes bug #495011
99 2009-04-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
101 * HttpUtility.cs: the collection returned from ParseQueryString knows
102 how to convert the key/value pairs to a string.
104 2009-04-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
106 * HttpResponseStream.cs: use the unsafe version when copying buffers.
108 2009-04-06 Marek Habersack <mhabersack@novell.com>
110 * HttpRuntime.cs: added a new internal static property
113 * HttpContext.cs: IsDebuggingEnabled now calls
114 HttpRuntime.IsDebuggingEnabled
116 2009-04-03 Gert Driesen <drieseng@users.sourceforge.net>
118 * HttpRuntime.cs: Avoid ANE on Windows when HttpRuntime is used
119 outside of ASP.NET. Fixed compiler warning by setting
120 assemblyMappingEnabled.
122 2009-04-02 Marek Habersack <mhabersack@novell.com>
124 * HttpException.cs: if there are more lines with errors, display
127 2009-03-31 Marek Habersack <mhabersack@novell.com>
129 * HttpApplicationFactory.cs: use glob patterns to watch for
130 changes to global.asax and web.config files.
131 Set up recursive watch on web.config in a separate thread, to
132 minimize application startup delay. Fixes bug #490497
134 * VirtualPath.cs: added code to detect whether the VirtualPath
135 instance represents a fake virtual path (IsFake property).
136 Added new property DirectoryNoNormalize which returns
137 non-normalized directory for the VirtualPath instance.
138 Made ToString () a bit more friendly and well-behaved.
140 2009-03-26 Marek Habersack <mhabersack@novell.com>
142 * HttpWorkerRequest.cs: use a generic dictionary to keep header
144 GetKnown{Request,Response}HeaderIndex doesn't use the switch
147 * HttpResponse.cs: WriteHeaders now checks whether a header to be
148 sent is a known one or not and uses the appropriate method to send
149 that header. Partial fix for bug #488702
151 2009-03-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
153 * HttpResponse.cs: ClearHeaders() also resets cacheability.
156 2009-03-21 Marek Habersack <mhabersack@novell.com>
158 * HttpResponse.cs: added two missing 3.0+ properties -
159 SubStatusCode and TrySkipIisCustomErrors.
161 2009-03-04 Marek Habersack <mhabersack@novell.com>
163 * HttpRuntime.cs: do not clean the dynamic base directory in
164 DoUnload, it can cause race conditions.
166 2009-03-03 Marek Habersack <mhabersack@novell.com>
168 * HttpResponse.cs: fully implemented the Headers property.
169 It is also used in the 1.1 profile, but is internal.
171 * HttpCookie.cs: GetCookieHeader renamed to GetCookieHeaderValue -
172 now returns a string with the header value.
174 * HttpCacheVaryByParams.cs: GetResponseHeader renamed to
175 GetResponseHeaderValue - now returns a string with the header
178 * HttpCachePolicy.cs: SetHeaders now takes a NameValueCollection
179 instead of an ArrayList
181 * HttpRequest.cs: avoid calculating the same value twice in
184 2009-03-02 Everaldo Canuto <ecanuto@novell.com>
186 * HttpResponse.cs: Headers property implementation.
188 2009-02-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
190 * Web/HttpResponseHeader.cs:
191 * Web/HttpResponse.cs:
192 * Web/QueueManager.cs:
193 * Web/HttpRequest.cs:
194 * Web/TraceManager.cs:
195 * Web/HttpServerUtility.cs:
196 * Web/HttpApplication.cs: use GetWebApplication
197 instead of GetSection for application level configuration.
199 2009-02-26 Marek Habersack <mhabersack@novell.com>
201 * HttpResponse.cs: added DisableKernelCache and TransmitFile
204 * IisTraceListener.cs: added + implemented
206 2009-02-25 Marek Habersack <mhabersack@novell.com>
208 * HttpApplication.cs: let the current context known that
209 MapRequestHandler is done.
211 * HttpContext.cs: implemented RemapHandler
213 2009-02-24 Marek Habersack <mhabersack@novell.com>
215 * TempFileStream.cs: the class is internal
217 * VirtualPathUtility.cs: ToAbsolute (string, string, bool) is
220 * HttpException.cs: made the HttpException (int httpCode, string
221 message, Exception innerException, string resourceName) internal.
223 2009-02-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
225 * HttpServerUtility.cs: allow Transfer to static files too.
227 2009-02-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
229 * HttpWriter.cs: new Response property and WriteUTF8Ptr
231 * HttpResponseStream.cs: added support for writing from an
232 IntPtr. copied the memcpy method from String.cs.
234 2009-02-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
236 * HttpApplicationFactory.cs: check of global.asax was precompiled.
238 2009-01-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
240 * HttpApplicationFactory.cs: fix check that avoids lock. Keep one
241 HttpApplication instance ready to be returned in an instance variable
242 to avoid a few locks.
244 2009-01-29 Marek Habersack <mhabersack@novell.com>
246 * HttpApplicationFactory.cs: optimize lock usage.
248 2009-01-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
250 * HttpResponse.cs: make sure config is not null here.
251 * HttpApplication.cs: add a timer (-d:PIPELINE_TIMER) for the pipeline.
252 Handle timeouts for OutputPage() too.
254 2009-01-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
256 * HttpApplicationFactory.cs: set/reset the context for the application
257 when creating/disposing. Dispose() out of the lock.
259 2009-01-24 Marek Habersack <mhabersack@novell.com>
261 * XmlSiteMapProvider.cs: if a nested sitemap is used (via the
262 siteMapFile node attribute) watch the named file for
263 changes. Fixes bug #465693
265 2009-01-19 Christian Hergert <christian.hergert@gmail.com>
267 * QueueManager.cs: Implement requests queued performance counter.
268 * HttpRuntime.cs: Implement requests total counter.
269 * HttpApplication.cs: Implement requests total counter.
271 2009-01-13 Dean Brettle <dean@brettle.com>
273 * HttpApplicationFactory.cs: if there are any *.browser files in
274 App_Data/Mono_Machine_Browsers/, use those instead of the default
275 machine browser files. This allows app developers to workaround
276 limitations with Mono's default browser files without causing
277 incompatibilities with MS's implementation.
279 2009-01-09 Marek Habersack <mhabersack@novell.com>
281 * HttpContext.cs: RewritePath now treats relative and absolute
282 file paths with more care. If a path is of the ~/file.aspx form,
283 then the ~/ part is removed and the rest is combined with the base
284 virtual path. If the file path is of the ~ or /file.aspx forms,
285 then it is combined verbatim with the base virtual path. Fixes bug
287 Make sure the path returned from HttpRequest.BaseVirtualPath
288 contains the trailing slash before combining. Fixes bug #463964
290 2008-12-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
292 * ServerVariablesCollection.cs: use IndexOf (char).
294 2008-12-24 Marek Habersack <mhabersack@novell.com>
296 * HttpApplicationFactory.cs: watch for changes to web.config also
297 in the subdirectories.
299 2008-12-20 Marek Habersack <mhabersack@novell.com>
301 * HttpResponse.cs: the code in TransmitFile (VirtualFile, bool)
302 was an abomination - dear children, don't do this at home (never,
303 ever, allocate a buffer to load entire file). I will wear a brown
304 paper bag every 2nd Sunday in the next 6 months for writing the
305 old version of this code.
306 New code optimizes the write when DefaultVirtualFile is used (as
307 it refers to a physical file on disk) and reads/writes other
308 virtual files in chunks.
310 2008-12-16 Marek Habersack <mhabersack@novell.com>
312 * StaticFileHandler.cs: use HttpRuntime.RunningOnWindows instead
313 of checking the platform directly.
315 2008-12-09 Marek Habersack <mhabersack@novell.com>
317 * HttpServerUtility.cs: when Execute finishes, clear
318 Request.QueryStringRaw. Backport of r121010 by Vladimir Krasnov.
320 2008-12-03 Gert Driesen <drieseng@users.sourceforge.net>
322 * NoParamsInvoker.cs:
323 * HttpApplicationFactory.cs: Fixed support for static eventhandlers.
325 2008-11-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
327 * HttpContext.cs: MS does not throw. They just return null.
329 2008-11-24 Marek Habersack <mhabersack@novell.com>
331 * HttpRuntime.cs: take PlatformID.MacOSX into account when
332 determining whether we're running on Windows or not. Possible fix
335 2008-11-21 Marek Habersack <mhabersack@novell.com>
337 * HttpParseException.cs, HtmlizedException.cs: added
338 deserialization constructor.
340 2008-10-31 Marek Habersack <mhabersack@novell.com>
342 * HttpContext.cs: RewritePath correctly rewrites paths for cases
343 when application is running under a virtual directory different to
344 '/'. Fixes bug #371581
345 RewritePath checks the passed virtual path for validity.
347 * HttpRequest.cs: MapPath now uses
348 VirtualPathUtility.IsValidVirtualPath.
350 * VirtualPathUtility.cs: made Canonize () internal.
351 Added a new method - IsValidVirtualPath () which checks whether a
352 passed path contains only characters allowed for virtual paths.
354 2008-10-22 Marek Habersack <mhabersack@novell.com>
356 * HttpApplicationFactory.cs: use only the first matching method in
357 GetApplicationTypeEvents, since it will be the one coming from the
358 topmost type. Partial fix for bug #437691
360 2008-10-21 Marek Habersack <mhabersack@novell.com>
362 * HttpApplication.cs: if context.Session is null in get_Session,
363 throw an exception. Fixes bug #437289
365 * CapabilitiesLoader.cs: seal BrowserData.
366 Seal CapabilitiesLoader.
367 Do not lock on typeof (CapabilitiesLoader) in GetCapabilities ().
369 2008-10-16 Marek Habersack <mhabersack@novell.com>
371 * HttpApplicationFactory.cs: when looking up application type
372 event handlers (the Application_* methods), look deep in the
373 parent chain - we must support private handler methods in base
376 2008-10-15 Marek Habersack <mhabersack@novell.com>
378 * HttpResponse.cs: CacheabilityUpdatedEvent is no longer
379 used. cached_response is allocated only when the IsCached property
380 is assigned the 'true' value.
382 * HttpCachePolicy.cs: CacheabilityUpdatedEvent is no longer used,
383 removed all the traces of it. SetCacheability should not switch
386 2008-10-12 Gert Driesen <drieseng@users.sourceforge.net>
388 * HttpResponse.cs: Simplify code for outputting ASP.NET version, as
389 version header cannot be configured. MS corrected this documenation
390 error in .NET 2.0 SDK.
392 2008-10-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
394 * HttpApplication.cs: make sure we release the resources used by the
395 request and/or the response at the end of the request.
398 2008-10-01 Marek Habersack <mhabersack@novell.com>
400 * BrowserCapabilities.cs: IsBrowser needs to compare browser names
403 2008-09-29 Marek Habersack <mhabersack@novell.com>
405 * HttpApplication.cs: do not assume the passed IAsyncResult is a
406 is a valid object in async_handler_complete_cb. Fixes bug #430488
408 2008-09-28 Sebastien Pouliot <sebastien@ximian.com>
410 * HttpRequest.cs: Make sure the result of the multiplications are
411 longs (not integers casted into longs since they could overflow).
412 [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
414 2008-09-23 Marek Habersack <mhabersack@novell.com>
416 * HttpWorkerRequest.cs: implemented a SendCalculatedContentLength
417 overload. This method apparently does nothing in MS.NET.
419 2008-09-16 Juraj Skripsky <js@hotfeet.ch>
421 * HttpServerUtility.cs (UrlDecode, UrlEncode): Respect request/response
422 encoding. Fixes bug #426539.
424 2008-08-29 Marek Habersack <mhabersack@novell.com>
426 * HttpApplication.cs: do not cache handlers which aren't
429 2008-08-20 Marek Habersack <mhabersack@novell.com>
431 * HttpResponseHeader.cs: encode header values if
432 httpRuntime.enableHeaderChecking is true (default). Fixes bug
435 2008-08-13 Marek Habersack <mhabersack@novell.com>
437 * HttpException.cs: do not use StringBuilder.AppendFormat when
440 2008-08-08 Marek Habersack <mhabersack@novell.com>
442 * XmlSiteMapProvider.cs: a better bugfix for bug #412495.
443 Do not call RootNode within BuildSiteMap, as it induces
444 recursion. Fixes bug #415685.
446 2008-07-29 Marek Habersack <mhabersack@novell.com>
448 * HttpRequest.cs: if the FilePath contains embedded cookie-less
449 session identifier, remove it before computing the base virtual
450 directory. Fixes bug #397418
452 2008-07-28 Marek Habersack <mhabersack@novell.com>
454 * XmlSiteMapProvider.cs: set the base ResourceKey to the name of
455 our associated site map file, so that localization works
456 correctly. Fixes bug #412493
457 Do not add the root node retrieved from BuildSiteMapRecursive in
458 BuildMap, if the node is already the current root node. Fixes bug
461 2008-07-26 Gert Driesen <drieseng@users.sourceforge.net>
463 * HttpCachePolicy.cs: Only add Expires header if expire date is
464 actually set. Removed extra tabs and regions. Code formatting.
466 2008-07-23 Marek Habersack <mhabersack@novell.com>
468 * HttpApplication.cs: do not register handlers for
469 BeginRequest/EndRequest when called from within the
470 Application_Start handler. Fixes bug #411213
472 * HttpApplicationFactory.cs: let the application know we're
473 running the Application_Start handler so that it can suppress
474 registering some events from inside that handler (see bug
475 #381971). Fixes bug #411213
477 2008-06-30 Marek Habersack <mhabersack@novell.com>
479 * HttpRuntime.cs, HttpApplication.cs: hush the warnings
481 * HttpContext.cs: GetGlobalObjectFromFactory caches the
482 ResourceManager objects now. Patch from Zoltan Varga
483 <vargaz@gmail.com>, thanks!
484 The GetGlobalObjectFromFactory caches are thread local to avoid
486 GetResourceObject ResourceManager cache is now a thread local
487 Dictionary to avoid cloning.
490 2008-06-27 Robert Jordan <robertj@gmx.net>
492 * HttpCachePolicy.cs: map default HttpCacheability to
493 "Cache-control: private" for MS.NET compatibility.
494 Fixes bug #404083. Contributed by
495 Hubert FONGARNAND <informatique.internet@fiducial.fr>.
497 2008-06-21 Robert Jordan <robertj@gmx.net>
499 * HttpRuntime.cs (.cctor): Workaround for bug #402263.
501 2008-06-19 Marek Habersack <mhabersack@novell.com>
503 * MimeTypes.cs: added a mime type entry for .xpi files.
505 2008-06-18 Juraj Skripsky <js@hotfeet.ch>
507 * HttpResponse.cs (AddHeadersNoCache): Add "X-AspNet-Version" header if
510 2008-06-16 Noam Lampert <noaml@mainsoft.com>
512 * HttpContext.cs: improve support for RewritePath
514 2008-06-10 Marek Habersack <mhabersack@novell.com>
516 * HttpRuntime.cs: do not create a new thread to run the
517 application, reuse the thread from the hosting application (XSP's
518 thread comes from threadpool).
520 2008-06-06 Marek Habersack <mhabersack@novell.com>
522 * SiteMap.cs: FindCurrentNode is no longer needed. CurrentNode
523 uses Provider.CurrentNode to find the return value.
524 AddNode doesn't throw a duplicate key exception for nodes not
525 belonging to the current provider.
526 Check whether keys exist before removing entries from the
529 * XmlSiteMapProvider.cs: implemented support for child providers
530 (the AddProvider method). FindSiteMapNode* methods look for the
531 node also in the collection of child providers. Fixes bug #397040
533 2008-06-04 Marek Habersack <mhabersack@novell.com>
535 * HttpResponse.cs: correctly modify virtual path to include the
536 session ID in cookieless session mode. Fixes bug #396628.
538 * HttpServerUtility.cs: remove session hash from the URL if in the
539 cookieless mode. Fixes bug #396628.
541 * HttpRequest.cs: make sure that BaseVirtualDir always returns
544 2008-06-02 Miguel de Icaza <miguel@novell.com>
546 * HttpRuntime.cs: Thanks to Christian Hergert for finding this
549 Do not throw NIEX on IsOnUNCShare, instead compute the value.
551 2008-05-30 Marek Habersack <mhabersack@novell.com>
553 * HttpApplication.cs, HttpCachePolicy.cs, SiteMapProvider.cs,
554 TraceContext.cs: do not use synthetized event accessors (to avoid
557 2008-05-19 Noam Lampert <noaml@mainsoft.com>
559 * HttpServerUtility.cs: Fix bug in UrlPathEncode when URL contains '?'
561 2008-05-12 Noam Lampert <noaml@mainsoft.com>
563 * HttpApplication.cs: Fix regressions introduced by latest commit
565 2008-05-07 Gonzalo Panigua Javier <gonzalo.mono@gmail.com>
567 * HttpApplication.cs: create a fake context while loading the
568 modules on the first request so that the modules don't mess up
569 with the actual output of that request.
571 2008-05-07 Marek Habersack <mhabersack@novell.com>
573 * HttpRequest.cs: StripPath should handle UNC paths too. Fixes bug
574 #385870. Patch from Ivan Hamilton <ivan@chimerical.com.au>,
577 2008-05-06 Marek Habersack <mhabersack@novell.com>
579 * MimeTypes.cs: mime type keys might not exist in the dictionary,
580 in the 2.0 profile. Patch from Rolf Kvinge <rkvinge@novell.com>
581 and Jean-Baptiste Evain <jbevain@novell.com>, thanks! Fixes bug
584 2008-04-30 Marek Habersack <mhabersack@novell.com>
586 * HttpApplication.cs: when the Start method is called in a new
587 thread, the thread's culture and ui culture are set to their
588 defaults, thus ignoring whatever their values were in the parent
589 thread. This is now fixed by passing an array containing the
590 culture values to the Start method, so that the new thread can be
591 properly initialized. Fixes bug #323566
593 * SiteMapNode.cs: the implicitResourceKey parameter to one of the
594 constructors sets the value of the ResourceKey property.
595 GetImplicitResourceString uses the provider's ResourceKey as the
596 global resource object key and the node's ResourceKey to construct
597 the resource name. Fixes bug #323994
598 ResourceKey setter throws an InvalidOperationException now, when
599 the node is read-only.
601 2008-04-29 Marek Habersack <mhabersack@novell.com>
603 * HttpException.cs: safe guard against context being null in
606 2008-04-26 Marek Habersack <mhabersack@novell.com>
608 * VirtualPath.cs: added a new property, PhysicalPath.
610 2008-04-25 Gert Driesen <drieseng@users.sourceforge.net>
612 * HttpResponse.cs: Use double quotes in link to match MS.
614 2008-04-25 Marek Habersack <mhabersack@novell.com>
616 * HttpApplication.cs: use Request.CurrentExecutionFilePath when
617 querying for the handler. Makes requests work if request path was
618 rewritten without modifying the FilePath. Fixes bug #383652
620 * HttpContext.cs: set Request.FilePath in RewritePath only if
621 setClientFilePath is true. Fixes bug #383652
622 Revert the change in revision 100273 - the real bug was in a
623 different overload of RewritePath, fixed with the commit for the
626 2008-04-24 Marek Habersack <mhabersack@novell.com>
628 * HttpApplication.cs: added a new overload of GetHandler which
629 allows the caller to ignore the handler found in the context
630 passed to the method.
632 * HttpServerUtility.cs: have HttpApplication.GetHandler ignore the
633 handler found in the current context when Execute'ing another
634 page. Fixes bug #316166
636 2008-04-23 Marek Habersack <mhabersack@novell.com>
638 * VirtualPath.cs: introduced the CurrentRequestDirectory property,
639 which returns the virtual directory for the current request. The
640 information is taken from either current request's
641 CurrentExecutionFilePath property (if not null) or from the path
642 set externally (by setting the property or using the appropriate
643 VirtualPath constructor). The new property is used to construct
644 the correct absolute virtual path in the MakeRooted method. Fixes
647 * HttpApplication.cs: events registered from Application_Start are
648 silently ignored - any event registered after the one-time
649 application initialization is completed, is ignored. Fixes bug
652 * HttpApplicationFactory.cs: call app.DisposeInternal instead of
655 * HttpContext.cs: Fix bug #371581 for 1.1 as well.
657 2008-04-19 Marek Habersack <mhabersack@novell.com>
659 * HttpException.cs: don't write the stack trace inside html
660 comment if custom errors are enabled.
662 2008-04-15 Kornél Pál <kornelpal@gmail.com>
664 * HttpRuntime.cs: Don't add Date header for error pages either. Fixes bug
667 2008-04-15 Marek Habersack <mhabersack@novell.com>
669 * HttpRequest.cs: dispose of streams the way it should
672 2008-04-14 Igor Zelmanovich <igorz@mainsoft.com>
674 * HttpRuntime.cs: refactoring.
676 2008-04-14 Marek Habersack <mhabersack@novell.com>
678 * XmlSiteMapProvider.cs: FindStartingNode throws an exception when
679 it is passed a file which ends in an extension other than
681 Fixed a check for the siteMapFile attribute presence. Fixes bug
684 * SiteMap.cs: FindCurrent node uses the default provider
685 exclusively. Fixes bug #379566
687 2008-04-10 Marek Habersack <mhabersack@novell.com>
689 * HttpApplicationFactory.cs: compile web references before
690 App_Code. Fixes bug #377934
692 * MimeTypes.cs: added some missing MIME types. New entries
693 contributed by Albert Ritmeester
694 <aritmeester@vitalhealthsoftware.nl>, thanks! Fixes bug #372290
696 2008-04-09 Marek Habersack <mhabersack@novell.com>
698 * HttpContext.cs: make RewritePath work correctly in the 2.0
699 profile, fixes bug #371581
701 * HttpApplicationFactory.cs: compile web references. Fixes bug
704 * VirtualPath.cs: added a method to convert a physical path into a
705 virtual one, if the physical path is under the application root.
707 2008-04-08 Dean Brettle <dean@brettle.com>
709 * HttpApplicationFactory.cs (CapabilitiesProcessor): changed to
710 use etc/mono/2.0/Browser/*.browser files in addition to
711 ~/App_Browsers/*.browser files.
713 2008-04-07 Marek Habersack <mhabersack@novell.com>
715 * VirtualPath.cs: added
717 2008-04-02 Marek Habersack <mhabersack@novell.com>
719 * HttpRequest.cs: make sure QueryStringRaw is always returned with
720 a leading '?' and that we return something meaningful even if the
721 url components weren't collected before. Fixes bug #376352
723 2008-04-01 Marek Habersack <mhabersack@novell.com>
725 * HttpApplication.cs: set context.Handler to the detected handler
726 object before firing application events. Fixes bug #372897
728 2008-03-31 Marek Habersack <mhabersack@novell.com>
730 * StaticFileHandler.cs: added code to use custom
731 VirtualPathProvider, if present, to serve files from virtual
734 * HttpResponse.cs: added two internal TransmitFile overloads which
735 take a VirtualFile as a parameter.
737 2008-03-27 Marek Habersack <mhabersack@novell.com>
739 * HttpRequest.cs: make UrlComponents internal.
741 * HttpContext.cs: added support for resource provider factories.
743 2008-03-13 Marek Habersack <mhabersack@novell.com>
745 * HttpApplicationFactory.cs: use HttpApplication.BinDirs to
746 create watchers for binary application directories.
748 * HttpApplication.cs: use HttpRuntime.CaseInsensitive instead of
749 own IsRunningOnWindows.
750 Remove the BinDirectories enumerator property, replaced with a
751 BinDirectory one returning a string with path to the binary
754 * HttpRuntime.cs: introduce two static properties -
755 CaseInsensitive (set to true whenever the environment is
756 case-insensitive - i.e. MONO_IOMAP="all" or MONO_IOMAP="case", or
757 running on Windows) and RunningOnWindows.
759 2008-03-12 Marek Habersack <mhabersack@novell.com>
761 * HttpApplication.cs: HttpContext.Handler may be set by a module
762 in any of the event handlers between acquiring the initial handler
763 and processing the request. Honor the setting and use
764 HttpContext.Handler instead of the matched one if set.
766 2008-03-10 Marek Habersack <mhabersack@novell.com>
768 * HttpApplication.cs: synchronize Modules and Dispose with
769 InitOnce. Should prevent firing module events before the modules
770 are fully initialized.
772 2008-03-09 Dean Brettle <dean@brettle.com>
774 * HttpApplicationFactory.cs: Added support for detecting
775 App_Browsers/*.browser files and using them to determine capabilities.
776 Also restart the app if the App_Browsers, App_Code, or App_GlobalResources
777 directories are created.
779 * BrowserCapabilities.cs (TagWriter): get value via internal virtual
780 GetTagWriter() method, which is overridden in nBrowser.Result.
782 * HttpRequest.cs (BrowserMightHaveSpecialWriter, BrowserMightHaveAdapters):
783 internal properties added to allow Page and Control methods to avoid
784 accessing Request.Browser to get browser-specific HtmlTextWriters or
785 ControlAdapters. Those things only exist when there are App_Browsers
788 2008-03-09 Marek Habersack <mhabersack@novell.com>
790 * HttpUtility.cs: HTML-decode the query string prior to parsing
793 2008-03-01 Marek Habersack <mhabersack@novell.com>
795 * HttpRuntime.cs: SettingsMappingManager has been moved to
798 2008-02-28 Marek Habersack <mhabersack@novell.com>
800 * HttpParamsCollection.cs: restore the GetValues overrides only to
801 make sure the collections are merged before invoking the base
803 Remove code that's no longer needed.
805 2008-02-27 Marek Habersack <mhabersack@novell.com>
807 * HttpException.cs: error message output format changes.
809 2008-02-26 Kornél Pál <kornelpal@gmail.com>
811 * HttpResponse.cs: Don't add Date header because servers usually add
812 a Date header that would result in duplicate Date header sent to the
813 client. Fixes bug #363404.
815 2008-02-25 Marek Habersack <mhabersack@novell.com>
817 * HttpException.cs: fix a buglet with unfoldable hidden divs which
818 contain the full compiler output and the full source code.
820 * HttpContext.cs: correctly set the timeout if the user has
821 specified a timeout which, when converted to milliseconds yields a
822 value larger than one allowed by Timer.Change. This can happen,
823 for instance, when HttpServerUtility.ScriptTimeout is set to
824 Int32.MaxValue. Previously, when something like that happened, the
825 value was converted to 0ms, giving an instantenous timer
826 expiration and, what follows, a request "timeout".
828 2008-02-19 Marek Habersack <mhabersack@novell.com>
830 * HttpParamsCollection.cs: do not override the NVC behavior for
831 GetValues - values from different sources (Form, Query, Cookies,
832 ServerVariables) must be kept separate for this purpose. This is
833 also the behavior of MS.NET. Fixes bug #362189
835 2008-02-18 Marek Habersack <mhabersack@novell.com>
837 * HttpRuntime.cs: When app is offline, send status code 503
838 instead of 200. Fixes bug #357565
840 2008-02-10 Gert Driesen <drieseng@users.sourceforge.net>
842 * HttpException.cs: Avoid IndexOutOfRangeException when there are no
845 2008-02-07 Gert Driesen <drieseng@users.sourceforge.net>
847 * HttpException.cs: Removed CWL.
849 2008-02-07 Marek Habersack <mhabersack@novell.com>
851 * HttpException.cs: more exception output compatibility changes to
854 2008-02-07 Vladimir Krasnov <vladimirk@mainsoft.com>
856 * HttpContext.jvm.cs: added CurrentHandlerInternal property
858 2008-02-07 Marek Habersack <mhabersack@novell.com>
860 * HttpException.cs: moved several strings to constants, for easier
862 Added 3 new constructors which let the caller to set the exception
864 The Description property is now settable.
865 The stack trace at the bottom of the file is written after the
866 terminating </html>, inside a HTML comment. Format changed to
868 Error 404 is handled in a special way, to match the output with
871 * HttpContext.cs, StaticFileHandler.cs, HttpApplication.cs: use
872 the new HttpException constructor for 404.
874 2008-02-07 Vladimir Krasnov <vladimirk@mainsoft.com>
876 * HttpResponse.cs: fixed AddHeadersNoCache, removed date_header since
877 java app server adds it, under TARGET_J2EE.
879 2008-02-06 Marek Habersack <mhabersack@novell.com>
881 * HttpApplicationFactory.cs: in FireOnAppEnd, set app_type to null
882 after the event has been fired.
884 * HttpRuntime.cs: when switching to offline mode fire the
885 shutdown events. Fixes bug #357565.
886 Watch for Created event in the FileSystemWatcher for the
887 app_offline.htm files.
889 2008-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
891 * HttpRequest.cs: performance optimization of QueryStringRaw
893 2008-01-27 Igor Zelmanovich <igorz@mainsoft.com>
895 * HttpResponse.cs: rise PreSendRequestHeaders befire headers_sent
896 initialization to allow set additional headers or status code at
897 PreSendRequestHeaders event handlers.
899 2008-01-24 Marek Habersack <mhabersack@novell.com>
901 * HttpApplicationFactory.cs: use BuildManager.GetCompiledType to
902 build the application (global.asax) file.
904 2008-01-22 Konstantin Triger <kostat@mainsoft.com>
906 * HttpResponse.cs: move headers_sent initialization up to prevent additional
907 trial to send headers if an exception is thrown.
909 2008-01-21 Konstantin Triger <kostat@mainsoft.com>
911 * HttpRequest.cs: Form validation: ensure the collection is accessible after
914 2008-01-16 Juraj Skripsky <js@hotfeet.ch>
916 * HttpRequest.cs (get_UrlReferrer): Handle case when headers contain
917 invalid Url for referer.
919 2008-01-16 Juraj Skripsky <js@hotfeet.ch>
921 * HttpCookieCollection.cs (AllKeys): Use Keys.CopyTo().
923 2008-01-14 Sebastien Pouliot <sebastien@ximian.com>
925 * HttpCookie.cs: Fix HttpOnly setter. Found using Gendarme.
927 2008-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
929 * HttpContext.cs: added resource manager caching in GetResourceObject
930 * HttpContext.jvm.cs: added resourceManagerCache storing in appdomain
932 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
934 * HttpContext.cs: added HasError method
935 * HttpApplication.cs: refactored thread abort handling
937 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
939 * HttpRuntime.cs: fixed HttpRuntime, added Cache.DependencyCache
942 2007-12-26 Igor Zelmanovich <igorz@mainsoft.com>
946 make trace considers control state info.
948 2007-12-25 Igor Zelmanovich <igorz@mainsoft.com>
950 * HttpApplication.cs: initialize culture each request.
951 makes it consider culture settings from nested web.config
953 2007-12-19 Juraj Skripsky <js@hotfeet.ch>
955 * HttpContext.cs, HttpApplication.cs: Move timeout tracking from
956 TimeoutManager into HttpContext. Replace periodic timeout checks with
957 separate per-context timeout timers.
958 * HttpRuntime.cs: remove TimeoutManager.
960 2007-12-18 Miguel de Icaza <miguel@novell.com>
962 * HttpCookieCollection.cs (Get): implement using the indexer to
963 share some code. Should fix #349564.
965 2007-12-16 Igor Zelmanovich <igorz@mainsoft.com>
967 * HttpContext.cs: added IsProcessingInclude property.
968 * HttpServerUtility.cs: set IsProcessingInclude value within Execute.
970 2007-12-13 Marek Habersack <mhabersack@novell.com>
972 * HttpRequest.cs, HttpResponse.cs, SiteMapNode.cs, HttpRuntime.cs,
973 HttpResponseStream.cs, HttpApplication.cs, HttpCachePolicy.cs:
974 speed optimization - use String.Concat instead of String.Format in
977 2007-12-13 Igor Zelmanovich <igorz@mainsoft.com>
979 * HttpApplication.cs:
982 * HttpServerUtility.cs:
983 - When Transfer/Execute is called with preserveForm=true, transferred
984 page is not processed as PostBack but form collection is preserved.
985 - When Execute is called more than once, PreviousPage property is set
988 2007-12-09 Vladimir Krasnov <vladimirk@mainsoft.com>
990 * HttpApplication.cs: added TARGET_JVM to LoadType method
992 2007-12-08 Marek Habersack <mhabersack@novell.com>
994 * HttpRuntime.cs: initialize the Settings Mapping Manager once per
995 application, just after initalizing the WebConfigurationManager.
997 2007-11-28 Marek Habersack <mhabersack@novell.com>
999 * HttpApplication.cs: peform the check of whether we're running on
1000 Windows from within a static constructor.
1002 2007-11-23 Marek Habersack <mhabersack@novell.com>
1004 * RequestNotificationStatus.cs: fix the order of enum members.
1006 * RequestNotification.cs: assign correct values to the enum
1009 * StaticSiteMapProvider.cs: change visibility of the constructor.
1011 * HttpRequest.cs: added missing property LogonUserIdentity.
1013 * HttpCacheVaryByContentEncodings.cs: this constructor should not
1016 2007-11-23 Daniel Nauck <dna@mono-project.de>
1018 * TraceContextRecord.cs: implemented
1020 2007-11-23 Marek Habersack <mhabersack@novell.com>
1022 * BrowserCapabilities.cs: the JavaScript property is obsolete in
1025 2007-11-22 Daniel Nauck <dna@mono-project.de>
1027 * IPartitionResolver.cs: implemented
1029 2007-11-22 Daniel Nauck <dna@mono-project.de>
1031 * WebPageTraceListener.cs: implemented
1033 2007-11-22 Marek Habersack <mhabersack@novell.com>
1035 * RequestNotificationStatus.cs: added
1037 * RequestNotification.cs: added
1039 * HttpCacheVaryByContentEncodings.cs: added
1041 * HttpCachePolicy.cs: added the HttpCacheVaryByContentEncodings
1044 * HttpApplication.cs: added 3 new events to the pipeline (for
1045 compatibility with the 2.0sp1/3.5 version of System.Web)
1047 2007-11-22 Daniel Nauck <dna@mono-project.de>
1049 * WebPageTraceListener.cs: initial checkin (stubs).
1051 2007-11-17 Marek Habersack <mhabersack@novell.com>
1053 * HttpResponse.cs: make sure fileDependencies is not null before
1054 attempting to use it. Fixes bug #342511.
1056 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
1059 * TraceData.cs: implemented TraceMode feature.
1061 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
1063 * BaseParamsCollection.cs:
1064 ensure collection will not be changed during enumeration.
1066 2007-11-06 Marek Habersack <mhabersack@novell.com>
1068 * HttpResponse.cs: trigger the PreSendRequestHeaders event before
1069 setting the output headers. Fixes bugs #334521, #339538
1071 * TraceData.cs: do not use DataTable for trace data storage
1072 anymore. Instead, a set of classes is used to hold data and a
1073 Queue container (generic version in 2.0) is used to hold the data
1074 rows. Fixes bug #325267.
1076 2007-11-05 Marek Habersack <mhabersack@novell.com>
1078 * HttpRequest.cs: cope with UriBuilder.Query being null.
1080 2007-11-03 Gert Driesen <drieseng@users.sourceforge.net>
1082 * HttpRuntime.cs: Always return a path with trailing directory
1083 separator character. Spaces to tabs.
1085 2007-11-03 Marek Habersack <mhabersack@novell.com>
1087 * HttpApplication.cs: removed unused internal PrivateBinPath
1090 * HttpRuntime.cs: BinDirectory returns a path that ends with the
1091 directory separator character.
1093 2007-11-02 Marek Habersack <mhabersack@novell.com>
1095 * HttpServerUtility.cs: in 2.0, Transfer is allowed only from
1096 pages. Fixes bug #334931
1097 Also, according to MSDN docs, transfer in 2.0+ is possible only to
1100 * HttpRuntime.cs: BinDirectory returns a full path to the actual
1101 bin directory in the application root. If no bin directory is
1102 found, it defaults to returning <applicationPath>/bin. Fixes bug
1105 * HttpApplication.cs: introduced HTTP handler cache to save time
1106 on repetitive handler collection traversals. On busy sites the
1107 traversal of the default 26 handlers may account for thousands of
1108 unnecessary calls to configsystem.LocateHandler method, which may
1109 also involve executing a regex. The cache is cleared whenever the
1110 HTTP handler collection is modified.
1112 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
1114 * HttpUtility.cs: fixed HtmlEncode for TARGET_JVM.
1116 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
1118 * HttpUtility.cs: fixed UrlPathEncode.
1120 2007-10-24 Gert Driesen <drieseng@users.sourceforge.net>
1122 * StaticFileHandler.cs: Modified 404 message to match MS.
1124 2007-10-24 Marek Habersack <mhabersack@novell.com>
1126 * HttpUtility.cs: MS.NET does not support the ';' query parameter
1127 separator. Fixes bug #335615
1129 2007-10-18 Juraj Skripsky <js@hotfeet.ch>
1131 * StaticSiteMapProvider.cs: Replace Hashtables by Dictionaries,
1132 don't allocate them on-demand, there will never be many
1133 Provider instances around.
1134 AddNode(): Check for duplicate keys before adding any item to
1136 RemoveNode(): Use fact that Hashtable.Remove() never throws,
1137 remove item from keyToNode as well, make symmetric to AddNode().
1138 MapUrl(): Use VirtualPathUtility, allow for full urls
1139 (e.g. http://www.google.com).
1141 2007-10-17 Marek Habersack <mhabersack@novell.com>
1143 * StaticFileHandler.cs: fixed an bug with Mono running under
1144 Windows operating systems which caused XSP to return source of the
1145 requested page if the file name used in the request ended in any
1146 number of spaces or dots. The problem lies in the way the Win32
1147 subsystem treats such file names - it ignores the trailing
1148 characters and allows the calling application to open a file on
1149 disk even when its name does not contain the trailing characters
1150 used in the open request. Such file names may be supported by the
1151 underlying filesystem (e.g. NTFS) but they are not supported by
1152 the I/O Win32 subsystem. The security issue is reported in
1153 CVE security report CVE-2007-5473. Fixes bug #332401
1155 2007-10-17 Igor Zelmanovich <igorz@mainsoft.com>
1158 response status is sent after PreSendRequestHeaders invoked.
1159 Redirect method set RedirectLocation property
1162 2007-10-15 Marek Habersack <mhabersack@novell.com>
1164 * HttpApplication.cs: do not return a non-existing bin directory
1165 from BinDirectories. Patch from Atsushi Enomoto
1166 <atsushi@ximian.com>, thanks! Fixes bug #332434.
1168 2007-10-04 Marek Habersack <mhabersack@novell.com>
1170 * HttpApplication.cs: call the Init method after loading the
1171 modules and hooking up application events. Fixes bug #330416.
1173 2007-10-01 Marek Habersack <mhabersack@novell.com>
1175 * HttpServerUtility.cs: set a flag when transferring control to
1178 * HttpContext.cs: added an internal InTransit property to carry
1179 information that HttpServerUtility.Transfer has been used, over to
1182 2007-09-12 Juraj Skripsky <js@hotfeet.ch>
1184 * StaticSiteMapProvider.cs (AddNode): Add message text to
1185 InvalidOperationException (duplicate url case).
1187 2007-09-06 Marek Habersack <mhabersack@novell.com>
1189 * HttpCachePolicy.cs: implemented setting the ETag and
1190 Last-Modified headers from file dependencies.
1192 * HttpResponse.cs: implemented file dependency methods.
1194 2007-09-01 Marek Habersack <mhabersack@novell.com>
1196 * HttpRuntime.cs: rewrote the app_offline.htm support. It now uses
1197 filesystem watchers instead of checking for existence of the
1198 file(s) at the beginning of every request. No performance penalty
1201 2007-08-31 Marek Habersack <mhabersack@novell.com>
1203 * HttpApplicationFactory.cs: added methods to enable/disable
1206 * HttpRuntime.cs: implemented handling of app_offline.htm file in
1207 the application root directory. Fixes bug #81127.
1209 * HttpResponse.cs: make sure neither context or
1210 context.ApplicationInstance are null in End ().
1212 2007-08-27 Marek Habersack <mhabersack@novell.com>
1214 * HttpCookie.cs: make sure a key is output even if it has no
1215 values set. Fixes bug #81333.
1217 2007-08-23 Marek Habersack <mhabersack@novell.com>
1219 * HttpApplication.cs: added a static array BinDirs which contains
1220 the common bin directory names we can encounter.
1221 Added internal static property IsRunningOnWindows.
1222 Added internal enumerable property BinDirectories to iterate over
1223 the full paths of the available binary directories.
1224 Added internal enumerable property BinDirectoryAssemblies to
1225 iterate over .dll files in the bin directories.
1226 LoadTypeFromPrivateBin renamed to LoadTypeFromBin.
1227 LoadTypeFromBin uses BinDirectoryAssemblies.
1229 * HttpApplicationFactory.cs: use HttpApplication.BinDirectories to
1230 interate over the list of bin dirs.
1232 2007-08-21 Marek Habersack <mhabersack@novell.com>
1234 * HttpApplicationFactory.cs: watch for changes in all the
1235 private binary directories for the current application domain.
1237 * HttpApplication.cs: turn the PrivateBinPath property into an
1238 internal enumerable, so that code throughout the assembly can
1239 iterate over the list of private bin directories configured for
1240 the application domain.
1241 Added a new internal method LoadTypeFromPrivateBin, for sharing
1242 with other parts of the assembly.
1244 2007-08-18 Juraj Skripsky <js@hotfeet.ch>
1246 * HttpRequest.cs (StripPath): Fix off-by-one error, make static.
1248 2007-08-18 Marek Habersack <mhabersack@novell.com>
1250 * HttpRequest.cs: IE sends the full input file path when uploading
1251 a file via the upload input control. Detect the situation and
1252 strip the leading path. Fixes bug #82059.
1254 * HttpServerUtility.cs: set the current context's path(s) to the
1255 Transfer/Execute target only to retrieve the new handler, and
1256 restore them immediately afterwards. It has a two-fold effect:
1257 first it avoids an extra round trip to the original page which
1258 called Transfer/Execute, second it makes FilePath etc. return
1259 information about the original page (that is the one which called
1260 Transfer/Execute). Fixes bug #82439.
1262 2007-08-14 Marek Habersack <mhabersack@novell.com>
1264 * XmlSiteMapProvider.cs: do not hide this_lock.
1266 2007-08-09 Marek Habersack <mhabersack@novell.com>
1268 * HttpApplicationFactory.cs: unconditionally watch for changes
1269 (including creation) to Global.asax, global.asax, Web.config,
1270 web.config and Web.Config. This makes the application restart once
1271 any of those is created. Patch from Juraj Skripsky
1272 <juraj@hotfeet.ch>, thanks! Fixes bug #82380.
1274 2007-08-08 Marek Habersack <mhabersack@novell.com>
1276 * StaticSiteMapProvider.cs, HttpApplicationFactory.cs,
1277 HttpStaticObjectsCollection.cs, SiteMapProvider.cs,
1278 XmlSiteMapProvider.cs, HttpApplication.cs, CapabilitiesLoader.cs,
1279 TimeoutManager.cs: do not use lock (this), replace it with lock
1280 (this_object), where this_object is an instance variable. Prevents
1281 deadlocks in situation when external code locks on the class
1284 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1286 * HttpUtility.cs: performance refactoring, optimized UrlEncode
1288 2007-08-05 Igor Zelmanovich <igorz@mainsoft.com>
1290 * SiteMapNode.cs: refactoring + typo fix:
1291 variable is declared in scope where is used.
1293 2007-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1295 * VirtualPathUtility.cs: refactored GetDirectory, ToAbsolute, added
1296 internal api to skip path normalizing
1298 2007-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
1300 * HttpResponseStream.jvm.cs: optimized CharBucket
1302 2007-07-22 Vladimir Krasnov <vladimirk@mainsoft.com>
1304 * HttpServerUtility.cs: fixed Execute, SetCurrentExePath should be
1305 called after ApplicationInstance.GetHandler call in case of GetHandler
1306 fails for some reason
1308 2007-07-21 Marek Habersack <mhabersack@novell.com>
1310 * HttpRuntime.cs: clean up the dynamic base directory on domain
1313 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
1315 * HttpUtility.cs: optimized HtmlEncode and HtmlAttributeEncode methods
1317 2007-07-05 Miguel de Icaza <miguel@novell.com>
1319 * HttpApplication.cs (AsyncRequestState.Complete): Add the
1320 try/catch for the callback here to ensure that we only call
1321 complete_event.Set once.
1323 (PipelineDone): This is where the core of the bug fix is: do not
1324 call Complete() or call done.Set() (depending on the invocation
1325 case) until we are actually done cleaning up the request.
1327 The problem was that we signaled that we were done, but we had not
1328 completed the shut down, so another thread could have been
1329 scheduled on the same HttpApplication and had its variables be
1330 modified as we completed the shutdown on the first thread.
1332 This fixes #81400 which was a very long standing bug.
1334 (Tick): Remove the pipeline check against null, this is not
1335 necessary and it will help us find problems like this one in the
1338 Reverts patch r66072 which was a described as:
1340 band-aid patch to help debugging hang running 2.0
1343 2007-07-02 Marek Habersack <mhabersack@novell.com>
1345 * CapabilitiesLoader.cs: provide default capability values for all
1346 the 2.0+ capabilities which are not defined in our
1347 browscap.ini. The default values have been assigned as per
1348 MSDN. Fixes bug #81927
1350 2007-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1352 * HttpResponse.cs: fixed AddHeadersNoCache, removed content-length
1353 header for TARGET_JVM
1354 * HttpWorkerRequest.cs: made this class partial, moved TARGET_JVM stuff
1356 * HttpWriter.cs: fixed write methods, output_stream can write char[]
1357 and string in TARGET_JVM
1358 added HttpWorkerRequest.jvm.cs, HttpResponseStream.jvm.cs
1360 2007-06-25 Juraj Skripsky <js@hotfeet.ch>
1362 * HttpRuntime.cs (ShutdownAppDomain): Re-introduce call to
1363 "Cache.InvokePrivateCallbacks".
1365 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1367 * HttpUtility.cs: fixed HtmlAttributeEncode, performance improvement
1369 2007-06-20 Marek Habersack <mhabersack@novell.com>
1371 * HttpRuntime.cs: added new internal property, InternalCache, to
1372 keep all the internal cache entries instead of mixing them with
1373 the public cache ones.
1374 Do not invoke Cache.InvokePrivateCallbacks - this method no longer
1377 * HttpResponse.cs: private entries are now kept in
1378 Context.InternalCache.
1380 * HttpContext.cs: added new internal property, InternalCache,
1381 which returns the HttpRuntime.InternalCache value.
1383 * HttpApplication.cs: check all the loaded assemblies for the type
1384 being looked up. Patch from Juraj Skripsky <juraj@hotfeet.ch>,
1385 thanks! Fixes bug #81697.
1387 2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>
1389 * HttpUtility.cs: refactoring:
1390 removed constants to another class.
1392 2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>
1394 * AssemblyResourceLoader.cs: refactoring:
1395 make the code reusable in System.Web.Extenssions.
1397 2007-05-31 Marek Habersack <mhabersack@novell.com>
1399 * SiteMapProvider.cs: implemented proper logic of authorizing
1400 user's access to a sitemap node, as per MSDN2 docs. Patch from
1401 Dumitru Ban <dban@dako.ro>, thanks!
1403 2007-05-30 Marek Habersack <mhabersack@novell.com>
1405 * TraceManager.cs: Catch all the possible exceptions in the
1406 constructor - the object MUST be created successfully (even if
1409 * HttpRequest.cs: do not attempt to apply url mappings if the
1410 configuration manager has errors.
1412 * HttpRuntime.cs: handle static constructor exceptions later on,
1413 during the first call to ReallyProcessRequest.
1415 * QueueManager.cs: provide defaults for the parameters to be read
1416 from the config file(s).
1417 Catch all the possible exceptions in the constructor - the object
1418 MUST be created successfully (even if there are errors).
1420 2007-05-29 Marek Habersack <mhabersack@novell.com>
1422 * SiteMapProvider.cs: updated the node accessibility comments.
1423 If Roles not null and user is not in at least one of the
1424 specified roles, return false.
1425 If there Url is null or empty, return false.
1427 2007-05-28 Marek Habersack <mhabersack@novell.com>
1429 * HttpRequest.cs: since Path is used from within
1430 WebConfigurationManager, under some conditions it may lead to
1431 endless recursion if the UrlComponents is not instantiated when
1434 2007-05-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1436 * HttpContext.cs: added ProfileInitialized boolean property
1438 2007-05-16 Vladimir Krasnov <vladimirk@mainsoft.com>
1440 * VirtualPathUtility.cs: Normalize method check more carefully if need
1441 to normalize, performance fix
1443 2007-05-16 Konstantin Triger <kostat@mainsoft.com>
1445 * HttpContext.cs: correctly check for request locality.
1447 2007-05-15 Marek Habersack <mhabersack@novell.com>
1449 * HttpApplication.cs: refactoring - moved LoadType from
1450 WebConfigurationHost here and made it internal static, in order to
1451 make the code avaliable from all the places where extended type
1452 loading is required.
1454 2007-05-14 Marek Habersack <mhabersack@novell.com>
1456 * HttpUtility.cs: when parsing query strings, skip the leading ?
1457 for the first parameter name.
1459 * HttpRequest.cs: added support for mapping urls, as defined in
1460 the system.web/urlMappings section.
1462 2007-05-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1464 * HttpWriter.cs: GetMaxByteCount was used in Write and WriteString
1465 methods to improve performance of HttpWriter
1467 2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
1469 * HttpApplication.cs:
1470 prevent DOS attack: remove configuration from the cache in case
1471 of invalid resource not exists
1473 2007-05-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1475 * TraceContext.cs: refactoring, cached TraceManager
1477 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1479 * HttpApplication.cs:
1481 handling exceptions occurred if <system.web/customError>
1482 section is not valid.
1484 2007-05-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1486 * BaseParamsCollection.cs: fixed Get(string) property, fixed collection
1489 2007-05-07 Marek Habersack <mhabersack@novell.com>
1491 * HttpResponseStream.cs: use BufferOutput
1493 * HttpResponse.cs: support Buffer, but use BufferOutput
1495 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1497 * BrowserCapabilities.cs:
1500 2007-04-30 Igor Zelmanovich <igorz@mainsoft.com>
1502 * HttpApplication.cs: reverted r74717.
1504 2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
1506 * HttpContext.jvm.cs: Response.End() must abort thread if not async.
1508 2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
1510 * HttpApplication.cs: doesn't cache httpHandlersSection in instance,
1511 that allows to consider httpHandlers section in nested web.config.
1513 2007-04-27 Marek Habersack <mhabersack@novell.com>
1515 * XmlSiteMapProvider.cs: add support for siteMapFile attribute.
1517 2007-04-24 Marek Habersack <mhabersack@novell.com>
1519 * CapabilitiesLoader.cs: Hashtables used as property containers
1520 should not be case-insensitive as we now preload the property
1521 hashes with default properties, to make the code work in case
1522 browscap.ini is broken or missing. Instead, the keys are
1523 lower-cased and trimmed before indexing the Hashtable.
1524 Added all the missing capabilities to the defaultCaps Hashtable.
1525 The returned Hashtable is not reversed in GetCapabilities anymore
1526 - it might make the code faster, but it also makes it mismatch
1527 browsers (e.g. Firefox 2.0 is mismatched for Mozilla 1.8).
1528 All of the above fixes bug #81437.
1530 * HttpRequest.cs: MS.NET throws HttpException for invalid paths,
1531 not ArgumentNullException.
1533 * HttpException.cs: wrap GetHtmlErrorMessage internals in
1534 try/catch to capture possible exceptions in HttpContext.
1536 * HttpContext.cs: IsCustomErrorEnabled is used from within
1537 HttpException, make sure it gets the section in a safe way and
1538 resorts to the default settings.
1540 * HttpResponse.cs: HeaderEncoding is used in the same context as
1541 above. Take the same precautions.
1543 2007-04-22 Joshua Tauberer <jit@occams.info>
1545 * HttpParamsCollection.cs: Fix IndexOutOfRangeException.
1547 2007-04-19 Miguel de Icaza <miguel@novell.com>
1549 * BaseParamsCollection.cs (Get (string)): Call LoadInfo here to
1552 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1554 * HttpException.cs: used GetBaseException() instead InnerException.
1556 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1558 * HttpException.cs: shows message of InnerException in head of Page.
1560 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1562 * HttpException.cs: fixed generated HTML formating.
1564 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1566 * HttpContext.cs: GetGlobalResourceObject, GetLocalResourceObject
1567 use case-insensitive ResourceManager
1569 2007-04-15 Marek Habersack <mhabersack@novell.com>
1571 * VirtualPathUtility.cs: converted to LF line endings and set the
1572 svn:eol-style property to 'native'
1574 2007-04-13 Marek Habersack <mhabersack@novell.com>
1576 * SiteMap.cs: try to look up the current map node in providers
1577 other than the current one. Patch from Mike Morano
1578 <mmorano@mikeandwan.us>. Fixes bug #81366.
1580 2007-04-12 Vladimir Krasnov <vladimirk@mainsoft.com>
1582 * HttpRequest.cs: fixed Params property to be lazy initialzation
1584 * added HttpParamsCollection.cs
1586 2007-04-11 Konstantin Triger <kostat@mainsoft.com>
1588 * HttpRequest.cs: IsLocal should return true for loopback addresses.
1590 2007-04-10 Marek Habersack <mhabersack@novell.com>
1592 * HttpCookie.cs: format the output of HttpCookie.Values.ToString()
1593 in the same way MS.NET does. Fixes bug #81333. Patch from Mike
1594 Morano <mmorano@mikeandwan.us>.
1596 * XmlSiteMapProvider.cs: add the NotifyFilters.Size to the
1597 watcher flags, so that we watch for modifications to a file when
1598 using Linux inotify.
1600 * HttpApplicationFactory.cs: add the NotifyFilters.Size to the
1601 watcher flags, so that we watch for modifications to a file when
1602 using Linux inotify.
1603 App_Code, App_Browsers and App_GlobalResources watchers must watch
1604 for events with the '*' mask so that they can notice events
1605 related to subdirectory creation/deletion.
1606 Watch for subdirectory events with the App_Code watcher.
1608 2007-04-07 Marek Habersack <mhabersack@novell.com>
1610 * HttpException.cs: show a default custom error message if custom
1612 Cleaned up the errors HTML, made it XHTML-compliant. Generated
1613 HTML now uses inline CSS styles.
1615 2007-04-06 Marek Habersack <mhabersack@novell.com>
1617 * HttpUtility.cs: added a constant that contains the default query
1618 parameter character.
1619 ParseQueryString supports queries with both '&' and ';' parameter
1622 2007-04-05 Marek Habersack <mhabersack@novell.com>
1624 * CapabilitiesLoader.cs: Make sure that the capability names
1625 (keys) are stored in lowercase.
1627 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1629 * XmlSiteMapProvider.cs:
1630 custom attributes of siteMapNode are loaded properly.
1632 2007-04-05 Marek Habersack <mhabersack@novell.com>
1634 * CapabilitiesLoader.cs: add a full default set of capabilities
1635 for cases when browscap.ini is broken, missing or doesn't contain
1636 definition for the client's User-Agent. Makes it possible to surf
1637 asp.net sites from unsupported clients.
1639 2007-04-04 Juraj Skripsky <js@hotfeet.ch>
1641 * HttpApplicationFactory.cs: Make sure an web application is
1642 shutdown only once (and Application_End in global.asax is called
1643 only once as well). This is necessary because FileSystemWatcher
1644 emits multiple events when e.g. global.asax is changed.
1646 2007-04-01 Vladimir Krasnov <vladimirk@mainsoft.com>
1648 * HttpRequest.cs: fixed Headers property to use optimized
1650 * WebROCollection.cs: used StringComparer.OrdinalIgnoreCase for
1652 * ServerVariablesCollection.cs: used lazy collection fill optimization
1653 * added: HeadersCollection.cs, BaseParamsCollection.cs
1655 2007-04-01 Konstantin Triger <kostat@mainsoft.com>
1658 GetLocalResourceObject - should not prefix resources with 'Resources.'.
1660 2007-04-01 Konstantin Triger <kostat@mainsoft.com>
1662 * BrowserCapabilities.cs: Default Browser (userAgent) property to 'Unknown'.
1664 2007-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1666 * HttpContext.cs: timeout methods removed from TARGET_J2EE compilation
1667 * HttpContext.jvm.cs: added stubs for timeout methods
1669 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1671 * StaticSiteMapProvider.cs:
1672 GetChildNodes does not return null but SiteMapNodeCollection.EmptyCollection.
1674 2007-03-28 Konstantin Triger <kostat@mainsoft.com>
1676 * BrowserCapabilities.cs:
1678 2. Break recoursion in case 'browser' capability is not found.
1680 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1682 * SiteMapNode.cs: fixed GetAllNodes method.
1684 2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
1686 * XmlSiteMapProvider.cs: fixed:
1687 resolve app-relative path from config such siteMapFile="~/Web.sitemap".
1689 2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
1692 * XmlSiteMapProvider.cs: fixed: Localize Site-Map Data.
1694 2007-03-26 Konstantin Triger <kostat@mainsoft.com>
1696 * HttpRequest.cs: correctly handle null and empty virtual pathes in MapPath.
1698 2007-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1700 * HttpContext.cs: AppGlobalResourcesAssembly static member stored in
1701 AppDomain for TARGET_JVM
1703 2007-03-24 Marek Habersack <mhabersack@novell.com>
1705 * HttpRuntime.cs: use ICalls.GetMachineConfigPath instead of
1706 opening the machine.config file and getting its path.
1708 * CapabilitiesLoader.cs: use HttpRuntime.MachineConfigurationDirectory
1709 instead of opening the machine config file and getting its path.
1711 2007-03-23 Konstantin Triger <kostat@mainsoft.com>
1713 * HttpApplication.cs: complete the pipeline in case of exception during
1714 InitOnce() to avoid a deadlock.
1716 2007-03-22 Adar Wesley <adarw@mainsoft.com>
1718 * BrowserCapabilities.cs: Added implementation for all capabilities.
1719 changed implementation to throw when capability is not defined in browscaps.ini.
1721 * CapabilitiesLoader.cs: fixed parent resultion bug. added internal support for
1722 browser and browsers capabilities.
1724 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1726 * HttpContext.jvm.cs, HttpRuntime.cs: cached instance of HttpRuntime
1727 in context in addition to AppDomain
1729 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1731 * HttpCookie.cs, HttpCookieCollection.cs: used OrdinalIgnoreCase
1732 StringComparer for cookies and values collections
1734 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1736 * HttpApplication.cs: refactred handlers configuration section as
1739 2007-03-20 Marek Habersack <mhabersack@novell.com>
1741 * HttpRequest.cs: implement AppRelativeCurrentExecutionFilePath.
1743 2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
1745 * VirtualPathUtility.cs: fixed GetFileName(), GetExtension() methods.
1747 2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
1749 * VirtualPathUtility.cs: fixed GetDirectory() method.
1751 2007-03-15 Marek Habersack <mhabersack@novell.com>
1753 * XmlSiteMapProvider.cs: handle cases with no default for the
1756 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
1758 * HttpRequest.cs: fixed MapPath () method.
1760 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
1762 * VirtualPathUtility.cs: fixed ToAbsolute() method.
1764 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
1766 * VirtualPathUtility.cs: refactoring: class is shared with 1.x.
1768 2007-03-15 Marek Habersack <mhabersack@novell.com>
1770 * XmlSiteMapProvider.cs: add support for the enableLocalization
1771 <siteMap> attribute and handle per-node localization resource
1772 strings for explicit localization as well as the resourceKey
1773 attribute to <siteMapNode> for implicit localization (closes bug
1776 * SiteMapNode.cs: add support for the resource keys and foreign
1778 Implement GetImplicitResourceString.
1779 Add support for translation of the Title and Description
1780 attributes (closes bug #81103) as well as foreign attributes.
1782 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
1784 * VirtualPathUtility.cs: fixed: works properly with appRelative path.
1786 2007-03-13 Marek Habersack <mhabersack@novell.com>
1788 * HttpApplicationFactory.cs: resources compiler no longer accepts
1789 a boolean parameter.
1791 * HttpRuntime.cs: Do not compile local resources here anymore.
1793 * HttpContext.cs: if App_LocalResources assembly corresponding to
1794 the virtual path is not found, compile it here.
1795 Look up resources in the "Resources." class path.
1797 2007-03-13 Igor Zelmanovich <igorz@mainsoft.com>
1799 * HttpUtility.cs: fixed HttpUtillity.HtmlAttributeEncode
1800 '<' char must be encoded.
1802 2007-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
1804 * CapabilitiesLoader.cs: added TARGET_JVM part of static members,
1805 added caching to GetCapabilities method for performance improvement
1807 2007-03-12 Marek Habersack <mhabersack@novell.com>
1809 * XmlSiteMapProvider.cs: support custom site map providers. Fixes
1812 2007-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
1814 * StaticFileHandler.cs: fixed ProcessRequest TARGET_JVM path,
1815 if_modified_since fixed in WAR mode
1817 2007-02-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1819 * HttpRequest.jvm.cs: fixed LoadWwwForm, should distinguish between
1820 query string and form values
1822 2007-02-21 Marek Habersack <grendello@gmail.com>
1824 * HttpRuntime.cs: BinDirectory returns the bin directory
1825 determined by the application host on the application startup.
1827 * HttpApplicationFactory.cs: Watch the bin directory determined by
1828 the application host on the application startup.
1830 2007-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1832 * HttpRequest.cs: fixed MapPath, removed TARGET_J2EE block that checks
1835 2007-02-19 Marek Habersack <grendello@gmail.com>
1837 * HttpContext.cs: Make sure all the global resource objects are
1838 sought in the Resources. namespace.
1840 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
1842 * HttpContext.jvm.cs, HttpRequest.jvm.cs: Adapt for tunning under test
1843 harness where we don't have a SevletRequest/Response.
1845 2007-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
1847 * HttpApplication.cs: fixed InitOnce, httpModules section is global and
1848 taken from the root web.config
1850 2007-02-12 Robert Jordan <robertj@gmx.net>
1852 * HttpResponseStream.cs (BlockManager.EnsureCapacity):
1853 don't call Marshal.ReAllocHGlobal on NULL because, unlike
1854 realloc(3) and g_realloc, it doesn't support this semantic.
1855 Fixes a part of bug #77075.
1857 2007-02-12 Marek Habersack <grendello@gmail.com>
1859 * HttpRuntime.cs: support for preservation (.compiled) assembly
1862 2007-02-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1864 * HttpApplication.cs: added exception pass through from processAction
1867 2007-02-02 Marek Habersack <grendello@gmail.com>
1869 * HttpApplicationFactory.cs: make code a bit more compact.
1871 2007-01-30 Vladimir Krasnov <vladimirk@mainsoft.com>
1873 * HttpResponse.cs: fixed TARGET_J2EE part of Redirect for portlet
1875 2007-01-30 Adar Wesley <adarw@mainsoft.com>
1877 * VirtualPathUtility.cs: fixed exceptions thrown from Combine
1878 so they are compatible with MS.
1880 2007-01-25 Marek Habersack <grendello@gmail.com>
1882 * HttpApplication.cs: Make sure that a specific culture is used
1883 when setting the current thread culture.
1885 2007-01-21 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
1887 * HttpServerUtility.cs: implement Execute/Transfer overloads that take
1888 an IHttpHandler. Still missing the documented check for page IsCallback.
1889 Also, on MS when i derive from Page for my IHttpHandler, it works fine,
1890 but if I just implement IHttpHandler, an exception is thrown. This needs
1891 to be researched but, by now, the IHttpHandler version works on mono
1894 2007-01-20 Miguel de Icaza <miguel@novell.com>
1896 * SiteMapNode.cs (GetExplicitResourceString): implement.
1898 * HttpContext.cs (GetGlobalResourceObject): remove unused variable.
1900 * StaticFileHandler.cs (ProcessRequest): remove unused variable.
1902 * HttpApplication.cs (ProcessError): Remove unused variable.
1904 * HttpServerUtility.cs (Execute): Add new overload and rename
1905 parameter to match MS (as they are normative).
1907 2007-01-17 Marek Habersack <grendello@gmail.com>
1909 * HttpApplicationFactory.cs: Implement code and framework to
1910 enable automatic application restarts on changes to folders/files
1911 in a generic way. Patch from Damien Churchill
1912 <damien.churchill@ukplc.net>, thanks!
1913 Make sure the top-level assemblies (App_Code, resources) are not
1914 referenced twice should a compilation error occur.
1916 2007-01-16 Atsushi Enomoto <atsushi@ximian.com>
1918 * TraceData.cs : page could be null. Fixed bug #80480.
1920 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
1922 * VirtualPathUtility.cs: fixed bugs in methods - GetDirectory and
1923 GetExtension, according to the VirtualPathUtilityTest
1925 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1927 * SiteMapProvider.cs: fixed IsAccessibleToUser, true if
1928 SecurityTrimmingEnabled not enabled, true if Roles exists on node and
1931 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1933 * HttpRequest.jvm.cs, HttpContext.jvm.cs: Added TARGET_J2EE specific files.
1934 * HttpContext.cs, HttpResponse.cs, HttpRequest.cs, HttpCookie.cs:
1935 Add J2EE Portal support for TARGET_J2EE.
1937 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1939 * HttpRequest.cs: fixed IsLocal, should check all ip addresses of host
1941 2007-01-05 Marek Habersack <grendello@gmail.com>
1943 * HttpApplicationFactory.cs: Use the new app resources compiler.
1945 * HttpRuntime.cs: Use the new app resources compiler.
1947 * HttpContext.cs: Reimplement the GetGlobalResourceObject
1948 methods, implement the GetLocalResourceObject methods.
1950 * HttpResponse.cs: Implement the HeaderEncoding property.
1952 2007-01-04 Andreia Gaita <avidigal@novell.com>
1954 * HttpRuntime.cs: Add check for NET_2_0 when initializing
1955 WebConfigurationManager, build failing on 1.1 profile
1957 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1959 * HttpApplicationFactory.cs, HttpRuntime.cs: WebConfigurationManager
1960 should be initializaed before any possible access to it
1962 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1964 * HttpRequest.cs: fixed Path property, add call of
1965 Uri.UnescapeDataString in net_2_0
1967 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1969 * HttpApplication.cs: fixed PreStart, should not set thread culture
1972 2007-01-03 Vladimir Krasnov <vladimirk@mainsoft.com>
1974 * HttpRequest.cs: fixed jvm version of MakeInputStream, should not
1975 throw exception on zero content length
1977 2007-01-03 Vladimir Krasnov <vladimirk@mainsoft.com>
1979 * SiteMap.cs, SiteMapNodeCollection.cs: TARGET_JVM of static members
1981 2006-12-20 Marek Habersack <grendello@gmail.com>
1983 * HttpContext.cs: add internal setter for the Profile property.
1985 * HttpApplicationFactory.cs: Added a shortcut version of
1986 InvokeSessionEnd for use from the 2.0 SessionState code.
1988 2006-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
1990 * HttpRequest.cs: fixed Path property, returns unescaped url
1992 2006-12-16 Marek Habersack <grendello@gmail.com>
1994 * HttpRequest.cs: Fix for http exception during first visit to an
1995 application when the visit path is not the app's virtual root.
1997 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
1999 * SiteMapProvider.cs.cs:
2000 * XmlSiteMapProvider.cs: fixed: because more then one node with empty url
2001 is allowed unique key is generated for each node.
2003 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
2005 * SiteMapProvider.cs.cs: fixed: IsAccessibleToUser resolvs relative url.
2006 * StaticSiteMapProvider.cs: fixed: RemoveNode
2008 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
2010 * VirtualPathUtility.cs: fixed: Combine(), ToAbsolute() methods.
2012 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
2014 * VirtualPathUtility.cs: fixed: IsAppRelative() method.
2016 2006-12-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2018 * BrowserCapabilities.cs: fixed MSDomVersion property
2020 2006-12-05 Igor Zelmanovich <igorz@mainsoft.com>
2022 * VirtualPathUtility.cs: fixed: ToAbsolute() method.
2024 2006-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2026 * HttpRequest.cs: call MapPath on the HttpWorkerRequest so that if
2027 FilePath is changed we get the new physical path, not the one of the
2028 original request. Fixes bug #80152.
2030 2006-12-03 Igor Zelmanovich <igorz@mainsoft.com>
2032 * HttpWriter.cs: reverted r38835.
2034 2006-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2036 * HttpWriter.cs: remove unused WriteBytes method.
2038 2006-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2040 * HttpRequest.cs: physical path comes from GetFilePathTranslated to
2041 avoid trimming in HttpRequest.MapPath.
2043 2006-11-29 Marek Habersack <grendello@gmail.com>
2045 * HttpApplication.cs: Make use of the handler stack implemented
2048 * HttpCacheVaryByHeaders.cs: Optionally omit the vary:* header
2049 value in the 2.0 profile.
2051 * HttpServerUtility.cs: Make use of the handler stack implemented
2053 Implemented the UrlToken{Encode,Decode} 2.0 methods.
2055 * HttpResponse.cs: Implemented the IsRequestBeingRedirected
2058 * HttpContext.cs: Implemented the CurrentHandler and PreviousHandler
2059 methods, together with helper functions to handle the handler
2061 GetSection(string) should be present only in the 2.0 profile.
2063 * HttpCachePolicy.cs: implement the SetNoServerCaching,
2064 SetNoStore, SetNoTransforms, SetValidUntilExpires and
2065 SetOmitVaryStar methods.
2066 Added code to set the no-store and no-transform options of the
2067 Cache-Control header.
2069 2006-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2071 * HttpServerUtility.cs: don't prepend extra '?' when the original url
2072 already has a query string. Fixes bug #80042.
2074 2006-11-24 Miguel de Icaza <miguel@novell.com>
2076 * HttpApplicationFactory.cs (InitType): Also look for "Web.Config"
2079 2006-11-20 Marek Habersack <grendello@gmail.com>
2081 * HttpApplication.cs: Added support for automatic detection of
2082 user's preferred language.
2084 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2086 * HttpApplication.cs: don't leak the directory name for non-local
2089 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2091 * CapabilitiesLoader.cs: made the hasstable that contains the properties
2092 for the brower case insensitive. Fixes bug #79795.
2094 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2096 * HttpResponse.cs: fix typo that prevented Server.Execute from restoring
2097 the initial output stream used. Closes bug #79916.
2099 2006-11-12 Marek Habersack <grendello@gmail.com>
2101 * HttpContext.cs: Implemented the 2.0 RewritePath overloads.
2103 2006-11-08 Marek Habersack <grendello@gmail.com>
2105 * HttpRuntime.cs: Moved the resource compiler results handling to
2106 the resource compiler itself.
2108 * HttpApplicationFactory.cs: Add invocation of the App_Code
2109 compiler. Moved the resource compiler results handling to the
2110 resource compiler itself. Removed compilation of the local
2111 resources from here - it should be done only when a request
2112 determines that the App_LocalResources directory exists.
2115 2006-11-07 Andrew Skiba <andrews@mainsoft.com>
2117 * HttpRuntime.cs: TARGET_JVM ifdef
2119 2006-11-05 Andrew Skiba <andrews@mainsoft.com>
2121 * SiteMapProvider.cs: don't iterate through Roles when they are null.
2123 2006-11-05 Vladimir Krasnov <vladimirk@mainsoft.com>
2125 * HttpContext.cs: implemented Profile property
2127 2006-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2129 * HttpApplication.cs: the unexpected 'tick' exceptions can be an abort
2130 exception due to timeout or end of the request.
2132 2006-10-18 Marek Habersack <grendello@gmail.com>
2134 * HttpRuntime.cs: add support for compilation of local resources
2135 at the start of request.
2137 * HttpContext.cs: implement the GetGlobalResourceObject APIs
2139 * HttpApplicationFactory.cs: include the bootstrap code for the
2140 global/local resources compiler.
2142 2006-10-09 Marek Habersack <grendello@gmail.com>
2144 * HttpApplication.cs: change the pipeline order for ASP.NET 2.0 to
2145 comply with the Microsoft documentation.
2147 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2149 * HttpApplication.cs: this makes the test run successfully. Still need
2150 to figure out why that is null.
2152 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2154 * HttpApplication.cs: band-aid patch to help debugging hang running 2.0
2157 2006-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2159 * HttpServerUtility.cs: 1.1 Execute(s) preserves the query string.
2160 Thanks to Hubert Fongarnand. Fixes bug #79506.
2162 2006-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2164 * QueueManager.cs: if disposed, always return null for next request.
2165 * HttpRuntime.cs: dispose the queue manager when shutting down the
2166 domain. This will close pending requests with a 503.
2167 * HttpApplication.cs: release the handler before marking the request
2168 as completed. If in PipelineDone context is null, use
2169 HttpContext.Current. Fixes some of those "Tick detected an unhandled
2170 exception" errors printed out.
2172 2006-09-11 Andrew Skiba <andrews@mainsoft.com>
2174 * XmlSiteMapProvider.cs: ifdef TARGET_JVM
2176 2006-09-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2178 * HttpWriter.cs: fixed WriteLine to work correctly in utf-16 encoding
2180 2006-09-08 Robert Jordan <robertj@gmx.net>
2182 * TraceData.cs: fixed NRE if `sizes' is null, which may happen
2183 if a page was unable to save its viewstate and size.
2185 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
2187 * HttpApplicationFactory.cs: ifdef the previous fix with TARGET_JVM to
2190 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2192 * HttpApplicationFactory.cs: watch web.config too. Fixes bug #78356.
2194 2006-09-05 Konstantin Triger <kostat@mainsoft.com>
2196 * SiteMapProvider.cs: consider authorization section for access decision.
2198 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
2200 * HttpUtility.cs: fixed UrlPathEncode method.
2202 2006-08-31 Boris Kirzner <borisk@mainsoft.com>
2204 * VirtualPathUtility.cs : pass parameters in correct order.
2206 2006-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2208 * HttpApplicationFactory.cs: handle the 'renamed' event too.
2210 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2212 * HttpApplication.cs: fixed BeginProcessRequest, TARGET_JVM part
2215 2006-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2217 * HttpApplication.cs: don't leak local path names when a file is not
2220 2006-06-21 Konstantin Triger <kostat@mainsoft.com>
2222 * XmlSiteMapProvider.cs: if the url is relative, make it relative to the
2225 2006-06-07 Juraj Skripsky <js@hotfeet.ch>
2227 * HttpException.cs (GetHtmlizedErrorMessage): Beautify compilation error
2228 page by showing multiple errors on separate lines.
2230 2006-06-05 Juraj Skripsky <js@hotfeet.ch>
2232 * HttpRequest.cs: simplify code around uri_builder (and rename
2233 to url_components). Move storage of query_string into
2234 uri_builder.Query and initialize it lazily using
2235 worker_request.GetQueryStringRawBytes() or GetQueryString().
2236 (QueryString): Use HttpUtility.ParseQueryString instead of
2237 duplicating its functionality.
2239 2006-06-05 Juraj Skripsky <js@hotfeet.ch>
2241 * HttpUtility.cs (ParseQueryString): move core of
2242 ParseQueryString into internal method to make it available to
2245 2006-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2247 * HttpApplication.cs: assign the context when run from a thread not in
2248 the threadpool. Patch by Andrew Skiba. Fixes bug #78583.
2250 2006-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2252 * HttpApplication.cs: context.Handler does not change for
2253 HttpServerUtility.Execute, so moved setting it into the pipeline instead
2256 2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
2258 * HttpUtility.cs: implemented ParseQueryString
2260 2006-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2262 * HttpUtility.cs: get rid of TryParseHexa.
2264 2006-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2266 * HttpApplicationFactory.cs: make sure that the application start event
2267 is run before any request is processed.
2269 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2271 * HttpServerUtility.cs: don't reset the query string in Execute() when
2272 the path does not contain it and we have one from the previous request.
2275 2006-04-20 Andrew Skiba <andrews@mainsoft.com>
2277 * SiteMapNode.cs: fix few null reference exceptions
2279 2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2282 (TransmitFile): make sure we can read the file before buffering it.
2284 2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2286 * HttpApplicationFactory.cs: don't fail on events that are not
2287 EventHandlers. Patch by Matthew Metnetsky.
2289 2006-04-11 Andrew Skiba <andrews@mainsoft.com>
2291 * HttpRequest.cs: remove code duplication (see UrlUtils.Combine)
2293 2006-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2295 * HttpUtility.cs: allow "%%" as a escape for '%' and ignore invalid
2296 hexadecimal characters. Based on a patch by Vladimir Krasnov.
2298 2006-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2300 * HttpWriter.cs: only keep the byte buffer around if its size is less
2301 than or equals to 32K.
2303 2006-04-08 Miguel de Icaza <miguel@novell.com>
2305 * HttpWriter.cs (Write): Added missing check for null string as
2306 something is now calling it like that.
2308 2006-03-27 Joshua Tauberer <tauberer@for.net>
2310 * HttpWriter.cs: Avoid creation of a byte[] on each Write()
2311 by reusing and resizing a private array.
2313 2006-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2315 * HttpRequest.cs: the field content_length can be < 0 and then we try to
2316 read when there's no data and block.
2318 2006-04-05 Andrew Skiba <andrews@mainsoft.com>
2320 * HttpUtility: UrlEncode and UrlEncodeUnicode logic unified, behaviour
2321 fixed to match dotnet and http://rfc.net/rfc1738.html
2323 2006-03-30 Konstantin Triger <kostat@mainsoft.com>
2325 * HttpApplicationFactory.cs: refactoring: remove static modifier from session_end field.
2326 Does not check the behavior as HttpApplicationFactory is a singleton.
2328 2006-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2330 * HttpUtility.cs: UrlDecode does not throw if an hexadecimal sequence
2331 fails to parse as an integer. Fixes bug #77931.
2333 2006-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2335 * HttpResponse.cs: more fixes for CacheControl: MS allows to set it to
2336 null and "" and the getter value does not completely depend on Cache.
2338 * HttpRequest.cs: fail validating the request input if there's a control
2339 character after a '<'. Fixes XSS_Null test.
2341 All System.Web tests pass again.
2342 2006-03-22 Robert Jordan <robertj@gmx.net>
2344 * HttpCachePolicy.cs: fix the Cache-control header. Fixes bug #77826.
2346 2006-03-22 Chris Toshok <toshok@ximian.com>
2348 * HttpApplication.cs: fix typo - AuthenticateRequest =>
2349 PostAuthenticateRequest.
2351 2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2354 * HttpRequest.cs: revert part of r58229.
2356 2006-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
2358 * ServerVariablesCollection.cs: fixed "URL" variable, it should not
2361 2006-03-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2364 (CheckString): style and don't index the string twice per iteration.
2366 2006-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2368 * TempFileStream.cs: a FileStream that removes the file once
2370 * HttpRequest.cs: support for writing request data to on-disk
2371 files if the request is longer than the threshold specified in the
2372 configuration files. In mono this will work for 1.x and 2.0, while with
2373 MS this only works for 2.0.
2375 2006-03-18 Robert Jordan <robertj@gmx.net>
2377 * HttpCachePolicy.cs: expose the validation callbacks.
2380 2006-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2382 * HttpApplication.cs: fix upper bound when iterating through the module
2385 2006-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2387 * HttpRequest.cs: use the provided content encoding to decode the file
2388 name. Fixes bug #77714.
2390 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2392 * HttpResponse.cs: allow setting a Cache-Control header through
2393 AppendHeader. Fixes bug #77775.
2395 2006-03-15 Chris Toshok <toshok@ximian.com>
2397 * XmlSiteMapProvider.cs (RemoveProvider): oops, no override.
2399 * StaticSiteMapProvider.cs (AddNode): call MapUrl.
2400 (FindSiteMapNode): same.
2402 2006-03-15 Chris Toshok <toshok@ximian.com>
2404 * SiteMapProvider.cs (ReturnNodeIfAccessible): new function,
2405 either return the node or throw InvalidOperationException.
2406 (get_RootNode): use ReturnNodeIfAccessible.
2407 (IsAccessibleToUser): flesh this out a bit, and add comments on
2408 how the rest of the implementation should be written.
2409 (FindSiteMapNodeFromKey): implement to match MS behavior, docs be
2412 * XmlSiteMapProvider.cs: corcompare work.
2414 * StaticSiteMapProvider.cs (AddNode): Add a check to see if node
2415 == RootNode. Not sure if this is actually correct, but it's
2416 required given our implementation of XmlSiteMapProvider. without
2417 this check, we end up assigning RootNode.ParentNode == RootNode,
2418 which makes for an infinite loop when we traverse up the tree.
2420 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2422 * HttpRequest.cs: fixed MakeInputStream method under TARGET_JVM,
2423 fixed if content lenght value is less that byte received
2425 2006-03-10 Chris Toshok <toshok@ximian.com>
2427 * StaticSiteMapProvider.cs (UrlToNode): this entire file is #if
2428 NET_2_0, no need to embed another #if NET_2_0.
2430 * SiteMapProvider.cs (AddNode): throw NotImplementedException.
2431 (FindSiteMapNode): with null context, return null. don't throw
2432 ArgumentNullException.
2433 (RemoveNode): throw NotImplementedException.
2434 (IsAccessibleToUser): check arguments to make test pass. still
2435 lacking the method's actual functionality.
2436 (ResourceKey): add missing property.
2438 2006-03-10 Chris Toshok <toshok@ximian.com>
2440 * HttpRequest.cs (CheckString): add back in the check for \xff1c
2441 that i took out. oops.
2443 2006-03-10 Chris Toshok <toshok@ximian.com>
2445 * HttpRequest.cs (CheckString): implement as described in
2446 Shackow's "Professional ASP.NET 2.0 Security, Membership, and Role
2447 Management", page 310.
2449 2006-03-08 Chris Toshok <toshok@ximian.com>
2451 * SiteMap.cs: clean this up a bunch. use the SiteMapSection to
2452 initialize the provider collection, and don't add a provider.
2453 web.config handles that for us. Also, don't always return true
2456 2006-02-28 Chris Toshok <toshok@ximian.com>
2458 * HttpCookieMode.cs: corcompare work.
2460 * ProcessShutdownReason.cs: same.
2462 * SiteMapNodeCollection.cs: same.
2464 * SiteMapNode.cs: same.
2466 * SiteMapProvider.cs: same.
2468 * HttpCacheRevalidation.cs: same.
2470 * HttpCacheability.cs: same.
2472 * StaticSiteMapProvider.cs: same.
2474 * HttpValidationStatus.cs: same.
2476 2006-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2478 * DefaultHttpHandler.cs: New file.
2480 2006-02-01 Chris Toshok <toshok@ximian.com>
2482 * SiteMap.cs: use GetSection instead of GetWebApplicationSection.
2484 2006-02-01 Chris Toshok <toshok@ximian.com>
2486 * HttpApplication.cs: CONFIGURATION_2_0 => NET_2_0, and use
2487 GetSection instead of GetWebApplicationSection.
2489 * HttpApplication.jvm.cs: same.
2491 * HttpApplicationFactory.cs: same.
2493 * HttpContext.cs: same.
2495 * CapabilitiesLoader.cs: same.
2497 * QueueManager.cs: same.
2499 * HttpRuntime.cs: same.
2501 * TraceManager.cs: same.
2503 * HttpRequest.cs: same.
2505 2006-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2507 * HttpApplication.cs: keep any exception that happens during
2510 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2512 * HttpDataTransferMode.cs: Removed file.
2513 * HttpRequestPriority.cs: Removed file.
2514 * ApplicationShutdownReason.cs:
2517 * HttpApplication.cs: minor class status fixes.
2519 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2521 * VirtualPathUtility.cs: done with all the not implemented methods.
2523 2006-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2525 * HttpResponse.cs: use UInt64.Parse for content length. In AppendHeader,
2526 set cache_control through the property to update the cachebility
2527 accordingly. When using the cached headers, don't add again all the
2528 headers to that collection.
2529 * HttpCacheVaryByParams.cs: if there are no params, return null.
2530 Otherwise we get an empty 'Vary' header.
2532 2006-01-25 Chris Toshok <toshok@ximian.com>
2534 * HttpApplication.cs (Start): wrap InitOnce in a try/catch block,
2535 and if there's a configuration error, output it and end things
2538 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2540 * HttpRequest.cs: fixed the file path when RewritePath is used. Also
2541 add the PathInfo to the Url. Fixes bug #77291.
2543 2006-01-22 Chris Toshok <toshok@ximian.com>
2545 * HttpRequest.cs (ReadBoundary): remove two unused variables to
2547 (IsBoundary): remove unused method.
2549 * MimeTypes.cs (.cctor): use a 2.0 friendly form of the Hashtable
2550 ctor to silence a warning.
2552 * HttpCacheVaryByHeaders.cs (.ctor): same.
2554 * HttpCacheVaryByParams.cs (.ctor): same.
2556 * StaticSiteMapProvider.cs (UrlToNode): same.
2558 2006-01-22 Konstantin Triger <kostat@mainsoft.com>
2560 * HttpWorkerRequest.cs: ensure case insensitivity in header search.
2562 2006-01-19 Konstantin Triger <kostat@mainsoft.com>
2564 * HttpApplication.jvm.cs: merge HttpApplication.cs changes.
2566 2006-01-17 Chris Toshok <toshok@ximian.com>
2568 * CapabilitiesLoader.cs (Init): use WebConfigurationManager in the
2569 CONFIGURATION_2_0 case.
2571 * HttpRuntime.cs (MachineConfigurationDirectory): same.
2573 2006-01-16 Chris Toshok <toshok@ximian.com>
2575 * HttpApplicationFactory.cs: call WebConfigurationManager.Init in
2576 the CONFIGURATION_2_0 case.
2578 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2580 * HttpWriter.cs: made Write (char) less memory hungry. Thanks to Mike
2581 Glenn for pointing this out.
2583 2006-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2585 * HttpApplicationFactory.cs: fix condition for ContextAvailable.
2587 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2589 * HttpResponse.cs: removed TARGET_JVM block from End
2590 * GetJavaTextReader: Merged TARGET_JVM block from LoadFile
2591 to GetJavaTextReader
2593 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2595 * HttpRequest.cs: removed TARGET_JVM block from MapPath
2597 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2599 * HttpRequest.cs: little fix in MapPath(), virtualPath.Replace
2600 return value wasnt stored.
2602 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2604 * HttpResponse.cs: typo in comment.
2606 * HttpApplicationFactory.cs:
2607 * HttpApplication.cs: don't discard the application used for running the
2608 Application_Start event to allow for Redirect/Transfer to be used. Fail
2609 to get the request/response from the application object as MS does (it
2610 can still be retrieved through HttpContext.Current.blah). Fixes
2613 2006-01-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2615 * CapabilitiesLoader.cs: Merged TARGET_JVM parts in LoadFile
2617 * HttpException.cs: Merged TARGET_JVM parts in GetHtmlizedErrorMessage
2619 * HttpRequest.cs: Merged TARGET_JVM parts in MapPath from /main/29
2620 * HttpResponse.cs: Merged TARGET_JVM parts in End() from /main/30
2621 * StaticFileHandler.cs: Merged TARGET_JVM parts in ProcessRequest
2624 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
2626 * BrowserCapabilities.cs, HttpBrowserCapabilities.cs,
2627 HttpResponseStream.cs: TARGET_JVM changes to let the compilation
2630 2006-01-04 Chris Toshok <toshok@ximian.com>
2632 * HttpContext.cs (IsCustomErrorEnabled): add CONFIGURATION_2_0
2633 code. use a nasty 'using' hack to map the 2.0 CustomErrorsMode to
2634 the 1.x CustomErrorMode name.
2635 (IsDebuggingEnabled): add CONFIGURATION_2_0 code.
2636 (ConfigTimeout): add CONFIGURATION_2_0 code.
2638 * HttpRequest.cs (MakeInputStream): add CONFIGURATION_2_0 code.
2640 * HttpApplication.cs (RedirectCustomError): add CONFIGURATION_2_0
2643 * SiteMap.c (Init): use
2644 WebConfigurationManager.GetWebApplicationSection.
2646 2005-12-21 Miguel de Icaza <miguel@novell.com>
2648 * HttpUtility.cs (UrlEncodeUnicode): The generated encoding of
2649 unicode values must be in %XXXX format, not %XX sometimes.
2651 2005-12-08 Robert Jordan <robertj@gmx.net>
2653 * MimeTypes.cs: added entry for "jpg".
2655 2005-12-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2657 * HttpRequest.cs: only read up to content-length when provided. Patch
2660 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2662 * HttpCookie.cs: fixed the set_Secure. Closes bug #76906.
2664 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2666 * HttpResponseStream.cs: flush the filter stream before closing.
2667 Patch by Geir Bergum that fixes bug #76753.
2669 2005-11-28 Chris Toshok <toshok@ximian.com>
2671 * HttpContext.cs (Profile): remove the #if false from around this,
2672 as we now have the ProfileBase type.
2673 (GetConfig): add CONFIGURATION_2_0 version.
2674 (GetSection): add CONFIGURATION_2_0 version.
2676 2005-11-28 Chris Toshok <toshok@ximian.com>
2678 * TraceManager.cs (..ctor): CONFIGURATION_2_0 work.
2680 * QueueManager.cs (..ctor): CONFIGURATION_2_0 work.
2682 * HttpRequest.cs (AnonymousID): add 2.0 property.
2683 (MakeInputStream): CONFIGURATION_2_0 work.
2685 * HttpApplication.cs (InitOnce): change around the
2686 CONFIGURATION_2_0 stuff since we need additional Culture foo for
2689 2005-11-27 Chris Toshok <toshok@ximian.com>
2691 * HttpApplication.cs (InitOnce): add Configuration_2.0 code.
2694 2005-11-26 Miguel de Icaza <miguel@novell.com>
2696 * HttpResponseStream.cs: Do not try to write zero bytes.
2698 2005-11-24 Miguel de Icaza <miguel@novell.com>
2700 * WebROCollection.cs: Do not add an empty "=" to the query string
2701 if the key is empty or null.
2703 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2705 * WebROCollection.cs: override ToString and generate a query string from
2706 the key/value pairs. Fixes bug #76779.
2708 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2710 * HttpServerUtility.cs: prevent possible nullref in GetLastError().
2712 2005-11-07 Jason Diamond <jason@diamond.name>
2714 * HttpRequest.cs: Don't throw exception when Content-Length doesn't
2715 match length of POSTed data. Also, allow charset parameter on
2716 Content-Type header when type is "application/x-www-form-urlencoded".
2718 2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2720 * WebROCollection.cs: add an ID for the collection. Page needs it.
2722 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2724 * HttpRequest.cs: no need to allocate the buffer when all the content
2727 2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2729 * HttpApplication.cs: ignore TAE in ProcesssError. The Error event might
2730 redirect or transfer and that causes a TAE to be thrown. Fixes
2733 2005-11-01 Chris Toshok <toshok@ximian.com>
2735 * VirtualPathUtility.cs: new (partial implementation) to get some
2736 MS provider examples compiling.
2738 2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2740 * HttpContext.cs: added a new internal overload for ClearError.
2742 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2744 * HttpRuntime.cs: invoke callbacks on private items in the cache before
2745 calling disposing the app. factory. This way we get notifications of
2746 removal for all sessions stored in the cache (InProc only).
2748 2005-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2750 * HttpResponseStream.cs: reworked buffering so that adjacents blocks are
2751 written at once. Also fix bug #76460.
2753 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2755 * HttpResponseStream.cs: when allocating a chunk larger than the
2756 default chunk size, mark all the blocks as taken. Fixes bug
2759 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2761 * HttpResponse.cs: use HaveFilter instead of Filter.
2762 * HttpResponseStream.cs: allocate chunks of the requested size
2763 when it's > 32KB. Fixes bug #76460.
2765 2005-10-14 Sebastien Pouliot <sebastien@ximian.com>
2767 * ServerVariablesCollection.cs: Added a demand for
2768 SerializationFormatter on GetObjectData method (even if it's not
2769 really required in this case as it remove warnings from gendarme.
2771 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2774 * HttpRequest.cs: buglets in error checking in Filter.
2776 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2778 * OutputFilterStream.cs: proxy class for response filters.
2779 * HttpResponse.cs: moved all the actual write operations into the
2780 response stream. Handle response filtering. When caching, get the
2781 actual length of the data, not the buffer length.
2782 * HttpApplication.cs: if there's no error, invoke the filters before
2783 updating the request cache.
2784 * HttpResponseStream.cs: new Filter property. SendChunkSize is moved
2785 here and now supports writing the final chunk. New method ApplyFilter
2786 that filters the existing buckets and replaces them with the filtered
2787 ones. Modified Write to deal with buffering and filtering.
2789 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2791 * HttpResponseStream.cs: allow for writes of more than 32K at once.
2793 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2795 * InputFilterStream.cs proxy stream for use by filters.
2796 * HttpRequest.cs: implement input filtering.
2798 2005-10-02 Eyal Alaluf <eyala@mainsoft.com>
2799 * HttpApplication.jvm.cs - Workaround for use of yield in
2800 HttpApplication.cs HttpRuntime.cs: AppDomain.Unload is not supported
2803 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2805 * HttpResponseStream.cs: remove dead code.
2807 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
2809 * HttpClientCertificate.cs: Remove last TODO on IsValid. This now
2810 works when using XSP. Now use flags to determine valid/presence.
2812 2005-09-26 Chris Toshok <toshok@ximian.com>
2814 * HttpApplicationFactory.cs (OnAppFileChanged): add null checks
2815 for bin_watcher and app_file_watcher so we don't get NRE's here.
2817 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2819 * BrowserCapabilities.cs: don't rely on the win32 attribute to be there.
2820 Just use the platform to determine whether Win32 is true or not. Fixes
2823 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2825 * HttpApplication.cs: fixed typo when setting UI culture. Closes bug
2828 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2830 * HttpRequest.cs: new SetFilePath() that does not conflict with
2831 SetCurrentExePath. Now when transfering from a page to another,
2832 CurrentExecutionFilePath and FilePath are correct.
2834 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2836 * TraceContext.cs: add new method to store size of controls.
2837 * TraceData.cs: render control size.
2838 * HttpResponse.cs: new internal method to get the number of bytes of
2840 * HttpResponseStream.cs: added Length property to the Buckets and new
2843 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2845 * TraceData.cs: we have to change the method of getting a control render
2846 size. MS does not do this or otherwise would run into the same bug
2847 (#76051) that this patch fixes. This is temporarily setting the size
2850 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2852 * HttpResponseStream.cs: implemented Send(stream) for files. Fixes bug
2855 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2857 * HttpRuntime.cs: catch errors when compiling global.asax and
2858 initializing the application. Fixes bug #76090.
2860 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
2862 * BrowserCapabilities.cs: Fixed changes (in 2.0) with versions. Fixed
2863 compare with "True" (culture and case sensitivity).
2864 * HttpApplicationState.cs: Added LinkDemand for Minimal. Use the
2865 internal HttpStaticObjectsCollection ctor to avoid the UnmanagedCode
2867 * HttpContext.cs: Added LinkDemand for Minimal. Added 2.0 properties
2868 and methods to test CAS on them.
2869 * HttpRequest.cs: Added LinkDemand for Minimal. Ensure we return
2870 proper values when worker_request is null.
2871 * HttpResponse.cs: Added LinkDemand for Minimal. Ensure we return
2872 proper values when context or WorkerRequest is null. Added 2.0
2873 properties and methods to test CAS on them.
2874 * HttpRuntime.cs: Added LinkDemand for Minimal. Added PathDiscovery
2875 demands for properties returning directories. Added demand for High
2876 level on AppDomainAppId and AppDomainId properties, Low level on
2877 IsOnUNCShare, Medium level on ProcessRequest and a demand for
2878 UnmanagedCode on UnloadAppDomain method. Constructor also has a
2879 UnmanagedCode demand for 1.x.
2880 * HttpStaticObjectsCollection.cs: Added LinkDemand for Minimal. Added
2881 a UnmanagedCode demand to public ctor. Added internal ctor without the
2882 demand. Changed Serialize and Deserialize methods to public for 2.0.
2884 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
2886 * HttpWorkerRequest.cs: Removed TODO for 2.0 APIs and return the
2887 default values for them.
2889 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
2891 * HttpApplication.cs: : Added LinkDemand and InheritanceDemand (class)
2892 for Minimal. Changed AssemblyLocation to a property (so it doesn't
2893 require special permission, PathDiscovery) to create an instance.
2894 Protected Modules property with a Demand for High level. Added some
2895 missing HttpException for null context.
2896 * HttpServerUtility.cs: Added LinkDemand for Minimal. Added demands
2897 for UnmanagedCode on all CreateObject* methods. Added demand for
2898 Medium level on MachineName and ScriptTimeout properties. Added new
2899 overloaded Transfer method (2.0) to test CAS on it.
2900 * HttpUtility.cs: Added LinkDemand for Minimal. Added [Obsolete] to
2901 ctor (2.0). Changed some return values when 'count' is 0. Added
2902 ParseQueryString (overload) methods for 2.0 (to enabled CAS testing on
2904 * HttpWorkerRequest.cs: Added LinkDemand and InheritanceDemand (class)
2905 for Minimal. Added RequestTraceIdentifier and RootWebConfigPath (2.0)
2906 properties, GetPreloadedEntityBody, GetPreloadedEntityBodyLength,
2907 GetTotalEntityBodyLength and ReadEntityBody (2.0) methods to test CAS
2908 on them. Fixed SendResponseFromMemory to ignore IntPtr.Zero (used in
2909 tests without failures).
2910 * ServerVariablesCollection.cs: Fixed loadServerVariablesCollection
2911 when HttpWorkerRequest is null.
2912 * TraceContext.cs: Added LinkDemand for Minimal. Fixed default Mode
2913 (SortByTime). Added new (2.0) TraceFinished event to test CAS on it.
2915 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
2917 * HttpBrowserCapabilities.cs: Added LinkDemand and InheritanceDemand
2918 (class) for Minimal. Note that current MCS has problem compiling
2919 security attributes on partial class (bug #75969).
2920 * HttpCachePolicy.cs: Added LinkDemand for Minimal. Added 2.0 methods
2921 (stub) to enable CAS tests on them.
2922 * HttpCacheVaryByHeaders.cs: Added LinkDemand for Minimal.
2923 * HttpCacheVaryByParams.cs: Added LinkDemand for Minimal.
2924 * HttpClientCertificate.cs: Added LinkDemand and InheritanceDemand
2925 (class) for Minimal.
2926 * HttpCookie.cs: Added LinkDemand for Minimal.
2927 * HttpCookieCollection.cs: Added LinkDemand for Minimal.
2928 * HttpFileCollection.cs: Added LinkDemand for Minimal.
2929 * HttpModuleCollection.cs: Added LinkDemand for Minimal.
2930 * HttpPostedFile.cs: Added LinkDemand for Minimal.
2931 * HttpRequestPriority.cs: Fix enum values.
2932 * HttpWriter.cs: Added LinkDemand for Minimal.
2934 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
2936 * ProcessInfo.cs: Added LinkDemand and InheritanceDemand (class) for
2938 * ProcessModelInfo.cs: Added LinkDemand and InheritanceDemand (class)
2939 for Minimal. Methods GetCurrentProcessInfo and GetHistory are also
2940 protected by Demand for High level.
2942 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
2944 * HttpCompileException.cs: Added new public ctors and [Serializable]
2945 to 2.0. Added new Message property and GetObjectData (protected by a
2946 demand for SerializationFormatter) for 2.0. Fixed line-ending.
2947 * HttpException.cs: Added LinkDemand and InheritanceDemand (class) for
2948 Minimal. Renamed parameters to match documentation.
2949 * HttpParseException.cs: Added LinkDemand (class) for Minimal. Added
2950 demand for SerializationFormatter on GetObjectData method. Fixed
2952 * HttpRequestValidationException.cs: Added new public ctors and
2953 [Serializable] to 2.0. Added LinkDemand for Minimal.
2954 * HttpUnhandledException.cs: Added new public ctors and [Serializable]
2955 to 2.0. Removed unused internal ctor. Added LinkDemand for Minimal.
2958 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
2960 * HttpResponseSubstitutionCallback.cs: New. 2.0 delegate.
2961 * TraceContextEventArgs.cs: New. 2.0 class.
2962 * TraceContextEventHandler.cs: New. 2.0 delegate.
2964 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2966 * HttpRequest.cs: use GetServerName instead of GetLocalAddress when
2969 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2971 * HttpRequest.cs: fix the indexer.
2973 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2975 * HttpPostedFile.cs: fixes in Seek and Position.
2977 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
2979 * HttpRequest.cs: Make sure the MemoryStream created have their
2980 contents marked as public - or else you can't call GetBuffer on them!
2982 2005-09-08 Miguel de Icaza <miguel@novell.com>
2984 * HttpRequest.cs: Patch from Juraj Skripsky <js@hotfeet.ch> that
2987 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2989 * HttpPostedFile.cs: Make this class actually work. Every time we read,
2990 we have to position the underlying stream.
2992 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2994 * HttpRequest.cs: reading multipart/form-data works again.
2996 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
2997 * HttpRequest.cs: Under TARGET_JVM the input stream must allow GetBuffer.
2999 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
3000 * HttpApplicationFactory.cs: TARGET_J2EE/JVM fix.
3002 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3004 * HttpRequest.cs: correctly detect multipart/form-data.
3006 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3008 * HttpApplicationFactory.cs: recycle after invoking session_end.
3010 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3012 * HttpRuntime.cs: remove Console.
3014 * HttpApplicationFactory.cs: don't hook Session_End, but keep
3015 the MethodInfo around for later invocation if needed. Don't call
3016 GetMethods() for every HttpApplication (or derived class) instances.
3017 Added a method, used by SessionStateModule, that will create use an
3018 application without context to invoke Session_End. Keep a pool of
3019 applications that are meant to be used by this method only.
3021 * HttpApplication.cs: add a SetSession method and do not
3022 attach all the events if the application is for Session_End only.
3024 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3026 * HttpRuntime.cs: actually unload the domain when requested. Reformatted
3027 FinishUnavailable() and removed the 'Location' header form the error.
3029 * HttpApplicationFactory.cs: set up the watcher for the bin directory.
3030 This also prevents a nullref when global.asax is changed.
3032 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3034 * HttpApplication.cs: fixed bug introduced when moving GetHandler call
3035 around. Now we get error pages again.
3037 2005-09-06 Miguel de Icaza <miguel@novell.com>
3039 * HttpApplication.cs: Catch EndRequest errors as well.
3041 2005-09-05 Miguel de Icaza <miguel@novell.com>
3043 * HttpApplication.cs: Invoke EndRequest handler before OutputPage
3044 as FormsAuthentication will issue a Redirect from the EndRequest
3047 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3049 * HttpApplication.cs: when writing an error message, catch the possible
3052 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3054 * HttpResponseStream.cs: prevent invalid cast exception if the first
3055 thing written is a file.
3057 2005-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3059 * HttpApplication.cs: fix invalid cast exception (bug #75926).
3061 2005-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3063 * HttpApplicationFactory.cs: only trigger the Application_Start event
3064 once. It was being invoked more than once when several clients were
3065 hitting the server at the same time on startup.
3067 2005-09-01 Eyal Alaluf <eyala@mainsoft.com>
3069 * HttpContext.cs HttpResponse.cs HttpWorkerRequest.cs HttpRuntime.cs
3070 HttpApplicationFactory.cs HttpApplication.cs: TARGET_J2EE/JVM fixes.
3071 Mostly workaround limited AppModel in TARGET_J2EE.
3073 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3075 * HttpResponse.cs: if the request method is HEAD, that's equivalent to
3076 SuppressContent. Added an internal TransmitFile that allows setting the
3078 * StaticFileHandler.cs: use the new internal TransmitFile and remove
3079 generation of Content-Length header, as now it's computed correctly.
3080 * HttpApplication.cs: remove debugging stuff.
3081 * HttpResponseStream.cs: suppress_content is checked in HttpResponse.
3083 2005-08-31 Miguel de Icaza <miguel@novell.com>
3085 Removed debugging info.
3087 * HttpApplication.cs: Add support for async handlers.
3089 Add extra 2.x methods.
3091 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3093 * BrowserCapabilities.cs: removed extra 'using'.
3095 * HttpApplication.cs: use just the 'modcoll' to hold the collection of
3096 modules instead of having a separate 'modules' one.
3098 2005-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3100 * HttpApplication.cs: clone the module collection so that
3101 it's not shared between HttpApplications. Call GetHandler() in the
3104 2005-08-30 Miguel de Icaza <miguel@novell.com>
3106 * HttpApplication.cs: Add the new 2.x method overloads that take a
3109 (RunHooks): Pass the extra data instead of null.
3111 * HttpCookie.cs (HttpOnly): Add 2.x cookie header.
3113 * BrowserCapabilities.cs: Move the core of the capabilities into a
3114 separate file. Use partial classes to choose what version to
3117 * HttpBrowserCapabilities.cs: Update to move the code elsewhere.
3119 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
3121 * HttpResponseStream.cs: Fix a bug introduced by last fix (thanks to
3124 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
3126 * HttpResponseStream.cs: Compilation fixes for TARGET_JVM. TARGET_JVM
3127 does not support unsafe code. I localized all unsafe code within Chunk
3128 & Block and created a managed version of Chunk.
3130 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
3131 * HttpApplicationFactory.cs: Compilation fixes for TARGET_J2EE. Under
3132 TARGET_J2EE static fields are shared by all app domains. We handle
3133 this difference by explicitly getting/setting values from the app
3134 domain. Since HttpApplicationFactory has many static fields, I
3135 refactored it to have one static instance and moved the static fields
3136 into instance fields.
3138 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
3140 * HttpRequest.cs: Disable use of IntPtrStream for TARGET_JVM
3142 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
3144 * HttpContext.cs: Compilation fixes for TARGET_J2EE/JVM
3146 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3148 * HttpResponse.cs: don't duplicate the 'charset=' and don't send a
3149 charset for unknown MIME types.
3150 * StaticFileHandler.cs: set the Content-Length header here.
3151 * HttpRequest.cs: prevent nullrefs when we have no 'charset='.
3153 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3155 * StaticFileHandler.cs: use TransmitFile instead of WriteFile. This way
3156 xsp will use sendfile().
3158 2005-08-28 Chris Toshok <toshok@ximian.com>
3160 * SiteMapNode.cs: fix IHierarchyData.GetParent.
3162 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3165 * IntPtrStream.cs: now we only have a read-only MemoryStream or an
3166 IntPtrStream. The copy is moved into HttpRequest.
3168 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
3170 * WebCategoryAttribute.cs: New. Required internal attribute.
3171 * WebSysDescriptionAttribute.cs: New. Required internal attribute.
3173 2005-08-26 Jackson Harper <jackson@ximian.com>
3175 * HttpResponseStream.cs: Use GetBuffer so the memory isn't
3178 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3180 * HttpApplication.cs: GetHandler might return null when, for example,
3181 a web service fails, but that does not mean that returning a null
3182 handler should throw another exception, as the web service code
3183 serialized the error as a faultString. So if the handler is null, just
3184 don't call ProcessRequest and keep going.
3186 2005-08-26 Jackson Harper <jackson@ximian.com>
3188 * HttpResponse.cs: Send the cached headers if this is a cached
3189 response. Save the headers, date header, and page data. Fix a typo.
3190 * HttpResponseStream.cs: Add new accesor to get a byte [] of the
3193 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3195 * HttpWorkerRequest.cs: SetEndOfSendNotification is a noop. No matter
3196 what callback you use that never gets called. In XSP I actually
3197 implement something for this method.
3198 * HttpServerUtility.cs: unused variable.
3200 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3202 * HttpInputStream.cs: new ctor that takes a byte [].
3203 * IntPtrStream.cs: make it work on a byte [] too.
3206 (ContentLength): return 0 for negative numbers or error parsing, but
3207 keep content_length negative in those cases.
3208 (MakeInputStream): when there's no content-length (or it's negative),
3209 we still read the request into a MemoryStream. Use
3210 IsEntireEntityIsPreloaded() as a fast path.
3212 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
3214 * HttpClientCertificate.cs: On 1.x the .ctor throws a
3215 ArgumentNullException (but 2.0 throws a NRE).
3217 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3219 * HttpRequest.cs: HttpMethod deserves its own field. Fix IsLocal.
3221 2005-08-25 Chris Toshok <toshok@ximian.com>
3223 * HttpApplication.cs (IsReusable): return true.
3224 (InitOnce): remove the initialization of handler_factory from
3226 (GetHandler) and move it here, so we make sure to load handlers
3227 from all needed web.config files.
3229 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3231 * HttpServerUtility.cs: use GetHandler().
3232 * HttpApplication.cs: remove obsolete method. Now Transfe/Execute work.
3234 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3236 * HttpApplication.cs: no need for the local var. here.
3238 2005-08-25 Chris Toshok <toshok@ximian.com>
3240 * HttpApplication.cs (InitOnce): move the initialization of
3241 modules above the call to HttpApplicationFactory.AttachEvents,
3242 since that method accesses HttpApplication.Modules. Fixes
3244 (IsReusable): mark TODO.
3246 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3248 * HttpResponseHeader.cs: removed obsolete class.
3249 * HttpResponse.cs: no more 'obsolete' warnings.
3251 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3253 * HttpRuntime.cs: implemeted some missing properties.
3255 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3257 * HttpResponse.cs: implemented RemoveOutputCacheItem().
3259 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3261 * HttpApplication.cs: implemented GetVaryByCustomString().
3263 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3265 * HttpRequest.cs: implemented SetHeader (allows adding a header
3266 circumventing the read-only protection of the collection) and SetForm,
3267 which just assigns a value of the 'form' collection.
3268 * HttpServerUtility.cs: NameValueCollection -> WebROCollection.
3270 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3273 * HttpRequest.cs: implemented RewritePath and supporting methods.
3275 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
3277 * HttpRequest.cs: Avoid NRE if work_request if null in the ctor.
3278 * HttpResponse.cs: Avoid NRE if work_request if null in the ctor.
3280 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3282 * HttpApplication.cs: if there's any exception thrown when getting the
3283 handler, don't add an extra error to the context, as we already have
3286 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3290 * HttpWorkerRequest.cs:
3291 * HttpApplication.cs: added mising attributes and enabled methods
3294 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3296 * WebROCollection.cs: a collection that allows setting IsReadOnly.
3297 * HttpRequest.cs: implemented MapImageCoordinates(). Use WebROCollection
3298 instead of a NameValueCollection in Form, Headers, Params, QueryString.
3300 2005-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3302 * HttpInputStream.cs: new copy ctor.
3303 * IntPtrStream.cs: getters for base_address and size.
3304 * HttpRequest.cs: implemented SaveAs(). Use a wrapper on top of
3305 InputStream so that reading POST form or files does not modify the state
3306 if InputStream. Don't use uri_builder.Query in QueryStringRaw, as it
3309 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3311 * HttpRequest.cs: implemented UserLanguages and reuse code from
3314 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3316 * HttpRequest.cs: implemented AcceptTypes.
3318 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3320 * HttpRequest.cs: implemented this[] in terms of Params. Don't add the
3321 header collection in Params.
3323 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3325 * HttpRequest.cs: fix Files property.
3326 * HttpApplication.cs: invoke the default authentication event after all
3327 the other auth. modules.
3329 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3331 * ServerVariablesCollection.cs: mark the collection as read-only except
3332 when we fill it. Add the HTTP_blah key/value pairs too.
3334 2005-08-18 Chris Toshok <toshok@ximian.com>
3336 * HttpRequest.cs (get_Params): implement.
3338 2005-08-17 Chris Toshok <toshok@ximian.com>
3340 * HttpResponse.cs: HttpResponse's Cookie's collection acts
3341 differently than HttpRequests in that it never returns null from
3342 the "this [string]" accessor.
3344 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3346 * HttpRequest.cs: check length 0 case when reading a POST.
3348 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3350 * HttpContext.cs: added security attributes for User and
3351 SkipAuthorization properties.
3352 * HttpApplicationFactory.cs: AttachEvents is now called form the
3353 application .ctor. Recycle instead of dispose.
3354 * HttpApplication.cs: attach events to the newly created application.
3356 2005-08-15 Jackson Harper <jackson@ximian.com>
3358 * ApplicationShutdownReason.cs: make build
3360 2005-08-15 Miguel de Icaza <miguel@novell.com>
3362 * HttpApplication.cs: Update comments
3364 * HttpPostedFile.cs: Use a substream to read from the uploaded
3367 * HttpRequest.cs: use new code to read the uploaded files.
3369 2005-08-12 Miguel de Icaza <miguel@novell.com>
3371 2.x API fixage and small additions:
3373 * HttpResponse.cs: Make constructor internal.
3375 * HttpRequest.cs (IsLocal): Expose if NET_2.x
3377 * HttpContext.cs: Remove internal routine.
3379 * HttpApplication.cs: Add 2.x events.
3381 * HttpRequest.cs: Another iFolder issue: I was not setting up the
3384 Fixes to get iFolder to work:
3386 * HttpApplicationFactory.cs: Set the context when we are initting
3389 * HttpApplication.cs (SetContext): helper routine.
3391 * HttpResponse.cs: Implement the various cache operations:n
3392 Expires, ExpiresAbsolute, CacheControl.
3394 Actually produce the Cache-Control header, the "Cache" property
3395 takes precedence over the compatibility settings (Expires,
3396 ExpiresAbsolutely and CacheControl).
3398 * HttpCachePolicy.cs: Fix style.
3400 Fix the generation of the headers, use lower-case values, do not
3401 add the max-value if the value is zero.
3403 Allow for all possible values in SetCacheability.
3405 * HttpRuntime.cs (ClrInstallDirectory): Implement.
3407 * HttpResponseStream.cs: Remove debugging stuff.
3409 2005-08-11 Miguel de Icaza <miguel@novell.com>
3411 Big chunked handling rewrite, and integration of Ben's unmanaged
3414 * HttpWriter.cs: Delegate chunked encoding writing to the
3417 * HttpResponse.cs: Rework the chunked encoding system, centralize
3420 * HttpResponseStream.cs: Deploy Ben's bucket-base unmanaged
3423 Changed the way that we handle chunked encoding, centralize it
3426 Remove a lot of manual handling of buffering turned off, and
3427 instead delegate it all to Flush, fixes several issues with the
3430 * HttpWorkerRequest.cs (SendResponseFromMemory (IntPtr, int)):
3431 Provide a default implementation since currently XSP does not have
3432 this method implemented.
3434 2005-08-11 Sebastien Pouliot <sebastien@ximian.com>
3436 * HttpClientCertificate.cs: Culture insensitive int parsing. Fixed
3439 2005-08-10 Miguel de Icaza <miguel@novell.com>
3441 * ServerVariablesCollection.cs: For Ben. Implement the header
3442 fetching here, do not implement it in HttpRequest.cs.
3444 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
3446 * HttpClientCertificate.cs: Changed IsPresent logic so that new unit
3447 tests will work as expected.
3449 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
3451 * HttpClientCertificate.cs: Implemented, except for validation. Note
3452 that the HttpWorkerRequest derived classes must be updated to supply
3453 the required informations.
3454 * HttpRequest.cs: Create an HttpClientCertificate on first call to
3457 2005-08-09 Miguel de Icaza <miguel@novell.com>
3459 * HttpRuntime.cs (AspInstallDirectory): Implement.
3461 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
3463 * HttpClientCertificate.cs: New. Stub. It won't be fun to test.
3465 2005-08-04 Ben Maurer <bmaurer@ximian.com>
3467 * HttpContext.cs: Kill a NIE.
3469 2005-08-04 Miguel de Icaza <miguel@novell.com>
3471 * HttpApplicationFactory.cs: Change "Start" event like the "End"
3472 event, and only do this once, when we init the type.
3474 Fire the "Application_Start" event after we create the type.
3476 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3478 * HttpApplication.cs: catch a ThreadAbort (coming from Response.End)
3481 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3483 * HttpResponse.cs: setting the Status property resets the
3484 StatusDescription (see the tests) and the default value for the
3485 description is the one provided by GetStatusDescription() in
3488 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3490 * HttpRequest.cs: s/boundry/boundary/ and fix typo in array creation.
3492 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3494 * HttpApplication.cs: add call to EndOfRequest when everything is said
3497 2005-08-02 Miguel de Icaza <miguel@novell.com>
3499 * HttpResponse.cs: Stub for TransmitFile.
3501 * HttpRequest.cs (IsAuthenticated): Implement.
3503 2005-08-01 Miguel de Icaza <miguel@novell.com>
3505 * HttpRequest.cs: Cope with implementations of HttpWorkerRequest
3506 (unpatched xsp) that do not send back the PreloadedEntityBody.
3508 * HttpApplication.cs: keep track of the factory.
3509 (Dispose): Only dispose once, clean up other variables, release
3510 the ManualResetEvent.
3511 Release the handler to the factory.
3513 * HttpApplicationFactory.cs: Implement a stack to reuse the
3516 * HttpRequest.cs: On uploads, if the ContentLenght is zero, throw
3519 * HttpRuntime.cs: Recycle the application after using it.
3521 * HttpPostedFile.cs: Implement SaveAs.
3523 * HttpContext.cs: Return the "Server" property.
3525 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3527 * HttpServerUtility.cs: implemented missing bits.
3529 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3531 * HttpRequest.cs: query string was getting a '?' as the start of the
3532 first variable name. This makes the asmx help page work again.
3534 2005-08-01 Miguel de Icaza <miguel@novell.com>
3536 * HttpRequest.cs (Cookies, Forms): Add validation.
3537 (Forms): Add application/x-www-form-urlencoded parsing and
3538 multipart/form-data parsing.
3540 (HttpMultiPart): Implement new class to load multi-part data from
3541 a stream since there is no longer a byte [] that holds the data
3542 (currently we have an unmanaged IntPtr buffer wrapped as a
3543 stream). Also the 2.x framework will add support for large
3544 uploads which are sent directly to disk, which will require the
3545 FileStream interface.
3547 (Path, PathInfo): Fill a couple more methods to avoid crashes.
3549 * HttpContext.cs: Fill another one to get web services summary
3550 page painting. The page does not work though.
3552 * HttpApplication.cs: Rework the pipeline to not depend on
3553 `finally', as `finally' would not be invoked if we choose not to
3554 call the pipeline again (which happens if the `stop' variable is
3557 Instead force the pipeline to go to the shutdown, and yield from
3558 there after all the release-state callbacks have been invoked.
3560 2005-07-31 Miguel de Icaza <miguel@novell.com>
3562 * HttpApplication.cs: Remove debugging messages since the compiler
3565 You must use at least mcs from revision 47879 for the application
3568 2005-07-30 Miguel de Icaza <miguel@novell.com>
3570 * HttpContext.cs: Error handling methods.
3572 * HttpResponse.cs: Trigger the last event.
3574 * HttpRuntime.cs: Add queueing of the next request.
3576 * HttpApplication.cs: Deploy the new yield-based application
3577 pipeline, add error handling to the pipeline.
3579 * HttpApplication.cs (AsyncRequestState): Just use the done event
3582 2005-07-29 Miguel de Icaza <miguel@novell.com>
3584 * HttpResponseStream.cs, HttpRequest.cs: Fix bugs found by nunit.
3586 * HttpApplication.cs: Fix a race condition.
3588 * HttpResponseStream.cs: Fix bug, send the size of the buffer that
3589 we have so far instead of the internal size of the buffer. This
3590 will need work later to ensure we enforce the Content-Length
3591 maximum output size if set.
3593 * ServerVariablesCollection.cs: This class now inherits from
3594 NameValueCollection, we should probably review what the middle
3595 class did, there are no dependencies on it.
3597 I need to write tests to investigate if something is missing or
3598 has changed in this implementation.
3600 2005-07-27 Miguel de Icaza <miguel@novell.com>
3602 * HttpRequest.cs: No happy replies here, send a 411.
3604 2005-07-27 Chris Toshok <toshok@ximian.com>
3606 * HttpResponseHeader.cs: remove spew.
3608 2005-07-27 Chris Toshok <toshok@ximian.com>
3610 * HttpResponseHeader.cs (HttpResponseHandler..ctor): use
3611 HttpWorkerRequest.GetKnownResponseHeaderName instead of
3612 GetKnownRequestHeaderName. Fixes Response.Redirect until miguel's
3613 new HttpReponse is online.
3615 2005-07-26 Miguel de Icaza <miguel@novell.com>
3617 * HttpResponse.cs: use_chunked is now a byte-array, if not null,
3618 we use it to hold the size of the chunked so we do not have to
3619 allocate many of these.
3620 (SendSize): Helper routine to send the chunked headers.
3621 (BinaryWrite): First user of the chunked writer.
3623 * HttpApplication.cs: Do not crash if they request a Server
3624 instance, but throw a NotImplementedException.
3626 * HttpRequest.cs: fix a few problems exposed by the regression
3629 * HttpRequest.cs (Cookies): use Chris' new constructor to get the
3632 : The big Uri rework: instead of using QueryString
3633 as the population mechanism, populate an UriBuilder from the
3634 various HttpWorkerRequest methods.
3636 * HttpWorkerRequest.cs (GetProtocol): Implement in terms of
3639 * HttpResponse.cs: Pointed by Ben, Write (null) is a nop instead
3642 * HttpContext.cs: Add a couple of properties to help the 2.x
3645 * HttpResponse.cs: Make ContentLength a long, add back support for
3646 session's app_path_mod.
3647 (ApplyAppPathmodifier): put back.
3648 (End): Pass a flag to abort so we can tell the exceptions appart
3650 (WriteHeaders): Send the HTTP status.
3651 (Redirect): Implement.
3652 (Write): Use the Output property to load writer when needed.
3654 * HttpRequest.cs (ctor): Temporary use of InitFromWR, will fix
3656 (MakeInputStream): check content-length size, use routines to load
3657 the preloaded data, handle incomplete transfers.
3658 (Query): Do not insert null keys into the collection.
3660 (UrlReferer): implement.
3662 * HttpApplication.cs (RunHooks): Catch Thread.Abort, and call
3663 Thread.ResetAbort after each step.
3665 Ensure that ReleaseState is called if we ever succeed in acquiring
3666 the state even if we have stopped the request pipeline.
3668 Report file not found, directory not found.
3670 2005-07-25 Miguel de Icaza <miguel@novell.com>
3672 * HttpCookieCollection.cs: Add expiration of the cookie.
3674 * HttpRequest.cs: Add check for ContentLength, use
3675 GetPreloadedEntityBody, correct number of bytes uploaded.
3677 2005-07-21 Miguel de Icaza <miguel@novell.com>
3679 * HttpResponseHeader.cs: Our implementation of HttpResponse only
3680 uses the text headers, does not use any constants as XSP would go
3681 through a slower code path anyways.
3683 2005-07-21 Chris Toshok <toshok@ximian.com>
3685 * HttpBrowserCapabilities.cs: enable support for the W3CDomVersion
3686 and EcmaScriptVersion properties.
3688 2005-07-21 Chris Toshok <toshok@ximian.com>
3690 * HttpResponseHeader.cs: hi, i'm stupid and missed String.Replace.
3692 2005-07-21 Chris Toshok <toshok@ximian.com>
3694 * HttpResponseHeader.cs: url encode just \r and \n if they're
3695 present in the value.
3697 2005-07-20 Chris Toshok <toshok@ximian.com>
3699 * HttpPostedFile.cs: add missing ContentLength property.
3701 2005-07-20 Chris Toshok <toshok@ximian.com>
3703 * HttpCookieCollection.cs: add a new ctor that takes a string (the
3704 contents of the Cookies: header).
3706 2005-07-20 Chris Toshok <toshok@ximian.com>
3708 * HttpCookieCollection.cs: add another ctor (internal, but not
3709 obsolete, so we aren't passing a stupid HttpResponse in in order
3710 to change the behavior of the collection.)
3712 * HttpCookie.cs: init this.values in the internal ctor.
3714 2005-07-20 Chris Toshok <toshok@ximian.com>
3716 * HttpCookieCollection.cs: use "auto-fill mode" when we're dealing
3717 with an HttpResponse's cookie collection. That is, create the
3718 cookie if the consumer looks it up.
3720 2005-07-20 Miguel de Icaza <miguel@novell.com>
3722 * HttpApplication.cs: Ongoing work on pipeline, I will need to
3725 2005-07-19 Miguel de Icaza <miguel@novell.com>
3727 * HttpContext.cs (GetService): Implement. Return all of the
3728 properties that we have access to. Make HttpWorkerRequest the
3729 first match as this is the only likely reason people need to use
3732 * IntPtrStream.cs: Bring from corlib.
3734 * MultiPartContentParser.cs: use a MemoryStream as HttpInputStream
3735 will now be using IntPtrStream.
3737 * HttpRequest.cs (MakeInputStream): move code that loads the
3739 (CloseInputStream): Helper method that we will call later to
3740 ensure that we dispose properly the malloced() block.
3741 (BinaryRead): Implemented.
3743 * HttpInputStream.cs: Rewrite to be a descendant of
3746 2005-07-18 Miguel de Icaza <miguel@novell.com>
3748 * HttpApplication.cs (Modules): Add modules support and
3751 2005-07-18 Chris Toshok <toshok@ximian.com>
3753 * HttpResponseHeader.cs: initial implementation.
3755 2005-07-18 Chris Toshok <toshok@ximian.com>
3757 * HttpModuleCollection.cs (HttpModuleCollection.GetKey): add
3760 * HttpFileCollection.cs: initial implementation.
3762 2005-07-18 Chris Toshok <toshok@ximian.com>
3764 * HttpModuleCollection.cs (HttpModuleCollection.CopyTo): implement
3767 2005-07-18 Chris Toshok <toshok@ximian.com>
3769 * HttpModuleCollection.cs: initial implementation.
3771 2005-07-18 Chris Toshok <toshok@ximian.com>
3773 * HttpCacheVaryByHeaders.cs: only add the header if it's not
3774 already in the hash.
3776 * HttpCacheVaryByParams.cs: only add the param if it's not already
3779 2005-07-18 Chris Toshok <toshok@ximian.com>
3781 * HttpCookie.cs (HttpCookie+CookieNVC.Set): new override to fix an
3784 2005-07-17 Miguel de Icaza <miguel@novell.com>
3786 * HttpRequest.cs (Headers, InputStream): implemented two more
3789 * HttpInputStream.cs: All we need is a MemoryStream with writable
3792 * HttpPostedFile.cs: Use a Stream.
3794 2005-07-16 Chris Toshok <toshok@ximian.com>
3796 * HttpCacheVaryByHeaders.cs: make sure we set vary_by_unspecified
3797 = false in the custom setter.
3799 2005-07-16 Chris Toshok <toshok@ximian.com>
3801 * HttpCacheVaryByParams.cs: initial implementation.
3803 2005-07-16 Chris Toshok <toshok@ximian.com>
3805 * HttpCacheVaryByHeaders.cs: initial implementation.
3807 2005-07-15 Chris Toshok <toshok@ximian.com>
3809 * HttpCookie.cs: one more time.
3811 2005-07-15 Chris Toshok <toshok@ximian.com>
3813 * HttpCookie.cs (HttpCookie.GetCookieHeader): use
3816 2005-07-15 Chris Toshok <toshok@ximian.com>
3818 * HttpCookie.cs (HttpCookie.GetCookieHeader): implement to fix
3821 2005-07-15 Chris Toshok <toshok@ximian.com>
3823 * HttpCookieCollection.cs: initial implementation (with a couple
3824 of labeled inefficiencies.)
3826 2005-07-15 Chris Toshok <toshok@ximian.com>
3828 * HttpCookie.cs (HttpCookie.get_HasKeys): use values.HasKeys()
3829 instead of trying to be smart about it ourselves.
3831 2005-07-15 Chris Toshok <toshok@ximian.com>
3833 * HttpCookie.cs: initial implementation. we fail one unit test,
3834 but it might be due to a bug in NameValueCollection.
3836 2005-07-15 Miguel de Icaza <miguel@novell.com>
3840 2005-07-14 Miguel de Icaza <miguel@novell.com>
3842 * HttpRuntime.cs: Return a few of the values from the AppDomain
3845 Put the application shutdown process.
3847 * HttpApplicationFactory.cs (AddEvent): Fixed bug when more than
3850 (FireEvent): Do not ignore errors.
3852 * HttpContext.cs (GetAppConfig, GetConfig): First success, use
3853 ConfigurationSettings.GetConfig to get the value that QueueManager
3856 2005-07-14 Dick Porter <dick@ximian.com>
3858 * HttpPostedFile.cs: New basic implementation; needs someone to
3859 figure out what a HttpRequestStream does
3861 2005-07-13 Miguel de Icaza <miguel@novell.com>
3863 * HttpRequest.cs: More work on this file
3865 * HttpRequest.cs, HttpApplication.cs, HttpContext.cs,
3866 HttpRuntime.cs: New from scratch implementation.
3868 2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
3870 * SiteMap.cs: Read provider info from the configuration files.
3872 2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3874 * HttpResponseHeader.cs: URL encode \r and \n in header values. Fixes
3877 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3879 * HttpUtility.cs: fix another stupid buglet in htmldecode.
3881 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3885 * HttpRequest.cs: use StrUtils (invariant culture).
3887 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3889 * HttpRequest.cs: use StartsWith when looking for 'multipart/form-data'.
3890 File uploading was broken since a few commits ago.
3892 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3894 * HttpResponse.cs: ensure that the last chunk ('0\r\n\r\n') is sent
3895 even if response.Close is called before a final flush. MS/IIS fails to
3898 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3900 * HttpRequest.cs: don't print anything for unknown content types in
3901 ParseFormData. Use lowercase compare.
3903 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3905 * HttpResponse.cs: invariant love.
3907 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3909 * HttpResponse.cs: avoid 1 string concat.
3910 * HttpRequest.cs: fix BinaryRead. It was totally wrong.
3912 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3914 * HttpUtility.cs: don't append an extra 0 when no digits seen. Fixes
3917 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3919 * HttpUtility.cs: the lower limit for using &#xx; encoding is 160, not
3920 128. Reset number back to 0 after use. Fixes bug #75365.
3922 2005-06-19 Svetlana Zholkovsky <svetlanaz-at-mainsoft.com>
3923 * In following classes added TARGET_J2EE or/and TARGET_JVM
3928 - CapabilitiesLoader.cs
3929 - HttpApplication.cs
3930 - HttpApplicationFactory.cs
3934 * Added Mainsoft's specific files :
3935 - GhHttpAsyncResult.jvm.cs
3937 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3939 * HttpRequest.cs: avoid one intermediate buffer when reading the request
3940 body and fail for over limit content length when the content type is
3941 not handled as form or multipart data.
3943 2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3945 * HttpResponse.cs: fix the check in Close() so that CloseConnection is
3946 called even if there has been no final Flush. Fixes bug #75176.
3948 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3950 * HttpParseException.cs:
3952 * HttpApplication.cs: updates for 1.1 service pack.
3954 2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3956 * HttpUtility.cs: fix InvalidCastException.
3958 2005-06-05 Kornél Pál <kornelpal@hotmail.com>
3960 * HttpWriter.cs: Fixed: _OutputFilter.Close () was called twice.
3962 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3964 * HttpUtility.cs: modified HtmlDecode so that it does not need to call
3965 Int32.Parse and handles improper &# sequences. Fixes bug #74907.
3967 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
3969 * SiteMapNodeCollection.cs: Implemented missing methods. The collection
3970 does not inherit from CollectionBase any more.
3971 * SiteMapNode.cs: Track api changes.
3972 * SiteMapProvider.cs: Moved several methods to the new
3973 StaticSiteMapProvider class. Other fixes.
3974 * XmlSiteMapProvider.cs: Watch changes in the xml files. Other fixes.
3975 * SiteMapProviderCollection.cs: Minor fixes.
3976 * SiteMap.cs: Added missing event. Avoid double check lock.
3977 * StaticSiteMapProvider.cs: New class that implements some of the
3978 funtionality of SiteMapProvider.
3980 2005-05-25 Ben Maurer <bmaurer@ximian.com>
3982 * MimeTypes.cs: Remove extra spaces, they were typos. Fixes 75049.
3984 2005-05-13 Atsushi Enomoto <atsishi@ximian.com>
3986 * HttpUtility.cs : UrlDecodeToBytes() incorrectly decoded escaped
3987 characters. Patch by Kazuki Oikawa.
3989 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3991 * HttpRuntime.cs: PlatformID.Unix.
3993 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3995 * HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
3996 Clear the _Headers array instead of creating a new ArrayList in
3999 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4001 * HttpResponse.cs: we had 2 variables to track client connection status.
4002 Use only one. Increase the buffer size to 28KB when writing from a file.
4004 * StaticFileHandler.cs: set the Content-Type before writing the file.
4005 This allows flushing before all the content is written.
4007 * HttpApplication.cs: use the variable instead of the property when
4008 setting the Principal for the current process.
4010 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4012 * ReusableMemoryStream.cs:
4013 * HttpWriter.cs: keep a pool of buffers to avoid allocations.
4015 2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4017 * HttpResponse.cs: no need to save/restore the thread culture when
4018 getting the Date header. According to Ben's profiling, this is a big
4019 deal in performance.
4021 * HttpRuntime.cs: ignore exceptions that might be thrown when unloading
4024 2005-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4026 * HttpApplicationFactory.cs: ignore any exception thrown when invoking
4027 an application event.
4029 2005-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4031 * HttpBrowserCapabilities.cs: fix Win32 property.
4033 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4035 * HttpResponse.cs: only add the charset when explicitly set or for
4036 well-known content types.
4038 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4040 * HttpCachePolicy.cs:
4041 * HttpAsyncResult.cs:
4042 * HttpClientCertificate.cs:
4045 * HttpCacheVaryByHeaders.cs:
4046 * HttpBrowserCapabilities.cs:
4048 * HttpCacheVaryByParams.cs: no more warnings.
4050 * QueueManager.cs: check for local connections with minLocalFreeThreads.
4052 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4054 * ServerVariablesCollection.cs: shuffled variables, added missing ones
4055 and call a method in HttpRequest to set the HTTP_ variables.
4057 * HttpRequest.cs: new method to add HTTP_ variables to a collection.
4059 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4061 * HttpRequest.cs: GetAllHeaders was returning the value twice instead
4062 of 'name: value'. When HTTP_ is requested on the output, don't include
4065 2005-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4067 * HttpCookieCollection.cs: when adding more than one cookie with the
4068 same name, the last one is the winner.
4070 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4072 * HttpRequest.cs: correctly store the value cookies in Params. Fixes
4075 2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4077 * HttpRequest.cs: Path and FilePath also change when RewritePath is
4078 called. Fixes bug #73055.
4080 2005-02-23 Sebastien Pouliot <sebastien@ximian.com>
4082 * HttpRequest.cs: Make sure that any access after a ValidateInput
4083 throws an exception if the data isn't safe.
4085 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4087 * CapabilitiesLoader.cs: fix the path, as machine.config is now in a
4088 x.x/ directory below $PREFIX/etc/mono.
4090 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4092 * HttpRequest.cs: fail on unicode full-width '<' and '>' too. Fixes
4093 a security report (http://secunia.com/advisories/14325) that wan't
4094 reported to us before public disclosure.
4096 2005-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4098 * HttpResponse.cs: send the calculated content length even when it's 0.
4101 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
4103 * HttpContext.cs: Added internal property to keep a reference to
4104 the last accessed page. Page uses this to implement PreviousPage.
4106 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
4108 * ProcessModelInfo.cs: Fixed warning.
4110 2005-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4112 * TraceContext.cs: writing a message without any other argument is not
4113 a warniing. Fixes bug #72017.
4115 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4117 * HttpApplication.cs: if there are no more handlers, finish the
4118 request and ensure we call Complete on it. Now FreeTextBox 3.0 works.
4120 2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4122 * HttpRequest.cs: honor the maxRequestSize limit from machine.config.
4124 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4126 * HttpApplication.cs: reread application CultureInfo as web.config
4127 might have changed. Fixes bug #62539.
4129 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4131 * HttpResponse.cs: fixed ApplyAppPathModifier to insert the session ID.
4133 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4135 * HttpApplicationFactory.cs: monitor changes in global.asax and bin
4136 directory and shutdown the application when that happens. Fixes bug
4139 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4141 * ReusableMemoryStream.cs: copied from System.IO.MemoryStream and
4142 slightly modified to allow expanding the buffer for cases on which the
4143 regular MemoryStream don't allow it.
4145 * HttpWriter.cs: use the new ReusableMemoryStream and fix bug #59841.
4146 Otherwise we would have to allocate a new MemoryStream...
4148 2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4150 * HttpApplication.cs: Create() is now GetInstance().
4152 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
4154 * SiteMapNodeCollection.cs: Added missing properties.
4155 * HttpParseException.cs: Added 2.0 methods and properties.
4156 * SiteMapNode.cs: Added missing methods and properties.
4157 * SiteMapProvider.cs, XmlSiteMapProvider.cs,
4158 SiteMapProviderCollection.cs: IProvider does not exist any
4159 more, it is now ProviderBase.
4160 * ISiteMapProvider.cs: Deleted.
4161 * ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
4163 * SiteMap.cs: Minor fixes.
4165 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
4167 * SiteMapProviderCollection.cs: Fixed warning.
4168 * HttpApplication.cs: Added new 2.0 events.
4170 2004-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4172 * HttpResponse.cs: added internl SetHeadersSent.
4173 * HttpRuntime.cs: don't throw the 'headers already sent' exception
4174 if we're sending a runtime error.
4176 2004-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4178 * HttpApplication.cs: undo the TimeoutManager.(Add|Remove) shuffling.
4179 It causes troubles under heavy load.
4181 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4183 * SiteMap.cs: don't lock on Type.
4184 * CapabilitiesLoader.cs: avoid 2 locks when loading data.
4186 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4188 * HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
4189 presence of rewriting.
4191 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4193 * HttpApplication.cs: don't hang if a sync step is aborted. Fixes the
4194 system.web portion of bug #68270.
4196 2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4198 * TraceContext.cs: don't cast to Page is the handler it's
4201 2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4203 * HttpRequest.cs: CurrentExecutionFilePath is the one that
4204 changes when Transfer or Execute are used, not FilePath.
4206 * HttpServerUtility.cs: moved form saving/restoring from
4207 Transfer to Execute, as it's needed there too. the query string is
4208 correctly set now. Fixes bug #67388.
4210 * HttpContext.cs: use SetCurrentExePath instead of SetFilePath.
4212 2004-10-03 Ben Maurer <bmaurer@ximian.com>
4214 * HttpResponse.cs: use UtcNow
4216 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4218 * HttpResponse.cs: SuppressContent does not throw and clears all the
4219 buffered output. Fixes bug #67213.
4221 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4223 * HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.
4225 2004-09-29 Ben Maurer <bmaurer@ximian.com>
4227 * HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.
4229 2004-09-25 Ben Maurer <bmaurer@ximian.com>
4231 * HttpApplication.cs: Make sure requests are removed from
4232 the timeout manager. Fixes a major leak. #66751.
4234 2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4236 * HttpApplicationFactory.cs:
4237 * HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
4240 2004-09-12 Ben Maurer <bmaurer@ximian.com>
4242 * HttpContext.cs: use CallContext. It is a little bit faster.
4244 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4246 * HttpStaticObjectsCollection.cs: don't share static session objects
4247 declared in the application file across the application, but on a
4248 per-session basis. Fixes bug #65446.
4250 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4252 * HttpServerUtility.cs: in Transfer(path), don't keep form data if
4253 the transfer is done from inside a page that received a postback.
4256 2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4258 * HttpValueCollection.cs: fixed signature of ToString (). Closes bug
4261 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
4263 * HttpWriter.cs (.ctor): Dont create teh StreamWriter twice
4264 (Clear): Don't recreate the MemoryStream and StreamWriter
4266 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4268 * HttpApplication.cs: only add/remove to/from the timeout
4269 manager when we're in a interruptible step.
4271 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4273 * TraceContext.cs: when IsEnabled has not been set, return the value
4274 from the TraceManager. Fixes bug #63469.
4276 2004-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4278 * HttpRuntime.cs: initialize the response writer when finishing a
4279 request because it cannot be queued. Under heavy load we made new
4280 requests be processed before the ones that might be queued. This is
4283 * QueueManager.cs: instead of queueing/dequeuing separately, we now
4284 have a single method that does everything needed to decide which one
4285 will be the next request processed.
4287 2004-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4289 * HttpRuntime.cs: removed initializations to null in .cctor. Prevent
4290 other requests from avoiding the lock if they are received before the
4291 configuration system is inited. Ensure that the queue manager is not
4292 null before using it (it can be null while the first request is being
4295 2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4297 * HttpServerUtility.cs: ensure we have a full virtual path for the
4298 request being executed.
4300 2004-08-02 Duncan Mak <duncan@ximian.com>
4302 * ApplicationShutdownReason.cs: Fixed typos.
4304 * HttpCookieMode.cs:
4305 * HttpDataTransferMode.cs:
4306 * HttpRequestPriority.cs: Added [Serializable] attribute.
4308 2004-08-02 Duncan Mak <duncan@ximian.com>
4310 * ApplicationShutdownReason.cs:
4311 * HttpCookieMode.cs:
4312 * HttpDataTransferMode.cs:
4313 * HttpRequestPriority.cs: Added 2.0 enumerations.
4315 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4317 * HttpApplication.cs: the file not found might be a dependency.
4319 2004-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4321 * HttpCookie.cs: use invariant when formatting expires date. Fixes bug
4324 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4326 * HttpApplication.cs: don't keep the session around if we got it from
4327 the context. Fixes bug #61232.
4329 2004-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4331 * HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
4334 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4336 * TraceContext.cs: added internal HaveTrace property whose
4337 value is true when the page has a Trace attribute.
4339 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4341 * TraceData.cs: fixed <br> output. Closes bug #60181.
4343 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4345 * HttpUtility.cs: check for control characters in the string to encode
4346 or decode and return the same string if there are none.
4348 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4350 * HttpApplication.cs: change/restore the IPrincipal in their own methods
4351 and make them internal.
4353 2004-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4355 * HttpContext.cs: reverting Pedro's patch and sending mail with test
4358 2004-06-09 Pedro Martnez Juli <yoros@wanadoo.es>
4360 * HttpContext: User property returns its own "user" value because
4361 the context can walk through different Threads. When "User" property
4362 is changed, change "Thread.CurrentPrincipal" too.
4364 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4366 * HttpRequest.cs: removed extra ^Ms and fixed style of last patch.
4368 2004-06-08 Alon Gazit <along@mainsoft.com>
4370 * HttpRequest.cs: Add a patch for HttpRequest.ServerVariables.
4372 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
4374 * HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
4375 Fix (at least partially) #59683.
4377 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4379 * HttpRequest.cs: reverting patch from Alon Gazit. Uses the above file
4380 that doesn't compile.
4382 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4384 * TraceData.cs: fixes nullref in an application that relies on
4385 r ["Message"] not being null. Closes bug #59679.
4387 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4389 * HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.
4391 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4393 * HttpRuntime.cs: implemented a 5 simple properties that were TODOs.
4395 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4397 * HttpBrowserCapabilities.cs: implemented ClrVersion and GetClrVersions.
4398 * HttpException.cs: removed MonoTODO.
4400 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4402 * TraceContext.cs: don't check if HttpRuntime.TraceManager
4403 is enabled when writing.
4405 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4407 * HttpRequest.cs: added ClientTarget internal property.
4409 2004-06-03 Lluis Sanchez Gual <lluis@ximian.com>
4411 * HttpApplication.cs: Clear the http handler list after releasing the
4414 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4416 * TraceData.cs: html-encode the messages written to the trace. Fixes
4419 2004-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4421 * HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
4424 2004-05-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4426 * HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
4427 when SetFilePath is called. This way the cached values are reset and
4428 get the right value in case someone (namely SessionStateModule +
4429 cookieless session) changes the FilePath after the property cached its
4430 value. Fixes bug #59364.
4432 2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>
4434 * HttpApplicationFactory.cs: Added SignalError (still todo)
4436 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4438 * HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
4439 chunked encoding disabled. Fixed chunked suffix and end. Send the
4440 'lastchunk' marked when in the final Flush even if the content length
4441 is 0. This makes mod-mono-server work fine with chunked encoding.
4443 * HttpRuntime.cs: Set the _firstRequest* variables to true
4444 earlier. TraceContext don't take any parameter now.
4446 * TraceManager.cs: don't need a context. Use GetAppConfig.
4448 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4450 * HttpApplication.cs: set culture/uiculture from configuration and
4451 restore it after each step. Fixes bug #52851.
4453 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4455 * HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
4456 entities hashtable creation until it's really needed.
4458 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4460 * HttpApplicationFactory.cs: if no module matches the name found for a
4461 possible event, ignore it. Fixes bug #58542.
4463 2004-05-16 Patrik Torstensson <totte@hiddenpeaks.com>
4465 * HttpRuntime (Init): Removed old todo
4466 * HttApplication : Implemented IHttpHandlerFactory recycling
4468 2004-04-28 Patrik Torstensson
4470 * HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
4473 2004-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4475 * HttpUtility.cs: return null in HtmlDecode for null input instead of
4476 throwing an exception. Patch by Jan Jaros (bug #57083).
4478 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
4480 * TimeoutManager.cs: Swap the order of initialization of contexts
4481 and the Timer, to avoid race condition of CheckTimeouts being called
4482 before contexts gets initialized.
4484 2004-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4486 * HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
4487 Now the posted file content does not have the boundaries and headers
4490 2004-03-25 Alon Gazit <along@mainsoft.com>
4492 * HttpRequest.cs: fix ValidateCookieCollection() to prevent
4493 InvalidCastException.
4495 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4497 * HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.
4499 2004-03-01 Larry Ewing <lewing@ximian.com>
4501 * HttpUtility.cs: fix UrlEncodeToBytes count check.
4503 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4505 * HttpServerUtility.cs:
4506 * HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
4509 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4511 * HttpUtility.cs: fixed length check. Closes bug #54201.
4512 Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
4515 2004-02-11 Jackson Harper <jackson@ximian.com>
4517 * TraceData.cs: Use ToString for cookie/header/var name values so
4518 null is handled properly.
4520 2004-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4522 * HttpApplication.cs: ApplicationState is inited by the factory so,
4523 return that value in the property. when we use the context Session,
4524 cache it in the instance field.
4526 * HttpApplicationFactory.cs: fixed target Type for the event when
4527 hooking application and module events. Initialize application
4528 and session scope objects. Fixes non-aplication events hook up.
4530 * HttpStaticObjectsCollection.cs: added StaticItem and delay the
4531 creation of the objects until they are requested.
4533 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4535 * HttpApplicationFactory.cs: fixlet for session events hook.
4537 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4539 * HttpApplicationFactory.cs: attach all events from Type and BaseType
4540 at the same time. Fixes bug #53454.
4542 2004-01-27 Jackson Harper <jackson@ximian.com>
4544 * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
4545 null now, dont hadd the header if it does.
4546 * HttpCacheVaryByParams.cs: Return null if there are no items.
4548 2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4550 * HttpCachePolicy.cs: it's not public.
4551 * HttpRuntime.cs: wait for requests before disposing the queue.
4553 2004-01-15 Jackson Harper <jackson@ximian.com>
4555 * HttpCachePolicy.cs: Fix typo causing varyby params headers to be
4556 created when they shouldn't be.
4558 2004-01-14 Jackson Harper <jackson@ximian.com>
4560 * TraceData.cs: Fix some typos in the output text. Fix control
4561 position when adding controls recursively.
4563 2004-01-14 Jackson Harper <jackson@ximian.com>
4565 * HttpCachePolicy.cs: Expose duration and sliding properties.
4567 2004-01-14 Jackson Harper <jackson@ximian.com>
4569 * HttpCachePolicy.cs: Add an event that is fired when the
4570 cacheability is updated. The response uses this to determine
4571 whether or not it needs to cache itself.
4572 * HttpResponse.cs: When the cacheability is updated either create
4573 or dispose of the cached raw response based on whether or not we
4574 wil need it. This allows output caching to be controlled
4577 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4579 * HttpContext.cs: add setter for ConfigTimeout.
4580 * HttpException.cs: added Description property and HTML encode some
4583 * HttpRequest.cs: support request validation.
4585 * HttpRequestValidationException.cs: added message and description.
4587 * HttpServerUtility.cs: implemented ScriptTimeout.
4589 2004-01-11 Jackson Harper <jackson@ximian.com>
4591 * TraceManager.cs: Dont crash if there is no trace config element.
4593 2004-01-11 Jackson Harper <jackson@ximian.com>
4595 * HttpRequest.cs: Add property for determining if the request is
4598 2004-01-10 Jackson Harper <jackson@ximian.com>
4600 * TraceContext.cs: Handle tracing when it is enabled in the config
4601 file but not on the page.
4602 * TraceManager.cs: Get settings from the configuration object.
4603 * HttpRuntime.cs: Create trace manager in the first request start
4604 so it can get configuration settings.
4606 2004-01-10 Jackson Harper <jackson@ximian.com>
4608 * TraceContext.cs: Save the request path in the trace data.
4609 * TraceData.cs: Add RequestPath property, make some rendering
4610 methods internal static so the TraceHandler can use them.
4611 * TraceManager.cs: Expose trace data, add a method for clearing
4614 2004-01-10 Jackson Harper <jackson@ximian.com>
4616 * HttpRuntime.cs: Add trace manager
4617 * TraceManager.cs: New class for handling trace configuration and
4618 storing trace data objects.
4619 * TraceContext.cs: Save trace data to the trace manager. Fix typo.
4621 2004-01-10 Jackson Harper <jackson@ximian.com>
4623 * TraceData.cs: New class for storing trace data. Data is stored
4624 here instead of the trace context so it can be saved and accessed
4625 from the trace handler.
4626 * TraceContext.cs: Save data in the TraceData object, let the
4627 trace data object handle the rendering.
4629 2004-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4631 * HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
4632 Thanks to Jan Jaros (mono-bug@jerryweb.info).
4634 * HttpRequestValidationException.cs: fix comment.
4636 2004-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4638 * HttpException.cs: default to error 500. Fixes bug #52623.
4640 2004-01-04 Jackson Harper <jackson@ximian.com>
4642 * TraceContext.cs: Store and render trace info times. Also render
4643 cookie sizes. Remove debug code.
4645 2004-01-04 Jackson Harper <jackson@ximian.com>
4647 * HttpResponse.cs: Set the cached response date header so it can
4649 * HttpResponseHeader.cs: Let values be set so we can update cached
4650 response header values.
4652 2004-01-04 Jackson Harper <jackson@ximian.com>
4654 * HttpResponse.cs: Implement RemoveOutputCacheItem.
4656 2004-01-04 Jackson Harper <jackson@ximian.com>
4658 * HttpCachePolicy.cs: Add internal method to get the vary by custom string
4659 * HttpCacheVaryByHeaders.cs: Add internal method to get the header names.
4661 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4663 * HttpRuntime.cs: implemented MachineConfigurationDirectory,
4665 2004-1-1 Alon Gazit <along@mainsoft.com>
4666 * HttpWriter.cs: add check in Write() in order to prevent
4667 NullReferenceException.
4669 2004-1-1 Alon Gazit <along@mainsoft.com>
4670 * HttpResponse.cs: implemented ExpiresAbsolute and Expires.
4672 2003-12-18 Jackson Harper <jackson@ximian.com>
4674 * TraceContext.cs: Write () methods are not warnings.
4676 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4678 * HttpBrowserCapabilities.cs: added GetClrVersions ().
4679 * HttpCachePolicy.cs: added SetAllowResponseInBrowserHistory ().
4680 * HttpContext.cs: added set_Current and RewritePath (s, s, s) for 1.1.
4681 * HttpRequest.cs: added set_ContentType, SetPathInfo and ValidateInput.
4682 * HttpRequestValidationException.cs: new class for 1.1
4683 * HttpResponse.cs: added RedirectLocation.
4684 * HttpRuntime.cs: added UnloadAppDomain.
4685 * HttpServerUtility.cs: Execute (s, t, b) is internal for < 1.2
4686 * HttpUtility.cs: copied UrlPathEncode from HttpServerUtility.
4687 * HttpWorkerRequest.cs: added [ComVisible] and made the ctor public.
4689 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4691 * HttpContext.cs: implemented IsCustomErrorEnabled and
4692 IsDebuggingEnabled. Added internal ErrorPage property.
4694 * HttpRuntime.cs: on error, check if we have a custom error page enabled
4695 to handle it and redirect.
4697 * HttpResponse.cs: added RedirectCustomError (), which actually does
4698 the redirection to the error page.
4700 2003-12-16 Jackson Harper <jackson@ximian.com>
4702 * TraceContext.cs: Render all the data, and the stylesheet.
4704 2003-12-16 Jackson Harper <jackson@ximian.com>
4706 * TraceContext.cs: Add incomplete render method.
4708 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4710 * CapabilitiesLoader.cs: loads browser detection and capabilities data
4711 from browscap.ini file by Gary J. Keith.
4713 * HttpBrowserCapabilities.cs: removed almost all TODOs.
4715 * HttpRequest.cs: fixed Browser property.
4717 2003-12-15 Jackson Harper <jackson@ximian.com>
4719 * TraceContext.cs: Initial implementation of storing data.
4720 * HttpContext.cs: Create and expose a trace object.
4722 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4724 * HttpApplication.cs: ThreadAbortException is ok on Redirect.
4725 * HttpContext.cs: added TimeoutPossible property.
4726 * HttpResponse.cs: throw ThreadAbortException if End () is called within
4727 a step in which is possible to timeout.
4731 2003-12-04 Jackson Harper <jackson@ximian.com>
4733 * HttpRequest.cs: Cleanup method.
4735 2003-12-04 Jackson Harper <jackson@ximian.com>
4737 * HttpValueCollection.cs: Allow blank value names. Posting
4738 <blank>=SomeValue is valid. And occurs if a radio button does
4739 not have its name set.
4741 2003-12-03 Jackson Harper <jackson@ximian.com>
4743 * HttpResponse.cs: Actually apply an app path modifier in
4744 ApplyAppPathModifer and add a method to set the app path modifier.
4745 * HttpRequest.cs: Add utility method for setting a request header.
4747 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4749 * HttpApplication.cs: handle FileNotFound and DirectoryNotFound
4750 exceptions when creating the handler to generate a better error page.
4752 * HttpException.cs: display the http_code if available. Changed all
4753 \n by \r\n to make the hidden stack trace readable.
4755 * StaticFileHandler.cs: don't send the real path in th eerror.
4757 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4759 * HttpContext.cs: updated GetConfig and GetAppConfig to new API.
4761 * HttpResponse.cs: separate initialization of the HttpWriter, as it
4762 tries to read configuration settings while the config. system is not
4763 available (ie, before the first request).
4765 * HttpRuntime.cs: delayed queueManager and response writer
4766 initialization until the configuration system is working.
4768 2003-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4770 * HttpRuntime.cs: added request queue handling.
4772 * QueueManager.cs: simple request queue.
4774 * TimeoutManager.cs: added some locks to prevent the enumerator used in
4775 CheckTimeouts to be out of synch.
4777 2003-11-25 Jackson Harper <jackson@ximian.com>
4779 * HttpStaticObjectsCollection.cs: Add methods for serialization
4780 and conversion to/from byte arrays.
4782 2003-11-21 Jackson Harper <jackson@ximian.com>
4784 * HttpResponse.cs: When caching data set the content length in the
4785 cached repsonse so that only that amount will be written back to
4786 the client. Add method to write a range of binary data.
4787 * HttpCacheVaryByParams.cs: Add method to retrieve param names.
4789 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4791 * HttpApplication.cs:
4793 * HttpRuntime.cs: add timeout handling.
4794 * TimeoutManager.cs: new class that takes care of aborting threads on
4797 2003-11-19 Jackson Harper <jackson@ximian.com>
4799 * HttpWriter.cs: Use a constant for the buffer size so the cache
4800 can get the buffer size. Add method to get the buffer.
4801 * HttpResponse.cs: Methods for getting data to cache, and setting
4802 vars from the cache.
4803 * HttpCachePolicy.cs: Expose a pages cache expire time.
4805 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4808 * HttpWriter.cs: some fixes to allow closing a response stream without
4811 2003-11-13 Jackson Harper <jackson@ximian.com>
4813 * HttpCachePolicy.cs: Make sure cacheability and maxage get
4814 set. Add method to set Http response header data
4815 * HttpCacheVaryByParams.cs: Add method to create a response header.
4816 * HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
4817 * HttpResponse.cs: Set cache headers.
4819 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
4821 * HttpModuleCollection.cs (GetKey): Recursion, again!
4823 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
4825 * HttpClientCertificate.cs (ValidUntil): recursion!
4827 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
4829 * SiteMapNode.cs (GetDataSourceView): Implement.
4830 * SiteMapProvider.cs: Typo fixing.
4831 * XmlSiteMapProvider.cs: We shouldnt resolve here.
4833 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
4835 * SiteMap.cs (Init): implement a hack that doesnt need the config
4836 stuff. Should do that later.
4837 * SiteMapNodeCollection (OnValidate): Fix recursion.
4838 * SiteMapProvider.cs: We dont implement some culture stuff work
4839 around it. Fix typo.
4840 * XmlSiteMapProvider.cs: Added.
4842 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
4844 * ISiteMapProvider.cs:
4847 * SiteMapNodeCollection.cs:
4848 * SiteMapProvider.cs:
4849 * SiteMapProviderCollection.cs: V2 sitemap related stuff.
4851 2003-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4853 * HttpRequest.cs: don't attempt to read more bytes than specified
4856 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4861 * HttpValueCollection.cs: encoding fixes/updates.
4863 * HttpWriter.cs: when updating the encoding, flush the existing stream.
4866 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
4868 * HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
4869 return false (which makes sense, as the custom errors *arent* enabled;
4871 * HttpResponseStream.cs: you actually can write with len = 0
4873 2003-11-03 Jackson Harper <jackson@ximian.com>
4875 * HttpResponse.cs (ContentEncoding): Throw
4876 ArgumentNullException. Patch by Yaron Shkop.
4878 2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4880 * HttpMultipartContentParser.cs : Quick fix for cygwin build.
4881 CSC complains that constant char cannot be casted as byte.
4883 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4885 * HttpApplication.cs: added AssemblyLocation property.
4887 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4889 * HttpApplicationFactory.cs: use NoParamsInvoker.
4890 * HttpRequest.cs: support request filters.
4891 * HttpRequestStream.cs: mono-stylized and added new Set method.
4893 * NoParamsInvoker.cs: proxy class to invoke user-provided methods
4894 without parameters that are invoked by EventHandlers.
4896 2003-10-13 Lluis Sanchez Gual <lluis@ximian.com>
4898 * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
4899 to invariant culture.
4901 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4904 * HttpServerUtility.cs: change the response writer in Execute. Thanks
4905 to Rich Alimi <rich@velvetsea.net> for noticing this.
4907 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4909 * HttpApplicationFactory.cs: support for wiring up events without
4912 2003-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4914 * HttpUtility.cs: small memory usage reduction.
4916 2003-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4918 * HttpApplication.cs: pass the Uri, not the file path to
4919 when looking for a handler.
4921 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4923 * HttpRequest.cs: small fix needed when reading big POST data.
4925 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
4927 * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
4928 (this will get the address from the request headers).
4930 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
4932 * HttpServerUtility.cs: In Transfer(), preserve the query string if
4935 2003-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4937 * HttpApplication.cs: ensure we do all the EndRequest steps. Don't
4938 filter the output on error.
4940 * HttpResponse.cs: modified DoFilter to allow bypassing filtering.
4942 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4944 * HttpApplication.cs: when the request is completed or an
4945 error happens, execute all the delegates attached to EndRequest, not
4946 only the last one. This makes xsp/test/authtest work again.
4948 * HttpMethodNotAllowedHandler.cs: fixed description for http
4951 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4953 * HttpRequest.cs: quick way of checking that the path is within the
4954 root for the application. Thanks to Johannes for reporting.
4956 * HttpRuntime.cs: use the status code from teh exception when it'ss a
4959 * StaticFileHandler.cs: forbidden is 403.
4961 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4963 * HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
4964 <rich@velvetsea.net>.
4966 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4968 * HttpException.cs: make the unhandled error more like the MS one.
4969 * HttpRuntime.cs: set a 500 error code on unhandled exceptions.
4971 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4973 * HttpResponse.cs: flush headers when the body length is 0.
4974 * StaticFileHandler.cs: added If-Modified-Since handling patch slightly
4975 modified from the original by Piers Haken <piersh@friskit.com>.
4977 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4979 * HttpResponse.cs: another patch from totte and me. This one prevents
4980 writing output if the client have disconnected and filters the data
4981 when there's a non-final Flush in the middle of the process.
4983 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4985 * HttpApplication.cs: fixed typos. Closes bug #44197.
4987 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4989 * HttpApplication.cs:
4990 * HttpApplicationFactory.cs: fix duplicate application OnStart events.
4992 Patch by Patrik Torstensson.
4994 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4996 * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
4997 overload. The previous one only admits static methods.
4999 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5001 * ProcessModelInfo.cs: Fixed signature
5003 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5005 * WebCategoryAttribute.cs: Implemented localization
5006 * WebSysDescriptionAttribute.cs: Implemented localization
5008 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5010 * HttpRuntime.cs: also clear the headers that may have been set upon
5011 error processing the request.
5013 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5015 * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
5018 * HttpWriter.cs: flush the filter after writing.
5020 2003-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5022 * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
5024 2003-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5026 * HttpContext.cs: Session doesn't have a setter.
5028 * HttpResponse.cs: Request is private.
5030 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5032 * HttpRequest.cs: fixed Headers property. It was getting known headers
5033 values instead of known headers names.
5035 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5037 * HttpApplication.cs: prevent nullref if an error happens before context
5039 * HttpException.cs: small fix in the stack trace sent.
5040 * HttpUtility.cs: the lock is not needed.
5042 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5044 * HttpRequest.cs: added REMOTE_PORT.
5045 * HttpValueCollection.cs: fixed bug #45490.
5047 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5049 * HttpApplication.cs:
5050 * HttpApplicationFactory.cs: fire application start and session
5053 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5055 * HttpException.cs: encode as HTML the inner exception that
5056 is appended as a comment at the end of error pages.
5058 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5060 * HttpWriter.cs: don't do anything in Flush. Fixes #42249.
5062 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5064 * HtmlizedException.cs: added more virtual methods.
5066 * HttpException.cs: some work on the output when there's a source
5069 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5071 * HtmlizedException.cs: simplified to cope with the new interface.
5073 * HttpApplicationFactory.cs: use the application file parser to get the
5076 * HttpException.cs: small changes. Needs some more work on
5079 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5081 * HttpRequest.cs: fixed Url property.
5083 2003-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5085 * HtmlizedException.cs:
5086 * HttpException.cs: display the correct line number in error messages.
5088 2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5090 * HttpCachePolicy.cs: implemented all TODOs.
5091 * HttpRequestStream.cs: make it internal.
5093 2003-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5095 * HttpContext.cs: implemented RewritePath in other way.
5096 * HttpRequest.cs: removed SetPhysicalPath and added SetForm.
5097 * HttpServerUtility.cs: implemented Transfer (string, bool).
5099 2003-03-16 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
5100 * HttpContext.cs : Implemented RewritePath
5101 * HttpRequest.cs : Added internal function SetPhysicalPath
5103 2003-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5105 * HttpServerUtility.cs: implemented Transfer ().
5107 2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5109 * HttpRuntime.cs: Cache no longer have a Dispose method.
5111 * HttpServerUtility.cs: removed MonoTODO.
5113 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5115 * HttpHelper.cs: store the values in an ArrayList to get them in correct
5118 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5120 * HttpApplicationFactory.cs: Global.asax takes precedence over
5121 global.asax if it exists.
5123 * HttpRequest.cs: use allowCrossAppMapping in MapPath.
5125 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5127 * HttpApplication.cs: CreateHttpHandler is now internal.
5129 * HttpRequest.cs: allow setting QueryStringRaw, which
5130 invalidates the data obtained from the previous value. Added internal
5133 * HttpServerUtility.cs: implemented Execute and GetLastError.
5135 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5137 * HttpServerUtility.cs: style.
5139 2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5141 * HttpApplication.cs: only execute the EndRequest step on error
5142 condition or request marked as completed. This prevent page events from
5143 being called when, for example, the url authorization module forbids
5146 2003-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5148 * HttpRequest.cs: implemented the indexer.
5150 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5152 * HtmlizedException.cs: base class for exceptions that makes it easy to
5153 generate error pages.
5155 * HttpException.cs: improved error displaying.
5157 * HttpRuntime.cs: removed debugging output.
5159 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5161 * HttpApplication.cs: display the error instead of hanging when we get
5162 any error before the last step of the request.
5164 2003-02-04 Tim Haynes <thaynes@openlinksw.com>
5166 * HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement
5169 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5171 * HttpRequest.cs: added BaseVirtualDir property and use it in MapPath.
5173 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5175 * HttpRequest.cs: implemented CurrentExecutionFilePath.
5177 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5179 * HttpApplication.cs: keep _lasterror if no context. Attach
5180 application events *after* modules initialization (if not, User is not
5181 set when the user handler is called).
5183 * HttpApplicationFactory.cs: made all methods related to
5184 AttachEvents static. I will fix OnStart/OnEnd for application and
5187 * HttpRequest.cs: don't initialize cookies twice.
5189 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5192 (ApplyAppPathModifiers): return the root directory for "".
5194 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5196 * HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.
5198 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5200 * HttpApplication.cs: added new state to handle default authentication.
5202 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5204 * HttpContext.cs: removed hack to get the User.
5206 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5208 * HttpUtility.cs: fixed bug #36038. Thanks to juancri@tagnet.org for
5209 reporting the bug and how to fix it.
5211 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5213 * HttpCookie.cs: send 'expires' in the header.
5215 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5217 * HttpValueCollection.cs: patch from Botjan Vizin
5218 <bostjan.vizin@siol.net> that implements ToString (bool).
5220 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5222 * HttpApplicationFactory.cs: add the context as parameter when building
5223 the application Type.
5225 * HttpCookie.cs: new internal constructor.
5226 * HttpCookieCollection.cs: new internal method to make a cookie expire.
5228 * HttpRequest.cs: MapPath fixes.
5229 * HttpResponse.cs: implemented ApplyAppPathModifier.
5230 * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
5232 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5234 * HttpContext.cs: hack to create a default user when there's no one.
5235 Implemented GetConfig (string).
5237 * HttpRequest.cs: fixes to MapPath (string).
5239 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5241 * HttpRuntime.cs: avoid nulls and exception when getting resource
5244 * StaticFileHandler.cs: added file name to error message.
5246 2002-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5248 * HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
5250 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5252 * HttpApplicationFactory.cs: get the events from the application class,
5253 fire Application/Session Start/End and add the others as application
5256 2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5258 * HttpApplicationFactory.cs: compile global.asax file if it exists.
5260 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5262 * HttpRequest.cs: provide a default Browser until we detect it.
5264 (End): do not close the connection here.
5265 (Flush (bool)): send the headers when, for example, Redirect () is
5268 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5270 * HttpException.cs: simple error output.
5272 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5274 * HttpApplication.cs: style.
5275 * HttpException.cs: style.
5276 * HttpRuntime.cs: only flush the response if there are no errors.
5277 Otherwise, write an error output.
5278 * HttpWriter.cs: change Unicode to UTF8.
5280 2002-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5282 * HttpApplication.cs: don't begin the request using ExecuteNextAsync
5283 (it fails to work on NetServ).
5285 * HttpWorkerRequest.cs: typo.
5287 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5289 * HttpValueCollection.cs: the value may contain trailing '=' as it is
5290 UrlEncoded. Don't split name=value based on '='.
5292 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5294 * HttpCookie.cs: made GetCookieHeader internal.
5296 * HttpRequest.cs: get cookies from request.
5298 * HttpResponse.cs: send cookies. Implemented
5299 AddFileDependencies (). Added check for _Writer == null in Flush
5300 (Patrik ;-). Clear the content if HEAD or SupressContent == true.
5301 Removed redirect hack used in old server.
5303 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5305 * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
5306 most ContentLength bytes.
5308 * HttpResponse.cs: now it sends the headers. Added
5309 X-Powered-By header :-).
5311 * HttpRuntime.cs: fixed typo.
5313 * HttpValueCollection.cs: cosmetic changes.
5315 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5317 * HttpApplication.cs: reenabled a few lines of code
5318 (ThreadPool already fixed).
5323 * HttpValueCollection.cs:
5324 * HttpWriter.cs: Use WebEncoding.Encoding.
5326 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5328 * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
5329 This fixes sending bytes and allows mixing byte with chars.
5331 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5333 * HttpResponse.cs: implemented WriteFile methods.
5334 * MimeTypes.cs: removed duplicated entries.
5336 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5338 * HttpResponse.cs: don't throw exception in a couple of
5339 methods not yet implemented.
5341 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5343 * HttpApplication.cs: fixed type and handle factories when creating
5344 IHttpHandler for a request.
5346 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5348 * HttpApplication.cs: use handlers from configuration.
5349 * HttpContext.cs: get handlers from ConfigurationSettings.
5351 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5353 * HttpMethodNotAllowedHandler.cs:
5355 * StaticFileHandler.cs: Modified file.
5357 * HttpUtility.cs: implemented all missing methods.
5360 2002-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5362 * System.Web/HttpApplication.cs: use the static file handler.
5363 * System.Web/HttpForbiddenHandler.cs: handler to forbid access.
5364 * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
5367 * System.Web/HttpUtility.cs: finished all UrlDecode methods.
5368 * System.Web/MimeTypes.cs: map from file extension to MIME type.
5369 * System.Web/StaticFileHandler.cs: serves static files
5371 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5373 * System.Web/HttpApplication.cs:
5374 * System.Web/HttpApplicationFactory.cs:
5375 * System.Web/HttpRequest.cs:
5376 * System.Web/HttpRuntime.cs: we are now able to compile pages and use
5377 HttpApplication, HttpRuntime and SimpleWorkerRequest.
5379 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5381 * HttpApplication.cs: added some missing methods.
5382 * HttpApplicationFactory.cs: get event handlers for the application.
5383 * HttpAsyncResult.cs: little fixes.
5384 * HttpRequest.cs: make Encoding work even with no worker request.
5386 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5388 * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
5389 to add HttpMapPath to the list file...
5391 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5393 * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
5394 report when i get a test case.
5396 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5398 * HttpApplicationFactory.cs:
5399 * HttpCachePolicy.cs:
5400 * HttpResponseHeader.cs:
5401 * HttpResponseStream.cs:
5402 * HttpResponseStreamProxy.cs:
5403 * HttpValueCollection.cs: misc. fixes based on class status page.
5405 * IHttpMapPath.cs: New file.
5407 * HttpRequest.cs: implemented ContentEncoding.
5408 * HttpWorkerRequest.cs: mono-stylized and implemented
5409 SendResponseFromMemory.
5411 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5413 * HttpContext.cs: reformatted.
5414 * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
5417 2002-08-05 Patrik Torstensson <ptorsten@hotmail.com>
5419 * HttpApplication.cs: Implemented a state machine to allow handling of
5420 HttpModules and HttpHandlers. Implementation of async handlers.
5422 * HttpApplicationFactory.cs: Factory for creating HttpApplication
5423 instances, including caching.
5425 * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
5426 application instance to execute requests in and implementation of
5427 request execution (still no request queue).
5429 * HttpAsyncResult.cs: New file to handle async module results.
5431 * HttpRequest.cs: Change signature of Dispose
5432 * HttpResponse.cs: new internal method allowing filtering to happen
5433 during the request flow in the state machine.
5435 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5437 * HttpApplication.cs: events were not being initialized.
5439 2002-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5441 * ProcessModelInfo.cs: fixed compilation.
5443 2002-07-25 Tim Coleman <tim@timcoleman.com>
5444 * ProcessModelInfo.cs:
5446 * HttpParseException.cs:
5447 * HttpCompileException.cs:
5448 * HttpUnhandledException.cs:
5449 Internal constructors added to these
5451 2002-07-24 Tim Coleman <tim@timcoleman.com>
5453 Fix constructor, reference to shutdownreason.
5455 2002-07-24 Tim Coleman <tim@timcoleman.com>
5456 * HttpCachePolicy.cs:
5457 Added stubbs to this class.
5458 * HttpCacheability.cs:
5459 * HttpCacheRevalidation.cs:
5460 * HttpValidationStatus.cs:
5461 * ProcessShutdownReason.cs:
5464 Reorder the enumerations (and in some cases make
5465 one-based) in order to agree with the .NET
5466 implementation, based on the class status page.
5468 Implementation of this class.
5470 2002-07-23 Tim Coleman <tim@timcoleman.com>
5471 * HttpCompileException.cs:
5472 * HttpParseException.cs:
5473 * HttpUnhandledException.cs:
5475 * HttpApplication.cs:
5476 * HttpBrowserCapabilities.cs:
5477 Added missing methods stubbs and attributes based
5478 on the class status page. Also reformatted some
5479 source for consistency.
5481 2002-07-23 Tim Coleman <tim@timcoleman.com>
5482 * HttpUtility.cs: Moved entities hashtable into main
5483 class as a static object, so we don't instantiate
5484 a new one every time. Also put the hashtable
5485 building into a lock block.
5487 2002-07-22 Tim Coleman <tim@timcoleman.com>
5488 * HttpUtility.cs: Cleanup of the code, implementation
5489 of HtmlDecode/HtmlEncode functions
5491 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5493 * HttpResponse.cs: quick&dirty hack to make redirection work. Should
5494 be out of there once we have SimpleWorkerRequest.
5496 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5498 * HttpUtility.cs: little typo, big headache.
5500 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5502 * HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
5504 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5506 * System.Web/HttpResponse.cs:
5508 Fixes based on class status page:
5510 - Add attributes (DefaultEvent, ParseChildren).
5512 - Explicitly implement some interfaces (IPostBackDataHandler
5513 and IPostBackEventHandler).
5514 - Implemented some missing methods.
5516 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5519 (Session): return null instead of throwing an exception.
5522 (HttpMethod): return RequestType if not set.
5523 (GetRawContent): return QueryString if we don't have a
5526 * HttpUtility.cs: fixed Decode and Encode.
5528 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5530 * HttpApplication.cs:
5531 * HttpContext.cs: added System.Web.SessionState namespace.
5533 * HttpSessionState.cs: removed. It is under
5534 System.Web.SessionState.
5536 2002-06-10 Duncan Mak <duncan@ximian.com>
5538 * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
5540 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5542 * HttpRequest.cs: implemented Browser property.
5544 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5546 * HttpBrowserCapabilities.cs: stubbed out.
5548 2002-05-18 Miguel de Icaza <miguel@ximian.com>
5550 * HttpRuntime.cs: Reformat file.
5552 2002-05-07 Duncan Mak <duncan@ximian.com>
5554 * HttpBrowserCapabilities.cs: Added, replacing
5555 HttpBrowserCapabilites because of typo.
5557 * HttpBrowserCapabilites.cs: Removed, replaced by above.
5559 * HttpRequest.cs (Browser): Fixed typo.
5561 2002-04-12 Patrik Torstensson <patrik.torstensson@labs2.com>
5563 * HttpApplication.cs: Minor updates
5564 * HttpApplicationState.cs: Ready.
5565 * HttpClientCertificate.cs: Signature updates
5566 * HttpValueCollection.cs: ready
5567 * HttpStaticObjectsCollection.cs: ready
5568 * HttpResponseHeader.cs: made internal only
5569 * HttpResponse.cs: Signature updates
5570 * HttpPostedFile.cs: ready
5571 * HttpCacheVaryByHeaders.cs: ready (except communication to policy)
5572 * HttpCacheVaryByParams.cs: ready (except communication to policy)
5574 System.Web is now over 60% ready..
5576 2002-04-11 Patrik Torstensson <patrik.torstensson@labs2.com>
5578 * HttpException.cs: 95% ready, only windows dependent code left
5579 * HttpFileCollection.cs: Finished.
5580 * HttpRequest.cs: Minor fixes and fixed signature problems
5581 * HttpResponse.cs: Implementation of missing methods and signature problems
5582 * HttpResponseHeader.cs: Fixed signature problems
5583 * HttpRuntime.cs: Fixed signature problems
5584 * HttpServerUtility.cs: Added support for HttpApplication
5585 * HttpSessionState.cs: Fixed signature issues
5586 * HttpUtility.cs: fixed signature issues
5587 * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
5588 * HttpWorkerRequest.cs: Fixed small signature issue
5589 * HttpWriter.cs: Fixed signature issue
5590 * HttpApplication.cs: Basic implementation
5591 * HttpApplicationState.cs: Small fixes to support major change comming up
5592 * HttpBrowserCapabilities.cs: Added Type method
5593 * HttpClientCertificate.cs: Almost ready, needs to parse certificate.
5594 * HttpContext.cs: Fixed signature issues and added last methods.
5595 * HttpCookie.cs: Full implementation
5596 * HttpCookieCollection.cs: Full implementation
5597 * TraceContext.cs: Methods implemented.
5598 * HttpPostedFile.cs: Placeholder
5599 * HttpStaticObjectsCollection.cs: Placeholder
5600 * HttpModuleCollection.cs: Ready, will be used during the major revamp.
5602 * Fixed a number of other small signature problems also (class status page)
5605 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
5607 * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
5608 * Checkin of all new files (noted in last changenote)
5610 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
5612 * HttpContext.cs: First implementation (basic support, few methods left to impl)
5613 * HttpException.cs: Partial implementation (basic support)
5614 * HttpHelper.cs: Header parse helper, used by runtime (non public)
5615 * HttpRequest.cs: Implementation (all methods there, not all fully impl)
5616 * HttpRequestStream.cs: Full implementation
5617 * HttpResponse.cs: Partial implementation(almost all methods)
5618 * HttpResponseHeader.cs: Header helper
5619 * HttpResponseStream.cs: Full implementation - Response stream support
5620 * HttpResponseStreamProxy.cs: Implementation - filter support
5621 * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
5622 * HttpServerUtility.cs: Implemented usage of HttpContext for methods
5623 and moved encoding functions to HttpUtility.
5625 * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
5626 added the Attribute encoding functions.
5628 * HttpValueCollection.cs: Implementation.
5629 * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
5630 * HttpWriter.cs: Implementation (with filter support)
5632 * HttpFileCollection: Added dummy class (placeholder)
5633 * HttpApplication.cs: Added dummy class (placeholder)
5634 * HttpApplicationState.cs: Added dummy class (placeholder)
5635 * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
5636 * HtttpCachePolicy.cs: Added dummy class (placeholder)
5637 * HttpClientCertificate.cs: Added dummy class (placeholder)
5638 * HttpSessionState.cs: Added dummy class (placeholder)
5639 * TraceContext.cs: Added dummy class (placeholder)
5642 2002/04/10 Nick Drochak <ndrochak@gol.com>
5644 * HttpServerUtility.cs: Fix build breaker.
5646 2002-03-28 Wictor Wiln <wictor@iBizkit.se>
5648 * HttpServerUtils.cs : Added some more functionality
5650 2002-03-28 Martin Baulig <martin@gnome.org>
5652 * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
5653 char to a string, use ToString() instead.
5655 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
5657 * WebCategoryAttribute.cs
5658 : Added private attribute.
5660 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
5662 * HttpRuntime.cs : Stubbed methods for
5663 FormatStringResource(...) in agreement with the various
5664 overloads available at String.Format(...)
5666 2002-01-08 Gaurav Vaish <gavish@iitk.ac.in>
5668 * TODOAttribute.cs : Added, as an internal class to the assembly
5670 2002-01-03 Nick Drochak <ndrochak@gol.com>
5672 * HttpRuntime.cs: remove uneeded exception variable from catch and
5673 initialize remaining instance members to avoid compile warnings
5675 2002-01-02 Nick Drochak <ndrochak@gol.com>
5677 * HttpRuntime.cs: fix spelling error/variable name change.
5679 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
5681 * HttpRuntime.cs : Initial implementation
5683 2001-08-29 Bob Smith <bob@thestuff.net>
5685 * HttpWorkerRequest.cs: Partial Implementation.
5687 2001-08-16 Bob Smith <bob@thestuff.net>
5689 * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
5691 2001-08-09 Bob Smith <bob@thestuff.net>
5693 * BeginEventHandler.cs: Implemented.
5694 * EndEventHandler.cs: Implemented.
5695 * HttpCacheability.cs: Implemented.
5696 * HttpCacheRevalidation.cs: Implemented.
5697 * HttpCacheValidateHandler.cs: Implemented.
5698 * HttpCookieCollection.cs: Implemented.
5699 * HttpCookie.cs: Implemented.
5700 * HttpValidationStatus.cs: Implemented.
5701 * HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
5702 * IHttpAsyncHandler.cs: Implemented.
5703 * IHttpHandler.cs: Implemented.
5704 * IHttpHandlerFactory.cs: Implemented.
5705 * IHttpModule.cs: Implemented.
5706 * ProcessShutdownReason.cs: Implemented.
5707 * ProcessStatus.cs: Implemented.
5708 * TraceMode.cs: Implemented.