[cp-patches] FYI: add myself to AUTHORS

2006-01-06 Thread Casey Marshall
I've done enough, right? 2006-01-06 Casey Marshall <[EMAIL PROTECTED]> * AUTHORS: add myself. ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches

[cp-patches] FYI: fix CipherInputStream

2006-01-06 Thread Casey Marshall
This should fix bug 25699. It basically reimplements a lot of CipherInputStream from scratch, because the old version was trying to be too clever and optimized. 2006-01-06 Casey Marshall <[EMAIL PROTECTED]> PR classpath/25699 * javax/crypto/CipherInputStream.java (logger):

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Raif S. Naffah
On Saturday 07 January 2006 12:58, Casey Marshall wrote: > On Jan 6, 2006, at 5:41 PM, Raif S. Naffah wrote: > > On Saturday 07 January 2006 11:32, Casey Marshall wrote: > >> You have to do that if you want to present a unified factory > >> interface to (e.g.) all PRNG implementations. But we don't

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Casey Marshall
On Jan 6, 2006, at 5:41 PM, Raif S. Naffah wrote: On Saturday 07 January 2006 11:32, Casey Marshall wrote: You have to do that if you want to present a unified factory interface to (e.g.) all PRNG implementations. But we don't have to do that, here, because there already is a unified factory f

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Casey Marshall
On Jan 6, 2006, at 1:12 PM, Raif S. Naffah wrote: On Saturday 07 January 2006 05:48, Casey Marshall wrote: On Jan 6, 2006, at 12:41 AM, Raif S. Naffah wrote: On Friday 06 January 2006 10:07, Casey Marshall wrote: After thinking about exportability a little more, I think the best option may be

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Raif S. Naffah
On Saturday 07 January 2006 11:32, Casey Marshall wrote: > On Jan 6, 2006, at 1:12 PM, Raif S. Naffah wrote: > > On Saturday 07 January 2006 05:48, Casey Marshall wrote: > >> On Jan 6, 2006, at 12:41 AM, Raif S. Naffah wrote: > >>> On Friday 06 January 2006 10:07, Casey Marshall wrote: > After

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Thomas Fitzsimmons
On Sat, 2006-01-07 at 10:22 +1100, Raif S. Naffah wrote: > hello, > > On Saturday 07 January 2006 08:30, Thomas Fitzsimmons wrote: > > On Sun, 2005-12-25 at 17:06 -0800, Casey Marshall wrote: > > > Hi, > > > > > > I've moved GNU Crypto and Jessie into my Classpath tree, > > > approximately as I pr

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Raif S. Naffah
hello all, On Friday 06 January 2006 20:01, Mark Wielaard wrote: > Hi, > > On Fri, 2006-01-06 at 07:21 +1100, Raif S. Naffah wrote: > > On Friday 06 January 2006 06:45, Casey Marshall wrote: > > > Of course, a lot of GNU Crypto's source is formatted in a > > > completely non-standard way: the file

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Casey Marshall
On Jan 6, 2006, at 12:50 AM, Mark Wielaard wrote: Hi, On Thu, 2006-01-05 at 15:07 -0800, Casey Marshall wrote: We just shove exportable algorithms and providers under `gnu/java/ security,' and non-exportable algorithms and providers under `gnu/ javax/crypto.' Thus, if you need to make an expor

[cp-patches] Patch: FYI: add @since in String

2006-01-06 Thread Tom Tromey
I'm checking this in. This adds a missing @since in String. Tom 2006-01-06 Tom Tromey <[EMAIL PROTECTED]> * java/lang/String.java (contains): Added @since. Index: java/lang/String.java === RCS file: /cvsroot/classpath/cl

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Thomas Fitzsimmons
On Sun, 2005-12-25 at 17:06 -0800, Casey Marshall wrote: > Hi, > > I've moved GNU Crypto and Jessie into my Classpath tree, approximately > as I proposed to do earlier. The patch to Classpath, and a tarball of > all the new files, are available from >

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Raif S. Naffah
On Saturday 07 January 2006 05:48, Casey Marshall wrote: > On Jan 6, 2006, at 12:41 AM, Raif S. Naffah wrote: > > On Friday 06 January 2006 10:07, Casey Marshall wrote: > >> After thinking about exportability a little more, I think the best > >> option may be to not provide any `--disable-crypto' o

[cp-patches] Patch: FYI: javadoc fixlet in String

2006-01-06 Thread Tom Tromey
I'm checking this in. This fixes a javadoc buglet in String I noticed while doing a merge. Tom 2006-01-06 Tom Tromey <[EMAIL PROTECTED]> * java/lang/String.java (codePointCount): Fixed javadoc. Index: java/lang/String.java =

Re: [cp-patches] RFC: XMLEncoder and related infrastructure

2006-01-06 Thread Tom Tromey
> "Robert" == Robert Schuster <[EMAIL PROTECTED]> writes: Robert> And the bad one: There is an evil problem with object Robert> references. These happen when you write an object twice or Robert> more to the stream. Robert> o = new Object(); Robert> encoder.writeObject(o); Robe

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Raif S. Naffah
On Saturday 07 January 2006 07:12, Casey Marshall wrote: > On Jan 6, 2006, at 12:50 AM, Mark Wielaard wrote: > > Hi, > > > > On Thu, 2006-01-05 at 15:07 -0800, Casey Marshall wrote: > >> We just shove exportable algorithms and providers under `gnu/java/ > >> security,' and non-exportable algorithms

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Anthony Green
On Sat, 2006-01-07 at 08:14 +1100, Raif S. Naffah wrote: > how are you dealing with the current strong-crypto related stuff in > the > Classpath HEAD? We're not yet. We have complicated agreements in place not to distribute this thing outside of the USA. I don't want to have to deal with this a

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Casey Marshall
On Jan 6, 2006, at 12:41 AM, Raif S. Naffah wrote: On Friday 06 January 2006 10:07, Casey Marshall wrote: After thinking about exportability a little more, I think the best option may be to not provide any `--disable-crypto' option at all, and just structure the source code so that packagers ca

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Raif S. Naffah
hello Anthony, On Friday 06 January 2006 10:58, Anthony Green wrote: > On Thu, 2006-01-05 at 15:07 -0800, Casey Marshall wrote: > > How does this sound? > > Perfect! i asked this question earlier on the general list, but did nit get an answer: how are you dealing with the current strong-crypto

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Raif S. Naffah
hello, On Saturday 07 January 2006 08:30, Thomas Fitzsimmons wrote: > On Sun, 2005-12-25 at 17:06 -0800, Casey Marshall wrote: > > Hi, > > > > I've moved GNU Crypto and Jessie into my Classpath tree, > > approximately as I proposed to do earlier. The patch to Classpath, > > and a tarball of all th

Re: [cp-patches] RFC: replacing jni_md-x86-linux.h by a generic jni_md.h

2006-01-06 Thread Tom Tromey
> "Dalibor" == Dalibor Topic <[EMAIL PROTECTED]> writes: Dalibor> Kaffe indeed installs config-int.h along with jni_md.h. I Dalibor> think the file should be renamed then to something like Dalibor> classpath_stdint_wrapper.h to make sure it differentiates Dalibor> itself from other headers. Y

[cp-patches] RFC: HashMap/WeakHashMap key identity comparisons

2006-01-06 Thread Jeroen Frijters
[EMAIL PROTECTED] wrote: > What, "we're lazy" isn't valid? :-) It's definitely valid! > If you're interested there's also a PR about classes whose equals() > method doesn't return true even when the objects are '=='. > Apparently Sun's collections handle this. Thanks. I've written the attached

[cp-patches] FYI: Using a WeakIdentityHashMap for thread locals

2006-01-06 Thread Jeroen Frijters
[EMAIL PROTECTED] wrote: > > "Jeroen" == Jeroen Frijters <[EMAIL PROTECTED]> writes: > > Jeroen> I propose the attached change to the handling of > thread locals. This > Jeroen> fixes bug #24858 and makes the code slightly more > obvious (at the cost > Jeroen> of introducing the new class We

Re: [cp-patches] FYI: more BasicListUI fixes

2006-01-06 Thread Lillian Angel
On Thu, 2006-01-05 at 22:53 +, Roman Kennke wrote: > Hi there, > > I fixed some more issues with JList and HORIZINTAL_WRAP and > VERTICAL_WRAP. It should now work mostly right and smooth. This > effectivly makes JFileChooser usable. I don't know about usable.. I seem to get an NPE everytime I

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Mark Wielaard
Hi, On Fri, 2006-01-06 at 07:21 +1100, Raif S. Naffah wrote: > On Friday 06 January 2006 06:45, Casey Marshall wrote: > > Of course, a lot of GNU Crypto's source is formatted in a completely > > non-standard way: the file opens with the 'package' line, then the > > copyright boilerplate (with // c

Re: [cp-patches] RFC: gnu.regexp fix to avoid unwanted PatternSyntaxException

2006-01-06 Thread Mark Wielaard
Hi, On Fri, 2006-01-06 at 04:34 +0100, Dalibor Topic wrote: > Ito Kazumitsu wrote: > > This fixes the bug #25616. > > > > I have updated the mauve test > > gnu/testlet/java/util/regex/Pattern/matches.java > > for testing this fix. Thanks! Please add the bug number to the ChangeLog/commit messa

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Mark Wielaard
Hi, On Thu, 2006-01-05 at 15:07 -0800, Casey Marshall wrote: > We just shove exportable algorithms and providers under `gnu/java/ > security,' and non-exportable algorithms and providers under `gnu/ > javax/crypto.' Thus, if you need to make an exportable source/binary, > just `rm -rf {,gnu/}j

Re: [cp-patches] GNU Crypto and Jessie merge

2006-01-06 Thread Raif S. Naffah
On Friday 06 January 2006 10:07, Casey Marshall wrote: > After thinking about exportability a little more, I think the best > option may be to not provide any `--disable-crypto' option at all, > and just structure the source code so that packagers can remove all > non-exportable crypto by just remo