mirror of
https://github.com/janet-lang/janet
synced 2024-11-10 18:59:54 +00:00
Update changelog.
This commit is contained in:
parent
86de039492
commit
19f14adb9e
@ -2,8 +2,11 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
## Unreleased - ???
|
## Unreleased - ???
|
||||||
|
- Fix `ev/select` on threaded channels sometimes live-locking.
|
||||||
- Support the `NO_COLOR` environment variable to turn off VT100 color codes in repl (and in scripts).
|
- Support the `NO_COLOR` environment variable to turn off VT100 color codes in repl (and in scripts).
|
||||||
|
See http://no-color.org/
|
||||||
- Disallow using `(splice x)` in contexts where it doesn't make sense rather than silently coercing to `x`.
|
- Disallow using `(splice x)` in contexts where it doesn't make sense rather than silently coercing to `x`.
|
||||||
|
Instead, raise a compiler error.
|
||||||
- Change the names of `:user8` and `:user9` sigals to `:interrupt` and `:await`
|
- Change the names of `:user8` and `:user9` sigals to `:interrupt` and `:await`
|
||||||
- Change the names of `:user8` and `:user9` fiber statuses to `:interrupted` and `:suspended`.
|
- Change the names of `:user8` and `:user9` fiber statuses to `:interrupted` and `:suspended`.
|
||||||
- Add `ev/all-tasks` to see all currently suspended fibers.
|
- Add `ev/all-tasks` to see all currently suspended fibers.
|
||||||
|
@ -215,7 +215,7 @@ const char *janet_getcstring(const Janet *argv, int32_t n) {
|
|||||||
return janet_getcbytes(argv, n);
|
return janet_getcbytes(argv, n);
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* janet_getcbytes(const Janet *argv, int32_t n) {
|
const char *janet_getcbytes(const Janet *argv, int32_t n) {
|
||||||
JanetByteView view = janet_getbytes(argv, n);
|
JanetByteView view = janet_getbytes(argv, n);
|
||||||
const char *cstr = (const char *)view.bytes;
|
const char *cstr = (const char *)view.bytes;
|
||||||
if (strlen(cstr) != (size_t) view.len) {
|
if (strlen(cstr) != (size_t) view.len) {
|
||||||
|
Loading…
Reference in New Issue
Block a user