Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get rid of no longer used layout method. | Łukasz Hanuszczak | 2015-08-21 | 1 | -10/+2 |
| | |||||
* | Rearrange layout of instance methods in generated documentation. | Łukasz Hanuszczak | 2015-08-21 | 2 | -14/+27 |
| | |||||
* | Split instance subsection layout method to top-level declarations. | Łukasz Hanuszczak | 2015-08-21 | 1 | -5/+22 |
| | |||||
* | Fix yet another renamer bug where some names were not unique. | Łukasz Hanuszczak | 2015-08-21 | 1 | -3/+11 |
| | |||||
* | Fix another type renamer bug where not all names were rebound. | Łukasz Hanuszczak | 2015-08-21 | 1 | -1/+8 |
| | |||||
* | Fix bug where instance expander was opening wrong section. | Łukasz Hanuszczak | 2015-08-21 | 1 | -11/+24 |
| | |||||
* | Get rid of no longer neccessary instance specification type. | Łukasz Hanuszczak | 2015-08-21 | 1 | -18/+17 |
| | |||||
* | Integrate instance specification type into class instance definition. | Łukasz Hanuszczak | 2015-08-21 | 1 | -2/+2 |
| | |||||
* | Fix unwitting compilation bug. | Łukasz Hanuszczak | 2015-08-21 | 1 | -1/+1 |
| | |||||
* | Refactor type renamer to rebinding and pure renaming phases. | Łukasz Hanuszczak | 2015-08-21 | 1 | -45/+60 |
| | |||||
* | Fix another bug where type renamer was generating incorrect names. | Łukasz Hanuszczak | 2015-08-21 | 1 | -1/+1 |
| | |||||
* | Add some documentation and refactor type specialization module. | Łukasz Hanuszczak | 2015-08-21 | 1 | -21/+74 |
| | |||||
* | Fix type renamer bug with incorrect names being generated. | Łukasz Hanuszczak | 2015-08-21 | 1 | -15/+30 |
| | |||||
* | Make type renamer first try single-letter names as alternatives. | Łukasz Hanuszczak | 2015-08-21 | 1 | -1/+9 |
| | |||||
* | Improve placement of instance methods expander button. | Łukasz Hanuszczak | 2015-08-21 | 1 | -3/+3 |
| | |||||
* | Attach source locations to the specialized class methods. | Łukasz Hanuszczak | 2015-08-21 | 1 | -6/+5 |
| | |||||
* | Make specialized methods be nicely formatted again. | Łukasz Hanuszczak | 2015-08-21 | 1 | -4/+8 |
| | |||||
* | Make specialized signatures refer to original signature declaration. | Łukasz Hanuszczak | 2015-08-21 | 2 | -3/+10 |
| | |||||
* | Hook type renamer with instance method HTML pretty-printer. | Łukasz Hanuszczak | 2015-08-21 | 2 | -3/+8 |
| | |||||
* | Move `SetName` class definition to types module. | Łukasz Hanuszczak | 2015-08-21 | 1 | -5/+1 |
| | |||||
* | Fix compilation error caused by incorrect type signature. | Łukasz Hanuszczak | 2015-08-21 | 1 | -1/+1 |
| | |||||
* | Create function for retrieving free variables from given type. | Łukasz Hanuszczak | 2015-08-21 | 1 | -0/+20 |
| | |||||
* | Fix logic behind binder type renaming. | Łukasz Hanuszczak | 2015-08-21 | 1 | -4/+7 |
| | |||||
* | Fill in stub behaviour with actual environment renaming. | Łukasz Hanuszczak | 2015-08-21 | 1 | -14/+28 |
| | |||||
* | Implement simple mechanism for generating new type names. | Łukasz Hanuszczak | 2015-08-21 | 1 | -3/+26 |
| | |||||
* | Change state of the type renaming monad. | Łukasz Hanuszczak | 2015-08-21 | 1 | -14/+16 |
| | |||||
* | Remove code duplication in specialized type renamer. | Łukasz Hanuszczak | 2015-08-21 | 1 | -6/+10 |
| | |||||
* | Fill in missing cases in specialized type renaming function. | Łukasz Hanuszczak | 2015-08-21 | 1 | -11/+15 |
| | |||||
* | Create scaffolding of a framework for renaming specialized types. | Łukasz Hanuszczak | 2015-08-21 | 1 | -1/+96 |
| | |||||
* | Get rid of code duplication in type specialization module. | Łukasz Hanuszczak | 2015-08-21 | 1 | -18/+12 |
| | |||||
* | Implement tuple syntax sugaring logic for specialized types. | Łukasz Hanuszczak | 2015-08-21 | 1 | -2/+34 |
| | |||||
* | Implement list syntax sugaring logic for specialized types. | Łukasz Hanuszczak | 2015-08-21 | 1 | -3/+16 |
| | |||||
* | Create stub functions for sugaring specialized types. | Łukasz Hanuszczak | 2015-08-21 | 2 | -1/+14 |
| | |||||
* | Hook type specialization logic with HTML pretty-printer. | Łukasz Hanuszczak | 2015-08-21 | 1 | -12/+16 |
| | |||||
* | Create convenience functions for type specialization module. | Łukasz Hanuszczak | 2015-08-21 | 1 | -5/+26 |
| | |||||
* | Add expandable method section for each class instance declaration. | Łukasz Hanuszczak | 2015-08-21 | 2 | -18/+50 |
| | |||||
* | Refactor instance head type to record instead of a meaningless tuple. | Łukasz Hanuszczak | 2015-08-21 | 1 | -7/+14 |
| | |||||
* | Make HTML class instance printer take optional signature argument. | Łukasz Hanuszczak | 2015-08-21 | 1 | -9/+14 |
| | |||||
* | Make type of type specialization function more general. | Łukasz Hanuszczak | 2015-08-21 | 1 | -3/+3 |
| | |||||
* | Create simple utility module for type specialization. | Łukasz Hanuszczak | 2015-08-21 | 1 | -0/+21 |
| | |||||
* | Apply promoted type quoting to type-level consing. | Łukasz Hanuszczak | 2015-08-06 | 1 | -1/+6 |
| | |||||
* | Fix quote syntax for promoted types. | Łukasz Hanuszczak | 2015-08-06 | 2 | -3/+10 |
| | |||||
* | Fix record field alignment when name is too long | Phil Ruffwind | 2015-08-02 | 1 | -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 -> divSynopsis | Phil Ruffwind | 2015-08-02 | 1 | -3/+3 |
| | | | | Closes #408 | ||||
* | Link to the definitions to themselves | Phil Ruffwind | 2015-08-02 | 1 | -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 sections | Mateusz Kowalczyk | 2015-07-11 | 1 | -2/+3 |
| | | | | Closes #412 | ||||
* | Delete trailing whitespace | Mateusz Kowalczyk | 2015-07-07 | 1 | -1/+1 |
| | |||||
* | Document some functions in XHTML utlity module. | Łukasz Hanuszczak | 2015-07-01 | 1 | -0/+8 |
| | |||||
* | Rewrite source generation to fixed links and directory structure. | Łukasz Hanuszczak | 2015-06-30 | 1 | -5/+9 |
| | |||||
* | Fix alignment of Source links in instance table in Firefox | Phil Ruffwind | 2015-06-12 | 1 | -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 |