aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Implement function for tagging parsed chunks with source spans.Łukasz Hanuszczak2015-06-301-1/+8
| | |
* | | Create scaffolding for Haskell source parser module.Łukasz Hanuszczak2015-06-302-0/+37
| | |
* | | Update tests for the CSS changesMateusz Kowalczyk2015-06-1413-576/+719
| | |
* | | Fix alignment of Source links in instance table in FirefoxPhil Ruffwind2015-06-122-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to a Firefox bug [1], a combination of 'whitespace: nowrap' on the parent element with 'float: right' on the inner element can cause the floated element to be displaced downwards for no apparent reason. To work around this, the left side is wrapped in its own <span> and set to 'float: left'. As a precautionary measure to prevent the parent element from collapsing entirely, we also add the classic "clearfix" hack. The latter is not strictly needed but it helps prevent bugs if the layout is altered again in the future. Fixes #384. Remark: line 159 of src/Haddock/Backends/Xhtml/Layout.hs was indented to prevent confusion over the operator precedence of (<+>) vs (<<). [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=488725
* | | Update changelogMateusz Kowalczyk2015-06-121-0/+2
| | | | | | | | | | | | Closes #398
* | | Attach to instance location the name that has the same location filejpmoresmau2015-06-126-25/+39
| | | | | | | | | | | | Fixes #383
* | | Changelog for #207Mateusz Kowalczyk2015-06-121-0/+2
| | | | | | | | | | | | Fixes #207, closes #402
* | | Fix haddock: internal error: spliceURL UnhelpfulSpan (#207)Bartosz Nitka2015-06-121-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | Inferred type signatures don't have SrcSpans, so let's use the one from the declaration. I've tested this manually on the test-case from #207, but I got stuck at trying to run the test-suite.
* | | Update changelog for -threadedMateusz Kowalczyk2015-06-121-0/+2
| | | | | | | | | | | | Closes #400
* | | Build executable with '-threaded' (fixes #399)Emanuel Borsboom2015-06-124-1/+118
| | |
* | | Refine hacking instructions slightlyMateusz Kowalczyk2015-06-081-3/+7
| | |
* | | Fix markdownBartosz Nitka2015-06-071-0/+2
| | |
* | | Add some Hacking docs for getting startedBartosz Nitka2015-06-071-0/+19
| | |
* | | Update some meta data at the top of the docsMateusz Kowalczyk2015-06-031-2/+11
| | |
* | | Update docs with info on new list nesting ruleMateusz Kowalczyk2015-06-031-0/+11
| | | | | | | | | | | | Fixes #278 through commits from PR #401
* | | Add arbitrary-indent spec test for parser.Łukasz Hanuszczak2015-06-031-0/+17
| | |
* | | Add simple test case for arbitrary-depth list nesting.Łukasz Hanuszczak2015-05-272-10/+54
| | |
* | | Make nested lists count indentation according to first item.Łukasz Hanuszczak2015-05-271-35/+46
| | |
* | | Create simple method for indentation parsing.Łukasz Hanuszczak2015-05-271-0/+9
| | |
* | | 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>
* | | Change ModuleTree Node to carry PackageKey and SourcePackageId to resolve #385Murray Campbell2015-05-112-21/+24
| | | | | | | | | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> (cherry picked from commit 2380f07c430c525b205ce2eae6dab23c8388d899)
* | | Ignore doc/haddock.{ps,pdf}Ben Gamari2015-05-061-0/+2
| | |
* | | Do not insert anchor for section headings in contents boxwatashi2015-04-264-1/+130
| | |
* | | Expand response files in argumentsMateusz Kowalczyk2015-03-282-3/+26
| | | | | | | | | | | | Closes #285
* | | Loosen bounds on haddock-*Mateusz Kowalczyk2015-03-282-2/+2
| | |
* | | Post-release version bumps and changelogMateusz Kowalczyk2015-03-284-14/+17
| | |
* | | Don't print instance safety information in HoogleMateusz Kowalczyk2015-03-272-2/+13
| | | | | | | | | | | | Fixes #168
* | | Output method documentation in Hoogle backendMateusz Kowalczyk2015-03-272-11/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | One thing of note is that we no longer preserve grouping of methods and print each method on its own line. We could preserve it if no documentation is present for any methods in the group if someone asks for it though. Fixes #259
* | | Update changelogMateusz Kowalczyk2015-03-271-0/+2
| | |
* | | Fully qualify names in Hoogle instances outputMateusz Kowalczyk2015-03-271-4/+6
| | | | | | | | | | | | Closes #263
* | | Fix Hoogle display of constructorsMateusz Kowalczyk2015-03-272-1/+6
| | | | | | | | | | | | Fixes #361
* | | Clearly default to variables in out of scope caseMateusz Kowalczyk2015-03-272-23/+43
| | |
* | | Test for anchor defaultingMateusz Kowalczyk2015-03-276-153/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | I delete the old tests because it turns out that: * test runner would never put them in scope of each other even with imports so just one would suffice * test runner actually needed some hacking to keep links so in the end we would end up with no anchors making them useless
* | | Update test to account for \r filteringMateusz Kowalczyk2015-03-261-2/+5
| | |
* | | Remove now redundant importsMateusz Kowalczyk2015-03-268-10/+0
| | |
* | | Make the error encountered when a package can't be found moreBen Gamari2015-03-251-12/+21
| | | | | | | | | | | | | | | | | | user-friendly Closes #369
* | | Update changelogMateusz Kowalczyk2015-03-171-0/+2
| | | | | | | | | | | | Closes #151 due to 71170fc77962f10d7d001e3b8bc8b92bfeda99bc
* | | Prevent Synopsis from using up too much horizontal spacePhil Ruffwind2015-03-161-0/+1
| | | | | | | | | | | | | | | | | | When long type signatures occur in the Synopsis, the element is stretched beyond the width of the window. Scrollbars don't appear, so it's impossible to read anything when this happens.
* | | Follow API changes in D538Alan Zimmerman2015-01-238-69/+61
| | | | | | | | | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> (cherry picked from commit d61bbc75890e4eb0ad508b9c2a27b91f691213e6)
* | | Track naming change in DataConSimon Peyton Jones2015-01-231-3/+3
| | | | | | | | | | | | (cherry picked from commit 04cf63d0195837ed52075ed7d2676e71831e8a0b)
* | | Sort out some module import warningsMateusz Kowalczyk2015-01-223-4/+1
| | |
* | | --package-name and --package-version flagsMateusz Kowalczyk2015-01-223-25/+53
| | | | | | | | | | | | | | | | | | Used for --hoogle amongst other things. Now we need to teach cabal to use it. The situation is still a bit sub-par because if the flags aren't passed in, the crash will occur. Closes #353.
* | | Changelog onlyMateusz Kowalczyk2015-01-221-0/+4
| | |
* | | Filter '\r' from comments due to Windows problems.Vincent Berthoux2015-01-221-2/+3
| | | | | | | | | | | | | | | On Windows this was causing newline to be rendered twice in code blocks. Closes #359, fixes #356.
* | | Links to source location of class instance definitionsjpmoresmau2015-01-227-32/+62
| | |
* | | Update test filesMateusz Kowalczyk2015-01-224-48/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: a correct behaviour for fields comma-separating values. I'm surprised we had no bug open for this. Maybe it affects how #301 renders now but I doubt. Operators: Seems GHC is giving us a new order for operators, something must have changed on their side again. cc @haasn , this makes the fixity to the side not match the order on the LHS which is a bit unpleasant. Maybe the fixity can be made to match the GHC order? Bug335: We expand examples by default now. Bug310: Now inferred safe.
* | | support GHC 7.10: no Safe-Inferred, Foldable instancejpmoresmau2015-01-2270-74/+77
| | |
* | | solve dataDir ambiguityjpmoresmau2015-01-221-1/+1
| | |
* | | Ignore warnings, install Cabal 1.22JP Moresmau2015-01-221-3/+7
| | |
* | | bump haddock-api ghc dependency to allow release candidate and first releaseLuite Stegeman2015-01-051-1/+1
| | |