Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-hslua-objectorientation for 
openSUSE:Factory checked in at 2022-08-01 21:29:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hslua-objectorientation (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-hslua-objectorientation.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-hslua-objectorientation"

Mon Aug  1 21:29:56 2022 rev:3 rq:987046 version:2.2.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-hslua-objectorientation/ghc-hslua-objectorientation.changes
  2022-02-11 23:11:02.407228941 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-hslua-objectorientation.new.1533/ghc-hslua-objectorientation.changes
        2022-08-01 21:30:04.829601646 +0200
@@ -1,0 +2,28 @@
+Sun Jun 19 11:49:02 UTC 2022 - Peter Simons <[email protected]>
+
+- Update hslua-objectorientation to version 2.2.1.
+  ## hslua-objectorientation-2.2.1
+
+  Released 2022-06-19.
+
+  -   Require hslua-core-2.2.1.
+
+  -   Require hslua-marshalling-2.2.1.
+
+  ## hslua-objectorientation-2.2.0.1
+
+  Released 2022-05-20.
+
+  -   Relax upper bound for mtl, allow mtl-2.3.
+
+-------------------------------------------------------------------
+Sat Feb 19 14:38:24 UTC 2022 - Peter Simons <[email protected]>
+
+- Update hslua-objectorientation to version 2.2.0.
+  ## hslua-objectorientation-2.2.0
+
+  Released 2022-02-19.
+
+  -   Require version 2.2 of hslua-core and hslua-marshalling.
+
+-------------------------------------------------------------------

Old:
----
  hslua-objectorientation-2.1.0.tar.gz

New:
----
  hslua-objectorientation-2.2.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-hslua-objectorientation.spec ++++++
--- /var/tmp/diff_new_pack.qOwEri/_old  2022-08-01 21:30:05.473603493 +0200
+++ /var/tmp/diff_new_pack.qOwEri/_new  2022-08-01 21:30:05.481603516 +0200
@@ -19,7 +19,7 @@
 %global pkg_name hslua-objectorientation
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        2.1.0
+Version:        2.2.1
 Release:        0
 Summary:        Object orientation tools for HsLua
 License:        MIT

++++++ hslua-objectorientation-2.1.0.tar.gz -> 
hslua-objectorientation-2.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hslua-objectorientation-2.1.0/CHANGELOG.md 
new/hslua-objectorientation-2.2.1/CHANGELOG.md
--- old/hslua-objectorientation-2.1.0/CHANGELOG.md      2001-09-09 
03:46:40.000000000 +0200
+++ new/hslua-objectorientation-2.2.1/CHANGELOG.md      2001-09-09 
03:46:40.000000000 +0200
@@ -2,6 +2,26 @@
 
 `hslua-objectorientation` uses [PVP Versioning][].
 
+## hslua-objectorientation-2.2.1
+
+Released 2022-06-19.
+
+-   Require hslua-core-2.2.1.
+
+-   Require hslua-marshalling-2.2.1.
+
+## hslua-objectorientation-2.2.0.1
+
+Released 2022-05-20.
+
+-   Relax upper bound for mtl, allow mtl-2.3.
+
+## hslua-objectorientation-2.2.0
+
+Released 2022-02-19.
+
+-   Require version 2.2 of hslua-core and hslua-marshalling.
+
 ## hslua-objectorientation-2.1.0
 
 Released 29-01-2022.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hslua-objectorientation-2.1.0/LICENSE 
new/hslua-objectorientation-2.2.1/LICENSE
--- old/hslua-objectorientation-2.1.0/LICENSE   2001-09-09 03:46:40.000000000 
+0200
+++ new/hslua-objectorientation-2.2.1/LICENSE   2001-09-09 03:46:40.000000000 
+0200
@@ -1,4 +1,4 @@
-Copyright ?? 1994-2020 Lua.org, PUC-Rio.
+Copyright ?? 1994-2022 Lua.org, PUC-Rio.
 Copyright ?? 2007-2012 Gracjan Polak
 Copyright ?? 2012-2015 ??mer Sinan A??acan
 Copyright ?? 2016-2022 Albert Krewinkel
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/hslua-objectorientation-2.1.0/hslua-objectorientation.cabal 
new/hslua-objectorientation-2.2.1/hslua-objectorientation.cabal
--- old/hslua-objectorientation-2.1.0/hslua-objectorientation.cabal     
2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-objectorientation-2.2.1/hslua-objectorientation.cabal     
2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
 cabal-version:       2.2
 name:                hslua-objectorientation
-version:             2.1.0
+version:             2.2.1
 synopsis:            Object orientation tools for HsLua
 description:         Expose Haskell objects to Lua with an object oriented
                      interface.
@@ -21,8 +21,8 @@
                    , GHC == 8.6.5
                    , GHC == 8.8.4
                    , GHC == 8.10.7
-                   , GHC == 9.0.1
-                   , GHC == 9.2.1
+                   , GHC == 9.0.2
+                   , GHC == 9.2.3
 
 source-repository head
   type:                git
@@ -35,9 +35,9 @@
                      , bytestring        >= 0.10.2 && < 0.12
                      , containers        >= 0.5.9  && < 0.7
                      , exceptions        >= 0.8    && < 0.11
-                     , hslua-core        >= 2.1    && < 2.2
-                     , hslua-marshalling >= 2.1    && < 2.2
-                     , mtl               >= 2.2    && < 2.3
+                     , hslua-core        >= 2.2.1  && < 2.3
+                     , hslua-marshalling >= 2.2.1  && < 2.3
+                     , mtl               >= 2.2    && < 2.4
                      , text              >= 1.2    && < 2.1
   ghc-options:         -Wall
                        -Wincomplete-record-updates
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/hslua-objectorientation-2.1.0/src/HsLua/ObjectOrientation.hs 
new/hslua-objectorientation-2.2.1/src/HsLua/ObjectOrientation.hs
--- old/hslua-objectorientation-2.1.0/src/HsLua/ObjectOrientation.hs    
2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-objectorientation-2.2.1/src/HsLua/ObjectOrientation.hs    
2001-09-09 03:46:40.000000000 +0200
@@ -38,8 +38,7 @@
   , AliasIndex (..)
   ) where
 
-import Control.Monad.Except
-import Foreign.Ptr (FunPtr)
+import Control.Monad ((<$!>), forM_, void, when)
 import Data.Maybe (mapMaybe)
 import Data.Map (Map)
 #if !MIN_VERSION_base(4,12,0)
@@ -48,6 +47,7 @@
 import Data.String (IsString (..))
 import Data.Text (Text)
 import Data.Void (Void)
+import Foreign.Ptr (FunPtr)
 import HsLua.Core as Lua
 import HsLua.Marshalling
 import HsLua.ObjectOrientation.Operation
@@ -385,7 +385,7 @@
 -- | Pushes a userdata value of the given type.
 pushUD :: LuaError e => UDTypeWithList e fn a itemtype -> a -> LuaE e ()
 pushUD ty x = do
-  newhsuserdata x
+  newhsuserdatauv x 1
   pushUDMetatable ty
   setmetatable (nth 2)
   -- add list as value in caching table
@@ -394,18 +394,18 @@
     Just ((_, toList), _) -> do
       newtable
       pushName "__lazylist"
-      newhsuserdata (toList x)
+      newhsuserdatauv (toList x) 1
       void (newudmetatable lazyListStateName)
       setmetatable (nth 2)
       rawset (nth 3)
-      setuservalue (nth 2)
+      void (setiuservalue (nth 2) 1)
 
 -- | Retrieves a userdata value of the given type.
 peekUD :: LuaError e => UDTypeWithList e fn a itemtype -> Peeker e a
 peekUD ty idx = do
   let name = udName ty
   x <- reportValueOnFailure name (`fromuserdata` name) idx
-  (`lastly` pop 1) $ liftLua (getuservalue idx) >>= \case
+  (`lastly` pop 1) $ liftLua (getiuservalue idx 1) >>= \case
     TypeTable -> do
       -- set list
       xWithList <- maybe pure setList (udListSpec ty) x

Reply via email to