[kaffe] Build error for linux x86_64
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 ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (jserv): Updated zh_TW translation.
PatchSet 5947 Date: 2005/01/29 23:05:02 Author: jserv Branch: HEAD Tag: (none) Log: Updated zh_TW translation. 2005-01-29 Jim Huang <[EMAIL PROTECTED]> * po/zh_TW.po: Updated translation and its encoding converted from Big5 to UTF-8. Members: ChangeLog:1.3486->1.3487 po/zh_TW.po:1.11->1.12 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.3486 kaffe/ChangeLog:1.3487 --- kaffe/ChangeLog:1.3486 Sat Jan 29 15:46:58 2005 +++ kaffe/ChangeLog Sat Jan 29 23:05:02 2005 @@ -1,3 +1,8 @@ +2005-01-29 Jim Huang <[EMAIL PROTECTED]> + + * po/zh_TW.po: + Updated translation and its encoding converted from Big5 to UTF-8. + 2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> Resynced with GNU Classpath. Index: kaffe/po/zh_TW.po diff -u kaffe/po/zh_TW.po:1.11 kaffe/po/zh_TW.po:1.12 --- kaffe/po/zh_TW.po:1.11 Sun Jan 23 22:34:47 2005 +++ kaffe/po/zh_TW.po Sat Jan 29 23:05:00 2005 @@ -1,110 +1,109 @@ # Traditional Chinese translations for Kaffe Virtual Machine package. -# Copyright (C) 2004 Kaffe.org contributors. +# Copyright (c) 2004, 2005 Jim Huang <[EMAIL PROTECTED]>. # This file is distributed under the same license as the Kaffe Virtual Machine package. -# Jim Huang <[EMAIL PROTECTED]>, 2004. # msgid "" msgstr "" "Project-Id-Version: Kaffe Virtual Machine 1.1.x-cvs\n" "Report-Msgid-Bugs-To: [EMAIL PROTECTED]" "POT-Creation-Date: 2005-01-23 23:15-0500\n" -"PO-Revision-Date: 2004-07-23 09:45+0800\n" +"PO-Revision-Date: 2005-01-29 09:45+0800\n" "Last-Translator: Jim Huang <[EMAIL PROTECTED]>\n" "Language-Team: Traditional Chinese \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=big5\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #: kaffe/kaffe/main.c:418 kaffe/kaffe/main.c:496 kaffe/kaffe/main.c:548 #: kaffe/kaffe/main.c:575 kaffe/kaffe/main.c:600 kaffe/kaffe/main.c:622 #, c-format msgid "Error: out of memory.\n" -msgstr "¿ù»~¡G°O¾ÐÅ餣¨¬\n" +msgstr "é¯èª¤ï¼è¨æ¶é«ä¸è¶³\n" #: kaffe/kaffe/main.c:637 #, c-format msgid "Error: No stack size found for -ss option.\n" -msgstr "¿ù»~¡G¦b -ss ¿ï¶µ¤¤¨S¦³«ü©w°ïÅ|ªÅ¶¡\n" +msgstr "é¯èª¤ï¼å¨ -ss é¸é ä¸æ²ææå®å ç空é\n" #: kaffe/kaffe/main.c:645 #, c-format msgid "Warning: Attempt to set stack size smaller than %d - ignored.\n" -msgstr "ĵ§i¡G¹Á¸Õ³]©w¤Ö©ó %d ªº°ïÅ|ªÅ¶¡ - ©¿²¤\n" +msgstr "è¦åï¼å試è¨å®å°æ¼ %d çå ç空é - 忽ç¥\n" #: kaffe/kaffe/main.c:656 #, c-format msgid "Error: No heap size found for -mx option.\n" -msgstr "¿ù»~¡G¦b -mx ¿ï¶µ¤¤¨S¦³«ü©w heap ªÅ¶¡\n" +msgstr "é¯èª¤ï¼å¨ -mx é¸é ä¸æ²ææå® heap 空é\n" #: kaffe/kaffe/main.c:669 #, c-format msgid "Error: No heap size found for -ms option.\n" -msgstr "¿ù»~¡G¦b -ms ¿ï¶µ¤¤¨S¦³«ü©w heap ªÅ¶¡\n" +msgstr "é¯èª¤ï¼å¨ -ms é¸é ä¸æ²ææå® heap 空é\n" #: kaffe/kaffe/main.c:681 #, c-format msgid "Error: No heap size found for -as option.\n" -msgstr "¿ù»~¡G¦b -as ¿ï¶µ¤¤¨S¦³«ü©w heap ªÅ¶¡\n" +msgstr "é¯èª¤ï¼å¨ -as é¸é ä¸æ²ææå® heap 空é\n" #: kaffe/kaffe/main.c:737 #, c-format msgid "Error: -Xxprof_syms option requires a file name.\n" -msgstr "¿ù»~¡G-Xxprof_syms ¿ï¶µ»Ýn´£¨ÑÀɦW\n" +msgstr "é¯èª¤ï¼-Xxprof_syms é¸é éè¦æä¾æªå\n" #: kaffe/kaffe/main.c:743 #, c-format msgid "Unable to create profiler symbol file %s.\n" -msgstr "µLªk«Ø¥ß profiler ²Å¸¹¸ê°TÀÉ¡G%s\n" +msgstr "ç¡æ³å»ºç« profiler 符èè³è¨æªï¼%s\n" #: kaffe/kaffe/main.c:752 #, c-format msgid "Error: -Xxprof_gmon option requires a file name.\n" -msgstr "¿ù»~¡G-Xxprof_gmon ¿ï¶µ»Ýn´£¨ÑÀɦW\n" +msgstr "é¯èª¤ï¼-Xxprof_gmon é¸é éè¦æä¾æªå\n" #: kaffe/kaffe/main.c:758 #, c-format msgid "Unable to create gmon file %s.\n" -msgstr "µLªk«Ø¥ß gmon ÀÉ¡G %s\n" +msgstr "ç¡æ³å»ºç« gmon æªï¼ %s\n" #: kaffe/kaffe/main.c:772 #, c-format msgid "Error: -Xxdebug_file option requires a file name.\n" -msgstr "¿ù»~¡G-Xxdebug_file ¿ï¶µ»Ýn´£¨ÑÀɦW\n" +msgstr "é¯èª¤ï¼-Xxdebug_file é¸é éè¦æä¾æªå\n" #: kaffe/kaffe/main.c:786 #, c-format msgid "Error: -Xfeedback option requires a file name.\n" -msgstr "¿ù»~¡G-Xfeedback ¿ï¶µ»Ýn´£¨ÑÀɦW\n" +msgstr "é¯èª¤ï¼-Xfeedback é¸é éè¦æä¾æªå\n" #: kaffe/kaffe/main.c:804 #, c-format msgid "Error: -vmstats option requires a second arg.\n" -msgstr "¿ù»~¡G-vmstats ¿ï¶µ»ÝnÃB¥~ªº°Ñ¼Æ\n" +msgstr "é¯èª¤ï¼-vmstats é¸é éè¦é¡å¤çåæ¸\n" #: kaffe/kaffe/main.c:816 #, c-format msgid "Error: -vmdebug option requires a debug flag. Use `list' for a list.\n" -msgstr "¿ù»~¡G-vmdebug ¿ï¶µ»Ýn°»¿ùºX¼Ð¡A½Ð¥Î -vmdebug list ¨ú±oºX¼Ð¦Cªí\n" +msgstr "é¯èª¤ï¼-vmdebug é¸é éè¦åµé¯ææ¨ï¼è«ç¨ -vmdebug list åå¾ææ¨å表\n" #: kaffe/kaffe/main.c:829 #, c-format msgid "Error: -debug-fd an open descriptor.\n" -msgstr "" +msgstr "é¯èª¤ï¼ -debug-fd å¾é¢æ該æåæªæ¡æè¿°å (file descriptor)\n" #: kaffe/kaffe/main
[kaffe] internal regression failure on Solaris
Hey all, on trustful legolas, now strong with new 160MB of memory that unleash the power of the 2 CPU's much better, I attempted a build, using jikes and zip... "make" terminates with no errors, while make check does. This is the entroy of my build pages: "make" succeeds, but make check fails with: Undefined first referenced symbol in file strtouq jitBasic.o ld: fatal: Symbol referencing errors. No output written to . libs/jitBasic I tried replacing strtouq to strtoull, but it fails then in other ways: make[5]: Entering directory `/home/multix/kaffe-cvs/sunos- build/test/internal' ld.so.1: /home/multix/kaffe-cvs/sunos-build/test/ internal/.libs/jitBasic: fatal: libgcc_s.so.1: open failed: No such file or directory /bin/ksh: 8457 Killed FAIL: jitBasic Bye, Riccardo ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] testcase: non-deterministic behavior with Swing
Hi, while trying to produce a reduced testcase for a kaffe bug I encountered non-deterministic behavior with the following code snippet (also available at http://iki.fi/lindi/Test4.java ): /* Testcase: The window opens only with a probability of about 40% * with kaffe from cvs 2005-01-29 while jamvm 1.2.4 with gnu classpath * from cvs 2005-01-27 opens the window every time */ import javax.swing.*; public class Test4 extends JFrame { public Test4() { JLabel label = new JLabel("foo"); JPanel panel = new JPanel(); panel.add(label); this.setContentPane(panel); this.pack(); } public static void main(String[] args) { new Test4().setVisible(true); } } best regards, Timo Lindfors pgpIreLy0DiPy.pgp Description: PGP signature ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] many regressions failures on darwin6
Hello, a new build on darwin6 shows many regression failures, namely 18: ArrayForName.fail MethodErrors.fail BufferedReaderTest.fail NullInvoke.fail CharArrayReaderTest.failProcessClassTest.fail DateFormatTest.fail StackDump.fail ExceptionInInitializerTest.fail TestSerialFields.fail GCTest.fail ThreadLocalTest.fail LineNumberReaderTest.fail UDPTest.fail LostFrame.fail WaitTest.fail MapTest.failttest.fail bye, Riccardo ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] unhandled NullPointerException in gjdoc from CVS
The following happened with a Kaffe I checked out from cvs.kaffe.org today and compiled with Debian gcc-3.3 1:3.3.5-4 on i386-pc-linux-gnu. [EMAIL PROTECTED]:~/pikkuohjelmat/java/TESTIT$ echo $LANG fi_FI.UTF-8 [EMAIL PROTECTED]:~/pikkuohjelmat/java/TESTIT$ cat javadoc.java public class X { public interface Y { } public interface Z { } } [EMAIL PROTECTED]:~/pikkuohjelmat/java/TESTIT$ ls -l $(type -p javadoc) lrwxrwxrwx 1 kalle kalle 46 2005-01-29 18:59 /home/kalle/i386-pc-linux-gnu/bin/javadoc -> ../../stow/kaffe/i386-pc-linux-gnu/bin/javadoc [EMAIL PROTECTED]:~/pikkuohjelmat/java/TESTIT$ javadoc -locale fi_FI javadoc.java Loading source file javadoc.java ... java.lang.NullPointerException at gnu.classpath.tools.gjdoc.Main.getCollator (Main.java:1453) at gnu.classpath.tools.gjdoc.DocImpl.compareTo (DocImpl.java:58) at gnu.classpath.tools.gjdoc.ClassDocImpl.compareTo (ClassDocImpl.java:1056) at gnu.classpath.tools.gjdoc.ClassDocImpl.compareTo (ClassDocImpl.java:1036) at java.util.TreeMap.compare (TreeMap.java:734) at java.util.TreeMap.put (TreeMap.java:555) at java.util.TreeSet.add (TreeSet.java:176) at gnu.classpath.tools.gjdoc.PackageDocImpl.addClass (PackageDocImpl.java:51) at gnu.classpath.tools.gjdoc.Parser.classOpened (Parser.java:856) at gnu.classpath.tools.gjdoc.ClassComponent.process (Parser.java:563) at gnu.classpath.tools.gjdoc.Parser.parse (Parser.java:773) at gnu.classpath.tools.gjdoc.ClassComponent.process (Parser.java:568) at gnu.classpath.tools.gjdoc.Parser.parse (Parser.java:773) at gnu.classpath.tools.gjdoc.Parser.processSourceFile (Parser.java:733) at gnu.classpath.tools.gjdoc.RootDocImpl.build (RootDocImpl.java:244) at gnu.classpath.tools.gjdoc.Main.startDoclet (Main.java:567) at gnu.classpath.tools.gjdoc.Main.start (Main.java:880) at gnu.classpath.tools.gjdoc.Main.main (Main.java:720) [EMAIL PROTECTED]:~/pikkuohjelmat/java/TESTIT$ javadoc javadoc.java Loading source file javadoc.java ... Constructing Javadoc information... WARNING: Cannot locate class java.lang.Object on file system, falling back to reflection. Resolving references in comments... Resolving references in classes... Resolving references in packages... Resolving references in class comments... Resolving references in package comments... Running doclet... Building cross-reference information... Writing overview files... Writing index... Writing HTML files for package 1 warnings [EMAIL PROTECTED]:~/pikkuohjelmat/java/TESTIT$ pgp5THpWg2GUR.pgp Description: PGP signature ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (robilad): Resynced with GNU classpath: DropTarget cleanup
PatchSet 5937 Date: 2005/01/29 15:26:06 Author: robilad Branch: HEAD Tag: (none) Log: Resynced with GNU classpath: DropTarget cleanup 2005-01-27 Dalibor Topic <[EMAIL PROTECTED]> Resynced with GNU Classpath. 2005-01-27 Michael Koch <[EMAIL PROTECTED]> * java/awt/dnd/DropTarget.java (addDropTargetListener): Clarified comments. Members: ChangeLog:1.3476->1.3477 libraries/javalib/java/awt/dnd/DropTarget.java:1.7->1.8 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.3476 kaffe/ChangeLog:1.3477 --- kaffe/ChangeLog:1.3476 Sat Jan 29 14:35:26 2005 +++ kaffe/ChangeLog Sat Jan 29 15:26:06 2005 @@ -2,6 +2,15 @@ Resynced with GNU Classpath. + 2005-01-27 Michael Koch <[EMAIL PROTECTED]> + + * java/awt/dnd/DropTarget.java (addDropTargetListener): + Clarified comments. + +2005-01-27 Dalibor Topic <[EMAIL PROTECTED]> + +Resynced with GNU Classpath. + 2005-01-27 Graydon Hoare <[EMAIL PROTECTED]> * java/awt/dnd/DropTarget.java Index: kaffe/libraries/javalib/java/awt/dnd/DropTarget.java diff -u kaffe/libraries/javalib/java/awt/dnd/DropTarget.java:1.7 kaffe/libraries/javalib/java/awt/dnd/DropTarget.java:1.8 --- kaffe/libraries/javalib/java/awt/dnd/DropTarget.java:1.7Sat Jan 29 14:35:29 2005 +++ kaffe/libraries/javalib/java/awt/dnd/DropTarget.javaSat Jan 29 15:26:09 2005 @@ -205,16 +205,14 @@ /** * Adds a new DropTargetListener. * - * @exception TooManyListenersException If there is already a - * DropTargetListener. + * @exception TooManyListenersException Sun's JDK does not, despite + * documentation, throw this exception here when you install an additional + * DropTargetListener. So to be compatible, we do the same + * thing. */ public void addDropTargetListener (DropTargetListener dtl) throws TooManyListenersException { -// Sun's JDK does not, despite documentation, throw any sort of -// exception here when you install an additional DropTargetListener. -// So to be compatible, we do the same thing. - dropTargetListener = dtl; } ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (robilad): Resynced with GNU classpath: date format fix from ito
PatchSet 5946 Date: 2005/01/29 15:47:08 Author: robilad Branch: HEAD Tag: (none) Log: Resynced with GNU classpath: date format fix from ito 2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> Resynced with GNU Classpath. 2005-01-29 Ito Kazumitsu <[EMAIL PROTECTED]> * java/text/SimpleDateFormat.java: (parse): Set the DST offset to 0 when parsing GMT offset timezones. Members: libraries/javalib/java/text/SimpleDateFormat.java:1.41->1.42 ChangeLog:1.3485->1.3486 Index: kaffe/libraries/javalib/java/text/SimpleDateFormat.java diff -u kaffe/libraries/javalib/java/text/SimpleDateFormat.java:1.41 kaffe/libraries/javalib/java/text/SimpleDateFormat.java:1.42 --- kaffe/libraries/javalib/java/text/SimpleDateFormat.java:1.41Wed Jan 26 14:19:44 2005 +++ kaffe/libraries/javalib/java/text/SimpleDateFormat.java Sat Jan 29 15:47:08 2005 @@ -850,6 +850,7 @@ { found_zone = true; saw_timezone = true; + calendar.set(Calendar.DST_OFFSET, 0); offset = simpleOffset.intValue(); } else Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.3485 kaffe/ChangeLog:1.3486 --- kaffe/ChangeLog:1.3485 Sat Jan 29 15:45:48 2005 +++ kaffe/ChangeLog Sat Jan 29 15:46:58 2005 @@ -2,6 +2,16 @@ Resynced with GNU Classpath. + 2005-01-29 Ito Kazumitsu <[EMAIL PROTECTED]> + + * java/text/SimpleDateFormat.java: + (parse): Set the DST offset to 0 when parsing + GMT offset timezones. + +2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> + +Resynced with GNU Classpath. + 2005-01-28 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/DomNode: Correct implementation of getElementsByTagName ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (robilad): resynced with GNU Classpath: cleanup in GregorianCalender
PatchSet 5938 Date: 2005/01/29 15:27:40 Author: robilad Branch: HEAD Tag: (none) Log: resynced with GNU Classpath: cleanup in GregorianCalender 2005-01-27 Dalibor Topic <[EMAIL PROTECTED]> Resynced with GNU Classpath. 2005-01-27 Michael Koch <[EMAIL PROTECTED]> * java/util/GregorianCalendar.java (getLeniarDay): Made private. Members: ChangeLog:1.3477->1.3478 libraries/javalib/java/util/GregorianCalendar.java:1.32->1.33 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.3477 kaffe/ChangeLog:1.3478 --- kaffe/ChangeLog:1.3477 Sat Jan 29 15:26:06 2005 +++ kaffe/ChangeLog Sat Jan 29 15:27:40 2005 @@ -4,6 +4,15 @@ 2005-01-27 Michael Koch <[EMAIL PROTECTED]> + * java/util/GregorianCalendar.java (getLeniarDay): + Made private. + +2005-01-27 Dalibor Topic <[EMAIL PROTECTED]> + +Resynced with GNU Classpath. + + 2005-01-27 Michael Koch <[EMAIL PROTECTED]> + * java/awt/dnd/DropTarget.java (addDropTargetListener): Clarified comments. Index: kaffe/libraries/javalib/java/util/GregorianCalendar.java diff -u kaffe/libraries/javalib/java/util/GregorianCalendar.java:1.32 kaffe/libraries/javalib/java/util/GregorianCalendar.java:1.33 --- kaffe/libraries/javalib/java/util/GregorianCalendar.java:1.32 Mon Jan 24 15:59:45 2005 +++ kaffe/libraries/javalib/java/util/GregorianCalendar.javaSat Jan 29 15:27:42 2005 @@ -644,7 +644,7 @@ * @param gregorian true, if we should use the Gregorian rules. * @return the days since the epoch, may be negative. */ - public long getLinearDay(int year, int dayOfYear, boolean gregorian) + private long getLinearDay(int year, int dayOfYear, boolean gregorian) { // The 13 is the number of days, that were omitted in the Gregorian // Calender until the epoch. ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] Bug report: java.text.SimpleDateFormat#parse
Ito Kazumitsu wrote: Hi, In message "Re: [kaffe] Bug report: java.text.SimpleDateFormat#parse" on 05/01/27, Dalibor Topic <[EMAIL PROTECTED]> writes: Thanks Ito, I've applied your patch, as Andrew applied it to Classpath. The regression test still fails for me, unfortunately. And it can be explained as follows: Konnichiwa Ito, Thanks a lot for your kind explanation! I should have added calendar.set (Calendar.DST_OFFSET, 0); to the part where "GMT+xx:yy" is being parsed, not only just swapping Calendar.DST_OFFSET and Calendar.ZONE_OFFSET. And even more thanks for your patch fixing the problem :) I've merged it in from GNU Classpath, and now all tests pass again for me. By the way, Dates don't match? Thu Oct 28 06:00:27 America/Los_Angeles 2004 != Thu Oct 28 05:00:27 America/Los_Angeles 2004 ^^^ why "America/Los_Angeles" appears instead of "PDT" is explained in http://www.kaffe.org/pipermail/kaffe/2005-January/101286.html http://lists.gnu.org/archive/html/classpath/2005-01/msg00200.html I've added a bug report for that to GNU Classpath bug database, so that it doesn't fall to the floor. 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: date format fix from ito
PatchSet 5946 Date: 2005/01/29 15:47:08 Author: robilad Branch: HEAD Tag: (none) Log: Resynced with GNU classpath: date format fix from ito 2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> Resynced with GNU Classpath. 2005-01-29 Ito Kazumitsu <[EMAIL PROTECTED]> * java/text/SimpleDateFormat.java: (parse): Set the DST offset to 0 when parsing GMT offset timezones. Members: libraries/javalib/java/text/SimpleDateFormat.java:1.41->1.42 ChangeLog:1.3485->1.3486 Index: kaffe/libraries/javalib/java/text/SimpleDateFormat.java diff -u kaffe/libraries/javalib/java/text/SimpleDateFormat.java:1.41 kaffe/libraries/javalib/java/text/SimpleDateFormat.java:1.42 --- kaffe/libraries/javalib/java/text/SimpleDateFormat.java:1.41Wed Jan 26 14:19:44 2005 +++ kaffe/libraries/javalib/java/text/SimpleDateFormat.java Sat Jan 29 15:47:08 2005 @@ -850,6 +850,7 @@ { found_zone = true; saw_timezone = true; + calendar.set(Calendar.DST_OFFSET, 0); offset = simpleOffset.intValue(); } else Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.3485 kaffe/ChangeLog:1.3486 --- kaffe/ChangeLog:1.3485 Sat Jan 29 15:45:48 2005 +++ kaffe/ChangeLog Sat Jan 29 15:46:58 2005 @@ -2,6 +2,16 @@ Resynced with GNU Classpath. + 2005-01-29 Ito Kazumitsu <[EMAIL PROTECTED]> + + * java/text/SimpleDateFormat.java: + (parse): Set the DST offset to 0 when parsing + GMT offset timezones. + +2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> + +Resynced with GNU Classpath. + 2005-01-28 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/DomNode: Correct implementation of getElementsByTagName ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (robilad): Resynced with GNU classpath: date format fix from ito
PatchSet 5946 Date: 2005/01/29 15:47:08 Author: robilad Branch: HEAD Tag: (none) Log: Resynced with GNU classpath: date format fix from ito 2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> Resynced with GNU Classpath. 2005-01-29 Ito Kazumitsu <[EMAIL PROTECTED]> * java/text/SimpleDateFormat.java: (parse): Set the DST offset to 0 when parsing GMT offset timezones. Members: libraries/javalib/java/text/SimpleDateFormat.java:1.41->1.42 ChangeLog:1.3485->1.3486 Index: kaffe/libraries/javalib/java/text/SimpleDateFormat.java diff -u kaffe/libraries/javalib/java/text/SimpleDateFormat.java:1.41 kaffe/libraries/javalib/java/text/SimpleDateFormat.java:1.42 --- kaffe/libraries/javalib/java/text/SimpleDateFormat.java:1.41Wed Jan 26 14:19:44 2005 +++ kaffe/libraries/javalib/java/text/SimpleDateFormat.java Sat Jan 29 15:47:08 2005 @@ -850,6 +850,7 @@ { found_zone = true; saw_timezone = true; + calendar.set(Calendar.DST_OFFSET, 0); offset = simpleOffset.intValue(); } else Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.3485 kaffe/ChangeLog:1.3486 --- kaffe/ChangeLog:1.3485 Sat Jan 29 15:45:48 2005 +++ kaffe/ChangeLog Sat Jan 29 15:46:58 2005 @@ -2,6 +2,16 @@ Resynced with GNU Classpath. + 2005-01-29 Ito Kazumitsu <[EMAIL PROTECTED]> + + * java/text/SimpleDateFormat.java: + (parse): Set the DST offset to 0 when parsing + GMT offset timezones. + +2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> + +Resynced with GNU Classpath. + 2005-01-28 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/DomNode: Correct implementation of getElementsByTagName ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (robilad): Resynced with GNU classpath: date format fix from ito
PatchSet 5946 Date: 2005/01/29 15:47:08 Author: robilad Branch: HEAD Tag: (none) Log: Resynced with GNU classpath: date format fix from ito 2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> Resynced with GNU Classpath. 2005-01-29 Ito Kazumitsu <[EMAIL PROTECTED]> * java/text/SimpleDateFormat.java: (parse): Set the DST offset to 0 when parsing GMT offset timezones. Members: libraries/javalib/java/text/SimpleDateFormat.java:1.41->1.42 ChangeLog:1.3485->1.3486 Index: kaffe/libraries/javalib/java/text/SimpleDateFormat.java diff -u kaffe/libraries/javalib/java/text/SimpleDateFormat.java:1.41 kaffe/libraries/javalib/java/text/SimpleDateFormat.java:1.42 --- kaffe/libraries/javalib/java/text/SimpleDateFormat.java:1.41Wed Jan 26 14:19:44 2005 +++ kaffe/libraries/javalib/java/text/SimpleDateFormat.java Sat Jan 29 15:47:08 2005 @@ -850,6 +850,7 @@ { found_zone = true; saw_timezone = true; + calendar.set(Calendar.DST_OFFSET, 0); offset = simpleOffset.intValue(); } else Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.3485 kaffe/ChangeLog:1.3486 --- kaffe/ChangeLog:1.3485 Sat Jan 29 15:45:48 2005 +++ kaffe/ChangeLog Sat Jan 29 15:46:58 2005 @@ -2,6 +2,16 @@ Resynced with GNU Classpath. + 2005-01-29 Ito Kazumitsu <[EMAIL PROTECTED]> + + * java/text/SimpleDateFormat.java: + (parse): Set the DST offset to 0 when parsing + GMT offset timezones. + +2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> + +Resynced with GNU Classpath. + 2005-01-28 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/DomNode: Correct implementation of getElementsByTagName ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (robilad): Resynced with GNU classpath: date format fix from ito
PatchSet 5946 Date: 2005/01/29 15:47:08 Author: robilad Branch: HEAD Tag: (none) Log: Resynced with GNU classpath: date format fix from ito 2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> Resynced with GNU Classpath. 2005-01-29 Ito Kazumitsu <[EMAIL PROTECTED]> * java/text/SimpleDateFormat.java: (parse): Set the DST offset to 0 when parsing GMT offset timezones. Members: libraries/javalib/java/text/SimpleDateFormat.java:1.41->1.42 ChangeLog:1.3485->1.3486 Index: kaffe/libraries/javalib/java/text/SimpleDateFormat.java diff -u kaffe/libraries/javalib/java/text/SimpleDateFormat.java:1.41 kaffe/libraries/javalib/java/text/SimpleDateFormat.java:1.42 --- kaffe/libraries/javalib/java/text/SimpleDateFormat.java:1.41Wed Jan 26 14:19:44 2005 +++ kaffe/libraries/javalib/java/text/SimpleDateFormat.java Sat Jan 29 15:47:08 2005 @@ -850,6 +850,7 @@ { found_zone = true; saw_timezone = true; + calendar.set(Calendar.DST_OFFSET, 0); offset = simpleOffset.intValue(); } else Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.3485 kaffe/ChangeLog:1.3486 --- kaffe/ChangeLog:1.3485 Sat Jan 29 15:45:48 2005 +++ kaffe/ChangeLog Sat Jan 29 15:46:58 2005 @@ -2,6 +2,16 @@ Resynced with GNU Classpath. + 2005-01-29 Ito Kazumitsu <[EMAIL PROTECTED]> + + * java/text/SimpleDateFormat.java: + (parse): Set the DST offset to 0 when parsing + GMT offset timezones. + +2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> + +Resynced with GNU Classpath. + 2005-01-28 Chris Burdess <[EMAIL PROTECTED]> * gnu/xml/DomNode: Correct implementation of getElementsByTagName ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: paramString implementations
PatchSet 5942 Date: 2005/01/29 15:39:55 Author: robilad Branch: HEAD Tag: (none) Log: Resynced with GNU Classpath: paramString implementations 2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> Resynced with GNU Classpath. 2005-01-28 Michael Koch <[EMAIL PROTECTED]> * java/awt/Container.java (paramString): Implemented. * javax/swing/AbstractButton.java (paramString): Implemented. * javax/swing/JComponent.java (paramString): Implemented. * javax/swing/JMenu.java (paramString): Implemented. * javax/swing/JMenuBar.java (paramString): Implemented. * javax/swing/JMenuItem.java (paramString): Implemented. * javax/swing/JPopupMenu.java (paramString): Implemented. Members: libraries/javalib/java/awt/Container.java:1.28->1.29 libraries/javalib/javax/swing/AbstractButton.java:1.10->1.11 libraries/javalib/javax/swing/JComponent.java:1.12->1.13 libraries/javalib/javax/swing/JMenu.java:1.8->1.9 libraries/javalib/javax/swing/JMenuBar.java:1.6->1.7 libraries/javalib/javax/swing/JMenuItem.java:1.7->1.8 libraries/javalib/javax/swing/JPopupMenu.java:1.8->1.9 Index: kaffe/libraries/javalib/java/awt/Container.java diff -u kaffe/libraries/javalib/java/awt/Container.java:1.28 kaffe/libraries/javalib/java/awt/Container.java:1.29 --- kaffe/libraries/javalib/java/awt/Container.java:1.28Sat Dec 11 23:08:40 2004 +++ kaffe/libraries/javalib/java/awt/Container.java Sat Jan 29 15:39:55 2005 @@ -1,5 +1,5 @@ /* Container.java -- parent container class in AWT - Copyright (C) 1999, 2000, 2002, 2003, 2004 Free Software Foundation + Copyright (C) 1999, 2000, 2002, 2003, 2004, 2005 Free Software Foundation This file is part of GNU Classpath. @@ -1052,11 +1052,14 @@ */ protected String paramString() { -String param = super.paramString(); if (layoutMgr != null) - param = param + ",layout=" + layoutMgr.getClass().getName(); + return super.paramString(); -return param; +StringBuffer sb = new StringBuffer(); +sb.append(super.paramString()); +sb.append(",layout="); +sb.append(layoutMgr.getClass().getName()); +return sb.toString(); } /** Index: kaffe/libraries/javalib/javax/swing/AbstractButton.java diff -u kaffe/libraries/javalib/javax/swing/AbstractButton.java:1.10 kaffe/libraries/javalib/javax/swing/AbstractButton.java:1.11 --- kaffe/libraries/javalib/javax/swing/AbstractButton.java:1.10Thu Jan 27 14:07:11 2005 +++ kaffe/libraries/javalib/javax/swing/AbstractButton.java Sat Jan 29 15:39:57 2005 @@ -1847,7 +1847,39 @@ */ protected String paramString() { -return "AbstractButton"; +StringBuffer sb = new StringBuffer(); +sb.append(super.paramString()); +sb.append(",defaultIcon="); +if (getIcon() != null) + sb.append(getIcon()); +sb.append(",disabledIcon="); +if (getDisabledIcon() != null) + sb.append(getDisabledIcon()); +sb.append(",disabledSelectedIcon="); +if (getDisabledSelectedIcon() != null) + sb.append(getDisabledSelectedIcon()); +sb.append(",margin="); +if (getMargin() != null) + sb.append(getMargin()); +sb.append(",paintBorder=").append(isBorderPainted()); +sb.append(",paintFocus=").append(isFocusPainted()); +sb.append(",pressedIcon="); +if (getPressedIcon() != null) + sb.append(getPressedIcon()); +sb.append(",rolloverEnabled=").append(isRolloverEnabled()); +sb.append(",rolloverIcon="); +if (getRolloverIcon() != null) + sb.append(getRolloverIcon()); +sb.append(",rolloverSelected="); +if (getRolloverSelectedIcon() != null) + sb.append(getRolloverSelectedIcon()); +sb.append(",selectedIcon="); +if (getSelectedIcon() != null) + sb.append(getSelectedIcon()); +sb.append(",text="); +if (getText() != null) + sb.append(getText()); +return sb.toString(); } /** Index: kaffe/libraries/javalib/javax/swing/JComponent.java diff -u kaffe/libraries/javalib/javax/swing/JComponent.java:1.12 kaffe/libraries/javalib/javax/swing/JComponent.java:1.13 --- kaffe/libraries/javalib/javax/swing/JComponent.java:1.12Sat Jan 29 14:35:29 2005 +++ kaffe/libraries/javalib/javax/swing/JComponent.java Sat Jan 29 15:39:57 2005 @@ -1541,7 +1541,23 @@ */ protected String paramString() { -return "JComponent"; +StringBuffer sb = new StringBuffer(); +sb.append(super.paramString()); +sb.append(",alignmentX=").append(getAlignmentX()); +sb.append(",alignmentY=").append(getAlignmentY()); +sb.append(",border="); +if (getBorder() != null) + sb.append(getBorder()); +sb.append(",maximumSize="); +if (getMaximumSize() != null) + sb.append(getMaximumSize()); +sb.append(",minimumSize="); +if (getMinimumSize() != null) + sb.append(getMinimumSize()); +sb.append(",preferredSize="); +if (getPreferredSize() != null) + sb.append(getPreferredSize()); +return sb.toString();
[kaffe] CVS kaffe (robilad): Resynced with GNU classpath: unused attributes removed
PatchSet 5940 Date: 2005/01/29 15:34:03 Author: robilad Branch: HEAD Tag: (none) Log: Resynced with GNU classpath: unused attributes removed 2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> Resynced with GNU Classpath. 2005-01-28 Michael Koch <[EMAIL PROTECTED]> * java/util/jar/Attributes.java (CREATED_BY, JAVA_BEAN, MAGIC): Removed. Members: ChangeLog:1.3479->1.3480 libraries/javalib/java/util/jar/Attributes.java:1.8->1.9 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.3479 kaffe/ChangeLog:1.3480 --- kaffe/ChangeLog:1.3479 Sat Jan 29 15:31:25 2005 +++ kaffe/ChangeLog Sat Jan 29 15:34:03 2005 @@ -1,4 +1,13 @@ -2005-01-27 Dalibor Topic <[EMAIL PROTECTED]> +2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> + +Resynced with GNU Classpath. + + 2005-01-28 Michael Koch <[EMAIL PROTECTED]> + + * java/util/jar/Attributes.java + (CREATED_BY, JAVA_BEAN, MAGIC): Removed. + +2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> Resynced with GNU Classpath. @@ -16,7 +25,7 @@ (random): Removed. (growTree): Likewise. -2005-01-27 Dalibor Topic <[EMAIL PROTECTED]> +2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> Resynced with GNU Classpath. @@ -25,7 +34,7 @@ * java/util/GregorianCalendar.java (getLeniarDay): Made private. -2005-01-27 Dalibor Topic <[EMAIL PROTECTED]> +2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> Resynced with GNU Classpath. @@ -34,7 +43,7 @@ * java/awt/dnd/DropTarget.java (addDropTargetListener): Clarified comments. -2005-01-27 Dalibor Topic <[EMAIL PROTECTED]> +2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> Resynced with GNU Classpath. Index: kaffe/libraries/javalib/java/util/jar/Attributes.java diff -u kaffe/libraries/javalib/java/util/jar/Attributes.java:1.8 kaffe/libraries/javalib/java/util/jar/Attributes.java:1.9 --- kaffe/libraries/javalib/java/util/jar/Attributes.java:1.8 Thu Apr 22 15:38:44 2004 +++ kaffe/libraries/javalib/java/util/jar/Attributes.java Sat Jan 29 15:34:09 2005 @@ -103,9 +103,6 @@ */ public static class Name { - -// Fields - // General Main Attributes /** @@ -113,17 +110,14 @@ * the version of this Manifest file. */ public static final Name MANIFEST_VERSION = new Name("Manifest-Version"); -/** - * General main attribute - - * tool and version that created this Manifest file. - */ -public static final Name CREATED_BY = new Name("Created-By"); + /** * General main attribute - * the version of the jar file signature. */ public static final Name SIGNATURE_VERSION = new Name("Signature-Version"); + /** * General main attribute - * (relative) URLs of the libraries/classpaths that the Classes in @@ -164,6 +158,7 @@ * the name if the extension library contained in the jar. */ public static final Name EXTENSION_NAME = new Name("Extension-Name"); + /** * Extension identification attribute - * synonym for EXTENSTION_NAME. @@ -171,48 +166,56 @@ public static final Name EXTENSION_INSTALLATION = EXTENSION_NAME; // Package versioning and sealing attributes + /** * Package versioning - * name of extension library contained in this jar. */ public static final Name IMPLEMENTATION_TITLE = new Name("Implementation-Title"); + /** * Package versioning - * version of the extension library contained in this jar. */ public static final Name IMPLEMENTATION_VERSION = new Name("Implementation-Version"); + /** * Package versioning - * name of extension library creator contained in this jar. */ public static final Name IMPLEMENTATION_VENDOR = new Name("Implementation-Vendor"); + /** * Package versioning - * unique id of extension library creator. */ public static final Name IMPLEMENTATION_VENDOR_ID = new Name("Implementation-Vendor-Id"); + /** * Package versioning - * location where this implementation can be downloaded. */ public static final Name IMPLEMENTATION_URL = new Name("Implementation-URL"); + /** * Package versioning - * title of the specification contained in this jar. */ public static final Name SPECIFICATION_TITLE = new Name("Specification-Title"); + /** * Package versioning - * version of the specification contained in this jar. */ public static final Name SPECIFICATION_VERSION = new Name("Specification-Version"); + /** * Package versioning - * organisation that maintains the specification contains in this @@ -220,6 +223,7 @@ */ public static final Name SPECIFICATION_VENDOR = new Name("Specification-Vendor");
[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: SwingUtilities cleanup
PatchSet 5943 Date: 2005/01/29 15:42:09 Author: robilad Branch: HEAD Tag: (none) Log: Resynced with GNU Classpath: SwingUtilities cleanup 2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> Resynced with GNU Classpath. 2005-01-28 Michael Koch <[EMAIL PROTECTED]> * javax/swing/SwingUtilities.java (getFontMetrics): Removed. Members: ChangeLog:1.3482->1.3483 libraries/javalib/javax/swing/SwingUtilities.java:1.9->1.10 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.3482 kaffe/ChangeLog:1.3483 --- kaffe/ChangeLog:1.3482 Sat Jan 29 15:39:47 2005 +++ kaffe/ChangeLog Sat Jan 29 15:42:09 2005 @@ -4,6 +4,15 @@ 2005-01-28 Michael Koch <[EMAIL PROTECTED]> + * javax/swing/SwingUtilities.java + (getFontMetrics): Removed. + +2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> + +Resynced with GNU Classpath. + + 2005-01-28 Michael Koch <[EMAIL PROTECTED]> + * java/awt/Container.java (paramString): Implemented. * javax/swing/AbstractButton.java Index: kaffe/libraries/javalib/javax/swing/SwingUtilities.java diff -u kaffe/libraries/javalib/javax/swing/SwingUtilities.java:1.9 kaffe/libraries/javalib/javax/swing/SwingUtilities.java:1.10 --- kaffe/libraries/javalib/javax/swing/SwingUtilities.java:1.9 Thu Jan 27 14:10:27 2005 +++ kaffe/libraries/javalib/javax/swing/SwingUtilities.java Sat Jan 29 15:42:14 2005 @@ -295,22 +295,6 @@ } /** - * Returns the font metrics object for a given font. The metrics can be - * used to calculate crude bounding boxes and positioning information, - * for laying out components with textual elements. - * - * @param font The font to get metrics for - * - * @return The font's metrics - * - * @see java.awt.font.GlyphMetrics - */ - public static FontMetrics getFontMetrics(Font font) - { -return Toolkit.getDefaultToolkit().getFontMetrics(font); - } - - /** * If comp is a RootPaneContainer, return its JRootPane. * Otherwise call getAncestorOfClass(JRootPane.class, a). * ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: swing fixes from graydon
PatchSet 5936 Date: 2005/01/29 14:35:26 Author: robilad Branch: HEAD Tag: (none) Log: Resynced with GNU Classpath: swing fixes from graydon 2005-01-27 Dalibor Topic <[EMAIL PROTECTED]> Resynced with GNU Classpath. 2005-01-27 Graydon Hoare <[EMAIL PROTECTED]> * java/awt/dnd/DropTarget.java (addDropTargetListener): Despite documentation, do not throw. * javax/swing/JComponent.java: Set a default DropTarget. Members: ChangeLog:1.3475->1.3476 libraries/javalib/java/awt/dnd/DropTarget.java:1.6->1.7 libraries/javalib/javax/swing/JComponent.java:1.11->1.12 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.3475 kaffe/ChangeLog:1.3476 --- kaffe/ChangeLog:1.3475 Sat Jan 29 12:17:29 2005 +++ kaffe/ChangeLog Sat Jan 29 14:35:26 2005 @@ -1,3 +1,13 @@ +2005-01-27 Dalibor Topic <[EMAIL PROTECTED]> + +Resynced with GNU Classpath. + + 2005-01-27 Graydon Hoare <[EMAIL PROTECTED]> + + * java/awt/dnd/DropTarget.java + (addDropTargetListener): Despite documentation, do not throw. + * javax/swing/JComponent.java: Set a default DropTarget. + 2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> * include/Makefile.am (NOINSTALL_JNI_DERIVED_HDRS): Only create Index: kaffe/libraries/javalib/java/awt/dnd/DropTarget.java diff -u kaffe/libraries/javalib/java/awt/dnd/DropTarget.java:1.6 kaffe/libraries/javalib/java/awt/dnd/DropTarget.java:1.7 --- kaffe/libraries/javalib/java/awt/dnd/DropTarget.java:1.6Mon Oct 4 09:01:34 2004 +++ kaffe/libraries/javalib/java/awt/dnd/DropTarget.javaSat Jan 29 14:35:29 2005 @@ -211,9 +211,10 @@ public void addDropTargetListener (DropTargetListener dtl) throws TooManyListenersException { -if (dtl != null) - throw new TooManyListenersException (); - +// Sun's JDK does not, despite documentation, throw any sort of +// exception here when you install an additional DropTargetListener. +// So to be compatible, we do the same thing. + dropTargetListener = dtl; } Index: kaffe/libraries/javalib/javax/swing/JComponent.java diff -u kaffe/libraries/javalib/javax/swing/JComponent.java:1.11 kaffe/libraries/javalib/javax/swing/JComponent.java:1.12 --- kaffe/libraries/javalib/javax/swing/JComponent.java:1.11Wed Jan 26 13:40:05 2005 +++ kaffe/libraries/javalib/javax/swing/JComponent.java Sat Jan 29 14:35:29 2005 @@ -1,5 +1,5 @@ /* JComponent.java -- Every component in swing inherits from this class. - Copyright (C) 2002, 2004 Free Software Foundation, Inc. + Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -50,6 +50,7 @@ import java.awt.Insets; import java.awt.Point; import java.awt.Rectangle; +import java.awt.dnd.DropTarget; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ContainerEvent; @@ -395,6 +396,7 @@ { super(); super.setLayout(new FlowLayout()); +setDropTarget(new DropTarget()); defaultLocale = Locale.getDefault(); debugGraphicsOptions = DebugGraphics.NONE_OPTION; } ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] build no-awt no-sound
Dalibor Topic wrote: thanks. I've fixed the first problem with libraries/clib now. The idea not to run kaffeh on sound and awt files when the native libraries are not built is a good one, too, so I'll implement that now. Fixed now. I have on more (not so important) problem I am facing lately (I can't be positive about when it first appeared). I use the option: --with-class-library-profile=allbutawt.profile Thanks. I'll look into that tonight, as well. that's next on my list for today, right after resyncing with the latest fixes from classpath. cheers, dalibor topic ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] Java/JNI references for kaffe
Hi, I am sending a patch for the current Kaffe source tree to enable Java and JNI support for references. Before I commit there are still some issues to solve: * RefTest does not successfully pass the second reference clearing. The finalizer is invoked but the GC never destroy the object (GC bug ?). * Copyright notices aren't there. * There are no differences between the different reference flavour. Implementing this would require a modification to kaffe-gc which will be able to chose between 'must free' and 'should free'. :) Cheers, Guilhem Lavaux. P.S.: This diff has been generated before Dalibor's last patch. P.P.S.: As it is a big I am sending it in compressed form. ref_patch.gz Description: Unix tar archive ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (robilad): Avoid generating unused headers
PatchSet 5935 Date: 2005/01/29 12:17:29 Author: robilad Branch: HEAD Tag: (none) Log: Avoid generating unused headers 2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> * include/Makefile.am (NOINSTALL_JNI_DERIVED_HDRS): Only create classpath AWT, alsa, esd or libxmlj headers if the native libraries for them should be built. Reported by: Nektarios K. Papadopoulos <[EMAIL PROTECTED]> Members: ChangeLog:1.3474->1.3475 include/Makefile.am:1.86->1.87 include/Makefile.in:1.208->1.209 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.3474 kaffe/ChangeLog:1.3475 --- kaffe/ChangeLog:1.3474 Fri Jan 28 15:30:56 2005 +++ kaffe/ChangeLog Sat Jan 29 12:17:29 2005 @@ -1,3 +1,11 @@ +2005-01-29 Dalibor Topic <[EMAIL PROTECTED]> + + * include/Makefile.am (NOINSTALL_JNI_DERIVED_HDRS): Only create + classpath AWT, alsa, esd or libxmlj headers if the native libraries + for them should be built. + + Reported by: Nektarios K. Papadopoulos <[EMAIL PROTECTED]> + 2005-01-28 Dalibor Topic <[EMAIL PROTECTED]> * configure.ac: Added COND_NATIVE_SOUND conditional. Index: kaffe/include/Makefile.am diff -u kaffe/include/Makefile.am:1.86 kaffe/include/Makefile.am:1.87 --- kaffe/include/Makefile.am:1.86 Sun Jan 23 18:48:37 2005 +++ kaffe/include/Makefile.am Sat Jan 29 12:17:33 2005 @@ -191,6 +191,27 @@ gnu_java_awt_peer_gtk_GtkWindowPeer.h \ gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h +# Only create headers for AWT, Sound and libxmlj if they are going to be built. + +if COND_LIBXMLJ + MAYBE_LIBXMLJ_JNI_HDRS = $(LIBXMLJ_JNI_HDRS) +endif + +if COND_NATIVE_SOUND +if COND_SOUND_ALSA + MAYBE_LIBTRITONUSALSA_JNI_HDRS = $(LIBTRITONUSALSA_JNI_HDRS) +endif +if COND_SOUND_ESD + MAYBE_LIBTRITONUSESD_JNI_HDRS = $(LIBTRITONUSESD_JNI_HDRS) +endif +endif + +if COND_NATIVE_AWT +if COND_CLASSPATH_GTK_AWT + MAYBE_LIBGTKPEER_JNI_HDRS = $(LIBGTKPEER_JNI_HDRS) +endif +endif + NOINSTALL_JNI_DERIVED_HDRS = \ java_math_BigInteger.h \ gnu_classpath_VMSystemProperties.h \ @@ -213,10 +234,10 @@ kaffe_security_provider_MD4.h \ kaffe_security_provider_MD5.h \ kaffe_security_provider_SHA.h \ - $(LIBTRITONUSALSA_JNI_HDRS) \ - $(LIBTRITONUSESD_JNI_HDRS) \ - $(LIBXMLJ_JNI_HDRS) \ - $(LIBGTKPEER_JNI_HDRS) + $(MAYBE_LIBTRITONUSALSA_JNI_HDRS) \ + $(MAYBE_LIBTRITONUSESD_JNI_HDRS) \ + $(MAYBE_LIBXMLJ_JNI_HDRS) \ + $(MAYBE_LIBGTKPEER_JNI_HDRS) JNI_DERIVED_HDRS = \ $(INSTALL_JNI_DERIVED_HDRS) \ Index: kaffe/include/Makefile.in diff -u kaffe/include/Makefile.in:1.208 kaffe/include/Makefile.in:1.209 --- kaffe/include/Makefile.in:1.208 Fri Jan 28 15:31:05 2005 +++ kaffe/include/Makefile.in Sat Jan 29 12:17:33 2005 @@ -548,6 +548,12 @@ gnu_java_awt_peer_gtk_GtkWindowPeer.h \ gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h + +# Only create headers for AWT, Sound and libxmlj if they are going to be built. [EMAIL PROTECTED]@MAYBE_LIBXMLJ_JNI_HDRS = $(LIBXMLJ_JNI_HDRS) [EMAIL PROTECTED]@@[EMAIL PROTECTED] = $(LIBTRITONUSALSA_JNI_HDRS) [EMAIL PROTECTED]@@[EMAIL PROTECTED] = $(LIBTRITONUSESD_JNI_HDRS) [EMAIL PROTECTED]@@[EMAIL PROTECTED] = $(LIBGTKPEER_JNI_HDRS) NOINSTALL_JNI_DERIVED_HDRS = \ java_math_BigInteger.h \ gnu_classpath_VMSystemProperties.h \ @@ -570,10 +576,10 @@ kaffe_security_provider_MD4.h \ kaffe_security_provider_MD5.h \ kaffe_security_provider_SHA.h \ - $(LIBTRITONUSALSA_JNI_HDRS) \ - $(LIBTRITONUSESD_JNI_HDRS) \ - $(LIBXMLJ_JNI_HDRS) \ - $(LIBGTKPEER_JNI_HDRS) + $(MAYBE_LIBTRITONUSALSA_JNI_HDRS) \ + $(MAYBE_LIBTRITONUSESD_JNI_HDRS) \ + $(MAYBE_LIBXMLJ_JNI_HDRS) \ + $(MAYBE_LIBGTKPEER_JNI_HDRS) JNI_DERIVED_HDRS = \ $(INSTALL_JNI_DERIVED_HDRS) \ ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe