1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +03:00
Commit Graph

27508 Commits

Author SHA1 Message Date
Timothy Clem
ee700b465d Oh yeah, don't need these 2019-02-06 09:44:04 -08:00
Timothy Clem
1342f2f52f Merge branch 'master' into twirp-specs 2019-02-06 09:06:27 -08:00
Timothy Clem
e15553a97c Merge pull request #2369 from github/second-wait
Block on async parsing thread after timeout
2019-02-06 08:58:51 -08:00
Timothy Clem
ee8d406c58 Merge branch 'master' into twirp-specs 2019-02-06 08:47:11 -08:00
Rick Winfrey
8f57b5d08b Don't need _ <- pattern 2019-02-05 13:56:55 -08:00
Timothy Clem
27b242a2cf Test a bunch of failure cases 2019-02-05 11:16:21 -08:00
Timothy Clem
f48d1ecf04 Not using this 2019-02-05 11:15:12 -08:00
Timothy Clem
ccc67eb355 Test only flag to force failure of parsing 2019-02-05 11:15:03 -08:00
Rick Winfrey
9f2820feaa Merge branch 'second-wait' of https://github.com/github/semantic into second-wait 2019-02-05 10:43:54 -08:00
Rick Winfrey
7b9ca2a0b0 Split over two lines 2019-02-05 10:43:16 -08:00
Timothy Clem
11560b473b Minor rename 2019-02-05 10:05:10 -08:00
Timothy Clem
3de377b6da Better handling of partial errors 2019-02-05 10:04:37 -08:00
Timothy Clem
2cb4d44f4a Align the :: 2019-02-05 10:04:05 -08:00
Rick Winfrey
ca04fb6495 Merge branch 'master' into second-wait 2019-02-04 19:12:16 -08:00
Rick Winfrey
3d125791ab Wait and block on the async parsing thread
If we timeout an async parsing thread and return, but the parsing thread is still running, we can force a race condition in which we delete the parser before it's completed on the async thread. This patch blocks on the parsing thread until it is complete before we clean up the parser. But this might have unintended consequences for the downstream consumer (i.e. github/github).

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2019-02-04 16:23:36 -08:00
Timothy Clem
8267613081 Merge pull request #2366 from github/refactor-runTask-log-request-ids
Refactor runTask always log request ids
2019-02-04 16:07:52 -08:00
Timothy Clem
ed47f27c1f Fix lints now that we are on a newer version of hlint 2019-02-04 15:19:21 -08:00
Timothy Clem
edc9adb197 Install and use hlint directly 2019-02-04 15:19:10 -08:00
Timothy Clem
b2ae020f26 Merge branch 'master' into refactor-runTask-log-request-ids 2019-02-04 14:54:43 -08:00
Rick Winfrey
b04b3c5c51 Merge pull request #2367 from github/python-comparison-operators
Python comparison operators
2019-02-04 13:52:14 -08:00
Timothy Clem
33f03c42a5 Align the :: 2019-02-04 13:31:31 -08:00
Rick Winfrey
43538a0897 Merge branch 'master' into python-comparison-operators 2019-02-04 13:21:01 -08:00
Rick Winfrey
44da5787f4 Merge branch 'python-comparison-operators' of https://github.com/github/semantic into python-comparison-operators 2019-02-04 13:19:23 -08:00
Josh Vera
17d7926ddf Merge pull request #2363 from github/javascript-assignment-fixes
Javascript assignment fixes
2019-02-04 16:08:47 -05:00
Timothy Clem
77f07859a4 Merge branch 'master' into refactor-runTask-log-request-ids 2019-02-04 08:20:56 -08:00
joshvera
41b8f0ae9c Merge remote-tracking branch 'origin/master' into javascript-assignment-fixes 2019-02-04 10:21:27 -05:00
Rick Winfrey
c5e9956501 Merge branch 'master' into python-comparison-operators 2019-02-01 17:08:29 -08:00
Timothy Clem
73785eaef9 Merge pull request #2335 from github/servant-experiment
Replace GRPC with Twirp and unify semantic's API
2019-02-01 15:05:05 -08:00
Timothy Clem
ce04fa8f12 Refactor runTask 2019-02-01 15:04:23 -08:00
joshvera
d67b7c273c Add AccessControl instance for AnnotatedExpression 2019-02-01 17:02:26 -05:00
joshvera
f8fa4faa88 Merge remote-tracking branch 'origin/master' into javascript-assignment-fixes 2019-02-01 16:55:03 -05:00
Timothy Clem
d3a4377f3f Merge branch 'master' into servant-experiment 2019-02-01 13:17:17 -08:00
Rick Winfrey
22f8cdf709 Use tokens instead of symbols 2019-02-01 12:48:20 -08:00
Rick Winfrey
a7c2c83a08 Use a choice to construct a single symbol table with term1
Co-Authored-By: Rob Rix <robrix@github.com>
2019-02-01 12:21:27 -08:00
Rick Winfrey
10f6d54b96 Merge pull request #2365 from github/python-assignment-fixes
Python assignment fixes
2019-02-01 12:12:09 -08:00
Timothy Clem
a3a665bb5c Correct inline docs 2019-02-01 08:54:26 -08:00
Josh Vera
37ea776107 Merge branch 'master' into javascript-assignment-fixes 2019-02-01 09:19:35 -05:00
Rick Winfrey
74fa0ca315 Revert "These syntax constructors are no longer used in Ruby's Syntax"
This reverts commit b2c8aa0afeb9abe3552dcabd74bbe2a114963e6d.
2019-01-31 17:33:10 -08:00
Rick Winfrey
9fd2e3e20f Add pythonASTParser 2019-01-31 17:20:59 -08:00
Rick Winfrey
a5c32b80d3 Have to contextualize and postContextualize within chainl1Term 2019-01-31 17:01:33 -08:00
Rick Winfrey
2226a64b2b Post contextualize the lhs of a binary comparison 2019-01-31 15:58:16 -08:00
Rick Winfrey
4a1dbe636f These syntax constructors are no longer used in Ruby's Syntax 2019-01-31 15:55:13 -08:00
Rick Winfrey
ad82cf4c6d Fixes contextualize bug for comments occuring after a binary operator
Example:

`if (self.__class__._create_slots.__code__ is not  # pylint: disable=protected-access
        OptimizerV2._create_slots.__code__):`
2019-01-31 15:54:51 -08:00
Timothy Clem
635f09fe29 ++version to 0.5.0 2019-01-31 15:41:08 -08:00
Rick Winfrey
17f64344ef Assign comments within Python member access expressions 2019-01-31 15:30:28 -08:00
Timothy Clem
a1a81e3daa Fix up merge conflicts in Examples.hs 2019-01-31 14:13:26 -08:00
Timothy Clem
c6091cee7f Remove extra imports 2019-01-31 13:47:45 -08:00
joshvera
554bd0b7fa Fix up ambient declaration 2019-01-31 16:34:13 -05:00
Timothy Clem
61319cdc2c Transition back to our language enum 2019-01-31 13:11:55 -08:00
joshvera
77b1e6f234 Add annotatedExpression to typescript 2019-01-31 16:07:19 -05:00