1 2009-07-13 Gert Driesen <drieseng@users.sourceforge.net>
3 * HttpResponseStream.cs: Added argument checks to Write. Modified
4 methods/properties that requires a readable stream to throw
5 NotSupportedException instead of InvalidOperationException for
8 2009-07-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
10 * HttpApplication.cs: use GetSection instead of
11 OpenWebConfiguration+GetSection.
13 2009-07-09 Marek Habersack <mhabersack@novell.com>
15 * HttpContext.cs: fall back to default resource provider factory
16 if the factory provided by user doesn't have the required object
17 in Get{Global,Local}ResourceObject. Fixes bug #520397
18 Refactored the GetResourceObject method and the
19 ResourceManagerCacheKey class to DefaultResourceProvider.
21 2009-07-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
23 * ParserError.cs: add 3 missing setters. Patch from Daniel Gagne.
25 2009-06-15 Marek Habersack <mhabersack@novell.com>
27 * HttpCachePolicy.cs: SetHeaders adds max-age when MaxAge is set
28 to TimeSpan.Zero by calling SetMaxAge. Fixes bug #513000
30 2009-06-05 Marek Habersack <mhabersack@novell.com>
32 * VirtualPathUtility.cs: IsValidVirtualPath no longer uses
33 WebConfigurationManager.GetSection to retrieve the verification
34 setting. Instead, the setting is retrieved in the static
37 * HttpRequest.cs: ApplyUrlMapping must not use
38 WebConfigurationManager.GetSection as it would cause a recursive
39 call loop. Code to detect whether url mappings are in effect has
40 been moved to a static constructor.
42 2009-06-04 Marek Habersack <mhabersack@novell.com>
44 * HttpResponse.cs: version header configuration is read lazily
47 * HttpException.cs: do not show version info if custom errors are
48 in effect. Fixes bug #509092
49 Don't generate trace for 403. Fixes bug #509092
51 * HttpApplicationFactory.cs: OnFileChanged ignores the directory
52 part of the file triggering the event. Fixes bug #509998
54 2009-06-03 Marek Habersack <mhabersack@novell.com>
56 * VirtualPathUtility.cs: IsValidVirtualPath now checks the value
58 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\VerificationCompatibility
59 registry key when running on Windows and also consults the
60 mono-specific system.web/monoSettings configuration section to see
61 what is the verificationCompatibility property set to. If either
62 of the two is set to 1, Mono will not verify the validity of
63 the current request's path. Fixes bug #509163
65 * HttpApplicationFactory.cs: OnFileChanged must check whether the
66 modified location is a directory before it decides to ignore it
67 when watcher's filter is "?eb.?config". Fixes bug #509450 (see
70 * HttpForbiddenHandler.cs: updated the error message to match
71 .NET, added requested path and description. Fixes bug #509092
73 * HttpException.cs: if trace is not requested, don't output <!--
74 following the version information in WriteFileBottom. Fixes bug
76 GetDefaultErrorMessage appends trace only if showTrace is
77 true. Fixes bug #509092
79 2009-06-02 Marek Habersack <mhabersack@novell.com>
81 * HttpApplication.cs: LocateHandler needs to pass current request
82 path and filepath to WebConfigurationManager when retrieving
83 system.web/httpHandlers section as only this will guarantee that
84 any <location> elements relating to the current request's which
85 contain system.web/httpHandlers section will be correctly read and
86 used. Also fixes reading httpHandlers section if it's found in
87 web.config located in a subdirectory. Fixes bug #509069
89 * HttpException.cs: 403 errors get same treatment as 404
90 below. Fixes bug #509092
92 2009-06-01 Marek Habersack <mhabersack@novell.com>
94 * HttpException.cs: if custom errors are enabled and the error
95 code is 404 show the "standard" 404 error message instead of the
96 default custom error mode one. Fixes bug #508649
98 2009-05-28 Marek Habersack <mhabersack@novell.com>
100 * HttpUtility.cs: fixed UrlDecode for encoded strings which
101 should be converted to byte sequences longer than 2 bytes. Fixes
104 2009-05-14 Marek Habersack <mhabersack@novell.com>
106 * HttpApplication.cs: LocateHandler won't cache if a default
107 handler was returned.
109 2009-05-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
111 * MimeTypes.cs: add silverlight related types.
113 2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
116 * HttpWorkerRequest.cs:
117 * HttpRuntime.cs: if other parts of the system are using the
118 threadpool and we queue requests, once the threadpool is free we
119 might still not get back to use it to the maximum extent possible.
120 Adding a few more calls to QueuePendingRequest ensures that does not
123 2009-04-24 Marek Habersack <mhabersack@novell.com>
125 * HtmlizedException.cs: make HtmlException derive from
126 HttpException. System.Web.Mvc relies upon compile and parse
127 exception being descendants of HttpException or otherwise it will
128 catch and ignore compilation/parsing errors.
130 2009-04-16 Marek Habersack <mhabersack@novell.com>
132 * HttpContext.cs: local resources code now uses the custom
133 resource provider factory, just like the global resources
134 code. Fixes bug #493263
136 2009-04-15 Marek Habersack <mhabersack@novell.com>
138 * HttpApplicationFactory.cs: if a notification is received from a
139 FileSystemWatcher which was configured to watch for
140 subdirectories, uses a filter (currently we have just one such
141 watcher - waiting for changes to '?eb.?onfig') and the event
142 doesn't match the filter, ignore the event. Fixes bug #495011
144 2009-04-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
146 * HttpUtility.cs: the collection returned from ParseQueryString knows
147 how to convert the key/value pairs to a string.
149 2009-04-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
151 * HttpResponseStream.cs: use the unsafe version when copying buffers.
153 2009-04-06 Marek Habersack <mhabersack@novell.com>
155 * HttpRuntime.cs: added a new internal static property
158 * HttpContext.cs: IsDebuggingEnabled now calls
159 HttpRuntime.IsDebuggingEnabled
161 2009-04-03 Gert Driesen <drieseng@users.sourceforge.net>
163 * HttpRuntime.cs: Avoid ANE on Windows when HttpRuntime is used
164 outside of ASP.NET. Fixed compiler warning by setting
165 assemblyMappingEnabled.
167 2009-04-02 Marek Habersack <mhabersack@novell.com>
169 * HttpException.cs: if there are more lines with errors, display
172 2009-03-31 Marek Habersack <mhabersack@novell.com>
174 * HttpApplicationFactory.cs: use glob patterns to watch for
175 changes to global.asax and web.config files.
176 Set up recursive watch on web.config in a separate thread, to
177 minimize application startup delay. Fixes bug #490497
179 * VirtualPath.cs: added code to detect whether the VirtualPath
180 instance represents a fake virtual path (IsFake property).
181 Added new property DirectoryNoNormalize which returns
182 non-normalized directory for the VirtualPath instance.
183 Made ToString () a bit more friendly and well-behaved.
185 2009-03-26 Marek Habersack <mhabersack@novell.com>
187 * HttpWorkerRequest.cs: use a generic dictionary to keep header
189 GetKnown{Request,Response}HeaderIndex doesn't use the switch
192 * HttpResponse.cs: WriteHeaders now checks whether a header to be
193 sent is a known one or not and uses the appropriate method to send
194 that header. Partial fix for bug #488702
196 2009-03-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
198 * HttpResponse.cs: ClearHeaders() also resets cacheability.
201 2009-03-21 Marek Habersack <mhabersack@novell.com>
203 * HttpResponse.cs: added two missing 3.0+ properties -
204 SubStatusCode and TrySkipIisCustomErrors.
206 2009-03-04 Marek Habersack <mhabersack@novell.com>
208 * HttpRuntime.cs: do not clean the dynamic base directory in
209 DoUnload, it can cause race conditions.
211 2009-03-03 Marek Habersack <mhabersack@novell.com>
213 * HttpResponse.cs: fully implemented the Headers property.
214 It is also used in the 1.1 profile, but is internal.
216 * HttpCookie.cs: GetCookieHeader renamed to GetCookieHeaderValue -
217 now returns a string with the header value.
219 * HttpCacheVaryByParams.cs: GetResponseHeader renamed to
220 GetResponseHeaderValue - now returns a string with the header
223 * HttpCachePolicy.cs: SetHeaders now takes a NameValueCollection
224 instead of an ArrayList
226 * HttpRequest.cs: avoid calculating the same value twice in
229 2009-03-02 Everaldo Canuto <ecanuto@novell.com>
231 * HttpResponse.cs: Headers property implementation.
233 2009-02-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
235 * Web/HttpResponseHeader.cs:
236 * Web/HttpResponse.cs:
237 * Web/QueueManager.cs:
238 * Web/HttpRequest.cs:
239 * Web/TraceManager.cs:
240 * Web/HttpServerUtility.cs:
241 * Web/HttpApplication.cs: use GetWebApplication
242 instead of GetSection for application level configuration.
244 2009-02-26 Marek Habersack <mhabersack@novell.com>
246 * HttpResponse.cs: added DisableKernelCache and TransmitFile
249 * IisTraceListener.cs: added + implemented
251 2009-02-25 Marek Habersack <mhabersack@novell.com>
253 * HttpApplication.cs: let the current context known that
254 MapRequestHandler is done.
256 * HttpContext.cs: implemented RemapHandler
258 2009-02-24 Marek Habersack <mhabersack@novell.com>
260 * TempFileStream.cs: the class is internal
262 * VirtualPathUtility.cs: ToAbsolute (string, string, bool) is
265 * HttpException.cs: made the HttpException (int httpCode, string
266 message, Exception innerException, string resourceName) internal.
268 2009-02-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
270 * HttpServerUtility.cs: allow Transfer to static files too.
272 2009-02-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
274 * HttpWriter.cs: new Response property and WriteUTF8Ptr
276 * HttpResponseStream.cs: added support for writing from an
277 IntPtr. copied the memcpy method from String.cs.
279 2009-02-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
281 * HttpApplicationFactory.cs: check of global.asax was precompiled.
283 2009-01-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
285 * HttpApplicationFactory.cs: fix check that avoids lock. Keep one
286 HttpApplication instance ready to be returned in an instance variable
287 to avoid a few locks.
289 2009-01-29 Marek Habersack <mhabersack@novell.com>
291 * HttpApplicationFactory.cs: optimize lock usage.
293 2009-01-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
295 * HttpResponse.cs: make sure config is not null here.
296 * HttpApplication.cs: add a timer (-d:PIPELINE_TIMER) for the pipeline.
297 Handle timeouts for OutputPage() too.
299 2009-01-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
301 * HttpApplicationFactory.cs: set/reset the context for the application
302 when creating/disposing. Dispose() out of the lock.
304 2009-01-24 Marek Habersack <mhabersack@novell.com>
306 * XmlSiteMapProvider.cs: if a nested sitemap is used (via the
307 siteMapFile node attribute) watch the named file for
308 changes. Fixes bug #465693
310 2009-01-19 Christian Hergert <christian.hergert@gmail.com>
312 * QueueManager.cs: Implement requests queued performance counter.
313 * HttpRuntime.cs: Implement requests total counter.
314 * HttpApplication.cs: Implement requests total counter.
316 2009-01-13 Dean Brettle <dean@brettle.com>
318 * HttpApplicationFactory.cs: if there are any *.browser files in
319 App_Data/Mono_Machine_Browsers/, use those instead of the default
320 machine browser files. This allows app developers to workaround
321 limitations with Mono's default browser files without causing
322 incompatibilities with MS's implementation.
324 2009-01-09 Marek Habersack <mhabersack@novell.com>
326 * HttpContext.cs: RewritePath now treats relative and absolute
327 file paths with more care. If a path is of the ~/file.aspx form,
328 then the ~/ part is removed and the rest is combined with the base
329 virtual path. If the file path is of the ~ or /file.aspx forms,
330 then it is combined verbatim with the base virtual path. Fixes bug
332 Make sure the path returned from HttpRequest.BaseVirtualPath
333 contains the trailing slash before combining. Fixes bug #463964
335 2008-12-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
337 * ServerVariablesCollection.cs: use IndexOf (char).
339 2008-12-24 Marek Habersack <mhabersack@novell.com>
341 * HttpApplicationFactory.cs: watch for changes to web.config also
342 in the subdirectories.
344 2008-12-20 Marek Habersack <mhabersack@novell.com>
346 * HttpResponse.cs: the code in TransmitFile (VirtualFile, bool)
347 was an abomination - dear children, don't do this at home (never,
348 ever, allocate a buffer to load entire file). I will wear a brown
349 paper bag every 2nd Sunday in the next 6 months for writing the
350 old version of this code.
351 New code optimizes the write when DefaultVirtualFile is used (as
352 it refers to a physical file on disk) and reads/writes other
353 virtual files in chunks.
355 2008-12-16 Marek Habersack <mhabersack@novell.com>
357 * StaticFileHandler.cs: use HttpRuntime.RunningOnWindows instead
358 of checking the platform directly.
360 2008-12-09 Marek Habersack <mhabersack@novell.com>
362 * HttpServerUtility.cs: when Execute finishes, clear
363 Request.QueryStringRaw. Backport of r121010 by Vladimir Krasnov.
365 2008-12-03 Gert Driesen <drieseng@users.sourceforge.net>
367 * NoParamsInvoker.cs:
368 * HttpApplicationFactory.cs: Fixed support for static eventhandlers.
370 2008-11-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
372 * HttpContext.cs: MS does not throw. They just return null.
374 2008-11-24 Marek Habersack <mhabersack@novell.com>
376 * HttpRuntime.cs: take PlatformID.MacOSX into account when
377 determining whether we're running on Windows or not. Possible fix
380 2008-11-21 Marek Habersack <mhabersack@novell.com>
382 * HttpParseException.cs, HtmlizedException.cs: added
383 deserialization constructor.
385 2008-10-31 Marek Habersack <mhabersack@novell.com>
387 * HttpContext.cs: RewritePath correctly rewrites paths for cases
388 when application is running under a virtual directory different to
389 '/'. Fixes bug #371581
390 RewritePath checks the passed virtual path for validity.
392 * HttpRequest.cs: MapPath now uses
393 VirtualPathUtility.IsValidVirtualPath.
395 * VirtualPathUtility.cs: made Canonize () internal.
396 Added a new method - IsValidVirtualPath () which checks whether a
397 passed path contains only characters allowed for virtual paths.
399 2008-10-22 Marek Habersack <mhabersack@novell.com>
401 * HttpApplicationFactory.cs: use only the first matching method in
402 GetApplicationTypeEvents, since it will be the one coming from the
403 topmost type. Partial fix for bug #437691
405 2008-10-21 Marek Habersack <mhabersack@novell.com>
407 * HttpApplication.cs: if context.Session is null in get_Session,
408 throw an exception. Fixes bug #437289
410 * CapabilitiesLoader.cs: seal BrowserData.
411 Seal CapabilitiesLoader.
412 Do not lock on typeof (CapabilitiesLoader) in GetCapabilities ().
414 2008-10-16 Marek Habersack <mhabersack@novell.com>
416 * HttpApplicationFactory.cs: when looking up application type
417 event handlers (the Application_* methods), look deep in the
418 parent chain - we must support private handler methods in base
421 2008-10-15 Marek Habersack <mhabersack@novell.com>
423 * HttpResponse.cs: CacheabilityUpdatedEvent is no longer
424 used. cached_response is allocated only when the IsCached property
425 is assigned the 'true' value.
427 * HttpCachePolicy.cs: CacheabilityUpdatedEvent is no longer used,
428 removed all the traces of it. SetCacheability should not switch
431 2008-10-12 Gert Driesen <drieseng@users.sourceforge.net>
433 * HttpResponse.cs: Simplify code for outputting ASP.NET version, as
434 version header cannot be configured. MS corrected this documenation
435 error in .NET 2.0 SDK.
437 2008-10-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
439 * HttpApplication.cs: make sure we release the resources used by the
440 request and/or the response at the end of the request.
443 2008-10-01 Marek Habersack <mhabersack@novell.com>
445 * BrowserCapabilities.cs: IsBrowser needs to compare browser names
448 2008-09-29 Marek Habersack <mhabersack@novell.com>
450 * HttpApplication.cs: do not assume the passed IAsyncResult is a
451 is a valid object in async_handler_complete_cb. Fixes bug #430488
453 2008-09-28 Sebastien Pouliot <sebastien@ximian.com>
455 * HttpRequest.cs: Make sure the result of the multiplications are
456 longs (not integers casted into longs since they could overflow).
457 [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
459 2008-09-23 Marek Habersack <mhabersack@novell.com>
461 * HttpWorkerRequest.cs: implemented a SendCalculatedContentLength
462 overload. This method apparently does nothing in MS.NET.
464 2008-09-16 Juraj Skripsky <js@hotfeet.ch>
466 * HttpServerUtility.cs (UrlDecode, UrlEncode): Respect request/response
467 encoding. Fixes bug #426539.
469 2008-08-29 Marek Habersack <mhabersack@novell.com>
471 * HttpApplication.cs: do not cache handlers which aren't
474 2008-08-20 Marek Habersack <mhabersack@novell.com>
476 * HttpResponseHeader.cs: encode header values if
477 httpRuntime.enableHeaderChecking is true (default). Fixes bug
480 2008-08-13 Marek Habersack <mhabersack@novell.com>
482 * HttpException.cs: do not use StringBuilder.AppendFormat when
485 2008-08-08 Marek Habersack <mhabersack@novell.com>
487 * XmlSiteMapProvider.cs: a better bugfix for bug #412495.
488 Do not call RootNode within BuildSiteMap, as it induces
489 recursion. Fixes bug #415685.
491 2008-07-29 Marek Habersack <mhabersack@novell.com>
493 * HttpRequest.cs: if the FilePath contains embedded cookie-less
494 session identifier, remove it before computing the base virtual
495 directory. Fixes bug #397418
497 2008-07-28 Marek Habersack <mhabersack@novell.com>
499 * XmlSiteMapProvider.cs: set the base ResourceKey to the name of
500 our associated site map file, so that localization works
501 correctly. Fixes bug #412493
502 Do not add the root node retrieved from BuildSiteMapRecursive in
503 BuildMap, if the node is already the current root node. Fixes bug
506 2008-07-26 Gert Driesen <drieseng@users.sourceforge.net>
508 * HttpCachePolicy.cs: Only add Expires header if expire date is
509 actually set. Removed extra tabs and regions. Code formatting.
511 2008-07-23 Marek Habersack <mhabersack@novell.com>
513 * HttpApplication.cs: do not register handlers for
514 BeginRequest/EndRequest when called from within the
515 Application_Start handler. Fixes bug #411213
517 * HttpApplicationFactory.cs: let the application know we're
518 running the Application_Start handler so that it can suppress
519 registering some events from inside that handler (see bug
520 #381971). Fixes bug #411213
522 2008-06-30 Marek Habersack <mhabersack@novell.com>
524 * HttpRuntime.cs, HttpApplication.cs: hush the warnings
526 * HttpContext.cs: GetGlobalObjectFromFactory caches the
527 ResourceManager objects now. Patch from Zoltan Varga
528 <vargaz@gmail.com>, thanks!
529 The GetGlobalObjectFromFactory caches are thread local to avoid
531 GetResourceObject ResourceManager cache is now a thread local
532 Dictionary to avoid cloning.
535 2008-06-27 Robert Jordan <robertj@gmx.net>
537 * HttpCachePolicy.cs: map default HttpCacheability to
538 "Cache-control: private" for MS.NET compatibility.
539 Fixes bug #404083. Contributed by
540 Hubert FONGARNAND <informatique.internet@fiducial.fr>.
542 2008-06-21 Robert Jordan <robertj@gmx.net>
544 * HttpRuntime.cs (.cctor): Workaround for bug #402263.
546 2008-06-19 Marek Habersack <mhabersack@novell.com>
548 * MimeTypes.cs: added a mime type entry for .xpi files.
550 2008-06-18 Juraj Skripsky <js@hotfeet.ch>
552 * HttpResponse.cs (AddHeadersNoCache): Add "X-AspNet-Version" header if
555 2008-06-16 Noam Lampert <noaml@mainsoft.com>
557 * HttpContext.cs: improve support for RewritePath
559 2008-06-10 Marek Habersack <mhabersack@novell.com>
561 * HttpRuntime.cs: do not create a new thread to run the
562 application, reuse the thread from the hosting application (XSP's
563 thread comes from threadpool).
565 2008-06-06 Marek Habersack <mhabersack@novell.com>
567 * SiteMap.cs: FindCurrentNode is no longer needed. CurrentNode
568 uses Provider.CurrentNode to find the return value.
569 AddNode doesn't throw a duplicate key exception for nodes not
570 belonging to the current provider.
571 Check whether keys exist before removing entries from the
574 * XmlSiteMapProvider.cs: implemented support for child providers
575 (the AddProvider method). FindSiteMapNode* methods look for the
576 node also in the collection of child providers. Fixes bug #397040
578 2008-06-04 Marek Habersack <mhabersack@novell.com>
580 * HttpResponse.cs: correctly modify virtual path to include the
581 session ID in cookieless session mode. Fixes bug #396628.
583 * HttpServerUtility.cs: remove session hash from the URL if in the
584 cookieless mode. Fixes bug #396628.
586 * HttpRequest.cs: make sure that BaseVirtualDir always returns
589 2008-06-02 Miguel de Icaza <miguel@novell.com>
591 * HttpRuntime.cs: Thanks to Christian Hergert for finding this
594 Do not throw NIEX on IsOnUNCShare, instead compute the value.
596 2008-05-30 Marek Habersack <mhabersack@novell.com>
598 * HttpApplication.cs, HttpCachePolicy.cs, SiteMapProvider.cs,
599 TraceContext.cs: do not use synthetized event accessors (to avoid
602 2008-05-19 Noam Lampert <noaml@mainsoft.com>
604 * HttpServerUtility.cs: Fix bug in UrlPathEncode when URL contains '?'
606 2008-05-12 Noam Lampert <noaml@mainsoft.com>
608 * HttpApplication.cs: Fix regressions introduced by latest commit
610 2008-05-07 Gonzalo Panigua Javier <gonzalo.mono@gmail.com>
612 * HttpApplication.cs: create a fake context while loading the
613 modules on the first request so that the modules don't mess up
614 with the actual output of that request.
616 2008-05-07 Marek Habersack <mhabersack@novell.com>
618 * HttpRequest.cs: StripPath should handle UNC paths too. Fixes bug
619 #385870. Patch from Ivan Hamilton <ivan@chimerical.com.au>,
622 2008-05-06 Marek Habersack <mhabersack@novell.com>
624 * MimeTypes.cs: mime type keys might not exist in the dictionary,
625 in the 2.0 profile. Patch from Rolf Kvinge <rkvinge@novell.com>
626 and Jean-Baptiste Evain <jbevain@novell.com>, thanks! Fixes bug
629 2008-04-30 Marek Habersack <mhabersack@novell.com>
631 * HttpApplication.cs: when the Start method is called in a new
632 thread, the thread's culture and ui culture are set to their
633 defaults, thus ignoring whatever their values were in the parent
634 thread. This is now fixed by passing an array containing the
635 culture values to the Start method, so that the new thread can be
636 properly initialized. Fixes bug #323566
638 * SiteMapNode.cs: the implicitResourceKey parameter to one of the
639 constructors sets the value of the ResourceKey property.
640 GetImplicitResourceString uses the provider's ResourceKey as the
641 global resource object key and the node's ResourceKey to construct
642 the resource name. Fixes bug #323994
643 ResourceKey setter throws an InvalidOperationException now, when
644 the node is read-only.
646 2008-04-29 Marek Habersack <mhabersack@novell.com>
648 * HttpException.cs: safe guard against context being null in
651 2008-04-26 Marek Habersack <mhabersack@novell.com>
653 * VirtualPath.cs: added a new property, PhysicalPath.
655 2008-04-25 Gert Driesen <drieseng@users.sourceforge.net>
657 * HttpResponse.cs: Use double quotes in link to match MS.
659 2008-04-25 Marek Habersack <mhabersack@novell.com>
661 * HttpApplication.cs: use Request.CurrentExecutionFilePath when
662 querying for the handler. Makes requests work if request path was
663 rewritten without modifying the FilePath. Fixes bug #383652
665 * HttpContext.cs: set Request.FilePath in RewritePath only if
666 setClientFilePath is true. Fixes bug #383652
667 Revert the change in revision 100273 - the real bug was in a
668 different overload of RewritePath, fixed with the commit for the
671 2008-04-24 Marek Habersack <mhabersack@novell.com>
673 * HttpApplication.cs: added a new overload of GetHandler which
674 allows the caller to ignore the handler found in the context
675 passed to the method.
677 * HttpServerUtility.cs: have HttpApplication.GetHandler ignore the
678 handler found in the current context when Execute'ing another
679 page. Fixes bug #316166
681 2008-04-23 Marek Habersack <mhabersack@novell.com>
683 * VirtualPath.cs: introduced the CurrentRequestDirectory property,
684 which returns the virtual directory for the current request. The
685 information is taken from either current request's
686 CurrentExecutionFilePath property (if not null) or from the path
687 set externally (by setting the property or using the appropriate
688 VirtualPath constructor). The new property is used to construct
689 the correct absolute virtual path in the MakeRooted method. Fixes
692 * HttpApplication.cs: events registered from Application_Start are
693 silently ignored - any event registered after the one-time
694 application initialization is completed, is ignored. Fixes bug
697 * HttpApplicationFactory.cs: call app.DisposeInternal instead of
700 * HttpContext.cs: Fix bug #371581 for 1.1 as well.
702 2008-04-19 Marek Habersack <mhabersack@novell.com>
704 * HttpException.cs: don't write the stack trace inside html
705 comment if custom errors are enabled.
707 2008-04-15 Kornél Pál <kornelpal@gmail.com>
709 * HttpRuntime.cs: Don't add Date header for error pages either. Fixes bug
712 2008-04-15 Marek Habersack <mhabersack@novell.com>
714 * HttpRequest.cs: dispose of streams the way it should
717 2008-04-14 Igor Zelmanovich <igorz@mainsoft.com>
719 * HttpRuntime.cs: refactoring.
721 2008-04-14 Marek Habersack <mhabersack@novell.com>
723 * XmlSiteMapProvider.cs: FindStartingNode throws an exception when
724 it is passed a file which ends in an extension other than
726 Fixed a check for the siteMapFile attribute presence. Fixes bug
729 * SiteMap.cs: FindCurrent node uses the default provider
730 exclusively. Fixes bug #379566
732 2008-04-10 Marek Habersack <mhabersack@novell.com>
734 * HttpApplicationFactory.cs: compile web references before
735 App_Code. Fixes bug #377934
737 * MimeTypes.cs: added some missing MIME types. New entries
738 contributed by Albert Ritmeester
739 <aritmeester@vitalhealthsoftware.nl>, thanks! Fixes bug #372290
741 2008-04-09 Marek Habersack <mhabersack@novell.com>
743 * HttpContext.cs: make RewritePath work correctly in the 2.0
744 profile, fixes bug #371581
746 * HttpApplicationFactory.cs: compile web references. Fixes bug
749 * VirtualPath.cs: added a method to convert a physical path into a
750 virtual one, if the physical path is under the application root.
752 2008-04-08 Dean Brettle <dean@brettle.com>
754 * HttpApplicationFactory.cs (CapabilitiesProcessor): changed to
755 use etc/mono/2.0/Browser/*.browser files in addition to
756 ~/App_Browsers/*.browser files.
758 2008-04-07 Marek Habersack <mhabersack@novell.com>
760 * VirtualPath.cs: added
762 2008-04-02 Marek Habersack <mhabersack@novell.com>
764 * HttpRequest.cs: make sure QueryStringRaw is always returned with
765 a leading '?' and that we return something meaningful even if the
766 url components weren't collected before. Fixes bug #376352
768 2008-04-01 Marek Habersack <mhabersack@novell.com>
770 * HttpApplication.cs: set context.Handler to the detected handler
771 object before firing application events. Fixes bug #372897
773 2008-03-31 Marek Habersack <mhabersack@novell.com>
775 * StaticFileHandler.cs: added code to use custom
776 VirtualPathProvider, if present, to serve files from virtual
779 * HttpResponse.cs: added two internal TransmitFile overloads which
780 take a VirtualFile as a parameter.
782 2008-03-27 Marek Habersack <mhabersack@novell.com>
784 * HttpRequest.cs: make UrlComponents internal.
786 * HttpContext.cs: added support for resource provider factories.
788 2008-03-13 Marek Habersack <mhabersack@novell.com>
790 * HttpApplicationFactory.cs: use HttpApplication.BinDirs to
791 create watchers for binary application directories.
793 * HttpApplication.cs: use HttpRuntime.CaseInsensitive instead of
794 own IsRunningOnWindows.
795 Remove the BinDirectories enumerator property, replaced with a
796 BinDirectory one returning a string with path to the binary
799 * HttpRuntime.cs: introduce two static properties -
800 CaseInsensitive (set to true whenever the environment is
801 case-insensitive - i.e. MONO_IOMAP="all" or MONO_IOMAP="case", or
802 running on Windows) and RunningOnWindows.
804 2008-03-12 Marek Habersack <mhabersack@novell.com>
806 * HttpApplication.cs: HttpContext.Handler may be set by a module
807 in any of the event handlers between acquiring the initial handler
808 and processing the request. Honor the setting and use
809 HttpContext.Handler instead of the matched one if set.
811 2008-03-10 Marek Habersack <mhabersack@novell.com>
813 * HttpApplication.cs: synchronize Modules and Dispose with
814 InitOnce. Should prevent firing module events before the modules
815 are fully initialized.
817 2008-03-09 Dean Brettle <dean@brettle.com>
819 * HttpApplicationFactory.cs: Added support for detecting
820 App_Browsers/*.browser files and using them to determine capabilities.
821 Also restart the app if the App_Browsers, App_Code, or App_GlobalResources
822 directories are created.
824 * BrowserCapabilities.cs (TagWriter): get value via internal virtual
825 GetTagWriter() method, which is overridden in nBrowser.Result.
827 * HttpRequest.cs (BrowserMightHaveSpecialWriter, BrowserMightHaveAdapters):
828 internal properties added to allow Page and Control methods to avoid
829 accessing Request.Browser to get browser-specific HtmlTextWriters or
830 ControlAdapters. Those things only exist when there are App_Browsers
833 2008-03-09 Marek Habersack <mhabersack@novell.com>
835 * HttpUtility.cs: HTML-decode the query string prior to parsing
838 2008-03-01 Marek Habersack <mhabersack@novell.com>
840 * HttpRuntime.cs: SettingsMappingManager has been moved to
843 2008-02-28 Marek Habersack <mhabersack@novell.com>
845 * HttpParamsCollection.cs: restore the GetValues overrides only to
846 make sure the collections are merged before invoking the base
848 Remove code that's no longer needed.
850 2008-02-27 Marek Habersack <mhabersack@novell.com>
852 * HttpException.cs: error message output format changes.
854 2008-02-26 Kornél Pál <kornelpal@gmail.com>
856 * HttpResponse.cs: Don't add Date header because servers usually add
857 a Date header that would result in duplicate Date header sent to the
858 client. Fixes bug #363404.
860 2008-02-25 Marek Habersack <mhabersack@novell.com>
862 * HttpException.cs: fix a buglet with unfoldable hidden divs which
863 contain the full compiler output and the full source code.
865 * HttpContext.cs: correctly set the timeout if the user has
866 specified a timeout which, when converted to milliseconds yields a
867 value larger than one allowed by Timer.Change. This can happen,
868 for instance, when HttpServerUtility.ScriptTimeout is set to
869 Int32.MaxValue. Previously, when something like that happened, the
870 value was converted to 0ms, giving an instantenous timer
871 expiration and, what follows, a request "timeout".
873 2008-02-19 Marek Habersack <mhabersack@novell.com>
875 * HttpParamsCollection.cs: do not override the NVC behavior for
876 GetValues - values from different sources (Form, Query, Cookies,
877 ServerVariables) must be kept separate for this purpose. This is
878 also the behavior of MS.NET. Fixes bug #362189
880 2008-02-18 Marek Habersack <mhabersack@novell.com>
882 * HttpRuntime.cs: When app is offline, send status code 503
883 instead of 200. Fixes bug #357565
885 2008-02-10 Gert Driesen <drieseng@users.sourceforge.net>
887 * HttpException.cs: Avoid IndexOutOfRangeException when there are no
890 2008-02-07 Gert Driesen <drieseng@users.sourceforge.net>
892 * HttpException.cs: Removed CWL.
894 2008-02-07 Marek Habersack <mhabersack@novell.com>
896 * HttpException.cs: more exception output compatibility changes to
899 2008-02-07 Vladimir Krasnov <vladimirk@mainsoft.com>
901 * HttpContext.jvm.cs: added CurrentHandlerInternal property
903 2008-02-07 Marek Habersack <mhabersack@novell.com>
905 * HttpException.cs: moved several strings to constants, for easier
907 Added 3 new constructors which let the caller to set the exception
909 The Description property is now settable.
910 The stack trace at the bottom of the file is written after the
911 terminating </html>, inside a HTML comment. Format changed to
913 Error 404 is handled in a special way, to match the output with
916 * HttpContext.cs, StaticFileHandler.cs, HttpApplication.cs: use
917 the new HttpException constructor for 404.
919 2008-02-07 Vladimir Krasnov <vladimirk@mainsoft.com>
921 * HttpResponse.cs: fixed AddHeadersNoCache, removed date_header since
922 java app server adds it, under TARGET_J2EE.
924 2008-02-06 Marek Habersack <mhabersack@novell.com>
926 * HttpApplicationFactory.cs: in FireOnAppEnd, set app_type to null
927 after the event has been fired.
929 * HttpRuntime.cs: when switching to offline mode fire the
930 shutdown events. Fixes bug #357565.
931 Watch for Created event in the FileSystemWatcher for the
932 app_offline.htm files.
934 2008-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
936 * HttpRequest.cs: performance optimization of QueryStringRaw
938 2008-01-27 Igor Zelmanovich <igorz@mainsoft.com>
940 * HttpResponse.cs: rise PreSendRequestHeaders befire headers_sent
941 initialization to allow set additional headers or status code at
942 PreSendRequestHeaders event handlers.
944 2008-01-24 Marek Habersack <mhabersack@novell.com>
946 * HttpApplicationFactory.cs: use BuildManager.GetCompiledType to
947 build the application (global.asax) file.
949 2008-01-22 Konstantin Triger <kostat@mainsoft.com>
951 * HttpResponse.cs: move headers_sent initialization up to prevent additional
952 trial to send headers if an exception is thrown.
954 2008-01-21 Konstantin Triger <kostat@mainsoft.com>
956 * HttpRequest.cs: Form validation: ensure the collection is accessible after
959 2008-01-16 Juraj Skripsky <js@hotfeet.ch>
961 * HttpRequest.cs (get_UrlReferrer): Handle case when headers contain
962 invalid Url for referer.
964 2008-01-16 Juraj Skripsky <js@hotfeet.ch>
966 * HttpCookieCollection.cs (AllKeys): Use Keys.CopyTo().
968 2008-01-14 Sebastien Pouliot <sebastien@ximian.com>
970 * HttpCookie.cs: Fix HttpOnly setter. Found using Gendarme.
972 2008-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
974 * HttpContext.cs: added resource manager caching in GetResourceObject
975 * HttpContext.jvm.cs: added resourceManagerCache storing in appdomain
977 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
979 * HttpContext.cs: added HasError method
980 * HttpApplication.cs: refactored thread abort handling
982 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
984 * HttpRuntime.cs: fixed HttpRuntime, added Cache.DependencyCache
987 2007-12-26 Igor Zelmanovich <igorz@mainsoft.com>
991 make trace considers control state info.
993 2007-12-25 Igor Zelmanovich <igorz@mainsoft.com>
995 * HttpApplication.cs: initialize culture each request.
996 makes it consider culture settings from nested web.config
998 2007-12-19 Juraj Skripsky <js@hotfeet.ch>
1000 * HttpContext.cs, HttpApplication.cs: Move timeout tracking from
1001 TimeoutManager into HttpContext. Replace periodic timeout checks with
1002 separate per-context timeout timers.
1003 * HttpRuntime.cs: remove TimeoutManager.
1005 2007-12-18 Miguel de Icaza <miguel@novell.com>
1007 * HttpCookieCollection.cs (Get): implement using the indexer to
1008 share some code. Should fix #349564.
1010 2007-12-16 Igor Zelmanovich <igorz@mainsoft.com>
1012 * HttpContext.cs: added IsProcessingInclude property.
1013 * HttpServerUtility.cs: set IsProcessingInclude value within Execute.
1015 2007-12-13 Marek Habersack <mhabersack@novell.com>
1017 * HttpRequest.cs, HttpResponse.cs, SiteMapNode.cs, HttpRuntime.cs,
1018 HttpResponseStream.cs, HttpApplication.cs, HttpCachePolicy.cs:
1019 speed optimization - use String.Concat instead of String.Format in
1022 2007-12-13 Igor Zelmanovich <igorz@mainsoft.com>
1024 * HttpApplication.cs:
1027 * HttpServerUtility.cs:
1028 - When Transfer/Execute is called with preserveForm=true, transferred
1029 page is not processed as PostBack but form collection is preserved.
1030 - When Execute is called more than once, PreviousPage property is set
1033 2007-12-09 Vladimir Krasnov <vladimirk@mainsoft.com>
1035 * HttpApplication.cs: added TARGET_JVM to LoadType method
1037 2007-12-08 Marek Habersack <mhabersack@novell.com>
1039 * HttpRuntime.cs: initialize the Settings Mapping Manager once per
1040 application, just after initalizing the WebConfigurationManager.
1042 2007-11-28 Marek Habersack <mhabersack@novell.com>
1044 * HttpApplication.cs: peform the check of whether we're running on
1045 Windows from within a static constructor.
1047 2007-11-23 Marek Habersack <mhabersack@novell.com>
1049 * RequestNotificationStatus.cs: fix the order of enum members.
1051 * RequestNotification.cs: assign correct values to the enum
1054 * StaticSiteMapProvider.cs: change visibility of the constructor.
1056 * HttpRequest.cs: added missing property LogonUserIdentity.
1058 * HttpCacheVaryByContentEncodings.cs: this constructor should not
1061 2007-11-23 Daniel Nauck <dna@mono-project.de>
1063 * TraceContextRecord.cs: implemented
1065 2007-11-23 Marek Habersack <mhabersack@novell.com>
1067 * BrowserCapabilities.cs: the JavaScript property is obsolete in
1070 2007-11-22 Daniel Nauck <dna@mono-project.de>
1072 * IPartitionResolver.cs: implemented
1074 2007-11-22 Daniel Nauck <dna@mono-project.de>
1076 * WebPageTraceListener.cs: implemented
1078 2007-11-22 Marek Habersack <mhabersack@novell.com>
1080 * RequestNotificationStatus.cs: added
1082 * RequestNotification.cs: added
1084 * HttpCacheVaryByContentEncodings.cs: added
1086 * HttpCachePolicy.cs: added the HttpCacheVaryByContentEncodings
1089 * HttpApplication.cs: added 3 new events to the pipeline (for
1090 compatibility with the 2.0sp1/3.5 version of System.Web)
1092 2007-11-22 Daniel Nauck <dna@mono-project.de>
1094 * WebPageTraceListener.cs: initial checkin (stubs).
1096 2007-11-17 Marek Habersack <mhabersack@novell.com>
1098 * HttpResponse.cs: make sure fileDependencies is not null before
1099 attempting to use it. Fixes bug #342511.
1101 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
1104 * TraceData.cs: implemented TraceMode feature.
1106 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
1108 * BaseParamsCollection.cs:
1109 ensure collection will not be changed during enumeration.
1111 2007-11-06 Marek Habersack <mhabersack@novell.com>
1113 * HttpResponse.cs: trigger the PreSendRequestHeaders event before
1114 setting the output headers. Fixes bugs #334521, #339538
1116 * TraceData.cs: do not use DataTable for trace data storage
1117 anymore. Instead, a set of classes is used to hold data and a
1118 Queue container (generic version in 2.0) is used to hold the data
1119 rows. Fixes bug #325267.
1121 2007-11-05 Marek Habersack <mhabersack@novell.com>
1123 * HttpRequest.cs: cope with UriBuilder.Query being null.
1125 2007-11-03 Gert Driesen <drieseng@users.sourceforge.net>
1127 * HttpRuntime.cs: Always return a path with trailing directory
1128 separator character. Spaces to tabs.
1130 2007-11-03 Marek Habersack <mhabersack@novell.com>
1132 * HttpApplication.cs: removed unused internal PrivateBinPath
1135 * HttpRuntime.cs: BinDirectory returns a path that ends with the
1136 directory separator character.
1138 2007-11-02 Marek Habersack <mhabersack@novell.com>
1140 * HttpServerUtility.cs: in 2.0, Transfer is allowed only from
1141 pages. Fixes bug #334931
1142 Also, according to MSDN docs, transfer in 2.0+ is possible only to
1145 * HttpRuntime.cs: BinDirectory returns a full path to the actual
1146 bin directory in the application root. If no bin directory is
1147 found, it defaults to returning <applicationPath>/bin. Fixes bug
1150 * HttpApplication.cs: introduced HTTP handler cache to save time
1151 on repetitive handler collection traversals. On busy sites the
1152 traversal of the default 26 handlers may account for thousands of
1153 unnecessary calls to configsystem.LocateHandler method, which may
1154 also involve executing a regex. The cache is cleared whenever the
1155 HTTP handler collection is modified.
1157 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
1159 * HttpUtility.cs: fixed HtmlEncode for TARGET_JVM.
1161 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
1163 * HttpUtility.cs: fixed UrlPathEncode.
1165 2007-10-24 Gert Driesen <drieseng@users.sourceforge.net>
1167 * StaticFileHandler.cs: Modified 404 message to match MS.
1169 2007-10-24 Marek Habersack <mhabersack@novell.com>
1171 * HttpUtility.cs: MS.NET does not support the ';' query parameter
1172 separator. Fixes bug #335615
1174 2007-10-18 Juraj Skripsky <js@hotfeet.ch>
1176 * StaticSiteMapProvider.cs: Replace Hashtables by Dictionaries,
1177 don't allocate them on-demand, there will never be many
1178 Provider instances around.
1179 AddNode(): Check for duplicate keys before adding any item to
1181 RemoveNode(): Use fact that Hashtable.Remove() never throws,
1182 remove item from keyToNode as well, make symmetric to AddNode().
1183 MapUrl(): Use VirtualPathUtility, allow for full urls
1184 (e.g. http://www.google.com).
1186 2007-10-17 Marek Habersack <mhabersack@novell.com>
1188 * StaticFileHandler.cs: fixed an bug with Mono running under
1189 Windows operating systems which caused XSP to return source of the
1190 requested page if the file name used in the request ended in any
1191 number of spaces or dots. The problem lies in the way the Win32
1192 subsystem treats such file names - it ignores the trailing
1193 characters and allows the calling application to open a file on
1194 disk even when its name does not contain the trailing characters
1195 used in the open request. Such file names may be supported by the
1196 underlying filesystem (e.g. NTFS) but they are not supported by
1197 the I/O Win32 subsystem. The security issue is reported in
1198 CVE security report CVE-2007-5473. Fixes bug #332401
1200 2007-10-17 Igor Zelmanovich <igorz@mainsoft.com>
1203 response status is sent after PreSendRequestHeaders invoked.
1204 Redirect method set RedirectLocation property
1207 2007-10-15 Marek Habersack <mhabersack@novell.com>
1209 * HttpApplication.cs: do not return a non-existing bin directory
1210 from BinDirectories. Patch from Atsushi Enomoto
1211 <atsushi@ximian.com>, thanks! Fixes bug #332434.
1213 2007-10-04 Marek Habersack <mhabersack@novell.com>
1215 * HttpApplication.cs: call the Init method after loading the
1216 modules and hooking up application events. Fixes bug #330416.
1218 2007-10-01 Marek Habersack <mhabersack@novell.com>
1220 * HttpServerUtility.cs: set a flag when transferring control to
1223 * HttpContext.cs: added an internal InTransit property to carry
1224 information that HttpServerUtility.Transfer has been used, over to
1227 2007-09-12 Juraj Skripsky <js@hotfeet.ch>
1229 * StaticSiteMapProvider.cs (AddNode): Add message text to
1230 InvalidOperationException (duplicate url case).
1232 2007-09-06 Marek Habersack <mhabersack@novell.com>
1234 * HttpCachePolicy.cs: implemented setting the ETag and
1235 Last-Modified headers from file dependencies.
1237 * HttpResponse.cs: implemented file dependency methods.
1239 2007-09-01 Marek Habersack <mhabersack@novell.com>
1241 * HttpRuntime.cs: rewrote the app_offline.htm support. It now uses
1242 filesystem watchers instead of checking for existence of the
1243 file(s) at the beginning of every request. No performance penalty
1246 2007-08-31 Marek Habersack <mhabersack@novell.com>
1248 * HttpApplicationFactory.cs: added methods to enable/disable
1251 * HttpRuntime.cs: implemented handling of app_offline.htm file in
1252 the application root directory. Fixes bug #81127.
1254 * HttpResponse.cs: make sure neither context or
1255 context.ApplicationInstance are null in End ().
1257 2007-08-27 Marek Habersack <mhabersack@novell.com>
1259 * HttpCookie.cs: make sure a key is output even if it has no
1260 values set. Fixes bug #81333.
1262 2007-08-23 Marek Habersack <mhabersack@novell.com>
1264 * HttpApplication.cs: added a static array BinDirs which contains
1265 the common bin directory names we can encounter.
1266 Added internal static property IsRunningOnWindows.
1267 Added internal enumerable property BinDirectories to iterate over
1268 the full paths of the available binary directories.
1269 Added internal enumerable property BinDirectoryAssemblies to
1270 iterate over .dll files in the bin directories.
1271 LoadTypeFromPrivateBin renamed to LoadTypeFromBin.
1272 LoadTypeFromBin uses BinDirectoryAssemblies.
1274 * HttpApplicationFactory.cs: use HttpApplication.BinDirectories to
1275 interate over the list of bin dirs.
1277 2007-08-21 Marek Habersack <mhabersack@novell.com>
1279 * HttpApplicationFactory.cs: watch for changes in all the
1280 private binary directories for the current application domain.
1282 * HttpApplication.cs: turn the PrivateBinPath property into an
1283 internal enumerable, so that code throughout the assembly can
1284 iterate over the list of private bin directories configured for
1285 the application domain.
1286 Added a new internal method LoadTypeFromPrivateBin, for sharing
1287 with other parts of the assembly.
1289 2007-08-18 Juraj Skripsky <js@hotfeet.ch>
1291 * HttpRequest.cs (StripPath): Fix off-by-one error, make static.
1293 2007-08-18 Marek Habersack <mhabersack@novell.com>
1295 * HttpRequest.cs: IE sends the full input file path when uploading
1296 a file via the upload input control. Detect the situation and
1297 strip the leading path. Fixes bug #82059.
1299 * HttpServerUtility.cs: set the current context's path(s) to the
1300 Transfer/Execute target only to retrieve the new handler, and
1301 restore them immediately afterwards. It has a two-fold effect:
1302 first it avoids an extra round trip to the original page which
1303 called Transfer/Execute, second it makes FilePath etc. return
1304 information about the original page (that is the one which called
1305 Transfer/Execute). Fixes bug #82439.
1307 2007-08-14 Marek Habersack <mhabersack@novell.com>
1309 * XmlSiteMapProvider.cs: do not hide this_lock.
1311 2007-08-09 Marek Habersack <mhabersack@novell.com>
1313 * HttpApplicationFactory.cs: unconditionally watch for changes
1314 (including creation) to Global.asax, global.asax, Web.config,
1315 web.config and Web.Config. This makes the application restart once
1316 any of those is created. Patch from Juraj Skripsky
1317 <juraj@hotfeet.ch>, thanks! Fixes bug #82380.
1319 2007-08-08 Marek Habersack <mhabersack@novell.com>
1321 * StaticSiteMapProvider.cs, HttpApplicationFactory.cs,
1322 HttpStaticObjectsCollection.cs, SiteMapProvider.cs,
1323 XmlSiteMapProvider.cs, HttpApplication.cs, CapabilitiesLoader.cs,
1324 TimeoutManager.cs: do not use lock (this), replace it with lock
1325 (this_object), where this_object is an instance variable. Prevents
1326 deadlocks in situation when external code locks on the class
1329 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1331 * HttpUtility.cs: performance refactoring, optimized UrlEncode
1333 2007-08-05 Igor Zelmanovich <igorz@mainsoft.com>
1335 * SiteMapNode.cs: refactoring + typo fix:
1336 variable is declared in scope where is used.
1338 2007-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1340 * VirtualPathUtility.cs: refactored GetDirectory, ToAbsolute, added
1341 internal api to skip path normalizing
1343 2007-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
1345 * HttpResponseStream.jvm.cs: optimized CharBucket
1347 2007-07-22 Vladimir Krasnov <vladimirk@mainsoft.com>
1349 * HttpServerUtility.cs: fixed Execute, SetCurrentExePath should be
1350 called after ApplicationInstance.GetHandler call in case of GetHandler
1351 fails for some reason
1353 2007-07-21 Marek Habersack <mhabersack@novell.com>
1355 * HttpRuntime.cs: clean up the dynamic base directory on domain
1358 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
1360 * HttpUtility.cs: optimized HtmlEncode and HtmlAttributeEncode methods
1362 2007-07-05 Miguel de Icaza <miguel@novell.com>
1364 * HttpApplication.cs (AsyncRequestState.Complete): Add the
1365 try/catch for the callback here to ensure that we only call
1366 complete_event.Set once.
1368 (PipelineDone): This is where the core of the bug fix is: do not
1369 call Complete() or call done.Set() (depending on the invocation
1370 case) until we are actually done cleaning up the request.
1372 The problem was that we signaled that we were done, but we had not
1373 completed the shut down, so another thread could have been
1374 scheduled on the same HttpApplication and had its variables be
1375 modified as we completed the shutdown on the first thread.
1377 This fixes #81400 which was a very long standing bug.
1379 (Tick): Remove the pipeline check against null, this is not
1380 necessary and it will help us find problems like this one in the
1383 Reverts patch r66072 which was a described as:
1385 band-aid patch to help debugging hang running 2.0
1388 2007-07-02 Marek Habersack <mhabersack@novell.com>
1390 * CapabilitiesLoader.cs: provide default capability values for all
1391 the 2.0+ capabilities which are not defined in our
1392 browscap.ini. The default values have been assigned as per
1393 MSDN. Fixes bug #81927
1395 2007-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1397 * HttpResponse.cs: fixed AddHeadersNoCache, removed content-length
1398 header for TARGET_JVM
1399 * HttpWorkerRequest.cs: made this class partial, moved TARGET_JVM stuff
1401 * HttpWriter.cs: fixed write methods, output_stream can write char[]
1402 and string in TARGET_JVM
1403 added HttpWorkerRequest.jvm.cs, HttpResponseStream.jvm.cs
1405 2007-06-25 Juraj Skripsky <js@hotfeet.ch>
1407 * HttpRuntime.cs (ShutdownAppDomain): Re-introduce call to
1408 "Cache.InvokePrivateCallbacks".
1410 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1412 * HttpUtility.cs: fixed HtmlAttributeEncode, performance improvement
1414 2007-06-20 Marek Habersack <mhabersack@novell.com>
1416 * HttpRuntime.cs: added new internal property, InternalCache, to
1417 keep all the internal cache entries instead of mixing them with
1418 the public cache ones.
1419 Do not invoke Cache.InvokePrivateCallbacks - this method no longer
1422 * HttpResponse.cs: private entries are now kept in
1423 Context.InternalCache.
1425 * HttpContext.cs: added new internal property, InternalCache,
1426 which returns the HttpRuntime.InternalCache value.
1428 * HttpApplication.cs: check all the loaded assemblies for the type
1429 being looked up. Patch from Juraj Skripsky <juraj@hotfeet.ch>,
1430 thanks! Fixes bug #81697.
1432 2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>
1434 * HttpUtility.cs: refactoring:
1435 removed constants to another class.
1437 2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>
1439 * AssemblyResourceLoader.cs: refactoring:
1440 make the code reusable in System.Web.Extenssions.
1442 2007-05-31 Marek Habersack <mhabersack@novell.com>
1444 * SiteMapProvider.cs: implemented proper logic of authorizing
1445 user's access to a sitemap node, as per MSDN2 docs. Patch from
1446 Dumitru Ban <dban@dako.ro>, thanks!
1448 2007-05-30 Marek Habersack <mhabersack@novell.com>
1450 * TraceManager.cs: Catch all the possible exceptions in the
1451 constructor - the object MUST be created successfully (even if
1454 * HttpRequest.cs: do not attempt to apply url mappings if the
1455 configuration manager has errors.
1457 * HttpRuntime.cs: handle static constructor exceptions later on,
1458 during the first call to ReallyProcessRequest.
1460 * QueueManager.cs: provide defaults for the parameters to be read
1461 from the config file(s).
1462 Catch all the possible exceptions in the constructor - the object
1463 MUST be created successfully (even if there are errors).
1465 2007-05-29 Marek Habersack <mhabersack@novell.com>
1467 * SiteMapProvider.cs: updated the node accessibility comments.
1468 If Roles not null and user is not in at least one of the
1469 specified roles, return false.
1470 If there Url is null or empty, return false.
1472 2007-05-28 Marek Habersack <mhabersack@novell.com>
1474 * HttpRequest.cs: since Path is used from within
1475 WebConfigurationManager, under some conditions it may lead to
1476 endless recursion if the UrlComponents is not instantiated when
1479 2007-05-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1481 * HttpContext.cs: added ProfileInitialized boolean property
1483 2007-05-16 Vladimir Krasnov <vladimirk@mainsoft.com>
1485 * VirtualPathUtility.cs: Normalize method check more carefully if need
1486 to normalize, performance fix
1488 2007-05-16 Konstantin Triger <kostat@mainsoft.com>
1490 * HttpContext.cs: correctly check for request locality.
1492 2007-05-15 Marek Habersack <mhabersack@novell.com>
1494 * HttpApplication.cs: refactoring - moved LoadType from
1495 WebConfigurationHost here and made it internal static, in order to
1496 make the code avaliable from all the places where extended type
1497 loading is required.
1499 2007-05-14 Marek Habersack <mhabersack@novell.com>
1501 * HttpUtility.cs: when parsing query strings, skip the leading ?
1502 for the first parameter name.
1504 * HttpRequest.cs: added support for mapping urls, as defined in
1505 the system.web/urlMappings section.
1507 2007-05-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1509 * HttpWriter.cs: GetMaxByteCount was used in Write and WriteString
1510 methods to improve performance of HttpWriter
1512 2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
1514 * HttpApplication.cs:
1515 prevent DOS attack: remove configuration from the cache in case
1516 of invalid resource not exists
1518 2007-05-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1520 * TraceContext.cs: refactoring, cached TraceManager
1522 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1524 * HttpApplication.cs:
1526 handling exceptions occurred if <system.web/customError>
1527 section is not valid.
1529 2007-05-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1531 * BaseParamsCollection.cs: fixed Get(string) property, fixed collection
1534 2007-05-07 Marek Habersack <mhabersack@novell.com>
1536 * HttpResponseStream.cs: use BufferOutput
1538 * HttpResponse.cs: support Buffer, but use BufferOutput
1540 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1542 * BrowserCapabilities.cs:
1545 2007-04-30 Igor Zelmanovich <igorz@mainsoft.com>
1547 * HttpApplication.cs: reverted r74717.
1549 2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
1551 * HttpContext.jvm.cs: Response.End() must abort thread if not async.
1553 2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
1555 * HttpApplication.cs: doesn't cache httpHandlersSection in instance,
1556 that allows to consider httpHandlers section in nested web.config.
1558 2007-04-27 Marek Habersack <mhabersack@novell.com>
1560 * XmlSiteMapProvider.cs: add support for siteMapFile attribute.
1562 2007-04-24 Marek Habersack <mhabersack@novell.com>
1564 * CapabilitiesLoader.cs: Hashtables used as property containers
1565 should not be case-insensitive as we now preload the property
1566 hashes with default properties, to make the code work in case
1567 browscap.ini is broken or missing. Instead, the keys are
1568 lower-cased and trimmed before indexing the Hashtable.
1569 Added all the missing capabilities to the defaultCaps Hashtable.
1570 The returned Hashtable is not reversed in GetCapabilities anymore
1571 - it might make the code faster, but it also makes it mismatch
1572 browsers (e.g. Firefox 2.0 is mismatched for Mozilla 1.8).
1573 All of the above fixes bug #81437.
1575 * HttpRequest.cs: MS.NET throws HttpException for invalid paths,
1576 not ArgumentNullException.
1578 * HttpException.cs: wrap GetHtmlErrorMessage internals in
1579 try/catch to capture possible exceptions in HttpContext.
1581 * HttpContext.cs: IsCustomErrorEnabled is used from within
1582 HttpException, make sure it gets the section in a safe way and
1583 resorts to the default settings.
1585 * HttpResponse.cs: HeaderEncoding is used in the same context as
1586 above. Take the same precautions.
1588 2007-04-22 Joshua Tauberer <jit@occams.info>
1590 * HttpParamsCollection.cs: Fix IndexOutOfRangeException.
1592 2007-04-19 Miguel de Icaza <miguel@novell.com>
1594 * BaseParamsCollection.cs (Get (string)): Call LoadInfo here to
1597 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1599 * HttpException.cs: used GetBaseException() instead InnerException.
1601 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1603 * HttpException.cs: shows message of InnerException in head of Page.
1605 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1607 * HttpException.cs: fixed generated HTML formating.
1609 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1611 * HttpContext.cs: GetGlobalResourceObject, GetLocalResourceObject
1612 use case-insensitive ResourceManager
1614 2007-04-15 Marek Habersack <mhabersack@novell.com>
1616 * VirtualPathUtility.cs: converted to LF line endings and set the
1617 svn:eol-style property to 'native'
1619 2007-04-13 Marek Habersack <mhabersack@novell.com>
1621 * SiteMap.cs: try to look up the current map node in providers
1622 other than the current one. Patch from Mike Morano
1623 <mmorano@mikeandwan.us>. Fixes bug #81366.
1625 2007-04-12 Vladimir Krasnov <vladimirk@mainsoft.com>
1627 * HttpRequest.cs: fixed Params property to be lazy initialzation
1629 * added HttpParamsCollection.cs
1631 2007-04-11 Konstantin Triger <kostat@mainsoft.com>
1633 * HttpRequest.cs: IsLocal should return true for loopback addresses.
1635 2007-04-10 Marek Habersack <mhabersack@novell.com>
1637 * HttpCookie.cs: format the output of HttpCookie.Values.ToString()
1638 in the same way MS.NET does. Fixes bug #81333. Patch from Mike
1639 Morano <mmorano@mikeandwan.us>.
1641 * XmlSiteMapProvider.cs: add the NotifyFilters.Size to the
1642 watcher flags, so that we watch for modifications to a file when
1643 using Linux inotify.
1645 * HttpApplicationFactory.cs: add the NotifyFilters.Size to the
1646 watcher flags, so that we watch for modifications to a file when
1647 using Linux inotify.
1648 App_Code, App_Browsers and App_GlobalResources watchers must watch
1649 for events with the '*' mask so that they can notice events
1650 related to subdirectory creation/deletion.
1651 Watch for subdirectory events with the App_Code watcher.
1653 2007-04-07 Marek Habersack <mhabersack@novell.com>
1655 * HttpException.cs: show a default custom error message if custom
1657 Cleaned up the errors HTML, made it XHTML-compliant. Generated
1658 HTML now uses inline CSS styles.
1660 2007-04-06 Marek Habersack <mhabersack@novell.com>
1662 * HttpUtility.cs: added a constant that contains the default query
1663 parameter character.
1664 ParseQueryString supports queries with both '&' and ';' parameter
1667 2007-04-05 Marek Habersack <mhabersack@novell.com>
1669 * CapabilitiesLoader.cs: Make sure that the capability names
1670 (keys) are stored in lowercase.
1672 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1674 * XmlSiteMapProvider.cs:
1675 custom attributes of siteMapNode are loaded properly.
1677 2007-04-05 Marek Habersack <mhabersack@novell.com>
1679 * CapabilitiesLoader.cs: add a full default set of capabilities
1680 for cases when browscap.ini is broken, missing or doesn't contain
1681 definition for the client's User-Agent. Makes it possible to surf
1682 asp.net sites from unsupported clients.
1684 2007-04-04 Juraj Skripsky <js@hotfeet.ch>
1686 * HttpApplicationFactory.cs: Make sure an web application is
1687 shutdown only once (and Application_End in global.asax is called
1688 only once as well). This is necessary because FileSystemWatcher
1689 emits multiple events when e.g. global.asax is changed.
1691 2007-04-01 Vladimir Krasnov <vladimirk@mainsoft.com>
1693 * HttpRequest.cs: fixed Headers property to use optimized
1695 * WebROCollection.cs: used StringComparer.OrdinalIgnoreCase for
1697 * ServerVariablesCollection.cs: used lazy collection fill optimization
1698 * added: HeadersCollection.cs, BaseParamsCollection.cs
1700 2007-04-01 Konstantin Triger <kostat@mainsoft.com>
1703 GetLocalResourceObject - should not prefix resources with 'Resources.'.
1705 2007-04-01 Konstantin Triger <kostat@mainsoft.com>
1707 * BrowserCapabilities.cs: Default Browser (userAgent) property to 'Unknown'.
1709 2007-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1711 * HttpContext.cs: timeout methods removed from TARGET_J2EE compilation
1712 * HttpContext.jvm.cs: added stubs for timeout methods
1714 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1716 * StaticSiteMapProvider.cs:
1717 GetChildNodes does not return null but SiteMapNodeCollection.EmptyCollection.
1719 2007-03-28 Konstantin Triger <kostat@mainsoft.com>
1721 * BrowserCapabilities.cs:
1723 2. Break recoursion in case 'browser' capability is not found.
1725 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1727 * SiteMapNode.cs: fixed GetAllNodes method.
1729 2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
1731 * XmlSiteMapProvider.cs: fixed:
1732 resolve app-relative path from config such siteMapFile="~/Web.sitemap".
1734 2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
1737 * XmlSiteMapProvider.cs: fixed: Localize Site-Map Data.
1739 2007-03-26 Konstantin Triger <kostat@mainsoft.com>
1741 * HttpRequest.cs: correctly handle null and empty virtual pathes in MapPath.
1743 2007-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1745 * HttpContext.cs: AppGlobalResourcesAssembly static member stored in
1746 AppDomain for TARGET_JVM
1748 2007-03-24 Marek Habersack <mhabersack@novell.com>
1750 * HttpRuntime.cs: use ICalls.GetMachineConfigPath instead of
1751 opening the machine.config file and getting its path.
1753 * CapabilitiesLoader.cs: use HttpRuntime.MachineConfigurationDirectory
1754 instead of opening the machine config file and getting its path.
1756 2007-03-23 Konstantin Triger <kostat@mainsoft.com>
1758 * HttpApplication.cs: complete the pipeline in case of exception during
1759 InitOnce() to avoid a deadlock.
1761 2007-03-22 Adar Wesley <adarw@mainsoft.com>
1763 * BrowserCapabilities.cs: Added implementation for all capabilities.
1764 changed implementation to throw when capability is not defined in browscaps.ini.
1766 * CapabilitiesLoader.cs: fixed parent resultion bug. added internal support for
1767 browser and browsers capabilities.
1769 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1771 * HttpContext.jvm.cs, HttpRuntime.cs: cached instance of HttpRuntime
1772 in context in addition to AppDomain
1774 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1776 * HttpCookie.cs, HttpCookieCollection.cs: used OrdinalIgnoreCase
1777 StringComparer for cookies and values collections
1779 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1781 * HttpApplication.cs: refactred handlers configuration section as
1784 2007-03-20 Marek Habersack <mhabersack@novell.com>
1786 * HttpRequest.cs: implement AppRelativeCurrentExecutionFilePath.
1788 2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
1790 * VirtualPathUtility.cs: fixed GetFileName(), GetExtension() methods.
1792 2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
1794 * VirtualPathUtility.cs: fixed GetDirectory() method.
1796 2007-03-15 Marek Habersack <mhabersack@novell.com>
1798 * XmlSiteMapProvider.cs: handle cases with no default for the
1801 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
1803 * HttpRequest.cs: fixed MapPath () method.
1805 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
1807 * VirtualPathUtility.cs: fixed ToAbsolute() method.
1809 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
1811 * VirtualPathUtility.cs: refactoring: class is shared with 1.x.
1813 2007-03-15 Marek Habersack <mhabersack@novell.com>
1815 * XmlSiteMapProvider.cs: add support for the enableLocalization
1816 <siteMap> attribute and handle per-node localization resource
1817 strings for explicit localization as well as the resourceKey
1818 attribute to <siteMapNode> for implicit localization (closes bug
1821 * SiteMapNode.cs: add support for the resource keys and foreign
1823 Implement GetImplicitResourceString.
1824 Add support for translation of the Title and Description
1825 attributes (closes bug #81103) as well as foreign attributes.
1827 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
1829 * VirtualPathUtility.cs: fixed: works properly with appRelative path.
1831 2007-03-13 Marek Habersack <mhabersack@novell.com>
1833 * HttpApplicationFactory.cs: resources compiler no longer accepts
1834 a boolean parameter.
1836 * HttpRuntime.cs: Do not compile local resources here anymore.
1838 * HttpContext.cs: if App_LocalResources assembly corresponding to
1839 the virtual path is not found, compile it here.
1840 Look up resources in the "Resources." class path.
1842 2007-03-13 Igor Zelmanovich <igorz@mainsoft.com>
1844 * HttpUtility.cs: fixed HttpUtillity.HtmlAttributeEncode
1845 '<' char must be encoded.
1847 2007-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
1849 * CapabilitiesLoader.cs: added TARGET_JVM part of static members,
1850 added caching to GetCapabilities method for performance improvement
1852 2007-03-12 Marek Habersack <mhabersack@novell.com>
1854 * XmlSiteMapProvider.cs: support custom site map providers. Fixes
1857 2007-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
1859 * StaticFileHandler.cs: fixed ProcessRequest TARGET_JVM path,
1860 if_modified_since fixed in WAR mode
1862 2007-02-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1864 * HttpRequest.jvm.cs: fixed LoadWwwForm, should distinguish between
1865 query string and form values
1867 2007-02-21 Marek Habersack <grendello@gmail.com>
1869 * HttpRuntime.cs: BinDirectory returns the bin directory
1870 determined by the application host on the application startup.
1872 * HttpApplicationFactory.cs: Watch the bin directory determined by
1873 the application host on the application startup.
1875 2007-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1877 * HttpRequest.cs: fixed MapPath, removed TARGET_J2EE block that checks
1880 2007-02-19 Marek Habersack <grendello@gmail.com>
1882 * HttpContext.cs: Make sure all the global resource objects are
1883 sought in the Resources. namespace.
1885 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
1887 * HttpContext.jvm.cs, HttpRequest.jvm.cs: Adapt for tunning under test
1888 harness where we don't have a SevletRequest/Response.
1890 2007-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
1892 * HttpApplication.cs: fixed InitOnce, httpModules section is global and
1893 taken from the root web.config
1895 2007-02-12 Robert Jordan <robertj@gmx.net>
1897 * HttpResponseStream.cs (BlockManager.EnsureCapacity):
1898 don't call Marshal.ReAllocHGlobal on NULL because, unlike
1899 realloc(3) and g_realloc, it doesn't support this semantic.
1900 Fixes a part of bug #77075.
1902 2007-02-12 Marek Habersack <grendello@gmail.com>
1904 * HttpRuntime.cs: support for preservation (.compiled) assembly
1907 2007-02-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1909 * HttpApplication.cs: added exception pass through from processAction
1912 2007-02-02 Marek Habersack <grendello@gmail.com>
1914 * HttpApplicationFactory.cs: make code a bit more compact.
1916 2007-01-30 Vladimir Krasnov <vladimirk@mainsoft.com>
1918 * HttpResponse.cs: fixed TARGET_J2EE part of Redirect for portlet
1920 2007-01-30 Adar Wesley <adarw@mainsoft.com>
1922 * VirtualPathUtility.cs: fixed exceptions thrown from Combine
1923 so they are compatible with MS.
1925 2007-01-25 Marek Habersack <grendello@gmail.com>
1927 * HttpApplication.cs: Make sure that a specific culture is used
1928 when setting the current thread culture.
1930 2007-01-21 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
1932 * HttpServerUtility.cs: implement Execute/Transfer overloads that take
1933 an IHttpHandler. Still missing the documented check for page IsCallback.
1934 Also, on MS when i derive from Page for my IHttpHandler, it works fine,
1935 but if I just implement IHttpHandler, an exception is thrown. This needs
1936 to be researched but, by now, the IHttpHandler version works on mono
1939 2007-01-20 Miguel de Icaza <miguel@novell.com>
1941 * SiteMapNode.cs (GetExplicitResourceString): implement.
1943 * HttpContext.cs (GetGlobalResourceObject): remove unused variable.
1945 * StaticFileHandler.cs (ProcessRequest): remove unused variable.
1947 * HttpApplication.cs (ProcessError): Remove unused variable.
1949 * HttpServerUtility.cs (Execute): Add new overload and rename
1950 parameter to match MS (as they are normative).
1952 2007-01-17 Marek Habersack <grendello@gmail.com>
1954 * HttpApplicationFactory.cs: Implement code and framework to
1955 enable automatic application restarts on changes to folders/files
1956 in a generic way. Patch from Damien Churchill
1957 <damien.churchill@ukplc.net>, thanks!
1958 Make sure the top-level assemblies (App_Code, resources) are not
1959 referenced twice should a compilation error occur.
1961 2007-01-16 Atsushi Enomoto <atsushi@ximian.com>
1963 * TraceData.cs : page could be null. Fixed bug #80480.
1965 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
1967 * VirtualPathUtility.cs: fixed bugs in methods - GetDirectory and
1968 GetExtension, according to the VirtualPathUtilityTest
1970 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1972 * SiteMapProvider.cs: fixed IsAccessibleToUser, true if
1973 SecurityTrimmingEnabled not enabled, true if Roles exists on node and
1976 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1978 * HttpRequest.jvm.cs, HttpContext.jvm.cs: Added TARGET_J2EE specific files.
1979 * HttpContext.cs, HttpResponse.cs, HttpRequest.cs, HttpCookie.cs:
1980 Add J2EE Portal support for TARGET_J2EE.
1982 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1984 * HttpRequest.cs: fixed IsLocal, should check all ip addresses of host
1986 2007-01-05 Marek Habersack <grendello@gmail.com>
1988 * HttpApplicationFactory.cs: Use the new app resources compiler.
1990 * HttpRuntime.cs: Use the new app resources compiler.
1992 * HttpContext.cs: Reimplement the GetGlobalResourceObject
1993 methods, implement the GetLocalResourceObject methods.
1995 * HttpResponse.cs: Implement the HeaderEncoding property.
1997 2007-01-04 Andreia Gaita <avidigal@novell.com>
1999 * HttpRuntime.cs: Add check for NET_2_0 when initializing
2000 WebConfigurationManager, build failing on 1.1 profile
2002 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
2004 * HttpApplicationFactory.cs, HttpRuntime.cs: WebConfigurationManager
2005 should be initializaed before any possible access to it
2007 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
2009 * HttpRequest.cs: fixed Path property, add call of
2010 Uri.UnescapeDataString in net_2_0
2012 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
2014 * HttpApplication.cs: fixed PreStart, should not set thread culture
2017 2007-01-03 Vladimir Krasnov <vladimirk@mainsoft.com>
2019 * HttpRequest.cs: fixed jvm version of MakeInputStream, should not
2020 throw exception on zero content length
2022 2007-01-03 Vladimir Krasnov <vladimirk@mainsoft.com>
2024 * SiteMap.cs, SiteMapNodeCollection.cs: TARGET_JVM of static members
2026 2006-12-20 Marek Habersack <grendello@gmail.com>
2028 * HttpContext.cs: add internal setter for the Profile property.
2030 * HttpApplicationFactory.cs: Added a shortcut version of
2031 InvokeSessionEnd for use from the 2.0 SessionState code.
2033 2006-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
2035 * HttpRequest.cs: fixed Path property, returns unescaped url
2037 2006-12-16 Marek Habersack <grendello@gmail.com>
2039 * HttpRequest.cs: Fix for http exception during first visit to an
2040 application when the visit path is not the app's virtual root.
2042 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
2044 * SiteMapProvider.cs.cs:
2045 * XmlSiteMapProvider.cs: fixed: because more then one node with empty url
2046 is allowed unique key is generated for each node.
2048 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
2050 * SiteMapProvider.cs.cs: fixed: IsAccessibleToUser resolvs relative url.
2051 * StaticSiteMapProvider.cs: fixed: RemoveNode
2053 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
2055 * VirtualPathUtility.cs: fixed: Combine(), ToAbsolute() methods.
2057 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
2059 * VirtualPathUtility.cs: fixed: IsAppRelative() method.
2061 2006-12-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2063 * BrowserCapabilities.cs: fixed MSDomVersion property
2065 2006-12-05 Igor Zelmanovich <igorz@mainsoft.com>
2067 * VirtualPathUtility.cs: fixed: ToAbsolute() method.
2069 2006-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2071 * HttpRequest.cs: call MapPath on the HttpWorkerRequest so that if
2072 FilePath is changed we get the new physical path, not the one of the
2073 original request. Fixes bug #80152.
2075 2006-12-03 Igor Zelmanovich <igorz@mainsoft.com>
2077 * HttpWriter.cs: reverted r38835.
2079 2006-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2081 * HttpWriter.cs: remove unused WriteBytes method.
2083 2006-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2085 * HttpRequest.cs: physical path comes from GetFilePathTranslated to
2086 avoid trimming in HttpRequest.MapPath.
2088 2006-11-29 Marek Habersack <grendello@gmail.com>
2090 * HttpApplication.cs: Make use of the handler stack implemented
2093 * HttpCacheVaryByHeaders.cs: Optionally omit the vary:* header
2094 value in the 2.0 profile.
2096 * HttpServerUtility.cs: Make use of the handler stack implemented
2098 Implemented the UrlToken{Encode,Decode} 2.0 methods.
2100 * HttpResponse.cs: Implemented the IsRequestBeingRedirected
2103 * HttpContext.cs: Implemented the CurrentHandler and PreviousHandler
2104 methods, together with helper functions to handle the handler
2106 GetSection(string) should be present only in the 2.0 profile.
2108 * HttpCachePolicy.cs: implement the SetNoServerCaching,
2109 SetNoStore, SetNoTransforms, SetValidUntilExpires and
2110 SetOmitVaryStar methods.
2111 Added code to set the no-store and no-transform options of the
2112 Cache-Control header.
2114 2006-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2116 * HttpServerUtility.cs: don't prepend extra '?' when the original url
2117 already has a query string. Fixes bug #80042.
2119 2006-11-24 Miguel de Icaza <miguel@novell.com>
2121 * HttpApplicationFactory.cs (InitType): Also look for "Web.Config"
2124 2006-11-20 Marek Habersack <grendello@gmail.com>
2126 * HttpApplication.cs: Added support for automatic detection of
2127 user's preferred language.
2129 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2131 * HttpApplication.cs: don't leak the directory name for non-local
2134 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2136 * CapabilitiesLoader.cs: made the hasstable that contains the properties
2137 for the brower case insensitive. Fixes bug #79795.
2139 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2141 * HttpResponse.cs: fix typo that prevented Server.Execute from restoring
2142 the initial output stream used. Closes bug #79916.
2144 2006-11-12 Marek Habersack <grendello@gmail.com>
2146 * HttpContext.cs: Implemented the 2.0 RewritePath overloads.
2148 2006-11-08 Marek Habersack <grendello@gmail.com>
2150 * HttpRuntime.cs: Moved the resource compiler results handling to
2151 the resource compiler itself.
2153 * HttpApplicationFactory.cs: Add invocation of the App_Code
2154 compiler. Moved the resource compiler results handling to the
2155 resource compiler itself. Removed compilation of the local
2156 resources from here - it should be done only when a request
2157 determines that the App_LocalResources directory exists.
2160 2006-11-07 Andrew Skiba <andrews@mainsoft.com>
2162 * HttpRuntime.cs: TARGET_JVM ifdef
2164 2006-11-05 Andrew Skiba <andrews@mainsoft.com>
2166 * SiteMapProvider.cs: don't iterate through Roles when they are null.
2168 2006-11-05 Vladimir Krasnov <vladimirk@mainsoft.com>
2170 * HttpContext.cs: implemented Profile property
2172 2006-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2174 * HttpApplication.cs: the unexpected 'tick' exceptions can be an abort
2175 exception due to timeout or end of the request.
2177 2006-10-18 Marek Habersack <grendello@gmail.com>
2179 * HttpRuntime.cs: add support for compilation of local resources
2180 at the start of request.
2182 * HttpContext.cs: implement the GetGlobalResourceObject APIs
2184 * HttpApplicationFactory.cs: include the bootstrap code for the
2185 global/local resources compiler.
2187 2006-10-09 Marek Habersack <grendello@gmail.com>
2189 * HttpApplication.cs: change the pipeline order for ASP.NET 2.0 to
2190 comply with the Microsoft documentation.
2192 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2194 * HttpApplication.cs: this makes the test run successfully. Still need
2195 to figure out why that is null.
2197 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2199 * HttpApplication.cs: band-aid patch to help debugging hang running 2.0
2202 2006-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2204 * HttpServerUtility.cs: 1.1 Execute(s) preserves the query string.
2205 Thanks to Hubert Fongarnand. Fixes bug #79506.
2207 2006-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2209 * QueueManager.cs: if disposed, always return null for next request.
2210 * HttpRuntime.cs: dispose the queue manager when shutting down the
2211 domain. This will close pending requests with a 503.
2212 * HttpApplication.cs: release the handler before marking the request
2213 as completed. If in PipelineDone context is null, use
2214 HttpContext.Current. Fixes some of those "Tick detected an unhandled
2215 exception" errors printed out.
2217 2006-09-11 Andrew Skiba <andrews@mainsoft.com>
2219 * XmlSiteMapProvider.cs: ifdef TARGET_JVM
2221 2006-09-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2223 * HttpWriter.cs: fixed WriteLine to work correctly in utf-16 encoding
2225 2006-09-08 Robert Jordan <robertj@gmx.net>
2227 * TraceData.cs: fixed NRE if `sizes' is null, which may happen
2228 if a page was unable to save its viewstate and size.
2230 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
2232 * HttpApplicationFactory.cs: ifdef the previous fix with TARGET_JVM to
2235 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2237 * HttpApplicationFactory.cs: watch web.config too. Fixes bug #78356.
2239 2006-09-05 Konstantin Triger <kostat@mainsoft.com>
2241 * SiteMapProvider.cs: consider authorization section for access decision.
2243 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
2245 * HttpUtility.cs: fixed UrlPathEncode method.
2247 2006-08-31 Boris Kirzner <borisk@mainsoft.com>
2249 * VirtualPathUtility.cs : pass parameters in correct order.
2251 2006-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2253 * HttpApplicationFactory.cs: handle the 'renamed' event too.
2255 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2257 * HttpApplication.cs: fixed BeginProcessRequest, TARGET_JVM part
2260 2006-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2262 * HttpApplication.cs: don't leak local path names when a file is not
2265 2006-06-21 Konstantin Triger <kostat@mainsoft.com>
2267 * XmlSiteMapProvider.cs: if the url is relative, make it relative to the
2270 2006-06-07 Juraj Skripsky <js@hotfeet.ch>
2272 * HttpException.cs (GetHtmlizedErrorMessage): Beautify compilation error
2273 page by showing multiple errors on separate lines.
2275 2006-06-05 Juraj Skripsky <js@hotfeet.ch>
2277 * HttpRequest.cs: simplify code around uri_builder (and rename
2278 to url_components). Move storage of query_string into
2279 uri_builder.Query and initialize it lazily using
2280 worker_request.GetQueryStringRawBytes() or GetQueryString().
2281 (QueryString): Use HttpUtility.ParseQueryString instead of
2282 duplicating its functionality.
2284 2006-06-05 Juraj Skripsky <js@hotfeet.ch>
2286 * HttpUtility.cs (ParseQueryString): move core of
2287 ParseQueryString into internal method to make it available to
2290 2006-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2292 * HttpApplication.cs: assign the context when run from a thread not in
2293 the threadpool. Patch by Andrew Skiba. Fixes bug #78583.
2295 2006-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2297 * HttpApplication.cs: context.Handler does not change for
2298 HttpServerUtility.Execute, so moved setting it into the pipeline instead
2301 2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
2303 * HttpUtility.cs: implemented ParseQueryString
2305 2006-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2307 * HttpUtility.cs: get rid of TryParseHexa.
2309 2006-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2311 * HttpApplicationFactory.cs: make sure that the application start event
2312 is run before any request is processed.
2314 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2316 * HttpServerUtility.cs: don't reset the query string in Execute() when
2317 the path does not contain it and we have one from the previous request.
2320 2006-04-20 Andrew Skiba <andrews@mainsoft.com>
2322 * SiteMapNode.cs: fix few null reference exceptions
2324 2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2327 (TransmitFile): make sure we can read the file before buffering it.
2329 2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2331 * HttpApplicationFactory.cs: don't fail on events that are not
2332 EventHandlers. Patch by Matthew Metnetsky.
2334 2006-04-11 Andrew Skiba <andrews@mainsoft.com>
2336 * HttpRequest.cs: remove code duplication (see UrlUtils.Combine)
2338 2006-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2340 * HttpUtility.cs: allow "%%" as a escape for '%' and ignore invalid
2341 hexadecimal characters. Based on a patch by Vladimir Krasnov.
2343 2006-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2345 * HttpWriter.cs: only keep the byte buffer around if its size is less
2346 than or equals to 32K.
2348 2006-04-08 Miguel de Icaza <miguel@novell.com>
2350 * HttpWriter.cs (Write): Added missing check for null string as
2351 something is now calling it like that.
2353 2006-03-27 Joshua Tauberer <tauberer@for.net>
2355 * HttpWriter.cs: Avoid creation of a byte[] on each Write()
2356 by reusing and resizing a private array.
2358 2006-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2360 * HttpRequest.cs: the field content_length can be < 0 and then we try to
2361 read when there's no data and block.
2363 2006-04-05 Andrew Skiba <andrews@mainsoft.com>
2365 * HttpUtility: UrlEncode and UrlEncodeUnicode logic unified, behaviour
2366 fixed to match dotnet and http://rfc.net/rfc1738.html
2368 2006-03-30 Konstantin Triger <kostat@mainsoft.com>
2370 * HttpApplicationFactory.cs: refactoring: remove static modifier from session_end field.
2371 Does not check the behavior as HttpApplicationFactory is a singleton.
2373 2006-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2375 * HttpUtility.cs: UrlDecode does not throw if an hexadecimal sequence
2376 fails to parse as an integer. Fixes bug #77931.
2378 2006-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2380 * HttpResponse.cs: more fixes for CacheControl: MS allows to set it to
2381 null and "" and the getter value does not completely depend on Cache.
2383 * HttpRequest.cs: fail validating the request input if there's a control
2384 character after a '<'. Fixes XSS_Null test.
2386 All System.Web tests pass again.
2387 2006-03-22 Robert Jordan <robertj@gmx.net>
2389 * HttpCachePolicy.cs: fix the Cache-control header. Fixes bug #77826.
2391 2006-03-22 Chris Toshok <toshok@ximian.com>
2393 * HttpApplication.cs: fix typo - AuthenticateRequest =>
2394 PostAuthenticateRequest.
2396 2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2399 * HttpRequest.cs: revert part of r58229.
2401 2006-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
2403 * ServerVariablesCollection.cs: fixed "URL" variable, it should not
2406 2006-03-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2409 (CheckString): style and don't index the string twice per iteration.
2411 2006-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2413 * TempFileStream.cs: a FileStream that removes the file once
2415 * HttpRequest.cs: support for writing request data to on-disk
2416 files if the request is longer than the threshold specified in the
2417 configuration files. In mono this will work for 1.x and 2.0, while with
2418 MS this only works for 2.0.
2420 2006-03-18 Robert Jordan <robertj@gmx.net>
2422 * HttpCachePolicy.cs: expose the validation callbacks.
2425 2006-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2427 * HttpApplication.cs: fix upper bound when iterating through the module
2430 2006-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2432 * HttpRequest.cs: use the provided content encoding to decode the file
2433 name. Fixes bug #77714.
2435 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2437 * HttpResponse.cs: allow setting a Cache-Control header through
2438 AppendHeader. Fixes bug #77775.
2440 2006-03-15 Chris Toshok <toshok@ximian.com>
2442 * XmlSiteMapProvider.cs (RemoveProvider): oops, no override.
2444 * StaticSiteMapProvider.cs (AddNode): call MapUrl.
2445 (FindSiteMapNode): same.
2447 2006-03-15 Chris Toshok <toshok@ximian.com>
2449 * SiteMapProvider.cs (ReturnNodeIfAccessible): new function,
2450 either return the node or throw InvalidOperationException.
2451 (get_RootNode): use ReturnNodeIfAccessible.
2452 (IsAccessibleToUser): flesh this out a bit, and add comments on
2453 how the rest of the implementation should be written.
2454 (FindSiteMapNodeFromKey): implement to match MS behavior, docs be
2457 * XmlSiteMapProvider.cs: corcompare work.
2459 * StaticSiteMapProvider.cs (AddNode): Add a check to see if node
2460 == RootNode. Not sure if this is actually correct, but it's
2461 required given our implementation of XmlSiteMapProvider. without
2462 this check, we end up assigning RootNode.ParentNode == RootNode,
2463 which makes for an infinite loop when we traverse up the tree.
2465 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2467 * HttpRequest.cs: fixed MakeInputStream method under TARGET_JVM,
2468 fixed if content lenght value is less that byte received
2470 2006-03-10 Chris Toshok <toshok@ximian.com>
2472 * StaticSiteMapProvider.cs (UrlToNode): this entire file is #if
2473 NET_2_0, no need to embed another #if NET_2_0.
2475 * SiteMapProvider.cs (AddNode): throw NotImplementedException.
2476 (FindSiteMapNode): with null context, return null. don't throw
2477 ArgumentNullException.
2478 (RemoveNode): throw NotImplementedException.
2479 (IsAccessibleToUser): check arguments to make test pass. still
2480 lacking the method's actual functionality.
2481 (ResourceKey): add missing property.
2483 2006-03-10 Chris Toshok <toshok@ximian.com>
2485 * HttpRequest.cs (CheckString): add back in the check for \xff1c
2486 that i took out. oops.
2488 2006-03-10 Chris Toshok <toshok@ximian.com>
2490 * HttpRequest.cs (CheckString): implement as described in
2491 Shackow's "Professional ASP.NET 2.0 Security, Membership, and Role
2492 Management", page 310.
2494 2006-03-08 Chris Toshok <toshok@ximian.com>
2496 * SiteMap.cs: clean this up a bunch. use the SiteMapSection to
2497 initialize the provider collection, and don't add a provider.
2498 web.config handles that for us. Also, don't always return true
2501 2006-02-28 Chris Toshok <toshok@ximian.com>
2503 * HttpCookieMode.cs: corcompare work.
2505 * ProcessShutdownReason.cs: same.
2507 * SiteMapNodeCollection.cs: same.
2509 * SiteMapNode.cs: same.
2511 * SiteMapProvider.cs: same.
2513 * HttpCacheRevalidation.cs: same.
2515 * HttpCacheability.cs: same.
2517 * StaticSiteMapProvider.cs: same.
2519 * HttpValidationStatus.cs: same.
2521 2006-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2523 * DefaultHttpHandler.cs: New file.
2525 2006-02-01 Chris Toshok <toshok@ximian.com>
2527 * SiteMap.cs: use GetSection instead of GetWebApplicationSection.
2529 2006-02-01 Chris Toshok <toshok@ximian.com>
2531 * HttpApplication.cs: CONFIGURATION_2_0 => NET_2_0, and use
2532 GetSection instead of GetWebApplicationSection.
2534 * HttpApplication.jvm.cs: same.
2536 * HttpApplicationFactory.cs: same.
2538 * HttpContext.cs: same.
2540 * CapabilitiesLoader.cs: same.
2542 * QueueManager.cs: same.
2544 * HttpRuntime.cs: same.
2546 * TraceManager.cs: same.
2548 * HttpRequest.cs: same.
2550 2006-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2552 * HttpApplication.cs: keep any exception that happens during
2555 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2557 * HttpDataTransferMode.cs: Removed file.
2558 * HttpRequestPriority.cs: Removed file.
2559 * ApplicationShutdownReason.cs:
2562 * HttpApplication.cs: minor class status fixes.
2564 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2566 * VirtualPathUtility.cs: done with all the not implemented methods.
2568 2006-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2570 * HttpResponse.cs: use UInt64.Parse for content length. In AppendHeader,
2571 set cache_control through the property to update the cachebility
2572 accordingly. When using the cached headers, don't add again all the
2573 headers to that collection.
2574 * HttpCacheVaryByParams.cs: if there are no params, return null.
2575 Otherwise we get an empty 'Vary' header.
2577 2006-01-25 Chris Toshok <toshok@ximian.com>
2579 * HttpApplication.cs (Start): wrap InitOnce in a try/catch block,
2580 and if there's a configuration error, output it and end things
2583 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2585 * HttpRequest.cs: fixed the file path when RewritePath is used. Also
2586 add the PathInfo to the Url. Fixes bug #77291.
2588 2006-01-22 Chris Toshok <toshok@ximian.com>
2590 * HttpRequest.cs (ReadBoundary): remove two unused variables to
2592 (IsBoundary): remove unused method.
2594 * MimeTypes.cs (.cctor): use a 2.0 friendly form of the Hashtable
2595 ctor to silence a warning.
2597 * HttpCacheVaryByHeaders.cs (.ctor): same.
2599 * HttpCacheVaryByParams.cs (.ctor): same.
2601 * StaticSiteMapProvider.cs (UrlToNode): same.
2603 2006-01-22 Konstantin Triger <kostat@mainsoft.com>
2605 * HttpWorkerRequest.cs: ensure case insensitivity in header search.
2607 2006-01-19 Konstantin Triger <kostat@mainsoft.com>
2609 * HttpApplication.jvm.cs: merge HttpApplication.cs changes.
2611 2006-01-17 Chris Toshok <toshok@ximian.com>
2613 * CapabilitiesLoader.cs (Init): use WebConfigurationManager in the
2614 CONFIGURATION_2_0 case.
2616 * HttpRuntime.cs (MachineConfigurationDirectory): same.
2618 2006-01-16 Chris Toshok <toshok@ximian.com>
2620 * HttpApplicationFactory.cs: call WebConfigurationManager.Init in
2621 the CONFIGURATION_2_0 case.
2623 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2625 * HttpWriter.cs: made Write (char) less memory hungry. Thanks to Mike
2626 Glenn for pointing this out.
2628 2006-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2630 * HttpApplicationFactory.cs: fix condition for ContextAvailable.
2632 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2634 * HttpResponse.cs: removed TARGET_JVM block from End
2635 * GetJavaTextReader: Merged TARGET_JVM block from LoadFile
2636 to GetJavaTextReader
2638 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2640 * HttpRequest.cs: removed TARGET_JVM block from MapPath
2642 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2644 * HttpRequest.cs: little fix in MapPath(), virtualPath.Replace
2645 return value wasnt stored.
2647 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2649 * HttpResponse.cs: typo in comment.
2651 * HttpApplicationFactory.cs:
2652 * HttpApplication.cs: don't discard the application used for running the
2653 Application_Start event to allow for Redirect/Transfer to be used. Fail
2654 to get the request/response from the application object as MS does (it
2655 can still be retrieved through HttpContext.Current.blah). Fixes
2658 2006-01-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2660 * CapabilitiesLoader.cs: Merged TARGET_JVM parts in LoadFile
2662 * HttpException.cs: Merged TARGET_JVM parts in GetHtmlizedErrorMessage
2664 * HttpRequest.cs: Merged TARGET_JVM parts in MapPath from /main/29
2665 * HttpResponse.cs: Merged TARGET_JVM parts in End() from /main/30
2666 * StaticFileHandler.cs: Merged TARGET_JVM parts in ProcessRequest
2669 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
2671 * BrowserCapabilities.cs, HttpBrowserCapabilities.cs,
2672 HttpResponseStream.cs: TARGET_JVM changes to let the compilation
2675 2006-01-04 Chris Toshok <toshok@ximian.com>
2677 * HttpContext.cs (IsCustomErrorEnabled): add CONFIGURATION_2_0
2678 code. use a nasty 'using' hack to map the 2.0 CustomErrorsMode to
2679 the 1.x CustomErrorMode name.
2680 (IsDebuggingEnabled): add CONFIGURATION_2_0 code.
2681 (ConfigTimeout): add CONFIGURATION_2_0 code.
2683 * HttpRequest.cs (MakeInputStream): add CONFIGURATION_2_0 code.
2685 * HttpApplication.cs (RedirectCustomError): add CONFIGURATION_2_0
2688 * SiteMap.c (Init): use
2689 WebConfigurationManager.GetWebApplicationSection.
2691 2005-12-21 Miguel de Icaza <miguel@novell.com>
2693 * HttpUtility.cs (UrlEncodeUnicode): The generated encoding of
2694 unicode values must be in %XXXX format, not %XX sometimes.
2696 2005-12-08 Robert Jordan <robertj@gmx.net>
2698 * MimeTypes.cs: added entry for "jpg".
2700 2005-12-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2702 * HttpRequest.cs: only read up to content-length when provided. Patch
2705 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2707 * HttpCookie.cs: fixed the set_Secure. Closes bug #76906.
2709 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2711 * HttpResponseStream.cs: flush the filter stream before closing.
2712 Patch by Geir Bergum that fixes bug #76753.
2714 2005-11-28 Chris Toshok <toshok@ximian.com>
2716 * HttpContext.cs (Profile): remove the #if false from around this,
2717 as we now have the ProfileBase type.
2718 (GetConfig): add CONFIGURATION_2_0 version.
2719 (GetSection): add CONFIGURATION_2_0 version.
2721 2005-11-28 Chris Toshok <toshok@ximian.com>
2723 * TraceManager.cs (..ctor): CONFIGURATION_2_0 work.
2725 * QueueManager.cs (..ctor): CONFIGURATION_2_0 work.
2727 * HttpRequest.cs (AnonymousID): add 2.0 property.
2728 (MakeInputStream): CONFIGURATION_2_0 work.
2730 * HttpApplication.cs (InitOnce): change around the
2731 CONFIGURATION_2_0 stuff since we need additional Culture foo for
2734 2005-11-27 Chris Toshok <toshok@ximian.com>
2736 * HttpApplication.cs (InitOnce): add Configuration_2.0 code.
2739 2005-11-26 Miguel de Icaza <miguel@novell.com>
2741 * HttpResponseStream.cs: Do not try to write zero bytes.
2743 2005-11-24 Miguel de Icaza <miguel@novell.com>
2745 * WebROCollection.cs: Do not add an empty "=" to the query string
2746 if the key is empty or null.
2748 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2750 * WebROCollection.cs: override ToString and generate a query string from
2751 the key/value pairs. Fixes bug #76779.
2753 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2755 * HttpServerUtility.cs: prevent possible nullref in GetLastError().
2757 2005-11-07 Jason Diamond <jason@diamond.name>
2759 * HttpRequest.cs: Don't throw exception when Content-Length doesn't
2760 match length of POSTed data. Also, allow charset parameter on
2761 Content-Type header when type is "application/x-www-form-urlencoded".
2763 2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2765 * WebROCollection.cs: add an ID for the collection. Page needs it.
2767 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2769 * HttpRequest.cs: no need to allocate the buffer when all the content
2772 2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2774 * HttpApplication.cs: ignore TAE in ProcesssError. The Error event might
2775 redirect or transfer and that causes a TAE to be thrown. Fixes
2778 2005-11-01 Chris Toshok <toshok@ximian.com>
2780 * VirtualPathUtility.cs: new (partial implementation) to get some
2781 MS provider examples compiling.
2783 2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2785 * HttpContext.cs: added a new internal overload for ClearError.
2787 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2789 * HttpRuntime.cs: invoke callbacks on private items in the cache before
2790 calling disposing the app. factory. This way we get notifications of
2791 removal for all sessions stored in the cache (InProc only).
2793 2005-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2795 * HttpResponseStream.cs: reworked buffering so that adjacents blocks are
2796 written at once. Also fix bug #76460.
2798 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2800 * HttpResponseStream.cs: when allocating a chunk larger than the
2801 default chunk size, mark all the blocks as taken. Fixes bug
2804 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2806 * HttpResponse.cs: use HaveFilter instead of Filter.
2807 * HttpResponseStream.cs: allocate chunks of the requested size
2808 when it's > 32KB. Fixes bug #76460.
2810 2005-10-14 Sebastien Pouliot <sebastien@ximian.com>
2812 * ServerVariablesCollection.cs: Added a demand for
2813 SerializationFormatter on GetObjectData method (even if it's not
2814 really required in this case as it remove warnings from gendarme.
2816 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2819 * HttpRequest.cs: buglets in error checking in Filter.
2821 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2823 * OutputFilterStream.cs: proxy class for response filters.
2824 * HttpResponse.cs: moved all the actual write operations into the
2825 response stream. Handle response filtering. When caching, get the
2826 actual length of the data, not the buffer length.
2827 * HttpApplication.cs: if there's no error, invoke the filters before
2828 updating the request cache.
2829 * HttpResponseStream.cs: new Filter property. SendChunkSize is moved
2830 here and now supports writing the final chunk. New method ApplyFilter
2831 that filters the existing buckets and replaces them with the filtered
2832 ones. Modified Write to deal with buffering and filtering.
2834 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2836 * HttpResponseStream.cs: allow for writes of more than 32K at once.
2838 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2840 * InputFilterStream.cs proxy stream for use by filters.
2841 * HttpRequest.cs: implement input filtering.
2843 2005-10-02 Eyal Alaluf <eyala@mainsoft.com>
2844 * HttpApplication.jvm.cs - Workaround for use of yield in
2845 HttpApplication.cs HttpRuntime.cs: AppDomain.Unload is not supported
2848 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2850 * HttpResponseStream.cs: remove dead code.
2852 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
2854 * HttpClientCertificate.cs: Remove last TODO on IsValid. This now
2855 works when using XSP. Now use flags to determine valid/presence.
2857 2005-09-26 Chris Toshok <toshok@ximian.com>
2859 * HttpApplicationFactory.cs (OnAppFileChanged): add null checks
2860 for bin_watcher and app_file_watcher so we don't get NRE's here.
2862 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2864 * BrowserCapabilities.cs: don't rely on the win32 attribute to be there.
2865 Just use the platform to determine whether Win32 is true or not. Fixes
2868 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2870 * HttpApplication.cs: fixed typo when setting UI culture. Closes bug
2873 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2875 * HttpRequest.cs: new SetFilePath() that does not conflict with
2876 SetCurrentExePath. Now when transfering from a page to another,
2877 CurrentExecutionFilePath and FilePath are correct.
2879 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2881 * TraceContext.cs: add new method to store size of controls.
2882 * TraceData.cs: render control size.
2883 * HttpResponse.cs: new internal method to get the number of bytes of
2885 * HttpResponseStream.cs: added Length property to the Buckets and new
2888 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2890 * TraceData.cs: we have to change the method of getting a control render
2891 size. MS does not do this or otherwise would run into the same bug
2892 (#76051) that this patch fixes. This is temporarily setting the size
2895 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2897 * HttpResponseStream.cs: implemented Send(stream) for files. Fixes bug
2900 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2902 * HttpRuntime.cs: catch errors when compiling global.asax and
2903 initializing the application. Fixes bug #76090.
2905 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
2907 * BrowserCapabilities.cs: Fixed changes (in 2.0) with versions. Fixed
2908 compare with "True" (culture and case sensitivity).
2909 * HttpApplicationState.cs: Added LinkDemand for Minimal. Use the
2910 internal HttpStaticObjectsCollection ctor to avoid the UnmanagedCode
2912 * HttpContext.cs: Added LinkDemand for Minimal. Added 2.0 properties
2913 and methods to test CAS on them.
2914 * HttpRequest.cs: Added LinkDemand for Minimal. Ensure we return
2915 proper values when worker_request is null.
2916 * HttpResponse.cs: Added LinkDemand for Minimal. Ensure we return
2917 proper values when context or WorkerRequest is null. Added 2.0
2918 properties and methods to test CAS on them.
2919 * HttpRuntime.cs: Added LinkDemand for Minimal. Added PathDiscovery
2920 demands for properties returning directories. Added demand for High
2921 level on AppDomainAppId and AppDomainId properties, Low level on
2922 IsOnUNCShare, Medium level on ProcessRequest and a demand for
2923 UnmanagedCode on UnloadAppDomain method. Constructor also has a
2924 UnmanagedCode demand for 1.x.
2925 * HttpStaticObjectsCollection.cs: Added LinkDemand for Minimal. Added
2926 a UnmanagedCode demand to public ctor. Added internal ctor without the
2927 demand. Changed Serialize and Deserialize methods to public for 2.0.
2929 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
2931 * HttpWorkerRequest.cs: Removed TODO for 2.0 APIs and return the
2932 default values for them.
2934 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
2936 * HttpApplication.cs: : Added LinkDemand and InheritanceDemand (class)
2937 for Minimal. Changed AssemblyLocation to a property (so it doesn't
2938 require special permission, PathDiscovery) to create an instance.
2939 Protected Modules property with a Demand for High level. Added some
2940 missing HttpException for null context.
2941 * HttpServerUtility.cs: Added LinkDemand for Minimal. Added demands
2942 for UnmanagedCode on all CreateObject* methods. Added demand for
2943 Medium level on MachineName and ScriptTimeout properties. Added new
2944 overloaded Transfer method (2.0) to test CAS on it.
2945 * HttpUtility.cs: Added LinkDemand for Minimal. Added [Obsolete] to
2946 ctor (2.0). Changed some return values when 'count' is 0. Added
2947 ParseQueryString (overload) methods for 2.0 (to enabled CAS testing on
2949 * HttpWorkerRequest.cs: Added LinkDemand and InheritanceDemand (class)
2950 for Minimal. Added RequestTraceIdentifier and RootWebConfigPath (2.0)
2951 properties, GetPreloadedEntityBody, GetPreloadedEntityBodyLength,
2952 GetTotalEntityBodyLength and ReadEntityBody (2.0) methods to test CAS
2953 on them. Fixed SendResponseFromMemory to ignore IntPtr.Zero (used in
2954 tests without failures).
2955 * ServerVariablesCollection.cs: Fixed loadServerVariablesCollection
2956 when HttpWorkerRequest is null.
2957 * TraceContext.cs: Added LinkDemand for Minimal. Fixed default Mode
2958 (SortByTime). Added new (2.0) TraceFinished event to test CAS on it.
2960 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
2962 * HttpBrowserCapabilities.cs: Added LinkDemand and InheritanceDemand
2963 (class) for Minimal. Note that current MCS has problem compiling
2964 security attributes on partial class (bug #75969).
2965 * HttpCachePolicy.cs: Added LinkDemand for Minimal. Added 2.0 methods
2966 (stub) to enable CAS tests on them.
2967 * HttpCacheVaryByHeaders.cs: Added LinkDemand for Minimal.
2968 * HttpCacheVaryByParams.cs: Added LinkDemand for Minimal.
2969 * HttpClientCertificate.cs: Added LinkDemand and InheritanceDemand
2970 (class) for Minimal.
2971 * HttpCookie.cs: Added LinkDemand for Minimal.
2972 * HttpCookieCollection.cs: Added LinkDemand for Minimal.
2973 * HttpFileCollection.cs: Added LinkDemand for Minimal.
2974 * HttpModuleCollection.cs: Added LinkDemand for Minimal.
2975 * HttpPostedFile.cs: Added LinkDemand for Minimal.
2976 * HttpRequestPriority.cs: Fix enum values.
2977 * HttpWriter.cs: Added LinkDemand for Minimal.
2979 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
2981 * ProcessInfo.cs: Added LinkDemand and InheritanceDemand (class) for
2983 * ProcessModelInfo.cs: Added LinkDemand and InheritanceDemand (class)
2984 for Minimal. Methods GetCurrentProcessInfo and GetHistory are also
2985 protected by Demand for High level.
2987 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
2989 * HttpCompileException.cs: Added new public ctors and [Serializable]
2990 to 2.0. Added new Message property and GetObjectData (protected by a
2991 demand for SerializationFormatter) for 2.0. Fixed line-ending.
2992 * HttpException.cs: Added LinkDemand and InheritanceDemand (class) for
2993 Minimal. Renamed parameters to match documentation.
2994 * HttpParseException.cs: Added LinkDemand (class) for Minimal. Added
2995 demand for SerializationFormatter on GetObjectData method. Fixed
2997 * HttpRequestValidationException.cs: Added new public ctors and
2998 [Serializable] to 2.0. Added LinkDemand for Minimal.
2999 * HttpUnhandledException.cs: Added new public ctors and [Serializable]
3000 to 2.0. Removed unused internal ctor. Added LinkDemand for Minimal.
3003 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
3005 * HttpResponseSubstitutionCallback.cs: New. 2.0 delegate.
3006 * TraceContextEventArgs.cs: New. 2.0 class.
3007 * TraceContextEventHandler.cs: New. 2.0 delegate.
3009 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3011 * HttpRequest.cs: use GetServerName instead of GetLocalAddress when
3014 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3016 * HttpRequest.cs: fix the indexer.
3018 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3020 * HttpPostedFile.cs: fixes in Seek and Position.
3022 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
3024 * HttpRequest.cs: Make sure the MemoryStream created have their
3025 contents marked as public - or else you can't call GetBuffer on them!
3027 2005-09-08 Miguel de Icaza <miguel@novell.com>
3029 * HttpRequest.cs: Patch from Juraj Skripsky <js@hotfeet.ch> that
3032 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3034 * HttpPostedFile.cs: Make this class actually work. Every time we read,
3035 we have to position the underlying stream.
3037 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3039 * HttpRequest.cs: reading multipart/form-data works again.
3041 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
3042 * HttpRequest.cs: Under TARGET_JVM the input stream must allow GetBuffer.
3044 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
3045 * HttpApplicationFactory.cs: TARGET_J2EE/JVM fix.
3047 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3049 * HttpRequest.cs: correctly detect multipart/form-data.
3051 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3053 * HttpApplicationFactory.cs: recycle after invoking session_end.
3055 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3057 * HttpRuntime.cs: remove Console.
3059 * HttpApplicationFactory.cs: don't hook Session_End, but keep
3060 the MethodInfo around for later invocation if needed. Don't call
3061 GetMethods() for every HttpApplication (or derived class) instances.
3062 Added a method, used by SessionStateModule, that will create use an
3063 application without context to invoke Session_End. Keep a pool of
3064 applications that are meant to be used by this method only.
3066 * HttpApplication.cs: add a SetSession method and do not
3067 attach all the events if the application is for Session_End only.
3069 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3071 * HttpRuntime.cs: actually unload the domain when requested. Reformatted
3072 FinishUnavailable() and removed the 'Location' header form the error.
3074 * HttpApplicationFactory.cs: set up the watcher for the bin directory.
3075 This also prevents a nullref when global.asax is changed.
3077 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3079 * HttpApplication.cs: fixed bug introduced when moving GetHandler call
3080 around. Now we get error pages again.
3082 2005-09-06 Miguel de Icaza <miguel@novell.com>
3084 * HttpApplication.cs: Catch EndRequest errors as well.
3086 2005-09-05 Miguel de Icaza <miguel@novell.com>
3088 * HttpApplication.cs: Invoke EndRequest handler before OutputPage
3089 as FormsAuthentication will issue a Redirect from the EndRequest
3092 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3094 * HttpApplication.cs: when writing an error message, catch the possible
3097 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3099 * HttpResponseStream.cs: prevent invalid cast exception if the first
3100 thing written is a file.
3102 2005-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3104 * HttpApplication.cs: fix invalid cast exception (bug #75926).
3106 2005-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3108 * HttpApplicationFactory.cs: only trigger the Application_Start event
3109 once. It was being invoked more than once when several clients were
3110 hitting the server at the same time on startup.
3112 2005-09-01 Eyal Alaluf <eyala@mainsoft.com>
3114 * HttpContext.cs HttpResponse.cs HttpWorkerRequest.cs HttpRuntime.cs
3115 HttpApplicationFactory.cs HttpApplication.cs: TARGET_J2EE/JVM fixes.
3116 Mostly workaround limited AppModel in TARGET_J2EE.
3118 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3120 * HttpResponse.cs: if the request method is HEAD, that's equivalent to
3121 SuppressContent. Added an internal TransmitFile that allows setting the
3123 * StaticFileHandler.cs: use the new internal TransmitFile and remove
3124 generation of Content-Length header, as now it's computed correctly.
3125 * HttpApplication.cs: remove debugging stuff.
3126 * HttpResponseStream.cs: suppress_content is checked in HttpResponse.
3128 2005-08-31 Miguel de Icaza <miguel@novell.com>
3130 Removed debugging info.
3132 * HttpApplication.cs: Add support for async handlers.
3134 Add extra 2.x methods.
3136 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3138 * BrowserCapabilities.cs: removed extra 'using'.
3140 * HttpApplication.cs: use just the 'modcoll' to hold the collection of
3141 modules instead of having a separate 'modules' one.
3143 2005-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3145 * HttpApplication.cs: clone the module collection so that
3146 it's not shared between HttpApplications. Call GetHandler() in the
3149 2005-08-30 Miguel de Icaza <miguel@novell.com>
3151 * HttpApplication.cs: Add the new 2.x method overloads that take a
3154 (RunHooks): Pass the extra data instead of null.
3156 * HttpCookie.cs (HttpOnly): Add 2.x cookie header.
3158 * BrowserCapabilities.cs: Move the core of the capabilities into a
3159 separate file. Use partial classes to choose what version to
3162 * HttpBrowserCapabilities.cs: Update to move the code elsewhere.
3164 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
3166 * HttpResponseStream.cs: Fix a bug introduced by last fix (thanks to
3169 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
3171 * HttpResponseStream.cs: Compilation fixes for TARGET_JVM. TARGET_JVM
3172 does not support unsafe code. I localized all unsafe code within Chunk
3173 & Block and created a managed version of Chunk.
3175 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
3176 * HttpApplicationFactory.cs: Compilation fixes for TARGET_J2EE. Under
3177 TARGET_J2EE static fields are shared by all app domains. We handle
3178 this difference by explicitly getting/setting values from the app
3179 domain. Since HttpApplicationFactory has many static fields, I
3180 refactored it to have one static instance and moved the static fields
3181 into instance fields.
3183 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
3185 * HttpRequest.cs: Disable use of IntPtrStream for TARGET_JVM
3187 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
3189 * HttpContext.cs: Compilation fixes for TARGET_J2EE/JVM
3191 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3193 * HttpResponse.cs: don't duplicate the 'charset=' and don't send a
3194 charset for unknown MIME types.
3195 * StaticFileHandler.cs: set the Content-Length header here.
3196 * HttpRequest.cs: prevent nullrefs when we have no 'charset='.
3198 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3200 * StaticFileHandler.cs: use TransmitFile instead of WriteFile. This way
3201 xsp will use sendfile().
3203 2005-08-28 Chris Toshok <toshok@ximian.com>
3205 * SiteMapNode.cs: fix IHierarchyData.GetParent.
3207 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3210 * IntPtrStream.cs: now we only have a read-only MemoryStream or an
3211 IntPtrStream. The copy is moved into HttpRequest.
3213 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
3215 * WebCategoryAttribute.cs: New. Required internal attribute.
3216 * WebSysDescriptionAttribute.cs: New. Required internal attribute.
3218 2005-08-26 Jackson Harper <jackson@ximian.com>
3220 * HttpResponseStream.cs: Use GetBuffer so the memory isn't
3223 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3225 * HttpApplication.cs: GetHandler might return null when, for example,
3226 a web service fails, but that does not mean that returning a null
3227 handler should throw another exception, as the web service code
3228 serialized the error as a faultString. So if the handler is null, just
3229 don't call ProcessRequest and keep going.
3231 2005-08-26 Jackson Harper <jackson@ximian.com>
3233 * HttpResponse.cs: Send the cached headers if this is a cached
3234 response. Save the headers, date header, and page data. Fix a typo.
3235 * HttpResponseStream.cs: Add new accesor to get a byte [] of the
3238 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3240 * HttpWorkerRequest.cs: SetEndOfSendNotification is a noop. No matter
3241 what callback you use that never gets called. In XSP I actually
3242 implement something for this method.
3243 * HttpServerUtility.cs: unused variable.
3245 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3247 * HttpInputStream.cs: new ctor that takes a byte [].
3248 * IntPtrStream.cs: make it work on a byte [] too.
3251 (ContentLength): return 0 for negative numbers or error parsing, but
3252 keep content_length negative in those cases.
3253 (MakeInputStream): when there's no content-length (or it's negative),
3254 we still read the request into a MemoryStream. Use
3255 IsEntireEntityIsPreloaded() as a fast path.
3257 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
3259 * HttpClientCertificate.cs: On 1.x the .ctor throws a
3260 ArgumentNullException (but 2.0 throws a NRE).
3262 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3264 * HttpRequest.cs: HttpMethod deserves its own field. Fix IsLocal.
3266 2005-08-25 Chris Toshok <toshok@ximian.com>
3268 * HttpApplication.cs (IsReusable): return true.
3269 (InitOnce): remove the initialization of handler_factory from
3271 (GetHandler) and move it here, so we make sure to load handlers
3272 from all needed web.config files.
3274 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3276 * HttpServerUtility.cs: use GetHandler().
3277 * HttpApplication.cs: remove obsolete method. Now Transfe/Execute work.
3279 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3281 * HttpApplication.cs: no need for the local var. here.
3283 2005-08-25 Chris Toshok <toshok@ximian.com>
3285 * HttpApplication.cs (InitOnce): move the initialization of
3286 modules above the call to HttpApplicationFactory.AttachEvents,
3287 since that method accesses HttpApplication.Modules. Fixes
3289 (IsReusable): mark TODO.
3291 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3293 * HttpResponseHeader.cs: removed obsolete class.
3294 * HttpResponse.cs: no more 'obsolete' warnings.
3296 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3298 * HttpRuntime.cs: implemeted some missing properties.
3300 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3302 * HttpResponse.cs: implemented RemoveOutputCacheItem().
3304 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3306 * HttpApplication.cs: implemented GetVaryByCustomString().
3308 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3310 * HttpRequest.cs: implemented SetHeader (allows adding a header
3311 circumventing the read-only protection of the collection) and SetForm,
3312 which just assigns a value of the 'form' collection.
3313 * HttpServerUtility.cs: NameValueCollection -> WebROCollection.
3315 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3318 * HttpRequest.cs: implemented RewritePath and supporting methods.
3320 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
3322 * HttpRequest.cs: Avoid NRE if work_request if null in the ctor.
3323 * HttpResponse.cs: Avoid NRE if work_request if null in the ctor.
3325 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3327 * HttpApplication.cs: if there's any exception thrown when getting the
3328 handler, don't add an extra error to the context, as we already have
3331 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3335 * HttpWorkerRequest.cs:
3336 * HttpApplication.cs: added mising attributes and enabled methods
3339 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3341 * WebROCollection.cs: a collection that allows setting IsReadOnly.
3342 * HttpRequest.cs: implemented MapImageCoordinates(). Use WebROCollection
3343 instead of a NameValueCollection in Form, Headers, Params, QueryString.
3345 2005-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3347 * HttpInputStream.cs: new copy ctor.
3348 * IntPtrStream.cs: getters for base_address and size.
3349 * HttpRequest.cs: implemented SaveAs(). Use a wrapper on top of
3350 InputStream so that reading POST form or files does not modify the state
3351 if InputStream. Don't use uri_builder.Query in QueryStringRaw, as it
3354 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3356 * HttpRequest.cs: implemented UserLanguages and reuse code from
3359 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3361 * HttpRequest.cs: implemented AcceptTypes.
3363 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3365 * HttpRequest.cs: implemented this[] in terms of Params. Don't add the
3366 header collection in Params.
3368 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3370 * HttpRequest.cs: fix Files property.
3371 * HttpApplication.cs: invoke the default authentication event after all
3372 the other auth. modules.
3374 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3376 * ServerVariablesCollection.cs: mark the collection as read-only except
3377 when we fill it. Add the HTTP_blah key/value pairs too.
3379 2005-08-18 Chris Toshok <toshok@ximian.com>
3381 * HttpRequest.cs (get_Params): implement.
3383 2005-08-17 Chris Toshok <toshok@ximian.com>
3385 * HttpResponse.cs: HttpResponse's Cookie's collection acts
3386 differently than HttpRequests in that it never returns null from
3387 the "this [string]" accessor.
3389 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3391 * HttpRequest.cs: check length 0 case when reading a POST.
3393 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3395 * HttpContext.cs: added security attributes for User and
3396 SkipAuthorization properties.
3397 * HttpApplicationFactory.cs: AttachEvents is now called form the
3398 application .ctor. Recycle instead of dispose.
3399 * HttpApplication.cs: attach events to the newly created application.
3401 2005-08-15 Jackson Harper <jackson@ximian.com>
3403 * ApplicationShutdownReason.cs: make build
3405 2005-08-15 Miguel de Icaza <miguel@novell.com>
3407 * HttpApplication.cs: Update comments
3409 * HttpPostedFile.cs: Use a substream to read from the uploaded
3412 * HttpRequest.cs: use new code to read the uploaded files.
3414 2005-08-12 Miguel de Icaza <miguel@novell.com>
3416 2.x API fixage and small additions:
3418 * HttpResponse.cs: Make constructor internal.
3420 * HttpRequest.cs (IsLocal): Expose if NET_2.x
3422 * HttpContext.cs: Remove internal routine.
3424 * HttpApplication.cs: Add 2.x events.
3426 * HttpRequest.cs: Another iFolder issue: I was not setting up the
3429 Fixes to get iFolder to work:
3431 * HttpApplicationFactory.cs: Set the context when we are initting
3434 * HttpApplication.cs (SetContext): helper routine.
3436 * HttpResponse.cs: Implement the various cache operations:n
3437 Expires, ExpiresAbsolute, CacheControl.
3439 Actually produce the Cache-Control header, the "Cache" property
3440 takes precedence over the compatibility settings (Expires,
3441 ExpiresAbsolutely and CacheControl).
3443 * HttpCachePolicy.cs: Fix style.
3445 Fix the generation of the headers, use lower-case values, do not
3446 add the max-value if the value is zero.
3448 Allow for all possible values in SetCacheability.
3450 * HttpRuntime.cs (ClrInstallDirectory): Implement.
3452 * HttpResponseStream.cs: Remove debugging stuff.
3454 2005-08-11 Miguel de Icaza <miguel@novell.com>
3456 Big chunked handling rewrite, and integration of Ben's unmanaged
3459 * HttpWriter.cs: Delegate chunked encoding writing to the
3462 * HttpResponse.cs: Rework the chunked encoding system, centralize
3465 * HttpResponseStream.cs: Deploy Ben's bucket-base unmanaged
3468 Changed the way that we handle chunked encoding, centralize it
3471 Remove a lot of manual handling of buffering turned off, and
3472 instead delegate it all to Flush, fixes several issues with the
3475 * HttpWorkerRequest.cs (SendResponseFromMemory (IntPtr, int)):
3476 Provide a default implementation since currently XSP does not have
3477 this method implemented.
3479 2005-08-11 Sebastien Pouliot <sebastien@ximian.com>
3481 * HttpClientCertificate.cs: Culture insensitive int parsing. Fixed
3484 2005-08-10 Miguel de Icaza <miguel@novell.com>
3486 * ServerVariablesCollection.cs: For Ben. Implement the header
3487 fetching here, do not implement it in HttpRequest.cs.
3489 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
3491 * HttpClientCertificate.cs: Changed IsPresent logic so that new unit
3492 tests will work as expected.
3494 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
3496 * HttpClientCertificate.cs: Implemented, except for validation. Note
3497 that the HttpWorkerRequest derived classes must be updated to supply
3498 the required informations.
3499 * HttpRequest.cs: Create an HttpClientCertificate on first call to
3502 2005-08-09 Miguel de Icaza <miguel@novell.com>
3504 * HttpRuntime.cs (AspInstallDirectory): Implement.
3506 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
3508 * HttpClientCertificate.cs: New. Stub. It won't be fun to test.
3510 2005-08-04 Ben Maurer <bmaurer@ximian.com>
3512 * HttpContext.cs: Kill a NIE.
3514 2005-08-04 Miguel de Icaza <miguel@novell.com>
3516 * HttpApplicationFactory.cs: Change "Start" event like the "End"
3517 event, and only do this once, when we init the type.
3519 Fire the "Application_Start" event after we create the type.
3521 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3523 * HttpApplication.cs: catch a ThreadAbort (coming from Response.End)
3526 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3528 * HttpResponse.cs: setting the Status property resets the
3529 StatusDescription (see the tests) and the default value for the
3530 description is the one provided by GetStatusDescription() in
3533 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3535 * HttpRequest.cs: s/boundry/boundary/ and fix typo in array creation.
3537 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3539 * HttpApplication.cs: add call to EndOfRequest when everything is said
3542 2005-08-02 Miguel de Icaza <miguel@novell.com>
3544 * HttpResponse.cs: Stub for TransmitFile.
3546 * HttpRequest.cs (IsAuthenticated): Implement.
3548 2005-08-01 Miguel de Icaza <miguel@novell.com>
3550 * HttpRequest.cs: Cope with implementations of HttpWorkerRequest
3551 (unpatched xsp) that do not send back the PreloadedEntityBody.
3553 * HttpApplication.cs: keep track of the factory.
3554 (Dispose): Only dispose once, clean up other variables, release
3555 the ManualResetEvent.
3556 Release the handler to the factory.
3558 * HttpApplicationFactory.cs: Implement a stack to reuse the
3561 * HttpRequest.cs: On uploads, if the ContentLenght is zero, throw
3564 * HttpRuntime.cs: Recycle the application after using it.
3566 * HttpPostedFile.cs: Implement SaveAs.
3568 * HttpContext.cs: Return the "Server" property.
3570 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3572 * HttpServerUtility.cs: implemented missing bits.
3574 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3576 * HttpRequest.cs: query string was getting a '?' as the start of the
3577 first variable name. This makes the asmx help page work again.
3579 2005-08-01 Miguel de Icaza <miguel@novell.com>
3581 * HttpRequest.cs (Cookies, Forms): Add validation.
3582 (Forms): Add application/x-www-form-urlencoded parsing and
3583 multipart/form-data parsing.
3585 (HttpMultiPart): Implement new class to load multi-part data from
3586 a stream since there is no longer a byte [] that holds the data
3587 (currently we have an unmanaged IntPtr buffer wrapped as a
3588 stream). Also the 2.x framework will add support for large
3589 uploads which are sent directly to disk, which will require the
3590 FileStream interface.
3592 (Path, PathInfo): Fill a couple more methods to avoid crashes.
3594 * HttpContext.cs: Fill another one to get web services summary
3595 page painting. The page does not work though.
3597 * HttpApplication.cs: Rework the pipeline to not depend on
3598 `finally', as `finally' would not be invoked if we choose not to
3599 call the pipeline again (which happens if the `stop' variable is
3602 Instead force the pipeline to go to the shutdown, and yield from
3603 there after all the release-state callbacks have been invoked.
3605 2005-07-31 Miguel de Icaza <miguel@novell.com>
3607 * HttpApplication.cs: Remove debugging messages since the compiler
3610 You must use at least mcs from revision 47879 for the application
3613 2005-07-30 Miguel de Icaza <miguel@novell.com>
3615 * HttpContext.cs: Error handling methods.
3617 * HttpResponse.cs: Trigger the last event.
3619 * HttpRuntime.cs: Add queueing of the next request.
3621 * HttpApplication.cs: Deploy the new yield-based application
3622 pipeline, add error handling to the pipeline.
3624 * HttpApplication.cs (AsyncRequestState): Just use the done event
3627 2005-07-29 Miguel de Icaza <miguel@novell.com>
3629 * HttpResponseStream.cs, HttpRequest.cs: Fix bugs found by nunit.
3631 * HttpApplication.cs: Fix a race condition.
3633 * HttpResponseStream.cs: Fix bug, send the size of the buffer that
3634 we have so far instead of the internal size of the buffer. This
3635 will need work later to ensure we enforce the Content-Length
3636 maximum output size if set.
3638 * ServerVariablesCollection.cs: This class now inherits from
3639 NameValueCollection, we should probably review what the middle
3640 class did, there are no dependencies on it.
3642 I need to write tests to investigate if something is missing or
3643 has changed in this implementation.
3645 2005-07-27 Miguel de Icaza <miguel@novell.com>
3647 * HttpRequest.cs: No happy replies here, send a 411.
3649 2005-07-27 Chris Toshok <toshok@ximian.com>
3651 * HttpResponseHeader.cs: remove spew.
3653 2005-07-27 Chris Toshok <toshok@ximian.com>
3655 * HttpResponseHeader.cs (HttpResponseHandler..ctor): use
3656 HttpWorkerRequest.GetKnownResponseHeaderName instead of
3657 GetKnownRequestHeaderName. Fixes Response.Redirect until miguel's
3658 new HttpReponse is online.
3660 2005-07-26 Miguel de Icaza <miguel@novell.com>
3662 * HttpResponse.cs: use_chunked is now a byte-array, if not null,
3663 we use it to hold the size of the chunked so we do not have to
3664 allocate many of these.
3665 (SendSize): Helper routine to send the chunked headers.
3666 (BinaryWrite): First user of the chunked writer.
3668 * HttpApplication.cs: Do not crash if they request a Server
3669 instance, but throw a NotImplementedException.
3671 * HttpRequest.cs: fix a few problems exposed by the regression
3674 * HttpRequest.cs (Cookies): use Chris' new constructor to get the
3677 : The big Uri rework: instead of using QueryString
3678 as the population mechanism, populate an UriBuilder from the
3679 various HttpWorkerRequest methods.
3681 * HttpWorkerRequest.cs (GetProtocol): Implement in terms of
3684 * HttpResponse.cs: Pointed by Ben, Write (null) is a nop instead
3687 * HttpContext.cs: Add a couple of properties to help the 2.x
3690 * HttpResponse.cs: Make ContentLength a long, add back support for
3691 session's app_path_mod.
3692 (ApplyAppPathmodifier): put back.
3693 (End): Pass a flag to abort so we can tell the exceptions appart
3695 (WriteHeaders): Send the HTTP status.
3696 (Redirect): Implement.
3697 (Write): Use the Output property to load writer when needed.
3699 * HttpRequest.cs (ctor): Temporary use of InitFromWR, will fix
3701 (MakeInputStream): check content-length size, use routines to load
3702 the preloaded data, handle incomplete transfers.
3703 (Query): Do not insert null keys into the collection.
3705 (UrlReferer): implement.
3707 * HttpApplication.cs (RunHooks): Catch Thread.Abort, and call
3708 Thread.ResetAbort after each step.
3710 Ensure that ReleaseState is called if we ever succeed in acquiring
3711 the state even if we have stopped the request pipeline.
3713 Report file not found, directory not found.
3715 2005-07-25 Miguel de Icaza <miguel@novell.com>
3717 * HttpCookieCollection.cs: Add expiration of the cookie.
3719 * HttpRequest.cs: Add check for ContentLength, use
3720 GetPreloadedEntityBody, correct number of bytes uploaded.
3722 2005-07-21 Miguel de Icaza <miguel@novell.com>
3724 * HttpResponseHeader.cs: Our implementation of HttpResponse only
3725 uses the text headers, does not use any constants as XSP would go
3726 through a slower code path anyways.
3728 2005-07-21 Chris Toshok <toshok@ximian.com>
3730 * HttpBrowserCapabilities.cs: enable support for the W3CDomVersion
3731 and EcmaScriptVersion properties.
3733 2005-07-21 Chris Toshok <toshok@ximian.com>
3735 * HttpResponseHeader.cs: hi, i'm stupid and missed String.Replace.
3737 2005-07-21 Chris Toshok <toshok@ximian.com>
3739 * HttpResponseHeader.cs: url encode just \r and \n if they're
3740 present in the value.
3742 2005-07-20 Chris Toshok <toshok@ximian.com>
3744 * HttpPostedFile.cs: add missing ContentLength property.
3746 2005-07-20 Chris Toshok <toshok@ximian.com>
3748 * HttpCookieCollection.cs: add a new ctor that takes a string (the
3749 contents of the Cookies: header).
3751 2005-07-20 Chris Toshok <toshok@ximian.com>
3753 * HttpCookieCollection.cs: add another ctor (internal, but not
3754 obsolete, so we aren't passing a stupid HttpResponse in in order
3755 to change the behavior of the collection.)
3757 * HttpCookie.cs: init this.values in the internal ctor.
3759 2005-07-20 Chris Toshok <toshok@ximian.com>
3761 * HttpCookieCollection.cs: use "auto-fill mode" when we're dealing
3762 with an HttpResponse's cookie collection. That is, create the
3763 cookie if the consumer looks it up.
3765 2005-07-20 Miguel de Icaza <miguel@novell.com>
3767 * HttpApplication.cs: Ongoing work on pipeline, I will need to
3770 2005-07-19 Miguel de Icaza <miguel@novell.com>
3772 * HttpContext.cs (GetService): Implement. Return all of the
3773 properties that we have access to. Make HttpWorkerRequest the
3774 first match as this is the only likely reason people need to use
3777 * IntPtrStream.cs: Bring from corlib.
3779 * MultiPartContentParser.cs: use a MemoryStream as HttpInputStream
3780 will now be using IntPtrStream.
3782 * HttpRequest.cs (MakeInputStream): move code that loads the
3784 (CloseInputStream): Helper method that we will call later to
3785 ensure that we dispose properly the malloced() block.
3786 (BinaryRead): Implemented.
3788 * HttpInputStream.cs: Rewrite to be a descendant of
3791 2005-07-18 Miguel de Icaza <miguel@novell.com>
3793 * HttpApplication.cs (Modules): Add modules support and
3796 2005-07-18 Chris Toshok <toshok@ximian.com>
3798 * HttpResponseHeader.cs: initial implementation.
3800 2005-07-18 Chris Toshok <toshok@ximian.com>
3802 * HttpModuleCollection.cs (HttpModuleCollection.GetKey): add
3805 * HttpFileCollection.cs: initial implementation.
3807 2005-07-18 Chris Toshok <toshok@ximian.com>
3809 * HttpModuleCollection.cs (HttpModuleCollection.CopyTo): implement
3812 2005-07-18 Chris Toshok <toshok@ximian.com>
3814 * HttpModuleCollection.cs: initial implementation.
3816 2005-07-18 Chris Toshok <toshok@ximian.com>
3818 * HttpCacheVaryByHeaders.cs: only add the header if it's not
3819 already in the hash.
3821 * HttpCacheVaryByParams.cs: only add the param if it's not already
3824 2005-07-18 Chris Toshok <toshok@ximian.com>
3826 * HttpCookie.cs (HttpCookie+CookieNVC.Set): new override to fix an
3829 2005-07-17 Miguel de Icaza <miguel@novell.com>
3831 * HttpRequest.cs (Headers, InputStream): implemented two more
3834 * HttpInputStream.cs: All we need is a MemoryStream with writable
3837 * HttpPostedFile.cs: Use a Stream.
3839 2005-07-16 Chris Toshok <toshok@ximian.com>
3841 * HttpCacheVaryByHeaders.cs: make sure we set vary_by_unspecified
3842 = false in the custom setter.
3844 2005-07-16 Chris Toshok <toshok@ximian.com>
3846 * HttpCacheVaryByParams.cs: initial implementation.
3848 2005-07-16 Chris Toshok <toshok@ximian.com>
3850 * HttpCacheVaryByHeaders.cs: initial implementation.
3852 2005-07-15 Chris Toshok <toshok@ximian.com>
3854 * HttpCookie.cs: one more time.
3856 2005-07-15 Chris Toshok <toshok@ximian.com>
3858 * HttpCookie.cs (HttpCookie.GetCookieHeader): use
3861 2005-07-15 Chris Toshok <toshok@ximian.com>
3863 * HttpCookie.cs (HttpCookie.GetCookieHeader): implement to fix
3866 2005-07-15 Chris Toshok <toshok@ximian.com>
3868 * HttpCookieCollection.cs: initial implementation (with a couple
3869 of labeled inefficiencies.)
3871 2005-07-15 Chris Toshok <toshok@ximian.com>
3873 * HttpCookie.cs (HttpCookie.get_HasKeys): use values.HasKeys()
3874 instead of trying to be smart about it ourselves.
3876 2005-07-15 Chris Toshok <toshok@ximian.com>
3878 * HttpCookie.cs: initial implementation. we fail one unit test,
3879 but it might be due to a bug in NameValueCollection.
3881 2005-07-15 Miguel de Icaza <miguel@novell.com>
3885 2005-07-14 Miguel de Icaza <miguel@novell.com>
3887 * HttpRuntime.cs: Return a few of the values from the AppDomain
3890 Put the application shutdown process.
3892 * HttpApplicationFactory.cs (AddEvent): Fixed bug when more than
3895 (FireEvent): Do not ignore errors.
3897 * HttpContext.cs (GetAppConfig, GetConfig): First success, use
3898 ConfigurationSettings.GetConfig to get the value that QueueManager
3901 2005-07-14 Dick Porter <dick@ximian.com>
3903 * HttpPostedFile.cs: New basic implementation; needs someone to
3904 figure out what a HttpRequestStream does
3906 2005-07-13 Miguel de Icaza <miguel@novell.com>
3908 * HttpRequest.cs: More work on this file
3910 * HttpRequest.cs, HttpApplication.cs, HttpContext.cs,
3911 HttpRuntime.cs: New from scratch implementation.
3913 2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
3915 * SiteMap.cs: Read provider info from the configuration files.
3917 2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3919 * HttpResponseHeader.cs: URL encode \r and \n in header values. Fixes
3922 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3924 * HttpUtility.cs: fix another stupid buglet in htmldecode.
3926 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3930 * HttpRequest.cs: use StrUtils (invariant culture).
3932 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3934 * HttpRequest.cs: use StartsWith when looking for 'multipart/form-data'.
3935 File uploading was broken since a few commits ago.
3937 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3939 * HttpResponse.cs: ensure that the last chunk ('0\r\n\r\n') is sent
3940 even if response.Close is called before a final flush. MS/IIS fails to
3943 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3945 * HttpRequest.cs: don't print anything for unknown content types in
3946 ParseFormData. Use lowercase compare.
3948 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3950 * HttpResponse.cs: invariant love.
3952 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3954 * HttpResponse.cs: avoid 1 string concat.
3955 * HttpRequest.cs: fix BinaryRead. It was totally wrong.
3957 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3959 * HttpUtility.cs: don't append an extra 0 when no digits seen. Fixes
3962 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3964 * HttpUtility.cs: the lower limit for using &#xx; encoding is 160, not
3965 128. Reset number back to 0 after use. Fixes bug #75365.
3967 2005-06-19 Svetlana Zholkovsky <svetlanaz-at-mainsoft.com>
3968 * In following classes added TARGET_J2EE or/and TARGET_JVM
3973 - CapabilitiesLoader.cs
3974 - HttpApplication.cs
3975 - HttpApplicationFactory.cs
3979 * Added Mainsoft's specific files :
3980 - GhHttpAsyncResult.jvm.cs
3982 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3984 * HttpRequest.cs: avoid one intermediate buffer when reading the request
3985 body and fail for over limit content length when the content type is
3986 not handled as form or multipart data.
3988 2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3990 * HttpResponse.cs: fix the check in Close() so that CloseConnection is
3991 called even if there has been no final Flush. Fixes bug #75176.
3993 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3995 * HttpParseException.cs:
3997 * HttpApplication.cs: updates for 1.1 service pack.
3999 2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4001 * HttpUtility.cs: fix InvalidCastException.
4003 2005-06-05 Kornél Pál <kornelpal@hotmail.com>
4005 * HttpWriter.cs: Fixed: _OutputFilter.Close () was called twice.
4007 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4009 * HttpUtility.cs: modified HtmlDecode so that it does not need to call
4010 Int32.Parse and handles improper &# sequences. Fixes bug #74907.
4012 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
4014 * SiteMapNodeCollection.cs: Implemented missing methods. The collection
4015 does not inherit from CollectionBase any more.
4016 * SiteMapNode.cs: Track api changes.
4017 * SiteMapProvider.cs: Moved several methods to the new
4018 StaticSiteMapProvider class. Other fixes.
4019 * XmlSiteMapProvider.cs: Watch changes in the xml files. Other fixes.
4020 * SiteMapProviderCollection.cs: Minor fixes.
4021 * SiteMap.cs: Added missing event. Avoid double check lock.
4022 * StaticSiteMapProvider.cs: New class that implements some of the
4023 funtionality of SiteMapProvider.
4025 2005-05-25 Ben Maurer <bmaurer@ximian.com>
4027 * MimeTypes.cs: Remove extra spaces, they were typos. Fixes 75049.
4029 2005-05-13 Atsushi Enomoto <atsishi@ximian.com>
4031 * HttpUtility.cs : UrlDecodeToBytes() incorrectly decoded escaped
4032 characters. Patch by Kazuki Oikawa.
4034 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4036 * HttpRuntime.cs: PlatformID.Unix.
4038 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4040 * HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
4041 Clear the _Headers array instead of creating a new ArrayList in
4044 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4046 * HttpResponse.cs: we had 2 variables to track client connection status.
4047 Use only one. Increase the buffer size to 28KB when writing from a file.
4049 * StaticFileHandler.cs: set the Content-Type before writing the file.
4050 This allows flushing before all the content is written.
4052 * HttpApplication.cs: use the variable instead of the property when
4053 setting the Principal for the current process.
4055 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4057 * ReusableMemoryStream.cs:
4058 * HttpWriter.cs: keep a pool of buffers to avoid allocations.
4060 2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4062 * HttpResponse.cs: no need to save/restore the thread culture when
4063 getting the Date header. According to Ben's profiling, this is a big
4064 deal in performance.
4066 * HttpRuntime.cs: ignore exceptions that might be thrown when unloading
4069 2005-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4071 * HttpApplicationFactory.cs: ignore any exception thrown when invoking
4072 an application event.
4074 2005-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4076 * HttpBrowserCapabilities.cs: fix Win32 property.
4078 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4080 * HttpResponse.cs: only add the charset when explicitly set or for
4081 well-known content types.
4083 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4085 * HttpCachePolicy.cs:
4086 * HttpAsyncResult.cs:
4087 * HttpClientCertificate.cs:
4090 * HttpCacheVaryByHeaders.cs:
4091 * HttpBrowserCapabilities.cs:
4093 * HttpCacheVaryByParams.cs: no more warnings.
4095 * QueueManager.cs: check for local connections with minLocalFreeThreads.
4097 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4099 * ServerVariablesCollection.cs: shuffled variables, added missing ones
4100 and call a method in HttpRequest to set the HTTP_ variables.
4102 * HttpRequest.cs: new method to add HTTP_ variables to a collection.
4104 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4106 * HttpRequest.cs: GetAllHeaders was returning the value twice instead
4107 of 'name: value'. When HTTP_ is requested on the output, don't include
4110 2005-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4112 * HttpCookieCollection.cs: when adding more than one cookie with the
4113 same name, the last one is the winner.
4115 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4117 * HttpRequest.cs: correctly store the value cookies in Params. Fixes
4120 2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4122 * HttpRequest.cs: Path and FilePath also change when RewritePath is
4123 called. Fixes bug #73055.
4125 2005-02-23 Sebastien Pouliot <sebastien@ximian.com>
4127 * HttpRequest.cs: Make sure that any access after a ValidateInput
4128 throws an exception if the data isn't safe.
4130 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4132 * CapabilitiesLoader.cs: fix the path, as machine.config is now in a
4133 x.x/ directory below $PREFIX/etc/mono.
4135 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4137 * HttpRequest.cs: fail on unicode full-width '<' and '>' too. Fixes
4138 a security report (http://secunia.com/advisories/14325) that wan't
4139 reported to us before public disclosure.
4141 2005-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4143 * HttpResponse.cs: send the calculated content length even when it's 0.
4146 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
4148 * HttpContext.cs: Added internal property to keep a reference to
4149 the last accessed page. Page uses this to implement PreviousPage.
4151 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
4153 * ProcessModelInfo.cs: Fixed warning.
4155 2005-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4157 * TraceContext.cs: writing a message without any other argument is not
4158 a warniing. Fixes bug #72017.
4160 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4162 * HttpApplication.cs: if there are no more handlers, finish the
4163 request and ensure we call Complete on it. Now FreeTextBox 3.0 works.
4165 2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4167 * HttpRequest.cs: honor the maxRequestSize limit from machine.config.
4169 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4171 * HttpApplication.cs: reread application CultureInfo as web.config
4172 might have changed. Fixes bug #62539.
4174 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4176 * HttpResponse.cs: fixed ApplyAppPathModifier to insert the session ID.
4178 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4180 * HttpApplicationFactory.cs: monitor changes in global.asax and bin
4181 directory and shutdown the application when that happens. Fixes bug
4184 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4186 * ReusableMemoryStream.cs: copied from System.IO.MemoryStream and
4187 slightly modified to allow expanding the buffer for cases on which the
4188 regular MemoryStream don't allow it.
4190 * HttpWriter.cs: use the new ReusableMemoryStream and fix bug #59841.
4191 Otherwise we would have to allocate a new MemoryStream...
4193 2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4195 * HttpApplication.cs: Create() is now GetInstance().
4197 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
4199 * SiteMapNodeCollection.cs: Added missing properties.
4200 * HttpParseException.cs: Added 2.0 methods and properties.
4201 * SiteMapNode.cs: Added missing methods and properties.
4202 * SiteMapProvider.cs, XmlSiteMapProvider.cs,
4203 SiteMapProviderCollection.cs: IProvider does not exist any
4204 more, it is now ProviderBase.
4205 * ISiteMapProvider.cs: Deleted.
4206 * ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
4208 * SiteMap.cs: Minor fixes.
4210 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
4212 * SiteMapProviderCollection.cs: Fixed warning.
4213 * HttpApplication.cs: Added new 2.0 events.
4215 2004-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4217 * HttpResponse.cs: added internl SetHeadersSent.
4218 * HttpRuntime.cs: don't throw the 'headers already sent' exception
4219 if we're sending a runtime error.
4221 2004-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4223 * HttpApplication.cs: undo the TimeoutManager.(Add|Remove) shuffling.
4224 It causes troubles under heavy load.
4226 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4228 * SiteMap.cs: don't lock on Type.
4229 * CapabilitiesLoader.cs: avoid 2 locks when loading data.
4231 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4233 * HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
4234 presence of rewriting.
4236 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4238 * HttpApplication.cs: don't hang if a sync step is aborted. Fixes the
4239 system.web portion of bug #68270.
4241 2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4243 * TraceContext.cs: don't cast to Page is the handler it's
4246 2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4248 * HttpRequest.cs: CurrentExecutionFilePath is the one that
4249 changes when Transfer or Execute are used, not FilePath.
4251 * HttpServerUtility.cs: moved form saving/restoring from
4252 Transfer to Execute, as it's needed there too. the query string is
4253 correctly set now. Fixes bug #67388.
4255 * HttpContext.cs: use SetCurrentExePath instead of SetFilePath.
4257 2004-10-03 Ben Maurer <bmaurer@ximian.com>
4259 * HttpResponse.cs: use UtcNow
4261 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4263 * HttpResponse.cs: SuppressContent does not throw and clears all the
4264 buffered output. Fixes bug #67213.
4266 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4268 * HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.
4270 2004-09-29 Ben Maurer <bmaurer@ximian.com>
4272 * HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.
4274 2004-09-25 Ben Maurer <bmaurer@ximian.com>
4276 * HttpApplication.cs: Make sure requests are removed from
4277 the timeout manager. Fixes a major leak. #66751.
4279 2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4281 * HttpApplicationFactory.cs:
4282 * HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
4285 2004-09-12 Ben Maurer <bmaurer@ximian.com>
4287 * HttpContext.cs: use CallContext. It is a little bit faster.
4289 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4291 * HttpStaticObjectsCollection.cs: don't share static session objects
4292 declared in the application file across the application, but on a
4293 per-session basis. Fixes bug #65446.
4295 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4297 * HttpServerUtility.cs: in Transfer(path), don't keep form data if
4298 the transfer is done from inside a page that received a postback.
4301 2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4303 * HttpValueCollection.cs: fixed signature of ToString (). Closes bug
4306 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
4308 * HttpWriter.cs (.ctor): Dont create teh StreamWriter twice
4309 (Clear): Don't recreate the MemoryStream and StreamWriter
4311 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4313 * HttpApplication.cs: only add/remove to/from the timeout
4314 manager when we're in a interruptible step.
4316 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4318 * TraceContext.cs: when IsEnabled has not been set, return the value
4319 from the TraceManager. Fixes bug #63469.
4321 2004-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4323 * HttpRuntime.cs: initialize the response writer when finishing a
4324 request because it cannot be queued. Under heavy load we made new
4325 requests be processed before the ones that might be queued. This is
4328 * QueueManager.cs: instead of queueing/dequeuing separately, we now
4329 have a single method that does everything needed to decide which one
4330 will be the next request processed.
4332 2004-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4334 * HttpRuntime.cs: removed initializations to null in .cctor. Prevent
4335 other requests from avoiding the lock if they are received before the
4336 configuration system is inited. Ensure that the queue manager is not
4337 null before using it (it can be null while the first request is being
4340 2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4342 * HttpServerUtility.cs: ensure we have a full virtual path for the
4343 request being executed.
4345 2004-08-02 Duncan Mak <duncan@ximian.com>
4347 * ApplicationShutdownReason.cs: Fixed typos.
4349 * HttpCookieMode.cs:
4350 * HttpDataTransferMode.cs:
4351 * HttpRequestPriority.cs: Added [Serializable] attribute.
4353 2004-08-02 Duncan Mak <duncan@ximian.com>
4355 * ApplicationShutdownReason.cs:
4356 * HttpCookieMode.cs:
4357 * HttpDataTransferMode.cs:
4358 * HttpRequestPriority.cs: Added 2.0 enumerations.
4360 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4362 * HttpApplication.cs: the file not found might be a dependency.
4364 2004-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4366 * HttpCookie.cs: use invariant when formatting expires date. Fixes bug
4369 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4371 * HttpApplication.cs: don't keep the session around if we got it from
4372 the context. Fixes bug #61232.
4374 2004-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4376 * HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
4379 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4381 * TraceContext.cs: added internal HaveTrace property whose
4382 value is true when the page has a Trace attribute.
4384 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4386 * TraceData.cs: fixed <br> output. Closes bug #60181.
4388 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4390 * HttpUtility.cs: check for control characters in the string to encode
4391 or decode and return the same string if there are none.
4393 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4395 * HttpApplication.cs: change/restore the IPrincipal in their own methods
4396 and make them internal.
4398 2004-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4400 * HttpContext.cs: reverting Pedro's patch and sending mail with test
4403 2004-06-09 Pedro Martnez Juli <yoros@wanadoo.es>
4405 * HttpContext: User property returns its own "user" value because
4406 the context can walk through different Threads. When "User" property
4407 is changed, change "Thread.CurrentPrincipal" too.
4409 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4411 * HttpRequest.cs: removed extra ^Ms and fixed style of last patch.
4413 2004-06-08 Alon Gazit <along@mainsoft.com>
4415 * HttpRequest.cs: Add a patch for HttpRequest.ServerVariables.
4417 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
4419 * HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
4420 Fix (at least partially) #59683.
4422 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4424 * HttpRequest.cs: reverting patch from Alon Gazit. Uses the above file
4425 that doesn't compile.
4427 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4429 * TraceData.cs: fixes nullref in an application that relies on
4430 r ["Message"] not being null. Closes bug #59679.
4432 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4434 * HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.
4436 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4438 * HttpRuntime.cs: implemented a 5 simple properties that were TODOs.
4440 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4442 * HttpBrowserCapabilities.cs: implemented ClrVersion and GetClrVersions.
4443 * HttpException.cs: removed MonoTODO.
4445 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4447 * TraceContext.cs: don't check if HttpRuntime.TraceManager
4448 is enabled when writing.
4450 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4452 * HttpRequest.cs: added ClientTarget internal property.
4454 2004-06-03 Lluis Sanchez Gual <lluis@ximian.com>
4456 * HttpApplication.cs: Clear the http handler list after releasing the
4459 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4461 * TraceData.cs: html-encode the messages written to the trace. Fixes
4464 2004-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4466 * HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
4469 2004-05-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4471 * HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
4472 when SetFilePath is called. This way the cached values are reset and
4473 get the right value in case someone (namely SessionStateModule +
4474 cookieless session) changes the FilePath after the property cached its
4475 value. Fixes bug #59364.
4477 2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>
4479 * HttpApplicationFactory.cs: Added SignalError (still todo)
4481 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4483 * HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
4484 chunked encoding disabled. Fixed chunked suffix and end. Send the
4485 'lastchunk' marked when in the final Flush even if the content length
4486 is 0. This makes mod-mono-server work fine with chunked encoding.
4488 * HttpRuntime.cs: Set the _firstRequest* variables to true
4489 earlier. TraceContext don't take any parameter now.
4491 * TraceManager.cs: don't need a context. Use GetAppConfig.
4493 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4495 * HttpApplication.cs: set culture/uiculture from configuration and
4496 restore it after each step. Fixes bug #52851.
4498 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4500 * HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
4501 entities hashtable creation until it's really needed.
4503 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4505 * HttpApplicationFactory.cs: if no module matches the name found for a
4506 possible event, ignore it. Fixes bug #58542.
4508 2004-05-16 Patrik Torstensson <totte@hiddenpeaks.com>
4510 * HttpRuntime (Init): Removed old todo
4511 * HttApplication : Implemented IHttpHandlerFactory recycling
4513 2004-04-28 Patrik Torstensson
4515 * HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
4518 2004-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4520 * HttpUtility.cs: return null in HtmlDecode for null input instead of
4521 throwing an exception. Patch by Jan Jaros (bug #57083).
4523 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
4525 * TimeoutManager.cs: Swap the order of initialization of contexts
4526 and the Timer, to avoid race condition of CheckTimeouts being called
4527 before contexts gets initialized.
4529 2004-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4531 * HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
4532 Now the posted file content does not have the boundaries and headers
4535 2004-03-25 Alon Gazit <along@mainsoft.com>
4537 * HttpRequest.cs: fix ValidateCookieCollection() to prevent
4538 InvalidCastException.
4540 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4542 * HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.
4544 2004-03-01 Larry Ewing <lewing@ximian.com>
4546 * HttpUtility.cs: fix UrlEncodeToBytes count check.
4548 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4550 * HttpServerUtility.cs:
4551 * HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
4554 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4556 * HttpUtility.cs: fixed length check. Closes bug #54201.
4557 Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
4560 2004-02-11 Jackson Harper <jackson@ximian.com>
4562 * TraceData.cs: Use ToString for cookie/header/var name values so
4563 null is handled properly.
4565 2004-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4567 * HttpApplication.cs: ApplicationState is inited by the factory so,
4568 return that value in the property. when we use the context Session,
4569 cache it in the instance field.
4571 * HttpApplicationFactory.cs: fixed target Type for the event when
4572 hooking application and module events. Initialize application
4573 and session scope objects. Fixes non-aplication events hook up.
4575 * HttpStaticObjectsCollection.cs: added StaticItem and delay the
4576 creation of the objects until they are requested.
4578 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4580 * HttpApplicationFactory.cs: fixlet for session events hook.
4582 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4584 * HttpApplicationFactory.cs: attach all events from Type and BaseType
4585 at the same time. Fixes bug #53454.
4587 2004-01-27 Jackson Harper <jackson@ximian.com>
4589 * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
4590 null now, dont hadd the header if it does.
4591 * HttpCacheVaryByParams.cs: Return null if there are no items.
4593 2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4595 * HttpCachePolicy.cs: it's not public.
4596 * HttpRuntime.cs: wait for requests before disposing the queue.
4598 2004-01-15 Jackson Harper <jackson@ximian.com>
4600 * HttpCachePolicy.cs: Fix typo causing varyby params headers to be
4601 created when they shouldn't be.
4603 2004-01-14 Jackson Harper <jackson@ximian.com>
4605 * TraceData.cs: Fix some typos in the output text. Fix control
4606 position when adding controls recursively.
4608 2004-01-14 Jackson Harper <jackson@ximian.com>
4610 * HttpCachePolicy.cs: Expose duration and sliding properties.
4612 2004-01-14 Jackson Harper <jackson@ximian.com>
4614 * HttpCachePolicy.cs: Add an event that is fired when the
4615 cacheability is updated. The response uses this to determine
4616 whether or not it needs to cache itself.
4617 * HttpResponse.cs: When the cacheability is updated either create
4618 or dispose of the cached raw response based on whether or not we
4619 wil need it. This allows output caching to be controlled
4622 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4624 * HttpContext.cs: add setter for ConfigTimeout.
4625 * HttpException.cs: added Description property and HTML encode some
4628 * HttpRequest.cs: support request validation.
4630 * HttpRequestValidationException.cs: added message and description.
4632 * HttpServerUtility.cs: implemented ScriptTimeout.
4634 2004-01-11 Jackson Harper <jackson@ximian.com>
4636 * TraceManager.cs: Dont crash if there is no trace config element.
4638 2004-01-11 Jackson Harper <jackson@ximian.com>
4640 * HttpRequest.cs: Add property for determining if the request is
4643 2004-01-10 Jackson Harper <jackson@ximian.com>
4645 * TraceContext.cs: Handle tracing when it is enabled in the config
4646 file but not on the page.
4647 * TraceManager.cs: Get settings from the configuration object.
4648 * HttpRuntime.cs: Create trace manager in the first request start
4649 so it can get configuration settings.
4651 2004-01-10 Jackson Harper <jackson@ximian.com>
4653 * TraceContext.cs: Save the request path in the trace data.
4654 * TraceData.cs: Add RequestPath property, make some rendering
4655 methods internal static so the TraceHandler can use them.
4656 * TraceManager.cs: Expose trace data, add a method for clearing
4659 2004-01-10 Jackson Harper <jackson@ximian.com>
4661 * HttpRuntime.cs: Add trace manager
4662 * TraceManager.cs: New class for handling trace configuration and
4663 storing trace data objects.
4664 * TraceContext.cs: Save trace data to the trace manager. Fix typo.
4666 2004-01-10 Jackson Harper <jackson@ximian.com>
4668 * TraceData.cs: New class for storing trace data. Data is stored
4669 here instead of the trace context so it can be saved and accessed
4670 from the trace handler.
4671 * TraceContext.cs: Save data in the TraceData object, let the
4672 trace data object handle the rendering.
4674 2004-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4676 * HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
4677 Thanks to Jan Jaros (mono-bug@jerryweb.info).
4679 * HttpRequestValidationException.cs: fix comment.
4681 2004-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4683 * HttpException.cs: default to error 500. Fixes bug #52623.
4685 2004-01-04 Jackson Harper <jackson@ximian.com>
4687 * TraceContext.cs: Store and render trace info times. Also render
4688 cookie sizes. Remove debug code.
4690 2004-01-04 Jackson Harper <jackson@ximian.com>
4692 * HttpResponse.cs: Set the cached response date header so it can
4694 * HttpResponseHeader.cs: Let values be set so we can update cached
4695 response header values.
4697 2004-01-04 Jackson Harper <jackson@ximian.com>
4699 * HttpResponse.cs: Implement RemoveOutputCacheItem.
4701 2004-01-04 Jackson Harper <jackson@ximian.com>
4703 * HttpCachePolicy.cs: Add internal method to get the vary by custom string
4704 * HttpCacheVaryByHeaders.cs: Add internal method to get the header names.
4706 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4708 * HttpRuntime.cs: implemented MachineConfigurationDirectory,
4710 2004-1-1 Alon Gazit <along@mainsoft.com>
4711 * HttpWriter.cs: add check in Write() in order to prevent
4712 NullReferenceException.
4714 2004-1-1 Alon Gazit <along@mainsoft.com>
4715 * HttpResponse.cs: implemented ExpiresAbsolute and Expires.
4717 2003-12-18 Jackson Harper <jackson@ximian.com>
4719 * TraceContext.cs: Write () methods are not warnings.
4721 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4723 * HttpBrowserCapabilities.cs: added GetClrVersions ().
4724 * HttpCachePolicy.cs: added SetAllowResponseInBrowserHistory ().
4725 * HttpContext.cs: added set_Current and RewritePath (s, s, s) for 1.1.
4726 * HttpRequest.cs: added set_ContentType, SetPathInfo and ValidateInput.
4727 * HttpRequestValidationException.cs: new class for 1.1
4728 * HttpResponse.cs: added RedirectLocation.
4729 * HttpRuntime.cs: added UnloadAppDomain.
4730 * HttpServerUtility.cs: Execute (s, t, b) is internal for < 1.2
4731 * HttpUtility.cs: copied UrlPathEncode from HttpServerUtility.
4732 * HttpWorkerRequest.cs: added [ComVisible] and made the ctor public.
4734 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4736 * HttpContext.cs: implemented IsCustomErrorEnabled and
4737 IsDebuggingEnabled. Added internal ErrorPage property.
4739 * HttpRuntime.cs: on error, check if we have a custom error page enabled
4740 to handle it and redirect.
4742 * HttpResponse.cs: added RedirectCustomError (), which actually does
4743 the redirection to the error page.
4745 2003-12-16 Jackson Harper <jackson@ximian.com>
4747 * TraceContext.cs: Render all the data, and the stylesheet.
4749 2003-12-16 Jackson Harper <jackson@ximian.com>
4751 * TraceContext.cs: Add incomplete render method.
4753 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4755 * CapabilitiesLoader.cs: loads browser detection and capabilities data
4756 from browscap.ini file by Gary J. Keith.
4758 * HttpBrowserCapabilities.cs: removed almost all TODOs.
4760 * HttpRequest.cs: fixed Browser property.
4762 2003-12-15 Jackson Harper <jackson@ximian.com>
4764 * TraceContext.cs: Initial implementation of storing data.
4765 * HttpContext.cs: Create and expose a trace object.
4767 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4769 * HttpApplication.cs: ThreadAbortException is ok on Redirect.
4770 * HttpContext.cs: added TimeoutPossible property.
4771 * HttpResponse.cs: throw ThreadAbortException if End () is called within
4772 a step in which is possible to timeout.
4776 2003-12-04 Jackson Harper <jackson@ximian.com>
4778 * HttpRequest.cs: Cleanup method.
4780 2003-12-04 Jackson Harper <jackson@ximian.com>
4782 * HttpValueCollection.cs: Allow blank value names. Posting
4783 <blank>=SomeValue is valid. And occurs if a radio button does
4784 not have its name set.
4786 2003-12-03 Jackson Harper <jackson@ximian.com>
4788 * HttpResponse.cs: Actually apply an app path modifier in
4789 ApplyAppPathModifer and add a method to set the app path modifier.
4790 * HttpRequest.cs: Add utility method for setting a request header.
4792 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4794 * HttpApplication.cs: handle FileNotFound and DirectoryNotFound
4795 exceptions when creating the handler to generate a better error page.
4797 * HttpException.cs: display the http_code if available. Changed all
4798 \n by \r\n to make the hidden stack trace readable.
4800 * StaticFileHandler.cs: don't send the real path in th eerror.
4802 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4804 * HttpContext.cs: updated GetConfig and GetAppConfig to new API.
4806 * HttpResponse.cs: separate initialization of the HttpWriter, as it
4807 tries to read configuration settings while the config. system is not
4808 available (ie, before the first request).
4810 * HttpRuntime.cs: delayed queueManager and response writer
4811 initialization until the configuration system is working.
4813 2003-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4815 * HttpRuntime.cs: added request queue handling.
4817 * QueueManager.cs: simple request queue.
4819 * TimeoutManager.cs: added some locks to prevent the enumerator used in
4820 CheckTimeouts to be out of synch.
4822 2003-11-25 Jackson Harper <jackson@ximian.com>
4824 * HttpStaticObjectsCollection.cs: Add methods for serialization
4825 and conversion to/from byte arrays.
4827 2003-11-21 Jackson Harper <jackson@ximian.com>
4829 * HttpResponse.cs: When caching data set the content length in the
4830 cached repsonse so that only that amount will be written back to
4831 the client. Add method to write a range of binary data.
4832 * HttpCacheVaryByParams.cs: Add method to retrieve param names.
4834 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4836 * HttpApplication.cs:
4838 * HttpRuntime.cs: add timeout handling.
4839 * TimeoutManager.cs: new class that takes care of aborting threads on
4842 2003-11-19 Jackson Harper <jackson@ximian.com>
4844 * HttpWriter.cs: Use a constant for the buffer size so the cache
4845 can get the buffer size. Add method to get the buffer.
4846 * HttpResponse.cs: Methods for getting data to cache, and setting
4847 vars from the cache.
4848 * HttpCachePolicy.cs: Expose a pages cache expire time.
4850 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4853 * HttpWriter.cs: some fixes to allow closing a response stream without
4856 2003-11-13 Jackson Harper <jackson@ximian.com>
4858 * HttpCachePolicy.cs: Make sure cacheability and maxage get
4859 set. Add method to set Http response header data
4860 * HttpCacheVaryByParams.cs: Add method to create a response header.
4861 * HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
4862 * HttpResponse.cs: Set cache headers.
4864 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
4866 * HttpModuleCollection.cs (GetKey): Recursion, again!
4868 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
4870 * HttpClientCertificate.cs (ValidUntil): recursion!
4872 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
4874 * SiteMapNode.cs (GetDataSourceView): Implement.
4875 * SiteMapProvider.cs: Typo fixing.
4876 * XmlSiteMapProvider.cs: We shouldnt resolve here.
4878 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
4880 * SiteMap.cs (Init): implement a hack that doesnt need the config
4881 stuff. Should do that later.
4882 * SiteMapNodeCollection (OnValidate): Fix recursion.
4883 * SiteMapProvider.cs: We dont implement some culture stuff work
4884 around it. Fix typo.
4885 * XmlSiteMapProvider.cs: Added.
4887 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
4889 * ISiteMapProvider.cs:
4892 * SiteMapNodeCollection.cs:
4893 * SiteMapProvider.cs:
4894 * SiteMapProviderCollection.cs: V2 sitemap related stuff.
4896 2003-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4898 * HttpRequest.cs: don't attempt to read more bytes than specified
4901 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4906 * HttpValueCollection.cs: encoding fixes/updates.
4908 * HttpWriter.cs: when updating the encoding, flush the existing stream.
4911 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
4913 * HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
4914 return false (which makes sense, as the custom errors *arent* enabled;
4916 * HttpResponseStream.cs: you actually can write with len = 0
4918 2003-11-03 Jackson Harper <jackson@ximian.com>
4920 * HttpResponse.cs (ContentEncoding): Throw
4921 ArgumentNullException. Patch by Yaron Shkop.
4923 2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4925 * HttpMultipartContentParser.cs : Quick fix for cygwin build.
4926 CSC complains that constant char cannot be casted as byte.
4928 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4930 * HttpApplication.cs: added AssemblyLocation property.
4932 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4934 * HttpApplicationFactory.cs: use NoParamsInvoker.
4935 * HttpRequest.cs: support request filters.
4936 * HttpRequestStream.cs: mono-stylized and added new Set method.
4938 * NoParamsInvoker.cs: proxy class to invoke user-provided methods
4939 without parameters that are invoked by EventHandlers.
4941 2003-10-13 Lluis Sanchez Gual <lluis@ximian.com>
4943 * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
4944 to invariant culture.
4946 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4949 * HttpServerUtility.cs: change the response writer in Execute. Thanks
4950 to Rich Alimi <rich@velvetsea.net> for noticing this.
4952 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4954 * HttpApplicationFactory.cs: support for wiring up events without
4957 2003-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4959 * HttpUtility.cs: small memory usage reduction.
4961 2003-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4963 * HttpApplication.cs: pass the Uri, not the file path to
4964 when looking for a handler.
4966 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4968 * HttpRequest.cs: small fix needed when reading big POST data.
4970 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
4972 * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
4973 (this will get the address from the request headers).
4975 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
4977 * HttpServerUtility.cs: In Transfer(), preserve the query string if
4980 2003-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4982 * HttpApplication.cs: ensure we do all the EndRequest steps. Don't
4983 filter the output on error.
4985 * HttpResponse.cs: modified DoFilter to allow bypassing filtering.
4987 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4989 * HttpApplication.cs: when the request is completed or an
4990 error happens, execute all the delegates attached to EndRequest, not
4991 only the last one. This makes xsp/test/authtest work again.
4993 * HttpMethodNotAllowedHandler.cs: fixed description for http
4996 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4998 * HttpRequest.cs: quick way of checking that the path is within the
4999 root for the application. Thanks to Johannes for reporting.
5001 * HttpRuntime.cs: use the status code from teh exception when it'ss a
5004 * StaticFileHandler.cs: forbidden is 403.
5006 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5008 * HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
5009 <rich@velvetsea.net>.
5011 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5013 * HttpException.cs: make the unhandled error more like the MS one.
5014 * HttpRuntime.cs: set a 500 error code on unhandled exceptions.
5016 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5018 * HttpResponse.cs: flush headers when the body length is 0.
5019 * StaticFileHandler.cs: added If-Modified-Since handling patch slightly
5020 modified from the original by Piers Haken <piersh@friskit.com>.
5022 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5024 * HttpResponse.cs: another patch from totte and me. This one prevents
5025 writing output if the client have disconnected and filters the data
5026 when there's a non-final Flush in the middle of the process.
5028 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5030 * HttpApplication.cs: fixed typos. Closes bug #44197.
5032 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5034 * HttpApplication.cs:
5035 * HttpApplicationFactory.cs: fix duplicate application OnStart events.
5037 Patch by Patrik Torstensson.
5039 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5041 * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
5042 overload. The previous one only admits static methods.
5044 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5046 * ProcessModelInfo.cs: Fixed signature
5048 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5050 * WebCategoryAttribute.cs: Implemented localization
5051 * WebSysDescriptionAttribute.cs: Implemented localization
5053 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5055 * HttpRuntime.cs: also clear the headers that may have been set upon
5056 error processing the request.
5058 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5060 * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
5063 * HttpWriter.cs: flush the filter after writing.
5065 2003-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5067 * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
5069 2003-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5071 * HttpContext.cs: Session doesn't have a setter.
5073 * HttpResponse.cs: Request is private.
5075 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5077 * HttpRequest.cs: fixed Headers property. It was getting known headers
5078 values instead of known headers names.
5080 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5082 * HttpApplication.cs: prevent nullref if an error happens before context
5084 * HttpException.cs: small fix in the stack trace sent.
5085 * HttpUtility.cs: the lock is not needed.
5087 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5089 * HttpRequest.cs: added REMOTE_PORT.
5090 * HttpValueCollection.cs: fixed bug #45490.
5092 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5094 * HttpApplication.cs:
5095 * HttpApplicationFactory.cs: fire application start and session
5098 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5100 * HttpException.cs: encode as HTML the inner exception that
5101 is appended as a comment at the end of error pages.
5103 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5105 * HttpWriter.cs: don't do anything in Flush. Fixes #42249.
5107 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5109 * HtmlizedException.cs: added more virtual methods.
5111 * HttpException.cs: some work on the output when there's a source
5114 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5116 * HtmlizedException.cs: simplified to cope with the new interface.
5118 * HttpApplicationFactory.cs: use the application file parser to get the
5121 * HttpException.cs: small changes. Needs some more work on
5124 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5126 * HttpRequest.cs: fixed Url property.
5128 2003-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5130 * HtmlizedException.cs:
5131 * HttpException.cs: display the correct line number in error messages.
5133 2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5135 * HttpCachePolicy.cs: implemented all TODOs.
5136 * HttpRequestStream.cs: make it internal.
5138 2003-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5140 * HttpContext.cs: implemented RewritePath in other way.
5141 * HttpRequest.cs: removed SetPhysicalPath and added SetForm.
5142 * HttpServerUtility.cs: implemented Transfer (string, bool).
5144 2003-03-16 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
5145 * HttpContext.cs : Implemented RewritePath
5146 * HttpRequest.cs : Added internal function SetPhysicalPath
5148 2003-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5150 * HttpServerUtility.cs: implemented Transfer ().
5152 2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5154 * HttpRuntime.cs: Cache no longer have a Dispose method.
5156 * HttpServerUtility.cs: removed MonoTODO.
5158 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5160 * HttpHelper.cs: store the values in an ArrayList to get them in correct
5163 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5165 * HttpApplicationFactory.cs: Global.asax takes precedence over
5166 global.asax if it exists.
5168 * HttpRequest.cs: use allowCrossAppMapping in MapPath.
5170 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5172 * HttpApplication.cs: CreateHttpHandler is now internal.
5174 * HttpRequest.cs: allow setting QueryStringRaw, which
5175 invalidates the data obtained from the previous value. Added internal
5178 * HttpServerUtility.cs: implemented Execute and GetLastError.
5180 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5182 * HttpServerUtility.cs: style.
5184 2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5186 * HttpApplication.cs: only execute the EndRequest step on error
5187 condition or request marked as completed. This prevent page events from
5188 being called when, for example, the url authorization module forbids
5191 2003-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5193 * HttpRequest.cs: implemented the indexer.
5195 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5197 * HtmlizedException.cs: base class for exceptions that makes it easy to
5198 generate error pages.
5200 * HttpException.cs: improved error displaying.
5202 * HttpRuntime.cs: removed debugging output.
5204 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5206 * HttpApplication.cs: display the error instead of hanging when we get
5207 any error before the last step of the request.
5209 2003-02-04 Tim Haynes <thaynes@openlinksw.com>
5211 * HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement
5214 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5216 * HttpRequest.cs: added BaseVirtualDir property and use it in MapPath.
5218 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5220 * HttpRequest.cs: implemented CurrentExecutionFilePath.
5222 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5224 * HttpApplication.cs: keep _lasterror if no context. Attach
5225 application events *after* modules initialization (if not, User is not
5226 set when the user handler is called).
5228 * HttpApplicationFactory.cs: made all methods related to
5229 AttachEvents static. I will fix OnStart/OnEnd for application and
5232 * HttpRequest.cs: don't initialize cookies twice.
5234 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5237 (ApplyAppPathModifiers): return the root directory for "".
5239 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5241 * HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.
5243 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5245 * HttpApplication.cs: added new state to handle default authentication.
5247 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5249 * HttpContext.cs: removed hack to get the User.
5251 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5253 * HttpUtility.cs: fixed bug #36038. Thanks to juancri@tagnet.org for
5254 reporting the bug and how to fix it.
5256 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5258 * HttpCookie.cs: send 'expires' in the header.
5260 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5262 * HttpValueCollection.cs: patch from Botjan Vizin
5263 <bostjan.vizin@siol.net> that implements ToString (bool).
5265 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5267 * HttpApplicationFactory.cs: add the context as parameter when building
5268 the application Type.
5270 * HttpCookie.cs: new internal constructor.
5271 * HttpCookieCollection.cs: new internal method to make a cookie expire.
5273 * HttpRequest.cs: MapPath fixes.
5274 * HttpResponse.cs: implemented ApplyAppPathModifier.
5275 * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
5277 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5279 * HttpContext.cs: hack to create a default user when there's no one.
5280 Implemented GetConfig (string).
5282 * HttpRequest.cs: fixes to MapPath (string).
5284 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5286 * HttpRuntime.cs: avoid nulls and exception when getting resource
5289 * StaticFileHandler.cs: added file name to error message.
5291 2002-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5293 * HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
5295 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5297 * HttpApplicationFactory.cs: get the events from the application class,
5298 fire Application/Session Start/End and add the others as application
5301 2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5303 * HttpApplicationFactory.cs: compile global.asax file if it exists.
5305 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5307 * HttpRequest.cs: provide a default Browser until we detect it.
5309 (End): do not close the connection here.
5310 (Flush (bool)): send the headers when, for example, Redirect () is
5313 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5315 * HttpException.cs: simple error output.
5317 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5319 * HttpApplication.cs: style.
5320 * HttpException.cs: style.
5321 * HttpRuntime.cs: only flush the response if there are no errors.
5322 Otherwise, write an error output.
5323 * HttpWriter.cs: change Unicode to UTF8.
5325 2002-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5327 * HttpApplication.cs: don't begin the request using ExecuteNextAsync
5328 (it fails to work on NetServ).
5330 * HttpWorkerRequest.cs: typo.
5332 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5334 * HttpValueCollection.cs: the value may contain trailing '=' as it is
5335 UrlEncoded. Don't split name=value based on '='.
5337 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5339 * HttpCookie.cs: made GetCookieHeader internal.
5341 * HttpRequest.cs: get cookies from request.
5343 * HttpResponse.cs: send cookies. Implemented
5344 AddFileDependencies (). Added check for _Writer == null in Flush
5345 (Patrik ;-). Clear the content if HEAD or SupressContent == true.
5346 Removed redirect hack used in old server.
5348 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5350 * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
5351 most ContentLength bytes.
5353 * HttpResponse.cs: now it sends the headers. Added
5354 X-Powered-By header :-).
5356 * HttpRuntime.cs: fixed typo.
5358 * HttpValueCollection.cs: cosmetic changes.
5360 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5362 * HttpApplication.cs: reenabled a few lines of code
5363 (ThreadPool already fixed).
5368 * HttpValueCollection.cs:
5369 * HttpWriter.cs: Use WebEncoding.Encoding.
5371 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5373 * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
5374 This fixes sending bytes and allows mixing byte with chars.
5376 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5378 * HttpResponse.cs: implemented WriteFile methods.
5379 * MimeTypes.cs: removed duplicated entries.
5381 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5383 * HttpResponse.cs: don't throw exception in a couple of
5384 methods not yet implemented.
5386 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5388 * HttpApplication.cs: fixed type and handle factories when creating
5389 IHttpHandler for a request.
5391 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5393 * HttpApplication.cs: use handlers from configuration.
5394 * HttpContext.cs: get handlers from ConfigurationSettings.
5396 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5398 * HttpMethodNotAllowedHandler.cs:
5400 * StaticFileHandler.cs: Modified file.
5402 * HttpUtility.cs: implemented all missing methods.
5405 2002-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5407 * System.Web/HttpApplication.cs: use the static file handler.
5408 * System.Web/HttpForbiddenHandler.cs: handler to forbid access.
5409 * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
5412 * System.Web/HttpUtility.cs: finished all UrlDecode methods.
5413 * System.Web/MimeTypes.cs: map from file extension to MIME type.
5414 * System.Web/StaticFileHandler.cs: serves static files
5416 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5418 * System.Web/HttpApplication.cs:
5419 * System.Web/HttpApplicationFactory.cs:
5420 * System.Web/HttpRequest.cs:
5421 * System.Web/HttpRuntime.cs: we are now able to compile pages and use
5422 HttpApplication, HttpRuntime and SimpleWorkerRequest.
5424 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5426 * HttpApplication.cs: added some missing methods.
5427 * HttpApplicationFactory.cs: get event handlers for the application.
5428 * HttpAsyncResult.cs: little fixes.
5429 * HttpRequest.cs: make Encoding work even with no worker request.
5431 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5433 * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
5434 to add HttpMapPath to the list file...
5436 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5438 * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
5439 report when i get a test case.
5441 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5443 * HttpApplicationFactory.cs:
5444 * HttpCachePolicy.cs:
5445 * HttpResponseHeader.cs:
5446 * HttpResponseStream.cs:
5447 * HttpResponseStreamProxy.cs:
5448 * HttpValueCollection.cs: misc. fixes based on class status page.
5450 * IHttpMapPath.cs: New file.
5452 * HttpRequest.cs: implemented ContentEncoding.
5453 * HttpWorkerRequest.cs: mono-stylized and implemented
5454 SendResponseFromMemory.
5456 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5458 * HttpContext.cs: reformatted.
5459 * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
5462 2002-08-05 Patrik Torstensson <ptorsten@hotmail.com>
5464 * HttpApplication.cs: Implemented a state machine to allow handling of
5465 HttpModules and HttpHandlers. Implementation of async handlers.
5467 * HttpApplicationFactory.cs: Factory for creating HttpApplication
5468 instances, including caching.
5470 * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
5471 application instance to execute requests in and implementation of
5472 request execution (still no request queue).
5474 * HttpAsyncResult.cs: New file to handle async module results.
5476 * HttpRequest.cs: Change signature of Dispose
5477 * HttpResponse.cs: new internal method allowing filtering to happen
5478 during the request flow in the state machine.
5480 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5482 * HttpApplication.cs: events were not being initialized.
5484 2002-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5486 * ProcessModelInfo.cs: fixed compilation.
5488 2002-07-25 Tim Coleman <tim@timcoleman.com>
5489 * ProcessModelInfo.cs:
5491 * HttpParseException.cs:
5492 * HttpCompileException.cs:
5493 * HttpUnhandledException.cs:
5494 Internal constructors added to these
5496 2002-07-24 Tim Coleman <tim@timcoleman.com>
5498 Fix constructor, reference to shutdownreason.
5500 2002-07-24 Tim Coleman <tim@timcoleman.com>
5501 * HttpCachePolicy.cs:
5502 Added stubbs to this class.
5503 * HttpCacheability.cs:
5504 * HttpCacheRevalidation.cs:
5505 * HttpValidationStatus.cs:
5506 * ProcessShutdownReason.cs:
5509 Reorder the enumerations (and in some cases make
5510 one-based) in order to agree with the .NET
5511 implementation, based on the class status page.
5513 Implementation of this class.
5515 2002-07-23 Tim Coleman <tim@timcoleman.com>
5516 * HttpCompileException.cs:
5517 * HttpParseException.cs:
5518 * HttpUnhandledException.cs:
5520 * HttpApplication.cs:
5521 * HttpBrowserCapabilities.cs:
5522 Added missing methods stubbs and attributes based
5523 on the class status page. Also reformatted some
5524 source for consistency.
5526 2002-07-23 Tim Coleman <tim@timcoleman.com>
5527 * HttpUtility.cs: Moved entities hashtable into main
5528 class as a static object, so we don't instantiate
5529 a new one every time. Also put the hashtable
5530 building into a lock block.
5532 2002-07-22 Tim Coleman <tim@timcoleman.com>
5533 * HttpUtility.cs: Cleanup of the code, implementation
5534 of HtmlDecode/HtmlEncode functions
5536 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5538 * HttpResponse.cs: quick&dirty hack to make redirection work. Should
5539 be out of there once we have SimpleWorkerRequest.
5541 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5543 * HttpUtility.cs: little typo, big headache.
5545 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5547 * HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
5549 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5551 * System.Web/HttpResponse.cs:
5553 Fixes based on class status page:
5555 - Add attributes (DefaultEvent, ParseChildren).
5557 - Explicitly implement some interfaces (IPostBackDataHandler
5558 and IPostBackEventHandler).
5559 - Implemented some missing methods.
5561 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5564 (Session): return null instead of throwing an exception.
5567 (HttpMethod): return RequestType if not set.
5568 (GetRawContent): return QueryString if we don't have a
5571 * HttpUtility.cs: fixed Decode and Encode.
5573 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5575 * HttpApplication.cs:
5576 * HttpContext.cs: added System.Web.SessionState namespace.
5578 * HttpSessionState.cs: removed. It is under
5579 System.Web.SessionState.
5581 2002-06-10 Duncan Mak <duncan@ximian.com>
5583 * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
5585 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5587 * HttpRequest.cs: implemented Browser property.
5589 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5591 * HttpBrowserCapabilities.cs: stubbed out.
5593 2002-05-18 Miguel de Icaza <miguel@ximian.com>
5595 * HttpRuntime.cs: Reformat file.
5597 2002-05-07 Duncan Mak <duncan@ximian.com>
5599 * HttpBrowserCapabilities.cs: Added, replacing
5600 HttpBrowserCapabilites because of typo.
5602 * HttpBrowserCapabilites.cs: Removed, replaced by above.
5604 * HttpRequest.cs (Browser): Fixed typo.
5606 2002-04-12 Patrik Torstensson <patrik.torstensson@labs2.com>
5608 * HttpApplication.cs: Minor updates
5609 * HttpApplicationState.cs: Ready.
5610 * HttpClientCertificate.cs: Signature updates
5611 * HttpValueCollection.cs: ready
5612 * HttpStaticObjectsCollection.cs: ready
5613 * HttpResponseHeader.cs: made internal only
5614 * HttpResponse.cs: Signature updates
5615 * HttpPostedFile.cs: ready
5616 * HttpCacheVaryByHeaders.cs: ready (except communication to policy)
5617 * HttpCacheVaryByParams.cs: ready (except communication to policy)
5619 System.Web is now over 60% ready..
5621 2002-04-11 Patrik Torstensson <patrik.torstensson@labs2.com>
5623 * HttpException.cs: 95% ready, only windows dependent code left
5624 * HttpFileCollection.cs: Finished.
5625 * HttpRequest.cs: Minor fixes and fixed signature problems
5626 * HttpResponse.cs: Implementation of missing methods and signature problems
5627 * HttpResponseHeader.cs: Fixed signature problems
5628 * HttpRuntime.cs: Fixed signature problems
5629 * HttpServerUtility.cs: Added support for HttpApplication
5630 * HttpSessionState.cs: Fixed signature issues
5631 * HttpUtility.cs: fixed signature issues
5632 * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
5633 * HttpWorkerRequest.cs: Fixed small signature issue
5634 * HttpWriter.cs: Fixed signature issue
5635 * HttpApplication.cs: Basic implementation
5636 * HttpApplicationState.cs: Small fixes to support major change comming up
5637 * HttpBrowserCapabilities.cs: Added Type method
5638 * HttpClientCertificate.cs: Almost ready, needs to parse certificate.
5639 * HttpContext.cs: Fixed signature issues and added last methods.
5640 * HttpCookie.cs: Full implementation
5641 * HttpCookieCollection.cs: Full implementation
5642 * TraceContext.cs: Methods implemented.
5643 * HttpPostedFile.cs: Placeholder
5644 * HttpStaticObjectsCollection.cs: Placeholder
5645 * HttpModuleCollection.cs: Ready, will be used during the major revamp.
5647 * Fixed a number of other small signature problems also (class status page)
5650 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
5652 * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
5653 * Checkin of all new files (noted in last changenote)
5655 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
5657 * HttpContext.cs: First implementation (basic support, few methods left to impl)
5658 * HttpException.cs: Partial implementation (basic support)
5659 * HttpHelper.cs: Header parse helper, used by runtime (non public)
5660 * HttpRequest.cs: Implementation (all methods there, not all fully impl)
5661 * HttpRequestStream.cs: Full implementation
5662 * HttpResponse.cs: Partial implementation(almost all methods)
5663 * HttpResponseHeader.cs: Header helper
5664 * HttpResponseStream.cs: Full implementation - Response stream support
5665 * HttpResponseStreamProxy.cs: Implementation - filter support
5666 * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
5667 * HttpServerUtility.cs: Implemented usage of HttpContext for methods
5668 and moved encoding functions to HttpUtility.
5670 * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
5671 added the Attribute encoding functions.
5673 * HttpValueCollection.cs: Implementation.
5674 * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
5675 * HttpWriter.cs: Implementation (with filter support)
5677 * HttpFileCollection: Added dummy class (placeholder)
5678 * HttpApplication.cs: Added dummy class (placeholder)
5679 * HttpApplicationState.cs: Added dummy class (placeholder)
5680 * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
5681 * HtttpCachePolicy.cs: Added dummy class (placeholder)
5682 * HttpClientCertificate.cs: Added dummy class (placeholder)
5683 * HttpSessionState.cs: Added dummy class (placeholder)
5684 * TraceContext.cs: Added dummy class (placeholder)
5687 2002/04/10 Nick Drochak <ndrochak@gol.com>
5689 * HttpServerUtility.cs: Fix build breaker.
5691 2002-03-28 Wictor Wiln <wictor@iBizkit.se>
5693 * HttpServerUtils.cs : Added some more functionality
5695 2002-03-28 Martin Baulig <martin@gnome.org>
5697 * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
5698 char to a string, use ToString() instead.
5700 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
5702 * WebCategoryAttribute.cs
5703 : Added private attribute.
5705 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
5707 * HttpRuntime.cs : Stubbed methods for
5708 FormatStringResource(...) in agreement with the various
5709 overloads available at String.Format(...)
5711 2002-01-08 Gaurav Vaish <gavish@iitk.ac.in>
5713 * TODOAttribute.cs : Added, as an internal class to the assembly
5715 2002-01-03 Nick Drochak <ndrochak@gol.com>
5717 * HttpRuntime.cs: remove uneeded exception variable from catch and
5718 initialize remaining instance members to avoid compile warnings
5720 2002-01-02 Nick Drochak <ndrochak@gol.com>
5722 * HttpRuntime.cs: fix spelling error/variable name change.
5724 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
5726 * HttpRuntime.cs : Initial implementation
5728 2001-08-29 Bob Smith <bob@thestuff.net>
5730 * HttpWorkerRequest.cs: Partial Implementation.
5732 2001-08-16 Bob Smith <bob@thestuff.net>
5734 * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
5736 2001-08-09 Bob Smith <bob@thestuff.net>
5738 * BeginEventHandler.cs: Implemented.
5739 * EndEventHandler.cs: Implemented.
5740 * HttpCacheability.cs: Implemented.
5741 * HttpCacheRevalidation.cs: Implemented.
5742 * HttpCacheValidateHandler.cs: Implemented.
5743 * HttpCookieCollection.cs: Implemented.
5744 * HttpCookie.cs: Implemented.
5745 * HttpValidationStatus.cs: Implemented.
5746 * HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
5747 * IHttpAsyncHandler.cs: Implemented.
5748 * IHttpHandler.cs: Implemented.
5749 * IHttpHandlerFactory.cs: Implemented.
5750 * IHttpModule.cs: Implemented.
5751 * ProcessShutdownReason.cs: Implemented.
5752 * ProcessStatus.cs: Implemented.
5753 * TraceMode.cs: Implemented.