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