1
1
mirror of https://github.com/github/semantic.git synced 2024-12-19 21:01:35 +03:00
Commit Graph

8265 Commits

Author SHA1 Message Date
Rick Winfrey
e29651ce07 Create Comment Category instances from TreeSitter productions 2016-08-16 13:09:43 -05:00
Rick Winfrey
e9240b5b6e Disambiguate between Syntax Comment and Category Comment 2016-08-16 13:09:12 -05:00
Rick Winfrey
60d10c483e Disambiguate between Syntax Comment and Category Comment 2016-08-16 13:08:55 -05:00
Rick Winfrey
7fd0b52a91 Add Comment constructor to Category
Previously all comments were being caught by the Other constructor. Now
that we specifically handle Category Syntax, it seems appropriate to
promote Comment as a first class Category, too.
2016-08-16 13:08:23 -05:00
Josh Vera
0593503207 Merge pull request #715 from github/add-javascript-syntaxes
Add test cases for remaining Javascript syntaxes
2016-08-15 17:05:23 -04:00
Rick Winfrey
a4aabd500c Merge branch 'master' into add-javascript-syntaxes 2016-08-15 15:31:32 -05:00
Rick Winfrey
44a375f1f9 Update expectedResults for JavaScript test cases per switch to RWS! 2016-08-15 15:30:37 -05:00
Rob Rix
ef5c627016 Merge pull request #713 from github/limit-assumptions-about-class-and-method-structure
Limit assumptions about class and method structure
2016-08-15 15:42:48 -04:00
Rick Winfrey
93521de3ec Merge branch 'master' into add-javascript-syntaxes 2016-08-15 14:42:15 -05:00
Josh Vera
4e8ff60da7 Merge branch 'master' into limit-assumptions-about-class-and-method-structure 2016-08-15 15:22:29 -04:00
Josh Vera
b06cb4695e Merge pull request #689 from github/unbiased-branch-diffs
Unbiased branch diffs
2016-08-15 15:21:06 -04:00
Rob Rix
07d91fb70a Merge branch 'master' into limit-assumptions-about-class-and-method-structure 2016-08-15 15:07:44 -04:00
Rob Rix
890b30df11 🔥 methodDefinitions. 2016-08-15 15:07:40 -04:00
Rob Rix
40fe66ac5e Subclasses include the method definitions directly. 2016-08-15 13:59:48 -04:00
Rob Rix
fab77e2c1a Classes include the method definitions directly. 2016-08-15 13:59:17 -04:00
Rob Rix
913532a762 🔥 expressionStatements. 2016-08-15 13:58:34 -04:00
Rob Rix
6792cfe1f9 Zero-argument methods include the expressions directly. 2016-08-15 13:58:23 -04:00
Rob Rix
eb1ad9fbbf Methods include the expressions directly. 2016-08-15 13:58:06 -04:00
Rob Rix
32b86879b2 Merge branch 'master' into unbiased-branch-diffs 2016-08-15 13:09:48 -04:00
Rob Rix
dbd812d488 Merge branch 'master' into unbiased-branch-diffs 2016-08-15 12:09:45 -04:00
Rob Rix
479501720f Merge pull request #706 from github/2016-08-15
Create 2016-08-15.md
2016-08-15 11:29:25 -04:00
Rob Rix
92ddc61385 Create 2016-08-15.md 2016-08-15 11:27:23 -04:00
Rob Rix
e65bda6107 📝 stripTerm & stripDiff. 2016-08-15 09:39:20 -04:00
Rob Rix
1e0c908423 Merge branch 'master' into unbiased-branch-diffs 2016-08-15 09:38:47 -04:00
Josh Vera
4f91f878dd Merge pull request #692 from github/unbiased-branch-diff-tests-that-actually-test-branch-diff-bias
Unbiased branch diff tests that actually test branch diff bias
2016-08-12 16:36:29 -04:00
Rob Rix
08835f5a36 Merge branch 'master' into unbiased-branch-diff-tests-that-actually-test-branch-diff-bias 2016-08-12 13:52:03 -04:00
Rob Rix
9dcbe04297 Move the multiple hunks fixture to the todo list.
See also #682.
2016-08-12 13:43:00 -04:00
Rick Winfrey
d226eacdfc Add missing arbitrary instances for Category constructors 2016-08-12 12:42:22 -05:00
Rob Rix
6542c7182e Revert "Revert "Diff branches by similarity.""
This reverts commit 32439e62459ac2736944462fb81afbb9635c9246.
2016-08-12 13:41:43 -04:00
Rob Rix
e820b43469 🔥 a redundant import. 2016-08-12 13:40:41 -04:00
Rob Rix
e3b98b3da1 Merge branch 'master' into unbiased-branch-diffs 2016-08-12 13:31:26 -04:00
Rob Rix
2ac77b0afa Merge pull request #688 from github/if-syntax
Add If constructor to Syntax
2016-08-12 13:25:29 -04:00
Rob Rix
b91b305f32 Re-enable the RWS insertion bias tests. 2016-08-12 13:22:55 -04:00
Rob Rix
443df7da7c Merge branch 'unbiased-branch-diff-tests-that-actually-test-branch-diff-bias' into unbiased-branch-diffs
# Conflicts:
#	src/Diffing.hs
#	test/CorpusSpec.hs
#	tools/semantic-git-diff/test/corpus/diff-summaries.json
2016-08-12 13:04:33 -04:00
Rob Rix
d9be26396c Make the RWS test pending on #683. 2016-08-12 12:58:37 -04:00
Rob Rix
17f3c74c20 Revert "Enable RWS for lists."
This reverts commit 0b6810484dca24ac0a659ab097aeaab52ba5f5ab.
2016-08-12 12:49:02 -04:00
Rob Rix
7997cdb55b Enable RWS for lists. 2016-08-12 12:44:15 -04:00
Rob Rix
2b35110d0a 🔥 the faulty tests of unbiased branch diffs. 2016-08-12 12:24:38 -04:00
Rob Rix
ff4861e2fb Add the unbiased insertion test to the Interpreter spec. 2016-08-12 12:16:48 -04:00
Rob Rix
d3c333ae64 🔥 the faulty tests of unbiased insertions. 2016-08-12 11:59:44 -04:00
Rob Rix
b1e893b3f8 Add a concrete test of unbiased insertions. 2016-08-12 11:59:09 -04:00
Rob Rix
ada00d0485 The RWS unbiased tests require disjoint syntax constructors. 2016-08-12 11:44:29 -04:00
Rob Rix
5462278d0f Use the replacing combinator in the tests. 2016-08-12 11:44:23 -04:00
Rob Rix
bcaf909957 Revert "Mark the (failing) rws tests as pending for the time being."
This reverts commit a9025cacda01db216590e99dd36e867611e0f953.
2016-08-12 11:44:18 -04:00
Rob Rix
fa983e5561 Add a concrete test of unbiased deletions. 2016-08-12 11:40:30 -04:00
Rob Rix
842ff553c1 Revert "Diff branches by similarity."
This reverts commit 50c94ed7b601871c56e0de1706f531dfef97d859.
2016-08-12 11:33:38 -04:00
Rob Rix
33b5987a34 Diff branches by similarity. 2016-08-12 10:47:26 -04:00
Rob Rix
0ca6daca62 Rename the local byIndex binding to branch. 2016-08-12 09:59:56 -04:00
Rob Rix
2eead056e1 The RWS unbiased tests require disjoint syntax constructors. 2016-08-12 09:56:24 -04:00
Rob Rix
7bbbc4cbea Use the replacing combinator in the tests. 2016-08-12 09:53:16 -04:00