openSUSE Commits
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
May 2016
- 1 participants
- 1722 discussions
Hello community,
here is the log from the commit of package filezilla for openSUSE:Factory checked in at 2016-05-31 12:24:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/filezilla (Old)
and /work/SRC/openSUSE:Factory/.filezilla.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "filezilla"
Changes:
--------
--- /work/SRC/openSUSE:Factory/filezilla/filezilla.changes 2016-05-14 12:23:33.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.filezilla.new/filezilla.changes 2016-05-31 12:24:44.000000000 +0200
@@ -1,0 +2,27 @@
+Sat May 28 09:06:13 UTC 2016 - ecsos(a)opensuse.org
+
+- update to 3.18.0
+ * Bugfixes and minor changes:
+ - Small fixes to local file search
+ - Fixed a regression introduced in 3.18.0-rc1 when formatting
+ hostnames for display
+- update to 3.18.0-rc1
+ * New features:
+ - The search functionality can now also be used to search local
+ file
+ - Reduced CPU consumption of adding files to the list of search
+ results
+ - Opening the remote context menu while holding shift allows
+ copying URLs to clipboard that include the password
+ - Added an option to the configuration file through which
+ initiating drag&drop can be disallowed
+ - Reduced memory footprint of some data structures
+ - Building FileZilla now depends on libfilezilla >= 0.5.2
+ (https://lib.filezilla-project.org/)
+ * Bugfixes and minor changes:
+ - The remote file list context menu no longer shows
+ inapplicable entries while files are being added to queue
+ - Fix date validation in filter and search conditions
+- Drop filezilla-wxstring.patch because no more compatible
+
+-------------------------------------------------------------------
Old:
----
FileZilla_3.17.0.1_src.tar.bz2
filezilla-wxstring.patch
New:
----
FileZilla_3.18.0_src.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ filezilla.spec ++++++
--- /var/tmp/diff_new_pack.EVnnzN/_old 2016-05-31 12:24:45.000000000 +0200
+++ /var/tmp/diff_new_pack.EVnnzN/_new 2016-05-31 12:24:45.000000000 +0200
@@ -17,7 +17,7 @@
Name: filezilla
-Version: 3.17.0.1
+Version: 3.18.0
Release: 0
Summary: A GUI FTP and SFTP Client
License: GPL-2.0+
@@ -28,8 +28,6 @@
Patch0: putty-no_DATE_and_TIME_.patch
# PATCH-FIX-OPENSUSE filezilla-3.5.3-buildinfo-no-date.patch
Patch1: filezilla-3.5.3-buildinfo-no-date.patch
-# PATCH-FIX-OPENSUSE filezilla-wxstring.patch
-Patch2: filezilla-wxstring.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fdupes
@@ -45,7 +43,7 @@
# filezilla-team use BuildRequires: pkgconfig(gnutls) >= 3.4.10
BuildRequires: pkgconfig(gnutls) >= 3.2.15
BuildRequires: pkgconfig(gtk+-2.0)
-BuildRequires: pkgconfig(libfilezilla) >= 0.5.0
+BuildRequires: pkgconfig(libfilezilla) >= 0.5.2
BuildRequires: pkgconfig(libidn)
BuildRequires: pkgconfig(nettle) >= 3.1
# filezilla-team use BuildRequires: pkgconfig(sqlite3) >= 3.11.1
@@ -84,7 +82,6 @@
%setup -q
%patch0
%patch1 -p1
-%patch2 -p0
# Fix invalid translation locales:
cd locales
++++++ FileZilla_3.17.0.1_src.tar.bz2 -> FileZilla_3.18.0_src.tar.bz2 ++++++
++++ 48857 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package ghc-lens-aeson for openSUSE:Factory checked in at 2016-05-31 12:24:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-lens-aeson (Old)
and /work/SRC/openSUSE:Factory/.ghc-lens-aeson.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-lens-aeson"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-lens-aeson/ghc-lens-aeson.changes 2016-01-09 23:13:46.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-lens-aeson.new/ghc-lens-aeson.changes 2016-05-31 12:24:42.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Mar 25 08:23:24 UTC 2016 - mimi.vx(a)gmail.com
+
+- relax upper bound of aeson dependency
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-lens-aeson.spec ++++++
--- /var/tmp/diff_new_pack.lHF9FJ/_old 2016-05-31 12:24:43.000000000 +0200
+++ /var/tmp/diff_new_pack.lHF9FJ/_new 2016-05-31 12:24:43.000000000 +0200
@@ -71,7 +71,7 @@
%prep
%setup -q -n %{pkg_name}-%{version}
-cabal-tweak-dep-ver aeson '< 0.10' '< 0.11'
+cabal-tweak-dep-ver aeson '< 0.10' '< 0.12'
%build
%ghc_lib_build
1
0
Hello community,
here is the log from the commit of package ghc-warp for openSUSE:Factory checked in at 2016-05-31 12:24:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-warp (Old)
and /work/SRC/openSUSE:Factory/.ghc-warp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-warp"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-warp/ghc-warp.changes 2016-01-28 17:25:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-warp.new/ghc-warp.changes 2016-05-31 12:24:41.000000000 +0200
@@ -1,0 +2,17 @@
+Sat Apr 9 18:45:52 UTC 2016 - mimi.vx(a)gmail.com
+
+- update to 3.2.6
+* Using token based APIs of http2 1.6.
+* Ignoring errors from setSocketOption
+* Added withApplication, testWithApplication, and openFreePort
+* Fixing reaper delay value of file info cache.
+
+-------------------------------------------------------------------
+Wed Feb 24 10:21:16 UTC 2016 - mimi.vx(a)gmail.com
+
+- update to 3.2.3
+* Using http2 v1.5.x which much improves the performance of HTTP/2
+* To get rid of the bottleneck of ByteString's (==), a new logic to compare header
+ names is introduced.
+
+-------------------------------------------------------------------
Old:
----
warp-3.2.2.tar.gz
New:
----
warp-3.2.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-warp.spec ++++++
--- /var/tmp/diff_new_pack.7EOOYS/_old 2016-05-31 12:24:42.000000000 +0200
+++ /var/tmp/diff_new_pack.7EOOYS/_new 2016-05-31 12:24:42.000000000 +0200
@@ -21,7 +21,7 @@
%bcond_with tests
Name: ghc-warp
-Version: 3.2.2
+Version: 3.2.6
Release: 0
Summary: A fast, light-weight web server for WAI applications
License: MIT
@@ -38,6 +38,7 @@
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-array-devel
+BuildRequires: ghc-async-devel
BuildRequires: ghc-auto-update-devel
BuildRequires: ghc-blaze-builder-devel
BuildRequires: ghc-bytestring-devel
@@ -62,13 +63,12 @@
BuildRequires: ghc-HTTP-devel
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-QuickCheck-devel
-BuildRequires: ghc-async-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-doctest-devel
BuildRequires: ghc-hspec-devel
BuildRequires: ghc-lifted-base-devel
-BuildRequires: ghc-old-locale-devel
BuildRequires: ghc-process-devel
+BuildRequires: ghc-silently-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-transformers-devel
%endif
++++++ warp-3.2.2.tar.gz -> warp-3.2.6.tar.gz ++++++
++++ 3191 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package ghc-wai for openSUSE:Factory checked in at 2016-05-31 12:24:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-wai (Old)
and /work/SRC/openSUSE:Factory/.ghc-wai.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-wai"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-wai/ghc-wai.changes 2016-04-22 16:25:30.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-wai.new/ghc-wai.changes 2016-05-31 12:24:40.000000000 +0200
@@ -1,0 +2,7 @@
+Thu May 26 06:30:44 UTC 2016 - mimi.vx(a)gmail.com
+
+- update to 3.2.1.1
+- refreshed remove-dep.patch
+* Relax upper bound on bytestring-builder
+
+-------------------------------------------------------------------
Old:
----
wai-3.2.1.tar.gz
New:
----
wai-3.2.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-wai.spec ++++++
--- /var/tmp/diff_new_pack.b2J9w6/_old 2016-05-31 12:24:41.000000000 +0200
+++ /var/tmp/diff_new_pack.b2J9w6/_new 2016-05-31 12:24:41.000000000 +0200
@@ -21,7 +21,7 @@
%bcond_with tests
Name: ghc-wai
-Version: 3.2.1
+Version: 3.2.1.1
Release: 0
Summary: Web Application Interface
License: MIT
++++++ remove-dep.patch ++++++
--- /var/tmp/diff_new_pack.b2J9w6/_old 2016-05-31 12:24:41.000000000 +0200
+++ /var/tmp/diff_new_pack.b2J9w6/_new 2016-05-31 12:24:41.000000000 +0200
@@ -1,12 +1,12 @@
-Index: wai-3.0.5.0/wai.cabal
+Index: wai-3.2.1.1/wai.cabal
===================================================================
---- wai-3.0.5.0.orig/wai.cabal
-+++ wai-3.0.5.0/wai.cabal
+--- wai-3.2.1.1.orig/wai.cabal
++++ wai-3.2.1.1/wai.cabal
@@ -21,7 +21,6 @@ Source-repository head
Library
Build-Depends: base >= 4 && < 5
, bytestring >= 0.10
-- , bytestring-builder >= 0.10.4.0 && < 0.10.7
+- , bytestring-builder >= 0.10.4.0 && < 0.11
, blaze-builder >= 0.2.1.4 && < 0.5
, network >= 2.2.1.5
, http-types >= 0.7
++++++ wai-3.2.1.tar.gz -> wai-3.2.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wai-3.2.1/ChangeLog.md new/wai-3.2.1.1/ChangeLog.md
--- old/wai-3.2.1/ChangeLog.md 2016-04-15 10:55:29.000000000 +0200
+++ new/wai-3.2.1.1/ChangeLog.md 2016-05-24 04:52:48.000000000 +0200
@@ -1,3 +1,7 @@
+## 3.2.1.1
+
+* Relax upper bound on bytestring-builder
+
## 3.2.1
* add mapResponseStatus [#532](https://github.com/yesodweb/wai/pull/532)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wai-3.2.1/wai.cabal new/wai-3.2.1.1/wai.cabal
--- old/wai-3.2.1/wai.cabal 2016-04-15 10:55:29.000000000 +0200
+++ new/wai-3.2.1.1/wai.cabal 2016-05-24 04:52:48.000000000 +0200
@@ -1,5 +1,5 @@
Name: wai
-Version: 3.2.1
+Version: 3.2.1.1
Synopsis: Web Application Interface.
Description: Provides a common protocol for communication between web applications and web servers.
description: API docs and the README are available at <http://www.stackage.org/package/wai>.
@@ -21,7 +21,7 @@
Library
Build-Depends: base >= 4 && < 5
, bytestring >= 0.10
- , bytestring-builder >= 0.10.4.0 && < 0.10.7
+ , bytestring-builder >= 0.10.4.0 && < 0.11
, blaze-builder >= 0.2.1.4 && < 0.5
, network >= 2.2.1.5
, http-types >= 0.7
1
0
Hello community,
here is the log from the commit of package ghc-stm-containers for openSUSE:Factory checked in at 2016-05-31 12:24:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-stm-containers (Old)
and /work/SRC/openSUSE:Factory/.ghc-stm-containers.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-stm-containers"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-stm-containers/ghc-stm-containers.changes 2016-05-17 17:16:01.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-stm-containers.new/ghc-stm-containers.changes 2016-05-31 12:24:37.000000000 +0200
@@ -1,0 +2,5 @@
+Thu May 26 05:58:29 UTC 2016 - mimi.vx(a)gmail.com
+
+- update to 0.2.13
+
+-------------------------------------------------------------------
Old:
----
stm-containers-0.2.11.tar.gz
New:
----
stm-containers-0.2.13.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-stm-containers.spec ++++++
--- /var/tmp/diff_new_pack.XZ6baR/_old 2016-05-31 12:24:38.000000000 +0200
+++ /var/tmp/diff_new_pack.XZ6baR/_new 2016-05-31 12:24:38.000000000 +0200
@@ -20,7 +20,7 @@
%bcond_with tests
Name: ghc-stm-containers
-Version: 0.2.11
+Version: 0.2.13
Release: 0
Summary: Containers for STM
Group: System/Libraries
++++++ stm-containers-0.2.11.tar.gz -> stm-containers-0.2.13.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stm-containers-0.2.11/stm-containers.cabal new/stm-containers-0.2.13/stm-containers.cabal
--- old/stm-containers-0.2.11/stm-containers.cabal 2016-05-14 09:21:20.000000000 +0200
+++ new/stm-containers-0.2.13/stm-containers.cabal 2016-05-24 07:55:09.000000000 +0200
@@ -1,13 +1,13 @@
name:
stm-containers
version:
- 0.2.11
+ 0.2.13
synopsis:
Containers for STM
description:
This library is based on an STM-specialized implementation of a
Hash Array Mapped Trie.
- It provides efficient implementations of @Map@, @Set@
+ It provides efficient implementations of @Map@, @Set@
and other data structures,
which are slightly slower than their counterparts from \"unordered-containers\",
but scale very well on concurrent access patterns.
@@ -17,9 +17,9 @@
category:
Data Structures, STM, Concurrency
homepage:
- https://github.com/nikita-volkov/stm-containers
+ https://github.com/nikita-volkov/stm-containers
bug-reports:
- https://github.com/nikita-volkov/stm-containers/issues
+ https://github.com/nikita-volkov/stm-containers/issues
author:
Nikita Volkov <nikita.y.volkov(a)mail.ru>
maintainer:
@@ -65,12 +65,13 @@
-- control:
list-t >= 0.2 && < 0.5,
focus >= 0.1.2 && < 0.2,
- transformers >= 0.2 && < 0.6,
+ transformers >= 0.3 && < 0.6,
-- general:
primitive >= 0.5 && < 0.7,
- base-prelude < 2
+ base-prelude < 2,
+ base < 4.10
default-extensions:
- Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
+ Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
@@ -103,9 +104,10 @@
-- general:
primitive,
mtl-prelude < 3,
- base-prelude
+ base-prelude,
+ base
default-extensions:
- Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
+ Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
@@ -135,15 +137,16 @@
mtl == 2.*,
hashable,
mtl-prelude < 3,
- base-prelude
+ base-prelude,
+ base
default-extensions:
- Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
+ Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
benchmark insertion-bench
- type:
+ type:
exitcode-stdio-1.0
hs-source-dirs:
executables
@@ -152,7 +155,7 @@
ghc-options:
-O2 -threaded "-with-rtsopts=-N"
default-extensions:
- Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
+ Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
build-depends:
@@ -164,7 +167,7 @@
list-t >= 0.2 && < 0.5,
focus >= 0.1.2 && < 0.2,
hashable < 1.3,
- hashtables == 1.1.*,
+ hashtables >= 1.1 && < 1.3,
containers == 0.5.*,
unordered-containers == 0.2.*,
stm-containers,
@@ -177,7 +180,7 @@
benchmark concurrent-insertion-bench
- type:
+ type:
exitcode-stdio-1.0
hs-source-dirs:
executables
@@ -186,7 +189,7 @@
ghc-options:
-O2 -threaded "-with-rtsopts=-N"
default-extensions:
- Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
+ Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
build-depends:
@@ -205,13 +208,13 @@
placeholders == 0.1.*,
-- general:
free >= 4.5 && < 5,
- async == 2.0.*,
+ async >= 2.0 && < 2.2,
base-prelude,
base
benchmark concurrent-transactions-bench
- type:
+ type:
exitcode-stdio-1.0
hs-source-dirs:
executables
@@ -220,7 +223,7 @@
ghc-options:
-O2 -threaded "-with-rtsopts=-N"
default-extensions:
- Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
+ Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
build-depends:
@@ -241,7 +244,7 @@
-- general:
mtl == 2.*,
free >= 4.5 && < 5,
- async == 2.0.*,
+ async >= 2.0 && < 2.2,
mtl-prelude < 3,
base-prelude,
base
1
0
Hello community,
here is the log from the commit of package ghc-simple-sendfile for openSUSE:Factory checked in at 2016-05-31 12:24:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-simple-sendfile (Old)
and /work/SRC/openSUSE:Factory/.ghc-simple-sendfile.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-simple-sendfile"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-simple-sendfile/ghc-simple-sendfile.changes 2016-05-25 21:28:45.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-simple-sendfile.new/ghc-simple-sendfile.changes 2016-05-31 12:24:36.000000000 +0200
@@ -1,0 +2,5 @@
+Tue May 24 19:32:16 UTC 2016 - mimi.vx(a)gmail.com
+
+- update to 0.2.24
+
+-------------------------------------------------------------------
Old:
----
simple-sendfile-0.2.23.tar.gz
New:
----
simple-sendfile-0.2.24.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-simple-sendfile.spec ++++++
--- /var/tmp/diff_new_pack.foja2n/_old 2016-05-31 12:24:37.000000000 +0200
+++ /var/tmp/diff_new_pack.foja2n/_new 2016-05-31 12:24:37.000000000 +0200
@@ -20,7 +20,7 @@
%bcond_with tests
Name: ghc-simple-sendfile
-Version: 0.2.23
+Version: 0.2.24
Release: 0
Summary: Cross platform library for the sendfile system call
Group: System/Libraries
++++++ simple-sendfile-0.2.23.tar.gz -> simple-sendfile-0.2.24.tar.gz ++++++
++++ 76240 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package ghc-regex-tdfa for openSUSE:Factory checked in at 2016-05-31 12:24:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-regex-tdfa (Old)
and /work/SRC/openSUSE:Factory/.ghc-regex-tdfa.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-regex-tdfa"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-regex-tdfa/ghc-regex-tdfa.changes 2015-09-08 17:58:19.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-regex-tdfa.new/ghc-regex-tdfa.changes 2016-05-31 12:24:35.000000000 +0200
@@ -1,0 +2,6 @@
+Thu May 12 19:14:14 UTC 2016 - mimi.vx(a)gmail.com
+
+- update to 1.2.2
+* Now we don't reexport the problematic Show instance for functions.
+
+-------------------------------------------------------------------
Old:
----
regex-tdfa-1.2.1.tar.gz
New:
----
regex-tdfa-1.2.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-regex-tdfa.spec ++++++
--- /var/tmp/diff_new_pack.jfr7I9/_old 2016-05-31 12:24:36.000000000 +0200
+++ /var/tmp/diff_new_pack.jfr7I9/_new 2016-05-31 12:24:36.000000000 +0200
@@ -18,7 +18,7 @@
%global pkg_name regex-tdfa
Name: ghc-%{pkg_name}
-Version: 1.2.1
+Version: 1.2.2
Release: 0
Summary: Replaces/Enhances Text.Regex
Group: System/Libraries
++++++ regex-tdfa-1.2.1.tar.gz -> regex-tdfa-1.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-tdfa-1.2.1/CHANGELOG.md new/regex-tdfa-1.2.2/CHANGELOG.md
--- old/regex-tdfa-1.2.1/CHANGELOG.md 1970-01-01 01:00:00.000000000 +0100
+++ new/regex-tdfa-1.2.2/CHANGELOG.md 2016-04-28 13:04:18.000000000 +0200
@@ -0,0 +1,157 @@
+# 1.2.2
+
+* New maintainer.
+* Now we don't reexport the problematic `Show` instance for functions.
+
+# 1.2.1
+
+* Updated dependency versions.
+
+# 1.2.0
+
+"Almost ghc-7.8" with the array 0.4 changes for `Data.Array.Unsafe`
+
+# 1.1.8
+
+Make ghc-7.0.2 on platorm 2011.2.0.0.0 happy
+
+# 1.1.7
+
+fix url below
+
+# 1.1.6
+
+Fix bug preventing `[]] [-] [^]] [^-]` (thanks to Maxime Henrion)
+
+# 1.1.5
+
+try `needUniqTags` in `POr` in CorePattern.hs, try `toAdvice b` for `PStar child`
+
+# 1.1.4
+
+fixed
+
+# 1.1.3
+
+BROKEN after 100 characters the `compressOrbit` dies!
+
+# 1.1.2
+
+worked
+
+# 1.1.1
+
+add gnu escapes
+
+# 1.1.0
+
+NewDFA code working
+
+# 1.0.7
+
+make NewDFA directory and String_NC
+
+# 1.0.6
+
+try NewDFATest_SBS with `uncons`
+
+# 1.0.5
+
+use `uncons` on SBS
+
+# 1.0.4
+
+try repaired NewDFATest_SBS
+
+* np13: try to improve readability with the `mm` combinator? Yes!
+* np12: expand `o` in the case where `t` lookup get `Nothing`? Yes – this is the fix!?
+* np11: break multi to not look at `o` and just return `True`? Yes !!!!
+* np10: Peel off `CharMap`/`IntMap` and DFA/DT with pattern matching? No
+* np9: `INLINE` `endOf`? No
+* np8: np6 and `NOINLINE` `endOff`? No
+* np7: just return `True`? Fast
+* np6: comment out ans check? No
+* np5: comment out all `Multi0` code? No
+* np4: comment out all `Single0` and `Single` code? No
+* np3: `!off` the multi? No
+* np2: comment out all Testing code? No
+
+# 1.0.3
+
+try to alter `matchTest` to not have the `Bool` args? No
+
+# 1.0.2
+
+arg, the prof is fast and the normal slow!
+
+# 1.0.1
+
+add NewDFATest.hs
+
+# 0.99.20
+
+go to many vs single?
+
+# 0.99.19
+
+try for pre-comparison of orbit-logs!
+
+# 0.99.18
+
+try alternate lazy/strict strategy in NewDFA. Fix offset laziness.
+
+# 0.99.17
+
+radical removal of flag array and adding of `SetVal` to handle groups
+
+# 0.99.16
+
+performance? up to v15
+
+# 0.99.15
+
+get string with NewDFA testing, unit tests and 1000 random regex pass
+
+# 0.99.14
+
+start changing to the new real DFA
+
+# 0.99.13
+
+more cleanup
+
+# 0.99.12
+
+try to debug 0.99.11: fixed `updateWinner`
+
+# 0.99.11
+
+improve above fix and make stuff work better – HAS BUG, along with old TDFA!
+
+# 0.99.10
+
+fixed `((.?)*)*` patterns by changing `PStar nullView` when `mayFirstBeNull`
+
+# 0.99.9
+
+testing changing `bestTrans`/`chooseWith`/`choose` to include `enterOrbit`/`newFlags`/`(_,True)` info
+
+# 0.99.8
+
+testing changing `Maximize` to `Minimize` for `Tag`s, decide `(a*)*` is canonical problem
+
+# 0.99.7
+
+Use `(PGroup Nothing)` in `Pattern` to decompose `PBound`
+
+# 0.99.6
+
+change to nested `nonEmpty` calls for `PBound`
+
+# 0.99.5
+
+remove `PNonEmpty` constructor
+
+# 0.99.4
+
+tests `pnonempty' = \ p -> POr [ PEmpty, p ]` instead of `PNonEmpty`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-tdfa-1.2.1/Text/Regex/TDFA/Common.hs new/regex-tdfa-1.2.2/Text/Regex/TDFA/Common.hs
--- old/regex-tdfa-1.2.1/Text/Regex/TDFA/Common.hs 2015-08-29 11:07:54.000000000 +0200
+++ new/regex-tdfa-1.2.2/Text/Regex/TDFA/Common.hs 2016-04-28 13:04:18.000000000 +0200
@@ -7,7 +7,6 @@
import Text.Regex.Base(RegexOptions(..))
{- By Chris Kuklewicz, 2007-2009. BSD License, see the LICENSE file. -}
-import Text.Show.Functions()
import Data.Array.IArray(Array)
import Data.IntSet.EnumSet2(EnumSet)
import qualified Data.IntSet.EnumSet2 as Set(toList)
@@ -32,14 +31,14 @@
on :: (t1 -> t1 -> t2) -> (t -> t1) -> t -> t -> t2
f `on` g = (\x y -> (g x) `f` (g y))
--- | after sort or sortBy the use of nub/nubBy can be replaced by norep/norepBy
+-- | after 'sort' or 'sortBy' the use of 'nub'\/'nubBy' can be replaced by 'norep'\/'norepBy'
norep :: (Eq a) => [a]->[a]
norep [] = []
norep x@[_] = x
norep (a:bs@(c:cs)) | a==c = norep (a:cs)
| otherwise = a:norep bs
--- | after sort or sortBy the use of nub/nubBy can be replaced by norep/norepBy
+-- | after 'sort' or 'sortBy' the use of 'nub'\/'nubBy' can be replaced by 'norep'\/'norepBy'
norepBy :: (a -> a -> Bool) -> [a] -> [a]
norepBy _ [] = []
norepBy _ x@[_] = x
@@ -81,7 +80,7 @@
showsPrec p (DoPa {dopaIndex=i}) = ('#':) . showsPrec p i
-- | Control whether the pattern is multiline or case-sensitive like Text.Regex and whether to
--- capture the subgroups (\1, \2, etc). Controls enabling extra anchor syntax.
+-- capture the subgroups (\\1, \\2, etc). Controls enabling extra anchor syntax.
data CompOption = CompOption {
caseSensitive :: Bool -- ^ True in blankCompOpt and defaultCompOpt
, multiline :: Bool {- ^ False in blankCompOpt, True in defaultCompOpt. Compile for
@@ -115,7 +114,7 @@
type Position = Int
-- | GroupIndex is for indexing submatches from capturing
--- parenthesized groups (PGroup/Group)
+-- parenthesized groups (PGroup\/Group)
type GroupIndex = Int
-- | GroupInfo collects the parent and tag information for an instance
-- of a group
@@ -180,9 +179,9 @@
type QTrans = IntMap {- Destination Index -} [TagCommand]
-- | Known predicates, just Beginning of Line (^) and End of Line ($).
--- Also support for GNU extensions is being added: \` beginning of
--- buffer, \' end of buffer, \< and \> for begin and end of words, \b
--- and \B for word boundary and not word boundary.
+-- Also support for GNU extensions is being added: \\\` beginning of
+-- buffer, \\\' end of buffer, \\\< and \\\> for begin and end of words, \\b
+-- and \\B for word boundary and not word boundary.
data WhichTest = Test_BOL | Test_EOL -- '^' and '$' (affected by multiline option)
| Test_BOB | Test_EOB -- \` and \' begin and end buffer
| Test_BOW | Test_EOW -- \< and \> begin and end word
@@ -233,7 +232,7 @@
-- going to the same destination must be compared to find the best.
--
-- A Destination IntMap entry may have an empty Source IntMap if and
--- only if the destination is the starting index and the NFA/DFA.
+-- only if the destination is the starting index and the NFA\/DFA.
-- This instructs the matching engine to spawn a new entry starting at
-- the post-update position.
type DTrans = IntMap {- Index of Destination -} (IntMap {- Index of Source -} (DoPa,Instructions))
@@ -259,7 +258,19 @@
data Instructions = Instructions
{ newPos :: ![(Tag,Action)] -- False is preUpdate, True is postUpdate (there are no Orbit tags here) -- 2009 : Change to enum from bool?
, newOrbits :: !(Maybe (Position -> OrbitTransformer))
- } deriving (Show)
+ }
+
+instance Show Instructions where
+ showsPrec p (Instructions pos _)
+ = showParen (p >= 11) $
+ showString "Instructions {" .
+ showString "newPos = " .
+ showsPrec 0 pos .
+ showString ", " .
+ showString "newOrbits = " .
+ showString "<function>" .
+ showString "}"
+
data Action = SetPre | SetPost | SetVal Int deriving (Show,Eq)
type OrbitTransformer = OrbitLog -> OrbitLog
type OrbitLog = IntMap Orbits
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-tdfa-1.2.1/Text/Regex/TDFA/CorePattern.hs new/regex-tdfa-1.2.2/Text/Regex/TDFA/CorePattern.hs
--- old/regex-tdfa-1.2.1/Text/Regex/TDFA/CorePattern.hs 2015-08-29 11:07:54.000000000 +0200
+++ new/regex-tdfa-1.2.2/Text/Regex/TDFA/CorePattern.hs 2016-04-28 13:04:18.000000000 +0200
@@ -1,16 +1,16 @@
-- | The CorePattern module deconstructs the Pattern tree created by
--- ReadRegex.parseRegex and returns a simpler Q/P tree with
+-- ReadRegex.parseRegex and returns a simpler Q\/P tree with
-- annotations at each Q node. This will be converted by the TNFA
-- module into a QNFA finite automata.
--
--- Of particular note, this Pattern to Q/P conversion creates and
+-- Of particular note, this Pattern to Q\/P conversion creates and
-- assigns all the internal Tags that will be used during the matching
-- process, and associates the captures groups with the tags that
-- represent their starting and ending locations and with their
-- immediate parent group.
--
-- Each Maximize and Minimize tag is held as either a preTag or a
--- postTag by one and only one location in the Q/P tree. The Orbit
+-- postTag by one and only one location in the Q\/P tree. The Orbit
-- tags are each held by one and only one Star node. Tags that stop a
-- Group are also held in perhaps numerous preReset lists.
--
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-tdfa-1.2.1/Text/Regex/TDFA/NewDFA/Engine.hs new/regex-tdfa-1.2.2/Text/Regex/TDFA/NewDFA/Engine.hs
--- old/regex-tdfa-1.2.1/Text/Regex/TDFA/NewDFA/Engine.hs 2015-08-29 11:07:54.000000000 +0200
+++ new/regex-tdfa-1.2.2/Text/Regex/TDFA/NewDFA/Engine.hs 2016-04-28 13:04:18.000000000 +0200
@@ -529,11 +529,11 @@
newtype F s = F ([F s] -> C s)
type C s = Position
- -> ((Int, Instructions), STUArray s Tag Position, IntMap Orbits)
- -> [(Int, Action)]
- -> ((Int, Instructions), STUArray s Tag Position, IntMap Orbits)
- -> [(Int, Action)]
- -> ST s Ordering
+ -> ((Int, Instructions), STUArray s Tag Position, IntMap Orbits)
+ -> [(Int, Action)]
+ -> ((Int, Instructions), STUArray s Tag Position, IntMap Orbits)
+ -> [(Int, Action)]
+ -> ST s Ordering
{-# INLINE orderOf #-}
orderOf :: Action -> Action -> Ordering
@@ -703,7 +703,7 @@
Prelude Data.Array.Base> :i STUArray
data STUArray s i e
= STUArray !i !i !Int (GHC.Prim.MutableByteArray# s)
- -- Defined in Data.Array.Base
+ -- Defined in Data.Array.Base
-}
-- This has been updated for ghc 6.8.3 and still works with ghc 6.10.1
{-# INLINE copySTU #-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-tdfa-1.2.1/Text/Regex/TDFA/NewDFA/Engine_FA.hs new/regex-tdfa-1.2.2/Text/Regex/TDFA/NewDFA/Engine_FA.hs
--- old/regex-tdfa-1.2.1/Text/Regex/TDFA/NewDFA/Engine_FA.hs 2015-08-29 11:07:54.000000000 +0200
+++ new/regex-tdfa-1.2.2/Text/Regex/TDFA/NewDFA/Engine_FA.hs 2016-04-28 13:04:18.000000000 +0200
@@ -388,11 +388,11 @@
newtype F s = F ([F s] -> C s)
type C s = Position
- -> ((Int, Instructions), STUArray s Tag Position, IntMap Orbits)
- -> [(Int, Action)]
- -> ((Int, Instructions), STUArray s Tag Position, IntMap Orbits)
- -> [(Int, Action)]
- -> ST s Ordering
+ -> ((Int, Instructions), STUArray s Tag Position, IntMap Orbits)
+ -> [(Int, Action)]
+ -> ((Int, Instructions), STUArray s Tag Position, IntMap Orbits)
+ -> [(Int, Action)]
+ -> ST s Ordering
{-# INLINE orderOf #-}
orderOf :: Action -> Action -> Ordering
@@ -561,7 +561,7 @@
Prelude Data.Array.Base> :i STUArray
data STUArray s i e
= STUArray !i !i !Int (GHC.Prim.MutableByteArray# s)
- -- Defined in Data.Array.Base
+ -- Defined in Data.Array.Base
-}
-- This has been updated for ghc 6.8.3 and still works with ghc 6.10.1
{-# INLINE copySTU #-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-tdfa-1.2.1/Text/Regex/TDFA/Pattern.hs new/regex-tdfa-1.2.2/Text/Regex/TDFA/Pattern.hs
--- old/regex-tdfa-1.2.1/Text/Regex/TDFA/Pattern.hs 2015-08-29 11:07:54.000000000 +0200
+++ new/regex-tdfa-1.2.2/Text/Regex/TDFA/Pattern.hs 2016-04-28 13:04:18.000000000 +0200
@@ -132,7 +132,7 @@
-- | Do the transformation and simplification in a single traversal.
-- This removes the PPlus, PQuest, and PBound values, changing to POr
--- and PEmpty and PStar True/False. For some PBound values it adds
+-- and PEmpty and PStar True\/False. For some PBound values it adds
-- PNonEmpty and PNonCapture semantic marker. It also simplifies to
-- flatten out nested POr and PConcat instances and eliminate some
-- unneeded PEmpty values.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-tdfa-1.2.1/Text/Regex/TDFA/ReadRegex.hs new/regex-tdfa-1.2.2/Text/Regex/TDFA/ReadRegex.hs
--- old/regex-tdfa-1.2.1/Text/Regex/TDFA/ReadRegex.hs 2015-08-29 11:07:54.000000000 +0200
+++ new/regex-tdfa-1.2.2/Text/Regex/TDFA/ReadRegex.hs 2016-04-28 13:04:18.000000000 +0200
@@ -1,6 +1,6 @@
{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
-- | This is a POSIX version of parseRegex that allows NUL characters.
--- Lazy/Possessive/Backrefs are not recognized. Anchors ^ and $ are
+-- Lazy\/Possessive\/Backrefs are not recognized. Anchors \^ and \$ are
-- recognized.
--
-- The PGroup returned always have (Maybe GroupIndex) set to (Just _)
@@ -23,7 +23,7 @@
-- | Return either an error message or a tuple of the Pattern and the
-- largest group index and the largest DoPa index (both have smallest
-- index of 1). Since the regular expression is supplied as [Char] it
--- automatically supports unicode and '\NUL' characters.
+-- automatically supports unicode and @\\NUL@ characters.
parseRegex :: String -> Either ParseError (Pattern,(GroupIndex,DoPa))
parseRegex x = runParser (do pat <- p_regex
eof
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-tdfa-1.2.1/Text/Regex/TDFA/TDFA.hs new/regex-tdfa-1.2.2/Text/Regex/TDFA/TDFA.hs
--- old/regex-tdfa-1.2.1/Text/Regex/TDFA/TDFA.hs 2015-08-29 11:07:54.000000000 +0200
+++ new/regex-tdfa-1.2.2/Text/Regex/TDFA/TDFA.hs 2016-04-28 13:04:18.000000000 +0200
@@ -6,7 +6,6 @@
,examineDFA,nfaToDFA,dfaMap) where
--import Control.Arrow((***))
-import Control.Monad.Instances()
import Data.Monoid(Monoid(..))
import Control.Monad.State(State,MonadState(..),execState)
import Data.Array.IArray(Array,(!),bounds,{-assocs-})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-tdfa-1.2.1/Text/Regex/TDFA/TNFA.hs new/regex-tdfa-1.2.2/Text/Regex/TDFA/TNFA.hs
--- old/regex-tdfa-1.2.1/Text/Regex/TDFA/TNFA.hs 2015-08-29 11:07:54.000000000 +0200
+++ new/regex-tdfa-1.2.2/Text/Regex/TDFA/TNFA.hs 2016-04-28 13:04:18.000000000 +0200
@@ -6,7 +6,7 @@
-- TODO : try rewriting whole qToNFA in terms of "act"
-- (That will require re-organizing the continuation data a bit)
--- | "Text.Regex.TDFA.TNFA" converts the CorePattern Q/P data (and its
+-- | "Text.Regex.TDFA.TNFA" converts the CorePattern Q\/P data (and its
-- Pattern leafs) to a QNFA tagged non-deterministic finite automata.
--
-- This holds every possible way to follow one state by another, while
@@ -17,7 +17,7 @@
-- far, keeping all this information has helped fix bugs in both the
-- design and implementation.
--
--- The QNFA for a Pattern with a starTraned Q/P form with N one
+-- The QNFA for a Pattern with a starTraned Q\/P form with N one
-- character accepting leaves has at most N+1 nodes. These nodes
-- repesent the future choices after accepting a leaf. The processing
-- of Or nodes often reduces this number by sharing at the end of the
@@ -823,4 +823,4 @@
legalCharacterClasses = ["alnum","digit","punct","alpha","graph"
,"space","blank","lower","upper","cntrl","print","xdigit","word"]
--}
\ No newline at end of file
+-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-tdfa-1.2.1/Text/Regex/TDFA.hs new/regex-tdfa-1.2.2/Text/Regex/TDFA.hs
--- old/regex-tdfa-1.2.1/Text/Regex/TDFA.hs 2015-08-29 11:07:54.000000000 +0200
+++ new/regex-tdfa-1.2.2/Text/Regex/TDFA.hs 2016-04-28 13:04:18.000000000 +0200
@@ -9,7 +9,7 @@
This regex-tdfa package implements, correctly, POSIX extended regular
expressions. It is highly unlikely that the regex-posix package on
your operating system is correct, see
-http://www.haskell.org/haskellwiki/Regex_Posix for examples of your
+<http://www.haskell.org/haskellwiki/Regex_Posix> for examples of your
OS's bugs.
This package does provide captured parenthesized subexpressions.
@@ -23,23 +23,18 @@
As of version 1.1.1 the following GNU extensions are recognized, all
anchors:
-\\\` at beginning of entire text
-
-\\\' at end of entire text
-
-\\< at beginning of word
-
-\\> at end of word
-
-\\b at either beginning or end of word
-
-\\B at neither beginning nor end of word
+* \\\` at beginning of entire text
+* \\\' at end of entire text
+* \\\< at beginning of word
+* \\\> at end of word
+* \\b at either beginning or end of word
+* \\B at neither beginning nor end of word
The above are controlled by the 'newSyntax' Bool in 'CompOption'.
Where the "word" boundaries means between characters that are and are
not in the [:word:] character class which contains [a-zA-Z0-9_]. Note
-that \< and \b may match before the entire text and \> and \b may
+that \\\< and \\b may match before the entire text and \\\> and \\b may
match at the end of the entire text.
There is no locale support, so collating elements like [.ch.] are
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/regex-tdfa-1.2.1/regex-tdfa.cabal new/regex-tdfa-1.2.2/regex-tdfa.cabal
--- old/regex-tdfa-1.2.1/regex-tdfa.cabal 2015-08-29 11:07:54.000000000 +0200
+++ new/regex-tdfa-1.2.2/regex-tdfa.cabal 2016-04-28 13:04:18.000000000 +0200
@@ -1,76 +1,40 @@
Name: regex-tdfa
-Version: 1.2.1
--- 0.99.4 tests pnonempty' = \ p -> POr [ PEmpty, p ] instead of PNonEmpty
--- 0.99.5 remove PNonEmpty constructor
--- 0.99.6 change to nested nonEmpty calls for PBound
--- 0.99.7 Use (PGroup Nothing) in Pattern to decompose PBound
--- 0.99.8 testing chaning Maximize to Minimize for Tags, decide (a*)* is canonical problem
--- 0.99.9 testing changing bestTrans/chooseWith/choose to include enterOrbit/newFlags/(_,True) info
--- 0.99.10 fixed ((.?)*)* patterns by changing PStar nullView when mayFirstBeNull
--- 0.99.11 improve above fix and make stuff work better -- HAS BUG, along with old TDFA!
--- 0.99.12 try to debug 0.99.11 : fixed updateWinner
--- 0.99.13 more cleanup
--- 0.99.14 start changing to the new real DFA
--- 0.99.15 get string with NewDFA testing, unit tests and 1000 random regex pass
--- 0.99.16 performance? up to v15
--- 0.99.17 radical removal of flag array and adding of SetVal to handle groups
--- 0.99.18 try alternate lazy/strict strategy in NewDFA. Fix offset laziness.
--- 0.99.19 try for pre-comparison of orbit-logs!
--- 0.99.20 go to many vs single?
--- 1.0.0
--- 1.0.1 add NewDFATest.hs
--- 1.0.2 arg, the prof is fast and the normal slow!
--- 1.0.3 try to alter matchTest to not have the Bool args? No
--- np2 comment out all Testing code? No
--- np3 !off the multi? No
--- np4 comment out all Single0 and Single code? No
--- np5 comment out all Multi0 code? No
--- np6 comment out ans check? No
--- np7 just return True? Fast
--- np8 np6 and NOINLINE endOff? No
--- np9 INLINE endOf? No
--- np10 Peel off CharMap/IntMap and DFA/DT with pattern matching? No
--- np11 break multi to not look at o and just return True? Yes !!!!
--- np12 expand o in the case where t lookup get Nothing? Yes--this is the fix!?
--- np13 try to improve readability with the "mm" combinator? Yes!
--- 1.0.4 try repaired NewDFATest_SBS
--- 1.0.5 use "uncons" on SBS
--- 1.0.6 try NewDFATest_SBS with uncons
--- 1.0.7 make NewDFA directory and String_NC
--- 1.1.0 NewDFA code working
--- 1.1.1 add gnu escapes
--- 1.1.2 worked
--- 1.1.3 BROKEN after 100 characters the compressOrbit dies!
--- 1.1.4 fixed
--- 1.1.5 try needUniqTags in POr in CorePattern.hs, try (toAdvice b) for PStar child
--- 1.1.6 Fix bug preventing []] [-] [^]] [^-] (thanks to Maxime Henrion)
--- 1.1.7 fix url below
--- 1.1.8 Make ghc-7.0.2 on platorm 2011.2.0.0.0 happy
--- 1.2.0 "Almost ghc-7.8" with the array 0.4 changes for Data.Array.Unsafe
--- 1.2.1 Get Build-Depends from "Mon Jun 15 14:24:28 UTC 2015 by AdamBergmark to revision 1"
+Version: 1.2.2
License: BSD3
License-File: LICENSE
Copyright: Copyright (c) 2007, Christopher Kuklewicz
Author: Christopher Kuklewicz
-Maintainer: TextRegexLazy(a)personal.mightyreason.com
+Maintainer: Artyom <yom(a)artyom.me>, Christopher Kuklewicz <TextRegexLazy(a)personal.mightyreason.com>
Stability: Seems to work, but not POSIX yet
-Homepage: http://hackage.haskell.org/package/regex-tdfa
-Package-URL: http://code.haskell.org/regex-tdfa/
+Homepage: https://github.com/ChrisKuklewicz/regex-tdfa
+Bug-Reports: https://github.com/ChrisKuklewicz/regex-tdfa/issues
Synopsis: Replaces/Enhances Text.Regex
Description: A new all Haskell "tagged" DFA regex engine, inspired by libtre
Category: Text
-Tested-With: GHC
+Tested-With: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1
Build-Type: Simple
-Cabal-Version: >= 1.2.3
+extra-source-files:
+ CHANGELOG.md
+Cabal-Version: >= 1.6
-flag base4
+source-repository head
+ type: git
+ location: git://github.com/ChrisKuklewicz/regex-tdfa.git
+
+flag devel
+ description: enable flags that are useful for development
+ default: False
+ manual: True
library
- Build-Depends: regex-base >= 0.93.1, parsec, mtl, containers, array >= 0.4, bytestring
- if flag(base4)
- Build-Depends: base >= 4 && < 5, base >= 4.4 || < 4.4, ghc-prim
- else
- Build-Depends: base < 4.0
+ Build-Depends: array >= 0.4
+ , base >= 4 && < 5
+ , bytestring
+ , containers
+ , ghc-prim
+ , mtl
+ , parsec
+ , regex-base >= 0.93.1
other-modules: Paths_regex_tdfa
Exposed-Modules: Data.IntMap.CharMap2
@@ -98,4 +62,5 @@
Buildable: True
Extensions: MultiParamTypeClasses, FunctionalDependencies, BangPatterns, MagicHash, RecursiveDo, NoMonoPatBinds, ForeignFunctionInterface, UnboxedTuples, TypeOperators, FlexibleContexts, ExistentialQuantification, UnliftedFFITypes, TypeSynonymInstances, FlexibleInstances
GHC-Options: -Wall -funbox-strict-fields -fspec-constr-count=10 -O2 -fno-warn-orphans
- GHC-Prof-Options: -auto-all
+ if flag(devel)
+ ghc-prof-options: -auto-all
1
0
Hello community,
here is the log from the commit of package ghc-QuickCheck for openSUSE:Factory checked in at 2016-05-31 12:24:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-QuickCheck (Old)
and /work/SRC/openSUSE:Factory/.ghc-QuickCheck.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-QuickCheck"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-QuickCheck/ghc-QuickCheck.changes 2015-08-25 08:48:07.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-QuickCheck.new/ghc-QuickCheck.changes 2016-05-31 12:24:33.000000000 +0200
@@ -1,0 +2,11 @@
+Thu May 26 06:22:16 UTC 2016 - mimi.vx(a)gmail.com
+
+- update to 2.8.2
+* GHC 8 support
+* Add Arbitrary and CoArbitrary instances for types in containers package
+* Improve speed of shuffle combinator
+* Only print to stderr if it's a terminal.
+* Small changes: slightly improve documentation, remove redundant constraints
+ from some functions' types, small improvements to Test.QuickCheck.All.
+
+-------------------------------------------------------------------
Old:
----
QuickCheck-2.8.1.tar.gz
New:
----
QuickCheck-2.8.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-QuickCheck.spec ++++++
--- /var/tmp/diff_new_pack.LYJnlS/_old 2016-05-31 12:24:34.000000000 +0200
+++ /var/tmp/diff_new_pack.LYJnlS/_new 2016-05-31 12:24:34.000000000 +0200
@@ -21,7 +21,7 @@
%bcond_with tests
Name: ghc-QuickCheck
-Version: 2.8.1
+Version: 2.8.2
Release: 0
Summary: Automatic testing of Haskell programs
License: BSD-3-Clause
++++++ QuickCheck-2.8.1.tar.gz -> QuickCheck-2.8.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QuickCheck-2.8.1/QuickCheck.cabal new/QuickCheck-2.8.2/QuickCheck.cabal
--- old/QuickCheck-2.8.1/QuickCheck.cabal 2015-04-03 14:23:20.000000000 +0200
+++ new/QuickCheck-2.8.2/QuickCheck.cabal 2016-01-15 17:09:16.000000000 +0100
@@ -1,5 +1,5 @@
Name: QuickCheck
-Version: 2.8.1
+Version: 2.8.2
Cabal-Version: >= 1.8
Build-type: Simple
License: BSD3
@@ -37,7 +37,7 @@
source-repository this
type: git
location: https://github.com/nick8325/quickcheck
- tag: 2.8.1
+ tag: 2.8.2
flag base3
Description: Choose the new smaller, split-up base package.
@@ -50,6 +50,7 @@
flag templateHaskell
Description: Build Test.QuickCheck.All, which uses Template Haskell.
+ Default: True
library
-- Choose which library versions to use.
@@ -92,6 +93,7 @@
cpp-options: -DNO_TRANSFORMERS
if impl(ghc >= 6.12) && flag(templateHaskell)
Build-depends: template-haskell >= 2.4
+ Other-Extensions: TemplateHaskell
Exposed-Modules: Test.QuickCheck.All
else
cpp-options: -DNO_TEMPLATE_HASKELL
@@ -158,7 +160,7 @@
build-depends:
base,
containers,
- QuickCheck == 2.8.1,
+ QuickCheck == 2.8.2,
template-haskell >= 2.4,
test-framework >= 0.4 && < 0.9
if flag(templateHaskell)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QuickCheck-2.8.1/Test/QuickCheck/All.hs new/QuickCheck-2.8.2/Test/QuickCheck/All.hs
--- old/QuickCheck-2.8.1/Test/QuickCheck/All.hs 2015-04-03 14:23:20.000000000 +0200
+++ new/QuickCheck-2.8.2/Test/QuickCheck/All.hs 2016-01-15 17:09:16.000000000 +0100
@@ -2,6 +2,7 @@
#ifndef NO_SAFE_HASKELL
{-# LANGUAGE Trustworthy #-}
#endif
+
-- | Test all properties in the current module, using Template Haskell.
-- You need to have a @{-\# LANGUAGE TemplateHaskell \#-}@ pragma in
-- your module for any of these to work.
@@ -66,29 +67,40 @@
let err msg = error $ msg ++ ": " ++ pprint ty0
(polys, ctx, ty) <- deconstructType err ty0
case polys of
- [] -> return (VarE t)
+ [] -> return (expName t)
_ -> do
integer <- [t| Integer |]
ty' <- monomorphiseType err integer ty
- return (SigE (VarE t) ty')
+ return (SigE (expName t) ty')
+
+expName :: Name -> Exp
+expName n = if isVar n then VarE n else ConE n
+
+-- See section 2.4 of the Haskell 2010 Language Report, plus support for "[]"
+isVar :: Name -> Bool
+isVar = let isVar' (c:_) = not (isUpper c || c `elem` ":[")
+ isVar' _ = True
+ in isVar' . nameBase
infoType :: Info -> Type
+#if __GLASGOW_HASKELL__ >= 711
+infoType (ClassOpI _ ty _) = ty
+infoType (DataConI _ ty _) = ty
+infoType (VarI _ ty _) = ty
+#else
infoType (ClassOpI _ ty _ _) = ty
infoType (DataConI _ ty _ _) = ty
infoType (VarI _ ty _ _) = ty
+#endif
deconstructType :: Error -> Type -> Q ([Name], Cxt, Type)
deconstructType err ty0@(ForallT xs ctx ty) = do
let plain (PlainTV _) = True
-#ifndef MIN_VERSION_template_haskell
- plain (KindedTV _ StarT) = True
-#else
-#if MIN_VERSION_template_haskell(2,8,0)
+#if __GLASGOW_HASKELL__ >= 706
plain (KindedTV _ StarT) = True
#else
plain (KindedTV _ StarK) = True
#endif
-#endif
plain _ = False
unless (all plain xs) $ err "Higher-kinded type variables in type"
return (map (\(PlainTV x) -> x) xs, ctx, ty)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QuickCheck-2.8.1/Test/QuickCheck/Arbitrary.hs new/QuickCheck-2.8.2/Test/QuickCheck/Arbitrary.hs
--- old/QuickCheck-2.8.1/Test/QuickCheck/Arbitrary.hs 2015-04-03 14:23:20.000000000 +0200
+++ new/QuickCheck-2.8.2/Test/QuickCheck/Arbitrary.hs 2016-01-15 17:09:16.000000000 +0100
@@ -3,7 +3,10 @@
#ifndef NO_GENERICS
{-# LANGUAGE DefaultSignatures, FlexibleContexts, TypeOperators #-}
{-# LANGUAGE FlexibleInstances, KindSignatures, ScopedTypeVariables #-}
-{-# LANGUAGE MultiParamTypeClasses, OverlappingInstances #-}
+{-# LANGUAGE MultiParamTypeClasses #-}
+#if __GLASGOW_HASKELL__ < 710
+{-# LANGUAGE OverlappingInstances #-}
+#endif
#endif
#ifndef NO_SAFE_HASKELL
{-# LANGUAGE Safe #-}
@@ -52,6 +55,7 @@
-- imports
import Control.Applicative
+import Data.Foldable(toList)
import System.Random(Random)
import Test.QuickCheck.Gen
import Test.QuickCheck.Gen.Unsafe
@@ -115,6 +119,12 @@
import GHC.Generics
#endif
+import qualified Data.Set as Set
+import qualified Data.Map as Map
+import qualified Data.IntSet as IntSet
+import qualified Data.IntMap as IntMap
+import qualified Data.Sequence as Sequence
+
--------------------------------------------------------------------------
-- ** class Arbitrary
@@ -122,7 +132,6 @@
class Arbitrary a where
-- | A generator for values of the given type.
arbitrary :: Gen a
- arbitrary = error "no default generator"
-- | Produces a (possibly) empty list of all the possible
-- immediate shrinks of the given value. The default implementation
@@ -195,7 +204,7 @@
#ifndef NO_GENERICS
-- | Shrink a term to any of its immediate subterms,
-- and also recursively shrink all subterms.
-genericShrink :: (Generic a, Arbitrary a, RecursivelyShrink (Rep a), GSubterms (Rep a) a) => a -> [a]
+genericShrink :: (Generic a, RecursivelyShrink (Rep a), GSubterms (Rep a) a) => a -> [a]
genericShrink x = subterms x ++ recursivelyShrink x
-- | Recursively shrink all immediate subterms.
@@ -229,7 +238,7 @@
-- | All immediate subterms of a term.
-subterms :: (Generic a, Arbitrary a, GSubterms (Rep a) a) => a -> [a]
+subterms :: (Generic a, GSubterms (Rep a) a) => a -> [a]
subterms = gSubterms . from
@@ -292,10 +301,10 @@
gSubtermsIncl (M1 x) = gSubtermsIncl x
-- This is the important case: We've found a term of the same type.
-instance Arbitrary a => GSubtermsIncl (K1 i a) a where
+instance {-# OVERLAPPING #-} GSubtermsIncl (K1 i a) a where
gSubtermsIncl (K1 x) = [x]
-instance GSubtermsIncl (K1 i a) b where
+instance {-# OVERLAPPING #-} GSubtermsIncl (K1 i a) b where
gSubtermsIncl (K1 _) = []
#endif
@@ -365,7 +374,7 @@
++ [ x':xs | x' <- shrink x ]
-}
-instance (Integral a, Arbitrary a) => Arbitrary (Ratio a) where
+instance Integral a => Arbitrary (Ratio a) where
arbitrary = arbitrarySizedFractional
shrink = shrinkRealFracToInteger
@@ -494,6 +503,23 @@
arbitrary = arbitrarySizedFractional
shrink = shrinkRealFrac
+-- Arbitrary instances for container types
+instance (Ord a, Arbitrary a) => Arbitrary (Set.Set a) where
+ arbitrary = fmap Set.fromList arbitrary
+ shrink = map Set.fromList . shrink . Set.toList
+instance (Ord k, Arbitrary k, Arbitrary v) => Arbitrary (Map.Map k v) where
+ arbitrary = fmap Map.fromList arbitrary
+ shrink = map Map.fromList . shrink . Map.toList
+instance Arbitrary IntSet.IntSet where
+ arbitrary = fmap IntSet.fromList arbitrary
+ shrink = map IntSet.fromList . shrink . IntSet.toList
+instance Arbitrary a => Arbitrary (IntMap.IntMap a) where
+ arbitrary = fmap IntMap.fromList arbitrary
+ shrink = map IntMap.fromList . shrink . IntMap.toList
+instance Arbitrary a => Arbitrary (Sequence.Seq a) where
+ arbitrary = fmap Sequence.fromList arbitrary
+ shrink = map Sequence.fromList . shrink . toList
+
-- ** Helper functions for implementing arbitrary
-- | Generates an integral number. The number can be positive or negative
@@ -799,6 +825,18 @@
instance CoArbitrary Double where
coarbitrary = coarbitraryReal
+-- Coarbitrary instances for container types
+instance CoArbitrary a => CoArbitrary (Set.Set a) where
+ coarbitrary = coarbitrary. Set.toList
+instance (CoArbitrary k, CoArbitrary v) => CoArbitrary (Map.Map k v) where
+ coarbitrary = coarbitrary . Map.toList
+instance CoArbitrary IntSet.IntSet where
+ coarbitrary = coarbitrary . IntSet.toList
+instance CoArbitrary a => CoArbitrary (IntMap.IntMap a) where
+ coarbitrary = coarbitrary . IntMap.toList
+instance CoArbitrary a => CoArbitrary (Sequence.Seq a) where
+ coarbitrary = coarbitrary . toList
+
-- ** Helpers for implementing coarbitrary
-- | A 'coarbitrary' implementation for integral numbers.
@@ -826,7 +864,7 @@
vector :: Arbitrary a => Int -> Gen [a]
vector k = vectorOf k arbitrary
--- | Generates an ordered list of a given length.
+-- | Generates an ordered list.
orderedList :: (Ord a, Arbitrary a) => Gen [a]
orderedList = sort `fmap` arbitrary
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QuickCheck-2.8.1/Test/QuickCheck/Function.hs new/QuickCheck-2.8.2/Test/QuickCheck/Function.hs
--- old/QuickCheck-2.8.1/Test/QuickCheck/Function.hs 2015-04-03 14:23:20.000000000 +0200
+++ new/QuickCheck-2.8.2/Test/QuickCheck/Function.hs 2016-01-15 17:09:16.000000000 +0100
@@ -279,7 +279,7 @@
--
-- > prop :: Fun String Integer -> Bool
-- > prop (Fn f) = f "banana" == f "monkey"
--- || f "banana" == f "elephant"
+-- > || f "banana" == f "elephant"
pattern Fn f <- Fun _ f
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QuickCheck-2.8.1/Test/QuickCheck/Gen.hs new/QuickCheck-2.8.2/Test/QuickCheck/Gen.hs
--- old/QuickCheck-2.8.1/Test/QuickCheck/Gen.hs 2015-04-03 14:23:20.000000000 +0200
+++ new/QuickCheck-2.8.2/Test/QuickCheck/Gen.hs 2016-01-15 17:09:16.000000000 +0100
@@ -33,6 +33,8 @@
)
import Test.QuickCheck.Random
+import Data.List
+import Data.Ord
--------------------------------------------------------------------------
-- ** Generator type
@@ -155,13 +157,9 @@
-- | Generates a random permutation of the given list.
shuffle :: [a] -> Gen [a]
-shuffle [] = return []
shuffle xs = do
- (y, ys) <- elements (selectOne xs)
- (y:) <$> shuffle ys
- where
- selectOne [] = []
- selectOne (y:ys) = (y,ys) : map (second (y:)) (selectOne ys)
+ ns <- vectorOf (length xs) (choose (minBound :: Int, maxBound))
+ return (map snd (sortBy (comparing fst) (zip ns xs)))
-- | Takes a list of elements of increasing size, and chooses
-- among an initial segment of the list. The size of this initial
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QuickCheck-2.8.1/Test/QuickCheck/Modifiers.hs new/QuickCheck-2.8.2/Test/QuickCheck/Modifiers.hs
--- old/QuickCheck-2.8.1/Test/QuickCheck/Modifiers.hs 2015-04-03 14:23:20.000000000 +0200
+++ new/QuickCheck-2.8.2/Test/QuickCheck/Modifiers.hs 2016-01-15 17:09:16.000000000 +0100
@@ -175,7 +175,7 @@
instance Functor NonZero where
fmap f (NonZero x) = NonZero (f x)
-instance (Num a, Ord a, Arbitrary a) => Arbitrary (NonZero a) where
+instance (Num a, Eq a, Arbitrary a) => Arbitrary (NonZero a) where
arbitrary = fmap NonZero $ arbitrary `suchThat` (/= 0)
shrink (NonZero x) = [ NonZero x' | x' <- shrink x, x' /= 0 ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QuickCheck-2.8.1/Test/QuickCheck/Test.hs new/QuickCheck-2.8.2/Test/QuickCheck/Test.hs
--- old/QuickCheck-2.8.1/Test/QuickCheck/Test.hs 2015-04-03 14:23:20.000000000 +0200
+++ new/QuickCheck-2.8.2/Test/QuickCheck/Test.hs 2016-01-15 17:09:16.000000000 +0100
@@ -38,11 +38,20 @@
-- | Args specifies arguments to the QuickCheck driver
data Args
= Args
- { replay :: Maybe (QCGen,Int) -- ^ Should we replay a previous test?
- , maxSuccess :: Int -- ^ Maximum number of successful tests before succeeding
- , maxDiscardRatio :: Int -- ^ Maximum number of discarded tests per successful test before giving up
- , maxSize :: Int -- ^ Size to use for the biggest test cases
- , chatty :: Bool -- ^ Whether to print anything
+ { replay :: Maybe (QCGen,Int)
+ -- ^ Should we replay a previous test?
+ -- Note: saving a seed from one version of QuickCheck and
+ -- replaying it in another is not supported.
+ -- If you want to store a test case permanently you should save
+ -- the test case itself.
+ , maxSuccess :: Int
+ -- ^ Maximum number of successful tests before succeeding
+ , maxDiscardRatio :: Int
+ -- ^ Maximum number of discarded tests per successful test before giving up
+ , maxSize :: Int
+ -- ^ Size to use for the biggest test cases
+ , chatty :: Bool
+ -- ^ Whether to print anything
}
deriving ( Show, Read )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QuickCheck-2.8.1/Test/QuickCheck/Text.hs new/QuickCheck-2.8.2/Test/QuickCheck/Text.hs
--- old/QuickCheck-2.8.1/Test/QuickCheck/Text.hs 2015-04-03 14:23:20.000000000 +0200
+++ new/QuickCheck-2.8.2/Test/QuickCheck/Text.hs 2016-01-15 17:09:16.000000000 +0100
@@ -35,6 +35,7 @@
, BufferMode (..)
, hGetBuffering
, hSetBuffering
+ , hIsTerminalDevice
)
import Data.IORef
@@ -102,8 +103,10 @@
action `finally` hSetBuffering stderr mode
withStdioTerminal :: (Terminal -> IO a) -> IO a
-withStdioTerminal action =
- withBuffering (newTerminal (handle stdout) (handle stderr) >>= action)
+withStdioTerminal action = do
+ isatty <- hIsTerminalDevice stderr
+ let err = if isatty then handle stderr else const (return ())
+ withBuffering (newTerminal (handle stdout) err >>= action)
withNullTerminal :: (Terminal -> IO a) -> IO a
withNullTerminal action =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QuickCheck-2.8.1/changelog new/QuickCheck-2.8.2/changelog
--- old/QuickCheck-2.8.1/changelog 2015-04-03 14:23:20.000000000 +0200
+++ new/QuickCheck-2.8.2/changelog 2016-01-15 17:09:16.000000000 +0100
@@ -1,3 +1,13 @@
+QuickCheck 2.8.2 (released 2016-01-15)
+ * GHC 8 support
+ * Add Arbitrary and CoArbitrary instances for types in
+ containers package
+ * Improve speed of shuffle combinator
+ * Only print to stderr if it's a terminal.
+ * Small changes: slightly improve documentation,
+ remove redundant constraints from some functions' types,
+ small improvements to Test.QuickCheck.All.
+
QuickCheck 2.8.1 (released 2015-04-03)
* Fix bug where exceptions thrown printing counterexamples weren't
being caught when terminal output was disabled
1
0
Hello community,
here is the log from the commit of package ghc-polyparse for openSUSE:Factory checked in at 2016-05-31 12:24:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-polyparse (Old)
and /work/SRC/openSUSE:Factory/.ghc-polyparse.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-polyparse"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-polyparse/ghc-polyparse.changes 2015-05-27 12:42:38.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-polyparse.new/ghc-polyparse.changes 2016-05-31 12:24:32.000000000 +0200
@@ -1,0 +2,5 @@
+Tue May 17 07:30:01 UTC 2016 - mimi.vx(a)gmail.com
+
+- update to 1.12
+
+-------------------------------------------------------------------
Old:
----
polyparse-1.11.tar.gz
New:
----
polyparse-1.12.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-polyparse.spec ++++++
--- /var/tmp/diff_new_pack.nOsv7P/_old 2016-05-31 12:24:33.000000000 +0200
+++ /var/tmp/diff_new_pack.nOsv7P/_new 2016-05-31 12:24:33.000000000 +0200
@@ -20,7 +20,7 @@
# no useful debuginfo for Haskell packages without C sources
%global debug_package %{nil}
Name: ghc-%{pkg_name}
-Version: 1.11
+Version: 1.12
Release: 0
Summary: A variety of alternative parser combinator libraries
License: LGPL-2.0+
++++++ polyparse-1.11.tar.gz -> polyparse-1.12.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/polyparse-1.11/LICENCE-LGPL new/polyparse-1.12/LICENCE-LGPL
--- old/polyparse-1.11/LICENCE-LGPL 1970-01-01 01:00:00.000000000 +0100
+++ new/polyparse-1.12/LICENCE-LGPL 2016-04-12 19:10:33.000000000 +0200
@@ -0,0 +1,508 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 2.1, February 1999
+
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the Lesser GPL. It also counts
+ as the successor of the GNU Library Public License, version 2, hence
+ the version number 2.1.]
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+ This license, the Lesser General Public License, applies to some
+specially designated software packages--typically libraries--of the
+Free Software Foundation and other authors who decide to use it. You
+can use it too, but we suggest you first think carefully about whether
+this license or the ordinary General Public License is the better
+strategy to use in any particular case, based on the explanations
+below.
+
+ When we speak of free software, we are referring to freedom of use,
+not price. Our General Public Licenses are designed to make sure that
+you have the freedom to distribute copies of free software (and charge
+for this service if you wish); that you receive source code or can get
+it if you want it; that you can change the software and use pieces of
+it in new free programs; and that you are informed that you can do
+these things.
+
+ To protect your rights, we need to make restrictions that forbid
+distributors to deny you these rights or to ask you to surrender these
+rights. These restrictions translate to certain responsibilities for
+you if you distribute copies of the library or if you modify it.
+
+ For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you. You must make sure that they, too, receive or can get the source
+code. If you link other code with the library, you must provide
+complete object files to the recipients, so that they can relink them
+with the library after making changes to the library and recompiling
+it. And you must show them these terms so they know their rights.
+
+ We protect your rights with a two-step method: (1) we copyright the
+library, and (2) we offer you this license, which gives you legal
+permission to copy, distribute and/or modify the library.
+
+ To protect each distributor, we want to make it very clear that
+there is no warranty for the free library. Also, if the library is
+modified by someone else and passed on, the recipients should know
+that what they have is not the original version, so that the original
+author's reputation will not be affected by problems that might be
+introduced by others.
+
+ Finally, software patents pose a constant threat to the existence of
+any free program. We wish to make sure that a company cannot
+effectively restrict the users of a free program by obtaining a
+restrictive license from a patent holder. Therefore, we insist that
+any patent license obtained for a version of the library must be
+consistent with the full freedom of use specified in this license.
+
+ Most GNU software, including some libraries, is covered by the
+ordinary GNU General Public License. This license, the GNU Lesser
+General Public License, applies to certain designated libraries, and
+is quite different from the ordinary General Public License. We use
+this license for certain libraries in order to permit linking those
+libraries into non-free programs.
+
+ When a program is linked with a library, whether statically or using
+a shared library, the combination of the two is legally speaking a
+combined work, a derivative of the original library. The ordinary
+General Public License therefore permits such linking only if the
+entire combination fits its criteria of freedom. The Lesser General
+Public License permits more lax criteria for linking other code with
+the library.
+
+ We call this license the "Lesser" General Public License because it
+does Less to protect the user's freedom than the ordinary General
+Public License. It also provides other free software developers Less
+of an advantage over competing non-free programs. These disadvantages
+are the reason we use the ordinary General Public License for many
+libraries. However, the Lesser license provides advantages in certain
+special circumstances.
+
+ For example, on rare occasions, there may be a special need to
+encourage the widest possible use of a certain library, so that it
+becomes a de-facto standard. To achieve this, non-free programs must
+be allowed to use the library. A more frequent case is that a free
+library does the same job as widely used non-free libraries. In this
+case, there is little to gain by limiting the free library to free
+software only, so we use the Lesser General Public License.
+
+ In other cases, permission to use a particular library in non-free
+programs enables a greater number of people to use a large body of
+free software. For example, permission to use the GNU C Library in
+non-free programs enables many more people to use the whole GNU
+operating system, as well as its variant, the GNU/Linux operating
+system.
+
+ Although the Lesser General Public License is Less protective of the
+users' freedom, it does ensure that the user of a program that is
+linked with the Library has the freedom and the wherewithal to run
+that program using a modified version of the Library.
+
+ The precise terms and conditions for copying, distribution and
+modification follow. Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library". The
+former contains code derived from the library, whereas the latter must
+be combined with the library in order to run.
+
+
+ GNU LESSER GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License Agreement applies to any software library or other
+program which contains a notice placed by the copyright holder or
+other authorized party saying it may be distributed under the terms of
+this Lesser General Public License (also called "this License").
+Each licensee is addressed as "you".
+
+ A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+ The "Library", below, refers to any such software library or work
+which has been distributed under these terms. A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language. (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+ "Source code" for a work means the preferred form of the work for
+making modifications to it. For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control
+compilation and installation of the library.
+
+ Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it). Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+
+ 1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+ You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+
+ 2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) The modified work must itself be a software library.
+
+ b) You must cause the files modified to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ c) You must cause the whole of the work to be licensed at no
+ charge to all third parties under the terms of this License.
+
+ d) If a facility in the modified Library refers to a function or a
+ table of data to be supplied by an application program that uses
+ the facility, other than as an argument passed when the facility
+ is invoked, then you must make a good faith effort to ensure that,
+ in the event an application does not supply such function or
+ table, the facility still operates, and performs whatever part of
+ its purpose remains meaningful.
+
+ (For example, a function in a library to compute square roots has
+ a purpose that is entirely well-defined independent of the
+ application. Therefore, Subsection 2d requires that any
+ application-supplied function or table used by this function must
+ be optional: if the application does not supply it, the square
+ root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library. To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License. (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.) Do not make any other change in
+these notices.
+
+ Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+ This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+ 4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+ If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library". Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+ However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library". The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+ When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library. The
+threshold for this to be true is not precisely defined by law.
+
+ If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work. (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+ Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+
+ 6. As an exception to the Sections above, you may also combine or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+ You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License. You must supply a copy of this License. If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License. Also, you must do one
+of these things:
+
+ a) Accompany the work with the complete corresponding
+ machine-readable source code for the Library including whatever
+ changes were used in the work (which must be distributed under
+ Sections 1 and 2 above); and, if the work is an executable linked
+ with the Library, with the complete machine-readable "work that
+ uses the Library", as object code and/or source code, so that the
+ user can modify the Library and then relink to produce a modified
+ executable containing the modified Library. (It is understood
+ that the user who changes the contents of definitions files in the
+ Library will not necessarily be able to recompile the application
+ to use the modified definitions.)
+
+ b) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (1) uses at run time a
+ copy of the library already present on the user's computer system,
+ rather than copying library functions into the executable, and (2)
+ will operate properly with a modified version of the library, if
+ the user installs one, as long as the modified version is
+ interface-compatible with the version that the work was made with.
+
+ c) Accompany the work with a written offer, valid for at least
+ three years, to give the same user the materials specified in
+ Subsection 6a, above, for a charge no more than the cost of
+ performing this distribution.
+
+ d) If distribution of the work is made by offering access to copy
+ from a designated place, offer equivalent access to copy the above
+ specified materials from the same place.
+
+ e) Verify that the user has already received a copy of these
+ materials or that you have already sent this user a copy.
+
+ For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it. However, as a special exception,
+the materials to be distributed need not include anything that is
+normally distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+ It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system. Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+ 7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+ a) Accompany the combined library with a copy of the same work
+ based on the Library, uncombined with any other library
+ facilities. This must be distributed under the terms of the
+ Sections above.
+
+ b) Give prominent notice with the combined library of the fact
+ that part of it is a work based on the Library, and explaining
+ where to find the accompanying uncombined form of the same work.
+
+ 8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License. Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License. However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+ 9. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Library or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+ 10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties with
+this License.
+
+ 11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all. For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply, and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License
+may add an explicit geographical distribution limitation excluding those
+countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 13. The Free Software Foundation may publish revised and/or new
+versions of the Lesser General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation. If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+ 14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission. For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this. Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+ NO WARRANTY
+
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+
+ How to Apply These Terms to Your New Libraries
+
+ If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change. You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms of the
+ordinary General Public License).
+
+ To apply these terms, attach the following notices to the library. It is
+safest to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the library's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+Also add information on how to contact you by electronic and paper mail.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the library, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
+
+ <signature of Ty Coon>, 1 April 1990
+ Ty Coon, President of Vice
+
+That's all there is to it!
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/polyparse-1.11/LICENCE-commercial new/polyparse-1.12/LICENCE-commercial
--- old/polyparse-1.11/LICENCE-commercial 1970-01-01 01:00:00.000000000 +0100
+++ new/polyparse-1.12/LICENCE-commercial 2016-04-12 19:10:33.000000000 +0200
@@ -0,0 +1,29 @@
+Commercial licence for polyparse.
+
+Copyright 2006-2014, Malcolm Wallace (malcolm.wallace(a)me.com)
+All rights reserved.
+
+* This software, built from original unmodified sources, may be used for
+ any purpose whatsoever, without restriction.
+
+* Redistribution in binary form, without modification, is permitted
+ provided that the above copyright notice, these conditions and the
+ following disclaimer are reproduced in the documentation and/or other
+ materials provided with the distribution.
+
+* Redistribution in source form, with or without modification, is not
+ permitted under this license.
+
+THIS SOFTWARE IS PROVIDED BY Malcolm Wallace
+AND THE CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
+INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
+Malcolm Wallace OR THE CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGE.
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/polyparse-1.11/polyparse.cabal new/polyparse-1.12/polyparse.cabal
--- old/polyparse-1.11/polyparse.cabal 2015-01-01 15:02:06.000000000 +0100
+++ new/polyparse-1.12/polyparse.cabal 2016-04-12 19:10:33.000000000 +0200
@@ -1,7 +1,8 @@
name: polyparse
-version: 1.11
+version: 1.12
license: LGPL
license-file: COPYRIGHT
+copyright: (c) 2006-2016 Malcolm Wallace
author: Malcolm Wallace <Malcolm.Wallace(a)me.com>
maintainer: author
homepage: http://code.haskell.org/~malcolm/polyparse/
@@ -15,7 +16,12 @@
replacement for the standard Read class, for better
deserialisation of Haskell values from Strings.
build-type: Simple
-cabal-version: >=1.2
+cabal-version: >=1.6
+extra-source-files: LICENCE-LGPL, LICENCE-commercial
+
+source-repository head
+ type: darcs
+ location: http://code.haskell.org/polyparse
library
hs-source-dirs: src
@@ -44,6 +50,6 @@
Text.ParserCombinators.Poly.Text
Text.ParserCombinators.Poly.StateText
-- Text.Parse.Text
- cpp-options: -DVERSION="1.11"
+ cpp-options: -DVERSION="1.12"
nhc98-options: -K6M
extensions: CPP
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/polyparse-1.11/src/Text/Parse/ByteString.hs new/polyparse-1.12/src/Text/Parse/ByteString.hs
--- old/polyparse-1.11/src/Text/Parse/ByteString.hs 2015-01-01 15:02:06.000000000 +0100
+++ new/polyparse-1.12/src/Text/Parse/ByteString.hs 2016-04-12 19:10:33.000000000 +0200
@@ -26,6 +26,7 @@
, parseUnsignedInteger
, parseFloat
, parseLitChar
+ , parseLitChar'
-- ** Re-export all the more general combinators from Poly too
, module Text.ParserCombinators.Poly.ByteStringChar
-- ** ByteStrings and Strings as whole entities
@@ -129,7 +130,7 @@
p s | BS.null s = Failure BS.empty "end of input"
| otherwise =
case (BS.head s, BS.tail s) of
- ('\'',t) -> let (P lit) = parseLitChar in fmap show (lit s)
+ ('\'',t) -> let (P lit) = parseLitChar' in fmap show (lit s)
('\"',t) -> let (str,rest) = BS.span (not . (`elem` "\\\"")) t
in litString ('\"': BS.unpack str) rest
('0',s) -> case BS.uncons s of
@@ -188,9 +189,12 @@
Nothing -> Failure (BS.empty)
("end of input in string literal "++acc)
Just ('\"',r) -> Success r (acc++"\"")
- Just ('\\',r) -> case BS.uncons r of -- "for vim
- Just ('\"',t) -> litString (acc++"\\\"") t
- _ -> litString (acc++"\\") r -- "vim
+ Just ('\\',r) -> let (P lit) = parseLitChar
+ in case lit s of
+ Failure a b -> Failure a b
+ Success t char ->
+ let (u,v) = BS.span (`notElem`"\\\"") t
+ in litString (acc++[char]++BS.unpack u) v
Just (_,r) -> error "Text.Parse.word(litString) - can't happen"
@@ -310,16 +314,22 @@
`onFail`
parseSigned parseDec )
--- | Parse a Haskell character literal.
+-- | Parse a Haskell character literal, including surrounding single quotes.
+parseLitChar' :: TextParser Char
+parseLitChar' = do '\'' <- next `adjustErr` (++"expected a literal char")
+ char <- parseLitChar
+ '\'' <- next `adjustErrBad` (++"literal char has no final '")
+ return char
+
+-- | Parse a Haskell character literal, excluding surrounding single quotes.
parseLitChar :: TextParser Char
-parseLitChar = do '\'' <- next `adjustErr` (++"expected a literal char")
- c <- next
+parseLitChar = do c <- next
char <- case c of
'\\' -> next >>= escape
'\'' -> fail "expected a literal char, got ''"
_ -> return c
- '\'' <- next `adjustErrBad` (++"literal char has no final '")
return char
+
where
escape 'a' = return '\a'
escape 'b' = return '\b'
@@ -425,7 +435,7 @@
instance Parse Double where
parse = do manySatisfy isSpace; parseSigned parseFloat
instance Parse Char where
- parse = do manySatisfy isSpace; parseLitChar
+ parse = do manySatisfy isSpace; parseLitChar'
-- not totally correct for strings...
parseList = do { w <- word; if head w == '"' then return (init (tail w))
else fail "not a string" }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/polyparse-1.11/src/Text/Parse.hs new/polyparse-1.12/src/Text/Parse.hs
--- old/polyparse-1.11/src/Text/Parse.hs 2015-01-01 15:02:06.000000000 +0100
+++ new/polyparse-1.12/src/Text/Parse.hs 2016-04-12 19:10:33.000000000 +0200
@@ -24,6 +24,7 @@
, parseHex
, parseFloat
, parseLitChar
+ , parseLitChar'
-- ** Re-export all the more general combinators from Poly too
, module Text.ParserCombinators.Poly
-- ** Strings as whole entities
@@ -107,14 +108,16 @@
where
p "" = Failure "" "end of input"
p (c:s) | isSpace c = p (dropWhile isSpace s)
- p ('\'':s) = let (P lit) = parseLitChar in fmap show (lit ('\'':s))
+ p ('\'':s) = let (P lit) = parseLitChar' in fmap show (lit ('\'':s))
p ('"':s) = lexString "\"" s
where lexString acc ('"':s) = Success s (reverse ('"':acc))
- lexString acc ('\\':'"':s) = lexString ("\"\\"++acc) s
- lexString acc (c:s) = lexString (c:acc) s
lexString acc [] = Failure [] ("end of input in "
++"string literal "
++acc)
+ lexString acc s = let (P lit) = parseLitChar
+ in case lit s of
+ Failure a b -> Failure a b
+ Success t c -> lexString (c:acc) t
p ('0':'x':s) = Success t ('0':'x':ds) where (ds,t) = span isHexDigit s
p ('0':'X':s) = Success t ('0':'X':ds) where (ds,t) = span isHexDigit s
p ('0':'o':s) = Success t ('0':'o':ds) where (ds,t) = span isOctDigit s
@@ -262,15 +265,22 @@
`onFail`
parseSigned parseDec )
+-- | Parse a Haskell character literal, including the surrounding single quotes.
+parseLitChar' :: TextParser Char
+parseLitChar' = do '\'' <- next `adjustErr` (++"expected a literal char")
+ char <- parseLitChar
+ '\'' <- next `adjustErrBad` (++"literal char has no final '")
+ return char
+
+-- | Parse a Haskell character literal, excluding the surrounding single quotes.
parseLitChar :: TextParser Char
-parseLitChar = do '\'' <- next `adjustErr` (++"expected a literal char")
- c <- next
+parseLitChar = do c <- next
char <- case c of
'\\' -> next >>= escape
'\'' -> fail "expected a literal char, got ''"
_ -> return c
- '\'' <- next `adjustErrBad` (++"literal char has no final '")
return char
+
where
escape 'a' = return '\a'
escape 'b' = return '\b'
@@ -381,7 +391,7 @@
parse = do many (satisfy isSpace); parseSigned parseFloat
instance Parse Char where
-- parse = parseByRead "Char"
- parse = do many (satisfy isSpace); parseLitChar
+ parse = do many (satisfy isSpace); parseLitChar'
-- parse = do { w <- word; if head w == '\'' then readLitChar (tail w)
-- else fail "expected a char" }
-- parseList = bracket (isWord "\"") (satisfy (=='"'))
1
0
Hello community,
here is the log from the commit of package ghc-OpenGLRaw for openSUSE:Factory checked in at 2016-05-31 12:24:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-OpenGLRaw (Old)
and /work/SRC/openSUSE:Factory/.ghc-OpenGLRaw.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-OpenGLRaw"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-OpenGLRaw/ghc-OpenGLRaw.changes 2016-01-28 17:24:57.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-OpenGLRaw.new/ghc-OpenGLRaw.changes 2016-05-31 12:24:30.000000000 +0200
@@ -1,0 +2,8 @@
+Fri May 13 13:18:36 UTC 2016 - mimi.vx(a)gmail.com
+
+- update to 3.2.0.0
+- removed useless _service
+* Updated OpenGL registry to r32749.
+* Updated warning flag magic for GHC 8.0.
+
+-------------------------------------------------------------------
Old:
----
OpenGLRaw-3.1.0.0.tar.gz
_service
New:
----
OpenGLRaw-3.2.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-OpenGLRaw.spec ++++++
--- /var/tmp/diff_new_pack.QMPMXZ/_old 2016-05-31 12:24:31.000000000 +0200
+++ /var/tmp/diff_new_pack.QMPMXZ/_new 2016-05-31 12:24:31.000000000 +0200
@@ -20,7 +20,7 @@
%global pkg_name OpenGLRaw
Name: ghc-OpenGLRaw
-Version: 3.1.0.0
+Version: 3.2.0.0
Release: 0
Summary: A raw binding for the OpenGL graphics system
License: BSD-3-Clause
++++++ OpenGLRaw-3.1.0.0.tar.gz -> OpenGLRaw-3.2.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/OpenGLRaw-3.1.0.0/CHANGELOG.md new/OpenGLRaw-3.2.0.0/CHANGELOG.md
--- old/OpenGLRaw-3.1.0.0/CHANGELOG.md 2016-01-10 16:22:52.000000000 +0100
+++ new/OpenGLRaw-3.2.0.0/CHANGELOG.md 2016-05-10 20:30:48.000000000 +0200
@@ -1,3 +1,12 @@
+3.2.0.0
+-------
+* Updated OpenGL registry to r32749.
+
+3.1.0.1
+-------
+* Updated warning flag magic for GHC 8.0.
+* Updated OpenGL registry to r32363.
+
3.1.0.0
-------
* Changed the type of `GL_FALSE` and `GL_TRUE` to `GLboolean`, leading to fewer
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/OpenGLRaw-3.1.0.0/OpenGLRaw.cabal new/OpenGLRaw-3.2.0.0/OpenGLRaw.cabal
--- old/OpenGLRaw-3.1.0.0/OpenGLRaw.cabal 2016-01-10 16:22:52.000000000 +0100
+++ new/OpenGLRaw-3.2.0.0/OpenGLRaw.cabal 2016-05-10 20:29:27.000000000 +0200
@@ -1,5 +1,5 @@
name: OpenGLRaw
-version: 3.1.0.0
+version: 3.2.0.0
synopsis: A raw binding for the OpenGL graphics system
description:
OpenGLRaw is a raw Haskell binding for the OpenGL 4.5 graphics system and
@@ -27,6 +27,11 @@
maintainer: Sven Panne <svenpanne(a)gmail.com>, Jason Dagit <dagitj(a)gmail.com>
category: Graphics
build-type: Simple
+tested-with:
+ GHC == 7.8.4
+ GHC == 7.10.3
+ GHC == 8.0.1
+ GHC == 8.1
cabal-version: >= 1.10
extra-source-files:
CHANGELOG.md
@@ -489,6 +494,7 @@
Graphics.GL.NV.VertexProgram3
Graphics.GL.NV.VertexProgram4
Graphics.GL.NV.VideoCapture
+ Graphics.GL.NV.ViewportSwizzle
Graphics.GL.NVX
Graphics.GL.NVX.ConditionalRender
Graphics.GL.NVX.GPUMemoryInfo
@@ -611,6 +617,8 @@
transformers >= 0.2 && < 0.6
default-language: Haskell2010
ghc-options: -Wall
+ if impl(ghc > 8)
+ ghc-options: -Wcompat
other-extensions:
CPP
PatternSynonyms
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/OpenGLRaw-3.1.0.0/RegistryProcessor/OpenGL-Registry/gl.xml new/OpenGLRaw-3.2.0.0/RegistryProcessor/OpenGL-Registry/gl.xml
--- old/OpenGLRaw-3.1.0.0/RegistryProcessor/OpenGL-Registry/gl.xml 2016-01-10 16:22:52.000000000 +0100
+++ new/OpenGLRaw-3.2.0.0/RegistryProcessor/OpenGL-Registry/gl.xml 2016-05-10 20:10:17.000000000 +0200
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<registry>
<comment>
-Copyright (c) 2013-2015 The Khronos Group Inc.
+Copyright (c) 2013-2016 The Khronos Group Inc.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and/or associated documentation files (the
@@ -142,6 +142,11 @@
<type api="gles2" requires="khrplatform">typedef khronos_intptr_t <name>GLintptr</name>;</type>
<type api="gles2" requires="khrplatform">typedef khronos_ssize_t <name>GLsizeiptr</name>;</type>
<!-- GLES 2 types (none currently) -->
+ <!-- GLSC 2 types -->
+ <type api="glsc2" requires="khrplatform">typedef khronos_uint8_t <name>GLubyte</name>;</type>
+ <type api="glsc2" requires="khrplatform">typedef khronos_float_t <name>GLfloat</name>;</type>
+ <type api="glsc2" requires="khrplatform">typedef khronos_intptr_t <name>GLintptr</name>;</type>
+ <type api="glsc2" requires="khrplatform">typedef khronos_ssize_t <name>GLsizeiptr</name>;</type>
<!-- Vendor extension types -->
<type>typedef void (<apientry/> *<name>GLDEBUGPROCAMD</name>)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam);</type>
<type>typedef unsigned short <name>GLhalfNV</name>;</type>
@@ -330,6 +335,7 @@
<enum name="GL_CONTEXT_FLAG_DEBUG_BIT_KHR"/>
<enum name="GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT"/>
<enum name="GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB"/>
+ <enum name="GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT"/>
</group>
<group name="ContextProfileMask">
@@ -2061,6 +2067,7 @@
<enum value="0x00000004" name="GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT"/>
<enum value="0x00000004" name="GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB"/>
<enum value="0x00000008" name="GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR"/>
+ <enum value="0x00000010" name="GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT"/>
</enums>
<enums namespace="GL" group="ContextProfileMask" type="bitmask">
@@ -2732,6 +2739,7 @@
<enum value="0x0D32" name="GL_MAX_CLIP_PLANES"/>
<enum value="0x0D32" name="GL_MAX_CLIP_PLANES_IMG"/>
<enum value="0x0D32" name="GL_MAX_CLIP_DISTANCES" alias="GL_MAX_CLIP_PLANES"/>
+ <enum value="0x0D32" name="GL_MAX_CLIP_DISTANCES_EXT" alias="GL_MAX_CLIP_PLANES"/>
<enum value="0x0D32" name="GL_MAX_CLIP_DISTANCES_APPLE"/>
<enum value="0x0D33" name="GL_MAX_TEXTURE_SIZE"/>
<enum value="0x0D34" name="GL_MAX_PIXEL_MAP_TABLE"/>
@@ -2999,30 +3007,38 @@
<enum value="0x3000" name="GL_CLIP_PLANE0"/>
<enum value="0x3000" name="GL_CLIP_PLANE0_IMG"/>
<enum value="0x3000" name="GL_CLIP_DISTANCE0" alias="GL_CLIP_PLANE0"/>
+ <enum value="0x3000" name="GL_CLIP_DISTANCE0_EXT" alias="GL_CLIP_PLANE0"/>
<enum value="0x3000" name="GL_CLIP_DISTANCE0_APPLE"/>
<enum value="0x3001" name="GL_CLIP_PLANE1"/>
<enum value="0x3001" name="GL_CLIP_PLANE1_IMG"/>
<enum value="0x3001" name="GL_CLIP_DISTANCE1" alias="GL_CLIP_PLANE1"/>
+ <enum value="0x3001" name="GL_CLIP_DISTANCE1_EXT" alias="GL_CLIP_PLANE1"/>
<enum value="0x3001" name="GL_CLIP_DISTANCE1_APPLE"/>
<enum value="0x3002" name="GL_CLIP_PLANE2"/>
<enum value="0x3002" name="GL_CLIP_PLANE2_IMG"/>
<enum value="0x3002" name="GL_CLIP_DISTANCE2" alias="GL_CLIP_PLANE2"/>
+ <enum value="0x3002" name="GL_CLIP_DISTANCE2_EXT" alias="GL_CLIP_PLANE2"/>
<enum value="0x3002" name="GL_CLIP_DISTANCE2_APPLE"/>
<enum value="0x3003" name="GL_CLIP_PLANE3"/>
<enum value="0x3003" name="GL_CLIP_PLANE3_IMG"/>
<enum value="0x3003" name="GL_CLIP_DISTANCE3" alias="GL_CLIP_PLANE3"/>
+ <enum value="0x3003" name="GL_CLIP_DISTANCE3_EXT" alias="GL_CLIP_PLANE3"/>
<enum value="0x3003" name="GL_CLIP_DISTANCE3_APPLE"/>
<enum value="0x3004" name="GL_CLIP_PLANE4"/>
<enum value="0x3004" name="GL_CLIP_PLANE4_IMG"/>
<enum value="0x3004" name="GL_CLIP_DISTANCE4" alias="GL_CLIP_PLANE4"/>
+ <enum value="0x3004" name="GL_CLIP_DISTANCE4_EXT" alias="GL_CLIP_PLANE4"/>
<enum value="0x3004" name="GL_CLIP_DISTANCE4_APPLE"/>
<enum value="0x3005" name="GL_CLIP_PLANE5"/>
<enum value="0x3005" name="GL_CLIP_PLANE5_IMG"/>
<enum value="0x3005" name="GL_CLIP_DISTANCE5" alias="GL_CLIP_PLANE5"/>
+ <enum value="0x3005" name="GL_CLIP_DISTANCE5_EXT" alias="GL_CLIP_PLANE5"/>
<enum value="0x3005" name="GL_CLIP_DISTANCE5_APPLE"/>
<enum value="0x3006" name="GL_CLIP_DISTANCE6"/>
+ <enum value="0x3006" name="GL_CLIP_DISTANCE6_EXT" alias="GL_CLIP_DISTANCE6"/>
<enum value="0x3006" name="GL_CLIP_DISTANCE6_APPLE"/>
<enum value="0x3007" name="GL_CLIP_DISTANCE7"/>
+ <enum value="0x3007" name="GL_CLIP_DISTANCE7_EXT" alias="GL_CLIP_DISTANCE7"/>
<enum value="0x3007" name="GL_CLIP_DISTANCE7_APPLE"/>
<unused start="0x3008" end="0x3FFF" comment="Unused for ClipPlaneName"/>
<enum value="0x4000" name="GL_LIGHT0"/>
@@ -4154,7 +4170,9 @@
<enum value="0x82F7" name="GL_CLIPPING_OUTPUT_PRIMITIVES_ARB"/>
<enum value="0x82F8" name="GL_SPARSE_BUFFER_PAGE_SIZE_ARB"/>
<enum value="0x82F9" name="GL_MAX_CULL_DISTANCES"/>
+ <enum value="0x82F9" name="GL_MAX_CULL_DISTANCES_EXT" alias="GL_MAX_CULL_DISTANCES"/>
<enum value="0x82FA" name="GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES"/>
+ <enum value="0x82FA" name="GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT" alias="GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES"/>
<enum value="0x82FB" name="GL_CONTEXT_RELEASE_BEHAVIOR"/>
<enum value="0x82FB" name="GL_CONTEXT_RELEASE_BEHAVIOR_KHR"/>
<enum value="0x82FC" name="GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH"/>
@@ -6422,7 +6440,9 @@
<enum value="0x8BDC" name="GL_STATE_RESTORE"/>
<unused start="0x8BDD" end="0x8BE6" vendor="QCOM"/>
<enum value="0x8BE7" name="GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT"/>
- <unused start="0x8BE8" end="0x8BFF" vendor="QCOM"/>
+ <unused start="0x8BE8" end="0x8BEF" vendor="QCOM"/>
+ <enum value="0x8BFA" name="GL_TEXTURE_PROTECTED_EXT"/>
+ <unused start="0x8BFB" end="0x8BFF" vendor="QCOM"/>
</enums>
<enums namespace="GL" start="0x8C00" end="0x8C0F" vendor="IMG">
@@ -8305,7 +8325,19 @@
<enum value="0x934A" name="GL_LOCATION_COMPONENT"/>
<enum value="0x934B" name="GL_TRANSFORM_FEEDBACK_BUFFER_INDEX"/>
<enum value="0x934C" name="GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE"/>
- <unused start="0x934D" end="0x935B" vendor="NV"/>
+ <unused start="0x934D" end="0x934F" vendor="NV"/>
+ <enum value="0x9350" name="GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV"/>
+ <enum value="0x9351" name="GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV"/>
+ <enum value="0x9352" name="GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV"/>
+ <enum value="0x9353" name="GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV"/>
+ <enum value="0x9354" name="GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV"/>
+ <enum value="0x9355" name="GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV"/>
+ <enum value="0x9356" name="GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV"/>
+ <enum value="0x9357" name="GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV"/>
+ <enum value="0x9358" name="GL_VIEWPORT_SWIZZLE_X_NV"/>
+ <enum value="0x9359" name="GL_VIEWPORT_SWIZZLE_Y_NV"/>
+ <enum value="0x935A" name="GL_VIEWPORT_SWIZZLE_Z_NV"/>
+ <enum value="0x935B" name="GL_VIEWPORT_SWIZZLE_W_NV"/>
<enum value="0x935C" name="GL_CLIP_ORIGIN"/>
<enum value="0x935D" name="GL_CLIP_DEPTH_MODE"/>
<enum value="0x935E" name="GL_NEGATIVE_ONE_TO_ONE"/>
@@ -8491,6 +8523,14 @@
<unused start="0x9653" end="0x968F" vendor="IMG"/>
</enums>
+ <enums namespace="GL" start="0x9690" end="0x969F" vendor="ANGLE" comment="Khronos bug 15423">
+ <unused start="0x9690" end="0x969F" vendor="ANGLE"/>
+ </enums>
+
+ <enums namespace="GL" start="0x96A0" end="0x96AF" vendor="Qualcomm" comment="contact Maurice Ribble">
+ <unused start="0x96A0" end="0x96AF" vendor="Qualcomm"/>
+ </enums>
+
<!-- Enums reservable for future use. To reserve a new range, allocate one
or more multiples of 16 starting at the lowest available point in this
block and note it in a new <enums> block immediately above.
@@ -8500,8 +8540,8 @@
file) File requests in the Khronos Bugzilla, OpenGL project, Registry
component. -->
- <enums namespace="GL" start="0x9690" end="99999" vendor="ARB" comment="RESERVED FOR FUTURE ALLOCATIONS BY KHRONOS">
- <unused start="0x9690" end="99999" comment="RESERVED"/>
+ <enums namespace="GL" start="0x96B0" end="99999" vendor="ARB" comment="RESERVED FOR FUTURE ALLOCATIONS BY KHRONOS">
+ <unused start="0x96B0" end="99999" comment="RESERVED"/>
</enums>
<!-- Historical large block allocations, all unused except (in older days) by IBM -->
@@ -29415,6 +29455,14 @@
<alias name="glViewportIndexedfv"/>
</command>
<command>
+ <proto>void <name>glViewportSwizzleNV</name></proto>
+ <param><ptype>GLuint</ptype> <name>index</name></param>
+ <param><ptype>GLenum</ptype> <name>swizzlex</name></param>
+ <param><ptype>GLenum</ptype> <name>swizzley</name></param>
+ <param><ptype>GLenum</ptype> <name>swizzlez</name></param>
+ <param><ptype>GLenum</ptype> <name>swizzlew</name></param>
+ </command>
+ <command>
<proto>void <name>glWaitSync</name></proto>
<param group="sync"><ptype>GLsync</ptype> <name>sync</name></param>
<param><ptype>GLbitfield</ptype> <name>flags</name></param>
@@ -35886,6 +35934,400 @@
<command name="glTexStorage3DMultisample"/>
</require>
</feature>
+ <feature api="glsc2" name="GL_SC_VERSION_2_0" number="2.0">
+ <require comment="Not used by the API, but could be used by applications">
+ <type name="GLbyte" comment="Used to define GL_BYTE data"/>
+ <type name="GLshort" comment="Used to define GL_SHORT data"/>
+ <type name="GLushort" comment="Used to define GL_UNSIGNED_SHORT data"/>
+ </require>
+ <require>
+ <enum name="GL_DEPTH_BUFFER_BIT"/>
+ <enum name="GL_STENCIL_BUFFER_BIT"/>
+ <enum name="GL_COLOR_BUFFER_BIT"/>
+ <enum name="GL_FALSE"/>
+ <enum name="GL_TRUE"/>
+ <enum name="GL_POINTS"/>
+ <enum name="GL_LINES"/>
+ <enum name="GL_LINE_LOOP"/>
+ <enum name="GL_LINE_STRIP"/>
+ <enum name="GL_TRIANGLES"/>
+ <enum name="GL_TRIANGLE_STRIP"/>
+ <enum name="GL_TRIANGLE_FAN"/>
+ <enum name="GL_ZERO"/>
+ <enum name="GL_ONE"/>
+ <enum name="GL_SRC_COLOR"/>
+ <enum name="GL_ONE_MINUS_SRC_COLOR"/>
+ <enum name="GL_SRC_ALPHA"/>
+ <enum name="GL_ONE_MINUS_SRC_ALPHA"/>
+ <enum name="GL_DST_ALPHA"/>
+ <enum name="GL_ONE_MINUS_DST_ALPHA"/>
+ <enum name="GL_DST_COLOR"/>
+ <enum name="GL_ONE_MINUS_DST_COLOR"/>
+ <enum name="GL_SRC_ALPHA_SATURATE"/>
+ <enum name="GL_FUNC_ADD"/>
+ <enum name="GL_BLEND_EQUATION"/>
+ <enum name="GL_BLEND_EQUATION_RGB"/>
+ <enum name="GL_BLEND_EQUATION_ALPHA"/>
+ <enum name="GL_FUNC_SUBTRACT"/>
+ <enum name="GL_FUNC_REVERSE_SUBTRACT"/>
+ <enum name="GL_BLEND_DST_RGB"/>
+ <enum name="GL_BLEND_SRC_RGB"/>
+ <enum name="GL_BLEND_DST_ALPHA"/>
+ <enum name="GL_BLEND_SRC_ALPHA"/>
+ <enum name="GL_CONSTANT_COLOR"/>
+ <enum name="GL_ONE_MINUS_CONSTANT_COLOR"/>
+ <enum name="GL_CONSTANT_ALPHA"/>
+ <enum name="GL_ONE_MINUS_CONSTANT_ALPHA"/>
+ <enum name="GL_BLEND_COLOR"/>
+ <enum name="GL_ARRAY_BUFFER"/>
+ <enum name="GL_ELEMENT_ARRAY_BUFFER"/>
+ <enum name="GL_ARRAY_BUFFER_BINDING"/>
+ <enum name="GL_ELEMENT_ARRAY_BUFFER_BINDING"/>
+ <enum name="GL_STREAM_DRAW"/>
+ <enum name="GL_STATIC_DRAW"/>
+ <enum name="GL_DYNAMIC_DRAW"/>
+ <enum name="GL_BUFFER_SIZE"/>
+ <enum name="GL_BUFFER_USAGE"/>
+ <enum name="GL_CURRENT_VERTEX_ATTRIB"/>
+ <enum name="GL_FRONT"/>
+ <enum name="GL_BACK"/>
+ <enum name="GL_FRONT_AND_BACK"/>
+ <enum name="GL_TEXTURE_2D"/>
+ <enum name="GL_CULL_FACE"/>
+ <enum name="GL_BLEND"/>
+ <enum name="GL_DITHER"/>
+ <enum name="GL_STENCIL_TEST"/>
+ <enum name="GL_DEPTH_TEST"/>
+ <enum name="GL_SCISSOR_TEST"/>
+ <enum name="GL_POLYGON_OFFSET_FILL"/>
+ <enum name="GL_SAMPLE_ALPHA_TO_COVERAGE"/>
+ <enum name="GL_SAMPLE_COVERAGE"/>
+ <enum name="GL_NO_ERROR"/>
+ <enum name="GL_INVALID_ENUM"/>
+ <enum name="GL_INVALID_VALUE"/>
+ <enum name="GL_INVALID_OPERATION"/>
+ <enum name="GL_OUT_OF_MEMORY"/>
+ <enum name="GL_INVALID_FRAMEBUFFER_OPERATION"/>
+ <enum name="GL_CONTEXT_LOST"/>
+ <enum name="GL_CW"/>
+ <enum name="GL_CCW"/>
+ <enum name="GL_LINE_WIDTH"/>
+ <enum name="GL_ALIASED_POINT_SIZE_RANGE"/>
+ <enum name="GL_ALIASED_LINE_WIDTH_RANGE"/>
+ <enum name="GL_CULL_FACE_MODE"/>
+ <enum name="GL_FRONT_FACE"/>
+ <enum name="GL_DEPTH_RANGE"/>
+ <enum name="GL_DEPTH_WRITEMASK"/>
+ <enum name="GL_DEPTH_CLEAR_VALUE"/>
+ <enum name="GL_DEPTH_FUNC"/>
+ <enum name="GL_STENCIL_CLEAR_VALUE"/>
+ <enum name="GL_STENCIL_FUNC"/>
+ <enum name="GL_STENCIL_FAIL"/>
+ <enum name="GL_STENCIL_PASS_DEPTH_FAIL"/>
+ <enum name="GL_STENCIL_PASS_DEPTH_PASS"/>
+ <enum name="GL_STENCIL_REF"/>
+ <enum name="GL_STENCIL_VALUE_MASK"/>
+ <enum name="GL_STENCIL_WRITEMASK"/>
+ <enum name="GL_STENCIL_BACK_FUNC"/>
+ <enum name="GL_STENCIL_BACK_FAIL"/>
+ <enum name="GL_STENCIL_BACK_PASS_DEPTH_FAIL"/>
+ <enum name="GL_STENCIL_BACK_PASS_DEPTH_PASS"/>
+ <enum name="GL_STENCIL_BACK_REF"/>
+ <enum name="GL_STENCIL_BACK_VALUE_MASK"/>
+ <enum name="GL_STENCIL_BACK_WRITEMASK"/>
+ <enum name="GL_VIEWPORT"/>
+ <enum name="GL_SCISSOR_BOX"/>
+ <enum name="GL_COLOR_CLEAR_VALUE"/>
+ <enum name="GL_COLOR_WRITEMASK"/>
+ <enum name="GL_UNPACK_ALIGNMENT"/>
+ <enum name="GL_PACK_ALIGNMENT"/>
+ <enum name="GL_MAX_TEXTURE_SIZE"/>
+ <enum name="GL_MAX_VIEWPORT_DIMS"/>
+ <enum name="GL_SUBPIXEL_BITS"/>
+ <enum name="GL_RED_BITS"/>
+ <enum name="GL_GREEN_BITS"/>
+ <enum name="GL_BLUE_BITS"/>
+ <enum name="GL_ALPHA_BITS"/>
+ <enum name="GL_DEPTH_BITS"/>
+ <enum name="GL_STENCIL_BITS"/>
+ <enum name="GL_POLYGON_OFFSET_UNITS"/>
+ <enum name="GL_POLYGON_OFFSET_FACTOR"/>
+ <enum name="GL_TEXTURE_BINDING_2D"/>
+ <enum name="GL_SAMPLE_BUFFERS"/>
+ <enum name="GL_SAMPLES"/>
+ <enum name="GL_SAMPLE_COVERAGE_VALUE"/>
+ <enum name="GL_SAMPLE_COVERAGE_INVERT"/>
+ <enum name="GL_NUM_COMPRESSED_TEXTURE_FORMATS"/>
+ <enum name="GL_COMPRESSED_TEXTURE_FORMATS"/>
+ <enum name="GL_DONT_CARE"/>
+ <enum name="GL_FASTEST"/>
+ <enum name="GL_NICEST"/>
+ <enum name="GL_GENERATE_MIPMAP_HINT"/>
+ <enum name="GL_BYTE"/>
+ <enum name="GL_UNSIGNED_BYTE"/>
+ <enum name="GL_SHORT"/>
+ <enum name="GL_UNSIGNED_SHORT"/>
+ <enum name="GL_INT"/>
+ <enum name="GL_UNSIGNED_INT"/>
+ <enum name="GL_FLOAT"/>
+ <enum name="GL_RED"/>
+ <enum name="GL_RG"/>
+ <enum name="GL_RGB"/>
+ <enum name="GL_RGBA"/>
+ <enum name="GL_UNSIGNED_SHORT_4_4_4_4"/>
+ <enum name="GL_UNSIGNED_SHORT_5_5_5_1"/>
+ <enum name="GL_UNSIGNED_SHORT_5_6_5"/>
+ <enum name="GL_MAX_VERTEX_ATTRIBS"/>
+ <enum name="GL_MAX_VERTEX_UNIFORM_VECTORS"/>
+ <enum name="GL_MAX_VARYING_VECTORS"/>
+ <enum name="GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS"/>
+ <enum name="GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS"/>
+ <enum name="GL_MAX_TEXTURE_IMAGE_UNITS"/>
+ <enum name="GL_MAX_FRAGMENT_UNIFORM_VECTORS"/>
+ <enum name="GL_LINK_STATUS"/>
+ <enum name="GL_SHADING_LANGUAGE_VERSION"/>
+ <enum name="GL_CURRENT_PROGRAM"/>
+ <enum name="GL_NEVER"/>
+ <enum name="GL_LESS"/>
+ <enum name="GL_EQUAL"/>
+ <enum name="GL_LEQUAL"/>
+ <enum name="GL_GREATER"/>
+ <enum name="GL_NOTEQUAL"/>
+ <enum name="GL_GEQUAL"/>
+ <enum name="GL_ALWAYS"/>
+ <enum name="GL_KEEP"/>
+ <enum name="GL_REPLACE"/>
+ <enum name="GL_INCR"/>
+ <enum name="GL_DECR"/>
+ <enum name="GL_INVERT"/>
+ <enum name="GL_INCR_WRAP"/>
+ <enum name="GL_DECR_WRAP"/>
+ <enum name="GL_VENDOR"/>
+ <enum name="GL_RENDERER"/>
+ <enum name="GL_VERSION"/>
+ <enum name="GL_EXTENSIONS"/>
+ <enum name="GL_NEAREST"/>
+ <enum name="GL_LINEAR"/>
+ <enum name="GL_NEAREST_MIPMAP_NEAREST"/>
+ <enum name="GL_LINEAR_MIPMAP_NEAREST"/>
+ <enum name="GL_NEAREST_MIPMAP_LINEAR"/>
+ <enum name="GL_LINEAR_MIPMAP_LINEAR"/>
+ <enum name="GL_TEXTURE_MAG_FILTER"/>
+ <enum name="GL_TEXTURE_MIN_FILTER"/>
+ <enum name="GL_TEXTURE_WRAP_S"/>
+ <enum name="GL_TEXTURE_WRAP_T"/>
+ <enum name="GL_TEXTURE_IMMUTABLE_FORMAT"/>
+ <enum name="GL_TEXTURE"/>
+ <enum name="GL_TEXTURE0"/>
+ <enum name="GL_TEXTURE1"/>
+ <enum name="GL_TEXTURE2"/>
+ <enum name="GL_TEXTURE3"/>
+ <enum name="GL_TEXTURE4"/>
+ <enum name="GL_TEXTURE5"/>
+ <enum name="GL_TEXTURE6"/>
+ <enum name="GL_TEXTURE7"/>
+ <enum name="GL_TEXTURE8"/>
+ <enum name="GL_TEXTURE9"/>
+ <enum name="GL_TEXTURE10"/>
+ <enum name="GL_TEXTURE11"/>
+ <enum name="GL_TEXTURE12"/>
+ <enum name="GL_TEXTURE13"/>
+ <enum name="GL_TEXTURE14"/>
+ <enum name="GL_TEXTURE15"/>
+ <enum name="GL_TEXTURE16"/>
+ <enum name="GL_TEXTURE17"/>
+ <enum name="GL_TEXTURE18"/>
+ <enum name="GL_TEXTURE19"/>
+ <enum name="GL_TEXTURE20"/>
+ <enum name="GL_TEXTURE21"/>
+ <enum name="GL_TEXTURE22"/>
+ <enum name="GL_TEXTURE23"/>
+ <enum name="GL_TEXTURE24"/>
+ <enum name="GL_TEXTURE25"/>
+ <enum name="GL_TEXTURE26"/>
+ <enum name="GL_TEXTURE27"/>
+ <enum name="GL_TEXTURE28"/>
+ <enum name="GL_TEXTURE29"/>
+ <enum name="GL_TEXTURE30"/>
+ <enum name="GL_TEXTURE31"/>
+ <enum name="GL_ACTIVE_TEXTURE"/>
+ <enum name="GL_REPEAT"/>
+ <enum name="GL_CLAMP_TO_EDGE"/>
+ <enum name="GL_MIRRORED_REPEAT"/>
+ <enum name="GL_SAMPLER_2D"/>
+ <enum name="GL_VERTEX_ATTRIB_ARRAY_ENABLED"/>
+ <enum name="GL_VERTEX_ATTRIB_ARRAY_SIZE"/>
+ <enum name="GL_VERTEX_ATTRIB_ARRAY_STRIDE"/>
+ <enum name="GL_VERTEX_ATTRIB_ARRAY_TYPE"/>
+ <enum name="GL_VERTEX_ATTRIB_ARRAY_NORMALIZED"/>
+ <enum name="GL_VERTEX_ATTRIB_ARRAY_POINTER"/>
+ <enum name="GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING"/>
+ <enum name="GL_IMPLEMENTATION_COLOR_READ_TYPE"/>
+ <enum name="GL_IMPLEMENTATION_COLOR_READ_FORMAT"/>
+ <enum name="GL_NUM_PROGRAM_BINARY_FORMATS"/>
+ <enum name="GL_PROGRAM_BINARY_FORMATS"/>
+ <enum name="GL_LOW_FLOAT"/>
+ <enum name="GL_MEDIUM_FLOAT"/>
+ <enum name="GL_HIGH_FLOAT"/>
+ <enum name="GL_LOW_INT"/>
+ <enum name="GL_MEDIUM_INT"/>
+ <enum name="GL_HIGH_INT"/>
+ <enum name="GL_FRAMEBUFFER"/>
+ <enum name="GL_RENDERBUFFER"/>
+ <enum name="GL_R8"/>
+ <enum name="GL_RG8"/>
+ <enum name="GL_RGB8"/>
+ <enum name="GL_RGBA8"/>
+ <enum name="GL_RGBA4"/>
+ <enum name="GL_RGB5_A1"/>
+ <enum name="GL_RGB565"/>
+ <enum name="GL_DEPTH_COMPONENT16"/>
+ <enum name="GL_STENCIL_INDEX8"/>
+ <enum name="GL_RENDERBUFFER_WIDTH"/>
+ <enum name="GL_RENDERBUFFER_HEIGHT"/>
+ <enum name="GL_RENDERBUFFER_INTERNAL_FORMAT"/>
+ <enum name="GL_RENDERBUFFER_RED_SIZE"/>
+ <enum name="GL_RENDERBUFFER_GREEN_SIZE"/>
+ <enum name="GL_RENDERBUFFER_BLUE_SIZE"/>
+ <enum name="GL_RENDERBUFFER_ALPHA_SIZE"/>
+ <enum name="GL_RENDERBUFFER_DEPTH_SIZE"/>
+ <enum name="GL_RENDERBUFFER_STENCIL_SIZE"/>
+ <enum name="GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE"/>
+ <enum name="GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME"/>
+ <enum name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL"/>
+ <enum name="GL_COLOR_ATTACHMENT0"/>
+ <enum name="GL_DEPTH_ATTACHMENT"/>
+ <enum name="GL_STENCIL_ATTACHMENT"/>
+ <enum name="GL_NONE"/>
+ <enum name="GL_FRAMEBUFFER_COMPLETE"/>
+ <enum name="GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"/>
+ <enum name="GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"/>
+ <enum name="GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS"/>
+ <enum name="GL_FRAMEBUFFER_UNSUPPORTED"/>
+ <enum name="GL_FRAMEBUFFER_UNDEFINED"/>
+ <enum name="GL_FRAMEBUFFER_BINDING"/>
+ <enum name="GL_RENDERBUFFER_BINDING"/>
+ <enum name="GL_MAX_RENDERBUFFER_SIZE"/>
+ <enum name="GL_NO_ERROR"/>
+ <enum name="GL_GUILTY_CONTEXT_RESET"/>
+ <enum name="GL_INNOCENT_CONTEXT_RESET"/>
+ <enum name="GL_UNKNOWN_CONTEXT_RESET"/>
+ <enum name="GL_CONTEXT_ROBUST_ACCESS"/>
+ <enum name="GL_RESET_NOTIFICATION_STRATEGY"/>
+ <enum name="GL_LOSE_CONTEXT_ON_RESET"/>
+ <command name="glActiveTexture"/>
+ <command name="glBindBuffer"/>
+ <command name="glBindFramebuffer"/>
+ <command name="glBindRenderbuffer"/>
+ <command name="glBindTexture"/>
+ <command name="glBlendColor"/>
+ <command name="glBlendEquation"/>
+ <command name="glBlendEquationSeparate"/>
+ <command name="glBlendFunc"/>
+ <command name="glBlendFuncSeparate"/>
+ <command name="glBufferData"/>
+ <command name="glBufferSubData"/>
+ <command name="glCheckFramebufferStatus"/>
+ <command name="glClear"/>
+ <command name="glClearColor"/>
+ <command name="glClearDepthf"/>
+ <command name="glClearStencil"/>
+ <command name="glColorMask"/>
+ <command name="glCompressedTexSubImage2D"/>
+ <command name="glCreateProgram"/>
+ <command name="glCullFace"/>
+ <command name="glDepthFunc"/>
+ <command name="glDepthMask"/>
+ <command name="glDepthRangef"/>
+ <command name="glDisable"/>
+ <command name="glDisableVertexAttribArray"/>
+ <command name="glDrawArrays"/>
+ <command name="glDrawRangeElements"/>
+ <command name="glEnable"/>
+ <command name="glEnableVertexAttribArray"/>
+ <command name="glFinish"/>
+ <command name="glFlush"/>
+ <command name="glFramebufferRenderbuffer"/>
+ <command name="glFramebufferTexture2D"/>
+ <command name="glFrontFace"/>
+ <command name="glGenBuffers"/>
+ <command name="glGenerateMipmap"/>
+ <command name="glGenFramebuffers"/>
+ <command name="glGenRenderbuffers"/>
+ <command name="glGenTextures"/>
+ <command name="glGetAttribLocation"/>
+ <command name="glGetBooleanv"/>
+ <command name="glGetBufferParameteriv"/>
+ <command name="glGetError"/>
+ <command name="glGetFloatv"/>
+ <command name="glGetFramebufferAttachmentParameteriv"/>
+ <command name="glGetGraphicsResetStatus"/>
+ <command name="glGetIntegerv"/>
+ <command name="glGetProgramiv"/>
+ <command name="glGetRenderbufferParameteriv"/>
+ <command name="glGetString"/>
+ <command name="glGetTexParameterfv"/>
+ <command name="glGetTexParameteriv"/>
+ <command name="glGetnUniformfv"/>
+ <command name="glGetnUniformiv"/>
+ <command name="glGetUniformLocation"/>
+ <command name="glGetVertexAttribfv"/>
+ <command name="glGetVertexAttribiv"/>
+ <command name="glGetVertexAttribPointerv"/>
+ <command name="glHint"/>
+ <command name="glIsEnabled"/>
+ <command name="glLineWidth"/>
+ <command name="glPixelStorei"/>
+ <command name="glPolygonOffset"/>
+ <command name="glProgramBinary"/>
+ <command name="glReadnPixels"/>
+ <command name="glRenderbufferStorage"/>
+ <command name="glSampleCoverage"/>
+ <command name="glScissor"/>
+ <command name="glStencilFunc"/>
+ <command name="glStencilFuncSeparate"/>
+ <command name="glStencilMask"/>
+ <command name="glStencilMaskSeparate"/>
+ <command name="glStencilOp"/>
+ <command name="glStencilOpSeparate"/>
+ <command name="glTexStorage2D"/>
+ <command name="glTexParameterf"/>
+ <command name="glTexParameterfv"/>
+ <command name="glTexParameteri"/>
+ <command name="glTexParameteriv"/>
+ <command name="glTexSubImage2D"/>
+ <command name="glUniform1f"/>
+ <command name="glUniform1fv"/>
+ <command name="glUniform1i"/>
+ <command name="glUniform1iv"/>
+ <command name="glUniform2f"/>
+ <command name="glUniform2fv"/>
+ <command name="glUniform2i"/>
+ <command name="glUniform2iv"/>
+ <command name="glUniform3f"/>
+ <command name="glUniform3fv"/>
+ <command name="glUniform3i"/>
+ <command name="glUniform3iv"/>
+ <command name="glUniform4f"/>
+ <command name="glUniform4fv"/>
+ <command name="glUniform4i"/>
+ <command name="glUniform4iv"/>
+ <command name="glUniformMatrix2fv"/>
+ <command name="glUniformMatrix3fv"/>
+ <command name="glUniformMatrix4fv"/>
+ <command name="glUseProgram"/>
+ <command name="glVertexAttrib1f"/>
+ <command name="glVertexAttrib1fv"/>
+ <command name="glVertexAttrib2f"/>
+ <command name="glVertexAttrib2fv"/>
+ <command name="glVertexAttrib3f"/>
+ <command name="glVertexAttrib3fv"/>
+ <command name="glVertexAttrib4f"/>
+ <command name="glVertexAttrib4fv"/>
+ <command name="glVertexAttribPointer"/>
+ <command name="glViewport"/>
+ </require>
+ </feature>
<!-- SECTION: OpenGL / OpenGL ES extension interface definitions -->
<extensions>
@@ -38384,7 +38826,7 @@
<command name="glTexPageCommitmentARB"/>
</require>
</extension>
- <extension name="GL_ARB_sparse_texture2" supported="gl"/>
+ <extension name="GL_ARB_sparse_texture2" supported="gl|gles2"/>
<extension name="GL_ARB_sparse_texture_clamp" supported="gl"/>
<extension name="GL_ARB_stencil_texturing" supported="gl|glcore">
<require>
@@ -39824,6 +40266,21 @@
<!-- <command name="glNamedBufferStorageEXT"/> -->
</require>
</extension>
+ <extension name="GL_EXT_clip_cull_distance" supported="gles2">
+ <require>
+ <enum name="GL_MAX_CLIP_DISTANCES_EXT"/>
+ <enum name="GL_MAX_CULL_DISTANCES_EXT"/>
+ <enum name="GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT"/>
+ <enum name="GL_CLIP_DISTANCE0_EXT"/>
+ <enum name="GL_CLIP_DISTANCE1_EXT"/>
+ <enum name="GL_CLIP_DISTANCE2_EXT"/>
+ <enum name="GL_CLIP_DISTANCE3_EXT"/>
+ <enum name="GL_CLIP_DISTANCE4_EXT"/>
+ <enum name="GL_CLIP_DISTANCE5_EXT"/>
+ <enum name="GL_CLIP_DISTANCE6_EXT"/>
+ <enum name="GL_CLIP_DISTANCE7_EXT"/>
+ </require>
+ </extension>
<extension name="GL_EXT_clip_volume_hint" supported="gl">
<require>
<enum name="GL_CLIP_VOLUME_CLIPPING_HINT_EXT"/>
@@ -40991,6 +41448,12 @@
<command name="glPrimitiveBoundingBoxEXT"/>
</require>
</extension>
+ <extension name="GL_EXT_protected_textures" supported="gles2">
+ <require>
+ <enum name="GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT"/>
+ <enum name="GL_TEXTURE_PROTECTED_EXT"/>
+ </require>
+ </extension>
<extension name="GL_EXT_provoking_vertex" supported="gl">
<require>
<enum name="GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT"/>
@@ -41519,7 +41982,7 @@
<enum name="GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT"/>
</require>
</extension>
- <extension name="GL_EXT_texture_compression_s3tc" supported="gl|gles2">
+ <extension name="GL_EXT_texture_compression_s3tc" supported="gl|gles2|glsc2">
<require>
<enum name="GL_COMPRESSED_RGB_S3TC_DXT1_EXT"/>
<enum name="GL_COMPRESSED_RGBA_S3TC_DXT1_EXT"/>
@@ -43312,7 +43775,7 @@
</require>
</extension>
<extension name="GL_NV_gpu_program5_mem_extended" supported="gl"/>
- <extension name="GL_NV_gpu_shader5" supported="gl">
+ <extension name="GL_NV_gpu_shader5" supported="gl|gles2">
<require>
<enum name="GL_INT64_NV"/>
<enum name="GL_UNSIGNED_INT64_NV"/>
@@ -43940,7 +44403,7 @@
<extension name="GL_NV_sample_mask_override_coverage" supported="gl|gles2"/>
<extension name="GL_NV_shader_atomic_counters" supported="gl"/>
<extension name="GL_NV_shader_atomic_float" supported="gl"/>
- <extension name="GL_NV_shader_atomic_fp16_vector" supported="gl"/>
+ <extension name="GL_NV_shader_atomic_fp16_vector" supported="gl|gles2"/>
<extension name="GL_NV_shader_atomic_int64" supported="gl"/>
<extension name="GL_NV_shader_buffer_load" supported="gl">
<require>
@@ -44598,6 +45061,23 @@
</require>
</extension>
<extension name="GL_NV_viewport_array2" supported="gl|gles2"/>
+ <extension name="GL_NV_viewport_swizzle" supported="gl|gles2">
+ <require>
+ <enum name="GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV"/>
+ <enum name="GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV"/>
+ <enum name="GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV"/>
+ <enum name="GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV"/>
+ <enum name="GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV"/>
+ <enum name="GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV"/>
+ <enum name="GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV"/>
+ <enum name="GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV"/>
+ <enum name="GL_VIEWPORT_SWIZZLE_X_NV"/>
+ <enum name="GL_VIEWPORT_SWIZZLE_Y_NV"/>
+ <enum name="GL_VIEWPORT_SWIZZLE_Z_NV"/>
+ <enum name="GL_VIEWPORT_SWIZZLE_W_NV"/>
+ <command name="glViewportSwizzleNV"/>
+ </require>
+ </extension>
<extension name="GL_OES_EGL_image" supported="gles1|gles2">
<require>
<type name="GLeglImageOES"/>
@@ -44697,12 +45177,12 @@
<command name="glCopyImageSubDataOES"/>
</require>
</extension>
- <extension name="GL_OES_depth24" supported="gles1|gles2">
+ <extension name="GL_OES_depth24" supported="gles1|gles2|glsc2">
<require>
<enum name="GL_DEPTH_COMPONENT24_OES"/>
</require>
</extension>
- <extension name="GL_OES_depth32" supported="gles1|gles2">
+ <extension name="GL_OES_depth32" supported="gles1|gles2|glsc2">
<require>
<enum name="GL_DEPTH_COMPONENT32_OES"/>
</require>
@@ -45104,7 +45584,7 @@
<enum name="GL_RGB10_A2_EXT"/>
</require>
</extension>
- <extension name="GL_OES_rgb8_rgba8" supported="gles1|gles2">
+ <extension name="GL_OES_rgb8_rgba8" supported="gles1|gles2|glsc2">
<require>
<enum name="GL_RGB8_OES"/>
<enum name="GL_RGBA8_OES"/>
@@ -45137,7 +45617,7 @@
<command name="glOrthofOES"/>
</require>
</extension>
- <extension name="GL_OES_standard_derivatives" supported="gles2">
+ <extension name="GL_OES_standard_derivatives" supported="gles2|glsc2">
<require>
<enum name="GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES"/>
</require>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/OpenGLRaw-3.1.0.0/RegistryProcessor/src/Main.hs new/OpenGLRaw-3.2.0.0/RegistryProcessor/src/Main.hs
--- old/OpenGLRaw-3.1.0.0/RegistryProcessor/src/Main.hs 2016-01-10 16:22:52.000000000 +0100
+++ new/OpenGLRaw-3.2.0.0/RegistryProcessor/src/Main.hs 2016-03-06 22:13:35.000000000 +0100
@@ -77,7 +77,7 @@
let comment =
["All enumeration tokens from the",
"<http://www.opengl.org/registry/ OpenGL registry>."]
- startModule ["Tokens"] (Just "{-# LANGUAGE PatternSynonyms, ScopedTypeVariables #-}") comment $ \moduleName h -> do
+ startModule ["Tokens"] (Just "{-# LANGUAGE CPP, PatternSynonyms, ScopedTypeVariables #-}\n#if __GLASGOW_HASKELL__ >= 800\n{-# OPTIONS_GHC -Wno-missing-pattern-synonym-signatures #-}\n#endif") comment $ \moduleName h -> do
SI.hPutStrLn h $ "module " ++ moduleName ++ " where"
SI.hPutStrLn h ""
SI.hPutStrLn h $ "import " ++ moduleNameFor ["Types"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/OpenGLRaw-3.1.0.0/src/Graphics/GL/ExtensionPredicates.hs new/OpenGLRaw-3.2.0.0/src/Graphics/GL/ExtensionPredicates.hs
--- old/OpenGLRaw-3.1.0.0/src/Graphics/GL/ExtensionPredicates.hs 2016-01-10 16:22:52.000000000 +0100
+++ new/OpenGLRaw-3.2.0.0/src/Graphics/GL/ExtensionPredicates.hs 2016-05-10 20:21:29.000000000 +0200
@@ -4254,6 +4254,17 @@
gl_NV_video_capture = member "GL_NV_video_capture" extensions
{-# NOINLINE gl_NV_video_capture #-}
+-- | Is the <https://www.opengl.org/registry/specs/NV/viewport_swizzle.txt NV_viewport_swizzle> extension supported?
+glGetNVViewportSwizzle :: MonadIO m => m Bool
+glGetNVViewportSwizzle = getExtensions >>= (return . member "GL_NV_viewport_swizzle")
+
+-- | Is the <https://www.opengl.org/registry/specs/NV/viewport_swizzle.txt NV_viewport_swizzle> extension supported?
+-- Note that in the presence of multiple contexts with different capabilities,
+-- this might be wrong. Use 'glGetNVViewportSwizzle' in those cases instead.
+gl_NV_viewport_swizzle :: Bool
+gl_NV_viewport_swizzle = member "GL_NV_viewport_swizzle" extensions
+{-# NOINLINE gl_NV_viewport_swizzle #-}
+
-- | Is the <https://www.opengl.org/registry/specs/NVX/nvx_conditional_render.txt NVX_conditional_render> extension supported?
glGetNVXConditionalRender :: MonadIO m => m Bool
glGetNVXConditionalRender = getExtensions >>= (return . member "GL_NVX_conditional_render")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/OpenGLRaw-3.1.0.0/src/Graphics/GL/Functions.hs new/OpenGLRaw-3.2.0.0/src/Graphics/GL/Functions.hs
--- old/OpenGLRaw-3.1.0.0/src/Graphics/GL/Functions.hs 2016-01-10 16:22:52.000000000 +0100
+++ new/OpenGLRaw-3.2.0.0/src/Graphics/GL/Functions.hs 2016-05-10 20:21:29.000000000 +0200
@@ -3080,6 +3080,7 @@
glViewportIndexedfNV,
glViewportIndexedfv,
glViewportIndexedfvNV,
+ glViewportSwizzleNV,
glWaitSync,
glWaitSyncAPPLE,
glWeightPathsNV,
@@ -48612,6 +48613,22 @@
ptr_glViewportIndexedfvNV :: FunPtr (GLuint -> Ptr GLfloat -> IO ())
ptr_glViewportIndexedfvNV = unsafePerformIO $ getCommand "glViewportIndexedfvNV"
+-- glViewportSwizzleNV ---------------------------------------------------------
+
+glViewportSwizzleNV
+ :: MonadIO m
+ => GLuint -- ^ @index@.
+ -> GLenum -- ^ @swizzlex@.
+ -> GLenum -- ^ @swizzley@.
+ -> GLenum -- ^ @swizzlez@.
+ -> GLenum -- ^ @swizzlew@.
+ -> m ()
+glViewportSwizzleNV v1 v2 v3 v4 v5 = liftIO $ dyn54 ptr_glViewportSwizzleNV v1 v2 v3 v4 v5
+
+{-# NOINLINE ptr_glViewportSwizzleNV #-}
+ptr_glViewportSwizzleNV :: FunPtr (GLuint -> GLenum -> GLenum -> GLenum -> GLenum -> IO ())
+ptr_glViewportSwizzleNV = unsafePerformIO $ getCommand "glViewportSwizzleNV"
+
-- glWaitSync ------------------------------------------------------------------
-- | Manual pages for <https://www.opengl.org/sdk/docs/man3/xhtml/glWaitSync.xml OpenGL 3.x> or <https://www.opengl.org/sdk/docs/man4/html/glWaitSync.xhtml OpenGL 4.x>.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/OpenGLRaw-3.1.0.0/src/Graphics/GL/Groups.hs new/OpenGLRaw-3.2.0.0/src/Graphics/GL/Groups.hs
--- old/OpenGLRaw-3.1.0.0/src/Graphics/GL/Groups.hs 2016-01-10 16:22:52.000000000 +0100
+++ new/OpenGLRaw-3.2.0.0/src/Graphics/GL/Groups.hs 2016-05-10 20:21:29.000000000 +0200
@@ -201,6 +201,7 @@
-- * 'Graphics.GL.Tokens.GL_CONTEXT_FLAG_DEBUG_BIT' (alias: 'Graphics.GL.Tokens.GL_CONTEXT_FLAG_DEBUG_BIT_KHR')
-- * 'Graphics.GL.Tokens.GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT'
-- * 'Graphics.GL.Tokens.GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB'
+-- * 'Graphics.GL.Tokens.GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT'
--
-- === #ContextProfileMask# ContextProfileMask
-- A bitwise combination of several of the following values:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/OpenGLRaw-3.1.0.0/src/Graphics/GL/NV/ViewportSwizzle.hs new/OpenGLRaw-3.2.0.0/src/Graphics/GL/NV/ViewportSwizzle.hs
--- old/OpenGLRaw-3.1.0.0/src/Graphics/GL/NV/ViewportSwizzle.hs 1970-01-01 01:00:00.000000000 +0100
+++ new/OpenGLRaw-3.2.0.0/src/Graphics/GL/NV/ViewportSwizzle.hs 2016-05-10 20:21:29.000000000 +0200
@@ -0,0 +1,37 @@
+{-# LANGUAGE PatternSynonyms #-}
+--------------------------------------------------------------------------------
+-- |
+-- Module : Graphics.GL.NV.ViewportSwizzle
+-- Copyright : (c) Sven Panne 2016
+-- License : BSD3
+--
+-- Maintainer : Sven Panne <svenpanne(a)gmail.com>
+-- Stability : stable
+-- Portability : portable
+--
+--------------------------------------------------------------------------------
+
+module Graphics.GL.NV.ViewportSwizzle (
+ -- * Extension Support
+ glGetNVViewportSwizzle,
+ gl_NV_viewport_swizzle,
+ -- * Enums
+ pattern GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV,
+ pattern GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV,
+ pattern GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV,
+ pattern GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV,
+ pattern GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV,
+ pattern GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV,
+ pattern GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV,
+ pattern GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV,
+ pattern GL_VIEWPORT_SWIZZLE_W_NV,
+ pattern GL_VIEWPORT_SWIZZLE_X_NV,
+ pattern GL_VIEWPORT_SWIZZLE_Y_NV,
+ pattern GL_VIEWPORT_SWIZZLE_Z_NV,
+ -- * Functions
+ glViewportSwizzleNV
+) where
+
+import Graphics.GL.ExtensionPredicates
+import Graphics.GL.Tokens
+import Graphics.GL.Functions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/OpenGLRaw-3.1.0.0/src/Graphics/GL/NV.hs new/OpenGLRaw-3.2.0.0/src/Graphics/GL/NV.hs
--- old/OpenGLRaw-3.1.0.0/src/Graphics/GL/NV.hs 2016-01-10 16:22:52.000000000 +0100
+++ new/OpenGLRaw-3.2.0.0/src/Graphics/GL/NV.hs 2016-05-10 20:21:29.000000000 +0200
@@ -88,7 +88,8 @@
module Graphics.GL.NV.VertexProgram2Option,
module Graphics.GL.NV.VertexProgram3,
module Graphics.GL.NV.VertexProgram4,
- module Graphics.GL.NV.VideoCapture
+ module Graphics.GL.NV.VideoCapture,
+ module Graphics.GL.NV.ViewportSwizzle
) where
import Graphics.GL.NV.BindlessMultiDrawIndirect
@@ -167,3 +168,4 @@
import Graphics.GL.NV.VertexProgram3
import Graphics.GL.NV.VertexProgram4
import Graphics.GL.NV.VideoCapture
+import Graphics.GL.NV.ViewportSwizzle
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/OpenGLRaw-3.1.0.0/src/Graphics/GL/Tokens.hs new/OpenGLRaw-3.2.0.0/src/Graphics/GL/Tokens.hs
--- old/OpenGLRaw-3.1.0.0/src/Graphics/GL/Tokens.hs 2016-01-10 16:22:52.000000000 +0100
+++ new/OpenGLRaw-3.2.0.0/src/Graphics/GL/Tokens.hs 2016-05-10 20:21:29.000000000 +0200
@@ -1,4 +1,7 @@
-{-# LANGUAGE PatternSynonyms, ScopedTypeVariables #-}
+{-# LANGUAGE CPP, PatternSynonyms, ScopedTypeVariables #-}
+#if __GLASGOW_HASKELL__ >= 800
+{-# OPTIONS_GHC -Wno-missing-pattern-synonym-signatures #-}
+#endif
--------------------------------------------------------------------------------
-- |
-- Module : Graphics.GL.Tokens
@@ -736,34 +739,50 @@
pattern GL_CLIP_DISTANCE0_APPLE = 0x3000 :: GLenum
+pattern GL_CLIP_DISTANCE0_EXT = 0x3000 :: GLenum
+
pattern GL_CLIP_DISTANCE1 = 0x3001 :: GLenum
pattern GL_CLIP_DISTANCE1_APPLE = 0x3001 :: GLenum
+pattern GL_CLIP_DISTANCE1_EXT = 0x3001 :: GLenum
+
pattern GL_CLIP_DISTANCE2 = 0x3002 :: GLenum
pattern GL_CLIP_DISTANCE2_APPLE = 0x3002 :: GLenum
+pattern GL_CLIP_DISTANCE2_EXT = 0x3002 :: GLenum
+
pattern GL_CLIP_DISTANCE3 = 0x3003 :: GLenum
pattern GL_CLIP_DISTANCE3_APPLE = 0x3003 :: GLenum
+pattern GL_CLIP_DISTANCE3_EXT = 0x3003 :: GLenum
+
pattern GL_CLIP_DISTANCE4 = 0x3004 :: GLenum
pattern GL_CLIP_DISTANCE4_APPLE = 0x3004 :: GLenum
+pattern GL_CLIP_DISTANCE4_EXT = 0x3004 :: GLenum
+
pattern GL_CLIP_DISTANCE5 = 0x3005 :: GLenum
pattern GL_CLIP_DISTANCE5_APPLE = 0x3005 :: GLenum
+pattern GL_CLIP_DISTANCE5_EXT = 0x3005 :: GLenum
+
pattern GL_CLIP_DISTANCE6 = 0x3006 :: GLenum
pattern GL_CLIP_DISTANCE6_APPLE = 0x3006 :: GLenum
+pattern GL_CLIP_DISTANCE6_EXT = 0x3006 :: GLenum
+
pattern GL_CLIP_DISTANCE7 = 0x3007 :: GLenum
pattern GL_CLIP_DISTANCE7_APPLE = 0x3007 :: GLenum
+pattern GL_CLIP_DISTANCE7_EXT = 0x3007 :: GLenum
+
pattern GL_CLIP_DISTANCE_NV = 0x8C7A :: GLenum
pattern GL_CLIP_FAR_HINT_PGI = 0x1A221 :: GLenum
@@ -1620,6 +1639,8 @@
pattern GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR = 0x00000008 :: GLbitfield
+pattern GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT = 0x00000010 :: GLbitfield
+
pattern GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT = 0x00000004 :: GLbitfield
pattern GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB = 0x00000004 :: GLbitfield
@@ -4976,6 +4997,8 @@
pattern GL_MAX_CLIP_DISTANCES_APPLE = 0x0D32 :: GLenum
+pattern GL_MAX_CLIP_DISTANCES_EXT = 0x0D32 :: GLenum
+
pattern GL_MAX_CLIP_PLANES = 0x0D32 :: GLenum
pattern GL_MAX_CLIP_PLANES_IMG = 0x0D32 :: GLenum
@@ -4998,6 +5021,8 @@
pattern GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES = 0x82FA :: GLenum
+pattern GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT = 0x82FA :: GLenum
+
pattern GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS = 0x8266 :: GLenum
pattern GL_MAX_COMBINED_DIMENSIONS = 0x8282 :: GLenum
@@ -5088,6 +5113,8 @@
pattern GL_MAX_CULL_DISTANCES = 0x82F9 :: GLenum
+pattern GL_MAX_CULL_DISTANCES_EXT = 0x82F9 :: GLenum
+
pattern GL_MAX_DEBUG_GROUP_STACK_DEPTH = 0x826C :: GLenum
pattern GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR = 0x826C :: GLenum
@@ -9922,6 +9949,8 @@
pattern GL_TEXTURE_PRIORITY_EXT = 0x8066 :: GLenum
+pattern GL_TEXTURE_PROTECTED_EXT = 0x8BFA :: GLenum
+
pattern GL_TEXTURE_RANGE_LENGTH_APPLE = 0x85B7 :: GLenum
pattern GL_TEXTURE_RANGE_POINTER_APPLE = 0x85B8 :: GLenum
@@ -11078,6 +11107,30 @@
pattern GL_VIEWPORT_SUBPIXEL_BITS_NV = 0x825C :: GLenum
+pattern GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV = 0x9357 :: GLenum
+
+pattern GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV = 0x9351 :: GLenum
+
+pattern GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV = 0x9353 :: GLenum
+
+pattern GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV = 0x9355 :: GLenum
+
+pattern GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV = 0x9356 :: GLenum
+
+pattern GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV = 0x9350 :: GLenum
+
+pattern GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV = 0x9352 :: GLenum
+
+pattern GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV = 0x9354 :: GLenum
+
+pattern GL_VIEWPORT_SWIZZLE_W_NV = 0x935B :: GLenum
+
+pattern GL_VIEWPORT_SWIZZLE_X_NV = 0x9358 :: GLenum
+
+pattern GL_VIEWPORT_SWIZZLE_Y_NV = 0x9359 :: GLenum
+
+pattern GL_VIEWPORT_SWIZZLE_Z_NV = 0x935A :: GLenum
+
pattern GL_VIEW_CLASS_128_BITS = 0x82C4 :: GLenum
pattern GL_VIEW_CLASS_16_BITS = 0x82CA :: GLenum
1
0