1
1
mirror of https://github.com/github/semantic.git synced 2025-01-04 13:34:31 +03:00
Commit Graph

6597 Commits

Author SHA1 Message Date
joshvera
9ef2745944 Replace comparable with (==) category 2016-05-31 16:58:57 -04:00
joshvera
eb4b280dfb s/Unknown/program 2016-05-31 16:44:44 -04:00
joshvera
cf21fddc08 Fix up tests 2016-05-31 16:38:47 -04:00
joshvera
0244e9a929 Store a category in Info instead of a Set 2016-05-31 16:13:01 -04:00
Josh Vera
f1b4529ad1 Merge pull request #574 from github/fix-invalid-slice
Fix invalid slices in split diffs of certain reformatted nodes
2016-05-31 13:32:37 -04:00
Rob Rix
2887d0c2a1 Merge branch 'master' into fix-invalid-slice 2016-05-31 13:28:50 -04:00
Josh Vera
c1be9053a4 Merge pull request #571 from github/proportionate-cost-metric
Proportionate cost metric
2016-05-31 13:00:22 -04:00
Josh Vera
db864ee292 Merge branch 'master' into proportionate-cost-metric 2016-05-31 12:58:56 -04:00
Rob Rix
fe3bc8b83b Merge pull request #576 from github/add-notes-for-05-31-2016
Add weekly summary for 05-31-2016
2016-05-31 11:54:20 -04:00
Rick Winfrey
acf2fc85a6 Add weekly summary for 05-31-2016 2016-05-31 10:50:06 -05: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
07190fb6d1 Add a regression test for #573. 2016-05-30 19:04:16 -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
8e45e5973d Correct the nested-insert fixture. 2016-05-30 13:54:33 -04:00
Rob Rix
f4ff8d0b89 Correct the insert fixture. 2016-05-30 13:54:28 -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
49f477f5b0 📝 Verbatim. 2016-05-30 12:46:25 -04:00
Rob Rix
3fbfe43935 Prepend a newline to avoid being indented by expected:/but got:. 2016-05-30 12:44:09 -04:00
Rob Rix
89733ccdef Test the fixtures in Verbatim. 2016-05-30 12:42:43 -04:00
Rob Rix
643e37477f Derive an NFData instance for Verbatim. 2016-05-30 12:42:19 -04:00
Rob Rix
f10c0b305d Enable GeneralizedNewtypeDeriving. 2016-05-30 12:42:11 -04:00
Rob Rix
46b43c63e9 This is Text, now. 2016-05-30 12:40:41 -04:00
Rob Rix
7fe5be7fe2 Verbatim wraps Text. 2016-05-30 12:39:43 -04:00
Rob Rix
7a52507e94 Derive an Eq instance for Verbatim. 2016-05-30 12:39:39 -04:00
Rob Rix
3774bfb816 We treat this argument as a FilePath. 2016-05-30 12:38:21 -04:00
Rob Rix
d584832b6b We treat this argument as a FilePath. 2016-05-30 12:37:45 -04:00
Rob Rix
93b36a852f Add a Show instance for Verbatim which emits the unquoted string. 2016-05-30 12:37:05 -04:00
Rob Rix
58883000b1 Add a Verbatim newtype wrapping a String. 2016-05-30 12:36:52 -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
Rob Rix
160417d5a6 Move nested-insert out of the todos list. 2016-05-30 10:20:43 -04:00
Rob Rix
06c7437e66 Move insert out of the todos list. 2016-05-30 10:20:31 -04:00
Rob Rix
f9d5f93fb5 Merge pull request #558 from github/alignment-docs
[RFC] Document the alignment problem & proposed solutions
2016-05-27 17:35:49 -04:00
Rob Rix
d21bfc440d Merge branch 'master' into alignment-docs 2016-05-27 17:32:06 -04:00
Josh Vera
85b47695f5 Merge pull request #524 from github/cofree-and-bifunctors-sitting-in-a-tree-a-l-i-g-n-edly
Align diffs in a tree
2016-05-27 17:21:01 -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