| Commit message (Expand) | Author | Age | Files | Lines |
| ... | |
| * | tests/tunnel.scm ("call-with-ssh-forward"): Wait for 1s before polling•••* tests/tunnel.scm ("call-with-ssh-forward"): Wait for 1s before polling to
prevent errors (yes, that's a dirty hack but it works for me... most of the
time.)
| Artyom V. Poptsov | 2017-04-23 | 1 | -0/+1 |
| * | Merge branch 'master' into ludo-guile2.2 | Artyom V. Poptsov | 2017-04-23 | 6 | -47/+93 |
| |\ |
|
| | * | NEWS: Fix markup a big | Artyom V. Poptsov | 2017-04-23 | 1 | -9/+9 |
| | * | node.scm (rrepl-get-result): Bugfix: Handle compilation errors•••Guile-SSH would always fail to read compilation errors properly because it
considered the message as "undefined" result. Now this bug should be fixed.
An example of an error that now should be handled is "no code for module" due
to using a non-existing module in 'with-ssh' expression.
Reported by Mathieu, in
<https://github.com/artyom-poptsov/guile-ssh/issues/3>
* modules/ssh/dist/node.scm (rrepl-get-result): Bugfix: Do not consider
compilation errors as undefined results.
(rrepl-eval): Call 'exit' on the remote side to ensure that the remote side
closed a channel.
* tests/dist.scm: Improve logging.
("rrepl-get-result, compilation error"): New TC.
* doc/guile-ssh.texi (Acknowledgments): Update.
* AUTHORS, NEWS, THANKS: Update.
| Artyom V. Poptsov | 2017-04-23 | 6 | -47/+93 |
| * | | build: Use $(GUILD) instead of `which guild`.•••* am/guilec (GUILEC): Use $(GUILD).
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2017-04-23 | 1 | -1/+1 |
| * | | libguile-ssh: Adjust port code to Guile 2.2.•••This ports Guile-SSH to the port API found in Guile 2.2.
* libguile-ssh/common.h (USING_GUILE_BEFORE_2_2): New macro.
* libguile-ssh/channel-type.c (channel_tag) [!USING_GUILE_BEFORE_2_2]:
New definition.
(read_from_channel_port, write_to_channel_port): New functions.
(ptob_close): Add #if USING_GUILE_BEFORE_2_2.
(guile_ssh_is_channel_p): Likewise.
(equalp_channel): Condition on USING_GUILE_BEFORE_2_2.
(_scm_from_channel_data): Add #if USING_GUILE_BEFORE_2_2.
(_scm_to_channel_data): Likewise.
(init_channel_type): Likewise.
* libguile-ssh/sftp-file-type.c (sftp_file_tag) [!USING_GUILE_BEFORE_2_2]:
New defintion.
(read_from_sftp_file_port, write_to_sftp_file_port): New functions.
(equalp_sftp_file): Condition on USING_GUILE_BEFORE_2_2.
(print_sftp_file): Use 'scm_port_filename' instead of 'SCM_FILENAME'.
(ptob_flush): Condition on USING_GUILE_BEFORE_2_2.
(ptob_close, ptob_seek): Add #if USING_GUILE_BEFORE_2_2.
(gssh_sftp_file_p): Likewise.
(_scm_to_sftp_file_data, _scm_from_sftp_file): Likewise.
(init_sftp_file_type): Likewise.
* configure.ac: Request "2.2" before "2.0" in 'GUILE_PKG'.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2017-04-23 | 4 | -55/+263 |
| * | | build: Allow VPATH builds.•••This fixes builds where $(builddir) != $(srcdir).
* examples/Makefile.am (.in): Use $(MKDIR_P) to make the target's parent
directories.
* tests/common.scm (%topbuilddir): New variable.
* tests/sssh-ssshd.scm (*ssshd-cmd*, *sssh-cmd*): Use it instead of %TOPDIR.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2017-04-23 | 3 | -2/+5 |
| * | | tests: Use 'inet-ntop' instead of 'inet-ntoa'.•••* tests/sssh-ssshd.scm (*sssh-cmd*): Use 'inet-ntop' instead of the
deprecated 'inet-ntoa'.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2017-04-23 | 1 | -1/+1 |
| * | | libguile-ssh/sftp-file-type.c: Remove 'mark' and 'free' procedures.•••The mark function was unnecessary given that 'sftp_file_data' is
allocated with 'scm_gc_malloc' and thus scanned by the GC. The
free function was already a no-op.
* libguile-ssh/sftp-file-type.c (mark_sftp_file): Remove.
(free_sftp_file): Remove.
(init_sftp_file_type): Remove call to 'scm_set_port_mark' and to
'scm_set_port_free'.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2017-04-23 | 1 | -15/+0 |
| * | | libguile-ssh/sftp-file-type.c (sftp_file_tag): Make 'static'.•••* libguile-ssh/sftp-file-type.c (sftp_file_tag): Make 'static'.
* libguile-ssh/sftp-file-type.h (sftp_file_tag): Remove.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2017-04-23 | 2 | -3/+1 |
| * | | libguile-ssh/channel-type.c: Remove 'mark' and 'free' procedures.•••The mark function was unnecessary given that 'channel_data' is
allocated with 'scm_gc_malloc' and thus scanned by the GC. The
free function was already a no-op.
* libguile-ssh/channel-type.c (mark_channel, free_channel): Remove.
(init_channel_type): Remove call to 'scm_set_port_mark' and to
'scm_set_port_free'.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2017-04-23 | 1 | -15/+0 |
| * | | libguile-ssh/channel-type.c (channel_tag): Make 'static'.•••* libguile-ssh/channel-type.c (channel_tag): Make 'static'
* libguile-ssh/channel-type.h (channel_tag): Remove.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2017-04-23 | 2 | -3/+1 |
| |/ |
|
| * | doc/guile-ssh.texi: Fix a grammar error | Artyom V. Poptsov | 2017-01-06 | 1 | -1/+1 |
| * | tests/server-client.scm ("message-get-type"): Wait for a session•••* tests/server-client.scm ("message-get-type"): Wait for a session to be
connected on the client side.
| Artyom V. Poptsov | 2017-01-04 | 1 | -3/+3 |
| * | error.c (guile_ssh_error1): Print errors to the libssh log•••* libguile-ssh/error.c (guile_ssh_error1): Print errors to the libssh log.
| Artyom V. Poptsov | 2017-01-04 | 1 | -1/+11 |
| * | tests/dist.scm ("with-ssh"): Wait for the client process•••* tests/dist.scm ("with-ssh"): Wait for the client process to read the
response.
| Artyom V. Poptsov | 2017-01-04 | 1 | -2/+2 |
| * | NEWS: Update | Artyom V. Poptsov | 2017-01-04 | 1 | -2/+11 |
| * | node.scm (issue-procps-warning): New procedure•••* modules/ssh/dist/node.scm (issue-procps-warning): New procedure.
(node-server-running?, node-stop-server): Use it.
| Artyom V. Poptsov | 2017-01-04 | 1 | -12/+12 |
| * | tests/shell.scm ("pgrep"): New TC•••* tests/shell.scm ("pgrep"): New test case.
| Artyom V. Poptsov | 2017-01-04 | 1 | -0/+12 |
| * | doc/guile-ssh.texi: Update copyright dates | Artyom V. Poptsov | 2017-01-04 | 1 | -1/+1 |
| * | doc/guile-ssh.texi (Introduction): Fix some typos | Artyom V. Poptsov | 2017-01-04 | 1 | -6/+6 |
| * | guile-ssh.texi (Introduction): Update•••* doc/guile-ssh.texi (Introduction): Replace "language" with "programming
language".
| Artyom V. Poptsov | 2017-01-03 | 1 | -1/+1 |
| * | guile-ssh.texi (Introduction): Describe the goals of the project•••* doc/guile-ssh.texi (Introduction): Describe the goals of this (humble)
project.
| Artyom V. Poptsov | 2017-01-03 | 1 | -0/+37 |
| * | doc/api-dist.texi: Update the note about procps•••* doc/api-dist.texi: Update the note about procps: the module does not strictly
depend on procps anymore.
| Artyom V. Poptsov | 2017-01-03 | 1 | -3/+6 |
| * | doc/api-shell.texi: Add an example for 'loadavg' | Artyom V. Poptsov | 2017-01-03 | 1 | -0/+15 |
| * | dist.scm, node.scm: Update copyright dates•••* modules/ssh/dist.scm, modules/ssh/dist/node.scm: Update copyright dates.
| Artyom V. Poptsov | 2017-01-03 | 2 | -2/+2 |
| * | README (Installation): Add a note about existing packages | Artyom V. Poptsov | 2017-01-03 | 1 | -0/+8 |
| * | README: Update | Artyom V. Poptsov | 2017-01-03 | 1 | -0/+1 |
| * | NEWS: Update | Artyom V. Poptsov | 2017-01-03 | 1 | -0/+4 |
| * | tunnel.scm (main-loop): Handle "interrupted system call" errors•••* modules/ssh/tunnel.scm (main-loop): Handle "interrupted system call" errors.
| Artyom V. Poptsov | 2017-01-03 | 1 | -12/+16 |
| * | .dir-locals.el: Configure 'with-ssh' indent | Artyom V. Poptsov | 2017-01-03 | 1 | -0/+1 |
| * | NEWS: Update | Artyom V. Poptsov | 2017-01-03 | 1 | -0/+17 |
| * | doc/api-shell.texi: Add to the repository•••* doc/api-shell.texi: Add to the repository.
* doc/guile-ssh.texi: Include 'api-shell.texi'.
* doc/Makefile.am (guile_ssh_TEXINFOS): Add 'api-shell.texi'.
| Artyom V. Poptsov | 2017-01-03 | 3 | -0/+87 |
| * | shell.scm: Update module commentary•••* modules/ssh/shell.scm: Update module commentary.
| Artyom V. Poptsov | 2017-01-03 | 1 | -1/+2 |
| * | doc/api-dist.texi: Add description of 'node-loadavg' | Artyom V. Poptsov | 2017-01-03 | 1 | -1/+25 |
| * | tests/shell.scm ("loadavg"): New TC•••* tests/shell.scm ("loadavg"): New TC.
* tests/common.scm (start-server/exec): Handle "loadavg" request.
| Artyom V. Poptsov | 2017-01-02 | 2 | -0/+14 |
| * | tests/shell.scm ("command-available?"): New TC•••* tests/shell.scm ("command-available?"): New TC
| Artyom V. Poptsov | 2017-01-01 | 1 | -0/+8 |
| * | tests/common.scm (start-server/exec): Close output pipe | Artyom V. Poptsov | 2017-01-01 | 1 | -0/+1 |
| * | tests/shell.scm ("fallback-pgrep"): New TC•••* tests/shell.scm ("fallback-pgrep"): New TC.
* tests/common.scm (start-server/exec): Handle 'fallback-pgrep' request.
| Artyom V. Poptsov | 2017-01-01 | 2 | -0/+19 |
| * | tests/shell.scm: Update copyright dates | Artyom V. Poptsov | 2017-01-01 | 1 | -1/+1 |
| * | tests/shell.scm ("which"): New TC•••* tests/shell.scm ("which"): New TC.
* tests/common.scm (start-server/exec): Echo the received command back by
default.
| Artyom V. Poptsov | 2017-01-01 | 2 | -0/+16 |
| * | node.scm (rrepl-skip-to-prompt): Use 'when'•••* modules/ssh/dist/node.scm (rrepl-skip-to-prompt): Use 'when'.
| Artyom V. Poptsov | 2017-01-01 | 1 | -4/+2 |
| * | node.scm (node-loadavg): New procedure•••* modules/ssh/dist.scm (with-ssh): Move to (ssh dist node); re-export the
procedure.
* modules/ssh/dist/node.scm (node-loadavg): New procedure.
| Artyom V. Poptsov | 2017-01-01 | 2 | -9/+33 |
| * | shell.scm (loadavg): New procedure•••* modules/ssh/shell.scm (loadavg): New procedure.
| Artyom V. Poptsov | 2016-12-31 | 1 | -1/+9 |
| * | shell.scm (rexec): Check only for EOF object•••* modules/ssh/shell.scm (rexec): Check only for EOF object.
(eof-or-null?): Remove.
| Artyom V. Poptsov | 2016-12-31 | 1 | -10/+1 |
| * | tests/shell.scm: Add to the repository•••* tests/shell.scm: Add to the repository.
* tests/Makefile.am (SCM_TESTS): Add 'shell.scm'.
| Artyom V. Poptsov | 2016-12-31 | 2 | -0/+66 |
| * | tests/common.scm: (start-server/exec): Send EOF after response•••* tests/common.scm: (start-server/exec): Send EOF after response.
| Artyom V. Poptsov | 2016-12-31 | 1 | -2/+10 |
| * | shell.scm (fallback-pgrep): Add dumb 'full?' option•••* modules/ssh/shell.scm (fallback-pgrep): Add dumb 'full?' option so the
procedure can be used as drop-in replacement to 'pgrep' where full search is
performed (e.g. in (ssh dist node)).
* modules/ssh/dist/node.scm (node-server-running?): Update.
| Artyom V. Poptsov | 2016-12-25 | 2 | -10/+5 |
| * | shell.scm: Add/update docstrings•••* modules/ssh/shell.scm (pgrep): Update the docstring.
(pkill, fallback-pkill): Add docstrings.
| Artyom V. Poptsov | 2016-12-25 | 1 | -2/+13 |
| * | shell.scm (fallback-pkill): Use 'fallback-pkill'•••* modules/ssh/shell.scm (fallback-pkill): Use 'fallback-pkill'.
(fallback-pgrep): Return PIDs as the 1st value.
| Artyom V. Poptsov | 2016-12-25 | 1 | -11/+12 |