aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
1999-05-03mauve.exp (test_mauve): Pass `link' to libjava_arguments when linking.Tom Tromey3-23/+64
* libjava.mauve/mauve.exp (test_mauve): Pass `link' to libjava_arguments when linking. (test_mauve_sim): Likewise. * lib/libjava.exp (libjava_arguments): Run `libtool' to link. Don't use `-static'. Added `mode' argument. Use -nodefaultlibs when linking. (test_libjava_from_source): Mention why target_compile failed. Pass `link' to libjava_arguments when linking. Only do `xfails' for tests we would actually have run. (test_libjava_from_javac): Likewise. (libjava_find_lib): Return name of `.la' file. From-SVN: r26748
1999-04-30Makefile.in: Rebuilt.Tom Tromey3-2/+7
* Makefile.in: Rebuilt. * Makefile.am (jv_convert_LDADD): Added -lgcc. From-SVN: r26709
1999-04-30StringBuffer.java (ensureCapacity): Don't resize vector when shared.Tom Tromey11-113/+215
* java/lang/StringBuffer.java (ensureCapacity): Don't resize vector when shared. * java/util/Locale.java (Locale(String,String)): Implement in terms of 3-argument version; variant now defaults to empty string. (toString): Assume variant is not null. (equals): Assume all strings are not null. (Locale): Throw NullPointerException if any argument is null. * java/util/ResourceBundle.java (getBundle): Don't try the base name; now implicit in partialGetBundle call. (trySomeGetBundle): Search for parent bundles and call setParent as required. (partialGetBundle): Added `langStop' argument. Use `Locale.toString' to compute bundleName. (resource_cache): New static field. (partialGetBundle): Cache the returned resource bundle. Now synchronized. * gnu/gcj/text/LocaleData_en.java (contents): [collatorRule] Added missing `<'. * mauve-libgcj: Enable Collator and RuleBasedCollator. * java/text/natCollator.cc (decomposeCharacter): `base' now `const'. * Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Added CollationElementIterator, CollationKey, Collator, RuleBasedCollator. (nat_source_files): Added natCollator.cc. * java/text/RuleBasedCollator.java (ceiNext): No longer static. (compare): Pass `this' to CollationElementIterator constructor. (getCollationElementIterator): Likewise. (ceiNext): Fix off-by-one error when finding initial substring. (next): Correctly mask off bits when computing return value. Fixed return values when one string is shorter than the other. * java/text/CollationElementIterator.java (collator): New field. (CollationElementIterator): Added collator argument. (next): Call ceiNext on collator object. From-SVN: r26707
1999-04-26* natCollator.cc: New file.Tom Tromey2-0/+76
From-SVN: r26655
1999-04-26GregorianCalendar.java (setDefaultTime): New method.Tom Tromey8-2/+698
* java/util/GregorianCalendar.java (setDefaultTime): New method. (GregorianCalendar): Use it in all constructors. * java/util/Calendar.java (Calendar): Changed argument name to `zone' to match code. * gnu/gcj/text/LocaleData_en.java: Added collatorRule element. * java/text/CollationKey.java: New file. * java/text/CollationElementIterator.java: New file. * java/text/Collator.java: New file. * java/text/RuleBasedCollator.java: New file. From-SVN: r26654
1999-04-26Makefile.in: Rebuilt.Tom Tromey3-6/+21
* Makefile.in: Rebuilt. * Makefile.am (jv_convert_LDFLAGS): Added -nodefaultlibs. (jv_convert_LDADD): Explicltly add -lm -lc. From-SVN: r26653
1999-04-26libtoolized libgcj. See ChangeLog for details.Tom Tromey6-277/+1254
From-SVN: r26652
1999-04-26libjava.exp (libjava_find_lib): New proc.Tom Tromey3-31/+35
* lib/libjava.exp (libjava_find_lib): New proc. (libjava_arguments): Use it. Force static linking. From-SVN: r26651
1999-04-23Makefile.am: Added URLDecoder and URLEncoder.Warren Levy8-5/+146
* Makefile.am: Added URLDecoder and URLEncoder. * Makefile.in: Rebuilt. * java/net/ServerSocket.java (setSocketFactory): Renamed from setSocketImplFactory to match spec. * java/net/Socket.java (getSoLinger): Changed return type to match spec. * java/net/URLDecoder.java: New file. * java/net/URLEncoder.java: New file. From-SVN: r26605
1999-04-22* libjava.compile/OperatorBenchmark.java: New file.Anthony Green2-0/+890
From-SVN: r26583
1999-04-21natString.cc (getBytes): Reverted earlier change and applied correct fix ↵Tom Tromey2-3/+8
from Per Bothner. * java/lang/natString.cc (getBytes): Reverted earlier change and applied correct fix from Per Bothner. From-SVN: r26579
1999-04-21String.java: Don't throw UnsupportedEncodingException.Tom Tromey2-2/+23
* java/lang/String.java: Don't throw UnsupportedEncodingException. From-SVN: r26577
1999-04-21natString.cc (getBytes): Correctly size result buffer.Tom Tromey2-2/+7
* java/lang/natString.cc (getBytes): Correctly size result buffer. From Bryce McKinlay <bryce@albatross.co.nz>. From-SVN: r26575
1999-04-20sparc-signal.h: new file.Andrew Haley7-211/+278
1999-04-20 Andrew Haley <aph@cygnus.com> * include/sparc-signal.h: new file. * configure.in: include/sparc-signal.h added. * configure: regenerated. * prims.cc (JvRunMain): signal handling code rewritten to be more portable. (catch_segv): ditto. (catch_fpe): ditto. * include/i386-signal.h: reorganized. * include/default-signal.h: reorganized. From-SVN: r26560
1999-04-19natSystem.cc (init_properties): Only declare pwd_entry once.Tom Tromey2-1/+6
* java/lang/natSystem.cc (init_properties): Only declare pwd_entry once. From Anthony Green. From-SVN: r26545
1999-04-19Makefile.in: Processed with new automake.Andrew Haley2-29/+345
1999-04-19 Andrew Haley <aph@cygnus.com> * Makefile.in: Processed with new automake. From-SVN: r26544
1999-04-19* include/javaprims.h: Removed security namespace.Tom Tromey2-6/+4
From-SVN: r26543
1999-04-18* java/io/PrintStream.java (println): Remove extra println.Anthony Green2-1/+4
From-SVN: r26541
1999-04-18Makefile.in: Rebuilt.Anthony Green7-345/+137
* Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Add new security files. * java/security/NoSuchAlgorithmException.java, java/security/MessageDigest.java: New files. * include/javaprims.h: Add security namespace. From-SVN: r26536
1999-04-16Note char-conversion-related optimizations.Per Bothner1-0/+9
From-SVN: r26510
1999-04-16InputStreamReader.java (<init>): Set super.in correctly.Per Bothner3-55/+120
� * java/io/InputStreamReader.java (<init>): Set super.in correctly. * java/io/OutputStreamWriter.java (<init>): Set super.in correctly. (writeChars): Don't be quite so eager to flush. * java/io/PrintStream.java: Rewrite. Now more similar to OutputStreamWriter, using explicit UnicodeToBytes converter. Also, autoflush does not need to flush so often. * java/lang/natString.cc (getBytes): More efficient algorithm. (init(jbyteArray,jint,jint,jstring)): More efficient. From-SVN: r26509
1999-04-16InputStreamReader.java (<init>): Set super.in correctly.Per Bothner1-23/+56
� * java/io/InputStreamReader.java (<init>): Set super.in correctly. * java/io/OutputStreamWriter.java (<init>): Set super.in correctly. (writeChars): Don't be quite so eager to flush. * java/io/PrintStream.java: Rewrite. Now more similar to OutputStreamWriter, using explicit UnicodeToBytes converter. Also, autoflush does not need to flush so often. * java/lang/natString.cc (getBytes): More efficient algorithm. (init(jbyteArray,jint,jint,jstring)): More efficient. From-SVN: r26508
1999-04-16Makefile.am: Various changes for new files and conversions.Per Bothner2-11/+64
� * Makefile.am: Various changes for new files and conversions. From-SVN: r26505
1999-04-16Makefile.am: Various changes for new files and conversions.Per Bothner1-14/+48
0 * Makefile.am: Various changes for new files and conversions. From-SVN: r26504
1999-04-16JIS0201.h: New file, generated from Unicode table.Per Bothner1-0/+72
* gnu/gcj/convert/JIS0201.h: New file, generated from Unicode table. * gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class. * gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class. * gnu/gcj/convert/Output_EUCJIS.java: New UnicodeToBytes class. * gnu/gcj/convert/Output_SJIS.java: New UnicodeToBytes class. * gnu/gcj/convert/natInput_EUCJIS.cc: New file. * gnu/gcj/convert/natInput_SJIS.cc: New file. * gnu/gcj/convert/natOutput_EUCJIS.cc: New file. * gnu/gcj/convert/natOutput_SJIS.cc: New file. * gnu/gcj/convert/make-trie.c: New file: functions to make a trie. * gnu/gcj/convert/gen-from-JIS.c: Invoke make-trie for output. * gnu/gcj/convert/Unicode_to_JIS.cc: New generated trie table. From-SVN: r26503
1999-04-16JIS0201.h: New file, generated from Unicode table.Per Bothner4-0/+23330
� * gnu/gcj/convert/JIS0201.h: New file, generated from Unicode table. * gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class. * gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class. * gnu/gcj/convert/Output_EUCJIS.java: New UnicodeToBytes class. * gnu/gcj/convert/Output_SJIS.java: New UnicodeToBytes class. * gnu/gcj/convert/natInput_EUCJIS.cc: New file. * gnu/gcj/convert/natInput_SJIS.cc: New file. * gnu/gcj/convert/natOutput_EUCJIS.cc: New file. * gnu/gcj/convert/natOutput_SJIS.cc: New file. * gnu/gcj/convert/make-trie.c: New file: functions to make a trie. * gnu/gcj/convert/gen-from-JIS.c: Invoke make-trie for output. * gnu/gcj/convert/Unicode_to_JIS.cc: New generated trie table. From-SVN: r26502
1999-04-16JIS0201.h: New file, generated from Unicode table.Per Bothner6-11/+319
� * gnu/gcj/convert/JIS0201.h: New file, generated from Unicode table. * gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class. * gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class. * gnu/gcj/convert/Output_EUCJIS.java: New UnicodeToBytes class. * gnu/gcj/convert/Output_SJIS.java: New UnicodeToBytes class. * gnu/gcj/convert/natInput_EUCJIS.cc: New file. * gnu/gcj/convert/natInput_SJIS.cc: New file. * gnu/gcj/convert/natOutput_EUCJIS.cc: New file. * gnu/gcj/convert/natOutput_SJIS.cc: New file. * gnu/gcj/convert/make-trie.c: New file: functions to make a trie. * gnu/gcj/convert/gen-from-JIS.c: Invoke make-trie for output. * gnu/gcj/convert/Unicode_to_JIS.cc: New generated trie table. From-SVN: r26501
1999-04-16JIS0201.h: New file, generated from Unicode table.Per Bothner1-0/+176
h * gnu/gcj/convert/JIS0201.h: New file, generated from Unicode table. * gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class. * gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class. * gnu/gcj/convert/Output_EUCJIS.java: New UnicodeToBytes class. * gnu/gcj/convert/Output_SJIS.java: New UnicodeToBytes class. * gnu/gcj/convert/natInput_EUCJIS.cc: New file. * gnu/gcj/convert/natInput_SJIS.cc: New file. * gnu/gcj/convert/natOutput_EUCJIS.cc: New file. * gnu/gcj/convert/natOutput_SJIS.cc: New file. * gnu/gcj/convert/make-trie.c: New file: functions to make a trie. * gnu/gcj/convert/gen-from-JIS.c: Invoke make-trie for output. * gnu/gcj/convert/Unicode_to_JIS.cc: New generated trie table. From-SVN: r26500
1999-04-16JIS0201.h: New file, generated from Unicode table.Per Bothner1-0/+27
8 * gnu/gcj/convert/JIS0201.h: New file, generated from Unicode table. * gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class. * gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class. * gnu/gcj/convert/Output_EUCJIS.java: New UnicodeToBytes class. * gnu/gcj/convert/Output_SJIS.java: New UnicodeToBytes class. * gnu/gcj/convert/natInput_EUCJIS.cc: New file. * gnu/gcj/convert/natInput_SJIS.cc: New file. * gnu/gcj/convert/natOutput_EUCJIS.cc: New file. * gnu/gcj/convert/natOutput_SJIS.cc: New file. * gnu/gcj/convert/make-trie.c: New file: functions to make a trie. * gnu/gcj/convert/gen-from-JIS.c: Invoke make-trie for output. * gnu/gcj/convert/Unicode_to_JIS.cc: New generated trie table. From-SVN: r26499
1999-04-16JIS0201.h: New file, generated from Unicode table.Per Bothner1-1/+5
` * gnu/gcj/convert/JIS0201.h: New file, generated from Unicode table. * gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class. * gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class. * gnu/gcj/convert/Output_EUCJIS.java: New UnicodeToBytes class. * gnu/gcj/convert/Output_SJIS.java: New UnicodeToBytes class. * gnu/gcj/convert/natInput_EUCJIS.cc: New file. * gnu/gcj/convert/natInput_SJIS.cc: New file. * gnu/gcj/convert/natOutput_EUCJIS.cc: New file. * gnu/gcj/convert/natOutput_SJIS.cc: New file. * gnu/gcj/convert/make-trie.c: New file: functions to make a trie. * gnu/gcj/convert/gen-from-JIS.c: Invoke make-trie for output. * gnu/gcj/convert/Unicode_to_JIS.cc: New generated trie table. From-SVN: r26498
1999-04-16JIS0201.h: New file, generated from Unicode table.Per Bothner1-0/+6
� * gnu/gcj/convert/JIS0201.h: New file, generated from Unicode table. * gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class. * gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class. * gnu/gcj/convert/Output_EUCJIS.java: New UnicodeToBytes class. * gnu/gcj/convert/Output_SJIS.java: New UnicodeToBytes class. * gnu/gcj/convert/natInput_EUCJIS.cc: New file. * gnu/gcj/convert/natInput_SJIS.cc: New file. * gnu/gcj/convert/natOutput_EUCJIS.cc: New file. * gnu/gcj/convert/natOutput_SJIS.cc: New file. * gnu/gcj/convert/make-trie.c: New file: functions to make a trie. * gnu/gcj/convert/gen-from-JIS.c: Invoke make-trie for output. * gnu/gcj/convert/Unicode_to_JIS.cc: New generated trie table. From-SVN: r26497
1999-04-16JIS0201.h: New file, generated from Unicode table.Per Bothner1-1/+1
� * gnu/gcj/convert/JIS0201.h: New file, generated from Unicode table. * gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class. * gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class. * gnu/gcj/convert/Output_EUCJIS.java: New UnicodeToBytes class. * gnu/gcj/convert/Output_SJIS.java: New UnicodeToBytes class. * gnu/gcj/convert/natInput_EUCJIS.cc: New file. * gnu/gcj/convert/natInput_SJIS.cc: New file. * gnu/gcj/convert/natOutput_EUCJIS.cc: New file. * gnu/gcj/convert/natOutput_SJIS.cc: New file. * gnu/gcj/convert/make-trie.c: New file: functions to make a trie. * gnu/gcj/convert/gen-from-JIS.c: Invoke make-trie for output. * gnu/gcj/convert/Unicode_to_JIS.cc: New generated trie table. From-SVN: r26496
1999-04-16Fix truncated comments.Per Bothner2-12948/+12948
From-SVN: r26495
1999-04-16UnicodeToBytes.java (write(String,int,int,char[])): New overloading, allows ↵Per Bothner3-4/+51
greater efficiency. � * gnu/gcj/convert/UnicodeToBytes.java (write(String,int,int,char[])): New overloading, allows greater efficiency. * gnu/gcj/convert/Output_8859_1.java (write(String,int,int,char[])): New overloading (for efficiency - avoids copying). * gnu/gcj/convert/Output_UTF8.java: Fix typo: 0xC0 -> 0c3F. * gnu/gcj/convert/Input_UTF8.java: Fix typos in bit masks. From-SVN: r26494
1999-04-16UnicodeToBytes.java (write(String,int,int,char[])): New overloading, allows ↵Per Bothner1-1/+7
greater efficiency. � * gnu/gcj/convert/UnicodeToBytes.java (write(String,int,int,char[])): New overloading, allows greater efficiency. * gnu/gcj/convert/Output_8859_1.java (write(String,int,int,char[])): New overloading (for efficiency - avoids copying). * gnu/gcj/convert/Output_UTF8.java: Fix typo: 0xC0 -> 0c3F. * gnu/gcj/convert/Input_UTF8.java: Fix typos in bit masks. From-SVN: r26493
1999-04-15Makefile.am (ordinary_java_source_files): Added new Connection and Handler ↵Warren Levy7-1/+243
classes in gnu.gcj.protocol.file package. * Makefile.am (ordinary_java_source_files): Added new Connection and Handler classes in gnu.gcj.protocol.file package. * Makefile.in: Rebuilt. * gnu/gcj/protocol/file/Connection.java: New file. * gnu/gcj/protocol/file/Handler.java: New file. * gnu/gcj/protocol/http/Connection.java (getInputStream): Check if doInput allows input. (getOutputStream): Check if doOutput allows output. * java/net/URLStreamHandler.java (parseURL): Fix indentation. From-SVN: r26479
1999-04-14natInetAddress.cc (lookup): On glibc2.0 systems, make buffer larger to work ↵Tom Tromey2-0/+13
around bug. * java/net/natInetAddress.cc (lookup): On glibc2.0 systems, make buffer larger to work around bug. From Bryce McKinlay <bryce@albatross.co.nz>. From-SVN: r26447
1999-04-14natDouble.java (doubleToLongBits): ensure that all NaNs are always converted ↵Andrew Haley3-0/+20
to the same long value. 1999-04-14 Andrew Haley <aph@cygnus.com> * java/lang/natDouble.java (doubleToLongBits): ensure that all NaNs are always converted to the same long value. * java/lang/natFloat.java (floatToIntBits): ditto, but for float converted to int. From-SVN: r26439
1999-04-13natSystem.cc (arraycopy): Don't always use jbyteArray; instead switch on ↵Tom Tromey2-9/+54
actual element type. * java/lang/natSystem.cc (arraycopy): Don't always use jbyteArray; instead switch on actual element type. From-SVN: r26405
1999-04-13Makefile.in: Rebuilt.Tom Tromey3-0/+7
* Makefile.in: Rebuilt. * Makefile.am (AM_MAKEFLAGS): Added JC1FLAGS. From-SVN: r26402
1999-04-13i386-signal.h, [...]: New files.Andrew Haley8-20/+133
1999-04-13 Andrew Haley <aph@cygnus.com> * include/i386-signal.h, include/default-signal.h: New files. * prims.cc (catch_segv): Call MAKE_THROW_FRAME in exception handler. (catch_fpe): New function. * configure.in: Make link to appropriate include/java-signal.h. * configure: Rebuilt. * Makefile.am: include/java-signal.h added to dependency list. * Makefile.in: Rebuilt. From-SVN: r26400
1999-04-12DataInputStream.java (readLine): Corrected handling of empty lines, from ↵Urban Widmark2-3/+11
null to "". 1999-04-12 Urban Widmark <urban@svenskatest.se> * java/io/DataInputStream.java (readLine): Corrected handling of empty lines, from null to "". From-SVN: r26381
1999-04-12Makefile.in: Rebuilt.Tom Tromey3-2/+5
* Makefile.in: Rebuilt. * Makefile.am (libgcj.zip): Put `gnu' classes into zip file. From-SVN: r26375
1999-04-12natSystem.cc (SystemClass): New define.Tom Tromey4-11/+15
* java/lang/natSystem.cc (SystemClass): New define. (init_properties): Synchronize. From-SVN: r26372
1999-04-09* libjava.mauve/mauve.exp (KEYS): Default to libgcj.Warren Levy2-2/+6
From-SVN: r26311
1999-04-09plusplus.java: New file.Tom Tromey3-0/+21
* libjava.compile/plusplus.java: New file. From MoT <Sebastien.Villemot@ens.fr>. From-SVN: r26310
1999-04-08natInetAddress.cc (lookup): Fix typo (AF_INET16 -> AF_INET6).Geoff Berry3-1/+8
1999-04-08 Geoff Berry <gcb@gnu.org> * natInetAddress.cc (lookup): Fix typo (AF_INET16 -> AF_INET6). * natPlainSocketImpl.cc (accept): Add missing else if check for AF_INET6. From-SVN: r26297
1999-04-08Long.java (parseLong): Corrected overflow detection code.Tom Tromey3-30/+25
* java/lang/Long.java (parseLong): Corrected overflow detection code. * java/lang/Integer.java (parseInt): Corrected overflow detection code. From-SVN: r26295
1999-04-08PrintStream.java (print): Handle null string argument.Tom Tromey2-2/+7
* java/io/PrintStream.java (print): Handle null string argument. (println): Likewise. From-SVN: r26294
1999-04-07natString.cc (init(jbyteArray,jint,jint,jstring)): Set count to 0 when ↵Warren Levy2-0/+9
InputStreamReader returns -1 for EOF. * java/lang/natString.cc (init(jbyteArray,jint,jint,jstring)): Set count to 0 when InputStreamReader returns -1 for EOF. From-SVN: r26273