[cp-patches] FYI: another JComponent painting fixlet

2005-09-25 Thread Roman Kennke
This sets a clip in JComponent.paintChildren, so that children cannot actually paint inside the border area. 2005-09-24 Roman Kennke [EMAIL PROTECTED] * javax/swing/JComponent.java Fixed some API comments. (paintChildren): Set clip to exclude the border area. /Roman

[cp-patches] FYI: BoxLayout respecting the insets of the container

2005-09-25 Thread Roman Kennke
I added some code so that the new BoxLayout also respects the insets (border) of the container. 2005-09-24 Roman Kennke [EMAIL PROTECTED] * javax/swing/BoxLayout.java (layoutContainer): Respect the insets of the container. /Roman Index: javax/swing/SizeRequirements.java

[cp-patches] FYI: SizeRequirements improvement

2005-09-25 Thread Roman Kennke
I improved the SizeRequirements.calculateAlignedPositions (used by BoxLayout) so that it better respects the min/max sizes of the components and make better use of the available layout space. 2005-09-24 Roman Kennke [EMAIL PROTECTED] * javax/swing/SizeRequirements.java

Re: [cp-patches] [generics] Patch: FYI: first draft of Formatter

2005-09-25 Thread Tom Tromey
Mark == Mark Wielaard [EMAIL PROTECTED] writes: + private static final String lineSeparator += System.getProperty(line.separator); Mark The class could be initialized from an unprivileged context so you need Mark to get this property through gnu.classpath.SystemProperties.getProperty

Re: [cp-patches] FYI: Fixed Swing painting (again)

2005-09-25 Thread Mark Wielaard
Hi Roman, 2005-09-22 Roman Kennke [EMAIL PROTECTED] * javax/swing/JComponent.java (paintChildren): If a child component is invisible, skip it. Handle the (rare) case when no clip is set as if it's set to the child component's bounds. These fixes should make Swing working

Re: [cp-patches] [generics] Patch: FYI: first draft of Formatter

2005-09-25 Thread Mark Wielaard
Hi Tom, On Sat, 2005-09-24 at 20:48 -0600, Tom Tromey wrote: I didn't put this on the trunk because it is incomplete, it includes a new enum type, and it uses varargs. (The enum seems kind of useless and we could strip the varargs for the trunk; once the javadoc is written.) I don't think

[cp-patches] FYI: Diffie Hellman key algorithms

2005-09-25 Thread Casey Marshall
This adds KeyFactory and KeyPairGenerator implementations for DiffieHellman. These should help get things like jsch closer to working, but I haven't had much luck so far (there appears to be a bug in our RSA signature impl). Committed, 2005-09-25 Casey Marshall [EMAIL PROTECTED] *

Re: [cp-patches] FYI: JComponent painting reworked

2005-09-25 Thread Mark Wielaard
Hi Roman, On Thu, 2005-09-22 at 16:13 +0200, Roman Kennke wrote: + /** + * Performs normal painting without double buffering. + * + * @param r the area to be repainted + */ + void paintSimple(Rectangle r) + { +Graphics g = getGraphics(); +Graphics g2 =

[cp-patches] [generics] Patch: FYI: use SystemProperties

2005-09-25 Thread Tom Tromey
I'm checking this in on the generics branch. As suggested by Mark, we should use SystemProperties here. Tom Index: ChangeLog from Tom Tromey [EMAIL PROTECTED] * java/util/Formatter.java (lineSeparator): Use SystemProperties. Index: java/util/Formatter.java

Re: [cp-patches] Patch: RFA: javax.security.sasl -vs- 1.5

2005-09-25 Thread Tom Tromey
Casey == Casey Marshall [EMAIL PROTECTED] writes: Casey I don't have much to add, other than these classes were based on the Casey JSR, which I think Raif Naffah was involved in, and that the API did Casey change when these classes became a part of 1.5. Casey The patch looks okay to me.

[cp-patches] FYI: fix for PR 23916

2005-09-25 Thread Casey Marshall
Hi, I'm checking in this patch to fix PR 23916. The problem in that bug was that we would never use the DomainCombiner specified in the AccessControlContext passed to the 'doPrivileged' methods, but would instead always set the DomainCombiner to our private, default implementation. This

Re: [cp-patches] Introspector.getBeanInfo(class, int)

2005-09-25 Thread Aaron Luchko
On Mon, 2005-08-29 at 23:44 +0200, Robert Schuster wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Aaron, now that I have PC and internet I found this discussion. Since I am working in the java.beans package for some time I stepped on getBeanInfo(Class, int) before and can

[cp-patches] Patch: javax.sound.midi

2005-09-25 Thread Anthony Green
javax/sound/midi/ShortMessage.java javax/sound/midi/Synthesizer.java javax/sound/midi/MidiSystem.java: New files. javax-sound-midi-20050925.tar.gz Description: application/compressed-tar ___ Classpath-patches mailing list