Rob Rix
ceab42bab3
Merge branch 'master' into account-for-false-positives
2016-08-18 10:37:02 -04:00
Rob Rix
81853cf41b
Merge pull request #731 from github/binary-relations-are-relational
...
Add RelationalOperator to replace generic BinaryOperator category
2016-08-18 09:26:36 -04:00
Rick Winfrey
d9d743f292
Merge branch 'master' into binary-relations-are-relational
2016-08-17 16:31:04 -05:00
Rick Winfrey
a36583014a
Merge pull request #729 from github/method-call-improvements
...
Method call improvements
2016-08-17 16:27:15 -05:00
Rick Winfrey
b86b3218dc
Merge branch 'master' into method-call-improvements
2016-08-17 16:20:01 -05:00
Rick Winfrey
11d6362997
Preserve original hashed value for Category
2016-08-17 16:12:40 -05:00
joshvera
2c04be022d
Remove unused comment
2016-08-17 16:35:48 -04:00
joshvera
2df90eada7
Account for false positive close terms
...
Improve nearestUnmapped by looking up the nearest unmapped term which is not a false positive. We look up the nearest unmapped terms closest to the query term, then sort by the constant time edit distance between the query term and the intersecting terms. Finally, we select the first term that has the lowest edit distance.
2016-08-17 16:34:58 -04:00
Rick Winfrey
1b542a89ba
Promote "rel_op" to general language production
2016-08-17 11:55:20 -05:00
Rick Winfrey
95582bb798
Account for RelationalOperator in diff summaries
2016-08-17 11:54:53 -05:00
Rick Winfrey
ed3fab42c3
Render RelationalOperator
2016-08-17 11:54:40 -05:00
Rick Winfrey
e0f28282e8
Add RelationalOperator constructor to list of operators
2016-08-17 11:54:30 -05:00
Rick Winfrey
349b268884
Add RelationalOperator constructor for Category
2016-08-17 11:54:16 -05:00
Josh Vera
9ecdd27a13
Merge pull request #730 from github/make-binary-wise-to-bitwise
...
Enhance diff summary output to identify bitwise operators
2016-08-17 12:39:25 -04:00
Rick Winfrey
2fa8f1487e
Submodule update
2016-08-17 11:17:09 -05:00
Rick Winfrey
3dae5cb2f8
Update Split to account for newly added CommaOperator and BitwiseOperator constructors
2016-08-17 11:00:47 -05:00
Rick Winfrey
9907711099
Make "bitwise_op" a generic language production
2016-08-17 11:00:25 -05:00
Rick Winfrey
c91ec6c9a1
Allow BitwiseOperator matching in diff summaries
2016-08-17 11:00:01 -05:00
Rick Winfrey
b93bffe831
Add BitwiseOperator constructor to list of operators
2016-08-17 10:59:39 -05:00
Rick Winfrey
ebe077c7c8
Add BitwiseOperator Category constructor
2016-08-17 10:59:24 -05:00
joshvera
c09887b8df
update semantic-diff tests
2016-08-17 11:24:12 -04:00
joshvera
d90653aaff
remove unused params
2016-08-17 11:23:53 -04:00
joshvera
c16effb699
Add comma operator to Split
2016-08-17 11:00:17 -04:00
joshvera
5615da1bc0
Change methodParams to be a list of args
2016-08-17 10:42:05 -04:00
Rick Winfrey
1d79153f01
Merge pull request #727 from github/comma-summaries
...
Comma summaries
2016-08-17 08:19:56 -05:00
joshvera
3a4a19b9ab
s/f/cs
2016-08-16 22:04:36 -04:00
joshvera
b24d12d869
Add missing cases to toSeries and toText
2016-08-16 22:03:48 -04:00
joshvera
59997566bb
No need to unwrap rest
2016-08-16 22:03:34 -04:00
joshvera
8bcf292ba0
Merge remote-tracking branch 'origin/master' into comma-summaries
2016-08-16 19:34:30 -04:00
Rob Rix
04c146d805
Merge pull request #719 from github/more-detail-more-problems
...
Better handle parsing of comment syntax
2016-08-16 17:34:35 -04:00
joshvera
b14234f0aa
bind toLeafInfos
2016-08-16 17:24:22 -04:00
joshvera
b4133bdcac
Map comma operators to flattened indexed nodes
2016-08-16 17:24:06 -04:00
Rick Winfrey
5f23992143
Merge branch 'master' into more-detail-more-problems
2016-08-16 16:10:04 -05:00
Rick Winfrey
cb3a709540
Add missing Comment Category to Split styles
2016-08-16 15:36:36 -05:00
joshvera
7785cbf498
Add comma operator mapping
2016-08-16 16:18:02 -04:00
joshvera
329c050811
Merge remote-tracking branch 'origin/master' into comma-summaries
2016-08-16 15:44:09 -04:00
joshvera
a9c3bfa671
Add CommaOperator
2016-08-16 15:44:02 -04:00
Josh Vera
70d6bfec91
Merge pull request #725 from github/fix-parsing-get-and-set-in-javascript
...
Fix parsing get and set in javascript
2016-08-16 15:37:23 -04:00
Rob Rix
538961285a
Merge branch 'master' into parse-jquery
2016-08-16 15:12:10 -04:00
Rob Rix
a37b3b63c3
Fix the parsing of get/set as identifiers in JS sources.
2016-08-16 15:12:07 -04:00
Rick Winfrey
2b196ade35
Add explanation about the intent of the preserveSyntax
Set
2016-08-16 13:24:36 -05:00
Rick Winfrey
30b94f822c
Add Set for Category constructors that should not be made into Indexed leaves
2016-08-16 13:22:41 -05:00
Rick Winfrey
43e58dcee3
Merge branch 'more-detail-more-problems' of github.com:github/semantic-diff into more-detail-more-problems
2016-08-16 13:11:09 -05:00
Rick Winfrey
1f1b0a9b3f
Specifically handle Comment nodes instead of breaking them down by words (the default behavior for Leaf syntaxes that are not Regex)
2016-08-16 13:10:26 -05:00
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
b60a63221f
Merge pull request #720 from github/µ-to-you-too
...
µoptimizations to term importing
2016-08-16 13:23:01 -04:00
Rob Rix
617ab29df6
📝 termConstructor’s parameters & return value.
2016-08-16 11:42:48 -04:00