aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Backends/Xhtml
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactor type renamer to rebinding and pure renaming phases.Łukasz Hanuszczak2015-08-211-45/+60
|
* Fix another bug where type renamer was generating incorrect names.Łukasz Hanuszczak2015-08-211-1/+1
|
* Add some documentation and refactor type specialization module.Łukasz Hanuszczak2015-08-211-21/+74
|
* Fix type renamer bug with incorrect names being generated.Łukasz Hanuszczak2015-08-211-15/+30
|
* Make type renamer first try single-letter names as alternatives.Łukasz Hanuszczak2015-08-211-1/+9
|
* Improve placement of instance methods expander button.Łukasz Hanuszczak2015-08-211-3/+3
|
* Attach source locations to the specialized class methods.Łukasz Hanuszczak2015-08-211-6/+5
|
* Make specialized methods be nicely formatted again.Łukasz Hanuszczak2015-08-211-4/+8
|
* Make specialized signatures refer to original signature declaration.Łukasz Hanuszczak2015-08-212-3/+10
|
* Hook type renamer with instance method HTML pretty-printer.Łukasz Hanuszczak2015-08-212-3/+8
|
* Move `SetName` class definition to types module.Łukasz Hanuszczak2015-08-211-5/+1
|
* Fix compilation error caused by incorrect type signature.Łukasz Hanuszczak2015-08-211-1/+1
|
* Create function for retrieving free variables from given type.Łukasz Hanuszczak2015-08-211-0/+20
|
* Fix logic behind binder type renaming.Łukasz Hanuszczak2015-08-211-4/+7
|
* Fill in stub behaviour with actual environment renaming.Łukasz Hanuszczak2015-08-211-14/+28
|
* Implement simple mechanism for generating new type names.Łukasz Hanuszczak2015-08-211-3/+26
|
* Change state of the type renaming monad.Łukasz Hanuszczak2015-08-211-14/+16
|
* Remove code duplication in specialized type renamer.Łukasz Hanuszczak2015-08-211-6/+10
|
* Fill in missing cases in specialized type renaming function.Łukasz Hanuszczak2015-08-211-11/+15
|
* Create scaffolding of a framework for renaming specialized types.Łukasz Hanuszczak2015-08-211-1/+96
|
* Get rid of code duplication in type specialization module.Łukasz Hanuszczak2015-08-211-18/+12
|
* Implement tuple syntax sugaring logic for specialized types.Łukasz Hanuszczak2015-08-211-2/+34
|
* Implement list syntax sugaring logic for specialized types.Łukasz Hanuszczak2015-08-211-3/+16
|
* Create stub functions for sugaring specialized types.Łukasz Hanuszczak2015-08-212-1/+14
|
* Hook type specialization logic with HTML pretty-printer.Łukasz Hanuszczak2015-08-211-12/+16
|
* Create convenience functions for type specialization module.Łukasz Hanuszczak2015-08-211-5/+26
|
* Add expandable method section for each class instance declaration.Łukasz Hanuszczak2015-08-212-18/+50
|
* Refactor instance head type to record instead of a meaningless tuple.Łukasz Hanuszczak2015-08-211-7/+14
|
* Make HTML class instance printer take optional signature argument.Łukasz Hanuszczak2015-08-211-9/+14
|
* Make type of type specialization function more general.Łukasz Hanuszczak2015-08-211-3/+3
|
* Create simple utility module for type specialization.Łukasz Hanuszczak2015-08-211-0/+21
|
* Apply promoted type quoting to type-level consing.Łukasz Hanuszczak2015-08-061-1/+6
|
* Fix quote syntax for promoted types.Łukasz Hanuszczak2015-08-062-3/+10
|
* Fix record field alignment when name is too longPhil Ruffwind2015-08-021-6/+4
| | | | | | | | | | | Change <dl> to <ul> and use display:table rather than floats to layout the record fields. This avoids bug #301 that occurs whenever the field name gets too long. Slight aesthetic change: the entire cell of the field's source code is now shaded gray rather than just the area where text exists. Fixes #301. Closes #421
* Fix typo in Haddock.Backends.Xhtml.Layout: divSynposis -> divSynopsisPhil Ruffwind2015-08-021-3/+3
| | | | Closes #408
* Link to the definitions to themselvesPhil Ruffwind2015-08-021-8/+13
| | | | | | | | | | | | | | | | | | Currently, the definitions already have an anchor tag that allows URLs with fragment identifiers to locate them, but it is rather inconvenient to obtain such a URL (so-called "permalink") as it would require finding the a link to the corresponding item in the Synopsis or elsewhere. This commit adds hyperlinks to the definitions themselves, allowing users to obtain links to them easily. To preserve the original aesthetics of the definitions, we alter the color of the link so as to be identical to what it was, except it now has a hover effect indicating that it is clickable. Additionally, the anchor now uses the 'id' attribute instead of the (obsolete) 'name' attribute. Closes #407
* Fix expansion icon for user-collapsible sectionsMateusz Kowalczyk2015-07-111-2/+3
| | | | Closes #412
* Delete trailing whitespaceMateusz Kowalczyk2015-07-071-1/+1
|
* Document some functions in XHTML utlity module.Łukasz Hanuszczak2015-07-011-0/+8
|
* Rewrite source generation to fixed links and directory structure.Łukasz Hanuszczak2015-06-301-5/+9
|
* Fix alignment of Source links in instance table in FirefoxPhil Ruffwind2015-06-121-2/+3
| | | | | | | | | | | | | | | | | | | 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
* Attach to instance location the name that has the same location filejpmoresmau2015-06-122-15/+15
| | | | Fixes #383
* Do not insert anchor for section headings in contents boxwatashi2015-04-261-1/+4
|
* Remove now redundant importsMateusz Kowalczyk2015-03-263-5/+0
|
* Follow API changes in D538Alan Zimmerman2015-01-231-13/+13
| | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> (cherry picked from commit d61bbc75890e4eb0ad508b9c2a27b91f691213e6)
* Links to source location of class instance definitionsjpmoresmau2015-01-222-21/+41
|
* Only keep one Version instead of blindly appendingMateusz Kowalczyk2014-12-171-3/+3
|
* Various fixups and bumps for next releaseMateusz Kowalczyk2014-12-121-4/+3
|
* For pattern synonyms, render "pattern" as a keywordDr. ERDI Gergo2014-12-121-1/+1
|
* Support for PartialTypeSignaturesThomas Winant2014-12-121-11/+18
| | | | | | | Conflicts: haddock-api/src/Haddock/Backends/Xhtml/Decl.hs haddock-api/src/Haddock/Convert.hs haddock-api/src/Haddock/Interface/Create.hs