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