* SessionStateServerHandler.cs: remove unused field.
2007-08-14 Marek Habersack <mhabersack@novell.com>
* Control.cs: include the actual exception when reporting control
id clash.
2007-08-14 Marek Habersack <mhabersack@novell.com>
* Roles.cs: remove unused field.
* SqlMembershipProvider.cs: remove unused variable.
2007-08-14 Marek Habersack <mhabersack@novell.com>
* ObjectDataSourceView.cs: remove unused variable.
* ChangePassword.cs: remove unused variable.
* RoleGroupCollection.cs: OnValidate shouldn't be overridden.
2007-08-14 Marek Habersack <mhabersack@novell.com>
* SqlProfileProvider.cs: remove unused variable.
2007-08-14 Marek Habersack <mhabersack@novell.com>
* XmlSiteMapProvider.cs: do not hide this_lock.
svn path=/trunk/mcs/; revision=84041
// First make sure all the files are in the same
// language
- bool known = false, unknown = false;
+ bool known = false;
foreach (string f in files) {
known = true;
language = null;
parameters.ReferencedAssemblies.AddRange (binAssemblies);
if (compilationSection != null) {
- AssemblyName asmName;
foreach (AssemblyInfo ai in compilationSection.Assemblies)
if (ai.Assembly != "*") {
try {
if (bprovider == null)
continue;
bprovider.GenerateCode (abuilder);
- unknown = true;
}
}
results.CompiledAssembly = Assembly.LoadFrom (options.OutputAssembly);
} catch (Exception ex) {
results.TempFiles.Delete ();
- throw new HttpException ("Unable to load compiled assembly");
+ throw new HttpException ("Unable to load compiled assembly", ex);
}
}
2007-08-14 Marek Habersack <mhabersack@novell.com>
+ * TemplateControlCompiler.cs: remove dead code.
+
+ * AssemblyBuilder.cs: include actual exception information when
+ reporting inability to load a compiled assembly.
+
+ * AppCodeCompiler.cs: remove unused variables.
+
* AspComponentFoundry.cs: use an ArrayList to implement LIFO for
component collections, instead of the old Queue which implemented
FIFO. Fixes situations when a control registered later for a
if (virtualPath == null || virtualPath == "")
throw new ArgumentNullException ("virtualPath");
- CodeCompileUnit unit = null;
Type cprovider_type;
CompilerParameters parameters;
- unit = GenerateCodeCompileUnit (virtualPath, virtualFileString, out cprovider_type,
- out parameters, out linePragmasTable);
+ CodeCompileUnit unit = GenerateCodeCompileUnit (virtualPath, virtualFileString, out cprovider_type,
+ out parameters, out linePragmasTable);
return null;
}
if (obj == null)
return;
- Type member_type = null;
- if (isProperty)
- member_type = ((PropertyInfo)mi).PropertyType;
- else if (isField)
- member_type = ((FieldInfo)mi).FieldType;
- else
+ if (!isProperty && !isField)
return; // an "impossible" case
Type declaringType = mi.DeclaringType;
- TypeConverter converter = TypeDescriptor.GetProperties (declaringType) [memberName].Converter;
CodeAssignStatement assign = new CodeAssignStatement ();
assign.Left = new CodePropertyReferenceExpression (ctrlVar, memberName);
+2007-08-14 Marek Habersack <mhabersack@novell.com>
+
+ * SqlProfileProvider.cs: remove unused variable.
+
2007-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
* ProfileBase.cs: fixed typo bug in InitProperties
applicationName = GetStringConfigValue (config, "applicationName", "/");
- ProfileSection section = (ProfileSection) WebConfigurationManager.GetSection ("system.web/profile");
string connectionStringName = config ["connectionStringName"];
if (applicationName.Length > 256)
+2007-08-14 Marek Habersack <mhabersack@novell.com>
+
+ * Roles.cs: remove unused field.
+
+ * SqlMembershipProvider.cs: remove unused variable.
+
2007-08-13 Vladimir Krasnov <vladimirk@mainsoft.com>
* SqlRoleProvider.cs: fixed ApplicationName initialization
}
}
#else
- private static CookieProtection cookie_protection;
private static RoleManagerSection config;
static RoleProviderCollection providersCollection;
AddParameter (command, "@UpdateLastLoginActivityDate", false);
AddParameter (command, "@CurrentTimeUtc", DateTime.Now);
// return value
- DbParameter returnValue = AddParameter (command, "@ReturnVal", ParameterDirection.ReturnValue, DbType.Int32, null);
+ AddParameter (command, "@ReturnVal", ParameterDirection.ReturnValue, DbType.Int32, null);
DbDataReader reader = command.ExecuteReader ();
if (!reader.Read ())
+2007-08-14 Marek Habersack <mhabersack@novell.com>
+
+ * SessionStateServerHandler.cs: remove unused field.
+
2007-07-31 Marek Habersack <mhabersack@novell.com>
* SessionInProcHandler.cs: initialize the static session objects
private const Int32 lockAcquireTimeout = 30000;
SessionStateSection config;
- NameValueCollection privateConfig;
RemoteStateServer stateServer;
public override SessionStateStoreData CreateNewStoreData (HttpContext context, int timeout)
#endif
if (String.IsNullOrEmpty (name))
name = "Session Server handler";
- privateConfig = config;
RemotingConfiguration.Configure (null);
string cons = null, proto = null, server = null, port = null;
GetConData (out proto, out server, out port);
+2007-08-14 Marek Habersack <mhabersack@novell.com>
+
+ * ObjectDataSourceView.cs: remove unused variable.
+
+ * ChangePassword.cs: remove unused variable.
+
+ * RoleGroupCollection.cs: OnValidate shouldn't be overridden.
+
2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
* ParameterCollection.cs: fixed IndexOfString, should use ordinal
FailureTextLiteral.ID = "FailureText";
FailureTextLiteral.EnableViewState = false;
- Style FailureTextStyle = new Style ();
if (_owner.FailureTextStyle.ForeColor.IsEmpty)
_owner.FailureTextStyle.ForeColor = System.Drawing.Color.Red;
outParamInfos = null;
object[] values = new object [methodParams.Length];
- object converted;
foreach (ParameterInfo mp in methodParams) {
((IList) this).Remove (group);
}
}
-
- public void OnValidate (object sender)
- {
- }
}
}
+2007-08-14 Marek Habersack <mhabersack@novell.com>
+
+ * Control.cs: include the actual exception when reporting control
+ id clash.
+
2007-08-10 Gert Driesen <drieseng@users.sourceforge.net>
* PageParser.cs: Replace enableSessionState and readOnlySessionState
_controlsCache.Add (c._userId, c);
}
catch (Exception ex) {
- throw new HttpException ("Found more than one control with ID '" + c._userId + "'");
+ throw new HttpException ("Found more than one control with ID '" + c._userId + "'", ex);
}
if ((c.stateMask & IS_NAMING_CONTAINER) == 0 && c.HasControls ())
+2007-08-14 Marek Habersack <mhabersack@novell.com>
+
+ * XmlSiteMapProvider.cs: do not hide this_lock.
+
2007-08-09 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: unconditionally watch for changes
{
static readonly char [] seperators = { ';', ',' };
- object this_lock = new object ();
bool building;
string file;
SiteMapNode root = null;