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

5136 Commits

Author SHA1 Message Date
Josh Vera
0eb79b57f6 Merge pull request #508 from github/smaller-arbitrary-terms
Smaller Arbitrary terms
2016-03-11 11:38:08 -05:00
Rob Rix
e5f34dccd3 Scale the arbitrary term sizes down. 2016-03-11 09:22:17 -05:00
Rob Rix
b0f3140394 Merge pull request #507 from github/fix-empty-file-additions
Only map SourceBlobs with no mode to empty SourceBlobs
2016-03-09 14:52:26 -05:00
Josh Vera
da332138ec Merge branch 'master' into fix-empty-file-additions 2016-03-09 14:48:08 -05:00
Josh Vera
1ab14bca63 Merge pull request #506 from github/never-say-nothing
Never say nothing
2016-03-09 14:11:59 -05:00
Rob Rix
6d3aa61435 Don’t bind a variable we don’t use. 2016-03-09 14:04:09 -05:00
Rob Rix
0b95412dcb Handle the degenerate Nothing/Nothing case explicitly (even tho it’ll never happen). 2016-03-09 14:03:57 -05:00
Rob Rix
000c5ce7a0 Merge pull request #500 from github/add-modes
Add modes to patches
2016-03-08 19:44:27 -05:00
joshvera
146632c2c7 parens 2016-03-08 16:20:17 -05:00
joshvera
8ddc5eb000 Add defaultPlainBlob 2016-03-08 16:05:01 -05:00
joshvera
54c86748ad we just say pure 2016-03-08 16:05:01 -05:00
Josh Vera
f6d8db46e8 Merge branch 'master' into add-modes 2016-03-08 13:23:43 -05:00
joshvera
c5fc04904e Store modes as Word32 2016-03-07 19:20:28 -05:00
joshvera
a4954642be Preserve git modes 2016-03-07 18:50:32 -05:00
joshvera
f771feca7d ++gitlib 2016-03-07 18:08:19 -05:00
Josh Vera
a2675db76a Merge pull request #498 from github/refactor-alignment
Refactor alignment
2016-03-07 13:25:30 -05:00
Rob Rix
30b3450981 Take hlint’s advice. 2016-03-07 13:14:34 -05:00
Rob Rix
3c3f171c16 Capture the child ranges in a variable. 2016-03-07 13:12:23 -05:00
Rob Rix
c895c001d1 Reformat adjoining across several lines.. 2016-03-07 13:07:19 -05:00
Rob Rix
ae70cc61c2 Document the Ranges in splitDiffbyLines’ return value. 2016-03-07 12:05:21 -05:00
Rob Rix
7a1a283402 🔥 tearDown. 2016-03-04 21:13:14 -05:00
Rob Rix
abcd9803f3 Pass the Info & Syntax in directly. 2016-03-04 21:12:49 -05:00
Rob Rix
6610745868 an. 2016-03-04 21:09:00 -05:00
Rob Rix
5c06ecc6d0 Define splitAbstractedTerm by catamorphism (more or less). 2016-03-04 21:07:26 -05:00
Rob Rix
e979a40087 Remove some unnecessary parentheses. 2016-03-04 20:46:20 -05:00
Rob Rix
5fdcfbbce9 Tear down diffs with a lambda. 2016-03-04 20:29:04 -05:00
Rob Rix
619fde974d Tacit definition of splitDiffByLines. 2016-03-04 20:26:40 -05:00
Rob Rix
f546977b33 splitAnnotatedByLines takes Both Infos directly. 2016-03-04 20:25:33 -05:00
Rob Rix
cd895d6f87 Re-enable sorting via rowRanges. 2016-03-04 20:18:57 -05:00
Rob Rix
3829f0b064 Rewrite diffRanges as rowRanges. 2016-03-04 20:18:49 -05:00
Rob Rix
78aeffde06 Remove the Functor constraint from unionRanges. 2016-03-04 20:10:45 -05:00
Rob Rix
d702926228 Document maybeConcat. 2016-03-04 20:08:56 -05:00
Rob Rix
9529d3aab0 Revert "Add a maybeUnionRanges function."
This reverts commit 183d77173ea6a9250092710996c066d3af19d816.
2016-03-04 20:08:10 -05:00
Rob Rix
e1ea26206a Revert "Document maybeUnionRanges."
This reverts commit 25dc580212e0c8f6964208b828771fba767933b9.
2016-03-04 20:08:07 -05:00
Rob Rix
650663c83f Revert "Simplify maybeUnionRanges."
This reverts commit 62e79ec5206aa8d07984927f60c0367f3e7aac13.
2016-03-04 20:08:04 -05:00
Rob Rix
d9e74e1f55 Revert "Define maybeUnionRanges as a specialization of maybeConcat."
This reverts commit 3210ab6fe6e660106c3c2e1ae92af733ed27c5b0.
2016-03-04 20:07:59 -05:00
Rob Rix
8325042643 Define unionRangesFrom with maybeConcat. 2016-03-04 20:07:52 -05:00
Rob Rix
2ca378db0d Define maybeUnionRanges as a specialization of maybeConcat. 2016-03-04 20:07:04 -05:00
Rob Rix
d6ec8d0d8c Generalize maybeUnionRanges to maybeConcat. 2016-03-04 20:06:32 -05:00
Rob Rix
6b17c3c1ff Simplify maybeUnionRanges. 2016-03-04 20:03:37 -05:00
Rob Rix
aea8e3e200 Document maybeUnionRanges. 2016-03-04 20:00:01 -05:00
Rob Rix
34e798cb09 Add a maybeUnionRanges function. 2016-03-04 19:59:31 -05:00
Rob Rix
7cb85f6571 Define splitDiffByLines by catamorphism. 2016-03-04 19:53:47 -05:00
Rob Rix
651f0106e3 Migrate a couple of tests over to splitDiffByLines. 2016-03-04 19:53:28 -05:00
Rob Rix
bb00235f4c Swap the order of the operands to splitDiffByLines. 2016-03-04 19:29:57 -05:00
Rob Rix
3a555df147 Swap the order of the operands to splitPatchByLines. 2016-03-04 19:07:54 -05:00
Rob Rix
4a4eb23cb5 Fold eagerly. 2016-03-04 18:53:35 -05:00
Rob Rix
c80c764db8 🔥 makeRanges. 2016-03-04 17:35:03 -05:00
Rob Rix
9b00836f17 Use normal Applicative style instead of makeRanges. 2016-03-04 17:34:53 -05:00
Rob Rix
999f036436 makeRanges can be defined with normal Applicative stuff. 2016-03-04 17:33:14 -05:00