Subject: CVS commit: pkgsrc/lang/hs-hslua-core
From: Masatake Daimon
Date: 2023-01-25 05:35:33
Message id: 20230125043533.78611FA90@cvs.NetBSD.org

Log Message:
lang/hs-hslua-core: Update to 2.2.1

hslua-core-2.2.1 - Released 2022-06-19
* Ensure that loadfile works with umlauts in filepath: The OS does not
  necessarily expect filenames to be UTF-8 encoded, especially Windows. On
  non-Windows systems, the current file system encoding is now used to
  convert filenames to C strings. On Windows, the CP_ACP codepage is used,
  as required by the Windows API.
* GC managed Lua state: Add new type GCManagedState and functions
  newGCManagedState, closeGCManagedState, and withGCManagedState. These
  allow to create and use a Lua state in flexible ways in that it does not
  require the state to be closed explicitly. The state will be closed when
  the respective variable is collected.
* Require lua-2.2.1.
* Relax upper bound for mtl, allow mtl-2.3.

hslua-core-2.2.0 - Released 2022-02-19
* Use lua-2.2.0, which requires Lua 5.4.
* Rename newuserdata to newuserdatauv and let it take the number of
  associated uservalues as an additional argument.
* Similarly, newhsuserdata is now newhsuserdatauv.
* Rename getuservalue and setuservalue to getiuservalue and setiuservalue,
  respectively. Like both functions now take an extra argument specifying
  the number of the uservalue that should be retrieved or set.
* It is now possible for setiuservalue to fail, so it returns a boolean to
  indicate whether the action was successful.
* The GCControl type has been updated to match the new gc control:
  - The GCStep constructor takes an argument "stepsize";
  - constructors GCGen and GCInc have been added;
  - constructors GCSetPause and GCSetStepMul have been removed.

Files:
RevisionActionfile
1.4modifypkgsrc/lang/hs-hslua-core/Makefile
1.2modifypkgsrc/lang/hs-hslua-core/PLIST
1.4modifypkgsrc/lang/hs-hslua-core/buildlink3.mk
1.2modifypkgsrc/lang/hs-hslua-core/distinfo