commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath native/jni/gconf-peer/GConfNativePeer...


From: Mario Torre
Subject: [commit-cp] classpath native/jni/gconf-peer/GConfNativePeer...
Date: Wed, 27 Sep 2006 13:52:45 +0000

CVSROOT:        /sources/classpath
Module name:    classpath
Changes by:     Mario Torre <neugens>   06/09/27 13:52:45

Modified files:
        native/jni/gconf-peer: GConfNativePeer.c 
        gnu/java/util/prefs/gconf: GConfNativePeer.java 
        .              : ChangeLog 
        gnu/java/util/prefs: GConfBasedPreferences.java 
        scripts        : check_jni_methods.sh 

Log message:
        2006-09-24  Mario Torre  <address@hidden>
        
                * 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.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gconf-peer/GConfNativePeer.c?cvsroot=classpath&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/util/prefs/gconf/GConfNativePeer.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8618&r2=1.8619
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/util/prefs/GConfBasedPreferences.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/scripts/check_jni_methods.sh?cvsroot=classpath&r1=1.13&r2=1.14




reply via email to

[Prev in Thread] Current Thread [Next in Thread]