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