ALUT 2.1.0.2 → 2.2.0.0
raw patch · 19 files changed
+38/−39 lines, 19 filesdep +StateVardep −OpenGLdep ~basePVP ok
version bump matches the API change (PVP)
Dependencies added: StateVar
Dependencies removed: OpenGL
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- ALUT.cabal +3/−2
- Sound/ALUT.hs +3/−3
- Sound/ALUT/Config.hs +2/−2
- Sound/ALUT/Constants.hs +3/−3
- Sound/ALUT/Errors.hs +3/−3
- Sound/ALUT/Initialization.hs +3/−3
- Sound/ALUT/Loaders.hs +4/−5
- Sound/ALUT/Sleep.hs +3/−3
- Sound/ALUT/Version.hs +4/−5
- examples/Basic/HelloWorld.hs +1/−1
- examples/Basic/OpenALInfo.hs +1/−1
- examples/Basic/PlayFile.hs +1/−1
- examples/TestSuite/TestErrorStuff.hs +1/−1
- examples/TestSuite/TestFileLoader.hs +1/−1
- examples/TestSuite/TestMemoryLoader.hs +1/−1
- examples/TestSuite/TestVersion.hs +1/−1
- examples/TestSuite/TestWaveforms.hs +1/−1
- include/HsALUT.h +1/−1
- include/HsALUT.h.in +1/−1
ALUT.cabal view
@@ -1,5 +1,5 @@ name: ALUT-version: 2.1.0.2+version: 2.2.0.0 license: BSD3 license-file: LICENSE maintainer: Sven Panne <sven.panne@aedion.de>@@ -39,5 +39,6 @@ include-dirs: include includes: HsALUT.h install-includes: HsALUT.h-build-depends: base, OpenGL, OpenAL+ghc-options: -Wall+build-depends: base >= 3 && < 5, StateVar, OpenAL extensions: CPP, ForeignFunctionInterface
Sound/ALUT.hs view
@@ -1,11 +1,11 @@ -------------------------------------------------------------------------------- -- | -- Module : Sound.ALUT--- Copyright : (c) Sven Panne 2005--- License : BSD-style (see the file libraries/ALUT/LICENSE)+-- Copyright : (c) Sven Panne 2005-2009+-- License : BSD-style (see the file LICENSE) -- -- Maintainer : sven.panne@aedion.de--- Stability : provisional+-- Stability : stable -- Portability : portable -- -- A Haskell binding for the OpenAL Utility Toolkit, which makes managing of
Sound/ALUT/Config.hs view
@@ -3,10 +3,10 @@ -- | -- Module : Sound.ALUT.Config -- Copyright : (c) Sven Panne 2006--- License : BSD-style (see the file libraries/ALUT/LICENSE)+-- License : BSD-style (see the file LICENSE) -- -- Maintainer : sven.panne@aedion.de--- Stability : provisional+-- Stability : stable -- Portability : portable -- -- This purely internal module defines the platform-specific stuff which has
Sound/ALUT/Constants.hs view
@@ -2,11 +2,11 @@ -------------------------------------------------------------------------------- -- | -- Module : Sound.ALUT.Constants--- Copyright : (c) Sven Panne 2005--- License : BSD-style (see the file libraries/ALUT/LICENSE)+-- Copyright : (c) Sven Panne 2005-2009+-- License : BSD-style (see the file LICENSE) -- -- Maintainer : sven.panne@aedion.de--- Stability : provisional+-- Stability : stable -- Portability : portable -- --------------------------------------------------------------------------------
Sound/ALUT/Errors.hs view
@@ -2,11 +2,11 @@ -------------------------------------------------------------------------------- -- | -- Module : Sound.ALUT.Errors--- Copyright : (c) Sven Panne 2005--- License : BSD-style (see the file libraries/ALUT/LICENSE)+-- Copyright : (c) Sven Panne 2005-2009+-- License : BSD-style (see the file LICENSE) -- -- Maintainer : sven.panne@aedion.de--- Stability : provisional+-- Stability : stable -- Portability : portable -- --------------------------------------------------------------------------------
Sound/ALUT/Initialization.hs view
@@ -1,11 +1,11 @@ -------------------------------------------------------------------------------- -- | -- Module : Sound.ALUT.Initialization--- Copyright : (c) Sven Panne 2005--- License : BSD-style (see the file libraries/ALUT/LICENSE)+-- Copyright : (c) Sven Panne 2005-2009+-- License : BSD-style (see the file LICENSE) -- -- Maintainer : sven.panne@aedion.de--- Stability : provisional+-- Stability : stable -- Portability : portable -- --------------------------------------------------------------------------------
Sound/ALUT/Loaders.hs view
@@ -1,11 +1,11 @@ -------------------------------------------------------------------------------- -- | -- Module : Sound.ALUT.Loaders--- Copyright : (c) Sven Panne 2005--- License : BSD-style (see the file libraries/ALUT/LICENSE)+-- Copyright : (c) Sven Panne 2005-2009+-- License : BSD-style (see the file LICENSE) -- -- Maintainer : sven.panne@aedion.de--- Stability : provisional+-- Stability : stable -- Portability : portable -- --------------------------------------------------------------------------------@@ -16,12 +16,11 @@ bufferMIMETypes, bufferDataMIMETypes ) where +import Data.StateVar import Foreign.C.String ( peekCString, withCString ) import Foreign.Marshal.Alloc ( alloca ) import Foreign.Storable ( Storable(peek) ) import Foreign.Ptr ( Ptr )-import Graphics.Rendering.OpenGL.GL.StateVar (- GettableStateVar, makeGettableStateVar ) import Sound.ALUT.Config ( alut_CreateBufferFromFile, alut_CreateBufferFromFileImage, alut_CreateBufferHelloWorld, alut_CreateBufferWaveform,
Sound/ALUT/Sleep.hs view
@@ -1,11 +1,11 @@ -------------------------------------------------------------------------------- -- | -- Module : Sound.ALUT.Sleep--- Copyright : (c) Sven Panne 2005--- License : BSD-style (see the file libraries/ALUT/LICENSE)+-- Copyright : (c) Sven Panne 2005-2009+-- License : BSD-style (see the file LICENSE) -- -- Maintainer : sven.panne@aedion.de--- Stability : provisional+-- Stability : stable -- Portability : portable -- --------------------------------------------------------------------------------
Sound/ALUT/Version.hs view
@@ -1,11 +1,11 @@ -------------------------------------------------------------------------------- -- | -- Module : Sound.ALUT.Version--- Copyright : (c) Sven Panne 2005--- License : BSD-style (see the file libraries/ALUT/LICENSE)+-- Copyright : (c) Sven Panne 2005-2009+-- License : BSD-style (see the file LICENSE) -- -- Maintainer : sven.panne@aedion.de--- Stability : provisional+-- Stability : stable -- Portability : portable -- --------------------------------------------------------------------------------@@ -15,8 +15,7 @@ ) where import Control.Monad ( liftM2 )-import Graphics.Rendering.OpenGL.GL.StateVar (- GettableStateVar, makeGettableStateVar )+import Data.StateVar import Sound.OpenAL.AL.BasicTypes ( ALint ) import Sound.ALUT.Config ( alut_GetMajorVersion, alut_GetMinorVersion ) import Sound.ALUT.Constants ( alut_API_MAJOR_VERSION, alut_API_MINOR_VERSION )
examples/Basic/HelloWorld.hs view
@@ -1,6 +1,6 @@ {- HelloWorld.hs (adapted from hello_world.c in freealut)- Copyright (c) Sven Panne 2005 <sven.panne@aedion.de>+ Copyright (c) Sven Panne 2005-2009 <sven.panne@aedion.de> This file is part of the ALUT package & distributed under a BSD-style license See the file libraries/ALUT/LICENSE -}
examples/Basic/OpenALInfo.hs view
@@ -1,6 +1,6 @@ {- OpenALInfo.hs (modeled after OpenGL's glxinfo)- Copyright (c) Sven Panne 2005 <sven.panne@aedion.de>+ Copyright (c) Sven Panne 2005-2009 <sven.panne@aedion.de> This file is part of the ALUT package & distributed under a BSD-style license See the file libraries/ALUT/LICENSE -}
examples/Basic/PlayFile.hs view
@@ -1,6 +1,6 @@ {- PlayFile.hs (adapted from playfile.c in freealut)- Copyright (c) Sven Panne 2005 <sven.panne@aedion.de>+ Copyright (c) Sven Panne 2005-2009 <sven.panne@aedion.de> This file is part of the ALUT package & distributed under a BSD-style license See the file libraries/ALUT/LICENSE -}
examples/TestSuite/TestErrorStuff.hs view
@@ -1,6 +1,6 @@ {- TestErrorStuff.hs (adapted from test_errorstuff.c in freealut)- Copyright (c) Sven Panne 2005 <sven.panne@aedion.de>+ Copyright (c) Sven Panne 2005-2009 <sven.panne@aedion.de> This file is part of the ALUT package & distributed under a BSD-style license See the file libraries/ALUT/LICENSE -}
examples/TestSuite/TestFileLoader.hs view
@@ -1,6 +1,6 @@ {- TestFileLoader.hs (adapted from test_fileloader.c in freealut)- Copyright (c) Sven Panne 2005 <sven.panne@aedion.de>+ Copyright (c) Sven Panne 2005-2009 <sven.panne@aedion.de> This file is part of the ALUT package & distributed under a BSD-style license See the file libraries/ALUT/LICENSE -}
examples/TestSuite/TestMemoryLoader.hs view
@@ -1,6 +1,6 @@ {- TestMemoryLoader.hs (adapted from test_memoryloader.c in freealut)- Copyright (c) Sven Panne 2005 <sven.panne@aedion.de>+ Copyright (c) Sven Panne 2005-2009 <sven.panne@aedion.de> This file is part of the ALUT package & distributed under a BSD-style license See the file libraries/ALUT/LICENSE -}
examples/TestSuite/TestVersion.hs view
@@ -1,6 +1,6 @@ {- TestVersion.hs (adapted from test_version.c in freealut)- Copyright (c) Sven Panne 2005 <sven.panne@aedion.de>+ Copyright (c) Sven Panne 2005-2009 <sven.panne@aedion.de> This file is part of the ALUT package & distributed under a BSD-style license See the file libraries/ALUT/LICENSE -}
examples/TestSuite/TestWaveforms.hs view
@@ -1,6 +1,6 @@ {- TestWaveforms.hs (adapted from test_waveforms.c in freealut)- Copyright (c) Sven Panne 2005 <sven.panne@aedion.de>+ Copyright (c) Sven Panne 2005-2009 <sven.panne@aedion.de> This file is part of the ALUT package & distributed under a BSD-style license See the file libraries/ALUT/LICENSE -}
include/HsALUT.h view
@@ -2,7 +2,7 @@ /* ----------------------------------------------------------------------------- * * Module : C support for Sound.ALUT- * Copyright : (c) Sven Panne 2005+ * Copyright : (c) Sven Panne 2005-2009 * License : BSD-style (see the file libraries/ALUT/LICENSE) * * Maintainer : sven.panne@aedion.de
include/HsALUT.h.in view
@@ -1,7 +1,7 @@ /* ----------------------------------------------------------------------------- * * Module : C support for Sound.ALUT- * Copyright : (c) Sven Panne 2005+ * Copyright : (c) Sven Panne 2005-2009 * License : BSD-style (see the file libraries/ALUT/LICENSE) * * Maintainer : sven.panne@aedion.de