1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00
Commit Graph

9292 Commits

Author SHA1 Message Date
Rick Winfrey
5149ff100f Update Summary.hs to use DefaultFields 2016-10-18 10:43:05 -05:00
Rick Winfrey
9b9569b8a5 Update Diffing.hs to use DefaultFields 2016-10-18 10:41:58 -05:00
Rick Winfrey
87d3111bcc Merge branch 'master' into constraint-alias 2016-10-18 10:37:31 -05:00
Rick Winfrey
2df9e9ad39 Merge branch 'improve-imports' of github.com:github/semantic-diff into improve-imports 2016-10-18 10:35:48 -05:00
Rick Winfrey
3b984eb470 ++javascript 2016-10-18 10:34:49 -05:00
Rick Winfrey
90f1cc2fb4 Remove unnecessary brackets 2016-10-18 10:34:36 -05:00
Rick Winfrey
a8dee06d07 Merge branch 'master' into improve-imports 2016-10-17 19:17:12 -05:00
Rick Winfrey
99e070e107 Remove if-else generated file 2016-10-17 18:51:23 -05:00
Rick Winfrey
43e082c85f Remove import generated file 2016-10-17 18:50:47 -05:00
Rick Winfrey
bad1ae2d78 Remove warnings 2016-10-17 18:47:49 -05:00
Rick Winfrey
c05a3a961e For Import Syntax nodes containing an Indexed Syntax node with only one element, we need to take the source span of the child.
- If we don’t, this can lead to us taking more of the source than is
desired. This relates to unnamed nodes in TreeSitter. The trouble is we
don’t have the ability to determine if an unnamed node is what we want.
2016-10-17 18:44:15 -05:00
Rick Winfrey
e831229779 Don't single quote around an import statement 2016-10-17 18:42:24 -05:00
Rick Winfrey
242654b05f Update tests 2016-10-17 18:41:03 -05:00
Rick Winfrey
69492f39e4 Maintain space for "from" when term node is not an Indexed node 2016-10-17 11:29:49 -05:00
Rick Winfrey
36eb60d05d Conditionally match against Indexed nodes when applying toTermName for Import Syntax 2016-10-17 11:01:45 -05:00
Rick Winfrey
2893e373f1 Merge pull request #887 from github/weekly
Add weekly notes
2016-10-14 18:19:17 -05:00
joshvera
d83efce2e0 add weekly 2016-10-14 17:46:41 -04:00
Rick Winfrey
dfc11385d8 ++tests 2016-10-14 13:40:07 -05:00
Rick Winfrey
a4dfe48ff4 Output an import statement's expressions 2016-10-14 13:39:57 -05:00
Rick Winfrey
6aa62cc8f9 Merge branch 'master' into constraint-alias 2016-10-14 12:01:31 -05:00
Rick Winfrey
56dfa479e8 Revert moves 2016-10-14 12:00:28 -05:00
Rick Winfrey
75a254175c Use DefaultFields constraint alias 2016-10-14 11:53:47 -05:00
Rick Winfrey
014a6a21d7 Update comment, extract appendParentContexts function 2016-10-14 11:53:34 -05:00
Rick Winfrey
8960836bcb Change order of functions, use DefaultFields constraint alias 2016-10-14 11:53:08 -05:00
Rick Winfrey
053393fdca Move data declarations to top 2016-10-14 11:52:36 -05:00
Rick Winfrey
c1f6be7b7f Add DefaultFields constraint alias 2016-10-14 11:51:17 -05:00
Josh Vera
4ac29b566a Merge pull request #880 from github/improve-memory-usage
Improve memory usage
2016-10-14 12:37:03 -04:00
joshvera
1ec96efd63 bump tests 2016-10-14 12:19:31 -04:00
joshvera
3839a8605a Bump tests 2016-10-14 12:12:38 -04:00
Rhett Garber
5b218de0a3 Merge pull request #883 from github/rhettg-jessie
Upload the same build for multiple distros
2016-10-13 16:17:05 -07:00
Rhett Garber
808f1a2093 Auto-merged master into rhettg-jessie on deployment 2016-10-13 16:05:26 -07:00
Rick Winfrey
9189556b31 Merge pull request #882 from github/improve-anonymous-funs
Improve anonymous funs
2016-10-13 18:00:30 -05:00
Rick Winfrey
0262cb0879 Merge branch 'master' into improve-anonymous-funs 2016-10-13 17:56:39 -05:00
Rhett Garber
656d8b06ae Auto-merged master into rhettg-jessie on deployment 2016-10-13 15:48:16 -07:00
Rick Winfrey
13429a632d Merge pull request #878 from github/if-else-if
Support else-if JavaScript clauses
2016-10-13 17:14:01 -05:00
joshvera
ca129b2449 bump tests 2016-10-13 18:02:14 -04:00
Rick Winfrey
383573aa3d Merge branch 'master' into if-else-if 2016-10-13 17:01:23 -05:00
joshvera
dbf8fe2385 one line 2016-10-13 17:58:23 -04:00
joshvera
4f978b7586 No quotes around anonymous functions 2016-10-13 17:58:17 -04:00
Rick Winfrey
80ebddae5c Bump tests 2016-10-13 16:44:36 -05:00
Rick Winfrey
5cc26fcc34 Remove BranchInfo for If Syntaxes
Although this allowed us to report a list of summary statements for
each if / else-if condition, we don’t append parent contexts to
Patches. Because we lose that parent context, it makes replacement
summary statements devoid of context. Taking a step back, @joshvera and
I decided to leave if summary statements as they are now, but revisit
this when we explore rollups. Although diff summary statements do not
include else-if clauses now in Syntax If accurately. So we have the
info, but as it stands, a long list of summary statements for each
else-if clause we determined to be less helpful, but will set us up for
success when we add rollups.
2016-10-13 16:42:49 -05:00
joshvera
98627b74b7 Merge remote-tracking branch 'origin/master' into improve-anonymous-funs 2016-10-13 17:39:42 -04:00
Rick Winfrey
59a2531889 Update toElseIf so we don't drop the elseClause for non If syntax clauses 2016-10-13 16:33:57 -05:00
Josh Vera
9f9dc4feab Merge branch 'master' into improve-memory-usage 2016-10-13 16:21:11 -04:00
joshvera
63eca5f45b use Label type synonym and unpack strict fields in RWS 2016-10-13 16:19:53 -04:00
joshvera
b5ff4178e9 scope to getLabel 2016-10-13 16:16:50 -04:00
Rick Winfrey
a80cb67b89 Extract toLeafInfo function 2016-10-13 12:36:18 -05:00
Rick Winfrey
62db2939f8 Clean and retain elseClause for If statements that are not If statements 2016-10-13 12:34:48 -05:00
joshvera
be1ca766c1 Quote anonymous and brace exports 2016-10-13 12:56:27 -04:00
joshvera
73b947f71b Update tests 2016-10-13 12:08:44 -04:00