Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sclang and server recover more gracefully #2453

Merged

Conversation

telephon
Copy link
Member

This commit (just the last of this branch) is based on the branch for #2422. It is a first attempt at making a more graceful restart of the sclang interpreter after a crash.

This fixes #2397.

This commit fixes the display of the recording time in the IDE gui. It
also adds a hook to the pause and resume recording functions.
For the server GUI window, the SimpleController should take the view as
dependant.
This is symmetric to `register`.
Stethoscope calls `serverTree` already.
- a minor API change: the methods called on Volume are adopted to
standard usage: numChans (deprecated) is now numChannels.

- refactoring of the code, use method instead of function for update.
This is a rather large refactoring, but because of its
interdependencies is hard to dissect into pieces.

– move functionality between Server and NetAddr
- simplify Buffer allocation methods
- unify code formatting
- move recording functionality to recorder class
- moves recording defaults to ServerOptions
- makes hack unnecessary for reserved recording buffers
- print more informative messages
- deprecates the `set_` class method (replaced by `all_` already long
ago).
The server model checks before boot if it can reach its address. If
this works, it quits the server app first, so that it doesn’t run into
duplicate clientIDs. This allows us to recover better when sclang has
crashed and couldn’t release its server notification id and its shared
memory.
@crucialfelix crucialfelix modified the milestone: 3.9 Nov 4, 2016
@nhthn nhthn added the comp: class library SC class library label Dec 2, 2016
@adcxyz adcxyz merged commit 50f2499 into supercollider:master Dec 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: class library SC class library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants