Commit Graph
124 Commits
Author SHA1 Message Date
Vladimir Krasnov aff7910664 * WebConfigurationManager.cs: fixed OpenWebConfiguration, should not lock when checking if configuration is already open
svn path=/trunk/mcs/; revision=74721
2007-03-21 10:32:32 +00:00
Konstantin Triger 4de36b8ec4 TARGET_J2EE: enable embedding web.config into a jar
svn path=/trunk/mcs/; revision=74552
2007-03-18 10:24:47 +00:00
Vladimir Krasnov b837ec06d8 * WebConfigurationManager.cs: fixed OpenWebConfiguration, removed GetBasePath call and locations search, since this not affects configuration initialization, but improves performance
svn path=/trunk/mcs/; revision=74342
2007-03-15 10:20:42 +00:00
Marek Habersack fc289fb3a7 2007-03-12 Marek Habersack <[email protected]>
* ProvidersHelper.cs: support loading custom providers from
	App_Code assemblies. Fixes bug #81071.
	Also set eol-style to native.

svn path=/trunk/mcs/; revision=74112
2007-03-12 11:28:02 +00:00
Gert Driesen 7257f2a30c * PagesSection.cs: Revert part of Adar's patch that regresses
bug #80913.

svn path=/trunk/mcs/; revision=73962
2007-03-08 19:34:12 +00:00
Adar Wesley 2e72955753 2007-03-06 Adar Wesley <[email protected]>
* PagesSection.cs: improve Enum parsing and strongly typed default values.


svn path=/trunk/mcs/; revision=73814
2007-03-06 14:39:32 +00:00
Marek Habersack 0f6913f8a5 Make the enableSesionState <pages> attribute values case-sensitive. Fixes bug 80913
svn path=/trunk/mcs/; revision=73770
2007-03-06 00:40:11 +00:00
Marek Habersack 7e8cda0259 Be case-insensitive when looking up compilers
svn path=/trunk/mcs/; revision=73327
2007-02-22 16:54:03 +00:00
Marek Habersack 1a759e0a72 Revert accidental commit - this change is not accepted yet
svn path=/trunk/mcs/; revision=73017
2007-02-16 14:27:17 +00:00
Marek Habersack 6ad6d72642 Fix culture problems of the control compiler System.Web.Compilation/ChangeLog System.Web.Compilation/TemplateControlCompiler.cs
svn path=/trunk/mcs/; revision=73015
2007-02-16 14:23:07 +00:00
Konstantin Triger 58a8f15765 correct default values
svn path=/trunk/mcs/; revision=72416
2007-02-07 14:25:09 +00:00
Konstantin Triger 2b41229fdd Fix element key creation
svn path=/trunk/mcs/; revision=72285
2007-02-05 07:27:28 +00:00
Konstantin Triger fec8f1d5b0 fix the default value
svn path=/trunk/mcs/; revision=72272
2007-02-04 17:23:07 +00:00
Marek Habersack 61df9ff1d2 Fix for bug 80532
svn path=/trunk/mcs/; revision=72245
2007-02-03 21:55:00 +00:00
Miguel de Icaza 6b4c7232fd * SiteMapNode.cs (GetExplicitResourceString): implement.
* HttpContext.cs (GetGlobalResourceObject): remove unused variable.

        * StaticFileHandler.cs (ProcessRequest): remove unused variable.

        * HttpApplication.cs (ProcessError): Remove unused variable.

2007-01-20  Miguel de Icaza  <[email protected]>

        * ClientBuildManager.cs: Remove unused variable (this could be a
        real problem, we never use the appPhysicalTargetDir)

        * AssemblyBuilder.cs: Remove unused field.

        * AppResourceFilesCollection.cs: Remove unused field.

        * TemplateControlCompiler.cs (GetExpressionFromString): Remove
        unused variable.

        * AppResourcesCompiler.cs: Remove unused variable.

        * AppSettingsExpressionBuilder.cs (GetAppSetting): remove unused
        parameter.

        * PageCompiler.cs: Put InternalCreatePageProperty inside the
        NET_2_0 block to eliminate warnings.

2007-01-20  Miguel de Icaza  <[email protected]>

        * HandlerFactoryConfiguration.cs (LoadType): remove unused
        variable.
        (ctor): do not assign parent, we do not use it, keep the code for
        reference.

2007-01-20  Miguel de Icaza  <[email protected]>

        * ApplicationManager.cs: Remove unused variable.
        (ShutdownAll) remove unused variables.

        * ApplicationHost.cs: Protect create_dir lock

2007-01-20  Miguel de Icaza  <[email protected]>

        * SqlRoleProvider.cs: comment out unused code.

        * SqlMembershipProvider.cs: Removed unused variables.
        Remove unused variable.

        * AnonymousIdentificationModule.cs (ClearAnonymousIdentifier):
        remove unused variable.   This might be a real bug.

2007-01-20  Miguel de Icaza  <[email protected]>

        * SessionStateModule.cs: Removed unused variables.

2007-01-20  Miguel de Icaza  <[email protected]>

        * SessionDictionary.cs: Removed unused variable (dirty).

2007-01-20  Miguel de Icaza  <[email protected]>

        * XhtmlTextWriter.cs: comment out unused code.

        * ThemeProvider.cs: comment out unused code.

        * DataSourceView.cs: Comment unused variable.

        * ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
        code

        * Control.cs: Put _templateControl inside the NET_2_0 ifdef

2007-01-20  Miguel de Icaza  <[email protected]>

        * HtmlHead.cs: comment out unused code, in particular metadata is
        commented out because nothing could have triggered its creation.

        * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.

2007-01-20  Miguel de Icaza  <[email protected]>

        * DataControlFieldCollection.cs (RemoveAt): remove unused
        variable.

        * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
        should not show up.

        * RadioButton.cs (RaisePostDataChangedEvent): This method was not
        used in 1.0, so put the whole method in 2.0

2007-01-20  Miguel de Icaza  <[email protected]>

        * WebPart.cs: Remove

        * PersonalizableAttribute.cs: Remove extra API that was wrong as well.

2006-11-28  Miguel de Icaza  <[email protected]>

        * WebPart.cs:

2007-01-20  Miguel de Icaza  <[email protected]>

        * FileUtils.cs (CreateTemporaryFile): Remove unused variable.



svn path=/trunk/mcs/; revision=71399
2007-01-20 22:42:04 +00:00
Konstantin Triger 9f00e7cd30 * ClientTargetSection.cs: refactoring.
* ClientTargetCollection.cs: create ClientTarget with null parameters,
	refactoring.

svn path=/trunk/mcs/; revision=71127
2007-01-16 12:36:20 +00:00
Konstantin Triger bca54a1ea3 Ensure enabled = true by default; cleanup
svn path=/trunk/mcs/; revision=70463
2007-01-04 12:10:20 +00:00
Vladimir Krasnov e7f50d1cf8 * CustomErrorCollection.cs: fixed ThrowOnDuplicate to false as in .net
svn path=/trunk/mcs/; revision=70133
2006-12-27 16:32:50 +00:00
Konstantin Triger 97c7afddd6 return null for global web.config for TARGET_JVM
svn path=/trunk/mcs/; revision=70079
2006-12-26 12:35:20 +00:00
Gonzalo Paniagua Javier 3518d41e7f 2006-12-21 Gonzalo Paniagua Javier <[email protected]>
* GlobalizationSection.cs: make encodings actually work for the 2.0
	profile.


svn path=/trunk/mcs/; revision=69917
2006-12-22 00:49:52 +00:00
Marek Habersack 5dd4bebf9e Implement tag mapping for asp.net 2.0
svn path=/trunk/mcs/; revision=69906
2006-12-21 22:00:50 +00:00
Vladimir Krasnov bd1a37474c * RoleManagerSection.cs: refactored using attributes
svn path=/trunk/mcs/; revision=69871
2006-12-21 16:26:50 +00:00
Marek Habersack 7ecd1fdc01 Forgotten changelogs
svn path=/trunk/mcs/; revision=69830
2006-12-20 18:43:48 +00:00
Marek Habersack c56a42792c Implement support for ProfileCommon class generation
svn path=/trunk/mcs/; revision=69829
2006-12-20 18:41:52 +00:00
Vladimir Krasnov 5625ac6222 * WebConfigurationManager.cs: fixed GetSection to execute GetRuntimeObject, refactored GetSection and GetWebApplicationSection
svn path=/trunk/mcs/; revision=69664
2006-12-18 15:59:16 +00:00
Vladimir Krasnov 0cd237bfa0 * HttpHandlerAction.cs: fixed 'verb' config property
svn path=/trunk/mcs/; revision=69589
2006-12-17 09:20:02 +00:00
Vladimir Krasnov 7e664c9195 * ProfileSection.cs: typo bug
svn path=/trunk/mcs/; revision=69285
2006-12-10 17:05:10 +00:00
Igor Zelmanovich aa38d2278b 2006-12-07 Igor Zelmanovich <[email protected]>
* ProvidersHelper.cs: fixed: load assembles from /bin


svn path=/trunk/mcs/; revision=69193
2006-12-07 17:25:54 +00:00
Miguel de Icaza 8616a7e405 2006-11-28 Miguel de Icaza <[email protected]>
* 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
2006-11-28 22:15:23 +00:00
Miguel de Icaza 7209a6e26f 2006-11-22 Miguel de Icaza <[email protected]>
* SessionStateSection.cs: Do not call Enum.Parse with a null
	argument, prevents an exception from being thrown.

svn path=/trunk/mcs/; revision=68375
2006-11-22 23:44:28 +00:00
Marek Habersack 41d72a967c Changelogs
svn path=/trunk/mcs/; revision=68217
2006-11-20 21:04:02 +00:00
Marek Habersack 630edf9eff Support for automatic culture detection
svn path=/trunk/mcs/; revision=68216
2006-11-20 21:02:22 +00:00
Konstantin Triger f32b219d7a use Type.GetType for loading full qualified types since Assembly.GetType() fails to load them
svn path=/trunk/mcs/; revision=67749
2006-11-13 10:35:51 +00:00
Vladimir Krasnov 992db9da42 * ProfileGroupSettings.cs, ProfileGroupSettingsCollection.cs, ProfilePropertySettingsCollection.cs, ProfileSection.cs, RootProfilePropertySettingsCollection.cs: refactoring and fix of <group> element
svn path=/trunk/mcs/; revision=67377
2006-11-05 14:15:01 +00:00
Miguel de Icaza fefa8b8300 Add LoadType implementation, from #79396, this should be refactored
svn path=/trunk/mcs/; revision=67242
2006-11-01 20:48:06 +00:00
Marek Habersack 58fca48c17 Add support for App_GlobalResources and App_LocalResources
svn path=/trunk/mcs/; revision=66799
2006-10-18 20:30:10 +00:00
Gonzalo Paniagua Javier 0eb1ae7aa2 2006-09-06 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationManager.cs: add null checks. Patch by Marek Habersack
	that fixes bug #79283.


svn path=/trunk/mcs/; revision=65033
2006-09-07 03:16:18 +00:00
Konstantin Triger cbf7754273 do not recourse as this will be done by Configuration object
svn path=/trunk/mcs/; revision=65022
2006-09-06 17:56:41 +00:00
Roei Erez 0f931c3140 corrections for static fields at WebConfigurationManager which are relevant only when running on mainsoft platform (TARGET_j2EE)
svn path=/trunk/mcs/; revision=64476
2006-08-28 15:25:51 +00:00
Konstantin Triger 2c232263cf revert TARGET_JVM ifdef
svn path=/trunk/mcs/; revision=64295
2006-08-24 10:51:12 +00:00
Vladimir Krasnov 9a0b452068 * WebConfigurationManager.cs: added configSystem property under TARGET_JVM part
* WebConfigurationHost.cs: fixed GetStreamName and OpenStreamForRead for TARGET_JVM
* CompilationSection.cs: BuildProviders property removed from TARGET_JVM
* SystemWebSectionGroup.cs: Compilation property removed from TARGET_JVM

svn path=/trunk/mcs/; revision=63495
2006-08-08 16:48:57 +00:00
Atsushi Eno b49b89fafe 2006-06-26 Atsushi Enomoto <[email protected]>
* 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
2006-06-26 04:22:29 +00:00
Chris Toshok 9887d4c832 2006-06-08 Chris Toshok <[email protected]>
* 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
2006-06-08 14:50:38 +00:00
Atsushi Eno feef8c7598 2006-05-18 Atsushi Enomoto <[email protected]>
* 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
2006-05-18 12:53:17 +00:00
Andrew Skiba ab693f5a92 keep the internal exception
svn path=/trunk/mcs/; revision=60490
2006-05-10 06:04:54 +00:00
Chris Toshok d79978b1c2 2006-05-08 Chris Toshok <[email protected]>
* 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
2006-05-08 17:51:37 +00:00
Chris Toshok 58228fbaa3 2006-05-04 Chris Toshok <[email protected]>
[ 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
2006-05-04 19:02:05 +00:00
Chris Toshok 51a0d4ff38 2006-04-27 Chris Toshok <[email protected]>
* 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
2006-04-27 16:48:53 +00:00
Chris Toshok d3efce4e2e * AuthorizationRule.cs (Reset): finally figure out what this
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
2006-04-25 22:12:55 +00:00
Chris Toshok 1de2e66006 * WebConfigurationHost.cs (InitForConfiguration): actually, use
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
2006-04-25 21:50:08 +00:00