1 2008-01-22 Konstantin Triger <kostat@mainsoft.com>
3 * HttpResponse.cs: move headers_sent initialization up to prevent additional
4 trial to send headers if an exception is thrown.
6 2008-01-21 Konstantin Triger <kostat@mainsoft.com>
8 * HttpRequest.cs: Form validation: ensure the collection is accessible after
11 2008-01-16 Juraj Skripsky <js@hotfeet.ch>
13 * HttpRequest.cs (get_UrlReferrer): Handle case when headers contain
14 invalid Url for referer.
16 2008-01-16 Juraj Skripsky <js@hotfeet.ch>
18 * HttpCookieCollection.cs (AllKeys): Use Keys.CopyTo().
20 2008-01-14 Sebastien Pouliot <sebastien@ximian.com>
22 * HttpCookie.cs: Fix HttpOnly setter. Found using Gendarme.
24 2008-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
26 * HttpContext.cs: added resource manager caching in GetResourceObject
27 * HttpContext.jvm.cs: added resourceManagerCache storing in appdomain
29 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
31 * HttpContext.cs: added HasError method
32 * HttpApplication.cs: refactored thread abort handling
34 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
36 * HttpRuntime.cs: fixed HttpRuntime, added Cache.DependencyCache
39 2007-12-26 Igor Zelmanovich <igorz@mainsoft.com>
43 make trace considers control state info.
45 2007-12-25 Igor Zelmanovich <igorz@mainsoft.com>
47 * HttpApplication.cs: initialize culture each request.
48 makes it consider culture settings from nested web.config
50 2007-12-19 Juraj Skripsky <js@hotfeet.ch>
52 * HttpContext.cs, HttpApplication.cs: Move timeout tracking from
53 TimeoutManager into HttpContext. Replace periodic timeout checks with
54 separate per-context timeout timers.
55 * HttpRuntime.cs: remove TimeoutManager.
57 2007-12-18 Miguel de Icaza <miguel@novell.com>
59 * HttpCookieCollection.cs (Get): implement using the indexer to
60 share some code. Should fix #349564.
62 2007-12-16 Igor Zelmanovich <igorz@mainsoft.com>
64 * HttpContext.cs: added IsProcessingInclude property.
65 * HttpServerUtility.cs: set IsProcessingInclude value within Execute.
67 2007-12-13 Marek Habersack <mhabersack@novell.com>
69 * HttpRequest.cs, HttpResponse.cs, SiteMapNode.cs, HttpRuntime.cs,
70 HttpResponseStream.cs, HttpApplication.cs, HttpCachePolicy.cs:
71 speed optimization - use String.Concat instead of String.Format in
74 2007-12-13 Igor Zelmanovich <igorz@mainsoft.com>
79 * HttpServerUtility.cs:
80 - When Transfer/Execute is called with preserveForm=true, transferred
81 page is not processed as PostBack but form collection is preserved.
82 - When Execute is called more than once, PreviousPage property is set
85 2007-12-09 Vladimir Krasnov <vladimirk@mainsoft.com>
87 * HttpApplication.cs: added TARGET_JVM to LoadType method
89 2007-12-08 Marek Habersack <mhabersack@novell.com>
91 * HttpRuntime.cs: initialize the Settings Mapping Manager once per
92 application, just after initalizing the WebConfigurationManager.
94 2007-11-28 Marek Habersack <mhabersack@novell.com>
96 * HttpApplication.cs: peform the check of whether we're running on
97 Windows from within a static constructor.
99 2007-11-23 Marek Habersack <mhabersack@novell.com>
101 * RequestNotificationStatus.cs: fix the order of enum members.
103 * RequestNotification.cs: assign correct values to the enum
106 * StaticSiteMapProvider.cs: change visibility of the constructor.
108 * HttpRequest.cs: added missing property LogonUserIdentity.
110 * HttpCacheVaryByContentEncodings.cs: this constructor should not
113 2007-11-23 Daniel Nauck <dna@mono-project.de>
115 * TraceContextRecord.cs: implemented
117 2007-11-23 Marek Habersack <mhabersack@novell.com>
119 * BrowserCapabilities.cs: the JavaScript property is obsolete in
122 2007-11-22 Daniel Nauck <dna@mono-project.de>
124 * IPartitionResolver.cs: implemented
126 2007-11-22 Daniel Nauck <dna@mono-project.de>
128 * WebPageTraceListener.cs: implemented
130 2007-11-22 Marek Habersack <mhabersack@novell.com>
132 * RequestNotificationStatus.cs: added
134 * RequestNotification.cs: added
136 * HttpCacheVaryByContentEncodings.cs: added
138 * HttpCachePolicy.cs: added the HttpCacheVaryByContentEncodings
141 * HttpApplication.cs: added 3 new events to the pipeline (for
142 compatibility with the 2.0sp1/3.5 version of System.Web)
144 2007-11-22 Daniel Nauck <dna@mono-project.de>
146 * WebPageTraceListener.cs: initial checkin (stubs).
148 2007-11-17 Marek Habersack <mhabersack@novell.com>
150 * HttpResponse.cs: make sure fileDependencies is not null before
151 attempting to use it. Fixes bug #342511.
153 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
156 * TraceData.cs: implemented TraceMode feature.
158 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
160 * BaseParamsCollection.cs:
161 ensure collection will not be changed during enumeration.
163 2007-11-06 Marek Habersack <mhabersack@novell.com>
165 * HttpResponse.cs: trigger the PreSendRequestHeaders event before
166 setting the output headers. Fixes bugs #334521, #339538
168 * TraceData.cs: do not use DataTable for trace data storage
169 anymore. Instead, a set of classes is used to hold data and a
170 Queue container (generic version in 2.0) is used to hold the data
171 rows. Fixes bug #325267.
173 2007-11-05 Marek Habersack <mhabersack@novell.com>
175 * HttpRequest.cs: cope with UriBuilder.Query being null.
177 2007-11-03 Gert Driesen <drieseng@users.sourceforge.net>
179 * HttpRuntime.cs: Always return a path with trailing directory
180 separator character. Spaces to tabs.
182 2007-11-03 Marek Habersack <mhabersack@novell.com>
184 * HttpApplication.cs: removed unused internal PrivateBinPath
187 * HttpRuntime.cs: BinDirectory returns a path that ends with the
188 directory separator character.
190 2007-11-02 Marek Habersack <mhabersack@novell.com>
192 * HttpServerUtility.cs: in 2.0, Transfer is allowed only from
193 pages. Fixes bug #334931
194 Also, according to MSDN docs, transfer in 2.0+ is possible only to
197 * HttpRuntime.cs: BinDirectory returns a full path to the actual
198 bin directory in the application root. If no bin directory is
199 found, it defaults to returning <applicationPath>/bin. Fixes bug
202 * HttpApplication.cs: introduced HTTP handler cache to save time
203 on repetitive handler collection traversals. On busy sites the
204 traversal of the default 26 handlers may account for thousands of
205 unnecessary calls to configsystem.LocateHandler method, which may
206 also involve executing a regex. The cache is cleared whenever the
207 HTTP handler collection is modified.
209 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
211 * HttpUtility.cs: fixed HtmlEncode for TARGET_JVM.
213 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
215 * HttpUtility.cs: fixed UrlPathEncode.
217 2007-10-24 Gert Driesen <drieseng@users.sourceforge.net>
219 * StaticFileHandler.cs: Modified 404 message to match MS.
221 2007-10-24 Marek Habersack <mhabersack@novell.com>
223 * HttpUtility.cs: MS.NET does not support the ';' query parameter
224 separator. Fixes bug #335615
226 2007-10-18 Juraj Skripsky <js@hotfeet.ch>
228 * StaticSiteMapProvider.cs: Replace Hashtables by Dictionaries,
229 don't allocate them on-demand, there will never be many
230 Provider instances around.
231 AddNode(): Check for duplicate keys before adding any item to
233 RemoveNode(): Use fact that Hashtable.Remove() never throws,
234 remove item from keyToNode as well, make symmetric to AddNode().
235 MapUrl(): Use VirtualPathUtility, allow for full urls
236 (e.g. http://www.google.com).
238 2007-10-17 Marek Habersack <mhabersack@novell.com>
240 * StaticFileHandler.cs: fixed an bug with Mono running under
241 Windows operating systems which caused XSP to return source of the
242 requested page if the file name used in the request ended in any
243 number of spaces or dots. The problem lies in the way the Win32
244 subsystem treats such file names - it ignores the trailing
245 characters and allows the calling application to open a file on
246 disk even when its name does not contain the trailing characters
247 used in the open request. Such file names may be supported by the
248 underlying filesystem (e.g. NTFS) but they are not supported by
249 the I/O Win32 subsystem. The security issue is reported in
250 CVE security report CVE-2007-5473. Fixes bug #332401
252 2007-10-17 Igor Zelmanovich <igorz@mainsoft.com>
255 response status is sent after PreSendRequestHeaders invoked.
256 Redirect method set RedirectLocation property
259 2007-10-15 Marek Habersack <mhabersack@novell.com>
261 * HttpApplication.cs: do not return a non-existing bin directory
262 from BinDirectories. Patch from Atsushi Enomoto
263 <atsushi@ximian.com>, thanks! Fixes bug #332434.
265 2007-10-04 Marek Habersack <mhabersack@novell.com>
267 * HttpApplication.cs: call the Init method after loading the
268 modules and hooking up application events. Fixes bug #330416.
270 2007-10-01 Marek Habersack <mhabersack@novell.com>
272 * HttpServerUtility.cs: set a flag when transferring control to
275 * HttpContext.cs: added an internal InTransit property to carry
276 information that HttpServerUtility.Transfer has been used, over to
279 2007-09-12 Juraj Skripsky <js@hotfeet.ch>
281 * StaticSiteMapProvider.cs (AddNode): Add message text to
282 InvalidOperationException (duplicate url case).
284 2007-09-06 Marek Habersack <mhabersack@novell.com>
286 * HttpCachePolicy.cs: implemented setting the ETag and
287 Last-Modified headers from file dependencies.
289 * HttpResponse.cs: implemented file dependency methods.
291 2007-09-01 Marek Habersack <mhabersack@novell.com>
293 * HttpRuntime.cs: rewrote the app_offline.htm support. It now uses
294 filesystem watchers instead of checking for existence of the
295 file(s) at the beginning of every request. No performance penalty
298 2007-08-31 Marek Habersack <mhabersack@novell.com>
300 * HttpApplicationFactory.cs: added methods to enable/disable
303 * HttpRuntime.cs: implemented handling of app_offline.htm file in
304 the application root directory. Fixes bug #81127.
306 * HttpResponse.cs: make sure neither context or
307 context.ApplicationInstance are null in End ().
309 2007-08-27 Marek Habersack <mhabersack@novell.com>
311 * HttpCookie.cs: make sure a key is output even if it has no
312 values set. Fixes bug #81333.
314 2007-08-23 Marek Habersack <mhabersack@novell.com>
316 * HttpApplication.cs: added a static array BinDirs which contains
317 the common bin directory names we can encounter.
318 Added internal static property IsRunningOnWindows.
319 Added internal enumerable property BinDirectories to iterate over
320 the full paths of the available binary directories.
321 Added internal enumerable property BinDirectoryAssemblies to
322 iterate over .dll files in the bin directories.
323 LoadTypeFromPrivateBin renamed to LoadTypeFromBin.
324 LoadTypeFromBin uses BinDirectoryAssemblies.
326 * HttpApplicationFactory.cs: use HttpApplication.BinDirectories to
327 interate over the list of bin dirs.
329 2007-08-21 Marek Habersack <mhabersack@novell.com>
331 * HttpApplicationFactory.cs: watch for changes in all the
332 private binary directories for the current application domain.
334 * HttpApplication.cs: turn the PrivateBinPath property into an
335 internal enumerable, so that code throughout the assembly can
336 iterate over the list of private bin directories configured for
337 the application domain.
338 Added a new internal method LoadTypeFromPrivateBin, for sharing
339 with other parts of the assembly.
341 2007-08-18 Juraj Skripsky <js@hotfeet.ch>
343 * HttpRequest.cs (StripPath): Fix off-by-one error, make static.
345 2007-08-18 Marek Habersack <mhabersack@novell.com>
347 * HttpRequest.cs: IE sends the full input file path when uploading
348 a file via the upload input control. Detect the situation and
349 strip the leading path. Fixes bug #82059.
351 * HttpServerUtility.cs: set the current context's path(s) to the
352 Transfer/Execute target only to retrieve the new handler, and
353 restore them immediately afterwards. It has a two-fold effect:
354 first it avoids an extra round trip to the original page which
355 called Transfer/Execute, second it makes FilePath etc. return
356 information about the original page (that is the one which called
357 Transfer/Execute). Fixes bug #82439.
359 2007-08-14 Marek Habersack <mhabersack@novell.com>
361 * XmlSiteMapProvider.cs: do not hide this_lock.
363 2007-08-09 Marek Habersack <mhabersack@novell.com>
365 * HttpApplicationFactory.cs: unconditionally watch for changes
366 (including creation) to Global.asax, global.asax, Web.config,
367 web.config and Web.Config. This makes the application restart once
368 any of those is created. Patch from Juraj Skripsky
369 <juraj@hotfeet.ch>, thanks! Fixes bug #82380.
371 2007-08-08 Marek Habersack <mhabersack@novell.com>
373 * StaticSiteMapProvider.cs, HttpApplicationFactory.cs,
374 HttpStaticObjectsCollection.cs, SiteMapProvider.cs,
375 XmlSiteMapProvider.cs, HttpApplication.cs, CapabilitiesLoader.cs,
376 TimeoutManager.cs: do not use lock (this), replace it with lock
377 (this_object), where this_object is an instance variable. Prevents
378 deadlocks in situation when external code locks on the class
381 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
383 * HttpUtility.cs: performance refactoring, optimized UrlEncode
385 2007-08-05 Igor Zelmanovich <igorz@mainsoft.com>
387 * SiteMapNode.cs: refactoring + typo fix:
388 variable is declared in scope where is used.
390 2007-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
392 * VirtualPathUtility.cs: refactored GetDirectory, ToAbsolute, added
393 internal api to skip path normalizing
395 2007-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
397 * HttpResponseStream.jvm.cs: optimized CharBucket
399 2007-07-22 Vladimir Krasnov <vladimirk@mainsoft.com>
401 * HttpServerUtility.cs: fixed Execute, SetCurrentExePath should be
402 called after ApplicationInstance.GetHandler call in case of GetHandler
403 fails for some reason
405 2007-07-21 Marek Habersack <mhabersack@novell.com>
407 * HttpRuntime.cs: clean up the dynamic base directory on domain
410 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
412 * HttpUtility.cs: optimized HtmlEncode and HtmlAttributeEncode methods
414 2007-07-05 Miguel de Icaza <miguel@novell.com>
416 * HttpApplication.cs (AsyncRequestState.Complete): Add the
417 try/catch for the callback here to ensure that we only call
418 complete_event.Set once.
420 (PipelineDone): This is where the core of the bug fix is: do not
421 call Complete() or call done.Set() (depending on the invocation
422 case) until we are actually done cleaning up the request.
424 The problem was that we signaled that we were done, but we had not
425 completed the shut down, so another thread could have been
426 scheduled on the same HttpApplication and had its variables be
427 modified as we completed the shutdown on the first thread.
429 This fixes #81400 which was a very long standing bug.
431 (Tick): Remove the pipeline check against null, this is not
432 necessary and it will help us find problems like this one in the
435 Reverts patch r66072 which was a described as:
437 band-aid patch to help debugging hang running 2.0
440 2007-07-02 Marek Habersack <mhabersack@novell.com>
442 * CapabilitiesLoader.cs: provide default capability values for all
443 the 2.0+ capabilities which are not defined in our
444 browscap.ini. The default values have been assigned as per
445 MSDN. Fixes bug #81927
447 2007-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
449 * HttpResponse.cs: fixed AddHeadersNoCache, removed content-length
450 header for TARGET_JVM
451 * HttpWorkerRequest.cs: made this class partial, moved TARGET_JVM stuff
453 * HttpWriter.cs: fixed write methods, output_stream can write char[]
454 and string in TARGET_JVM
455 added HttpWorkerRequest.jvm.cs, HttpResponseStream.jvm.cs
457 2007-06-25 Juraj Skripsky <js@hotfeet.ch>
459 * HttpRuntime.cs (ShutdownAppDomain): Re-introduce call to
460 "Cache.InvokePrivateCallbacks".
462 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
464 * HttpUtility.cs: fixed HtmlAttributeEncode, performance improvement
466 2007-06-20 Marek Habersack <mhabersack@novell.com>
468 * HttpRuntime.cs: added new internal property, InternalCache, to
469 keep all the internal cache entries instead of mixing them with
470 the public cache ones.
471 Do not invoke Cache.InvokePrivateCallbacks - this method no longer
474 * HttpResponse.cs: private entries are now kept in
475 Context.InternalCache.
477 * HttpContext.cs: added new internal property, InternalCache,
478 which returns the HttpRuntime.InternalCache value.
480 * HttpApplication.cs: check all the loaded assemblies for the type
481 being looked up. Patch from Juraj Skripsky <juraj@hotfeet.ch>,
482 thanks! Fixes bug #81697.
484 2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>
486 * HttpUtility.cs: refactoring:
487 removed constants to another class.
489 2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>
491 * AssemblyResourceLoader.cs: refactoring:
492 make the code reusable in System.Web.Extenssions.
494 2007-05-31 Marek Habersack <mhabersack@novell.com>
496 * SiteMapProvider.cs: implemented proper logic of authorizing
497 user's access to a sitemap node, as per MSDN2 docs. Patch from
498 Dumitru Ban <dban@dako.ro>, thanks!
500 2007-05-30 Marek Habersack <mhabersack@novell.com>
502 * TraceManager.cs: Catch all the possible exceptions in the
503 constructor - the object MUST be created successfully (even if
506 * HttpRequest.cs: do not attempt to apply url mappings if the
507 configuration manager has errors.
509 * HttpRuntime.cs: handle static constructor exceptions later on,
510 during the first call to ReallyProcessRequest.
512 * QueueManager.cs: provide defaults for the parameters to be read
513 from the config file(s).
514 Catch all the possible exceptions in the constructor - the object
515 MUST be created successfully (even if there are errors).
517 2007-05-29 Marek Habersack <mhabersack@novell.com>
519 * SiteMapProvider.cs: updated the node accessibility comments.
520 If Roles not null and user is not in at least one of the
521 specified roles, return false.
522 If there Url is null or empty, return false.
524 2007-05-28 Marek Habersack <mhabersack@novell.com>
526 * HttpRequest.cs: since Path is used from within
527 WebConfigurationManager, under some conditions it may lead to
528 endless recursion if the UrlComponents is not instantiated when
531 2007-05-21 Vladimir Krasnov <vladimirk@mainsoft.com>
533 * HttpContext.cs: added ProfileInitialized boolean property
535 2007-05-16 Vladimir Krasnov <vladimirk@mainsoft.com>
537 * VirtualPathUtility.cs: Normalize method check more carefully if need
538 to normalize, performance fix
540 2007-05-16 Konstantin Triger <kostat@mainsoft.com>
542 * HttpContext.cs: correctly check for request locality.
544 2007-05-15 Marek Habersack <mhabersack@novell.com>
546 * HttpApplication.cs: refactoring - moved LoadType from
547 WebConfigurationHost here and made it internal static, in order to
548 make the code avaliable from all the places where extended type
551 2007-05-14 Marek Habersack <mhabersack@novell.com>
553 * HttpUtility.cs: when parsing query strings, skip the leading ?
554 for the first parameter name.
556 * HttpRequest.cs: added support for mapping urls, as defined in
557 the system.web/urlMappings section.
559 2007-05-14 Vladimir Krasnov <vladimirk@mainsoft.com>
561 * HttpWriter.cs: GetMaxByteCount was used in Write and WriteString
562 methods to improve performance of HttpWriter
564 2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
566 * HttpApplication.cs:
567 prevent DOS attack: remove configuration from the cache in case
568 of invalid resource not exists
570 2007-05-14 Vladimir Krasnov <vladimirk@mainsoft.com>
572 * TraceContext.cs: refactoring, cached TraceManager
574 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
576 * HttpApplication.cs:
578 handling exceptions occurred if <system.web/customError>
579 section is not valid.
581 2007-05-08 Vladimir Krasnov <vladimirk@mainsoft.com>
583 * BaseParamsCollection.cs: fixed Get(string) property, fixed collection
586 2007-05-07 Marek Habersack <mhabersack@novell.com>
588 * HttpResponseStream.cs: use BufferOutput
590 * HttpResponse.cs: support Buffer, but use BufferOutput
592 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
594 * BrowserCapabilities.cs:
597 2007-04-30 Igor Zelmanovich <igorz@mainsoft.com>
599 * HttpApplication.cs: reverted r74717.
601 2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
603 * HttpContext.jvm.cs: Response.End() must abort thread if not async.
605 2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
607 * HttpApplication.cs: doesn't cache httpHandlersSection in instance,
608 that allows to consider httpHandlers section in nested web.config.
610 2007-04-27 Marek Habersack <mhabersack@novell.com>
612 * XmlSiteMapProvider.cs: add support for siteMapFile attribute.
614 2007-04-24 Marek Habersack <mhabersack@novell.com>
616 * CapabilitiesLoader.cs: Hashtables used as property containers
617 should not be case-insensitive as we now preload the property
618 hashes with default properties, to make the code work in case
619 browscap.ini is broken or missing. Instead, the keys are
620 lower-cased and trimmed before indexing the Hashtable.
621 Added all the missing capabilities to the defaultCaps Hashtable.
622 The returned Hashtable is not reversed in GetCapabilities anymore
623 - it might make the code faster, but it also makes it mismatch
624 browsers (e.g. Firefox 2.0 is mismatched for Mozilla 1.8).
625 All of the above fixes bug #81437.
627 * HttpRequest.cs: MS.NET throws HttpException for invalid paths,
628 not ArgumentNullException.
630 * HttpException.cs: wrap GetHtmlErrorMessage internals in
631 try/catch to capture possible exceptions in HttpContext.
633 * HttpContext.cs: IsCustomErrorEnabled is used from within
634 HttpException, make sure it gets the section in a safe way and
635 resorts to the default settings.
637 * HttpResponse.cs: HeaderEncoding is used in the same context as
638 above. Take the same precautions.
640 2007-04-22 Joshua Tauberer <jit@occams.info>
642 * HttpParamsCollection.cs: Fix IndexOutOfRangeException.
644 2007-04-19 Miguel de Icaza <miguel@novell.com>
646 * BaseParamsCollection.cs (Get (string)): Call LoadInfo here to
649 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
651 * HttpException.cs: used GetBaseException() instead InnerException.
653 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
655 * HttpException.cs: shows message of InnerException in head of Page.
657 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
659 * HttpException.cs: fixed generated HTML formating.
661 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
663 * HttpContext.cs: GetGlobalResourceObject, GetLocalResourceObject
664 use case-insensitive ResourceManager
666 2007-04-15 Marek Habersack <mhabersack@novell.com>
668 * VirtualPathUtility.cs: converted to LF line endings and set the
669 svn:eol-style property to 'native'
671 2007-04-13 Marek Habersack <mhabersack@novell.com>
673 * SiteMap.cs: try to look up the current map node in providers
674 other than the current one. Patch from Mike Morano
675 <mmorano@mikeandwan.us>. Fixes bug #81366.
677 2007-04-12 Vladimir Krasnov <vladimirk@mainsoft.com>
679 * HttpRequest.cs: fixed Params property to be lazy initialzation
681 * added HttpParamsCollection.cs
683 2007-04-11 Konstantin Triger <kostat@mainsoft.com>
685 * HttpRequest.cs: IsLocal should return true for loopback addresses.
687 2007-04-10 Marek Habersack <mhabersack@novell.com>
689 * HttpCookie.cs: format the output of HttpCookie.Values.ToString()
690 in the same way MS.NET does. Fixes bug #81333. Patch from Mike
691 Morano <mmorano@mikeandwan.us>.
693 * XmlSiteMapProvider.cs: add the NotifyFilters.Size to the
694 watcher flags, so that we watch for modifications to a file when
697 * HttpApplicationFactory.cs: add the NotifyFilters.Size to the
698 watcher flags, so that we watch for modifications to a file when
700 App_Code, App_Browsers and App_GlobalResources watchers must watch
701 for events with the '*' mask so that they can notice events
702 related to subdirectory creation/deletion.
703 Watch for subdirectory events with the App_Code watcher.
705 2007-04-07 Marek Habersack <mhabersack@novell.com>
707 * HttpException.cs: show a default custom error message if custom
709 Cleaned up the errors HTML, made it XHTML-compliant. Generated
710 HTML now uses inline CSS styles.
712 2007-04-06 Marek Habersack <mhabersack@novell.com>
714 * HttpUtility.cs: added a constant that contains the default query
716 ParseQueryString supports queries with both '&' and ';' parameter
719 2007-04-05 Marek Habersack <mhabersack@novell.com>
721 * CapabilitiesLoader.cs: Make sure that the capability names
722 (keys) are stored in lowercase.
724 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
726 * XmlSiteMapProvider.cs:
727 custom attributes of siteMapNode are loaded properly.
729 2007-04-05 Marek Habersack <mhabersack@novell.com>
731 * CapabilitiesLoader.cs: add a full default set of capabilities
732 for cases when browscap.ini is broken, missing or doesn't contain
733 definition for the client's User-Agent. Makes it possible to surf
734 asp.net sites from unsupported clients.
736 2007-04-04 Juraj Skripsky <js@hotfeet.ch>
738 * HttpApplicationFactory.cs: Make sure an web application is
739 shutdown only once (and Application_End in global.asax is called
740 only once as well). This is necessary because FileSystemWatcher
741 emits multiple events when e.g. global.asax is changed.
743 2007-04-01 Vladimir Krasnov <vladimirk@mainsoft.com>
745 * HttpRequest.cs: fixed Headers property to use optimized
747 * WebROCollection.cs: used StringComparer.OrdinalIgnoreCase for
749 * ServerVariablesCollection.cs: used lazy collection fill optimization
750 * added: HeadersCollection.cs, BaseParamsCollection.cs
752 2007-04-01 Konstantin Triger <kostat@mainsoft.com>
755 GetLocalResourceObject - should not prefix resources with 'Resources.'.
757 2007-04-01 Konstantin Triger <kostat@mainsoft.com>
759 * BrowserCapabilities.cs: Default Browser (userAgent) property to 'Unknown'.
761 2007-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
763 * HttpContext.cs: timeout methods removed from TARGET_J2EE compilation
764 * HttpContext.jvm.cs: added stubs for timeout methods
766 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
768 * StaticSiteMapProvider.cs:
769 GetChildNodes does not return null but SiteMapNodeCollection.EmptyCollection.
771 2007-03-28 Konstantin Triger <kostat@mainsoft.com>
773 * BrowserCapabilities.cs:
775 2. Break recoursion in case 'browser' capability is not found.
777 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
779 * SiteMapNode.cs: fixed GetAllNodes method.
781 2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
783 * XmlSiteMapProvider.cs: fixed:
784 resolve app-relative path from config such siteMapFile="~/Web.sitemap".
786 2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
789 * XmlSiteMapProvider.cs: fixed: Localize Site-Map Data.
791 2007-03-26 Konstantin Triger <kostat@mainsoft.com>
793 * HttpRequest.cs: correctly handle null and empty virtual pathes in MapPath.
795 2007-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
797 * HttpContext.cs: AppGlobalResourcesAssembly static member stored in
798 AppDomain for TARGET_JVM
800 2007-03-24 Marek Habersack <mhabersack@novell.com>
802 * HttpRuntime.cs: use ICalls.GetMachineConfigPath instead of
803 opening the machine.config file and getting its path.
805 * CapabilitiesLoader.cs: use HttpRuntime.MachineConfigurationDirectory
806 instead of opening the machine config file and getting its path.
808 2007-03-23 Konstantin Triger <kostat@mainsoft.com>
810 * HttpApplication.cs: complete the pipeline in case of exception during
811 InitOnce() to avoid a deadlock.
813 2007-03-22 Adar Wesley <adarw@mainsoft.com>
815 * BrowserCapabilities.cs: Added implementation for all capabilities.
816 changed implementation to throw when capability is not defined in browscaps.ini.
818 * CapabilitiesLoader.cs: fixed parent resultion bug. added internal support for
819 browser and browsers capabilities.
821 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
823 * HttpContext.jvm.cs, HttpRuntime.cs: cached instance of HttpRuntime
824 in context in addition to AppDomain
826 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
828 * HttpCookie.cs, HttpCookieCollection.cs: used OrdinalIgnoreCase
829 StringComparer for cookies and values collections
831 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
833 * HttpApplication.cs: refactred handlers configuration section as
836 2007-03-20 Marek Habersack <mhabersack@novell.com>
838 * HttpRequest.cs: implement AppRelativeCurrentExecutionFilePath.
840 2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
842 * VirtualPathUtility.cs: fixed GetFileName(), GetExtension() methods.
844 2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
846 * VirtualPathUtility.cs: fixed GetDirectory() method.
848 2007-03-15 Marek Habersack <mhabersack@novell.com>
850 * XmlSiteMapProvider.cs: handle cases with no default for the
853 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
855 * HttpRequest.cs: fixed MapPath () method.
857 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
859 * VirtualPathUtility.cs: fixed ToAbsolute() method.
861 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
863 * VirtualPathUtility.cs: refactoring: class is shared with 1.x.
865 2007-03-15 Marek Habersack <mhabersack@novell.com>
867 * XmlSiteMapProvider.cs: add support for the enableLocalization
868 <siteMap> attribute and handle per-node localization resource
869 strings for explicit localization as well as the resourceKey
870 attribute to <siteMapNode> for implicit localization (closes bug
873 * SiteMapNode.cs: add support for the resource keys and foreign
875 Implement GetImplicitResourceString.
876 Add support for translation of the Title and Description
877 attributes (closes bug #81103) as well as foreign attributes.
879 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
881 * VirtualPathUtility.cs: fixed: works properly with appRelative path.
883 2007-03-13 Marek Habersack <mhabersack@novell.com>
885 * HttpApplicationFactory.cs: resources compiler no longer accepts
888 * HttpRuntime.cs: Do not compile local resources here anymore.
890 * HttpContext.cs: if App_LocalResources assembly corresponding to
891 the virtual path is not found, compile it here.
892 Look up resources in the "Resources." class path.
894 2007-03-13 Igor Zelmanovich <igorz@mainsoft.com>
896 * HttpUtility.cs: fixed HttpUtillity.HtmlAttributeEncode
897 '<' char must be encoded.
899 2007-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
901 * CapabilitiesLoader.cs: added TARGET_JVM part of static members,
902 added caching to GetCapabilities method for performance improvement
904 2007-03-12 Marek Habersack <mhabersack@novell.com>
906 * XmlSiteMapProvider.cs: support custom site map providers. Fixes
909 2007-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
911 * StaticFileHandler.cs: fixed ProcessRequest TARGET_JVM path,
912 if_modified_since fixed in WAR mode
914 2007-02-25 Vladimir Krasnov <vladimirk@mainsoft.com>
916 * HttpRequest.jvm.cs: fixed LoadWwwForm, should distinguish between
917 query string and form values
919 2007-02-21 Marek Habersack <grendello@gmail.com>
921 * HttpRuntime.cs: BinDirectory returns the bin directory
922 determined by the application host on the application startup.
924 * HttpApplicationFactory.cs: Watch the bin directory determined by
925 the application host on the application startup.
927 2007-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
929 * HttpRequest.cs: fixed MapPath, removed TARGET_J2EE block that checks
932 2007-02-19 Marek Habersack <grendello@gmail.com>
934 * HttpContext.cs: Make sure all the global resource objects are
935 sought in the Resources. namespace.
937 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
939 * HttpContext.jvm.cs, HttpRequest.jvm.cs: Adapt for tunning under test
940 harness where we don't have a SevletRequest/Response.
942 2007-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
944 * HttpApplication.cs: fixed InitOnce, httpModules section is global and
945 taken from the root web.config
947 2007-02-12 Robert Jordan <robertj@gmx.net>
949 * HttpResponseStream.cs (BlockManager.EnsureCapacity):
950 don't call Marshal.ReAllocHGlobal on NULL because, unlike
951 realloc(3) and g_realloc, it doesn't support this semantic.
952 Fixes a part of bug #77075.
954 2007-02-12 Marek Habersack <grendello@gmail.com>
956 * HttpRuntime.cs: support for preservation (.compiled) assembly
959 2007-02-11 Vladimir Krasnov <vladimirk@mainsoft.com>
961 * HttpApplication.cs: added exception pass through from processAction
964 2007-02-02 Marek Habersack <grendello@gmail.com>
966 * HttpApplicationFactory.cs: make code a bit more compact.
968 2007-01-30 Vladimir Krasnov <vladimirk@mainsoft.com>
970 * HttpResponse.cs: fixed TARGET_J2EE part of Redirect for portlet
972 2007-01-30 Adar Wesley <adarw@mainsoft.com>
974 * VirtualPathUtility.cs: fixed exceptions thrown from Combine
975 so they are compatible with MS.
977 2007-01-25 Marek Habersack <grendello@gmail.com>
979 * HttpApplication.cs: Make sure that a specific culture is used
980 when setting the current thread culture.
982 2007-01-21 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
984 * HttpServerUtility.cs: implement Execute/Transfer overloads that take
985 an IHttpHandler. Still missing the documented check for page IsCallback.
986 Also, on MS when i derive from Page for my IHttpHandler, it works fine,
987 but if I just implement IHttpHandler, an exception is thrown. This needs
988 to be researched but, by now, the IHttpHandler version works on mono
991 2007-01-20 Miguel de Icaza <miguel@novell.com>
993 * SiteMapNode.cs (GetExplicitResourceString): implement.
995 * HttpContext.cs (GetGlobalResourceObject): remove unused variable.
997 * StaticFileHandler.cs (ProcessRequest): remove unused variable.
999 * HttpApplication.cs (ProcessError): Remove unused variable.
1001 * HttpServerUtility.cs (Execute): Add new overload and rename
1002 parameter to match MS (as they are normative).
1004 2007-01-17 Marek Habersack <grendello@gmail.com>
1006 * HttpApplicationFactory.cs: Implement code and framework to
1007 enable automatic application restarts on changes to folders/files
1008 in a generic way. Patch from Damien Churchill
1009 <damien.churchill@ukplc.net>, thanks!
1010 Make sure the top-level assemblies (App_Code, resources) are not
1011 referenced twice should a compilation error occur.
1013 2007-01-16 Atsushi Enomoto <atsushi@ximian.com>
1015 * TraceData.cs : page could be null. Fixed bug #80480.
1017 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
1019 * VirtualPathUtility.cs: fixed bugs in methods - GetDirectory and
1020 GetExtension, according to the VirtualPathUtilityTest
1022 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1024 * SiteMapProvider.cs: fixed IsAccessibleToUser, true if
1025 SecurityTrimmingEnabled not enabled, true if Roles exists on node and
1028 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1030 * HttpRequest.jvm.cs, HttpContext.jvm.cs: Added TARGET_J2EE specific files.
1031 * HttpContext.cs, HttpResponse.cs, HttpRequest.cs, HttpCookie.cs:
1032 Add J2EE Portal support for TARGET_J2EE.
1034 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1036 * HttpRequest.cs: fixed IsLocal, should check all ip addresses of host
1038 2007-01-05 Marek Habersack <grendello@gmail.com>
1040 * HttpApplicationFactory.cs: Use the new app resources compiler.
1042 * HttpRuntime.cs: Use the new app resources compiler.
1044 * HttpContext.cs: Reimplement the GetGlobalResourceObject
1045 methods, implement the GetLocalResourceObject methods.
1047 * HttpResponse.cs: Implement the HeaderEncoding property.
1049 2007-01-04 Andreia Gaita <avidigal@novell.com>
1051 * HttpRuntime.cs: Add check for NET_2_0 when initializing
1052 WebConfigurationManager, build failing on 1.1 profile
1054 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1056 * HttpApplicationFactory.cs, HttpRuntime.cs: WebConfigurationManager
1057 should be initializaed before any possible access to it
1059 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1061 * HttpRequest.cs: fixed Path property, add call of
1062 Uri.UnescapeDataString in net_2_0
1064 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1066 * HttpApplication.cs: fixed PreStart, should not set thread culture
1069 2007-01-03 Vladimir Krasnov <vladimirk@mainsoft.com>
1071 * HttpRequest.cs: fixed jvm version of MakeInputStream, should not
1072 throw exception on zero content length
1074 2007-01-03 Vladimir Krasnov <vladimirk@mainsoft.com>
1076 * SiteMap.cs, SiteMapNodeCollection.cs: TARGET_JVM of static members
1078 2006-12-20 Marek Habersack <grendello@gmail.com>
1080 * HttpContext.cs: add internal setter for the Profile property.
1082 * HttpApplicationFactory.cs: Added a shortcut version of
1083 InvokeSessionEnd for use from the 2.0 SessionState code.
1085 2006-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
1087 * HttpRequest.cs: fixed Path property, returns unescaped url
1089 2006-12-16 Marek Habersack <grendello@gmail.com>
1091 * HttpRequest.cs: Fix for http exception during first visit to an
1092 application when the visit path is not the app's virtual root.
1094 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
1096 * SiteMapProvider.cs.cs:
1097 * XmlSiteMapProvider.cs: fixed: because more then one node with empty url
1098 is allowed unique key is generated for each node.
1100 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
1102 * SiteMapProvider.cs.cs: fixed: IsAccessibleToUser resolvs relative url.
1103 * StaticSiteMapProvider.cs: fixed: RemoveNode
1105 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
1107 * VirtualPathUtility.cs: fixed: Combine(), ToAbsolute() methods.
1109 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
1111 * VirtualPathUtility.cs: fixed: IsAppRelative() method.
1113 2006-12-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1115 * BrowserCapabilities.cs: fixed MSDomVersion property
1117 2006-12-05 Igor Zelmanovich <igorz@mainsoft.com>
1119 * VirtualPathUtility.cs: fixed: ToAbsolute() method.
1121 2006-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1123 * HttpRequest.cs: call MapPath on the HttpWorkerRequest so that if
1124 FilePath is changed we get the new physical path, not the one of the
1125 original request. Fixes bug #80152.
1127 2006-12-03 Igor Zelmanovich <igorz@mainsoft.com>
1129 * HttpWriter.cs: reverted r38835.
1131 2006-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1133 * HttpWriter.cs: remove unused WriteBytes method.
1135 2006-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1137 * HttpRequest.cs: physical path comes from GetFilePathTranslated to
1138 avoid trimming in HttpRequest.MapPath.
1140 2006-11-29 Marek Habersack <grendello@gmail.com>
1142 * HttpApplication.cs: Make use of the handler stack implemented
1145 * HttpCacheVaryByHeaders.cs: Optionally omit the vary:* header
1146 value in the 2.0 profile.
1148 * HttpServerUtility.cs: Make use of the handler stack implemented
1150 Implemented the UrlToken{Encode,Decode} 2.0 methods.
1152 * HttpResponse.cs: Implemented the IsRequestBeingRedirected
1155 * HttpContext.cs: Implemented the CurrentHandler and PreviousHandler
1156 methods, together with helper functions to handle the handler
1158 GetSection(string) should be present only in the 2.0 profile.
1160 * HttpCachePolicy.cs: implement the SetNoServerCaching,
1161 SetNoStore, SetNoTransforms, SetValidUntilExpires and
1162 SetOmitVaryStar methods.
1163 Added code to set the no-store and no-transform options of the
1164 Cache-Control header.
1166 2006-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1168 * HttpServerUtility.cs: don't prepend extra '?' when the original url
1169 already has a query string. Fixes bug #80042.
1171 2006-11-24 Miguel de Icaza <miguel@novell.com>
1173 * HttpApplicationFactory.cs (InitType): Also look for "Web.Config"
1176 2006-11-20 Marek Habersack <grendello@gmail.com>
1178 * HttpApplication.cs: Added support for automatic detection of
1179 user's preferred language.
1181 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1183 * HttpApplication.cs: don't leak the directory name for non-local
1186 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1188 * CapabilitiesLoader.cs: made the hasstable that contains the properties
1189 for the brower case insensitive. Fixes bug #79795.
1191 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1193 * HttpResponse.cs: fix typo that prevented Server.Execute from restoring
1194 the initial output stream used. Closes bug #79916.
1196 2006-11-12 Marek Habersack <grendello@gmail.com>
1198 * HttpContext.cs: Implemented the 2.0 RewritePath overloads.
1200 2006-11-08 Marek Habersack <grendello@gmail.com>
1202 * HttpRuntime.cs: Moved the resource compiler results handling to
1203 the resource compiler itself.
1205 * HttpApplicationFactory.cs: Add invocation of the App_Code
1206 compiler. Moved the resource compiler results handling to the
1207 resource compiler itself. Removed compilation of the local
1208 resources from here - it should be done only when a request
1209 determines that the App_LocalResources directory exists.
1212 2006-11-07 Andrew Skiba <andrews@mainsoft.com>
1214 * HttpRuntime.cs: TARGET_JVM ifdef
1216 2006-11-05 Andrew Skiba <andrews@mainsoft.com>
1218 * SiteMapProvider.cs: don't iterate through Roles when they are null.
1220 2006-11-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1222 * HttpContext.cs: implemented Profile property
1224 2006-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1226 * HttpApplication.cs: the unexpected 'tick' exceptions can be an abort
1227 exception due to timeout or end of the request.
1229 2006-10-18 Marek Habersack <grendello@gmail.com>
1231 * HttpRuntime.cs: add support for compilation of local resources
1232 at the start of request.
1234 * HttpContext.cs: implement the GetGlobalResourceObject APIs
1236 * HttpApplicationFactory.cs: include the bootstrap code for the
1237 global/local resources compiler.
1239 2006-10-09 Marek Habersack <grendello@gmail.com>
1241 * HttpApplication.cs: change the pipeline order for ASP.NET 2.0 to
1242 comply with the Microsoft documentation.
1244 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1246 * HttpApplication.cs: this makes the test run successfully. Still need
1247 to figure out why that is null.
1249 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1251 * HttpApplication.cs: band-aid patch to help debugging hang running 2.0
1254 2006-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1256 * HttpServerUtility.cs: 1.1 Execute(s) preserves the query string.
1257 Thanks to Hubert Fongarnand. Fixes bug #79506.
1259 2006-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1261 * QueueManager.cs: if disposed, always return null for next request.
1262 * HttpRuntime.cs: dispose the queue manager when shutting down the
1263 domain. This will close pending requests with a 503.
1264 * HttpApplication.cs: release the handler before marking the request
1265 as completed. If in PipelineDone context is null, use
1266 HttpContext.Current. Fixes some of those "Tick detected an unhandled
1267 exception" errors printed out.
1269 2006-09-11 Andrew Skiba <andrews@mainsoft.com>
1271 * XmlSiteMapProvider.cs: ifdef TARGET_JVM
1273 2006-09-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1275 * HttpWriter.cs: fixed WriteLine to work correctly in utf-16 encoding
1277 2006-09-08 Robert Jordan <robertj@gmx.net>
1279 * TraceData.cs: fixed NRE if `sizes' is null, which may happen
1280 if a page was unable to save its viewstate and size.
1282 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
1284 * HttpApplicationFactory.cs: ifdef the previous fix with TARGET_JVM to
1287 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1289 * HttpApplicationFactory.cs: watch web.config too. Fixes bug #78356.
1291 2006-09-05 Konstantin Triger <kostat@mainsoft.com>
1293 * SiteMapProvider.cs: consider authorization section for access decision.
1295 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
1297 * HttpUtility.cs: fixed UrlPathEncode method.
1299 2006-08-31 Boris Kirzner <borisk@mainsoft.com>
1301 * VirtualPathUtility.cs : pass parameters in correct order.
1303 2006-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1305 * HttpApplicationFactory.cs: handle the 'renamed' event too.
1307 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1309 * HttpApplication.cs: fixed BeginProcessRequest, TARGET_JVM part
1312 2006-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1314 * HttpApplication.cs: don't leak local path names when a file is not
1317 2006-06-21 Konstantin Triger <kostat@mainsoft.com>
1319 * XmlSiteMapProvider.cs: if the url is relative, make it relative to the
1322 2006-06-07 Juraj Skripsky <js@hotfeet.ch>
1324 * HttpException.cs (GetHtmlizedErrorMessage): Beautify compilation error
1325 page by showing multiple errors on separate lines.
1327 2006-06-05 Juraj Skripsky <js@hotfeet.ch>
1329 * HttpRequest.cs: simplify code around uri_builder (and rename
1330 to url_components). Move storage of query_string into
1331 uri_builder.Query and initialize it lazily using
1332 worker_request.GetQueryStringRawBytes() or GetQueryString().
1333 (QueryString): Use HttpUtility.ParseQueryString instead of
1334 duplicating its functionality.
1336 2006-06-05 Juraj Skripsky <js@hotfeet.ch>
1338 * HttpUtility.cs (ParseQueryString): move core of
1339 ParseQueryString into internal method to make it available to
1342 2006-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1344 * HttpApplication.cs: assign the context when run from a thread not in
1345 the threadpool. Patch by Andrew Skiba. Fixes bug #78583.
1347 2006-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1349 * HttpApplication.cs: context.Handler does not change for
1350 HttpServerUtility.Execute, so moved setting it into the pipeline instead
1353 2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
1355 * HttpUtility.cs: implemented ParseQueryString
1357 2006-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1359 * HttpUtility.cs: get rid of TryParseHexa.
1361 2006-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1363 * HttpApplicationFactory.cs: make sure that the application start event
1364 is run before any request is processed.
1366 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1368 * HttpServerUtility.cs: don't reset the query string in Execute() when
1369 the path does not contain it and we have one from the previous request.
1372 2006-04-20 Andrew Skiba <andrews@mainsoft.com>
1374 * SiteMapNode.cs: fix few null reference exceptions
1376 2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1379 (TransmitFile): make sure we can read the file before buffering it.
1381 2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1383 * HttpApplicationFactory.cs: don't fail on events that are not
1384 EventHandlers. Patch by Matthew Metnetsky.
1386 2006-04-11 Andrew Skiba <andrews@mainsoft.com>
1388 * HttpRequest.cs: remove code duplication (see UrlUtils.Combine)
1390 2006-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1392 * HttpUtility.cs: allow "%%" as a escape for '%' and ignore invalid
1393 hexadecimal characters. Based on a patch by Vladimir Krasnov.
1395 2006-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1397 * HttpWriter.cs: only keep the byte buffer around if its size is less
1398 than or equals to 32K.
1400 2006-04-08 Miguel de Icaza <miguel@novell.com>
1402 * HttpWriter.cs (Write): Added missing check for null string as
1403 something is now calling it like that.
1405 2006-03-27 Joshua Tauberer <tauberer@for.net>
1407 * HttpWriter.cs: Avoid creation of a byte[] on each Write()
1408 by reusing and resizing a private array.
1410 2006-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1412 * HttpRequest.cs: the field content_length can be < 0 and then we try to
1413 read when there's no data and block.
1415 2006-04-05 Andrew Skiba <andrews@mainsoft.com>
1417 * HttpUtility: UrlEncode and UrlEncodeUnicode logic unified, behaviour
1418 fixed to match dotnet and http://rfc.net/rfc1738.html
1420 2006-03-30 Konstantin Triger <kostat@mainsoft.com>
1422 * HttpApplicationFactory.cs: refactoring: remove static modifier from session_end field.
1423 Does not check the behavior as HttpApplicationFactory is a singleton.
1425 2006-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1427 * HttpUtility.cs: UrlDecode does not throw if an hexadecimal sequence
1428 fails to parse as an integer. Fixes bug #77931.
1430 2006-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1432 * HttpResponse.cs: more fixes for CacheControl: MS allows to set it to
1433 null and "" and the getter value does not completely depend on Cache.
1435 * HttpRequest.cs: fail validating the request input if there's a control
1436 character after a '<'. Fixes XSS_Null test.
1438 All System.Web tests pass again.
1439 2006-03-22 Robert Jordan <robertj@gmx.net>
1441 * HttpCachePolicy.cs: fix the Cache-control header. Fixes bug #77826.
1443 2006-03-22 Chris Toshok <toshok@ximian.com>
1445 * HttpApplication.cs: fix typo - AuthenticateRequest =>
1446 PostAuthenticateRequest.
1448 2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1451 * HttpRequest.cs: revert part of r58229.
1453 2006-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1455 * ServerVariablesCollection.cs: fixed "URL" variable, it should not
1458 2006-03-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1461 (CheckString): style and don't index the string twice per iteration.
1463 2006-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1465 * TempFileStream.cs: a FileStream that removes the file once
1467 * HttpRequest.cs: support for writing request data to on-disk
1468 files if the request is longer than the threshold specified in the
1469 configuration files. In mono this will work for 1.x and 2.0, while with
1470 MS this only works for 2.0.
1472 2006-03-18 Robert Jordan <robertj@gmx.net>
1474 * HttpCachePolicy.cs: expose the validation callbacks.
1477 2006-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1479 * HttpApplication.cs: fix upper bound when iterating through the module
1482 2006-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1484 * HttpRequest.cs: use the provided content encoding to decode the file
1485 name. Fixes bug #77714.
1487 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1489 * HttpResponse.cs: allow setting a Cache-Control header through
1490 AppendHeader. Fixes bug #77775.
1492 2006-03-15 Chris Toshok <toshok@ximian.com>
1494 * XmlSiteMapProvider.cs (RemoveProvider): oops, no override.
1496 * StaticSiteMapProvider.cs (AddNode): call MapUrl.
1497 (FindSiteMapNode): same.
1499 2006-03-15 Chris Toshok <toshok@ximian.com>
1501 * SiteMapProvider.cs (ReturnNodeIfAccessible): new function,
1502 either return the node or throw InvalidOperationException.
1503 (get_RootNode): use ReturnNodeIfAccessible.
1504 (IsAccessibleToUser): flesh this out a bit, and add comments on
1505 how the rest of the implementation should be written.
1506 (FindSiteMapNodeFromKey): implement to match MS behavior, docs be
1509 * XmlSiteMapProvider.cs: corcompare work.
1511 * StaticSiteMapProvider.cs (AddNode): Add a check to see if node
1512 == RootNode. Not sure if this is actually correct, but it's
1513 required given our implementation of XmlSiteMapProvider. without
1514 this check, we end up assigning RootNode.ParentNode == RootNode,
1515 which makes for an infinite loop when we traverse up the tree.
1517 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1519 * HttpRequest.cs: fixed MakeInputStream method under TARGET_JVM,
1520 fixed if content lenght value is less that byte received
1522 2006-03-10 Chris Toshok <toshok@ximian.com>
1524 * StaticSiteMapProvider.cs (UrlToNode): this entire file is #if
1525 NET_2_0, no need to embed another #if NET_2_0.
1527 * SiteMapProvider.cs (AddNode): throw NotImplementedException.
1528 (FindSiteMapNode): with null context, return null. don't throw
1529 ArgumentNullException.
1530 (RemoveNode): throw NotImplementedException.
1531 (IsAccessibleToUser): check arguments to make test pass. still
1532 lacking the method's actual functionality.
1533 (ResourceKey): add missing property.
1535 2006-03-10 Chris Toshok <toshok@ximian.com>
1537 * HttpRequest.cs (CheckString): add back in the check for \xff1c
1538 that i took out. oops.
1540 2006-03-10 Chris Toshok <toshok@ximian.com>
1542 * HttpRequest.cs (CheckString): implement as described in
1543 Shackow's "Professional ASP.NET 2.0 Security, Membership, and Role
1544 Management", page 310.
1546 2006-03-08 Chris Toshok <toshok@ximian.com>
1548 * SiteMap.cs: clean this up a bunch. use the SiteMapSection to
1549 initialize the provider collection, and don't add a provider.
1550 web.config handles that for us. Also, don't always return true
1553 2006-02-28 Chris Toshok <toshok@ximian.com>
1555 * HttpCookieMode.cs: corcompare work.
1557 * ProcessShutdownReason.cs: same.
1559 * SiteMapNodeCollection.cs: same.
1561 * SiteMapNode.cs: same.
1563 * SiteMapProvider.cs: same.
1565 * HttpCacheRevalidation.cs: same.
1567 * HttpCacheability.cs: same.
1569 * StaticSiteMapProvider.cs: same.
1571 * HttpValidationStatus.cs: same.
1573 2006-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1575 * DefaultHttpHandler.cs: New file.
1577 2006-02-01 Chris Toshok <toshok@ximian.com>
1579 * SiteMap.cs: use GetSection instead of GetWebApplicationSection.
1581 2006-02-01 Chris Toshok <toshok@ximian.com>
1583 * HttpApplication.cs: CONFIGURATION_2_0 => NET_2_0, and use
1584 GetSection instead of GetWebApplicationSection.
1586 * HttpApplication.jvm.cs: same.
1588 * HttpApplicationFactory.cs: same.
1590 * HttpContext.cs: same.
1592 * CapabilitiesLoader.cs: same.
1594 * QueueManager.cs: same.
1596 * HttpRuntime.cs: same.
1598 * TraceManager.cs: same.
1600 * HttpRequest.cs: same.
1602 2006-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1604 * HttpApplication.cs: keep any exception that happens during
1607 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1609 * HttpDataTransferMode.cs: Removed file.
1610 * HttpRequestPriority.cs: Removed file.
1611 * ApplicationShutdownReason.cs:
1614 * HttpApplication.cs: minor class status fixes.
1616 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1618 * VirtualPathUtility.cs: done with all the not implemented methods.
1620 2006-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1622 * HttpResponse.cs: use UInt64.Parse for content length. In AppendHeader,
1623 set cache_control through the property to update the cachebility
1624 accordingly. When using the cached headers, don't add again all the
1625 headers to that collection.
1626 * HttpCacheVaryByParams.cs: if there are no params, return null.
1627 Otherwise we get an empty 'Vary' header.
1629 2006-01-25 Chris Toshok <toshok@ximian.com>
1631 * HttpApplication.cs (Start): wrap InitOnce in a try/catch block,
1632 and if there's a configuration error, output it and end things
1635 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1637 * HttpRequest.cs: fixed the file path when RewritePath is used. Also
1638 add the PathInfo to the Url. Fixes bug #77291.
1640 2006-01-22 Chris Toshok <toshok@ximian.com>
1642 * HttpRequest.cs (ReadBoundary): remove two unused variables to
1644 (IsBoundary): remove unused method.
1646 * MimeTypes.cs (.cctor): use a 2.0 friendly form of the Hashtable
1647 ctor to silence a warning.
1649 * HttpCacheVaryByHeaders.cs (.ctor): same.
1651 * HttpCacheVaryByParams.cs (.ctor): same.
1653 * StaticSiteMapProvider.cs (UrlToNode): same.
1655 2006-01-22 Konstantin Triger <kostat@mainsoft.com>
1657 * HttpWorkerRequest.cs: ensure case insensitivity in header search.
1659 2006-01-19 Konstantin Triger <kostat@mainsoft.com>
1661 * HttpApplication.jvm.cs: merge HttpApplication.cs changes.
1663 2006-01-17 Chris Toshok <toshok@ximian.com>
1665 * CapabilitiesLoader.cs (Init): use WebConfigurationManager in the
1666 CONFIGURATION_2_0 case.
1668 * HttpRuntime.cs (MachineConfigurationDirectory): same.
1670 2006-01-16 Chris Toshok <toshok@ximian.com>
1672 * HttpApplicationFactory.cs: call WebConfigurationManager.Init in
1673 the CONFIGURATION_2_0 case.
1675 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1677 * HttpWriter.cs: made Write (char) less memory hungry. Thanks to Mike
1678 Glenn for pointing this out.
1680 2006-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1682 * HttpApplicationFactory.cs: fix condition for ContextAvailable.
1684 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1686 * HttpResponse.cs: removed TARGET_JVM block from End
1687 * GetJavaTextReader: Merged TARGET_JVM block from LoadFile
1688 to GetJavaTextReader
1690 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1692 * HttpRequest.cs: removed TARGET_JVM block from MapPath
1694 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1696 * HttpRequest.cs: little fix in MapPath(), virtualPath.Replace
1697 return value wasnt stored.
1699 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1701 * HttpResponse.cs: typo in comment.
1703 * HttpApplicationFactory.cs:
1704 * HttpApplication.cs: don't discard the application used for running the
1705 Application_Start event to allow for Redirect/Transfer to be used. Fail
1706 to get the request/response from the application object as MS does (it
1707 can still be retrieved through HttpContext.Current.blah). Fixes
1710 2006-01-09 Vladimir Krasnov <vladimirk@mainsoft.com>
1712 * CapabilitiesLoader.cs: Merged TARGET_JVM parts in LoadFile
1714 * HttpException.cs: Merged TARGET_JVM parts in GetHtmlizedErrorMessage
1716 * HttpRequest.cs: Merged TARGET_JVM parts in MapPath from /main/29
1717 * HttpResponse.cs: Merged TARGET_JVM parts in End() from /main/30
1718 * StaticFileHandler.cs: Merged TARGET_JVM parts in ProcessRequest
1721 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
1723 * BrowserCapabilities.cs, HttpBrowserCapabilities.cs,
1724 HttpResponseStream.cs: TARGET_JVM changes to let the compilation
1727 2006-01-04 Chris Toshok <toshok@ximian.com>
1729 * HttpContext.cs (IsCustomErrorEnabled): add CONFIGURATION_2_0
1730 code. use a nasty 'using' hack to map the 2.0 CustomErrorsMode to
1731 the 1.x CustomErrorMode name.
1732 (IsDebuggingEnabled): add CONFIGURATION_2_0 code.
1733 (ConfigTimeout): add CONFIGURATION_2_0 code.
1735 * HttpRequest.cs (MakeInputStream): add CONFIGURATION_2_0 code.
1737 * HttpApplication.cs (RedirectCustomError): add CONFIGURATION_2_0
1740 * SiteMap.c (Init): use
1741 WebConfigurationManager.GetWebApplicationSection.
1743 2005-12-21 Miguel de Icaza <miguel@novell.com>
1745 * HttpUtility.cs (UrlEncodeUnicode): The generated encoding of
1746 unicode values must be in %XXXX format, not %XX sometimes.
1748 2005-12-08 Robert Jordan <robertj@gmx.net>
1750 * MimeTypes.cs: added entry for "jpg".
1752 2005-12-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1754 * HttpRequest.cs: only read up to content-length when provided. Patch
1757 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1759 * HttpCookie.cs: fixed the set_Secure. Closes bug #76906.
1761 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1763 * HttpResponseStream.cs: flush the filter stream before closing.
1764 Patch by Geir Bergum that fixes bug #76753.
1766 2005-11-28 Chris Toshok <toshok@ximian.com>
1768 * HttpContext.cs (Profile): remove the #if false from around this,
1769 as we now have the ProfileBase type.
1770 (GetConfig): add CONFIGURATION_2_0 version.
1771 (GetSection): add CONFIGURATION_2_0 version.
1773 2005-11-28 Chris Toshok <toshok@ximian.com>
1775 * TraceManager.cs (..ctor): CONFIGURATION_2_0 work.
1777 * QueueManager.cs (..ctor): CONFIGURATION_2_0 work.
1779 * HttpRequest.cs (AnonymousID): add 2.0 property.
1780 (MakeInputStream): CONFIGURATION_2_0 work.
1782 * HttpApplication.cs (InitOnce): change around the
1783 CONFIGURATION_2_0 stuff since we need additional Culture foo for
1786 2005-11-27 Chris Toshok <toshok@ximian.com>
1788 * HttpApplication.cs (InitOnce): add Configuration_2.0 code.
1791 2005-11-26 Miguel de Icaza <miguel@novell.com>
1793 * HttpResponseStream.cs: Do not try to write zero bytes.
1795 2005-11-24 Miguel de Icaza <miguel@novell.com>
1797 * WebROCollection.cs: Do not add an empty "=" to the query string
1798 if the key is empty or null.
1800 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1802 * WebROCollection.cs: override ToString and generate a query string from
1803 the key/value pairs. Fixes bug #76779.
1805 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1807 * HttpServerUtility.cs: prevent possible nullref in GetLastError().
1809 2005-11-07 Jason Diamond <jason@diamond.name>
1811 * HttpRequest.cs: Don't throw exception when Content-Length doesn't
1812 match length of POSTed data. Also, allow charset parameter on
1813 Content-Type header when type is "application/x-www-form-urlencoded".
1815 2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1817 * WebROCollection.cs: add an ID for the collection. Page needs it.
1819 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1821 * HttpRequest.cs: no need to allocate the buffer when all the content
1824 2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1826 * HttpApplication.cs: ignore TAE in ProcesssError. The Error event might
1827 redirect or transfer and that causes a TAE to be thrown. Fixes
1830 2005-11-01 Chris Toshok <toshok@ximian.com>
1832 * VirtualPathUtility.cs: new (partial implementation) to get some
1833 MS provider examples compiling.
1835 2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1837 * HttpContext.cs: added a new internal overload for ClearError.
1839 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1841 * HttpRuntime.cs: invoke callbacks on private items in the cache before
1842 calling disposing the app. factory. This way we get notifications of
1843 removal for all sessions stored in the cache (InProc only).
1845 2005-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1847 * HttpResponseStream.cs: reworked buffering so that adjacents blocks are
1848 written at once. Also fix bug #76460.
1850 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1852 * HttpResponseStream.cs: when allocating a chunk larger than the
1853 default chunk size, mark all the blocks as taken. Fixes bug
1856 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1858 * HttpResponse.cs: use HaveFilter instead of Filter.
1859 * HttpResponseStream.cs: allocate chunks of the requested size
1860 when it's > 32KB. Fixes bug #76460.
1862 2005-10-14 Sebastien Pouliot <sebastien@ximian.com>
1864 * ServerVariablesCollection.cs: Added a demand for
1865 SerializationFormatter on GetObjectData method (even if it's not
1866 really required in this case as it remove warnings from gendarme.
1868 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1871 * HttpRequest.cs: buglets in error checking in Filter.
1873 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1875 * OutputFilterStream.cs: proxy class for response filters.
1876 * HttpResponse.cs: moved all the actual write operations into the
1877 response stream. Handle response filtering. When caching, get the
1878 actual length of the data, not the buffer length.
1879 * HttpApplication.cs: if there's no error, invoke the filters before
1880 updating the request cache.
1881 * HttpResponseStream.cs: new Filter property. SendChunkSize is moved
1882 here and now supports writing the final chunk. New method ApplyFilter
1883 that filters the existing buckets and replaces them with the filtered
1884 ones. Modified Write to deal with buffering and filtering.
1886 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1888 * HttpResponseStream.cs: allow for writes of more than 32K at once.
1890 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1892 * InputFilterStream.cs proxy stream for use by filters.
1893 * HttpRequest.cs: implement input filtering.
1895 2005-10-02 Eyal Alaluf <eyala@mainsoft.com>
1896 * HttpApplication.jvm.cs - Workaround for use of yield in
1897 HttpApplication.cs HttpRuntime.cs: AppDomain.Unload is not supported
1900 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1902 * HttpResponseStream.cs: remove dead code.
1904 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
1906 * HttpClientCertificate.cs: Remove last TODO on IsValid. This now
1907 works when using XSP. Now use flags to determine valid/presence.
1909 2005-09-26 Chris Toshok <toshok@ximian.com>
1911 * HttpApplicationFactory.cs (OnAppFileChanged): add null checks
1912 for bin_watcher and app_file_watcher so we don't get NRE's here.
1914 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1916 * BrowserCapabilities.cs: don't rely on the win32 attribute to be there.
1917 Just use the platform to determine whether Win32 is true or not. Fixes
1920 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1922 * HttpApplication.cs: fixed typo when setting UI culture. Closes bug
1925 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1927 * HttpRequest.cs: new SetFilePath() that does not conflict with
1928 SetCurrentExePath. Now when transfering from a page to another,
1929 CurrentExecutionFilePath and FilePath are correct.
1931 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1933 * TraceContext.cs: add new method to store size of controls.
1934 * TraceData.cs: render control size.
1935 * HttpResponse.cs: new internal method to get the number of bytes of
1937 * HttpResponseStream.cs: added Length property to the Buckets and new
1940 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1942 * TraceData.cs: we have to change the method of getting a control render
1943 size. MS does not do this or otherwise would run into the same bug
1944 (#76051) that this patch fixes. This is temporarily setting the size
1947 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1949 * HttpResponseStream.cs: implemented Send(stream) for files. Fixes bug
1952 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1954 * HttpRuntime.cs: catch errors when compiling global.asax and
1955 initializing the application. Fixes bug #76090.
1957 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1959 * BrowserCapabilities.cs: Fixed changes (in 2.0) with versions. Fixed
1960 compare with "True" (culture and case sensitivity).
1961 * HttpApplicationState.cs: Added LinkDemand for Minimal. Use the
1962 internal HttpStaticObjectsCollection ctor to avoid the UnmanagedCode
1964 * HttpContext.cs: Added LinkDemand for Minimal. Added 2.0 properties
1965 and methods to test CAS on them.
1966 * HttpRequest.cs: Added LinkDemand for Minimal. Ensure we return
1967 proper values when worker_request is null.
1968 * HttpResponse.cs: Added LinkDemand for Minimal. Ensure we return
1969 proper values when context or WorkerRequest is null. Added 2.0
1970 properties and methods to test CAS on them.
1971 * HttpRuntime.cs: Added LinkDemand for Minimal. Added PathDiscovery
1972 demands for properties returning directories. Added demand for High
1973 level on AppDomainAppId and AppDomainId properties, Low level on
1974 IsOnUNCShare, Medium level on ProcessRequest and a demand for
1975 UnmanagedCode on UnloadAppDomain method. Constructor also has a
1976 UnmanagedCode demand for 1.x.
1977 * HttpStaticObjectsCollection.cs: Added LinkDemand for Minimal. Added
1978 a UnmanagedCode demand to public ctor. Added internal ctor without the
1979 demand. Changed Serialize and Deserialize methods to public for 2.0.
1981 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1983 * HttpWorkerRequest.cs: Removed TODO for 2.0 APIs and return the
1984 default values for them.
1986 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1988 * HttpApplication.cs: : Added LinkDemand and InheritanceDemand (class)
1989 for Minimal. Changed AssemblyLocation to a property (so it doesn't
1990 require special permission, PathDiscovery) to create an instance.
1991 Protected Modules property with a Demand for High level. Added some
1992 missing HttpException for null context.
1993 * HttpServerUtility.cs: Added LinkDemand for Minimal. Added demands
1994 for UnmanagedCode on all CreateObject* methods. Added demand for
1995 Medium level on MachineName and ScriptTimeout properties. Added new
1996 overloaded Transfer method (2.0) to test CAS on it.
1997 * HttpUtility.cs: Added LinkDemand for Minimal. Added [Obsolete] to
1998 ctor (2.0). Changed some return values when 'count' is 0. Added
1999 ParseQueryString (overload) methods for 2.0 (to enabled CAS testing on
2001 * HttpWorkerRequest.cs: Added LinkDemand and InheritanceDemand (class)
2002 for Minimal. Added RequestTraceIdentifier and RootWebConfigPath (2.0)
2003 properties, GetPreloadedEntityBody, GetPreloadedEntityBodyLength,
2004 GetTotalEntityBodyLength and ReadEntityBody (2.0) methods to test CAS
2005 on them. Fixed SendResponseFromMemory to ignore IntPtr.Zero (used in
2006 tests without failures).
2007 * ServerVariablesCollection.cs: Fixed loadServerVariablesCollection
2008 when HttpWorkerRequest is null.
2009 * TraceContext.cs: Added LinkDemand for Minimal. Fixed default Mode
2010 (SortByTime). Added new (2.0) TraceFinished event to test CAS on it.
2012 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
2014 * HttpBrowserCapabilities.cs: Added LinkDemand and InheritanceDemand
2015 (class) for Minimal. Note that current MCS has problem compiling
2016 security attributes on partial class (bug #75969).
2017 * HttpCachePolicy.cs: Added LinkDemand for Minimal. Added 2.0 methods
2018 (stub) to enable CAS tests on them.
2019 * HttpCacheVaryByHeaders.cs: Added LinkDemand for Minimal.
2020 * HttpCacheVaryByParams.cs: Added LinkDemand for Minimal.
2021 * HttpClientCertificate.cs: Added LinkDemand and InheritanceDemand
2022 (class) for Minimal.
2023 * HttpCookie.cs: Added LinkDemand for Minimal.
2024 * HttpCookieCollection.cs: Added LinkDemand for Minimal.
2025 * HttpFileCollection.cs: Added LinkDemand for Minimal.
2026 * HttpModuleCollection.cs: Added LinkDemand for Minimal.
2027 * HttpPostedFile.cs: Added LinkDemand for Minimal.
2028 * HttpRequestPriority.cs: Fix enum values.
2029 * HttpWriter.cs: Added LinkDemand for Minimal.
2031 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
2033 * ProcessInfo.cs: Added LinkDemand and InheritanceDemand (class) for
2035 * ProcessModelInfo.cs: Added LinkDemand and InheritanceDemand (class)
2036 for Minimal. Methods GetCurrentProcessInfo and GetHistory are also
2037 protected by Demand for High level.
2039 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
2041 * HttpCompileException.cs: Added new public ctors and [Serializable]
2042 to 2.0. Added new Message property and GetObjectData (protected by a
2043 demand for SerializationFormatter) for 2.0. Fixed line-ending.
2044 * HttpException.cs: Added LinkDemand and InheritanceDemand (class) for
2045 Minimal. Renamed parameters to match documentation.
2046 * HttpParseException.cs: Added LinkDemand (class) for Minimal. Added
2047 demand for SerializationFormatter on GetObjectData method. Fixed
2049 * HttpRequestValidationException.cs: Added new public ctors and
2050 [Serializable] to 2.0. Added LinkDemand for Minimal.
2051 * HttpUnhandledException.cs: Added new public ctors and [Serializable]
2052 to 2.0. Removed unused internal ctor. Added LinkDemand for Minimal.
2055 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
2057 * HttpResponseSubstitutionCallback.cs: New. 2.0 delegate.
2058 * TraceContextEventArgs.cs: New. 2.0 class.
2059 * TraceContextEventHandler.cs: New. 2.0 delegate.
2061 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2063 * HttpRequest.cs: use GetServerName instead of GetLocalAddress when
2066 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2068 * HttpRequest.cs: fix the indexer.
2070 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2072 * HttpPostedFile.cs: fixes in Seek and Position.
2074 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
2076 * HttpRequest.cs: Make sure the MemoryStream created have their
2077 contents marked as public - or else you can't call GetBuffer on them!
2079 2005-09-08 Miguel de Icaza <miguel@novell.com>
2081 * HttpRequest.cs: Patch from Juraj Skripsky <js@hotfeet.ch> that
2084 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2086 * HttpPostedFile.cs: Make this class actually work. Every time we read,
2087 we have to position the underlying stream.
2089 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2091 * HttpRequest.cs: reading multipart/form-data works again.
2093 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
2094 * HttpRequest.cs: Under TARGET_JVM the input stream must allow GetBuffer.
2096 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
2097 * HttpApplicationFactory.cs: TARGET_J2EE/JVM fix.
2099 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2101 * HttpRequest.cs: correctly detect multipart/form-data.
2103 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2105 * HttpApplicationFactory.cs: recycle after invoking session_end.
2107 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2109 * HttpRuntime.cs: remove Console.
2111 * HttpApplicationFactory.cs: don't hook Session_End, but keep
2112 the MethodInfo around for later invocation if needed. Don't call
2113 GetMethods() for every HttpApplication (or derived class) instances.
2114 Added a method, used by SessionStateModule, that will create use an
2115 application without context to invoke Session_End. Keep a pool of
2116 applications that are meant to be used by this method only.
2118 * HttpApplication.cs: add a SetSession method and do not
2119 attach all the events if the application is for Session_End only.
2121 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2123 * HttpRuntime.cs: actually unload the domain when requested. Reformatted
2124 FinishUnavailable() and removed the 'Location' header form the error.
2126 * HttpApplicationFactory.cs: set up the watcher for the bin directory.
2127 This also prevents a nullref when global.asax is changed.
2129 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2131 * HttpApplication.cs: fixed bug introduced when moving GetHandler call
2132 around. Now we get error pages again.
2134 2005-09-06 Miguel de Icaza <miguel@novell.com>
2136 * HttpApplication.cs: Catch EndRequest errors as well.
2138 2005-09-05 Miguel de Icaza <miguel@novell.com>
2140 * HttpApplication.cs: Invoke EndRequest handler before OutputPage
2141 as FormsAuthentication will issue a Redirect from the EndRequest
2144 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2146 * HttpApplication.cs: when writing an error message, catch the possible
2149 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2151 * HttpResponseStream.cs: prevent invalid cast exception if the first
2152 thing written is a file.
2154 2005-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2156 * HttpApplication.cs: fix invalid cast exception (bug #75926).
2158 2005-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2160 * HttpApplicationFactory.cs: only trigger the Application_Start event
2161 once. It was being invoked more than once when several clients were
2162 hitting the server at the same time on startup.
2164 2005-09-01 Eyal Alaluf <eyala@mainsoft.com>
2166 * HttpContext.cs HttpResponse.cs HttpWorkerRequest.cs HttpRuntime.cs
2167 HttpApplicationFactory.cs HttpApplication.cs: TARGET_J2EE/JVM fixes.
2168 Mostly workaround limited AppModel in TARGET_J2EE.
2170 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2172 * HttpResponse.cs: if the request method is HEAD, that's equivalent to
2173 SuppressContent. Added an internal TransmitFile that allows setting the
2175 * StaticFileHandler.cs: use the new internal TransmitFile and remove
2176 generation of Content-Length header, as now it's computed correctly.
2177 * HttpApplication.cs: remove debugging stuff.
2178 * HttpResponseStream.cs: suppress_content is checked in HttpResponse.
2180 2005-08-31 Miguel de Icaza <miguel@novell.com>
2182 Removed debugging info.
2184 * HttpApplication.cs: Add support for async handlers.
2186 Add extra 2.x methods.
2188 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2190 * BrowserCapabilities.cs: removed extra 'using'.
2192 * HttpApplication.cs: use just the 'modcoll' to hold the collection of
2193 modules instead of having a separate 'modules' one.
2195 2005-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2197 * HttpApplication.cs: clone the module collection so that
2198 it's not shared between HttpApplications. Call GetHandler() in the
2201 2005-08-30 Miguel de Icaza <miguel@novell.com>
2203 * HttpApplication.cs: Add the new 2.x method overloads that take a
2206 (RunHooks): Pass the extra data instead of null.
2208 * HttpCookie.cs (HttpOnly): Add 2.x cookie header.
2210 * BrowserCapabilities.cs: Move the core of the capabilities into a
2211 separate file. Use partial classes to choose what version to
2214 * HttpBrowserCapabilities.cs: Update to move the code elsewhere.
2216 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
2218 * HttpResponseStream.cs: Fix a bug introduced by last fix (thanks to
2221 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
2223 * HttpResponseStream.cs: Compilation fixes for TARGET_JVM. TARGET_JVM
2224 does not support unsafe code. I localized all unsafe code within Chunk
2225 & Block and created a managed version of Chunk.
2227 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
2228 * HttpApplicationFactory.cs: Compilation fixes for TARGET_J2EE. Under
2229 TARGET_J2EE static fields are shared by all app domains. We handle
2230 this difference by explicitly getting/setting values from the app
2231 domain. Since HttpApplicationFactory has many static fields, I
2232 refactored it to have one static instance and moved the static fields
2233 into instance fields.
2235 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
2237 * HttpRequest.cs: Disable use of IntPtrStream for TARGET_JVM
2239 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
2241 * HttpContext.cs: Compilation fixes for TARGET_J2EE/JVM
2243 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2245 * HttpResponse.cs: don't duplicate the 'charset=' and don't send a
2246 charset for unknown MIME types.
2247 * StaticFileHandler.cs: set the Content-Length header here.
2248 * HttpRequest.cs: prevent nullrefs when we have no 'charset='.
2250 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2252 * StaticFileHandler.cs: use TransmitFile instead of WriteFile. This way
2253 xsp will use sendfile().
2255 2005-08-28 Chris Toshok <toshok@ximian.com>
2257 * SiteMapNode.cs: fix IHierarchyData.GetParent.
2259 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2262 * IntPtrStream.cs: now we only have a read-only MemoryStream or an
2263 IntPtrStream. The copy is moved into HttpRequest.
2265 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
2267 * WebCategoryAttribute.cs: New. Required internal attribute.
2268 * WebSysDescriptionAttribute.cs: New. Required internal attribute.
2270 2005-08-26 Jackson Harper <jackson@ximian.com>
2272 * HttpResponseStream.cs: Use GetBuffer so the memory isn't
2275 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2277 * HttpApplication.cs: GetHandler might return null when, for example,
2278 a web service fails, but that does not mean that returning a null
2279 handler should throw another exception, as the web service code
2280 serialized the error as a faultString. So if the handler is null, just
2281 don't call ProcessRequest and keep going.
2283 2005-08-26 Jackson Harper <jackson@ximian.com>
2285 * HttpResponse.cs: Send the cached headers if this is a cached
2286 response. Save the headers, date header, and page data. Fix a typo.
2287 * HttpResponseStream.cs: Add new accesor to get a byte [] of the
2290 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2292 * HttpWorkerRequest.cs: SetEndOfSendNotification is a noop. No matter
2293 what callback you use that never gets called. In XSP I actually
2294 implement something for this method.
2295 * HttpServerUtility.cs: unused variable.
2297 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2299 * HttpInputStream.cs: new ctor that takes a byte [].
2300 * IntPtrStream.cs: make it work on a byte [] too.
2303 (ContentLength): return 0 for negative numbers or error parsing, but
2304 keep content_length negative in those cases.
2305 (MakeInputStream): when there's no content-length (or it's negative),
2306 we still read the request into a MemoryStream. Use
2307 IsEntireEntityIsPreloaded() as a fast path.
2309 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
2311 * HttpClientCertificate.cs: On 1.x the .ctor throws a
2312 ArgumentNullException (but 2.0 throws a NRE).
2314 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2316 * HttpRequest.cs: HttpMethod deserves its own field. Fix IsLocal.
2318 2005-08-25 Chris Toshok <toshok@ximian.com>
2320 * HttpApplication.cs (IsReusable): return true.
2321 (InitOnce): remove the initialization of handler_factory from
2323 (GetHandler) and move it here, so we make sure to load handlers
2324 from all needed web.config files.
2326 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2328 * HttpServerUtility.cs: use GetHandler().
2329 * HttpApplication.cs: remove obsolete method. Now Transfe/Execute work.
2331 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2333 * HttpApplication.cs: no need for the local var. here.
2335 2005-08-25 Chris Toshok <toshok@ximian.com>
2337 * HttpApplication.cs (InitOnce): move the initialization of
2338 modules above the call to HttpApplicationFactory.AttachEvents,
2339 since that method accesses HttpApplication.Modules. Fixes
2341 (IsReusable): mark TODO.
2343 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2345 * HttpResponseHeader.cs: removed obsolete class.
2346 * HttpResponse.cs: no more 'obsolete' warnings.
2348 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2350 * HttpRuntime.cs: implemeted some missing properties.
2352 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2354 * HttpResponse.cs: implemented RemoveOutputCacheItem().
2356 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2358 * HttpApplication.cs: implemented GetVaryByCustomString().
2360 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2362 * HttpRequest.cs: implemented SetHeader (allows adding a header
2363 circumventing the read-only protection of the collection) and SetForm,
2364 which just assigns a value of the 'form' collection.
2365 * HttpServerUtility.cs: NameValueCollection -> WebROCollection.
2367 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2370 * HttpRequest.cs: implemented RewritePath and supporting methods.
2372 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
2374 * HttpRequest.cs: Avoid NRE if work_request if null in the ctor.
2375 * HttpResponse.cs: Avoid NRE if work_request if null in the ctor.
2377 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2379 * HttpApplication.cs: if there's any exception thrown when getting the
2380 handler, don't add an extra error to the context, as we already have
2383 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2387 * HttpWorkerRequest.cs:
2388 * HttpApplication.cs: added mising attributes and enabled methods
2391 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2393 * WebROCollection.cs: a collection that allows setting IsReadOnly.
2394 * HttpRequest.cs: implemented MapImageCoordinates(). Use WebROCollection
2395 instead of a NameValueCollection in Form, Headers, Params, QueryString.
2397 2005-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2399 * HttpInputStream.cs: new copy ctor.
2400 * IntPtrStream.cs: getters for base_address and size.
2401 * HttpRequest.cs: implemented SaveAs(). Use a wrapper on top of
2402 InputStream so that reading POST form or files does not modify the state
2403 if InputStream. Don't use uri_builder.Query in QueryStringRaw, as it
2406 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2408 * HttpRequest.cs: implemented UserLanguages and reuse code from
2411 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2413 * HttpRequest.cs: implemented AcceptTypes.
2415 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2417 * HttpRequest.cs: implemented this[] in terms of Params. Don't add the
2418 header collection in Params.
2420 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2422 * HttpRequest.cs: fix Files property.
2423 * HttpApplication.cs: invoke the default authentication event after all
2424 the other auth. modules.
2426 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2428 * ServerVariablesCollection.cs: mark the collection as read-only except
2429 when we fill it. Add the HTTP_blah key/value pairs too.
2431 2005-08-18 Chris Toshok <toshok@ximian.com>
2433 * HttpRequest.cs (get_Params): implement.
2435 2005-08-17 Chris Toshok <toshok@ximian.com>
2437 * HttpResponse.cs: HttpResponse's Cookie's collection acts
2438 differently than HttpRequests in that it never returns null from
2439 the "this [string]" accessor.
2441 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2443 * HttpRequest.cs: check length 0 case when reading a POST.
2445 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2447 * HttpContext.cs: added security attributes for User and
2448 SkipAuthorization properties.
2449 * HttpApplicationFactory.cs: AttachEvents is now called form the
2450 application .ctor. Recycle instead of dispose.
2451 * HttpApplication.cs: attach events to the newly created application.
2453 2005-08-15 Jackson Harper <jackson@ximian.com>
2455 * ApplicationShutdownReason.cs: make build
2457 2005-08-15 Miguel de Icaza <miguel@novell.com>
2459 * HttpApplication.cs: Update comments
2461 * HttpPostedFile.cs: Use a substream to read from the uploaded
2464 * HttpRequest.cs: use new code to read the uploaded files.
2466 2005-08-12 Miguel de Icaza <miguel@novell.com>
2468 2.x API fixage and small additions:
2470 * HttpResponse.cs: Make constructor internal.
2472 * HttpRequest.cs (IsLocal): Expose if NET_2.x
2474 * HttpContext.cs: Remove internal routine.
2476 * HttpApplication.cs: Add 2.x events.
2478 * HttpRequest.cs: Another iFolder issue: I was not setting up the
2481 Fixes to get iFolder to work:
2483 * HttpApplicationFactory.cs: Set the context when we are initting
2486 * HttpApplication.cs (SetContext): helper routine.
2488 * HttpResponse.cs: Implement the various cache operations:n
2489 Expires, ExpiresAbsolute, CacheControl.
2491 Actually produce the Cache-Control header, the "Cache" property
2492 takes precedence over the compatibility settings (Expires,
2493 ExpiresAbsolutely and CacheControl).
2495 * HttpCachePolicy.cs: Fix style.
2497 Fix the generation of the headers, use lower-case values, do not
2498 add the max-value if the value is zero.
2500 Allow for all possible values in SetCacheability.
2502 * HttpRuntime.cs (ClrInstallDirectory): Implement.
2504 * HttpResponseStream.cs: Remove debugging stuff.
2506 2005-08-11 Miguel de Icaza <miguel@novell.com>
2508 Big chunked handling rewrite, and integration of Ben's unmanaged
2511 * HttpWriter.cs: Delegate chunked encoding writing to the
2514 * HttpResponse.cs: Rework the chunked encoding system, centralize
2517 * HttpResponseStream.cs: Deploy Ben's bucket-base unmanaged
2520 Changed the way that we handle chunked encoding, centralize it
2523 Remove a lot of manual handling of buffering turned off, and
2524 instead delegate it all to Flush, fixes several issues with the
2527 * HttpWorkerRequest.cs (SendResponseFromMemory (IntPtr, int)):
2528 Provide a default implementation since currently XSP does not have
2529 this method implemented.
2531 2005-08-11 Sebastien Pouliot <sebastien@ximian.com>
2533 * HttpClientCertificate.cs: Culture insensitive int parsing. Fixed
2536 2005-08-10 Miguel de Icaza <miguel@novell.com>
2538 * ServerVariablesCollection.cs: For Ben. Implement the header
2539 fetching here, do not implement it in HttpRequest.cs.
2541 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
2543 * HttpClientCertificate.cs: Changed IsPresent logic so that new unit
2544 tests will work as expected.
2546 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
2548 * HttpClientCertificate.cs: Implemented, except for validation. Note
2549 that the HttpWorkerRequest derived classes must be updated to supply
2550 the required informations.
2551 * HttpRequest.cs: Create an HttpClientCertificate on first call to
2554 2005-08-09 Miguel de Icaza <miguel@novell.com>
2556 * HttpRuntime.cs (AspInstallDirectory): Implement.
2558 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
2560 * HttpClientCertificate.cs: New. Stub. It won't be fun to test.
2562 2005-08-04 Ben Maurer <bmaurer@ximian.com>
2564 * HttpContext.cs: Kill a NIE.
2566 2005-08-04 Miguel de Icaza <miguel@novell.com>
2568 * HttpApplicationFactory.cs: Change "Start" event like the "End"
2569 event, and only do this once, when we init the type.
2571 Fire the "Application_Start" event after we create the type.
2573 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2575 * HttpApplication.cs: catch a ThreadAbort (coming from Response.End)
2578 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2580 * HttpResponse.cs: setting the Status property resets the
2581 StatusDescription (see the tests) and the default value for the
2582 description is the one provided by GetStatusDescription() in
2585 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2587 * HttpRequest.cs: s/boundry/boundary/ and fix typo in array creation.
2589 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2591 * HttpApplication.cs: add call to EndOfRequest when everything is said
2594 2005-08-02 Miguel de Icaza <miguel@novell.com>
2596 * HttpResponse.cs: Stub for TransmitFile.
2598 * HttpRequest.cs (IsAuthenticated): Implement.
2600 2005-08-01 Miguel de Icaza <miguel@novell.com>
2602 * HttpRequest.cs: Cope with implementations of HttpWorkerRequest
2603 (unpatched xsp) that do not send back the PreloadedEntityBody.
2605 * HttpApplication.cs: keep track of the factory.
2606 (Dispose): Only dispose once, clean up other variables, release
2607 the ManualResetEvent.
2608 Release the handler to the factory.
2610 * HttpApplicationFactory.cs: Implement a stack to reuse the
2613 * HttpRequest.cs: On uploads, if the ContentLenght is zero, throw
2616 * HttpRuntime.cs: Recycle the application after using it.
2618 * HttpPostedFile.cs: Implement SaveAs.
2620 * HttpContext.cs: Return the "Server" property.
2622 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2624 * HttpServerUtility.cs: implemented missing bits.
2626 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2628 * HttpRequest.cs: query string was getting a '?' as the start of the
2629 first variable name. This makes the asmx help page work again.
2631 2005-08-01 Miguel de Icaza <miguel@novell.com>
2633 * HttpRequest.cs (Cookies, Forms): Add validation.
2634 (Forms): Add application/x-www-form-urlencoded parsing and
2635 multipart/form-data parsing.
2637 (HttpMultiPart): Implement new class to load multi-part data from
2638 a stream since there is no longer a byte [] that holds the data
2639 (currently we have an unmanaged IntPtr buffer wrapped as a
2640 stream). Also the 2.x framework will add support for large
2641 uploads which are sent directly to disk, which will require the
2642 FileStream interface.
2644 (Path, PathInfo): Fill a couple more methods to avoid crashes.
2646 * HttpContext.cs: Fill another one to get web services summary
2647 page painting. The page does not work though.
2649 * HttpApplication.cs: Rework the pipeline to not depend on
2650 `finally', as `finally' would not be invoked if we choose not to
2651 call the pipeline again (which happens if the `stop' variable is
2654 Instead force the pipeline to go to the shutdown, and yield from
2655 there after all the release-state callbacks have been invoked.
2657 2005-07-31 Miguel de Icaza <miguel@novell.com>
2659 * HttpApplication.cs: Remove debugging messages since the compiler
2662 You must use at least mcs from revision 47879 for the application
2665 2005-07-30 Miguel de Icaza <miguel@novell.com>
2667 * HttpContext.cs: Error handling methods.
2669 * HttpResponse.cs: Trigger the last event.
2671 * HttpRuntime.cs: Add queueing of the next request.
2673 * HttpApplication.cs: Deploy the new yield-based application
2674 pipeline, add error handling to the pipeline.
2676 * HttpApplication.cs (AsyncRequestState): Just use the done event
2679 2005-07-29 Miguel de Icaza <miguel@novell.com>
2681 * HttpResponseStream.cs, HttpRequest.cs: Fix bugs found by nunit.
2683 * HttpApplication.cs: Fix a race condition.
2685 * HttpResponseStream.cs: Fix bug, send the size of the buffer that
2686 we have so far instead of the internal size of the buffer. This
2687 will need work later to ensure we enforce the Content-Length
2688 maximum output size if set.
2690 * ServerVariablesCollection.cs: This class now inherits from
2691 NameValueCollection, we should probably review what the middle
2692 class did, there are no dependencies on it.
2694 I need to write tests to investigate if something is missing or
2695 has changed in this implementation.
2697 2005-07-27 Miguel de Icaza <miguel@novell.com>
2699 * HttpRequest.cs: No happy replies here, send a 411.
2701 2005-07-27 Chris Toshok <toshok@ximian.com>
2703 * HttpResponseHeader.cs: remove spew.
2705 2005-07-27 Chris Toshok <toshok@ximian.com>
2707 * HttpResponseHeader.cs (HttpResponseHandler..ctor): use
2708 HttpWorkerRequest.GetKnownResponseHeaderName instead of
2709 GetKnownRequestHeaderName. Fixes Response.Redirect until miguel's
2710 new HttpReponse is online.
2712 2005-07-26 Miguel de Icaza <miguel@novell.com>
2714 * HttpResponse.cs: use_chunked is now a byte-array, if not null,
2715 we use it to hold the size of the chunked so we do not have to
2716 allocate many of these.
2717 (SendSize): Helper routine to send the chunked headers.
2718 (BinaryWrite): First user of the chunked writer.
2720 * HttpApplication.cs: Do not crash if they request a Server
2721 instance, but throw a NotImplementedException.
2723 * HttpRequest.cs: fix a few problems exposed by the regression
2726 * HttpRequest.cs (Cookies): use Chris' new constructor to get the
2729 : The big Uri rework: instead of using QueryString
2730 as the population mechanism, populate an UriBuilder from the
2731 various HttpWorkerRequest methods.
2733 * HttpWorkerRequest.cs (GetProtocol): Implement in terms of
2736 * HttpResponse.cs: Pointed by Ben, Write (null) is a nop instead
2739 * HttpContext.cs: Add a couple of properties to help the 2.x
2742 * HttpResponse.cs: Make ContentLength a long, add back support for
2743 session's app_path_mod.
2744 (ApplyAppPathmodifier): put back.
2745 (End): Pass a flag to abort so we can tell the exceptions appart
2747 (WriteHeaders): Send the HTTP status.
2748 (Redirect): Implement.
2749 (Write): Use the Output property to load writer when needed.
2751 * HttpRequest.cs (ctor): Temporary use of InitFromWR, will fix
2753 (MakeInputStream): check content-length size, use routines to load
2754 the preloaded data, handle incomplete transfers.
2755 (Query): Do not insert null keys into the collection.
2757 (UrlReferer): implement.
2759 * HttpApplication.cs (RunHooks): Catch Thread.Abort, and call
2760 Thread.ResetAbort after each step.
2762 Ensure that ReleaseState is called if we ever succeed in acquiring
2763 the state even if we have stopped the request pipeline.
2765 Report file not found, directory not found.
2767 2005-07-25 Miguel de Icaza <miguel@novell.com>
2769 * HttpCookieCollection.cs: Add expiration of the cookie.
2771 * HttpRequest.cs: Add check for ContentLength, use
2772 GetPreloadedEntityBody, correct number of bytes uploaded.
2774 2005-07-21 Miguel de Icaza <miguel@novell.com>
2776 * HttpResponseHeader.cs: Our implementation of HttpResponse only
2777 uses the text headers, does not use any constants as XSP would go
2778 through a slower code path anyways.
2780 2005-07-21 Chris Toshok <toshok@ximian.com>
2782 * HttpBrowserCapabilities.cs: enable support for the W3CDomVersion
2783 and EcmaScriptVersion properties.
2785 2005-07-21 Chris Toshok <toshok@ximian.com>
2787 * HttpResponseHeader.cs: hi, i'm stupid and missed String.Replace.
2789 2005-07-21 Chris Toshok <toshok@ximian.com>
2791 * HttpResponseHeader.cs: url encode just \r and \n if they're
2792 present in the value.
2794 2005-07-20 Chris Toshok <toshok@ximian.com>
2796 * HttpPostedFile.cs: add missing ContentLength property.
2798 2005-07-20 Chris Toshok <toshok@ximian.com>
2800 * HttpCookieCollection.cs: add a new ctor that takes a string (the
2801 contents of the Cookies: header).
2803 2005-07-20 Chris Toshok <toshok@ximian.com>
2805 * HttpCookieCollection.cs: add another ctor (internal, but not
2806 obsolete, so we aren't passing a stupid HttpResponse in in order
2807 to change the behavior of the collection.)
2809 * HttpCookie.cs: init this.values in the internal ctor.
2811 2005-07-20 Chris Toshok <toshok@ximian.com>
2813 * HttpCookieCollection.cs: use "auto-fill mode" when we're dealing
2814 with an HttpResponse's cookie collection. That is, create the
2815 cookie if the consumer looks it up.
2817 2005-07-20 Miguel de Icaza <miguel@novell.com>
2819 * HttpApplication.cs: Ongoing work on pipeline, I will need to
2822 2005-07-19 Miguel de Icaza <miguel@novell.com>
2824 * HttpContext.cs (GetService): Implement. Return all of the
2825 properties that we have access to. Make HttpWorkerRequest the
2826 first match as this is the only likely reason people need to use
2829 * IntPtrStream.cs: Bring from corlib.
2831 * MultiPartContentParser.cs: use a MemoryStream as HttpInputStream
2832 will now be using IntPtrStream.
2834 * HttpRequest.cs (MakeInputStream): move code that loads the
2836 (CloseInputStream): Helper method that we will call later to
2837 ensure that we dispose properly the malloced() block.
2838 (BinaryRead): Implemented.
2840 * HttpInputStream.cs: Rewrite to be a descendant of
2843 2005-07-18 Miguel de Icaza <miguel@novell.com>
2845 * HttpApplication.cs (Modules): Add modules support and
2848 2005-07-18 Chris Toshok <toshok@ximian.com>
2850 * HttpResponseHeader.cs: initial implementation.
2852 2005-07-18 Chris Toshok <toshok@ximian.com>
2854 * HttpModuleCollection.cs (HttpModuleCollection.GetKey): add
2857 * HttpFileCollection.cs: initial implementation.
2859 2005-07-18 Chris Toshok <toshok@ximian.com>
2861 * HttpModuleCollection.cs (HttpModuleCollection.CopyTo): implement
2864 2005-07-18 Chris Toshok <toshok@ximian.com>
2866 * HttpModuleCollection.cs: initial implementation.
2868 2005-07-18 Chris Toshok <toshok@ximian.com>
2870 * HttpCacheVaryByHeaders.cs: only add the header if it's not
2871 already in the hash.
2873 * HttpCacheVaryByParams.cs: only add the param if it's not already
2876 2005-07-18 Chris Toshok <toshok@ximian.com>
2878 * HttpCookie.cs (HttpCookie+CookieNVC.Set): new override to fix an
2881 2005-07-17 Miguel de Icaza <miguel@novell.com>
2883 * HttpRequest.cs (Headers, InputStream): implemented two more
2886 * HttpInputStream.cs: All we need is a MemoryStream with writable
2889 * HttpPostedFile.cs: Use a Stream.
2891 2005-07-16 Chris Toshok <toshok@ximian.com>
2893 * HttpCacheVaryByHeaders.cs: make sure we set vary_by_unspecified
2894 = false in the custom setter.
2896 2005-07-16 Chris Toshok <toshok@ximian.com>
2898 * HttpCacheVaryByParams.cs: initial implementation.
2900 2005-07-16 Chris Toshok <toshok@ximian.com>
2902 * HttpCacheVaryByHeaders.cs: initial implementation.
2904 2005-07-15 Chris Toshok <toshok@ximian.com>
2906 * HttpCookie.cs: one more time.
2908 2005-07-15 Chris Toshok <toshok@ximian.com>
2910 * HttpCookie.cs (HttpCookie.GetCookieHeader): use
2913 2005-07-15 Chris Toshok <toshok@ximian.com>
2915 * HttpCookie.cs (HttpCookie.GetCookieHeader): implement to fix
2918 2005-07-15 Chris Toshok <toshok@ximian.com>
2920 * HttpCookieCollection.cs: initial implementation (with a couple
2921 of labeled inefficiencies.)
2923 2005-07-15 Chris Toshok <toshok@ximian.com>
2925 * HttpCookie.cs (HttpCookie.get_HasKeys): use values.HasKeys()
2926 instead of trying to be smart about it ourselves.
2928 2005-07-15 Chris Toshok <toshok@ximian.com>
2930 * HttpCookie.cs: initial implementation. we fail one unit test,
2931 but it might be due to a bug in NameValueCollection.
2933 2005-07-15 Miguel de Icaza <miguel@novell.com>
2937 2005-07-14 Miguel de Icaza <miguel@novell.com>
2939 * HttpRuntime.cs: Return a few of the values from the AppDomain
2942 Put the application shutdown process.
2944 * HttpApplicationFactory.cs (AddEvent): Fixed bug when more than
2947 (FireEvent): Do not ignore errors.
2949 * HttpContext.cs (GetAppConfig, GetConfig): First success, use
2950 ConfigurationSettings.GetConfig to get the value that QueueManager
2953 2005-07-14 Dick Porter <dick@ximian.com>
2955 * HttpPostedFile.cs: New basic implementation; needs someone to
2956 figure out what a HttpRequestStream does
2958 2005-07-13 Miguel de Icaza <miguel@novell.com>
2960 * HttpRequest.cs: More work on this file
2962 * HttpRequest.cs, HttpApplication.cs, HttpContext.cs,
2963 HttpRuntime.cs: New from scratch implementation.
2965 2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
2967 * SiteMap.cs: Read provider info from the configuration files.
2969 2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2971 * HttpResponseHeader.cs: URL encode \r and \n in header values. Fixes
2974 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2976 * HttpUtility.cs: fix another stupid buglet in htmldecode.
2978 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2982 * HttpRequest.cs: use StrUtils (invariant culture).
2984 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2986 * HttpRequest.cs: use StartsWith when looking for 'multipart/form-data'.
2987 File uploading was broken since a few commits ago.
2989 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2991 * HttpResponse.cs: ensure that the last chunk ('0\r\n\r\n') is sent
2992 even if response.Close is called before a final flush. MS/IIS fails to
2995 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2997 * HttpRequest.cs: don't print anything for unknown content types in
2998 ParseFormData. Use lowercase compare.
3000 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3002 * HttpResponse.cs: invariant love.
3004 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3006 * HttpResponse.cs: avoid 1 string concat.
3007 * HttpRequest.cs: fix BinaryRead. It was totally wrong.
3009 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3011 * HttpUtility.cs: don't append an extra 0 when no digits seen. Fixes
3014 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3016 * HttpUtility.cs: the lower limit for using &#xx; encoding is 160, not
3017 128. Reset number back to 0 after use. Fixes bug #75365.
3019 2005-06-19 Svetlana Zholkovsky <svetlanaz-at-mainsoft.com>
3020 * In following classes added TARGET_J2EE or/and TARGET_JVM
3025 - CapabilitiesLoader.cs
3026 - HttpApplication.cs
3027 - HttpApplicationFactory.cs
3031 * Added Mainsoft's specific files :
3032 - GhHttpAsyncResult.jvm.cs
3034 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3036 * HttpRequest.cs: avoid one intermediate buffer when reading the request
3037 body and fail for over limit content length when the content type is
3038 not handled as form or multipart data.
3040 2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3042 * HttpResponse.cs: fix the check in Close() so that CloseConnection is
3043 called even if there has been no final Flush. Fixes bug #75176.
3045 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3047 * HttpParseException.cs:
3049 * HttpApplication.cs: updates for 1.1 service pack.
3051 2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3053 * HttpUtility.cs: fix InvalidCastException.
3055 2005-06-05 Korn__l P__l <kornelpal@hotmail.com>
3057 * HttpWriter.cs: Fixed: _OutputFilter.Close () was called twice.
3059 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3061 * HttpUtility.cs: modified HtmlDecode so that it does not need to call
3062 Int32.Parse and handles improper &# sequences. Fixes bug #74907.
3064 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
3066 * SiteMapNodeCollection.cs: Implemented missing methods. The collection
3067 does not inherit from CollectionBase any more.
3068 * SiteMapNode.cs: Track api changes.
3069 * SiteMapProvider.cs: Moved several methods to the new
3070 StaticSiteMapProvider class. Other fixes.
3071 * XmlSiteMapProvider.cs: Watch changes in the xml files. Other fixes.
3072 * SiteMapProviderCollection.cs: Minor fixes.
3073 * SiteMap.cs: Added missing event. Avoid double check lock.
3074 * StaticSiteMapProvider.cs: New class that implements some of the
3075 funtionality of SiteMapProvider.
3077 2005-05-25 Ben Maurer <bmaurer@ximian.com>
3079 * MimeTypes.cs: Remove extra spaces, they were typos. Fixes 75049.
3081 2005-05-13 Atsushi Enomoto <atsishi@ximian.com>
3083 * HttpUtility.cs : UrlDecodeToBytes() incorrectly decoded escaped
3084 characters. Patch by Kazuki Oikawa.
3086 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3088 * HttpRuntime.cs: PlatformID.Unix.
3090 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3092 * HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
3093 Clear the _Headers array instead of creating a new ArrayList in
3096 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3098 * HttpResponse.cs: we had 2 variables to track client connection status.
3099 Use only one. Increase the buffer size to 28KB when writing from a file.
3101 * StaticFileHandler.cs: set the Content-Type before writing the file.
3102 This allows flushing before all the content is written.
3104 * HttpApplication.cs: use the variable instead of the property when
3105 setting the Principal for the current process.
3107 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3109 * ReusableMemoryStream.cs:
3110 * HttpWriter.cs: keep a pool of buffers to avoid allocations.
3112 2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3114 * HttpResponse.cs: no need to save/restore the thread culture when
3115 getting the Date header. According to Ben's profiling, this is a big
3116 deal in performance.
3118 * HttpRuntime.cs: ignore exceptions that might be thrown when unloading
3121 2005-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3123 * HttpApplicationFactory.cs: ignore any exception thrown when invoking
3124 an application event.
3126 2005-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3128 * HttpBrowserCapabilities.cs: fix Win32 property.
3130 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3132 * HttpResponse.cs: only add the charset when explicitly set or for
3133 well-known content types.
3135 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3137 * HttpCachePolicy.cs:
3138 * HttpAsyncResult.cs:
3139 * HttpClientCertificate.cs:
3142 * HttpCacheVaryByHeaders.cs:
3143 * HttpBrowserCapabilities.cs:
3145 * HttpCacheVaryByParams.cs: no more warnings.
3147 * QueueManager.cs: check for local connections with minLocalFreeThreads.
3149 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3151 * ServerVariablesCollection.cs: shuffled variables, added missing ones
3152 and call a method in HttpRequest to set the HTTP_ variables.
3154 * HttpRequest.cs: new method to add HTTP_ variables to a collection.
3156 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3158 * HttpRequest.cs: GetAllHeaders was returning the value twice instead
3159 of 'name: value'. When HTTP_ is requested on the output, don't include
3162 2005-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3164 * HttpCookieCollection.cs: when adding more than one cookie with the
3165 same name, the last one is the winner.
3167 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3169 * HttpRequest.cs: correctly store the value cookies in Params. Fixes
3172 2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3174 * HttpRequest.cs: Path and FilePath also change when RewritePath is
3175 called. Fixes bug #73055.
3177 2005-02-23 Sebastien Pouliot <sebastien@ximian.com>
3179 * HttpRequest.cs: Make sure that any access after a ValidateInput
3180 throws an exception if the data isn't safe.
3182 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3184 * CapabilitiesLoader.cs: fix the path, as machine.config is now in a
3185 x.x/ directory below $PREFIX/etc/mono.
3187 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3189 * HttpRequest.cs: fail on unicode full-width '<' and '>' too. Fixes
3190 a security report (http://secunia.com/advisories/14325) that wan't
3191 reported to us before public disclosure.
3193 2005-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3195 * HttpResponse.cs: send the calculated content length even when it's 0.
3198 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
3200 * HttpContext.cs: Added internal property to keep a reference to
3201 the last accessed page. Page uses this to implement PreviousPage.
3203 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
3205 * ProcessModelInfo.cs: Fixed warning.
3207 2005-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3209 * TraceContext.cs: writing a message without any other argument is not
3210 a warniing. Fixes bug #72017.
3212 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3214 * HttpApplication.cs: if there are no more handlers, finish the
3215 request and ensure we call Complete on it. Now FreeTextBox 3.0 works.
3217 2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3219 * HttpRequest.cs: honor the maxRequestSize limit from machine.config.
3221 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3223 * HttpApplication.cs: reread application CultureInfo as web.config
3224 might have changed. Fixes bug #62539.
3226 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3228 * HttpResponse.cs: fixed ApplyAppPathModifier to insert the session ID.
3230 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3232 * HttpApplicationFactory.cs: monitor changes in global.asax and bin
3233 directory and shutdown the application when that happens. Fixes bug
3236 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3238 * ReusableMemoryStream.cs: copied from System.IO.MemoryStream and
3239 slightly modified to allow expanding the buffer for cases on which the
3240 regular MemoryStream don't allow it.
3242 * HttpWriter.cs: use the new ReusableMemoryStream and fix bug #59841.
3243 Otherwise we would have to allocate a new MemoryStream...
3245 2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3247 * HttpApplication.cs: Create() is now GetInstance().
3249 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
3251 * SiteMapNodeCollection.cs: Added missing properties.
3252 * HttpParseException.cs: Added 2.0 methods and properties.
3253 * SiteMapNode.cs: Added missing methods and properties.
3254 * SiteMapProvider.cs, XmlSiteMapProvider.cs,
3255 SiteMapProviderCollection.cs: IProvider does not exist any
3256 more, it is now ProviderBase.
3257 * ISiteMapProvider.cs: Deleted.
3258 * ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
3260 * SiteMap.cs: Minor fixes.
3262 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
3264 * SiteMapProviderCollection.cs: Fixed warning.
3265 * HttpApplication.cs: Added new 2.0 events.
3267 2004-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3269 * HttpResponse.cs: added internl SetHeadersSent.
3270 * HttpRuntime.cs: don't throw the 'headers already sent' exception
3271 if we're sending a runtime error.
3273 2004-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3275 * HttpApplication.cs: undo the TimeoutManager.(Add|Remove) shuffling.
3276 It causes troubles under heavy load.
3278 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3280 * SiteMap.cs: don't lock on Type.
3281 * CapabilitiesLoader.cs: avoid 2 locks when loading data.
3283 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3285 * HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
3286 presence of rewriting.
3288 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3290 * HttpApplication.cs: don't hang if a sync step is aborted. Fixes the
3291 system.web portion of bug #68270.
3293 2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3295 * TraceContext.cs: don't cast to Page is the handler it's
3298 2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3300 * HttpRequest.cs: CurrentExecutionFilePath is the one that
3301 changes when Transfer or Execute are used, not FilePath.
3303 * HttpServerUtility.cs: moved form saving/restoring from
3304 Transfer to Execute, as it's needed there too. the query string is
3305 correctly set now. Fixes bug #67388.
3307 * HttpContext.cs: use SetCurrentExePath instead of SetFilePath.
3309 2004-10-03 Ben Maurer <bmaurer@ximian.com>
3311 * HttpResponse.cs: use UtcNow
3313 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3315 * HttpResponse.cs: SuppressContent does not throw and clears all the
3316 buffered output. Fixes bug #67213.
3318 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3320 * HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.
3322 2004-09-29 Ben Maurer <bmaurer@ximian.com>
3324 * HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.
3326 2004-09-25 Ben Maurer <bmaurer@ximian.com>
3328 * HttpApplication.cs: Make sure requests are removed from
3329 the timeout manager. Fixes a major leak. #66751.
3331 2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3333 * HttpApplicationFactory.cs:
3334 * HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
3337 2004-09-12 Ben Maurer <bmaurer@ximian.com>
3339 * HttpContext.cs: use CallContext. It is a little bit faster.
3341 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3343 * HttpStaticObjectsCollection.cs: don't share static session objects
3344 declared in the application file across the application, but on a
3345 per-session basis. Fixes bug #65446.
3347 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3349 * HttpServerUtility.cs: in Transfer(path), don't keep form data if
3350 the transfer is done from inside a page that received a postback.
3353 2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3355 * HttpValueCollection.cs: fixed signature of ToString (). Closes bug
3358 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
3360 * HttpWriter.cs (.ctor): Dont create teh StreamWriter twice
3361 (Clear): Don't recreate the MemoryStream and StreamWriter
3363 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3365 * HttpApplication.cs: only add/remove to/from the timeout
3366 manager when we're in a interruptible step.
3368 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3370 * TraceContext.cs: when IsEnabled has not been set, return the value
3371 from the TraceManager. Fixes bug #63469.
3373 2004-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3375 * HttpRuntime.cs: initialize the response writer when finishing a
3376 request because it cannot be queued. Under heavy load we made new
3377 requests be processed before the ones that might be queued. This is
3380 * QueueManager.cs: instead of queueing/dequeuing separately, we now
3381 have a single method that does everything needed to decide which one
3382 will be the next request processed.
3384 2004-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3386 * HttpRuntime.cs: removed initializations to null in .cctor. Prevent
3387 other requests from avoiding the lock if they are received before the
3388 configuration system is inited. Ensure that the queue manager is not
3389 null before using it (it can be null while the first request is being
3392 2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3394 * HttpServerUtility.cs: ensure we have a full virtual path for the
3395 request being executed.
3397 2004-08-02 Duncan Mak <duncan@ximian.com>
3399 * ApplicationShutdownReason.cs: Fixed typos.
3401 * HttpCookieMode.cs:
3402 * HttpDataTransferMode.cs:
3403 * HttpRequestPriority.cs: Added [Serializable] attribute.
3405 2004-08-02 Duncan Mak <duncan@ximian.com>
3407 * ApplicationShutdownReason.cs:
3408 * HttpCookieMode.cs:
3409 * HttpDataTransferMode.cs:
3410 * HttpRequestPriority.cs: Added 2.0 enumerations.
3412 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3414 * HttpApplication.cs: the file not found might be a dependency.
3416 2004-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3418 * HttpCookie.cs: use invariant when formatting expires date. Fixes bug
3421 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3423 * HttpApplication.cs: don't keep the session around if we got it from
3424 the context. Fixes bug #61232.
3426 2004-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3428 * HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
3431 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3433 * TraceContext.cs: added internal HaveTrace property whose
3434 value is true when the page has a Trace attribute.
3436 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3438 * TraceData.cs: fixed <br> output. Closes bug #60181.
3440 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3442 * HttpUtility.cs: check for control characters in the string to encode
3443 or decode and return the same string if there are none.
3445 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3447 * HttpApplication.cs: change/restore the IPrincipal in their own methods
3448 and make them internal.
3450 2004-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3452 * HttpContext.cs: reverting Pedro's patch and sending mail with test
3455 2004-06-09 Pedro Martnez Juli <yoros@wanadoo.es>
3457 * HttpContext: User property returns its own "user" value because
3458 the context can walk through different Threads. When "User" property
3459 is changed, change "Thread.CurrentPrincipal" too.
3461 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3463 * HttpRequest.cs: removed extra ^Ms and fixed style of last patch.
3465 2004-06-08 Alon Gazit <along@mainsoft.com>
3467 * HttpRequest.cs: Add a patch for HttpRequest.ServerVariables.
3469 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
3471 * HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
3472 Fix (at least partially) #59683.
3474 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3476 * HttpRequest.cs: reverting patch from Alon Gazit. Uses the above file
3477 that doesn't compile.
3479 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3481 * TraceData.cs: fixes nullref in an application that relies on
3482 r ["Message"] not being null. Closes bug #59679.
3484 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3486 * HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.
3488 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3490 * HttpRuntime.cs: implemented a 5 simple properties that were TODOs.
3492 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3494 * HttpBrowserCapabilities.cs: implemented ClrVersion and GetClrVersions.
3495 * HttpException.cs: removed MonoTODO.
3497 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3499 * TraceContext.cs: don't check if HttpRuntime.TraceManager
3500 is enabled when writing.
3502 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3504 * HttpRequest.cs: added ClientTarget internal property.
3506 2004-06-03 Lluis Sanchez Gual <lluis@ximian.com>
3508 * HttpApplication.cs: Clear the http handler list after releasing the
3511 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3513 * TraceData.cs: html-encode the messages written to the trace. Fixes
3516 2004-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3518 * HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
3521 2004-05-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3523 * HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
3524 when SetFilePath is called. This way the cached values are reset and
3525 get the right value in case someone (namely SessionStateModule +
3526 cookieless session) changes the FilePath after the property cached its
3527 value. Fixes bug #59364.
3529 2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>
3531 * HttpApplicationFactory.cs: Added SignalError (still todo)
3533 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3535 * HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
3536 chunked encoding disabled. Fixed chunked suffix and end. Send the
3537 'lastchunk' marked when in the final Flush even if the content length
3538 is 0. This makes mod-mono-server work fine with chunked encoding.
3540 * HttpRuntime.cs: Set the _firstRequest* variables to true
3541 earlier. TraceContext don't take any parameter now.
3543 * TraceManager.cs: don't need a context. Use GetAppConfig.
3545 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3547 * HttpApplication.cs: set culture/uiculture from configuration and
3548 restore it after each step. Fixes bug #52851.
3550 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3552 * HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
3553 entities hashtable creation until it's really needed.
3555 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3557 * HttpApplicationFactory.cs: if no module matches the name found for a
3558 possible event, ignore it. Fixes bug #58542.
3560 2004-05-16 Patrik Torstensson <totte@hiddenpeaks.com>
3562 * HttpRuntime (Init): Removed old todo
3563 * HttApplication : Implemented IHttpHandlerFactory recycling
3565 2004-04-28 Patrik Torstensson
3567 * HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
3570 2004-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3572 * HttpUtility.cs: return null in HtmlDecode for null input instead of
3573 throwing an exception. Patch by Jan Jaros (bug #57083).
3575 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
3577 * TimeoutManager.cs: Swap the order of initialization of contexts
3578 and the Timer, to avoid race condition of CheckTimeouts being called
3579 before contexts gets initialized.
3581 2004-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3583 * HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
3584 Now the posted file content does not have the boundaries and headers
3587 2004-03-25 Alon Gazit <along@mainsoft.com>
3589 * HttpRequest.cs: fix ValidateCookieCollection() to prevent
3590 InvalidCastException.
3592 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3594 * HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.
3596 2004-03-01 Larry Ewing <lewing@ximian.com>
3598 * HttpUtility.cs: fix UrlEncodeToBytes count check.
3600 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3602 * HttpServerUtility.cs:
3603 * HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
3606 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3608 * HttpUtility.cs: fixed length check. Closes bug #54201.
3609 Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
3612 2004-02-11 Jackson Harper <jackson@ximian.com>
3614 * TraceData.cs: Use ToString for cookie/header/var name values so
3615 null is handled properly.
3617 2004-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3619 * HttpApplication.cs: ApplicationState is inited by the factory so,
3620 return that value in the property. when we use the context Session,
3621 cache it in the instance field.
3623 * HttpApplicationFactory.cs: fixed target Type for the event when
3624 hooking application and module events. Initialize application
3625 and session scope objects. Fixes non-aplication events hook up.
3627 * HttpStaticObjectsCollection.cs: added StaticItem and delay the
3628 creation of the objects until they are requested.
3630 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3632 * HttpApplicationFactory.cs: fixlet for session events hook.
3634 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3636 * HttpApplicationFactory.cs: attach all events from Type and BaseType
3637 at the same time. Fixes bug #53454.
3639 2004-01-27 Jackson Harper <jackson@ximian.com>
3641 * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
3642 null now, dont hadd the header if it does.
3643 * HttpCacheVaryByParams.cs: Return null if there are no items.
3645 2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3647 * HttpCachePolicy.cs: it's not public.
3648 * HttpRuntime.cs: wait for requests before disposing the queue.
3650 2004-01-15 Jackson Harper <jackson@ximian.com>
3652 * HttpCachePolicy.cs: Fix typo causing varyby params headers to be
3653 created when they shouldn't be.
3655 2004-01-14 Jackson Harper <jackson@ximian.com>
3657 * TraceData.cs: Fix some typos in the output text. Fix control
3658 position when adding controls recursively.
3660 2004-01-14 Jackson Harper <jackson@ximian.com>
3662 * HttpCachePolicy.cs: Expose duration and sliding properties.
3664 2004-01-14 Jackson Harper <jackson@ximian.com>
3666 * HttpCachePolicy.cs: Add an event that is fired when the
3667 cacheability is updated. The response uses this to determine
3668 whether or not it needs to cache itself.
3669 * HttpResponse.cs: When the cacheability is updated either create
3670 or dispose of the cached raw response based on whether or not we
3671 wil need it. This allows output caching to be controlled
3674 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3676 * HttpContext.cs: add setter for ConfigTimeout.
3677 * HttpException.cs: added Description property and HTML encode some
3680 * HttpRequest.cs: support request validation.
3682 * HttpRequestValidationException.cs: added message and description.
3684 * HttpServerUtility.cs: implemented ScriptTimeout.
3686 2004-01-11 Jackson Harper <jackson@ximian.com>
3688 * TraceManager.cs: Dont crash if there is no trace config element.
3690 2004-01-11 Jackson Harper <jackson@ximian.com>
3692 * HttpRequest.cs: Add property for determining if the request is
3695 2004-01-10 Jackson Harper <jackson@ximian.com>
3697 * TraceContext.cs: Handle tracing when it is enabled in the config
3698 file but not on the page.
3699 * TraceManager.cs: Get settings from the configuration object.
3700 * HttpRuntime.cs: Create trace manager in the first request start
3701 so it can get configuration settings.
3703 2004-01-10 Jackson Harper <jackson@ximian.com>
3705 * TraceContext.cs: Save the request path in the trace data.
3706 * TraceData.cs: Add RequestPath property, make some rendering
3707 methods internal static so the TraceHandler can use them.
3708 * TraceManager.cs: Expose trace data, add a method for clearing
3711 2004-01-10 Jackson Harper <jackson@ximian.com>
3713 * HttpRuntime.cs: Add trace manager
3714 * TraceManager.cs: New class for handling trace configuration and
3715 storing trace data objects.
3716 * TraceContext.cs: Save trace data to the trace manager. Fix typo.
3718 2004-01-10 Jackson Harper <jackson@ximian.com>
3720 * TraceData.cs: New class for storing trace data. Data is stored
3721 here instead of the trace context so it can be saved and accessed
3722 from the trace handler.
3723 * TraceContext.cs: Save data in the TraceData object, let the
3724 trace data object handle the rendering.
3726 2004-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3728 * HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
3729 Thanks to Jan Jaros (mono-bug@jerryweb.info).
3731 * HttpRequestValidationException.cs: fix comment.
3733 2004-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3735 * HttpException.cs: default to error 500. Fixes bug #52623.
3737 2004-01-04 Jackson Harper <jackson@ximian.com>
3739 * TraceContext.cs: Store and render trace info times. Also render
3740 cookie sizes. Remove debug code.
3742 2004-01-04 Jackson Harper <jackson@ximian.com>
3744 * HttpResponse.cs: Set the cached response date header so it can
3746 * HttpResponseHeader.cs: Let values be set so we can update cached
3747 response header values.
3749 2004-01-04 Jackson Harper <jackson@ximian.com>
3751 * HttpResponse.cs: Implement RemoveOutputCacheItem.
3753 2004-01-04 Jackson Harper <jackson@ximian.com>
3755 * HttpCachePolicy.cs: Add internal method to get the vary by custom string
3756 * HttpCacheVaryByHeaders.cs: Add internal method to get the header names.
3758 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3760 * HttpRuntime.cs: implemented MachineConfigurationDirectory,
3762 2004-1-1 Alon Gazit <along@mainsoft.com>
3763 * HttpWriter.cs: add check in Write() in order to prevent
3764 NullReferenceException.
3766 2004-1-1 Alon Gazit <along@mainsoft.com>
3767 * HttpResponse.cs: implemented ExpiresAbsolute and Expires.
3769 2003-12-18 Jackson Harper <jackson@ximian.com>
3771 * TraceContext.cs: Write () methods are not warnings.
3773 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3775 * HttpBrowserCapabilities.cs: added GetClrVersions ().
3776 * HttpCachePolicy.cs: added SetAllowResponseInBrowserHistory ().
3777 * HttpContext.cs: added set_Current and RewritePath (s, s, s) for 1.1.
3778 * HttpRequest.cs: added set_ContentType, SetPathInfo and ValidateInput.
3779 * HttpRequestValidationException.cs: new class for 1.1
3780 * HttpResponse.cs: added RedirectLocation.
3781 * HttpRuntime.cs: added UnloadAppDomain.
3782 * HttpServerUtility.cs: Execute (s, t, b) is internal for < 1.2
3783 * HttpUtility.cs: copied UrlPathEncode from HttpServerUtility.
3784 * HttpWorkerRequest.cs: added [ComVisible] and made the ctor public.
3786 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3788 * HttpContext.cs: implemented IsCustomErrorEnabled and
3789 IsDebuggingEnabled. Added internal ErrorPage property.
3791 * HttpRuntime.cs: on error, check if we have a custom error page enabled
3792 to handle it and redirect.
3794 * HttpResponse.cs: added RedirectCustomError (), which actually does
3795 the redirection to the error page.
3797 2003-12-16 Jackson Harper <jackson@ximian.com>
3799 * TraceContext.cs: Render all the data, and the stylesheet.
3801 2003-12-16 Jackson Harper <jackson@ximian.com>
3803 * TraceContext.cs: Add incomplete render method.
3805 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3807 * CapabilitiesLoader.cs: loads browser detection and capabilities data
3808 from browscap.ini file by Gary J. Keith.
3810 * HttpBrowserCapabilities.cs: removed almost all TODOs.
3812 * HttpRequest.cs: fixed Browser property.
3814 2003-12-15 Jackson Harper <jackson@ximian.com>
3816 * TraceContext.cs: Initial implementation of storing data.
3817 * HttpContext.cs: Create and expose a trace object.
3819 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3821 * HttpApplication.cs: ThreadAbortException is ok on Redirect.
3822 * HttpContext.cs: added TimeoutPossible property.
3823 * HttpResponse.cs: throw ThreadAbortException if End () is called within
3824 a step in which is possible to timeout.
3828 2003-12-04 Jackson Harper <jackson@ximian.com>
3830 * HttpRequest.cs: Cleanup method.
3832 2003-12-04 Jackson Harper <jackson@ximian.com>
3834 * HttpValueCollection.cs: Allow blank value names. Posting
3835 <blank>=SomeValue is valid. And occurs if a radio button does
3836 not have its name set.
3838 2003-12-03 Jackson Harper <jackson@ximian.com>
3840 * HttpResponse.cs: Actually apply an app path modifier in
3841 ApplyAppPathModifer and add a method to set the app path modifier.
3842 * HttpRequest.cs: Add utility method for setting a request header.
3844 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3846 * HttpApplication.cs: handle FileNotFound and DirectoryNotFound
3847 exceptions when creating the handler to generate a better error page.
3849 * HttpException.cs: display the http_code if available. Changed all
3850 \n by \r\n to make the hidden stack trace readable.
3852 * StaticFileHandler.cs: don't send the real path in th eerror.
3854 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3856 * HttpContext.cs: updated GetConfig and GetAppConfig to new API.
3858 * HttpResponse.cs: separate initialization of the HttpWriter, as it
3859 tries to read configuration settings while the config. system is not
3860 available (ie, before the first request).
3862 * HttpRuntime.cs: delayed queueManager and response writer
3863 initialization until the configuration system is working.
3865 2003-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3867 * HttpRuntime.cs: added request queue handling.
3869 * QueueManager.cs: simple request queue.
3871 * TimeoutManager.cs: added some locks to prevent the enumerator used in
3872 CheckTimeouts to be out of synch.
3874 2003-11-25 Jackson Harper <jackson@ximian.com>
3876 * HttpStaticObjectsCollection.cs: Add methods for serialization
3877 and conversion to/from byte arrays.
3879 2003-11-21 Jackson Harper <jackson@ximian.com>
3881 * HttpResponse.cs: When caching data set the content length in the
3882 cached repsonse so that only that amount will be written back to
3883 the client. Add method to write a range of binary data.
3884 * HttpCacheVaryByParams.cs: Add method to retrieve param names.
3886 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3888 * HttpApplication.cs:
3890 * HttpRuntime.cs: add timeout handling.
3891 * TimeoutManager.cs: new class that takes care of aborting threads on
3894 2003-11-19 Jackson Harper <jackson@ximian.com>
3896 * HttpWriter.cs: Use a constant for the buffer size so the cache
3897 can get the buffer size. Add method to get the buffer.
3898 * HttpResponse.cs: Methods for getting data to cache, and setting
3899 vars from the cache.
3900 * HttpCachePolicy.cs: Expose a pages cache expire time.
3902 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3905 * HttpWriter.cs: some fixes to allow closing a response stream without
3908 2003-11-13 Jackson Harper <jackson@ximian.com>
3910 * HttpCachePolicy.cs: Make sure cacheability and maxage get
3911 set. Add method to set Http response header data
3912 * HttpCacheVaryByParams.cs: Add method to create a response header.
3913 * HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
3914 * HttpResponse.cs: Set cache headers.
3916 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
3918 * HttpModuleCollection.cs (GetKey): Recursion, again!
3920 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
3922 * HttpClientCertificate.cs (ValidUntil): recursion!
3924 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
3926 * SiteMapNode.cs (GetDataSourceView): Implement.
3927 * SiteMapProvider.cs: Typo fixing.
3928 * XmlSiteMapProvider.cs: We shouldnt resolve here.
3930 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
3932 * SiteMap.cs (Init): implement a hack that doesnt need the config
3933 stuff. Should do that later.
3934 * SiteMapNodeCollection (OnValidate): Fix recursion.
3935 * SiteMapProvider.cs: We dont implement some culture stuff work
3936 around it. Fix typo.
3937 * XmlSiteMapProvider.cs: Added.
3939 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
3941 * ISiteMapProvider.cs:
3944 * SiteMapNodeCollection.cs:
3945 * SiteMapProvider.cs:
3946 * SiteMapProviderCollection.cs: V2 sitemap related stuff.
3948 2003-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3950 * HttpRequest.cs: don't attempt to read more bytes than specified
3953 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3958 * HttpValueCollection.cs: encoding fixes/updates.
3960 * HttpWriter.cs: when updating the encoding, flush the existing stream.
3963 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
3965 * HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
3966 return false (which makes sense, as the custom errors *arent* enabled;
3968 * HttpResponseStream.cs: you actually can write with len = 0
3970 2003-11-03 Jackson Harper <jackson@ximian.com>
3972 * HttpResponse.cs (ContentEncoding): Throw
3973 ArgumentNullException. Patch by Yaron Shkop.
3975 2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3977 * HttpMultipartContentParser.cs : Quick fix for cygwin build.
3978 CSC complains that constant char cannot be casted as byte.
3980 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3982 * HttpApplication.cs: added AssemblyLocation property.
3984 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3986 * HttpApplicationFactory.cs: use NoParamsInvoker.
3987 * HttpRequest.cs: support request filters.
3988 * HttpRequestStream.cs: mono-stylized and added new Set method.
3990 * NoParamsInvoker.cs: proxy class to invoke user-provided methods
3991 without parameters that are invoked by EventHandlers.
3993 2003-10-13 Lluis Sanchez Gual <lluis@ximian.com>
3995 * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
3996 to invariant culture.
3998 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4001 * HttpServerUtility.cs: change the response writer in Execute. Thanks
4002 to Rich Alimi <rich@velvetsea.net> for noticing this.
4004 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4006 * HttpApplicationFactory.cs: support for wiring up events without
4009 2003-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4011 * HttpUtility.cs: small memory usage reduction.
4013 2003-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4015 * HttpApplication.cs: pass the Uri, not the file path to
4016 when looking for a handler.
4018 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4020 * HttpRequest.cs: small fix needed when reading big POST data.
4022 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
4024 * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
4025 (this will get the address from the request headers).
4027 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
4029 * HttpServerUtility.cs: In Transfer(), preserve the query string if
4032 2003-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4034 * HttpApplication.cs: ensure we do all the EndRequest steps. Don't
4035 filter the output on error.
4037 * HttpResponse.cs: modified DoFilter to allow bypassing filtering.
4039 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4041 * HttpApplication.cs: when the request is completed or an
4042 error happens, execute all the delegates attached to EndRequest, not
4043 only the last one. This makes xsp/test/authtest work again.
4045 * HttpMethodNotAllowedHandler.cs: fixed description for http
4048 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4050 * HttpRequest.cs: quick way of checking that the path is within the
4051 root for the application. Thanks to Johannes for reporting.
4053 * HttpRuntime.cs: use the status code from teh exception when it'ss a
4056 * StaticFileHandler.cs: forbidden is 403.
4058 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4060 * HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
4061 <rich@velvetsea.net>.
4063 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4065 * HttpException.cs: make the unhandled error more like the MS one.
4066 * HttpRuntime.cs: set a 500 error code on unhandled exceptions.
4068 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4070 * HttpResponse.cs: flush headers when the body length is 0.
4071 * StaticFileHandler.cs: added If-Modified-Since handling patch slightly
4072 modified from the original by Piers Haken <piersh@friskit.com>.
4074 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4076 * HttpResponse.cs: another patch from totte and me. This one prevents
4077 writing output if the client have disconnected and filters the data
4078 when there's a non-final Flush in the middle of the process.
4080 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4082 * HttpApplication.cs: fixed typos. Closes bug #44197.
4084 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4086 * HttpApplication.cs:
4087 * HttpApplicationFactory.cs: fix duplicate application OnStart events.
4089 Patch by Patrik Torstensson.
4091 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4093 * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
4094 overload. The previous one only admits static methods.
4096 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4098 * ProcessModelInfo.cs: Fixed signature
4100 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4102 * WebCategoryAttribute.cs: Implemented localization
4103 * WebSysDescriptionAttribute.cs: Implemented localization
4105 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4107 * HttpRuntime.cs: also clear the headers that may have been set upon
4108 error processing the request.
4110 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4112 * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
4115 * HttpWriter.cs: flush the filter after writing.
4117 2003-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4119 * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
4121 2003-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4123 * HttpContext.cs: Session doesn't have a setter.
4125 * HttpResponse.cs: Request is private.
4127 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4129 * HttpRequest.cs: fixed Headers property. It was getting known headers
4130 values instead of known headers names.
4132 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4134 * HttpApplication.cs: prevent nullref if an error happens before context
4136 * HttpException.cs: small fix in the stack trace sent.
4137 * HttpUtility.cs: the lock is not needed.
4139 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4141 * HttpRequest.cs: added REMOTE_PORT.
4142 * HttpValueCollection.cs: fixed bug #45490.
4144 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4146 * HttpApplication.cs:
4147 * HttpApplicationFactory.cs: fire application start and session
4150 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4152 * HttpException.cs: encode as HTML the inner exception that
4153 is appended as a comment at the end of error pages.
4155 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4157 * HttpWriter.cs: don't do anything in Flush. Fixes #42249.
4159 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4161 * HtmlizedException.cs: added more virtual methods.
4163 * HttpException.cs: some work on the output when there's a source
4166 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4168 * HtmlizedException.cs: simplified to cope with the new interface.
4170 * HttpApplicationFactory.cs: use the application file parser to get the
4173 * HttpException.cs: small changes. Needs some more work on
4176 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4178 * HttpRequest.cs: fixed Url property.
4180 2003-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4182 * HtmlizedException.cs:
4183 * HttpException.cs: display the correct line number in error messages.
4185 2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4187 * HttpCachePolicy.cs: implemented all TODOs.
4188 * HttpRequestStream.cs: make it internal.
4190 2003-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4192 * HttpContext.cs: implemented RewritePath in other way.
4193 * HttpRequest.cs: removed SetPhysicalPath and added SetForm.
4194 * HttpServerUtility.cs: implemented Transfer (string, bool).
4196 2003-03-16 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
4197 * HttpContext.cs : Implemented RewritePath
4198 * HttpRequest.cs : Added internal function SetPhysicalPath
4200 2003-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4202 * HttpServerUtility.cs: implemented Transfer ().
4204 2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4206 * HttpRuntime.cs: Cache no longer have a Dispose method.
4208 * HttpServerUtility.cs: removed MonoTODO.
4210 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4212 * HttpHelper.cs: store the values in an ArrayList to get them in correct
4215 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4217 * HttpApplicationFactory.cs: Global.asax takes precedence over
4218 global.asax if it exists.
4220 * HttpRequest.cs: use allowCrossAppMapping in MapPath.
4222 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4224 * HttpApplication.cs: CreateHttpHandler is now internal.
4226 * HttpRequest.cs: allow setting QueryStringRaw, which
4227 invalidates the data obtained from the previous value. Added internal
4230 * HttpServerUtility.cs: implemented Execute and GetLastError.
4232 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4234 * HttpServerUtility.cs: style.
4236 2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4238 * HttpApplication.cs: only execute the EndRequest step on error
4239 condition or request marked as completed. This prevent page events from
4240 being called when, for example, the url authorization module forbids
4243 2003-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4245 * HttpRequest.cs: implemented the indexer.
4247 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4249 * HtmlizedException.cs: base class for exceptions that makes it easy to
4250 generate error pages.
4252 * HttpException.cs: improved error displaying.
4254 * HttpRuntime.cs: removed debugging output.
4256 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4258 * HttpApplication.cs: display the error instead of hanging when we get
4259 any error before the last step of the request.
4261 2003-02-04 Tim Haynes <thaynes@openlinksw.com>
4263 * HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement
4266 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4268 * HttpRequest.cs: added BaseVirtualDir property and use it in MapPath.
4270 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4272 * HttpRequest.cs: implemented CurrentExecutionFilePath.
4274 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4276 * HttpApplication.cs: keep _lasterror if no context. Attach
4277 application events *after* modules initialization (if not, User is not
4278 set when the user handler is called).
4280 * HttpApplicationFactory.cs: made all methods related to
4281 AttachEvents static. I will fix OnStart/OnEnd for application and
4284 * HttpRequest.cs: don't initialize cookies twice.
4286 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4289 (ApplyAppPathModifiers): return the root directory for "".
4291 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4293 * HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.
4295 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4297 * HttpApplication.cs: added new state to handle default authentication.
4299 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4301 * HttpContext.cs: removed hack to get the User.
4303 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4305 * HttpUtility.cs: fixed bug #36038. Thanks to juancri@tagnet.org for
4306 reporting the bug and how to fix it.
4308 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4310 * HttpCookie.cs: send 'expires' in the header.
4312 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4314 * HttpValueCollection.cs: patch from Botjan Vizin
4315 <bostjan.vizin@siol.net> that implements ToString (bool).
4317 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4319 * HttpApplicationFactory.cs: add the context as parameter when building
4320 the application Type.
4322 * HttpCookie.cs: new internal constructor.
4323 * HttpCookieCollection.cs: new internal method to make a cookie expire.
4325 * HttpRequest.cs: MapPath fixes.
4326 * HttpResponse.cs: implemented ApplyAppPathModifier.
4327 * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
4329 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4331 * HttpContext.cs: hack to create a default user when there's no one.
4332 Implemented GetConfig (string).
4334 * HttpRequest.cs: fixes to MapPath (string).
4336 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4338 * HttpRuntime.cs: avoid nulls and exception when getting resource
4341 * StaticFileHandler.cs: added file name to error message.
4343 2002-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4345 * HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
4347 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4349 * HttpApplicationFactory.cs: get the events from the application class,
4350 fire Application/Session Start/End and add the others as application
4353 2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4355 * HttpApplicationFactory.cs: compile global.asax file if it exists.
4357 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4359 * HttpRequest.cs: provide a default Browser until we detect it.
4361 (End): do not close the connection here.
4362 (Flush (bool)): send the headers when, for example, Redirect () is
4365 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4367 * HttpException.cs: simple error output.
4369 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4371 * HttpApplication.cs: style.
4372 * HttpException.cs: style.
4373 * HttpRuntime.cs: only flush the response if there are no errors.
4374 Otherwise, write an error output.
4375 * HttpWriter.cs: change Unicode to UTF8.
4377 2002-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4379 * HttpApplication.cs: don't begin the request using ExecuteNextAsync
4380 (it fails to work on NetServ).
4382 * HttpWorkerRequest.cs: typo.
4384 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4386 * HttpValueCollection.cs: the value may contain trailing '=' as it is
4387 UrlEncoded. Don't split name=value based on '='.
4389 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4391 * HttpCookie.cs: made GetCookieHeader internal.
4393 * HttpRequest.cs: get cookies from request.
4395 * HttpResponse.cs: send cookies. Implemented
4396 AddFileDependencies (). Added check for _Writer == null in Flush
4397 (Patrik ;-). Clear the content if HEAD or SupressContent == true.
4398 Removed redirect hack used in old server.
4400 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4402 * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
4403 most ContentLength bytes.
4405 * HttpResponse.cs: now it sends the headers. Added
4406 X-Powered-By header :-).
4408 * HttpRuntime.cs: fixed typo.
4410 * HttpValueCollection.cs: cosmetic changes.
4412 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4414 * HttpApplication.cs: reenabled a few lines of code
4415 (ThreadPool already fixed).
4420 * HttpValueCollection.cs:
4421 * HttpWriter.cs: Use WebEncoding.Encoding.
4423 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4425 * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
4426 This fixes sending bytes and allows mixing byte with chars.
4428 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4430 * HttpResponse.cs: implemented WriteFile methods.
4431 * MimeTypes.cs: removed duplicated entries.
4433 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4435 * HttpResponse.cs: don't throw exception in a couple of
4436 methods not yet implemented.
4438 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4440 * HttpApplication.cs: fixed type and handle factories when creating
4441 IHttpHandler for a request.
4443 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4445 * HttpApplication.cs: use handlers from configuration.
4446 * HttpContext.cs: get handlers from ConfigurationSettings.
4448 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4450 * HttpMethodNotAllowedHandler.cs:
4452 * StaticFileHandler.cs: Modified file.
4454 * HttpUtility.cs: implemented all missing methods.
4457 2002-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4459 * System.Web/HttpApplication.cs: use the static file handler.
4460 * System.Web/HttpForbiddenHandler.cs: handler to forbid access.
4461 * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
4464 * System.Web/HttpUtility.cs: finished all UrlDecode methods.
4465 * System.Web/MimeTypes.cs: map from file extension to MIME type.
4466 * System.Web/StaticFileHandler.cs: serves static files
4468 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4470 * System.Web/HttpApplication.cs:
4471 * System.Web/HttpApplicationFactory.cs:
4472 * System.Web/HttpRequest.cs:
4473 * System.Web/HttpRuntime.cs: we are now able to compile pages and use
4474 HttpApplication, HttpRuntime and SimpleWorkerRequest.
4476 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4478 * HttpApplication.cs: added some missing methods.
4479 * HttpApplicationFactory.cs: get event handlers for the application.
4480 * HttpAsyncResult.cs: little fixes.
4481 * HttpRequest.cs: make Encoding work even with no worker request.
4483 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4485 * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
4486 to add HttpMapPath to the list file...
4488 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4490 * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
4491 report when i get a test case.
4493 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4495 * HttpApplicationFactory.cs:
4496 * HttpCachePolicy.cs:
4497 * HttpResponseHeader.cs:
4498 * HttpResponseStream.cs:
4499 * HttpResponseStreamProxy.cs:
4500 * HttpValueCollection.cs: misc. fixes based on class status page.
4502 * IHttpMapPath.cs: New file.
4504 * HttpRequest.cs: implemented ContentEncoding.
4505 * HttpWorkerRequest.cs: mono-stylized and implemented
4506 SendResponseFromMemory.
4508 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4510 * HttpContext.cs: reformatted.
4511 * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
4514 2002-08-05 Patrik Torstensson <ptorsten@hotmail.com>
4516 * HttpApplication.cs: Implemented a state machine to allow handling of
4517 HttpModules and HttpHandlers. Implementation of async handlers.
4519 * HttpApplicationFactory.cs: Factory for creating HttpApplication
4520 instances, including caching.
4522 * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
4523 application instance to execute requests in and implementation of
4524 request execution (still no request queue).
4526 * HttpAsyncResult.cs: New file to handle async module results.
4528 * HttpRequest.cs: Change signature of Dispose
4529 * HttpResponse.cs: new internal method allowing filtering to happen
4530 during the request flow in the state machine.
4532 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4534 * HttpApplication.cs: events were not being initialized.
4536 2002-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4538 * ProcessModelInfo.cs: fixed compilation.
4540 2002-07-25 Tim Coleman <tim@timcoleman.com>
4541 * ProcessModelInfo.cs:
4543 * HttpParseException.cs:
4544 * HttpCompileException.cs:
4545 * HttpUnhandledException.cs:
4546 Internal constructors added to these
4548 2002-07-24 Tim Coleman <tim@timcoleman.com>
4550 Fix constructor, reference to shutdownreason.
4552 2002-07-24 Tim Coleman <tim@timcoleman.com>
4553 * HttpCachePolicy.cs:
4554 Added stubbs to this class.
4555 * HttpCacheability.cs:
4556 * HttpCacheRevalidation.cs:
4557 * HttpValidationStatus.cs:
4558 * ProcessShutdownReason.cs:
4561 Reorder the enumerations (and in some cases make
4562 one-based) in order to agree with the .NET
4563 implementation, based on the class status page.
4565 Implementation of this class.
4567 2002-07-23 Tim Coleman <tim@timcoleman.com>
4568 * HttpCompileException.cs:
4569 * HttpParseException.cs:
4570 * HttpUnhandledException.cs:
4572 * HttpApplication.cs:
4573 * HttpBrowserCapabilities.cs:
4574 Added missing methods stubbs and attributes based
4575 on the class status page. Also reformatted some
4576 source for consistency.
4578 2002-07-23 Tim Coleman <tim@timcoleman.com>
4579 * HttpUtility.cs: Moved entities hashtable into main
4580 class as a static object, so we don't instantiate
4581 a new one every time. Also put the hashtable
4582 building into a lock block.
4584 2002-07-22 Tim Coleman <tim@timcoleman.com>
4585 * HttpUtility.cs: Cleanup of the code, implementation
4586 of HtmlDecode/HtmlEncode functions
4588 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4590 * HttpResponse.cs: quick&dirty hack to make redirection work. Should
4591 be out of there once we have SimpleWorkerRequest.
4593 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4595 * HttpUtility.cs: little typo, big headache.
4597 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4599 * HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
4601 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4603 * System.Web/HttpResponse.cs:
4605 Fixes based on class status page:
4607 - Add attributes (DefaultEvent, ParseChildren).
4609 - Explicitly implement some interfaces (IPostBackDataHandler
4610 and IPostBackEventHandler).
4611 - Implemented some missing methods.
4613 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4616 (Session): return null instead of throwing an exception.
4619 (HttpMethod): return RequestType if not set.
4620 (GetRawContent): return QueryString if we don't have a
4623 * HttpUtility.cs: fixed Decode and Encode.
4625 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4627 * HttpApplication.cs:
4628 * HttpContext.cs: added System.Web.SessionState namespace.
4630 * HttpSessionState.cs: removed. It is under
4631 System.Web.SessionState.
4633 2002-06-10 Duncan Mak <duncan@ximian.com>
4635 * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
4637 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4639 * HttpRequest.cs: implemented Browser property.
4641 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4643 * HttpBrowserCapabilities.cs: stubbed out.
4645 2002-05-18 Miguel de Icaza <miguel@ximian.com>
4647 * HttpRuntime.cs: Reformat file.
4649 2002-05-07 Duncan Mak <duncan@ximian.com>
4651 * HttpBrowserCapabilities.cs: Added, replacing
4652 HttpBrowserCapabilites because of typo.
4654 * HttpBrowserCapabilites.cs: Removed, replaced by above.
4656 * HttpRequest.cs (Browser): Fixed typo.
4658 2002-04-12 Patrik Torstensson <patrik.torstensson@labs2.com>
4660 * HttpApplication.cs: Minor updates
4661 * HttpApplicationState.cs: Ready.
4662 * HttpClientCertificate.cs: Signature updates
4663 * HttpValueCollection.cs: ready
4664 * HttpStaticObjectsCollection.cs: ready
4665 * HttpResponseHeader.cs: made internal only
4666 * HttpResponse.cs: Signature updates
4667 * HttpPostedFile.cs: ready
4668 * HttpCacheVaryByHeaders.cs: ready (except communication to policy)
4669 * HttpCacheVaryByParams.cs: ready (except communication to policy)
4671 System.Web is now over 60% ready..
4673 2002-04-11 Patrik Torstensson <patrik.torstensson@labs2.com>
4675 * HttpException.cs: 95% ready, only windows dependent code left
4676 * HttpFileCollection.cs: Finished.
4677 * HttpRequest.cs: Minor fixes and fixed signature problems
4678 * HttpResponse.cs: Implementation of missing methods and signature problems
4679 * HttpResponseHeader.cs: Fixed signature problems
4680 * HttpRuntime.cs: Fixed signature problems
4681 * HttpServerUtility.cs: Added support for HttpApplication
4682 * HttpSessionState.cs: Fixed signature issues
4683 * HttpUtility.cs: fixed signature issues
4684 * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
4685 * HttpWorkerRequest.cs: Fixed small signature issue
4686 * HttpWriter.cs: Fixed signature issue
4687 * HttpApplication.cs: Basic implementation
4688 * HttpApplicationState.cs: Small fixes to support major change comming up
4689 * HttpBrowserCapabilities.cs: Added Type method
4690 * HttpClientCertificate.cs: Almost ready, needs to parse certificate.
4691 * HttpContext.cs: Fixed signature issues and added last methods.
4692 * HttpCookie.cs: Full implementation
4693 * HttpCookieCollection.cs: Full implementation
4694 * TraceContext.cs: Methods implemented.
4695 * HttpPostedFile.cs: Placeholder
4696 * HttpStaticObjectsCollection.cs: Placeholder
4697 * HttpModuleCollection.cs: Ready, will be used during the major revamp.
4699 * Fixed a number of other small signature problems also (class status page)
4702 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
4704 * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
4705 * Checkin of all new files (noted in last changenote)
4707 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
4709 * HttpContext.cs: First implementation (basic support, few methods left to impl)
4710 * HttpException.cs: Partial implementation (basic support)
4711 * HttpHelper.cs: Header parse helper, used by runtime (non public)
4712 * HttpRequest.cs: Implementation (all methods there, not all fully impl)
4713 * HttpRequestStream.cs: Full implementation
4714 * HttpResponse.cs: Partial implementation(almost all methods)
4715 * HttpResponseHeader.cs: Header helper
4716 * HttpResponseStream.cs: Full implementation - Response stream support
4717 * HttpResponseStreamProxy.cs: Implementation - filter support
4718 * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
4719 * HttpServerUtility.cs: Implemented usage of HttpContext for methods
4720 and moved encoding functions to HttpUtility.
4722 * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
4723 added the Attribute encoding functions.
4725 * HttpValueCollection.cs: Implementation.
4726 * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
4727 * HttpWriter.cs: Implementation (with filter support)
4729 * HttpFileCollection: Added dummy class (placeholder)
4730 * HttpApplication.cs: Added dummy class (placeholder)
4731 * HttpApplicationState.cs: Added dummy class (placeholder)
4732 * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
4733 * HtttpCachePolicy.cs: Added dummy class (placeholder)
4734 * HttpClientCertificate.cs: Added dummy class (placeholder)
4735 * HttpSessionState.cs: Added dummy class (placeholder)
4736 * TraceContext.cs: Added dummy class (placeholder)
4739 2002/04/10 Nick Drochak <ndrochak@gol.com>
4741 * HttpServerUtility.cs: Fix build breaker.
4743 2002-03-28 Wictor Wiln <wictor@iBizkit.se>
4745 * HttpServerUtils.cs : Added some more functionality
4747 2002-03-28 Martin Baulig <martin@gnome.org>
4749 * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
4750 char to a string, use ToString() instead.
4752 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
4754 * WebCategoryAttribute.cs
4755 : Added private attribute.
4757 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
4759 * HttpRuntime.cs : Stubbed methods for
4760 FormatStringResource(...) in agreement with the various
4761 overloads available at String.Format(...)
4763 2002-01-08 Gaurav Vaish <gavish@iitk.ac.in>
4765 * TODOAttribute.cs : Added, as an internal class to the assembly
4767 2002-01-03 Nick Drochak <ndrochak@gol.com>
4769 * HttpRuntime.cs: remove uneeded exception variable from catch and
4770 initialize remaining instance members to avoid compile warnings
4772 2002-01-02 Nick Drochak <ndrochak@gol.com>
4774 * HttpRuntime.cs: fix spelling error/variable name change.
4776 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
4778 * HttpRuntime.cs : Initial implementation
4780 2001-08-29 Bob Smith <bob@thestuff.net>
4782 * HttpWorkerRequest.cs: Partial Implementation.
4784 2001-08-16 Bob Smith <bob@thestuff.net>
4786 * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
4788 2001-08-09 Bob Smith <bob@thestuff.net>
4790 * BeginEventHandler.cs: Implemented.
4791 * EndEventHandler.cs: Implemented.
4792 * HttpCacheability.cs: Implemented.
4793 * HttpCacheRevalidation.cs: Implemented.
4794 * HttpCacheValidateHandler.cs: Implemented.
4795 * HttpCookieCollection.cs: Implemented.
4796 * HttpCookie.cs: Implemented.
4797 * HttpValidationStatus.cs: Implemented.
4798 * HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
4799 * IHttpAsyncHandler.cs: Implemented.
4800 * IHttpHandler.cs: Implemented.
4801 * IHttpHandlerFactory.cs: Implemented.
4802 * IHttpModule.cs: Implemented.
4803 * ProcessShutdownReason.cs: Implemented.
4804 * ProcessStatus.cs: Implemented.
4805 * TraceMode.cs: Implemented.