1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 00:44:57 +03:00
Commit Graph

2639 Commits

Author SHA1 Message Date
Rob Rix
fe6d638673 Derive a Traversable instance over Patch. 2016-05-31 20:41:12 -04:00
Rob Rix
39ddbfc60f Add the DiffF type synonym back in. 2016-05-31 20:16:19 -04:00
Rob Rix
2887d0c2a1 Merge branch 'master' into fix-invalid-slice 2016-05-31 13:28:50 -04:00
Rob Rix
b7e724effd Sort the produced children by range. 2016-05-30 19:21:06 -04:00
Rob Rix
e44d629380 Revert "Sort children before rendering in split diffs."
This reverts commit d989a76742d1e725935a1dea1a349778a67c5c32.
2016-05-30 19:20:50 -04:00
Rob Rix
70bb48b933 Sort children before rendering in split diffs. 2016-05-30 19:15:46 -04:00
Rob Rix
7f3f408fb1 🔥 the absolute difference cost function. 2016-05-30 14:06:24 -04:00
Rob Rix
338ed4a5ce Revert "Represent term/diff costs as Rationals."
This reverts commit aea4e7ec784422696631156415855eab920af38a.
2016-05-30 14:05:23 -04:00
Rob Rix
9049478594 Revert "Generalize diff/patch/term sizes to a Num instance."
This reverts commit ebb98b0e97b3c184998fb1a17570af3f8262c2a6.
2016-05-30 14:04:48 -04:00
Rob Rix
f61fd62a04 Revert "Add a simple function to produce minimal strings from rationals."
This reverts commit 9f787b8ae46f329b4e8a50b112c13844c4ce3b87.
2016-05-30 14:04:43 -04:00
Rob Rix
6c435a39b4 Revert "Render sizes minimally in split diffs."
This reverts commit af17b7c6b85462a902ab296c0c0334aa26b4e0b9.
2016-05-30 14:04:40 -04:00
Rob Rix
a3ba420fb4 Revert "📝 showRational."
This reverts commit eff9eb21f0b91f4abc58624268cfd51233424511.
2016-05-30 14:04:36 -04:00
Rob Rix
e8f82b0845 Go back to using the cached term sizes. 2016-05-30 13:52:23 -04:00
Rob Rix
88beca1557 Rename the parameter. 2016-05-30 13:43:20 -04:00
Rob Rix
db83ca1069 📝 showRational. 2016-05-30 12:29:14 -04:00
Rob Rix
b25ef8e89c Render sizes minimally in split diffs. 2016-05-30 12:27:30 -04:00
Rob Rix
cf44d3e0b4 Add a simple function to produce minimal strings from rationals. 2016-05-30 12:27:14 -04:00
Rob Rix
fa883c0cfc Generalize diff/patch/term sizes to a Num instance. 2016-05-30 10:48:16 -04:00
Rob Rix
21e0a31472 Represent term/diff costs as Rationals. 2016-05-30 10:47:16 -04:00
joshvera
ecd5efb3fa Factor hylos out to alignSyntax 2016-05-27 17:09:22 -04:00
joshvera
2340014641 Factor case statement to intersectionsWithHeadRanges in alignChildren 2016-05-27 16:56:35 -04:00
joshvera
e754bc767e Cleanup alignBranch a bit 2016-05-27 16:51:06 -04:00
joshvera
99424790b3 Move bothRanges to where clause 2016-05-27 16:24:18 -04:00
joshvera
100a2ad879 format numberRows 2016-05-27 16:17:44 -04:00
Rob Rix
1f29cd84a3 📝 alignDiff/alignPatch. 2016-05-27 15:48:32 -04:00
Rob Rix
44be4bdbae 🔥 AlignedDiff. 2016-05-27 15:48:24 -04:00
Rob Rix
5c25f09e16 🔥 Union. 2016-05-27 15:44:58 -04:00
Rob Rix
86e8e06a50 🔥 redundant imports. 2016-05-27 15:44:51 -04:00
Rob Rix
7b4e71293e 🔥 unionThese. 2016-05-27 15:44:08 -04:00
Rob Rix
df927cb9d4 📝 unionThese. 2016-05-27 15:34:35 -04:00
Rob Rix
0becb4205f We’ve captured these in tests. 2016-05-27 15:33:16 -04:00
Rob Rix
73a455305d Disable logging on exhausted ranges w/ remaining children. 2016-05-27 15:17:41 -04:00
Rob Rix
e37fe0dee9 Render JS with predictable ordering. 2016-05-27 14:49:28 -04:00
Rob Rix
e1680f85b0 Revert "Revert "Revert "Correct the computation of range intersection."""
This reverts commit d90ebc2d0bc2fdca281b827c903086be1f7abdbd.
2016-05-27 14:33:57 -04:00
Rob Rix
81fd09ae25 Revert "Revert "Correct the computation of range intersection.""
This reverts commit 02bcb272e36a62a90c099af22add47c69160e941.
2016-05-27 14:27:50 -04:00
Rob Rix
1cb7946cb0 Revert "Correct the computation of range intersection."
This reverts commit 988914aefb3a89676cecbbe1654370c08f886be0.
2016-05-27 14:24:36 -04:00
Rob Rix
835f38bdf8 Correct the computation of range intersection. 2016-05-27 14:22:45 -04:00
Rob Rix
ccd45ccecb Print out the remaining children. 2016-05-27 14:17:42 -04:00
Rob Rix
e725b6d43e 🔥 some redundant imports & list what we’re using in some others. 2016-05-27 14:02:37 -04:00
Rob Rix
82d1321a79 🔥 intersectsAnyLine. 2016-05-27 13:59:15 -04:00
Rob Rix
225e5fcd53 🔥 intersectsFirstLine. 2016-05-27 13:59:05 -04:00
Rob Rix
14e9a3372f alignBranch takes a list of lines, not of aligned children. 2016-05-27 13:58:50 -04:00
Rob Rix
7a7ed3d665 Revert "🔥 intersectsAnyLine."
This reverts commit 4d41816d73af05ef46334d579b203ca99976ec2b.
2016-05-27 13:08:23 -04:00
Rob Rix
87ce5de22f Revert "Add a function to merge This/That into These at the head of a list."
This reverts commit 3af1f3f080a5ce725b79b6120cb639e8a3a35e80.
2016-05-27 13:07:46 -04:00
Rob Rix
2e77455195 Expect a Show instance for the leaf type everywhere. 2016-05-27 13:07:32 -04:00
Rob Rix
615cfe6006 Add a function to merge This/That into These at the head of a list. 2016-05-27 13:05:47 -04:00
Rob Rix
10b4e072b0 Use pure to construct the starting rows. 2016-05-27 13:03:49 -04:00
Rob Rix
658ceb24f1 🔥 headRangesOf. 2016-05-27 11:00:43 -04:00
Rob Rix
2cfea45fd1 🔥 advancePast. 2016-05-27 11:00:21 -04:00
Rob Rix
c03f32f9c8 🔥 lineAndRemainingWhere. 2016-05-27 11:00:05 -04:00