* Rationalize the user of MonoTODOs.
- Removed all the TODOs that were only overwritten methods
and had no further information.
- Methods that threw exceptions now have the message "Not
implemnted".
- Methods that return some constant are declared like
that.
- Removed a bunch of stale MonoTODOs that had not been
removed.
svn path=/trunk/mcs/; revision=68620
* NullableStringValidator.cs : new internal class that is almost
identical to StringValidator but allows null value.
* PropertyHelper.cs : use new NullableStringValidator.
* NamespaceCollection.cs : in NamespaceInfo "" is not allowed.
* NullableStringValidatorTest.cs : new aggregated tests for
properties that use PropertyHelper.EmptyStringValidator.
* System.Web.dll.sources : added NullableStringValidator.cs.
* System.Web_test.dll.sources : NullableStringValidatorTest.cs.
svn path=/trunk/mcs/; revision=62052
* WebConfigurationHost.cs (InitForConfiguration): i know this is
going to bite me in the ass, but guard against configPath being ==
to "/", since this will result in an infinite loop.
(MapPath): fix a NRE.
svn path=/trunk/mcs/; revision=61574
* WebConfigurationManager.cs: recent sys.config.dll changes on
ConfigurationManager.GetSection() which should call
GetRuntimeObject() should also apply here. Fixed monodoc web.
svn path=/trunk/mcs/; revision=60816
* WebConfigurationManager.cs (GetBasePath): fix bug where
path.Length was 0 when we got to the last while loop (and indexed
-1 into an array.) Thanks Marek for the fix.
svn path=/trunk/mcs/; revision=60415
[ Fixes bug #78256 ]
* WebConfigurationHost.cs (GetConfigType): add a MonoTODO about
how we should use the build provider machinery to get types.
(MapPath): add rudimentary mapping in the case where we don't have
a request, basically handle the case where the url begins with (or
is) HttpRuntime.AppDomainAppVirtualPath.
* WebConfigurationManager.cs (GetSection): if we don't have a
valid request, open the web configuration corresponding to
HttpRuntime.AppDomainAppVirtualPath.
(GetBasePath): comment this a little, and make it work in the case
where we don't have an HttpRequest.
svn path=/trunk/mcs/; revision=60275
* AuthorizationRuleCollection.cs (ThrowOnDuplicate): for the time
being introduce a overridden property MS doesn't make use of.
This needs readdressing, but it should get people making use of
<authorization> rules working again.
svn path=/trunk/mcs/; revision=59989
method is supposed to do. Assign our Action property based on
parentElement's.
2006-04-25 Chris Toshok <[email protected]>
svn path=/trunk/mcs/; revision=59880
HttpRuntime.AppDomainAppVirtualPath on gonzalo's recommendation.
It's never null, and its use cleans things up a bit.
2006-04-25 Chris Toshok <[email protected]>
svn path=/trunk/mcs/; revision=59878
* WebConfigurationHost.cs (InitForConfiguration): stop going up
the virtual hierarchy once we reach the application's base virtual
path.
svn path=/trunk/mcs/; revision=59876
* AuthorizationSection.cs (IsValidUser): fix a problem that
surfaced when converting from the 1.1 to 2.0 config classes. Only
check for verb match if there are actually verbs to match against.
svn path=/trunk/mcs/; revision=59824
* WebConfigurationHost.cs: fix bug where OpenWebConfiguration
("/") would result in 2 configurations for that toplevel path to
be opened.
svn path=/trunk/mcs/; revision=58491
2006-03-08 Chris Toshok <[email protected]>
* ProvidersHelper.cs: implement this static class properly.
* SiteMapSection.cs (ProvidersInternal): add internal property to
get the actual SiteMapProviderCollection from here.
In System.Web:
2006-03-08 Chris Toshok <[email protected]>
* SiteMap.cs: clean this up a bunch. use the SiteMapSection to
initialize the provider collection, and don't add a provider.
web.config handles that for us. Also, don't always return true
from get_Enabled.
svn path=/trunk/mcs/; revision=57704
* System.Web.Configuration_2.0/Compiler.cs:
* System.Web.Configuration_2.0/CompilerCollection.cs: removed
compatibility code.
* System.Web.Configuration_2.0/BuildProviderCollection.cs: add
GetProviderForExtension().
* System.Web.UI/IThemeResolutionService.cs: this is now added to the
sources file, but some other stuff does not compile yet as the
interface changed after the beta.
* System.Web.UI/ObjectConverter.cs: removed extra attribute.
* System.Web.UI/ObjectStateFormatter.cs: add IStateFormatter for 2.0.
* System.Web.UI/ICallbackEventHandler.cs: update the interface, but
commented the 'good' stuff out, since other files need to be fixed
too.
* System.Web.dll.sources: add new files.
* System.Web.Configuration/CompilationConfiguration.cs:
* System.Web.Configuration/CompilationConfigurationHandler.cs: only
compile these for pre-2.0 assemblies.
* System.Web.Hosting/DefaultVirtualPathProvider.cs: add some
comments/TODO.
* System.Web.Hosting/HostingEnvironment.cs: initialize the
default value for VirtualPathProvider.
* System.Web.Compilation/CompilerType.cs: implemented.
* System.Web.Compilation/AssemblyBuilder.cs: implemented most of it.
* System.Web.Compilation/WebServiceCompiler.cs:
* System.Web.Compilation/CachingCompiler.cs: update 2.0 compiler
instance creation code.
* System.Web.Compilation/ClientBuildManager.cs: implemented some of
its methods. Not yet ready.
* System.Web.Compilation/BuildManager.cs: the more interesting methods
are implemented now.
* System.Web.Compilation/BaseCompiler.cs: delete the temporary files
in case of error.
* System.Web.Compilation/BuildProvider.cs: implemented the
Get*Compiler* protected methods.
svn path=/trunk/mcs/; revision=56781
* ConfigurationElement.cs : ListErrors() and SetPropertyValue()
are protected.
* ConfigurationSection.cs : the .ctor() is protected.
* ConfigurationElementCollection.cs : CollectionType is public.
Count and BaseAdd() are not virtual.
* ConfigurationPropertyCollection.cs : Count is not virtual.
* SettingElementCollection.cs : CollectionType is protected.
* TrustLevelCollection.cs, CodeSubDirectoriesCollection.cs,
CustomErrorCollection.cs, CompilerCollection.cs,
HttpHandlerActionCollection.cs,
FormsAuthenticationUserCollection.cs,
AuthorizationRuleCollection.cs, TagPrefixCollection.cs :
CollectionType is public.
svn path=/trunk/mcs/; revision=56425
* WebConfigurationManager.cs: In the normal case, get the current
request's web.config, not the application's. If there is no
current request, get the application's.
(GetWebApplicationConfiguration): use Request.ApplicationPath, not
Request.PhysicalApplicationPath. OpenWebConfiguration takes
virtual paths.
* HttpConfigurationSystem.cs: GetWebApplicationSection =>
GetSection.
svn path=/trunk/mcs/; revision=56421