[commit-cp] classpath java/util/concurrent/CopyOnWriteArray...

2007-11-24 Thread Mario Torre
CVSROOT:/sources/classpath
Module name:classpath
Changes by: Mario Torre07/11/24 22:31:08

Modified files:
java/util/concurrent: CopyOnWriteArrayList.java 
.  : ChangeLog 

Log message:
2007-11-24  Mario Torre  <[EMAIL PROTECTED]>

* java/util/concurrent/CopyOnWriteArrayList.java: 
(addAll): fix implementation, now add elements in the correct 
position.
(addAllAbsent): fixed typos (whoops!).
(remove(int)): fixed range in arraycopy that was causing for 
incorrect
values to be inserted in the list. Refactored to give variables 
better
names.
(remove(Object)): refactored to give better names to variable.
(listIterator): fix to set the starting index.
(listIterator.previous): fix to decrement element position before
returning the previous element in the iterator.  

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/java/util/concurrent/CopyOnWriteArrayList.java?cvsroot=classpath&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9439&r2=1.9440




[commit-cp] classpath/native/jni/gtk-peer gtkpeer.c

2007-11-24 Thread Ian Rogers
CVSROOT:/cvsroot/classpath
Module name:classpath
Changes by: Ian Rogers 07/11/23 15:28:52

Modified files:
native/jni/gtk-peer: gtkpeer.c 

Log message:
Make pointerClass a global JNI reference when pointers are 4 bytes wide 
and not just 8 bytes wide.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gtk-peer/gtkpeer.c?cvsroot=classpath&r1=1.2&r2=1.3




[commit-cp] classpath/gnu/java/nio/charset ByteCharset.java...

2007-11-24 Thread Ian Rogers
CVSROOT:/cvsroot/classpath
Module name:classpath
Changes by: Ian Rogers 07/11/23 15:12:17

Modified files:
gnu/java/nio/charset: ByteCharset.java Cp424.java Cp437.java 
  Cp737.java Cp775.java Cp850.java 
  Cp852.java Cp855.java Cp857.java 
  Cp860.java Cp861.java Cp862.java 
  Cp863.java Cp864.java Cp865.java 
  Cp866.java Cp869.java Cp874.java 
  EncodingHelper.java ISO_8859_1.java 
  ISO_8859_13.java ISO_8859_15.java 
  ISO_8859_2.java ISO_8859_3.java 
  ISO_8859_4.java ISO_8859_5.java 
  ISO_8859_6.java ISO_8859_7.java 
  ISO_8859_8.java ISO_8859_9.java KOI_8.java 
  MS874.java MacCentralEurope.java 
  MacCroatian.java MacCyrillic.java 
  MacDingbat.java MacGreek.java 
  MacIceland.java MacRoman.java 
  MacRomania.java MacSymbol.java 
  MacThai.java MacTurkish.java Provider.java 
  US_ASCII.java Windows1250.java 
  Windows1251.java Windows1252.java 
  Windows1253.java Windows1254.java 
  Windows1255.java Windows1256.java 
  Windows1257.java Windows1258.java 

Log message:
Addition of array optimized encoding/decoding for byte character sets, 
US_ASCII and ISO_8859_1.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/ByteCharset.java?cvsroot=classpath&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/Cp424.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/Cp437.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/Cp737.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/Cp775.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/Cp850.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/Cp852.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/Cp855.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/Cp857.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/Cp860.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/Cp861.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/Cp862.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/Cp863.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/Cp864.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/Cp865.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/Cp866.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/Cp869.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/Cp874.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/EncodingHelper.java?cvsroot=classpath&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/ISO_8859_1.java?cvsroot=classpath&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/ISO_8859_13.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/ISO_8859_15.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/ISO_8859_2.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/ISO_8859_3.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/ISO_8859_4.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/ISO_8859_5.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/ISO_8859_6.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/ISO_8859_7.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/nio/charset/ISO_8859_8.java?cvsroot=classpath&r1

[commit-cp] classpath/java/lang String.java

2007-11-24 Thread Ian Rogers
CVSROOT:/cvsroot/classpath
Module name:classpath
Changes by: Ian Rogers 07/11/23 15:04:25

Modified files:
java/lang  : String.java 

Log message:
Separate Turkish case conversion into their own routines. Switch from 
using String.equals to == for the language detection as Locale's language is 
interned.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/java/lang/String.java?cvsroot=classpath&r1=1.86&r2=1.87




[commit-cp] classpath/java io/FileOutputStream.java io/Prin...

2007-11-24 Thread Ian Rogers
CVSROOT:/cvsroot/classpath
Module name:classpath
Changes by: Ian Rogers 07/11/23 14:58:14

Modified files:
java/io: FileOutputStream.java PrintStream.java 
java/util  : Locale.java 

Log message:
Make private fields that can be final, final.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/java/io/FileOutputStream.java?cvsroot=classpath&r1=1.38&r2=1.39
http://cvs.savannah.gnu.org/viewcvs/classpath/java/io/PrintStream.java?cvsroot=classpath&r1=1.29&r2=1.30
http://cvs.savannah.gnu.org/viewcvs/classpath/java/util/Locale.java?cvsroot=classpath&r1=1.39&r2=1.40




[commit-cp] classpath/java/lang Long.java

2007-11-24 Thread Ian Rogers
CVSROOT:/cvsroot/classpath
Module name:classpath
Changes by: Ian Rogers 07/11/23 14:50:53

Modified files:
java/lang  : Long.java 

Log message:
Remove unnecessary synchronized from Long.valueOf(long)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/java/lang/Long.java?cvsroot=classpath&r1=1.24&r2=1.25




[commit-cp] classpath AUTHORS

2007-11-24 Thread Ian Rogers
CVSROOT:/cvsroot/classpath
Module name:classpath
Changes by: Ian Rogers 07/11/23 14:38:58

Modified files:
.  : AUTHORS 

Log message:
add myself

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/AUTHORS?cvsroot=classpath&r1=1.41&r2=1.42