1
1
mirror of https://github.com/github/semantic.git synced 2024-11-27 03:09:48 +03:00
Commit Graph

33932 Commits

Author SHA1 Message Date
Patrick Thomson
4e5012835f Update docs now that alacarte ASTs are gone.
This is pretty straightforward.

Fixes #602. Fixes #107.
2020-07-13 12:34:52 -04:00
Patrick Thomson
ba27f8e456 Ensure dist-newstyle directories are ignored everywhere.
@tclem ran into an issue where he had built `semantic-source` from the
`semantic-source` directory; `cabal` placed a `dist-newstyle`
directory there, which was fouling up Bazel due to the fact that
`cabal` generates binary files called `BUILD`, and Bazel tries to
interpret these files as package configurations. Not good!

We can't use a glob here because .bazelignore files don't support
globbing (https://github.com/bazelbuild/bazel/issues/7093), so it
suffices to ignore all the projects' `dist-newstyle` directories so
that no one runs into this again.
2020-07-13 11:24:43 -04:00
Rob Rix
2620cadacd
Merge pull request #603 from github/even-leaner
Remove Leancheck extensions and dependency.
2020-07-13 10:39:26 -04:00
Patrick Thomson
e0871e849c propitiate Cabal 2020-07-10 12:34:12 -04:00
Patrick Thomson
31c3cfba99 Remove Leancheck extensions and dependency.
Ever since the alacarte removal, we no longer have any leancheck tests.

Fixes #122. Fixes #69. Nice.
2020-07-10 11:36:01 -04:00
Patrick Thomson
7753af1279
Merge pull request #596 from github/bazel-linux-fixes
Fix Bazel build on Linux
2020-07-10 09:50:31 -04:00
Douglas Creager
3cd70b76ed Merge remote-tracking branch 'origin/master' into bazel-linux-fixes
* origin/master:
  Remove unused modules.
  Include go and fix a forgotten sha256.
  remove this duplication with a dictionary comprehension
  use better string formatting
  More cleanup.
  Emacs misfire.
  Finish porting to direct Hackage downloads.
  WIP
  Pin to our tree-sitter-go.
2020-07-10 09:00:40 -04:00
Douglas Creager
4d1dd5dc4f Update rules_haskell git_repository to use specific commit
This commit is just after rules_haskell#1349 [1] was merged.  This gives
us a stable reproducible commit that we can use until a new release is
cut that includes this fix.

[1] https://github.com/tweag/rules_haskell/issues/1349
2020-07-10 08:59:45 -04:00
Patrick Thomson
591ed7316f
Merge pull request #600 from github/more-removals
Remove unused modules.
2020-07-09 15:24:03 -04:00
Patrick Thomson
c01030b31c Remove unused modules.
This patch removes:

* Data.Functor.Classes.Generic
* Data.History
* Data.Map.Monoidal
* Data.Scientific.Exts
* Numeric.Exts

as well as their associated tests.
2020-07-09 13:51:58 -04:00
Patrick Thomson
799689af72
Merge pull request #593 from github/simplify-the-dance
Bazel: Pin natively to Hackage tree-sitter packages.
2020-07-09 11:49:38 -04:00
Douglas Creager
ef54c7b22f Fix Bazel build on Linux
I didn't actually fix anything; this depends on tweag/rules_haskell#1349
for the actual fix.

[1] https://github.com/tweag/rules_haskell/issues/1349
2020-07-09 07:36:11 -04:00
Patrick Thomson
f4b0788dcd Include go and fix a forgotten sha256. 2020-07-08 17:33:08 -04:00
Patrick Thomson
56be6b9d4e remove this duplication with a dictionary comprehension 2020-07-08 17:30:11 -04:00
Patrick Thomson
e83b9beaba use better string formatting 2020-07-08 17:20:02 -04:00
Patrick Thomson
437d466745 More cleanup. 2020-07-08 17:14:04 -04:00
Patrick Thomson
d6d978940b Emacs misfire. 2020-07-08 17:03:59 -04:00
Patrick Thomson
1d1e1699c2 Finish porting to direct Hackage downloads. 2020-07-08 16:58:30 -04:00
Patrick Thomson
8a2ac025c8 WIP 2020-07-08 16:04:12 -04:00
Patrick Thomson
35eb1dff46 Pin to our tree-sitter-go. 2020-07-08 15:35:30 -04:00
Patrick Thomson
ccdcd0a234
Merge pull request #579 from github/bazel-experiments
Build with Bazel
2020-07-08 13:59:12 -04:00
Patrick Thomson
17bc8abd41 Merge remote-tracking branch 'origin/master' into bazel-experiments 2020-07-08 13:37:26 -04:00
Patrick Thomson
e9f23fed2b Dispatch to ghcide based on bazel presence. 2020-07-08 13:21:30 -04:00
Timothy Clem
75d584d145
Merge pull request #580 from github/unicode-math
Support LSP-style units for character offsets in tagging
2020-07-07 14:41:34 -07:00
Patrick Thomson
a51755b396 Fewer parameters. 2020-07-07 14:27:36 -04:00
Patrick Thomson
def1073a01 Stop embedding these strings. 2020-07-07 14:15:26 -04:00
Timothy Clem
82d3004693 Strip happens at the end now 2020-07-07 09:54:31 -07:00
Rob Rix
f431f8c5f8 Build semantic-source in CI in the same manner as everything else. 2020-07-07 09:36:22 -07:00
Rob Rix
7ed8ec7b37 Treat semantic-source as a local project. 2020-07-07 09:36:13 -07:00
Timothy Clem
7533148db8 Test slice logic 2020-07-07 09:07:45 -07:00
Timothy Clem
be7c8d865e Optimize slicing out first line of text 2020-07-07 09:07:35 -07:00
Timothy Clem
e85acd4b99 Fix up profiling script 2020-07-07 09:07:11 -07:00
Timothy Clem
4509ddfc1f New semantic-tags:test 2020-07-07 07:27:25 -07:00
Timothy Clem
b5c810aff5 Clean up semantic-tags cabal file 2020-07-07 07:27:16 -07:00
Timothy Clem
f8d2a2d617 Just use top level benchmarks 2020-07-06 14:04:27 -07:00
Timothy Clem
fe69bdf5d8 Docs
Co-Authored-By: Rebecca Valentine <bekavalentine@users.noreply.github.com>
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2020-07-06 13:49:27 -07:00
Timothy Clem
b5b7dc6bb8 Rely on span info from tree-sitter for beginning of line
Co-Authored-By: Rebecca Valentine <bekavalentine@users.noreply.github.com>
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2020-07-06 11:50:38 -07:00
Timothy Clem
c262709045 Let these benchmarks compile again
Co-Authored-By: Rebecca Valentine <bekavalentine@users.noreply.github.com>
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2020-07-06 11:50:21 -07:00
Patrick Thomson
5db1fc8b69 Mention the docs. 2020-07-02 11:31:13 -04:00
Patrick Thomson
7a572f74f0 nonexistent module 2020-07-01 22:06:59 -04:00
Patrick Thomson
0754ff36c7 do them all 2020-07-01 21:47:30 -04:00
Patrick Thomson
51f8730bd8 same for go 2020-07-01 21:35:39 -04:00
Patrick Thomson
bb7881f0b3 tag specs are still problemati 2020-07-01 21:25:51 -04:00
Patrick Thomson
13b3934bd8 make examples work okay 2020-07-01 21:09:59 -04:00
Patrick Thomson
899f10bbbc fix semantic-rust tests on cabal 2020-07-01 21:03:22 -04:00
Patrick Thomson
318124a9f1 Fix JSON stuff. 2020-07-01 20:59:33 -04:00
Patrick Thomson
618cf71513 Make Rust commensurate with its cabal version. 2020-07-01 20:52:06 -04:00
Timothy Clem
340c4523ad Note about benchmarks 2020-07-01 17:02:44 -07:00
Timothy Clem
38638dd008 Lints and cleanups 2020-07-01 17:02:06 -07:00
Timothy Clem
b52403ffd9 Code cleanup 2020-07-01 16:54:41 -07:00