aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/InterfaceFile.hs
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Rename HsDoc back into DocDavid Waern2009-11-281-1/+1
|
* Remove cruft due to compatibility with older GHCsDavid Waern2009-11-281-5/+1
|
* Fix building with GHC >= 6.12Ian Lynagh2009-09-221-0/+6
|
* Use Map.fromList/toList intead of fromAscList/toAscList when serializing MapsDavid Waern2009-09-111-2/+2
| | | | | | | This fixes the missing docs problem. The Eq and Ord instances for Name uses the unique number in Name. This number is created at deserialization time by GHC's magic Binary instance for Name, and it is random. Thus, fromAscList can't be used at deserialization time, even though toAscList was used at serialization time.
* Follow changes in GHC's interface file formatSimon Marlow2009-08-241-4/+4
| | | | Word32 instead of Int for FastString and Name offsets
* InterfaceFile: ghc >= 6.10Isaac Dupree2009-08-231-28/+0
|
* cross-package fnArgDocs. WARNING: changes .haddock binary formatIsaac Dupree2009-08-231-8/+15
| | | | | | | | | | | | | | | | While breaking the format, I took the opportunity to unrename the DocMap that's saved to disk, because there's really no reason that we want to know what *another* package's favorite place to link a Name to was. (Is that true? Or might we want to know, someday?) Also, I added instance Binary Map in InterfaceFile. It makes the code a little simpler without changing anything of substance. Also it lets us add another Map hidden inside another Map (fnArgsDocs in instDocMap) without having really-convoluted serialization code. Instances are neat! I don't understand why this change to InterfaceFile seemed to subtly break binary compatibility all by itself, but no matter, I'll just roll it into the greater format-changing patch. Done!
* Do not version .haddock file based on GHC patchlevel versionDavid Waern2009-08-141-18/+5
| | | | | We require that the instances of Binary that we use from GHC will not change between patchlevel versions.
* Version .haddock files made with GHC 6.10.3/4 correcltyDavid Waern2009-08-141-6/+6
|
* Fix unused import warningsIan Lynagh2009-07-071-5/+0
|
* Add Haddock module headersDavid Waern2009-06-241-5/+10
| | | | | | | | | Add a proper Haddock module header to each module, with a more finegrained copyright. If you feel mis-accreditted, please correct any copyright notice! The maintainer field is set to haddock@projects.haskell.org. Next step is to add a brief description to each module.
* -Wall policeDavid Waern2009-03-271-1/+1
|
* Remove H.DocName and put DocName in H.TypesDavid Waern2009-03-271-1/+23
|