2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web / ChangeLog
1 2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2
3         * HttpRequest.cs: honor the maxRequestSize limit from machine.config.
4
5 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6
7         * HttpApplication.cs: reread application CultureInfo as web.config
8         might have changed. Fixes bug #62539.
9
10 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
11
12         * HttpResponse.cs: fixed ApplyAppPathModifier to insert the session ID.
13
14 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
15
16         * HttpApplicationFactory.cs: monitor changes in global.asax and bin
17         directory and shutdown the application when that happens. Fixes bug
18         #49651.
19
20 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
21
22         * ReusableMemoryStream.cs: copied from System.IO.MemoryStream and
23         slightly modified to allow expanding the buffer for cases on which the
24         regular MemoryStream don't allow it.
25
26         * HttpWriter.cs: use the new ReusableMemoryStream and fix bug #59841.
27         Otherwise we would have to allocate a new MemoryStream...
28
29 2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
30
31         * HttpApplication.cs: Create() is now GetInstance().
32
33 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
34
35         * SiteMapNodeCollection.cs: Added missing properties.
36         * HttpParseException.cs: Added 2.0 methods and properties.
37         * SiteMapNode.cs: Added missing methods and properties.
38         * SiteMapProvider.cs, XmlSiteMapProvider.cs, 
39         SiteMapProviderCollection.cs: IProvider does not exist any
40         more, it is now ProviderBase.
41         * ISiteMapProvider.cs: Deleted.
42         * ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
43           Implemented.
44         * SiteMap.cs: Minor fixes.      
45
46 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
47
48         * SiteMapProviderCollection.cs: Fixed warning.
49         * HttpApplication.cs: Added new 2.0 events.
50
51 2004-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
52
53         * HttpResponse.cs: added internl SetHeadersSent.
54         * HttpRuntime.cs: don't throw the 'headers already sent' exception
55         if we're sending a runtime error.
56
57 2004-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
58
59         * HttpApplication.cs: undo the TimeoutManager.(Add|Remove) shuffling.
60         It causes troubles under heavy load.
61
62 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
63
64         * SiteMap.cs: don't lock on Type.
65         * CapabilitiesLoader.cs: avoid 2 locks when loading data.
66
67 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
68
69         * HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
70         presence of rewriting.
71
72 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
73
74         * HttpApplication.cs: don't hang if a sync step is aborted. Fixes the
75         system.web portion of bug #68270.
76
77 2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
78
79         * TraceContext.cs: don't cast to Page is the handler it's
80         not a page.
81
82 2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
83
84         * HttpRequest.cs: CurrentExecutionFilePath is the one that
85         changes when Transfer or Execute are used, not FilePath.
86
87         * HttpServerUtility.cs: moved form saving/restoring from
88         Transfer to Execute, as it's needed there too. the query string is
89         correctly set now. Fixes bug #67388.
90
91         * HttpContext.cs: use SetCurrentExePath instead of SetFilePath.
92
93 2004-10-03 Ben Maurer  <bmaurer@ximian.com>
94
95         * HttpResponse.cs: use UtcNow
96
97 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
98
99         * HttpResponse.cs: SuppressContent does not throw and clears all the
100         buffered output. Fixes bug #67213.
101
102 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
103
104         * HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.
105
106 2004-09-29 Ben Maurer  <bmaurer@ximian.com>
107
108         * HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.
109
110 2004-09-25 Ben Maurer  <bmaurer@ximian.com>
111
112         * HttpApplication.cs: Make sure requests are removed from
113         the timeout manager. Fixes a major leak. #66751.
114
115 2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
116
117         * HttpApplicationFactory.cs:
118         * HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
119         unloading.
120
121 2004-09-12 Ben Maurer  <bmaurer@ximian.com>
122
123         * HttpContext.cs: use CallContext. It is a little bit faster.
124
125 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
126
127         * HttpStaticObjectsCollection.cs: don't share static session objects
128         declared in the application file across the application, but on a
129         per-session basis. Fixes bug #65446.
130
131 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
132
133         * HttpServerUtility.cs: in Transfer(path), don't keep form data if
134         the transfer is done from inside a page that received a postback.
135         Fixes bug #65613.
136
137 2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
138
139         * HttpValueCollection.cs: fixed signature of ToString (). Closes bug
140         #65392.
141
142 2004-09-06 Ben Maurer  <bmaurer@users.sourceforge.net>
143
144         * HttpWriter.cs (.ctor): Dont create teh StreamWriter twice
145         (Clear): Don't recreate the MemoryStream and StreamWriter
146
147 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
148
149         * HttpApplication.cs: only add/remove to/from the timeout
150         manager when we're in a interruptible step.
151
152 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
153
154         * TraceContext.cs: when IsEnabled has not been set, return the value
155         from the TraceManager. Fixes bug #63469.
156
157 2004-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
158
159         * HttpRuntime.cs: initialize the response writer when finishing a
160         request because it cannot be queued. Under heavy load we made new
161         requests be processed before the ones that might be queued. This is
162         no longer the case.
163
164         * QueueManager.cs: instead of queueing/dequeuing separately, we now
165         have a single method that does everything needed to decide which one
166         will be the next request processed.
167
168 2004-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
169
170         * HttpRuntime.cs: removed initializations to null in .cctor. Prevent
171         other requests from avoiding the lock if they are received before the
172         configuration system is inited. Ensure that the queue manager is not
173         null before using it (it can be null while the first request is being
174         processed).
175
176 2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
177
178         * HttpServerUtility.cs: ensure we have a full virtual path for the
179         request being executed.
180
181 2004-08-02  Duncan Mak  <duncan@ximian.com>
182
183         * ApplicationShutdownReason.cs: Fixed typos.
184
185         * HttpCookieMode.cs:
186         * HttpDataTransferMode.cs:
187         * HttpRequestPriority.cs: Added [Serializable] attribute.
188         
189 2004-08-02  Duncan Mak  <duncan@ximian.com>
190
191         * ApplicationShutdownReason.cs:
192         * HttpCookieMode.cs:
193         * HttpDataTransferMode.cs:
194         * HttpRequestPriority.cs: Added 2.0 enumerations.
195         
196 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
197
198         * HttpApplication.cs: the file not found might be a dependency.
199
200 2004-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
201
202         * HttpCookie.cs: use invariant when formatting expires date. Fixes bug
203         #61690.
204
205 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
206
207         * HttpApplication.cs: don't keep the session around if we got it from
208         the context. Fixes bug #61232.
209
210 2004-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
211
212         * HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
213         #61181.
214
215 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
216
217         * TraceContext.cs: added internal HaveTrace property whose
218         value is true when the page has a Trace attribute.
219
220 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
221
222         * TraceData.cs: fixed <br> output. Closes bug #60181.
223
224 2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
225
226         * HttpUtility.cs: check for control characters in the string to encode
227         or decode and return the same string if there are none.
228
229 2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
230
231         * HttpApplication.cs: change/restore the IPrincipal in their own methods
232         and make them internal.
233
234 2004-06-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
235
236         * HttpContext.cs: reverting Pedro's patch and sending mail with test
237         to mono-devel.
238
239 2004-06-09  Pedro MartĂ­nez Juliá  <yoros@wanadoo.es>
240
241         * HttpContext: User property returns its own "user" value because
242         the context can walk through different Threads. When "User" property
243         is changed, change "Thread.CurrentPrincipal" too.
244
245 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
246
247         * HttpRequest.cs: removed extra ^Ms and fixed style of last patch.
248
249 2004-06-08  Alon Gazit  <along@mainsoft.com>
250
251         * HttpRequest.cs: Add a patch for HttpRequest.ServerVariables.
252
253 2004-06-07  Sebastien Pouliot  <sebastien@ximian.com>
254
255         * HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
256         Fix (at least partially) #59683.
257
258 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
259
260         * HttpRequest.cs: reverting patch from Alon Gazit. Uses the above file
261         that doesn't compile.
262
263 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
264
265         * TraceData.cs: fixes nullref in an application that relies on
266         r ["Message"] not being null. Closes bug #59679.
267
268 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
269
270         * HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.
271
272 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
273
274         * HttpRuntime.cs: implemented a 5 simple properties that were TODOs.
275
276 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
277
278         * HttpBrowserCapabilities.cs: implemented ClrVersion and GetClrVersions.
279         * HttpException.cs: removed MonoTODO.
280
281 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
282
283         * TraceContext.cs: don't check if HttpRuntime.TraceManager
284         is enabled when writing.
285
286 2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
287
288         * HttpRequest.cs: added ClientTarget internal property.
289
290 2004-06-03  Lluis Sanchez Gual <lluis@ximian.com>
291
292         * HttpApplication.cs: Clear the http handler list after releasing the
293           handlers.
294
295 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
296
297         * TraceData.cs: html-encode the messages written to the trace. Fixes
298         bug #59431.
299
300 2004-06-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
301
302         * HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
303         to Markus Kräutner.
304
305 2004-05-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
306
307         * HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
308         when SetFilePath is called. This way the cached values are reset and
309         get the right value in case someone (namely SessionStateModule + 
310         cookieless session) changes the FilePath after the property cached its
311         value. Fixes bug #59364.
312
313 2004-05-27      Patrik Torstensson <totte@hiddenpeaks.com>
314
315         * HttpApplicationFactory.cs: Added SignalError (still todo)
316
317 2004-05-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
318
319         * HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
320         chunked encoding disabled. Fixed chunked suffix and end. Send the
321         'lastchunk' marked when in the final Flush even if the content length
322         is 0. This makes mod-mono-server work fine with chunked encoding.
323          
324         * HttpRuntime.cs: Set the _firstRequest* variables to true
325         earlier. TraceContext don't take any parameter now.
326
327         * TraceManager.cs: don't need a context. Use GetAppConfig.
328
329 2004-05-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
330
331         * HttpApplication.cs: set culture/uiculture from configuration and
332         restore it after each step. Fixes bug #52851.
333
334 2004-05-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
335
336         * HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
337         entities hashtable creation until it's really needed.
338
339 2004-05-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
340
341         * HttpApplicationFactory.cs: if no module matches the name found for a
342         possible event, ignore it. Fixes bug #58542.
343
344 2004-05-16      Patrik Torstensson <totte@hiddenpeaks.com>
345
346         * HttpRuntime (Init): Removed old todo
347         * HttApplication : Implemented IHttpHandlerFactory recycling
348         
349 2004-04-28      Patrik Torstensson
350
351         * HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
352         removed MonoTodo
353
354 2004-04-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
355
356         * HttpUtility.cs: return null in HtmlDecode for null input instead of
357         throwing an exception. Patch by Jan Jaros (bug #57083).
358
359 2004-04-10  Vladimir Vukicevic  <vladimir@pobox.com>
360
361         * TimeoutManager.cs: Swap the order of initialization of contexts
362         and the Timer, to avoid race condition of CheckTimeouts being called
363         before contexts gets initialized.
364
365 2004-03-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
366
367         * HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
368         Now the posted file content does not have the boundaries and headers
369         included.
370
371 2004-03-25  Alon Gazit <along@mainsoft.com>
372
373         * HttpRequest.cs: fix ValidateCookieCollection() to prevent
374         InvalidCastException.
375
376 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
377
378         * HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.
379
380 2004-03-01  Larry Ewing  <lewing@ximian.com>
381
382         * HttpUtility.cs: fix UrlEncodeToBytes count check.
383
384 2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
385
386         * HttpServerUtility.cs:
387         * HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
388         #53670).
389
390 2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
391
392         * HttpUtility.cs: fixed length check. Closes bug #54201.
393         Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
394         decoding.
395
396 2004-02-11  Jackson Harper <jackson@ximian.com>
397
398         * TraceData.cs: Use ToString for cookie/header/var name values so
399         null is handled properly.
400         
401 2004-02-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
402
403         * HttpApplication.cs: ApplicationState is inited by the factory so,
404         return that value in the property. when we use the context Session,
405         cache it in the instance field.
406
407         * HttpApplicationFactory.cs: fixed target Type for the event when
408         hooking application and module events. Initialize application
409         and session scope objects. Fixes non-aplication events hook up.
410
411         * HttpStaticObjectsCollection.cs: added StaticItem and delay the
412         creation of the objects until they are requested.
413
414 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
415
416         * HttpApplicationFactory.cs: fixlet for session events hook.
417
418 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
419
420         * HttpApplicationFactory.cs: attach all events from Type and BaseType
421         at the same time. Fixes bug #53454.
422
423 2004-01-27  Jackson Harper <jackson@ximian.com>
424
425         * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
426         null now, dont hadd the header if it does.
427         * HttpCacheVaryByParams.cs: Return null if there are no items.
428
429 2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
430
431         * HttpCachePolicy.cs: it's not public.
432         * HttpRuntime.cs: wait for requests before disposing the queue.
433
434 2004-01-15  Jackson Harper <jackson@ximian.com>
435
436         * HttpCachePolicy.cs: Fix typo causing varyby params headers to be
437         created when they shouldn't be.
438         
439 2004-01-14  Jackson Harper <jackson@ximian.com>
440
441         * TraceData.cs: Fix some typos in the output text. Fix control
442         position when adding controls recursively.
443         
444 2004-01-14  Jackson Harper <jackson@ximian.com>
445
446         * HttpCachePolicy.cs: Expose duration and sliding properties.
447         
448 2004-01-14  Jackson Harper <jackson@ximian.com>
449
450         * HttpCachePolicy.cs: Add an event that is fired when the
451         cacheability is updated. The response uses this to determine
452         whether or not it needs to cache itself.
453         * HttpResponse.cs: When the cacheability is updated either create
454         or dispose of the cached raw response based on whether or not we
455         wil need it. This allows output caching to be controlled
456         programatically.
457         
458 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
459
460         * HttpContext.cs: add setter for ConfigTimeout.
461         * HttpException.cs: added Description property and HTML encode some
462         unescaped values.
463
464         * HttpRequest.cs: support request validation.
465
466         * HttpRequestValidationException.cs: added message and description.
467
468         * HttpServerUtility.cs: implemented ScriptTimeout.
469
470 2004-01-11  Jackson Harper <jackson@ximian.com>
471
472         * TraceManager.cs: Dont crash if there is no trace config element.
473         
474 2004-01-11  Jackson Harper <jackson@ximian.com>
475
476         * HttpRequest.cs: Add property for determining if the request is
477         local or not.
478         
479 2004-01-10  Jackson Harper <jackson@ximian.com>
480
481         * TraceContext.cs: Handle tracing when it is enabled in the config
482         file but not on the page.
483         * TraceManager.cs: Get settings from the configuration object.
484         * HttpRuntime.cs: Create trace manager in the first request start
485         so it can get configuration settings.
486         
487 2004-01-10  Jackson Harper <jackson@ximian.com>
488
489         * TraceContext.cs: Save the request path in the trace data.
490         * TraceData.cs: Add RequestPath property, make some rendering
491         methods internal static so the TraceHandler can use them.
492         * TraceManager.cs: Expose trace data, add a method for clearing
493         trace data.
494         
495 2004-01-10  Jackson Harper <jackson@ximian.com>
496
497         * HttpRuntime.cs: Add trace manager
498         * TraceManager.cs: New class for handling trace configuration and
499         storing trace data objects.
500         * TraceContext.cs: Save trace data to the trace manager. Fix typo.
501         
502 2004-01-10  Jackson Harper <jackson@ximian.com>
503
504         * TraceData.cs: New class for storing trace data. Data is stored
505         here instead of the trace context so it can be saved and accessed
506         from the trace handler.
507         * TraceContext.cs: Save data in the TraceData object, let the
508         trace data object handle the rendering.
509         
510 2004-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
511
512         * HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
513         Thanks to Jan Jaros (mono-bug@jerryweb.info).
514
515         * HttpRequestValidationException.cs: fix comment.
516
517 2004-01-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
518
519         * HttpException.cs: default to error 500. Fixes bug #52623.
520
521 2004-01-04  Jackson Harper <jackson@ximian.com>
522
523         * TraceContext.cs: Store and render trace info times. Also render
524         cookie sizes. Remove debug code.
525         
526 2004-01-04  Jackson Harper <jackson@ximian.com>
527
528         * HttpResponse.cs: Set the cached response date header so it can
529         be updated.
530         * HttpResponseHeader.cs: Let values be set so we can update cached 
531         response header values.
532         
533 2004-01-04  Jackson Harper <jackson@ximian.com>
534
535         * HttpResponse.cs: Implement RemoveOutputCacheItem.
536         
537 2004-01-04  Jackson Harper <jackson@ximian.com>
538
539         * HttpCachePolicy.cs: Add internal method to get the vary by custom string
540         * HttpCacheVaryByHeaders.cs: Add internal method to get the header names.
541         
542 2004-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
543
544         * HttpRuntime.cs: implemented MachineConfigurationDirectory,
545
546 2004-1-1  Alon Gazit <along@mainsoft.com>
547         * HttpWriter.cs: add check in Write() in order to prevent
548         NullReferenceException.
549
550 2004-1-1  Alon Gazit <along@mainsoft.com>
551         * HttpResponse.cs: implemented ExpiresAbsolute and Expires.
552
553 2003-12-18  Jackson Harper <jackson@ximian.com>
554
555         * TraceContext.cs: Write () methods are not warnings.
556         
557 2003-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
558
559         * HttpBrowserCapabilities.cs: added GetClrVersions ().
560         * HttpCachePolicy.cs: added SetAllowResponseInBrowserHistory ().
561         * HttpContext.cs: added set_Current and RewritePath (s, s, s) for 1.1.
562         * HttpRequest.cs: added set_ContentType, SetPathInfo and ValidateInput.
563         * HttpRequestValidationException.cs: new class for 1.1
564         * HttpResponse.cs: added RedirectLocation.
565         * HttpRuntime.cs: added UnloadAppDomain.
566         * HttpServerUtility.cs: Execute (s, t, b) is internal for < 1.2
567         * HttpUtility.cs: copied UrlPathEncode from HttpServerUtility.
568         * HttpWorkerRequest.cs: added [ComVisible] and made the ctor public.
569
570 2003-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
571
572         * HttpContext.cs: implemented IsCustomErrorEnabled and
573         IsDebuggingEnabled. Added internal ErrorPage property.
574
575         * HttpRuntime.cs: on error, check if we have a custom error page enabled
576         to handle it and redirect.
577
578         * HttpResponse.cs: added RedirectCustomError (), which actually does
579         the redirection to the error page.
580         
581 2003-12-16  Jackson Harper <jackson@ximian.com>
582
583         * TraceContext.cs: Render all the data, and the stylesheet.
584         
585 2003-12-16  Jackson Harper <jackson@ximian.com>
586
587         * TraceContext.cs: Add incomplete render method.
588         
589 2003-12-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
590
591         * CapabilitiesLoader.cs: loads browser detection and capabilities data
592         from browscap.ini file by Gary J. Keith.
593
594         * HttpBrowserCapabilities.cs: removed almost all TODOs.
595
596         * HttpRequest.cs: fixed Browser property.
597
598 2003-12-15  Jackson Harper <jackson@ximian.com>
599
600         * TraceContext.cs: Initial implementation of storing data.
601         * HttpContext.cs: Create and expose a trace object.
602         
603 2003-12-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
604
605         * HttpApplication.cs: ThreadAbortException is ok on Redirect.
606         * HttpContext.cs: added TimeoutPossible property.
607         * HttpResponse.cs: throw ThreadAbortException if End () is called within
608         a step in which is possible to timeout.
609
610         Fixes bug #51703.
611
612 2003-12-04  Jackson Harper <jackson@ximian.com>
613
614         * HttpRequest.cs: Cleanup method.
615         
616 2003-12-04  Jackson Harper <jackson@ximian.com>
617
618         * HttpValueCollection.cs: Allow blank value names. Posting
619         <blank>=SomeValue is valid. And occurs if a radio button does
620         not have its name set.
621         
622 2003-12-03  Jackson Harper <jackson@ximian.com>
623
624         * HttpResponse.cs: Actually apply an app path modifier in
625         ApplyAppPathModifer and add a method to set the app path modifier.
626         * HttpRequest.cs: Add utility method for setting a request header.
627         
628 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
629
630         * HttpApplication.cs: handle FileNotFound and DirectoryNotFound
631         exceptions when creating the handler to generate a better error page.
632
633         * HttpException.cs: display the http_code if available.  Changed all
634         \n by \r\n to make the hidden stack trace readable.
635         
636         * StaticFileHandler.cs: don't send the real path in th eerror.
637
638 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
639
640         * HttpContext.cs: updated GetConfig and GetAppConfig to new API.
641         
642         * HttpResponse.cs: separate initialization of the HttpWriter, as it
643         tries to read configuration settings while the config. system is not
644         available (ie, before the first request).
645         
646         * HttpRuntime.cs: delayed queueManager and response writer
647         initialization until the configuration system is working.
648
649 2003-11-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
650
651         * HttpRuntime.cs: added request queue handling.
652
653         * QueueManager.cs: simple request queue.
654         
655         * TimeoutManager.cs: added some locks to prevent the enumerator used in
656         CheckTimeouts to be out of synch.
657
658 2003-11-25  Jackson Harper <jackson@ximian.com>
659
660         * HttpStaticObjectsCollection.cs: Add methods for serialization
661         and conversion to/from byte arrays.
662         
663 2003-11-21  Jackson Harper <jackson@ximian.com>
664
665         * HttpResponse.cs: When caching data set the content length in the
666         cached repsonse so that only that amount will be written back to
667         the client. Add method to write a range of binary data.
668         * HttpCacheVaryByParams.cs: Add method to retrieve param names.
669         
670 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
671
672         * HttpApplication.cs:
673         * HttpContext.cs:
674         * HttpRuntime.cs: add timeout handling.
675         * TimeoutManager.cs: new class that takes care of aborting threads on
676         timeout.
677
678 2003-11-19  Jackson Harper <jackson@ximian.com>
679
680         * HttpWriter.cs: Use a constant for the buffer size so the cache
681         can get the buffer size. Add method to get the buffer.
682         * HttpResponse.cs: Methods for getting data to cache, and setting
683         vars from the cache.
684         * HttpCachePolicy.cs: Expose a pages cache expire time.
685         
686 2003-11-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
687
688         * HttpResponse.cs: 
689         * HttpWriter.cs: some fixes to allow closing a response stream without
690         messing the rest.
691
692 2003-11-13  Jackson Harper  <jackson@ximian.com>
693
694         * HttpCachePolicy.cs: Make sure cacheability and maxage get
695         set. Add method to set Http response header data
696         * HttpCacheVaryByParams.cs: Add method to create a response header.
697         * HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
698         * HttpResponse.cs: Set cache headers.
699         
700 2003-11-11 Ben Maurer  <bmaurer@users.sourceforge.net>
701
702         * HttpModuleCollection.cs (GetKey): Recursion, again!
703
704 2003-11-11 Ben Maurer  <bmaurer@users.sourceforge.net>
705
706         * HttpClientCertificate.cs (ValidUntil): recursion!
707
708 2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
709
710         * SiteMapNode.cs (GetDataSourceView): Implement.
711         * SiteMapProvider.cs: Typo fixing.
712         * XmlSiteMapProvider.cs: We shouldnt resolve here.
713         
714 2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
715
716         * SiteMap.cs (Init): implement a hack that doesnt need the config
717         stuff. Should do that later.
718         * SiteMapNodeCollection (OnValidate): Fix recursion.
719         * SiteMapProvider.cs: We dont implement some culture stuff work
720         around it. Fix typo.
721         * XmlSiteMapProvider.cs: Added.
722         
723 2003-11-07 Ben Maurer  <bmaurer@users.sourceforge.net>
724
725         * ISiteMapProvider.cs:
726         * SiteMap.cs:
727         * SiteMapNode.cs:
728         * SiteMapNodeCollection.cs:
729         * SiteMapProvider.cs:
730         * SiteMapProviderCollection.cs: V2 sitemap related stuff.
731
732 2003-11-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
733
734         * HttpRequest.cs: don't attempt to read more bytes than specified
735         content length.
736
737 2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
738
739         * HttpRequest.cs:
740         * HttpResponse.cs:
741         * HttpUtility.cs:
742         * HttpValueCollection.cs: encoding fixes/updates.
743
744         * HttpWriter.cs: when updating the encoding, flush the existing stream.
745         Encoding updates.
746
747 2003-11-04 Ben Maurer  <bmaurer@users.sourceforge.net>
748
749         * HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
750         return false (which makes sense, as the custom errors *arent* enabled;
751         ie they dont work.
752         * HttpResponseStream.cs: you actually can write with len = 0
753
754 2003-11-03 Jackson Harper <jackson@ximian.com>
755
756         * HttpResponse.cs (ContentEncoding): Throw
757         ArgumentNullException. Patch by Yaron Shkop.
758         
759 2003-10-30  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
760
761         * HttpMultipartContentParser.cs : Quick fix for cygwin build. 
762           CSC complains that constant char cannot be casted as byte.
763
764 2003-10-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
765
766         * HttpApplication.cs: added AssemblyLocation property.
767
768 2003-10-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
769
770         * HttpApplicationFactory.cs: use NoParamsInvoker.
771         * HttpRequest.cs: support request filters.
772         * HttpRequestStream.cs: mono-stylized and added new Set method.
773
774         * NoParamsInvoker.cs: proxy class to invoke user-provided methods
775         without parameters that are invoked by EventHandlers.
776
777 2003-10-13  Lluis Sanchez Gual <lluis@ximian.com>
778
779         * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
780           to invariant culture.
781
782 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
783
784         * HttpResponse.cs:
785         * HttpServerUtility.cs: change the response writer in Execute. Thanks
786         to Rich Alimi <rich@velvetsea.net> for noticing this.
787
788 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
789
790         * HttpApplicationFactory.cs: support for wiring up events without
791         parameters.
792
793 2003-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
794
795         * HttpUtility.cs: small memory usage reduction.
796
797 2003-10-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
798
799         * HttpApplication.cs: pass the Uri, not the file path to
800         when looking for a handler.
801
802 2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
803
804         * HttpRequest.cs: small fix needed when reading big POST data.
805
806 2003-09-04  Lluis Sanchez Gual <lluis@ximian.com>
807
808         * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
809           (this will get the address from the request headers).
810
811 2003-09-04  Lluis Sanchez Gual <lluis@ximian.com>
812
813         * HttpServerUtility.cs: In Transfer(), preserve the query string if
814           told to do so.
815
816 2003-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
817
818         * HttpApplication.cs: ensure we do all the EndRequest steps. Don't
819         filter the output on error.
820         
821         * HttpResponse.cs: modified DoFilter to allow bypassing filtering.
822
823 2003-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
824
825         * HttpApplication.cs: when the request is completed or an
826         error happens, execute all the delegates attached to EndRequest, not
827         only the last one. This makes xsp/test/authtest work again.
828         
829         * HttpMethodNotAllowedHandler.cs: fixed description for http
830         status code.
831
832 2003-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
833
834         * HttpRequest.cs: quick way of checking that the path is within the
835         root for the application. Thanks to Johannes for reporting.
836         
837         * HttpRuntime.cs: use the status code from teh exception when it'ss a
838         HttpException.
839
840         * StaticFileHandler.cs: forbidden is 403.
841
842 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
843
844         * HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
845         <rich@velvetsea.net>.
846
847 2003-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
848
849         * HttpException.cs: make the unhandled error more like the MS one.
850         * HttpRuntime.cs: set a 500 error code on unhandled exceptions.
851
852 2003-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
853
854         * HttpResponse.cs: flush headers when the body length is 0.
855         * StaticFileHandler.cs: added If-Modified-Since handling patch slightly
856         modified from the original by Piers Haken <piersh@friskit.com>.
857
858 2003-08-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
859
860         * HttpResponse.cs: another patch from totte and me. This one prevents
861         writing output if the client have disconnected and filters the data
862         when there's a non-final Flush in the middle of the process.
863
864 2003-08-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
865
866         * HttpApplication.cs: fixed typos. Closes bug #44197.
867
868 2003-08-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
869
870         * HttpApplication.cs:
871         * HttpApplicationFactory.cs: fix duplicate application OnStart events.
872
873         Patch by Patrik Torstensson.
874
875 2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
876
877         * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
878         overload. The previous one only admits static methods.
879
880 2003-08-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
881
882         * ProcessModelInfo.cs: Fixed signature
883
884 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
885
886         * WebCategoryAttribute.cs: Implemented localization
887         * WebSysDescriptionAttribute.cs: Implemented localization
888
889 2003-07-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
890
891         * HttpRuntime.cs: also clear the headers that may have been set upon
892         error processing the request.
893
894 2003-07-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
895
896         * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
897         Write method.
898
899         * HttpWriter.cs: flush the filter after writing.
900
901 2003-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
902
903         * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
904
905 2003-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
906
907         * HttpContext.cs: Session doesn't have a setter.
908
909         * HttpResponse.cs: Request is private.
910
911 2003-07-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
912
913         * HttpRequest.cs: fixed Headers property. It was getting known headers
914         values instead of known headers names.
915
916 2003-07-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
917
918         * HttpApplication.cs: prevent nullref if an error happens before context
919         is set.
920         * HttpException.cs: small fix in the stack trace sent.
921         * HttpUtility.cs: the lock is not needed.
922
923 2003-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
924
925         * HttpRequest.cs: added REMOTE_PORT.
926         * HttpValueCollection.cs: fixed bug #45490.
927
928 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
929
930         * HttpApplication.cs:
931         * HttpApplicationFactory.cs: fire application start and session
932         start/end events.
933
934 2003-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
935
936         * HttpException.cs: encode as HTML the inner exception that
937         is appended as a comment at the end of error pages.
938
939 2003-05-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
940
941         * HttpWriter.cs: don't do anything in Flush. Fixes #42249.
942
943 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
944
945         * HtmlizedException.cs: added more virtual methods.
946
947         * HttpException.cs:  some work on the output when there's a source
948         file present.
949
950 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
951
952         * HtmlizedException.cs: simplified to cope with the new interface.
953
954         * HttpApplicationFactory.cs: use the application file parser to get the 
955         application Type.
956         
957         * HttpException.cs: small changes. Needs some more work on
958         ParseExceptions.
959         
960 2003-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
961
962         * HttpRequest.cs: fixed Url property.
963
964 2003-03-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
965
966         * HtmlizedException.cs:
967         * HttpException.cs: display the correct line number in error messages.
968
969 2003-03-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
970
971         * HttpCachePolicy.cs: implemented all TODOs.
972         * HttpRequestStream.cs: make it internal.
973
974 2003-03-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
975
976         * HttpContext.cs: implemented RewritePath in other way.
977         * HttpRequest.cs: removed SetPhysicalPath and added SetForm.
978         * HttpServerUtility.cs: implemented Transfer (string, bool).
979
980 2003-03-16  Daniel Lopez Ridruejo <daniel @ rawbyte.com>
981         * HttpContext.cs : Implemented RewritePath
982         * HttpRequest.cs : Added internal function SetPhysicalPath
983
984 2003-03-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
985
986         * HttpServerUtility.cs: implemented Transfer ().
987
988 2003-03-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
989
990         * HttpRuntime.cs: Cache no longer have a Dispose method.
991
992         * HttpServerUtility.cs: removed MonoTODO.
993
994 2003-03-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
995
996         * HttpHelper.cs: store the values in an ArrayList to get them in correct
997         order.
998
999 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1000
1001         * HttpApplicationFactory.cs: Global.asax takes precedence over
1002         global.asax if it exists.
1003
1004         * HttpRequest.cs: use allowCrossAppMapping in MapPath.
1005
1006 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1007
1008         * HttpApplication.cs: CreateHttpHandler is now internal.
1009
1010         * HttpRequest.cs: allow setting QueryStringRaw, which
1011         invalidates the data obtained from the previous value. Added internal
1012         SetFilePath method.
1013
1014         * HttpServerUtility.cs: implemented Execute and GetLastError.
1015
1016 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1017
1018         * HttpServerUtility.cs: style.
1019
1020 2003-02-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1021
1022         * HttpApplication.cs: only execute the EndRequest step on error
1023         condition or request marked as completed. This prevent page events from
1024         being called when, for example, the url authorization module forbids
1025         the request.
1026
1027 2003-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1028
1029         * HttpRequest.cs: implemented the indexer.
1030
1031 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1032
1033         * HtmlizedException.cs: base class for exceptions that makes it easy to
1034         generate error pages.
1035
1036         * HttpException.cs: improved error displaying.
1037
1038         * HttpRuntime.cs: removed debugging output.
1039
1040 2003-02-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1041
1042         * HttpApplication.cs: display the error instead of hanging when we get
1043         any error before the last step of the request.
1044
1045 2003-02-04  Tim Haynes <thaynes@openlinksw.com>
1046
1047         * HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement
1048         instance counter.
1049
1050 2003-01-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1051
1052         * HttpRequest.cs: added BaseVirtualDir property and use it in MapPath.
1053
1054 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1055
1056         * HttpRequest.cs: implemented CurrentExecutionFilePath.
1057
1058 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1059
1060         * HttpApplication.cs: keep _lasterror if no context. Attach
1061         application events *after* modules initialization (if not, User is not
1062         set when the user handler is called).
1063         
1064         * HttpApplicationFactory.cs: made all methods related to
1065         AttachEvents static. I will fix OnStart/OnEnd for application and
1066         session later.
1067         
1068         * HttpRequest.cs: don't initialize cookies twice.
1069
1070 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1071
1072         * HttpResponse.cs:
1073         (ApplyAppPathModifiers): return the root directory for "".
1074
1075 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1076
1077         * HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.
1078
1079 2003-01-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1080
1081         * HttpApplication.cs: added new state to handle default authentication.
1082
1083 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1084
1085         * HttpContext.cs: removed hack to get the User.
1086
1087 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1088
1089         * HttpUtility.cs: fixed bug #36038. Thanks to juancri@tagnet.org for
1090         reporting the bug and how to fix it.
1091
1092 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1093
1094         * HttpCookie.cs: send 'expires' in the header.
1095
1096 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1097
1098         * HttpValueCollection.cs: patch from Botjan Vizin 
1099         <bostjan.vizin@siol.net> that implements ToString (bool).
1100
1101 2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1102
1103         * HttpApplicationFactory.cs: add the context as parameter when building
1104         the application Type.
1105         
1106         * HttpCookie.cs: new internal constructor.
1107         * HttpCookieCollection.cs: new internal method to make a cookie expire.
1108
1109         * HttpRequest.cs: MapPath fixes.
1110         * HttpResponse.cs: implemented ApplyAppPathModifier.
1111         * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
1112
1113 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1114
1115         * HttpContext.cs: hack to create a default user when there's no one.
1116         Implemented GetConfig (string).
1117
1118         * HttpRequest.cs: fixes to MapPath (string).
1119
1120 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1121
1122         * HttpRuntime.cs: avoid nulls and exception when getting resource
1123         format strings.
1124
1125         * StaticFileHandler.cs: added file name to error message.
1126
1127 2002-12-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1128
1129         * HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
1130
1131 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1132
1133         * HttpApplicationFactory.cs: get the events from the application class,
1134         fire Application/Session Start/End and add the others as application
1135         events.
1136
1137 2002-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1138
1139         * HttpApplicationFactory.cs: compile global.asax file if it exists.
1140
1141 2002-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1142
1143         * HttpRequest.cs: provide a default Browser until we detect it.
1144         * HttpResponse.cs:
1145         (End): do not close the connection here.
1146         (Flush (bool)): send the headers when, for example, Redirect () is
1147         called.
1148
1149 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1150
1151         * HttpException.cs: simple error output.
1152
1153 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1154
1155         * HttpApplication.cs: style.
1156         * HttpException.cs: style.
1157         * HttpRuntime.cs: only flush the response if there are no errors.
1158         Otherwise, write an error output.
1159         * HttpWriter.cs: change Unicode to UTF8.
1160
1161 2002-11-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1162
1163         * HttpApplication.cs: don't begin the request using ExecuteNextAsync
1164         (it fails to work on NetServ).
1165
1166         * HttpWorkerRequest.cs: typo.
1167
1168 2002-11-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1169
1170         * HttpValueCollection.cs: the value may contain trailing '=' as it is
1171         UrlEncoded. Don't split name=value based on '='.
1172
1173 2002-11-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1174
1175         * HttpCookie.cs: made GetCookieHeader internal.
1176
1177         * HttpRequest.cs: get cookies from request.
1178
1179         * HttpResponse.cs: send cookies. Implemented
1180         AddFileDependencies (). Added check for _Writer == null in Flush
1181         (Patrik ;-). Clear the content if HEAD or SupressContent == true.
1182         Removed redirect hack used in old server.
1183
1184 2002-10-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1185
1186         * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
1187         most ContentLength bytes.
1188
1189         * HttpResponse.cs: now it sends the headers. Added
1190         X-Powered-By header :-).
1191
1192         * HttpRuntime.cs: fixed typo.
1193
1194         * HttpValueCollection.cs: cosmetic changes.
1195
1196 2002-10-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1197
1198         * HttpApplication.cs: reenabled a few lines of code
1199         (ThreadPool already fixed). 
1200         
1201         * HttpRequest.cs:
1202         * HttpResponse.cs:
1203         * HttpUtility.cs:
1204         * HttpValueCollection.cs:
1205         * HttpWriter.cs: Use WebEncoding.Encoding.
1206
1207 2002-10-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1208
1209         * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
1210         This fixes sending bytes and allows mixing byte with chars.
1211
1212 2002-10-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1213
1214         * HttpResponse.cs: implemented WriteFile methods.
1215         * MimeTypes.cs: removed duplicated entries.
1216
1217 2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1218
1219         * HttpResponse.cs: don't throw exception in a couple of
1220         methods not yet implemented.
1221
1222 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1223
1224         * HttpApplication.cs: fixed type and handle factories when creating
1225         IHttpHandler for a request.
1226
1227 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1228
1229         * HttpApplication.cs: use handlers from configuration.
1230         * HttpContext.cs: get handlers from ConfigurationSettings.
1231
1232 2002-10-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1233
1234         * HttpMethodNotAllowedHandler.cs:
1235         * HttpRuntime.cs:
1236         * StaticFileHandler.cs: Modified file.
1237
1238         * HttpUtility.cs: implemented all missing methods.
1239
1240
1241 2002-09-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1242
1243         * System.Web/HttpApplication.cs: use the static file handler.
1244         * System.Web/HttpForbiddenHandler.cs: handler to forbid access.
1245         * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
1246         allowed.
1247         
1248         * System.Web/HttpUtility.cs: finished all UrlDecode methods.
1249         * System.Web/MimeTypes.cs: map from file extension to MIME type.
1250         * System.Web/StaticFileHandler.cs: serves static files
1251
1252 2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1253
1254         * System.Web/HttpApplication.cs:
1255         * System.Web/HttpApplicationFactory.cs:
1256         * System.Web/HttpRequest.cs:
1257         * System.Web/HttpRuntime.cs: we are now able to compile pages and use
1258         HttpApplication, HttpRuntime and SimpleWorkerRequest.
1259
1260 2002-09-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1261
1262         * HttpApplication.cs: added some missing methods.
1263         * HttpApplicationFactory.cs: get event handlers for the application.
1264         * HttpAsyncResult.cs: little fixes.
1265         * HttpRequest.cs: make Encoding work even with no worker request.
1266
1267 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1268
1269         * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
1270         to add HttpMapPath to the list file...
1271
1272 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1273
1274         * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
1275         report when i get a test case.
1276
1277 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1278
1279         * HttpApplicationFactory.cs:
1280         * HttpCachePolicy.cs:
1281         * HttpResponseHeader.cs:
1282         * HttpResponseStream.cs:
1283         * HttpResponseStreamProxy.cs:
1284         * HttpValueCollection.cs: misc. fixes based on class status page.
1285
1286         * IHttpMapPath.cs: New file.
1287
1288         * HttpRequest.cs: implemented ContentEncoding.
1289         * HttpWorkerRequest.cs: mono-stylized and implemented
1290         SendResponseFromMemory.
1291
1292 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1293
1294         * HttpContext.cs: reformatted.
1295         * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
1296         the indexer.
1297
1298 2002-08-05  Patrik Torstensson <ptorsten@hotmail.com>
1299
1300         * HttpApplication.cs: Implemented a state machine to allow handling of
1301         HttpModules and HttpHandlers. Implementation of async handlers. 
1302                                                                  
1303         * HttpApplicationFactory.cs: Factory for creating HttpApplication
1304         instances, including caching.
1305         
1306         * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
1307         application instance to execute requests in and implementation of 
1308         request execution (still no request queue). 
1309                                                          
1310         * HttpAsyncResult.cs: New file to handle async module results.                                          
1311                                                          
1312         * HttpRequest.cs: Change signature of Dispose
1313         * HttpResponse.cs: new internal method allowing filtering to happen
1314         during the request flow in the state machine.
1315
1316 2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1317
1318         * HttpApplication.cs: events were not being initialized.
1319
1320 2002-07-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1321
1322         * ProcessModelInfo.cs: fixed compilation.
1323
1324 2002-07-25  Tim Coleman <tim@timcoleman.com>
1325         * ProcessModelInfo.cs:
1326                 New class added
1327         * HttpParseException.cs:
1328         * HttpCompileException.cs:
1329         * HttpUnhandledException.cs:
1330                 Internal constructors added to these
1331
1332 2002-07-24  Tim Coleman <tim@timcoleman.com>
1333         * ProcessInfo.cs: 
1334                 Fix constructor, reference to shutdownreason.
1335
1336 2002-07-24  Tim Coleman <tim@timcoleman.com>
1337         * HttpCachePolicy.cs:
1338                 Added stubbs to this class.
1339         * HttpCacheability.cs:
1340         * HttpCacheRevalidation.cs:
1341         * HttpValidationStatus.cs:
1342         * ProcessShutdownReason.cs:
1343         * ProcessStatus.cs:
1344         * TraceMode.cs:
1345                 Reorder the enumerations (and in some cases make
1346                 one-based) in order to agree with the .NET 
1347                 implementation, based on the class status page.
1348         * ProcessInfo.cs:
1349                 Implementation of this class.
1350
1351 2002-07-23  Tim Coleman <tim@timcoleman.com>
1352         * HttpCompileException.cs:
1353         * HttpParseException.cs:
1354         * HttpUnhandledException.cs:
1355                 New stubbs created.
1356         * HttpApplication.cs:
1357         * HttpBrowserCapabilities.cs:
1358                 Added missing methods stubbs and attributes based
1359                 on the class status page.  Also reformatted some
1360                 source for consistency.
1361
1362 2002-07-23  Tim Coleman <tim@timcoleman.com>
1363         * HttpUtility.cs: Moved entities hashtable into main
1364                 class as a static object, so we don't instantiate
1365                 a new one every time.  Also put the hashtable
1366                 building into a lock block.
1367
1368 2002-07-22  Tim Coleman <tim@timcoleman.com>
1369         * HttpUtility.cs: Cleanup of the code, implementation
1370                 of HtmlDecode/HtmlEncode functions
1371
1372 2002-07-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1373
1374         * HttpResponse.cs: quick&dirty hack to make redirection work. Should
1375         be out of there once we have SimpleWorkerRequest.
1376
1377 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1378
1379         * HttpUtility.cs: little typo, big headache.
1380
1381 2002-07-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1382
1383         * HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
1384
1385 2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1386
1387         * System.Web/HttpResponse.cs: 
1388
1389         Fixes based on class status page:
1390         
1391                 - Add attributes (DefaultEvent, ParseChildren).
1392                 - Fix declarations.
1393                 - Explicitly implement some interfaces (IPostBackDataHandler
1394                 and IPostBackEventHandler).
1395                 - Implemented some missing methods.
1396
1397 2002-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1398
1399         * HttpContext.cs:
1400         (Session): return null instead of throwing an exception.
1401
1402         * HttpRequest.cs:
1403         (HttpMethod): return RequestType if not set.
1404         (GetRawContent): return QueryString if we don't have a
1405         HttpWorkerRequest.
1406
1407         * HttpUtility.cs: fixed Decode and Encode.
1408
1409 2002-06-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1410
1411         * HttpApplication.cs:
1412         * HttpContext.cs: added System.Web.SessionState namespace.
1413
1414         * HttpSessionState.cs: removed. It is under
1415         System.Web.SessionState.
1416
1417 2002-06-10  Duncan Mak  <duncan@ximian.com>
1418
1419         * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
1420
1421 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1422
1423         * HttpRequest.cs: implemented Browser property.
1424
1425 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1426
1427         * HttpBrowserCapabilities.cs: stubbed out.
1428
1429 2002-05-18  Miguel de Icaza  <miguel@ximian.com>
1430
1431         * HttpRuntime.cs: Reformat file.
1432
1433 2002-05-07  Duncan Mak  <duncan@ximian.com>
1434
1435         * HttpBrowserCapabilities.cs: Added, replacing
1436         HttpBrowserCapabilites because of typo.
1437
1438         * HttpBrowserCapabilites.cs: Removed, replaced by above.
1439
1440         * HttpRequest.cs (Browser): Fixed typo.
1441
1442 2002-04-12  Patrik Torstensson <patrik.torstensson@labs2.com>
1443
1444         * HttpApplication.cs: Minor updates
1445         * HttpApplicationState.cs: Ready.
1446         * HttpClientCertificate.cs: Signature updates
1447         * HttpValueCollection.cs: ready
1448         * HttpStaticObjectsCollection.cs: ready
1449         * HttpResponseHeader.cs: made internal only
1450         * HttpResponse.cs: Signature updates
1451         * HttpPostedFile.cs: ready
1452         * HttpCacheVaryByHeaders.cs: ready (except communication to policy)
1453         * HttpCacheVaryByParams.cs: ready (except communication to policy)
1454         
1455         System.Web is now over 60% ready.. 
1456
1457 2002-04-11  Patrik Torstensson <patrik.torstensson@labs2.com>
1458
1459         * HttpException.cs: 95% ready, only windows dependent code left
1460         * HttpFileCollection.cs: Finished.
1461         * HttpRequest.cs: Minor fixes and fixed signature problems
1462         * HttpResponse.cs: Implementation of missing methods and signature problems
1463         * HttpResponseHeader.cs: Fixed signature problems
1464         * HttpRuntime.cs: Fixed signature problems
1465         * HttpServerUtility.cs: Added support for HttpApplication
1466         * HttpSessionState.cs: Fixed signature issues
1467         * HttpUtility.cs: fixed signature issues
1468         * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
1469         * HttpWorkerRequest.cs: Fixed small signature issue
1470         * HttpWriter.cs: Fixed signature issue
1471         * HttpApplication.cs: Basic implementation
1472         * HttpApplicationState.cs: Small fixes to support major change comming up
1473         * HttpBrowserCapabilities.cs: Added Type method
1474         * HttpClientCertificate.cs: Almost ready, needs to parse certificate.
1475         * HttpContext.cs: Fixed signature issues and added last methods.
1476         * HttpCookie.cs: Full implementation
1477         * HttpCookieCollection.cs: Full implementation
1478         * TraceContext.cs: Methods implemented.
1479         * HttpPostedFile.cs: Placeholder
1480         * HttpStaticObjectsCollection.cs: Placeholder
1481         * HttpModuleCollection.cs: Ready, will be used during the major revamp.
1482         
1483         * Fixed a number of other small signature problems also (class status page)
1484         
1485         
1486 2002-04-10  Patrik Torstensson <patrik.torstensson@labs2.com>
1487
1488     * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
1489     * Checkin of all new files (noted in last changenote)
1490
1491 2002-04-10  Patrik Torstensson <patrik.torstensson@labs2.com>
1492
1493     * HttpContext.cs: First implementation (basic support, few methods left to impl)
1494     * HttpException.cs: Partial implementation (basic support)
1495     * HttpHelper.cs: Header parse helper, used by runtime (non public)
1496     * HttpRequest.cs: Implementation (all methods there, not all fully impl)
1497     * HttpRequestStream.cs: Full implementation
1498     * HttpResponse.cs: Partial implementation(almost all methods)
1499     * HttpResponseHeader.cs: Header helper
1500     * HttpResponseStream.cs: Full implementation - Response stream support
1501     * HttpResponseStreamProxy.cs: Implementation - filter support
1502     * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
1503         * HttpServerUtility.cs: Implemented usage of HttpContext for methods
1504                                 and moved encoding functions to HttpUtility.
1505
1506     * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
1507                       added the Attribute encoding functions.
1508
1509     * HttpValueCollection.cs: Implementation.
1510     * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
1511     * HttpWriter.cs: Implementation (with filter support)    
1512
1513     * HttpFileCollection: Added dummy class (placeholder)
1514     * HttpApplication.cs: Added dummy class (placeholder)
1515     * HttpApplicationState.cs: Added dummy class (placeholder)
1516     * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
1517     * HtttpCachePolicy.cs: Added dummy class (placeholder)
1518     * HttpClientCertificate.cs: Added dummy class (placeholder)
1519     * HttpSessionState.cs: Added dummy class (placeholder)
1520     * TraceContext.cs: Added dummy class (placeholder)
1521     
1522
1523 2002/04/10  Nick Drochak <ndrochak@gol.com>
1524
1525         * HttpServerUtility.cs: Fix build breaker.
1526
1527 2002-03-28  Wictor WilĂ©n  <wictor@iBizkit.se>
1528
1529         * HttpServerUtils.cs : Added some more functionality
1530         
1531 2002-03-28  Martin Baulig  <martin@gnome.org>
1532
1533         * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
1534         char to a string, use ToString() instead.
1535
1536 2002-03-16  Gaurav Vaish  <gavish@iitk.ac.in>
1537
1538         * WebCategoryAttribute.cs
1539                                : Added private attribute.
1540
1541 2002-03-16  Gaurav Vaish  <gavish@iitk.ac.in>
1542
1543         * HttpRuntime.cs       : Stubbed methods for
1544                   FormatStringResource(...) in agreement with the various
1545                   overloads available at String.Format(...)
1546
1547 2002-01-08  Gaurav Vaish  <gavish@iitk.ac.in>
1548
1549         * TODOAttribute.cs     : Added, as an internal class to the assembly
1550
1551 2002-01-03  Nick Drochak  <ndrochak@gol.com>
1552
1553         * HttpRuntime.cs: remove uneeded exception variable from catch and
1554         initialize remaining instance members to avoid compile warnings
1555
1556 2002-01-02  Nick Drochak  <ndrochak@gol.com>
1557
1558         * HttpRuntime.cs: fix spelling error/variable name change.
1559
1560 2001-12-18  Gaurav Vaish <gvaish@iitk.ac.in>
1561
1562         * HttpRuntime.cs       : Initial implementation
1563
1564 2001-08-29  Bob Smith  <bob@thestuff.net>
1565
1566         * HttpWorkerRequest.cs: Partial Implementation.
1567
1568 2001-08-16  Bob Smith  <bob@thestuff.net>
1569
1570          * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
1571
1572 2001-08-09  Bob Smith  <bob@thestuff.net>
1573
1574          * BeginEventHandler.cs: Implemented.
1575          * EndEventHandler.cs: Implemented.
1576          * HttpCacheability.cs: Implemented.
1577          * HttpCacheRevalidation.cs: Implemented.
1578          * HttpCacheValidateHandler.cs: Implemented.
1579          * HttpCookieCollection.cs: Implemented.
1580          * HttpCookie.cs: Implemented.
1581          * HttpValidationStatus.cs: Implemented.
1582          * HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
1583          * IHttpAsyncHandler.cs: Implemented.
1584          * IHttpHandler.cs: Implemented.
1585          * IHttpHandlerFactory.cs: Implemented.
1586          * IHttpModule.cs: Implemented.
1587          * ProcessShutdownReason.cs: Implemented.
1588          * ProcessStatus.cs: Implemented.
1589          * TraceMode.cs: Implemented.