[commit: haddock] alexbiehl-patch-1, ghc-head, ghc-head1, headdock-library-1.4.5, ie_avails, master, pr-filter-maps, pr/cabal-desc, v2.18, wip/T14529, wip/revert-ttg-2017-11-20, wip/ttg-2017-10-13, wip/ttg-2017-10-31, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13, wip/ttg6-unrevert-2017-11-22: Cherry-picked remaining commits from haddock-2.17.4-release (#603) (67d6345)
git at git.haskell.org
git at git.haskell.org
Tue Nov 28 11:51:41 UTC 2017
- Previous message: [commit: haddock] alexbiehl-patch-1, ghc-head, ghc-head1, headdock-library-1.4.5, ie_avails, master, pr-filter-maps, pr/cabal-desc, v2.18, wip/T14529, wip/revert-ttg-2017-11-20, wip/ttg-2017-10-13, wip/ttg-2017-10-31, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13, wip/ttg6-unrevert-2017-11-22: Remove anything related to obsolete frames mode (4346ad2)
- Next message: [commit: haddock] alexbiehl-patch-1, ghc-head, ghc-head1, headdock-library-1.4.5, ie_avails, master, pr-filter-maps, pr/cabal-desc, v2.18, wip/T14529, wip/revert-ttg-2017-11-20, wip/ttg-2017-10-13, wip/ttg-2017-10-31, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13, wip/ttg6-unrevert-2017-11-22: Update changelog to reflect news in HEAD (d0fd361)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Repository : ssh://git@git.haskell.org/haddock
On branches: alexbiehl-patch-1,ghc-head,ghc-head1,headdock-library-1.4.5,ie_avails,master,pr-filter-maps,pr/cabal-desc,v2.18,wip/T14529,wip/revert-ttg-2017-11-20,wip/ttg-2017-10-13,wip/ttg-2017-10-31,wip/ttg-2017-11-06,wip/ttg2-2017-11-10,wip/ttg3-2017-11-12,wip/ttg4-constraints-2017-11-13,wip/ttg6-unrevert-2017-11-22
Link : http://git.haskell.org/haddock.git/commitdiff/67d6345e7b941008080ea79ea462229f0f377d50
>---------------------------------------------------------------
commit 67d6345e7b941008080ea79ea462229f0f377d50
Author: Alex Biehl <alexbiehl at gmail.com>
Date: Wed Apr 26 07:49:10 2017 +0200
Cherry-picked remaining commits from haddock-2.17.4-release (#603)
* Release haddock/haddock-api 2.17.4 and haddock-library 1.4.3
* Set version bounds for haddock-library
NB: This allows GHC 8.2.1's base
* Set version bounds for haddock & haddock-api
The version bounds support GHC 8.2
* Merge (temporary) v2.17.3 branch into v2.17
This allows us to delete the v2.17.3 branch
* Fixup changelog
* Pin down haddock-api to a single version
as otherwise `haddock`'s package version has no proper meaning
* fix source-repo spec for haddock-api
>---------------------------------------------------------------
67d6345e7b941008080ea79ea462229f0f377d50
CHANGES | 14 ++++++++++++
haddock-api/haddock-api.cabal | 42 ++++++++++++++++++-----------------
haddock-api/src/Haddock/Types.hs | 4 ++--
haddock-library/haddock-library.cabal | 10 ++++-----
haddock.cabal | 7 ++++--
5 files changed, 48 insertions(+), 29 deletions(-)
diff --git a/CHANGES b/CHANGES
index 4389c58..7e3d052 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,17 @@
+Changes in version 2.17.4
+
+ * Fix 'internal error: links: UnhelpfulSpan' (#554, #565)
+
+ * Hyperlink backend knows about `DataKinds` (#510)
+
+ * Fix rendering of class methods for `Eq` and `Ord` (#549)
+
+ * Export `MDoc` and `toInstalledIface` from `Haddock.Types`
+
+Changes in version 2.17.3.1
+
+ * Disable `NFData` instances for GHC types when GHC >= 8.0.2 (#537)
+
Changes in version 2.17.3
* Remove framed view of the HTML documentation
diff --git a/haddock-api/haddock-api.cabal b/haddock-api/haddock-api.cabal
index 921e16e..20b656b 100644
--- a/haddock-api/haddock-api.cabal
+++ b/haddock-api/haddock-api.cabal
@@ -1,5 +1,5 @@
name: haddock-api
-version: 2.17.3
+version: 2.17.4
synopsis: A documentation-generation tool for Haskell libraries
description: Haddock is a documentation-generation tool for Haskell
libraries
@@ -33,28 +33,29 @@ data-files:
latex/haddock.sty
library
- default-language:
- Haskell2010
+ default-language: Haskell2010
- build-depends:
- base >= 4.3 && < 4.11
- , bytestring
- , filepath
- , directory
- , containers
- , transformers
- , deepseq
- , array
- , xhtml >= 3000.2 && < 3000.3
- , Cabal >= 1.10
- , ghc-boot
- , ghc == 8.2.*
+ -- this package typically supports only single major versions
+ build-depends: base == 4.10.*
+ , Cabal == 2.0.*
+ , ghc == 8.2.*
+ , ghc-paths == 0.1.*
+ , haddock-library >= 1.4.2 && < 1.5
+ , xhtml == 3000.2.*
- , ghc-paths
- , haddock-library == 1.4.*
+ -- Versions for the dependencies below are transitively pinned by
+ -- the non-reinstallable `ghc` package and hence need no version
+ -- bounds
+ build-depends: array
+ , bytestring
+ , containers
+ , deepseq
+ , directory
+ , filepath
+ , ghc-boot
+ , transformers
- hs-source-dirs:
- src
+ hs-source-dirs: src
ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -O2
@@ -125,4 +126,5 @@ test-suite spec
source-repository head
type: git
+ subdir: haddock-api
location: https://github.com/haskell/haddock.git
diff --git a/haddock-api/src/Haddock/Types.hs b/haddock-api/src/Haddock/Types.hs
index a6dd635..803995c 100644
--- a/haddock-api/src/Haddock/Types.hs
+++ b/haddock-api/src/Haddock/Types.hs
@@ -460,8 +460,8 @@ instance (NFData a, NFData mod)
DocExamples a -> a `deepseq` ()
DocHeader a -> a `deepseq` ()
-#if __GLASGOW_HASKELL__ < 801
--- These were added to GHC itself in 8.2.1
+#if !MIN_VERSION_ghc(8,0,2)
+-- These were added to GHC itself in 8.0.2
instance NFData Name where rnf x = seq x ()
instance NFData OccName where rnf x = seq x ()
instance NFData ModuleName where rnf x = seq x ()
diff --git a/haddock-library/haddock-library.cabal b/haddock-library/haddock-library.cabal
index b7a2075..be433e6 100644
--- a/haddock-library/haddock-library.cabal
+++ b/haddock-library/haddock-library.cabal
@@ -1,5 +1,5 @@
name: haddock-library
-version: 1.4.2
+version: 1.4.3
synopsis: Library exposing some functionality of Haddock.
description: Haddock is a documentation-generation tool for Haskell
libraries. These modules expose some functionality of it
@@ -21,10 +21,10 @@ library
default-language: Haskell2010
build-depends:
- base >= 4.5 && < 4.11
- , bytestring
- , transformers
- , deepseq
+ base >= 4.5 && < 4.11
+ , bytestring >= 0.9.2.1 && < 0.11
+ , transformers >= 0.3.0 && < 0.6
+ , deepseq >= 1.3 && < 1.5
hs-source-dirs: src, vendor/attoparsec-0.12.1.1
ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -O2
diff --git a/haddock.cabal b/haddock.cabal
index fa8a353..598f2b9 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -1,5 +1,5 @@
name: haddock
-version: 2.17.3
+version: 2.17.4
synopsis: A documentation-generation tool for Haskell libraries
description: Haddock is a documentation-generation tool for Haskell
libraries
@@ -43,6 +43,7 @@ executable haddock
hs-source-dirs: driver
ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -O2 -threaded
+ -- haddock typically only supports a single GHC major version
build-depends:
base >= 4.3 && < 4.11
if flag(in-ghc-tree)
@@ -120,7 +121,9 @@ executable haddock
Haddock.Syb
Haddock.Convert
else
- build-depends: haddock-api == 2.17.*
+ -- in order for haddock's advertised version number to have proper meaning,
+ -- we pin down to a single haddock-api version.
+ build-depends: haddock-api == 2.17.4
test-suite driver-test
type: exitcode-stdio-1.0
- Previous message: [commit: haddock] alexbiehl-patch-1, ghc-head, ghc-head1, headdock-library-1.4.5, ie_avails, master, pr-filter-maps, pr/cabal-desc, v2.18, wip/T14529, wip/revert-ttg-2017-11-20, wip/ttg-2017-10-13, wip/ttg-2017-10-31, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13, wip/ttg6-unrevert-2017-11-22: Remove anything related to obsolete frames mode (4346ad2)
- Next message: [commit: haddock] alexbiehl-patch-1, ghc-head, ghc-head1, headdock-library-1.4.5, ie_avails, master, pr-filter-maps, pr/cabal-desc, v2.18, wip/T14529, wip/revert-ttg-2017-11-20, wip/ttg-2017-10-13, wip/ttg-2017-10-31, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13, wip/ttg6-unrevert-2017-11-22: Update changelog to reflect news in HEAD (d0fd361)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ghc-commits
mailing list