1 2007-10-24 Gert Driesen <drieseng@users.sourceforge.net>
3 * StaticFileHandler.cs: Modified 404 message to match MS.
5 2007-10-24 Marek Habersack <mhabersack@novell.com>
7 * HttpUtility.cs: MS.NET does not support the ';' query parameter
8 separator. Fixes bug #335615
10 2007-10-18 Juraj Skripsky <js@hotfeet.ch>
12 * StaticSiteMapProvider.cs: Replace Hashtables by Dictionaries,
13 don't allocate them on-demand, there will never be many
14 Provider instances around.
15 AddNode(): Check for duplicate keys before adding any item to
17 RemoveNode(): Use fact that Hashtable.Remove() never throws,
18 remove item from keyToNode as well, make symmetric to AddNode().
19 MapUrl(): Use VirtualPathUtility, allow for full urls
20 (e.g. http://www.google.com).
22 2007-10-17 Marek Habersack <mhabersack@novell.com>
24 * StaticFileHandler.cs: fixed an bug with Mono running under
25 Windows operating systems which caused XSP to return source of the
26 requested page if the file name used in the request ended in any
27 number of spaces or dots. The problem lies in the way the Win32
28 subsystem treats such file names - it ignores the trailing
29 characters and allows the calling application to open a file on
30 disk even when its name does not contain the trailing characters
31 used in the open request. Such file names may be supported by the
32 underlying filesystem (e.g. NTFS) but they are not supported by
33 the I/O Win32 subsystem. The security issue is reported in
34 CVE security report CVE-2007-5473. Fixes bug #332401
36 2007-10-17 Igor Zelmanovich <igorz@mainsoft.com>
39 response status is sent after PreSendRequestHeaders invoked.
40 Redirect method set RedirectLocation property
43 2007-10-15 Marek Habersack <mhabersack@novell.com>
45 * HttpApplication.cs: do not return a non-existing bin directory
46 from BinDirectories. Patch from Atsushi Enomoto
47 <atsushi@ximian.com>, thanks! Fixes bug #332434.
49 2007-10-04 Marek Habersack <mhabersack@novell.com>
51 * HttpApplication.cs: call the Init method after loading the
52 modules and hooking up application events. Fixes bug #330416.
54 2007-10-01 Marek Habersack <mhabersack@novell.com>
56 * HttpServerUtility.cs: set a flag when transferring control to
59 * HttpContext.cs: added an internal InTransit property to carry
60 information that HttpServerUtility.Transfer has been used, over to
63 2007-09-12 Juraj Skripsky <js@hotfeet.ch>
65 * StaticSiteMapProvider.cs (AddNode): Add message text to
66 InvalidOperationException (duplicate url case).
68 2007-09-06 Marek Habersack <mhabersack@novell.com>
70 * HttpCachePolicy.cs: implemented setting the ETag and
71 Last-Modified headers from file dependencies.
73 * HttpResponse.cs: implemented file dependency methods.
75 2007-09-01 Marek Habersack <mhabersack@novell.com>
77 * HttpRuntime.cs: rewrote the app_offline.htm support. It now uses
78 filesystem watchers instead of checking for existence of the
79 file(s) at the beginning of every request. No performance penalty
82 2007-08-31 Marek Habersack <mhabersack@novell.com>
84 * HttpApplicationFactory.cs: added methods to enable/disable
87 * HttpRuntime.cs: implemented handling of app_offline.htm file in
88 the application root directory. Fixes bug #81127.
90 * HttpResponse.cs: make sure neither context or
91 context.ApplicationInstance are null in End ().
93 2007-08-27 Marek Habersack <mhabersack@novell.com>
95 * HttpCookie.cs: make sure a key is output even if it has no
96 values set. Fixes bug #81333.
98 2007-08-23 Marek Habersack <mhabersack@novell.com>
100 * HttpApplication.cs: added a static array BinDirs which contains
101 the common bin directory names we can encounter.
102 Added internal static property IsRunningOnWindows.
103 Added internal enumerable property BinDirectories to iterate over
104 the full paths of the available binary directories.
105 Added internal enumerable property BinDirectoryAssemblies to
106 iterate over .dll files in the bin directories.
107 LoadTypeFromPrivateBin renamed to LoadTypeFromBin.
108 LoadTypeFromBin uses BinDirectoryAssemblies.
110 * HttpApplicationFactory.cs: use HttpApplication.BinDirectories to
111 interate over the list of bin dirs.
113 2007-08-21 Marek Habersack <mhabersack@novell.com>
115 * HttpApplicationFactory.cs: watch for changes in all the
116 private binary directories for the current application domain.
118 * HttpApplication.cs: turn the PrivateBinPath property into an
119 internal enumerable, so that code throughout the assembly can
120 iterate over the list of private bin directories configured for
121 the application domain.
122 Added a new internal method LoadTypeFromPrivateBin, for sharing
123 with other parts of the assembly.
125 2007-08-18 Juraj Skripsky <js@hotfeet.ch>
127 * HttpRequest.cs (StripPath): Fix off-by-one error, make static.
129 2007-08-18 Marek Habersack <mhabersack@novell.com>
131 * HttpRequest.cs: IE sends the full input file path when uploading
132 a file via the upload input control. Detect the situation and
133 strip the leading path. Fixes bug #82059.
135 * HttpServerUtility.cs: set the current context's path(s) to the
136 Transfer/Execute target only to retrieve the new handler, and
137 restore them immediately afterwards. It has a two-fold effect:
138 first it avoids an extra round trip to the original page which
139 called Transfer/Execute, second it makes FilePath etc. return
140 information about the original page (that is the one which called
141 Transfer/Execute). Fixes bug #82439.
143 2007-08-14 Marek Habersack <mhabersack@novell.com>
145 * XmlSiteMapProvider.cs: do not hide this_lock.
147 2007-08-09 Marek Habersack <mhabersack@novell.com>
149 * HttpApplicationFactory.cs: unconditionally watch for changes
150 (including creation) to Global.asax, global.asax, Web.config,
151 web.config and Web.Config. This makes the application restart once
152 any of those is created. Patch from Juraj Skripsky
153 <juraj@hotfeet.ch>, thanks! Fixes bug #82380.
155 2007-08-08 Marek Habersack <mhabersack@novell.com>
157 * StaticSiteMapProvider.cs, HttpApplicationFactory.cs,
158 HttpStaticObjectsCollection.cs, SiteMapProvider.cs,
159 XmlSiteMapProvider.cs, HttpApplication.cs, CapabilitiesLoader.cs,
160 TimeoutManager.cs: do not use lock (this), replace it with lock
161 (this_object), where this_object is an instance variable. Prevents
162 deadlocks in situation when external code locks on the class
165 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
167 * HttpUtility.cs: performance refactoring, optimized UrlEncode
169 2007-08-05 Igor Zelmanovich <igorz@mainsoft.com>
171 * SiteMapNode.cs: refactoring + typo fix:
172 variable is declared in scope where is used.
174 2007-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
176 * VirtualPathUtility.cs: refactored GetDirectory, ToAbsolute, added
177 internal api to skip path normalizing
179 2007-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
181 * HttpResponseStream.jvm.cs: optimized CharBucket
183 2007-07-22 Vladimir Krasnov <vladimirk@mainsoft.com>
185 * HttpServerUtility.cs: fixed Execute, SetCurrentExePath should be
186 called after ApplicationInstance.GetHandler call in case of GetHandler
187 fails for some reason
189 2007-07-21 Marek Habersack <mhabersack@novell.com>
191 * HttpRuntime.cs: clean up the dynamic base directory on domain
194 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
196 * HttpUtility.cs: optimized HtmlEncode and HtmlAttributeEncode methods
198 2007-07-05 Miguel de Icaza <miguel@novell.com>
200 * HttpApplication.cs (AsyncRequestState.Complete): Add the
201 try/catch for the callback here to ensure that we only call
202 complete_event.Set once.
204 (PipelineDone): This is where the core of the bug fix is: do not
205 call Complete() or call done.Set() (depending on the invocation
206 case) until we are actually done cleaning up the request.
208 The problem was that we signaled that we were done, but we had not
209 completed the shut down, so another thread could have been
210 scheduled on the same HttpApplication and had its variables be
211 modified as we completed the shutdown on the first thread.
213 This fixes #81400 which was a very long standing bug.
215 (Tick): Remove the pipeline check against null, this is not
216 necessary and it will help us find problems like this one in the
219 Reverts patch r66072 which was a described as:
221 band-aid patch to help debugging hang running 2.0
224 2007-07-02 Marek Habersack <mhabersack@novell.com>
226 * CapabilitiesLoader.cs: provide default capability values for all
227 the 2.0+ capabilities which are not defined in our
228 browscap.ini. The default values have been assigned as per
229 MSDN. Fixes bug #81927
231 2007-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
233 * HttpResponse.cs: fixed AddHeadersNoCache, removed content-length
234 header for TARGET_JVM
235 * HttpWorkerRequest.cs: made this class partial, moved TARGET_JVM stuff
237 * HttpWriter.cs: fixed write methods, output_stream can write char[]
238 and string in TARGET_JVM
239 added HttpWorkerRequest.jvm.cs, HttpResponseStream.jvm.cs
241 2007-06-25 Juraj Skripsky <js@hotfeet.ch>
243 * HttpRuntime.cs (ShutdownAppDomain): Re-introduce call to
244 "Cache.InvokePrivateCallbacks".
246 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
248 * HttpUtility.cs: fixed HtmlAttributeEncode, performance improvement
250 2007-06-20 Marek Habersack <mhabersack@novell.com>
252 * HttpRuntime.cs: added new internal property, InternalCache, to
253 keep all the internal cache entries instead of mixing them with
254 the public cache ones.
255 Do not invoke Cache.InvokePrivateCallbacks - this method no longer
258 * HttpResponse.cs: private entries are now kept in
259 Context.InternalCache.
261 * HttpContext.cs: added new internal property, InternalCache,
262 which returns the HttpRuntime.InternalCache value.
264 * HttpApplication.cs: check all the loaded assemblies for the type
265 being looked up. Patch from Juraj Skripsky <juraj@hotfeet.ch>,
266 thanks! Fixes bug #81697.
268 2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>
270 * HttpUtility.cs: refactoring:
271 removed constants to another class.
273 2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>
275 * AssemblyResourceLoader.cs: refactoring:
276 make the code reusable in System.Web.Extenssions.
278 2007-05-31 Marek Habersack <mhabersack@novell.com>
280 * SiteMapProvider.cs: implemented proper logic of authorizing
281 user's access to a sitemap node, as per MSDN2 docs. Patch from
282 Dumitru Ban <dban@dako.ro>, thanks!
284 2007-05-30 Marek Habersack <mhabersack@novell.com>
286 * TraceManager.cs: Catch all the possible exceptions in the
287 constructor - the object MUST be created successfully (even if
290 * HttpRequest.cs: do not attempt to apply url mappings if the
291 configuration manager has errors.
293 * HttpRuntime.cs: handle static constructor exceptions later on,
294 during the first call to ReallyProcessRequest.
296 * QueueManager.cs: provide defaults for the parameters to be read
297 from the config file(s).
298 Catch all the possible exceptions in the constructor - the object
299 MUST be created successfully (even if there are errors).
301 2007-05-29 Marek Habersack <mhabersack@novell.com>
303 * SiteMapProvider.cs: updated the node accessibility comments.
304 If Roles not null and user is not in at least one of the
305 specified roles, return false.
306 If there Url is null or empty, return false.
308 2007-05-28 Marek Habersack <mhabersack@novell.com>
310 * HttpRequest.cs: since Path is used from within
311 WebConfigurationManager, under some conditions it may lead to
312 endless recursion if the UrlComponents is not instantiated when
315 2007-05-21 Vladimir Krasnov <vladimirk@mainsoft.com>
317 * HttpContext.cs: added ProfileInitialized boolean property
319 2007-05-16 Vladimir Krasnov <vladimirk@mainsoft.com>
321 * VirtualPathUtility.cs: Normalize method check more carefully if need
322 to normalize, performance fix
324 2007-05-16 Konstantin Triger <kostat@mainsoft.com>
326 * HttpContext.cs: correctly check for request locality.
328 2007-05-15 Marek Habersack <mhabersack@novell.com>
330 * HttpApplication.cs: refactoring - moved LoadType from
331 WebConfigurationHost here and made it internal static, in order to
332 make the code avaliable from all the places where extended type
335 2007-05-14 Marek Habersack <mhabersack@novell.com>
337 * HttpUtility.cs: when parsing query strings, skip the leading ?
338 for the first parameter name.
340 * HttpRequest.cs: added support for mapping urls, as defined in
341 the system.web/urlMappings section.
343 2007-05-14 Vladimir Krasnov <vladimirk@mainsoft.com>
345 * HttpWriter.cs: GetMaxByteCount was used in Write and WriteString
346 methods to improve performance of HttpWriter
348 2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
350 * HttpApplication.cs:
351 prevent DOS attack: remove configuration from the cache in case
352 of invalid resource not exists
354 2007-05-14 Vladimir Krasnov <vladimirk@mainsoft.com>
356 * TraceContext.cs: refactoring, cached TraceManager
358 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
360 * HttpApplication.cs:
362 handling exceptions occurred if <system.web/customError>
363 section is not valid.
365 2007-05-08 Vladimir Krasnov <vladimirk@mainsoft.com>
367 * BaseParamsCollection.cs: fixed Get(string) property, fixed collection
370 2007-05-07 Marek Habersack <mhabersack@novell.com>
372 * HttpResponseStream.cs: use BufferOutput
374 * HttpResponse.cs: support Buffer, but use BufferOutput
376 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
378 * BrowserCapabilities.cs:
381 2007-04-30 Igor Zelmanovich <igorz@mainsoft.com>
383 * HttpApplication.cs: reverted r74717.
385 2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
387 * HttpContext.jvm.cs: Response.End() must abort thread if not async.
389 2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
391 * HttpApplication.cs: doesn't cache httpHandlersSection in instance,
392 that allows to consider httpHandlers section in nested web.config.
394 2007-04-27 Marek Habersack <mhabersack@novell.com>
396 * XmlSiteMapProvider.cs: add support for siteMapFile attribute.
398 2007-04-24 Marek Habersack <mhabersack@novell.com>
400 * CapabilitiesLoader.cs: Hashtables used as property containers
401 should not be case-insensitive as we now preload the property
402 hashes with default properties, to make the code work in case
403 browscap.ini is broken or missing. Instead, the keys are
404 lower-cased and trimmed before indexing the Hashtable.
405 Added all the missing capabilities to the defaultCaps Hashtable.
406 The returned Hashtable is not reversed in GetCapabilities anymore
407 - it might make the code faster, but it also makes it mismatch
408 browsers (e.g. Firefox 2.0 is mismatched for Mozilla 1.8).
409 All of the above fixes bug #81437.
411 * HttpRequest.cs: MS.NET throws HttpException for invalid paths,
412 not ArgumentNullException.
414 * HttpException.cs: wrap GetHtmlErrorMessage internals in
415 try/catch to capture possible exceptions in HttpContext.
417 * HttpContext.cs: IsCustomErrorEnabled is used from within
418 HttpException, make sure it gets the section in a safe way and
419 resorts to the default settings.
421 * HttpResponse.cs: HeaderEncoding is used in the same context as
422 above. Take the same precautions.
424 2007-04-22 Joshua Tauberer <jit@occams.info>
426 * HttpParamsCollection.cs: Fix IndexOutOfRangeException.
428 2007-04-19 Miguel de Icaza <miguel@novell.com>
430 * BaseParamsCollection.cs (Get (string)): Call LoadInfo here to
433 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
435 * HttpException.cs: used GetBaseException() instead InnerException.
437 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
439 * HttpException.cs: shows message of InnerException in head of Page.
441 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
443 * HttpException.cs: fixed generated HTML formating.
445 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
447 * HttpContext.cs: GetGlobalResourceObject, GetLocalResourceObject
448 use case-insensitive ResourceManager
450 2007-04-15 Marek Habersack <mhabersack@novell.com>
452 * VirtualPathUtility.cs: converted to LF line endings and set the
453 svn:eol-style property to 'native'
455 2007-04-13 Marek Habersack <mhabersack@novell.com>
457 * SiteMap.cs: try to look up the current map node in providers
458 other than the current one. Patch from Mike Morano
459 <mmorano@mikeandwan.us>. Fixes bug #81366.
461 2007-04-12 Vladimir Krasnov <vladimirk@mainsoft.com>
463 * HttpRequest.cs: fixed Params property to be lazy initialzation
465 * added HttpParamsCollection.cs
467 2007-04-11 Konstantin Triger <kostat@mainsoft.com>
469 * HttpRequest.cs: IsLocal should return true for loopback addresses.
471 2007-04-10 Marek Habersack <mhabersack@novell.com>
473 * HttpCookie.cs: format the output of HttpCookie.Values.ToString()
474 in the same way MS.NET does. Fixes bug #81333. Patch from Mike
475 Morano <mmorano@mikeandwan.us>.
477 * XmlSiteMapProvider.cs: add the NotifyFilters.Size to the
478 watcher flags, so that we watch for modifications to a file when
481 * HttpApplicationFactory.cs: add the NotifyFilters.Size to the
482 watcher flags, so that we watch for modifications to a file when
484 App_Code, App_Browsers and App_GlobalResources watchers must watch
485 for events with the '*' mask so that they can notice events
486 related to subdirectory creation/deletion.
487 Watch for subdirectory events with the App_Code watcher.
489 2007-04-07 Marek Habersack <mhabersack@novell.com>
491 * HttpException.cs: show a default custom error message if custom
493 Cleaned up the errors HTML, made it XHTML-compliant. Generated
494 HTML now uses inline CSS styles.
496 2007-04-06 Marek Habersack <mhabersack@novell.com>
498 * HttpUtility.cs: added a constant that contains the default query
500 ParseQueryString supports queries with both '&' and ';' parameter
503 2007-04-05 Marek Habersack <mhabersack@novell.com>
505 * CapabilitiesLoader.cs: Make sure that the capability names
506 (keys) are stored in lowercase.
508 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
510 * XmlSiteMapProvider.cs:
511 custom attributes of siteMapNode are loaded properly.
513 2007-04-05 Marek Habersack <mhabersack@novell.com>
515 * CapabilitiesLoader.cs: add a full default set of capabilities
516 for cases when browscap.ini is broken, missing or doesn't contain
517 definition for the client's User-Agent. Makes it possible to surf
518 asp.net sites from unsupported clients.
520 2007-04-04 Juraj Skripsky <js@hotfeet.ch>
522 * HttpApplicationFactory.cs: Make sure an web application is
523 shutdown only once (and Application_End in global.asax is called
524 only once as well). This is necessary because FileSystemWatcher
525 emits multiple events when e.g. global.asax is changed.
527 2007-04-01 Vladimir Krasnov <vladimirk@mainsoft.com>
529 * HttpRequest.cs: fixed Headers property to use optimized
531 * WebROCollection.cs: used StringComparer.OrdinalIgnoreCase for
533 * ServerVariablesCollection.cs: used lazy collection fill optimization
534 * added: HeadersCollection.cs, BaseParamsCollection.cs
536 2007-04-01 Konstantin Triger <kostat@mainsoft.com>
539 GetLocalResourceObject - should not prefix resources with 'Resources.'.
541 2007-04-01 Konstantin Triger <kostat@mainsoft.com>
543 * BrowserCapabilities.cs: Default Browser (userAgent) property to 'Unknown'.
545 2007-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
547 * HttpContext.cs: timeout methods removed from TARGET_J2EE compilation
548 * HttpContext.jvm.cs: added stubs for timeout methods
550 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
552 * StaticSiteMapProvider.cs:
553 GetChildNodes does not return null but SiteMapNodeCollection.EmptyCollection.
555 2007-03-28 Konstantin Triger <kostat@mainsoft.com>
557 * BrowserCapabilities.cs:
559 2. Break recoursion in case 'browser' capability is not found.
561 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
563 * SiteMapNode.cs: fixed GetAllNodes method.
565 2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
567 * XmlSiteMapProvider.cs: fixed:
568 resolve app-relative path from config such siteMapFile="~/Web.sitemap".
570 2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
573 * XmlSiteMapProvider.cs: fixed: Localize Site-Map Data.
575 2007-03-26 Konstantin Triger <kostat@mainsoft.com>
577 * HttpRequest.cs: correctly handle null and empty virtual pathes in MapPath.
579 2007-03-25 Vladimir Krasnov <vladimirk@mainsoft.com>
581 * HttpContext.cs: AppGlobalResourcesAssembly static member stored in
582 AppDomain for TARGET_JVM
584 2007-03-24 Marek Habersack <mhabersack@novell.com>
586 * HttpRuntime.cs: use ICalls.GetMachineConfigPath instead of
587 opening the machine.config file and getting its path.
589 * CapabilitiesLoader.cs: use HttpRuntime.MachineConfigurationDirectory
590 instead of opening the machine config file and getting its path.
592 2007-03-23 Konstantin Triger <kostat@mainsoft.com>
594 * HttpApplication.cs: complete the pipeline in case of exception during
595 InitOnce() to avoid a deadlock.
597 2007-03-22 Adar Wesley <adarw@mainsoft.com>
599 * BrowserCapabilities.cs: Added implementation for all capabilities.
600 changed implementation to throw when capability is not defined in browscaps.ini.
602 * CapabilitiesLoader.cs: fixed parent resultion bug. added internal support for
603 browser and browsers capabilities.
605 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
607 * HttpContext.jvm.cs, HttpRuntime.cs: cached instance of HttpRuntime
608 in context in addition to AppDomain
610 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
612 * HttpCookie.cs, HttpCookieCollection.cs: used OrdinalIgnoreCase
613 StringComparer for cookies and values collections
615 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
617 * HttpApplication.cs: refactred handlers configuration section as
620 2007-03-20 Marek Habersack <mhabersack@novell.com>
622 * HttpRequest.cs: implement AppRelativeCurrentExecutionFilePath.
624 2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
626 * VirtualPathUtility.cs: fixed GetFileName(), GetExtension() methods.
628 2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
630 * VirtualPathUtility.cs: fixed GetDirectory() method.
632 2007-03-15 Marek Habersack <mhabersack@novell.com>
634 * XmlSiteMapProvider.cs: handle cases with no default for the
637 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
639 * HttpRequest.cs: fixed MapPath () method.
641 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
643 * VirtualPathUtility.cs: fixed ToAbsolute() method.
645 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
647 * VirtualPathUtility.cs: refactoring: class is shared with 1.x.
649 2007-03-15 Marek Habersack <mhabersack@novell.com>
651 * XmlSiteMapProvider.cs: add support for the enableLocalization
652 <siteMap> attribute and handle per-node localization resource
653 strings for explicit localization as well as the resourceKey
654 attribute to <siteMapNode> for implicit localization (closes bug
657 * SiteMapNode.cs: add support for the resource keys and foreign
659 Implement GetImplicitResourceString.
660 Add support for translation of the Title and Description
661 attributes (closes bug #81103) as well as foreign attributes.
663 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
665 * VirtualPathUtility.cs: fixed: works properly with appRelative path.
667 2007-03-13 Marek Habersack <mhabersack@novell.com>
669 * HttpApplicationFactory.cs: resources compiler no longer accepts
672 * HttpRuntime.cs: Do not compile local resources here anymore.
674 * HttpContext.cs: if App_LocalResources assembly corresponding to
675 the virtual path is not found, compile it here.
676 Look up resources in the "Resources." class path.
678 2007-03-13 Igor Zelmanovich <igorz@mainsoft.com>
680 * HttpUtility.cs: fixed HttpUtillity.HtmlAttributeEncode
681 '<' char must be encoded.
683 2007-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
685 * CapabilitiesLoader.cs: added TARGET_JVM part of static members,
686 added caching to GetCapabilities method for performance improvement
688 2007-03-12 Marek Habersack <mhabersack@novell.com>
690 * XmlSiteMapProvider.cs: support custom site map providers. Fixes
693 2007-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
695 * StaticFileHandler.cs: fixed ProcessRequest TARGET_JVM path,
696 if_modified_since fixed in WAR mode
698 2007-02-25 Vladimir Krasnov <vladimirk@mainsoft.com>
700 * HttpRequest.jvm.cs: fixed LoadWwwForm, should distinguish between
701 query string and form values
703 2007-02-21 Marek Habersack <grendello@gmail.com>
705 * HttpRuntime.cs: BinDirectory returns the bin directory
706 determined by the application host on the application startup.
708 * HttpApplicationFactory.cs: Watch the bin directory determined by
709 the application host on the application startup.
711 2007-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
713 * HttpRequest.cs: fixed MapPath, removed TARGET_J2EE block that checks
716 2007-02-19 Marek Habersack <grendello@gmail.com>
718 * HttpContext.cs: Make sure all the global resource objects are
719 sought in the Resources. namespace.
721 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
723 * HttpContext.jvm.cs, HttpRequest.jvm.cs: Adapt for tunning under test
724 harness where we don't have a SevletRequest/Response.
726 2007-02-13 Vladimir Krasnov <vladimirk@mainsoft.com>
728 * HttpApplication.cs: fixed InitOnce, httpModules section is global and
729 taken from the root web.config
731 2007-02-12 Robert Jordan <robertj@gmx.net>
733 * HttpResponseStream.cs (BlockManager.EnsureCapacity):
734 don't call Marshal.ReAllocHGlobal on NULL because, unlike
735 realloc(3) and g_realloc, it doesn't support this semantic.
736 Fixes a part of bug #77075.
738 2007-02-12 Marek Habersack <grendello@gmail.com>
740 * HttpRuntime.cs: support for preservation (.compiled) assembly
743 2007-02-11 Vladimir Krasnov <vladimirk@mainsoft.com>
745 * HttpApplication.cs: added exception pass through from processAction
748 2007-02-02 Marek Habersack <grendello@gmail.com>
750 * HttpApplicationFactory.cs: make code a bit more compact.
752 2007-01-30 Vladimir Krasnov <vladimirk@mainsoft.com>
754 * HttpResponse.cs: fixed TARGET_J2EE part of Redirect for portlet
756 2007-01-30 Adar Wesley <adarw@mainsoft.com>
758 * VirtualPathUtility.cs: fixed exceptions thrown from Combine
759 so they are compatible with MS.
761 2007-01-25 Marek Habersack <grendello@gmail.com>
763 * HttpApplication.cs: Make sure that a specific culture is used
764 when setting the current thread culture.
766 2007-01-21 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
768 * HttpServerUtility.cs: implement Execute/Transfer overloads that take
769 an IHttpHandler. Still missing the documented check for page IsCallback.
770 Also, on MS when i derive from Page for my IHttpHandler, it works fine,
771 but if I just implement IHttpHandler, an exception is thrown. This needs
772 to be researched but, by now, the IHttpHandler version works on mono
775 2007-01-20 Miguel de Icaza <miguel@novell.com>
777 * SiteMapNode.cs (GetExplicitResourceString): implement.
779 * HttpContext.cs (GetGlobalResourceObject): remove unused variable.
781 * StaticFileHandler.cs (ProcessRequest): remove unused variable.
783 * HttpApplication.cs (ProcessError): Remove unused variable.
785 * HttpServerUtility.cs (Execute): Add new overload and rename
786 parameter to match MS (as they are normative).
788 2007-01-17 Marek Habersack <grendello@gmail.com>
790 * HttpApplicationFactory.cs: Implement code and framework to
791 enable automatic application restarts on changes to folders/files
792 in a generic way. Patch from Damien Churchill
793 <damien.churchill@ukplc.net>, thanks!
794 Make sure the top-level assemblies (App_Code, resources) are not
795 referenced twice should a compilation error occur.
797 2007-01-16 Atsushi Enomoto <atsushi@ximian.com>
799 * TraceData.cs : page could be null. Fixed bug #80480.
801 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
803 * VirtualPathUtility.cs: fixed bugs in methods - GetDirectory and
804 GetExtension, according to the VirtualPathUtilityTest
806 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
808 * SiteMapProvider.cs: fixed IsAccessibleToUser, true if
809 SecurityTrimmingEnabled not enabled, true if Roles exists on node and
812 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
814 * HttpRequest.jvm.cs, HttpContext.jvm.cs: Added TARGET_J2EE specific files.
815 * HttpContext.cs, HttpResponse.cs, HttpRequest.cs, HttpCookie.cs:
816 Add J2EE Portal support for TARGET_J2EE.
818 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
820 * HttpRequest.cs: fixed IsLocal, should check all ip addresses of host
822 2007-01-05 Marek Habersack <grendello@gmail.com>
824 * HttpApplicationFactory.cs: Use the new app resources compiler.
826 * HttpRuntime.cs: Use the new app resources compiler.
828 * HttpContext.cs: Reimplement the GetGlobalResourceObject
829 methods, implement the GetLocalResourceObject methods.
831 * HttpResponse.cs: Implement the HeaderEncoding property.
833 2007-01-04 Andreia Gaita <avidigal@novell.com>
835 * HttpRuntime.cs: Add check for NET_2_0 when initializing
836 WebConfigurationManager, build failing on 1.1 profile
838 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
840 * HttpApplicationFactory.cs, HttpRuntime.cs: WebConfigurationManager
841 should be initializaed before any possible access to it
843 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
845 * HttpRequest.cs: fixed Path property, add call of
846 Uri.UnescapeDataString in net_2_0
848 2007-01-04 Vladimir Krasnov <vladimirk@mainsoft.com>
850 * HttpApplication.cs: fixed PreStart, should not set thread culture
853 2007-01-03 Vladimir Krasnov <vladimirk@mainsoft.com>
855 * HttpRequest.cs: fixed jvm version of MakeInputStream, should not
856 throw exception on zero content length
858 2007-01-03 Vladimir Krasnov <vladimirk@mainsoft.com>
860 * SiteMap.cs, SiteMapNodeCollection.cs: TARGET_JVM of static members
862 2006-12-20 Marek Habersack <grendello@gmail.com>
864 * HttpContext.cs: add internal setter for the Profile property.
866 * HttpApplicationFactory.cs: Added a shortcut version of
867 InvokeSessionEnd for use from the 2.0 SessionState code.
869 2006-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
871 * HttpRequest.cs: fixed Path property, returns unescaped url
873 2006-12-16 Marek Habersack <grendello@gmail.com>
875 * HttpRequest.cs: Fix for http exception during first visit to an
876 application when the visit path is not the app's virtual root.
878 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
880 * SiteMapProvider.cs.cs:
881 * XmlSiteMapProvider.cs: fixed: because more then one node with empty url
882 is allowed unique key is generated for each node.
884 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
886 * SiteMapProvider.cs.cs: fixed: IsAccessibleToUser resolvs relative url.
887 * StaticSiteMapProvider.cs: fixed: RemoveNode
889 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
891 * VirtualPathUtility.cs: fixed: Combine(), ToAbsolute() methods.
893 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
895 * VirtualPathUtility.cs: fixed: IsAppRelative() method.
897 2006-12-07 Vladimir Krasnov <vladimirk@mainsoft.com>
899 * BrowserCapabilities.cs: fixed MSDomVersion property
901 2006-12-05 Igor Zelmanovich <igorz@mainsoft.com>
903 * VirtualPathUtility.cs: fixed: ToAbsolute() method.
905 2006-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
907 * HttpRequest.cs: call MapPath on the HttpWorkerRequest so that if
908 FilePath is changed we get the new physical path, not the one of the
909 original request. Fixes bug #80152.
911 2006-12-03 Igor Zelmanovich <igorz@mainsoft.com>
913 * HttpWriter.cs: reverted r38835.
915 2006-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
917 * HttpWriter.cs: remove unused WriteBytes method.
919 2006-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
921 * HttpRequest.cs: physical path comes from GetFilePathTranslated to
922 avoid trimming in HttpRequest.MapPath.
924 2006-11-29 Marek Habersack <grendello@gmail.com>
926 * HttpApplication.cs: Make use of the handler stack implemented
929 * HttpCacheVaryByHeaders.cs: Optionally omit the vary:* header
930 value in the 2.0 profile.
932 * HttpServerUtility.cs: Make use of the handler stack implemented
934 Implemented the UrlToken{Encode,Decode} 2.0 methods.
936 * HttpResponse.cs: Implemented the IsRequestBeingRedirected
939 * HttpContext.cs: Implemented the CurrentHandler and PreviousHandler
940 methods, together with helper functions to handle the handler
942 GetSection(string) should be present only in the 2.0 profile.
944 * HttpCachePolicy.cs: implement the SetNoServerCaching,
945 SetNoStore, SetNoTransforms, SetValidUntilExpires and
946 SetOmitVaryStar methods.
947 Added code to set the no-store and no-transform options of the
948 Cache-Control header.
950 2006-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
952 * HttpServerUtility.cs: don't prepend extra '?' when the original url
953 already has a query string. Fixes bug #80042.
955 2006-11-24 Miguel de Icaza <miguel@novell.com>
957 * HttpApplicationFactory.cs (InitType): Also look for "Web.Config"
960 2006-11-20 Marek Habersack <grendello@gmail.com>
962 * HttpApplication.cs: Added support for automatic detection of
963 user's preferred language.
965 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
967 * HttpApplication.cs: don't leak the directory name for non-local
970 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
972 * CapabilitiesLoader.cs: made the hasstable that contains the properties
973 for the brower case insensitive. Fixes bug #79795.
975 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
977 * HttpResponse.cs: fix typo that prevented Server.Execute from restoring
978 the initial output stream used. Closes bug #79916.
980 2006-11-12 Marek Habersack <grendello@gmail.com>
982 * HttpContext.cs: Implemented the 2.0 RewritePath overloads.
984 2006-11-08 Marek Habersack <grendello@gmail.com>
986 * HttpRuntime.cs: Moved the resource compiler results handling to
987 the resource compiler itself.
989 * HttpApplicationFactory.cs: Add invocation of the App_Code
990 compiler. Moved the resource compiler results handling to the
991 resource compiler itself. Removed compilation of the local
992 resources from here - it should be done only when a request
993 determines that the App_LocalResources directory exists.
996 2006-11-07 Andrew Skiba <andrews@mainsoft.com>
998 * HttpRuntime.cs: TARGET_JVM ifdef
1000 2006-11-05 Andrew Skiba <andrews@mainsoft.com>
1002 * SiteMapProvider.cs: don't iterate through Roles when they are null.
1004 2006-11-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1006 * HttpContext.cs: implemented Profile property
1008 2006-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1010 * HttpApplication.cs: the unexpected 'tick' exceptions can be an abort
1011 exception due to timeout or end of the request.
1013 2006-10-18 Marek Habersack <grendello@gmail.com>
1015 * HttpRuntime.cs: add support for compilation of local resources
1016 at the start of request.
1018 * HttpContext.cs: implement the GetGlobalResourceObject APIs
1020 * HttpApplicationFactory.cs: include the bootstrap code for the
1021 global/local resources compiler.
1023 2006-10-09 Marek Habersack <grendello@gmail.com>
1025 * HttpApplication.cs: change the pipeline order for ASP.NET 2.0 to
1026 comply with the Microsoft documentation.
1028 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1030 * HttpApplication.cs: this makes the test run successfully. Still need
1031 to figure out why that is null.
1033 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1035 * HttpApplication.cs: band-aid patch to help debugging hang running 2.0
1038 2006-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1040 * HttpServerUtility.cs: 1.1 Execute(s) preserves the query string.
1041 Thanks to Hubert Fongarnand. Fixes bug #79506.
1043 2006-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1045 * QueueManager.cs: if disposed, always return null for next request.
1046 * HttpRuntime.cs: dispose the queue manager when shutting down the
1047 domain. This will close pending requests with a 503.
1048 * HttpApplication.cs: release the handler before marking the request
1049 as completed. If in PipelineDone context is null, use
1050 HttpContext.Current. Fixes some of those "Tick detected an unhandled
1051 exception" errors printed out.
1053 2006-09-11 Andrew Skiba <andrews@mainsoft.com>
1055 * XmlSiteMapProvider.cs: ifdef TARGET_JVM
1057 2006-09-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1059 * HttpWriter.cs: fixed WriteLine to work correctly in utf-16 encoding
1061 2006-09-08 Robert Jordan <robertj@gmx.net>
1063 * TraceData.cs: fixed NRE if `sizes' is null, which may happen
1064 if a page was unable to save its viewstate and size.
1066 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
1068 * HttpApplicationFactory.cs: ifdef the previous fix with TARGET_JVM to
1071 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1073 * HttpApplicationFactory.cs: watch web.config too. Fixes bug #78356.
1075 2006-09-05 Konstantin Triger <kostat@mainsoft.com>
1077 * SiteMapProvider.cs: consider authorization section for access decision.
1079 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
1081 * HttpUtility.cs: fixed UrlPathEncode method.
1083 2006-08-31 Boris Kirzner <borisk@mainsoft.com>
1085 * VirtualPathUtility.cs : pass parameters in correct order.
1087 2006-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1089 * HttpApplicationFactory.cs: handle the 'renamed' event too.
1091 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1093 * HttpApplication.cs: fixed BeginProcessRequest, TARGET_JVM part
1096 2006-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1098 * HttpApplication.cs: don't leak local path names when a file is not
1101 2006-06-21 Konstantin Triger <kostat@mainsoft.com>
1103 * XmlSiteMapProvider.cs: if the url is relative, make it relative to the
1106 2006-06-07 Juraj Skripsky <js@hotfeet.ch>
1108 * HttpException.cs (GetHtmlizedErrorMessage): Beautify compilation error
1109 page by showing multiple errors on separate lines.
1111 2006-06-05 Juraj Skripsky <js@hotfeet.ch>
1113 * HttpRequest.cs: simplify code around uri_builder (and rename
1114 to url_components). Move storage of query_string into
1115 uri_builder.Query and initialize it lazily using
1116 worker_request.GetQueryStringRawBytes() or GetQueryString().
1117 (QueryString): Use HttpUtility.ParseQueryString instead of
1118 duplicating its functionality.
1120 2006-06-05 Juraj Skripsky <js@hotfeet.ch>
1122 * HttpUtility.cs (ParseQueryString): move core of
1123 ParseQueryString into internal method to make it available to
1126 2006-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1128 * HttpApplication.cs: assign the context when run from a thread not in
1129 the threadpool. Patch by Andrew Skiba. Fixes bug #78583.
1131 2006-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1133 * HttpApplication.cs: context.Handler does not change for
1134 HttpServerUtility.Execute, so moved setting it into the pipeline instead
1137 2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
1139 * HttpUtility.cs: implemented ParseQueryString
1141 2006-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1143 * HttpUtility.cs: get rid of TryParseHexa.
1145 2006-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1147 * HttpApplicationFactory.cs: make sure that the application start event
1148 is run before any request is processed.
1150 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1152 * HttpServerUtility.cs: don't reset the query string in Execute() when
1153 the path does not contain it and we have one from the previous request.
1156 2006-04-20 Andrew Skiba <andrews@mainsoft.com>
1158 * SiteMapNode.cs: fix few null reference exceptions
1160 2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1163 (TransmitFile): make sure we can read the file before buffering it.
1165 2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1167 * HttpApplicationFactory.cs: don't fail on events that are not
1168 EventHandlers. Patch by Matthew Metnetsky.
1170 2006-04-11 Andrew Skiba <andrews@mainsoft.com>
1172 * HttpRequest.cs: remove code duplication (see UrlUtils.Combine)
1174 2006-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1176 * HttpUtility.cs: allow "%%" as a escape for '%' and ignore invalid
1177 hexadecimal characters. Based on a patch by Vladimir Krasnov.
1179 2006-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1181 * HttpWriter.cs: only keep the byte buffer around if its size is less
1182 than or equals to 32K.
1184 2006-04-08 Miguel de Icaza <miguel@novell.com>
1186 * HttpWriter.cs (Write): Added missing check for null string as
1187 something is now calling it like that.
1189 2006-03-27 Joshua Tauberer <tauberer@for.net>
1191 * HttpWriter.cs: Avoid creation of a byte[] on each Write()
1192 by reusing and resizing a private array.
1194 2006-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1196 * HttpRequest.cs: the field content_length can be < 0 and then we try to
1197 read when there's no data and block.
1199 2006-04-05 Andrew Skiba <andrews@mainsoft.com>
1201 * HttpUtility: UrlEncode and UrlEncodeUnicode logic unified, behaviour
1202 fixed to match dotnet and http://rfc.net/rfc1738.html
1204 2006-03-30 Konstantin Triger <kostat@mainsoft.com>
1206 * HttpApplicationFactory.cs: refactoring: remove static modifier from session_end field.
1207 Does not check the behavior as HttpApplicationFactory is a singleton.
1209 2006-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1211 * HttpUtility.cs: UrlDecode does not throw if an hexadecimal sequence
1212 fails to parse as an integer. Fixes bug #77931.
1214 2006-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1216 * HttpResponse.cs: more fixes for CacheControl: MS allows to set it to
1217 null and "" and the getter value does not completely depend on Cache.
1219 * HttpRequest.cs: fail validating the request input if there's a control
1220 character after a '<'. Fixes XSS_Null test.
1222 All System.Web tests pass again.
1223 2006-03-22 Robert Jordan <robertj@gmx.net>
1225 * HttpCachePolicy.cs: fix the Cache-control header. Fixes bug #77826.
1227 2006-03-22 Chris Toshok <toshok@ximian.com>
1229 * HttpApplication.cs: fix typo - AuthenticateRequest =>
1230 PostAuthenticateRequest.
1232 2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1235 * HttpRequest.cs: revert part of r58229.
1237 2006-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1239 * ServerVariablesCollection.cs: fixed "URL" variable, it should not
1242 2006-03-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1245 (CheckString): style and don't index the string twice per iteration.
1247 2006-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1249 * TempFileStream.cs: a FileStream that removes the file once
1251 * HttpRequest.cs: support for writing request data to on-disk
1252 files if the request is longer than the threshold specified in the
1253 configuration files. In mono this will work for 1.x and 2.0, while with
1254 MS this only works for 2.0.
1256 2006-03-18 Robert Jordan <robertj@gmx.net>
1258 * HttpCachePolicy.cs: expose the validation callbacks.
1261 2006-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1263 * HttpApplication.cs: fix upper bound when iterating through the module
1266 2006-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1268 * HttpRequest.cs: use the provided content encoding to decode the file
1269 name. Fixes bug #77714.
1271 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1273 * HttpResponse.cs: allow setting a Cache-Control header through
1274 AppendHeader. Fixes bug #77775.
1276 2006-03-15 Chris Toshok <toshok@ximian.com>
1278 * XmlSiteMapProvider.cs (RemoveProvider): oops, no override.
1280 * StaticSiteMapProvider.cs (AddNode): call MapUrl.
1281 (FindSiteMapNode): same.
1283 2006-03-15 Chris Toshok <toshok@ximian.com>
1285 * SiteMapProvider.cs (ReturnNodeIfAccessible): new function,
1286 either return the node or throw InvalidOperationException.
1287 (get_RootNode): use ReturnNodeIfAccessible.
1288 (IsAccessibleToUser): flesh this out a bit, and add comments on
1289 how the rest of the implementation should be written.
1290 (FindSiteMapNodeFromKey): implement to match MS behavior, docs be
1293 * XmlSiteMapProvider.cs: corcompare work.
1295 * StaticSiteMapProvider.cs (AddNode): Add a check to see if node
1296 == RootNode. Not sure if this is actually correct, but it's
1297 required given our implementation of XmlSiteMapProvider. without
1298 this check, we end up assigning RootNode.ParentNode == RootNode,
1299 which makes for an infinite loop when we traverse up the tree.
1301 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1303 * HttpRequest.cs: fixed MakeInputStream method under TARGET_JVM,
1304 fixed if content lenght value is less that byte received
1306 2006-03-10 Chris Toshok <toshok@ximian.com>
1308 * StaticSiteMapProvider.cs (UrlToNode): this entire file is #if
1309 NET_2_0, no need to embed another #if NET_2_0.
1311 * SiteMapProvider.cs (AddNode): throw NotImplementedException.
1312 (FindSiteMapNode): with null context, return null. don't throw
1313 ArgumentNullException.
1314 (RemoveNode): throw NotImplementedException.
1315 (IsAccessibleToUser): check arguments to make test pass. still
1316 lacking the method's actual functionality.
1317 (ResourceKey): add missing property.
1319 2006-03-10 Chris Toshok <toshok@ximian.com>
1321 * HttpRequest.cs (CheckString): add back in the check for \xff1c
1322 that i took out. oops.
1324 2006-03-10 Chris Toshok <toshok@ximian.com>
1326 * HttpRequest.cs (CheckString): implement as described in
1327 Shackow's "Professional ASP.NET 2.0 Security, Membership, and Role
1328 Management", page 310.
1330 2006-03-08 Chris Toshok <toshok@ximian.com>
1332 * SiteMap.cs: clean this up a bunch. use the SiteMapSection to
1333 initialize the provider collection, and don't add a provider.
1334 web.config handles that for us. Also, don't always return true
1337 2006-02-28 Chris Toshok <toshok@ximian.com>
1339 * HttpCookieMode.cs: corcompare work.
1341 * ProcessShutdownReason.cs: same.
1343 * SiteMapNodeCollection.cs: same.
1345 * SiteMapNode.cs: same.
1347 * SiteMapProvider.cs: same.
1349 * HttpCacheRevalidation.cs: same.
1351 * HttpCacheability.cs: same.
1353 * StaticSiteMapProvider.cs: same.
1355 * HttpValidationStatus.cs: same.
1357 2006-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1359 * DefaultHttpHandler.cs: New file.
1361 2006-02-01 Chris Toshok <toshok@ximian.com>
1363 * SiteMap.cs: use GetSection instead of GetWebApplicationSection.
1365 2006-02-01 Chris Toshok <toshok@ximian.com>
1367 * HttpApplication.cs: CONFIGURATION_2_0 => NET_2_0, and use
1368 GetSection instead of GetWebApplicationSection.
1370 * HttpApplication.jvm.cs: same.
1372 * HttpApplicationFactory.cs: same.
1374 * HttpContext.cs: same.
1376 * CapabilitiesLoader.cs: same.
1378 * QueueManager.cs: same.
1380 * HttpRuntime.cs: same.
1382 * TraceManager.cs: same.
1384 * HttpRequest.cs: same.
1386 2006-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1388 * HttpApplication.cs: keep any exception that happens during
1391 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1393 * HttpDataTransferMode.cs: Removed file.
1394 * HttpRequestPriority.cs: Removed file.
1395 * ApplicationShutdownReason.cs:
1398 * HttpApplication.cs: minor class status fixes.
1400 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1402 * VirtualPathUtility.cs: done with all the not implemented methods.
1404 2006-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1406 * HttpResponse.cs: use UInt64.Parse for content length. In AppendHeader,
1407 set cache_control through the property to update the cachebility
1408 accordingly. When using the cached headers, don't add again all the
1409 headers to that collection.
1410 * HttpCacheVaryByParams.cs: if there are no params, return null.
1411 Otherwise we get an empty 'Vary' header.
1413 2006-01-25 Chris Toshok <toshok@ximian.com>
1415 * HttpApplication.cs (Start): wrap InitOnce in a try/catch block,
1416 and if there's a configuration error, output it and end things
1419 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1421 * HttpRequest.cs: fixed the file path when RewritePath is used. Also
1422 add the PathInfo to the Url. Fixes bug #77291.
1424 2006-01-22 Chris Toshok <toshok@ximian.com>
1426 * HttpRequest.cs (ReadBoundary): remove two unused variables to
1428 (IsBoundary): remove unused method.
1430 * MimeTypes.cs (.cctor): use a 2.0 friendly form of the Hashtable
1431 ctor to silence a warning.
1433 * HttpCacheVaryByHeaders.cs (.ctor): same.
1435 * HttpCacheVaryByParams.cs (.ctor): same.
1437 * StaticSiteMapProvider.cs (UrlToNode): same.
1439 2006-01-22 Konstantin Triger <kostat@mainsoft.com>
1441 * HttpWorkerRequest.cs: ensure case insensitivity in header search.
1443 2006-01-19 Konstantin Triger <kostat@mainsoft.com>
1445 * HttpApplication.jvm.cs: merge HttpApplication.cs changes.
1447 2006-01-17 Chris Toshok <toshok@ximian.com>
1449 * CapabilitiesLoader.cs (Init): use WebConfigurationManager in the
1450 CONFIGURATION_2_0 case.
1452 * HttpRuntime.cs (MachineConfigurationDirectory): same.
1454 2006-01-16 Chris Toshok <toshok@ximian.com>
1456 * HttpApplicationFactory.cs: call WebConfigurationManager.Init in
1457 the CONFIGURATION_2_0 case.
1459 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1461 * HttpWriter.cs: made Write (char) less memory hungry. Thanks to Mike
1462 Glenn for pointing this out.
1464 2006-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1466 * HttpApplicationFactory.cs: fix condition for ContextAvailable.
1468 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1470 * HttpResponse.cs: removed TARGET_JVM block from End
1471 * GetJavaTextReader: Merged TARGET_JVM block from LoadFile
1472 to GetJavaTextReader
1474 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1476 * HttpRequest.cs: removed TARGET_JVM block from MapPath
1478 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1480 * HttpRequest.cs: little fix in MapPath(), virtualPath.Replace
1481 return value wasnt stored.
1483 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1485 * HttpResponse.cs: typo in comment.
1487 * HttpApplicationFactory.cs:
1488 * HttpApplication.cs: don't discard the application used for running the
1489 Application_Start event to allow for Redirect/Transfer to be used. Fail
1490 to get the request/response from the application object as MS does (it
1491 can still be retrieved through HttpContext.Current.blah). Fixes
1494 2006-01-09 Vladimir Krasnov <vladimirk@mainsoft.com>
1496 * CapabilitiesLoader.cs: Merged TARGET_JVM parts in LoadFile
1498 * HttpException.cs: Merged TARGET_JVM parts in GetHtmlizedErrorMessage
1500 * HttpRequest.cs: Merged TARGET_JVM parts in MapPath from /main/29
1501 * HttpResponse.cs: Merged TARGET_JVM parts in End() from /main/30
1502 * StaticFileHandler.cs: Merged TARGET_JVM parts in ProcessRequest
1505 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
1507 * BrowserCapabilities.cs, HttpBrowserCapabilities.cs,
1508 HttpResponseStream.cs: TARGET_JVM changes to let the compilation
1511 2006-01-04 Chris Toshok <toshok@ximian.com>
1513 * HttpContext.cs (IsCustomErrorEnabled): add CONFIGURATION_2_0
1514 code. use a nasty 'using' hack to map the 2.0 CustomErrorsMode to
1515 the 1.x CustomErrorMode name.
1516 (IsDebuggingEnabled): add CONFIGURATION_2_0 code.
1517 (ConfigTimeout): add CONFIGURATION_2_0 code.
1519 * HttpRequest.cs (MakeInputStream): add CONFIGURATION_2_0 code.
1521 * HttpApplication.cs (RedirectCustomError): add CONFIGURATION_2_0
1524 * SiteMap.c (Init): use
1525 WebConfigurationManager.GetWebApplicationSection.
1527 2005-12-21 Miguel de Icaza <miguel@novell.com>
1529 * HttpUtility.cs (UrlEncodeUnicode): The generated encoding of
1530 unicode values must be in %XXXX format, not %XX sometimes.
1532 2005-12-08 Robert Jordan <robertj@gmx.net>
1534 * MimeTypes.cs: added entry for "jpg".
1536 2005-12-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1538 * HttpRequest.cs: only read up to content-length when provided. Patch
1541 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1543 * HttpCookie.cs: fixed the set_Secure. Closes bug #76906.
1545 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1547 * HttpResponseStream.cs: flush the filter stream before closing.
1548 Patch by Geir Bergum that fixes bug #76753.
1550 2005-11-28 Chris Toshok <toshok@ximian.com>
1552 * HttpContext.cs (Profile): remove the #if false from around this,
1553 as we now have the ProfileBase type.
1554 (GetConfig): add CONFIGURATION_2_0 version.
1555 (GetSection): add CONFIGURATION_2_0 version.
1557 2005-11-28 Chris Toshok <toshok@ximian.com>
1559 * TraceManager.cs (..ctor): CONFIGURATION_2_0 work.
1561 * QueueManager.cs (..ctor): CONFIGURATION_2_0 work.
1563 * HttpRequest.cs (AnonymousID): add 2.0 property.
1564 (MakeInputStream): CONFIGURATION_2_0 work.
1566 * HttpApplication.cs (InitOnce): change around the
1567 CONFIGURATION_2_0 stuff since we need additional Culture foo for
1570 2005-11-27 Chris Toshok <toshok@ximian.com>
1572 * HttpApplication.cs (InitOnce): add Configuration_2.0 code.
1575 2005-11-26 Miguel de Icaza <miguel@novell.com>
1577 * HttpResponseStream.cs: Do not try to write zero bytes.
1579 2005-11-24 Miguel de Icaza <miguel@novell.com>
1581 * WebROCollection.cs: Do not add an empty "=" to the query string
1582 if the key is empty or null.
1584 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1586 * WebROCollection.cs: override ToString and generate a query string from
1587 the key/value pairs. Fixes bug #76779.
1589 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1591 * HttpServerUtility.cs: prevent possible nullref in GetLastError().
1593 2005-11-07 Jason Diamond <jason@diamond.name>
1595 * HttpRequest.cs: Don't throw exception when Content-Length doesn't
1596 match length of POSTed data. Also, allow charset parameter on
1597 Content-Type header when type is "application/x-www-form-urlencoded".
1599 2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1601 * WebROCollection.cs: add an ID for the collection. Page needs it.
1603 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1605 * HttpRequest.cs: no need to allocate the buffer when all the content
1608 2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1610 * HttpApplication.cs: ignore TAE in ProcesssError. The Error event might
1611 redirect or transfer and that causes a TAE to be thrown. Fixes
1614 2005-11-01 Chris Toshok <toshok@ximian.com>
1616 * VirtualPathUtility.cs: new (partial implementation) to get some
1617 MS provider examples compiling.
1619 2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1621 * HttpContext.cs: added a new internal overload for ClearError.
1623 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1625 * HttpRuntime.cs: invoke callbacks on private items in the cache before
1626 calling disposing the app. factory. This way we get notifications of
1627 removal for all sessions stored in the cache (InProc only).
1629 2005-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1631 * HttpResponseStream.cs: reworked buffering so that adjacents blocks are
1632 written at once. Also fix bug #76460.
1634 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1636 * HttpResponseStream.cs: when allocating a chunk larger than the
1637 default chunk size, mark all the blocks as taken. Fixes bug
1640 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1642 * HttpResponse.cs: use HaveFilter instead of Filter.
1643 * HttpResponseStream.cs: allocate chunks of the requested size
1644 when it's > 32KB. Fixes bug #76460.
1646 2005-10-14 Sebastien Pouliot <sebastien@ximian.com>
1648 * ServerVariablesCollection.cs: Added a demand for
1649 SerializationFormatter on GetObjectData method (even if it's not
1650 really required in this case as it remove warnings from gendarme.
1652 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1655 * HttpRequest.cs: buglets in error checking in Filter.
1657 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1659 * OutputFilterStream.cs: proxy class for response filters.
1660 * HttpResponse.cs: moved all the actual write operations into the
1661 response stream. Handle response filtering. When caching, get the
1662 actual length of the data, not the buffer length.
1663 * HttpApplication.cs: if there's no error, invoke the filters before
1664 updating the request cache.
1665 * HttpResponseStream.cs: new Filter property. SendChunkSize is moved
1666 here and now supports writing the final chunk. New method ApplyFilter
1667 that filters the existing buckets and replaces them with the filtered
1668 ones. Modified Write to deal with buffering and filtering.
1670 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1672 * HttpResponseStream.cs: allow for writes of more than 32K at once.
1674 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1676 * InputFilterStream.cs proxy stream for use by filters.
1677 * HttpRequest.cs: implement input filtering.
1679 2005-10-02 Eyal Alaluf <eyala@mainsoft.com>
1680 * HttpApplication.jvm.cs - Workaround for use of yield in
1681 HttpApplication.cs HttpRuntime.cs: AppDomain.Unload is not supported
1684 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1686 * HttpResponseStream.cs: remove dead code.
1688 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
1690 * HttpClientCertificate.cs: Remove last TODO on IsValid. This now
1691 works when using XSP. Now use flags to determine valid/presence.
1693 2005-09-26 Chris Toshok <toshok@ximian.com>
1695 * HttpApplicationFactory.cs (OnAppFileChanged): add null checks
1696 for bin_watcher and app_file_watcher so we don't get NRE's here.
1698 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1700 * BrowserCapabilities.cs: don't rely on the win32 attribute to be there.
1701 Just use the platform to determine whether Win32 is true or not. Fixes
1704 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1706 * HttpApplication.cs: fixed typo when setting UI culture. Closes bug
1709 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1711 * HttpRequest.cs: new SetFilePath() that does not conflict with
1712 SetCurrentExePath. Now when transfering from a page to another,
1713 CurrentExecutionFilePath and FilePath are correct.
1715 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1717 * TraceContext.cs: add new method to store size of controls.
1718 * TraceData.cs: render control size.
1719 * HttpResponse.cs: new internal method to get the number of bytes of
1721 * HttpResponseStream.cs: added Length property to the Buckets and new
1724 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1726 * TraceData.cs: we have to change the method of getting a control render
1727 size. MS does not do this or otherwise would run into the same bug
1728 (#76051) that this patch fixes. This is temporarily setting the size
1731 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1733 * HttpResponseStream.cs: implemented Send(stream) for files. Fixes bug
1736 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1738 * HttpRuntime.cs: catch errors when compiling global.asax and
1739 initializing the application. Fixes bug #76090.
1741 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1743 * BrowserCapabilities.cs: Fixed changes (in 2.0) with versions. Fixed
1744 compare with "True" (culture and case sensitivity).
1745 * HttpApplicationState.cs: Added LinkDemand for Minimal. Use the
1746 internal HttpStaticObjectsCollection ctor to avoid the UnmanagedCode
1748 * HttpContext.cs: Added LinkDemand for Minimal. Added 2.0 properties
1749 and methods to test CAS on them.
1750 * HttpRequest.cs: Added LinkDemand for Minimal. Ensure we return
1751 proper values when worker_request is null.
1752 * HttpResponse.cs: Added LinkDemand for Minimal. Ensure we return
1753 proper values when context or WorkerRequest is null. Added 2.0
1754 properties and methods to test CAS on them.
1755 * HttpRuntime.cs: Added LinkDemand for Minimal. Added PathDiscovery
1756 demands for properties returning directories. Added demand for High
1757 level on AppDomainAppId and AppDomainId properties, Low level on
1758 IsOnUNCShare, Medium level on ProcessRequest and a demand for
1759 UnmanagedCode on UnloadAppDomain method. Constructor also has a
1760 UnmanagedCode demand for 1.x.
1761 * HttpStaticObjectsCollection.cs: Added LinkDemand for Minimal. Added
1762 a UnmanagedCode demand to public ctor. Added internal ctor without the
1763 demand. Changed Serialize and Deserialize methods to public for 2.0.
1765 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1767 * HttpWorkerRequest.cs: Removed TODO for 2.0 APIs and return the
1768 default values for them.
1770 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1772 * HttpApplication.cs: : Added LinkDemand and InheritanceDemand (class)
1773 for Minimal. Changed AssemblyLocation to a property (so it doesn't
1774 require special permission, PathDiscovery) to create an instance.
1775 Protected Modules property with a Demand for High level. Added some
1776 missing HttpException for null context.
1777 * HttpServerUtility.cs: Added LinkDemand for Minimal. Added demands
1778 for UnmanagedCode on all CreateObject* methods. Added demand for
1779 Medium level on MachineName and ScriptTimeout properties. Added new
1780 overloaded Transfer method (2.0) to test CAS on it.
1781 * HttpUtility.cs: Added LinkDemand for Minimal. Added [Obsolete] to
1782 ctor (2.0). Changed some return values when 'count' is 0. Added
1783 ParseQueryString (overload) methods for 2.0 (to enabled CAS testing on
1785 * HttpWorkerRequest.cs: Added LinkDemand and InheritanceDemand (class)
1786 for Minimal. Added RequestTraceIdentifier and RootWebConfigPath (2.0)
1787 properties, GetPreloadedEntityBody, GetPreloadedEntityBodyLength,
1788 GetTotalEntityBodyLength and ReadEntityBody (2.0) methods to test CAS
1789 on them. Fixed SendResponseFromMemory to ignore IntPtr.Zero (used in
1790 tests without failures).
1791 * ServerVariablesCollection.cs: Fixed loadServerVariablesCollection
1792 when HttpWorkerRequest is null.
1793 * TraceContext.cs: Added LinkDemand for Minimal. Fixed default Mode
1794 (SortByTime). Added new (2.0) TraceFinished event to test CAS on it.
1796 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1798 * HttpBrowserCapabilities.cs: Added LinkDemand and InheritanceDemand
1799 (class) for Minimal. Note that current MCS has problem compiling
1800 security attributes on partial class (bug #75969).
1801 * HttpCachePolicy.cs: Added LinkDemand for Minimal. Added 2.0 methods
1802 (stub) to enable CAS tests on them.
1803 * HttpCacheVaryByHeaders.cs: Added LinkDemand for Minimal.
1804 * HttpCacheVaryByParams.cs: Added LinkDemand for Minimal.
1805 * HttpClientCertificate.cs: Added LinkDemand and InheritanceDemand
1806 (class) for Minimal.
1807 * HttpCookie.cs: Added LinkDemand for Minimal.
1808 * HttpCookieCollection.cs: Added LinkDemand for Minimal.
1809 * HttpFileCollection.cs: Added LinkDemand for Minimal.
1810 * HttpModuleCollection.cs: Added LinkDemand for Minimal.
1811 * HttpPostedFile.cs: Added LinkDemand for Minimal.
1812 * HttpRequestPriority.cs: Fix enum values.
1813 * HttpWriter.cs: Added LinkDemand for Minimal.
1815 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1817 * ProcessInfo.cs: Added LinkDemand and InheritanceDemand (class) for
1819 * ProcessModelInfo.cs: Added LinkDemand and InheritanceDemand (class)
1820 for Minimal. Methods GetCurrentProcessInfo and GetHistory are also
1821 protected by Demand for High level.
1823 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1825 * HttpCompileException.cs: Added new public ctors and [Serializable]
1826 to 2.0. Added new Message property and GetObjectData (protected by a
1827 demand for SerializationFormatter) for 2.0. Fixed line-ending.
1828 * HttpException.cs: Added LinkDemand and InheritanceDemand (class) for
1829 Minimal. Renamed parameters to match documentation.
1830 * HttpParseException.cs: Added LinkDemand (class) for Minimal. Added
1831 demand for SerializationFormatter on GetObjectData method. Fixed
1833 * HttpRequestValidationException.cs: Added new public ctors and
1834 [Serializable] to 2.0. Added LinkDemand for Minimal.
1835 * HttpUnhandledException.cs: Added new public ctors and [Serializable]
1836 to 2.0. Removed unused internal ctor. Added LinkDemand for Minimal.
1839 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
1841 * HttpResponseSubstitutionCallback.cs: New. 2.0 delegate.
1842 * TraceContextEventArgs.cs: New. 2.0 class.
1843 * TraceContextEventHandler.cs: New. 2.0 delegate.
1845 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1847 * HttpRequest.cs: use GetServerName instead of GetLocalAddress when
1850 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1852 * HttpRequest.cs: fix the indexer.
1854 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1856 * HttpPostedFile.cs: fixes in Seek and Position.
1858 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
1860 * HttpRequest.cs: Make sure the MemoryStream created have their
1861 contents marked as public - or else you can't call GetBuffer on them!
1863 2005-09-08 Miguel de Icaza <miguel@novell.com>
1865 * HttpRequest.cs: Patch from Juraj Skripsky <js@hotfeet.ch> that
1868 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1870 * HttpPostedFile.cs: Make this class actually work. Every time we read,
1871 we have to position the underlying stream.
1873 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1875 * HttpRequest.cs: reading multipart/form-data works again.
1877 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
1878 * HttpRequest.cs: Under TARGET_JVM the input stream must allow GetBuffer.
1880 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
1881 * HttpApplicationFactory.cs: TARGET_J2EE/JVM fix.
1883 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1885 * HttpRequest.cs: correctly detect multipart/form-data.
1887 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1889 * HttpApplicationFactory.cs: recycle after invoking session_end.
1891 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1893 * HttpRuntime.cs: remove Console.
1895 * HttpApplicationFactory.cs: don't hook Session_End, but keep
1896 the MethodInfo around for later invocation if needed. Don't call
1897 GetMethods() for every HttpApplication (or derived class) instances.
1898 Added a method, used by SessionStateModule, that will create use an
1899 application without context to invoke Session_End. Keep a pool of
1900 applications that are meant to be used by this method only.
1902 * HttpApplication.cs: add a SetSession method and do not
1903 attach all the events if the application is for Session_End only.
1905 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1907 * HttpRuntime.cs: actually unload the domain when requested. Reformatted
1908 FinishUnavailable() and removed the 'Location' header form the error.
1910 * HttpApplicationFactory.cs: set up the watcher for the bin directory.
1911 This also prevents a nullref when global.asax is changed.
1913 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1915 * HttpApplication.cs: fixed bug introduced when moving GetHandler call
1916 around. Now we get error pages again.
1918 2005-09-06 Miguel de Icaza <miguel@novell.com>
1920 * HttpApplication.cs: Catch EndRequest errors as well.
1922 2005-09-05 Miguel de Icaza <miguel@novell.com>
1924 * HttpApplication.cs: Invoke EndRequest handler before OutputPage
1925 as FormsAuthentication will issue a Redirect from the EndRequest
1928 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1930 * HttpApplication.cs: when writing an error message, catch the possible
1933 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1935 * HttpResponseStream.cs: prevent invalid cast exception if the first
1936 thing written is a file.
1938 2005-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1940 * HttpApplication.cs: fix invalid cast exception (bug #75926).
1942 2005-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1944 * HttpApplicationFactory.cs: only trigger the Application_Start event
1945 once. It was being invoked more than once when several clients were
1946 hitting the server at the same time on startup.
1948 2005-09-01 Eyal Alaluf <eyala@mainsoft.com>
1950 * HttpContext.cs HttpResponse.cs HttpWorkerRequest.cs HttpRuntime.cs
1951 HttpApplicationFactory.cs HttpApplication.cs: TARGET_J2EE/JVM fixes.
1952 Mostly workaround limited AppModel in TARGET_J2EE.
1954 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1956 * HttpResponse.cs: if the request method is HEAD, that's equivalent to
1957 SuppressContent. Added an internal TransmitFile that allows setting the
1959 * StaticFileHandler.cs: use the new internal TransmitFile and remove
1960 generation of Content-Length header, as now it's computed correctly.
1961 * HttpApplication.cs: remove debugging stuff.
1962 * HttpResponseStream.cs: suppress_content is checked in HttpResponse.
1964 2005-08-31 Miguel de Icaza <miguel@novell.com>
1966 Removed debugging info.
1968 * HttpApplication.cs: Add support for async handlers.
1970 Add extra 2.x methods.
1972 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1974 * BrowserCapabilities.cs: removed extra 'using'.
1976 * HttpApplication.cs: use just the 'modcoll' to hold the collection of
1977 modules instead of having a separate 'modules' one.
1979 2005-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1981 * HttpApplication.cs: clone the module collection so that
1982 it's not shared between HttpApplications. Call GetHandler() in the
1985 2005-08-30 Miguel de Icaza <miguel@novell.com>
1987 * HttpApplication.cs: Add the new 2.x method overloads that take a
1990 (RunHooks): Pass the extra data instead of null.
1992 * HttpCookie.cs (HttpOnly): Add 2.x cookie header.
1994 * BrowserCapabilities.cs: Move the core of the capabilities into a
1995 separate file. Use partial classes to choose what version to
1998 * HttpBrowserCapabilities.cs: Update to move the code elsewhere.
2000 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
2002 * HttpResponseStream.cs: Fix a bug introduced by last fix (thanks to
2005 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
2007 * HttpResponseStream.cs: Compilation fixes for TARGET_JVM. TARGET_JVM
2008 does not support unsafe code. I localized all unsafe code within Chunk
2009 & Block and created a managed version of Chunk.
2011 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
2012 * HttpApplicationFactory.cs: Compilation fixes for TARGET_J2EE. Under
2013 TARGET_J2EE static fields are shared by all app domains. We handle
2014 this difference by explicitly getting/setting values from the app
2015 domain. Since HttpApplicationFactory has many static fields, I
2016 refactored it to have one static instance and moved the static fields
2017 into instance fields.
2019 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
2021 * HttpRequest.cs: Disable use of IntPtrStream for TARGET_JVM
2023 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
2025 * HttpContext.cs: Compilation fixes for TARGET_J2EE/JVM
2027 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2029 * HttpResponse.cs: don't duplicate the 'charset=' and don't send a
2030 charset for unknown MIME types.
2031 * StaticFileHandler.cs: set the Content-Length header here.
2032 * HttpRequest.cs: prevent nullrefs when we have no 'charset='.
2034 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2036 * StaticFileHandler.cs: use TransmitFile instead of WriteFile. This way
2037 xsp will use sendfile().
2039 2005-08-28 Chris Toshok <toshok@ximian.com>
2041 * SiteMapNode.cs: fix IHierarchyData.GetParent.
2043 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2046 * IntPtrStream.cs: now we only have a read-only MemoryStream or an
2047 IntPtrStream. The copy is moved into HttpRequest.
2049 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
2051 * WebCategoryAttribute.cs: New. Required internal attribute.
2052 * WebSysDescriptionAttribute.cs: New. Required internal attribute.
2054 2005-08-26 Jackson Harper <jackson@ximian.com>
2056 * HttpResponseStream.cs: Use GetBuffer so the memory isn't
2059 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2061 * HttpApplication.cs: GetHandler might return null when, for example,
2062 a web service fails, but that does not mean that returning a null
2063 handler should throw another exception, as the web service code
2064 serialized the error as a faultString. So if the handler is null, just
2065 don't call ProcessRequest and keep going.
2067 2005-08-26 Jackson Harper <jackson@ximian.com>
2069 * HttpResponse.cs: Send the cached headers if this is a cached
2070 response. Save the headers, date header, and page data. Fix a typo.
2071 * HttpResponseStream.cs: Add new accesor to get a byte [] of the
2074 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2076 * HttpWorkerRequest.cs: SetEndOfSendNotification is a noop. No matter
2077 what callback you use that never gets called. In XSP I actually
2078 implement something for this method.
2079 * HttpServerUtility.cs: unused variable.
2081 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2083 * HttpInputStream.cs: new ctor that takes a byte [].
2084 * IntPtrStream.cs: make it work on a byte [] too.
2087 (ContentLength): return 0 for negative numbers or error parsing, but
2088 keep content_length negative in those cases.
2089 (MakeInputStream): when there's no content-length (or it's negative),
2090 we still read the request into a MemoryStream. Use
2091 IsEntireEntityIsPreloaded() as a fast path.
2093 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
2095 * HttpClientCertificate.cs: On 1.x the .ctor throws a
2096 ArgumentNullException (but 2.0 throws a NRE).
2098 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2100 * HttpRequest.cs: HttpMethod deserves its own field. Fix IsLocal.
2102 2005-08-25 Chris Toshok <toshok@ximian.com>
2104 * HttpApplication.cs (IsReusable): return true.
2105 (InitOnce): remove the initialization of handler_factory from
2107 (GetHandler) and move it here, so we make sure to load handlers
2108 from all needed web.config files.
2110 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2112 * HttpServerUtility.cs: use GetHandler().
2113 * HttpApplication.cs: remove obsolete method. Now Transfe/Execute work.
2115 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2117 * HttpApplication.cs: no need for the local var. here.
2119 2005-08-25 Chris Toshok <toshok@ximian.com>
2121 * HttpApplication.cs (InitOnce): move the initialization of
2122 modules above the call to HttpApplicationFactory.AttachEvents,
2123 since that method accesses HttpApplication.Modules. Fixes
2125 (IsReusable): mark TODO.
2127 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2129 * HttpResponseHeader.cs: removed obsolete class.
2130 * HttpResponse.cs: no more 'obsolete' warnings.
2132 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2134 * HttpRuntime.cs: implemeted some missing properties.
2136 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2138 * HttpResponse.cs: implemented RemoveOutputCacheItem().
2140 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2142 * HttpApplication.cs: implemented GetVaryByCustomString().
2144 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2146 * HttpRequest.cs: implemented SetHeader (allows adding a header
2147 circumventing the read-only protection of the collection) and SetForm,
2148 which just assigns a value of the 'form' collection.
2149 * HttpServerUtility.cs: NameValueCollection -> WebROCollection.
2151 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2154 * HttpRequest.cs: implemented RewritePath and supporting methods.
2156 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
2158 * HttpRequest.cs: Avoid NRE if work_request if null in the ctor.
2159 * HttpResponse.cs: Avoid NRE if work_request if null in the ctor.
2161 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2163 * HttpApplication.cs: if there's any exception thrown when getting the
2164 handler, don't add an extra error to the context, as we already have
2167 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2171 * HttpWorkerRequest.cs:
2172 * HttpApplication.cs: added mising attributes and enabled methods
2175 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2177 * WebROCollection.cs: a collection that allows setting IsReadOnly.
2178 * HttpRequest.cs: implemented MapImageCoordinates(). Use WebROCollection
2179 instead of a NameValueCollection in Form, Headers, Params, QueryString.
2181 2005-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2183 * HttpInputStream.cs: new copy ctor.
2184 * IntPtrStream.cs: getters for base_address and size.
2185 * HttpRequest.cs: implemented SaveAs(). Use a wrapper on top of
2186 InputStream so that reading POST form or files does not modify the state
2187 if InputStream. Don't use uri_builder.Query in QueryStringRaw, as it
2190 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2192 * HttpRequest.cs: implemented UserLanguages and reuse code from
2195 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2197 * HttpRequest.cs: implemented AcceptTypes.
2199 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2201 * HttpRequest.cs: implemented this[] in terms of Params. Don't add the
2202 header collection in Params.
2204 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2206 * HttpRequest.cs: fix Files property.
2207 * HttpApplication.cs: invoke the default authentication event after all
2208 the other auth. modules.
2210 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2212 * ServerVariablesCollection.cs: mark the collection as read-only except
2213 when we fill it. Add the HTTP_blah key/value pairs too.
2215 2005-08-18 Chris Toshok <toshok@ximian.com>
2217 * HttpRequest.cs (get_Params): implement.
2219 2005-08-17 Chris Toshok <toshok@ximian.com>
2221 * HttpResponse.cs: HttpResponse's Cookie's collection acts
2222 differently than HttpRequests in that it never returns null from
2223 the "this [string]" accessor.
2225 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2227 * HttpRequest.cs: check length 0 case when reading a POST.
2229 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2231 * HttpContext.cs: added security attributes for User and
2232 SkipAuthorization properties.
2233 * HttpApplicationFactory.cs: AttachEvents is now called form the
2234 application .ctor. Recycle instead of dispose.
2235 * HttpApplication.cs: attach events to the newly created application.
2237 2005-08-15 Jackson Harper <jackson@ximian.com>
2239 * ApplicationShutdownReason.cs: make build
2241 2005-08-15 Miguel de Icaza <miguel@novell.com>
2243 * HttpApplication.cs: Update comments
2245 * HttpPostedFile.cs: Use a substream to read from the uploaded
2248 * HttpRequest.cs: use new code to read the uploaded files.
2250 2005-08-12 Miguel de Icaza <miguel@novell.com>
2252 2.x API fixage and small additions:
2254 * HttpResponse.cs: Make constructor internal.
2256 * HttpRequest.cs (IsLocal): Expose if NET_2.x
2258 * HttpContext.cs: Remove internal routine.
2260 * HttpApplication.cs: Add 2.x events.
2262 * HttpRequest.cs: Another iFolder issue: I was not setting up the
2265 Fixes to get iFolder to work:
2267 * HttpApplicationFactory.cs: Set the context when we are initting
2270 * HttpApplication.cs (SetContext): helper routine.
2272 * HttpResponse.cs: Implement the various cache operations:n
2273 Expires, ExpiresAbsolute, CacheControl.
2275 Actually produce the Cache-Control header, the "Cache" property
2276 takes precedence over the compatibility settings (Expires,
2277 ExpiresAbsolutely and CacheControl).
2279 * HttpCachePolicy.cs: Fix style.
2281 Fix the generation of the headers, use lower-case values, do not
2282 add the max-value if the value is zero.
2284 Allow for all possible values in SetCacheability.
2286 * HttpRuntime.cs (ClrInstallDirectory): Implement.
2288 * HttpResponseStream.cs: Remove debugging stuff.
2290 2005-08-11 Miguel de Icaza <miguel@novell.com>
2292 Big chunked handling rewrite, and integration of Ben's unmanaged
2295 * HttpWriter.cs: Delegate chunked encoding writing to the
2298 * HttpResponse.cs: Rework the chunked encoding system, centralize
2301 * HttpResponseStream.cs: Deploy Ben's bucket-base unmanaged
2304 Changed the way that we handle chunked encoding, centralize it
2307 Remove a lot of manual handling of buffering turned off, and
2308 instead delegate it all to Flush, fixes several issues with the
2311 * HttpWorkerRequest.cs (SendResponseFromMemory (IntPtr, int)):
2312 Provide a default implementation since currently XSP does not have
2313 this method implemented.
2315 2005-08-11 Sebastien Pouliot <sebastien@ximian.com>
2317 * HttpClientCertificate.cs: Culture insensitive int parsing. Fixed
2320 2005-08-10 Miguel de Icaza <miguel@novell.com>
2322 * ServerVariablesCollection.cs: For Ben. Implement the header
2323 fetching here, do not implement it in HttpRequest.cs.
2325 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
2327 * HttpClientCertificate.cs: Changed IsPresent logic so that new unit
2328 tests will work as expected.
2330 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
2332 * HttpClientCertificate.cs: Implemented, except for validation. Note
2333 that the HttpWorkerRequest derived classes must be updated to supply
2334 the required informations.
2335 * HttpRequest.cs: Create an HttpClientCertificate on first call to
2338 2005-08-09 Miguel de Icaza <miguel@novell.com>
2340 * HttpRuntime.cs (AspInstallDirectory): Implement.
2342 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
2344 * HttpClientCertificate.cs: New. Stub. It won't be fun to test.
2346 2005-08-04 Ben Maurer <bmaurer@ximian.com>
2348 * HttpContext.cs: Kill a NIE.
2350 2005-08-04 Miguel de Icaza <miguel@novell.com>
2352 * HttpApplicationFactory.cs: Change "Start" event like the "End"
2353 event, and only do this once, when we init the type.
2355 Fire the "Application_Start" event after we create the type.
2357 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2359 * HttpApplication.cs: catch a ThreadAbort (coming from Response.End)
2362 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2364 * HttpResponse.cs: setting the Status property resets the
2365 StatusDescription (see the tests) and the default value for the
2366 description is the one provided by GetStatusDescription() in
2369 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2371 * HttpRequest.cs: s/boundry/boundary/ and fix typo in array creation.
2373 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2375 * HttpApplication.cs: add call to EndOfRequest when everything is said
2378 2005-08-02 Miguel de Icaza <miguel@novell.com>
2380 * HttpResponse.cs: Stub for TransmitFile.
2382 * HttpRequest.cs (IsAuthenticated): Implement.
2384 2005-08-01 Miguel de Icaza <miguel@novell.com>
2386 * HttpRequest.cs: Cope with implementations of HttpWorkerRequest
2387 (unpatched xsp) that do not send back the PreloadedEntityBody.
2389 * HttpApplication.cs: keep track of the factory.
2390 (Dispose): Only dispose once, clean up other variables, release
2391 the ManualResetEvent.
2392 Release the handler to the factory.
2394 * HttpApplicationFactory.cs: Implement a stack to reuse the
2397 * HttpRequest.cs: On uploads, if the ContentLenght is zero, throw
2400 * HttpRuntime.cs: Recycle the application after using it.
2402 * HttpPostedFile.cs: Implement SaveAs.
2404 * HttpContext.cs: Return the "Server" property.
2406 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2408 * HttpServerUtility.cs: implemented missing bits.
2410 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2412 * HttpRequest.cs: query string was getting a '?' as the start of the
2413 first variable name. This makes the asmx help page work again.
2415 2005-08-01 Miguel de Icaza <miguel@novell.com>
2417 * HttpRequest.cs (Cookies, Forms): Add validation.
2418 (Forms): Add application/x-www-form-urlencoded parsing and
2419 multipart/form-data parsing.
2421 (HttpMultiPart): Implement new class to load multi-part data from
2422 a stream since there is no longer a byte [] that holds the data
2423 (currently we have an unmanaged IntPtr buffer wrapped as a
2424 stream). Also the 2.x framework will add support for large
2425 uploads which are sent directly to disk, which will require the
2426 FileStream interface.
2428 (Path, PathInfo): Fill a couple more methods to avoid crashes.
2430 * HttpContext.cs: Fill another one to get web services summary
2431 page painting. The page does not work though.
2433 * HttpApplication.cs: Rework the pipeline to not depend on
2434 `finally', as `finally' would not be invoked if we choose not to
2435 call the pipeline again (which happens if the `stop' variable is
2438 Instead force the pipeline to go to the shutdown, and yield from
2439 there after all the release-state callbacks have been invoked.
2441 2005-07-31 Miguel de Icaza <miguel@novell.com>
2443 * HttpApplication.cs: Remove debugging messages since the compiler
2446 You must use at least mcs from revision 47879 for the application
2449 2005-07-30 Miguel de Icaza <miguel@novell.com>
2451 * HttpContext.cs: Error handling methods.
2453 * HttpResponse.cs: Trigger the last event.
2455 * HttpRuntime.cs: Add queueing of the next request.
2457 * HttpApplication.cs: Deploy the new yield-based application
2458 pipeline, add error handling to the pipeline.
2460 * HttpApplication.cs (AsyncRequestState): Just use the done event
2463 2005-07-29 Miguel de Icaza <miguel@novell.com>
2465 * HttpResponseStream.cs, HttpRequest.cs: Fix bugs found by nunit.
2467 * HttpApplication.cs: Fix a race condition.
2469 * HttpResponseStream.cs: Fix bug, send the size of the buffer that
2470 we have so far instead of the internal size of the buffer. This
2471 will need work later to ensure we enforce the Content-Length
2472 maximum output size if set.
2474 * ServerVariablesCollection.cs: This class now inherits from
2475 NameValueCollection, we should probably review what the middle
2476 class did, there are no dependencies on it.
2478 I need to write tests to investigate if something is missing or
2479 has changed in this implementation.
2481 2005-07-27 Miguel de Icaza <miguel@novell.com>
2483 * HttpRequest.cs: No happy replies here, send a 411.
2485 2005-07-27 Chris Toshok <toshok@ximian.com>
2487 * HttpResponseHeader.cs: remove spew.
2489 2005-07-27 Chris Toshok <toshok@ximian.com>
2491 * HttpResponseHeader.cs (HttpResponseHandler..ctor): use
2492 HttpWorkerRequest.GetKnownResponseHeaderName instead of
2493 GetKnownRequestHeaderName. Fixes Response.Redirect until miguel's
2494 new HttpReponse is online.
2496 2005-07-26 Miguel de Icaza <miguel@novell.com>
2498 * HttpResponse.cs: use_chunked is now a byte-array, if not null,
2499 we use it to hold the size of the chunked so we do not have to
2500 allocate many of these.
2501 (SendSize): Helper routine to send the chunked headers.
2502 (BinaryWrite): First user of the chunked writer.
2504 * HttpApplication.cs: Do not crash if they request a Server
2505 instance, but throw a NotImplementedException.
2507 * HttpRequest.cs: fix a few problems exposed by the regression
2510 * HttpRequest.cs (Cookies): use Chris' new constructor to get the
2513 : The big Uri rework: instead of using QueryString
2514 as the population mechanism, populate an UriBuilder from the
2515 various HttpWorkerRequest methods.
2517 * HttpWorkerRequest.cs (GetProtocol): Implement in terms of
2520 * HttpResponse.cs: Pointed by Ben, Write (null) is a nop instead
2523 * HttpContext.cs: Add a couple of properties to help the 2.x
2526 * HttpResponse.cs: Make ContentLength a long, add back support for
2527 session's app_path_mod.
2528 (ApplyAppPathmodifier): put back.
2529 (End): Pass a flag to abort so we can tell the exceptions appart
2531 (WriteHeaders): Send the HTTP status.
2532 (Redirect): Implement.
2533 (Write): Use the Output property to load writer when needed.
2535 * HttpRequest.cs (ctor): Temporary use of InitFromWR, will fix
2537 (MakeInputStream): check content-length size, use routines to load
2538 the preloaded data, handle incomplete transfers.
2539 (Query): Do not insert null keys into the collection.
2541 (UrlReferer): implement.
2543 * HttpApplication.cs (RunHooks): Catch Thread.Abort, and call
2544 Thread.ResetAbort after each step.
2546 Ensure that ReleaseState is called if we ever succeed in acquiring
2547 the state even if we have stopped the request pipeline.
2549 Report file not found, directory not found.
2551 2005-07-25 Miguel de Icaza <miguel@novell.com>
2553 * HttpCookieCollection.cs: Add expiration of the cookie.
2555 * HttpRequest.cs: Add check for ContentLength, use
2556 GetPreloadedEntityBody, correct number of bytes uploaded.
2558 2005-07-21 Miguel de Icaza <miguel@novell.com>
2560 * HttpResponseHeader.cs: Our implementation of HttpResponse only
2561 uses the text headers, does not use any constants as XSP would go
2562 through a slower code path anyways.
2564 2005-07-21 Chris Toshok <toshok@ximian.com>
2566 * HttpBrowserCapabilities.cs: enable support for the W3CDomVersion
2567 and EcmaScriptVersion properties.
2569 2005-07-21 Chris Toshok <toshok@ximian.com>
2571 * HttpResponseHeader.cs: hi, i'm stupid and missed String.Replace.
2573 2005-07-21 Chris Toshok <toshok@ximian.com>
2575 * HttpResponseHeader.cs: url encode just \r and \n if they're
2576 present in the value.
2578 2005-07-20 Chris Toshok <toshok@ximian.com>
2580 * HttpPostedFile.cs: add missing ContentLength property.
2582 2005-07-20 Chris Toshok <toshok@ximian.com>
2584 * HttpCookieCollection.cs: add a new ctor that takes a string (the
2585 contents of the Cookies: header).
2587 2005-07-20 Chris Toshok <toshok@ximian.com>
2589 * HttpCookieCollection.cs: add another ctor (internal, but not
2590 obsolete, so we aren't passing a stupid HttpResponse in in order
2591 to change the behavior of the collection.)
2593 * HttpCookie.cs: init this.values in the internal ctor.
2595 2005-07-20 Chris Toshok <toshok@ximian.com>
2597 * HttpCookieCollection.cs: use "auto-fill mode" when we're dealing
2598 with an HttpResponse's cookie collection. That is, create the
2599 cookie if the consumer looks it up.
2601 2005-07-20 Miguel de Icaza <miguel@novell.com>
2603 * HttpApplication.cs: Ongoing work on pipeline, I will need to
2606 2005-07-19 Miguel de Icaza <miguel@novell.com>
2608 * HttpContext.cs (GetService): Implement. Return all of the
2609 properties that we have access to. Make HttpWorkerRequest the
2610 first match as this is the only likely reason people need to use
2613 * IntPtrStream.cs: Bring from corlib.
2615 * MultiPartContentParser.cs: use a MemoryStream as HttpInputStream
2616 will now be using IntPtrStream.
2618 * HttpRequest.cs (MakeInputStream): move code that loads the
2620 (CloseInputStream): Helper method that we will call later to
2621 ensure that we dispose properly the malloced() block.
2622 (BinaryRead): Implemented.
2624 * HttpInputStream.cs: Rewrite to be a descendant of
2627 2005-07-18 Miguel de Icaza <miguel@novell.com>
2629 * HttpApplication.cs (Modules): Add modules support and
2632 2005-07-18 Chris Toshok <toshok@ximian.com>
2634 * HttpResponseHeader.cs: initial implementation.
2636 2005-07-18 Chris Toshok <toshok@ximian.com>
2638 * HttpModuleCollection.cs (HttpModuleCollection.GetKey): add
2641 * HttpFileCollection.cs: initial implementation.
2643 2005-07-18 Chris Toshok <toshok@ximian.com>
2645 * HttpModuleCollection.cs (HttpModuleCollection.CopyTo): implement
2648 2005-07-18 Chris Toshok <toshok@ximian.com>
2650 * HttpModuleCollection.cs: initial implementation.
2652 2005-07-18 Chris Toshok <toshok@ximian.com>
2654 * HttpCacheVaryByHeaders.cs: only add the header if it's not
2655 already in the hash.
2657 * HttpCacheVaryByParams.cs: only add the param if it's not already
2660 2005-07-18 Chris Toshok <toshok@ximian.com>
2662 * HttpCookie.cs (HttpCookie+CookieNVC.Set): new override to fix an
2665 2005-07-17 Miguel de Icaza <miguel@novell.com>
2667 * HttpRequest.cs (Headers, InputStream): implemented two more
2670 * HttpInputStream.cs: All we need is a MemoryStream with writable
2673 * HttpPostedFile.cs: Use a Stream.
2675 2005-07-16 Chris Toshok <toshok@ximian.com>
2677 * HttpCacheVaryByHeaders.cs: make sure we set vary_by_unspecified
2678 = false in the custom setter.
2680 2005-07-16 Chris Toshok <toshok@ximian.com>
2682 * HttpCacheVaryByParams.cs: initial implementation.
2684 2005-07-16 Chris Toshok <toshok@ximian.com>
2686 * HttpCacheVaryByHeaders.cs: initial implementation.
2688 2005-07-15 Chris Toshok <toshok@ximian.com>
2690 * HttpCookie.cs: one more time.
2692 2005-07-15 Chris Toshok <toshok@ximian.com>
2694 * HttpCookie.cs (HttpCookie.GetCookieHeader): use
2697 2005-07-15 Chris Toshok <toshok@ximian.com>
2699 * HttpCookie.cs (HttpCookie.GetCookieHeader): implement to fix
2702 2005-07-15 Chris Toshok <toshok@ximian.com>
2704 * HttpCookieCollection.cs: initial implementation (with a couple
2705 of labeled inefficiencies.)
2707 2005-07-15 Chris Toshok <toshok@ximian.com>
2709 * HttpCookie.cs (HttpCookie.get_HasKeys): use values.HasKeys()
2710 instead of trying to be smart about it ourselves.
2712 2005-07-15 Chris Toshok <toshok@ximian.com>
2714 * HttpCookie.cs: initial implementation. we fail one unit test,
2715 but it might be due to a bug in NameValueCollection.
2717 2005-07-15 Miguel de Icaza <miguel@novell.com>
2721 2005-07-14 Miguel de Icaza <miguel@novell.com>
2723 * HttpRuntime.cs: Return a few of the values from the AppDomain
2726 Put the application shutdown process.
2728 * HttpApplicationFactory.cs (AddEvent): Fixed bug when more than
2731 (FireEvent): Do not ignore errors.
2733 * HttpContext.cs (GetAppConfig, GetConfig): First success, use
2734 ConfigurationSettings.GetConfig to get the value that QueueManager
2737 2005-07-14 Dick Porter <dick@ximian.com>
2739 * HttpPostedFile.cs: New basic implementation; needs someone to
2740 figure out what a HttpRequestStream does
2742 2005-07-13 Miguel de Icaza <miguel@novell.com>
2744 * HttpRequest.cs: More work on this file
2746 * HttpRequest.cs, HttpApplication.cs, HttpContext.cs,
2747 HttpRuntime.cs: New from scratch implementation.
2749 2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
2751 * SiteMap.cs: Read provider info from the configuration files.
2753 2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2755 * HttpResponseHeader.cs: URL encode \r and \n in header values. Fixes
2758 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2760 * HttpUtility.cs: fix another stupid buglet in htmldecode.
2762 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2766 * HttpRequest.cs: use StrUtils (invariant culture).
2768 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2770 * HttpRequest.cs: use StartsWith when looking for 'multipart/form-data'.
2771 File uploading was broken since a few commits ago.
2773 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2775 * HttpResponse.cs: ensure that the last chunk ('0\r\n\r\n') is sent
2776 even if response.Close is called before a final flush. MS/IIS fails to
2779 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2781 * HttpRequest.cs: don't print anything for unknown content types in
2782 ParseFormData. Use lowercase compare.
2784 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2786 * HttpResponse.cs: invariant love.
2788 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2790 * HttpResponse.cs: avoid 1 string concat.
2791 * HttpRequest.cs: fix BinaryRead. It was totally wrong.
2793 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2795 * HttpUtility.cs: don't append an extra 0 when no digits seen. Fixes
2798 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2800 * HttpUtility.cs: the lower limit for using &#xx; encoding is 160, not
2801 128. Reset number back to 0 after use. Fixes bug #75365.
2803 2005-06-19 Svetlana Zholkovsky <svetlanaz-at-mainsoft.com>
2804 * In following classes added TARGET_J2EE or/and TARGET_JVM
2809 - CapabilitiesLoader.cs
2810 - HttpApplication.cs
2811 - HttpApplicationFactory.cs
2815 * Added Mainsoft's specific files :
2816 - GhHttpAsyncResult.jvm.cs
2818 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2820 * HttpRequest.cs: avoid one intermediate buffer when reading the request
2821 body and fail for over limit content length when the content type is
2822 not handled as form or multipart data.
2824 2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2826 * HttpResponse.cs: fix the check in Close() so that CloseConnection is
2827 called even if there has been no final Flush. Fixes bug #75176.
2829 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2831 * HttpParseException.cs:
2833 * HttpApplication.cs: updates for 1.1 service pack.
2835 2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2837 * HttpUtility.cs: fix InvalidCastException.
2839 2005-06-05 Korn__l P__l <kornelpal@hotmail.com>
2841 * HttpWriter.cs: Fixed: _OutputFilter.Close () was called twice.
2843 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2845 * HttpUtility.cs: modified HtmlDecode so that it does not need to call
2846 Int32.Parse and handles improper &# sequences. Fixes bug #74907.
2848 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
2850 * SiteMapNodeCollection.cs: Implemented missing methods. The collection
2851 does not inherit from CollectionBase any more.
2852 * SiteMapNode.cs: Track api changes.
2853 * SiteMapProvider.cs: Moved several methods to the new
2854 StaticSiteMapProvider class. Other fixes.
2855 * XmlSiteMapProvider.cs: Watch changes in the xml files. Other fixes.
2856 * SiteMapProviderCollection.cs: Minor fixes.
2857 * SiteMap.cs: Added missing event. Avoid double check lock.
2858 * StaticSiteMapProvider.cs: New class that implements some of the
2859 funtionality of SiteMapProvider.
2861 2005-05-25 Ben Maurer <bmaurer@ximian.com>
2863 * MimeTypes.cs: Remove extra spaces, they were typos. Fixes 75049.
2865 2005-05-13 Atsushi Enomoto <atsishi@ximian.com>
2867 * HttpUtility.cs : UrlDecodeToBytes() incorrectly decoded escaped
2868 characters. Patch by Kazuki Oikawa.
2870 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2872 * HttpRuntime.cs: PlatformID.Unix.
2874 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2876 * HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
2877 Clear the _Headers array instead of creating a new ArrayList in
2880 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2882 * HttpResponse.cs: we had 2 variables to track client connection status.
2883 Use only one. Increase the buffer size to 28KB when writing from a file.
2885 * StaticFileHandler.cs: set the Content-Type before writing the file.
2886 This allows flushing before all the content is written.
2888 * HttpApplication.cs: use the variable instead of the property when
2889 setting the Principal for the current process.
2891 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2893 * ReusableMemoryStream.cs:
2894 * HttpWriter.cs: keep a pool of buffers to avoid allocations.
2896 2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2898 * HttpResponse.cs: no need to save/restore the thread culture when
2899 getting the Date header. According to Ben's profiling, this is a big
2900 deal in performance.
2902 * HttpRuntime.cs: ignore exceptions that might be thrown when unloading
2905 2005-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2907 * HttpApplicationFactory.cs: ignore any exception thrown when invoking
2908 an application event.
2910 2005-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2912 * HttpBrowserCapabilities.cs: fix Win32 property.
2914 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2916 * HttpResponse.cs: only add the charset when explicitly set or for
2917 well-known content types.
2919 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2921 * HttpCachePolicy.cs:
2922 * HttpAsyncResult.cs:
2923 * HttpClientCertificate.cs:
2926 * HttpCacheVaryByHeaders.cs:
2927 * HttpBrowserCapabilities.cs:
2929 * HttpCacheVaryByParams.cs: no more warnings.
2931 * QueueManager.cs: check for local connections with minLocalFreeThreads.
2933 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2935 * ServerVariablesCollection.cs: shuffled variables, added missing ones
2936 and call a method in HttpRequest to set the HTTP_ variables.
2938 * HttpRequest.cs: new method to add HTTP_ variables to a collection.
2940 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2942 * HttpRequest.cs: GetAllHeaders was returning the value twice instead
2943 of 'name: value'. When HTTP_ is requested on the output, don't include
2946 2005-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2948 * HttpCookieCollection.cs: when adding more than one cookie with the
2949 same name, the last one is the winner.
2951 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2953 * HttpRequest.cs: correctly store the value cookies in Params. Fixes
2956 2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2958 * HttpRequest.cs: Path and FilePath also change when RewritePath is
2959 called. Fixes bug #73055.
2961 2005-02-23 Sebastien Pouliot <sebastien@ximian.com>
2963 * HttpRequest.cs: Make sure that any access after a ValidateInput
2964 throws an exception if the data isn't safe.
2966 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2968 * CapabilitiesLoader.cs: fix the path, as machine.config is now in a
2969 x.x/ directory below $PREFIX/etc/mono.
2971 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2973 * HttpRequest.cs: fail on unicode full-width '<' and '>' too. Fixes
2974 a security report (http://secunia.com/advisories/14325) that wan't
2975 reported to us before public disclosure.
2977 2005-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2979 * HttpResponse.cs: send the calculated content length even when it's 0.
2982 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
2984 * HttpContext.cs: Added internal property to keep a reference to
2985 the last accessed page. Page uses this to implement PreviousPage.
2987 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
2989 * ProcessModelInfo.cs: Fixed warning.
2991 2005-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2993 * TraceContext.cs: writing a message without any other argument is not
2994 a warniing. Fixes bug #72017.
2996 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2998 * HttpApplication.cs: if there are no more handlers, finish the
2999 request and ensure we call Complete on it. Now FreeTextBox 3.0 works.
3001 2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3003 * HttpRequest.cs: honor the maxRequestSize limit from machine.config.
3005 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3007 * HttpApplication.cs: reread application CultureInfo as web.config
3008 might have changed. Fixes bug #62539.
3010 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3012 * HttpResponse.cs: fixed ApplyAppPathModifier to insert the session ID.
3014 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3016 * HttpApplicationFactory.cs: monitor changes in global.asax and bin
3017 directory and shutdown the application when that happens. Fixes bug
3020 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3022 * ReusableMemoryStream.cs: copied from System.IO.MemoryStream and
3023 slightly modified to allow expanding the buffer for cases on which the
3024 regular MemoryStream don't allow it.
3026 * HttpWriter.cs: use the new ReusableMemoryStream and fix bug #59841.
3027 Otherwise we would have to allocate a new MemoryStream...
3029 2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3031 * HttpApplication.cs: Create() is now GetInstance().
3033 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
3035 * SiteMapNodeCollection.cs: Added missing properties.
3036 * HttpParseException.cs: Added 2.0 methods and properties.
3037 * SiteMapNode.cs: Added missing methods and properties.
3038 * SiteMapProvider.cs, XmlSiteMapProvider.cs,
3039 SiteMapProviderCollection.cs: IProvider does not exist any
3040 more, it is now ProviderBase.
3041 * ISiteMapProvider.cs: Deleted.
3042 * ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
3044 * SiteMap.cs: Minor fixes.
3046 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
3048 * SiteMapProviderCollection.cs: Fixed warning.
3049 * HttpApplication.cs: Added new 2.0 events.
3051 2004-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3053 * HttpResponse.cs: added internl SetHeadersSent.
3054 * HttpRuntime.cs: don't throw the 'headers already sent' exception
3055 if we're sending a runtime error.
3057 2004-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3059 * HttpApplication.cs: undo the TimeoutManager.(Add|Remove) shuffling.
3060 It causes troubles under heavy load.
3062 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3064 * SiteMap.cs: don't lock on Type.
3065 * CapabilitiesLoader.cs: avoid 2 locks when loading data.
3067 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3069 * HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
3070 presence of rewriting.
3072 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3074 * HttpApplication.cs: don't hang if a sync step is aborted. Fixes the
3075 system.web portion of bug #68270.
3077 2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3079 * TraceContext.cs: don't cast to Page is the handler it's
3082 2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3084 * HttpRequest.cs: CurrentExecutionFilePath is the one that
3085 changes when Transfer or Execute are used, not FilePath.
3087 * HttpServerUtility.cs: moved form saving/restoring from
3088 Transfer to Execute, as it's needed there too. the query string is
3089 correctly set now. Fixes bug #67388.
3091 * HttpContext.cs: use SetCurrentExePath instead of SetFilePath.
3093 2004-10-03 Ben Maurer <bmaurer@ximian.com>
3095 * HttpResponse.cs: use UtcNow
3097 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3099 * HttpResponse.cs: SuppressContent does not throw and clears all the
3100 buffered output. Fixes bug #67213.
3102 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3104 * HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.
3106 2004-09-29 Ben Maurer <bmaurer@ximian.com>
3108 * HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.
3110 2004-09-25 Ben Maurer <bmaurer@ximian.com>
3112 * HttpApplication.cs: Make sure requests are removed from
3113 the timeout manager. Fixes a major leak. #66751.
3115 2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3117 * HttpApplicationFactory.cs:
3118 * HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
3121 2004-09-12 Ben Maurer <bmaurer@ximian.com>
3123 * HttpContext.cs: use CallContext. It is a little bit faster.
3125 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3127 * HttpStaticObjectsCollection.cs: don't share static session objects
3128 declared in the application file across the application, but on a
3129 per-session basis. Fixes bug #65446.
3131 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3133 * HttpServerUtility.cs: in Transfer(path), don't keep form data if
3134 the transfer is done from inside a page that received a postback.
3137 2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3139 * HttpValueCollection.cs: fixed signature of ToString (). Closes bug
3142 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
3144 * HttpWriter.cs (.ctor): Dont create teh StreamWriter twice
3145 (Clear): Don't recreate the MemoryStream and StreamWriter
3147 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3149 * HttpApplication.cs: only add/remove to/from the timeout
3150 manager when we're in a interruptible step.
3152 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3154 * TraceContext.cs: when IsEnabled has not been set, return the value
3155 from the TraceManager. Fixes bug #63469.
3157 2004-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3159 * HttpRuntime.cs: initialize the response writer when finishing a
3160 request because it cannot be queued. Under heavy load we made new
3161 requests be processed before the ones that might be queued. This is
3164 * QueueManager.cs: instead of queueing/dequeuing separately, we now
3165 have a single method that does everything needed to decide which one
3166 will be the next request processed.
3168 2004-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3170 * HttpRuntime.cs: removed initializations to null in .cctor. Prevent
3171 other requests from avoiding the lock if they are received before the
3172 configuration system is inited. Ensure that the queue manager is not
3173 null before using it (it can be null while the first request is being
3176 2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3178 * HttpServerUtility.cs: ensure we have a full virtual path for the
3179 request being executed.
3181 2004-08-02 Duncan Mak <duncan@ximian.com>
3183 * ApplicationShutdownReason.cs: Fixed typos.
3185 * HttpCookieMode.cs:
3186 * HttpDataTransferMode.cs:
3187 * HttpRequestPriority.cs: Added [Serializable] attribute.
3189 2004-08-02 Duncan Mak <duncan@ximian.com>
3191 * ApplicationShutdownReason.cs:
3192 * HttpCookieMode.cs:
3193 * HttpDataTransferMode.cs:
3194 * HttpRequestPriority.cs: Added 2.0 enumerations.
3196 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3198 * HttpApplication.cs: the file not found might be a dependency.
3200 2004-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3202 * HttpCookie.cs: use invariant when formatting expires date. Fixes bug
3205 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3207 * HttpApplication.cs: don't keep the session around if we got it from
3208 the context. Fixes bug #61232.
3210 2004-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3212 * HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
3215 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3217 * TraceContext.cs: added internal HaveTrace property whose
3218 value is true when the page has a Trace attribute.
3220 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3222 * TraceData.cs: fixed <br> output. Closes bug #60181.
3224 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3226 * HttpUtility.cs: check for control characters in the string to encode
3227 or decode and return the same string if there are none.
3229 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3231 * HttpApplication.cs: change/restore the IPrincipal in their own methods
3232 and make them internal.
3234 2004-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3236 * HttpContext.cs: reverting Pedro's patch and sending mail with test
3239 2004-06-09 Pedro Martnez Juli <yoros@wanadoo.es>
3241 * HttpContext: User property returns its own "user" value because
3242 the context can walk through different Threads. When "User" property
3243 is changed, change "Thread.CurrentPrincipal" too.
3245 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3247 * HttpRequest.cs: removed extra ^Ms and fixed style of last patch.
3249 2004-06-08 Alon Gazit <along@mainsoft.com>
3251 * HttpRequest.cs: Add a patch for HttpRequest.ServerVariables.
3253 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
3255 * HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
3256 Fix (at least partially) #59683.
3258 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3260 * HttpRequest.cs: reverting patch from Alon Gazit. Uses the above file
3261 that doesn't compile.
3263 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3265 * TraceData.cs: fixes nullref in an application that relies on
3266 r ["Message"] not being null. Closes bug #59679.
3268 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3270 * HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.
3272 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3274 * HttpRuntime.cs: implemented a 5 simple properties that were TODOs.
3276 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3278 * HttpBrowserCapabilities.cs: implemented ClrVersion and GetClrVersions.
3279 * HttpException.cs: removed MonoTODO.
3281 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3283 * TraceContext.cs: don't check if HttpRuntime.TraceManager
3284 is enabled when writing.
3286 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3288 * HttpRequest.cs: added ClientTarget internal property.
3290 2004-06-03 Lluis Sanchez Gual <lluis@ximian.com>
3292 * HttpApplication.cs: Clear the http handler list after releasing the
3295 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3297 * TraceData.cs: html-encode the messages written to the trace. Fixes
3300 2004-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3302 * HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
3305 2004-05-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3307 * HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
3308 when SetFilePath is called. This way the cached values are reset and
3309 get the right value in case someone (namely SessionStateModule +
3310 cookieless session) changes the FilePath after the property cached its
3311 value. Fixes bug #59364.
3313 2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>
3315 * HttpApplicationFactory.cs: Added SignalError (still todo)
3317 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3319 * HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
3320 chunked encoding disabled. Fixed chunked suffix and end. Send the
3321 'lastchunk' marked when in the final Flush even if the content length
3322 is 0. This makes mod-mono-server work fine with chunked encoding.
3324 * HttpRuntime.cs: Set the _firstRequest* variables to true
3325 earlier. TraceContext don't take any parameter now.
3327 * TraceManager.cs: don't need a context. Use GetAppConfig.
3329 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3331 * HttpApplication.cs: set culture/uiculture from configuration and
3332 restore it after each step. Fixes bug #52851.
3334 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3336 * HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
3337 entities hashtable creation until it's really needed.
3339 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3341 * HttpApplicationFactory.cs: if no module matches the name found for a
3342 possible event, ignore it. Fixes bug #58542.
3344 2004-05-16 Patrik Torstensson <totte@hiddenpeaks.com>
3346 * HttpRuntime (Init): Removed old todo
3347 * HttApplication : Implemented IHttpHandlerFactory recycling
3349 2004-04-28 Patrik Torstensson
3351 * HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
3354 2004-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3356 * HttpUtility.cs: return null in HtmlDecode for null input instead of
3357 throwing an exception. Patch by Jan Jaros (bug #57083).
3359 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
3361 * TimeoutManager.cs: Swap the order of initialization of contexts
3362 and the Timer, to avoid race condition of CheckTimeouts being called
3363 before contexts gets initialized.
3365 2004-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3367 * HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
3368 Now the posted file content does not have the boundaries and headers
3371 2004-03-25 Alon Gazit <along@mainsoft.com>
3373 * HttpRequest.cs: fix ValidateCookieCollection() to prevent
3374 InvalidCastException.
3376 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3378 * HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.
3380 2004-03-01 Larry Ewing <lewing@ximian.com>
3382 * HttpUtility.cs: fix UrlEncodeToBytes count check.
3384 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3386 * HttpServerUtility.cs:
3387 * HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
3390 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3392 * HttpUtility.cs: fixed length check. Closes bug #54201.
3393 Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
3396 2004-02-11 Jackson Harper <jackson@ximian.com>
3398 * TraceData.cs: Use ToString for cookie/header/var name values so
3399 null is handled properly.
3401 2004-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3403 * HttpApplication.cs: ApplicationState is inited by the factory so,
3404 return that value in the property. when we use the context Session,
3405 cache it in the instance field.
3407 * HttpApplicationFactory.cs: fixed target Type for the event when
3408 hooking application and module events. Initialize application
3409 and session scope objects. Fixes non-aplication events hook up.
3411 * HttpStaticObjectsCollection.cs: added StaticItem and delay the
3412 creation of the objects until they are requested.
3414 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3416 * HttpApplicationFactory.cs: fixlet for session events hook.
3418 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3420 * HttpApplicationFactory.cs: attach all events from Type and BaseType
3421 at the same time. Fixes bug #53454.
3423 2004-01-27 Jackson Harper <jackson@ximian.com>
3425 * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
3426 null now, dont hadd the header if it does.
3427 * HttpCacheVaryByParams.cs: Return null if there are no items.
3429 2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3431 * HttpCachePolicy.cs: it's not public.
3432 * HttpRuntime.cs: wait for requests before disposing the queue.
3434 2004-01-15 Jackson Harper <jackson@ximian.com>
3436 * HttpCachePolicy.cs: Fix typo causing varyby params headers to be
3437 created when they shouldn't be.
3439 2004-01-14 Jackson Harper <jackson@ximian.com>
3441 * TraceData.cs: Fix some typos in the output text. Fix control
3442 position when adding controls recursively.
3444 2004-01-14 Jackson Harper <jackson@ximian.com>
3446 * HttpCachePolicy.cs: Expose duration and sliding properties.
3448 2004-01-14 Jackson Harper <jackson@ximian.com>
3450 * HttpCachePolicy.cs: Add an event that is fired when the
3451 cacheability is updated. The response uses this to determine
3452 whether or not it needs to cache itself.
3453 * HttpResponse.cs: When the cacheability is updated either create
3454 or dispose of the cached raw response based on whether or not we
3455 wil need it. This allows output caching to be controlled
3458 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3460 * HttpContext.cs: add setter for ConfigTimeout.
3461 * HttpException.cs: added Description property and HTML encode some
3464 * HttpRequest.cs: support request validation.
3466 * HttpRequestValidationException.cs: added message and description.
3468 * HttpServerUtility.cs: implemented ScriptTimeout.
3470 2004-01-11 Jackson Harper <jackson@ximian.com>
3472 * TraceManager.cs: Dont crash if there is no trace config element.
3474 2004-01-11 Jackson Harper <jackson@ximian.com>
3476 * HttpRequest.cs: Add property for determining if the request is
3479 2004-01-10 Jackson Harper <jackson@ximian.com>
3481 * TraceContext.cs: Handle tracing when it is enabled in the config
3482 file but not on the page.
3483 * TraceManager.cs: Get settings from the configuration object.
3484 * HttpRuntime.cs: Create trace manager in the first request start
3485 so it can get configuration settings.
3487 2004-01-10 Jackson Harper <jackson@ximian.com>
3489 * TraceContext.cs: Save the request path in the trace data.
3490 * TraceData.cs: Add RequestPath property, make some rendering
3491 methods internal static so the TraceHandler can use them.
3492 * TraceManager.cs: Expose trace data, add a method for clearing
3495 2004-01-10 Jackson Harper <jackson@ximian.com>
3497 * HttpRuntime.cs: Add trace manager
3498 * TraceManager.cs: New class for handling trace configuration and
3499 storing trace data objects.
3500 * TraceContext.cs: Save trace data to the trace manager. Fix typo.
3502 2004-01-10 Jackson Harper <jackson@ximian.com>
3504 * TraceData.cs: New class for storing trace data. Data is stored
3505 here instead of the trace context so it can be saved and accessed
3506 from the trace handler.
3507 * TraceContext.cs: Save data in the TraceData object, let the
3508 trace data object handle the rendering.
3510 2004-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3512 * HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
3513 Thanks to Jan Jaros (mono-bug@jerryweb.info).
3515 * HttpRequestValidationException.cs: fix comment.
3517 2004-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3519 * HttpException.cs: default to error 500. Fixes bug #52623.
3521 2004-01-04 Jackson Harper <jackson@ximian.com>
3523 * TraceContext.cs: Store and render trace info times. Also render
3524 cookie sizes. Remove debug code.
3526 2004-01-04 Jackson Harper <jackson@ximian.com>
3528 * HttpResponse.cs: Set the cached response date header so it can
3530 * HttpResponseHeader.cs: Let values be set so we can update cached
3531 response header values.
3533 2004-01-04 Jackson Harper <jackson@ximian.com>
3535 * HttpResponse.cs: Implement RemoveOutputCacheItem.
3537 2004-01-04 Jackson Harper <jackson@ximian.com>
3539 * HttpCachePolicy.cs: Add internal method to get the vary by custom string
3540 * HttpCacheVaryByHeaders.cs: Add internal method to get the header names.
3542 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3544 * HttpRuntime.cs: implemented MachineConfigurationDirectory,
3546 2004-1-1 Alon Gazit <along@mainsoft.com>
3547 * HttpWriter.cs: add check in Write() in order to prevent
3548 NullReferenceException.
3550 2004-1-1 Alon Gazit <along@mainsoft.com>
3551 * HttpResponse.cs: implemented ExpiresAbsolute and Expires.
3553 2003-12-18 Jackson Harper <jackson@ximian.com>
3555 * TraceContext.cs: Write () methods are not warnings.
3557 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3559 * HttpBrowserCapabilities.cs: added GetClrVersions ().
3560 * HttpCachePolicy.cs: added SetAllowResponseInBrowserHistory ().
3561 * HttpContext.cs: added set_Current and RewritePath (s, s, s) for 1.1.
3562 * HttpRequest.cs: added set_ContentType, SetPathInfo and ValidateInput.
3563 * HttpRequestValidationException.cs: new class for 1.1
3564 * HttpResponse.cs: added RedirectLocation.
3565 * HttpRuntime.cs: added UnloadAppDomain.
3566 * HttpServerUtility.cs: Execute (s, t, b) is internal for < 1.2
3567 * HttpUtility.cs: copied UrlPathEncode from HttpServerUtility.
3568 * HttpWorkerRequest.cs: added [ComVisible] and made the ctor public.
3570 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3572 * HttpContext.cs: implemented IsCustomErrorEnabled and
3573 IsDebuggingEnabled. Added internal ErrorPage property.
3575 * HttpRuntime.cs: on error, check if we have a custom error page enabled
3576 to handle it and redirect.
3578 * HttpResponse.cs: added RedirectCustomError (), which actually does
3579 the redirection to the error page.
3581 2003-12-16 Jackson Harper <jackson@ximian.com>
3583 * TraceContext.cs: Render all the data, and the stylesheet.
3585 2003-12-16 Jackson Harper <jackson@ximian.com>
3587 * TraceContext.cs: Add incomplete render method.
3589 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3591 * CapabilitiesLoader.cs: loads browser detection and capabilities data
3592 from browscap.ini file by Gary J. Keith.
3594 * HttpBrowserCapabilities.cs: removed almost all TODOs.
3596 * HttpRequest.cs: fixed Browser property.
3598 2003-12-15 Jackson Harper <jackson@ximian.com>
3600 * TraceContext.cs: Initial implementation of storing data.
3601 * HttpContext.cs: Create and expose a trace object.
3603 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3605 * HttpApplication.cs: ThreadAbortException is ok on Redirect.
3606 * HttpContext.cs: added TimeoutPossible property.
3607 * HttpResponse.cs: throw ThreadAbortException if End () is called within
3608 a step in which is possible to timeout.
3612 2003-12-04 Jackson Harper <jackson@ximian.com>
3614 * HttpRequest.cs: Cleanup method.
3616 2003-12-04 Jackson Harper <jackson@ximian.com>
3618 * HttpValueCollection.cs: Allow blank value names. Posting
3619 <blank>=SomeValue is valid. And occurs if a radio button does
3620 not have its name set.
3622 2003-12-03 Jackson Harper <jackson@ximian.com>
3624 * HttpResponse.cs: Actually apply an app path modifier in
3625 ApplyAppPathModifer and add a method to set the app path modifier.
3626 * HttpRequest.cs: Add utility method for setting a request header.
3628 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3630 * HttpApplication.cs: handle FileNotFound and DirectoryNotFound
3631 exceptions when creating the handler to generate a better error page.
3633 * HttpException.cs: display the http_code if available. Changed all
3634 \n by \r\n to make the hidden stack trace readable.
3636 * StaticFileHandler.cs: don't send the real path in th eerror.
3638 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3640 * HttpContext.cs: updated GetConfig and GetAppConfig to new API.
3642 * HttpResponse.cs: separate initialization of the HttpWriter, as it
3643 tries to read configuration settings while the config. system is not
3644 available (ie, before the first request).
3646 * HttpRuntime.cs: delayed queueManager and response writer
3647 initialization until the configuration system is working.
3649 2003-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3651 * HttpRuntime.cs: added request queue handling.
3653 * QueueManager.cs: simple request queue.
3655 * TimeoutManager.cs: added some locks to prevent the enumerator used in
3656 CheckTimeouts to be out of synch.
3658 2003-11-25 Jackson Harper <jackson@ximian.com>
3660 * HttpStaticObjectsCollection.cs: Add methods for serialization
3661 and conversion to/from byte arrays.
3663 2003-11-21 Jackson Harper <jackson@ximian.com>
3665 * HttpResponse.cs: When caching data set the content length in the
3666 cached repsonse so that only that amount will be written back to
3667 the client. Add method to write a range of binary data.
3668 * HttpCacheVaryByParams.cs: Add method to retrieve param names.
3670 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3672 * HttpApplication.cs:
3674 * HttpRuntime.cs: add timeout handling.
3675 * TimeoutManager.cs: new class that takes care of aborting threads on
3678 2003-11-19 Jackson Harper <jackson@ximian.com>
3680 * HttpWriter.cs: Use a constant for the buffer size so the cache
3681 can get the buffer size. Add method to get the buffer.
3682 * HttpResponse.cs: Methods for getting data to cache, and setting
3683 vars from the cache.
3684 * HttpCachePolicy.cs: Expose a pages cache expire time.
3686 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3689 * HttpWriter.cs: some fixes to allow closing a response stream without
3692 2003-11-13 Jackson Harper <jackson@ximian.com>
3694 * HttpCachePolicy.cs: Make sure cacheability and maxage get
3695 set. Add method to set Http response header data
3696 * HttpCacheVaryByParams.cs: Add method to create a response header.
3697 * HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
3698 * HttpResponse.cs: Set cache headers.
3700 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
3702 * HttpModuleCollection.cs (GetKey): Recursion, again!
3704 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
3706 * HttpClientCertificate.cs (ValidUntil): recursion!
3708 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
3710 * SiteMapNode.cs (GetDataSourceView): Implement.
3711 * SiteMapProvider.cs: Typo fixing.
3712 * XmlSiteMapProvider.cs: We shouldnt resolve here.
3714 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
3716 * SiteMap.cs (Init): implement a hack that doesnt need the config
3717 stuff. Should do that later.
3718 * SiteMapNodeCollection (OnValidate): Fix recursion.
3719 * SiteMapProvider.cs: We dont implement some culture stuff work
3720 around it. Fix typo.
3721 * XmlSiteMapProvider.cs: Added.
3723 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
3725 * ISiteMapProvider.cs:
3728 * SiteMapNodeCollection.cs:
3729 * SiteMapProvider.cs:
3730 * SiteMapProviderCollection.cs: V2 sitemap related stuff.
3732 2003-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3734 * HttpRequest.cs: don't attempt to read more bytes than specified
3737 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3742 * HttpValueCollection.cs: encoding fixes/updates.
3744 * HttpWriter.cs: when updating the encoding, flush the existing stream.
3747 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
3749 * HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
3750 return false (which makes sense, as the custom errors *arent* enabled;
3752 * HttpResponseStream.cs: you actually can write with len = 0
3754 2003-11-03 Jackson Harper <jackson@ximian.com>
3756 * HttpResponse.cs (ContentEncoding): Throw
3757 ArgumentNullException. Patch by Yaron Shkop.
3759 2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3761 * HttpMultipartContentParser.cs : Quick fix for cygwin build.
3762 CSC complains that constant char cannot be casted as byte.
3764 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3766 * HttpApplication.cs: added AssemblyLocation property.
3768 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3770 * HttpApplicationFactory.cs: use NoParamsInvoker.
3771 * HttpRequest.cs: support request filters.
3772 * HttpRequestStream.cs: mono-stylized and added new Set method.
3774 * NoParamsInvoker.cs: proxy class to invoke user-provided methods
3775 without parameters that are invoked by EventHandlers.
3777 2003-10-13 Lluis Sanchez Gual <lluis@ximian.com>
3779 * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
3780 to invariant culture.
3782 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3785 * HttpServerUtility.cs: change the response writer in Execute. Thanks
3786 to Rich Alimi <rich@velvetsea.net> for noticing this.
3788 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3790 * HttpApplicationFactory.cs: support for wiring up events without
3793 2003-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3795 * HttpUtility.cs: small memory usage reduction.
3797 2003-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3799 * HttpApplication.cs: pass the Uri, not the file path to
3800 when looking for a handler.
3802 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3804 * HttpRequest.cs: small fix needed when reading big POST data.
3806 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
3808 * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
3809 (this will get the address from the request headers).
3811 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
3813 * HttpServerUtility.cs: In Transfer(), preserve the query string if
3816 2003-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3818 * HttpApplication.cs: ensure we do all the EndRequest steps. Don't
3819 filter the output on error.
3821 * HttpResponse.cs: modified DoFilter to allow bypassing filtering.
3823 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3825 * HttpApplication.cs: when the request is completed or an
3826 error happens, execute all the delegates attached to EndRequest, not
3827 only the last one. This makes xsp/test/authtest work again.
3829 * HttpMethodNotAllowedHandler.cs: fixed description for http
3832 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3834 * HttpRequest.cs: quick way of checking that the path is within the
3835 root for the application. Thanks to Johannes for reporting.
3837 * HttpRuntime.cs: use the status code from teh exception when it'ss a
3840 * StaticFileHandler.cs: forbidden is 403.
3842 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3844 * HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
3845 <rich@velvetsea.net>.
3847 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3849 * HttpException.cs: make the unhandled error more like the MS one.
3850 * HttpRuntime.cs: set a 500 error code on unhandled exceptions.
3852 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3854 * HttpResponse.cs: flush headers when the body length is 0.
3855 * StaticFileHandler.cs: added If-Modified-Since handling patch slightly
3856 modified from the original by Piers Haken <piersh@friskit.com>.
3858 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3860 * HttpResponse.cs: another patch from totte and me. This one prevents
3861 writing output if the client have disconnected and filters the data
3862 when there's a non-final Flush in the middle of the process.
3864 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3866 * HttpApplication.cs: fixed typos. Closes bug #44197.
3868 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3870 * HttpApplication.cs:
3871 * HttpApplicationFactory.cs: fix duplicate application OnStart events.
3873 Patch by Patrik Torstensson.
3875 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3877 * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
3878 overload. The previous one only admits static methods.
3880 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3882 * ProcessModelInfo.cs: Fixed signature
3884 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3886 * WebCategoryAttribute.cs: Implemented localization
3887 * WebSysDescriptionAttribute.cs: Implemented localization
3889 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3891 * HttpRuntime.cs: also clear the headers that may have been set upon
3892 error processing the request.
3894 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3896 * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
3899 * HttpWriter.cs: flush the filter after writing.
3901 2003-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3903 * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
3905 2003-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3907 * HttpContext.cs: Session doesn't have a setter.
3909 * HttpResponse.cs: Request is private.
3911 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3913 * HttpRequest.cs: fixed Headers property. It was getting known headers
3914 values instead of known headers names.
3916 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3918 * HttpApplication.cs: prevent nullref if an error happens before context
3920 * HttpException.cs: small fix in the stack trace sent.
3921 * HttpUtility.cs: the lock is not needed.
3923 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3925 * HttpRequest.cs: added REMOTE_PORT.
3926 * HttpValueCollection.cs: fixed bug #45490.
3928 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3930 * HttpApplication.cs:
3931 * HttpApplicationFactory.cs: fire application start and session
3934 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3936 * HttpException.cs: encode as HTML the inner exception that
3937 is appended as a comment at the end of error pages.
3939 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3941 * HttpWriter.cs: don't do anything in Flush. Fixes #42249.
3943 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3945 * HtmlizedException.cs: added more virtual methods.
3947 * HttpException.cs: some work on the output when there's a source
3950 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3952 * HtmlizedException.cs: simplified to cope with the new interface.
3954 * HttpApplicationFactory.cs: use the application file parser to get the
3957 * HttpException.cs: small changes. Needs some more work on
3960 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3962 * HttpRequest.cs: fixed Url property.
3964 2003-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3966 * HtmlizedException.cs:
3967 * HttpException.cs: display the correct line number in error messages.
3969 2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3971 * HttpCachePolicy.cs: implemented all TODOs.
3972 * HttpRequestStream.cs: make it internal.
3974 2003-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3976 * HttpContext.cs: implemented RewritePath in other way.
3977 * HttpRequest.cs: removed SetPhysicalPath and added SetForm.
3978 * HttpServerUtility.cs: implemented Transfer (string, bool).
3980 2003-03-16 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
3981 * HttpContext.cs : Implemented RewritePath
3982 * HttpRequest.cs : Added internal function SetPhysicalPath
3984 2003-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3986 * HttpServerUtility.cs: implemented Transfer ().
3988 2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3990 * HttpRuntime.cs: Cache no longer have a Dispose method.
3992 * HttpServerUtility.cs: removed MonoTODO.
3994 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3996 * HttpHelper.cs: store the values in an ArrayList to get them in correct
3999 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4001 * HttpApplicationFactory.cs: Global.asax takes precedence over
4002 global.asax if it exists.
4004 * HttpRequest.cs: use allowCrossAppMapping in MapPath.
4006 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4008 * HttpApplication.cs: CreateHttpHandler is now internal.
4010 * HttpRequest.cs: allow setting QueryStringRaw, which
4011 invalidates the data obtained from the previous value. Added internal
4014 * HttpServerUtility.cs: implemented Execute and GetLastError.
4016 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4018 * HttpServerUtility.cs: style.
4020 2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4022 * HttpApplication.cs: only execute the EndRequest step on error
4023 condition or request marked as completed. This prevent page events from
4024 being called when, for example, the url authorization module forbids
4027 2003-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4029 * HttpRequest.cs: implemented the indexer.
4031 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4033 * HtmlizedException.cs: base class for exceptions that makes it easy to
4034 generate error pages.
4036 * HttpException.cs: improved error displaying.
4038 * HttpRuntime.cs: removed debugging output.
4040 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4042 * HttpApplication.cs: display the error instead of hanging when we get
4043 any error before the last step of the request.
4045 2003-02-04 Tim Haynes <thaynes@openlinksw.com>
4047 * HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement
4050 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4052 * HttpRequest.cs: added BaseVirtualDir property and use it in MapPath.
4054 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4056 * HttpRequest.cs: implemented CurrentExecutionFilePath.
4058 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4060 * HttpApplication.cs: keep _lasterror if no context. Attach
4061 application events *after* modules initialization (if not, User is not
4062 set when the user handler is called).
4064 * HttpApplicationFactory.cs: made all methods related to
4065 AttachEvents static. I will fix OnStart/OnEnd for application and
4068 * HttpRequest.cs: don't initialize cookies twice.
4070 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4073 (ApplyAppPathModifiers): return the root directory for "".
4075 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4077 * HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.
4079 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4081 * HttpApplication.cs: added new state to handle default authentication.
4083 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4085 * HttpContext.cs: removed hack to get the User.
4087 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4089 * HttpUtility.cs: fixed bug #36038. Thanks to juancri@tagnet.org for
4090 reporting the bug and how to fix it.
4092 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4094 * HttpCookie.cs: send 'expires' in the header.
4096 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4098 * HttpValueCollection.cs: patch from Botjan Vizin
4099 <bostjan.vizin@siol.net> that implements ToString (bool).
4101 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4103 * HttpApplicationFactory.cs: add the context as parameter when building
4104 the application Type.
4106 * HttpCookie.cs: new internal constructor.
4107 * HttpCookieCollection.cs: new internal method to make a cookie expire.
4109 * HttpRequest.cs: MapPath fixes.
4110 * HttpResponse.cs: implemented ApplyAppPathModifier.
4111 * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
4113 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4115 * HttpContext.cs: hack to create a default user when there's no one.
4116 Implemented GetConfig (string).
4118 * HttpRequest.cs: fixes to MapPath (string).
4120 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4122 * HttpRuntime.cs: avoid nulls and exception when getting resource
4125 * StaticFileHandler.cs: added file name to error message.
4127 2002-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4129 * HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
4131 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4133 * HttpApplicationFactory.cs: get the events from the application class,
4134 fire Application/Session Start/End and add the others as application
4137 2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4139 * HttpApplicationFactory.cs: compile global.asax file if it exists.
4141 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4143 * HttpRequest.cs: provide a default Browser until we detect it.
4145 (End): do not close the connection here.
4146 (Flush (bool)): send the headers when, for example, Redirect () is
4149 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4151 * HttpException.cs: simple error output.
4153 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4155 * HttpApplication.cs: style.
4156 * HttpException.cs: style.
4157 * HttpRuntime.cs: only flush the response if there are no errors.
4158 Otherwise, write an error output.
4159 * HttpWriter.cs: change Unicode to UTF8.
4161 2002-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4163 * HttpApplication.cs: don't begin the request using ExecuteNextAsync
4164 (it fails to work on NetServ).
4166 * HttpWorkerRequest.cs: typo.
4168 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4170 * HttpValueCollection.cs: the value may contain trailing '=' as it is
4171 UrlEncoded. Don't split name=value based on '='.
4173 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4175 * HttpCookie.cs: made GetCookieHeader internal.
4177 * HttpRequest.cs: get cookies from request.
4179 * HttpResponse.cs: send cookies. Implemented
4180 AddFileDependencies (). Added check for _Writer == null in Flush
4181 (Patrik ;-). Clear the content if HEAD or SupressContent == true.
4182 Removed redirect hack used in old server.
4184 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4186 * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
4187 most ContentLength bytes.
4189 * HttpResponse.cs: now it sends the headers. Added
4190 X-Powered-By header :-).
4192 * HttpRuntime.cs: fixed typo.
4194 * HttpValueCollection.cs: cosmetic changes.
4196 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4198 * HttpApplication.cs: reenabled a few lines of code
4199 (ThreadPool already fixed).
4204 * HttpValueCollection.cs:
4205 * HttpWriter.cs: Use WebEncoding.Encoding.
4207 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4209 * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
4210 This fixes sending bytes and allows mixing byte with chars.
4212 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4214 * HttpResponse.cs: implemented WriteFile methods.
4215 * MimeTypes.cs: removed duplicated entries.
4217 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4219 * HttpResponse.cs: don't throw exception in a couple of
4220 methods not yet implemented.
4222 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4224 * HttpApplication.cs: fixed type and handle factories when creating
4225 IHttpHandler for a request.
4227 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4229 * HttpApplication.cs: use handlers from configuration.
4230 * HttpContext.cs: get handlers from ConfigurationSettings.
4232 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4234 * HttpMethodNotAllowedHandler.cs:
4236 * StaticFileHandler.cs: Modified file.
4238 * HttpUtility.cs: implemented all missing methods.
4241 2002-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4243 * System.Web/HttpApplication.cs: use the static file handler.
4244 * System.Web/HttpForbiddenHandler.cs: handler to forbid access.
4245 * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
4248 * System.Web/HttpUtility.cs: finished all UrlDecode methods.
4249 * System.Web/MimeTypes.cs: map from file extension to MIME type.
4250 * System.Web/StaticFileHandler.cs: serves static files
4252 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4254 * System.Web/HttpApplication.cs:
4255 * System.Web/HttpApplicationFactory.cs:
4256 * System.Web/HttpRequest.cs:
4257 * System.Web/HttpRuntime.cs: we are now able to compile pages and use
4258 HttpApplication, HttpRuntime and SimpleWorkerRequest.
4260 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4262 * HttpApplication.cs: added some missing methods.
4263 * HttpApplicationFactory.cs: get event handlers for the application.
4264 * HttpAsyncResult.cs: little fixes.
4265 * HttpRequest.cs: make Encoding work even with no worker request.
4267 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4269 * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
4270 to add HttpMapPath to the list file...
4272 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4274 * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
4275 report when i get a test case.
4277 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4279 * HttpApplicationFactory.cs:
4280 * HttpCachePolicy.cs:
4281 * HttpResponseHeader.cs:
4282 * HttpResponseStream.cs:
4283 * HttpResponseStreamProxy.cs:
4284 * HttpValueCollection.cs: misc. fixes based on class status page.
4286 * IHttpMapPath.cs: New file.
4288 * HttpRequest.cs: implemented ContentEncoding.
4289 * HttpWorkerRequest.cs: mono-stylized and implemented
4290 SendResponseFromMemory.
4292 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4294 * HttpContext.cs: reformatted.
4295 * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
4298 2002-08-05 Patrik Torstensson <ptorsten@hotmail.com>
4300 * HttpApplication.cs: Implemented a state machine to allow handling of
4301 HttpModules and HttpHandlers. Implementation of async handlers.
4303 * HttpApplicationFactory.cs: Factory for creating HttpApplication
4304 instances, including caching.
4306 * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
4307 application instance to execute requests in and implementation of
4308 request execution (still no request queue).
4310 * HttpAsyncResult.cs: New file to handle async module results.
4312 * HttpRequest.cs: Change signature of Dispose
4313 * HttpResponse.cs: new internal method allowing filtering to happen
4314 during the request flow in the state machine.
4316 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4318 * HttpApplication.cs: events were not being initialized.
4320 2002-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4322 * ProcessModelInfo.cs: fixed compilation.
4324 2002-07-25 Tim Coleman <tim@timcoleman.com>
4325 * ProcessModelInfo.cs:
4327 * HttpParseException.cs:
4328 * HttpCompileException.cs:
4329 * HttpUnhandledException.cs:
4330 Internal constructors added to these
4332 2002-07-24 Tim Coleman <tim@timcoleman.com>
4334 Fix constructor, reference to shutdownreason.
4336 2002-07-24 Tim Coleman <tim@timcoleman.com>
4337 * HttpCachePolicy.cs:
4338 Added stubbs to this class.
4339 * HttpCacheability.cs:
4340 * HttpCacheRevalidation.cs:
4341 * HttpValidationStatus.cs:
4342 * ProcessShutdownReason.cs:
4345 Reorder the enumerations (and in some cases make
4346 one-based) in order to agree with the .NET
4347 implementation, based on the class status page.
4349 Implementation of this class.
4351 2002-07-23 Tim Coleman <tim@timcoleman.com>
4352 * HttpCompileException.cs:
4353 * HttpParseException.cs:
4354 * HttpUnhandledException.cs:
4356 * HttpApplication.cs:
4357 * HttpBrowserCapabilities.cs:
4358 Added missing methods stubbs and attributes based
4359 on the class status page. Also reformatted some
4360 source for consistency.
4362 2002-07-23 Tim Coleman <tim@timcoleman.com>
4363 * HttpUtility.cs: Moved entities hashtable into main
4364 class as a static object, so we don't instantiate
4365 a new one every time. Also put the hashtable
4366 building into a lock block.
4368 2002-07-22 Tim Coleman <tim@timcoleman.com>
4369 * HttpUtility.cs: Cleanup of the code, implementation
4370 of HtmlDecode/HtmlEncode functions
4372 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4374 * HttpResponse.cs: quick&dirty hack to make redirection work. Should
4375 be out of there once we have SimpleWorkerRequest.
4377 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4379 * HttpUtility.cs: little typo, big headache.
4381 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4383 * HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
4385 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4387 * System.Web/HttpResponse.cs:
4389 Fixes based on class status page:
4391 - Add attributes (DefaultEvent, ParseChildren).
4393 - Explicitly implement some interfaces (IPostBackDataHandler
4394 and IPostBackEventHandler).
4395 - Implemented some missing methods.
4397 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4400 (Session): return null instead of throwing an exception.
4403 (HttpMethod): return RequestType if not set.
4404 (GetRawContent): return QueryString if we don't have a
4407 * HttpUtility.cs: fixed Decode and Encode.
4409 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4411 * HttpApplication.cs:
4412 * HttpContext.cs: added System.Web.SessionState namespace.
4414 * HttpSessionState.cs: removed. It is under
4415 System.Web.SessionState.
4417 2002-06-10 Duncan Mak <duncan@ximian.com>
4419 * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
4421 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4423 * HttpRequest.cs: implemented Browser property.
4425 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4427 * HttpBrowserCapabilities.cs: stubbed out.
4429 2002-05-18 Miguel de Icaza <miguel@ximian.com>
4431 * HttpRuntime.cs: Reformat file.
4433 2002-05-07 Duncan Mak <duncan@ximian.com>
4435 * HttpBrowserCapabilities.cs: Added, replacing
4436 HttpBrowserCapabilites because of typo.
4438 * HttpBrowserCapabilites.cs: Removed, replaced by above.
4440 * HttpRequest.cs (Browser): Fixed typo.
4442 2002-04-12 Patrik Torstensson <patrik.torstensson@labs2.com>
4444 * HttpApplication.cs: Minor updates
4445 * HttpApplicationState.cs: Ready.
4446 * HttpClientCertificate.cs: Signature updates
4447 * HttpValueCollection.cs: ready
4448 * HttpStaticObjectsCollection.cs: ready
4449 * HttpResponseHeader.cs: made internal only
4450 * HttpResponse.cs: Signature updates
4451 * HttpPostedFile.cs: ready
4452 * HttpCacheVaryByHeaders.cs: ready (except communication to policy)
4453 * HttpCacheVaryByParams.cs: ready (except communication to policy)
4455 System.Web is now over 60% ready..
4457 2002-04-11 Patrik Torstensson <patrik.torstensson@labs2.com>
4459 * HttpException.cs: 95% ready, only windows dependent code left
4460 * HttpFileCollection.cs: Finished.
4461 * HttpRequest.cs: Minor fixes and fixed signature problems
4462 * HttpResponse.cs: Implementation of missing methods and signature problems
4463 * HttpResponseHeader.cs: Fixed signature problems
4464 * HttpRuntime.cs: Fixed signature problems
4465 * HttpServerUtility.cs: Added support for HttpApplication
4466 * HttpSessionState.cs: Fixed signature issues
4467 * HttpUtility.cs: fixed signature issues
4468 * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
4469 * HttpWorkerRequest.cs: Fixed small signature issue
4470 * HttpWriter.cs: Fixed signature issue
4471 * HttpApplication.cs: Basic implementation
4472 * HttpApplicationState.cs: Small fixes to support major change comming up
4473 * HttpBrowserCapabilities.cs: Added Type method
4474 * HttpClientCertificate.cs: Almost ready, needs to parse certificate.
4475 * HttpContext.cs: Fixed signature issues and added last methods.
4476 * HttpCookie.cs: Full implementation
4477 * HttpCookieCollection.cs: Full implementation
4478 * TraceContext.cs: Methods implemented.
4479 * HttpPostedFile.cs: Placeholder
4480 * HttpStaticObjectsCollection.cs: Placeholder
4481 * HttpModuleCollection.cs: Ready, will be used during the major revamp.
4483 * Fixed a number of other small signature problems also (class status page)
4486 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
4488 * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
4489 * Checkin of all new files (noted in last changenote)
4491 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
4493 * HttpContext.cs: First implementation (basic support, few methods left to impl)
4494 * HttpException.cs: Partial implementation (basic support)
4495 * HttpHelper.cs: Header parse helper, used by runtime (non public)
4496 * HttpRequest.cs: Implementation (all methods there, not all fully impl)
4497 * HttpRequestStream.cs: Full implementation
4498 * HttpResponse.cs: Partial implementation(almost all methods)
4499 * HttpResponseHeader.cs: Header helper
4500 * HttpResponseStream.cs: Full implementation - Response stream support
4501 * HttpResponseStreamProxy.cs: Implementation - filter support
4502 * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
4503 * HttpServerUtility.cs: Implemented usage of HttpContext for methods
4504 and moved encoding functions to HttpUtility.
4506 * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
4507 added the Attribute encoding functions.
4509 * HttpValueCollection.cs: Implementation.
4510 * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
4511 * HttpWriter.cs: Implementation (with filter support)
4513 * HttpFileCollection: Added dummy class (placeholder)
4514 * HttpApplication.cs: Added dummy class (placeholder)
4515 * HttpApplicationState.cs: Added dummy class (placeholder)
4516 * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
4517 * HtttpCachePolicy.cs: Added dummy class (placeholder)
4518 * HttpClientCertificate.cs: Added dummy class (placeholder)
4519 * HttpSessionState.cs: Added dummy class (placeholder)
4520 * TraceContext.cs: Added dummy class (placeholder)
4523 2002/04/10 Nick Drochak <ndrochak@gol.com>
4525 * HttpServerUtility.cs: Fix build breaker.
4527 2002-03-28 Wictor Wiln <wictor@iBizkit.se>
4529 * HttpServerUtils.cs : Added some more functionality
4531 2002-03-28 Martin Baulig <martin@gnome.org>
4533 * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
4534 char to a string, use ToString() instead.
4536 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
4538 * WebCategoryAttribute.cs
4539 : Added private attribute.
4541 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
4543 * HttpRuntime.cs : Stubbed methods for
4544 FormatStringResource(...) in agreement with the various
4545 overloads available at String.Format(...)
4547 2002-01-08 Gaurav Vaish <gavish@iitk.ac.in>
4549 * TODOAttribute.cs : Added, as an internal class to the assembly
4551 2002-01-03 Nick Drochak <ndrochak@gol.com>
4553 * HttpRuntime.cs: remove uneeded exception variable from catch and
4554 initialize remaining instance members to avoid compile warnings
4556 2002-01-02 Nick Drochak <ndrochak@gol.com>
4558 * HttpRuntime.cs: fix spelling error/variable name change.
4560 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
4562 * HttpRuntime.cs : Initial implementation
4564 2001-08-29 Bob Smith <bob@thestuff.net>
4566 * HttpWorkerRequest.cs: Partial Implementation.
4568 2001-08-16 Bob Smith <bob@thestuff.net>
4570 * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
4572 2001-08-09 Bob Smith <bob@thestuff.net>
4574 * BeginEventHandler.cs: Implemented.
4575 * EndEventHandler.cs: Implemented.
4576 * HttpCacheability.cs: Implemented.
4577 * HttpCacheRevalidation.cs: Implemented.
4578 * HttpCacheValidateHandler.cs: Implemented.
4579 * HttpCookieCollection.cs: Implemented.
4580 * HttpCookie.cs: Implemented.
4581 * HttpValidationStatus.cs: Implemented.
4582 * HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
4583 * IHttpAsyncHandler.cs: Implemented.
4584 * IHttpHandler.cs: Implemented.
4585 * IHttpHandlerFactory.cs: Implemented.
4586 * IHttpModule.cs: Implemented.
4587 * ProcessShutdownReason.cs: Implemented.
4588 * ProcessStatus.cs: Implemented.
4589 * TraceMode.cs: Implemented.