summaryrefslogtreecommitdiff
path: root/ChangeLog (follow)
Commit message (Expand)AuthorAgeFilesLines
...
| * tests/client-server.scm (run-server-and-client): New procedure•••* tests/client-server.scm (run-server-and-client): New procedure. ("connect!, disconnect!") ("get-protocol-version", "authenticate-server, not-known") ("authenticate-server, ok", "get-public-key-hash") ("userauth-none!, success", "userauth-none!, denied") ("userauth-none!, partial", "userauth-password!, success") ("userauth-password!, denied", "userauth-password!, partial") ("userauth-public-key!, success", "userauth-get-list") ("make-channel", "channel-get-session", "channel-open-session") ("channel-request-exec", "data transferring, string") ("data transferring, bytevector"): Use it. Artyom V. Poptsov2014-09-141-0/+11
| * tests/client-server.scm: Use `dynamic-wind'•••* tests/client-server.scm: Use `dynamic-wind' for child processes in tests. Artyom V. Poptsov2014-09-141-0/+5
| * NEWS: Bump version to 0.7.0v0.7.0Artyom V. Poptsov2014-08-311-0/+3
| * README (Distribution): UpdateArtyom V. Poptsov2014-08-311-0/+4
| * doc/api-keys.texi (Keys): Improve description of `public-key?'•••* doc/api-keys.texi (Keys): Make description of `public-key?' more accurate. * ssh/key-type.c (guile_ssh_is_public_key_p): Update docstring. Artyom V. Poptsov2014-08-301-0/+6
| * ssh/key-func.c (guile_ssh_string_to_public_key): Fix a bug•••* ssh/key-func.c (guile_ssh_string_to_public_key): Fix a bug: Call `scm_dynwind_end' at the end of the procedure so call to the procedure won't lead to segfaults. * tests/key.scm ("public-key->string"): Improve. ("string->public-key"): New TC. Artyom V. Poptsov2014-08-261-0/+6
| * tests/key.scm ("public-key->string"): New TCArtyom V. Poptsov2014-08-261-0/+1
| * tests/key.scm ("public-key?"): Improve TCArtyom V. Poptsov2014-08-261-0/+2
| * ssh/key-type.c (print_key): Use `_private_key_p'•••* ssh/key-type.c (print_key): Use `_private_key_p' predicate to determite type of the key so private key will be displayed as "private", not "public". Artyom V. Poptsov2014-08-261-0/+6
| * TODO: UpdateArtyom V. Poptsov2014-08-231-0/+4
| * tests/Makefile.am (CLEANFILES): Update•••* tests/Makefile.am (CLEANFILES): Add `server-client-errors.log' and `server-client-libssh.log'. Artyom V. Poptsov2014-08-221-0/+3
| * tests/client-server.scm (%knownhosts): Use `abs_top_builddir'•••* tests/client-server.scm (%knownhosts): Use `abs_top_builddir' instead of `abs_top_srcdir' to fix the permission issue on `make distcheck' during tests. * tests/Makefile.am (AM_TESTS_ENVIRONMENT): Export `abs_top_builddir'. Artyom V. Poptsov2014-08-221-0/+7
| * ssh/message.scm (message-get-session): New procedure•••* ssh/message.scm (message-get-session): New procedure. * ssh/message-func.c (guile_ssh_message_get_session): New procedure. * ssh/message-func.h: Likewise. * tests/server-client.scm ("message-get-session"): New TC. * doc/api-messages.texi (Message Handling): Add description of `message-get-session' * doc/version.texi: Update. * NEWS: Update. Artyom V. Poptsov2014-08-211-0/+11
| * Merge branch 'master' into gc-bug-fix•••Conflicts: ssh/channel-type.c ssh/channel-type.h ssh/message-func.c Artyom V. Poptsov2014-08-101-0/+15
| |\
| | * ssh/session-type.c (print_session): Print port numberArtyom V. Poptsov2014-08-091-0/+2
| | * ssh/session-func.c (guile_ssh_session_get): Handle `port' option•••* ssh/session-func.c (guile_ssh_session_get): Handle `port' option. * doc/api-sessions.texi (Sessions): Update. * tests/session.scm ("session-get"): Update. Artyom V. Poptsov2014-08-091-0/+4
| | * ssh/channel-type.c (_ssh_channel_to_scm): Rename•••* ssh/channel-type.c (_ssh_channel_to_scm): Rename to `_scm_from_channel_data'. All callers updated. (guile_ssh_make_channel): Update. * ssh/channel-type.h: Update. * ssh/message-func.c (guile_ssh_message_channel_request_open_reply_accept): Update. Artyom V. Poptsov2014-08-091-0/+9
| * | Merge branch 'master' into gc-bug-fix•••Conflicts: ChangeLog Artyom Poptsov2014-07-201-0/+2
| |\|
| * | ssh/channel-type.c (mark_channel): Mark the session•••* ssh/channel-type.c (mark_channel): Mark the session. * ssh/message-type.c (mark_message): Likewise. Artyom Poptsov2014-07-201-0/+3
| * | ssh/channel.scm (channel-get-session): New procedure•••* ssh/channel-func.c (guile_ssh_channel_get_session): New procedure. * ssh/channel-func.h (guile_ssh_channel_get_session): Likewise. * ssh/channel.scm (channel-get-session): Export. * tests/client-server.scm ("channel-get-session"): New TC. * doc/api-channels.texi (Channels): Add description of `channel-get-session' procedure. * NEWS: Update. Artyom Poptsov2014-07-201-0/+8
| * | Merge branch 'master' into gc-bug-fixArtyom Poptsov2014-07-201-0/+17
| |\ \
| * \ \ Merge branch 'master' into gc-bug-fixArtyom Poptsov2014-07-191-0/+2
| |\ \ \
| * \ \ \ Merge branch 'master' into gc-bug-fixArtyom Poptsov2014-07-191-0/+111
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into gc-bug-fixArtyom Poptsov2014-07-031-0/+51
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' into gc-bug-fix•••Conflicts: ssh/channel-type.h ssh/key-type.c Artyom Poptsov2014-06-251-0/+77
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'master' into gc-bug-fixArtyom Poptsov2014-06-211-0/+12
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'master' into gc-bug-fixArtyom Poptsov2014-06-201-0/+26
| |\ \ \ \ \ \ \ \
| * | | | | | | | | ssh/key-type.c (free_key_smob): Always free the SSH key on GC'ing•••* ssh/key-type.h (key_data): Remove `is_to_be_freed' field. * ssh/key-type.c (free_key_smob): Always free the SSH key on GC'ing. * ssh/key-func.c (guile_ssh_private_key_from_file) (guile_ssh_public_key_from_private_key) (guile_ssh_public_key_from_file): Likewise. * ssh/message-func.c (get_auth_req): Likewise. * ssh/session-func.c (guile_ssh_get_server_public_key): Likewise. Artyom Poptsov2014-06-061-0/+8
| * | | | | | | | | Merge branch 'master' into gc-bug-fix•••Conflicts: ChangeLog Artyom Poptsov2014-06-061-0/+9
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | Fix a GC issue: Keep reference to a parent object in smobs•••Fix a GC issue: Keep a reference to the parent session in channel and message smobs to prevent the session from premature GC'ing. Without the fix GC could free a session even if there are live channels and by that break the channels. Reported by Ludovic Courtès <ludo@gnu.org> * ssh/channel-type.h (channel_data): Store a reference to the parent session. * ssh/message-type.h (message_data): Likewise. * ssh/channel-type.c (_ssh_channel_to_scm): Change argument list. All callers updated. (guile_ssh_make_channel): Update. * ssh/message-func.c (guile_ssh_message_channel_request_open_reply_accept): Update. * ssh/server-func.c (guile_ssh_server_message_get): Store a reference to a session in the message smob. * NEWS: Update. Artyom Poptsov2014-06-061-0/+21
* | | | | | | | | | | ssh/channel-func.c: Fix a bug•••* ssh/channel-func.c (guile_ssh_channel_open_forward) (guile_ssh_channel_open_reverse_forward) (guile_ssh_channel_cancel_forward): Fix a bug: Rename `_scm_to_ssh_session' to `_scm_to_session_data'. Artyom V. Poptsov2014-08-091-0/+7
* | | | | | | | | | | Merge branch 'master' into port-forwarding•••Conflicts: NEWS Artyom V. Poptsov2014-08-081-0/+272
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | |
| * | | | | | | | | | ssh/session-func.c: Improve docstrings, remove extra commentsArtyom Poptsov2014-07-201-0/+2
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | |
| * | | | | | | | | README: Require GNU Guile 2.0•••* README: Require GNU Guile 2.0. * doc/guile-ssh.texi (Installation): Likewise. * configure.ac: Remove checks related to GNU Guile 1.8. * Makefile.am, ssh/Makefile.am: Likewise. * doc/version.texi: Update. * NEWS: Update. Artyom Poptsov2014-07-201-0/+9
| * | | | | | | | | TODO: UpdateArtyom Poptsov2014-07-191-0/+2
| * | | | | | | | | ssh/: Improve printing of Guile-SSH objects•••* ssh/channel-type.c (print_channel): Print data type first. Print `freed' state if the channel has been closed and freed. * ssh/key-type.c (print_key): Print data type first. * ssh/message-type.c (print_message): Improve. * ssh/session-type.c (print_session): Improve a bit. Artyom Poptsov2014-07-191-0/+6
| | |_|_|_|_|_|_|/ | |/| | | | | | |
| * | | | | | | | ssh/session-type.h, ssh/session-type.c: CleanupArtyom Poptsov2014-07-191-0/+2
| | |_|_|_|_|_|/ | |/| | | | | |
| * | | | | | | tests/sssh-ssshd.scm: Use test `known_hosts' file•••* examples/sssh.scm.in (*option-spec*): Add `known-hosts-file' option. (main): Handle it. * tests/sssh-ssshd.scm: Fix a bug in the test suite: use test `known_hosts' file to make sure that it has no records. ("ssshd, start"): Add a delay to make sure that ssshd started. ("sssh, exec"): Improve. Do cleanup at the end of the TC. (*sssh-cmd*): Set `knownhosts' file explicitly. Artyom Poptsov2014-07-191-0/+9
| * | | | | | | tests/server-client.scm (clnmsg): Improve•••* tests/server-client.scm: Remove extra global variables. (clnmsg): Improve. Artyom Poptsov2014-07-191-1/+3
| * | | | | | | tests/server-client.scm: Fix global variables namesArtyom Poptsov2014-07-191-0/+2
| * | | | | | | tests/server-client.scm: Improve TCs•••* tests/server-client.scm: Improve TCs. (libssh-log-printer): New procedure. (make-session-for-test): Set known hosts file explicitly. (make-server-for-test): Set DSA key. Change log verbosity level to `rare'. (test-assert-with-log): New macro. ("accept, key exchange", "server-message-get", "message-get-type"): Start the client as a different process during the test. Improve. Artyom Poptsov2014-07-191-0/+9
| * | | | | | | tests/client-server.scm: Improve TCs•••* tests/client-server.scm: Improve TCs (spawn-server-thread, cancel-server-thread): Remove. (make-session-loop): Stop the loop when client disconnects. ("connect!, disconnect!", "get-protocol-version") ("authenticate-server, not-known", "authenticate-server, ok") ("get-public-key-hash", "userauth-none!, success") ("userauth-none!, denied", "userauth-none!, partial") ("userauth-password!, success", "userauth-password!, denied") ("userauth-password!, partial", "userauth-public-key!, success") ("userauth-get-list", "make-channel", "channel-open-session") ("channel-request-exec", "data transferring, string") ("data transferring, bytevector"): Start the server as a different process during the test. Improve. (start-server/channel-test, make-session/channel-test) (start-server/dt-test, make-channel/dt-test): New procedures. Artyom Poptsov2014-07-191-0/+18
| * | | | | | | ssh/channel-type.h (GSSH_VALIDATE_OPEN_CHANNEL): New macro•••* ssh/channel-type.h (GSSH_VALIDATE_OPEN_CHANNEL): New macro. * ssh/channel-func.c (guile_ssh_channel_request_exec) (guile_ssh_channel_request_pty, guile_ssh_channel_request_shell) (guile_ssh_channel_request_env, guile_ssh_channel_set_pty_size_x) (guile_ssh_channel_set_stream_x, guile_ssh_channel_get_stream): Expect an open channel as an argument. * doc/api-channels.texi (Channels): Update. Artyom Poptsov2014-07-181-0/+8
| * | | | | | | ssh/channel-type.h (GSSH_VALIDATE_CHANNEL_DATA): New macro•••* ssh/channel-type.h (GSSH_VALIDATE_CHANNEL_DATA): New macro. * ssh/channel-func.c (guile_ssh_channel_is_open_p): Return `#f' if the channel has been closed and freed. (guile_ssh_channel_is_eof_p, guile_ssh_channel_open_session): Throw an exeption if the channel has been closed and freed. Artyom Poptsov2014-07-181-0/+8
| * | | | | | | ssh/channel-type.c (_scm_to_channel_data): Handle freed channels•••* ssh/channel-type.c (_scm_to_channel_data): Return NULL if the channel has been freed. Artyom Poptsov2014-07-161-0/+5
| * | | | | | | tests/log.scm: Fix TS nameArtyom Poptsov2014-07-141-0/+4
| * | | | | | | doc/api-channels.texi (Channels): Add note on `channel-request-exec'•••* doc/api-channels.texi (Channels): Add note that `channel-request-exec' can be used to execute only a single command on a channel. Artyom Poptsov2014-07-131-0/+4
| * | | | | | | TODO (Known Bugs): New sectionArtyom Poptsov2014-07-131-0/+2
| * | | | | | | ssh/session-func.c: Include missed `assert.h' headerArtyom Poptsov2014-07-131-0/+4
| * | | | | | | ssh/session-func.c: Handle disconnected sessions•••* ssh/session-func.c (guile_ssh_get_protocol_version) (guile_ssh_authenticate_server, guile_ssh_get_server_public_key) (guile_ssh_write_known_host): Expect a connected session as an argument. Throw `wrong-type-arg' if the session is not connected. * tests/session.scm ("get-protocol-version"): Move with some changes to `tests/client-server.scm'. * tests/client-server.scm ("get-protocol-version"): New TC. * doc/api-sessions.texi (Sessions): Update. * NEWS: Update. Artyom Poptsov2014-07-121-0/+12