Commit Graph
7 Commits
Author SHA1 Message Date
Gert Driesen 34b0b7272c * AppSettingsExpressionBuilder.cs: Improve exception messages. Return
"raw" appsetting value if targetType is null.
* AppSettingsExpressionBuilderTest.cs: Added and improved tests for
GetAppSetting overloads.

svn path=/trunk/mcs/; revision=95322
2008-02-09 10:31:22 +00:00
Vladimir Krasnov 86e69e623f * AppSettingsExpressionBuilder.cs: fixed GetAppSetting, should convert to property type
* added AppSettingsExpressionBuilderTest.cs

svn path=/trunk/mcs/; revision=91832
2007-12-23 14:02:37 +00:00
Juraj Skripsky 1a3b09dcee 2007-12-14 Juraj Skripsky <[email protected]>
* TemplateControlCompiler.cs (AddExpressionAssign):
	Make sure expression does not contain prefix.
	
	* AppSettingsExpressionBuilder.cs: Pass type of property to
	GetAppSetting, not type of declaring type.


svn path=/trunk/mcs/; revision=91283
2007-12-14 13:47: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
Kornél Pál 133ce64e0f Use assembly name and file version constants.
svn path=/trunk/mcs/; revision=64391
2006-08-25 20:32:53 +00:00
Chris Toshok 0bd4166bb7 2006-01-22 Chris Toshok <[email protected]>
* AppSettingsExpressionBuilder.cs: implement this, patterning it
	after an example on msdn.  Also, enable the ExpressionEditor
	attribute, but use the string rather than the Type overload so we
	won't have yet another circular dep.

	* ConnectionStringsExpressionBuilder.cs: partial implementation.
	Same deal with the ExpressionEditor attribute.

	* ResourceExpressionBuilder.cs: same deal with the
	ExpressionEditor attribute.


svn path=/trunk/mcs/; revision=55907
2006-01-22 18:46:10 +00:00
Chris Toshok a3a46ec81d stub out the 2.0 System.Web.Compilation stuff.
svn path=/trunk/mcs/; revision=55349
2006-01-10 22:29:39 +00:00