Commit graph

578 commits

Author SHA1 Message Date
Ed Page
e9c800b2bf chore: Release 2021-06-15 17:32:26 -05:00
Ed Page
10497270f1
Merge pull request #286 from epage/crash
fix(cli): Don't crash on races
2021-06-15 17:31:59 -05:00
Ed Page
655b6571bd fix(cli): Don't crash on races
I misused `compare_exchange` when I didn't even really need it.

Fixes #284
2021-06-15 16:50:12 -05:00
Ed Page
5304d94fb7 chore: Release 2021-06-15 10:53:20 -05:00
Ed Page
c1096917a6 chore: Release 2021-06-15 10:52:49 -05:00
Ed Page
992a6cebbf docs: Update release notes 2021-06-15 10:52:49 -05:00
Ed Page
0be066fb06
Merge pull request #282 from scop/feat/pre-commit-integration
feat: Add pre-commit integration
2021-06-09 11:23:27 -05:00
Ville Skyttä
cd35ac231f feat: Update pre-commit.md with pre-release-replacements 2021-06-09 18:01:00 +03:00
Ville Skyttä
9739865559 feat: Add pre-commit integration 2021-06-08 23:07:54 +03:00
Ed Page
b329b17e96
Merge pull request #281 from brianteeman/patch-1
Typo
2021-06-08 06:28:26 -05:00
Brian Teeman
4caddb6a80
Typo
The irony of a typo in typos is not missing
2021-06-08 08:35:08 +01:00
Ed Page
1612e077ac
Merge pull request #280 from epage/bsearch
chore: Reduce code-gen memory usage
2021-06-07 09:21:57 -05:00
Ed Page
3a4d039c4f chore: Reduce code-gen memory usage
More `const fn` removals to reduce compilation memory use
2021-06-07 08:58:34 -05:00
Ed Page
a861cbfb1f chore: Release 2021-06-07 08:04:04 -05:00
Ed Page
083020270c
Merge pull request #279 from epage/fix
fix(cli): Don't panic
2021-06-07 08:03:32 -05:00
Ed Page
20f4e5de75 fix(cli): Don't panic
Fixes #277
2021-06-07 07:44:21 -05:00
Ed Page
04f5d40e57 chore: Release 2021-06-05 14:39:37 -05:00
Ed Page
3a952cba8f chore: Release 2021-06-05 14:37:25 -05:00
Ed Page
3462a239f9 docs: Update changelog 2021-06-05 14:37:14 -05:00
Ed Page
78787b1768
Merge pull request #276 from epage/action
fix(action): Be stricter/cleaner with entrypoint
2021-06-05 14:34:50 -05:00
Ed Page
60fe94c292 fix(cli): Ensure we can run on files 2021-06-05 13:52:44 -05:00
Ed Page
6e8f7cf9d3 test(action): Update test case for typos 2021-06-05 13:52:44 -05:00
Ed Page
39d9a90c9b fix(action): Be stricter/cleaner with entrypoint 2021-06-05 12:22:24 -05:00
Ed Page
0aaa2c0d60
Merge pull request #272 from epage/phf1
refactor(varcon): Remove reliance on const-fn
2021-06-05 11:50:35 -05:00
Ed Page
0836966135
Merge pull request #274 from Hamdor/patch-1
Fix example in github-action.md
2021-06-05 10:03:55 -05:00
Ed Page
15e8914103
Merge pull request #275 from Hamdor/patch-2
Fix link to github-action.md in README.md
2021-06-05 10:03:14 -05:00
Marian Triebe
f48b604a6a
Fix link to github-action.md in README.md 2021-06-05 10:26:13 +02:00
Marian Triebe
7141c710c8
Fix example in github-action.md
The repository of crate-ci/typos does not have a "main" branch, "master" is used instead.
2021-06-05 10:17:32 +02:00
Ed Page
2b1f565eaa refactor(varcon): Remove reliance on const-fn
This dropped RSS (memory usage) from 4GB to 1.5GB when compiling.

The extra `match` could impact performance but not too concerned since
the default is to not look within vars.
2021-06-04 15:01:08 -05:00
Ed Page
b1cf03c7eb refactor(varcon): Move away from PHF
This is mostly to give implementation flexibility for changing out how
we store the data to reduce compilation memory usage.

This does have performance impact, jumping from ~220ns to ~320ns for a
dict lookup, according to our micro benchmarks.
2021-06-04 14:59:46 -05:00
Ed Page
5a05a06a70 perf(cli): Expand dict benchmark 2021-06-04 09:34:33 -05:00
Ed Page
57bf109ddd
Merge pull request #271 from epage/override
docs(cli): Clarify help string for 'exclude'
2021-06-03 20:47:02 -05:00
Ed Page
6365eeb0ce docs(cli): Clarify help string for 'exclude'
Fixes #269
2021-06-03 20:04:46 -05:00
Ed Page
592b36d23c chore: Release 2021-05-31 21:31:29 -05:00
Ed Page
b7ec6c0f0f chore: Update dependencies 2021-05-31 20:59:24 -05:00
Ed Page
024c49229a docs: Update changelog 2021-05-31 19:51:34 -05:00
Ed Page
cf1cabd446 docs(readme): Tweak integrations org 2021-05-31 19:51:03 -05:00
Vanessasaurus
7d09c5a4bf
feat(ci): adding github action to use typos to check spelling (#267)
Signed-off-by: vsoch <vsoch@users.noreply.github.com>

Co-authored-by: vsoch <vsoch@users.noreply.github.com>
2021-05-31 19:42:45 -05:00
Ed Page
96341acd48 chore: Release 2021-05-28 19:35:00 -05:00
Ed Page
9a04e50a88 test: Verify CLI 2021-05-28 19:34:49 -05:00
Ed Page
bb4b3dad88
Merge pull request #265 from epage/redirect
fix(cli): Don't crash on stdin
2021-05-28 19:33:50 -05:00
Ed Page
8d50285a05
docs(cli): Fix a ... typo 2021-05-28 19:08:24 -05:00
Ed Page
c44371035a
docs(cli): Improve some wording 2021-05-28 19:07:20 -05:00
Ed Page
d45e7cf5a3 fix(cli): Don't crash on stdin
Fixes #264
2021-05-28 19:02:27 -05:00
Ed Page
7d1fbe5442 docs: Missed a false-positive case 2021-05-28 18:42:09 -05:00
Ed Page
a33196d0d8 docs: Add debugging steps 2021-05-28 18:37:01 -05:00
Ed Page
cff8cadc6e docs: Create a Getting Started 2021-05-28 11:09:41 -05:00
Ed Page
7371d92b16 chore: Release 2021-05-28 08:34:11 -05:00
Ed Page
4392ed3f78
Merge pull request #262 from epage/slovak
fix(cli): Don't panic when finding column
2021-05-28 08:33:28 -05:00
Ed Page
9859e60077 fix(cli): Don't panic when finding column
When rendering typos, we look up what visual column the typoe starts on
but I mixed a raw byte offset with the offset into a lossy string.  This
caused panics when dealing with non-ascii content.

Fixes #258
2021-05-27 21:28:42 -05:00