aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/haddock-library.cabal
Commit message (Collapse)AuthorAgeFilesLines
* Fix build-failure regression for base < 4.7Herbert Valerio Riedel2019-12-081-1/+2
| | | | | | | | | | | | | The `$>` operator definition is available only since base-4.7 which unfortunately wasn't caught before release to Hackage (but has been fixed up by a metadata-revision) This commit introduces a `CompatPrelude` module which allows to reduce the amount of CPP by ousting it to a central location, i.e. the new `CompatPrelude` module. This pattern also tends to reduce the tricks needed to silence unused import warnings. Addresses #1119
* Fix Travis CI, loosen .cabal bounds (#1089)Alec Theriault2019-09-201-7/+9
| | | | | | | Tentatively for the 2.23 release: * updated Travis CI to work again * tweaked bounds in the `.cabal` files * adjusted `extra-source-files` to properly identify test files
* Release haddock-2.23, haddock-library-1.8.0Alec Theriault2019-05-261-1/+1
| | | | | Tentatively adjust bounds and changelogs for the release to be bundled with GHC 8.8.1.
* Merge branch 'ghc-8.6' into ghc-8.8Alec Theriault2019-03-031-4/+3
|\
| * Make a fixture of weird parsing of lists (#997)Oleg Grenrus2019-02-041-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | The second example is interesting. If there's a list directly after the header, and that list has deeper structure, the parser is confused: It finds two lists: - One with the first nested element, - everything after it I'm not trying to fix this, as I'm not even sure this is a bug, and not a feature.
| * Loosen 'QuickCheck' and 'hspec' boundsAlec Theriault2019-01-281-2/+2
| | | | | | | | | | It looks like the new versions don't cause any breakage and loosening the bounds helps deps fit in one stack resolver.
* | Better identifier parsingAlec Theriault2019-02-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '(<|>)' and '`elem`' now get parsed and rendered properly as links * 'DbModule'/'DbUnitId' now properly get split apart into two links * tuple names now get parsed properly * some more small niceties... The identifier parsing code is more precise and more efficient (although to be fair: it is also longer and in its own module). On the rendering side, we need to pipe through information about backticks/parens/neither all the way through from renaming to the backends. In terms of impact: a total of 35 modules in the entirety of the bootlib + ghc lib docs change. The only "regression" is things like '\0'. These should be changed to @\\0@ (the path by which this previously worked seems accidental).
* | Remove `Documentation.Haddock.Utf8`Alec Theriault2019-02-031-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | The circumstances under which this module appeared are completely gone. The Hyperlinker backend no longer needs this module (it uses the more efficient `Encoding` module from `ghc`). Why no deprecation? Because this module really shouldn't exist! - It isn't used in `haddock-library`/`haddock-api` anymore - It was copy pasted directly from `utf8-string` - Folks seeking a boot-lib only solution can use `ghc`'s `Encoding`
* | Update/modernise haddock-library.cabal fileHerbert Valerio Riedel2019-02-021-40/+45
|/
* Bump haddock-library to 1.7.0Alec Theriault2018-10-161-3/+3
| | | | | | The 1.6.1 release should've been a major bump, since types in the `Documentation.Haddock.Parser.Monad` module changed. This version makes that module internal (as it morally should be).
* Minor tweak to package descriptionHerbert Valerio Riedel2018-10-161-2/+2
|
* Turn haddock-library into a minor releaseAlec Theriault2018-09-221-3/+4
| | | | Fix some version bounds in haddock-library too.
* Bump haddock-api-2.21.0, haddock-library-1.7.0Alec Theriault2018-09-221-2/+2
| | | | | | * Update CHANGELOGS * Update new versions in Cabal files * Purge references to ghc-8.4/master branches in README
* haddock-library: Bump bounds for containersSimon Jakobi2018-07-191-2/+2
|
* Bump a few dependency bounds (#845)Simon Jakobi2018-06-131-4/+4
|
* Merge branch 'ghc-head' with 'ghc-8.4'Herbert Valerio Riedel2018-05-011-1/+1
|\
| * Bump upper bound on base to < 4.13Ryan Scott2018-04-191-2/+2
| | | | | | | | See https://ghc.haskell.org/trac/ghc/ticket/15018.
* | Replace 'attoparsec' with 'parsec' (#799)Alec Theriault2018-04-251-54/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove attoparsec with parsec and start fixing failed parses * Make tests pass * Fix encoding issues The Haddock parser no longer needs to worry about bytestrings. All the internal parsing work in haddock-library happens over 'Text'. * Remove attoparsec vendor * Fix stuff broken in 'attoparsec' -> 'parsec' * hyperlinks * codeblocks * examples Pretty much all issues are due to attoparsec's backtracking failure behaviour vs. parsec's non-backtracking failure behaviour. * Fix small TODOs * Missing quote + Haddocks * Better handle spaces before/after paragraphs * Address review comments
* | haddock-2.19.1, haddock-api-2.19.1, haddock-library-1.6.0alexbiehl2018-03-271-1/+1
| |
* | haddock-library.cabal: Clean up GHC optionsSimon Jakobi2018-03-141-6/+3
| |
* | Update to QC 2.11Herbert Valerio Riedel2018-03-101-1/+1
| |
* | Bump haddock-2.19.0.1, haddock-api-2.19.0.1, haddock-library-1.5.0.1alexbiehl2018-03-101-2/+2
| |
* | Support unicode operators, proper modulesAlec Theriault2018-03-021-1/+1
| | | | | | | | | | | | | | | | Unicode operators are a pretty big thing in Haskell, so supporting linking them seems like it outweighs the cost of the extra machinery to force Attoparsec to look for unicode. Fixes #458.
* | hadock-2.19.0 / haddock-api-2.19.0 / haddock-library-1.5.0Alexander Biehl2018-02-011-1/+1
| |
* | Grid Tables (#718)Oleg Grenrus2018-02-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add table examples * Add table types and adopt simple parser Simple parser is done by Giovanni Cappellotto (@potomak) in https://github.com/haskell/haddock/pull/577 It seems to support single fine full tables, so far from full RST-grid tables, but it's good start. Table type support row- and colspans, but obviously parser is lacking. Still TODO: - Latex backend. Should we use multirow package https://ctan.org/pkg/multirow?lang=en? - Hoogle backend: ? * Implement grid-tables * Refactor table parser * Add two ill-examples * Update CHANGES.md * Basic documentation for tables * Fix documentation example
* | Include secondary LICENSE file in source distHerbert Valerio Riedel2018-02-011-1/+2
| |
* | Add simple framework for running parser fixtures (#668)Oleg Grenrus2018-02-011-0/+22
|/ | | | | | | | | | | * Add simple framework for running parser fixtures * Compatible with tree-diff-0.0.0.1 * Use parseParas to parse fixtures This allows to test all syntactic constructs available in haddock markup.
* Bump base for haddock-library and haddock-testalexbiehl2017-09-291-1/+1
|
* Bump upper bound on baseBen Gamari2017-09-141-1/+1
|
* Bump haddock-libraryAlexander Biehl2017-08-061-1/+1
|
* Prepare haddock-library-1.4.5 releasealexbiehl2017-07-311-1/+2
|
* Move `DocMarkup` from haddock-api to haddock-library (#659)Alexander Biehl2017-07-311-1/+2
| | | | | | | | | | * Move `DocMarkup` from haddock-api to haddock-library * Move more markup related functions * Markup module * CHANGELOG
* Bump haddock to 2.18.2, haddock-library to 1.4.5alexbiehl2017-07-271-1/+1
|
* Drop obsolete/misleading `stability: experimental`Herbert Valerio Riedel2017-07-201-1/+0
| | | | This .cabal property has long been considered obsolete
* Refactor .cabal to use sub-lib for vendored libHerbert Valerio Riedel2017-07-201-21/+42
| | | | | A practical benefit is that we can control the build-depends and also avoid some recompilation between library and test-suite.
* Prepare 2.18.1 release (#657)Alexander Biehl2017-07-201-1/+1
|
* Fix compilation of lib:haddock-library w/ GHC < 8Herbert Valerio Riedel2017-07-201-0/+6
|
* Avoid missing home module warning (#652)Alex Biehl2017-07-081-2/+17
| | | | | | * Avoid missing home module warning * Update haddock-library.cabal
* Update attoparsec-0.12.1.1 to attoparsec-0.13.1.0alexbiehl2017-04-291-2/+2
|
* Cherry-picked remaining commits from haddock-2.17.4-release (#603)Alex Biehl2017-04-261-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Travis: Use ghc-8.2.1 on masteralexbiehl2017-04-251-1/+4
|
* Add @alexbiehl as maintanerAlexander Biehl2017-04-121-1/+1
|
* Read files for hyperlinker eagerlyalexbiehl2017-04-111-1/+1
| | | | This also exposes Documentation.Haddock.Utf8
* Merge branch 'ghc-head'Ben Gamari2017-03-101-1/+1
|\
| * Bump base upper boundBen Gamari2016-12-131-1/+1
| |
* | Version bumps (2.17.3, 1.4.2)Sebastian Meric de Bellefon2016-06-031-1/+1
|/
* Bump versionsBen Gamari2016-05-101-1/+1
|
* Version bumps and changelogBen Gamari2016-01-061-1/+1
|
* Relax upper bound on `base` to allow base-4.9Herbert Valerio Riedel2015-12-141-1/+1
|
* haddock-library: require GHC >= 7.4Adam Bergmark2015-05-111-1/+1
| | | | | | | | `Data.Monoid.<>` was added in base-4.5/GHC-7.4 Closes #394 Signed-off-by: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>