Rob Rix
|
3865fe9e71
|
Fix the test of dumbness.
|
2015-11-02 18:09:14 -05:00 |
|
Rob Rix
|
586e8cdf6b
|
Consider nil TERM to be dumb.
|
2015-11-02 18:06:23 -05:00 |
|
Rob Rix
|
74714da9d7
|
Output the raw values, not names.
|
2015-11-02 18:03:49 -05:00 |
|
Rob Rix
|
c89aa9c16f
|
Red and green, bold.
|
2015-11-02 18:03:02 -05:00 |
|
Rob Rix
|
a22491ceda
|
Console attributes.
|
2015-11-02 18:02:37 -05:00 |
|
Rob Rix
|
75703e1561
|
Should we format?
|
2015-11-02 17:41:56 -05:00 |
|
Rob Rix
|
e4ff0e4a89
|
Is it a dumb TTY?
|
2015-11-02 17:39:47 -05:00 |
|
Rob Rix
|
1934d65b99
|
Are we talking to a TTY?
|
2015-11-02 17:39:42 -05:00 |
|
Rob Rix
|
a78564506b
|
Format the terms.
|
2015-11-02 17:30:41 -05:00 |
|
Rob Rix
|
8c2e1f6f50
|
Sort keyed children using the ordering.
|
2015-11-02 17:29:43 -05:00 |
|
Rob Rix
|
a740dcceee
|
Add a partial ordering on keyed children.
|
2015-11-02 17:29:35 -05:00 |
|
Rob Rix
|
84e111c1c1
|
Stringify keyed terms.
|
2015-11-02 17:28:21 -05:00 |
|
Rob Rix
|
02c31d7be4
|
Stringify fixed terms.
|
2015-11-02 17:26:38 -05:00 |
|
Rob Rix
|
1242534be6
|
Stringify indexed terms.
|
2015-11-02 17:26:28 -05:00 |
|
Rob Rix
|
700e2a84a1
|
Return ranges out when computing term strings.
|
2015-11-02 17:26:23 -05:00 |
|
Rob Rix
|
3c3bbc3cb9
|
Copy out term leaf ranges.
|
2015-11-02 17:24:22 -05:00 |
|
Rob Rix
|
975cfb427c
|
Stub in stringification of terms.
|
2015-11-02 17:22:39 -05:00 |
|
Rob Rix
|
43100a0432
|
Sort keyed elements by fiat
|
2015-11-02 17:15:39 -05:00 |
|
Rob Rix
|
2ca27681aa
|
Pass both strings to Patch stringification.
|
2015-11-02 17:15:27 -05:00 |
|
Rob Rix
|
523d7a441e
|
Use the context-printing function for indexed syntax.
|
2015-11-02 16:15:34 -05:00 |
|
Rob Rix
|
d015f972ae
|
Use the new context printing function for fixed syntax.
|
2015-11-02 16:15:13 -05:00 |
|
Rob Rix
|
7ac4c9ee03
|
Add a private function to splat out context.
|
2015-11-02 16:14:03 -05:00 |
|
Rob Rix
|
b858c164d8
|
Term printing is private.
|
2015-11-02 16:11:55 -05:00 |
|
Rob Rix
|
1027f6b67f
|
Use accurate ranges where possible.
|
2015-11-02 16:07:57 -05:00 |
|
Rob Rix
|
144f6ba2c2
|
Ranges can be nil.
|
2015-11-02 16:07:34 -05:00 |
|
Rob Rix
|
4fe901bbd4
|
Remove the switch statement.
|
2015-11-02 16:03:03 -05:00 |
|
Rob Rix
|
6f2176ca57
|
Compute the unified diff as a catamorphism.
|
2015-11-02 16:02:58 -05:00 |
|
Rob Rix
|
9959c231aa
|
Stub in a function to compute the range of a patch.
|
2015-11-02 16:02:23 -05:00 |
|
Rob Rix
|
3d5b0115b2
|
Extract Patch stringification into a separate function.
|
2015-11-02 14:21:34 -05:00 |
|
Rob Rix
|
a7dec6be3b
|
Use the Diff typealias.
|
2015-11-02 14:19:10 -05:00 |
|
Rob Rix
|
389636ffbc
|
Stub in printing of patches.
|
2015-11-02 14:14:19 -05:00 |
|
Rob Rix
|
c14a46b96f
|
unified takes before/after strings.
|
2015-11-02 14:08:20 -05:00 |
|
Rob Rix
|
683f6557ac
|
Stub in a function which pretty-prints unified diffs.
|
2015-11-02 14:04:48 -05:00 |
|