pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/janet janet: Update to 1.13.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b83d106b66ea
branches:  trunk
changeset: 443636:b83d106b66ea
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Dec 18 19:21:35 2020 +0000

description:
janet: Update to 1.13.1

## 1.13.1 - 2020-12-13
- Pretty printing a table with a prototype will look for `:_name` instead of `:name`
  in the prototype table to tag the output.
- `match` macro implementation changed to be tail recursive.
- Adds a :preload loader which allows one to manually put things into `module/cache`.
- Add `buffer/push` function.
- Backtick delimited strings and buffers are now reindented based on the column of the
  opening delimiter. Whitespace in columns to the left of the starting column is ignored unless
  there are non-space/non-newline characters in that region, in which case the old behavior is preserved.
- Argument to `(error)` combinator in PEGs is now optional.
- Add `(line)` and `(column)` combinators to PEGs to capture source line and column.
  This should make error reporting a bit easier.
- Add `merge-module` to core.
- During installation and release, merge janetconf.h into janet.h for easier install.
- Add `upscope` special form.
- `os/execute` and `os/spawn` can take streams for redirecting IO.
- Add `:parser` and `:read` parameters to `run-context`.
- Add `os/open` if ev is enabled.
- Add `os/pipe` if ev is enabled.
- Add `janet_thread_current(void)` to C API
- Add integer parsing forms to pegs. This makes parsing many binary protocols easier.
- Lots of updates to networking code - now can use epoll (or poll) on linux and IOCP on windows.
- Add `ev/` module. This exposes a fiber scheduler, queues, timeouts, and other functionality to users
  for single threaded cooperative scheduling and asynchronous IO.
- Add `net/accept-loop` and `net/listen`. These functions break down `net/server` into it's essential parts
  and are more flexible. They also allow further improvements to these utility functions.
- Various small bug fixes.

diffstat:

 lang/janet/Makefile |   4 ++--
 lang/janet/PLIST    |   5 ++---
 lang/janet/distinfo |  10 +++++-----
 3 files changed, 9 insertions(+), 10 deletions(-)

diffs (44 lines):

diff -r a2261af5694c -r b83d106b66ea lang/janet/Makefile
--- a/lang/janet/Makefile       Fri Dec 18 18:51:50 2020 +0000
+++ b/lang/janet/Makefile       Fri Dec 18 19:21:35 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2020/10/03 10:29:08 nia Exp $
+# $NetBSD: Makefile,v 1.11 2020/12/18 19:21:35 nia Exp $
 
-DISTNAME=      janet-1.12.2
+DISTNAME=      janet-1.13.1
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=janet-lang/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
diff -r a2261af5694c -r b83d106b66ea lang/janet/PLIST
--- a/lang/janet/PLIST  Fri Dec 18 18:51:50 2020 +0000
+++ b/lang/janet/PLIST  Fri Dec 18 19:21:35 2020 +0000
@@ -1,11 +1,10 @@
-@comment $NetBSD: PLIST,v 1.5 2020/10/03 10:29:08 nia Exp $
+@comment $NetBSD: PLIST,v 1.6 2020/12/18 19:21:35 nia Exp $
 bin/janet
 bin/jpm
 include/janet/janet.h
-include/janet/janetconf.h
 lib/libjanet.a
 lib/libjanet.so
-lib/libjanet.so.1.12
+lib/libjanet.so.1.13
 lib/libjanet.so.${PKGVERSION}
 lib/pkgconfig/janet.pc
 man/man1/janet.1
diff -r a2261af5694c -r b83d106b66ea lang/janet/distinfo
--- a/lang/janet/distinfo       Fri Dec 18 18:51:50 2020 +0000
+++ b/lang/janet/distinfo       Fri Dec 18 19:21:35 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2020/10/03 10:29:08 nia Exp $
+$NetBSD: distinfo,v 1.10 2020/12/18 19:21:35 nia Exp $
 
-SHA1 (janet-1.12.2.tar.gz) = d8cf2031581deaf7965ee4c6bd36c621b1bf95e4
-RMD160 (janet-1.12.2.tar.gz) = 73df41954039dcc62b23ca9aa870cb74a0e7ab30
-SHA512 (janet-1.12.2.tar.gz) = bde3d516b0a1c55ad8edb2dc701a3afdb5e7c2bd028b132598d1a08796aca5f17f71dd2c760192a9703a07adb3450a7af6971611ae57005eafad1b741b0b69a6
-Size (janet-1.12.2.tar.gz) = 558788 bytes
+SHA1 (janet-1.13.1.tar.gz) = 20d8d93ee5308beb0ddc26808d7be54ca1abfac8
+RMD160 (janet-1.13.1.tar.gz) = 1deb7815edfffbf27c9a13f4bc9e2916d3262ac4
+SHA512 (janet-1.13.1.tar.gz) = 8022ecbaf7680855611202a3c17b8e5f6dc61a9302508c9de5312dbd9e80d40c24786bb5e8ae653ab5a7b00191a2d7c44cc3e305d31245e3e8c53be0e1c80372
+Size (janet-1.13.1.tar.gz) = 584998 bytes



Home | Main Index | Thread Index | Old Index