Peter Vasil | 1 Jun 2011 01:29

Re: error in command handler [bug]?

Hi,

I have the same problem.

sclang: error in command handler when I start the server and the
server statistics are not working.

The strange thing is, this happens only if I build with QT. When I
build SC without QT and then using SwingOSC the problem does not
appear.

Another strange thing is that on another machine everything works fine
with emacs and QT.

Peter

On Thu, Apr 28, 2011 at 7:45 AM, Lucas Samaruga
<samarugalucas@...> wrote:
> sorry, some short cut sent the mail before time.
>
> 2011/4/28 Lucas Samaruga <samarugalucas@...>
>>
>> 2011/4/26 James Harkins <jamshark70@...>
>>>
>>> You know the mode line underneath the post buffer? It shows the same
>>> server statistics that you see in the server GUI window. sclang sends a
>>> string over to Emacs with the information to put on the mode line whenever
>>> it receives a "status.reply" from the server -- this must be the command
>>> that's being handled when you get the error message.
>>>
(Continue reading)

James Harkins | 1 Jun 2011 02:12
Picon

SF.net Git: supercollider branch, master, updated. bcc3b0d8ebde3ddb78fc5299a9c0efba1276de57

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "supercollider".

The branch, master has been updated
       via  bcc3b0d8ebde3ddb78fc5299a9c0efba1276de57 (commit)
      from  b802f482211af324882a8e925286622c869cade6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bcc3b0d8ebde3ddb78fc5299a9c0efba1276de57
Author: James Harkins <jamshark70@...>
Date:   Wed Jun 1 08:05:25 2011 +0800

    Stop "code" formatting for free-standing text in example section

diff --git a/HelpSource/Classes/PlayBuf.schelp b/HelpSource/Classes/PlayBuf.schelp
index 9bd3ee2..57227d5 100644
--- a/HelpSource/Classes/PlayBuf.schelp
+++ b/HelpSource/Classes/PlayBuf.schelp
 <at>  <at>  -56,12 +56,13  <at>  <at>  SynthDef(\help_PlayBuf, {| out = 0, bufnum = 0 |
 		PlayBuf.ar(1, bufnum, BufRateScale.kr(bufnum), doneAction:2)
 	)
 }).play(s, [\out, 0, \bufnum, b]);
+::

-In the above example, note how the doneAction:2 causes the synth to free itself when the buffer reaches its end.
(Continue reading)

James Harkins | 1 Jun 2011 02:38
Picon

build failure on boost/range.hpp

[ 48%] Building CXX object server/supernova/CMakeFiles/libsupernova.dir/server/server.cpp.o
In file included from /home/dlm/share/sc.git/server/supernova/./audio_backend/sndfile_backend.hpp:26,
                 from /home/dlm/share/sc.git/server/supernova/server/nrt_synthesis.hpp:29,
                 from
/home/dlm/share/sc.git/server/supernova/server/server.cpp:28:
/home/dlm/share/sc.git/external_libraries/boost_lockfree/boost/lockfree/ringbuffer.hpp:20:27:
error: boost/range.hpp: No such file or directory
make[2]: *** [server/supernova/CMakeFiles/libsupernova.dir/server/server.cpp.o] Error 1
make[1]: *** [server/supernova/CMakeFiles/libsupernova.dir/all] Error 2
make: *** [all] Error 2

I have pulled, pull --rebased, and submodule updated. Can't build.

Well, I did also "git checkout flowview" and "git merge master" but that shouldn't affect the boost stuff, right?

Or, how do I temporarily disable building supernova? This is not documented in the README. (Are the various
cmake options documented anywhere?)

Not catastrophic -- the binaries from my last successful build are still there. But, I wanted to run a debug
build as Jakob suggested for the qt --> scel issue.

Thanks.
hjh

--
James Harkins /// dewdrop world
jamshark70@...
http://www.dewdrop-world.net

"Come said the Muse,
(Continue reading)

Tim Blechmann | 1 Jun 2011 08:17
Favicon
Gravatar

Re: build failure on boost/range.hpp

> /home/dlm/share/sc.git/external_libraries/boost_lockfree/boost/lockfree/ri
> ngbuffer.hpp:20:27: error: boost/range.hpp: No such file or directory
> make[2]: ***

ah ... shit ... will fix this later ... but in the meanwhile, you can simply 
install libboost-dev ... was trying to modify boost.lockfree to use boost.range 
... didn't finish it, but it seems i forgot to remove the include statement ...

> Or, how do I temporarily disable building supernova? This is not documented
> in the README. 

cmake -DSUPERNOVA=OFF

> (Are the various cmake options documented anywhere?)

there are quite a number of cmake options ... they can be browsed in any cmake 
frontend (ccmake is my favorite) ... `cmake -LH' will print the options to the 
terminal ...

cheers, tim

--

-- 
tim@...
http://tim.klingt.org

Which is more musical, a truck passing by a factory or a truck passing
by a music school?
  John Cage
Tim Blechmann | 1 Jun 2011 10:02
Picon

SF.net Git: supercollider branch, master, updated. 84d5ca3601d9c4966c3739b1a400db30028f7ab5

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "supercollider".

The branch, master has been updated
       via  84d5ca3601d9c4966c3739b1a400db30028f7ab5 (commit)
      from  bcc3b0d8ebde3ddb78fc5299a9c0efba1276de57 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 84d5ca3601d9c4966c3739b1a400db30028f7ab5
Author: Tim Blechmann <tim@...>
Date:   Wed Jun 1 10:00:37 2011 +0200

    external libraries: boost.lockfree fix

    Signed-off-by: Tim Blechmann <tim@...>

diff --git a/external_libraries/boost_lockfree b/external_libraries/boost_lockfree
index 48b9600..0c83778 160000
--- a/external_libraries/boost_lockfree
+++ b/external_libraries/boost_lockfree
 <at>  <at>  -1 +1  <at>  <at> 
-Subproject commit 48b960044983a7e86582fced74126fd1250a73e2
+Subproject commit 0c83778fbff45d427eefd9c7e6d152d47b52a12b
-----------------------------------------------------------------------

(Continue reading)

James Harkins | 1 Jun 2011 11:31
Picon

Re: build failure on boost/range.hpp

At Wed, 1 Jun 2011 08:17:52 +0200,
Tim Blechmann wrote:
> [1  <text/plain; us-ascii (quoted-printable)>]
> > /home/dlm/share/sc.git/external_libraries/boost_lockfree/boost/lockfree/ri
> > ngbuffer.hpp:20:27: error: boost/range.hpp: No such file or directory
> > make[2]: ***
> 
> ah ... shit ... will fix this later ... but in the meanwhile, you can simply 
> install libboost-dev ... was trying to modify boost.lockfree to use boost.range 
> ... didn't finish it, but it seems i forgot to remove the include statement ...

Okay, no hurry, I have a long day of teaching tomorrow and I won't be able to do any dev work until Friday at the
earliest (but realistically, probably not until Saturday).

Thanks also for the recommendations on cmake tools.
hjh

--
James Harkins /// dewdrop world
jamshark70@...
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

(Continue reading)

Julian Rohrhuber | 1 Jun 2011 12:12
Picon
Favicon

Re: OSCProxy question


On 27.05.2011, at 19:29, ronald kuivila wrote:

> PS: I agree that 'clear' is not a good choice. It suggests emptying a container, not removing an element.  It
probably got used because setting the value associated with a key to nil is how you remove something from a dictionary.
> 
> 

Just for clarification: node proxies use "clear" in this sense: emptying a placeholder of its contents and
bringing it into a neutral state. It is borrowed from Dictionary. By contrast, "free" and "release"
comply with the Synth interface (free server side synth).

If OSCProxy is indeed a proxy, and "clear" removes its content, then this term seems correct. The confusion
may be over the fact that it is a proxy, and why, less about the method itself.

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/

Jonatan Liljedahl | 1 Jun 2011 14:34

Re: [PATCH 2/2] SCClassLib: HelpBrowser, use QWebView to select current line

Looks good. Then we should also remove the onkeydown hook in scdoc.js 
that calls selectLine().

But why not do the actual evaluation also in the code below, and remove 
the enterInterpretsSelection stuff? Doesn't feel right that one must 
sync the two key handlers..

/Jonatan

On 06/01/2011 12:54 AM, Jakob Leben wrote:
> Use QWebView.evaluateJavaScript to invoke JS function to select
> the current line before trying to evaluate selection.
> ---
>   SCClassLibrary/Common/GUI/HelpBrowser.sc |    7 +++++++
>   1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/SCClassLibrary/Common/GUI/HelpBrowser.sc b/SCClassLibrary/Common/GUI/HelpBrowser.sc
> index d8e8787..afee645 100644
> --- a/SCClassLibrary/Common/GUI/HelpBrowser.sc
> +++ b/SCClassLibrary/Common/GUI/HelpBrowser.sc
>  <at>  <at>  -193,6 +193,13  <at>  <at>  HelpBrowser {
>   			};
>   		};
>   		webView.enterInterpretsSelection = true;
> +		if (webView.class === \QWebView.asClass) {
> +			webView.keyDownAction = { arg view, char, mods;
> +				if( (char.ascii == 13)&&  (mods.isCtrl || mods.isCmd || mods.isShift) ) {
> +					view.evaluateJavaScript("selectLine()");
> +				};
> +			};
(Continue reading)

ronald kuivila | 1 Jun 2011 14:55

Re: OSCProxy question

Hi Julian and Scott,

(About clear:  Yes, I realized about 'clear' a bit later and said  
something about it.)

  But coming back to this now, I think that there are some fundamental  
inconsistencies in the
analogy between the ResponderProxy's and your proxy classes.

  In particular, what are called Proxy in the Responder library   
correspond to individual UgenFunc's in NodeProxy.
  The Dispatcher is much closer to a Proxy in your sense of the word,  
as it holds a collection of responders.

  My understanding is the basic reason for this separation is to  
permit the user to build up a big collection of responders and
then activate them as needed. Seems like the Dispatcher is the more  
natural place to do this as it allows you to
have a collection responders.  (You wouldn't need to do this for one  
or two responders.)

  So, perhaps the Dispatchers should be renamed ResponderProxy's and  
the ResponderProxy's get some other name
(I guess OSCResponder is taken, so let's say ResponseFunc for the  
moment)

Then the interface would be through the Dispatcher (now called a  
Proxy), it would return a ResponderFunc that you can fiddle with as  
before.  But you can also kill the whole thing through the Dispatcher.

(Continue reading)

Jakob Leben | 1 Jun 2011 15:38
Picon
Gravatar

Re: [PATCH 2/2] SCClassLib: HelpBrowser, use QWebView to select current line

On Wed, Jun 1, 2011 at 2:34 PM, Jonatan Liljedahl <lijon <at> kymatica.com> wrote:
Looks good. Then we should also remove the onkeydown hook in scdoc.js that calls selectLine().

But why not do the actual evaluation also in the code below, and remove the enterInterpretsSelection stuff? Doesn't feel right that one must sync the two key handlers..

I agree, I left the onkeydown JS handler and enterInterpretsSelection only temporarily for compatibility with SCWebView - until SCWebView implements the same behavior.

Gmane