diff options
author | Mario Torre <neugens@limasoftware.net> | 2006-09-27 13:52:44 +0000 |
---|---|---|
committer | Mario Torre <neugens@limasoftware.net> | 2006-09-27 13:52:44 +0000 |
commit | 2d82eecf48906c6fd79c9e1b829a2ac39b1dea22 (patch) | |
tree | be7bbb2ccb4f16ab502e12451e9fc600cc95ef22 /scripts | |
parent | 26edcd9207d6143e95a0bcc3b6faac80076441ae (diff) | |
download | classpath-2d82eecf48906c6fd79c9e1b829a2ac39b1dea22.tar.gz |
2006-09-24 Mario Torre <neugens@limasoftware.net>
* scripts/check_jni_methods.sh: added two new methods in the
ignore list:
Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
and
Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
* native/jni/gconf-peer/GConfNativePeer.c:
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
refacored method name, renamed from
Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
Added code to unescape escaped GConf key names.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
refacored method name, renamed from
Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
Added code to unescape escaped GConf key names.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
new function.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
new function.
* gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
version javadoc tag.
(escapeString): new method.
(unescapeString): likewise.
(gconf_escape_key): new native method.
(gconf_unescape_key): likewise.
(gconf_client_suggest_sync): update native method signature, now
explicity throws BackingStoreException.
(gconf_client_all_nodes): update native method signature, now
explicity throws BackingStoreException. Refactored method name,
renamed from gconf_client_gconf_client_all_nodes.
(gconf_client_all_keys): update native method signature, now
explicity throws BackingStoreException. Refactored method name,
renamed from gconf_client_gconf_client_all_keys.
(getKeys): refactored to use the new method name
gconf_client_all_keys.
(getChildrenNodes): refactored to use the new method name
gconf_client_all_nodes.
* gnu/java/util/prefs/GConfBasedPreferences.java: removed
version javadoc tag.
(GConfBasedPreferences): Added code to escape node names from
invalid characters so that GConf now accept invalid node names.
(GConfBasedPreferences): Moved code to register the current
node to the list of nodes watched by GConf outside the constructor.
(childSpi): Added code to register the current node to the
list of nodes watched by GConf.
(getGConfKey): Added code to escape key names from
invalid characters so that GConf now accept invalid key names.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/check_jni_methods.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/check_jni_methods.sh b/scripts/check_jni_methods.sh index 4cc00cc17..383bbf654 100755 --- a/scripts/check_jni_methods.sh +++ b/scripts/check_jni_methods.sh @@ -38,6 +38,8 @@ cat > $TMPFILE3 << EOF -Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class -Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache -Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class +-Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key +-Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key EOF # Compare again silently. |