Skip to content

Releases: spaceinventor/csh

2.10

28 Nov 10:38
2.10

Choose a tag to compare

Most notable changes

  • Sleep command now working in run scripts
  • SCH v1 now supported only when loading CSH_OBC
  • Schedule version now 2 by default
  • Stability improvements in terminal handling
  • Explicit handling of unicode characters, including Minus Sign (U+2212)
  • Reception of published parameters for local instance and in param sniffer
  • Slash command for enabling CSP alias addresses
  • Auto-initialize CSP when starting CSH
  • Allow usage of hostname references as alternative to node IDs
  • Support for opening PDF user manuals in native Ubuntu and under WSL by slash command
  • stdbuf now defaults to stdbuf2
  • Allow --mask argument in get, when requesting multiple parameters by star alias
  • Commands download/upload now takes absolute offset for resume
  • Inform user when unknown parameter values are received
  • New command conf get for retrieving and auto-generating file representing persistent module configuration state
  • Update to newer version of internal dependencies (csp, libparam, slash)
  • Various stability fixes

2.9.4

18 Jul 10:49
2.9.4

Choose a tag to compare

Most notable changes

  • f732e4a Remove Cross compile section in README
  • 61c1be8 Update gendoc
  • 2d9c5e5 Fix compilation warning
  • 611dd9c Update list of builtin commands
  • ff3a145 Fix compilation on Ubuntu 20.04
  • 05fe490 Actually actually reset rdp options (in sps)
  • 7b56137 Fix -c argument ambiguity in sps and program
  • 5b54969 Move rdp_opt_set() and rdp_opt_reset() to csh_defaults.c
  • 42b9760 Add __file__ attribute when python <filename.py>
  • 1fe8f7f Added (already documented) wildcard argument to list save
  • af30424 Restore stdout when Loki no longer runs
  • bdb2243 Update optparse description of several commands to actually match the commands
  • f1eff0e Fix version comparison
  • bc87eb6 Chain-call Python's SIGINT handler.
  • e8c48b0 Guard Python specific code to allow building without Python, for example, on Ubuntu 20.04
  • 35cd31d Add -lrt to CSH link flags as indicated in the Posix Message Queue manual pages to enable libossi's Message Queues implementation
  • dc13364 Added path completer to python command
  • 0ce5747 Don't print index error for unknown parameters
  • a974a38 Propagate Contrl-C (SIGINT) to Python Interpreter
  • 2949864 Allow loading of Python APMs from /usr/lib/csh
  • 2c087ab Update caninit script to handle both can0 & can1
  • e26177a Do not set param timestamp at handling in param sniffer (#38)
  • a458480 Also preemptively import pycsh with python -c <string>
  • 913a5f8 Added param_completer() to list() command
  • b66e84e Fix valgrind warning in "ifstat" slash command
  • 5a007aa Fix memory leak in "apm info" slash command
  • 4eedfa3 Use PATH_MAX constant where applicable
  • 1c3ce78 Get new libslash version to get better path tab-completion
  • da1a948 Add a new "pwd" slash command
  • 58a13ab Added filename argument to sps command
  • 817eedc Update pycsh_core to get vmem 64-bits address fix
  • ead596d Add Python APM to CSH's list of APMs
  • c3bdf68 Add a new "python" CSH built-in command that allows... (#36)
  • 877d429 Use csp_timestamp_t for param-related timestamps
  • 46321a7 Update to libparam using ns timestamp precisison
  • 411916e Update "manual" command to allow opening APM manuals, if present
  • 533edda "walkdir" util function: fix double "/" when source dir ends with a "/" already
  • 0e9162c require version csh allows dirty short commit tags (e.g 2.7+)
  • 871f05e Streamline Dockerfiles, allowing building for aarch64 & amd64 in one go
  • 64d22af crc32: print timeout, 0 init crc var
  • 7a5de95 Enable -Wall & -Wextra warnings (and fix a lot of them)

Submodule lib/slash:

CSH-47: Fix access to invalid memory
Fix watch memory leak
Added slash_on_execute_post_hook()
Added customizable context pointer to struct slash_command (#20)
Better (but not good yet) handling of "~" when tab-completing paths
Fix valgrind warning when slash_trim()ing empty line
Trim trailing whitespaces from stdin-read line
Extend slash API to allow enabling/disabling handling of stdout/stdin by slash
Handle memory allocation failures
Fix warnings: - comparison of integer expressions of different signedness - unused parameter

Noteworthy

This is the latest CSH version that supports Ubuntu 20.04

2.9.0-rc1

10 Jun 07:20
2.9.0-rc1

Choose a tag to compare

2.9.0-rc1 Pre-release
Pre-release

What's Changed

Full Changelog: 2.8...2.9.0-rc1

Important

The packages for Ubuntu 20.04 do NOT include the new Python functionality due to the fact that the Python version shipped with this Ubuntu (3.8) does not include functionality needed for this feature.
2.9 is also the latest version of CSH officially supported by SpaceInventor on Ubuntu 20.04.

2.8

30 Apr 13:46
2.8

Choose a tag to compare

2.8
  • fix environment variable expansions can cause a crash when the length of the entire expanded string % 16 = 0

  • fix "off-by-one" algorithmic error in slash history related functions

  • fix bug in environment variable name tab-completion

  • handle "HOME" and "END" keys when in a TMUX session

  • many commands accepting "-n" or "-s" for node addresses now accept both hostname or address as value

  • print current time when setting HK epoch

  • implement hostname tab-completion in "power on/off" commands

  • implement hostname tab-completion in "node" command

  • align node save with list save

  • add feature to let HK sniffer auto-update UTC offset when receving a parameter with UTC timestamp

  • param lists: handle when iterating over an empty list

  • added verbosity argument to "run"

  • Added slash command to print CSH version

  • Remove promisc argument from "csp add kiss"

  • Check for numeric addr argument in csp add *

2.7

23 Jan 11:15
2.7

Choose a tag to compare

2.7

The release is installed by downloading the appropriate Debian package and running the command
sudo dpkg -i si-csh_[UBUNTU_VER]_2.7-0.deb
with UBUNTU_VER replaced by your Ubuntu LTS version.
Raspberry PI packages for Debian "Bookworm" or derivatives are also provided in both armhf and aarch64 architectures.
For other Ubuntu versions, CSH can be installed by compiling the source code.

Notable changes:

  • 32-bits platforms compilation fix
  • long string params print fix
  • loki logging in background thread

2.6

03 Jan 11:47
2.6

Choose a tag to compare

2.6

The release is installed by downloading the appropriate Debian package and running the command
sudo dpkg -i si-csh_[UBUNTU_VER]_2.6-0.deb
with UBUNTU_VER replaced by your Ubuntu LTS version.
For other Ubuntu versions, CSH can be installed by compiling the source code.

  • Update libparam submodule and update code. API break
  • Submodule lib/param
    • Remove duplicated code left over from merge
    • Correct localhost node check
    • PLT-289 make param define remote usable (#40)
    • Allow remote setting queue debug level
    • Remove dublicated param slash print
    • PLT-289 Refactor param_t to have node as pointer (#39)
    • SI-569 enhanced set array (#23)
    • PLT-288 push timeouts for whls (#38)
    • Fix ´list save´ing user flags to file
    • Add license file
    • Fixed a compiler warning - and possible error in cache_read and cache_write if data would be 0 or length would be 0
    • Add a "--nodes" parameter to the "pull" command, allow pulling parameters from multiple nodes (#36)
    • Added possibilty of creating a non-cached block region
    • SI-546 refactor the param_print_value() method to use strcat() in stead of sprintf() and remove magic number 128
  • Update slash submodule
    • PLT-291 Added customizable hooks to slash_run()
    • Bump slash commands maximum number of allowed arguments to 32
    • Improve cmd_run() documentation
    • Added description of FILE and FILE_DIR environment variables
  • build system: do not install anything from subprojects
  • Fix some compilation warnings
  • PLT-294 Added slash command to check used version of CSH (#28)
  • Enable slash cmd print with CMD client enabled only
  • Reduce printout when CSH starts
  • Support -i without filename
  • Do not initialize schedule server
  • PLT-288 Change param default prio to NORM (#26)
  • Documentation: update CSH version information regarding environment variables support
  • Update csp submodule
    • Fix a couple more sources of unitialized values
    • Use struct initializer to avoid "unintialized value" Valgrind warning
  • PLT-291 Added FILE and FILE_DIR env vars to "run <file.csh> command.
  • PLT-291 Strip trailing slash in INIT_DIR
  • PLT-291 Set environment varibles to chosen init file.
  • apm: dont add failed apms to queue, better printing