1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 16:33:03 +03:00
Commit Graph

5734 Commits

Author SHA1 Message Date
Rob Rix
92e9a0d5f1 Merge pull request #538 from github/dont-log-aws-keys
Don't log AWS keys
2016-04-13 09:01:33 -04:00
Rob Rix
98b48a8c8e Merge branch 'master' into dont-log-aws-keys 2016-04-13 08:57:22 -04:00
Josh Vera
f9b81c3ab6 Merge pull request #536 from github/cache-term-sizes
[WIP] Cache diff costs
2016-04-12 18:55:02 -04:00
Rob Rix
a70981b2fb 📝 diffTerms’ cost parameter. 2016-04-12 18:00:50 -04:00
Rob Rix
63a3b69c24 Split replaceIn across several lines. 2016-04-12 18:00:09 -04:00
Rob Rix
7d11abd92a Split things up over several lines. 2016-04-12 17:58:54 -04:00
Rob Rix
dbe65d6831 Update the info with record syntax. 2016-04-12 17:56:52 -04:00
joshvera
37c7542d5a Add Show instances for Arguments 2016-04-12 13:10:24 -04:00
Rob Rix
694567f8e3 Use the absolute difference cost. 2016-04-12 11:53:56 -04:00
Rob Rix
1d639ce8eb Compute the absolute difference of a diff as its cost. 2016-04-12 11:53:51 -04:00
Rob Rix
d872b5ffff Add a cost function which sums diff sizes, not just term sizes. 2016-04-12 11:46:37 -04:00
Rob Rix
5991d5b5de Correct the split diff fixture. 2016-04-12 11:23:37 -04:00
Rob Rix
851d53fa07 Recompute term sizes after replacing multi-word leaves. 2016-04-12 11:22:02 -04:00
Rob Rix
9a5dca4558 One plus the sum. 2016-04-12 11:21:16 -04:00
Rob Rix
da4fc09e82 Reformat across lines. 2016-04-12 11:13:29 -04:00
Rob Rix
6075a62626 Write term sizes out in split diffs. 2016-04-12 10:56:01 -04:00
Rob Rix
0f8b6cea8d Preserve branch term sizes through splitting. 2016-04-12 10:48:30 -04:00
Rob Rix
852fa1f207 Preserve term sizes through splitting. 2016-04-12 10:42:44 -04:00
Rob Rix
ad47c77509 Correct some test cases. 2016-04-12 05:00:39 -04:00
Rob Rix
1a22eaebf6 Correct the tests. 2016-04-12 04:54:32 -04:00
Rob Rix
e6c81e1c22 🔥 some redundant imports & bindings. 2016-04-12 04:44:12 -04:00
Rob Rix
3239eaf551 Compute diff costs via foldMap. 2016-04-11 16:51:10 -04:00
Rob Rix
ddeb3f9063 Derive a Foldable instance for Patch. 2016-04-11 16:50:48 -04:00
Rob Rix
465c1f9ab7 Use the cached term sizes to diff. 2016-04-11 15:09:45 -04:00
Rob Rix
2a08e059d2 Add a function to compute the cost from the cached term sizes. 2016-04-11 15:09:21 -04:00
Rob Rix
b3eb86a9e4 Correct the docs of diffCost. 2016-04-11 15:06:59 -04:00
Rob Rix
97b588d5e3 Correct the docs of termSize. 2016-04-11 15:06:53 -04:00
Rob Rix
c8c195daf8 Rename getSize to size. 2016-04-11 15:04:44 -04:00
Rob Rix
71e8454fb4 Add a size field to Info. 2016-04-11 15:02:58 -04:00
Rob Rix
4fb2c30892 Pass the cost function to interpret. 2016-04-11 14:49:25 -04:00
Rob Rix
0b4696062d Compute term sizes as node counts. 2016-04-11 13:54:46 -04:00
Rob Rix
4cce0deb34 Merge pull request #533 from github/async
Asynchronously diff and timeout individual files
2016-04-04 17:40:55 -04:00
joshvera
928087e1f5 🔥 2016-04-04 17:38:58 -04:00
Rob Rix
f095c455a6 Merge branch 'master' into async 2016-04-04 17:31:05 -04:00
joshvera
a553709112 Specialize Renderer to Text 2016-04-04 17:20:26 -04:00
joshvera
3b752b834c docs 2016-04-04 17:12:55 -04:00
joshvera
90013b1235 Rename printDiff to textDiff and printDiff' to printDiff 2016-04-04 17:08:29 -04:00
joshvera
506abacbc6 Document use of strictness in diffFiles 2016-04-04 17:03:35 -04:00
joshvera
ba8fef376a move to where clause 2016-04-02 13:28:17 -04:00
joshvera
4512344e3a update dictionary.json.js 2016-04-01 16:07:05 -04:00
joshvera
4a7004394b fix tests 2016-04-01 15:53:16 -04:00
joshvera
cf898c66c6 Strictly render in diffFiles 2016-04-01 15:35:38 -04:00
joshvera
842a0f30af Move emptyHunk to a function 2016-04-01 15:35:21 -04:00
joshvera
a18c2649d3 Add a truncatePatch function 2016-04-01 15:35:09 -04:00
joshvera
7947bc1911 Move DiffArguments to Renderer.hs 2016-04-01 15:34:52 -04:00
joshvera
e44b24806f Merge remote-tracking branch 'origin/master' into async 2016-04-01 12:52:17 -04:00
Rob Rix
9fb057223f Merge pull request #531 from github/one-header-per-file
One header per file
2016-03-31 17:02:35 -04:00
Rob Rix
da3f04100e Merge branch 'master' into one-header-per-file 2016-03-31 17:00:37 -04:00
joshvera
5ff0d38a2f Make sure we actually show 2 hunks in the test 2016-03-31 13:53:47 -04:00
joshvera
4fafbda1de Test multiple hunks only has one header 2016-03-31 13:20:14 -04:00