Commit graph

10 commits

Author SHA1 Message Date
pho
eda754ca5a Bump all Haskell packages after enabling "split sections" in mk/haskell.mk 2022-02-26 03:57:43 +00:00
pho
dc3a63e008 revbump after changing the default Haskell compiler 2022-02-12 08:50:25 +00:00
pho
0d7462484a Update to hslua-2.1.0
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.
2022-02-11 12:11:55 +00:00
pho
75588a9d5d Bump packages that depends on GHC 2022-01-18 02:48:01 +00:00
nia
2176cc7249 lang: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (possibly fetched
conditionally?):

./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-aarch64-unknown-linux-gnu.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-aarch64-unknown-linux-musl.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-aarch64-unknown-netbsd.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-armv7-unknown-netbsd-eabihf.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-i686-unknown-linux-gnu.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-powerpc-unknown-netbsd90.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-sparc64-unknown-netbsd.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-x86_64-apple-darwin.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-x86_64-unknown-freebsd.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-x86_64-unknown-linux-gnu.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-x86_64-unknown-linux-musl.tar.gz
./lang/smlnj/distinfo smlnj-110.73/boot.ppc-unix.tgz
./lang/smlnj/distinfo smlnj-110.73/boot.sparc-unix.tgz
./lang/oracle-jre8/distinfo jce_policy-8.zip
./lang/oracle-jre8/distinfo jre-8u202-linux-i586.tar.gz
./lang/oracle-jre8/distinfo jre-8u202-linux-x64.tar.gz
./lang/oracle-jre8/distinfo jre-8u202-macosx-x64.tar.gz
./lang/oracle-jre8/distinfo jre-8u202-solaris-x64.tar.gz
./lang/oracle-jdk8/distinfo jdk-8u202-linux-i586.tar.gz
./lang/oracle-jdk8/distinfo jdk-8u202-linux-x64.tar.gz
./lang/oracle-jdk8/distinfo jdk-8u202-solaris-x64.tar.gz
./lang/ghc80/distinfo ghc-7.10.3-boot-x86_64-unknown-solaris2.tar.xz
./lang/ghc80/distinfo ghc-8.0.2-boot-i386-unknown-freebsd.tar.xz
./lang/ghc80/distinfo ghc-8.0.2-boot-x86_64-unknown-freebsd.tar.xz
./lang/gcc5-aux/distinfo ada-bootstrap.i386.freebsd.100B.tar.bz2
./lang/gcc5-aux/distinfo ada-bootstrap.i386.freebsd.84.tar.bz2
./lang/gcc5-aux/distinfo ada-bootstrap.x86_64.dragonfly.41.tar.bz2
./lang/gcc5-aux/distinfo ada-bootstrap.x86_64.freebsd.100B.tar.bz2
./lang/gcc5-aux/distinfo ada-bootstrap.x86_64.freebsd.84.tar.bz2
./lang/gcc5-aux/distinfo ada-bootstrap.x86_64.solaris.511.tar.bz2
./lang/rust/distinfo rust-1.53.0-aarch64-apple-darwin.tar.gz
./lang/rust/distinfo rust-1.53.0-aarch64-unknown-linux-gnu.tar.gz
./lang/rust/distinfo rust-1.53.0-aarch64-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-1.53.0-aarch64_be-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-1.53.0-arm-unknown-linux-gnueabihf.tar.gz
./lang/rust/distinfo rust-1.53.0-armv7-unknown-linux-gnueabihf.tar.gz
./lang/rust/distinfo rust-1.53.0-i686-unknown-linux-gnu.tar.gz
./lang/rust/distinfo rust-1.53.0-powerpc-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-1.53.0-powerpc-unknown-netbsd90.tar.gz
./lang/rust/distinfo rust-1.53.0-sparc64-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-1.53.0-x86_64-apple-darwin.tar.gz
./lang/rust/distinfo rust-1.53.0-x86_64-unknown-freebsd.tar.gz
./lang/rust/distinfo rust-1.53.0-x86_64-unknown-illumos.tar.gz
./lang/rust/distinfo rust-1.53.0-x86_64-unknown-linux-gnu.tar.gz
./lang/rust/distinfo rust-std-1.53.0-aarch64-apple-darwin.tar.gz
./lang/rust/distinfo rust-std-1.53.0-aarch64-unknown-linux-gnu.tar.gz
./lang/rust/distinfo rust-std-1.53.0-aarch64-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-std-1.53.0-aarch64_be-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-std-1.53.0-arm-unknown-linux-gnueabihf.tar.gz
./lang/rust/distinfo rust-std-1.53.0-armv7-unknown-linux-gnueabihf.tar.gz
./lang/rust/distinfo rust-std-1.53.0-i686-unknown-linux-gnu.tar.gz
./lang/rust/distinfo rust-std-1.53.0-powerpc-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-std-1.53.0-powerpc-unknown-netbsd90.tar.gz
./lang/rust/distinfo rust-std-1.53.0-sparc64-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-std-1.53.0-x86_64-apple-darwin.tar.gz
./lang/rust/distinfo rust-std-1.53.0-x86_64-unknown-freebsd.tar.gz
./lang/rust/distinfo rust-std-1.53.0-x86_64-unknown-linux-gnu.tar.gz
./lang/smlnj11072/distinfo smlnj-110.72/boot.ppc-unix.tgz
./lang/smlnj11072/distinfo smlnj-110.72/boot.sparc-unix.tgz
./lang/ghc84/distinfo ghc-8.0.2-boot-x86_64-unknown-solaris2.tar.xz
./lang/ghc84/distinfo ghc-8.4.4-boot-i386-unknown-freebsd.tar.xz
./lang/ghc84/distinfo ghc-8.4.4-boot-x86_64-apple-darwin.tar.xz
./lang/ghc84/distinfo ghc-8.4.4-boot-x86_64-unknown-freebsd.tar.xz
./lang/ghc7/distinfo ghc-7.10.3-boot-i386-unknown-freebsd.tar.xz
./lang/ghc7/distinfo ghc-7.6.3-boot-i386-unknown-solaris2.tar.xz
./lang/ghc7/distinfo ghc-7.6.3-boot-powerpc-apple-darwin.tar.xz
./lang/ghc7/distinfo ghc-7.6.3-boot-x86_64-unknown-solaris2.tar.xz
./lang/ghc90/distinfo ghc-8.10.4-boot-x86_64-unknown-solaris2.tar.xz
./lang/ghc90/distinfo ghc-9.0.1-boot-aarch64-unknown-netbsd.tar.xz
./lang/ghc90/distinfo ghc-9.0.1-boot-i386-unknown-freebsd.tar.xz
./lang/ghc90/distinfo ghc-9.0.1-boot-x86_64-apple-darwin.tar.xz
./lang/ghc90/distinfo ghc-9.0.1-boot-x86_64-unknown-freebsd.tar.xz
./lang/openjdk8/distinfo openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
./lang/openjdk8/distinfo openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
./lang/openjdk8/distinfo openjdk7/bootstrap-jdk-1.8.181-netbsd-8-aarch64-20180917.tar.xz
./lang/openjdk8/distinfo openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.6-amd64-20140719.tar.bz2
./lang/openjdk8/distinfo openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
./lang/go-bin/distinfo go1.14.2.darwin-amd64.tar.gz
./lang/go-bin/distinfo go1.14.2.linux-386.tar.gz
./lang/go-bin/distinfo go1.14.2.linux-amd64.tar.gz
./lang/go-bin/distinfo go1.14.2.linux-arm64.tar.gz
./lang/go-bin/distinfo go1.14.2.linux-armv6l.tar.gz
./lang/go-bin/distinfo go1.14.2.netbsd-arm64.tar.gz
./lang/go-bin/distinfo go1.16beta1.darwin-arm64.tar.gz
./lang/gcc6-aux/distinfo ada-bootstrap.i386.freebsd.100B.tar.bz2
./lang/gcc6-aux/distinfo ada-bootstrap.x86_64.dragonfly.41.tar.bz2
./lang/gcc6-aux/distinfo ada-bootstrap.x86_64.freebsd.100B.tar.bz2
./lang/gcc6-aux/distinfo ada-bootstrap.x86_64.freebsd.84.tar.bz2
./lang/gcc6-aux/distinfo ada-bootstrap.x86_64.solaris.511.tar.bz2
./lang/ghc810/distinfo ghc-8.8.4-boot-x86_64-unknown-solaris2.tar.xz
./lang/sun-jre7/distinfo UnlimitedJCEPolicyJDK7.zip
./lang/sun-jre7/distinfo jre-7u80-linux-x64.tar.gz
./lang/sun-jre7/distinfo jre-7u80-solaris-i586.tar.gz
./lang/sun-jre7/distinfo jre-7u80-solaris-x64.tar.gz
./lang/ghc88/distinfo ghc-8.4.4-boot-i386-unknown-freebsd.tar.xz
./lang/ghc88/distinfo ghc-8.4.4-boot-x86_64-apple-darwin.tar.xz
./lang/ghc88/distinfo ghc-8.4.4-boot-x86_64-unknown-freebsd.tar.xz
./lang/ghc88/distinfo ghc-8.4.4-boot-x86_64-unknown-solaris2.tar.xz
./lang/gcc-aux/distinfo ada-bootstrap.i386.dragonfly.36A.tar.bz2
./lang/gcc-aux/distinfo ada-bootstrap.i386.freebsd.100B.tar.bz2
./lang/gcc-aux/distinfo ada-bootstrap.i386.freebsd.84.tar.bz2
./lang/gcc-aux/distinfo ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
./lang/gcc-aux/distinfo ada-bootstrap.x86_64.freebsd.100B.tar.bz2
./lang/gcc-aux/distinfo ada-bootstrap.x86_64.freebsd.84.tar.bz2
./lang/gcc-aux/distinfo ada-bootstrap.x86_64.solaris.511.tar.bz2
./lang/gcc6/distinfo ecj-4.5.jar
./lang/openjdk11/distinfo bootstrap-jdk-1.11.0.7.10-netbsd-9-aarch64-20200509.tar.xz
./lang/sun-jdk7/distinfo jdk-7u80-linux-x64.tar.gz
./lang/sun-jdk7/distinfo jdk-7u80-solaris-i586.tar.gz
./lang/sun-jdk7/distinfo jdk-7u80-solaris-x64.tar.gz
2021-10-26 10:51:29 +00:00
nia
1361343c24 lang: Remove SHA1 hashes for distfiles 2021-10-07 14:20:45 +00:00
pho
4d74cf7192 *: Bump PKGREVISION for ghc-9.0.1 2021-05-03 19:00:52 +00:00
pho
37f83d1938 Update to hslua-1.3.0.1
1.3.0.1: Released 2021-02-06
* Fixed build with GHC 9.0.1 (Simon Jakobi).
* Improved test-suite; fixed memory leaks in some tests.
* Moved CI to GitHub Actions.

1.3.0: Released 2020-10-16
* Upgrade included Lua version to new bug-fix release 5.3.6. See the
  upstream documentation https://www.lua.org/bugs.html#5.3.5 for the
  bugs which have been fixed.
* Stop exporting c_loaded_table and c_prelad_table from module
  Foreign.Lua.Raw.Auxiliary. Both values are defined only if the flag
  HARDCODE_REG_KEYS is disabled, leading to compilation errors when
  the flag is enabled.
* Add new function peekStringy to Peek module. It allows to peek a
  value of any IsString type from an UTF-8 encoded string.
* Various improvements to the continuous integration setup, including
  cleanup of the config files, version bumps to the ghc/cabal versions
  used for testing, and running the linter in a dedicated GitHub
  Action.

1.2.0: Released 2020-08-15
* New module Foreign.Lua.Call: the module offers an alternative method
  of exposing Haskell functions to Lua. The focus is on
  maintainability: types and marshaling methods are made explicit; the
  possibility of adding documentation and parameter names improves
  error messages and allows for automatic documentation extraction.

  Work on this module is ongoing; the interface is likely to
  change. Suggestions and feedback are welcome.
* New types Module, Field, and new functions registerModule,
  preloadModule, pushModule, and render exported from
  Foreign.Lua.Module: this builds on the new Call module and allows
  the creation of documented modules as well as automatic generation
  of Markdown-formatted module documentation.
* Export new items nth and top from Foreign.Lua.Core and
  Foreign.Lua. They are short-hands for nthFromTop and stackTop.
* Performance improvements: Calling of Lua functions and creation of
  Haskell data wrapping userdata has been sped up by about 10%. This
  is mostly due to using of previously missed optimization
  opportunities.
* All foreign imports have been moved to into the new Foreign.Lua.Raw
  module. This module will replace the current Foreign.Lua.Core module
  in the future and will be distributed as a separate package (likely
  starting with the 2.0 release); the remaining parts of the current
  Core module will be promoted one level in the module hierarchy.
* The Raw module can be used whenever the full power of HsLua is not
  needed.
* Error-signaling of API wrapper functions has been changed: instead
  of returning special integer values, functions now take an
  additional pointer argument, which is set to the status result of
  the computation.
* The Failable type in Core.Error is no longer needed and has been
  removed.
* CI builds now include GHC 8.8 and GHC 8.10, ensuring that all GHC
  8.* versions are supported.

1.1.2: Released 2020-06-27
* Revert signature of function pushList to it's proper 1.1 value. This
  fixes a mistake which caused the 1.1.1 release to be in violation of
  the PVP versioning policy.
* Module Foreign.Lua.Peek: add function pushKeyValuePairs (Alex
  Loomis).

1.1.1: Released 2020-06-02

WARNING: This version does not conform to the PVP versioning policy,
due to a unintended signature change of function pushList. It is
recommended not to use this version.

* New module Foreign.Lua.Push: provides functions which marshal and
  push Haskell values onto Lua's stack.
* Most functions in Foreign.Lua.Types.Pushable are now defined using
  functions from this module.
* New module Foreign.Lua.Peek: provides functions which unmarshal and
  retrieve Haskell values from Lua's stack. Contrary to peek from
  Foreign.Lua.Types.Peekable, the peeker functions in this module will
  never throw errors, but use an Either type to signal retrieval
  failure.
* The error type PeekError should not be considered final and will
  likely be subject to change in later versions.
* Module Foreign.Lua.Utf8: never throw errors when decoding UTF-8
  strings. Invalid UTF-8 input bytes no longer cause exceptions, but
  are replaced with the Unicode replacement character U+FFFD.
* Fixed missing and faulty Haddock documentation.
* Fixed a bug which caused unnecessary use of strings to represent
  floating point numbers under certain configurations.

1.1.0: Released 2020-03-25.

WARNING: The changes in this release are experimental. It is
recommended to skip this release unless the newly introduced features
are required.

* Allow custom error handling: conversion of Lua errors to Haskell
  exceptions and back is made configurable. Users can define their own
  exception/error handling strategies, even opening up the option to
  pass arbitrary exceptions through Lua.
  - New types exported from Foreign.Lua.Types:
    * ErrorConversion: defines the ways in which exceptions and errors
      are handled and converted.
    * LuaEnvironment: environment in which Lua computations are
      evaluated. Contains the Lua interpreter state and the error
      conversion strategy.
  - The environment of the Lua type is changed from a plain Lua State
    to the above mentioned LuaEnvironment.
  - New functions run' is exported from Foreign.Lua.Util and
    Foreign.Lua: it is analogous to run, but allows to run
    computations with a custom error conversion strategy.
  - New function runWithConverter exported from Foreign.Lua.Core.Types
    and Foreign.Lua.Core; like run', but takes a custom state.
  - New function unsafeRunWith exported from Foreign.Lua.Core.Types
    and Foreign.Lua.Core; runs a computation without proper error
    handling.
  - New function errorConversion exported from Foreign.Lua.Core.Types
    and Foreign.Lua.Core: extract the error conversion strategy from
    the Lua type.
  - New function throwErrorAsException exported from
    Foreign.Lua.Core.Error and Foreign.Lua.Core: throws a Lua error as
    Haskell exception, using the current error conversion strategy.
  - Function runWith is moved from module Foreign.Lua.Core to
    Foreign.Lua.Util.
  - The module Foreign.Lua.Utf8 is now exported.
2021-04-23 09:47:37 +00:00
rillig
15fe9894e6 hs-*: add PLIST files
These PLIST files have been autogenerated by mk/haskell.mk using
HS_UPDATE_PLIST=yes during a bulk build.  They will help to track changes
to the packages.  The Haskell packages didn't have PLIST files because
their paths contained package hashes.  These hashes are now determined by
mk/haskell.mk, which makes it easy to generate easy to read PLIST files.
2020-05-11 17:51:58 +00:00
pho
5a128c7fde Import hslua-1.0.3.2 from wip
HsLua provides bindings, wrappers, types, and helper functions to
bridge Haskell and Lua.
2020-01-15 12:40:38 +00:00