pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/janet



Module Name:    pkgsrc
Committed By:   charlotte
Date:           Tue Aug  9 01:48:07 UTC 2022

Modified Files:
        pkgsrc/lang/janet: Makefile PLIST distinfo

Log Message:
janet: Update to 1.23.0

CHANGELOG:

Janet 1.23.0
------------

This release brings a number of new features that will make Janet useful in
even more domains, including mutexes and reader-writer locks to the ev module
to improve interactions with multi-threaded, native code, better named
arguments support, and an experimental FFI module. Also a number of
improvements and simplification to Janet's debugging capabilities have been
made, and exposed with the new debugger function.

- Add experimental ffi/ module for interfacing with dynamic libraries and raw
  function pointers. Only available on 64 bit linux, mac, and bsd systems.
- Allow using &named in function prototypes for named arguments. This is a more
  ergonomic variant of &keys that isn't as redundant, more self documenting,
  and allows extension to things like default arguments.
- Add delay macro for lazy evaluate-and-save thunks.
- Remove pthread.h from janet.h for easier includes.
- Add debugger - an easy to use debugger function that just takes a fiber.
- dofile will now start a debugger on errors if the environment it is passed
  has :debug set.
- Add debugger-on-status function, which can be passed to run-context to start
  a debugger on abnormal fiber signals.
- Allow running scripts with the -d flag to use the built-in debugger on errors
  and breakpoints.
- Add mutexes (locks) and reader-writer locks to ev module for thread
  coordination.
- Add parse-all as a generalization of the parse function.
- Add os/cpu-count to get the number of available processors on a machine

Janet 1.22.0
------------

- Prohibit negative size argument to table/new.
- Add module/value.
- Remove file/popen. Use os/spawn with the :pipe options instead.
- Fix bug in peg thru and to combinators.
- Fix printing issue in doc macro.
- Numerous updates to function docstrings
- Add defdyn aliases for various dynamic bindings used in core.
- Install janet.h symlink to make Janet native libraries and applications
  easier to build without jpm.

Janet 1.21.2
------------

- Fix patch release - (version info)

Janet 1.21.1
------------

- Patch release to fix some versioning issues in the previous 1.21.0 release.
  No new changes here.

Janet 1.21.0
------------

- C functions janet_dobytes and janet_dostring will now enter the event loop if
  it is enabled.
- Fix hashing regression - hash of negative 0 must be the same as positive 0
  since they are equal.
- The flycheck function no longer pollutes the module/cache
- Fix quasiquote bug in compiler
- Disallow use of cancel and resume on fibers scheduled or created with ev/go,
  as well as the root fiber.

Janet 1.20.0
------------

Add :missing-symbol hook to compile that will act as a catch-all macro for
undefined symbols.

- Add :redef dynamic binding that will allow users to redefine top-level
bindings with late binding. This is intended for development use.
- Fix a bug with reading from a stream returned by os/open on Windows and
Linux.
- Add :ppc64 as a detectable OS type.
- Add & more support for destructuring in the match macro.
- Add & more support for destructuring in all binding forms (def).

Janet 1.19.2
------------

- Fix bug with missing status lines in some stack traces.
- Update hash function to have better statistical properties.

Janet 1.19.1
------------

- Add an optional prefix parameter to debug/stacktrace to allow printing
  prettier error messages.
- Remove appveyor for CI pipeline
- Fixed a bug that prevented sending threaded abstracts over threaded channels.
- Fix bug in the map function with arity at least 3.

Janet 1.19.0
------------

- Add math/log-gamma to replace math/gamma, and change math/gamma to be the
  expected gamma function.
- Fix leaking file-descriptors in os/spawn and os/execute.
- Ctrl-C will now raise SIGINT.
- Allow quoted literals in the match macro to behave as expected in patterns.
- Fix windows net related bug for TCP servers.
- Allow evaluating ev streams with dofile.
- Fix ev related bug with operations on already closed file descriptors.
- Add struct and table agnostic getproto function.
- Add a number of functions related to structs.
- Add prototypes to structs. Structs can now inherit from other structs, just
  like tables.
- Create a struct with a prototype with struct/with-proto.
- Deadlocked channels will no longer exit early - instead they will hang, which
  is more intuitive.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/lang/janet/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/janet/PLIST
cvs rdiff -u -r1.19 -r1.20 pkgsrc/lang/janet/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/janet/Makefile
diff -u pkgsrc/lang/janet/Makefile:1.18 pkgsrc/lang/janet/Makefile:1.19
--- pkgsrc/lang/janet/Makefile:1.18     Thu Nov  4 13:52:23 2021
+++ pkgsrc/lang/janet/Makefile  Tue Aug  9 01:48:07 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2021/11/04 13:52:23 nia Exp $
+# $NetBSD: Makefile,v 1.19 2022/08/09 01:48:07 charlotte Exp $
 
-DISTNAME=      janet-1.18.1
+DISTNAME=      janet-1.23.0
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=janet-lang/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}

Index: pkgsrc/lang/janet/PLIST
diff -u pkgsrc/lang/janet/PLIST:1.10 pkgsrc/lang/janet/PLIST:1.11
--- pkgsrc/lang/janet/PLIST:1.10        Thu Nov  4 13:52:23 2021
+++ pkgsrc/lang/janet/PLIST     Tue Aug  9 01:48:07 2022
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.10 2021/11/04 13:52:23 nia Exp $
+@comment $NetBSD: PLIST,v 1.11 2022/08/09 01:48:07 charlotte Exp $
 bin/janet
+include/janet.h
 include/janet/janet.h
 lib/libjanet.a
 lib/libjanet.so
-lib/libjanet.so.1.18
+lib/libjanet.so.1.23
 lib/libjanet.so.${PKGVERSION}
 lib/pkgconfig/janet.pc
 man/man1/janet.1

Index: pkgsrc/lang/janet/distinfo
diff -u pkgsrc/lang/janet/distinfo:1.19 pkgsrc/lang/janet/distinfo:1.20
--- pkgsrc/lang/janet/distinfo:1.19     Thu Nov  4 13:52:23 2021
+++ pkgsrc/lang/janet/distinfo  Tue Aug  9 01:48:07 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.19 2021/11/04 13:52:23 nia Exp $
+$NetBSD: distinfo,v 1.20 2022/08/09 01:48:07 charlotte Exp $
 
-BLAKE2s (janet-1.18.1.tar.gz) = 31108592043c23163fc75ab14644d29a8c7c0da182fb239b8935849bbaae1bc2
-SHA512 (janet-1.18.1.tar.gz) = ec7382a902530a6669460fdff3d18e313b9fd5a74689f35f1aff6e03cec468f069771f784a6bcf768089e952481e94a6ee472d08cb28a99b0c39c1bd6ff19a6b
-Size (janet-1.18.1.tar.gz) = 483123 bytes
+BLAKE2s (janet-1.23.0.tar.gz) = a1f454957096909058146835ffba77aa924c5a66162e9bfb5d30a47377a13d60
+SHA512 (janet-1.23.0.tar.gz) = 7f9faeaafc75a92085643588e9e32b9d656a7f19c9cbd4013779fa299059a5868940ea57b9bc92313ac63ea846a743ab5c2e4ccf83fcce8bd0e418843e62f8df
+Size (janet-1.23.0.tar.gz) = 511438 bytes



Home | Main Index | Thread Index | Old Index