[cp-patches] FYI: DSSI run_multiple_synths patch

2005-10-07 Thread Anthony Green
DSSI soft-synths may provide run_synth or run_multiple_synths functions. I was only handling the run_synth case before, so some soft-synths failed to run (like the hexter DX7 clone). This patch adds support for the alternate method. I'm checking it in. 2005-10-07 Anthony Green <[EMAIL PROTECT

[cp-patches] FYI: Connect DSSI synths to Jack automatically

2005-10-07 Thread Anthony Green
I've always connected the synth output to the h/w audio ports manually with qjackctl. This patch makes the synths attempt to hook themselves automatically. I'm checking it in. 2005-10-07 Anthony Green <[EMAIL PROTECTED]> * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesize

[cp-patches] FYI: DSSISynthesizer.loadInstrument implementation

2005-10-07 Thread Anthony Green
My last patch let us query the list of Instruments supported by a DSSISynthesizer. This patch implements the Synthesizer's loadInstrument method, so we can select non-default soft-synth patches. I'm checking it in. Here are some more random sounds made after loading an alternate Instrument into

[cp-patches] FYI: fix deadlock in GtkChoicePeer

2005-10-07 Thread Thomas Fitzsimmons
Hi, Anthony's MIDI demo exposed a deadlock in the GTK peers. This patch fixes it by making sure that the selection callback doesn't call back into the peers again. Tom 2005-10-07 Thomas Fitzsimmons <[EMAIL PROTECTED]> * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postChoiceItemEvent):

[cp-patches] RFA: Fix LineInputStream (PR classpath/24259)

2005-10-07 Thread David Daney
This patch corrects the run-away buffering condition documented in the PR by limiting the maximum buffer size. In addition buffering is disabled if the underlying stream is a BufferedInputStream. Because in this case the redundant buffering causes more memory and CPU resources to be used to allo

[cp-patches] FYI: DSSI Soundbank support

2005-10-07 Thread Anthony Green
This patch adds the start of Soundbank support to the DSSI provider, so you can query the list of Instruments provided by the soft-synth using the standard interfaces. I'm checking it in. AG 2005-10-07 Anthony Green <[EMAIL PROTECTED]> * gnu/javax/sound/midi/dssi/DSSISynthesizer.java

[cp-patches] FYI: JTable fix

2005-10-07 Thread Roman Kennke
I added a revalidate to JTable in the case that the table structure changes (columns/rows added/removed). This is necessary, since such an operation changes the size parameters of the JTable. It makes JTable behave more nicely in JScrollPane in an app I have here. 2005-10-07 Roman Kennke <[EMAIL

[cp-patches] FYI: IndexedPropertyDescriptor additions

2005-10-07 Thread Roman Kennke
I added two missing methods to java.beans.IndexedPropertyDescriptor: 2005-10-07 Roman Kennke <[EMAIL PROTECTED]> * java/beans/IndexedPropertyDescriptor.java (setIndexedReadMethod): New method. (setIndexedWriteMethod): New method. /Roman Index: java/beans/IndexedPropert

[cp-patches] FYI: IndexedPropertyDescriptor reformatted

2005-10-07 Thread Roman Kennke
In preparation of my additions to java.beans.IndexedPropertyDescriptor, I reformatted this awfully formatted class. 2005-10-07 Roman Kennke <[EMAIL PROTECTED]> * java/beans/IndexedPropertyDescriptor.java: Reformatted. /Roman Index: java/beans/IndexedPropertyDescriptor.java ===

Re: [cp-patches] RFC: setting of TreeCellRenderer

2005-10-07 Thread Roman Kennke
Am Freitag, den 07.10.2005, 13:39 +0200 schrieb Jan Röhrich: > This patch moves the setting of the TreeCellRenderer from JTree to its > BasicTreeUI. This helps to set custom renderers in custom TreeUIs. > > Sun's JDKs seem to have the same behavior. That's correct. Please commit. /Roman signa

[cp-patches] RFC: setting of TreeCellRenderer

2005-10-07 Thread Jan Röhrich
This patch moves the setting of the TreeCellRenderer from JTree to its BasicTreeUI. This helps to set custom renderers in custom TreeUIs. Sun's JDKs seem to have the same behavior. I tested this with jamvm and gnu.classpath.examples.swing.Demo and it seems to work but there may be some side effec

[cp-patches] FYI: Some button fixes

2005-10-07 Thread Roman Kennke
This basically fixes disabled buttons, disabled button icons and related things. 2005-10-07 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicButtonUI.java (currentIcon): Fix icon for disabled selected buttons. (paint): Only paint focus indicator if button i

[cp-patches] FYI: JComponent fixes

2005-10-07 Thread Roman Kennke
Hi, I fixed some things in JComponent. Most importantly I added some support for AncestorEvents. 2005-10-07 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/JComponent.java (paint): Call paintBorder before paintChildren. (reshape): Fire AncestorEvent if position has chang

[cp-patches] FYI: BorderFactory fixlet

2005-10-07 Thread Roman Kennke
The method createLineBorder(Color) used to return null. I fixed this by forwarding it to createLineBorder(Color, int) with a thickness of 1. 2005-10-07 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/BorderFactory.java (createLineBorder(Color)): Forward call to createLine

Re: [cp-patches] [RFC] XML - fix for XMLParser's URL problem

2005-10-07 Thread Chris Burdess
Robert Schuster wrote: here is probably a fix for PR classpath/24249 [0]. 2005-10-07 Robert Schuster <[EMAIL PROTECTED]> * gnu/xml/aelfred2/SAXDriver.java: (absolutize): Replaced URL.toString() with explicit calls to build a new URL. * gnu/xml/dom/ls/DomLSParser.java: (get

Re: [cp-patches] Patch: FYI: fix SetOfIntegerSyntax

2005-10-07 Thread Wolfgang Baer
Tom Tromey wrote: "Wolfgang" == Wolfgang Baer <[EMAIL PROTECTED]> writes: Wolfgang> So if you intend to work more on the javax.print package Wolfgang> please contact me so we do not duplicate work. Nope, I'm not. I only did this since I ran across it while looking at japi. I'm sorry if I st