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