New release: v1.26

Discussion and support for general JUCE issues

New release: v1.26

Postby jules » Mon Feb 20, 2006 1:47 pm

Hi folks.. V1.26 is up there for your enjoyment now..

Main addition to this one is Linux audio support, but I've also done some heavy rewriting of the windowing code.

* Linux audio support using ALSA! This is a first stab at an implementation, so I've only had chance to try it on one soundcard - linux audio experts, please let me know what I've done wrong!
* Restructured the way components are housed in windows, getting rid of NativeDesktopWindow and instead having a ComponentPeer base class, of which there may be more than one implementation. (This won't make any difference to most people, only power-users)
* Graphics contexts now work with a RectangleList as their clip region, instead of just a single rectangle
* added some methods to Desktop to access a list of top-level desktop components
* fixes and improvements to TextEditor, improving its handling of word-wrapping
* added a QuickTime page and an audio input monitor to the demo app.
User avatar
jules
Fearless Leader
 
Posts: 17209
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Postby kraken » Mon Feb 20, 2006 2:28 pm

gr8 jules ! now my linux box can emit soundburst !!!
a thing i would like to ask you... is possible to move the DropShadower creation for the windows inside the look and feel class ? cause i think the default shadows are too big and i like to have'em but with different parameter (something like DropShadower(0.65f, 0, 2, 2) )... but every time you release a new one i have to search and replace for the old Dropshadower lines (and now you're using in 2 places) and replace with mine... not a worry but just to make clear that would be useful to let the look and feel manage if the dropshadow is in there and what parameter it have...

cheerz !
Image
User avatar
kraken
JUCE UberWeenie
 
Posts: 1063
Joined: Wed Feb 09, 2005 10:31 am
Location: Venice, Italy

Postby kraken » Mon Feb 20, 2006 2:35 pm

i think you should refactor the Audio Wrappers cause you get rid of the native desktop window class...
Image
User avatar
kraken
JUCE UberWeenie
 
Posts: 1063
Joined: Wed Feb 09, 2005 10:31 am
Location: Venice, Italy

Postby NiallM » Mon Feb 20, 2006 2:58 pm

jules wrote:Linux audio support using ALSA! This is a first stab at an implementation, so I've only had chance to try it on one soundcard - linux audio experts, please let me know what I've done wrong!

Works great on my machine here at uni :D. Now, if only JUCE had JACK support... :twisted:

- Niall.
NiallM
JUCE UberWeenie
 
Posts: 182
Joined: Mon Sep 06, 2004 10:28 am
Location: Scotland

Postby jules » Mon Feb 20, 2006 3:06 pm

kraken wrote:gr8 jules ! now my linux box can emit soundburst !!!
a thing i would like to ask you... is possible to move the DropShadower creation for the windows inside the look and feel class ? cause i think the default shadows are too big and i like to have'em but with different parameter (something like DropShadower(0.65f, 0, 2, 2) )... but every time you release a new one i have to search and replace for the old Dropshadower lines (and now you're using in 2 places) and replace with mine... not a worry but just to make clear that would be useful to let the look and feel manage if the dropshadow is in there and what parameter it have...

cheerz !


yes - that's a fair request, I can do that.
User avatar
jules
Fearless Leader
 
Posts: 17209
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Postby jules » Mon Feb 20, 2006 3:19 pm

kraken wrote:i think you should refactor the Audio Wrappers cause you get rid of the native desktop window class...


ah yes, sorry, bit of a delay uploading the new plugin wrapper code. It's there now.
User avatar
jules
Fearless Leader
 
Posts: 17209
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Postby kraken » Mon Feb 20, 2006 3:34 pm

gr8 ;) you always shout me up :D
Image
User avatar
kraken
JUCE UberWeenie
 
Posts: 1063
Joined: Wed Feb 09, 2005 10:31 am
Location: Venice, Italy

Postby matt » Tue Feb 21, 2006 3:04 am

Thanks for resolving my issue with drawHorizontalLine! Much appreciated.

Matt
matt
JUCE UberWeenie
 
Posts: 197
Joined: Tue Jun 28, 2005 6:26 pm
Location: Santa Barbara, California, USA

Postby ambrosea » Tue Feb 21, 2006 9:40 am

It would nice if you could put up the history for the JuceAudioPlugin, because outside delving into the code or looking at this thread, I wouldn't immediatedly know what's been changed.

Dextrus.
ambrosea
JUCE Geek
 
Posts: 23
Joined: Fri May 20, 2005 6:04 pm

Postby FigBug » Tue Mar 07, 2006 1:46 am

In 1.26, DialogWindow::setContentComponent() with resizeToFit set to false, the contentcomponent should be resized to fix the DialogWindow, but it isn't. So dialogs that used to work 1.25 now show up empty.

Or am I doin something silly?
FigBug
JUCE Weenie
 
Posts: 11
Joined: Tue Aug 02, 2005 9:39 pm

Postby jules » Tue Mar 07, 2006 10:15 am

FigBug wrote:In 1.26, DialogWindow::setContentComponent() with resizeToFit set to false, the contentcomponent should be resized to fix the DialogWindow, but it isn't. So dialogs that used to work 1.25 now show up empty.

Or am I doin something silly?


I'd guess you're doing something silly - that method's used in the juce demo, and lots of other places.
User avatar
jules
Fearless Leader
 
Posts: 17209
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Re: New release: v1.26

Postby Karbon L. Forms » Tue Mar 07, 2006 10:48 am

jules wrote: * added a QuickTime page and an audio input monitor to the demo app.


no you ave not! :wink:

not the direct download exe anyway.
.................................
"Hell is other People" J.P.Sartre
.................................
Karbon L. Forms
JUCE UberWeenie
 
Posts: 368
Joined: Sat Sep 04, 2004 8:16 am
Location: Aberdeen, Scotland

Re: New release: v1.26

Postby jules » Tue Mar 07, 2006 1:20 pm

Karbon L. Forms wrote:
jules wrote: * added a QuickTime page and an audio input monitor to the demo app.


no you ave not! :wink:

not the direct download exe anyway.


yeah, I know. I forgot to build it into the windows version. It's there if you build it yourself though. Will do a new one soon when I post the next version.
User avatar
jules
Fearless Leader
 
Posts: 17209
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Postby FigBug » Tue Mar 07, 2006 6:43 pm

jules wrote:
FigBug wrote:In 1.26, DialogWindow::setContentComponent() with resizeToFit set to false, the contentcomponent should be resized to fix the DialogWindow, but it isn't. So dialogs that used to work 1.25 now show up empty.

Or am I doin something silly?


I'd guess you're doing something silly - that method's used in the juce demo, and lots of other places.


I figured out what is going on. Something changed in the SimpleListBox between 1.25 and 1.26, and now updateContent() must be called after creating the list box before anything will show up.
FigBug
JUCE Weenie
 
Posts: 11
Joined: Tue Aug 02, 2005 9:39 pm


Return to General JUCE discussion

Who is online

Users browsing this forum: Google Feedfetcher and 1 guest