1
1
mirror of https://github.com/github/semantic.git synced 2024-12-20 21:31:48 +03:00
Commit Graph

2872 Commits

Author SHA1 Message Date
joshvera
dc456afc65 add newline to the end of Row toMarkup 2015-12-09 11:25:38 -05:00
joshvera
c67ff8f2e5 working through adjoin2 2015-12-08 19:52:38 -05:00
joshvera
bcb935c49b add maybeFirstNewLine to look in Uls for new lines 2015-12-08 18:09:45 -05:00
joshvera
f86f12b7f6 Produce empty lines 2015-12-08 12:35:58 -05:00
joshvera
51be1f341a Fix tests 2015-12-08 12:35:40 -05:00
joshvera
5402a2bfbc Add exhaustive cases to some functions 2015-12-08 12:14:36 -05:00
joshvera
e9975fea2b Change Row constructor to be Row Line Line 2015-12-08 12:08:19 -05:00
joshvera
ef038150db docs 2015-12-07 21:53:51 -05:00
Josh Vera
202beacef9 Merge pull request from github/split-diffs-in-haskell
The rest of split diffs in Haskell
2015-12-07 17:01:29 -05:00
Rob Rix
a01a15bba1 Merge pull request from github/split-diffs-in-haskell
Split diffs in Haskell
2015-12-07 16:53:17 -05:00
Rob Rix
62238923f5 Remove an unused function. 2015-12-07 16:43:32 -05:00
Rob Rix
2e81d0779a Wrap replacements in divs. 2015-12-07 16:43:24 -05:00
Rob Rix
4a57146eb2 Wrap deletions in divs. 2015-12-07 16:35:39 -05:00
Rob Rix
f46f1b26cd Wrap insertions in divs. 2015-12-07 16:35:14 -05:00
Rob Rix
aa64cc7c4a Ignore the diff.html file we keep writing here. 2015-12-07 16:35:01 -05:00
Rob Rix
3904b6e697 Revert "Apply insert/delete/replace classes to td"
This reverts commit ed32d57a03373d371e381d47a6433b515d15921a.
2015-12-07 16:31:06 -05:00
Rob Rix
59db60917a Add a div constructor to HTML. 2015-12-07 16:30:42 -05:00
Rob Rix
9a307a96ca Revert "Rows contain sets of classnames"
This reverts commit c92ee7ac015827a891398f48f446c1a1d5252056.
2015-12-07 16:28:34 -05:00
Rob Rix
aed70270f9 Revert "display classes in ToMarkup Row instance"
This reverts commit 0c155677853039ba10258fdbec0a02f121bea4e4.
2015-12-07 16:28:26 -05:00
Rob Rix
19d92de3e0 Revert "Correct the tests."
This reverts commit 6f9d76f3e37b075c34e5901860015cc5d7361c37.
2015-12-07 16:28:16 -05:00
Rob Rix
d7a77f217f Don’t wrap text nodes in dd nodes. 2015-12-07 16:22:26 -05:00
Rob Rix
83f9bab9f7 Don’t wrap text nodes in li nodes. 2015-12-07 16:21:59 -05:00
Rob Rix
8cefd14562 Blank lines should occupy a full line of height. 2015-12-07 16:16:09 -05:00
Rob Rix
c88d81a021 Rename rightElements → elements. 2015-12-07 16:05:23 -05:00
Rob Rix
1ff87605e8 Correct the tests. 2015-12-07 16:02:57 -05:00
joshvera
50d3627608 Apply insert/delete/replace classes to td 2015-12-07 16:00:02 -05:00
joshvera
0a3ff0438c display classes in ToMarkup Row instance 2015-12-07 15:45:04 -05:00
joshvera
4061be6240 Rows contain sets of classnames 2015-12-07 15:37:42 -05:00
Rob Rix
c4600cdc1c More branches. 2015-12-07 14:40:16 -05:00
Rob Rix
119bab2843 Prefix the branch classes. 2015-12-07 14:39:04 -05:00
Rob Rix
90418e3310 Prefix the leaf class with category-. 2015-12-07 14:39:00 -05:00
Rob Rix
e1317b6b82 Consistent column widths. 2015-12-07 14:35:57 -05:00
Rob Rix
49910d1d1e Render HTML to Html. 2015-12-07 14:34:58 -05:00
Rob Rix
a5e7341322 Push the let bindings out a bit. 2015-12-07 14:23:32 -05:00
Rob Rix
7186aa7cb6 Depend on blaze-html. 2015-12-07 12:21:06 -05:00
Rob Rix
b172f3c06c Classes are prefixed with category-. 2015-12-07 12:15:58 -05:00
Rob Rix
96a87ef716 Self-closing element. 2015-12-07 12:12:57 -05:00
Rob Rix
6af10f07ed Add a diff class to the table. 2015-12-07 12:12:52 -05:00
Rob Rix
8885f039c4 Add a head with a link to CSS. 2015-12-07 12:03:56 -05:00
Rob Rix
eb9c64d57c Split across lines & indent. 2015-12-07 12:03:49 -05:00
Rob Rix
191b818255 Show only the rows and concatenate them. 2015-12-07 11:59:44 -05:00
Rob Rix
59d8d28779 Add newlines after rows. 2015-12-07 11:59:26 -05:00
Rob Rix
8d7ebed794 Concat the columns. 2015-12-07 11:53:04 -05:00
Rob Rix
78d077b2fd Implement the Show instance for Row manually. 2015-12-07 11:49:35 -05:00
Rob Rix
3a0479f3fe Define li, dd, and dt showing with tag. 2015-12-07 11:49:13 -05:00
Rob Rix
2c680cd205 Add a tag function to wrap text in an HTML tag. 2015-12-07 11:49:03 -05:00
Rob Rix
22511e3b7b li/dd don’t wrap text nodes. 2015-12-07 11:44:40 -05:00
Rob Rix
3c985f0a00 Wrap ul/dl children in li/dd respectively. 2015-12-07 11:43:37 -05:00
Rob Rix
7db09a14f2 Add an explicit Show instance for HTML. 2015-12-07 11:42:07 -05:00
Rob Rix
ca753e76ac Rephrase the Show instance for Maybe ClassName as a showClassName function. 2015-12-07 11:39:48 -05:00