[kaffe] Re: linux sparc problems

2005-02-13 Thread Riccardo
In [EMAIL PROTECTED] Riccardo  wrote:
 Hey,
 
 I configred to build on linux sparc using a prebuilt rt.jar. 
 Configures  goes well, but make terminates with:

 make[1]: Entering directory `/home/multix/kaffe-cvs/jit-pthread/
 include' ../kaffe/kaffeh/kaffeh -classpath ../libraries/javalib/rt.jar -
 o java_ lang_Object.h java/lang/Object Failed to open object 'java/
 lang/Object' make[1]: *** [stamp-h0all] Error 1 make[1]: Leaving 
 directory `/home/multix/kaffe-cvs/jit-pthread/include'

 
 any ideas ?
yeah, something was weird and rt.jar was 0 bytes, a make clean and make 
helped it out. But now new bugs pop up. Linker problems and jitBasic.

-R


___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (guilhem): Sparc, jitBasic, build fix.

2005-02-13 Thread Kaffe CVS
PatchSet 5521 
Date: 2005/02/13 16:20:37
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Sparc, jitBasic, build fix.

* config/sparc/sysdepCallMethod.h
(sysdepCallMethod): Removed special cases 'C', 'B', 'Z' and 'S'
because all integers must be stored in the 32 bits format internally.
This reverts an old patch.

* configure.ac: Check for strtouq and strtoull.

* Makefile.am
(BUILD_ENVIRONMENT): Append the new directory to the old
LD_LIBRARY_PATH and DYLD_LIBRARY_PATH.

* test/internal/jitBasic.c
(field2values): Use either strtouq or strtoull.

* config/config.h.in, Makefile.in, configure: Regenerated.

Members: 
ChangeLog:1.3565-1.3566 
Makefile.am:1.88-1.89 
Makefile.in:1.202-1.203 
configure:1.425-1.426 
configure.ac:1.115-1.116 
config/config.h.in:1.133-1.134 
config/sparc/sysdepCallMethod.h:1.4-1.5 
test/internal/jitBasic.c:1.6-1.7 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3565 kaffe/ChangeLog:1.3566
--- kaffe/ChangeLog:1.3565  Fri Feb 11 04:56:10 2005
+++ kaffe/ChangeLog Sun Feb 13 16:20:37 2005
@@ -1,3 +1,21 @@
+2005-02-12  Guilhem Lavaux  [EMAIL PROTECTED]
+
+   * config/sparc/sysdepCallMethod.h
+   (sysdepCallMethod): Removed special cases 'C', 'B', 'Z' and 'S'
+   because all integers must be stored in the 32 bits format internally.
+   This reverts an old patch.
+
+   * configure.ac: Check for strtouq and strtoull.
+
+   * Makefile.am
+   (BUILD_ENVIRONMENT): Append the new directory to the old
+   LD_LIBRARY_PATH and DYLD_LIBRARY_PATH.
+
+   * test/internal/jitBasic.c
+   (field2values): Use either strtouq or strtoull.
+   
+   * config/config.h.in, Makefile.in, configure: Regenerated.
+   
 2005-02-10  Dalibor Topic  [EMAIL PROTECTED]
 
* libraries/javalib/gnu/classpath/Configuration.java.in: New file.
Index: kaffe/Makefile.am
diff -u kaffe/Makefile.am:1.88 kaffe/Makefile.am:1.89
--- kaffe/Makefile.am:1.88  Tue Feb  8 00:15:01 2005
+++ kaffe/Makefile.am   Sun Feb 13 16:20:41 2005
@@ -160,8 +160,8 @@
echo 
CLASSPATH=.\''$(PATHSEP)'\'\$${GNU_CRYPTO_JAR}\''$(PATHSEP)'\'\$${JAVAX_SECURITY_JAR}\''$(PATHSEP)'\'$(BCEL_JAR)\''$(PATHSEP)'\'$(GNU_CRYPTO_JAR)\''$(PATHSEP)'\'$(JAVAX_SECURITY_JAR)\;
 export CLASSPATH | sed 's,/,$(DIRSEP),g;s,\\,,g'  BUILD_ENVIRONMENT.new; 
\
echo 
KAFFELIBRARYPATH=\$${KAFFELIBRARYPATH+\\$$KAFFELIBRARYPATH\\''$(PATHSEP)'\'}`for
 f in $(JAVA_LIBS); do echo $$f | sed 's%/[^/]*$$%%'; done | (tr '\012' ' '; 
echo) | sed -e 's/ $$//' -e s/ /\'$(PATHSEP)\'/g`\; export KAFFELIBRARYPATH 
 BUILD_ENVIRONMENT.new; \
echo JAVA=$(top_builddir)/kaffe/kaffe/kaffe-bin$(EXEEXT)\; export JAVA 
 BUILD_ENVIRONMENT.new; \
-   echo LD_LIBRARY_PATH=$(top_builddir)/libraries/clib/classpath/.libs\; 
export LD_LIBRARY_PATH  BUILD_ENVIRONMENT.new;\
-   echo DYLD_LIBRARY_PATH=$(top_builddir)/libraries/clib/classpath/.libs\; 
export DYLD_LIBRARY_PATH  BUILD_ENVIRONMENT.new
+   echo 
LD_LIBRARY_PATH=$(top_builddir)/libraries/clib/classpath/.libs:\$${LD_LIBRARY_PATH}\;
 export LD_LIBRARY_PATH  BUILD_ENVIRONMENT.new;\
+   echo 
DYLD_LIBRARY_PATH=$(top_builddir)/libraries/clib/classpath/.libs:\$${DYLD_LIBRARY_PATH}\;
 export DYLD_LIBRARY_PATH  BUILD_ENVIRONMENT.new
rm -f BUILD_ENVIRONMENT
mv BUILD_ENVIRONMENT.new BUILD_ENVIRONMENT
 
Index: kaffe/Makefile.in
diff -u kaffe/Makefile.in:1.202 kaffe/Makefile.in:1.203
--- kaffe/Makefile.in:1.202 Fri Feb 11 04:56:12 2005
+++ kaffe/Makefile.in   Sun Feb 13 16:20:41 2005
@@ -988,8 +988,8 @@
echo 
CLASSPATH=.\''$(PATHSEP)'\'\$${GNU_CRYPTO_JAR}\''$(PATHSEP)'\'\$${JAVAX_SECURITY_JAR}\''$(PATHSEP)'\'$(BCEL_JAR)\''$(PATHSEP)'\'$(GNU_CRYPTO_JAR)\''$(PATHSEP)'\'$(JAVAX_SECURITY_JAR)\;
 export CLASSPATH | sed 's,/,$(DIRSEP),g;s,\\,,g'  BUILD_ENVIRONMENT.new; 
\
echo 
KAFFELIBRARYPATH=\$${KAFFELIBRARYPATH+\\$$KAFFELIBRARYPATH\\''$(PATHSEP)'\'}`for
 f in $(JAVA_LIBS); do echo $$f | sed 's%/[^/]*$$%%'; done | (tr '\012' ' '; 
echo) | sed -e 's/ $$//' -e s/ /\'$(PATHSEP)\'/g`\; export KAFFELIBRARYPATH 
 BUILD_ENVIRONMENT.new; \
echo JAVA=$(top_builddir)/kaffe/kaffe/kaffe-bin$(EXEEXT)\; export JAVA 
 BUILD_ENVIRONMENT.new; \
-   echo LD_LIBRARY_PATH=$(top_builddir)/libraries/clib/classpath/.libs\; 
export LD_LIBRARY_PATH  BUILD_ENVIRONMENT.new;\
-   echo DYLD_LIBRARY_PATH=$(top_builddir)/libraries/clib/classpath/.libs\; 
export DYLD_LIBRARY_PATH  BUILD_ENVIRONMENT.new
+   echo 
LD_LIBRARY_PATH=$(top_builddir)/libraries/clib/classpath/.libs:\$${LD_LIBRARY_PATH}\;
 export LD_LIBRARY_PATH  BUILD_ENVIRONMENT.new;\
+   echo 
DYLD_LIBRARY_PATH=$(top_builddir)/libraries/clib/classpath/.libs:\$${DYLD_LIBRARY_PATH}\;
 export DYLD_LIBRARY_PATH  BUILD_ENVIRONMENT.new
rm -f BUILD_ENVIRONMENT
mv BUILD_ENVIRONMENT.new BUILD_ENVIRONMENT
 

[kaffe] CVS kaffe (guilhem): Fixlets for the finalisation of weakly referenced objects.

2005-02-13 Thread Kaffe CVS
PatchSet 5522 
Date: 2005/02/13 16:51:35
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Fixlets for the finalisation of weakly referenced objects.

Members: 
ChangeLog:1.3566-1.3567 
kaffe/kaffevm/kaffe-gc/gc-incremental.c:1.18-1.19 
kaffe/kaffevm/systems/unix-pthreads/lock-impl.c:1.18-1.19 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3566 kaffe/ChangeLog:1.3567
--- kaffe/ChangeLog:1.3566  Sun Feb 13 16:20:37 2005
+++ kaffe/ChangeLog Sun Feb 13 16:51:35 2005
@@ -1,3 +1,13 @@
+2005-02-13  Guilhem Lavaux  [EMAIL PROTECTED]
+
+   * kaffe/kaffevm/kaffe-gc/gc-incremental.c
+   (finaliserMan): Splitted into finaliserMan and finaliserJob.
+   (clearStack): Removed.
+   (gcMarkAddress): Removed debug printf.
+   
+   * kaffe/kaffevm/systems/unix-pthreads/lock-impl.c
+   (jthread_condwait): Removed debug printf.
+   
 2005-02-12  Guilhem Lavaux  [EMAIL PROTECTED]
 
* config/sparc/sysdepCallMethod.h
Index: kaffe/kaffe/kaffevm/kaffe-gc/gc-incremental.c
diff -u kaffe/kaffe/kaffevm/kaffe-gc/gc-incremental.c:1.18 
kaffe/kaffe/kaffevm/kaffe-gc/gc-incremental.c:1.19
--- kaffe/kaffe/kaffevm/kaffe-gc/gc-incremental.c:1.18  Sun Jan 30 12:42:44 2005
+++ kaffe/kaffe/kaffevm/kaffe-gc/gc-incremental.c   Sun Feb 13 16:51:37 2005
@@ -46,6 +46,7 @@
 /* Avoid recursively allocating OutOfMemoryError */
 #define OOM_ALLOCATING ((void *) -1)
 
+#define STACK_SWEEP_MARGIN  1024
 #define GCSTACKSIZE16384
 #define FINALIZERSTACKSIZE THREADSTACKSIZE
 
@@ -305,8 +306,6 @@
/* Get block info for this memory - if it exists */
info = gc_mem2block(mem);
unit = UTOUNIT(mem);
-   if (mem == 0x832e3b4)
-   dprintf(marked bad mem\n);
if (gc_heap_isobject(info, unit)) {
markObjectDontCheck(unit, info, GCMEM2IDX(info, unit));
}
@@ -868,90 +867,96 @@
  * the objects in turn.  An object is only finalised once after which
  * it is deleted.
  */
-
-static void clearStack(void *stackMin, void *stackMax)
+static void finaliserJob(Collector *gcif, int *where)
 {
-   void *p = alloca(1024);
-   
-   memset(p, 0, 1024);
+  gc_block* info = NULL;
+  gc_unit* unit = NULL;
+  int idx = 0;
+  void *stack;
+#define iLockRoot (*where)
+
+  /*
+   * Loop until the list of objects whose finaliser needs to be run is empty
+   * [ checking the condition without holding a lock is ok, since we're the 
only
+   * thread removing elements from the list (the list can never shrink during
+   * a gc pass) ].
+   *
+   * According to the spec, the finalisers have to be run without any user
+   * visible locks held. Therefore, we must temporarily release the finman
+   * lock and may not hold the gc_lock while running the finalisers as they
+   * are exposed to the user by java.lang.Runtime.
+   * 
+   * In addition, we must prevent an object and everything it references from
+   * being collected while the finaliser is run (since we can't hold the 
gc_lock,
+   * there may be several gc passes in the meantime). To do so, we keep the
+   * object in the finalise list and only remove it from there when its
+   * finaliser is done (simply adding the object to the grey list while its
+   * finaliser is run only works as long as there's at most one gc pass).
+   *
+   * In order to determine the finaliser of an object, we have to access the
+   * gc_block that contains it and its index. Doing this without holding a
+   * lock only works as long as both, the gc_blocks and the indices of the
+   * objects in a gc_block, are constant.
+   */
+  while (gclists[finalise].cnext != gclists[finalise]) {
+unit = gclists[finalise].cnext;
+info = gc_mem2block(unit);
+idx = GCMEM2IDX(info, unit);
+
+/* Call finaliser */
+unlockStaticMutex(finman);
+(*gcFunctions[KGC_GET_FUNCS(info,idx)].final)(gcif, UTOMEM(unit));
+lockStaticMutex(finman);
+
+/* and remove unit from the finaliser list */
+lockStaticMutex(gc_lock);
+UREMOVELIST(unit);
+UAPPENDLIST(gclists[nofin_white], unit);
+
+gcStats.finalmem -= GCBLOCKSIZE(info);
+gcStats.finalobj -= 1;
+
+assert(KGC_GET_STATE(info,idx) == KGC_STATE_INFINALIZE);
+/* Objects are only finalised once */
+KGC_SET_STATE(info, idx, KGC_STATE_FINALIZED);
+KGC_SET_COLOUR(info, idx, KGC_COLOUR_WHITE);
+unlockStaticMutex(gc_lock);
+  }
+  info = NULL;
+  unit = NULL;
+  idx = 0;
+
+  /* This cleans STACK_SWEEP_MARGIN bytes on the stack. This is needed
+   * because some objects may still lie on our stack.
+   */
+  stack = alloca(STACK_SWEEP_MARGIN);
+
+  memset((void *)((uintp)stack), 0, STACK_SWEEP_MARGIN);
+#undef iLockRoot
 }
 
 static void NONRETURNING
 finaliserMan(void* arg)
 {
-   gc_block* info;
-   gc_unit* unit;
-   int idx;
-   Collector *gcif = (Collector*)arg;
-   int iLockRoot;
-
-
-   lockStaticMutex(finman);
-   for (;;) {
-
-   

[kaffe] link problems (libtool?)

2005-02-13 Thread Riccardo
Hello,

on solaris (legolas) I get the following problem:

Undefined   first referenced
 symbol in file
JNI_CreateJavaVMmain.o
JNI_GetDefaultJavaVMInitArgsmain.o
ld: fatal: Symbol referencing errors. No output written to .libs/kaffe-
bin
collect2: ld returned 1 exit status

I know guilhem found a patchy workaround by hacking libtool...

the strange part is that on shadowfax which has the same os (but a 
different directory structure) and a slightly older gcc, I don't have 
this problem.

-Riccardo


___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] link problems (libtool?)

2005-02-13 Thread Dalibor Topic
Riccardo wrote:
Hello,
on solaris (legolas) I get the following problem:
Undefined   first referenced
 symbol in file
JNI_CreateJavaVMmain.o
JNI_GetDefaultJavaVMInitArgsmain.o
ld: fatal: Symbol referencing errors. No output written to .libs/kaffe-
bin
collect2: ld returned 1 exit status
I know guilhem found a patchy workaround by hacking libtool...
I've updated to latest libtoo 1.5.14. I hope that fixes the problem.
cheers,
dalibor topic
___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: fix for JAR url connections

2005-02-13 Thread Kaffe CVS
PatchSet 5527 
Date: 2005/02/13 22:21:07
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: fix for JAR url connections

2005-02-13  Dalibor Topic  [EMAIL PROTECTED]

Resynced with GNU Classpath.

2005-02-09  Mark Wielaard  [EMAIL PROTECTED]

* gnu/java/net/protocol/jar/Connection.java (getJarFile):
Rename jar_file to jf.

2005-02-09  Tom Tromey  [EMAIL PROTECTED]

* gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
jar file with OPEN_DELETE.

Members: 
ChangeLog:1.3571-1.3572 
libraries/javalib/gnu/java/net/protocol/jar/Connection.java:1.6-1.7 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3571 kaffe/ChangeLog:1.3572
--- kaffe/ChangeLog:1.3571  Sun Feb 13 22:13:13 2005
+++ kaffe/ChangeLog Sun Feb 13 22:21:07 2005
@@ -2,6 +2,20 @@
 
Resynced with GNU Classpath.
 
+   2005-02-09  Mark Wielaard  [EMAIL PROTECTED]
+
+* gnu/java/net/protocol/jar/Connection.java (getJarFile):
+Rename jar_file to jf.
+
+   2005-02-09  Tom Tromey  [EMAIL PROTECTED]
+
+* gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
+jar file with OPEN_DELETE.
+
+2005-02-13  Dalibor Topic  [EMAIL PROTECTED]
+
+   Resynced with GNU Classpath.
+
2005-02-09  Michael Koch  [EMAIL PROTECTED]
 
 * java/awt/Scrollbar.java: Reformatted.
Index: kaffe/libraries/javalib/gnu/java/net/protocol/jar/Connection.java
diff -u kaffe/libraries/javalib/gnu/java/net/protocol/jar/Connection.java:1.6 
kaffe/libraries/javalib/gnu/java/net/protocol/jar/Connection.java:1.7
--- kaffe/libraries/javalib/gnu/java/net/protocol/jar/Connection.java:1.6   
Thu Feb  3 17:14:39 2005
+++ kaffe/libraries/javalib/gnu/java/net/protocol/jar/Connection.java   Sun Feb 
13 22:21:17 2005
@@ -97,9 +97,8 @@
  
  fos.close();
  // Always verify the Manifest, open read only and delete when done.
- // XXX ZipFile.OPEN_DELETE not yet implemented.
- // jf = new JarFile (f, true, ZipFile.OPEN_READ | 
ZipFile.OPEN_DELETE);
- jf = new JarFile (f, true, ZipFile.OPEN_READ);
+ jf = new JarFile (f, true,
+   ZipFile.OPEN_READ | ZipFile.OPEN_DELETE);
}
   
   cache.put (url, jf);

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: peer fixes

2005-02-13 Thread Kaffe CVS
PatchSet 5531 
Date: 2005/02/13 22:32:04
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: peer fixes

2005-02-13  Dalibor Topic  [EMAIL PROTECTED]

Resynced with GNU Classpath.

2005-02-10  Graydon Hoare  [EMAIL PROTECTED]

* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
Release GDK lock during upcalls.

Members: 
ChangeLog:1.3575-1.3576 

libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:1.10-1.11
 

libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:1.6-1.7
 

libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:1.4-1.5
 

libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:1.12-1.13
 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3575 kaffe/ChangeLog:1.3576
--- kaffe/ChangeLog:1.3575  Sun Feb 13 22:29:44 2005
+++ kaffe/ChangeLog Sun Feb 13 22:32:04 2005
@@ -2,6 +2,18 @@
 
Resynced with GNU Classpath.
 
+   2005-02-10  Graydon Hoare  [EMAIL PROTECTED]
+
+* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
+jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
+jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
+jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
+Release GDK lock during upcalls.
+
+2005-02-13  Dalibor Topic  [EMAIL PROTECTED]
+
+   Resynced with GNU Classpath.
+
2005-02-10  Michael Koch  [EMAIL PROTECTED]
 
 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c:
Index: 
kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
diff -u 
kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:1.10
 
kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:1.11
--- 
kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:1.10
   Sat Jan 22 18:25:01 2005
+++ 
kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
Sun Feb 13 22:32:09 2005
@@ -1054,10 +1054,12 @@
  GdkEventFocus *event __attribute((unused)),
  jobject peer)
 {
+  gdk_threads_leave ();
   (*gdk_env())-CallVoidMethod (gdk_env(), peer,
   postFocusEventID,
   AWT_FOCUS_GAINED,
   JNI_FALSE);
+  gdk_threads_enter ();
   return FALSE;
 }
 
@@ -1066,9 +1068,11 @@
   GdkEventFocus *event __attribute((unused)),
   jobject peer)
 {
+  gdk_threads_leave ();
   (*gdk_env())-CallVoidMethod (gdk_env(), peer,
   postFocusEventID,
   AWT_FOCUS_LOST,
   JNI_FALSE);
+  gdk_threads_enter ();
   return FALSE;
 }
Index: 
kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
diff -u 
kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:1.6
 
kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:1.7
--- 
kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:1.6
   Sat Jan 22 18:25:01 2005
+++ 
kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
   Sun Feb 13 22:32:10 2005
@@ -883,6 +883,7 @@
   switch (event-type)
 {
 case GDK_BUTTON_PRESS:
+  gdk_threads_leave ();
   (*gdk_env())-CallVoidMethod (gdk_env(), peer,
   postMouseEventID,
  AWT_MOUSE_PRESSED, 
@@ -894,12 +895,14 @@
  click_count, 
  (event-button.button == 3) ? JNI_TRUE :
JNI_FALSE);
+  gdk_threads_enter ();
   hasBeenDragged = FALSE;
   break;
 case GDK_BUTTON_RELEASE:
   {
int width, height;
 
+   gdk_threads_leave ();
(*gdk_env())-CallVoidMethod (gdk_env(), peer,
postMouseEventID,
AWT_MOUSE_RELEASED, 
@@ -910,6 +913,7 @@
(jint)event-button.y, 
click_count,
JNI_FALSE);
+   gdk_threads_enter ();
 
/* Generate an AWT click event only if the release occured in the
   window it was pressed in, and the mouse has not been dragged since
@@ -921,6 +925,7 @@
 event-button.x = width 
 event-button.y = height)
   {
+   gdk_threads_leave ();
(*gdk_env())-CallVoidMethod (gdk_env(), 

[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: swing fixlet

2005-02-13 Thread Kaffe CVS
PatchSet 5532 
Date: 2005/02/13 22:33:37
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: swing fixlet

2005-02-13  Dalibor Topic  [EMAIL PROTECTED]

Resynced with GNU Classpath.

2005-02-10  Michael Koch  [EMAIL PROTECTED]

* javax/swing/JTabbedPane.java
(Page.setDisplayedMnemonicIndex): Handle empty menmonic.

Members: 
libraries/javalib/javax/swing/JTabbedPane.java:1.5-1.6 
ChangeLog:1.3576-1.3577 

Index: kaffe/libraries/javalib/javax/swing/JTabbedPane.java
diff -u kaffe/libraries/javalib/javax/swing/JTabbedPane.java:1.5 
kaffe/libraries/javalib/javax/swing/JTabbedPane.java:1.6
--- kaffe/libraries/javalib/javax/swing/JTabbedPane.java:1.5Thu Jan 27 
14:07:11 2005
+++ kaffe/libraries/javalib/javax/swing/JTabbedPane.javaSun Feb 13 
22:33:37 2005
@@ -518,12 +518,12 @@
  * or equal to title.length.
  */
 public void setDisplayedMnemonicIndex(int index)
-   throws IllegalArgumentException
+  throws IllegalArgumentException
 {
   if (index  -1 || title != null  index = title.length())
throw new IllegalArgumentException();
 
-  if (title == null || title.charAt(index) != mnemonicKey)
+  if (title == null || mnemonicKey == 0 || title.charAt(index) != 
mnemonicKey)
index = -1;
 
   underlinedChar = index;
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3576 kaffe/ChangeLog:1.3577
--- kaffe/ChangeLog:1.3576  Sun Feb 13 22:32:04 2005
+++ kaffe/ChangeLog Sun Feb 13 22:33:33 2005
@@ -2,6 +2,15 @@
 
Resynced with GNU Classpath.
 
+   2005-02-10  Michael Koch  [EMAIL PROTECTED]
+
+* javax/swing/JTabbedPane.java
+(Page.setDisplayedMnemonicIndex): Handle empty menmonic.
+
+2005-02-13  Dalibor Topic  [EMAIL PROTECTED]
+
+   Resynced with GNU Classpath.
+
2005-02-10  Graydon Hoare  [EMAIL PROTECTED]
 
 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: swing fixlet

2005-02-13 Thread Kaffe CVS
PatchSet 5532 
Date: 2005/02/13 22:33:37
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: swing fixlet

2005-02-13  Dalibor Topic  [EMAIL PROTECTED]

Resynced with GNU Classpath.

2005-02-10  Michael Koch  [EMAIL PROTECTED]

* javax/swing/JTabbedPane.java
(Page.setDisplayedMnemonicIndex): Handle empty menmonic.

Members: 
libraries/javalib/javax/swing/JTabbedPane.java:1.5-1.6 
ChangeLog:1.3576-1.3577 

Index: kaffe/libraries/javalib/javax/swing/JTabbedPane.java
diff -u kaffe/libraries/javalib/javax/swing/JTabbedPane.java:1.5 
kaffe/libraries/javalib/javax/swing/JTabbedPane.java:1.6
--- kaffe/libraries/javalib/javax/swing/JTabbedPane.java:1.5Thu Jan 27 
14:07:11 2005
+++ kaffe/libraries/javalib/javax/swing/JTabbedPane.javaSun Feb 13 
22:33:37 2005
@@ -518,12 +518,12 @@
  * or equal to title.length.
  */
 public void setDisplayedMnemonicIndex(int index)
-   throws IllegalArgumentException
+  throws IllegalArgumentException
 {
   if (index  -1 || title != null  index = title.length())
throw new IllegalArgumentException();
 
-  if (title == null || title.charAt(index) != mnemonicKey)
+  if (title == null || mnemonicKey == 0 || title.charAt(index) != 
mnemonicKey)
index = -1;
 
   underlinedChar = index;
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3576 kaffe/ChangeLog:1.3577
--- kaffe/ChangeLog:1.3576  Sun Feb 13 22:32:04 2005
+++ kaffe/ChangeLog Sun Feb 13 22:33:33 2005
@@ -2,6 +2,15 @@
 
Resynced with GNU Classpath.
 
+   2005-02-10  Michael Koch  [EMAIL PROTECTED]
+
+* javax/swing/JTabbedPane.java
+(Page.setDisplayedMnemonicIndex): Handle empty menmonic.
+
+2005-02-13  Dalibor Topic  [EMAIL PROTECTED]
+
+   Resynced with GNU Classpath.
+
2005-02-10  Graydon Hoare  [EMAIL PROTECTED]
 
 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: URI fixes

2005-02-13 Thread Kaffe CVS
PatchSet 5525 
Date: 2005/02/13 22:11:08
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: URI fixes

2005-02-13  Dalibor Topic  [EMAIL PROTECTED]

Resynced with GNU Classpath.

2005-02-08  Tom Tromey  [EMAIL PROTECTED]

* java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
name or port is missing.
(AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
AUTHORITY_PORT_GROUP): Updated.

Members: 
ChangeLog:1.3569-1.3570 
libraries/javalib/java/net/URI.java:1.10-1.11 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3569 kaffe/ChangeLog:1.3570
--- kaffe/ChangeLog:1.3569  Sun Feb 13 22:01:25 2005
+++ kaffe/ChangeLog Sun Feb 13 22:11:08 2005
@@ -2,6 +2,17 @@
 
Resynced with GNU Classpath.
 
+   2005-02-08  Tom Tromey  [EMAIL PROTECTED]
+
+* java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
+name or port is missing.
+(AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
+AUTHORITY_PORT_GROUP): Updated.
+
+2005-02-13  Dalibor Topic  [EMAIL PROTECTED]
+
+   Resynced with GNU Classpath.
+
2005-02-08  Craig Black  [EMAIL PROTECTED]
 
 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
Index: kaffe/libraries/javalib/java/net/URI.java
diff -u kaffe/libraries/javalib/java/net/URI.java:1.10 
kaffe/libraries/javalib/java/net/URI.java:1.11
--- kaffe/libraries/javalib/java/net/URI.java:1.10  Tue Jan 18 15:18:49 2005
+++ kaffe/libraries/javalib/java/net/URI.java   Sun Feb 13 22:11:17 2005
@@ -65,7 +65,7 @@
 ^(([^:/?#]+):)?((//([^/?#]*))?([^?#]*)(\\?([^#]*))?)?(#(.*))?;
 
   private static final String AUTHORITY_REGEXP =
-^(([^?#]*)@([^?#]*):([^?#]*))?;
+^((([^?#]*)@)?([^?#:]*)(:([^?#]*)))?;
 
   /**
* Valid characters (taken from rfc2396)
@@ -115,9 +115,9 @@
*/
   private static final int FRAGMENT_GROUP = 10;
   
-  private static final int AUTHORITY_USERINFO_GROUP = 2;
-  private static final int AUTHORITY_HOST_GROUP = 3;
-  private static final int AUTHORITY_PORT_GROUP = 4;
+  private static final int AUTHORITY_USERINFO_GROUP = 3;
+  private static final int AUTHORITY_HOST_GROUP = 4;
+  private static final int AUTHORITY_PORT_GROUP = 6;
   
   private transient String scheme;
   private transient String rawSchemeSpecificPart;

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Build error for linux x86_64

2005-02-13 Thread Michael Franz
On Mon, 31 Jan 2005 14:11:45 +0100, Dalibor Topic [EMAIL PROTECTED] wrote:
 Michael Franz wrote:
  Tried the latest head and getting this error.
  make[1]: Entering directory `/home/mfranz/development/kaffe-dev/kaffe/po'
  test -z fr.gmo zh_TW.gmo || make fr.gmo zh_TW.gmo
  make[2]: Entering directory `/home/mfranz/development/kaffe-dev/kaffe/po'
  rm -f fr.gmo  : -c --statistics -o fr.gmo fr.po
  mv: cannot stat `t-fr.gmo': No such file or directory
  make[2]: *** [fr.gmo] Error 1
  make[2]: Leaving directory `/home/mfranz/development/kaffe-dev/kaffe/po'
  make[1]: *** [stamp-po] Error 2
  make[1]: Leaving directory `/home/mfranz/development/kaffe-dev/kaffe/po'
  make: *** [all-recursive] Error 1
 
 Hmmm. Are you still getting that one?

Yes, this is still happening.

 
 cheers,
 dalibor topic


___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): No comment

2005-02-13 Thread Kaffe CVS

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: swing fixlet

2005-02-13 Thread Kaffe CVS
PatchSet 5532 
Date: 2005/02/13 22:33:37
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: swing fixlet

2005-02-13  Dalibor Topic  [EMAIL PROTECTED]

Resynced with GNU Classpath.

2005-02-10  Michael Koch  [EMAIL PROTECTED]

* javax/swing/JTabbedPane.java
(Page.setDisplayedMnemonicIndex): Handle empty menmonic.

Members: 
libraries/javalib/javax/swing/JTabbedPane.java:1.5-1.6 
ChangeLog:1.3576-1.3577 

Index: kaffe/libraries/javalib/javax/swing/JTabbedPane.java
diff -u kaffe/libraries/javalib/javax/swing/JTabbedPane.java:1.5 
kaffe/libraries/javalib/javax/swing/JTabbedPane.java:1.6
--- kaffe/libraries/javalib/javax/swing/JTabbedPane.java:1.5Thu Jan 27 
14:07:11 2005
+++ kaffe/libraries/javalib/javax/swing/JTabbedPane.javaSun Feb 13 
22:33:37 2005
@@ -518,12 +518,12 @@
  * or equal to title.length.
  */
 public void setDisplayedMnemonicIndex(int index)
-   throws IllegalArgumentException
+  throws IllegalArgumentException
 {
   if (index  -1 || title != null  index = title.length())
throw new IllegalArgumentException();
 
-  if (title == null || title.charAt(index) != mnemonicKey)
+  if (title == null || mnemonicKey == 0 || title.charAt(index) != 
mnemonicKey)
index = -1;
 
   underlinedChar = index;
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3576 kaffe/ChangeLog:1.3577
--- kaffe/ChangeLog:1.3576  Sun Feb 13 22:32:04 2005
+++ kaffe/ChangeLog Sun Feb 13 22:33:33 2005
@@ -2,6 +2,15 @@
 
Resynced with GNU Classpath.
 
+   2005-02-10  Michael Koch  [EMAIL PROTECTED]
+
+* javax/swing/JTabbedPane.java
+(Page.setDisplayedMnemonicIndex): Handle empty menmonic.
+
+2005-02-13  Dalibor Topic  [EMAIL PROTECTED]
+
+   Resynced with GNU Classpath.
+
2005-02-10  Graydon Hoare  [EMAIL PROTECTED]
 
 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] I want to know how to debug kaffe vm.

2005-02-13 Thread toodulli



I have studied about kaffe virtual machine 
recently.
I amazing that so many people know kaffe vm.
I want to know how to debug kaffe vm using ddd debuging tools.
But, I couldn't use ddd tools base on kaffe vm.
I did debug simple program to use ddd.
Could you help me what do i do to debug kaffe vm to used ddd debuging 
tools.

good luck

- from korea donggi-im.


-



  
	
		
		  
		
		  
		
		
		   
		
		  
			  

	
	  
		  
			

  
  
  
	  
		
		 
		
		 
		
	  
	  
		 
	  
		
	  
	

			  
			
			

  
  
  
  
	  
		
		  
		!
		  
		 
	  
	  
		 
	  
		  ?
	  
	

			  
		  
		
	
  
			  
			
		

	  
  
___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (robilad): Resynced with gnu classpath: dom cleanup

2005-02-13 Thread Kaffe CVS
PatchSet 5533 
Date: 2005/02/14 02:54:23
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with gnu classpath: dom cleanup

Members: 
ChangeLog:1.3577-1.3578 
libraries/javalib/Makefile.am:1.308-1.309 
libraries/javalib/Makefile.in:1.394-1.395 
libraries/javalib/all.files:1.88-1.89 
libraries/javalib/gnu/xml/dom/Consumer.java:1.8-1.9 
libraries/javalib/gnu/xml/dom/DomAttr.java:1.9-1.10 
libraries/javalib/gnu/xml/dom/DomCDATA.java:1.8-1.9(DEAD) 
libraries/javalib/gnu/xml/dom/DomCDATASection.java:INITIAL-1.1 
libraries/javalib/gnu/xml/dom/DomCharacterData.java:1.9-1.10 
libraries/javalib/gnu/xml/dom/DomDOMException.java:INITIAL-1.1 
libraries/javalib/gnu/xml/dom/DomDoctype.java:1.9-1.10 
libraries/javalib/gnu/xml/dom/DomDocument.java:1.11-1.12 
libraries/javalib/gnu/xml/dom/DomDocumentBuilder.java:1.2-1.3 
libraries/javalib/gnu/xml/dom/DomDocumentConfiguration.java:1.2-1.3 
libraries/javalib/gnu/xml/dom/DomDocumentFragment.java:INITIAL-1.1 
libraries/javalib/gnu/xml/dom/DomElement.java:1.8-1.9 
libraries/javalib/gnu/xml/dom/DomEx.java:1.7-1.8(DEAD) 
libraries/javalib/gnu/xml/dom/DomFragment.java:1.8-1.9(DEAD) 
libraries/javalib/gnu/xml/dom/DomImpl.java:1.10-1.11 
libraries/javalib/gnu/xml/dom/DomIterator.java:1.7-1.8 
libraries/javalib/gnu/xml/dom/DomNamedNodeMap.java:1.9-1.10 
libraries/javalib/gnu/xml/dom/DomNode.java:1.12-1.13 
libraries/javalib/gnu/xml/dom/DomNsNode.java:1.8-1.9 
libraries/javalib/gnu/xml/dom/DomPI.java:1.8-1.9(DEAD) 

libraries/javalib/gnu/xml/dom/DomProcessingInstruction.java:INITIAL-1.1 
libraries/javalib/gnu/xml/dom/DomText.java:1.8-1.9 
libraries/javalib/gnu/xml/dom/DomXPathExpression.java:1.5-1.6 
libraries/javalib/gnu/xml/dom/DomXPathResult.java:1.4-1.5 
libraries/javalib/gnu/xml/dom/JAXPFactory.java:1.8-1.9 
libraries/javalib/gnu/xml/dom/ls/DomLSEx.java:1.2-1.3(DEAD) 
libraries/javalib/gnu/xml/dom/ls/DomLSException.java:INITIAL-1.1 
libraries/javalib/gnu/xml/dom/ls/DomLSParser.java:1.2-1.3 
libraries/javalib/gnu/xml/dom/ls/DomLSSerializer.java:1.2-1.3 
libraries/javalib/gnu/xml/util/SAXNullTransformerFactory.java:1.8-1.9 
libraries/javalib/gnu/xml/xpath/Predicate.java:1.3-1.4 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3577 kaffe/ChangeLog:1.3578
--- kaffe/ChangeLog:1.3577  Sun Feb 13 22:33:33 2005
+++ kaffe/ChangeLog Mon Feb 14 02:54:23 2005
@@ -2,6 +2,42 @@
 
Resynced with GNU Classpath.
 
+   2005-02-10  Chris Burdess  [EMAIL PROTECTED]
+
+* gnu/xml/dom/DomAttr.java,
+gnu/xml/dom/DomCDATA.java,
+gnu/xml/dom/DomCDATASection.java,
+gnu/xml/dom/DomCharacterData.java,
+gnu/xml/dom/DomDOMException.java,
+gnu/xml/dom/DomDoctype.java,
+gnu/xml/dom/DomDocument.java,
+gnu/xml/dom/DomDocumentConfiguration.java,
+gnu/xml/dom/DomDocumentFragment.java,
+gnu/xml/dom/DomElement.java,
+gnu/xml/dom/DomEx.java,
+gnu/xml/dom/DomFragment.java,
+gnu/xml/dom/DomImpl.java,
+gnu/xml/dom/DomIterator.java,
+gnu/xml/dom/DomNamedNodeMap.java,
+gnu/xml/dom/DomNode.java,
+gnu/xml/dom/DomNsNode.java,
+gnu/xml/dom/DomPI.java,
+gnu/xml/dom/DomProcessingInstruction.java,
+gnu/xml/dom/DomText.java,
+gnu/xml/dom/DomLSEx.java,
+gnu/xml/dom/DomLSException.java,
+gnu/xml/dom/DomLSParser.java,
+gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
+implementation class names to conform to Classpath guidelines. Make
+DomLSException use JDK 1.4+ exception chaining.
+* gnu/xml/util/SAXNullTransformerFactory.java,
+gnu/xml/xpath/Predicate.java: Use constants relative to declaring
+class or interface.
+
+2005-02-13  Dalibor Topic  [EMAIL PROTECTED]
+
+   Resynced with GNU Classpath.
+
2005-02-10  Michael Koch  [EMAIL PROTECTED]
 
 * javax/swing/JTabbedPane.java
Index: kaffe/libraries/javalib/Makefile.am
diff -u kaffe/libraries/javalib/Makefile.am:1.308 
kaffe/libraries/javalib/Makefile.am:1.309
--- kaffe/libraries/javalib/Makefile.am:1.308   Sun Feb 13 21:56:28 2005
+++ kaffe/libraries/javalib/Makefile.am Mon Feb 14 02:54:25 2005
@@ -1646,21 +1646,21 @@
gnu/xml/dom/DTDAttributeTypeInfo.java \
gnu/xml/dom/DTDElementTypeInfo.java \
gnu/xml/dom/DomAttr.java \
-   gnu/xml/dom/DomCDATA.java \
+   gnu/xml/dom/DomCDATASection.java \
gnu/xml/dom/DomCharacterData.java \
gnu/xml/dom/DomComment.java \
+   gnu/xml/dom/DomDOMException.java \
gnu/xml/dom/DomDoctype.java \
gnu/xml/dom/DomDocument.java \
gnu/xml/dom/DomDocumentBuilder.java \
gnu/xml/dom/DomDocumentBuilderFactory.java \
 

Re: [kaffe] I want to know how to debug kaffe vm.

2005-02-13 Thread Sanghyeon Seo
On Mon, 14 Feb 2005 10:44:03 +0900, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Could you help me what do i do to debug kaffe vm to used ddd debuging tools.

Set an environment variable KAFFE_DEBUG to ddd. If you're curious how it works,
have a look at $prefix/bin/kaffe.

I am from Korea too. Nice to meet you.

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (jserv): configure.ac: Fix typo.

2005-02-13 Thread Kaffe CVS
PatchSet 5534 
Date: 2005/02/14 06:51:32
Author: jserv
Branch: HEAD
Tag: (none) 
Log:
2005-02-14  Jim Huang  [EMAIL PROTECTED]

* configure.ac: Fix typo.

* FAQ/FAQ.awt:
Updated Graphics2D implementation and DirectFB kawt
information.

* kaffe/scripts/Makefile.am:
The appletviewer script would not be installed if the
native AWT backends are disabled.
NOTE: we must introduce a better way to let appletviewer
switches different AWT backends, and use gcjwebplugin
later.

* configure,
kaffe/scripts/Makefile.in:
Regenerated.

Members: 
ChangeLog:1.3578-1.3579 
configure:1.427-1.428 
configure.ac:1.117-1.118 
FAQ/FAQ.awt:1.13-1.14 
kaffe/scripts/Makefile.am:1.12-1.13 
kaffe/scripts/Makefile.in:1.167-1.168 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3578 kaffe/ChangeLog:1.3579
--- kaffe/ChangeLog:1.3578  Mon Feb 14 02:54:23 2005
+++ kaffe/ChangeLog Mon Feb 14 06:51:32 2005
@@ -1,3 +1,22 @@
+2005-02-14  Jim Huang  [EMAIL PROTECTED]
+
+   * configure.ac: Fix typo.
+
+   * FAQ/FAQ.awt:
+   Updated Graphics2D implementation and DirectFB kawt
+   information.
+
+   * kaffe/scripts/Makefile.am:
+   The appletviewer script would not be installed if the
+   native AWT backends are disabled.
+   NOTE: we must introduce a better way to let appletviewer
+   switches different AWT backends, and use gcjwebplugin
+   later.
+
+   * configure,
+   kaffe/scripts/Makefile.in:
+   Regenerated.
+
 2005-02-13  Dalibor Topic  [EMAIL PROTECTED]
 
Resynced with GNU Classpath.
Index: kaffe/configure
diff -u kaffe/configure:1.427 kaffe/configure:1.428
--- kaffe/configure:1.427   Sun Feb 13 21:55:02 2005
+++ kaffe/configure Mon Feb 14 06:51:36 2005
@@ -1145,7 +1145,7 @@
   --with-qtdir=DIRQt installation directory default=$QTDIR
   --with-kaffe-nanox-awt  enable build of Kaffe's Nano-X AWT engine (not built
   by default)
-  --with-nanox-includes=dir
+  --with-nanox-include=dir
   Specify NanoX include directory
   --with-nanox-library=dir
   Specify NanoX library directory
Index: kaffe/configure.ac
diff -u kaffe/configure.ac:1.117 kaffe/configure.ac:1.118
--- kaffe/configure.ac:1.117Sun Feb 13 21:55:21 2005
+++ kaffe/configure.ac  Mon Feb 14 06:51:34 2005
@@ -1716,7 +1716,7 @@
dnl 
---
 
AC_ARG_WITH(nanox-include,
-   AS_HELP_STRING([--with-nanox-includes=dir],
+   AS_HELP_STRING([--with-nanox-include=dir],
[Specify NanoX include directory]),
[ NANOXINC=$withval ],
[ NANOXINC=/usr/include/microwin ])
Index: kaffe/FAQ/FAQ.awt
diff -u kaffe/FAQ/FAQ.awt:1.13 kaffe/FAQ/FAQ.awt:1.14
--- kaffe/FAQ/FAQ.awt:1.13  Tue Feb  8 06:41:29 2005
+++ kaffe/FAQ/FAQ.awt   Mon Feb 14 06:51:39 2005
@@ -33,7 +33,9 @@
 might need Cairo Graphics framework (http://www.cairographics.org/) to enable
 the new Graphics2D implementation, which is reported to let many complex AWT
 and Swing applications, such as JFreeChart, run well. Tell configure script
-with --enable-gtk-cairo to enable new Graphics2D.
+with --enable-gtk-cairo to enable new Graphics2D, and drive your Java startup
+command with -Dgnu.java.awt.peer.gtk.Graphics=Graphics2D to use Cairo-based
+Graphics2D implementation.
 
 GNU Classpath AWT is very excellent to meet the specifications of Sun JDK,
 and you can look into the latest comparison from [Results of comparison 
@@ -76,12 +78,12 @@
 * --with-kaffe-x-awt
 
   an X lib based AWT backend. It is the default AWT backend if the X
-  Windows system is detected by the configure script.
+  Window system is detected by the configure script.
 
   The X lib based AWT backend has been written by Peter Mehlitz from
   Transvirtual.
 
-  See http://www.x.org for information on X Windows.
+  See http://www.x.org for information on X Window System.
 
 * --with-kaffe-qt-awt
 
@@ -139,8 +141,8 @@
   and implementation to merge in.
 
   To enable Nano-X based AWT backend, you should also pass the extra
-  two options to configure script, --with-nanox-includes and 
-  --with-nanox-library, to specify the the corresponding Nano-X.
+  two options to configure script, --with-nanox-include and 
+  --with-nanox-library, to specify the the corresponding Nano-X path.
 
   See http://www.microwindows.org/ for informations on Nano-X.
 
@@ -235,20 +237,22 @@
 helping the Kaffe developers merge them with the Kaffe.org sources,
 contact us on the Kaffe Mailing List [EMAIL PROTECTED]
 
-The list of backends from PocketLinux includes Gtk, grx, peg, Allegro
-and a few others.
+The list of backends from PocketLinux includes Gtk1, grx, peg, Allegro
+and a few others. The major difference in native AWT