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