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

28139 Commits

Author SHA1 Message Date
Patrick Thomson
803582bd4e Merge pull request #2545 from github/ensure-parse-examples-are-multithreaded
Ensure parse-examples gets passed the -threaded flag.
2019-05-24 12:45:59 -04:00
Patrick Thomson
59583c6105 Ensure parse-examples gets passed the -threaded flag. 2019-05-24 12:09:48 -04:00
Patrick Thomson
891527c491 Merge pull request #2544 from github/dont-optimize-repl-or-util
Disable optimizations for Util and REPL to speed up -O1 builds.
2019-05-23 13:54:19 -04:00
Patrick Thomson
a3f54af945 Disable optimizations for Util and REPL to speed up -O1 builds.
Turns out you can disable optimizations per-module. This is a good
decision, as on my laptop GHC takes an appalling amount of time to
finish building at `-O1`. Let's see if this is reflected in the time
the builders take. (This should have no performance implications for
CLI use of `semantic`, as only SpecHelpers and REPL import Util.)
2019-05-22 17:43:57 -04:00
Josh Vera
f23e1e308d Merge pull request #2539 from github/install-sig-handlers
Rethrow SIGTERM to the main thread
2019-05-21 16:54:29 -04:00
Josh Vera
4bca62fd63 Merge branch 'master' into install-sig-handlers 2019-05-21 16:29:29 -04:00
Josh Vera
49b15a7f30 Merge pull request #2541 from github/upgrade-distribute
Decouple DistributeC from LiftC IO.
2019-05-21 16:29:13 -04:00
Josh Vera
543734bc94 Merge branch 'master' into install-sig-handlers 2019-05-21 16:28:33 -04:00
joshvera
4f55f6a88f redundant import 2019-05-21 13:07:34 -04:00
Patrick Thomson
fa9f4ee559 Merge branch 'master' into upgrade-distribute 2019-05-21 13:05:55 -04:00
Patrick Thomson
325a1877d1 Merge pull request #2542 from github/disable-unused-util-functions
Disable unused functions in Semantic.Util.
2019-05-21 13:05:41 -04:00
Patrick Thomson
087015073d fix lints 2019-05-21 12:09:42 -04:00
Patrick Thomson
162e8ec59a unused import 2019-05-21 12:06:28 -04:00
Patrick Thomson
c7105746c4 fix whitespace 2019-05-21 12:02:24 -04:00
Patrick Thomson
a8974e39d9 Second pass, imposing an export list. 2019-05-21 12:01:18 -04:00
Patrick Thomson
f89becc182 Disable functions in Semantic.Util not used by specs or tests. 2019-05-21 11:46:40 -04:00
joshvera
73a2bd0af2 donut snake case 2019-05-21 10:50:16 -04:00
Patrick Thomson
2f6ad83728 Decouple DistributeC from LiftC IO. 2019-05-21 10:42:20 -04:00
joshvera
76ece76746 lints 2019-05-20 18:52:58 -04:00
joshvera
b8634b07c8 Rethrow posix signals to the main thread 2019-05-20 18:48:27 -04:00
Patrick Thomson
596902089a Merge pull request #2533 from github/ignore-minified-js
Ignore minified .js files (#2529)
2019-05-16 15:54:16 -04:00
Patrick Thomson
0c55512221 Merge branch 'master' into ignore-minified-js 2019-05-16 13:41:59 -04:00
Patrick Thomson
10520d80c8 Merge pull request #2535 from github/refactor-files-api
Refactor Files internals and remove cubic-caller problem.
2019-05-16 12:20:50 -04:00
Patrick Thomson
4910363ee7 Never mind; just ignore it in the .hlint file.
I guess we already hit this. I faintly remember something like it.
2019-05-15 18:44:43 -04:00
Patrick Thomson
6aaa2f47fd The hints... were wrong? 2019-05-15 18:33:22 -04:00
Patrick Thomson
f11a244f19 More lints. 2019-05-15 18:30:56 -04:00
Patrick Thomson
ad070aa1ab Lints. 2019-05-15 18:29:47 -04:00
Patrick Thomson
0197e40f38 Document rethrowing. 2019-05-15 18:28:21 -04:00
Patrick Thomson
e421dbeb20 We probably want to only catch sync errors here. 2019-05-15 18:25:09 -04:00
Patrick Thomson
70463f79f9 Remove cubic-caller problem. 2019-05-15 18:21:07 -04:00
Patrick Thomson
334243efc0 Make readFilePair fail in IO rather than require extra MonadFail. 2019-05-15 18:04:07 -04:00
Patrick Thomson
a544c2d6d8 Refactor internals of FilesC to use catch rather than Exc.catch. 2019-05-15 18:04:07 -04:00
Patrick Thomson
e18cb752ce Use Catch in the REPL. 2019-05-15 18:04:07 -04:00
Patrick Thomson
73b0b17ff0 Add Catch to the TaskEff stack. 2019-05-15 18:04:07 -04:00
Patrick Thomson
895677c88e Add fused-effects-exceptions. 2019-05-15 18:04:07 -04:00
Patrick Thomson
45492449c1 Ignore minified .js files (#2529)
aleph is doing more work than it needs to, as semantic is
all-too-enthusiastic to read in a whole node_modules directory of
minified .js files. A few well-placed boolean checks ensure that
we don't waste these cycles.

Fixes #2529.
2019-05-15 12:49:51 -04:00
Patrick Thomson
dfdbe1792b Merge pull request #2531 from github/remove-old-deps
Improve build times by eliminating submodules/pinned git dependencies.
2019-05-14 11:47:56 -04:00
Patrick Thomson
48e4580231 Bump licenses. 2019-05-13 17:01:36 -04:00
Patrick Thomson
4f8b677ac6 Merge remote-tracking branch 'origin/master' into remove-old-deps 2019-05-13 14:48:15 -04:00
Patrick Thomson
31d2403c23 Merge pull request #2528 from github/remove-boring-instances
Derive Functor and Effect instances where possible.
2019-05-13 14:47:13 -04:00
Patrick Thomson
3d5eb45651 🔥 vendor/fastsum 2019-05-13 14:31:32 -04:00
Patrick Thomson
4c2397a71e 🔥 vendor/fused-effects 2019-05-13 14:26:10 -04:00
Patrick Thomson
c02d6cbe64 Remove semilattices module.
We've never needed to update this, and it lives on Hackage.
2019-05-13 14:24:07 -04:00
Patrick Thomson
877e440800 Merge branch 'master' into remove-boring-instances 2019-05-13 13:29:31 -04:00
Timothy Clem
1e8b399276 Merge pull request #2530 from github/exclude-from-handle
Exclude paths for parsing from stdin
2019-05-09 15:44:36 -07:00
Timothy Clem
b2ff549d53 Remove this stat 2019-05-09 15:06:13 -07:00
Timothy Clem
7830fb9137 Cleanup to oneline 2019-05-09 13:19:43 -07:00
Timothy Clem
eae4bdb8c7 Allow passing excludes on stdin 2019-05-09 13:17:18 -07:00
Patrick Thomson
f31cc397ad For some reason, only Hlint died on this syntax error. 2019-05-08 11:17:49 -04:00
Patrick Thomson
039dca154a Forgot some newtype specifiers. 2019-05-08 11:15:21 -04:00