aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/gcj/convert
AgeCommit message (Collapse)AuthorFilesLines
2016-09-30Makefile.def: Remove libjava.Andrew Haley61-54004/+0
2016-09-30 Andrew Haley <aph@redhat.com> * Makefile.def: Remove libjava. * Makefile.tpl: Likewise. * Makefile.in: Regenerate. * configure.ac: Likewise. * configure: Likewise. * gcc/java: Remove. * libjava: Likewise. From-SVN: r240662
2016-01-04gcc.c (process_command): Update copyright notice dates.Jakub Jelinek1-2/+2
gcc/ * gcc.c (process_command): Update copyright notice dates. * gcov-dump.c (print_version): Ditto. * gcov.c (print_version): Ditto. * gcov-tool.c (print_version): Ditto. * gengtype.c (create_file): Ditto. * doc/cpp.texi: Bump @copying's copyright year. * doc/cppinternals.texi: Ditto. * doc/gcc.texi: Ditto. * doc/gccint.texi: Ditto. * doc/gcov.texi: Ditto. * doc/install.texi: Ditto. * doc/invoke.texi: Ditto. gcc/ada/ * gnat_ugn.texi: Bump @copying's copyright year. * gnat_rm.texi: Likewise. gcc/fortran/ * gfortranspec.c (lang_specific_driver): Update copyright notice dates. * gfc-internals.texi: Bump @copying's copyright year. * gfortran.texi: Ditto. * intrinsic.texi: Ditto. * invoke.texi: Ditto. gcc/go/ * gccgo.texi: Bump @copyrights-go year. gcc/java/ * jcf-dump.c (version): Update copyright notice dates. libgomp/ * libgomp.texi: Bump @copying's copyright year. libitm/ * libitm.texi: Bump @copying's copyright year. libjava/ * classpath/gnu/java/rmi/registry/RegistryImpl.java (version): Update copyright notice dates. * classpath/tools/gnu/classpath/tools/orbd/Main.java (run): Ditto. * gnu/gcj/convert/Convert.java (version): Update copyright notice dates. * gnu/gcj/tools/gcj_dbtool/Main.java (main): Ditto. libquadmath/ * libquadmath.texi: Bump @copying's copyright year. From-SVN: r232053
2015-01-05gcc.c (process_command): Update copyright notice dates.Jakub Jelinek1-2/+2
gcc/ * gcc.c (process_command): Update copyright notice dates. * gcov-dump.c: Ditto. * gcov.c: Ditto. * doc/cpp.texi: Bump @copying's copyright year. * doc/cppinternals.texi: Ditto. * doc/gcc.texi: Ditto. * doc/gccint.texi: Ditto. * doc/gcov.texi: Ditto. * doc/install.texi: Ditto. * doc/invoke.texi: Ditto. gcc/fortran/ * gfortranspec.c (lang_specific_driver): Update copyright notice dates. * gfc-internals.texi: Bump @copying's copyright year. * gfortran.texi: Ditto. * intrinsic.texi: Ditto. * invoke.texi: Ditto. gcc/go/ * gccgo.texi: Bump @copyrights-go year. gcc/java/ * jcf-dump.c (version): Update copyright notice dates. libgomp/ * libgomp.texi: Bump @copying's copyright year. libquadmath/ * libquadmath.texi: Bump @copying's copyright year. libitm/ * libitm.texi: Bump @copying's copyright year. gcc/ada/ * gnat_ugn.texi: Bump @copying's copyright year. libjava/ * classpath/gnu/java/rmi/registry/RegistryImpl.java (version): Update copyright notice dates. * classpath/tools/gnu/classpath/tools/orbd/Main.java (run): Ditto. * gnu/gcj/convert/Convert.java (version): Update copyright notice dates. * gnu/gcj/tools/gcj_dbtool/Main.java (main): Ditto. From-SVN: r219187
2014-01-02gnat_ugn.texi: Bump @copying's copyright year.Tobias Burnus1-3/+2
2014-01-02 Tobias Burnus <burnus@net-b.de> gcc/ada/ * gnat_ugn.texi: Bump @copying's copyright year. gcc/ * gcc.c (process_command): Update copyright notice dates. * gcov-dump.c: Ditto. * gcov.c: Ditto. * doc/cpp.texi: Bump @copying's copyright year. * doc/cppinternals.texi: Ditto. * doc/gcc.texi: Ditto. * doc/gccint.texi: Ditto. * doc/gcov.texi: Ditto. * doc/install.texi: Ditto. * doc/invoke.texi: Ditto. gcc/fortran/ * gfortranspec.c (lang_specific_driver): Update copyright notice dates. * gfc-internals.texi: Bump @copying's copyright year. * gfortran.texi: Ditto. * intrinsic.texi: Ditto. * invoke.texi: Ditto. gcc/go/ * gcc/go/gccgo.texi: Ditto. gcc/java/ * jcf-dump.c (version): Update copyright notice dates. * gcj.texi: Bump @copying's copyright year. libgomp/ * libgomp.texi: Bump @copying's copyright year. libitm/ * libitm.texi: Bump @copying's copyright year. libjava/ * classpath/gnu/java/rmi/registry/RegistryImpl.java (version): * Update copyright notice dates. * classpath/tools/gnu/classpath/tools/orbd/Main.java (run): * Ditto. * gnu/gcj/convert/Convert.java (version): Update copyright * notice dates. * gnu/gcj/tools/gcj_dbtool/Main.java (main): Ditto. libquadmath/ * libquadmath.texi: Bump @copying's copyright year. From-SVN: r206286
2013-01-03gcc.c (process_command): Update copyright notice dates.Jakub Jelinek1-3/+3
* gcc.c (process_command): Update copyright notice dates. * gcov.c (print_version): Likewise. * gcov-dump.c (print_version): Likewise. * gfortranspec.c (lang_specific_driver): Update copyright notice dates. * jcf-dump.c (version): Update copyright notice dates. * mf-runtime.c (__mf_usage): Update copyright notice dates. * gnu/java/rmi/registry/RegistryImpl.java (version): Update copyright notice dates. * tools/gnu/classpath/tools/orbd/Main.java (run): Likewise. * gnu/gcj/convert/Convert.java (version): Update copyright notice dates. * gnu/gcj/tools/gcj_dbtool/Main.java (main): Likewise. From-SVN: r194838
2012-01-01gcc.c (process_command): Update copyright notice dates.Jakub Jelinek1-2/+2
gcc/ * gcc.c (process_command): Update copyright notice dates. * gcov.c (print_version): Likewise. * gcov-dump.c (print_version): Likewise. * mips-tfile.c (main): Likewise. * mips-tdump.c (main): Likewise. gcc/fortran/ * gfortranspec.c (lang_specific_driver): Update copyright notice dates. gcc/java/ * jcf-dump.c (version): Update copyright notice dates. libmudflap/ * mf-runtime.c (__mf_usage): Update copyright notice dates. libjava/ * gnu/gcj/convert/Convert.java (version): Update copyright notice dates. * gnu/gcj/tools/gcj_dbtool/Main.java (main): Likewise. libjava/classpath/ * gnu/java/rmi/registry/RegistryImpl.java (version): Update copyright notice dates. * tools/gnu/classpath/tools/orbd/Main.java (run): Likewise. From-SVN: r182773
2011-06-21re PR libgcj/49314 (md5test, shatest output FAILs on Tru64 UNIX)Rainer Orth1-4/+6
PR libgcj/49314 * gnu/gcj/convert/natIconv.cc (iconv_init): Pad in[] with NUL byte. From-SVN: r175266
2011-01-03gcc.c (process_command): Update copyright notice dates.Jakub Jelinek1-2/+2
gcc/ * gcc.c (process_command): Update copyright notice dates. * gcov.c (print_version): Likewise. * gcov-dump.c (print_version): Likewise. * mips-tfile.c (main): Likewise. * mips-tdump.c (main): Likewise. gcc/fortran/ * gfortranspec.c (lang_specific_driver): Update copyright notice dates. gcc/java/ * jcf-dump.c (version): Update copyright notice dates. libmudflap/ * mf-runtime.c (__mf_usage): Update copyright notice dates. libjava/ * gnu/gcj/convert/Convert.java (version): Update copyright notice dates. * gnu/gcj/tools/gcj_dbtool/Main.java (main): Likewise. libjava/classpath/ * gnu/java/rmi/registry/RegistryImpl.java (version): Update copyright notice dates. * tools/gnu/classpath/tools/orbd/Main.java (run): Likewise. From-SVN: r168432
2010-01-09gcc.c (process_command): Update copyright notice dates.Jakub Jelinek1-2/+2
* gcc.c (process_command): Update copyright notice dates. * gcov.c (print_version): Likewise. * gcov-dump.c (print_version): Likewise. * mips-tfile.c (main): Likewise. * mips-tdump.c (main): Likewise. * gfortranspec.c (lang_specific_driver): Update copyright notice dates. * jcf-dump.c (version): Update copyright notice dates. * mf-runtime.c (__mf_usage): Update copyright notice dates. * gnu/gcj/convert/Convert.java (version): Update copyright notice dates. * gnu/gcj/tools/gcj_dbtool/Main.java (main): Likewise. * gnu/java/rmi/registry/RegistryImpl.java (version): Update copyright notice dates. * tools/gnu/classpath/tools/orbd/Main.java (run): Likewise. From-SVN: r155749
2009-02-03gcc.c (process_command): Update copyright notice dates.Jakub Jelinek1-2/+3
* gcc.c (process_command): Update copyright notice dates. * gcov.c (print_version): Likewise. * gcov-dump.c (print_version): Likewise. * mips-tfile.c (main): Likewise. * mips-tdump.c (main): Likewise. * gfortranspec.c (lang_specific_driver): Update copyright notice dates. * jcf-dump.c (version): Update copyright notice dates. * mf-runtime.c (__mf_usage): Update copyright notice dates. * gnu/gcj/convert/Convert.java (version): Update copyright notice dates. * gnu/gcj/tools/gcj_dbtool/Main.java (main): Likewise. * gnu/java/rmi/registry/RegistryImpl.java (version): Update copyright notice dates. * tools/gnu/classpath/tools/orbd/Main.java (run): Likewise. From-SVN: r143907
2008-07-08Actually add libjava/gnu/gcj/convert/make-trie.h.Ralf Wildenhues1-0/+13
From-SVN: r137636
2008-07-07make-trie.h: New.Ralf Wildenhues2-4/+13
libjava/ * gnu/gcj/convert/make-trie.h: New. * gnu/gcj/convert/gen-from-JIS.c: Include it. * gnu/gcj/convert/make-trie.c: Likewise. Fix typos and compiler warnings, diagnose a missing argument. * Makefile.am (gen_from_JIS_SOURCES): Add gnu/gcj/convert/make-trie.h. * Makefile.in: Regenerate. From-SVN: r137553
2008-03-02re PR driver/35420 (--version copyright date vs. 2008)Jakub Jelinek1-2/+2
PR driver/35420 * gcc.c (process_command): Update copyright notice dates. * gcov.c (print_version): Likewise. * gcov-dump.c (print_version): Likewise. * mips-tfile.c (main): Likewise. * mips-tdump.c (main): Likewise. * jcf-dump.c (version): Update copyright notice dates. * gfortranspec.c (lang_specific_driver): Update copyright notice dates. * mf-runtime.c (__mf_usage): Update copyright notice dates. * gnu/gcj/convert/Convert.java (version): Update copyright notice dates. * gnu/gcj/tools/gcj_dbtool/Main.java (main): Likewise. * gnu/java/rmi/registry/RegistryImpl.java (version): Update copyright notice dates. * tools/gnu/classpath/tools/orbd/Main.java (run): Likewise. From-SVN: r132823
2007-01-30re PR libgcj/30600 (gnu.gcj.convert.BytesToCharsetAdaptor calculates bad ↵Kaloian Doganov1-2/+2
argument for java.nio.Buffer.limit(int)) 2007-01-29 Kaloian Doganov <kaloian@doganov.org> PR libgcj/30600: * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to 'limit'. From-SVN: r121329
2007-01-26re PR libgcj/29594 (jv-convert with no args NPE)Tom Tromey1-9/+7
PR libgcj/29594: * gnu/gcj/convert/Convert.java (main): Correctly handle missing input or output encodings. Removed unused local variables. From-SVN: r121197
2007-01-09Merged gcj-eclipse branch to trunk.Tom Tromey25-7/+987
From-SVN: r120621
2006-06-27OutputStreamWriter.java (writeChars): Use a 'do' loop.Tom Tromey2-12/+27
* java/io/OutputStreamWriter.java (writeChars): Use a 'do' loop. Set 'out.count' earlier. (close): Call setFinished on converter. (flush): Always write work buffer. * java/io/PrintStream.java (writeChars): Do 'do' loop. (close): Call setFinished on converter. Write a 'flush' array. * java/lang/natString.cc (getBytes): Call setFinished on converter. * gnu/gcj/convert/CharsetToBytesAdaptor.java (hasBytes): New field. (write): Set hasBytes. Changed 'finished' logic. (havePendingBytes): Rewrote. (setFinished): New method. * gnu/gcj/convert/UnicodeToBytes.java (setFinished): New method. * testsuite/libjava.lang/RH194522.java: New file. * testsuite/libjava.lang/RH194522.out: New file. From-SVN: r115039
2006-04-17re PR libgcj/27171 (UTF8 PrintWriter goes haywire)Tom Tromey1-8/+26
PR libgcj/27171: * testsuite/libjava.lang/pr27171.java: New file. * testsuite/libjava.lang/pr27171.out: New file. * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Return true if we've seen a high surrogate. (write): Handle high surrogates at the end of the stream. Properly emit isolated low surrogates. From-SVN: r113013
2006-02-07gij.cc (version): Use 2006.Tom Tromey1-2/+2
* gij.cc (version): Use 2006. * gnu/java/rmi/rmic/RMIC.java (parseOptions): Use 2006. * gnu/gcj/convert/Convert.java (version): Use 2006. * gnu/gcj/tools/gcj_dbtool/Main.java (main): Use 2006. From-SVN: r110681
2006-01-03PR libgcj/9715, PR libgcj/19132:David Daney4-5/+270
* java/nio/charset/Charset.java (charsetForName): Try default provider first. (availableCharsets): Re-merged. (providers2): Likewise. (defaultCharset): Likewise. * sources.am, Makefile.in: Rebuilt. * gnu/java/nio/charset/Provider.java: Removed. * java/io/OutputStreamWriter.java (OutputStreamWriter(OutputStream,Charset)): New constructor. (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise. * java/io/InputStreamReader.java (InputStreamReader(InputStream,CharsetDecoder)): New constructor. (InputStreamReader(InputStream,Charset)): Likewise. * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a BytesToCharsetAdaptor. * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a CharsetToBytesAdaptor. * gnu/gcj/convert/CharsetToBytesAdaptor.java: New file. * gnu/gcj/convert/BytesToCharsetAdaptor.java: New file. * mauve-libgcj: Remove getEncoding exclusion. Co-Authored-By: Tom Tromey <tromey@redhat.com> From-SVN: r109294
2005-11-04PR libgcj/14358, libgcj/24552:Tom Tromey1-22/+29
* gnu/gcj/convert/IOConverter.java: Regenerate aliases. Add aliases for 'euc_jp' and 'eucjp'. * scripts/encodings.pl: Recognize 'none', not 'NONE'. Include canonical names in output. (%map): Added UnicodeLittle and UnicodeBig. From-SVN: r106490
2005-07-06InputStreamReader.java (refill): Handle no-progress case correctly.Tom Tromey1-1/+3
* java/io/InputStreamReader.java (refill): Handle no-progress case correctly. * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias. From-SVN: r101663
2005-02-18gij.cc (version): Change year for '--version' to 2005.Anthony Green1-2/+2
2005-02-18 Anthony Green <green@redhat.com> * gij.cc (version): Change year for '--version' to 2005. * gnu/gcj/convert/Convert.java: Ditto. * gnu/java/rmi/rmic/RMIC.java: Ditto. * gnu/java/rmi/registry/RegistryImpl.java: Ditto. * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most recent copyright year in `--version' output. From-SVN: r95232
2004-10-28Output_UnicodeLittleUnmarked.java: New file.David Daney1-0/+41
2004-10-28 David Daney <ddaney@avtrex.com> * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file. * Makefile.am: Build it. * Makefile.in: Regenerate. From-SVN: r89763
2004-07-09unicode-muncher.pl: Updated to version 2.1 from GNU classpath.Michael Koch2-10962/+0
2004-07-09 Michael Koch <konqueror@gmx.de> * scripts/unicode-muncher.pl: Updated to version 2.1 from GNU classpath. Added some clarifications on where to find the needed files from www.unicode.org. * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html, gnu/gcj/convert/UnicodeData-3.0.0.txt: Removed, these can directly be downloaded from www.unicode.org if needed. * gnu/java/lang/CharData.java: Regenerated. * include/java-chartables.h: Regenerated. * Makefile.am (ordinary_java_source_files): Removed gnu/java/lang/CharData.java. * Makefile.in: Regenerated. From-SVN: r84399
2004-06-22BytesToUnicode.java (getDecoder): Pass original encoding name to iconv.Bryce McKinlay2-6/+6
* gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original encoding name to iconv. * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise. From-SVN: r83512
2004-06-22re PR libgcj/16134 (Memory leak in String.getBytes())Bryce McKinlay2-2/+4
PR libgcj/16134: * gnu/gcj/convert/BytesToUnicode.java: Canonicalize encoding name before cache lookup. Thanks to Hannes Wallnoefer. * gnu/gcj/convert/UnicodeToBytes.java: Likewise. From-SVN: r83501
2004-03-19Input_UnicodeBig.java: New class..Per Bothner3-1/+101
* gnu/gcj/convert/Input_UnicodeBig.java: New class.. * gnu/gcj/convert/Input_UnicodeLittle.java: New class. * Makefile.am: Update accordingly. * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be" as aliases for UnicodeLittle and UnicodeBig. From-SVN: r79723
2004-02-202004-02-20 Michael Koch <konqueror@gmx.de>Michael Koch1-2/+2
* gnu/gcj/convert/Convert.java (main): Use equals() to compare strings. From-SVN: r78174
2003-11-14jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to ↵Tom Tromey1-2/+2
JvGetStringUTFRegion. * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to JvGetStringUTFRegion. * java/lang/natPosixProcess.cc (new_string): Pass length of string to JvGetStringUTFRegion. * java/lang/natDouble.cc (parseDouble): Pass length of string to JvGetStringUTFRegion. * java/lang/natWin32Process.cc (startProcess): Pass length of string to JvGetStringUTFRegion. * java/lang/natClass.cc (forName): Pass length of string to JvGetStringUTFRegion. * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length of string to JvGetStringUTFRegion. * gnu/gcj/convert/natIconv.cc (init): Pass length of string to JvGetStringUTFRegion. * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string to JvGetStringUTFRegion. * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of string to JvGetStringUTFRegion. From-SVN: r73571
2003-07-29natIconv.cc (write): Handle case where output buffer is too small.Tom Tromey1-14/+28
* gnu/gcj/convert/natIconv.cc (write): Handle case where output buffer is too small. From-SVN: r69927
2003-07-012003-07-01 Michael Koch <konqueror@gmx.de>Michael Koch1-0/+3
* gnu/gcj/convert/natIconv.cc (iconv_init): Fixed possible memory leak by releasing allocated iconv handle. From-SVN: r68774
2003-06-07re PR libgcj/8738 (java.io.CharArrayWriter's write methods erroneously throw ↵Mark Wielaard4-4/+32
IOExceptions) 2002-06-06 James Clark <jjc@jclark.com> Fix for PR libgcj/8738: * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method. * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise. * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise. * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise. (write): Always decrease avail when count is increased. * java/lang/natString.cc (getBytes): Check converter havePendingBytes() and whether output buffer is full before increasing size. 2002-06-06 Mark Wielaard <mark@klomp dot org> * java/io/PrintStream.java (writeChars(char[],int, int)): Check converter.havePendingBytes(). (writeChars(String,int,int)): Likewise. * java/io/OutputStreamWriter.java (writeChars(char[], int, int)): Check converter.havePendingBytes() and flush buffer when stalled. From-SVN: r67595
2002-03-25For PR libgcj/5303:Tom Tromey1-1/+1
* gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help and --version. (help): New method. (version): Likewise. * gnu/gcj/convert/Convert.java (version): Removed extraneous "GNU". * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous "GNU". From-SVN: r51343
2002-03-06unicode-decomp.pl: Move from chartables.pl...Eric Blake3-0/+11052
2002-03-04 Eric Blake <ebb9@email.byu.edu> * scripts/unicode-decomp.pl: Move from chartables.pl, and remove the code for generating include/java-chartables.h. * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and merge with Classpath. * scripts/unicode-muncher.pl: Copy from Classpath. * scritps/MakeCharTables.java: New file. * gnu/gcj/convert/Blocks-3.txt: New file. * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file. * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file. * gnu/java/lang/CharData.java: Copy from Classpath. * Makefile.am (ordinary_java_source_files): Add gnu/java/lang/CharData.java. * configure.in: Remove --enable-fast-character option. * java/lang/Character.java: Merge algorithms and Javadoc with Classpath. * java/lang/natCharacter.cc: Implement Unicode lookup table more efficiently. * include/java-chardecomp.h: Regenerate. * include/java-chartables.h: Regenerate. From-SVN: r50368
2002-02-22natSystem.cc (init_properties): Include the `Inc.' in java.vendor and ↵Tom Tromey1-1/+1
java.vm.vendor. * java/lang/natSystem.cc (init_properties): Include the `Inc.' in java.vendor and java.vm.vendor. * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most recent copyright date. * gnu/gcj/convert/Convert.java (version): Print `Inc'. * gij.cc (version): Print `Inc'. From-SVN: r49975
2002-02-17name-finder.cc (toHex): Use word mode, not long long.Jason Merrill1-1/+1
* name-finder.cc (toHex): Use word mode, not long long. * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning. From-SVN: r49829
2002-01-31gccbug.in: Follow GNU Coding Standards for --version.Joseph Myers1-1/+1
gcc: * gccbug.in: Follow GNU Coding Standards for --version. Use GCC version rather than GNATS version in --version output. gcc/f: * g77spec.c (lang_specific_driver): Follow GNU Coding Standards for --version. gcc/java: * gjavah.c (version), jcf-dump.c (version), jv-scan.c (version): Follow GNU Coding Standards for --version. libjava: * gnu/gcj/convert/Convert.java: Only include one copyright year in --version output. From-SVN: r49372
2002-01-10Convert.java (version): Use java.vm.name property.Tom Tromey1-5/+7
* gnu/gcj/convert/Convert.java (version): Use java.vm.name property. (help, version): Use println(), not println(""). From-SVN: r48739
2002-01-10For PR libgcj/5303:Tom Tromey1-6/+43
* gnu/gcj/convert/Convert.java (error): Program is called `jv-convert'. Print GNU-style message. Exit with status 1, not -1. (main): Handle --help and --version. (help): New method. (version): Likewise. From-SVN: r48703
2001-10-22JIS0208_to_Unicode.cc: Declare java_exceptions pragma.Bryce McKinlay4-0/+5
* gnu/gcj/convert/JIS0208_to_Unicode.cc: Declare java_exceptions pragma. * gnu/gcj/convert/JIS0212_to_Unicode.cc: Likewise. * gnu/gcj/convert/Unicode_to_JIS.cc: Likewise. * gnu/gcj/convert/gen-from-JIS.c: Put java_exceptions pragma in output file. From-SVN: r46400
2001-09-17Add support for iso8859_1.Anthony Green1-0/+1
From-SVN: r45649
2001-08-18UnicodeToBytes.java (write): Write work buffer starting from zero offset.Jeff Sturm1-1/+1
* gnu/gcj/convert/UnicodeToBytes.java (write): Write work buffer starting from zero offset. From-SVN: r44997
2001-08-17* gnu/gcj/convert/IOConverter.java: Add `646' alias.Tom Tromey1-0/+5
From-SVN: r44965
2001-08-15natIconv.cc (read): Handle EINVAL and E2BIG correctly.Tom Tromey1-4/+7
* gnu/gcj/convert/natIconv.cc (read): Handle EINVAL and E2BIG correctly. From-SVN: r44928
2001-08-10* gnu/gcj/convert/natIconv.cc (done): Use HAVE_ICONV.Loren J. Rittle1-0/+8
From-SVN: r44772
2001-07-30natIconv.cc (done): New methods.Tom Tromey5-69/+181
2001-07-30 Tom Tromey <tromey@redhat.com> Corey Minyard <minyard@acm.org> * gnu/gcj/convert/natIconv.cc (done): New methods. * gnu/gcj/convert/Output_iconv.java (done): New method. * gnu/gcj/convert/Input_iconv.java (done): New method. * gnu/gcj/convert/UnicodeToBytes.java (defaultEncodingClass): Removed. (getDefaultEncodingClass): Removed. (getDefaultEncoder): Use getEncoder. (done): New method. (defaultEncoding, CACHE_SIZE, encoderCache, currCachePos): New static fields. * gnu/gcj/convert/BytesToUnicode.java (defaultDecodingClass): Removed. (defaultEncoding, CACHE_SIZE, decoderCache, currCachePos): New static fields. (getDefaultDecodingClass): Removed. (getDefaultDecoder): Use getDecoder. (getDecoder): Look up decoder in cache. (done): New method. * java/lang/natString.cc (init): Call `done' on converter. (getBytes): Likewise. Co-Authored-By: Corey Minyard <minyard@acm.org> From-SVN: r44484
2001-07-13re PR libgcj/3426 (java.io.InputStreamReader, infinite loop)Tom Tromey1-2/+12
Fix for PR libgcj/3426: * gnu/gcj/convert/natIconv.cc: Include CharConversionException.h, errno.h. (read): Throw exception if character conversion fails. * java/io/BufferedInputStream.java (refill): Now package-private. * java/io/InputStreamReader.java (ready): Simplified. (refill): New method. (read): Use it. Co-Authored-By: David Brownell <david-b@pacbell.net> From-SVN: r43975
2001-06-27IOConverter.java: Manually maintained alias now lowercase.Tom Tromey1-1/+1
* gnu/gcj/convert/IOConverter.java: Manually maintained alias now lowercase. From-SVN: r43620
2001-06-26encodings.pl: Generate lower-case names.Tom Tromey1-23/+24
* scripts/encodings.pl: Generate lower-case names. Updated URL for `character-sets' file. * gnu/gcj/convert/IOConverter.java (canonicalize): Convert name to lower case. Rebuilt list of aliases. From-SVN: r43566