aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/InterfaceFile.hs
Commit message (Collapse)AuthorAgeFilesLines
* Bump down the version for master to 2.14.4Mateusz Kowalczyk2014-08-141-1/+1
|
* Track GHC PackageId to PackageKey renaming.Edward Z. Yang2014-07-211-6/+6
| | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Conflicts: src/Haddock/Interface/Create.hs
* Prepare modules for parser split.Mateusz Kowalczyk2014-05-051-1/+1
| | | | | We have to generalise the Doc (now DocH) slightly to remove the dependency on GHC-supplied type.
* Include fixity information in the Interface fileNiklas Haas2014-03-111-4/+7
| | | | | | This resolves fixity information not appearing across package borders. The binary file version has been increased accordingly.
* Update CPP check for __GLASGOW_HASKELL__Austin Seipp2014-01-291-1/+1
| | | | Signed-off-by: Austin Seipp <austin@well-typed.com>
* Bump interface versionMateusz Kowalczyk2014-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were some breaking changes over the last few patches so we bump the interface version. This causes a big problem with testing: 1. To generate cross package docs, we first need to generate docs for the package used. 2. To generate package docs with new interface version, we need to use Haddock which has the version bumped. 3. To get Haddock with the version bump, we first need to test cross package docs 4. GOTO 1 So the problem is the chicken and the egg problem. It seems that the only solution would be to generate some interface files on the fly but it is non-trivial. To run this test, you'll have to: * build Haddock without the test (make sure everything else passes) * rebuild the packages used in the test with your shiny new binary making sure they are visible to Haddock * remove the ‘_hidden’ suffix and re-run the tests Note: because the packages currently used for this test are those provided by GHC, it's probably non-trivial to just re-build them. Preferably something less tedious to rebuild should be used and something that is not subject to change.
* Per-module extension flags and language listing.Mateusz Kowalczyk2014-01-121-3/+12
| | | | | | | | | | | | | Any extensions that are not enabled by a used language (Haskell2010 &c) will be shown. Furthermore, any implicitly enabled are also going to be shown. While we could eliminate this either by using the GHC API or a dirty hack, I opted not to: if a user doesn't want the implied flags to show, they are recommended to use enable extensions more carefully or individually. Perhaps this will encourage users to not enable the most powerful flags needlessly. Enabled with show-extensions. Conflicts: src/Haddock/InterfaceFile.hs
* Allow for headings inside function documentation.Mateusz Kowalczyk2014-01-121-2/+16
| | | | | | | | | | | | | LaTeX will treat the h3-h6 headings the same as we'd have to hack the style file heavily otherwise and it would make the headings tiny anyway. Hoogle upstream said they will put in the functionality on their end. Conflicts: src/Haddock/Interface/Rename.hs src/Haddock/Types.hs test/Haddock/ParserSpec.hs
* Support for bold.Mateusz Kowalczyk2014-01-121-0/+6
| | | | | | | Conflicts: src/Haddock/Backends/Hoogle.hs src/Haddock/Interface/Rename.hs src/Haddock/Parser.hs
* One pass parser and tests.Mateusz Kowalczyk2014-01-121-0/+10
| | | | | | | | We remove the HTML test as it is no longer necessary. We cover the test case in spec tests and other HTML tests but keeping this around fails: this is because the new parser has different semantics there. In fact, I suspect the original behaviour was a bug that wasn't caught/fixed but simply included as-is during the testing.
* Bump versionSimon Hengel2013-11-101-12/+2
|
* Fixes #231Mateusz Kowalczyk2013-09-181-1/+1
|
* Bump interface file version.David Waern2013-08-041-2/+2
|
* Output Copright and License keys in Xhtml backend.Mathieu Boespflug2013-08-041-9/+12
| | | | | | | This information is as relevant in the documentation as it is in the source files themselves. Signed-off-by: David Waern <david.waern@gmail.com>
* Merge branch 'ghc-7.6' into ghc-7.6-merge-2Kazu Yamamoto2013-02-011-9/+36
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: haddock.cabal src/Haddock/Interface/AttachInstances.hs src/Haddock/Interface/Create.hs src/Haddock/Interface/LexParseRn.hs src/Haddock/InterfaceFile.hs src/Haddock/Types.hs Only GHC HEAD can compile this. GHC 7.6.x cannot compile this. Some test fail.
| * Improve note about `binaryInterfaceVersion` (thanks David)Simon Hengel2012-10-121-2/+3
| |
| * Remove redundant if-defs, more source documentationSimon Hengel2012-10-111-15/+16
| |
| * Allow to load interface files with compatible versionsSimon Hengel2012-10-091-1/+4
| |
| * Bump interface versionSimon Hengel2012-10-091-5/+5
| |
| * Add markup support for propertiesKazu Yamamoto2012-10-091-0/+6
| |
| * Merge branch 'dev' of https://github.com/sol/haddock into ghc-7.6David Waern2012-07-231-8/+17
| |\ | | | | | | | | | | | | Conflicts: src/Haddock/InterfaceFile.hs
| | * Use LANGUAGE pragmas instead of default-extensions in cabal fileSimon Hengel2012-05-271-1/+1
| | |
| | * Add an optional label to URLsSimon Hengel2012-05-271-6/+15
| | |
| * | Update dependencies.Paolo Capriotti2012-07-201-0/+2
| |/
* / Build with GHC 7.7Ian Lynagh2012-07-201-0/+4
|/
* Mostly hlint-inspired cleanup.David Waern2012-02-041-18/+16
|
* Add DocWarning to DocSimon Hengel2012-02-041-4/+10
| | | | | The Xhtml backend has special markup for that, Hoogle and LaTeX reuse what we have for DocEmphasis.
* Merge ../../../haddockDavid Waern2011-12-271-6/+8
|\ | | | | | | | | Conflicts: src/Haddock/InterfaceFile.hs
| * Go back to having a doc, sub and decl map instead of one big decl map.David Waern2011-12-271-4/+6
| | | | | | | | | | | | | | | | | | This setup makes more sense since when we add value bindings to the processed declarations (for type inference), we will have multiple declarations which should share documentation. Also, we already have a separate doc map for instances which we can now merge into the main doc map. Another benefit is that we don't need the DeclInfo type any longer.
* | Update dependencies and binaryInterfaceVersionIan Lynagh2011-12-121-0/+4
|/
* Allow doc comments to link to out-of-scope things (#78).David Waern2011-11-261-0/+6
| | | | (A bug that should have been fixed long ago.)
* Give preference to type over data constructors for doc comment links at ↵David Waern2011-11-261-2/+2
| | | | | | | | | | | renaming time. Previously this was done in the backends. Also, warn when a doc comment refers to something that is in scope but which we don't have the .haddock file for. These changes mean we can make DocIdentifier [a] into DocIdentifier a.
* Remove #ifs for older compiler versions.David Waern2011-11-251-2/+0
|
* Add flag --interface-version.David Waern2011-11-251-1/+1
|
* Merge branch 'development'David Waern2011-10-221-7/+3
|\
| * Bump .haddock file version since the format has changed recentlyDavid Waern2011-10-221-7/+3
| |
| * Add safe haskell indication to haddock outputDavid Terei2011-10-121-1/+3
| |
* | Add safe haskell indication to haddock outputDavid Terei2011-10-121-1/+3
| |
* | Follow changes to BinIface Name serializationMax Bolingbroke2011-09-271-20/+35
|/
* Bump GHC dep to allow 7.2Ian Lynagh2011-06-261-0/+4
|
* Remove code for ghc < 7David Waern2010-11-151-5/+1
|
* follow changes in the GHC APISimon Marlow2010-10-271-0/+3
|
* Fix up __GLASGOW_HASKELL__ testsIan Lynagh2010-09-211-2/+2
|
* Update interface file versioning to work with ghc 6.14/15David Waern2010-08-311-0/+4
|
* Add source entity path to --read-interfaceDavid Waern2010-08-291-1/+8
| | | | | | | | | | | | | You can now use this flag like this: --read-interface=<html path>,<source entity path>,<.haddock file> By "source entity path" I mean the same thing that is specified with the --source-entity flag. The purpose of this is to be able to specify the source entity path per package, to allow source links to work in the presence of cross-package documentation. When given two arguments or less the --read-interface flag behaves as before.
* Fix build in GHC treeIan Lynagh2010-07-301-1/+1
|
* Style police in Haddock.InterfaceFileDavid Waern2010-07-211-12/+12
|
* Fix a few stylistic issues in H.InterfaceFileDavid Waern2010-05-131-2/+9
|
* Position the module header the same way everywhereDavid Waern2010-05-131-1/+0
| | | | Silly, but nice with some consistency :-)
* Add markup support for interactive examplessimon.hengel2010-04-021-0/+16
|