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