| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
|
|
| |
* modules/ssh/message.scm (message-auth-methods-set!): New procedure.
(message-auth-set-methods!): Deprecate
* libguile-ssh/message-func.c (guile_ssh_message_auth_set_methods_x): Rename
to 'gssh_message_auth_methods_set_x'.
* tests/client-server.scm, tests/server-client.scm: Update to use new
procedures instead of deprecated ones.
* doc/api-messages.texi, NEWS: Update.
|
| |
|
|
|
| |
* modules/ssh/message.scm (message-reply-success): Use 'message-type' instead
of deprecated procedure.
|
| |
|
|
|
|
|
|
|
|
|
| |
* modules/ssh/message.scm (message-type, message-session): New procedures.
(message-get-type, message-get-session): Deprecate.
* libguile-ssh/message-func.c (guile_ssh_message_get_type): Rename to
'gssh_message_type'.
(guile_ssh_message_get_session): Rename to 'gssh_message_session'.
* examples/ssshd.scm.in: Use new procedures intstead of deprecated ones.
* tests/common.scm: Likewise.
* NEWS: Update.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
* modules/ssh/channel.scm (channel-stream-set!): New procedure.
(channel-set-stream!): Deprecate.
* libguile-ssh/channel-func.c (guile_ssh_channel_set_stream_x): Rename to
'gssh_channel_stream_set_x'.
* doc/api-channels.texi: Update.
* tests/client-server.scm ("channel-stream"): New TC.
|
| |
|
|
|
|
|
|
|
| |
* tests/client-server.scm ("get-public-key-hash"): Rename to
"public-key-hash". Don't use deprecated procedures.
("channel-get-session"): Rename to "channel-session". Don't use deprecated
procedures.
* tests/key.scm ("get-key-type"): Rename to "key-type". Don't use deprecated
procedures.
|
| |
|
|
|
|
|
|
|
|
| |
* modules/ssh/channel.scm (channel-get-stream, channel-get-session):
Deprecate.
(channel-session, channel-stream): New procedures.
* libguile-ssh/channel-func.c (guile_ssh_channel_get_stream): Rename to
'gssh_channel_stream'.
(guile_ssh_channel_get_session): Rename to 'gssh_channel_session'.
* doc/api-channels.texi, NEWS: Update.
|
| |
|
|
|
|
|
|
|
|
| |
* modules/ssh/key.scm (get-key-type, get-public-key-hash): Deprecate.
* libguile-ssh/key-func.c (guile_ssh_key_get_type): Rename to 'gssh_key_type'.
(guile_ssh_get_public_key_hash): Rename to 'gssh_public_key_hash'.
(print_key): Update.
* doc/api-keys.texi: Update.
* NEWS: Update.
* tests/key.scm ("public-key-hash"): New TC.
|
| |
|
|
|
|
| |
* NEWS: Update. Bump version to 0.10.2.
* configure.ac: Update.
* build-aux/compile: Update.
|
| | |
|
| |
|
|
| |
* libguile-ssh/sftp-file-type.c (ptob_close): Add missing 'return' statement.
|
| |
|
|
|
| |
* libguile-ssh/sftp-session-type.c (print_sftp_session): Add missing 'return'
statement.
|
| |
|
|
|
| |
* libguile-ssh/session-func.c (guile_ssh_session_get): Fix warnings:
initialize variables with default values.
|
| |
|
|
|
|
| |
* libguile-ssh/channel-func.c (_ssh_result_to_symbol): Assert that the
argument is one of the libssh valid return codes. Fix warning related to
missed 'return' statement.
|
| |
|
|
|
| |
* libguile-ssh/channel-func.c (guile_ssh_channel_get_stream): Fix a warning
due to missed 'return' statement at the end of non-void procedure.
|
| |
|
|
|
|
|
| |
* configure.ac: Set and substitute 'WARN_CFLAGS'.
* libguile-ssh/Makefile.am (AM_CFLAGS): New variable.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* libguile-ssh/auth.c (guile_ssh_userauth_public_key_x): Remove
'public_key'.
* libguile-ssh/message-func.c (get_auth_req): Remove 'pkey_smob' and
'pkey_data'.
* libguile-ssh/session-type.c (print_session): Remove 'smob_addr'.
* libguile-ssh/sftp-file-type.c (print_sftp_file): Remove 'attr'.
(ptob_flush): Remove 'fd'.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
This is a followup to e490ba5226cedf22eb8f9166b5ac9fb5486c65f8.
* libguile-ssh/server-func.c (set_sym_opt)
(guile_ssh_server_set_x, guile_ssh_server_get): 'const'-qualify 'opt'
and 'sd'.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This procedure merely does I/O without mutating its argument, so it does
not deserve the trailing '!' (similar to Scheme's 'write',
'put-bytevector', etc. procedures).
* libguile-ssh/channel-func.c (gssh_channel_send_eof_x): Rename to...
(gssh_channel_send_eof): ... this. Change Scheme name to
'%channel-send-eof'. Adjust caller.
* modules/ssh/channel.scm (channel-send-eof!): Rename to...
(channel-send-eof): ... this.
* tests/client-server.scm ("channel-send-eof!"): Rename to...
("channel-send-eof"): ... this. Adjust accordingly.
* doc/api-channels.texi (Channel Management): Adjust accordingly.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
| |
|
|
|
|
|
| |
* doc/indices.texi (Procedure Index): New node.
* doc/guile-ssh.texi: Add it to the menu.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
| |
|
|
|
|
| |
* doc/version.texi: Remove.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
| | |
|
| |
|
|
|
|
|
|
| |
* libguile-ssh/key-type.c (key_types): Mark as 'static const'.
(mark_key_smob, free_key_smob, equalp_key): Mark as 'static'.
* libguile-ssh/key-type.h (key_types): Remove declaration.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libguile-ssh/common.h (_ssh_const_to_scm): Const-qualify 'types'
parameter.
(_scm_to_ssh_const): Likewise, and const-qualify return type.
* libguile-ssh/common.c (_ssh_const_to_scm):
(_scm_to_ssh_const): Adjust accordingly.
* libguile-ssh/key-func.c (guile_ssh_string_to_public_key): Adjust
accordingly.
* libguile-ssh/key-type.c (_scm_to_ssh_key_type,
guile_ssh_make_keypair): Likewise.
* libguile-ssh/key-type.h (_scm_to_ssh_key_type): Likewise.
* libguile-ssh/log.c (guile_ssh_write_log)
(guile_ssh_set_log_verbosity_x): Likewise.
* libguile-ssh/session-func.c (set_sym_opt): Likewise.
(guile_ssh_session_set, guile_ssh_session_get): Likewise.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
| |
|
|
|
|
|
| |
* libguile-ssh/key-type.c (key_types): Add entry for
'SSH_KEYTYPE_ED25519'.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
| |
|
|
|
|
|
|
| |
* modules/ssh/channel.scm (channel-send-eof!): New procedure.
* libguile-ssh/channel-func.c (gssh_channel_send_eof_x): New procedure.
* doc/api-channels.texi: Add description of 'channel-send-eof!'.
* tests/client-server.scm ("channel-send-eof!"): New TC.
* doc/version.texi, NEWS: Update.
|
| |
|
|
|
| |
* NEWS: Bump version to 0.10.1.
* configure.ac, doc/version.texi: Update.
|
| | |
|
| |
|
|
|
|
|
|
| |
* configure.ac: Use 'm4_pattern_forbid' for 'GUILE_' macros.
Use 'GUILE_PKG' instead of 'PKG_CHECK_MODULES' to find Guile.
Change default value of 'guilesitedir'.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
* m4/guile.m4, m4/lib-link.m4, m4/lib-ld.m4, m4/lib-prefix.m4: Update
from Guile 2.0.12 and Gettext 0.19.8.
* build-aux/compile, build-aux/config.rpath: New files, imported from
Gettext.
* Makefile.am (EXTRA_DIST): Add them.
* INSTALL: Update.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
* libguile-ssh/session-type.c (free_session): Use shorter argument names.
|
| |
|
|
|
| |
* libguile-ssh/key-type.c, libguile-ssh/message-type.c,
libguile-ssh/server-type.c: Update copyright dates.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The SMOB freeing callbacks would always fail to free any resources due to
mistaken use of 'SCM_SMOB_PREDICATE' procedure -- the procedure doesn't work
in these GC callbacks according to the documentation (see '(guile) Smobs') and
always returns 'false' as the result when used in such context.
The solution is to remove the check 'SCM_SMOB_PREDICATE' and just get the
SMOB's data.
Reported by: David Kastrup <dak@gnu.org>
Reported by: Ludovic Courtès <ludo@gnu.org>
* libguile-ssh/key-type.c, libguile-ssh/message-type.c,
libguile-ssh/server-type.c, libguile-ssh/session-type.c,
libguile-ssh/sftp-session-type.c: Bugfix: Fix SMOB freeing callbacks.
* NEWS: Update.
|
| |
|
|
|
| |
* NEWS: Bump version to 0.10.0.
* configure.ac, doc/version.texi: Likewise.
|
| |
|
|
|
| |
* doc/guile-ssh.texi (Acknowledgments): Update.
* doc/version.texi: Update.
|
| | |
|
| | |
|
| | |
|
| |\ |
|
| | | |
|
| | |
| |
| |
| |
| | |
* tests/key.scm ("string->public-key, RSA, gc test"): New TC.
* tests/session.scm ("%make-session, gc test"): New TC.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
* libguile-ssh/message-type.c (free_message): Bugfix: Check if the smob is
already freed, don't try to free it once more.
* libguile-ssh/server-type.c (free_server): Likewise.
* libguile-ssh/session-type.c (free_session): Likewise.
* libguile-ssh/sftp-session-type.c (free_sftp_session): Likewise.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
* libguile-ssh/key-type.c (free_key_smob): Bugfix: Check if the smob is
already freed, don't try to free it once more.
* tests/common.scm (test-begin-with-log): Set log verbosity to the highest
level by default.
* tests/key.scm: Perform test with logging.
|
| |/ |
|
| | |
|