<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gcc.git/libjava/gnu/gcj/convert/UnicodeToBytes.java, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/'/>
<entry>
<title>Makefile.def: Remove libjava.</title>
<updated>2016-09-30T16:24:48+00:00</updated>
<author>
<name>Andrew Haley</name>
<email>aph@redhat.com</email>
</author>
<published>2016-09-30T16:24:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=07b78716af6a9d7c9fd1e94d9baf94a52c873947'/>
<id>07b78716af6a9d7c9fd1e94d9baf94a52c873947</id>
<content type='text'>
2016-09-30  Andrew Haley  &lt;aph@redhat.com&gt;

	* Makefile.def: Remove libjava.
	* Makefile.tpl: Likewise.
	* Makefile.in: Regenerate.
	* configure.ac: Likewise.
	* configure: Likewise.
	* gcc/java: Remove.
	* libjava: Likewise.

From-SVN: r240662
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2016-09-30  Andrew Haley  &lt;aph@redhat.com&gt;

	* Makefile.def: Remove libjava.
	* Makefile.tpl: Likewise.
	* Makefile.in: Regenerate.
	* configure.ac: Likewise.
	* configure: Likewise.
	* gcc/java: Remove.
	* libjava: Likewise.

From-SVN: r240662
</pre>
</div>
</content>
</entry>
<entry>
<title>OutputStreamWriter.java (writeChars): Use a 'do' loop.</title>
<updated>2006-06-27T20:38:10+00:00</updated>
<author>
<name>Tom Tromey</name>
<email>tromey@redhat.com</email>
</author>
<published>2006-06-27T20:38:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=9e01bff779fdaf1fb6621fe30f679d6aca0029ec'/>
<id>9e01bff779fdaf1fb6621fe30f679d6aca0029ec</id>
<content type='text'>
	* 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* 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
</pre>
</div>
</content>
</entry>
<entry>
<title>PR libgcj/9715, PR libgcj/19132:</title>
<updated>2006-01-03T22:58:31+00:00</updated>
<author>
<name>David Daney</name>
<email>ddaney@avtrex.com</email>
</author>
<published>2006-01-03T22:58:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=8ceb88d4cd6ba729b38dee3bda925ab34a75efc9'/>
<id>8ceb88d4cd6ba729b38dee3bda925ab34a75efc9</id>
<content type='text'>
	* 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 &lt;tromey@redhat.com&gt;

From-SVN: r109294
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* 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 &lt;tromey@redhat.com&gt;

From-SVN: r109294
</pre>
</div>
</content>
</entry>
<entry>
<title>BytesToUnicode.java (getDecoder): Pass original encoding name to iconv.</title>
<updated>2004-06-22T19:24:32+00:00</updated>
<author>
<name>Bryce McKinlay</name>
<email>mckinlay@redhat.com</email>
</author>
<published>2004-06-22T19:24:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=eb8163abfbde8250b9b7450860f06f65356993ca'/>
<id>eb8163abfbde8250b9b7450860f06f65356993ca</id>
<content type='text'>
	* gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
	encoding name to iconv.
	* gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.

From-SVN: r83512
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
	encoding name to iconv.
	* gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.

From-SVN: r83512
</pre>
</div>
</content>
</entry>
<entry>
<title>re PR libgcj/16134 (Memory leak in String.getBytes())</title>
<updated>2004-06-22T17:21:23+00:00</updated>
<author>
<name>Bryce McKinlay</name>
<email>mckinlay@redhat.com</email>
</author>
<published>2004-06-22T17:21:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=f50aa5059af99c4bc52ede25ee108e1e8705e7d4'/>
<id>f50aa5059af99c4bc52ede25ee108e1e8705e7d4</id>
<content type='text'>
	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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	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
</pre>
</div>
</content>
</entry>
<entry>
<title>re PR libgcj/8738 (java.io.CharArrayWriter's write methods erroneously throw IOExceptions)</title>
<updated>2003-06-07T18:35:00+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@gcc.gnu.org</email>
</author>
<published>2003-06-07T18:35:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=60e9f0d726fd28b960c5674a3c7beaf7015dbd34'/>
<id>60e9f0d726fd28b960c5674a3c7beaf7015dbd34</id>
<content type='text'>
2002-06-06  James Clark  &lt;jjc@jclark.com&gt;

       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  &lt;mark@klomp dot org&gt;

       * 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2002-06-06  James Clark  &lt;jjc@jclark.com&gt;

       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  &lt;mark@klomp dot org&gt;

       * 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
</pre>
</div>
</content>
</entry>
<entry>
<title>UnicodeToBytes.java (write): Write work buffer starting from zero offset.</title>
<updated>2001-08-18T03:56:01+00:00</updated>
<author>
<name>Jeff Sturm</name>
<email>jsturm@one-point.com</email>
</author>
<published>2001-08-18T03:56:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=8ff62227514896471cfb3a6ce27bf31c37442b7f'/>
<id>8ff62227514896471cfb3a6ce27bf31c37442b7f</id>
<content type='text'>
	* gnu/gcj/convert/UnicodeToBytes.java (write): Write work buffer
	starting from zero offset.

From-SVN: r44997
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* gnu/gcj/convert/UnicodeToBytes.java (write): Write work buffer
	starting from zero offset.

From-SVN: r44997
</pre>
</div>
</content>
</entry>
<entry>
<title>natIconv.cc (done): New methods.</title>
<updated>2001-07-30T20:24:18+00:00</updated>
<author>
<name>Tom Tromey</name>
<email>tromey@redhat.com</email>
</author>
<published>2001-07-30T20:24:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=3d5aea83669398c151371796f2b84cbb0f52727c'/>
<id>3d5aea83669398c151371796f2b84cbb0f52727c</id>
<content type='text'>
2001-07-30  Tom Tromey  &lt;tromey@redhat.com&gt;
	    Corey Minyard  &lt;minyard@acm.org&gt;

	* 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 &lt;minyard@acm.org&gt;

From-SVN: r44484
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2001-07-30  Tom Tromey  &lt;tromey@redhat.com&gt;
	    Corey Minyard  &lt;minyard@acm.org&gt;

	* 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 &lt;minyard@acm.org&gt;

From-SVN: r44484
</pre>
</div>
</content>
</entry>
<entry>
<title>BytesToUnicode.java (getDefaultDecoder): Let default decoder use iconv.</title>
<updated>2000-09-11T00:35:51+00:00</updated>
<author>
<name>Tom Tromey</name>
<email>tromey@cygnus.com</email>
</author>
<published>2000-09-11T00:35:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=fe5e3b9714a2ef529f5d514dab61747137c89527'/>
<id>fe5e3b9714a2ef529f5d514dab61747137c89527</id>
<content type='text'>
	* gnu/gcj/convert/BytesToUnicode.java (getDefaultDecoder): Let
	default decoder use iconv.
	* gnu/gcj/convert/UnicodeToBytes.java (getDefaultEncoder):
	Let default encoder use iconv.
	* configure: Rebuilt.
	* configure.in: Check for nl_langinfo and &lt;langinfo.h&gt;.
	* java/lang/natSystem.cc (file_encoding): New function.
	(DEFAULT_FILE_ENCODING): Define to file_encoding() if possible.

From-SVN: r36306
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* gnu/gcj/convert/BytesToUnicode.java (getDefaultDecoder): Let
	default decoder use iconv.
	* gnu/gcj/convert/UnicodeToBytes.java (getDefaultEncoder):
	Let default encoder use iconv.
	* configure: Rebuilt.
	* configure.in: Check for nl_langinfo and &lt;langinfo.h&gt;.
	* java/lang/natSystem.cc (file_encoding): New function.
	(DEFAULT_FILE_ENCODING): Define to file_encoding() if possible.

From-SVN: r36306
</pre>
</div>
</content>
</entry>
<entry>
<title>encodings.pl: New file.</title>
<updated>2000-08-02T19:56:53+00:00</updated>
<author>
<name>Tom Tromey</name>
<email>tromey@cygnus.com</email>
</author>
<published>2000-08-02T19:56:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/gcc.git/commit/?id=f9427d170488c89fc8f2f4eed47b7feca4b32296'/>
<id>f9427d170488c89fc8f2f4eed47b7feca4b32296</id>
<content type='text'>
	* scripts/encodings.pl: New file.
	* Makefile.in: Rebuilt.
	* Makefile.am (convert_source_files): Added IOConverter.java.
	* gnu/gcj/convert/UnicodeToBytes.java (UnicodeToBytes): Extend
	IOConverter.
	(getDefaultDecodingClass): Canonicalize default encoding name.
	(getEncoder): Likewise.
	* gnu/gcj/convert/BytesToUnicode.java (BytesToUnicode): Extend
	IOConverter.
	(getDefaultDecodingClass): Canonicalize default encoding name.
	(getDecoder): Likewise.
	* gnu/gcj/convert/IOConverter.java: New file.

From-SVN: r35432
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* scripts/encodings.pl: New file.
	* Makefile.in: Rebuilt.
	* Makefile.am (convert_source_files): Added IOConverter.java.
	* gnu/gcj/convert/UnicodeToBytes.java (UnicodeToBytes): Extend
	IOConverter.
	(getDefaultDecodingClass): Canonicalize default encoding name.
	(getEncoder): Likewise.
	* gnu/gcj/convert/BytesToUnicode.java (BytesToUnicode): Extend
	IOConverter.
	(getDefaultDecodingClass): Canonicalize default encoding name.
	(getDecoder): Likewise.
	* gnu/gcj/convert/IOConverter.java: New file.

From-SVN: r35432
</pre>
</div>
</content>
</entry>
</feed>
