From f8fe83e3408055f46955f208ae084320d94bf9860d1fe04794336d126d92365a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Thu, 20 Aug 2015 06:26:49 +0000 Subject: [PATCH] Accepting request 322650 from devel:languages:haskell:lts - update to 0.4.0 * pushstring and tostring now uses ByteString instead of [Char]. * StackValue [Char] instance is removed, StackValue ByteString is added. * StackValue a => StackValue [a] instance is added. It pushes a Lua array to the stack. pushlist, islist and tolist functions are added. * Type errors in Haskell functions now propagated differently. See the Scripting.Lua documentation for detailed explanation. This should fix segfaults reported several times. * lua_error function is removed, it's never safe to call in Haskell. * Pkgconf-based setup removed. Cabal is now using extra-libraries to link with Lua. * luajit flag is added to link hslua with LuaJIT. OBS-URL: https://build.opensuse.org/request/show/322650 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hslua?expand=0&rev=11 --- ghc-hslua.changes | 14 ++++++++++++++ ghc-hslua.spec | 2 +- hslua-0.3.13.tar.gz | 3 --- hslua-0.4.0.tar.gz | 3 +++ 4 files changed, 18 insertions(+), 4 deletions(-) delete mode 100644 hslua-0.3.13.tar.gz create mode 100644 hslua-0.4.0.tar.gz diff --git a/ghc-hslua.changes b/ghc-hslua.changes index 57cd9cb..25f278e 100644 --- a/ghc-hslua.changes +++ b/ghc-hslua.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Aug 7 07:36:15 UTC 2015 - mimi.vx@gmail.com + +- update to 0.4.0 +* pushstring and tostring now uses ByteString instead of [Char]. +* StackValue [Char] instance is removed, StackValue ByteString is added. +* StackValue a => StackValue [a] instance is added. It pushes a Lua array to the stack. pushlist, + islist and tolist functions are added. +* Type errors in Haskell functions now propagated differently. See the Scripting.Lua + documentation for detailed explanation. This should fix segfaults reported several times. +* lua_error function is removed, it's never safe to call in Haskell. +* Pkgconf-based setup removed. Cabal is now using extra-libraries to link with Lua. +* luajit flag is added to link hslua with LuaJIT. + ------------------------------------------------------------------- Tue Apr 21 11:57:18 UTC 2015 - mimi.vx@gmail.com diff --git a/ghc-hslua.spec b/ghc-hslua.spec index e89dc68..fdd45b4 100644 --- a/ghc-hslua.spec +++ b/ghc-hslua.spec @@ -19,7 +19,7 @@ %global pkg_name hslua Name: ghc-hslua -Version: 0.3.13 +Version: 0.4.0 Release: 0 Summary: A Lua language interpreter embedding in Haskell License: MIT diff --git a/hslua-0.3.13.tar.gz b/hslua-0.3.13.tar.gz deleted file mode 100644 index dd3d423..0000000 --- a/hslua-0.3.13.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e95774d21ac4378e799af4b8dce9068bfedd3109bf13b717d9ecb5817f86430a -size 128230 diff --git a/hslua-0.4.0.tar.gz b/hslua-0.4.0.tar.gz new file mode 100644 index 0000000..0973258 --- /dev/null +++ b/hslua-0.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77a865a3258656c2536c154d18ac38873a371685fde6ba03a3436f65f7bda050 +size 129883