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