New tests, update
[mono.git] / mcs / class / System.Web / System.Web.Hosting / ChangeLog
1 2007-11-03  Gert Driesen  <drieseng@users.sourceforge.net>
2
3         * ApplicationHost.cs: On 2.0, also make PrivateBinPath an absolute
4         paths on Windows (and on systems using MONO_IOMAP).
5
6 2007-11-03  Marek Habersack  <mhabersack@novell.com>
7
8         * ApplicationHost.cs: AppDomainSetup.PrivateBinPath is a list of
9         full paths on 2.0.
10
11 2007-10-24  Marek Habersack  <mhabersack@novell.com>
12
13         * ApplicationHost.cs: ignore exceptions resulting from the attempt
14         to delete a stamp directory in CreateApplicationHost. It is safe
15         to do so, since the code inside the loop serves the only purpose
16         to create the asp.net temporary directory if the filesystem
17         permissions allow it. If the directory has been deleted by some
18         other thread, that's ok.
19
20 2007-10-17  Marek Habersack  <mhabersack@novell.com>
21
22         * ApplicationHost.cs: introduce an application domain data item to
23         allow checks for whether System.Web code runs inside a hosted
24         application or in a stand-alone one.
25         Made the array of web.config name variations an internal one, to
26         be used from within configuration code.
27
28 2007-08-24  Marek Habersack  <mhabersack@novell.com>
29
30         * ApplicationHost.cs: use ; as the separator with PrivateBinPath.
31
32 2007-08-23  Marek Habersack  <mhabersack@novell.com>
33
34         * ApplicationHost.cs: set AppDomainSetup.PrivateBinPath to "bin"
35         if running on Windows or with MONO_IOMAP in effect, and to
36         "Bin:bin" otherwise.
37
38 2007-08-21  Marek Habersack  <mhabersack@novell.com>
39
40         * ApplicationHost.cs: AppDomainSetup.PrivateBinPath should contain
41         a list of paths relative to AppDomainSetup.ApplicationBase, not a
42         full path.
43         We no longer check if the bin directories exist, the user can
44         create them while the application is running.
45
46 2007-07-21  Marek Habersack  <mhabersack@novell.com>
47
48         * ApplicationHost.cs: ClearDynamicBaseDirectory becomes an
49         internal method.
50
51 2007-07-12  Marek Habersack  <mhabersack@novell.com>
52
53         * HostingEnvironment.cs: allow relative paths to be
54         passed. Matches both MSDN and the MS.NET behavior. Fixes bug
55         #82061.
56
57 2007-05-09 Igor Zelmanovich <igorz@mainsoft.com>
58
59         * ApplicationHost.cs:
60         added MonoNotSupported attribute for TARGATE_JVM.       
61
62 2007-04-13  Marek Habersack  <mhabersack@novell.com>
63
64         * ApplicationHost.cs: clear the dynamic base directory before
65         creating the host. Fixes bug #80635
66
67 2007-04-05  Marek Habersack  <mhabersack@novell.com>
68
69         * ApplicationHost.cs: make ApplicationName/domain id really
70         unique.
71
72 2007-02-21  Marek Habersack  <grendello@gmail.com>
73
74         * ApplicationHost.cs: support both Bin and bin directories, prefer
75         the former.
76
77 2007-02-19  Marek Habersack  <grendello@gmail.com>
78
79         * ApplicationHost.cs: Use a deterministic application name, so
80         that the temporary location is always in the same place for the
81         given app.
82
83 2007-01-30  Marek Habersack  <grendello@gmail.com>
84
85         * ApplicationHost.cs: Define AppDomain data item "DataDirectory" - used
86         by the ADO.NET |DataDirectory| connection string placeholder. Present
87         by default in MS.NET.
88
89 2007-01-20  Miguel de Icaza  <miguel@novell.com>
90
91         * ApplicationManager.cs: Remove unused variable.
92         (ShutdownAll) remove unused variables.
93
94         * ApplicationHost.cs: Protect create_dir lock 
95
96 2007-01-19  Marek Habersack  <grendello@gmail.com>
97
98         * SimpleWorkerRequest.cs: If path is empty, return the physical
99         application directory. Fixes bug #80544.
100
101 2007-01-17  Adar Wesley <adarw@mainsoft.com>
102
103         * ApplicationHost.cs: tweaking CreateApplicationHost to throw the 
104         right exceptions so the tests will pass.
105
106 2007-01-11  Adar Wesley <adarw@mainsoft.com>
107
108         * ApplicationHost.cs: fixed AppDomain initialization of physical
109         path to be in file system semantics
110
111 2006-12-22  Marek Habersack  <grendello@gmail.com>
112
113         * HostingEnvironment.cs: implemented the SetCultures methods.
114
115 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
116
117         * ServletWorkerRequest.cs: fixed:
118         Path.Combine is used in GetFilePathTranslated to consider 
119         platform-depended PathSeparator char.
120
121 2006-12-07  Vladimir Krasnov  <vladimirk@mainsoft.com>
122
123         * ServletWorkerRequest.jvm.cs: fixed request uri unescaping in
124         ServletWorkerRequest ctor
125
126 2006-11-24  Miguel de Icaza  <miguel@novell.com>
127
128         * ApplicationHost.cs: In 2.0, as Todd reports the default is
129         "Web.Config", try that before we tell people to use MONO_IOMAP=all ;-)
130
131 2006-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
132
133         * ApplicationHost.cs: the new Directory code throws if the directory
134         exists, so handle that as gracefully as possible.
135
136 2006-08-23 Konstantin Triger <kostat@mainsoft.com>
137
138         * ServletWorkerRequest.jvm.cs: fix default page resolution.
139
140 2006-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
141
142         * BareApplicationHost.cs:
143         * ApplicationManager.cs: remove unloaded domains.
144
145 2006-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
146
147         * SimpleWorkerRequest.cs: use UrlUtils instead of Path. Several fixes
148         to make PathInfo + SimpleWorkerRequest work as in MS.
149
150 2006-03-15  Vladimir Krasnov  <vladimirk@mainsoft.com>
151
152         * ServletWorkerRequest.jvm.cs: fixed ctor, UrlDecode applied on 
153         requested url
154         fixed GetRawUrl, removed protocol, hostname and port
155         fixed GetUriPath, _requestUri is always initialized
156
157 2006-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
158
159         * ApplicationHost.cs: ShadowCopyDirectories is not a URL. Set
160         PrivateBinPath to the same value.
161
162 2006-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
163
164         * BareApplicationHost.cs: initialize paths from AppDomain data. New
165         GetCodeGenDir().
166         * ApplicationHost.cs: in 2.0 the physical path is turned into an
167         absolute path.
168
169 2006-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
170
171         * ApplicationManager.cs: new internal method to create/reuse a
172         BareApplicationHost from ClientBuildManager.
173
174 2006-02-28  Chris Toshok  <toshok@ximian.com>
175
176         * IAppDomainFactory.cs: corcompare work.
177
178         * IAppManagerAppDomainFactory.cs: same
179
180         * IISAPIRuntime.cs: same.
181
182 2006-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
183
184         * ApplicationManager.cs: implemented ShutdownAll().
185         * HostingEnvironment.cs: remove MonoTODO.
186
187 2006-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
188
189         * BareApplicationHost.cs: class used as an entry point into each
190         application domiain from the ApplicationManager.
191         * ApplicationManager.cs: implemented most of the remaining methods.
192         * HostingEnvironment.cs: object handling methods are now implemented.
193
194 2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
195
196         * DefaultVirtualPathProvider.cs: add some comments/TODO.
197         * HostingEnvironment.cs: initialize the default value for
198         VirtualPathProvider.
199
200 2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
201
202         * HostingEnvironment.cs: MapPath is done.
203
204 2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
205
206         * DefaultVirtualDirectory.cs: implemented missing bits.
207         * DefaultVirtualFile.cs: fix ctor scope.
208         * DefaultVirtualPathProvider.cs: implemented GetFile and GetDirectory.
209
210 2006-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
211
212         * DefaultVirtualDirectory.cs:
213         * DefaultVirtualPathProvider.cs:
214         * VirtualFile.cs:
215         * DefaultVirtualFile.cs: almost done with the default
216         VirtualPathProvider which just maps to on-disk directories/files.
217
218 2006-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
219
220         * SimpleWorkerRequest.cs: implemented RootWebConfigPath.
221         * HostingEnvironment.cs: implemented RegisterVirtualPathProvider and
222         a few other defaults.
223
224 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
225
226         * AppManagerAppDomainFactory.cs: stubbed out.
227
228         * ApplicationInfo.cs:
229         * ApplicationManager.cs: add 2 new classes.
230
231 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
232
233         * VirtualPathProvider.cs: implemented OpenFile.
234         * VirtualFile.cs: removed stuff cut&pasted from VirtualDirectory.
235
236         * SimpleWorkerRequest.cs: 
237         * HostingEnvironment.cs: class status fixes.
238
239 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
240
241         * IProcessHostFactoryHelper.cs:
242         * IProcessPingCallback.cs:
243         * IProcessHost.cs:
244         * IProcessHostSupportFunction.cs:
245         * IHttpWorkerRequestHandler.cs:
246         * IQueueHost.cs:
247         * IApplicationHost.cs: removed all this. They are not longer part of the
248         public API.
249
250 2006-01-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
251
252         * VirtualDirectory.cs:
253         * VirtualPathProvider.cs:
254         * VirtualFileBase.cs:
255         * VirtualFile.cs: implemented this base classes.
256
257         * HostingEnvironment.cs: implemented a few properties by using the ones
258         in HttpRuntime.
259
260 2006-01-24  Konstantin Triger <kostat@mainsoft.com>
261
262         * ServletWorkerRequest.jvm.cs: convert .invoke requests to PathInfo,
263                 remove ToUpper usage.
264
265 2006-01-19  Konstantin Triger <kostat@mainsoft.com>
266
267         * ServletWorkerRequest.jvm.cs: refactoring.
268
269 2005-11-28  Robert Jordan  <robertj@gmx.net>
270
271         * SimpleWorkerRequest.cs: fixed MapPath () for the case
272         app_virtual_dir.Length == 1 && path.Length == 1.
273         * SimpleWorkerRequest.cs: implemented SendResponseFromMemory ().
274
275 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
276
277         * ApplicationHost.cs: make this work with paths that that
278         contain non-ASCII characters. Fixes bug #76807.
279
280 2005-11-02  Chris Toshok  <toshok@ximian.com>
281
282         * HostingEnvironment.cs: completely NIE'ed implementation of
283         HostingEnvironment, just to get an MS example provider to compile.
284
285 2005-11-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
286
287         * ApplicationHost.cs: use the AbsolutePath from the Uri to remove the
288         schema prefix if present.
289
290 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
291
292         * SimpleWorkerRequest.cs: all tests pass now.
293
294 2005-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
295
296         * ApplicationHost.cs: append a directory separator char to the physical
297         path. Fixes bug #76187.
298
299 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
300
301         * SimpleWorkerRequest.cs: fix GetUriPath() for paths ending in '/'.
302
303 2005-09-10  Sebastien Pouliot  <sebastien@ximian.com>
304
305         * AppDomainFactory.cs: Added LinkDemand for Minimal. Added Demand for
306         UnmanagedCode on ctor. Added TODO on unimplemented method.
307         * ApplicationHost.cs: Added LinkDemand for Minimal. Added Demand for 
308         UnmanagedCode on ctor. Removed duplicate null checks.
309         * ISAPIRuntime.cs: Fixed inheritance (added MarshalByRefObject and 
310         IRegisteredObject) for 2.0. Added LinkDemand for Minimal. Added Demand 
311         for UnmanagedCode on ctor.
312         * SimpleWorkerRequest.cs: Added LinkDemand and InheritanceDemand (not
313         sealed) for Minimal. Added Demands for UnmanagedCode on ctors. Added
314         FileIOPermission for PathDiscovery before returning processed paths.
315
316 2005-09-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
317
318         * ApplicationHost.cs: set the domain's DynamicBase property instead of
319         guessing it in BaseCompiler.
320
321 2005-09-08  Eyal Alalouf  <eyala@mainsoft.com>
322         * ServletWorkerRequest.jvm.cs: Implement SendResponseFromFile
323
324 2005-07-24  Eyal Alalouf  <eyala@mainsoft.com>
325         * ServletWorkerRequest.jvm.cs: Put Console.WriteLine in #if DEBUG
326
327 2005-07-18  Eyal Alalouf  <eyala@mainsoft.com>
328
329         * Added ServletWorkerRequest.jvm.cs
330
331 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
332
333         * IISAPIRuntime.cs: GUID changed.
334
335 2004-08-03  Atsushi Enomoto  <atsushi@ximian.com>
336
337         * IApplicationHost.cs : missing namespace import.
338
339 2004-08-02  Duncan Mak  <duncan@ximian.com>
340
341         * IApplicationHost.cs (MapPath): Add [In] attribute.
342
343         * IAppManagerAppDomainFactory.cs:
344         * IProcessHostSupportFunction.cs: signature fixes.
345         
346 2004-08-02  Duncan Mak  <duncan@ximian.com>
347
348         * IApplicationHost.cs:
349         * IHttpWorkerRequestHandler.cs:
350         * IProcessHost.cs:
351         * IProcessHostFactoryHelper.cs:
352         * IProcessHostSupportFunction.cs:
353         * IProcessPingCallback.cs:
354         * IQueueHost.cs:
355         * IRegisteredObject.cs: Added interfaces.
356         
357 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
358
359         * IAppDomainFactory.cs: added missing marshalling attributes
360         * IISAPIRuntime.cs: added missing marshalling attributes
361
362 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
363
364         * AppDomainFactory.cs: set the Dynamic base for the AppDomain.
365
366 2004-03-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
367
368         * SimpleWorkerRequest.cs: patch from Aleksey Demakov that fixes
369         MapPath when the virtual directory is the root virtual directory.
370
371 2004-01-14  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
372
373         * IISAPIRuntime.cs: Fixed wrong attribute
374
375 2004-01-11  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
376
377         * SimpleWorkerRequest.cs: Added missing attribute
378         * IISAPIRuntime.cs: Added attributes, fixed signature
379         * IAppDomainFactory.cs: Added attributes, fixed signature
380
381 2003-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
382
383         * ApplicationHost.cs: set hostingInstallDir.
384         * SimpleWorkerRequest.cs: implemented a couple of properties.
385
386 2003-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
387
388         * SimpleWorkerRequest.cs: fixed GetFilePathTranslated and added a
389         paranoid condition to ExtractPathInfo.
390
391 2003-06-25  Eric Lindvall <eric@5stops.com>
392
393         * SimpleWorkerRequest.cs: 
394                 -adds PATH_INFO support
395                 - updates GetFilePathTranslated() to make use of Path.Combine()
396                 - gets rid of the null check in GetPathInfo() (we're setting
397                 _PathInfo to String.Empty now)
398                 - fixed CreatePath() so that it doesn't return String.Empty if
399                   the _AppVirtualPath is not "/" (to match MS runtime -- does
400                   anyone know why it was returning String.Empty?)
401
402 2003-03-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
403
404         * AppDomainFactory.cs: hacks to work-around our buggy System.Uri.
405
406 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
407        
408         * AppDomainFactory.cs: place the correct full path for Web.config when
409         in Application host
410
411 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
412
413         * AppDomainFactory.cs: Web.config takes precedence over web.config.
414
415         * ApplicationHost.cs: removed hacks to work around an old bug.
416
417 2003-02-04  Tim Haynes <thaynes@openlinksw.com>
418
419         * SimpleWorkerRequest.cs: changed the initialised values of
420         _App{Install,Virtual}Path variables
421
422 2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
423
424         * System.Web.Hosting/SimpleWorkerRequest.cs: we are now able to compile
425         pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
426
427 2002-09-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
428
429         * ApplicationHost.cs:
430         * SimpleWorkerRequest.cs: workaround for bug #31245. 
431
432 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
433
434         * ApplicationHost.cs: little fixes.
435
436 2002-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
437
438         * ApplicationHost.cs: use Assembly instead of Module.
439
440 2002-08-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
441
442         * AppDomainFactory.cs: implemented.
443         * ApplicationHost.cs: implemented.
444         * SimpleWorkerRequest.cs: a few little fixes and reformatted. It's now
445         fully implemented.
446
447 2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
448
449         * AppDomainFactory.cs:
450         * IAppDomainFactory.cs:
451         * IISAPIRuntime.cs:
452         * ISAPIRuntime.cs: make them compile.
453
454 2002-04-10  Patrik Torstensson <patrik.torstensson@labs2.com>
455
456         * ApplicationHost.cs: Test implementation to support testing.
457         * SimpleWorkerRequest.cs: Rewrite and a almost full implementation.
458
459 2001-08-30  Bob Smith  <bob@thestuff.net>
460
461         * AppDomainFactory.cs: Stubbed.
462         * ApplicationHost.cs: Stubbed.
463         * IAppDomainFactory.cs: Stubbed.
464         * IISAPIRuntime.cs: Stubbed.
465         * ISAPIRuntime.cs: Implemented.
466         * SimpleWorkerRequest.cs: Implemented.