Commit graph

33 commits

Author SHA1 Message Date
Mario Lang 6c74020a10 Allow serialisation of SCDocNode trees to Emacs Lisp 2019-12-15 08:02:03 +01:00
Nathan Ho e4df2cdff5 scel: remove reference to OSCresponderNode
This commit removes a reference to OSCresponderNode in the Emacs class.

For #2870.
2017-05-07 12:05:28 -07:00
Chris Sattinger 820c3b3cd4 scel: fix serverRunning, avgCPU, peakCPU etc. (#2036)
bug with scide_scel
2016-05-07 17:12:04 +02:00
simdax a88cc8b318 add "this." for serverRunning, avgCPU, peakCPU etc. 2016-05-07 16:19:27 +02:00
crucialfelix 881b34bf41 use "Walk Like and Egyptian" aka K&R braces for all class definitions
Sublime Text syntax grammar does not do multi-line matching,
so all editors that use this (including Atom and its symbol matching)
cannot detect classes defined as

    MyClass
    {

    }

This also makes all classes in the class lib consistent in style which is nice
for everybody.
2015-11-07 12:50:24 +01:00
Scott Wilson 6af534a0fb scide + lang: Remove Document redirect
This merges the Document and ScIDEDocument classes. This should improve readability and maintainability, and simplifies the implementation. As part of this:

- some duplicate methods are deprecated
- the previous Document has been copied into the scel folder to avoid breaking EmacsDocument

Signed-off-by: Scott Wilson <i@scottwilson.ca>
2013-11-12 14:37:49 +00:00
James Harkins 683930cd9b Bonehead: If you plan to escape \, do it FIRST before escaping anything else
This fixes an "Error in command handler" in emacs
2011-12-20 09:34:23 +08:00
James Harkins 486e4709c5 Fix bug with ScelDocument string_ : backslashes needed to be escaped 2011-12-17 09:19:48 +08:00
Tim Blechmann 5b399b4293 editors: avoid IDE-specific overwrites by introducing IDE actions
scel currently uses method overwrites to control the IDE gui. this can be
avoided by using actions, which can be set in order to override the default
behavior

Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-12-09 19:43:37 +01:00
Tim Blechmann 1569625efa editors: scel - move code from el to sc to avoid method overwrite
we can simply call the library shutdown handler from within emacs to avoid
a method overwrite.

Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-12-08 19:46:51 +01:00
Tim Blechmann 08cbc64f3a class library: deprecate UI.registerForShutdown
UI.registerForShutdown has the same semantics as ShutDown.add. we only
need one functionality like this, so this patch deprecates it.

Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-12-07 11:30:07 +01:00
Tim Blechmann 3e5cf00140 scel: avoid temporary file for symbol table
the symbol table can simply be passed via the command fifo, there is no
need for using a temporary file.

Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-10-10 21:00:39 +02:00
Tim Blechmann 4597ee238c scel: improved guessing of help topics
use `find' and avoid asRelativePath and removeExtension as suggested by
Jonatan Liljedahl.

Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-10-02 13:23:06 +02:00
Tim Blechmann 1f339518ab scel: speedup indexing of help topics
instead of asking SCDoc to index all help topics, we guess the topics
by matching schelp paths

Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-10-02 12:28:26 +02:00
Tim Blechmann fef0729223 scel: improvements to the scdoc integration
Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-10-01 18:35:53 +02:00
Tim Blechmann 7c8c5fe535 scel: cleanup of class library recompilation
Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-09-28 14:02:50 +02:00
Tim Blechmann 1d117b4997 scel: initClass fix
AbstractResponderProxy has been renamed to AbstractResponderFunc

Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-07-10 17:19:27 +02:00
Tim Blechmann 6726ce6618 scel: use in-process library recompilation
scel is modified to support in-process library recompilation. the key
binding has slightly been changed:
C-c C-l - recompile the library
C-c C-o - restart the interpreter

Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-06-27 21:50:03 +02:00
Scott Wilson fb35291e50 Bugfix for Emacs and OSCProxy
Signed-off-by: Scott Wilson <i@scottwilson.ca>
2011-04-29 10:56:17 +01:00
James Harkins 19bc278850 Fix nowExecutingPath bug in scel
Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-04-03 12:06:44 +02:00
Tim Blechmann 3c21a65e4c basic cmake-based build system:
this patch implements a cmake-based build system for supercollider. it
currently builds:

- sclang and scsynth on linux
- plugins on linux and osx
- scel

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

git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@10240 a380766d-ff14-0410-b294-a243070f3f08
2010-08-10 21:40:54 +00:00
Marije Baalman 6e840831b6 moving some things from platform specific to ide specific for emacs-scel
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9517 a380766d-ff14-0410-b294-a243070f3f08
2009-11-14 20:22:31 +00:00
Tim Blechmann d1639c1cbb remove trailing whitespaces
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9417 a380766d-ff14-0410-b294-a243070f3f08
2009-09-26 06:17:48 +00:00
Dan Stowell 6be16de284 Update address of Free Software Foundation (debian source-checking tools produce warnings about this).
Also putting slightly more explicit copyright attribution in some files (for similar reason).


git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9082 a380766d-ff14-0410-b294-a243070f3f08
2009-04-20 08:38:27 +00:00
Marije Baalman 0f83b8132a sclang side of dev support
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9039 a380766d-ff14-0410-b294-a243070f3f08
2009-04-09 21:09:47 +00:00
Marije Baalman b9cb95e93f committed the patch for Emacs number box size as submitted by Olaf, aka sh0099
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@8920 a380766d-ff14-0410-b294-a243070f3f08
2009-03-12 23:06:06 +00:00
Marije Baalman 4827c1a6ca fix to ScelDocument for current, in case there is no current document, as is the case when evaluating code from the minibuffer
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@8916 a380766d-ff14-0410-b294-a243070f3f08
2009-03-12 17:28:36 +00:00
Marije Baalman 6e20ea7b5f fixed postColor (class method) and added some text retrieval functions from document. including a informative message that the result has to be retrieved from .currentString
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@8491 a380766d-ff14-0410-b294-a243070f3f08
2009-01-11 17:03:39 +00:00
Batuhan Bozkurt b1416b5330 Added .postColor_ method to Document that changes the pen color for printing to post window.
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@8482 a380766d-ff14-0410-b294-a243070f3f08
2009-01-10 03:07:48 +00:00
Marije Baalman 90806c7ab3 added another shortcut for the sclang-complete-symbol (the old one conflicts with some windowmanagers) and added an entry for the function to the menu
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@8453 a380766d-ff14-0410-b294-a243070f3f08
2009-01-08 06:18:51 +00:00
Marije Baalman fd5746882d emacs side of commit 8389
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@8392 a380766d-ff14-0410-b294-a243070f3f08
2009-01-03 18:37:22 +00:00
Marije Baalman d9ddd4aa6a cleaned up openHelpFile for Class and emacs extensions
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@8372 a380766d-ff14-0410-b294-a243070f3f08
2009-01-02 21:26:42 +00:00
Marije Baalman 89fba7d169 move scel to editors
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@8370 a380766d-ff14-0410-b294-a243070f3f08
2009-01-02 19:06:25 +00:00