Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-10 | fix typo | Ryo Nakamura | |
2023-03-10 | add alpine docker to build mscp as a single binary | Ryo Nakamura | |
The build recipe in docker/alpine-3.17.Dockerfile uses conan to build mscp as a single binary (with statically linked musl). Now the mscp binary is portable! | |||
2023-03-09 | add conanfile.txt to compile mscp as a single binary | Ryo Nakamura | |
conan cmake build with -DBUILD_CONAN=ON and -DBUILD_STATIC=ON in alpine make mscp as a single binary with statically linked musl. | |||
2023-03-09 | Merge branch 'main' of github.com:upa/mscp into main | Ryo Nakamura | |
2023-03-09 | fix cmake: remove modification to libssh CMake | Ryo Nakamura | |
2023-03-04 | fix dryrun handling on main.c | Ryo Nakamura | |
2023-03-04 | add doxygen for mscp.h | Ryo Nakamura | |
2023-03-04 | remove sigalrm. integrate print messages and progress bar | Ryo Nakamura | |
2023-03-04 | tiny fix for clang warning | Ryo Nakamura | |
2023-03-04 | use setitimer instead of alarm, and print message. | Ryo Nakamura | |
print_stat now prints messages per interval. ToDo: - realtime message printing - use timer_create instead of setitimer (mscOS has different one) | |||
2023-03-04 | compilable on ubuntu | Ryo Nakamura | |
2023-03-04 | accidentaly swap min_chunk_sz and max_chunk_sz... | Ryo Nakamura | |
2023-03-04 | remove pprint, use message (mpr_*) instead. | Ryo Nakamura | |
ToDo: main should use pipe to receive messages from libmscp. | |||
2023-03-03 | implementing messaging. | Ryo Nakamura | |
ToDo: remove pprint. mscp should use mpr_* functions, and main.c should use just fprintf(stdout, "\r\033[K" fmt, ...) for printing progress bar. | |||
2023-03-03 | add message.h and message.c, mscp_set|get_error() | Ryo Nakamura | |
Instead of pr_err(), libmscp uses mscp_set_error() and applications use mscp_get_errror() to get error message. | |||
2023-03-03 | tiny cleanup | Ryo Nakamura | |
2023-03-03 | add mscp_get_stats | Ryo Nakamura | |
move progress bar-related functions from mscp.c to main.c. | |||
2023-03-03 | add mscp_ssh_opts and change -C optarg | Ryo Nakamura | |
2023-02-27 | remove test.c | Ryo Nakamura | |
2023-02-26 | add comments to mscp.h | Ryo Nakamura | |
2023-02-26 | tiny fix on comment | Ryo Nakamura | |
2023-02-26 | fix dst path resolve | Ryo Nakamura | |
2023-02-26 | now mscp links libmscp | Ryo Nakamura | |
2023-02-26 | set default params in mscp_init | Ryo Nakamura | |
2023-02-26 | have written mscp.c | Ryo Nakamura | |
2023-02-25 | add copy-related functions to path | Ryo Nakamura | |
2023-02-25 | start to impliment mscp as a library | Ryo Nakamura | |
this commit starts to refactor file.h|c to path.h|c and add mscp.c|h. not completed yet. | |||
2023-02-18 | README: add instructions for package install | Ryo Nakamura | |
2023-02-16 | bump version to 0.0.6 | Ryo Nakamura | |
2023-02-16 | add -r option (but no effect) | Ryo Nakamura | |
2023-02-16 | add \n at the final output | Ryo Nakamura | |
2023-01-09 | fix typo on README | Ryo Nakamura | |
2023-01-05 | remove unnecessary pr_warn | Ryo Nakamura | |
2022-12-26 | update README.md | Ryo Nakamura | |
2022-12-11 | Update README.md | Ryo Nakamura | |
2022-12-11 | add 'z' to tar in release.yml... | Ryo Nakamura | |
and fix typo in README | |||
2022-12-11 | update README.md. add demo movie | Ryo Nakamura | |
2022-12-11 | bump version to 0.0.5 and update README | Ryo Nakamura | |
2022-12-11 | set default nr_threads to floor(log(cores) * 2) + 1) | Ryo Nakamura | |
This change prevents mscp from establishing too many ssh connections on many-core machines in default. | |||
2022-12-11 | use pthread_cleanup to acquire and release lock | Ryo Nakamura | |
In chunk_prepare(), if multiple threads wait for acquiring f->lock, and then pthread_cancel() is called, the waiting threads are never canceled because pthread_mutex_lock() is not a cancellation point. So, use pthread_cleanup_push/pop to release the lock. | |||
2022-12-10 | allocate headroom for SFTP header | Ryo Nakamura | |
This commit makes ssh_buffer_new_size() can insert headroom. This headroom can eliminate memcpy involved in ssh_buffer_prepend_data() for inserting SFTP common header. | |||
2022-12-08 | set default NR_AHEAD to 32 | Ryo Nakamura | |
2022-12-06 | fix final progress output | Ryo Nakamura | |
2022-12-06 | add ssh_buffer_new_size and ssh_buffer_add_func to libssh | Ryo Nakamura | |
sftp_async_write() with these functions reduces 1. realloc_buffer by ssh_buffer_new_size() 2. memcpy from read data to ssh buffer by ssh_buffer_add_func() | |||
2022-12-05 | change prompt for ssh key passphrase | Ryo Nakamura | |
2022-12-05 | reuse ctrl sftp session for the first copy thread | Ryo Nakamura | |
2022-12-05 | update libssh build options | Ryo Nakamura | |
2022-12-04 | set TCP_NODELAY by default and introduce -N option to disable it | Ryo Nakamura | |
2022-12-03 | remove unused code and introduce -b buf_sz option | Ryo Nakamura | |
This commit removes ifdef ASYNC_WRITE. So, mscp always depends on the patched libssh. | |||
2022-12-02 | little cleanup | Ryo Nakamura | |