hslua-2.1.0 - Released 29-01-2022.
* Update to hslua-objectorientation 2.1.0. This entails changes to deftype'
and deftypeGeneric, switching the order of item pusher and list-extractor
function in the tuple passed as the last argument.
* Update to hslua-core 2.1.0, hslua-marshalling 2.1.0, and hslua-classes
2.1.0.
hslua-2.0.1 - Released 2021-11-04.
* Updated lower bounds of hslua packages:
hslua >= 2.0.0.2,
hslua-marshalling >= 2.0.1, and
hslua-objectorientation >= 2.0.1.
* This fixes a number of smaller issues; see the respective package
changelogs for details.
hslua-2.0.0 - Released 2021-10-21.
* Move module hierarchy from Foreign.Lua to HsLua.
* Error handling has been reworked completely. The type of exceptions used
and handled by HsLua is now exposed to the type system. The type Lua
makes use of a default error type. Custom error handling can be
implemented by using the LuaE type with an exception type that is an
instance of class LuaError.
* Renamed stack index helpers to nth, nthTop, nthBottom, top. The following
have been removed: stackTop, nthFromTop, nthFromBottom.
* Extracted raw Lua bindings into new package lua. This means that all
cabal flags have been moved to package lua as well. Version lua-1.0.0
contained the Foreign.Lua.Raw hierarchy as present in hslua-1.3.0. See
that package’s changelog for info on the additional modifications since
then.
* The module Foreign.Lua.Raw.Error was merged into the HsLua.Core.Error
module.
* The functions getglobal and gettable now return the Lua Type of the
pushed value.
* Extracted new packages:
* hslua-core: the package contains all modules from the Core sub-hierarchy.
* hslua-classes: typclasses Peekable and Pushable for pushing and
pulling, as well as function calling.
* tasty-hslua: makes testing helpers available for reuse.
* Moved run functions from Util to Core.Run.
* Moved module Utf8 from the base level into Core.
* Refactored code to expose Haskell functions to Lua:
* Removed functions newCFunction, freeCFunction. Use pushHaskellFunction
instead, it takes care of garbage collection.
* Renamed typeclass ToHaskellFunction to Exposable, function callFunc to
invoke. All these have been moved to hslua-classes.
* The type PreCFunction is now defined in package lua; HaskellFunction is
defined in hslua-core.
* Changed pushHaskellFunction to only accept HaskellFunction arguments,
move it to hslua-core.
* Removed helper functions addfunction and addfield from Module. Use
documented functions and fields instead.
* Added support for a “since” tag on documented functions; allows to mark
the library version when a function was introduced in its present form.
Utilities to package up Haskell functions and values into a Lua module.
This package is part of HsLua, a Haskell framework built around the
embeddable scripting language Lua.
Provides functions to marshal values from Haskell to Lua, and vice versa.
This package is part of HsLua, a Haskell framework built around the
embeddable scripting language Lua.
Starting with PHP 8.0, zts is enabled with --enable-zts, rather than
the older --enable-maintainer-zts. Addresses PR pkg/56681.
The actual pkgsrc option name should probably be adjusted, and the
current "maintainer-zts" moved to PKG_LEGACY_OPTIONS. I've left it for
another commit.
v1.4
Additions:
add guidance around the use of Py_FindMethod
Fixes:
Avoid compiler warning about unused function
Fix DESTDIR support in the Makefile
Various documentation warning fixes
which means 11.x and 12.x according to mk/platform/Darwin.mk. On 10.x
(i386 Snow Leopard Server, at least), no problem with the system gcc.
Adjust the scope of the workaround to match.