summaryrefslogtreecommitdiff
path: root/modules/ssh/dist (follow)
Commit message (Expand)AuthorAgeFilesLines
...
| * modules/ssh/dist/node.scm (run-rrepl-server): Bugfix: s/msleep/usleep/Artyom V. Poptsov2015-10-171-1/+1
| * node.scm (node-guile-version): New procedure•••* modules/ssh/dist/node.scm (node-guile-version): New procedure. Artyom V. Poptsov2015-10-171-0/+11
| * node.scm: Improve RREPL autostart procedure•••* modules/ssh/dist/node.scm (run-rrepl-server): New procedure. (node-open-rrepl): Use it. (rrepl-running?): Improve the check in such a way that accessability of a RREPL server is checked, not only its presence. Artyom V. Poptsov2015-10-171-19/+29
| * node.scm (node-open-rrepl): Bugfix: Use the node REPL port•••* modules/ssh/dist/node.scm (node-open-rrepl): Bugfix: Use the specified node REPL port instead of the default port. Artyom V. Poptsov2015-10-171-1/+2
| * Merge branch 'master' into wip-rrepl-autostartArtyom V. Poptsov2015-09-061-6/+48
| |\
| * | node.scm (node-open-rrepl): Start an RREPL automatically•••Start an RREPL automatically if it is not running on the remote side. The user can turn this feature off by means of a new 'start-repl-server?' argument accepted by 'make-node' procedure. The code uses 'pgrep' program to check whether an RREPL is running or not on the node. Sugguested by Ludovic Courtès, in <http://permalink.gmane.org/gmane.lisp.guile.user/11974> * modules/ssh/dist/node.scm (node-open-rrepl): Start an RREPL automatically if there is no RREPL running on the node. (make-node): Accept 'start-repl-server?' keyworded argument that specifies whether an RREPL should be run on the start or not. (rrepl-running?, rexec): New procedures. Artyom V. Poptsov2015-09-051-4/+31
* | | job.scm (hand-out-job): Handle multiple values•••* modules/ssh/dist/job.scm (hand-out-job): Handle multiple values: Return the 1st value if multiple values were returned. * modules/ssh/dist/node.scm (node-eval-1): New procedure. Artyom V. Poptsov2015-09-252-3/+13
| |/ |/|
* | node.scm (rrepl-get-result): Handle multiple values•••* modules/ssh/dist/node.scm (rrepl-get-result): Return a vector of values if an expression was evaluated to multiple values. * doc/api-dist.texi: Update description of 'rrepl-get-result', add examples. * tests/dist.scm ("rrepl-get-result, valid input, multiple values"): New test case. Artyom V. Poptsov2015-09-061-6/+48
* | node.scm (rrepl-get-result): Return # of evaluation as a number•••* modules/ssh/dist/node.scm (rrepl-get-result): Return # of evaluation as a number. * tests/dist.scm ("rrepl-get-result, valid input, result"): Update. Artyom V. Poptsov2015-09-061-1/+1
|/
* node.scm (rrepl-eval): Bugfix: Use 'write' instead of 'write-line'•••The 'rrepl-eval' is always failing to send sexps that contain strings in the proper way because the procedure uses the human-readable printing to transmit the data. As the result an RREPL fails to evaluate it and reports an error. This patch fixes that bug by switching to the machine-readable data printing. Reported by Ludovic Courtès, in <http://permalink.gmane.org/gmane.lisp.guile.user/11974> * modules/ssh/dist/node.scm (rrepl-eval): Bugfix: Use 'write' instead of 'write-line' to send the code for evaluation to a RREPL so it will be machine-readable. Artyom V. Poptsov2015-09-011-1/+2
* node.scm (rrepl-get-result): Fix a bug: Handle evaluation errors•••* modules/ssh/dist/node.scm (rrepl-get-result): Fix a bug: Throw an 'node-repl-error' on an evaluation error instead of returning of an unspecified value. (%repl-error-regexp): New constant. Artyom V. Poptsov2015-09-011-22/+32
* job.scm (job->sexp): Fix the docstring•••* modules/ssh/dist/job.scm (job->sexp): Fix the docstring. * doc/api-dist.texi: Update. Artyom V. Poptsov2015-08-031-1/+1
* tunnel.scm: Use plain SRFI-9 records•••* modules/ssh/dist/job.scm, modules/ssh/dist/node.scm, modules/ssh/tunnel.scm: Use plain SRFI-9 records instead of GNU immutable records to make Guile-SSH work with GNU Guile versions older than 2.0.9 (where immutable records were first introduced). Artyom V. Poptsov2015-08-032-3/+10
* node.scm: Eliminate the need for guile-lib•••* node.scm: Replace 'define-with-docs' calls with plain 'define's to eliminate the need for guile-lib. Artyom V. Poptsov2015-08-021-7/+6
* Makefile.am (guilec_env): Fix the path to libguile-ssh•••* modules/ssh/dist/Makefile.am (guilec_env): Fix the path to libguile-ssh. Artyom V. Poptsov2015-08-011-1/+1
* modules/ssh/Makefile.am (guilec_env): Fix guile load path•••* modules/ssh/Makefile.am (guilec_env): Fix guile load path. * modules/ssh/dist/Makefile.am (guilec_env): Likewise. Artyom V. Poptsov2015-07-281-1/+1
* modules/ssh/Makefile.am (guilec_opts): Fix load path•••* modules/ssh/Makefile.am (guilec_opts): Fix load path. * modules/ssh/dist/Makefile.am (guilec_opts): Likewise. Artyom V. Poptsov2015-07-281-2/+2
* node.scm (rrepl-eval): Update the docstring•••* modules/ssh/dist/node.scm (rrepl-eval): Update the docstring. Artyom V. Poptsov2015-07-281-1/+3
* node.scm (rrepl-get-result): Update the docstring•••* modules/ssh/dist/node.scm (rrepl-get-result): Update the docstring. * doc/api-dist.texi: Update description of 'node-eval' and 'rrepl-eval'. Artyom V. Poptsov2015-07-281-3/+3
* modules/ssh/dist/node.scm: Organize procedures, add commentsArtyom V. Poptsov2015-07-261-6/+12
* node.scm (rrepl-get-result): Use '*unspecified*'•••* modules/ssh/dist/node.scm (rrepl-get-result): Eliminate deprecated uses of 'begin' by means of '*unspecified*' variable. Artyom V. Poptsov2015-07-261-2/+2
* node.scm: Use 'define-with-docs'•••* modules/ssh/dist/node.scm: Use 'define-with-docs' to define global symbols. Artyom V. Poptsov2015-07-261-2/+7
* modules/ssh/dist/node.scm: Export 'rrepl-get-result'Artyom V. Poptsov2015-07-261-1/+2
* modules/ssh/dist/node.scm: Update the module commentaryArtyom V. Poptsov2015-07-261-0/+2
* node.scm (rrepl-get-result): Handle undefined results properly•••* modules/ssh/dist/node.scm (rrepl-get-result): Handle undefined results properly. (rrepl-eval): Evaluate 'newline' after evaluating of the main expression to add a newline after expressions that return no result. Artyom V. Poptsov2015-07-261-14/+31
* node.scm (rrepl-get-result): Parse a language and a module name•••* modules/ssh/dist/node.scm (rrepl-get-result): Parse language and module name, return parsed names as values. Artyom V. Poptsov2015-07-261-4/+6
* modules/ssh/dist/node.scm: Export 'rrepl-skip-to-prompt'Artyom V. Poptsov2015-07-261-1/+2
* modules/ssh/dist/node.scm: Export 'rrepl-eval'Artyom V. Poptsov2015-07-261-1/+2
* node.scm (rrepl-get-result): Read the value•••* modules/ssh/dist/node.scm (rrepl-get-result): Read the value, return the read value instead of a string. All callers updated. (node-eval): Update. Artyom V. Poptsov2015-07-261-5/+5
* node.scm (rrepl-get-result): Change the order of return values•••* modules/ssh/dist/node.scm (rrepl-get-result): Change the order of return values. All callers updated. (node-eval): Update. Artyom V. Poptsov2015-07-261-2/+2
* node.scm (node-open-repl-channel): Rename to 'node-open-rrepl'•••* modules/ssh/dist/node.scm (node-open-repl-channel): Rename to 'node-open-rrepl'. All callers updated. (node-eval): Update. Artyom V. Poptsov2015-07-261-5/+5
* node.scm (rrepl-eval): New procedure•••* modules/ssh/dist/node.scm (rrepl-eval): New procedure. (node-eval): Use it. Artyom V. Poptsov2015-07-261-3/+6
* node.scm (skip-to-prompt, get-result): Rename•••* modules/ssh/dist/node.scm (skip-to-prompt): Rename to 'rrepl-skip-to-prompt'. (get-result): Rename to 'rrepl-get-result'. Artyom V. Poptsov2015-07-261-4/+4
* node.scm (get-result): Return two values•••* modules/ssh/dist/node.scm (get-result): Return two values: the number of evaluation and the evaluation result. All callers updated. (node-eval): Update. Artyom V. Poptsov2015-07-261-5/+9
* ssh/*.scm: Move to 'modules/ssh'•••* ssh/auth.scm, ssh/channel.scm, ssh/dist.scm, ssh/key.scm, ssh/log.scm, ssh/message.scm, ssh/server.scm, ssh/session.scm, ssh/tunnel.scm, ssh/version.scm, ssh/dist/Makefile.am, ssh/dist/job.scm, ssh/dist/node.scm: Move to 'modules/ssh'. * ssh/Makefile.am: Update. * modules/Makefile.am (SUBDIRS): Add 'ssh'. * .gitignore: Ignore *.go files. * configure.ac (AC_CONFIG_FILES): Add 'modules/ssh/dist/Makefile'. Artyom V. Poptsov2015-07-253-0/+373