[cp-patches] Patch: midi example program

2005-10-04 Thread Anthony Green
Here's a GUI midi demo for the examples collection. It's just a window with two combo boxes for selecting the MIDI IN and OUT devices. It's handy for debugging. OK? AG 2005-10-04 Anthony Green <[EMAIL PROTECTED]> * examples/gnu/classpath/examples/midi/Demo.java: New file. diff -u

[cp-patches] FYI: BasicFileChooserUI.java API docs

2005-10-04 Thread David Gilbert
I committed this patch: 2005-10-04 David Gilbert <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicFileChooserUI.java: Added API docs all over. Regards, Dave Index: javax/swing/plaf/basic/BasicFileChooserUI.java

[cp-patches] FYI: Patch for swing.text classes partially fixes bug 24192

2005-10-04 Thread Anthony Balkissoon
This is a partial (about half) fix for bug 24192. Actually this fixes all of bug 24192, but all the implementations in "insert" functions still need to be mirrored in the "remove" functions. That will be done tomorrow. The testcase for that bug report now works much better, you can find it at: h

[cp-patches] FYI: JAPI fixes for javax.imageio

2005-10-04 Thread Thomas Fitzsimmons
Hi, I committed these patches that fix some typos and add the resource bundle variants of processWarningOccurred. This should eliminate the JAPI errors in javax.imageio. Tom 2005-10-04 Thomas Fitzsimmons <[EMAIL PROTECTED]> * javax/imageio/ImageWriter.java (processWarningOccu

[cp-patches] FYI: Linking to the OMG Vendor tag list.

2005-10-04 Thread Meskauskas Audrius
2005-10-04 Audrius Meskauskas <[EMAIL PROTECTED]> * doc/www.gnu.org/corba.wml: Link to http://doc.omg.org/vendor-tags. Index: doc/www.gnu.org/corba.wml === RCS file: /cvsroot/classpath/classpath/doc/www.gnu.org/corba.wml,v retrie

[cp-patches] __attribute__ patch (Was: Re: RFC: __attribute__ handling)

2005-10-04 Thread Christian Thalinger
On Tue, 2005-10-04 at 10:01 -0600, Tom Tromey wrote: > > "Twisti" == Christian Thalinger <[EMAIL PROTECTED]> writes: > > >> Why only if !__cplusplus? > > Twisti> Hmm, that seems to be a copy-paste bug. AFAIK a C++ compiler > Twisti> always has the `inline' keyword. It should be removed and

[cp-patches] [generics] Patch: FYI: fix ReferenceQueue problem

2005-10-04 Thread Tom Tromey
I'm checking this in on the generics branch. The generics branch wasn't building for me in Eclipse. This patch fixes the problem, albeit in a somewhat hacky way. Tom 2005-10-04 Tom Tromey <[EMAIL PROTECTED]> * java/lang/ref/Reference.java (nextOnQueue): Changed type. * java/la

[cp-patches] [generics] Patch: FYI: minor japi fix

2005-10-04 Thread Tom Tromey
I'm checking this in on the generics branch. According to japi, these methods are deprecated in 1.5. Tom 2005-10-04 Tom Tromey <[EMAIL PROTECTED]> * java/awt/Dialog.java (show): Now deprecated. (hide): Likewise. Index: java/awt/Dialog.java

Re: [cp-patches] MetalBorder.paintBorder strangeness

2005-10-04 Thread Mark Wielaard
Hi, On Sun, 2005-10-02 at 17:04 +0200, Mark Wielaard wrote: > 2005-10-01 Mark Wielaard <[EMAIL PROTECTED]> > > * javax/swing/plaf/metal/MetalBorders.java (paintBorder): Check > whether Component is JTextComponent. > > Roman, what do you think? On irc Roman said: "it is quite u

Re: [cp-patches] RFC: MetalToolTipUI and BasicToolTipUI

2005-10-04 Thread Lillian Angel
Fixed 2005-10-04 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalToolTipUI.java (paint): Added space around the toolTip's accelerator. (fetchAcceleratorString): Added code to get mnemonic for JMenuItem if it does not have an accelerator. On Tue,

Re: [cp-patches] RFC: MetalToolTipUI and BasicToolTipUI

2005-10-04 Thread Lillian Angel
Fixed 2005-10-04 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalToolTipUI.java (paint): Added space around the toolTip's accelerator. (fetchAcceleratorString): Added code to get mnemonic for JMenuItem if it does not have an accelerator. On Tu

[cp-patches] Patch: dssi control handling

2005-10-04 Thread Anthony Green
DSSI soft-synths can have any number of control inputs (with default values and MIDI controller mappings). For instance, Xsynth has the following controls, each of which should be adjustable from your MIDI keyboard... [OSC1 Pitch] = 4 [OSC1 Waveform] = 0 [OSC1 Pulse Width] = 0.5 [OSC2 Pitch] = 4

Re: [cp-patches] FYI: BoxLayout fixlet

2005-10-04 Thread Mark Wielaard
Hi Roman, On Tue, 2005-10-04 at 16:52 +0200, Roman Kennke wrote: > // Sum up (maxSize - prefSize) over all children > int sumDelta = 0; > for (int i = 0; i < children.length; i++) > - sumDelta += children[i].maximum - children[i].preferred; > + { > +sumDelta += chi

[cp-patches] FYI: DefaultCaret performance fix

2005-10-04 Thread Roman Kennke
Hi, The DefaultCaret blinking has caused alot of overhead via the repainting queue: 1st it always repainted the whole textcomponent (imaging repainting a whole styled text window only for caret blinking), 2nd: it repainted on a setVisible call even if the actual value did not change. Both are fixe

Re: [cp-patches] Re: imageio/ImageReader|Writer check *Listeners

2005-10-04 Thread Andreas Tobler
Thomas Fitzsimmons wrote: I replied to the previous message before seeing this one. Yes, this way is shorter/better. Please commit. Thank you. I committed the attached one. Andreas Index: javax/imageio/ImageReader.java === RC

Re: [cp-patches] RFC: MetalToolTipUI and BasicToolTipUI

2005-10-04 Thread Lillian Angel
I have tested this and the mnemonics are not being shown if the accelerator is null. Also there should be more space around the accelerator in the tooltip. Looks a little crammed. I am working on fixing this. I will let you know how it goes. Lillian On Tue, 2005-10-04 at 15:13 +, David Gilbe

[cp-patches] FYI: Reformatted JTextComponent

2005-10-04 Thread Anthony Balkissoon
Reformatted this file. 2005-10-04 Anthony Balkissoon <[EMAIL PROTECTED]> * javax/swing/text/JTextComponent.java: Reformatted file. --Tony Index: javax/swing/text/JTextComponent.java === RCS file: /cvsroot/classpath/classpa

[cp-patches] FYI: BoxLayout fixlet

2005-10-04 Thread Roman Kennke
There was another issue with the BoxLayout. The SizeRequirements calculateTiledPositions() could overflow during layout calculations, resulting in negative component sizes/positions. This is fixed. 2005-10-04 Roman Kennke <[EMAIL PROTECTED]> Fixes Bug #24080 * javax/swing/SizeRe

Re: [cp-patches] Re: imageio/ImageReader|Writer check *Listeners

2005-10-04 Thread Thomas Fitzsimmons
On Tue, 2005-10-04 at 07:39 +0200, Andreas Tobler wrote: > Andreas Tobler wrote: > > Hi Tom, > > > > Thomas Fitzsimmons wrote: > > > >>> @@ -185,8 +185,10 @@ > >>> { > >>> if (listener == null) > >>> return; > >>> - > >>> -progressListeners.add(listener);+if (progressListe

Re: [cp-patches] RFC: MetalToolTipUI and BasicToolTipUI

2005-10-04 Thread David Gilbert
Lillian Angel wrote: On Tue, 2005-10-04 at 12:39 +, David Gilbert wrote: I decided to implement the missing methods in MetalToolTipUI. As far as I can tell, tooltips for buttons and menu items under the MetalLookAndFeel display the accelerator text in the tooltip, but under the BasicLo

[cp-patches] FYI: Component.getFont fix

2005-10-04 Thread Roman Kennke
I found that Lillian's patch from some time ago regarding Component.getFont was not quite right. Obviously Component.getFont() returns null as long as the component is not made visible. As soon as it gets visible (== gets attached to a peer), getFont() actually returns a (default) font. This font

[cp-patches] Re: imageio/ImageReader|Writer check *Listeners

2005-10-04 Thread Thomas Fitzsimmons
On Tue, 2005-10-04 at 07:06 +0200, Andreas Tobler wrote: > Hi Tom, > > Thomas Fitzsimmons wrote: > > >>@@ -185,8 +185,10 @@ > >> { > >> if (listener == null) > >> return; > >>- > >>-progressListeners.add(listener); > >>+if (progressListeners != null) > >>+ { > >>+ p

Re: [cp-patches] RFC: MetalToolTipUI and BasicToolTipUI

2005-10-04 Thread Lillian Angel
On Tue, 2005-10-04 at 12:39 +, David Gilbert wrote: > I decided to implement the missing methods in MetalToolTipUI. As far as I > can tell, > tooltips for buttons and menu items under the MetalLookAndFeel display the > accelerator text in the tooltip, but under the BasicLookAndFeel they do

[cp-patches] Patch: dssi/alsa JNI cleanup

2005-10-04 Thread Anthony Green
I'm checking in the following cleanup patch to my DSSI and ALSA JNI code. It removes debug output, reformats some code and adds comments. AG 2005-10-04 Anthony Green <[EMAIL PROTECTED]> * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c (process): Add comme

[cp-patches] RFC: MetalToolTipUI and BasicToolTipUI

2005-10-04 Thread David Gilbert
I decided to implement the missing methods in MetalToolTipUI. As far as I can tell, tooltips for buttons and menu items under the MetalLookAndFeel display the accelerator text in the tooltip, but under the BasicLookAndFeel they do not. So the accelerator code in BasicToolTipUI needs moving to