2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web / ChangeLog
1 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2
3         * HttpCookie.cs: send 'expires' in the header.
4
5 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6
7         * HttpValueCollection.cs: patch from Botjan Vizin 
8         <bostjan.vizin@siol.net> that implements ToString (bool).
9
10 2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
11
12         * HttpApplicationFactory.cs: add the context as parameter when building
13         the application Type.
14         
15         * HttpCookie.cs: new internal constructor.
16         * HttpCookieCollection.cs: new internal method to make a cookie expire.
17
18         * HttpRequest.cs: MapPath fixes.
19         * HttpResponse.cs: implemented ApplyAppPathModifier.
20         * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
21
22 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
23
24         * HttpContext.cs: hack to create a default user when there's no one.
25         Implemented GetConfig (string).
26
27         * HttpRequest.cs: fixes to MapPath (string).
28
29 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
30
31         * HttpRuntime.cs: avoid nulls and exception when getting resource
32         format strings.
33
34         * StaticFileHandler.cs: added file name to error message.
35
36 2002-12-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
37
38         * HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
39
40 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
41
42         * HttpApplicationFactory.cs: get the events from the application class,
43         fire Application/Session Start/End and add the others as application
44         events.
45
46 2002-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
47
48         * HttpApplicationFactory.cs: compile global.asax file if it exists.
49
50 2002-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
51
52         * HttpRequest.cs: provide a default Browser until we detect it.
53         * HttpResponse.cs:
54         (End): do not close the connection here.
55         (Flush (bool)): send the headers when, for example, Redirect () is
56         called.
57
58 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
59
60         * HttpException.cs: simple error output.
61
62 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
63
64         * HttpApplication.cs: style.
65         * HttpException.cs: style.
66         * HttpRuntime.cs: only flush the response if there are no errors.
67         Otherwise, write an error output.
68         * HttpWriter.cs: change Unicode to UTF8.
69
70 2002-11-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
71
72         * HttpApplication.cs: don't begin the request using ExecuteNextAsync
73         (it fails to work on NetServ).
74
75         * HttpWorkerRequest.cs: typo.
76
77 2002-11-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
78
79         * HttpValueCollection.cs: the value may contain trailing '=' as it is
80         UrlEncoded. Don't split name=value based on '='.
81
82 2002-11-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
83
84         * HttpCookie.cs: made GetCookieHeader internal.
85
86         * HttpRequest.cs: get cookies from request.
87
88         * HttpResponse.cs: send cookies. Implemented
89         AddFileDependencies (). Added check for _Writer == null in Flush
90         (Patrik ;-). Clear the content if HEAD or SupressContent == true.
91         Removed redirect hack used in old server.
92
93 2002-10-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
94
95         * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
96         most ContentLength bytes.
97
98         * HttpResponse.cs: now it sends the headers. Added
99         X-Powered-By header :-).
100
101         * HttpRuntime.cs: fixed typo.
102
103         * HttpValueCollection.cs: cosmetic changes.
104
105 2002-10-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
106
107         * HttpApplication.cs: reenabled a few lines of code
108         (ThreadPool already fixed). 
109         
110         * HttpRequest.cs:
111         * HttpResponse.cs:
112         * HttpUtility.cs:
113         * HttpValueCollection.cs:
114         * HttpWriter.cs: Use WebEncoding.Encoding.
115
116 2002-10-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
117
118         * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
119         This fixes sending bytes and allows mixing byte with chars.
120
121 2002-10-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
122
123         * HttpResponse.cs: implemented WriteFile methods.
124         * MimeTypes.cs: removed duplicated entries.
125
126 2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
127
128         * HttpResponse.cs: don't throw exception in a couple of
129         methods not yet implemented.
130
131 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
132
133         * HttpApplication.cs: fixed type and handle factories when creating
134         IHttpHandler for a request.
135
136 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
137
138         * HttpApplication.cs: use handlers from configuration.
139         * HttpContext.cs: get handlers from ConfigurationSettings.
140
141 2002-10-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
142
143         * HttpMethodNotAllowedHandler.cs:
144         * HttpRuntime.cs:
145         * StaticFileHandler.cs: Modified file.
146
147         * HttpUtility.cs: implemented all missing methods.
148
149
150 2002-09-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
151
152         * System.Web/HttpApplication.cs: use the static file handler.
153         * System.Web/HttpForbiddenHandler.cs: handler to forbid access.
154         * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
155         allowed.
156         
157         * System.Web/HttpUtility.cs: finished all UrlDecode methods.
158         * System.Web/MimeTypes.cs: map from file extension to MIME type.
159         * System.Web/StaticFileHandler.cs: serves static files
160
161 2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
162
163         * System.Web/HttpApplication.cs:
164         * System.Web/HttpApplicationFactory.cs:
165         * System.Web/HttpRequest.cs:
166         * System.Web/HttpRuntime.cs: we are now able to compile pages and use
167         HttpApplication, HttpRuntime and SimpleWorkerRequest.
168
169 2002-09-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
170
171         * HttpApplication.cs: added some missing methods.
172         * HttpApplicationFactory.cs: get event handlers for the application.
173         * HttpAsyncResult.cs: little fixes.
174         * HttpRequest.cs: make Encoding work even with no worker request.
175
176 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
177
178         * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
179         to add HttpMapPath to the list file...
180
181 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
182
183         * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
184         report when i get a test case.
185
186 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
187
188         * HttpApplicationFactory.cs:
189         * HttpCachePolicy.cs:
190         * HttpResponseHeader.cs:
191         * HttpResponseStream.cs:
192         * HttpResponseStreamProxy.cs:
193         * HttpValueCollection.cs: misc. fixes based on class status page.
194
195         * IHttpMapPath.cs: New file.
196
197         * HttpRequest.cs: implemented ContentEncoding.
198         * HttpWorkerRequest.cs: mono-stylized and implemented
199         SendResponseFromMemory.
200
201 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
202
203         * HttpContext.cs: reformatted.
204         * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
205         the indexer.
206
207 2002-08-05  Patrik Torstensson <ptorsten@hotmail.com>
208
209         * HttpApplication.cs: Implemented a state machine to allow handling of
210         HttpModules and HttpHandlers. Implementation of async handlers. 
211                                                                  
212         * HttpApplicationFactory.cs: Factory for creating HttpApplication
213         instances, including caching.
214         
215         * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
216         application instance to execute requests in and implementation of 
217         request execution (still no request queue). 
218                                                          
219         * HttpAsyncResult.cs: New file to handle async module results.                                          
220                                                          
221         * HttpRequest.cs: Change signature of Dispose
222         * HttpResponse.cs: new internal method allowing filtering to happen
223         during the request flow in the state machine.
224
225 2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
226
227         * HttpApplication.cs: events were not being initialized.
228
229 2002-07-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
230
231         * ProcessModelInfo.cs: fixed compilation.
232
233 2002-07-25  Tim Coleman <tim@timcoleman.com>
234         * ProcessModelInfo.cs:
235                 New class added
236         * HttpParseException.cs:
237         * HttpCompileException.cs:
238         * HttpUnhandledException.cs:
239                 Internal constructors added to these
240
241 2002-07-24  Tim Coleman <tim@timcoleman.com>
242         * ProcessInfo.cs: 
243                 Fix constructor, reference to shutdownreason.
244
245 2002-07-24  Tim Coleman <tim@timcoleman.com>
246         * HttpCachePolicy.cs:
247                 Added stubbs to this class.
248         * HttpCacheability.cs:
249         * HttpCacheRevalidation.cs:
250         * HttpValidationStatus.cs:
251         * ProcessShutdownReason.cs:
252         * ProcessStatus.cs:
253         * TraceMode.cs:
254                 Reorder the enumerations (and in some cases make
255                 one-based) in order to agree with the .NET 
256                 implementation, based on the class status page.
257         * ProcessInfo.cs:
258                 Implementation of this class.
259
260 2002-07-23  Tim Coleman <tim@timcoleman.com>
261         * HttpCompileException.cs:
262         * HttpParseException.cs:
263         * HttpUnhandledException.cs:
264                 New stubbs created.
265         * HttpApplication.cs:
266         * HttpBrowserCapabilities.cs:
267                 Added missing methods stubbs and attributes based
268                 on the class status page.  Also reformatted some
269                 source for consistency.
270
271 2002-07-23  Tim Coleman <tim@timcoleman.com>
272         * HttpUtility.cs: Moved entities hashtable into main
273                 class as a static object, so we don't instantiate
274                 a new one every time.  Also put the hashtable
275                 building into a lock block.
276
277 2002-07-22  Tim Coleman <tim@timcoleman.com>
278         * HttpUtility.cs: Cleanup of the code, implementation
279                 of HtmlDecode/HtmlEncode functions
280
281 2002-07-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
282
283         * HttpResponse.cs: quick&dirty hack to make redirection work. Should
284         be out of there once we have SimpleWorkerRequest.
285
286 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
287
288         * HttpUtility.cs: little typo, big headache.
289
290 2002-07-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
291
292         * HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
293
294 2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
295
296         * System.Web/HttpResponse.cs: 
297
298         Fixes based on class status page:
299         
300                 - Add attributes (DefaultEvent, ParseChildren).
301                 - Fix declarations.
302                 - Explicitly implement some interfaces (IPostBackDataHandler
303                 and IPostBackEventHandler).
304                 - Implemented some missing methods.
305
306 2002-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
307
308         * HttpContext.cs:
309         (Session): return null instead of throwing an exception.
310
311         * HttpRequest.cs:
312         (HttpMethod): return RequestType if not set.
313         (GetRawContent): return QueryString if we don't have a
314         HttpWorkerRequest.
315
316         * HttpUtility.cs: fixed Decode and Encode.
317
318 2002-06-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
319
320         * HttpApplication.cs:
321         * HttpContext.cs: added System.Web.SessionState namespace.
322
323         * HttpSessionState.cs: removed. It is under
324         System.Web.SessionState.
325
326 2002-06-10  Duncan Mak  <duncan@ximian.com>
327
328         * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
329
330 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
331
332         * HttpRequest.cs: implemented Browser property.
333
334 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
335
336         * HttpBrowserCapabilities.cs: stubbed out.
337
338 2002-05-18  Miguel de Icaza  <miguel@ximian.com>
339
340         * HttpRuntime.cs: Reformat file.
341
342 2002-05-07  Duncan Mak  <duncan@ximian.com>
343
344         * HttpBrowserCapabilities.cs: Added, replacing
345         HttpBrowserCapabilites because of typo.
346
347         * HttpBrowserCapabilites.cs: Removed, replaced by above.
348
349         * HttpRequest.cs (Browser): Fixed typo.
350
351 2002-04-12  Patrik Torstensson <patrik.torstensson@labs2.com>
352
353         * HttpApplication.cs: Minor updates
354         * HttpApplicationState.cs: Ready.
355         * HttpClientCertificate.cs: Signature updates
356         * HttpValueCollection.cs: ready
357         * HttpStaticObjectsCollection.cs: ready
358         * HttpResponseHeader.cs: made internal only
359         * HttpResponse.cs: Signature updates
360         * HttpPostedFile.cs: ready
361         * HttpCacheVaryByHeaders.cs: ready (except communication to policy)
362         * HttpCacheVaryByParams.cs: ready (except communication to policy)
363         
364         System.Web is now over 60% ready.. 
365
366 2002-04-11  Patrik Torstensson <patrik.torstensson@labs2.com>
367
368         * HttpException.cs: 95% ready, only windows dependent code left
369         * HttpFileCollection.cs: Finished.
370         * HttpRequest.cs: Minor fixes and fixed signature problems
371         * HttpResponse.cs: Implementation of missing methods and signature problems
372         * HttpResponseHeader.cs: Fixed signature problems
373         * HttpRuntime.cs: Fixed signature problems
374         * HttpServerUtility.cs: Added support for HttpApplication
375         * HttpSessionState.cs: Fixed signature issues
376         * HttpUtility.cs: fixed signature issues
377         * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
378         * HttpWorkerRequest.cs: Fixed small signature issue
379         * HttpWriter.cs: Fixed signature issue
380         * HttpApplication.cs: Basic implementation
381         * HttpApplicationState.cs: Small fixes to support major change comming up
382         * HttpBrowserCapabilities.cs: Added Type method
383         * HttpClientCertificate.cs: Almost ready, needs to parse certificate.
384         * HttpContext.cs: Fixed signature issues and added last methods.
385         * HttpCookie.cs: Full implementation
386         * HttpCookieCollection.cs: Full implementation
387         * TraceContext.cs: Methods implemented.
388         * HttpPostedFile.cs: Placeholder
389         * HttpStaticObjectsCollection.cs: Placeholder
390         * HttpModuleCollection.cs: Ready, will be used during the major revamp.
391         
392         * Fixed a number of other small signature problems also (class status page)
393         
394         
395 2002-04-10  Patrik Torstensson <patrik.torstensson@labs2.com>
396
397     * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
398     * Checkin of all new files (noted in last changenote)
399
400 2002-04-10  Patrik Torstensson <patrik.torstensson@labs2.com>
401
402     * HttpContext.cs: First implementation (basic support, few methods left to impl)
403     * HttpException.cs: Partial implementation (basic support)
404     * HttpHelper.cs: Header parse helper, used by runtime (non public)
405     * HttpRequest.cs: Implementation (all methods there, not all fully impl)
406     * HttpRequestStream.cs: Full implementation
407     * HttpResponse.cs: Partial implementation(almost all methods)
408     * HttpResponseHeader.cs: Header helper
409     * HttpResponseStream.cs: Full implementation - Response stream support
410     * HttpResponseStreamProxy.cs: Implementation - filter support
411     * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
412         * HttpServerUtility.cs: Implemented usage of HttpContext for methods
413                                 and moved encoding functions to HttpUtility.
414
415     * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
416                       added the Attribute encoding functions.
417
418     * HttpValueCollection.cs: Implementation.
419     * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
420     * HttpWriter.cs: Implementation (with filter support)    
421
422     * HttpFileCollection: Added dummy class (placeholder)
423     * HttpApplication.cs: Added dummy class (placeholder)
424     * HttpApplicationState.cs: Added dummy class (placeholder)
425     * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
426     * HtttpCachePolicy.cs: Added dummy class (placeholder)
427     * HttpClientCertificate.cs: Added dummy class (placeholder)
428     * HttpSessionState.cs: Added dummy class (placeholder)
429     * TraceContext.cs: Added dummy class (placeholder)
430     
431
432 2002/04/10  Nick Drochak <ndrochak@gol.com>
433
434         * HttpServerUtility.cs: Fix build breaker.
435
436 2002-03-28  Wictor WilĂ©n  <wictor@iBizkit.se>
437
438         * HttpServerUtils.cs : Added some more functionality
439         
440 2002-03-28  Martin Baulig  <martin@gnome.org>
441
442         * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
443         char to a string, use ToString() instead.
444
445 2002-03-16  Gaurav Vaish  <gavish@iitk.ac.in>
446
447         * WebCategoryAttribute.cs
448                                : Added private attribute.
449
450 2002-03-16  Gaurav Vaish  <gavish@iitk.ac.in>
451
452         * HttpRuntime.cs       : Stubbed methods for
453                   FormatStringResource(...) in agreement with the various
454                   overloads available at String.Format(...)
455
456 2002-01-08  Gaurav Vaish  <gavish@iitk.ac.in>
457
458         * TODOAttribute.cs     : Added, as an internal class to the assembly
459
460 2002-01-03  Nick Drochak  <ndrochak@gol.com>
461
462         * HttpRuntime.cs: remove uneeded exception variable from catch and
463         initialize remaining instance members to avoid compile warnings
464
465 2002-01-02  Nick Drochak  <ndrochak@gol.com>
466
467         * HttpRuntime.cs: fix spelling error/variable name change.
468
469 2001-12-18  Gaurav Vaish <gvaish@iitk.ac.in>
470
471         * HttpRuntime.cs       : Initial implementation
472
473 2001-08-29  Bob Smith  <bob@thestuff.net>
474
475         * HttpWorkerRequest.cs: Partial Implementation.
476
477 2001-08-16  Bob Smith  <bob@thestuff.net>
478
479          * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
480
481 2001-08-09  Bob Smith  <bob@thestuff.net>
482
483          * BeginEventHandler.cs: Implemented.
484          * EndEventHandler.cs: Implemented.
485          * HttpCacheability.cs: Implemented.
486          * HttpCacheRevalidation.cs: Implemented.
487          * HttpCacheValidateHandler.cs: Implemented.
488          * HttpCookieCollection.cs: Implemented.
489          * HttpCookie.cs: Implemented.
490          * HttpValidationStatus.cs: Implemented.
491          * HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
492          * IHttpAsyncHandler.cs: Implemented.
493          * IHttpHandler.cs: Implemented.
494          * IHttpHandlerFactory.cs: Implemented.
495          * IHttpModule.cs: Implemented.
496          * ProcessShutdownReason.cs: Implemented.
497          * ProcessStatus.cs: Implemented.
498          * TraceMode.cs: Implemented.