Skip to content

Releases: adamtuft/c-kernel

v0.5.3

Choose a tag to compare

@adamtuft adamtuft released this 18 Jan 17:44

Minor changes

  • Correct function signature for do_execute so as to not forward cell_meta kwarg to autocompile (fixes #9).

v0.5.2

Choose a tag to compare

@adamtuft adamtuft released this 22 Oct 17:43

Minor changes

  • Check whether stdin redirected by comparing stream file descriptor to stdin file descriptor and whether stdin was redirected to a file (fixes #8).

v0.5.1

Choose a tag to compare

@adamtuft adamtuft released this 09 Oct 15:43

Minor changes

  • Added installation option --eat-newline which will turn on old behaviour to eat stdin up to the next newline/EOF. This is off by default to fix #3.

v0.5

Choose a tag to compare

@adamtuft adamtuft released this 22 Sep 14:13
57becb1

Breaking changes

  • Streamlined install command. Note that kernels installed before v0.5 will no longer work with v0.5 so they should be reinstalled when you update c-kernel.

Major changes

  • Replace ipcqueue with sysv_ipc dependency (to fix #1).

Minor changes

Other

  • Tested on macOS and Windows (using WSL).

v0.4.1

Choose a tag to compare

@adamtuft adamtuft released this 05 Sep 16:47

Minor fixes

  • Close subprocess' stdin and stop waiting for input when user enters "^D\n"

v0.4.0

Choose a tag to compare

@adamtuft adamtuft released this 05 Sep 15:00

Major changes

ckernel install

  • specify a setup script to be run before the kernel is started with the --startup option. Useful if the kernel is installed into a venv or you want to load modules in the kernel's environment.
  • give compilation flags to be applied when compiling or linking executables using the --exe-cflags, --exe-cxxflags and --exe--ldflags options.

Fixes

  • clarify that user code requiring input should #define _GNU_SOURCE before #include <stdio.h>. This is because internal stdio wrappers have this defined, so without it user code may not #define the same name for the scanf functions.
  • fix bugs with printing the banner during initialisation
  • change how package resources are fetched for compatability with Python 3.8 & 3.9 importlib.resources

v0.3.1

Choose a tag to compare

@adamtuft adamtuft released this 18 Aug 13:49

Minor bugfix

v0.3.0

Choose a tag to compare

@adamtuft adamtuft released this 18 Aug 09:06
  • Fixes for compatability with 3.8
  • Change order of linker commands to have libs follow source
  • Pass shell commands (starting with "!") to IPython kernel
  • Add debug statements to C input wrappers

v0.2.0

Choose a tag to compare

@adamtuft adamtuft released this 15 Aug 12:12

Update to add support for forwarding stdin from notebook to compiled subprocess.

v0.1.1

Choose a tag to compare

@adamtuft adamtuft released this 25 Jul 12:23

The initial release of ckernel.