1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-25 01:37:19 +00:00

Merge branch 'master' into net

This commit is contained in:
Calvin Rose 2020-02-02 13:16:47 -06:00
commit c5907258c3
5 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
# 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.
### Unreleased ## 1.7.0 - 2020-02-01
- Remove `file/fileno` and `file/fdopen`. - Remove `file/fileno` and `file/fdopen`.
- Remove `==`, `not==`, `order<`, `order>`, `order<=`, and `order>=`. Instead, use the normal - Remove `==`, `not==`, `order<`, `order>`, `order<=`, and `order>=`. Instead, use the normal
comparison and equality functions. comparison and equality functions.
@ -32,7 +32,7 @@ All notable changes to this project will be documented in this file.
- Fix thread module issue where sometimes decoding a message failed. - Fix thread module issue where sometimes decoding a message failed.
- Fix segfault regression when macros are called with bad arity. - Fix segfault regression when macros are called with bad arity.
### 1.6.0 - 2019-12-22 ## 1.6.0 - 2019-12-22
- Add `thread/` module to the core. - Add `thread/` module to the core.
- Allow seeding RNGs with any sequence of bytes. This provides - Allow seeding RNGs with any sequence of bytes. This provides
a wider key space for the RNG. Exposed in C as `janet_rng_longseed`. a wider key space for the RNG. Exposed in C as `janet_rng_longseed`.

View File

@ -30,7 +30,7 @@ install:
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" %platform% - call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" %platform%
- build_win test-install - build_win test-install
- set janet_outname=%appveyor_repo_tag_name% - set janet_outname=%appveyor_repo_tag_name%
- if "%janet_outname%"=="" set janet_outname=v1.6.1 - if "%janet_outname%"=="" set janet_outname=v1.7.1
build: off build: off
artifacts: artifacts:

View File

@ -20,7 +20,7 @@
project('janet', 'c', project('janet', 'c',
default_options : ['c_std=c99', 'b_lundef=false', 'default_library=both'], default_options : ['c_std=c99', 'b_lundef=false', 'default_library=both'],
version : '1.6.1-dev') version : '1.7.1-dev')
# 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')

View File

@ -596,7 +596,7 @@
(defn first (defn first
"Get the first element from an indexed data structure." "Get the first element from an indexed data structure."
[xs] [xs]
(in xs 0)) (get xs 0))
(defn last (defn last
"Get the last element from an indexed data structure." "Get the last element from an indexed data structure."

View File

@ -27,10 +27,10 @@
#define JANETCONF_H #define JANETCONF_H
#define JANET_VERSION_MAJOR 1 #define JANET_VERSION_MAJOR 1
#define JANET_VERSION_MINOR 6 #define JANET_VERSION_MINOR 7
#define JANET_VERSION_PATCH 1 #define JANET_VERSION_PATCH 1
#define JANET_VERSION_EXTRA "-dev" #define JANET_VERSION_EXTRA "-dev"
#define JANET_VERSION "1.6.1-dev" #define JANET_VERSION "1.7.1-dev"
/* #define JANET_BUILD "local" */ /* #define JANET_BUILD "local" */