packages feed

luminance 0.6.0.3 → 0.6.0.5

raw patch · 22 files changed

+77/−24 lines, 22 filesdep ~semigroupsPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: semigroups

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,3 +1,11 @@+### 0.6.0.5++- semigroups-0.18 support.++### 0.6.0.4++- Extensions are now set per module.+ ### 0.6.0.3  - Updated .cabal documentation.
luminance.cabal view
@@ -1,5 +1,5 @@ name:                luminance-version:             0.6.0.3+version:             0.6.0.5 synopsis:            Type-safe, type-level and stateless graphics framework description:         This package exposes several modules to work with /GPUs/ in a stateless and                      type-safe way. Currently, it uses OpenGL as backend hardware technology but@@ -97,27 +97,6 @@                      , Graphics.Luminance.Core.Texture3D                      , Graphics.Luminance.Core.Vertex -  default-extensions:  DataKinds-                     , DeriveFoldable-                     , DeriveFunctor-                     , DeriveGeneric-                     , FlexibleContexts-                     , FlexibleInstances-                     , GADTs-                     , GeneralizedNewtypeDeriving-                     , MultiParamTypeClasses-                     , MultiWayIf-                     , PolyKinds-                     , RankNTypes-                     , ScopedTypeVariables-                     , StandaloneDeriving-                     , TupleSections-                     , TypeFamilies-                     , TypeOperators--  other-extensions:    CPP-                     , UndecidableInstances-   build-depends:       base           >= 4.8  && < 4.9                      , containers     >= 0.5  && < 0.6                      , contravariant  >= 1.3  && < 1.4@@ -126,7 +105,7 @@                      , linear         >= 1.19 && < 1.21                      , mtl            >= 2.2  && < 2.3                      , resourcet      >= 1.1  && < 1.2-                     , semigroups     >= 0.16 && < 0.18+                     , semigroups     >= 0.16 && < 0.19                      , transformers   >= 0.4  && < 0.5                      , vector         >= 0.11 && < 0.12                      , void           >= 0.7  && < 0.8
src/Graphics/Luminance/Core/Batch.hs view
@@ -1,3 +1,5 @@+{-# LANGUAGE ExistentialQuantification #-}+ ----------------------------------------------------------------------------- -- | -- Copyright   : (C) 2015 Dimitri Sabadie
src/Graphics/Luminance/Core/Buffer.hs view
@@ -1,3 +1,6 @@+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE ScopedTypeVariables #-}+ ----------------------------------------------------------------------------- -- | -- Copyright   : (C) 2015 Dimitri Sabadie
src/Graphics/Luminance/Core/Cmd.hs view
@@ -1,3 +1,5 @@+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+ ----------------------------------------------------------------------------- -- | -- Copyright   : (C) 2015 Dimitri Sabadie
src/Graphics/Luminance/Core/Cubemap.hs view
@@ -1,3 +1,6 @@+{-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE TypeFamilies #-}+ ----------------------------------------------------------------------------- -- | -- Copyright   : (C) 2015 Dimitri Sabadie
src/Graphics/Luminance/Core/CubemapArray.hs view
@@ -1,3 +1,8 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE KindSignatures #-}+{-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE TypeFamilies #-}+ ----------------------------------------------------------------------------- -- | -- Copyright   : (C) 2015 Dimitri Sabadie
src/Graphics/Luminance/Core/Framebuffer.hs view
@@ -1,4 +1,10 @@+{-# LANGUAGE FlexibleInstances #-}+{-# LANGUAGE MultiWayIf #-}+{-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE UndecidableInstances #-}+{-# LANGUAGE TupleSections #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE TypeOperators #-}  ----------------------------------------------------------------------------- -- |
src/Graphics/Luminance/Core/Geometry.hs view
@@ -1,3 +1,5 @@+{-# LANGUAGE ScopedTypeVariables #-}+ ----------------------------------------------------------------------------- -- | -- Copyright   : (C) 2015 Dimitri Sabadie
src/Graphics/Luminance/Core/Pixel.hs view
@@ -1,3 +1,6 @@+{-# LANGUAGE FlexibleInstances #-}+{-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE TypeFamilies #-} {-# LANGUAGE UndecidableInstances #-}  -----------------------------------------------------------------------------
src/Graphics/Luminance/Core/Shader/Program.hs view
@@ -1,3 +1,8 @@+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE MultiWayIf #-}+{-# LANGUAGE Rank2Types #-}+{-# LANGUAGE ScopedTypeVariables #-}+ ----------------------------------------------------------------------------- -- | -- Copyright   : (C) 2015 Dimitri Sabadie
src/Graphics/Luminance/Core/Shader/Stage.hs view
@@ -1,3 +1,5 @@+{-# LANGUAGE MultiWayIf #-}+ ----------------------------------------------------------------------------- -- | -- Copyright   : (C) 2015 Dimitri Sabadie
src/Graphics/Luminance/Core/Shader/Uniform.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE DataKinds #-}+{-# LANGUAGE FlexibleInstances #-}  ----------------------------------------------------------------------------- -- |
src/Graphics/Luminance/Core/Shader/UniformBlock.hs view
@@ -1,5 +1,9 @@ {-# LANGUAGE DefaultSignatures #-} {-# LANGUAGE DeriveTraversable #-}+{-# LANGUAGE FlexibleContexts #-}+{-# LANGUAGE FlexibleInstances #-}+{-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE TypeOperators #-}  ----------------------------------------------------------------------------- -- |
src/Graphics/Luminance/Core/Texture.hs view
@@ -1,3 +1,6 @@+{-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE TypeFamilies #-}+ ----------------------------------------------------------------------------- -- | -- Copyright   : (C) 2015 Dimitri Sabadie
src/Graphics/Luminance/Core/Texture1D.hs view
@@ -1,3 +1,6 @@+{-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE TypeFamilies #-}+ ----------------------------------------------------------------------------- -- | -- Copyright   : (C) 2015 Dimitri Sabadie
src/Graphics/Luminance/Core/Texture1DArray.hs view
@@ -1,3 +1,7 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE TypeFamilies #-}+ ----------------------------------------------------------------------------- -- | -- Copyright   : (C) 2015 Dimitri Sabadie
src/Graphics/Luminance/Core/Texture2D.hs view
@@ -1,3 +1,6 @@+{-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE TypeFamilies #-}+ ----------------------------------------------------------------------------- -- | -- Copyright   : (C) 2015 Dimitri Sabadie
src/Graphics/Luminance/Core/Texture2DArray.hs view
@@ -1,3 +1,7 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE TypeFamilies #-}+ ----------------------------------------------------------------------------- -- | -- Copyright   : (C) 2015 Dimitri Sabadie
src/Graphics/Luminance/Core/Texture3D.hs view
@@ -1,3 +1,6 @@+{-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE TypeFamilies #-}+ ----------------------------------------------------------------------------- -- | -- Copyright   : (C) 2015 Dimitri Sabadie
src/Graphics/Luminance/Core/Tuple.hs view
@@ -1,3 +1,8 @@+{-# LANGUAGE DeriveFunctor #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE TypeOperators #-}+ ----------------------------------------------------------------------------- -- | -- Copyright   : (C) 2015 Dimitri Sabadie
src/Graphics/Luminance/Core/Vertex.hs view
@@ -1,4 +1,7 @@ {-# LANGUAGE OverloadedLists #-}+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE TypeOperators #-}  ----------------------------------------------------------------------------- -- |@@ -57,7 +60,7 @@   vertexGLType _ = GL_UNSIGNED_INT  -- |A vertex has to implement 'Vertex' in order to be used as-is. That typeclass is closed, so you--- you cannot add anymore instances. However, you shouldn’t need to since you can use the already+-- cannot add anymore instances. However, you shouldn’t need to since you can use the already -- provided types to build up your vertex type. class Vertex v where   -- @setFormatV vid index offset proxy@ sets the format of a vertex type. The returned value is the