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