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