aboutsummaryrefslogtreecommitdiff
path: root/haddock-library
Commit message (Collapse)AuthorAgeFilesLines
* Bump a few dependency bounds (#845)Simon Jakobi2018-06-051-4/+4
|
* Add docs for some DocH constructors (#814)Simon Jakobi2018-05-071-0/+3
|
* Replace 'attoparsec' with 'parsec' (#799)Alec Theriault2018-04-2516-2783/+358
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-272-1/+5
|
* @since includes package name (#749)Alec Theriault2018-03-275-14/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Metadoc stores a package name This means that '@since' annotations can be package aware. * Get the package name the right way This should extract the package name for `@since` annotations the right way. I had to move `modulePackageInfo` around to do this and, in the process, I took the liberty to update it. Since it appears that finding the package name is something that can fail, I added a warning for this case. * Silence warnings * Hide package for local 'since' annotations As discussed, this is still the usual case (and we should avoid being noisy for it). Although this commit is large, it is basically only about threading a 'Maybe Package' from 'Haddock.render' all the way to 'Haddock.Backends.Xhtml.DocMarkup.renderMeta'. * Bump binary interface version * Add a '--since-qual' option This controls when to qualify since annotations with the package they come from. The default is always, but I've left an 'external' variant where only those annotations coming from outside of the current package are qualified. * Make ParserSpec work * Make Fixtures work * Use package name even if package version is not available The @since stuff needs only the package name passed in, so it makes sense to not be forced to pass in a version too.
* Make a proper definition for the <link> parserSimon Jakobi2018-03-141-4/+6
|
* haddock-library.cabal: Clean up GHC optionsSimon Jakobi2018-03-141-6/+3
|
* fixtures: Prevent stdout bufferingSimon Jakobi2018-03-141-1/+4
|
* fixtures: Slightly unmangle outputSimon Jakobi2018-03-141-1/+1
|
* Add fixture test for inline linksSimon Jakobi2018-03-142-0/+7
|
* Add fixture test for linksSimon Jakobi2018-03-142-0/+6
|
* Add fixture test for definition listsSimon Jakobi2018-03-142-0/+2
|
* Restore backward-compat with base-4.5 through base-4.8Herbert Valerio Riedel2018-03-102-2/+28
|
* Update to QC 2.11Herbert Valerio Riedel2018-03-101-1/+1
|
* Update changelogs for haddock-2.19.0.1 and haddock-library-1.5.0.1alexbiehl2018-03-101-0/+4
|
* Bump haddock-2.19.0.1, haddock-api-2.19.0.1, haddock-library-1.5.0.1alexbiehl2018-03-101-2/+2
|
* Remove bang patternAlec Theriault2018-03-021-3/+3
|
* Support unicode operators, proper modulesAlec Theriault2018-03-023-25/+36
| | | | | | | | 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.
* Make test-suite SMP compatibleHerbert Valerio Riedel2018-02-051-0/+2
|
* haddock-library: Info about breaking changesAlexander Biehl2018-02-011-0/+3
|
* Adjust changelogsAlexander Biehl2018-02-011-3/+3
|
* 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-0117-4/+594
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-0110-0/+190
| | | | | | | | | | | * 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.
* Take until line feedalexbiehl2018-02-011-1/+1
|
* Remove scanner, takeWhile1_ already takes care of escapingalexbiehl2018-02-011-14/+1
|
* Treat escaped \] better in definition lists (#717)Alexander Biehl2018-02-011-1/+14
| | | This fixes #546.
* Bump base for haddock-library and haddock-testalexbiehl2017-09-291-1/+1
|
* Bump upper bound on baseBen Gamari2017-09-141-1/+1
|
* Refactoring: Make doc renaming monadicalexbiehl2017-08-161-0/+3
| | | | This allows us to later throw warnings if can't find an identifier
* Bifoldable and Bitraversable for DocH and MetaDocalexbiehl2017-08-162-1/+62
|
* Provide --show-interface option to dump interfaces (#645)Alexander Biehl2017-08-062-1/+38
| | | | | | | | | | | | | | | | | | | | | | * WIP: Provide --show-interface option to dump interfaces Like ghcs own --show-iface this flag dumps a binary interface file to stdout in a human (and machine) readable fashion. Currently it uses json as output format. * Fill all the jsonNull stubs * Rework Bifunctor instance of DocH, update changelog and documentation * replace changelog, bring DocMarkupH doc back * Update CHANGES.md * Update CHANGES.md * Move Control.Arrow up It would result in unused import if the Bifunctor instance is not generated.
* Bump haddock-libraryAlexander Biehl2017-08-061-1/+1
|
* Prepare haddock-library-1.4.5 releasealexbiehl2017-07-313-2/+15
|
* Changelog for haddock-libraryalexbiehl2017-07-311-0/+3
|
* Fixup haddockAlexander Biehl2017-07-311-1/+1
|
* Move `DocMarkup` from haddock-api to haddock-library (#659)Alexander Biehl2017-07-313-1/+88
| | | | | | | | | | * 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.
* Avoid trivial use of LambdaCaseHerbert Valerio Riedel2017-07-201-2/+1
| | | | otherwise we can't test w/ e.g. GHC 7.4.2
* 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
* Make haddock-library and haddock-api warning free (#626)Alex Biehl2017-05-301-1/+3
|
* Consequently use inClass and notInClass in haddock-library (#617)Alex Biehl2017-05-132-11/+19
| | | These allow attoparsec to do some clever lookup optimization
* Update attoparsec-0.12.1.1 to attoparsec-0.13.1.0alexbiehl2017-04-2913-124/+223
|
* 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
|