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