Commit graph

47 commits

Author SHA1 Message Date
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 a20081f26a scel: initial support for SCDoc help browser
this patch introduces two new key bindings:
C-c C-y: open help browser via Help.gui
C-c h:   open help browser for a specific topic

the old help browser is still available via C-c C-h and can be used to
display pre-rendered help files.

Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-10-01 11:33:24 +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
Jakob Leben 65b6928a97 scel: keep command fifo alive for the lifetime of sclang
When sclang recompiled the class library, it would close its writing
end of the fifo, which in turn would trigger fifo deletion in scel.

This starts a dummy cat process with output redirected to the fifo,
so as to keep the fifo open as long as we desire.
2011-09-25 18:23:29 +02:00
Tim Blechmann d91e92f53f scel: shutdown library before class library recompilation
Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-09-20 14:44:37 +02:00
Tim Blechmann b64f936a3e scel: use xdg-compliant paths
Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-09-20 14:44:37 +02:00
Tim Blechmann c66a01f782 scel: one more bytecode compilation fix
Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-07-23 16:27:17 +02:00
Tim Blechmann ac41f5ed3e scel: bytecompilation fix
Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-07-23 16:25:46 +02:00
Tim Blechmann 83d0d94a1a scel: bytecompile fix, correct use of defvar and defconst and add requirements
Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-07-22 20:35:00 +02:00
Tim Blechmann 5aa9b34534 scel: work around some warnings and avoid some deprecated functions
Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-07-19 12:32:48 +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
Dan Stowell fe8524e1f9 Improve format of copyright/GPL notices (issue raised in debian pkging)
Similar to commit dc73e034cfafd in 3.4 branch
2011-06-14 10:48:37 +01:00
Stuart Popejoy d46a9661ab modified sclang-eval-document to save-excursion to avoid clobbering point 2011-06-09 18:28:07 +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
Jakob Leben 3403008185 scel: cmake, simplify and fix for windows 2011-03-18 23:25:59 +01:00
Tim Blechmann 0985d6a202 cmake build system: copy all *el files to build directory
this ensures a correct elisp bytecode compilation

Signed-off-by: Tim Blechmann <tim@klingt.org>
2010-11-16 20:11:54 +01:00
Tim Blechmann 99ff5e5747 cmake: scel build fix
Signed-off-by: Tim Blechmann <tim@klingt.org>
2010-11-09 12:58:10 +01:00
andersvi a6eaaa5857 adjusting buffer-showing to version of display-buffer in emacs 23.
Setting split-width-threshold to nil inhibits horizontal splitting and
gets you the behavior of Emacs 22 in this respect.


git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@10274 a380766d-ff14-0410-b294-a243070f3f08
2010-08-28 13:00:25 +00: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
andersvi f2476c981c allowing .htm together with .html endings in pred.
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@10227 a380766d-ff14-0410-b294-a243070f3f08
2010-08-03 21:12:24 +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
Marije Baalman 4bff94c0cc committed ide platform switch for emacs/scel, and added the evaluate document shortcut
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9398 a380766d-ff14-0410-b294-a243070f3f08
2009-09-12 15:11:18 +00:00
andersvi b205ca9ca3 Fixed errors when hitting 'emacs -sclang' etc. with later emacsen.
Updated switches to include hyphen.  These switches seem to work with
v.22 (possibly because the get treated as longopts?)


git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9388 a380766d-ff14-0410-b294-a243070f3f08
2009-09-09 12:02:59 +00:00
andersvi 64a225a654 make temporary rtf-buffers writable for converting with (erase-buffer)
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9366 a380766d-ff14-0410-b294-a243070f3f08
2009-08-26 11:45:15 +00:00
Marije Baalman bda2562b10 update the evaluate region shortcut in the minor modes to be the same as in the major mode
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9125 a380766d-ff14-0410-b294-a243070f3f08
2009-04-27 16:50:00 +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 03c461eb75 small fix for dev support shortcut
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9038 a380766d-ff14-0410-b294-a243070f3f08
2009-04-09 21:06:20 +00:00
Marije Baalman c18dbb6efe added scel function for shortcut to open source file at development location
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9037 a380766d-ff14-0410-b294-a243070f3f08
2009-04-09 20:53:47 +00:00
andersvi 93812f18a3 removed duplicate code vs. w3m-filters etc.,
corrected faulty arguments several places: ie. 'file-name in
lambda-list and 'file in code


git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@8943 a380766d-ff14-0410-b294-a243070f3f08
2009-03-17 09:29:15 +00:00
andersvi 89784e1ee8 'unescaped' caret (removed backslash) character in syntax-table to not
break compilation in emacs v.23.

(string (char-syntax ?\^)) -> breaks in v. 22 as well, however
mofify-syntax-entry accepts it...


git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@8942 a380766d-ff14-0410-b294-a243070f3f08
2009-03-17 09:26:52 +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
andersvi e2897e6cdd modified clang-point-in-defun-p to allow positioning on the beginning
paren and immediately after the end-paren of a block


git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@8884 a380766d-ff14-0410-b294-a243070f3f08
2009-03-06 10:09:50 +00:00
Marije Baalman 34a4a5222b added sclang-dump-full-interface and changed sclang-dump-interface, added shortcut for the latter, change sclang-eval-region shortcut to C-c C-d, which is less likely to accidentally quit emacs
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@8492 a380766d-ff14-0410-b294-a243070f3f08
2009-01-11 17:05:43 +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