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