mirror of
https://github.com/janet-lang/janet
synced 2025-01-12 16:40:27 +00:00
Prepare for 1.17.1 release.
This commit is contained in:
parent
b903433284
commit
e1c4fc29de
@ -1,6 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## 1.17.1 - 2021-08-29
|
||||||
|
- Fix docstring typos
|
||||||
|
- Add `make install-jpm-git` to make jpm co-install simpler if using makefile.
|
||||||
|
- Fix bugs with starting ev/threads and fiber marshling.
|
||||||
|
|
||||||
## 1.17.0 - 2021-08-21
|
## 1.17.0 - 2021-08-21
|
||||||
- Add the `-E` flag for one-liners with the `short-fn` syntax for argument passing.
|
- Add the `-E` flag for one-liners with the `short-fn` syntax for argument passing.
|
||||||
- Add support for threaded abstract types. Threaded abstract types can easily be shared between threads.
|
- Add support for threaded abstract types. Threaded abstract types can easily be shared between threads.
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
project('janet', 'c',
|
project('janet', 'c',
|
||||||
default_options : ['c_std=c99', 'build.c_std=c99', 'b_lundef=false', 'default_library=both'],
|
default_options : ['c_std=c99', 'build.c_std=c99', 'b_lundef=false', 'default_library=both'],
|
||||||
version : '1.17.0')
|
version : '1.17.1')
|
||||||
|
|
||||||
# Global settings
|
# Global settings
|
||||||
janet_path = join_paths(get_option('prefix'), get_option('libdir'), 'janet')
|
janet_path = join_paths(get_option('prefix'), get_option('libdir'), 'janet')
|
||||||
|
@ -5,9 +5,9 @@
|
|||||||
|
|
||||||
#define JANET_VERSION_MAJOR 1
|
#define JANET_VERSION_MAJOR 1
|
||||||
#define JANET_VERSION_MINOR 17
|
#define JANET_VERSION_MINOR 17
|
||||||
#define JANET_VERSION_PATCH 0
|
#define JANET_VERSION_PATCH 1
|
||||||
#define JANET_VERSION_EXTRA ""
|
#define JANET_VERSION_EXTRA ""
|
||||||
#define JANET_VERSION "1.17.0"
|
#define JANET_VERSION "1.17.1"
|
||||||
|
|
||||||
/* #define JANET_BUILD "local" */
|
/* #define JANET_BUILD "local" */
|
||||||
|
|
||||||
|
@ -2519,7 +2519,7 @@ static JanetEVGenericMessage janet_go_thread_subr(JanetEVGenericMessage args) {
|
|||||||
tstate.payload
|
tstate.payload
|
||||||
};
|
};
|
||||||
janet_channel_push((JanetChannel *)supervisor,
|
janet_channel_push((JanetChannel *)supervisor,
|
||||||
janet_wrap_tuple(janet_tuple_n(pair, 2)), 2);
|
janet_wrap_tuple(janet_tuple_n(pair, 2)), 2);
|
||||||
} else if (flags & 0x1) {
|
} else if (flags & 0x1) {
|
||||||
/* No wait, just print to stderr */
|
/* No wait, just print to stderr */
|
||||||
janet_eprintf("thread start failure: %v\n", tstate.payload);
|
janet_eprintf("thread start failure: %v\n", tstate.payload);
|
||||||
|
@ -1267,7 +1267,7 @@ static const uint8_t *unmarshal_one(
|
|||||||
data = unmarshal_one_def(st, data, &def, flags + 1);
|
data = unmarshal_one_def(st, data, &def, flags + 1);
|
||||||
if (def->environments_length != len) {
|
if (def->environments_length != len) {
|
||||||
janet_panicf("invalid function - env count does not match def (%d != %d)",
|
janet_panicf("invalid function - env count does not match def (%d != %d)",
|
||||||
len, def->environments_length);
|
len, def->environments_length);
|
||||||
}
|
}
|
||||||
func->def = def;
|
func->def = def;
|
||||||
for (int32_t i = 0; i < def->environments_length; i++) {
|
for (int32_t i = 0; i < def->environments_length; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user