aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
1999-05-11Makefile.in: Rebuilt.Tom Tromey4-4/+11
* Makefile.in: Rebuilt. * Makefile.am (jv_convert_DEPENDENCIES): Include libgcj.spec. * libgcj.spec.in: Don't use `+'. Instead, put old lib spec after our libraries. From-SVN: r26889
1999-05-11Makefile.in: Rebuilt.Tom Tromey3-4/+7
* Makefile.in: Rebuilt. * Makefile.am (jv_convert_LDADD): Removed `-L.'; it is not needed and it causes problems with libtool. From-SVN: r26886
1999-05-11Makefile.in, configure: Rebuilt.Tom Tromey7-176/+700
* Makefile.in, configure: Rebuilt. * Makefile.am (jv_convert_LDFLAGS): Removed -nodefaultlibs. (jv_convert_LDADD): Added ZLIBS. Removed -lm, -lc, -lgcc. (jv_convert_DEPENDENCIES): Added ZDEPS. * configure.in (GCSPEC): Added `-L' to point to boehm-gc build directory. (THREADSPEC): Added `-L' to point to qthreads build directory. (ZLIBS): New subst. (ZDEPS): New subst. * configure, Makefile.in: Rebuilt. * Makefile.am (toolexeclib_DATA): New macro. * configure.in: Create libgcj.spec. Look for -lsocket and -lnsl. Recognize --with-system-zlib. (GCSPEC): New subst. (THREADSPEC): New subst. (SYSTEMSPEC): New subst. (ZLIBSPEC): New subst. * libgcj.spec.in: New file. From-SVN: r26885
1999-05-10InputStreamReader.java (read): If length is 0, return 0.Tom Tromey3-10/+31
* java/io/InputStreamReader.java (read): If length is 0, return 0. Reset `wpos' and `wcount' when buffer has been filled and emptied. * java/util/Properties.java (save): Removed `FIXME' comment. (load): Invalid characters in \u now treated as terminators. Make sure to append character resulting from `\' handling. Cast to `char' when appending to key or value. (skip_ws): Inverted test for whitespace. From-SVN: r26862
1999-05-10RandomAccessFile.java (RandomAccessFile): Removed `FIXME' comment.Tom Tromey2-5/+8
* java/io/RandomAccessFile.java (RandomAccessFile): Removed `FIXME' comment. (readLine): Likewise. (readFully): Implemented. From-SVN: r26859
1999-05-10* java/lang/natObject.cc (sync_init): Use _Jv_AllocBytesChecked.Tom Tromey2-2/+3
From-SVN: r26858
1999-05-10natToolkit.cc: Added copyright header.Tom Tromey5-3/+25
* java/awt/natToolkit.cc: Added copyright header. * java/util/zip/InflaterInputStream.java: Added copyright header. * java/io/FilterWriter.java (FilterWriter): Removed `FIXME' comment. * java/io/SequenceInputStream.java (SequenceInputStream): Removed `FIXME' comment. (getNextStream): Likewise. From-SVN: r26857
1999-05-10ResourceBundle.java (partialGetBundle): Explicitly use locale.toString().Tom Tromey2-6/+7
* java/util/ResourceBundle.java (partialGetBundle): Explicitly use locale.toString(). (getBundle): Don't explicitly throw null pointer exception. From-SVN: r26856
1999-05-10RawData.java: Added copyright header.Tom Tromey3-8/+16
* gnu/gcj/RawData.java: Added copyright header. * include/jni.h (_Jv_va_list): Always define as va_list. From-SVN: r26855
1999-05-08DateFormat.java (computeInstance): Separate time and date styles.Anthony Green6-13/+148
* java/text/DateFormat.java (computeInstance): Separate time and date styles. (getDateTimeInstance): Ditto. (getDateTimeInstance(int,int)): New method. * Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Add new classes. * java/util/PropertyResourceBundle.java: New file. * gnu/gcj/util/EnumerationChain.java: New file. From-SVN: r26842
1999-05-07acconfig.h (GCJVERSION): New undef.Tom Tromey9-234/+1017
* acconfig.h (GCJVERSION): New undef. * java/lang/natSystem.cc (init_properties): Define java.version, java.class.version, os.name, os.arch, os.version. Include <sys/utsname.h> if required. * configure: Rebuilt. * configure.in: Compute and define GCJVERSION. * java/lang/natSystem.cc (default_file_encoding): Now static. From-SVN: r26830
1999-05-07* java/lang/natCharacter.cc (isLowerCase): Use a binary search.Tom Tromey2-3/+20
From-SVN: r26829
1999-05-07libtool-version: New file.Tom Tromey4-4/+71
* libtool-version: New file. * Makefile.in: Rebuilt. * Makefile.am (libgcj_la_LDFLAGS): Use -version-info, not -release. From-SVN: r26828
1999-05-07mauve-libgcj: Don't omit Utf8Encoding or StringTest.Tom Tromey2-7/+10
* mauve-libgcj: Don't omit Utf8Encoding or StringTest. Comment out FieldPosition, ParsePosition, and SimpleDateFormat again (oops). From-SVN: r26827
1999-05-07mauve-libgcj: Test more from java.text.Tom Tromey2-6/+8
* mauve-libgcj: Test more from java.text. Don't mention 1.1 tests (we pick those up already). From-SVN: r26826
1999-05-05UpdatePer Bothner2-0/+69
From-SVN: r26798
1999-05-05natSystem.cc (DEFAULT_FILE_ENCODING): New macro.Per Bothner1-1/+6
� * java/lang/natSystem.cc (DEFAULT_FILE_ENCODING): New macro. (default_file_encoding): New global, initial value is above macro. (init_properties): Default file.encoding to default_file_encoding. From-SVN: r26797
1999-05-05*** empty log message ***Per Bothner1-0/+190
From-SVN: r26796
1999-05-05InflaterInputStream.java: New stub class.Per Bothner2-6/+152
� * InflaterInputStream.java: New stub class. * ZipInputStream.java: New class. Partly works. * ZipConstants.java: Add two (internal) constants. * ZipEntry.java (timeFromDOS): New static (non-public) method. * ZipFile.java: Make it mostly work, except for compression. * ZipOutputStream.java: Start implementation. From-SVN: r26795
1999-05-05InflaterInputStream.java: New stub class.Per Bothner1-0/+32
8 * InflaterInputStream.java: New stub class. * ZipInputStream.java: New class. Partly works. * ZipConstants.java: Add two (internal) constants. * ZipEntry.java (timeFromDOS): New static (non-public) method. * ZipFile.java: Make it mostly work, except for compression. * ZipOutputStream.java: Start implementation. From-SVN: r26794
1999-05-05InflaterInputStream.java: New stub class.Per Bothner1-1/+6
e * InflaterInputStream.java: New stub class. * ZipInputStream.java: New class. Partly works. * ZipConstants.java: Add two (internal) constants. * ZipEntry.java (timeFromDOS): New static (non-public) method. * ZipFile.java: Make it mostly work, except for compression. * ZipOutputStream.java: Start implementation. From-SVN: r26793
1999-05-05InflaterInputStream.java: New stub class.Per Bothner1-0/+12
u * InflaterInputStream.java: New stub class. * ZipInputStream.java: New class. Partly works. * ZipConstants.java: Add two (internal) constants. * ZipEntry.java (timeFromDOS): New static (non-public) method. * ZipFile.java: Make it mostly work, except for compression. * ZipOutputStream.java: Start implementation. From-SVN: r26792
1999-05-05* doc/cni.sgml: Document RawData.Per Bothner1-0/+92
From-SVN: r26791
1999-05-05Makefile.in: Rebuilt.Tom Tromey6-16/+94
* Makefile.in: Rebuilt. * Makefile.am (CLEANFILES): Don't mention $(class_files). (clean-local): New target * java/lang/natRuntime.cc: Include <ltdl.h> if required. (load, loadLibrary): Now native. (init): New method. * java/lang/Runtime.java (load, loadLibrary): Now native. (init): New native method. (Runtime): Use init. * prims.cc: Include <ltdl.h> if required. (JvRunMain): Call LTDL_SET_PRELOADED_SYMBOLS. From-SVN: r26785
1999-05-05New class.Per Bothner1-0/+8
From-SVN: r26783
1999-05-05libjava.exp (libjava_arguments): Don't use -nodefaultlibs.Tom Tromey2-7/+12
* lib/libjava.exp (libjava_arguments): Don't use -nodefaultlibs. (libjava_find_lib): Add `-L' option to find the actual library. From-SVN: r26782
1999-05-05configure.in: Switch from irix threads to posix threadsGilles Zunino3-77/+86
1999-05-05 Gilles Zunino <Gilles.Zunino@hei.fr> * configure.in: Switch from irix threads to posix threads * configure: Regenerate. From-SVN: r26781
1999-05-05Add AWT stubs and incomplete classes.Per Bothner40-0/+1321
From-SVN: r26778
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