[commit-cp] classpath include/gnu_java_util_prefs_gconf_GCo...

Mario Torre <[email protected]>
Newsgroups gmane.comp.java.classpath.cvs
Message-ID <[email protected]>
CVSROOT:	/sources/classpath
Module name:	classpath
Changes by:	Mario Torre <neugens>	07/11/23 22:02:17

Modified files:
	include        : gnu_java_util_prefs_gconf_GConfNativePeer.h 
	java/util/prefs: AbstractPreferences.java 
	gnu/java/util/prefs/gconf: GConfNativePeer.java 
	native/jni/gconf-peer: GConfNativePeer.c 
	gnu/java/util/prefs: GConfBasedPreferences.java 
	.              : ChangeLog 
Added files:
	gnu/classpath/toolkit: DefaultDaemonThreadFactory.java 
Removed files:
	gnu/java/util/prefs: EventDispatcher.java 

Log message:
	2007-11-23  Mario Torre  <[email protected]>
	
	    * gnu/java/util/prefs/EventDispatcher.java: class removed.
	    * gnu/classpath/toolkit/DefaultDaemonThreadFactory.java: new file.
	    * java/util/prefs/AbstractPreferences.java: (fire(PreferenceChangeEvent)):
	    Use DefaultDaemonThreadFactory and Executors.newSingleThreadExecutor
	    instead of EventDispatcher. Import statement refactored accordingly.
	    Also refactored to use 1.5 enhanced for loop and generics.
	    (fire(NodeChangeEvent, boolean)): likewise.
	    * gnu/java/util/prefs/GConfBasedPreferences.java (childSpi):
	    removed startWatchingNode call.
	    * gnu/java/util/prefs/gconf/GConfNativePeer.java:
	    (GConfNativePeer): removed use of semaphore. 
	    (gconf_all_nodes): method name shortened, renamed from
	    gconf_client_all_nodes (removed client_ from method signature) and
	    declared synchronized. 
	    (gconf_suggest_sync): likewise.
	    (gconf_get_string): likewise.
	    (gconf_unescape_key): likewise.
	    (gconf_set_string): likewise.
	    (gconf_escape_key):  likewise.
	    (gconf_all_keys): likewise.
	    (gconf_dir_exists): likewise.
	    (getKeys): refactored to use new native method name.
	    (getKey): likewise.
	    (setString): likewise.
	    (getChildrenNodes): likewise.
	    (unset): likewise.
	    (suggestSync): likewise.
	    (finalize): likewise.
	    (nodeExist): likewise.
	    (gconf_client_add_dir): removed, not needed anymore.
	    (gconf_client_remove_dir): likewise.
	    (startWatchingNode): likewise.
	    (stopWatchingNode): likewise.
	    * native/jni/conf-peer/GConfNativePeer.c:
	    All native methods renamed to match changes in GConfNativePeer.java
	    Now use GConfEngine instead of GConfClient.
	    Removed gdk_thread_enter/leave locking from all methods.
	    (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
	    removed.
	    (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
	    likewise.
	    * include/gnu_java_util_prefs_gconf_GConfNativePeer.h: regenerated.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/include/gnu_java_util_prefs_gconf_GConfNativePeer.h?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/java/util/prefs/AbstractPreferences.java?cvsroot=classpath&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/util/prefs/gconf/GConfNativePeer.java?cvsroot=classpath&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/classpath/toolkit/DefaultDaemonThreadFactory.java?cvsroot=classpath&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gconf-peer/GConfNativePeer.c?cvsroot=classpath&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/util/prefs/GConfBasedPreferences.java?cvsroot=classpath&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/util/prefs/EventDispatcher.java?cvsroot=classpath&r1=1.3&r2=0
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9438&r2=1.9439
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.