1 2009-09-29 Marek Habersack <mhabersack@novell.com>
3 * HttpResponse.cs: use full url in redirect if
4 UseFullyQualifiedRedirectUrl is set to true in httpRuntime
5 configuration section. Patch from Brett Kiefer
6 <brett@fogcreek.com>, thanks! Fixes bug #542846
8 2009-09-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
10 * HttpContext.cs: try to load App_GlobalResouces.dll if it has not
11 been set but it exists in 'bin'.
13 2009-09-28 Marek Habersack <mhabersack@novell.com>
15 * HttpContext.cs: GetResourceProvider - renamed the 'key' argument
16 to 'virtualPath' in order to reflects its purpose better. Local
17 resource providers are created for the passed virtualPath and not
18 for the current request's path. Fixes bug #542484
20 2009-09-25 Marek Habersack <mhabersack@novell.com>
22 * StaticSiteMapProvider.cs: MapUrl must normalize paths. Fixes bug
25 * XmlSiteMapProvider.cs: siteMapFile parameter must be mapped in
26 Initialize. Fixes bug #541969
28 2009-09-24 Marek Habersack <mhabersack@novell.com>
30 * XmlSiteMapProvider.cs: added "securityTrimmingEnabled" to the
31 list of supported attributes in Initialize. Fixes bug #541607
33 2009-09-07 Marek Habersack <mhabersack@novell.com>
35 * HttpContext.cs: when creating local resource provider, pass the
36 current file's virtual path to CreateLocalResourceProvider. Fixes
39 * XmlSiteMapProvider.cs: do not allow the provider to be
40 intialized more than once.
41 Initialize throws if it finds unknown attributes in the
42 'attributes' collection.
43 AddNode checks its arguments and throws if they are null or aren't
44 from the same provider.
45 FindStartingNode throws exceptions in several erroneous situations
47 Added private method GetConfigDocument which performs several
48 checks on the source .sitemap file and throws exceptions if it
50 BuildSiteMap clears provider state before building the map.
51 BuildSiteMapRecursive correctly deals with custom providers. Fixes
53 FindSiteMapNode maps url before searching. Fixes bug #465696
55 * VirtualPathUtility.cs: Combine a bit more efficient
57 * StaticSiteMapProvider.cs: FindSiteMap node checks if rawUrl is
58 relative to application root and if yes, makes it absolute.
59 MapUrl converts both rooted and not rooted urls to absolute.
61 * SiteMapProvider.cs: check if HttpContext.Request exists before
62 using it in FindSiteMapnode
64 * SiteMap.cs: Providers collection must be read-only.
66 2009-09-04 Marek Habersack <mhabersack@novell.com>
68 * HttpRuntime.cs: retrieve real Mono version from the runtime and
69 store it in the MonoVersion internal static property.
71 * HttpException.cs: report real Mono version when backtrace is
74 2009-08-24 Marek Habersack <mhabersack@novell.com>
76 * VirtualPath.cs: Added new constructor which takes virtual and
77 physical paths as well as a boolean marking the instance as
78 referring to a fake location. Part of fix for bug #463813
80 2009-07-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
82 * HttpApplicationFactory.cs: allow subclasses of EventHandler for
83 event handlers in global.asax.
86 2009-07-23 Marek Habersack <mhabersack@novell.com>
88 * HttpException.cs: if an exception is processed which refers to
89 internal "files", don't show the internal name.
91 2009-07-18 Marek Habersack <mhabersack@novell.com>
93 * HttpContext.cs: GetGlobalResourceObject must look for resources
94 in the 'Resources' "namespace" - it was a regression from the
95 previous change to that method.
97 2009-07-15 Marek Habersack <mhabersack@novell.com>
99 * HttpApplicationFactory.cs: added internal methods to
100 enable/disable specific watchers. Part of fix for bug #522017
102 2009-07-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
104 * ApplicationShutdownReason.cs: add new 3.5 value.
105 * ParserErrorCollection.cs: add setter for ParserError.
106 Patch from Daniel Gagne.
108 2009-07-14 Marek Habersack <mhabersack@novell.com>
110 * HttpApplicationFactory.cs: OnFileChanged doesn't reload
111 application if reload suppression is active.
113 2009-07-13 Marek Habersack <mhabersack@novell.com>
115 * HttpApplication.cs: LoadType - wrap call to LoadTypeFromBin in
116 try/catch so that we can decide whether or not to throw
117 exceptions. LoadTypeFromBin - ignore the FileLoadException and
118 BadImageException exceptions as they don't matter in this
121 2009-07-13 Gert Driesen <drieseng@users.sourceforge.net>
123 * HttpResponseStream.cs: Added argument checks to Write. Modified
124 methods/properties that requires a readable stream to throw
125 NotSupportedException instead of InvalidOperationException for
126 compatibility with MS.
128 2009-07-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
130 * HttpApplication.cs: use GetSection instead of
131 OpenWebConfiguration+GetSection.
133 2009-07-09 Marek Habersack <mhabersack@novell.com>
135 * HttpContext.cs: fall back to default resource provider factory
136 if the factory provided by user doesn't have the required object
137 in Get{Global,Local}ResourceObject. Fixes bug #520397
138 Refactored the GetResourceObject method and the
139 ResourceManagerCacheKey class to DefaultResourceProvider.
141 2009-07-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
143 * ParserError.cs: add 3 missing setters. Patch from Daniel Gagne.
145 2009-06-15 Marek Habersack <mhabersack@novell.com>
147 * HttpCachePolicy.cs: SetHeaders adds max-age when MaxAge is set
148 to TimeSpan.Zero by calling SetMaxAge. Fixes bug #513000
150 2009-06-05 Marek Habersack <mhabersack@novell.com>
152 * VirtualPathUtility.cs: IsValidVirtualPath no longer uses
153 WebConfigurationManager.GetSection to retrieve the verification
154 setting. Instead, the setting is retrieved in the static
157 * HttpRequest.cs: ApplyUrlMapping must not use
158 WebConfigurationManager.GetSection as it would cause a recursive
159 call loop. Code to detect whether url mappings are in effect has
160 been moved to a static constructor.
162 2009-06-04 Marek Habersack <mhabersack@novell.com>
164 * HttpResponse.cs: version header configuration is read lazily
167 * HttpException.cs: do not show version info if custom errors are
168 in effect. Fixes bug #509092
169 Don't generate trace for 403. Fixes bug #509092
171 * HttpApplicationFactory.cs: OnFileChanged ignores the directory
172 part of the file triggering the event. Fixes bug #509998
174 2009-06-03 Marek Habersack <mhabersack@novell.com>
176 * VirtualPathUtility.cs: IsValidVirtualPath now checks the value
178 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\VerificationCompatibility
179 registry key when running on Windows and also consults the
180 mono-specific system.web/monoSettings configuration section to see
181 what is the verificationCompatibility property set to. If either
182 of the two is set to 1, Mono will not verify the validity of
183 the current request's path. Fixes bug #509163
185 * HttpApplicationFactory.cs: OnFileChanged must check whether the
186 modified location is a directory before it decides to ignore it
187 when watcher's filter is "?eb.?config". Fixes bug #509450 (see
190 * HttpForbiddenHandler.cs: updated the error message to match
191 .NET, added requested path and description. Fixes bug #509092
193 * HttpException.cs: if trace is not requested, don't output <!--
194 following the version information in WriteFileBottom. Fixes bug
196 GetDefaultErrorMessage appends trace only if showTrace is
197 true. Fixes bug #509092
199 2009-06-02 Marek Habersack <mhabersack@novell.com>
201 * HttpApplication.cs: LocateHandler needs to pass current request
202 path and filepath to WebConfigurationManager when retrieving
203 system.web/httpHandlers section as only this will guarantee that
204 any <location> elements relating to the current request's which
205 contain system.web/httpHandlers section will be correctly read and
206 used. Also fixes reading httpHandlers section if it's found in
207 web.config located in a subdirectory. Fixes bug #509069
209 * HttpException.cs: 403 errors get same treatment as 404
210 below. Fixes bug #509092
212 2009-06-01 Marek Habersack <mhabersack@novell.com>
214 * HttpException.cs: if custom errors are enabled and the error
215 code is 404 show the "standard" 404 error message instead of the
216 default custom error mode one. Fixes bug #508649
218 2009-05-28 Marek Habersack <mhabersack@novell.com>
220 * HttpUtility.cs: fixed UrlDecode for encoded strings which
221 should be converted to byte sequences longer than 2 bytes. Fixes
224 2009-05-14 Marek Habersack <mhabersack@novell.com>
226 * HttpApplication.cs: LocateHandler won't cache if a default
227 handler was returned.
229 2009-05-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
231 * MimeTypes.cs: add silverlight related types.
233 2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
236 * HttpWorkerRequest.cs:
237 * HttpRuntime.cs: if other parts of the system are using the
238 threadpool and we queue requests, once the threadpool is free we
239 might still not get back to use it to the maximum extent possible.
240 Adding a few more calls to QueuePendingRequest ensures that does not
243 2009-04-24 Marek Habersack <mhabersack@novell.com>
245 * HtmlizedException.cs: make HtmlException derive from
246 HttpException. System.Web.Mvc relies upon compile and parse
247 exception being descendants of HttpException or otherwise it will
248 catch and ignore compilation/parsing errors.
250 2009-04-16 Marek Habersack <mhabersack@novell.com>
252 * HttpContext.cs: local resources code now uses the custom
253 resource provider factory, just like the global resources
254 code. Fixes bug #493263
256 2009-04-15 Marek Habersack <mhabersack@novell.com>
258 * HttpApplicationFactory.cs: if a notification is received from a
259 FileSystemWatcher which was configured to watch for
260 subdirectories, uses a filter (currently we have just one such
261 watcher - waiting for changes to '?eb.?onfig') and the event
262 doesn't match the filter, ignore the event. Fixes bug #495011
264 2009-04-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
266 * HttpUtility.cs: the collection returned from ParseQueryString knows
267 how to convert the key/value pairs to a string.
269 2009-04-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
271 * HttpResponseStream.cs: use the unsafe version when copying buffers.
273 2009-04-06 Marek Habersack <mhabersack@novell.com>
275 * HttpRuntime.cs: added a new internal static property
278 * HttpContext.cs: IsDebuggingEnabled now calls
279 HttpRuntime.IsDebuggingEnabled
281 2009-04-03 Gert Driesen <drieseng@users.sourceforge.net>
283 * HttpRuntime.cs: Avoid ANE on Windows when HttpRuntime is used
284 outside of ASP.NET. Fixed compiler warning by setting
285 assemblyMappingEnabled.
287 2009-04-02 Marek Habersack <mhabersack@novell.com>
289 * HttpException.cs: if there are more lines with errors, display
292 2009-03-31 Marek Habersack <mhabersack@novell.com>
294 * HttpApplicationFactory.cs: use glob patterns to watch for
295 changes to global.asax and web.config files.
296 Set up recursive watch on web.config in a separate thread, to
297 minimize application startup delay. Fixes bug #490497
299 * VirtualPath.cs: added code to detect whether the VirtualPath
300 instance represents a fake virtual path (IsFake property).
301 Added new property DirectoryNoNormalize which returns
302 non-normalized directory for the VirtualPath instance.
303 Made ToString () a bit more friendly and well-behaved.
305 2009-03-26 Marek Habersack <mhabersack@novell.com>
307 * HttpWorkerRequest.cs: use a generic dictionary to keep header
309 GetKnown{Request,Response}HeaderIndex doesn't use the switch
312 * HttpResponse.cs: WriteHeaders now checks whether a header to be
313 sent is a known one or not and uses the appropriate method to send
314 that header. Partial fix for bug #488702
316 2009-03-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
318 * HttpResponse.cs: ClearHeaders() also resets cacheability.
321 2009-03-21 Marek Habersack <mhabersack@novell.com>
323 * HttpResponse.cs: added two missing 3.0+ properties -
324 SubStatusCode and TrySkipIisCustomErrors.
326 2009-03-04 Marek Habersack <mhabersack@novell.com>
328 * HttpRuntime.cs: do not clean the dynamic base directory in
329 DoUnload, it can cause race conditions.
331 2009-03-03 Marek Habersack <mhabersack@novell.com>
333 * HttpResponse.cs: fully implemented the Headers property.
334 It is also used in the 1.1 profile, but is internal.
336 * HttpCookie.cs: GetCookieHeader renamed to GetCookieHeaderValue -
337 now returns a string with the header value.
339 * HttpCacheVaryByParams.cs: GetResponseHeader renamed to
340 GetResponseHeaderValue - now returns a string with the header
343 * HttpCachePolicy.cs: SetHeaders now takes a NameValueCollection
344 instead of an ArrayList
346 * HttpRequest.cs: avoid calculating the same value twice in
349 2009-03-02 Everaldo Canuto <ecanuto@novell.com>
351 * HttpResponse.cs: Headers property implementation.
353 2009-02-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
355 * Web/HttpResponseHeader.cs:
356 * Web/HttpResponse.cs:
357 * Web/QueueManager.cs:
358 * Web/HttpRequest.cs:
359 * Web/TraceManager.cs:
360 * Web/HttpServerUtility.cs:
361 * Web/HttpApplication.cs: use GetWebApplication
362 instead of GetSection for application level configuration.
364 2009-02-26 Marek Habersack <mhabersack@novell.com>
366 * HttpResponse.cs: added DisableKernelCache and TransmitFile
369 * IisTraceListener.cs: added + implemented
371 2009-02-25 Marek Habersack <mhabersack@novell.com>
373 * HttpApplication.cs: let the current context known that
374 MapRequestHandler is done.
376 * HttpContext.cs: implemented RemapHandler
378 2009-02-24 Marek Habersack <mhabersack@novell.com>
380 * TempFileStream.cs: the class is internal
382 * VirtualPathUtility.cs: ToAbsolute (string, string, bool) is
385 * HttpException.cs: made the HttpException (int httpCode, string
386 message, Exception innerException, string resourceName) internal.
388 2009-02-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
390 * HttpServerUtility.cs: allow Transfer to static files too.
392 2009-02-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
394 * HttpWriter.cs: new Response property and WriteUTF8Ptr
396 * HttpResponseStream.cs: added support for writing from an
397 IntPtr. copied the memcpy method from String.cs.
399 2009-02-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
401 * HttpApplicationFactory.cs: check of global.asax was precompiled.
403 2009-01-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
405 * HttpApplicationFactory.cs: fix check that avoids lock. Keep one
406 HttpApplication instance ready to be returned in an instance variable
407 to avoid a few locks.
409 2009-01-29 Marek Habersack <mhabersack@novell.com>
411 * HttpApplicationFactory.cs: optimize lock usage.
413 2009-01-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
415 * HttpResponse.cs: make sure config is not null here.
416 * HttpApplication.cs: add a timer (-d:PIPELINE_TIMER) for the pipeline.
417 Handle timeouts for OutputPage() too.
419 2009-01-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
421 * HttpApplicationFactory.cs: set/reset the context for the application
422 when creating/disposing. Dispose() out of the lock.
424 2009-01-24 Marek Habersack <mhabersack@novell.com>
426 * XmlSiteMapProvider.cs: if a nested sitemap is used (via the
427 siteMapFile node attribute) watch the named file for
428 changes. Fixes bug #465693
430 2009-01-19 Christian Hergert <christian.hergert@gmail.com>
432 * QueueManager.cs: Implement requests queued performance counter.
433 * HttpRuntime.cs: Implement requests total counter.
434 * HttpApplication.cs: Implement requests total counter.
436 2009-01-13 Dean Brettle <dean@brettle.com>
438 * HttpApplicationFactory.cs: if there are any *.browser files in
439 App_Data/Mono_Machine_Browsers/, use those instead of the default
440 machine browser files. This allows app developers to workaround
441 limitations with Mono's default browser files without causing
442 incompatibilities with MS's implementation.
444 2009-01-09 Marek Habersack <mhabersack@novell.com>
446 * HttpContext.cs: RewritePath now treats relative and absolute
447 file paths with more care. If a path is of the ~/file.aspx form,
448 then the ~/ part is removed and the rest is combined with the base
449 virtual path. If the file path is of the ~ or /file.aspx forms,
450 then it is combined verbatim with the base virtual path. Fixes bug
452 Make sure the path returned from HttpRequest.BaseVirtualPath
453 contains the trailing slash before combining. Fixes bug #463964
455 2008-12-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
457 * ServerVariablesCollection.cs: use IndexOf (char).
459 2008-12-24 Marek Habersack <mhabersack@novell.com>
461 * HttpApplicationFactory.cs: watch for changes to web.config also
462 in the subdirectories.
464 2008-12-20 Marek Habersack <mhabersack@novell.com>
466 * HttpResponse.cs: the code in TransmitFile (VirtualFile, bool)
467 was an abomination - dear children, don't do this at home (never,
468 ever, allocate a buffer to load entire file). I will wear a brown
469 paper bag every 2nd Sunday in the next 6 months for writing the
470 old version of this code.
471 New code optimizes the write when DefaultVirtualFile is used (as
472 it refers to a physical file on disk) and reads/writes other
473 virtual files in chunks.
475 2008-12-16 Marek Habersack <mhabersack@novell.com>
477 * StaticFileHandler.cs: use HttpRuntime.RunningOnWindows instead
478 of checking the platform directly.
480 2008-12-09 Marek Habersack <mhabersack@novell.com>
482 * HttpServerUtility.cs: when Execute finishes, clear
483 Request.QueryStringRaw. Backport of r121010 by Vladimir Krasnov.
485 2008-12-03 Gert Driesen <drieseng@users.sourceforge.net>
487 * NoParamsInvoker.cs:
488 * HttpApplicationFactory.cs: Fixed support for static eventhandlers.
490 2008-11-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
492 * HttpContext.cs: MS does not throw. They just return null.
494 2008-11-24 Marek Habersack <mhabersack@novell.com>
496 * HttpRuntime.cs: take PlatformID.MacOSX into account when
497 determining whether we're running on Windows or not. Possible fix
500 2008-11-21 Marek Habersack <mhabersack@novell.com>
502 * HttpParseException.cs, HtmlizedException.cs: added
503 deserialization constructor.
505 2008-10-31 Marek Habersack <mhabersack@novell.com>
507 * HttpContext.cs: RewritePath correctly rewrites paths for cases
508 when application is running under a virtual directory different to
509 '/'. Fixes bug #371581
510 RewritePath checks the passed virtual path for validity.
512 * HttpRequest.cs: MapPath now uses
513 VirtualPathUtility.IsValidVirtualPath.
515 * VirtualPathUtility.cs: made Canonize () internal.
516 Added a new method - IsValidVirtualPath () which checks whether a
517 passed path contains only characters allowed for virtual paths.
519 2008-10-22 Marek Habersack <mhabersack@novell.com>
521 * HttpApplicationFactory.cs: use only the first matching method in
522 GetApplicationTypeEvents, since it will be the one coming from the
523 topmost type. Partial fix for bug #437691
525 2008-10-21 Marek Habersack <mhabersack@novell.com>
527 * HttpApplication.cs: if context.Session is null in get_Session,
528 throw an exception. Fixes bug #437289
530 * CapabilitiesLoader.cs: seal BrowserData.
531 Seal CapabilitiesLoader.
532 Do not lock on typeof (CapabilitiesLoader) in GetCapabilities ().
534 2008-10-16 Marek Habersack <mhabersack@novell.com>
536 * HttpApplicationFactory.cs: when looking up application type
537 event handlers (the Application_* methods), look deep in the
538 parent chain - we must support private handler methods in base
541 2008-10-15 Marek Habersack <mhabersack@novell.com>
543 * HttpResponse.cs: CacheabilityUpdatedEvent is no longer
544 used. cached_response is allocated only when the IsCached property
545 is assigned the 'true' value.
547 * HttpCachePolicy.cs: CacheabilityUpdatedEvent is no longer used,
548 removed all the traces of it. SetCacheability should not switch
551 2008-10-12 Gert Driesen <drieseng@users.sourceforge.net>
553 * HttpResponse.cs: Simplify code for outputting ASP.NET version, as
554 version header cannot be configured. MS corrected this documenation
555 error in .NET 2.0 SDK.
557 2008-10-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
559 * HttpApplication.cs: make sure we release the resources used by the
560 request and/or the response at the end of the request.
563 2008-10-01 Marek Habersack <mhabersack@novell.com>
565 * BrowserCapabilities.cs: IsBrowser needs to compare browser names
568 2008-09-29 Marek Habersack <mhabersack@novell.com>
570 * HttpApplication.cs: do not assume the passed IAsyncResult is a
571 is a valid object in async_handler_complete_cb. Fixes bug #430488
573 2008-09-28 Sebastien Pouliot <sebastien@ximian.com>
575 * HttpRequest.cs: Make sure the result of the multiplications are
576 longs (not integers casted into longs since they could overflow).
577 [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
579 2008-09-23 Marek Habersack <mhabersack@novell.com>
581 * HttpWorkerRequest.cs: implemented a SendCalculatedContentLength
582 overload. This method apparently does nothing in MS.NET.
584 2008-09-16 Juraj Skripsky <js@hotfeet.ch>
586 * HttpServerUtility.cs (UrlDecode, UrlEncode): Respect request/response
587 encoding. Fixes bug #426539.
589 2008-08-29 Marek Habersack <mhabersack@novell.com>
591 * HttpApplication.cs: do not cache handlers which aren't
594 2008-08-20 Marek Habersack <mhabersack@novell.com>
596 * HttpResponseHeader.cs: encode header values if
597 httpRuntime.enableHeaderChecking is true (default). Fixes bug
600 2008-08-13 Marek Habersack <mhabersack@novell.com>
602 * HttpException.cs: do not use StringBuilder.AppendFormat when
605 2008-08-08 Marek Habersack <mhabersack@novell.com>
607 * XmlSiteMapProvider.cs: a better bugfix for bug #412495.
608 Do not call RootNode within BuildSiteMap, as it induces
609 recursion. Fixes bug #415685.
611 2008-07-29 Marek Habersack <mhabersack@novell.com>
613 * HttpRequest.cs: if the FilePath contains embedded cookie-less
614 session identifier, remove it before computing the base virtual
615 directory. Fixes bug #397418
617 2008-07-28 Marek Habersack <mhabersack@novell.com>
619 * XmlSiteMapProvider.cs: set the base ResourceKey to the name of
620 our associated site map file, so that localization works
621 correctly. Fixes bug #412493
622 Do not add the root node retrieved from BuildSiteMapRecursive in
623 BuildMap, if the node is already the current root node. Fixes bug
626 2008-07-26 Gert Driesen <drieseng@users.sourceforge.net>
628 * HttpCachePolicy.cs: Only add Expires header if expire date is
629 actually set. Removed extra tabs and regions. Code formatting.
631 2008-07-23 Marek Habersack <mhabersack@novell.com>
633 * HttpApplication.cs: do not register handlers for
634 BeginRequest/EndRequest when called from within the
635 Application_Start handler. Fixes bug #411213
637 * HttpApplicationFactory.cs: let the application know we're
638 running the Application_Start handler so that it can suppress
639 registering some events from inside that handler (see bug
640 #381971). Fixes bug #411213
642 2008-06-30 Marek Habersack <mhabersack@novell.com>
644 * HttpRuntime.cs, HttpApplication.cs: hush the warnings
646 * HttpContext.cs: GetGlobalObjectFromFactory caches the
647 ResourceManager objects now. Patch from Zoltan Varga
648 <vargaz@gmail.com>, thanks!
649 The GetGlobalObjectFromFactory caches are thread local to avoid
651 GetResourceObject ResourceManager cache is now a thread local
652 Dictionary to avoid cloning.
655 2008-06-27 Robert Jordan <robertj@gmx.net>
657 * HttpCachePolicy.cs: map default HttpCacheability to
658 "Cache-control: private" for MS.NET compatibility.
659 Fixes bug #404083. Contributed by
660 Hubert FONGARNAND <informatique.internet@fiducial.fr>.
662 2008-06-21 Robert Jordan <robertj@gmx.net>
664 * HttpRuntime.cs (.cctor): Workaround for bug #402263.
666 2008-06-19 Marek Habersack <mhabersack@novell.com>
668 * MimeTypes.cs: added a mime type entry for .xpi files.
670 2008-06-18 Juraj Skripsky <js@hotfeet.ch>
672 * HttpResponse.cs (AddHeadersNoCache): Add "X-AspNet-Version" header if
675 2008-06-16 Noam Lampert <noaml@mainsoft.com>
677 * HttpContext.cs: improve support for RewritePath
679 2008-06-10 Marek Habersack <mhabersack@novell.com>
681 * HttpRuntime.cs: do not create a new thread to run the
682 application, reuse the thread from the hosting application (XSP's
683 thread comes from threadpool).
685 2008-06-06 Marek Habersack <mhabersack@novell.com>
687 * SiteMap.cs: FindCurrentNode is no longer needed. CurrentNode
688 uses Provider.CurrentNode to find the return value.
689 AddNode doesn't throw a duplicate key exception for nodes not
690 belonging to the current provider.
691 Check whether keys exist before removing entries from the
694 * XmlSiteMapProvider.cs: implemented support for child providers
695 (the AddProvider method). FindSiteMapNode* methods look for the
696 node also in the collection of child providers. Fixes bug #397040
698 2008-06-04 Marek Habersack <mhabersack@novell.com>
700 * HttpResponse.cs: correctly modify virtual path to include the
701 session ID in cookieless session mode. Fixes bug #396628.
703 * HttpServerUtility.cs: remove session hash from the URL if in the
704 cookieless mode. Fixes bug #396628.
706 * HttpRequest.cs: make sure that BaseVirtualDir always returns
709 2008-06-02 Miguel de Icaza <miguel@novell.com>
711 * HttpRuntime.cs: Thanks to Christian Hergert for finding this
714 Do not throw NIEX on IsOnUNCShare, instead compute the value.
716 2008-05-30 Marek Habersack <mhabersack@novell.com>
718 * HttpApplication.cs, HttpCachePolicy.cs, SiteMapProvider.cs,
719 TraceContext.cs: do not use synthetized event accessors (to avoid
722 2008-05-19 Noam Lampert <noaml@mainsoft.com>
724 * HttpServerUtility.cs: Fix bug in UrlPathEncode when URL contains '?'
726 2008-05-12 Noam Lampert <noaml@mainsoft.com>
728 * HttpApplication.cs: Fix regressions introduced by latest commit
730 2008-05-07 Gonzalo Panigua Javier <gonzalo.mono@gmail.com>
732 * HttpApplication.cs: create a fake context while loading the
733 modules on the first request so that the modules don't mess up
734 with the actual output of that request.
736 2008-05-07 Marek Habersack <mhabersack@novell.com>
738 * HttpRequest.cs: StripPath should handle UNC paths too. Fixes bug
739 #385870. Patch from Ivan Hamilton <ivan@chimerical.com.au>,
742 2008-05-06 Marek Habersack <mhabersack@novell.com>
744 * MimeTypes.cs: mime type keys might not exist in the dictionary,
745 in the 2.0 profile. Patch from Rolf Kvinge <rkvinge@novell.com>
746 and Jean-Baptiste Evain <jbevain@novell.com>, thanks! Fixes bug
749 2008-04-30 Marek Habersack <mhabersack@novell.com>
751 * HttpApplication.cs: when the Start method is called in a new
752 thread, the thread's culture and ui culture are set to their
753 defaults, thus ignoring whatever their values were in the parent
754 thread. This is now fixed by passing an array containing the
755 culture values to the Start method, so that the new thread can be
756 properly initialized. Fixes bug #323566
758 * SiteMapNode.cs: the implicitResourceKey parameter to one of the
759 constructors sets the value of the ResourceKey property.
760 GetImplicitResourceString uses the provider's ResourceKey as the
761 global resource object key and the node's ResourceKey to construct
762 the resource name. Fixes bug #323994
763 ResourceKey setter throws an InvalidOperationException now, when
764 the node is read-only.
766 2008-04-29 Marek Habersack <mhabersack@novell.com>
768 * HttpException.cs: safe guard against context being null in
771 2008-04-26 Marek Habersack <mhabersack@novell.com>
773 * VirtualPath.cs: added a new property, PhysicalPath.
775 2008-04-25 Gert Driesen <drieseng@users.sourceforge.net>
777 * HttpResponse.cs: Use double quotes in link to match MS.
779 2008-04-25 Marek Habersack <mhabersack@novell.com>
781 * HttpApplication.cs: use Request.CurrentExecutionFilePath when
782 querying for the handler. Makes requests work if request path was
783 rewritten without modifying the FilePath. Fixes bug #383652
785 * HttpContext.cs: set Request.FilePath in RewritePath only if
786 setClientFilePath is true. Fixes bug #383652
787 Revert the change in revision 100273 - the real bug was in a
788 different overload of RewritePath, fixed with the commit for the
791 2008-04-24 Marek Habersack <mhabersack@novell.com>
793 * HttpApplication.cs: added a new overload of GetHandler which
794 allows the caller to ignore the handler found in the context
795 passed to the method.
797 * HttpServerUtility.cs: have HttpApplication.GetHandler ignore the
798 handler found in the current context when Execute'ing another
799 page. Fixes bug #316166
801 2008-04-23 Marek Habersack <mhabersack@novell.com>
803 * VirtualPath.cs: introduced the CurrentRequestDirectory property,
804 which returns the virtual directory for the current request. The
805 information is taken from either current request's
806 CurrentExecutionFilePath property (if not null) or from the path
807 set externally (by setting the property or using the appropriate
808 VirtualPath constructor). The new property is used to construct
809 the correct absolute virtual path in the MakeRooted method. Fixes
812 * HttpApplication.cs: events registered from Application_Start are
813 silently ignored - any event registered after the one-time
814 application initialization is completed, is ignored. Fixes bug
817 * HttpApplicationFactory.cs: call app.DisposeInternal instead of
820 * HttpContext.cs: Fix bug #371581 for 1.1 as well.
822 2008-04-19 Marek Habersack <mhabersack@novell.com>
824 * HttpException.cs: don't write the stack trace inside html
825 comment if custom errors are enabled.
827 2008-04-15 Kornél Pál <kornelpal@gmail.com>
829 * HttpRuntime.cs: Don't add Date header for error pages either. Fixes bug
832 2008-04-15 Marek Habersack <mhabersack@novell.com>
834 * HttpRequest.cs: dispose of streams the way it should
837 2008-04-14 Igor Zelmanovich <igorz@mainsoft.com>
839 * HttpRuntime.cs: refactoring.
841 2008-04-14 Marek Habersack <mhabersack@novell.com>
843 * XmlSiteMapProvider.cs: FindStartingNode throws an exception when
844 it is passed a file which ends in an extension other than
846 Fixed a check for the siteMapFile attribute presence. Fixes bug
849 * SiteMap.cs: FindCurrent node uses the default provider
850 exclusively. Fixes bug #379566
852 2008-04-10 Marek Habersack <mhabersack@novell.com>
854 * HttpApplicationFactory.cs: compile web references before
855 App_Code. Fixes bug #377934
857 * MimeTypes.cs: added some missing MIME types. New entries
858 contributed by Albert Ritmeester
859 <aritmeester@vitalhealthsoftware.nl>, thanks! Fixes bug #372290
861 2008-04-09 Marek Habersack <mhabersack@novell.com>
863 * HttpContext.cs: make RewritePath work correctly in the 2.0
864 profile, fixes bug #371581
866 * HttpApplicationFactory.cs: compile web references. Fixes bug
869 * VirtualPath.cs: added a method to convert a physical path into a
870 virtual one, if the physical path is under the application root.
872 2008-04-08 Dean Brettle <dean@brettle.com>
874 * HttpApplicationFactory.cs (CapabilitiesProcessor): changed to
875 use etc/mono/2.0/Browser/*.browser files in addition to
876 ~/App_Browsers/*.browser files.
878 2008-04-07 Marek Habersack <mhabersack@novell.com>
880 * VirtualPath.cs: added
882 2008-04-02 Marek Habersack <mhabersack@novell.com>
884 * HttpRequest.cs: make sure QueryStringRaw is always returned with
885 a leading '?' and that we return something meaningful even if the
886 url components weren't collected before. Fixes bug #376352
888 2008-04-01 Marek Habersack <mhabersack@novell.com>
890 * HttpApplication.cs: set context.Handler to the detected handler
891 object before firing application events. Fixes bug #372897
893 2008-03-31 Marek Habersack <mhabersack@novell.com>
895 * StaticFileHandler.cs: added code to use custom
896 VirtualPathProvider, if present, to serve files from virtual
899 * HttpResponse.cs: added two internal TransmitFile overloads which
900 take a VirtualFile as a parameter.
902 2008-03-27 Marek Habersack <mhabersack@novell.com>
904 * HttpRequest.cs: make UrlComponents internal.
906 * HttpContext.cs: added support for resource provider factories.
908 2008-03-13 Marek Habersack <mhabersack@novell.com>
910 * HttpApplicationFactory.cs: use HttpApplication.BinDirs to
911 create watchers for binary application directories.
913 * HttpApplication.cs: use HttpRuntime.CaseInsensitive instead of
914 own IsRunningOnWindows.
915 Remove the BinDirectories enumerator property, replaced with a
916 BinDirectory one returning a string with path to the binary
919 * HttpRuntime.cs: introduce two static properties -
920 CaseInsensitive (set to true whenever the environment is
921 case-insensitive - i.e. MONO_IOMAP="all" or MONO_IOMAP="case", or
922 running on Windows) and RunningOnWindows.
924 2008-03-12 Marek Habersack <mhabersack@novell.com>
926 * HttpApplication.cs: HttpContext.Handler may be set by a module
927 in any of the event handlers between acquiring the initial handler
928 and processing the request. Honor the setting and use
929 HttpContext.Handler instead of the matched one if set.
931 2008-03-10 Marek Habersack <mhabersack@novell.com>
933 * HttpApplication.cs: synchronize Modules and Dispose with
934 InitOnce. Should prevent firing module events before the modules
935 are fully initialized.
937 2008-03-09 Dean Brettle <dean@brettle.com>
939 * HttpApplicationFactory.cs: Added support for detecting
940 App_Browsers/*.browser files and using them to determine capabilities.
941 Also restart the app if the App_Browsers, App_Code, or App_GlobalResources
942 directories are created.
944 * BrowserCapabilities.cs (TagWriter): get value via internal virtual
945 GetTagWriter() method, which is overridden in nBrowser.Result.
947 * HttpRequest.cs (BrowserMightHaveSpecialWriter, BrowserMightHaveAdapters):
948 internal properties added to allow Page and Control methods to avoid
949 accessing Request.Browser to get browser-specific HtmlTextWriters or
950 ControlAdapters. Those things only exist when there are App_Browsers
953 2008-03-09 Marek Habersack <mhabersack@novell.com>
955 * HttpUtility.cs: HTML-decode the query string prior to parsing
958 2008-03-01 Marek Habersack <mhabersack@novell.com>
960 * HttpRuntime.cs: SettingsMappingManager has been moved to
963 2008-02-28 Marek Habersack <mhabersack@novell.com>
965 * HttpParamsCollection.cs: restore the GetValues overrides only to
966 make sure the collections are merged before invoking the base
968 Remove code that's no longer needed.
970 2008-02-27 Marek Habersack <mhabersack@novell.com>
972 * HttpException.cs: error message output format changes.
974 2008-02-26 Kornél Pál <kornelpal@gmail.com>
976 * HttpResponse.cs: Don't add Date header because servers usually add
977 a Date header that would result in duplicate Date header sent to the
978 client. Fixes bug #363404.
980 2008-02-25 Marek Habersack <mhabersack@novell.com>
982 * HttpException.cs: fix a buglet with unfoldable hidden divs which
983 contain the full compiler output and the full source code.
985 * HttpContext.cs: correctly set the timeout if the user has
986 specified a timeout which, when converted to milliseconds yields a
987 value larger than one allowed by Timer.Change. This can happen,
988 for instance, when HttpServerUtility.ScriptTimeout is set to
989 Int32.MaxValue. Previously, when something like that happened, the
990 value was converted to 0ms, giving an instantenous timer
991 expiration and, what follows, a request "timeout".
993 2008-02-19 Marek Habersack <mhabersack@novell.com>
995 * HttpParamsCollection.cs: do not override the NVC behavior for
996 GetValues - values from different sources (Form, Query, Cookies,
997 ServerVariables) must be kept separate for this purpose. This is
998 also the behavior of MS.NET. Fixes bug #362189
1000 2008-02-18 Marek Habersack <mhabersack@novell.com>
1002 * HttpRuntime.cs: When app is offline, send status code 503
1003 instead of 200. Fixes bug #357565
1005 2008-02-10 Gert Driesen <drieseng@users.sourceforge.net>
1007 * HttpException.cs: Avoid IndexOutOfRangeException when there are no
1010 2008-02-07 Gert Driesen <drieseng@users.sourceforge.net>
1012 * HttpException.cs: Removed CWL.
1014 2008-02-07 Marek Habersack <mhabersack@novell.com>
1016 * HttpException.cs: more exception output compatibility changes to
1019 2008-02-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1021 * HttpContext.jvm.cs: added CurrentHandlerInternal property
1023 2008-02-07 Marek Habersack <mhabersack@novell.com>
1025 * HttpException.cs: moved several strings to constants, for easier
1027 Added 3 new constructors which let the caller to set the exception
1029 The Description property is now settable.
1030 The stack trace at the bottom of the file is written after the
1031 terminating </html>, inside a HTML comment. Format changed to
1033 Error 404 is handled in a special way, to match the output with
1036 * HttpContext.cs, StaticFileHandler.cs, HttpApplication.cs: use
1037 the new HttpException constructor for 404.
1039 2008-02-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1041 * HttpResponse.cs: fixed AddHeadersNoCache, removed date_header since
1042 java app server adds it, under TARGET_J2EE.
1044 2008-02-06 Marek Habersack <mhabersack@novell.com>
1046 * HttpApplicationFactory.cs: in FireOnAppEnd, set app_type to null
1047 after the event has been fired.
1049 * HttpRuntime.cs: when switching to offline mode fire the
1050 shutdown events. Fixes bug #357565.
1051 Watch for Created event in the FileSystemWatcher for the
1052 app_offline.htm files.
1054 2008-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1056 * HttpRequest.cs: performance optimization of QueryStringRaw
1058 2008-01-27 Igor Zelmanovich <igorz@mainsoft.com>
1060 * HttpResponse.cs: rise PreSendRequestHeaders befire headers_sent
1061 initialization to allow set additional headers or status code at
1062 PreSendRequestHeaders event handlers.
1064 2008-01-24 Marek Habersack <mhabersack@novell.com>
1066 * HttpApplicationFactory.cs: use BuildManager.GetCompiledType to
1067 build the application (global.asax) file.
1069 2008-01-22 Konstantin Triger <kostat@mainsoft.com>
1071 * HttpResponse.cs: move headers_sent initialization up to prevent additional
1072 trial to send headers if an exception is thrown.
1074 2008-01-21 Konstantin Triger <kostat@mainsoft.com>
1076 * HttpRequest.cs: Form validation: ensure the collection is accessible after
1079 2008-01-16 Juraj Skripsky <js@hotfeet.ch>
1081 * HttpRequest.cs (get_UrlReferrer): Handle case when headers contain
1082 invalid Url for referer.
1084 2008-01-16 Juraj Skripsky <js@hotfeet.ch>
1086 * HttpCookieCollection.cs (AllKeys): Use Keys.CopyTo().
1088 2008-01-14 Sebastien Pouliot <sebastien@ximian.com>
1090 * HttpCookie.cs: Fix HttpOnly setter. Found using Gendarme.
1092 2008-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
1094 * HttpContext.cs: added resource manager caching in GetResourceObject
1095 * HttpContext.jvm.cs: added resourceManagerCache storing in appdomain
1097 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1099 * HttpContext.cs: added HasError method
1100 * HttpApplication.cs: refactored thread abort handling
1102 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1104 * HttpRuntime.cs: fixed HttpRuntime, added Cache.DependencyCache
1107 2007-12-26 Igor Zelmanovich <igorz@mainsoft.com>
1111 make trace considers control state info.
1113 2007-12-25 Igor Zelmanovich <igorz@mainsoft.com>
1115 * HttpApplication.cs: initialize culture each request.
1116 makes it consider culture settings from nested web.config
1118 2007-12-19 Juraj Skripsky <js@hotfeet.ch>
1120 * HttpContext.cs, HttpApplication.cs: Move timeout tracking from
1121 TimeoutManager into HttpContext. Replace periodic timeout checks with
1122 separate per-context timeout timers.
1123 * HttpRuntime.cs: remove TimeoutManager.
1125 2007-12-18 Miguel de Icaza <miguel@novell.com>
1127 * HttpCookieCollection.cs (Get): implement using the indexer to
1128 share some code. Should fix #349564.
1130 2007-12-16 Igor Zelmanovich <igorz@mainsoft.com>
1132 * HttpContext.cs: added IsProcessingInclude property.
1133 * HttpServerUtility.cs: set IsProcessingInclude value within Execute.
1135 2007-12-13 Marek Habersack <mhabersack@novell.com>
1137 * HttpRequest.cs, HttpResponse.cs, SiteMapNode.cs, HttpRuntime.cs,
1138 HttpResponseStream.cs, HttpApplication.cs, HttpCachePolicy.cs:
1139 speed optimization - use String.Concat instead of String.Format in
1142 2007-12-13 Igor Zelmanovich <igorz@mainsoft.com>
1144 * HttpApplication.cs:
1147 * HttpServerUtility.cs:
1148 - When Transfer/Execute is called with preserveForm=true, transferred
1149 page is not processed as PostBack but form collection is preserved.
1150 - When Execute is called more than once, PreviousPage property is set
1153 2007-12-09 Vladimir Krasnov <vladimirk@mainsoft.com>
1155 * HttpApplication.cs: added TARGET_JVM to LoadType method
1157 2007-12-08 Marek Habersack <mhabersack@novell.com>
1159 * HttpRuntime.cs: initialize the Settings Mapping Manager once per
1160 application, just after initalizing the WebConfigurationManager.
1162 2007-11-28 Marek Habersack <mhabersack@novell.com>
1164 * HttpApplication.cs: peform the check of whether we're running on
1165 Windows from within a static constructor.
1167 2007-11-23 Marek Habersack <mhabersack@novell.com>
1169 * RequestNotificationStatus.cs: fix the order of enum members.
1171 * RequestNotification.cs: assign correct values to the enum
1174 * StaticSiteMapProvider.cs: change visibility of the constructor.
1176 * HttpRequest.cs: added missing property LogonUserIdentity.
1178 * HttpCacheVaryByContentEncodings.cs: this constructor should not
1181 2007-11-23 Daniel Nauck <dna@mono-project.de>
1183 * TraceContextRecord.cs: implemented
1185 2007-11-23 Marek Habersack <mhabersack@novell.com>
1187 * BrowserCapabilities.cs: the JavaScript property is obsolete in
1190 2007-11-22 Daniel Nauck <dna@mono-project.de>
1192 * IPartitionResolver.cs: implemented
1194 2007-11-22 Daniel Nauck <dna@mono-project.de>
1196 * WebPageTraceListener.cs: implemented
1198 2007-11-22 Marek Habersack <mhabersack@novell.com>
1200 * RequestNotificationStatus.cs: added
1202 * RequestNotification.cs: added
1204 * HttpCacheVaryByContentEncodings.cs: added
1206 * HttpCachePolicy.cs: added the HttpCacheVaryByContentEncodings
1209 * HttpApplication.cs: added 3 new events to the pipeline (for
1210 compatibility with the 2.0sp1/3.5 version of System.Web)
1212 2007-11-22 Daniel Nauck <dna@mono-project.de>
1214 * WebPageTraceListener.cs: initial checkin (stubs).
1216 2007-11-17 Marek Habersack <mhabersack@novell.com>
1218 * HttpResponse.cs: make sure fileDependencies is not null before
1219 attempting to use it. Fixes bug #342511.
1221 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
1224 * TraceData.cs: implemented TraceMode feature.
1226 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
1228 * BaseParamsCollection.cs:
1229 ensure collection will not be changed during enumeration.
1231 2007-11-06 Marek Habersack <mhabersack@novell.com>
1233 * HttpResponse.cs: trigger the PreSendRequestHeaders event before
1234 setting the output headers. Fixes bugs #334521, #339538
1236 * TraceData.cs: do not use DataTable for trace data storage
1237 anymore. Instead, a set of classes is used to hold data and a
1238 Queue container (generic version in 2.0) is used to hold the data
1239 rows. Fixes bug #325267.
1241 2007-11-05 Marek Habersack <mhabersack@novell.com>
1243 * HttpRequest.cs: cope with UriBuilder.Query being null.
1245 2007-11-03 Gert Driesen <drieseng@users.sourceforge.net>
1247 * HttpRuntime.cs: Always return a path with trailing directory
1248 separator character. Spaces to tabs.
1250 2007-11-03 Marek Habersack <mhabersack@novell.com>
1252 * HttpApplication.cs: removed unused internal PrivateBinPath
1255 * HttpRuntime.cs: BinDirectory returns a path that ends with the
1256 directory separator character.
1258 2007-11-02 Marek Habersack <mhabersack@novell.com>
1260 * HttpServerUtility.cs: in 2.0, Transfer is allowed only from
1261 pages. Fixes bug #334931
1262 Also, according to MSDN docs, transfer in 2.0+ is possible only to
1265 * HttpRuntime.cs: BinDirectory returns a full path to the actual
1266 bin directory in the application root. If no bin directory is
1267 found, it defaults to returning <applicationPath>/bin. Fixes bug
1270 * HttpApplication.cs: introduced HTTP handler cache to save time
1271 on repetitive handler collection traversals. On busy sites the
1272 traversal of the default 26 handlers may account for thousands of
1273 unnecessary calls to configsystem.LocateHandler method, which may
1274 also involve executing a regex. The cache is cleared whenever the
1275 HTTP handler collection is modified.
1277 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
1279 * HttpUtility.cs: fixed HtmlEncode for TARGET_JVM.
1281 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
1283 * HttpUtility.cs: fixed UrlPathEncode.
1285 2007-10-24 Gert Driesen <drieseng@users.sourceforge.net>
1287 * StaticFileHandler.cs: Modified 404 message to match MS.
1289 2007-10-24 Marek Habersack <mhabersack@novell.com>
1291 * HttpUtility.cs: MS.NET does not support the ';' query parameter
1292 separator. Fixes bug #335615
1294 2007-10-18 Juraj Skripsky <js@hotfeet.ch>
1296 * StaticSiteMapProvider.cs: Replace Hashtables by Dictionaries,
1297 don't allocate them on-demand, there will never be many
1298 Provider instances around.
1299 AddNode(): Check for duplicate keys before adding any item to
1301 RemoveNode(): Use fact that Hashtable.Remove() never throws,
1302 remove item from keyToNode as well, make symmetric to AddNode().
1303 MapUrl(): Use VirtualPathUtility, allow for full urls
1304 (e.g. http://www.google.com).
1306 2007-10-17 Marek Habersack <mhabersack@novell.com>
1308 * StaticFileHandler.cs: fixed an bug with Mono running under
1309 Windows operating systems which caused XSP to return source of the
1310 requested page if the file name used in the request ended in any
1311 number of spaces or dots. The problem lies in the way the Win32
1312 subsystem treats such file names - it ignores the trailing
1313 characters and allows the calling application to open a file on
1314 disk even when its name does not contain the trailing characters
1315 used in the open request. Such file names may be supported by the
1316 underlying filesystem (e.g. NTFS) but they are not supported by
1317 the I/O Win32 subsystem. The security issue is reported in
1318 CVE security report CVE-2007-5473. Fixes bug #332401
1320 2007-10-17 Igor Zelmanovich <igorz@mainsoft.com>
1323 response status is sent after PreSendRequestHeaders invoked.
1324 Redirect method set RedirectLocation property
1327 2007-10-15 Marek Habersack <mhabersack@novell.com>
1329 * HttpApplication.cs: do not return a non-existing bin directory
1330 from BinDirectories. Patch from Atsushi Enomoto
1331 <atsushi@ximian.com>, thanks! Fixes bug #332434.
1333 2007-10-04 Marek Habersack <mhabersack@novell.com>
1335 * HttpApplication.cs: call the Init method after loading the
1336 modules and hooking up application events. Fixes bug #330416.
1338 2007-10-01 Marek Habersack <mhabersack@novell.com>
1340 * HttpServerUtility.cs: set a flag when transferring control to
1343 * HttpContext.cs: added an internal InTransit property to carry
1344 information that HttpServerUtility.Transfer has been used, over to
1347 2007-09-12 Juraj Skripsky <js@hotfeet.ch>
1349 * StaticSiteMapProvider.cs (AddNode): Add message text to
1350 InvalidOperationException (duplicate url case).
1352 2007-09-06 Marek Habersack <mhabersack@novell.com>
1354 * HttpCachePolicy.cs: implemented setting the ETag and
1355 Last-Modified headers from file dependencies.
1357 * HttpResponse.cs: implemented file dependency methods.
1359 2007-09-01 Marek Habersack <mhabersack@novell.com>
1361 * HttpRuntime.cs: rewrote the app_offline.htm support. It now uses
1362 filesystem watchers instead of checking for existence of the
1363 file(s) at the beginning of every request. No performance penalty
1366 2007-08-31 Marek Habersack <mhabersack@novell.com>
1368 * HttpApplicationFactory.cs: added methods to enable/disable
1371 * HttpRuntime.cs: implemented handling of app_offline.htm file in
1372 the application root directory. Fixes bug #81127.
1374 * HttpResponse.cs: make sure neither context or
1375 context.ApplicationInstance are null in End ().
1377 2007-08-27 Marek Habersack <mhabersack@novell.com>
1379 * HttpCookie.cs: make sure a key is output even if it has no
1380 values set. Fixes bug #81333.
1382 2007-08-23 Marek Habersack <mhabersack@novell.com>
1384 * HttpApplication.cs: added a static array BinDirs which contains
1385 the common bin directory names we can encounter.
1386 Added internal static property IsRunningOnWindows.
1387 Added internal enumerable property BinDirectories to iterate over
1388 the full paths of the available binary directories.
1389 Added internal enumerable property BinDirectoryAssemblies to
1390 iterate over .dll files in the bin directories.
1391 LoadTypeFromPrivateBin renamed to LoadTypeFromBin.
1392 LoadTypeFromBin uses BinDirectoryAssemblies.
1394 * HttpApplicationFactory.cs: use HttpApplication.BinDirectories to
1395 interate over the list of bin dirs.
1397 2007-08-21 Marek Habersack <mhabersack@novell.com>
1399 * HttpApplicationFactory.cs: watch for changes in all the
1400 private binary directories for the current application domain.
1402 * HttpApplication.cs: turn the PrivateBinPath property into an
1403 internal enumerable, so that code throughout the assembly can
1404 iterate over the list of private bin directories configured for
1405 the application domain.
1406 Added a new internal method LoadTypeFromPrivateBin, for sharing
1407 with other parts of the assembly.
1409 2007-08-18 Juraj Skripsky <js@hotfeet.ch>
1411 * HttpRequest.cs (StripPath): Fix off-by-one error, make static.
1413 2007-08-18 Marek Habersack <mhabersack@novell.com>
1415 * HttpRequest.cs: IE sends the full input file path when uploading
1416 a file via the upload input control. Detect the situation and
1417 strip the leading path. Fixes bug #82059.
1419 * HttpServerUtility.cs: set the current context's path(s) to the
1420 Transfer/Execute target only to retrieve the new handler, and
1421 restore them immediately afterwards. It has a two-fold effect:
1422 first it avoids an extra round trip to the original page which
1423 called Transfer/Execute, second it makes FilePath etc. return
1424 information about the original page (that is the one which called
1425 Transfer/Execute). Fixes bug #82439.
1427 2007-08-14 Marek Habersack <mhabersack@novell.com>
1429 * XmlSiteMapProvider.cs: do not hide this_lock.
1431 2007-08-09 Marek Habersack <mhabersack@novell.com>
1433 * HttpApplicationFactory.cs: unconditionally watch for changes
1434 (including creation) to Global.asax, global.asax, Web.config,
1435 web.config and Web.Config. This makes the application restart once
1436 any of those is created. Patch from Juraj Skripsky
1437 <juraj@hotfeet.ch>, thanks! Fixes bug #82380.
1439 2007-08-08 Marek Habersack <mhabersack@novell.com>
1441 * StaticSiteMapProvider.cs, HttpApplicationFactory.cs,
1442 HttpStaticObjectsCollection.cs, SiteMapProvider.cs,
1443 XmlSiteMapProvider.cs, HttpApplication.cs, CapabilitiesLoader.cs,
1444 TimeoutManager.cs: do not use lock (this), replace it with lock
1445 (this_object), where this_object is an instance variable. Prevents
1446 deadlocks in situation when external code locks on the class
1449 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1451 * HttpUtility.cs: performance refactoring, optimized UrlEncode
1453 2007-08-05 Igor Zelmanovich <igorz@mainsoft.com>
1455 * SiteMapNode.cs: refactoring + typo fix:
1456 variable is declared in scope where is used.
1458 2007-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1460 * VirtualPathUtility.cs: refactored GetDirectory, ToAbsolute, added
1461 internal api to skip path normalizing
1463 2007-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
1465 * HttpResponseStream.jvm.cs: optimized CharBucket
1467 2007-07-22 Vladimir Krasnov <vladimirk@mainsoft.com>
1469 * HttpServerUtility.cs: fixed Execute, SetCurrentExePath should be
1470 called after ApplicationInstance.GetHandler call in case of GetHandler
1471 fails for some reason
1473 2007-07-21 Marek Habersack <mhabersack@novell.com>
1475 * HttpRuntime.cs: clean up the dynamic base directory on domain
1478 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
1480 * HttpUtility.cs: optimized HtmlEncode and HtmlAttributeEncode methods
1482 2007-07-05 Miguel de Icaza <miguel@novell.com>
1484 * HttpApplication.cs (AsyncRequestState.Complete): Add the
1485 try/catch for the callback here to ensure that we only call
1486 complete_event.Set once.
1488 (PipelineDone): This is where the core of the bug fix is: do not
1489 call Complete() or call done.Set() (depending on the invocation
1490 case) until we are actually done cleaning up the request.
1492 The problem was that we signaled that we were done, but we had not
1493 completed the shut down, so another thread could have been
1494 scheduled on the same HttpApplication and had its variables be
1495 modified as we completed the shutdown on the first thread.
1497 This fixes #81400 which was a very long standing bug.
1499 (Tick): Remove the pipeline check against null, this is not
1500 necessary and it will help us find problems like this one in the
1503 Reverts patch r66072 which was a described as:
1505 band-aid patch to help debugging hang running 2.0
1508 2007-07-02 Marek Habersack <mhabersack@novell.com>
1510 * CapabilitiesLoader.cs: provide default capability values for all
1511 the 2.0+ capabilities which are not defined in our
1512 browscap.ini. The default values have been assigned as per
1513 MSDN. Fixes bug #81927
1515 2007-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1517 * HttpResponse.cs: fixed AddHeadersNoCache, removed content-length
1518 header for TARGET_JVM
1519 * HttpWorkerRequest.cs: made this class partial, moved TARGET_JVM stuff
1521 * HttpWriter.cs: fixed write methods, output_stream can write char[]
1522 and string in TARGET_JVM
1523 added HttpWorkerRequest.jvm.cs, HttpResponseStream.jvm.cs
1525 2007-06-25 Juraj Skripsky <js@hotfeet.ch>
1527 * HttpRuntime.cs (ShutdownAppDomain): Re-introduce call to
1528 "Cache.InvokePrivateCallbacks".
1530 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1532 * HttpUtility.cs: fixed HtmlAttributeEncode, performance improvement
1534 2007-06-20 Marek Habersack <mhabersack@novell.com>
1536 * HttpRuntime.cs: added new internal property, InternalCache, to
1537 keep all the internal cache entries instead of mixing them with
1538 the public cache ones.
1539 Do not invoke Cache.InvokePrivateCallbacks - this method no longer
1542 * HttpResponse.cs: private entries are now kept in
1543 Context.InternalCache.
1545 * HttpContext.cs: added new internal property, InternalCache,
1546 which returns the HttpRuntime.InternalCache value.
1548 * HttpApplication.cs: check all the loaded assemblies for the type
1549 being looked up. Patch from Juraj Skripsky <juraj@hotfeet.ch>,
1550 thanks! Fixes bug #81697.
1552 2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>
1554 * HttpUtility.cs: refactoring:
1555 removed constants to another class.
1557 2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>
1559 * AssemblyResourceLoader.cs: refactoring:
1560 make the code reusable in System.Web.Extenssions.
1562 2007-05-31 Marek Habersack <mhabersack@novell.com>
1564 * SiteMapProvider.cs: implemented proper logic of authorizing
1565 user's access to a sitemap node, as per MSDN2 docs. Patch from
1566 Dumitru Ban <dban@dako.ro>, thanks!
1568 2007-05-30 Marek Habersack <mhabersack@novell.com>
1570 * TraceManager.cs: Catch all the possible exceptions in the
1571 constructor - the object MUST be created successfully (even if
1574 * HttpRequest.cs: do not attempt to apply url mappings if the
1575 configuration manager has errors.
1577 * HttpRuntime.cs: handle static constructor exceptions later on,
1578 during the first call to ReallyProcessRequest.
1580 * QueueManager.cs: provide defaults for the parameters to be read
1581 from the config file(s).
1582 Catch all the possible exceptions in the constructor - the object
1583 MUST be created successfully (even if there are errors).
1585 2007-05-29 Marek Habersack <mhabersack@novell.com>
1587 * SiteMapProvider.cs: updated the node accessibility comments.
1588 If Roles not null and user is not in at least one of the
1589 specified roles, return false.
1590 If there Url is null or empty, return false.
1592 2007-05-28 Marek Habersack <mhabersack@novell.com>
1594 * HttpRequest.cs: since Path is used from within
1595 WebConfigurationManager, under some conditions it may lead to
1596 endless recursion if the UrlComponents is not instantiated when
1599 2007-05-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1601 * HttpContext.cs: added ProfileInitialized boolean property
1603 2007-05-16 Vladimir Krasnov <vladimirk@mainsoft.com>
1605 * VirtualPathUtility.cs: Normalize method check more carefully if need
1606 to normalize, performance fix
1608 2007-05-16 Konstantin Triger <kostat@mainsoft.com>
1610 * HttpContext.cs: correctly check for request locality.
1612 2007-05-15 Marek Habersack <mhabersack@novell.com>
1614 * HttpApplication.cs: refactoring - moved LoadType from
1615 WebConfigurationHost here and made it internal static, in order to
1616 make the code avaliable from all the places where extended type
1617 loading is required.
1619 2007-05-14 Marek Habersack <mhabersack@novell.com>
1621 * HttpUtility.cs: when parsing query strings, skip the leading ?
1622 for the first parameter name.
1624 * HttpRequest.cs: added support for mapping urls, as defined in
1625 the system.web/urlMappings section.
1627 2007-05-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1629 * HttpWriter.cs: GetMaxByteCount was used in Write and WriteString
1630 methods to improve performance of HttpWriter
1632 2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
1634 * HttpApplication.cs:
1635 prevent DOS attack: remove configuration from the cache in case
1636 of invalid resource not exists
1638 2007-05-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1640 * TraceContext.cs: refactoring, cached TraceManager
1642 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1644 * HttpApplication.cs:
1646 handling exceptions occurred if <system.web/customError>
1647 section is not valid.
1649 2007-05-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1651 * BaseParamsCollection.cs: fixed Get(string) property, fixed collection
1654 2007-05-07 Marek Habersack <mhabersack@novell.com>
1656 * HttpResponseStream.cs: use BufferOutput
1658 * HttpResponse.cs: support Buffer, but use BufferOutput
1660 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1662 * BrowserCapabilities.cs:
1665 2007-04-30 Igor Zelmanovich <igorz@mainsoft.com>
1667 * HttpApplication.cs: reverted r74717.
1669 2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
1671 * HttpContext.jvm.cs: Response.End() must abort thread if not async.
1673 2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
1675 * HttpApplication.cs: doesn't cache httpHandlersSection in instance,
1676 that allows to consider httpHandlers section in nested web.config.
1678 2007-04-27 Marek Habersack <mhabersack@novell.com>
1680 * XmlSiteMapProvider.cs: add support for siteMapFile attribute.
1682 2007-04-24 Marek Habersack <mhabersack@novell.com>
1684 * CapabilitiesLoader.cs: Hashtables used as property containers
1685 should not be case-insensitive as we now preload the property
1686 hashes with default properties, to make the code work in case
1687 browscap.ini is broken or missing. Instead, the keys are
1688 lower-cased and trimmed before indexing the Hashtable.
1689 Added all the missing capabilities to the defaultCaps Hashtable.
1690 The returned Hashtable is not reversed in GetCapabilities anymore
1691 - it might make the code faster, but it also makes it mismatch
1692 browsers (e.g. Firefox 2.0 is mismatched for Mozilla 1.8).
1693 All of the above fixes bug #81437.
1695 * HttpRequest.cs: MS.NET throws HttpException for invalid paths,
1696 not ArgumentNullException.
1698 * HttpException.cs: wrap GetHtmlErrorMessage internals in
1699 try/catch to capture possible exceptions in HttpContext.
1701 * HttpContext.cs: IsCustomErrorEnabled is used from within
1702 HttpException, make sure it gets the section in a safe way and
1703 resorts to the default settings.
1705 * HttpResponse.cs: HeaderEncoding is used in the same context as
1706 above. Take the same precautions.
1708 2007-04-22 Joshua Tauberer <jit@occams.info>
1710 * HttpParamsCollection.cs: Fix IndexOutOfRangeException.
1712 2007-04-19 Miguel de Icaza <miguel@novell.com>
1714 * BaseParamsCollection.cs (Get (string)): Call LoadInfo here to
1717 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1719 * HttpException.cs: used GetBaseException() instead InnerException.
1721 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1723 * HttpException.cs: shows message of InnerException in head of Page.
1725 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1727 * HttpException.cs: fixed generated HTML formating.
1729 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
1731 * HttpContext.cs: GetGlobalResourceObject, GetLocalResourceObject
1732 use case-insensitive ResourceManager
1734 2007-04-15 Marek Habersack <mhabersack@novell.com>
1736 * VirtualPathUtility.cs: converted to LF line endings and set the
1737 svn:eol-style property to 'native'
1739 2007-04-13 Marek Habersack <mhabersack@novell.com>
1741 * SiteMap.cs: try to look up the current map node in providers
1742 other than the current one. Patch from Mike Morano
1743 <mmorano@mikeandwan.us>. Fixes bug #81366.
1745 2007-04-12 Vladimir Krasnov <vladimirk@mainsoft.com>
1747 * HttpRequest.cs: fixed Params property to be lazy initialzation
1749 * added HttpParamsCollection.cs
1751 2007-04-11 Konstantin Triger <kostat@mainsoft.com>
1753 * HttpRequest.cs: IsLocal should return true for loopback addresses.
1755 2007-04-10 Marek Habersack <mhabersack@novell.com>
1757 * HttpCookie.cs: format the output of HttpCookie.Values.ToString()
1758 in the same way MS.NET does. Fixes bug #81333. Patch from Mike
1759 Morano <mmorano@mikeandwan.us>.
1761 * XmlSiteMapProvider.cs: add the NotifyFilters.Size to the
1762 watcher flags, so that we watch for modifications to a file when
1763 using Linux inotify.
1765 * HttpApplicationFactory.cs: add the NotifyFilters.Size to the
1766 watcher flags, so that we watch for modifications to a file when
1767 using Linux inotify.
1768 App_Code, App_Browsers and App_GlobalResources watchers must watch
1769 for events with the '*' mask so that they can notice events
1770 related to subdirectory creation/deletion.
1771 Watch for subdirectory events with the App_Code watcher.
1773 2007-04-07 Marek Habersack <mhabersack@novell.com>
1775 * HttpException.cs: show a default custom error message if custom
1777 Cleaned up the errors HTML, made it XHTML-compliant. Generated
1778 HTML now uses inline CSS styles.
1780 2007-04-06 Marek Habersack <mhabersack@novell.com>
1782 * HttpUtility.cs: added a constant that contains the default query
1783 parameter character.
1784 ParseQueryString supports queries with both '&' and ';' parameter
1787 2007-04-05 Marek Habersack <mhabersack@novell.com>
1789 * CapabilitiesLoader.cs: Make sure that the capability names
1790 (keys) are stored in lowercase.
1792 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1794 * XmlSiteMapProvider.cs:
1795 custom attributes of siteMapNode are loaded properly.
1797 2007-04-05 Marek Habersack <mhabersack@novell.com>
1799 * CapabilitiesLoader.cs: add a full default set of capabilities
1800 for cases when browscap.ini is broken, missing or doesn't contain
1801 definition for the client's User-Agent. Makes it possible to surf
1802 asp.net sites from unsupported clients.
1804 2007-04-04 Juraj Skripsky <js@hotfeet.ch>
1806 * HttpApplicationFactory.cs: Make sure an web application is
1807 shutdown only once (and Application_End in global.asax is called
1808 only once as well). This is necessary because FileSystemWatcher
1809 emits multiple events when e.g. global.asax is changed.
1811 2007-04-01 Vladimir Krasnov <vladimirk@mainsoft.com>
1813 * HttpRequest.cs: fixed Headers property to use optimized
1815 * WebROCollection.cs: used StringComparer.OrdinalIgnoreCase for
1817 * ServerVariablesCollection.cs: used lazy collection fill optimization
1818 * added: HeadersCollection.cs, BaseParamsCollection.cs
1820 2007-04-01 Konstantin Triger <kostat@mainsoft.com>
1823 GetLocalResourceObject - should not prefix resources with 'Resources.'.
1825 2007-04-01 Konstantin Triger <kostat@mainsoft.com>
1827 * BrowserCapabilities.cs: Default Browser (userAgent) property to 'Unknown'.
1829 2007-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1831 * HttpContext.cs: timeout methods removed from TARGET_J2EE compilation
1832 * HttpContext.jvm.cs: added stubs for timeout methods
1834 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1836 * StaticSiteMapProvider.cs:
1837 GetChildNodes does not return null but SiteMapNodeCollection.EmptyCollection.
1839 2007-03-28 Konstantin Triger <kostat@mainsoft.com>
1841 * BrowserCapabilities.cs:
1843 2. Break recoursion in case 'browser' capability is not found.
1845 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1847 * SiteMapNode.cs: fixed GetAllNodes method.
1849 2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
1851 * XmlSiteMapProvider.cs: fixed:
1852 resolve app-relative path from config such siteMapFile="~/Web.sitemap".
1854 2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
1857 * XmlSiteMapProvider.cs: fixed: Localize Site-Map Data.
1859 2007-03-26 Konstantin Triger <kostat@mainsoft.com>
1861 * HttpRequest.cs: correctly handle null and empty virtual pathes in MapPath.
1863 2007-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1865 * HttpContext.cs: AppGlobalResourcesAssembly static member stored in
1866 AppDomain for TARGET_JVM
1868 2007-03-24 Marek Habersack <mhabersack@novell.com>
1870 * HttpRuntime.cs: use ICalls.GetMachineConfigPath instead of
1871 opening the machine.config file and getting its path.
1873 * CapabilitiesLoader.cs: use HttpRuntime.MachineConfigurationDirectory
1874 instead of opening the machine config file and getting its path.
1876 2007-03-23 Konstantin Triger <kostat@mainsoft.com>
1878 * HttpApplication.cs: complete the pipeline in case of exception during
1879 InitOnce() to avoid a deadlock.
1881 2007-03-22 Adar Wesley <adarw@mainsoft.com>
1883 * BrowserCapabilities.cs: Added implementation for all capabilities.
1884 changed implementation to throw when capability is not defined in browscaps.ini.
1886 * CapabilitiesLoader.cs: fixed parent resultion bug. added internal support for
1887 browser and browsers capabilities.
1889 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1891 * HttpContext.jvm.cs, HttpRuntime.cs: cached instance of HttpRuntime
1892 in context in addition to AppDomain
1894 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1896 * HttpCookie.cs, HttpCookieCollection.cs: used OrdinalIgnoreCase
1897 StringComparer for cookies and values collections
1899 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1901 * HttpApplication.cs: refactred handlers configuration section as
1904 2007-03-20 Marek Habersack <mhabersack@novell.com>
1906 * HttpRequest.cs: implement AppRelativeCurrentExecutionFilePath.
1908 2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
1910 * VirtualPathUtility.cs: fixed GetFileName(), GetExtension() methods.
1912 2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
1914 * VirtualPathUtility.cs: fixed GetDirectory() method.
1916 2007-03-15 Marek Habersack <mhabersack@novell.com>
1918 * XmlSiteMapProvider.cs: handle cases with no default for the
1921 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
1923 * HttpRequest.cs: fixed MapPath () method.
1925 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
1927 * VirtualPathUtility.cs: fixed ToAbsolute() method.
1929 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
1931 * VirtualPathUtility.cs: refactoring: class is shared with 1.x.
1933 2007-03-15 Marek Habersack <mhabersack@novell.com>
1935 * XmlSiteMapProvider.cs: add support for the enableLocalization
1936 <siteMap> attribute and handle per-node localization resource
1937 strings for explicit localization as well as the resourceKey
1938 attribute to <siteMapNode> for implicit localization (closes bug
1941 * SiteMapNode.cs: add support for the resource keys and foreign
1943 Implement GetImplicitResourceString.
1944 Add support for translation of the Title and Description
1945 attributes (closes bug #81103) as well as foreign attributes.
1947 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
1949 * VirtualPathUtility.cs: fixed: works properly with appRelative path.
1951 2007-03-13 Marek Habersack <mhabersack@novell.com>
1953 * HttpApplicationFactory.cs: resources compiler no longer accepts
1954 a boolean parameter.
1956 * HttpRuntime.cs: Do not compile local resources here anymore.
1958 * HttpContext.cs: if App_LocalResources assembly corresponding to
1959 the virtual path is not found, compile it here.
1960 Look up resources in the "Resources." class path.
1962 2007-03-13 Igor Zelmanovich <igorz@mainsoft.com>
1964 * HttpUtility.cs: fixed HttpUtillity.HtmlAttributeEncode
1965 '<' char must be encoded.
1967 2007-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
1969 * CapabilitiesLoader.cs: added TARGET_JVM part of static members,
1970 added caching to GetCapabilities method for performance improvement
1972 2007-03-12 Marek Habersack <mhabersack@novell.com>
1974 * XmlSiteMapProvider.cs: support custom site map providers. Fixes
1977 2007-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
1979 * StaticFileHandler.cs: fixed ProcessRequest TARGET_JVM path,
1980 if_modified_since fixed in WAR mode
1982 2007-02-25 Vladimir Krasnov <vladimirk@mainsoft.com>
1984 * HttpRequest.jvm.cs: fixed LoadWwwForm, should distinguish between
1985 query string and form values
1987 2007-02-21 Marek Habersack <grendello@gmail.com>
1989 * HttpRuntime.cs: BinDirectory returns the bin directory
1990 determined by the application host on the application startup.
1992 * HttpApplicationFactory.cs: Watch the bin directory determined by
1993 the application host on the application startup.
1995 2007-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1997 * HttpRequest.cs: fixed MapPath, removed TARGET_J2EE block that checks
2000 2007-02-19 Marek Habersack <grendello@gmail.com>
2002 * HttpContext.cs: Make sure all the global resource objects are
2003 sought in the Resources. namespace.
2005 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
2007 * HttpContext.jvm.cs, HttpRequest.jvm.cs: Adapt for tunning under test
2008 harness where we don't have a SevletRequest/Response.
2010 2007-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2012 * HttpApplication.cs: fixed InitOnce, httpModules section is global and
2013 taken from the root web.config
2015 2007-02-12 Robert Jordan <robertj@gmx.net>
2017 * HttpResponseStream.cs (BlockManager.EnsureCapacity):
2018 don't call Marshal.ReAllocHGlobal on NULL because, unlike
2019 realloc(3) and g_realloc, it doesn't support this semantic.
2020 Fixes a part of bug #77075.
2022 2007-02-12 Marek Habersack <grendello@gmail.com>
2024 * HttpRuntime.cs: support for preservation (.compiled) assembly
2027 2007-02-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2029 * HttpApplication.cs: added exception pass through from processAction
2032 2007-02-02 Marek Habersack <grendello@gmail.com>
2034 * HttpApplicationFactory.cs: make code a bit more compact.
2036 2007-01-30 Vladimir Krasnov <vladimirk@mainsoft.com>
2038 * HttpResponse.cs: fixed TARGET_J2EE part of Redirect for portlet
2040 2007-01-30 Adar Wesley <adarw@mainsoft.com>
2042 * VirtualPathUtility.cs: fixed exceptions thrown from Combine
2043 so they are compatible with MS.
2045 2007-01-25 Marek Habersack <grendello@gmail.com>
2047 * HttpApplication.cs: Make sure that a specific culture is used
2048 when setting the current thread culture.
2050 2007-01-21 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
2052 * HttpServerUtility.cs: implement Execute/Transfer overloads that take
2053 an IHttpHandler. Still missing the documented check for page IsCallback.
2054 Also, on MS when i derive from Page for my IHttpHandler, it works fine,
2055 but if I just implement IHttpHandler, an exception is thrown. This needs
2056 to be researched but, by now, the IHttpHandler version works on mono
2059 2007-01-20 Miguel de Icaza <miguel@novell.com>
2061 * SiteMapNode.cs (GetExplicitResourceString): implement.
2063 * HttpContext.cs (GetGlobalResourceObject): remove unused variable.
2065 * StaticFileHandler.cs (ProcessRequest): remove unused variable.
2067 * HttpApplication.cs (ProcessError): Remove unused variable.
2069 * HttpServerUtility.cs (Execute): Add new overload and rename
2070 parameter to match MS (as they are normative).
2072 2007-01-17 Marek Habersack <grendello@gmail.com>
2074 * HttpApplicationFactory.cs: Implement code and framework to
2075 enable automatic application restarts on changes to folders/files
2076 in a generic way. Patch from Damien Churchill
2077 <damien.churchill@ukplc.net>, thanks!
2078 Make sure the top-level assemblies (App_Code, resources) are not
2079 referenced twice should a compilation error occur.
2081 2007-01-16 Atsushi Enomoto <atsushi@ximian.com>
2083 * TraceData.cs : page could be null. Fixed bug #80480.
2085 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
2087 * VirtualPathUtility.cs: fixed bugs in methods - GetDirectory and
2088 GetExtension, according to the VirtualPathUtilityTest
2090 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2092 * SiteMapProvider.cs: fixed IsAccessibleToUser, true if
2093 SecurityTrimmingEnabled not enabled, true if Roles exists on node and
2096 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
2098 * HttpRequest.jvm.cs, HttpContext.jvm.cs: Added TARGET_J2EE specific files.
2099 * HttpContext.cs, HttpResponse.cs, HttpRequest.cs, HttpCookie.cs:
2100 Add J2EE Portal support for TARGET_J2EE.
2102 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
2104 * HttpRequest.cs: fixed IsLocal, should check all ip addresses of host
2106 2007-01-05 Marek Habersack <grendello@gmail.com>
2108 * HttpApplicationFactory.cs: Use the new app resources compiler.
2110 * HttpRuntime.cs: Use the new app resources compiler.
2112 * HttpContext.cs: Reimplement the GetGlobalResourceObject
2113 methods, implement the GetLocalResourceObject methods.
2115 * HttpResponse.cs: Implement the HeaderEncoding property.
2117 2007-01-04 Andreia Gaita <avidigal@novell.com>
2119 * HttpRuntime.cs: Add check for NET_2_0 when initializing
2120 WebConfigurationManager, build failing on 1.1 profile
2122 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
2124 * HttpApplicationFactory.cs, HttpRuntime.cs: WebConfigurationManager
2125 should be initializaed before any possible access to it
2127 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
2129 * HttpRequest.cs: fixed Path property, add call of
2130 Uri.UnescapeDataString in net_2_0
2132 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
2134 * HttpApplication.cs: fixed PreStart, should not set thread culture
2137 2007-01-03 Vladimir Krasnov <vladimirk@mainsoft.com>
2139 * HttpRequest.cs: fixed jvm version of MakeInputStream, should not
2140 throw exception on zero content length
2142 2007-01-03 Vladimir Krasnov <vladimirk@mainsoft.com>
2144 * SiteMap.cs, SiteMapNodeCollection.cs: TARGET_JVM of static members
2146 2006-12-20 Marek Habersack <grendello@gmail.com>
2148 * HttpContext.cs: add internal setter for the Profile property.
2150 * HttpApplicationFactory.cs: Added a shortcut version of
2151 InvokeSessionEnd for use from the 2.0 SessionState code.
2153 2006-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
2155 * HttpRequest.cs: fixed Path property, returns unescaped url
2157 2006-12-16 Marek Habersack <grendello@gmail.com>
2159 * HttpRequest.cs: Fix for http exception during first visit to an
2160 application when the visit path is not the app's virtual root.
2162 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
2164 * SiteMapProvider.cs.cs:
2165 * XmlSiteMapProvider.cs: fixed: because more then one node with empty url
2166 is allowed unique key is generated for each node.
2168 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
2170 * SiteMapProvider.cs.cs: fixed: IsAccessibleToUser resolvs relative url.
2171 * StaticSiteMapProvider.cs: fixed: RemoveNode
2173 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
2175 * VirtualPathUtility.cs: fixed: Combine(), ToAbsolute() methods.
2177 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
2179 * VirtualPathUtility.cs: fixed: IsAppRelative() method.
2181 2006-12-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2183 * BrowserCapabilities.cs: fixed MSDomVersion property
2185 2006-12-05 Igor Zelmanovich <igorz@mainsoft.com>
2187 * VirtualPathUtility.cs: fixed: ToAbsolute() method.
2189 2006-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2191 * HttpRequest.cs: call MapPath on the HttpWorkerRequest so that if
2192 FilePath is changed we get the new physical path, not the one of the
2193 original request. Fixes bug #80152.
2195 2006-12-03 Igor Zelmanovich <igorz@mainsoft.com>
2197 * HttpWriter.cs: reverted r38835.
2199 2006-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2201 * HttpWriter.cs: remove unused WriteBytes method.
2203 2006-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2205 * HttpRequest.cs: physical path comes from GetFilePathTranslated to
2206 avoid trimming in HttpRequest.MapPath.
2208 2006-11-29 Marek Habersack <grendello@gmail.com>
2210 * HttpApplication.cs: Make use of the handler stack implemented
2213 * HttpCacheVaryByHeaders.cs: Optionally omit the vary:* header
2214 value in the 2.0 profile.
2216 * HttpServerUtility.cs: Make use of the handler stack implemented
2218 Implemented the UrlToken{Encode,Decode} 2.0 methods.
2220 * HttpResponse.cs: Implemented the IsRequestBeingRedirected
2223 * HttpContext.cs: Implemented the CurrentHandler and PreviousHandler
2224 methods, together with helper functions to handle the handler
2226 GetSection(string) should be present only in the 2.0 profile.
2228 * HttpCachePolicy.cs: implement the SetNoServerCaching,
2229 SetNoStore, SetNoTransforms, SetValidUntilExpires and
2230 SetOmitVaryStar methods.
2231 Added code to set the no-store and no-transform options of the
2232 Cache-Control header.
2234 2006-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2236 * HttpServerUtility.cs: don't prepend extra '?' when the original url
2237 already has a query string. Fixes bug #80042.
2239 2006-11-24 Miguel de Icaza <miguel@novell.com>
2241 * HttpApplicationFactory.cs (InitType): Also look for "Web.Config"
2244 2006-11-20 Marek Habersack <grendello@gmail.com>
2246 * HttpApplication.cs: Added support for automatic detection of
2247 user's preferred language.
2249 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2251 * HttpApplication.cs: don't leak the directory name for non-local
2254 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2256 * CapabilitiesLoader.cs: made the hasstable that contains the properties
2257 for the brower case insensitive. Fixes bug #79795.
2259 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2261 * HttpResponse.cs: fix typo that prevented Server.Execute from restoring
2262 the initial output stream used. Closes bug #79916.
2264 2006-11-12 Marek Habersack <grendello@gmail.com>
2266 * HttpContext.cs: Implemented the 2.0 RewritePath overloads.
2268 2006-11-08 Marek Habersack <grendello@gmail.com>
2270 * HttpRuntime.cs: Moved the resource compiler results handling to
2271 the resource compiler itself.
2273 * HttpApplicationFactory.cs: Add invocation of the App_Code
2274 compiler. Moved the resource compiler results handling to the
2275 resource compiler itself. Removed compilation of the local
2276 resources from here - it should be done only when a request
2277 determines that the App_LocalResources directory exists.
2280 2006-11-07 Andrew Skiba <andrews@mainsoft.com>
2282 * HttpRuntime.cs: TARGET_JVM ifdef
2284 2006-11-05 Andrew Skiba <andrews@mainsoft.com>
2286 * SiteMapProvider.cs: don't iterate through Roles when they are null.
2288 2006-11-05 Vladimir Krasnov <vladimirk@mainsoft.com>
2290 * HttpContext.cs: implemented Profile property
2292 2006-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2294 * HttpApplication.cs: the unexpected 'tick' exceptions can be an abort
2295 exception due to timeout or end of the request.
2297 2006-10-18 Marek Habersack <grendello@gmail.com>
2299 * HttpRuntime.cs: add support for compilation of local resources
2300 at the start of request.
2302 * HttpContext.cs: implement the GetGlobalResourceObject APIs
2304 * HttpApplicationFactory.cs: include the bootstrap code for the
2305 global/local resources compiler.
2307 2006-10-09 Marek Habersack <grendello@gmail.com>
2309 * HttpApplication.cs: change the pipeline order for ASP.NET 2.0 to
2310 comply with the Microsoft documentation.
2312 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2314 * HttpApplication.cs: this makes the test run successfully. Still need
2315 to figure out why that is null.
2317 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2319 * HttpApplication.cs: band-aid patch to help debugging hang running 2.0
2322 2006-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2324 * HttpServerUtility.cs: 1.1 Execute(s) preserves the query string.
2325 Thanks to Hubert Fongarnand. Fixes bug #79506.
2327 2006-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2329 * QueueManager.cs: if disposed, always return null for next request.
2330 * HttpRuntime.cs: dispose the queue manager when shutting down the
2331 domain. This will close pending requests with a 503.
2332 * HttpApplication.cs: release the handler before marking the request
2333 as completed. If in PipelineDone context is null, use
2334 HttpContext.Current. Fixes some of those "Tick detected an unhandled
2335 exception" errors printed out.
2337 2006-09-11 Andrew Skiba <andrews@mainsoft.com>
2339 * XmlSiteMapProvider.cs: ifdef TARGET_JVM
2341 2006-09-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2343 * HttpWriter.cs: fixed WriteLine to work correctly in utf-16 encoding
2345 2006-09-08 Robert Jordan <robertj@gmx.net>
2347 * TraceData.cs: fixed NRE if `sizes' is null, which may happen
2348 if a page was unable to save its viewstate and size.
2350 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
2352 * HttpApplicationFactory.cs: ifdef the previous fix with TARGET_JVM to
2355 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2357 * HttpApplicationFactory.cs: watch web.config too. Fixes bug #78356.
2359 2006-09-05 Konstantin Triger <kostat@mainsoft.com>
2361 * SiteMapProvider.cs: consider authorization section for access decision.
2363 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
2365 * HttpUtility.cs: fixed UrlPathEncode method.
2367 2006-08-31 Boris Kirzner <borisk@mainsoft.com>
2369 * VirtualPathUtility.cs : pass parameters in correct order.
2371 2006-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2373 * HttpApplicationFactory.cs: handle the 'renamed' event too.
2375 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2377 * HttpApplication.cs: fixed BeginProcessRequest, TARGET_JVM part
2380 2006-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2382 * HttpApplication.cs: don't leak local path names when a file is not
2385 2006-06-21 Konstantin Triger <kostat@mainsoft.com>
2387 * XmlSiteMapProvider.cs: if the url is relative, make it relative to the
2390 2006-06-07 Juraj Skripsky <js@hotfeet.ch>
2392 * HttpException.cs (GetHtmlizedErrorMessage): Beautify compilation error
2393 page by showing multiple errors on separate lines.
2395 2006-06-05 Juraj Skripsky <js@hotfeet.ch>
2397 * HttpRequest.cs: simplify code around uri_builder (and rename
2398 to url_components). Move storage of query_string into
2399 uri_builder.Query and initialize it lazily using
2400 worker_request.GetQueryStringRawBytes() or GetQueryString().
2401 (QueryString): Use HttpUtility.ParseQueryString instead of
2402 duplicating its functionality.
2404 2006-06-05 Juraj Skripsky <js@hotfeet.ch>
2406 * HttpUtility.cs (ParseQueryString): move core of
2407 ParseQueryString into internal method to make it available to
2410 2006-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2412 * HttpApplication.cs: assign the context when run from a thread not in
2413 the threadpool. Patch by Andrew Skiba. Fixes bug #78583.
2415 2006-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2417 * HttpApplication.cs: context.Handler does not change for
2418 HttpServerUtility.Execute, so moved setting it into the pipeline instead
2421 2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
2423 * HttpUtility.cs: implemented ParseQueryString
2425 2006-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2427 * HttpUtility.cs: get rid of TryParseHexa.
2429 2006-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2431 * HttpApplicationFactory.cs: make sure that the application start event
2432 is run before any request is processed.
2434 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2436 * HttpServerUtility.cs: don't reset the query string in Execute() when
2437 the path does not contain it and we have one from the previous request.
2440 2006-04-20 Andrew Skiba <andrews@mainsoft.com>
2442 * SiteMapNode.cs: fix few null reference exceptions
2444 2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2447 (TransmitFile): make sure we can read the file before buffering it.
2449 2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2451 * HttpApplicationFactory.cs: don't fail on events that are not
2452 EventHandlers. Patch by Matthew Metnetsky.
2454 2006-04-11 Andrew Skiba <andrews@mainsoft.com>
2456 * HttpRequest.cs: remove code duplication (see UrlUtils.Combine)
2458 2006-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2460 * HttpUtility.cs: allow "%%" as a escape for '%' and ignore invalid
2461 hexadecimal characters. Based on a patch by Vladimir Krasnov.
2463 2006-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2465 * HttpWriter.cs: only keep the byte buffer around if its size is less
2466 than or equals to 32K.
2468 2006-04-08 Miguel de Icaza <miguel@novell.com>
2470 * HttpWriter.cs (Write): Added missing check for null string as
2471 something is now calling it like that.
2473 2006-03-27 Joshua Tauberer <tauberer@for.net>
2475 * HttpWriter.cs: Avoid creation of a byte[] on each Write()
2476 by reusing and resizing a private array.
2478 2006-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2480 * HttpRequest.cs: the field content_length can be < 0 and then we try to
2481 read when there's no data and block.
2483 2006-04-05 Andrew Skiba <andrews@mainsoft.com>
2485 * HttpUtility: UrlEncode and UrlEncodeUnicode logic unified, behaviour
2486 fixed to match dotnet and http://rfc.net/rfc1738.html
2488 2006-03-30 Konstantin Triger <kostat@mainsoft.com>
2490 * HttpApplicationFactory.cs: refactoring: remove static modifier from session_end field.
2491 Does not check the behavior as HttpApplicationFactory is a singleton.
2493 2006-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2495 * HttpUtility.cs: UrlDecode does not throw if an hexadecimal sequence
2496 fails to parse as an integer. Fixes bug #77931.
2498 2006-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2500 * HttpResponse.cs: more fixes for CacheControl: MS allows to set it to
2501 null and "" and the getter value does not completely depend on Cache.
2503 * HttpRequest.cs: fail validating the request input if there's a control
2504 character after a '<'. Fixes XSS_Null test.
2506 All System.Web tests pass again.
2507 2006-03-22 Robert Jordan <robertj@gmx.net>
2509 * HttpCachePolicy.cs: fix the Cache-control header. Fixes bug #77826.
2511 2006-03-22 Chris Toshok <toshok@ximian.com>
2513 * HttpApplication.cs: fix typo - AuthenticateRequest =>
2514 PostAuthenticateRequest.
2516 2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2519 * HttpRequest.cs: revert part of r58229.
2521 2006-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
2523 * ServerVariablesCollection.cs: fixed "URL" variable, it should not
2526 2006-03-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2529 (CheckString): style and don't index the string twice per iteration.
2531 2006-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2533 * TempFileStream.cs: a FileStream that removes the file once
2535 * HttpRequest.cs: support for writing request data to on-disk
2536 files if the request is longer than the threshold specified in the
2537 configuration files. In mono this will work for 1.x and 2.0, while with
2538 MS this only works for 2.0.
2540 2006-03-18 Robert Jordan <robertj@gmx.net>
2542 * HttpCachePolicy.cs: expose the validation callbacks.
2545 2006-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2547 * HttpApplication.cs: fix upper bound when iterating through the module
2550 2006-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2552 * HttpRequest.cs: use the provided content encoding to decode the file
2553 name. Fixes bug #77714.
2555 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2557 * HttpResponse.cs: allow setting a Cache-Control header through
2558 AppendHeader. Fixes bug #77775.
2560 2006-03-15 Chris Toshok <toshok@ximian.com>
2562 * XmlSiteMapProvider.cs (RemoveProvider): oops, no override.
2564 * StaticSiteMapProvider.cs (AddNode): call MapUrl.
2565 (FindSiteMapNode): same.
2567 2006-03-15 Chris Toshok <toshok@ximian.com>
2569 * SiteMapProvider.cs (ReturnNodeIfAccessible): new function,
2570 either return the node or throw InvalidOperationException.
2571 (get_RootNode): use ReturnNodeIfAccessible.
2572 (IsAccessibleToUser): flesh this out a bit, and add comments on
2573 how the rest of the implementation should be written.
2574 (FindSiteMapNodeFromKey): implement to match MS behavior, docs be
2577 * XmlSiteMapProvider.cs: corcompare work.
2579 * StaticSiteMapProvider.cs (AddNode): Add a check to see if node
2580 == RootNode. Not sure if this is actually correct, but it's
2581 required given our implementation of XmlSiteMapProvider. without
2582 this check, we end up assigning RootNode.ParentNode == RootNode,
2583 which makes for an infinite loop when we traverse up the tree.
2585 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
2587 * HttpRequest.cs: fixed MakeInputStream method under TARGET_JVM,
2588 fixed if content lenght value is less that byte received
2590 2006-03-10 Chris Toshok <toshok@ximian.com>
2592 * StaticSiteMapProvider.cs (UrlToNode): this entire file is #if
2593 NET_2_0, no need to embed another #if NET_2_0.
2595 * SiteMapProvider.cs (AddNode): throw NotImplementedException.
2596 (FindSiteMapNode): with null context, return null. don't throw
2597 ArgumentNullException.
2598 (RemoveNode): throw NotImplementedException.
2599 (IsAccessibleToUser): check arguments to make test pass. still
2600 lacking the method's actual functionality.
2601 (ResourceKey): add missing property.
2603 2006-03-10 Chris Toshok <toshok@ximian.com>
2605 * HttpRequest.cs (CheckString): add back in the check for \xff1c
2606 that i took out. oops.
2608 2006-03-10 Chris Toshok <toshok@ximian.com>
2610 * HttpRequest.cs (CheckString): implement as described in
2611 Shackow's "Professional ASP.NET 2.0 Security, Membership, and Role
2612 Management", page 310.
2614 2006-03-08 Chris Toshok <toshok@ximian.com>
2616 * SiteMap.cs: clean this up a bunch. use the SiteMapSection to
2617 initialize the provider collection, and don't add a provider.
2618 web.config handles that for us. Also, don't always return true
2621 2006-02-28 Chris Toshok <toshok@ximian.com>
2623 * HttpCookieMode.cs: corcompare work.
2625 * ProcessShutdownReason.cs: same.
2627 * SiteMapNodeCollection.cs: same.
2629 * SiteMapNode.cs: same.
2631 * SiteMapProvider.cs: same.
2633 * HttpCacheRevalidation.cs: same.
2635 * HttpCacheability.cs: same.
2637 * StaticSiteMapProvider.cs: same.
2639 * HttpValidationStatus.cs: same.
2641 2006-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2643 * DefaultHttpHandler.cs: New file.
2645 2006-02-01 Chris Toshok <toshok@ximian.com>
2647 * SiteMap.cs: use GetSection instead of GetWebApplicationSection.
2649 2006-02-01 Chris Toshok <toshok@ximian.com>
2651 * HttpApplication.cs: CONFIGURATION_2_0 => NET_2_0, and use
2652 GetSection instead of GetWebApplicationSection.
2654 * HttpApplication.jvm.cs: same.
2656 * HttpApplicationFactory.cs: same.
2658 * HttpContext.cs: same.
2660 * CapabilitiesLoader.cs: same.
2662 * QueueManager.cs: same.
2664 * HttpRuntime.cs: same.
2666 * TraceManager.cs: same.
2668 * HttpRequest.cs: same.
2670 2006-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2672 * HttpApplication.cs: keep any exception that happens during
2675 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2677 * HttpDataTransferMode.cs: Removed file.
2678 * HttpRequestPriority.cs: Removed file.
2679 * ApplicationShutdownReason.cs:
2682 * HttpApplication.cs: minor class status fixes.
2684 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2686 * VirtualPathUtility.cs: done with all the not implemented methods.
2688 2006-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2690 * HttpResponse.cs: use UInt64.Parse for content length. In AppendHeader,
2691 set cache_control through the property to update the cachebility
2692 accordingly. When using the cached headers, don't add again all the
2693 headers to that collection.
2694 * HttpCacheVaryByParams.cs: if there are no params, return null.
2695 Otherwise we get an empty 'Vary' header.
2697 2006-01-25 Chris Toshok <toshok@ximian.com>
2699 * HttpApplication.cs (Start): wrap InitOnce in a try/catch block,
2700 and if there's a configuration error, output it and end things
2703 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2705 * HttpRequest.cs: fixed the file path when RewritePath is used. Also
2706 add the PathInfo to the Url. Fixes bug #77291.
2708 2006-01-22 Chris Toshok <toshok@ximian.com>
2710 * HttpRequest.cs (ReadBoundary): remove two unused variables to
2712 (IsBoundary): remove unused method.
2714 * MimeTypes.cs (.cctor): use a 2.0 friendly form of the Hashtable
2715 ctor to silence a warning.
2717 * HttpCacheVaryByHeaders.cs (.ctor): same.
2719 * HttpCacheVaryByParams.cs (.ctor): same.
2721 * StaticSiteMapProvider.cs (UrlToNode): same.
2723 2006-01-22 Konstantin Triger <kostat@mainsoft.com>
2725 * HttpWorkerRequest.cs: ensure case insensitivity in header search.
2727 2006-01-19 Konstantin Triger <kostat@mainsoft.com>
2729 * HttpApplication.jvm.cs: merge HttpApplication.cs changes.
2731 2006-01-17 Chris Toshok <toshok@ximian.com>
2733 * CapabilitiesLoader.cs (Init): use WebConfigurationManager in the
2734 CONFIGURATION_2_0 case.
2736 * HttpRuntime.cs (MachineConfigurationDirectory): same.
2738 2006-01-16 Chris Toshok <toshok@ximian.com>
2740 * HttpApplicationFactory.cs: call WebConfigurationManager.Init in
2741 the CONFIGURATION_2_0 case.
2743 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2745 * HttpWriter.cs: made Write (char) less memory hungry. Thanks to Mike
2746 Glenn for pointing this out.
2748 2006-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2750 * HttpApplicationFactory.cs: fix condition for ContextAvailable.
2752 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2754 * HttpResponse.cs: removed TARGET_JVM block from End
2755 * GetJavaTextReader: Merged TARGET_JVM block from LoadFile
2756 to GetJavaTextReader
2758 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2760 * HttpRequest.cs: removed TARGET_JVM block from MapPath
2762 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
2764 * HttpRequest.cs: little fix in MapPath(), virtualPath.Replace
2765 return value wasnt stored.
2767 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2769 * HttpResponse.cs: typo in comment.
2771 * HttpApplicationFactory.cs:
2772 * HttpApplication.cs: don't discard the application used for running the
2773 Application_Start event to allow for Redirect/Transfer to be used. Fail
2774 to get the request/response from the application object as MS does (it
2775 can still be retrieved through HttpContext.Current.blah). Fixes
2778 2006-01-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2780 * CapabilitiesLoader.cs: Merged TARGET_JVM parts in LoadFile
2782 * HttpException.cs: Merged TARGET_JVM parts in GetHtmlizedErrorMessage
2784 * HttpRequest.cs: Merged TARGET_JVM parts in MapPath from /main/29
2785 * HttpResponse.cs: Merged TARGET_JVM parts in End() from /main/30
2786 * StaticFileHandler.cs: Merged TARGET_JVM parts in ProcessRequest
2789 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
2791 * BrowserCapabilities.cs, HttpBrowserCapabilities.cs,
2792 HttpResponseStream.cs: TARGET_JVM changes to let the compilation
2795 2006-01-04 Chris Toshok <toshok@ximian.com>
2797 * HttpContext.cs (IsCustomErrorEnabled): add CONFIGURATION_2_0
2798 code. use a nasty 'using' hack to map the 2.0 CustomErrorsMode to
2799 the 1.x CustomErrorMode name.
2800 (IsDebuggingEnabled): add CONFIGURATION_2_0 code.
2801 (ConfigTimeout): add CONFIGURATION_2_0 code.
2803 * HttpRequest.cs (MakeInputStream): add CONFIGURATION_2_0 code.
2805 * HttpApplication.cs (RedirectCustomError): add CONFIGURATION_2_0
2808 * SiteMap.c (Init): use
2809 WebConfigurationManager.GetWebApplicationSection.
2811 2005-12-21 Miguel de Icaza <miguel@novell.com>
2813 * HttpUtility.cs (UrlEncodeUnicode): The generated encoding of
2814 unicode values must be in %XXXX format, not %XX sometimes.
2816 2005-12-08 Robert Jordan <robertj@gmx.net>
2818 * MimeTypes.cs: added entry for "jpg".
2820 2005-12-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2822 * HttpRequest.cs: only read up to content-length when provided. Patch
2825 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2827 * HttpCookie.cs: fixed the set_Secure. Closes bug #76906.
2829 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2831 * HttpResponseStream.cs: flush the filter stream before closing.
2832 Patch by Geir Bergum that fixes bug #76753.
2834 2005-11-28 Chris Toshok <toshok@ximian.com>
2836 * HttpContext.cs (Profile): remove the #if false from around this,
2837 as we now have the ProfileBase type.
2838 (GetConfig): add CONFIGURATION_2_0 version.
2839 (GetSection): add CONFIGURATION_2_0 version.
2841 2005-11-28 Chris Toshok <toshok@ximian.com>
2843 * TraceManager.cs (..ctor): CONFIGURATION_2_0 work.
2845 * QueueManager.cs (..ctor): CONFIGURATION_2_0 work.
2847 * HttpRequest.cs (AnonymousID): add 2.0 property.
2848 (MakeInputStream): CONFIGURATION_2_0 work.
2850 * HttpApplication.cs (InitOnce): change around the
2851 CONFIGURATION_2_0 stuff since we need additional Culture foo for
2854 2005-11-27 Chris Toshok <toshok@ximian.com>
2856 * HttpApplication.cs (InitOnce): add Configuration_2.0 code.
2859 2005-11-26 Miguel de Icaza <miguel@novell.com>
2861 * HttpResponseStream.cs: Do not try to write zero bytes.
2863 2005-11-24 Miguel de Icaza <miguel@novell.com>
2865 * WebROCollection.cs: Do not add an empty "=" to the query string
2866 if the key is empty or null.
2868 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2870 * WebROCollection.cs: override ToString and generate a query string from
2871 the key/value pairs. Fixes bug #76779.
2873 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2875 * HttpServerUtility.cs: prevent possible nullref in GetLastError().
2877 2005-11-07 Jason Diamond <jason@diamond.name>
2879 * HttpRequest.cs: Don't throw exception when Content-Length doesn't
2880 match length of POSTed data. Also, allow charset parameter on
2881 Content-Type header when type is "application/x-www-form-urlencoded".
2883 2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2885 * WebROCollection.cs: add an ID for the collection. Page needs it.
2887 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2889 * HttpRequest.cs: no need to allocate the buffer when all the content
2892 2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2894 * HttpApplication.cs: ignore TAE in ProcesssError. The Error event might
2895 redirect or transfer and that causes a TAE to be thrown. Fixes
2898 2005-11-01 Chris Toshok <toshok@ximian.com>
2900 * VirtualPathUtility.cs: new (partial implementation) to get some
2901 MS provider examples compiling.
2903 2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2905 * HttpContext.cs: added a new internal overload for ClearError.
2907 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2909 * HttpRuntime.cs: invoke callbacks on private items in the cache before
2910 calling disposing the app. factory. This way we get notifications of
2911 removal for all sessions stored in the cache (InProc only).
2913 2005-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2915 * HttpResponseStream.cs: reworked buffering so that adjacents blocks are
2916 written at once. Also fix bug #76460.
2918 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2920 * HttpResponseStream.cs: when allocating a chunk larger than the
2921 default chunk size, mark all the blocks as taken. Fixes bug
2924 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2926 * HttpResponse.cs: use HaveFilter instead of Filter.
2927 * HttpResponseStream.cs: allocate chunks of the requested size
2928 when it's > 32KB. Fixes bug #76460.
2930 2005-10-14 Sebastien Pouliot <sebastien@ximian.com>
2932 * ServerVariablesCollection.cs: Added a demand for
2933 SerializationFormatter on GetObjectData method (even if it's not
2934 really required in this case as it remove warnings from gendarme.
2936 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2939 * HttpRequest.cs: buglets in error checking in Filter.
2941 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2943 * OutputFilterStream.cs: proxy class for response filters.
2944 * HttpResponse.cs: moved all the actual write operations into the
2945 response stream. Handle response filtering. When caching, get the
2946 actual length of the data, not the buffer length.
2947 * HttpApplication.cs: if there's no error, invoke the filters before
2948 updating the request cache.
2949 * HttpResponseStream.cs: new Filter property. SendChunkSize is moved
2950 here and now supports writing the final chunk. New method ApplyFilter
2951 that filters the existing buckets and replaces them with the filtered
2952 ones. Modified Write to deal with buffering and filtering.
2954 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2956 * HttpResponseStream.cs: allow for writes of more than 32K at once.
2958 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2960 * InputFilterStream.cs proxy stream for use by filters.
2961 * HttpRequest.cs: implement input filtering.
2963 2005-10-02 Eyal Alaluf <eyala@mainsoft.com>
2964 * HttpApplication.jvm.cs - Workaround for use of yield in
2965 HttpApplication.cs HttpRuntime.cs: AppDomain.Unload is not supported
2968 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2970 * HttpResponseStream.cs: remove dead code.
2972 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
2974 * HttpClientCertificate.cs: Remove last TODO on IsValid. This now
2975 works when using XSP. Now use flags to determine valid/presence.
2977 2005-09-26 Chris Toshok <toshok@ximian.com>
2979 * HttpApplicationFactory.cs (OnAppFileChanged): add null checks
2980 for bin_watcher and app_file_watcher so we don't get NRE's here.
2982 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2984 * BrowserCapabilities.cs: don't rely on the win32 attribute to be there.
2985 Just use the platform to determine whether Win32 is true or not. Fixes
2988 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2990 * HttpApplication.cs: fixed typo when setting UI culture. Closes bug
2993 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2995 * HttpRequest.cs: new SetFilePath() that does not conflict with
2996 SetCurrentExePath. Now when transfering from a page to another,
2997 CurrentExecutionFilePath and FilePath are correct.
2999 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3001 * TraceContext.cs: add new method to store size of controls.
3002 * TraceData.cs: render control size.
3003 * HttpResponse.cs: new internal method to get the number of bytes of
3005 * HttpResponseStream.cs: added Length property to the Buckets and new
3008 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3010 * TraceData.cs: we have to change the method of getting a control render
3011 size. MS does not do this or otherwise would run into the same bug
3012 (#76051) that this patch fixes. This is temporarily setting the size
3015 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3017 * HttpResponseStream.cs: implemented Send(stream) for files. Fixes bug
3020 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3022 * HttpRuntime.cs: catch errors when compiling global.asax and
3023 initializing the application. Fixes bug #76090.
3025 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
3027 * BrowserCapabilities.cs: Fixed changes (in 2.0) with versions. Fixed
3028 compare with "True" (culture and case sensitivity).
3029 * HttpApplicationState.cs: Added LinkDemand for Minimal. Use the
3030 internal HttpStaticObjectsCollection ctor to avoid the UnmanagedCode
3032 * HttpContext.cs: Added LinkDemand for Minimal. Added 2.0 properties
3033 and methods to test CAS on them.
3034 * HttpRequest.cs: Added LinkDemand for Minimal. Ensure we return
3035 proper values when worker_request is null.
3036 * HttpResponse.cs: Added LinkDemand for Minimal. Ensure we return
3037 proper values when context or WorkerRequest is null. Added 2.0
3038 properties and methods to test CAS on them.
3039 * HttpRuntime.cs: Added LinkDemand for Minimal. Added PathDiscovery
3040 demands for properties returning directories. Added demand for High
3041 level on AppDomainAppId and AppDomainId properties, Low level on
3042 IsOnUNCShare, Medium level on ProcessRequest and a demand for
3043 UnmanagedCode on UnloadAppDomain method. Constructor also has a
3044 UnmanagedCode demand for 1.x.
3045 * HttpStaticObjectsCollection.cs: Added LinkDemand for Minimal. Added
3046 a UnmanagedCode demand to public ctor. Added internal ctor without the
3047 demand. Changed Serialize and Deserialize methods to public for 2.0.
3049 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
3051 * HttpWorkerRequest.cs: Removed TODO for 2.0 APIs and return the
3052 default values for them.
3054 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
3056 * HttpApplication.cs: : Added LinkDemand and InheritanceDemand (class)
3057 for Minimal. Changed AssemblyLocation to a property (so it doesn't
3058 require special permission, PathDiscovery) to create an instance.
3059 Protected Modules property with a Demand for High level. Added some
3060 missing HttpException for null context.
3061 * HttpServerUtility.cs: Added LinkDemand for Minimal. Added demands
3062 for UnmanagedCode on all CreateObject* methods. Added demand for
3063 Medium level on MachineName and ScriptTimeout properties. Added new
3064 overloaded Transfer method (2.0) to test CAS on it.
3065 * HttpUtility.cs: Added LinkDemand for Minimal. Added [Obsolete] to
3066 ctor (2.0). Changed some return values when 'count' is 0. Added
3067 ParseQueryString (overload) methods for 2.0 (to enabled CAS testing on
3069 * HttpWorkerRequest.cs: Added LinkDemand and InheritanceDemand (class)
3070 for Minimal. Added RequestTraceIdentifier and RootWebConfigPath (2.0)
3071 properties, GetPreloadedEntityBody, GetPreloadedEntityBodyLength,
3072 GetTotalEntityBodyLength and ReadEntityBody (2.0) methods to test CAS
3073 on them. Fixed SendResponseFromMemory to ignore IntPtr.Zero (used in
3074 tests without failures).
3075 * ServerVariablesCollection.cs: Fixed loadServerVariablesCollection
3076 when HttpWorkerRequest is null.
3077 * TraceContext.cs: Added LinkDemand for Minimal. Fixed default Mode
3078 (SortByTime). Added new (2.0) TraceFinished event to test CAS on it.
3080 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
3082 * HttpBrowserCapabilities.cs: Added LinkDemand and InheritanceDemand
3083 (class) for Minimal. Note that current MCS has problem compiling
3084 security attributes on partial class (bug #75969).
3085 * HttpCachePolicy.cs: Added LinkDemand for Minimal. Added 2.0 methods
3086 (stub) to enable CAS tests on them.
3087 * HttpCacheVaryByHeaders.cs: Added LinkDemand for Minimal.
3088 * HttpCacheVaryByParams.cs: Added LinkDemand for Minimal.
3089 * HttpClientCertificate.cs: Added LinkDemand and InheritanceDemand
3090 (class) for Minimal.
3091 * HttpCookie.cs: Added LinkDemand for Minimal.
3092 * HttpCookieCollection.cs: Added LinkDemand for Minimal.
3093 * HttpFileCollection.cs: Added LinkDemand for Minimal.
3094 * HttpModuleCollection.cs: Added LinkDemand for Minimal.
3095 * HttpPostedFile.cs: Added LinkDemand for Minimal.
3096 * HttpRequestPriority.cs: Fix enum values.
3097 * HttpWriter.cs: Added LinkDemand for Minimal.
3099 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
3101 * ProcessInfo.cs: Added LinkDemand and InheritanceDemand (class) for
3103 * ProcessModelInfo.cs: Added LinkDemand and InheritanceDemand (class)
3104 for Minimal. Methods GetCurrentProcessInfo and GetHistory are also
3105 protected by Demand for High level.
3107 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
3109 * HttpCompileException.cs: Added new public ctors and [Serializable]
3110 to 2.0. Added new Message property and GetObjectData (protected by a
3111 demand for SerializationFormatter) for 2.0. Fixed line-ending.
3112 * HttpException.cs: Added LinkDemand and InheritanceDemand (class) for
3113 Minimal. Renamed parameters to match documentation.
3114 * HttpParseException.cs: Added LinkDemand (class) for Minimal. Added
3115 demand for SerializationFormatter on GetObjectData method. Fixed
3117 * HttpRequestValidationException.cs: Added new public ctors and
3118 [Serializable] to 2.0. Added LinkDemand for Minimal.
3119 * HttpUnhandledException.cs: Added new public ctors and [Serializable]
3120 to 2.0. Removed unused internal ctor. Added LinkDemand for Minimal.
3123 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
3125 * HttpResponseSubstitutionCallback.cs: New. 2.0 delegate.
3126 * TraceContextEventArgs.cs: New. 2.0 class.
3127 * TraceContextEventHandler.cs: New. 2.0 delegate.
3129 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3131 * HttpRequest.cs: use GetServerName instead of GetLocalAddress when
3134 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3136 * HttpRequest.cs: fix the indexer.
3138 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3140 * HttpPostedFile.cs: fixes in Seek and Position.
3142 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
3144 * HttpRequest.cs: Make sure the MemoryStream created have their
3145 contents marked as public - or else you can't call GetBuffer on them!
3147 2005-09-08 Miguel de Icaza <miguel@novell.com>
3149 * HttpRequest.cs: Patch from Juraj Skripsky <js@hotfeet.ch> that
3152 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3154 * HttpPostedFile.cs: Make this class actually work. Every time we read,
3155 we have to position the underlying stream.
3157 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3159 * HttpRequest.cs: reading multipart/form-data works again.
3161 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
3162 * HttpRequest.cs: Under TARGET_JVM the input stream must allow GetBuffer.
3164 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
3165 * HttpApplicationFactory.cs: TARGET_J2EE/JVM fix.
3167 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3169 * HttpRequest.cs: correctly detect multipart/form-data.
3171 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3173 * HttpApplicationFactory.cs: recycle after invoking session_end.
3175 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3177 * HttpRuntime.cs: remove Console.
3179 * HttpApplicationFactory.cs: don't hook Session_End, but keep
3180 the MethodInfo around for later invocation if needed. Don't call
3181 GetMethods() for every HttpApplication (or derived class) instances.
3182 Added a method, used by SessionStateModule, that will create use an
3183 application without context to invoke Session_End. Keep a pool of
3184 applications that are meant to be used by this method only.
3186 * HttpApplication.cs: add a SetSession method and do not
3187 attach all the events if the application is for Session_End only.
3189 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3191 * HttpRuntime.cs: actually unload the domain when requested. Reformatted
3192 FinishUnavailable() and removed the 'Location' header form the error.
3194 * HttpApplicationFactory.cs: set up the watcher for the bin directory.
3195 This also prevents a nullref when global.asax is changed.
3197 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3199 * HttpApplication.cs: fixed bug introduced when moving GetHandler call
3200 around. Now we get error pages again.
3202 2005-09-06 Miguel de Icaza <miguel@novell.com>
3204 * HttpApplication.cs: Catch EndRequest errors as well.
3206 2005-09-05 Miguel de Icaza <miguel@novell.com>
3208 * HttpApplication.cs: Invoke EndRequest handler before OutputPage
3209 as FormsAuthentication will issue a Redirect from the EndRequest
3212 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3214 * HttpApplication.cs: when writing an error message, catch the possible
3217 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3219 * HttpResponseStream.cs: prevent invalid cast exception if the first
3220 thing written is a file.
3222 2005-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3224 * HttpApplication.cs: fix invalid cast exception (bug #75926).
3226 2005-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3228 * HttpApplicationFactory.cs: only trigger the Application_Start event
3229 once. It was being invoked more than once when several clients were
3230 hitting the server at the same time on startup.
3232 2005-09-01 Eyal Alaluf <eyala@mainsoft.com>
3234 * HttpContext.cs HttpResponse.cs HttpWorkerRequest.cs HttpRuntime.cs
3235 HttpApplicationFactory.cs HttpApplication.cs: TARGET_J2EE/JVM fixes.
3236 Mostly workaround limited AppModel in TARGET_J2EE.
3238 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3240 * HttpResponse.cs: if the request method is HEAD, that's equivalent to
3241 SuppressContent. Added an internal TransmitFile that allows setting the
3243 * StaticFileHandler.cs: use the new internal TransmitFile and remove
3244 generation of Content-Length header, as now it's computed correctly.
3245 * HttpApplication.cs: remove debugging stuff.
3246 * HttpResponseStream.cs: suppress_content is checked in HttpResponse.
3248 2005-08-31 Miguel de Icaza <miguel@novell.com>
3250 Removed debugging info.
3252 * HttpApplication.cs: Add support for async handlers.
3254 Add extra 2.x methods.
3256 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3258 * BrowserCapabilities.cs: removed extra 'using'.
3260 * HttpApplication.cs: use just the 'modcoll' to hold the collection of
3261 modules instead of having a separate 'modules' one.
3263 2005-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3265 * HttpApplication.cs: clone the module collection so that
3266 it's not shared between HttpApplications. Call GetHandler() in the
3269 2005-08-30 Miguel de Icaza <miguel@novell.com>
3271 * HttpApplication.cs: Add the new 2.x method overloads that take a
3274 (RunHooks): Pass the extra data instead of null.
3276 * HttpCookie.cs (HttpOnly): Add 2.x cookie header.
3278 * BrowserCapabilities.cs: Move the core of the capabilities into a
3279 separate file. Use partial classes to choose what version to
3282 * HttpBrowserCapabilities.cs: Update to move the code elsewhere.
3284 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
3286 * HttpResponseStream.cs: Fix a bug introduced by last fix (thanks to
3289 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
3291 * HttpResponseStream.cs: Compilation fixes for TARGET_JVM. TARGET_JVM
3292 does not support unsafe code. I localized all unsafe code within Chunk
3293 & Block and created a managed version of Chunk.
3295 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
3296 * HttpApplicationFactory.cs: Compilation fixes for TARGET_J2EE. Under
3297 TARGET_J2EE static fields are shared by all app domains. We handle
3298 this difference by explicitly getting/setting values from the app
3299 domain. Since HttpApplicationFactory has many static fields, I
3300 refactored it to have one static instance and moved the static fields
3301 into instance fields.
3303 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
3305 * HttpRequest.cs: Disable use of IntPtrStream for TARGET_JVM
3307 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
3309 * HttpContext.cs: Compilation fixes for TARGET_J2EE/JVM
3311 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3313 * HttpResponse.cs: don't duplicate the 'charset=' and don't send a
3314 charset for unknown MIME types.
3315 * StaticFileHandler.cs: set the Content-Length header here.
3316 * HttpRequest.cs: prevent nullrefs when we have no 'charset='.
3318 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3320 * StaticFileHandler.cs: use TransmitFile instead of WriteFile. This way
3321 xsp will use sendfile().
3323 2005-08-28 Chris Toshok <toshok@ximian.com>
3325 * SiteMapNode.cs: fix IHierarchyData.GetParent.
3327 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3330 * IntPtrStream.cs: now we only have a read-only MemoryStream or an
3331 IntPtrStream. The copy is moved into HttpRequest.
3333 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
3335 * WebCategoryAttribute.cs: New. Required internal attribute.
3336 * WebSysDescriptionAttribute.cs: New. Required internal attribute.
3338 2005-08-26 Jackson Harper <jackson@ximian.com>
3340 * HttpResponseStream.cs: Use GetBuffer so the memory isn't
3343 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3345 * HttpApplication.cs: GetHandler might return null when, for example,
3346 a web service fails, but that does not mean that returning a null
3347 handler should throw another exception, as the web service code
3348 serialized the error as a faultString. So if the handler is null, just
3349 don't call ProcessRequest and keep going.
3351 2005-08-26 Jackson Harper <jackson@ximian.com>
3353 * HttpResponse.cs: Send the cached headers if this is a cached
3354 response. Save the headers, date header, and page data. Fix a typo.
3355 * HttpResponseStream.cs: Add new accesor to get a byte [] of the
3358 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3360 * HttpWorkerRequest.cs: SetEndOfSendNotification is a noop. No matter
3361 what callback you use that never gets called. In XSP I actually
3362 implement something for this method.
3363 * HttpServerUtility.cs: unused variable.
3365 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3367 * HttpInputStream.cs: new ctor that takes a byte [].
3368 * IntPtrStream.cs: make it work on a byte [] too.
3371 (ContentLength): return 0 for negative numbers or error parsing, but
3372 keep content_length negative in those cases.
3373 (MakeInputStream): when there's no content-length (or it's negative),
3374 we still read the request into a MemoryStream. Use
3375 IsEntireEntityIsPreloaded() as a fast path.
3377 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
3379 * HttpClientCertificate.cs: On 1.x the .ctor throws a
3380 ArgumentNullException (but 2.0 throws a NRE).
3382 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3384 * HttpRequest.cs: HttpMethod deserves its own field. Fix IsLocal.
3386 2005-08-25 Chris Toshok <toshok@ximian.com>
3388 * HttpApplication.cs (IsReusable): return true.
3389 (InitOnce): remove the initialization of handler_factory from
3391 (GetHandler) and move it here, so we make sure to load handlers
3392 from all needed web.config files.
3394 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3396 * HttpServerUtility.cs: use GetHandler().
3397 * HttpApplication.cs: remove obsolete method. Now Transfe/Execute work.
3399 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3401 * HttpApplication.cs: no need for the local var. here.
3403 2005-08-25 Chris Toshok <toshok@ximian.com>
3405 * HttpApplication.cs (InitOnce): move the initialization of
3406 modules above the call to HttpApplicationFactory.AttachEvents,
3407 since that method accesses HttpApplication.Modules. Fixes
3409 (IsReusable): mark TODO.
3411 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3413 * HttpResponseHeader.cs: removed obsolete class.
3414 * HttpResponse.cs: no more 'obsolete' warnings.
3416 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3418 * HttpRuntime.cs: implemeted some missing properties.
3420 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3422 * HttpResponse.cs: implemented RemoveOutputCacheItem().
3424 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3426 * HttpApplication.cs: implemented GetVaryByCustomString().
3428 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3430 * HttpRequest.cs: implemented SetHeader (allows adding a header
3431 circumventing the read-only protection of the collection) and SetForm,
3432 which just assigns a value of the 'form' collection.
3433 * HttpServerUtility.cs: NameValueCollection -> WebROCollection.
3435 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3438 * HttpRequest.cs: implemented RewritePath and supporting methods.
3440 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
3442 * HttpRequest.cs: Avoid NRE if work_request if null in the ctor.
3443 * HttpResponse.cs: Avoid NRE if work_request if null in the ctor.
3445 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3447 * HttpApplication.cs: if there's any exception thrown when getting the
3448 handler, don't add an extra error to the context, as we already have
3451 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3455 * HttpWorkerRequest.cs:
3456 * HttpApplication.cs: added mising attributes and enabled methods
3459 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3461 * WebROCollection.cs: a collection that allows setting IsReadOnly.
3462 * HttpRequest.cs: implemented MapImageCoordinates(). Use WebROCollection
3463 instead of a NameValueCollection in Form, Headers, Params, QueryString.
3465 2005-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3467 * HttpInputStream.cs: new copy ctor.
3468 * IntPtrStream.cs: getters for base_address and size.
3469 * HttpRequest.cs: implemented SaveAs(). Use a wrapper on top of
3470 InputStream so that reading POST form or files does not modify the state
3471 if InputStream. Don't use uri_builder.Query in QueryStringRaw, as it
3474 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3476 * HttpRequest.cs: implemented UserLanguages and reuse code from
3479 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3481 * HttpRequest.cs: implemented AcceptTypes.
3483 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3485 * HttpRequest.cs: implemented this[] in terms of Params. Don't add the
3486 header collection in Params.
3488 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3490 * HttpRequest.cs: fix Files property.
3491 * HttpApplication.cs: invoke the default authentication event after all
3492 the other auth. modules.
3494 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3496 * ServerVariablesCollection.cs: mark the collection as read-only except
3497 when we fill it. Add the HTTP_blah key/value pairs too.
3499 2005-08-18 Chris Toshok <toshok@ximian.com>
3501 * HttpRequest.cs (get_Params): implement.
3503 2005-08-17 Chris Toshok <toshok@ximian.com>
3505 * HttpResponse.cs: HttpResponse's Cookie's collection acts
3506 differently than HttpRequests in that it never returns null from
3507 the "this [string]" accessor.
3509 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3511 * HttpRequest.cs: check length 0 case when reading a POST.
3513 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3515 * HttpContext.cs: added security attributes for User and
3516 SkipAuthorization properties.
3517 * HttpApplicationFactory.cs: AttachEvents is now called form the
3518 application .ctor. Recycle instead of dispose.
3519 * HttpApplication.cs: attach events to the newly created application.
3521 2005-08-15 Jackson Harper <jackson@ximian.com>
3523 * ApplicationShutdownReason.cs: make build
3525 2005-08-15 Miguel de Icaza <miguel@novell.com>
3527 * HttpApplication.cs: Update comments
3529 * HttpPostedFile.cs: Use a substream to read from the uploaded
3532 * HttpRequest.cs: use new code to read the uploaded files.
3534 2005-08-12 Miguel de Icaza <miguel@novell.com>
3536 2.x API fixage and small additions:
3538 * HttpResponse.cs: Make constructor internal.
3540 * HttpRequest.cs (IsLocal): Expose if NET_2.x
3542 * HttpContext.cs: Remove internal routine.
3544 * HttpApplication.cs: Add 2.x events.
3546 * HttpRequest.cs: Another iFolder issue: I was not setting up the
3549 Fixes to get iFolder to work:
3551 * HttpApplicationFactory.cs: Set the context when we are initting
3554 * HttpApplication.cs (SetContext): helper routine.
3556 * HttpResponse.cs: Implement the various cache operations:n
3557 Expires, ExpiresAbsolute, CacheControl.
3559 Actually produce the Cache-Control header, the "Cache" property
3560 takes precedence over the compatibility settings (Expires,
3561 ExpiresAbsolutely and CacheControl).
3563 * HttpCachePolicy.cs: Fix style.
3565 Fix the generation of the headers, use lower-case values, do not
3566 add the max-value if the value is zero.
3568 Allow for all possible values in SetCacheability.
3570 * HttpRuntime.cs (ClrInstallDirectory): Implement.
3572 * HttpResponseStream.cs: Remove debugging stuff.
3574 2005-08-11 Miguel de Icaza <miguel@novell.com>
3576 Big chunked handling rewrite, and integration of Ben's unmanaged
3579 * HttpWriter.cs: Delegate chunked encoding writing to the
3582 * HttpResponse.cs: Rework the chunked encoding system, centralize
3585 * HttpResponseStream.cs: Deploy Ben's bucket-base unmanaged
3588 Changed the way that we handle chunked encoding, centralize it
3591 Remove a lot of manual handling of buffering turned off, and
3592 instead delegate it all to Flush, fixes several issues with the
3595 * HttpWorkerRequest.cs (SendResponseFromMemory (IntPtr, int)):
3596 Provide a default implementation since currently XSP does not have
3597 this method implemented.
3599 2005-08-11 Sebastien Pouliot <sebastien@ximian.com>
3601 * HttpClientCertificate.cs: Culture insensitive int parsing. Fixed
3604 2005-08-10 Miguel de Icaza <miguel@novell.com>
3606 * ServerVariablesCollection.cs: For Ben. Implement the header
3607 fetching here, do not implement it in HttpRequest.cs.
3609 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
3611 * HttpClientCertificate.cs: Changed IsPresent logic so that new unit
3612 tests will work as expected.
3614 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
3616 * HttpClientCertificate.cs: Implemented, except for validation. Note
3617 that the HttpWorkerRequest derived classes must be updated to supply
3618 the required informations.
3619 * HttpRequest.cs: Create an HttpClientCertificate on first call to
3622 2005-08-09 Miguel de Icaza <miguel@novell.com>
3624 * HttpRuntime.cs (AspInstallDirectory): Implement.
3626 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
3628 * HttpClientCertificate.cs: New. Stub. It won't be fun to test.
3630 2005-08-04 Ben Maurer <bmaurer@ximian.com>
3632 * HttpContext.cs: Kill a NIE.
3634 2005-08-04 Miguel de Icaza <miguel@novell.com>
3636 * HttpApplicationFactory.cs: Change "Start" event like the "End"
3637 event, and only do this once, when we init the type.
3639 Fire the "Application_Start" event after we create the type.
3641 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3643 * HttpApplication.cs: catch a ThreadAbort (coming from Response.End)
3646 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3648 * HttpResponse.cs: setting the Status property resets the
3649 StatusDescription (see the tests) and the default value for the
3650 description is the one provided by GetStatusDescription() in
3653 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3655 * HttpRequest.cs: s/boundry/boundary/ and fix typo in array creation.
3657 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3659 * HttpApplication.cs: add call to EndOfRequest when everything is said
3662 2005-08-02 Miguel de Icaza <miguel@novell.com>
3664 * HttpResponse.cs: Stub for TransmitFile.
3666 * HttpRequest.cs (IsAuthenticated): Implement.
3668 2005-08-01 Miguel de Icaza <miguel@novell.com>
3670 * HttpRequest.cs: Cope with implementations of HttpWorkerRequest
3671 (unpatched xsp) that do not send back the PreloadedEntityBody.
3673 * HttpApplication.cs: keep track of the factory.
3674 (Dispose): Only dispose once, clean up other variables, release
3675 the ManualResetEvent.
3676 Release the handler to the factory.
3678 * HttpApplicationFactory.cs: Implement a stack to reuse the
3681 * HttpRequest.cs: On uploads, if the ContentLenght is zero, throw
3684 * HttpRuntime.cs: Recycle the application after using it.
3686 * HttpPostedFile.cs: Implement SaveAs.
3688 * HttpContext.cs: Return the "Server" property.
3690 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3692 * HttpServerUtility.cs: implemented missing bits.
3694 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3696 * HttpRequest.cs: query string was getting a '?' as the start of the
3697 first variable name. This makes the asmx help page work again.
3699 2005-08-01 Miguel de Icaza <miguel@novell.com>
3701 * HttpRequest.cs (Cookies, Forms): Add validation.
3702 (Forms): Add application/x-www-form-urlencoded parsing and
3703 multipart/form-data parsing.
3705 (HttpMultiPart): Implement new class to load multi-part data from
3706 a stream since there is no longer a byte [] that holds the data
3707 (currently we have an unmanaged IntPtr buffer wrapped as a
3708 stream). Also the 2.x framework will add support for large
3709 uploads which are sent directly to disk, which will require the
3710 FileStream interface.
3712 (Path, PathInfo): Fill a couple more methods to avoid crashes.
3714 * HttpContext.cs: Fill another one to get web services summary
3715 page painting. The page does not work though.
3717 * HttpApplication.cs: Rework the pipeline to not depend on
3718 `finally', as `finally' would not be invoked if we choose not to
3719 call the pipeline again (which happens if the `stop' variable is
3722 Instead force the pipeline to go to the shutdown, and yield from
3723 there after all the release-state callbacks have been invoked.
3725 2005-07-31 Miguel de Icaza <miguel@novell.com>
3727 * HttpApplication.cs: Remove debugging messages since the compiler
3730 You must use at least mcs from revision 47879 for the application
3733 2005-07-30 Miguel de Icaza <miguel@novell.com>
3735 * HttpContext.cs: Error handling methods.
3737 * HttpResponse.cs: Trigger the last event.
3739 * HttpRuntime.cs: Add queueing of the next request.
3741 * HttpApplication.cs: Deploy the new yield-based application
3742 pipeline, add error handling to the pipeline.
3744 * HttpApplication.cs (AsyncRequestState): Just use the done event
3747 2005-07-29 Miguel de Icaza <miguel@novell.com>
3749 * HttpResponseStream.cs, HttpRequest.cs: Fix bugs found by nunit.
3751 * HttpApplication.cs: Fix a race condition.
3753 * HttpResponseStream.cs: Fix bug, send the size of the buffer that
3754 we have so far instead of the internal size of the buffer. This
3755 will need work later to ensure we enforce the Content-Length
3756 maximum output size if set.
3758 * ServerVariablesCollection.cs: This class now inherits from
3759 NameValueCollection, we should probably review what the middle
3760 class did, there are no dependencies on it.
3762 I need to write tests to investigate if something is missing or
3763 has changed in this implementation.
3765 2005-07-27 Miguel de Icaza <miguel@novell.com>
3767 * HttpRequest.cs: No happy replies here, send a 411.
3769 2005-07-27 Chris Toshok <toshok@ximian.com>
3771 * HttpResponseHeader.cs: remove spew.
3773 2005-07-27 Chris Toshok <toshok@ximian.com>
3775 * HttpResponseHeader.cs (HttpResponseHandler..ctor): use
3776 HttpWorkerRequest.GetKnownResponseHeaderName instead of
3777 GetKnownRequestHeaderName. Fixes Response.Redirect until miguel's
3778 new HttpReponse is online.
3780 2005-07-26 Miguel de Icaza <miguel@novell.com>
3782 * HttpResponse.cs: use_chunked is now a byte-array, if not null,
3783 we use it to hold the size of the chunked so we do not have to
3784 allocate many of these.
3785 (SendSize): Helper routine to send the chunked headers.
3786 (BinaryWrite): First user of the chunked writer.
3788 * HttpApplication.cs: Do not crash if they request a Server
3789 instance, but throw a NotImplementedException.
3791 * HttpRequest.cs: fix a few problems exposed by the regression
3794 * HttpRequest.cs (Cookies): use Chris' new constructor to get the
3797 : The big Uri rework: instead of using QueryString
3798 as the population mechanism, populate an UriBuilder from the
3799 various HttpWorkerRequest methods.
3801 * HttpWorkerRequest.cs (GetProtocol): Implement in terms of
3804 * HttpResponse.cs: Pointed by Ben, Write (null) is a nop instead
3807 * HttpContext.cs: Add a couple of properties to help the 2.x
3810 * HttpResponse.cs: Make ContentLength a long, add back support for
3811 session's app_path_mod.
3812 (ApplyAppPathmodifier): put back.
3813 (End): Pass a flag to abort so we can tell the exceptions appart
3815 (WriteHeaders): Send the HTTP status.
3816 (Redirect): Implement.
3817 (Write): Use the Output property to load writer when needed.
3819 * HttpRequest.cs (ctor): Temporary use of InitFromWR, will fix
3821 (MakeInputStream): check content-length size, use routines to load
3822 the preloaded data, handle incomplete transfers.
3823 (Query): Do not insert null keys into the collection.
3825 (UrlReferer): implement.
3827 * HttpApplication.cs (RunHooks): Catch Thread.Abort, and call
3828 Thread.ResetAbort after each step.
3830 Ensure that ReleaseState is called if we ever succeed in acquiring
3831 the state even if we have stopped the request pipeline.
3833 Report file not found, directory not found.
3835 2005-07-25 Miguel de Icaza <miguel@novell.com>
3837 * HttpCookieCollection.cs: Add expiration of the cookie.
3839 * HttpRequest.cs: Add check for ContentLength, use
3840 GetPreloadedEntityBody, correct number of bytes uploaded.
3842 2005-07-21 Miguel de Icaza <miguel@novell.com>
3844 * HttpResponseHeader.cs: Our implementation of HttpResponse only
3845 uses the text headers, does not use any constants as XSP would go
3846 through a slower code path anyways.
3848 2005-07-21 Chris Toshok <toshok@ximian.com>
3850 * HttpBrowserCapabilities.cs: enable support for the W3CDomVersion
3851 and EcmaScriptVersion properties.
3853 2005-07-21 Chris Toshok <toshok@ximian.com>
3855 * HttpResponseHeader.cs: hi, i'm stupid and missed String.Replace.
3857 2005-07-21 Chris Toshok <toshok@ximian.com>
3859 * HttpResponseHeader.cs: url encode just \r and \n if they're
3860 present in the value.
3862 2005-07-20 Chris Toshok <toshok@ximian.com>
3864 * HttpPostedFile.cs: add missing ContentLength property.
3866 2005-07-20 Chris Toshok <toshok@ximian.com>
3868 * HttpCookieCollection.cs: add a new ctor that takes a string (the
3869 contents of the Cookies: header).
3871 2005-07-20 Chris Toshok <toshok@ximian.com>
3873 * HttpCookieCollection.cs: add another ctor (internal, but not
3874 obsolete, so we aren't passing a stupid HttpResponse in in order
3875 to change the behavior of the collection.)
3877 * HttpCookie.cs: init this.values in the internal ctor.
3879 2005-07-20 Chris Toshok <toshok@ximian.com>
3881 * HttpCookieCollection.cs: use "auto-fill mode" when we're dealing
3882 with an HttpResponse's cookie collection. That is, create the
3883 cookie if the consumer looks it up.
3885 2005-07-20 Miguel de Icaza <miguel@novell.com>
3887 * HttpApplication.cs: Ongoing work on pipeline, I will need to
3890 2005-07-19 Miguel de Icaza <miguel@novell.com>
3892 * HttpContext.cs (GetService): Implement. Return all of the
3893 properties that we have access to. Make HttpWorkerRequest the
3894 first match as this is the only likely reason people need to use
3897 * IntPtrStream.cs: Bring from corlib.
3899 * MultiPartContentParser.cs: use a MemoryStream as HttpInputStream
3900 will now be using IntPtrStream.
3902 * HttpRequest.cs (MakeInputStream): move code that loads the
3904 (CloseInputStream): Helper method that we will call later to
3905 ensure that we dispose properly the malloced() block.
3906 (BinaryRead): Implemented.
3908 * HttpInputStream.cs: Rewrite to be a descendant of
3911 2005-07-18 Miguel de Icaza <miguel@novell.com>
3913 * HttpApplication.cs (Modules): Add modules support and
3916 2005-07-18 Chris Toshok <toshok@ximian.com>
3918 * HttpResponseHeader.cs: initial implementation.
3920 2005-07-18 Chris Toshok <toshok@ximian.com>
3922 * HttpModuleCollection.cs (HttpModuleCollection.GetKey): add
3925 * HttpFileCollection.cs: initial implementation.
3927 2005-07-18 Chris Toshok <toshok@ximian.com>
3929 * HttpModuleCollection.cs (HttpModuleCollection.CopyTo): implement
3932 2005-07-18 Chris Toshok <toshok@ximian.com>
3934 * HttpModuleCollection.cs: initial implementation.
3936 2005-07-18 Chris Toshok <toshok@ximian.com>
3938 * HttpCacheVaryByHeaders.cs: only add the header if it's not
3939 already in the hash.
3941 * HttpCacheVaryByParams.cs: only add the param if it's not already
3944 2005-07-18 Chris Toshok <toshok@ximian.com>
3946 * HttpCookie.cs (HttpCookie+CookieNVC.Set): new override to fix an
3949 2005-07-17 Miguel de Icaza <miguel@novell.com>
3951 * HttpRequest.cs (Headers, InputStream): implemented two more
3954 * HttpInputStream.cs: All we need is a MemoryStream with writable
3957 * HttpPostedFile.cs: Use a Stream.
3959 2005-07-16 Chris Toshok <toshok@ximian.com>
3961 * HttpCacheVaryByHeaders.cs: make sure we set vary_by_unspecified
3962 = false in the custom setter.
3964 2005-07-16 Chris Toshok <toshok@ximian.com>
3966 * HttpCacheVaryByParams.cs: initial implementation.
3968 2005-07-16 Chris Toshok <toshok@ximian.com>
3970 * HttpCacheVaryByHeaders.cs: initial implementation.
3972 2005-07-15 Chris Toshok <toshok@ximian.com>
3974 * HttpCookie.cs: one more time.
3976 2005-07-15 Chris Toshok <toshok@ximian.com>
3978 * HttpCookie.cs (HttpCookie.GetCookieHeader): use
3981 2005-07-15 Chris Toshok <toshok@ximian.com>
3983 * HttpCookie.cs (HttpCookie.GetCookieHeader): implement to fix
3986 2005-07-15 Chris Toshok <toshok@ximian.com>
3988 * HttpCookieCollection.cs: initial implementation (with a couple
3989 of labeled inefficiencies.)
3991 2005-07-15 Chris Toshok <toshok@ximian.com>
3993 * HttpCookie.cs (HttpCookie.get_HasKeys): use values.HasKeys()
3994 instead of trying to be smart about it ourselves.
3996 2005-07-15 Chris Toshok <toshok@ximian.com>
3998 * HttpCookie.cs: initial implementation. we fail one unit test,
3999 but it might be due to a bug in NameValueCollection.
4001 2005-07-15 Miguel de Icaza <miguel@novell.com>
4005 2005-07-14 Miguel de Icaza <miguel@novell.com>
4007 * HttpRuntime.cs: Return a few of the values from the AppDomain
4010 Put the application shutdown process.
4012 * HttpApplicationFactory.cs (AddEvent): Fixed bug when more than
4015 (FireEvent): Do not ignore errors.
4017 * HttpContext.cs (GetAppConfig, GetConfig): First success, use
4018 ConfigurationSettings.GetConfig to get the value that QueueManager
4021 2005-07-14 Dick Porter <dick@ximian.com>
4023 * HttpPostedFile.cs: New basic implementation; needs someone to
4024 figure out what a HttpRequestStream does
4026 2005-07-13 Miguel de Icaza <miguel@novell.com>
4028 * HttpRequest.cs: More work on this file
4030 * HttpRequest.cs, HttpApplication.cs, HttpContext.cs,
4031 HttpRuntime.cs: New from scratch implementation.
4033 2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
4035 * SiteMap.cs: Read provider info from the configuration files.
4037 2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4039 * HttpResponseHeader.cs: URL encode \r and \n in header values. Fixes
4042 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4044 * HttpUtility.cs: fix another stupid buglet in htmldecode.
4046 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4050 * HttpRequest.cs: use StrUtils (invariant culture).
4052 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4054 * HttpRequest.cs: use StartsWith when looking for 'multipart/form-data'.
4055 File uploading was broken since a few commits ago.
4057 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4059 * HttpResponse.cs: ensure that the last chunk ('0\r\n\r\n') is sent
4060 even if response.Close is called before a final flush. MS/IIS fails to
4063 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4065 * HttpRequest.cs: don't print anything for unknown content types in
4066 ParseFormData. Use lowercase compare.
4068 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4070 * HttpResponse.cs: invariant love.
4072 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4074 * HttpResponse.cs: avoid 1 string concat.
4075 * HttpRequest.cs: fix BinaryRead. It was totally wrong.
4077 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4079 * HttpUtility.cs: don't append an extra 0 when no digits seen. Fixes
4082 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4084 * HttpUtility.cs: the lower limit for using &#xx; encoding is 160, not
4085 128. Reset number back to 0 after use. Fixes bug #75365.
4087 2005-06-19 Svetlana Zholkovsky <svetlanaz-at-mainsoft.com>
4088 * In following classes added TARGET_J2EE or/and TARGET_JVM
4093 - CapabilitiesLoader.cs
4094 - HttpApplication.cs
4095 - HttpApplicationFactory.cs
4099 * Added Mainsoft's specific files :
4100 - GhHttpAsyncResult.jvm.cs
4102 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4104 * HttpRequest.cs: avoid one intermediate buffer when reading the request
4105 body and fail for over limit content length when the content type is
4106 not handled as form or multipart data.
4108 2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4110 * HttpResponse.cs: fix the check in Close() so that CloseConnection is
4111 called even if there has been no final Flush. Fixes bug #75176.
4113 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4115 * HttpParseException.cs:
4117 * HttpApplication.cs: updates for 1.1 service pack.
4119 2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4121 * HttpUtility.cs: fix InvalidCastException.
4123 2005-06-05 Kornél Pál <kornelpal@hotmail.com>
4125 * HttpWriter.cs: Fixed: _OutputFilter.Close () was called twice.
4127 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4129 * HttpUtility.cs: modified HtmlDecode so that it does not need to call
4130 Int32.Parse and handles improper &# sequences. Fixes bug #74907.
4132 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
4134 * SiteMapNodeCollection.cs: Implemented missing methods. The collection
4135 does not inherit from CollectionBase any more.
4136 * SiteMapNode.cs: Track api changes.
4137 * SiteMapProvider.cs: Moved several methods to the new
4138 StaticSiteMapProvider class. Other fixes.
4139 * XmlSiteMapProvider.cs: Watch changes in the xml files. Other fixes.
4140 * SiteMapProviderCollection.cs: Minor fixes.
4141 * SiteMap.cs: Added missing event. Avoid double check lock.
4142 * StaticSiteMapProvider.cs: New class that implements some of the
4143 funtionality of SiteMapProvider.
4145 2005-05-25 Ben Maurer <bmaurer@ximian.com>
4147 * MimeTypes.cs: Remove extra spaces, they were typos. Fixes 75049.
4149 2005-05-13 Atsushi Enomoto <atsishi@ximian.com>
4151 * HttpUtility.cs : UrlDecodeToBytes() incorrectly decoded escaped
4152 characters. Patch by Kazuki Oikawa.
4154 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4156 * HttpRuntime.cs: PlatformID.Unix.
4158 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4160 * HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
4161 Clear the _Headers array instead of creating a new ArrayList in
4164 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4166 * HttpResponse.cs: we had 2 variables to track client connection status.
4167 Use only one. Increase the buffer size to 28KB when writing from a file.
4169 * StaticFileHandler.cs: set the Content-Type before writing the file.
4170 This allows flushing before all the content is written.
4172 * HttpApplication.cs: use the variable instead of the property when
4173 setting the Principal for the current process.
4175 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4177 * ReusableMemoryStream.cs:
4178 * HttpWriter.cs: keep a pool of buffers to avoid allocations.
4180 2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4182 * HttpResponse.cs: no need to save/restore the thread culture when
4183 getting the Date header. According to Ben's profiling, this is a big
4184 deal in performance.
4186 * HttpRuntime.cs: ignore exceptions that might be thrown when unloading
4189 2005-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4191 * HttpApplicationFactory.cs: ignore any exception thrown when invoking
4192 an application event.
4194 2005-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4196 * HttpBrowserCapabilities.cs: fix Win32 property.
4198 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4200 * HttpResponse.cs: only add the charset when explicitly set or for
4201 well-known content types.
4203 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4205 * HttpCachePolicy.cs:
4206 * HttpAsyncResult.cs:
4207 * HttpClientCertificate.cs:
4210 * HttpCacheVaryByHeaders.cs:
4211 * HttpBrowserCapabilities.cs:
4213 * HttpCacheVaryByParams.cs: no more warnings.
4215 * QueueManager.cs: check for local connections with minLocalFreeThreads.
4217 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4219 * ServerVariablesCollection.cs: shuffled variables, added missing ones
4220 and call a method in HttpRequest to set the HTTP_ variables.
4222 * HttpRequest.cs: new method to add HTTP_ variables to a collection.
4224 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4226 * HttpRequest.cs: GetAllHeaders was returning the value twice instead
4227 of 'name: value'. When HTTP_ is requested on the output, don't include
4230 2005-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4232 * HttpCookieCollection.cs: when adding more than one cookie with the
4233 same name, the last one is the winner.
4235 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4237 * HttpRequest.cs: correctly store the value cookies in Params. Fixes
4240 2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4242 * HttpRequest.cs: Path and FilePath also change when RewritePath is
4243 called. Fixes bug #73055.
4245 2005-02-23 Sebastien Pouliot <sebastien@ximian.com>
4247 * HttpRequest.cs: Make sure that any access after a ValidateInput
4248 throws an exception if the data isn't safe.
4250 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4252 * CapabilitiesLoader.cs: fix the path, as machine.config is now in a
4253 x.x/ directory below $PREFIX/etc/mono.
4255 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4257 * HttpRequest.cs: fail on unicode full-width '<' and '>' too. Fixes
4258 a security report (http://secunia.com/advisories/14325) that wan't
4259 reported to us before public disclosure.
4261 2005-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4263 * HttpResponse.cs: send the calculated content length even when it's 0.
4266 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
4268 * HttpContext.cs: Added internal property to keep a reference to
4269 the last accessed page. Page uses this to implement PreviousPage.
4271 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
4273 * ProcessModelInfo.cs: Fixed warning.
4275 2005-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4277 * TraceContext.cs: writing a message without any other argument is not
4278 a warniing. Fixes bug #72017.
4280 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4282 * HttpApplication.cs: if there are no more handlers, finish the
4283 request and ensure we call Complete on it. Now FreeTextBox 3.0 works.
4285 2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4287 * HttpRequest.cs: honor the maxRequestSize limit from machine.config.
4289 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4291 * HttpApplication.cs: reread application CultureInfo as web.config
4292 might have changed. Fixes bug #62539.
4294 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4296 * HttpResponse.cs: fixed ApplyAppPathModifier to insert the session ID.
4298 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4300 * HttpApplicationFactory.cs: monitor changes in global.asax and bin
4301 directory and shutdown the application when that happens. Fixes bug
4304 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4306 * ReusableMemoryStream.cs: copied from System.IO.MemoryStream and
4307 slightly modified to allow expanding the buffer for cases on which the
4308 regular MemoryStream don't allow it.
4310 * HttpWriter.cs: use the new ReusableMemoryStream and fix bug #59841.
4311 Otherwise we would have to allocate a new MemoryStream...
4313 2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4315 * HttpApplication.cs: Create() is now GetInstance().
4317 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
4319 * SiteMapNodeCollection.cs: Added missing properties.
4320 * HttpParseException.cs: Added 2.0 methods and properties.
4321 * SiteMapNode.cs: Added missing methods and properties.
4322 * SiteMapProvider.cs, XmlSiteMapProvider.cs,
4323 SiteMapProviderCollection.cs: IProvider does not exist any
4324 more, it is now ProviderBase.
4325 * ISiteMapProvider.cs: Deleted.
4326 * ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
4328 * SiteMap.cs: Minor fixes.
4330 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
4332 * SiteMapProviderCollection.cs: Fixed warning.
4333 * HttpApplication.cs: Added new 2.0 events.
4335 2004-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4337 * HttpResponse.cs: added internl SetHeadersSent.
4338 * HttpRuntime.cs: don't throw the 'headers already sent' exception
4339 if we're sending a runtime error.
4341 2004-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4343 * HttpApplication.cs: undo the TimeoutManager.(Add|Remove) shuffling.
4344 It causes troubles under heavy load.
4346 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4348 * SiteMap.cs: don't lock on Type.
4349 * CapabilitiesLoader.cs: avoid 2 locks when loading data.
4351 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4353 * HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
4354 presence of rewriting.
4356 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4358 * HttpApplication.cs: don't hang if a sync step is aborted. Fixes the
4359 system.web portion of bug #68270.
4361 2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4363 * TraceContext.cs: don't cast to Page is the handler it's
4366 2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4368 * HttpRequest.cs: CurrentExecutionFilePath is the one that
4369 changes when Transfer or Execute are used, not FilePath.
4371 * HttpServerUtility.cs: moved form saving/restoring from
4372 Transfer to Execute, as it's needed there too. the query string is
4373 correctly set now. Fixes bug #67388.
4375 * HttpContext.cs: use SetCurrentExePath instead of SetFilePath.
4377 2004-10-03 Ben Maurer <bmaurer@ximian.com>
4379 * HttpResponse.cs: use UtcNow
4381 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4383 * HttpResponse.cs: SuppressContent does not throw and clears all the
4384 buffered output. Fixes bug #67213.
4386 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4388 * HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.
4390 2004-09-29 Ben Maurer <bmaurer@ximian.com>
4392 * HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.
4394 2004-09-25 Ben Maurer <bmaurer@ximian.com>
4396 * HttpApplication.cs: Make sure requests are removed from
4397 the timeout manager. Fixes a major leak. #66751.
4399 2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4401 * HttpApplicationFactory.cs:
4402 * HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
4405 2004-09-12 Ben Maurer <bmaurer@ximian.com>
4407 * HttpContext.cs: use CallContext. It is a little bit faster.
4409 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4411 * HttpStaticObjectsCollection.cs: don't share static session objects
4412 declared in the application file across the application, but on a
4413 per-session basis. Fixes bug #65446.
4415 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4417 * HttpServerUtility.cs: in Transfer(path), don't keep form data if
4418 the transfer is done from inside a page that received a postback.
4421 2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4423 * HttpValueCollection.cs: fixed signature of ToString (). Closes bug
4426 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
4428 * HttpWriter.cs (.ctor): Dont create teh StreamWriter twice
4429 (Clear): Don't recreate the MemoryStream and StreamWriter
4431 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4433 * HttpApplication.cs: only add/remove to/from the timeout
4434 manager when we're in a interruptible step.
4436 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4438 * TraceContext.cs: when IsEnabled has not been set, return the value
4439 from the TraceManager. Fixes bug #63469.
4441 2004-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4443 * HttpRuntime.cs: initialize the response writer when finishing a
4444 request because it cannot be queued. Under heavy load we made new
4445 requests be processed before the ones that might be queued. This is
4448 * QueueManager.cs: instead of queueing/dequeuing separately, we now
4449 have a single method that does everything needed to decide which one
4450 will be the next request processed.
4452 2004-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4454 * HttpRuntime.cs: removed initializations to null in .cctor. Prevent
4455 other requests from avoiding the lock if they are received before the
4456 configuration system is inited. Ensure that the queue manager is not
4457 null before using it (it can be null while the first request is being
4460 2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4462 * HttpServerUtility.cs: ensure we have a full virtual path for the
4463 request being executed.
4465 2004-08-02 Duncan Mak <duncan@ximian.com>
4467 * ApplicationShutdownReason.cs: Fixed typos.
4469 * HttpCookieMode.cs:
4470 * HttpDataTransferMode.cs:
4471 * HttpRequestPriority.cs: Added [Serializable] attribute.
4473 2004-08-02 Duncan Mak <duncan@ximian.com>
4475 * ApplicationShutdownReason.cs:
4476 * HttpCookieMode.cs:
4477 * HttpDataTransferMode.cs:
4478 * HttpRequestPriority.cs: Added 2.0 enumerations.
4480 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4482 * HttpApplication.cs: the file not found might be a dependency.
4484 2004-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4486 * HttpCookie.cs: use invariant when formatting expires date. Fixes bug
4489 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4491 * HttpApplication.cs: don't keep the session around if we got it from
4492 the context. Fixes bug #61232.
4494 2004-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4496 * HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
4499 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4501 * TraceContext.cs: added internal HaveTrace property whose
4502 value is true when the page has a Trace attribute.
4504 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4506 * TraceData.cs: fixed <br> output. Closes bug #60181.
4508 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4510 * HttpUtility.cs: check for control characters in the string to encode
4511 or decode and return the same string if there are none.
4513 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4515 * HttpApplication.cs: change/restore the IPrincipal in their own methods
4516 and make them internal.
4518 2004-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4520 * HttpContext.cs: reverting Pedro's patch and sending mail with test
4523 2004-06-09 Pedro Martnez Juli <yoros@wanadoo.es>
4525 * HttpContext: User property returns its own "user" value because
4526 the context can walk through different Threads. When "User" property
4527 is changed, change "Thread.CurrentPrincipal" too.
4529 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4531 * HttpRequest.cs: removed extra ^Ms and fixed style of last patch.
4533 2004-06-08 Alon Gazit <along@mainsoft.com>
4535 * HttpRequest.cs: Add a patch for HttpRequest.ServerVariables.
4537 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
4539 * HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
4540 Fix (at least partially) #59683.
4542 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4544 * HttpRequest.cs: reverting patch from Alon Gazit. Uses the above file
4545 that doesn't compile.
4547 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4549 * TraceData.cs: fixes nullref in an application that relies on
4550 r ["Message"] not being null. Closes bug #59679.
4552 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4554 * HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.
4556 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4558 * HttpRuntime.cs: implemented a 5 simple properties that were TODOs.
4560 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4562 * HttpBrowserCapabilities.cs: implemented ClrVersion and GetClrVersions.
4563 * HttpException.cs: removed MonoTODO.
4565 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4567 * TraceContext.cs: don't check if HttpRuntime.TraceManager
4568 is enabled when writing.
4570 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4572 * HttpRequest.cs: added ClientTarget internal property.
4574 2004-06-03 Lluis Sanchez Gual <lluis@ximian.com>
4576 * HttpApplication.cs: Clear the http handler list after releasing the
4579 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4581 * TraceData.cs: html-encode the messages written to the trace. Fixes
4584 2004-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4586 * HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
4589 2004-05-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4591 * HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
4592 when SetFilePath is called. This way the cached values are reset and
4593 get the right value in case someone (namely SessionStateModule +
4594 cookieless session) changes the FilePath after the property cached its
4595 value. Fixes bug #59364.
4597 2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>
4599 * HttpApplicationFactory.cs: Added SignalError (still todo)
4601 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4603 * HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
4604 chunked encoding disabled. Fixed chunked suffix and end. Send the
4605 'lastchunk' marked when in the final Flush even if the content length
4606 is 0. This makes mod-mono-server work fine with chunked encoding.
4608 * HttpRuntime.cs: Set the _firstRequest* variables to true
4609 earlier. TraceContext don't take any parameter now.
4611 * TraceManager.cs: don't need a context. Use GetAppConfig.
4613 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4615 * HttpApplication.cs: set culture/uiculture from configuration and
4616 restore it after each step. Fixes bug #52851.
4618 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4620 * HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
4621 entities hashtable creation until it's really needed.
4623 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4625 * HttpApplicationFactory.cs: if no module matches the name found for a
4626 possible event, ignore it. Fixes bug #58542.
4628 2004-05-16 Patrik Torstensson <totte@hiddenpeaks.com>
4630 * HttpRuntime (Init): Removed old todo
4631 * HttApplication : Implemented IHttpHandlerFactory recycling
4633 2004-04-28 Patrik Torstensson
4635 * HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
4638 2004-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4640 * HttpUtility.cs: return null in HtmlDecode for null input instead of
4641 throwing an exception. Patch by Jan Jaros (bug #57083).
4643 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
4645 * TimeoutManager.cs: Swap the order of initialization of contexts
4646 and the Timer, to avoid race condition of CheckTimeouts being called
4647 before contexts gets initialized.
4649 2004-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4651 * HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
4652 Now the posted file content does not have the boundaries and headers
4655 2004-03-25 Alon Gazit <along@mainsoft.com>
4657 * HttpRequest.cs: fix ValidateCookieCollection() to prevent
4658 InvalidCastException.
4660 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4662 * HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.
4664 2004-03-01 Larry Ewing <lewing@ximian.com>
4666 * HttpUtility.cs: fix UrlEncodeToBytes count check.
4668 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4670 * HttpServerUtility.cs:
4671 * HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
4674 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4676 * HttpUtility.cs: fixed length check. Closes bug #54201.
4677 Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
4680 2004-02-11 Jackson Harper <jackson@ximian.com>
4682 * TraceData.cs: Use ToString for cookie/header/var name values so
4683 null is handled properly.
4685 2004-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4687 * HttpApplication.cs: ApplicationState is inited by the factory so,
4688 return that value in the property. when we use the context Session,
4689 cache it in the instance field.
4691 * HttpApplicationFactory.cs: fixed target Type for the event when
4692 hooking application and module events. Initialize application
4693 and session scope objects. Fixes non-aplication events hook up.
4695 * HttpStaticObjectsCollection.cs: added StaticItem and delay the
4696 creation of the objects until they are requested.
4698 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4700 * HttpApplicationFactory.cs: fixlet for session events hook.
4702 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4704 * HttpApplicationFactory.cs: attach all events from Type and BaseType
4705 at the same time. Fixes bug #53454.
4707 2004-01-27 Jackson Harper <jackson@ximian.com>
4709 * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
4710 null now, dont hadd the header if it does.
4711 * HttpCacheVaryByParams.cs: Return null if there are no items.
4713 2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4715 * HttpCachePolicy.cs: it's not public.
4716 * HttpRuntime.cs: wait for requests before disposing the queue.
4718 2004-01-15 Jackson Harper <jackson@ximian.com>
4720 * HttpCachePolicy.cs: Fix typo causing varyby params headers to be
4721 created when they shouldn't be.
4723 2004-01-14 Jackson Harper <jackson@ximian.com>
4725 * TraceData.cs: Fix some typos in the output text. Fix control
4726 position when adding controls recursively.
4728 2004-01-14 Jackson Harper <jackson@ximian.com>
4730 * HttpCachePolicy.cs: Expose duration and sliding properties.
4732 2004-01-14 Jackson Harper <jackson@ximian.com>
4734 * HttpCachePolicy.cs: Add an event that is fired when the
4735 cacheability is updated. The response uses this to determine
4736 whether or not it needs to cache itself.
4737 * HttpResponse.cs: When the cacheability is updated either create
4738 or dispose of the cached raw response based on whether or not we
4739 wil need it. This allows output caching to be controlled
4742 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4744 * HttpContext.cs: add setter for ConfigTimeout.
4745 * HttpException.cs: added Description property and HTML encode some
4748 * HttpRequest.cs: support request validation.
4750 * HttpRequestValidationException.cs: added message and description.
4752 * HttpServerUtility.cs: implemented ScriptTimeout.
4754 2004-01-11 Jackson Harper <jackson@ximian.com>
4756 * TraceManager.cs: Dont crash if there is no trace config element.
4758 2004-01-11 Jackson Harper <jackson@ximian.com>
4760 * HttpRequest.cs: Add property for determining if the request is
4763 2004-01-10 Jackson Harper <jackson@ximian.com>
4765 * TraceContext.cs: Handle tracing when it is enabled in the config
4766 file but not on the page.
4767 * TraceManager.cs: Get settings from the configuration object.
4768 * HttpRuntime.cs: Create trace manager in the first request start
4769 so it can get configuration settings.
4771 2004-01-10 Jackson Harper <jackson@ximian.com>
4773 * TraceContext.cs: Save the request path in the trace data.
4774 * TraceData.cs: Add RequestPath property, make some rendering
4775 methods internal static so the TraceHandler can use them.
4776 * TraceManager.cs: Expose trace data, add a method for clearing
4779 2004-01-10 Jackson Harper <jackson@ximian.com>
4781 * HttpRuntime.cs: Add trace manager
4782 * TraceManager.cs: New class for handling trace configuration and
4783 storing trace data objects.
4784 * TraceContext.cs: Save trace data to the trace manager. Fix typo.
4786 2004-01-10 Jackson Harper <jackson@ximian.com>
4788 * TraceData.cs: New class for storing trace data. Data is stored
4789 here instead of the trace context so it can be saved and accessed
4790 from the trace handler.
4791 * TraceContext.cs: Save data in the TraceData object, let the
4792 trace data object handle the rendering.
4794 2004-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4796 * HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
4797 Thanks to Jan Jaros (mono-bug@jerryweb.info).
4799 * HttpRequestValidationException.cs: fix comment.
4801 2004-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4803 * HttpException.cs: default to error 500. Fixes bug #52623.
4805 2004-01-04 Jackson Harper <jackson@ximian.com>
4807 * TraceContext.cs: Store and render trace info times. Also render
4808 cookie sizes. Remove debug code.
4810 2004-01-04 Jackson Harper <jackson@ximian.com>
4812 * HttpResponse.cs: Set the cached response date header so it can
4814 * HttpResponseHeader.cs: Let values be set so we can update cached
4815 response header values.
4817 2004-01-04 Jackson Harper <jackson@ximian.com>
4819 * HttpResponse.cs: Implement RemoveOutputCacheItem.
4821 2004-01-04 Jackson Harper <jackson@ximian.com>
4823 * HttpCachePolicy.cs: Add internal method to get the vary by custom string
4824 * HttpCacheVaryByHeaders.cs: Add internal method to get the header names.
4826 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4828 * HttpRuntime.cs: implemented MachineConfigurationDirectory,
4830 2004-1-1 Alon Gazit <along@mainsoft.com>
4831 * HttpWriter.cs: add check in Write() in order to prevent
4832 NullReferenceException.
4834 2004-1-1 Alon Gazit <along@mainsoft.com>
4835 * HttpResponse.cs: implemented ExpiresAbsolute and Expires.
4837 2003-12-18 Jackson Harper <jackson@ximian.com>
4839 * TraceContext.cs: Write () methods are not warnings.
4841 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4843 * HttpBrowserCapabilities.cs: added GetClrVersions ().
4844 * HttpCachePolicy.cs: added SetAllowResponseInBrowserHistory ().
4845 * HttpContext.cs: added set_Current and RewritePath (s, s, s) for 1.1.
4846 * HttpRequest.cs: added set_ContentType, SetPathInfo and ValidateInput.
4847 * HttpRequestValidationException.cs: new class for 1.1
4848 * HttpResponse.cs: added RedirectLocation.
4849 * HttpRuntime.cs: added UnloadAppDomain.
4850 * HttpServerUtility.cs: Execute (s, t, b) is internal for < 1.2
4851 * HttpUtility.cs: copied UrlPathEncode from HttpServerUtility.
4852 * HttpWorkerRequest.cs: added [ComVisible] and made the ctor public.
4854 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4856 * HttpContext.cs: implemented IsCustomErrorEnabled and
4857 IsDebuggingEnabled. Added internal ErrorPage property.
4859 * HttpRuntime.cs: on error, check if we have a custom error page enabled
4860 to handle it and redirect.
4862 * HttpResponse.cs: added RedirectCustomError (), which actually does
4863 the redirection to the error page.
4865 2003-12-16 Jackson Harper <jackson@ximian.com>
4867 * TraceContext.cs: Render all the data, and the stylesheet.
4869 2003-12-16 Jackson Harper <jackson@ximian.com>
4871 * TraceContext.cs: Add incomplete render method.
4873 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4875 * CapabilitiesLoader.cs: loads browser detection and capabilities data
4876 from browscap.ini file by Gary J. Keith.
4878 * HttpBrowserCapabilities.cs: removed almost all TODOs.
4880 * HttpRequest.cs: fixed Browser property.
4882 2003-12-15 Jackson Harper <jackson@ximian.com>
4884 * TraceContext.cs: Initial implementation of storing data.
4885 * HttpContext.cs: Create and expose a trace object.
4887 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4889 * HttpApplication.cs: ThreadAbortException is ok on Redirect.
4890 * HttpContext.cs: added TimeoutPossible property.
4891 * HttpResponse.cs: throw ThreadAbortException if End () is called within
4892 a step in which is possible to timeout.
4896 2003-12-04 Jackson Harper <jackson@ximian.com>
4898 * HttpRequest.cs: Cleanup method.
4900 2003-12-04 Jackson Harper <jackson@ximian.com>
4902 * HttpValueCollection.cs: Allow blank value names. Posting
4903 <blank>=SomeValue is valid. And occurs if a radio button does
4904 not have its name set.
4906 2003-12-03 Jackson Harper <jackson@ximian.com>
4908 * HttpResponse.cs: Actually apply an app path modifier in
4909 ApplyAppPathModifer and add a method to set the app path modifier.
4910 * HttpRequest.cs: Add utility method for setting a request header.
4912 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4914 * HttpApplication.cs: handle FileNotFound and DirectoryNotFound
4915 exceptions when creating the handler to generate a better error page.
4917 * HttpException.cs: display the http_code if available. Changed all
4918 \n by \r\n to make the hidden stack trace readable.
4920 * StaticFileHandler.cs: don't send the real path in th eerror.
4922 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4924 * HttpContext.cs: updated GetConfig and GetAppConfig to new API.
4926 * HttpResponse.cs: separate initialization of the HttpWriter, as it
4927 tries to read configuration settings while the config. system is not
4928 available (ie, before the first request).
4930 * HttpRuntime.cs: delayed queueManager and response writer
4931 initialization until the configuration system is working.
4933 2003-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4935 * HttpRuntime.cs: added request queue handling.
4937 * QueueManager.cs: simple request queue.
4939 * TimeoutManager.cs: added some locks to prevent the enumerator used in
4940 CheckTimeouts to be out of synch.
4942 2003-11-25 Jackson Harper <jackson@ximian.com>
4944 * HttpStaticObjectsCollection.cs: Add methods for serialization
4945 and conversion to/from byte arrays.
4947 2003-11-21 Jackson Harper <jackson@ximian.com>
4949 * HttpResponse.cs: When caching data set the content length in the
4950 cached repsonse so that only that amount will be written back to
4951 the client. Add method to write a range of binary data.
4952 * HttpCacheVaryByParams.cs: Add method to retrieve param names.
4954 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4956 * HttpApplication.cs:
4958 * HttpRuntime.cs: add timeout handling.
4959 * TimeoutManager.cs: new class that takes care of aborting threads on
4962 2003-11-19 Jackson Harper <jackson@ximian.com>
4964 * HttpWriter.cs: Use a constant for the buffer size so the cache
4965 can get the buffer size. Add method to get the buffer.
4966 * HttpResponse.cs: Methods for getting data to cache, and setting
4967 vars from the cache.
4968 * HttpCachePolicy.cs: Expose a pages cache expire time.
4970 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4973 * HttpWriter.cs: some fixes to allow closing a response stream without
4976 2003-11-13 Jackson Harper <jackson@ximian.com>
4978 * HttpCachePolicy.cs: Make sure cacheability and maxage get
4979 set. Add method to set Http response header data
4980 * HttpCacheVaryByParams.cs: Add method to create a response header.
4981 * HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
4982 * HttpResponse.cs: Set cache headers.
4984 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
4986 * HttpModuleCollection.cs (GetKey): Recursion, again!
4988 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
4990 * HttpClientCertificate.cs (ValidUntil): recursion!
4992 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
4994 * SiteMapNode.cs (GetDataSourceView): Implement.
4995 * SiteMapProvider.cs: Typo fixing.
4996 * XmlSiteMapProvider.cs: We shouldnt resolve here.
4998 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
5000 * SiteMap.cs (Init): implement a hack that doesnt need the config
5001 stuff. Should do that later.
5002 * SiteMapNodeCollection (OnValidate): Fix recursion.
5003 * SiteMapProvider.cs: We dont implement some culture stuff work
5004 around it. Fix typo.
5005 * XmlSiteMapProvider.cs: Added.
5007 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
5009 * ISiteMapProvider.cs:
5012 * SiteMapNodeCollection.cs:
5013 * SiteMapProvider.cs:
5014 * SiteMapProviderCollection.cs: V2 sitemap related stuff.
5016 2003-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5018 * HttpRequest.cs: don't attempt to read more bytes than specified
5021 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5026 * HttpValueCollection.cs: encoding fixes/updates.
5028 * HttpWriter.cs: when updating the encoding, flush the existing stream.
5031 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
5033 * HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
5034 return false (which makes sense, as the custom errors *arent* enabled;
5036 * HttpResponseStream.cs: you actually can write with len = 0
5038 2003-11-03 Jackson Harper <jackson@ximian.com>
5040 * HttpResponse.cs (ContentEncoding): Throw
5041 ArgumentNullException. Patch by Yaron Shkop.
5043 2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
5045 * HttpMultipartContentParser.cs : Quick fix for cygwin build.
5046 CSC complains that constant char cannot be casted as byte.
5048 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5050 * HttpApplication.cs: added AssemblyLocation property.
5052 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5054 * HttpApplicationFactory.cs: use NoParamsInvoker.
5055 * HttpRequest.cs: support request filters.
5056 * HttpRequestStream.cs: mono-stylized and added new Set method.
5058 * NoParamsInvoker.cs: proxy class to invoke user-provided methods
5059 without parameters that are invoked by EventHandlers.
5061 2003-10-13 Lluis Sanchez Gual <lluis@ximian.com>
5063 * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
5064 to invariant culture.
5066 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5069 * HttpServerUtility.cs: change the response writer in Execute. Thanks
5070 to Rich Alimi <rich@velvetsea.net> for noticing this.
5072 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5074 * HttpApplicationFactory.cs: support for wiring up events without
5077 2003-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5079 * HttpUtility.cs: small memory usage reduction.
5081 2003-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5083 * HttpApplication.cs: pass the Uri, not the file path to
5084 when looking for a handler.
5086 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5088 * HttpRequest.cs: small fix needed when reading big POST data.
5090 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
5092 * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
5093 (this will get the address from the request headers).
5095 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
5097 * HttpServerUtility.cs: In Transfer(), preserve the query string if
5100 2003-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5102 * HttpApplication.cs: ensure we do all the EndRequest steps. Don't
5103 filter the output on error.
5105 * HttpResponse.cs: modified DoFilter to allow bypassing filtering.
5107 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5109 * HttpApplication.cs: when the request is completed or an
5110 error happens, execute all the delegates attached to EndRequest, not
5111 only the last one. This makes xsp/test/authtest work again.
5113 * HttpMethodNotAllowedHandler.cs: fixed description for http
5116 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5118 * HttpRequest.cs: quick way of checking that the path is within the
5119 root for the application. Thanks to Johannes for reporting.
5121 * HttpRuntime.cs: use the status code from teh exception when it'ss a
5124 * StaticFileHandler.cs: forbidden is 403.
5126 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5128 * HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
5129 <rich@velvetsea.net>.
5131 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5133 * HttpException.cs: make the unhandled error more like the MS one.
5134 * HttpRuntime.cs: set a 500 error code on unhandled exceptions.
5136 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5138 * HttpResponse.cs: flush headers when the body length is 0.
5139 * StaticFileHandler.cs: added If-Modified-Since handling patch slightly
5140 modified from the original by Piers Haken <piersh@friskit.com>.
5142 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5144 * HttpResponse.cs: another patch from totte and me. This one prevents
5145 writing output if the client have disconnected and filters the data
5146 when there's a non-final Flush in the middle of the process.
5148 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5150 * HttpApplication.cs: fixed typos. Closes bug #44197.
5152 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5154 * HttpApplication.cs:
5155 * HttpApplicationFactory.cs: fix duplicate application OnStart events.
5157 Patch by Patrik Torstensson.
5159 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5161 * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
5162 overload. The previous one only admits static methods.
5164 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5166 * ProcessModelInfo.cs: Fixed signature
5168 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5170 * WebCategoryAttribute.cs: Implemented localization
5171 * WebSysDescriptionAttribute.cs: Implemented localization
5173 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5175 * HttpRuntime.cs: also clear the headers that may have been set upon
5176 error processing the request.
5178 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5180 * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
5183 * HttpWriter.cs: flush the filter after writing.
5185 2003-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5187 * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
5189 2003-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5191 * HttpContext.cs: Session doesn't have a setter.
5193 * HttpResponse.cs: Request is private.
5195 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5197 * HttpRequest.cs: fixed Headers property. It was getting known headers
5198 values instead of known headers names.
5200 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5202 * HttpApplication.cs: prevent nullref if an error happens before context
5204 * HttpException.cs: small fix in the stack trace sent.
5205 * HttpUtility.cs: the lock is not needed.
5207 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5209 * HttpRequest.cs: added REMOTE_PORT.
5210 * HttpValueCollection.cs: fixed bug #45490.
5212 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5214 * HttpApplication.cs:
5215 * HttpApplicationFactory.cs: fire application start and session
5218 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5220 * HttpException.cs: encode as HTML the inner exception that
5221 is appended as a comment at the end of error pages.
5223 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5225 * HttpWriter.cs: don't do anything in Flush. Fixes #42249.
5227 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5229 * HtmlizedException.cs: added more virtual methods.
5231 * HttpException.cs: some work on the output when there's a source
5234 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5236 * HtmlizedException.cs: simplified to cope with the new interface.
5238 * HttpApplicationFactory.cs: use the application file parser to get the
5241 * HttpException.cs: small changes. Needs some more work on
5244 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5246 * HttpRequest.cs: fixed Url property.
5248 2003-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5250 * HtmlizedException.cs:
5251 * HttpException.cs: display the correct line number in error messages.
5253 2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5255 * HttpCachePolicy.cs: implemented all TODOs.
5256 * HttpRequestStream.cs: make it internal.
5258 2003-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5260 * HttpContext.cs: implemented RewritePath in other way.
5261 * HttpRequest.cs: removed SetPhysicalPath and added SetForm.
5262 * HttpServerUtility.cs: implemented Transfer (string, bool).
5264 2003-03-16 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
5265 * HttpContext.cs : Implemented RewritePath
5266 * HttpRequest.cs : Added internal function SetPhysicalPath
5268 2003-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5270 * HttpServerUtility.cs: implemented Transfer ().
5272 2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5274 * HttpRuntime.cs: Cache no longer have a Dispose method.
5276 * HttpServerUtility.cs: removed MonoTODO.
5278 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5280 * HttpHelper.cs: store the values in an ArrayList to get them in correct
5283 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5285 * HttpApplicationFactory.cs: Global.asax takes precedence over
5286 global.asax if it exists.
5288 * HttpRequest.cs: use allowCrossAppMapping in MapPath.
5290 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5292 * HttpApplication.cs: CreateHttpHandler is now internal.
5294 * HttpRequest.cs: allow setting QueryStringRaw, which
5295 invalidates the data obtained from the previous value. Added internal
5298 * HttpServerUtility.cs: implemented Execute and GetLastError.
5300 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5302 * HttpServerUtility.cs: style.
5304 2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5306 * HttpApplication.cs: only execute the EndRequest step on error
5307 condition or request marked as completed. This prevent page events from
5308 being called when, for example, the url authorization module forbids
5311 2003-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5313 * HttpRequest.cs: implemented the indexer.
5315 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5317 * HtmlizedException.cs: base class for exceptions that makes it easy to
5318 generate error pages.
5320 * HttpException.cs: improved error displaying.
5322 * HttpRuntime.cs: removed debugging output.
5324 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5326 * HttpApplication.cs: display the error instead of hanging when we get
5327 any error before the last step of the request.
5329 2003-02-04 Tim Haynes <thaynes@openlinksw.com>
5331 * HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement
5334 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5336 * HttpRequest.cs: added BaseVirtualDir property and use it in MapPath.
5338 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5340 * HttpRequest.cs: implemented CurrentExecutionFilePath.
5342 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5344 * HttpApplication.cs: keep _lasterror if no context. Attach
5345 application events *after* modules initialization (if not, User is not
5346 set when the user handler is called).
5348 * HttpApplicationFactory.cs: made all methods related to
5349 AttachEvents static. I will fix OnStart/OnEnd for application and
5352 * HttpRequest.cs: don't initialize cookies twice.
5354 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5357 (ApplyAppPathModifiers): return the root directory for "".
5359 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5361 * HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.
5363 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5365 * HttpApplication.cs: added new state to handle default authentication.
5367 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5369 * HttpContext.cs: removed hack to get the User.
5371 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5373 * HttpUtility.cs: fixed bug #36038. Thanks to juancri@tagnet.org for
5374 reporting the bug and how to fix it.
5376 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5378 * HttpCookie.cs: send 'expires' in the header.
5380 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5382 * HttpValueCollection.cs: patch from Botjan Vizin
5383 <bostjan.vizin@siol.net> that implements ToString (bool).
5385 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5387 * HttpApplicationFactory.cs: add the context as parameter when building
5388 the application Type.
5390 * HttpCookie.cs: new internal constructor.
5391 * HttpCookieCollection.cs: new internal method to make a cookie expire.
5393 * HttpRequest.cs: MapPath fixes.
5394 * HttpResponse.cs: implemented ApplyAppPathModifier.
5395 * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
5397 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5399 * HttpContext.cs: hack to create a default user when there's no one.
5400 Implemented GetConfig (string).
5402 * HttpRequest.cs: fixes to MapPath (string).
5404 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5406 * HttpRuntime.cs: avoid nulls and exception when getting resource
5409 * StaticFileHandler.cs: added file name to error message.
5411 2002-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5413 * HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
5415 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5417 * HttpApplicationFactory.cs: get the events from the application class,
5418 fire Application/Session Start/End and add the others as application
5421 2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5423 * HttpApplicationFactory.cs: compile global.asax file if it exists.
5425 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5427 * HttpRequest.cs: provide a default Browser until we detect it.
5429 (End): do not close the connection here.
5430 (Flush (bool)): send the headers when, for example, Redirect () is
5433 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5435 * HttpException.cs: simple error output.
5437 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5439 * HttpApplication.cs: style.
5440 * HttpException.cs: style.
5441 * HttpRuntime.cs: only flush the response if there are no errors.
5442 Otherwise, write an error output.
5443 * HttpWriter.cs: change Unicode to UTF8.
5445 2002-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5447 * HttpApplication.cs: don't begin the request using ExecuteNextAsync
5448 (it fails to work on NetServ).
5450 * HttpWorkerRequest.cs: typo.
5452 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5454 * HttpValueCollection.cs: the value may contain trailing '=' as it is
5455 UrlEncoded. Don't split name=value based on '='.
5457 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5459 * HttpCookie.cs: made GetCookieHeader internal.
5461 * HttpRequest.cs: get cookies from request.
5463 * HttpResponse.cs: send cookies. Implemented
5464 AddFileDependencies (). Added check for _Writer == null in Flush
5465 (Patrik ;-). Clear the content if HEAD or SupressContent == true.
5466 Removed redirect hack used in old server.
5468 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5470 * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
5471 most ContentLength bytes.
5473 * HttpResponse.cs: now it sends the headers. Added
5474 X-Powered-By header :-).
5476 * HttpRuntime.cs: fixed typo.
5478 * HttpValueCollection.cs: cosmetic changes.
5480 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5482 * HttpApplication.cs: reenabled a few lines of code
5483 (ThreadPool already fixed).
5488 * HttpValueCollection.cs:
5489 * HttpWriter.cs: Use WebEncoding.Encoding.
5491 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5493 * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
5494 This fixes sending bytes and allows mixing byte with chars.
5496 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5498 * HttpResponse.cs: implemented WriteFile methods.
5499 * MimeTypes.cs: removed duplicated entries.
5501 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5503 * HttpResponse.cs: don't throw exception in a couple of
5504 methods not yet implemented.
5506 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5508 * HttpApplication.cs: fixed type and handle factories when creating
5509 IHttpHandler for a request.
5511 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5513 * HttpApplication.cs: use handlers from configuration.
5514 * HttpContext.cs: get handlers from ConfigurationSettings.
5516 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5518 * HttpMethodNotAllowedHandler.cs:
5520 * StaticFileHandler.cs: Modified file.
5522 * HttpUtility.cs: implemented all missing methods.
5525 2002-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5527 * System.Web/HttpApplication.cs: use the static file handler.
5528 * System.Web/HttpForbiddenHandler.cs: handler to forbid access.
5529 * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
5532 * System.Web/HttpUtility.cs: finished all UrlDecode methods.
5533 * System.Web/MimeTypes.cs: map from file extension to MIME type.
5534 * System.Web/StaticFileHandler.cs: serves static files
5536 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5538 * System.Web/HttpApplication.cs:
5539 * System.Web/HttpApplicationFactory.cs:
5540 * System.Web/HttpRequest.cs:
5541 * System.Web/HttpRuntime.cs: we are now able to compile pages and use
5542 HttpApplication, HttpRuntime and SimpleWorkerRequest.
5544 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5546 * HttpApplication.cs: added some missing methods.
5547 * HttpApplicationFactory.cs: get event handlers for the application.
5548 * HttpAsyncResult.cs: little fixes.
5549 * HttpRequest.cs: make Encoding work even with no worker request.
5551 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5553 * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
5554 to add HttpMapPath to the list file...
5556 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5558 * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
5559 report when i get a test case.
5561 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5563 * HttpApplicationFactory.cs:
5564 * HttpCachePolicy.cs:
5565 * HttpResponseHeader.cs:
5566 * HttpResponseStream.cs:
5567 * HttpResponseStreamProxy.cs:
5568 * HttpValueCollection.cs: misc. fixes based on class status page.
5570 * IHttpMapPath.cs: New file.
5572 * HttpRequest.cs: implemented ContentEncoding.
5573 * HttpWorkerRequest.cs: mono-stylized and implemented
5574 SendResponseFromMemory.
5576 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5578 * HttpContext.cs: reformatted.
5579 * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
5582 2002-08-05 Patrik Torstensson <ptorsten@hotmail.com>
5584 * HttpApplication.cs: Implemented a state machine to allow handling of
5585 HttpModules and HttpHandlers. Implementation of async handlers.
5587 * HttpApplicationFactory.cs: Factory for creating HttpApplication
5588 instances, including caching.
5590 * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
5591 application instance to execute requests in and implementation of
5592 request execution (still no request queue).
5594 * HttpAsyncResult.cs: New file to handle async module results.
5596 * HttpRequest.cs: Change signature of Dispose
5597 * HttpResponse.cs: new internal method allowing filtering to happen
5598 during the request flow in the state machine.
5600 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5602 * HttpApplication.cs: events were not being initialized.
5604 2002-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5606 * ProcessModelInfo.cs: fixed compilation.
5608 2002-07-25 Tim Coleman <tim@timcoleman.com>
5609 * ProcessModelInfo.cs:
5611 * HttpParseException.cs:
5612 * HttpCompileException.cs:
5613 * HttpUnhandledException.cs:
5614 Internal constructors added to these
5616 2002-07-24 Tim Coleman <tim@timcoleman.com>
5618 Fix constructor, reference to shutdownreason.
5620 2002-07-24 Tim Coleman <tim@timcoleman.com>
5621 * HttpCachePolicy.cs:
5622 Added stubbs to this class.
5623 * HttpCacheability.cs:
5624 * HttpCacheRevalidation.cs:
5625 * HttpValidationStatus.cs:
5626 * ProcessShutdownReason.cs:
5629 Reorder the enumerations (and in some cases make
5630 one-based) in order to agree with the .NET
5631 implementation, based on the class status page.
5633 Implementation of this class.
5635 2002-07-23 Tim Coleman <tim@timcoleman.com>
5636 * HttpCompileException.cs:
5637 * HttpParseException.cs:
5638 * HttpUnhandledException.cs:
5640 * HttpApplication.cs:
5641 * HttpBrowserCapabilities.cs:
5642 Added missing methods stubbs and attributes based
5643 on the class status page. Also reformatted some
5644 source for consistency.
5646 2002-07-23 Tim Coleman <tim@timcoleman.com>
5647 * HttpUtility.cs: Moved entities hashtable into main
5648 class as a static object, so we don't instantiate
5649 a new one every time. Also put the hashtable
5650 building into a lock block.
5652 2002-07-22 Tim Coleman <tim@timcoleman.com>
5653 * HttpUtility.cs: Cleanup of the code, implementation
5654 of HtmlDecode/HtmlEncode functions
5656 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5658 * HttpResponse.cs: quick&dirty hack to make redirection work. Should
5659 be out of there once we have SimpleWorkerRequest.
5661 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5663 * HttpUtility.cs: little typo, big headache.
5665 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5667 * HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
5669 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5671 * System.Web/HttpResponse.cs:
5673 Fixes based on class status page:
5675 - Add attributes (DefaultEvent, ParseChildren).
5677 - Explicitly implement some interfaces (IPostBackDataHandler
5678 and IPostBackEventHandler).
5679 - Implemented some missing methods.
5681 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5684 (Session): return null instead of throwing an exception.
5687 (HttpMethod): return RequestType if not set.
5688 (GetRawContent): return QueryString if we don't have a
5691 * HttpUtility.cs: fixed Decode and Encode.
5693 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5695 * HttpApplication.cs:
5696 * HttpContext.cs: added System.Web.SessionState namespace.
5698 * HttpSessionState.cs: removed. It is under
5699 System.Web.SessionState.
5701 2002-06-10 Duncan Mak <duncan@ximian.com>
5703 * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
5705 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5707 * HttpRequest.cs: implemented Browser property.
5709 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5711 * HttpBrowserCapabilities.cs: stubbed out.
5713 2002-05-18 Miguel de Icaza <miguel@ximian.com>
5715 * HttpRuntime.cs: Reformat file.
5717 2002-05-07 Duncan Mak <duncan@ximian.com>
5719 * HttpBrowserCapabilities.cs: Added, replacing
5720 HttpBrowserCapabilites because of typo.
5722 * HttpBrowserCapabilites.cs: Removed, replaced by above.
5724 * HttpRequest.cs (Browser): Fixed typo.
5726 2002-04-12 Patrik Torstensson <patrik.torstensson@labs2.com>
5728 * HttpApplication.cs: Minor updates
5729 * HttpApplicationState.cs: Ready.
5730 * HttpClientCertificate.cs: Signature updates
5731 * HttpValueCollection.cs: ready
5732 * HttpStaticObjectsCollection.cs: ready
5733 * HttpResponseHeader.cs: made internal only
5734 * HttpResponse.cs: Signature updates
5735 * HttpPostedFile.cs: ready
5736 * HttpCacheVaryByHeaders.cs: ready (except communication to policy)
5737 * HttpCacheVaryByParams.cs: ready (except communication to policy)
5739 System.Web is now over 60% ready..
5741 2002-04-11 Patrik Torstensson <patrik.torstensson@labs2.com>
5743 * HttpException.cs: 95% ready, only windows dependent code left
5744 * HttpFileCollection.cs: Finished.
5745 * HttpRequest.cs: Minor fixes and fixed signature problems
5746 * HttpResponse.cs: Implementation of missing methods and signature problems
5747 * HttpResponseHeader.cs: Fixed signature problems
5748 * HttpRuntime.cs: Fixed signature problems
5749 * HttpServerUtility.cs: Added support for HttpApplication
5750 * HttpSessionState.cs: Fixed signature issues
5751 * HttpUtility.cs: fixed signature issues
5752 * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
5753 * HttpWorkerRequest.cs: Fixed small signature issue
5754 * HttpWriter.cs: Fixed signature issue
5755 * HttpApplication.cs: Basic implementation
5756 * HttpApplicationState.cs: Small fixes to support major change comming up
5757 * HttpBrowserCapabilities.cs: Added Type method
5758 * HttpClientCertificate.cs: Almost ready, needs to parse certificate.
5759 * HttpContext.cs: Fixed signature issues and added last methods.
5760 * HttpCookie.cs: Full implementation
5761 * HttpCookieCollection.cs: Full implementation
5762 * TraceContext.cs: Methods implemented.
5763 * HttpPostedFile.cs: Placeholder
5764 * HttpStaticObjectsCollection.cs: Placeholder
5765 * HttpModuleCollection.cs: Ready, will be used during the major revamp.
5767 * Fixed a number of other small signature problems also (class status page)
5770 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
5772 * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
5773 * Checkin of all new files (noted in last changenote)
5775 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
5777 * HttpContext.cs: First implementation (basic support, few methods left to impl)
5778 * HttpException.cs: Partial implementation (basic support)
5779 * HttpHelper.cs: Header parse helper, used by runtime (non public)
5780 * HttpRequest.cs: Implementation (all methods there, not all fully impl)
5781 * HttpRequestStream.cs: Full implementation
5782 * HttpResponse.cs: Partial implementation(almost all methods)
5783 * HttpResponseHeader.cs: Header helper
5784 * HttpResponseStream.cs: Full implementation - Response stream support
5785 * HttpResponseStreamProxy.cs: Implementation - filter support
5786 * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
5787 * HttpServerUtility.cs: Implemented usage of HttpContext for methods
5788 and moved encoding functions to HttpUtility.
5790 * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
5791 added the Attribute encoding functions.
5793 * HttpValueCollection.cs: Implementation.
5794 * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
5795 * HttpWriter.cs: Implementation (with filter support)
5797 * HttpFileCollection: Added dummy class (placeholder)
5798 * HttpApplication.cs: Added dummy class (placeholder)
5799 * HttpApplicationState.cs: Added dummy class (placeholder)
5800 * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
5801 * HtttpCachePolicy.cs: Added dummy class (placeholder)
5802 * HttpClientCertificate.cs: Added dummy class (placeholder)
5803 * HttpSessionState.cs: Added dummy class (placeholder)
5804 * TraceContext.cs: Added dummy class (placeholder)
5807 2002/04/10 Nick Drochak <ndrochak@gol.com>
5809 * HttpServerUtility.cs: Fix build breaker.
5811 2002-03-28 Wictor Wiln <wictor@iBizkit.se>
5813 * HttpServerUtils.cs : Added some more functionality
5815 2002-03-28 Martin Baulig <martin@gnome.org>
5817 * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
5818 char to a string, use ToString() instead.
5820 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
5822 * WebCategoryAttribute.cs
5823 : Added private attribute.
5825 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
5827 * HttpRuntime.cs : Stubbed methods for
5828 FormatStringResource(...) in agreement with the various
5829 overloads available at String.Format(...)
5831 2002-01-08 Gaurav Vaish <gavish@iitk.ac.in>
5833 * TODOAttribute.cs : Added, as an internal class to the assembly
5835 2002-01-03 Nick Drochak <ndrochak@gol.com>
5837 * HttpRuntime.cs: remove uneeded exception variable from catch and
5838 initialize remaining instance members to avoid compile warnings
5840 2002-01-02 Nick Drochak <ndrochak@gol.com>
5842 * HttpRuntime.cs: fix spelling error/variable name change.
5844 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
5846 * HttpRuntime.cs : Initial implementation
5848 2001-08-29 Bob Smith <bob@thestuff.net>
5850 * HttpWorkerRequest.cs: Partial Implementation.
5852 2001-08-16 Bob Smith <bob@thestuff.net>
5854 * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
5856 2001-08-09 Bob Smith <bob@thestuff.net>
5858 * BeginEventHandler.cs: Implemented.
5859 * EndEventHandler.cs: Implemented.
5860 * HttpCacheability.cs: Implemented.
5861 * HttpCacheRevalidation.cs: Implemented.
5862 * HttpCacheValidateHandler.cs: Implemented.
5863 * HttpCookieCollection.cs: Implemented.
5864 * HttpCookie.cs: Implemented.
5865 * HttpValidationStatus.cs: Implemented.
5866 * HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
5867 * IHttpAsyncHandler.cs: Implemented.
5868 * IHttpHandler.cs: Implemented.
5869 * IHttpHandlerFactory.cs: Implemented.
5870 * IHttpModule.cs: Implemented.
5871 * ProcessShutdownReason.cs: Implemented.
5872 * ProcessStatus.cs: Implemented.
5873 * TraceMode.cs: Implemented.