[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[dotgnu-pnet-commits] pnetlib ChangeLog runtime/Microsoft/Win32/Regis...
From: |
Klaus Treichel |
Subject: |
[dotgnu-pnet-commits] pnetlib ChangeLog runtime/Microsoft/Win32/Regis... |
Date: |
Sun, 24 Jun 2007 13:43:34 +0000 |
CVSROOT: /cvsroot/dotgnu-pnet
Module name: pnetlib
Changes by: Klaus Treichel <ktreichel> 07/06/24 13:43:34
Modified files:
. : ChangeLog
runtime/Microsoft/Win32: RegistryKey.cs
Log message:
Change CONFIG_FRAMEWORK_1_2 to CONFIG_FRAMEWORK_2_0 and add stubs for
some new
2.0 methods.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnetlib/ChangeLog?cvsroot=dotgnu-pnet&r1=1.2507&r2=1.2508
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/Microsoft/Win32/RegistryKey.cs?cvsroot=dotgnu-pnet&r1=1.7&r2=1.8
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/ChangeLog,v
retrieving revision 1.2507
retrieving revision 1.2508
diff -u -b -r1.2507 -r1.2508
--- ChangeLog 24 Jun 2007 13:32:18 -0000 1.2507
+++ ChangeLog 24 Jun 2007 13:43:33 -0000 1.2508
@@ -17,6 +17,9 @@
CONFIG_FRAMEWORK_1_2 to CONFIG_FRAMEWORK_2_0 and fix some minor
incompatibilities.
+ * runtime/Microsoft/Win32/RegistryKey.cs: Change CONFIG_FRAMEWORK_1_2 to
+ CONFIG_FRAMEWORG_2_0 and stub out some new 2.0 methods.
+
2007-06-21 Heiko Weiss <address@hidden>
* System.Windows.Form/ListBox.cs: Scroll list box and select item, if
Index: runtime/Microsoft/Win32/RegistryKey.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/Microsoft/Win32/RegistryKey.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- runtime/Microsoft/Win32/RegistryKey.cs 1 Aug 2004 01:25:55 -0000
1.7
+++ runtime/Microsoft/Win32/RegistryKey.cs 24 Jun 2007 13:43:34 -0000
1.8
@@ -168,6 +168,23 @@
}
return new RegistryKey(key, true);
}
+#if CONFIG_FRAMEWORK_2_0
+ [TODO]
+ public RegistryKey CreateSubKey(String subkey,
+
RegistryKeyPermissionCheck permissionCheck)
+ {
+ return CreateSubKey(subkey);
+ }
+#if CONFIG_ACCESS_CONTROL
+ [TODO]
+ public RegistryKey CreateSubKey(String subkey,
+
RegistryKeyPermissionCheck permissionCheck,
+
RegistryRights rights)
+ {
+ return CreateSubKey(subkey);
+ }
+#endif // CONFIG_ACCESS_CONTROL
+#endif // CONFIG_FRAMEWORK_2_0
#if CONFIG_ACCESS_CONTROL
public RegistryKey CreateSubKey
(String subkey, RegistrySecurity
registrySecurity)
@@ -382,15 +399,15 @@
{
return GetValue(name, null);
}
-#if CONFIG_FRAMEWORK_1_2
- [Obsolete("Use the RegisterValueOptions variant of GetValue instead")]
+#if CONFIG_FRAMEWORK_2_0
+ [Obsolete("Use the RegistryValueOptions variant of GetValue instead")]
public Object GetValue(String name, Object defaultValue, bool
doNotExpand)
{
if(doNotExpand)
{
return GetValue
(name, defaultValue,
-
RegistryValueOptions.DoNotExpandedEnvironmentNames);
+
RegistryValueOptions.DoNotExpandEnvironmentNames);
}
else
{
@@ -413,7 +430,7 @@
// TODO
return RegistryValueKind.String;
}
-#endif
+#endif // CONFIG_FRAMEWORK_2_0
// Get the names of all values underneath this registry key.
public String[] GetValueNames()
@@ -513,6 +530,23 @@
{
return OpenSubKey(name, false);
}
+#if CONFIG_FRAMEWORK_2_0
+ [TODO]
+ public RegistryKey OpenSubKey(String name,
+
RegistryKeyPermissionCheck permissionCheck)
+ {
+ return OpenSubKey(name, false);
+ }
+#if CONFIG_ACCESS_CONTROL
+ [TODO]
+ public RegistryKey OpenSubKey(String name,
+
RegistryKeyPermissionCheck permissionCheck,
+
RegistryRights rights)
+ {
+ return OpenSubKey(name, false);
+ }
+#endif // CONFIG_ACCESS_CONTROL
+#endif // CONFIG_FRAMEWORK_2_0
// Set a value under this registry key.
public void SetValue(String name, Object value)
@@ -539,7 +573,7 @@
throw new
IOException(_("IO_RegistryKeyClosed"));
}
}
-#if CONFIG_FRAMEWORK_1_2
+#if CONFIG_FRAMEWORK_2_0
public void SetValue
(String name, Object value, RegistryValueKind
valueKind)
{