Commit graph

604 commits

Author SHA1 Message Date
Ed Page
75b54a261e chore: Release 2024-02-01 09:01:49 -06:00
renovate[bot]
5eeb690a1d
chore(deps): update rust crate env_logger to 0.11 2024-02-01 03:54:54 +00:00
renovate[bot]
3272f07f78 chore(deps): update compatible 2024-02-01 01:14:41 +00:00
Ed Page
bdcaedb080 chore: Release 2024-01-19 10:40:08 -06:00
Ed Page
a35b382b44 chore: Release 2024-01-12 15:58:29 -06:00
Ed Page
2361394247 chore: Release 2024-01-02 20:57:17 -06:00
Ed Page
9c418affaf chore: Release 2024-01-02 20:54:19 -06:00
renovate[bot]
3f7fcb9c88 chore(deps): update compatible 2024-01-01 01:48:40 +00:00
Ed Page
45a880d9f8 chore: Release 2023-12-27 10:38:16 -06:00
Ed Page
5bd389de71 chore: Release 2023-12-13 08:51:14 -06:00
Ed Page
548ac37a5d chore: Release 2023-12-08 13:35:58 -06:00
Ed Page
a838b1820f chore: Release 2023-12-08 13:34:42 -06:00
Ed Page
17f9d18573
Merge pull request #877 from crate-ci/renovate/itertools-0.x
chore(deps): update rust crate itertools to 0.12
2023-12-01 10:19:00 -06:00
renovate[bot]
7c0b1f2b13 chore(deps): update compatible 2023-12-01 00:37:24 +00:00
renovate[bot]
1752c10187
chore(deps): update rust crate itertools to 0.12 2023-12-01 00:25:50 +00:00
Ed Page
c97d621b6b chore: Release 2023-11-06 11:56:23 -06:00
Ed Page
0d04ce91a7 chore: Release 2023-11-01 13:58:29 -05:00
Ed Page
47dd297604 chore: Release 2023-10-27 10:06:07 -05:00
Ed Page
00220c359a chore: Release 2023-10-17 13:21:10 -05:00
Ed Page
b221e9ce56 chore: Clean up dependencies 2023-10-16 12:58:00 -05:00
Ed Page
c004e98018 chore: Release 2023-10-16 12:51:32 -05:00
Ed Page
35a8bc6787 chore: Release 2023-10-11 22:09:14 -05:00
Ed Page
ff3f309513 chore: Release 2023-10-09 15:32:06 -05:00
Ed Page
4550e7d437 chore: Release 2023-10-02 15:42:50 -05:00
Ed Page
4d8497cfe4
Merge pull request #839 from crate-ci/renovate/anstream-0.x
chore(deps): update rust crate anstream to 0.6.4
2023-10-02 15:12:49 -05:00
Ed Page
3eff16fd47
Merge pull request #840 from crate-ci/renovate/toml-0.x
chore(deps): update rust crate toml to 0.8.1
2023-10-02 15:12:31 -05:00
Ed Page
3cdcc38848 chore: Release 2023-10-02 10:27:24 -05:00
renovate[bot]
3f806a4aea
chore(deps): update rust crate toml to 0.8.1 2023-10-01 03:30:10 +00:00
renovate[bot]
484fdd8c2b
chore(deps): update rust crate anstream to 0.6.4 2023-10-01 03:29:52 +00:00
renovate[bot]
d34cc2c4b0 chore(deps): update compatible 2023-10-01 00:46:21 +00:00
Ed Page
1ccb2ff8ad chore: Release 2023-09-27 10:50:39 -05:00
Ed Page
bb139b2150 chore: Release 2023-09-25 13:08:40 -05:00
Ed Page
f5a94fc3cc chore: Release 2023-09-25 13:07:27 -05:00
Ed Page
5edf45b39e chore: Release 2023-09-22 19:24:01 -05:00
Ed Page
509ec32112 chore: Release 2023-09-18 14:06:59 -05:00
Ed Page
74d959bf38
Merge pull request #825 from LeoDog896/patch-a
chore: Enable building on nightly
2023-09-06 15:34:04 -05:00
Ed Page
7c89b528fd chore: Release 2023-09-06 15:33:02 -05:00
Tristan F
d7d5d45b50 chore: bump lockfile 2023-09-02 18:05:30 -04:00
Ed Page
65d2fb6b91 chore: Release 2023-09-01 16:22:11 -05:00
Ed Page
602923bbc8 chore: Release 2023-09-01 16:20:50 -05:00
Ed Page
67ca12a847
Merge pull request #822 from crate-ci/renovate/itertools-0.x
chore(deps): update rust crate itertools to 0.11
2023-09-01 09:34:45 -05:00
renovate[bot]
f4171e782f
chore(deps): update rust crate itertools to 0.11 2023-09-01 03:12:20 +00:00
renovate[bot]
b7681dc6b5
chore(deps): update rust crate anstream to 0.5.0 2023-09-01 03:09:48 +00:00
renovate[bot]
6da9470ef9 chore(deps): update compatible 2023-09-01 01:11:49 +00:00
Ed Page
853cb28df3 chore: Release 2023-08-30 10:43:04 -05:00
Ed Page
e477391cc0 chore: Release 2023-08-21 13:14:08 -05:00
Ed Page
1072809e63 chore: Release 2023-08-21 10:36:58 -05:00
Ed Page
f8d11b3a69 chore: Release 2023-08-18 16:48:33 -05:00
Ed Page
0863e64406 chore: Release 2023-08-14 09:55:06 -05:00
Ed Page
cad89d4596 chore: Release 2023-08-11 20:31:59 -05:00
Ed Page
ef5fcf92df chore: Release 2023-08-09 08:36:21 -05:00
Martin Fischer
fa39bca152 refactor(cli): Introduce file_type_specifics module
This makes the definition of file-type specifics less repetitive.

Resolves #759.
2023-08-08 06:22:34 +02:00
Ed Page
8a7996b4bc chore: Release 2023-08-01 10:43:28 -05:00
Ed Page
143cc59fab chore: Release 2023-07-14 14:05:04 -05:00
Ed Page
e981fc41fb chore: Release 2023-07-14 14:04:02 -05:00
Ed Page
e14c4725cd chore: Release 2023-07-14 14:03:38 -05:00
Ed Page
2861ad8299 chore: Release 2023-07-14 14:03:01 -05:00
Ed Page
5a63cb3be6 chore: Release 2023-07-14 14:02:39 -05:00
Ed Page
ea0db833b5 chore: Release 2023-07-14 14:01:55 -05:00
Ed Page
37e2b40f24 chore: Release 2023-07-14 14:01:12 -05:00
Ed Page
a2c9d2076a Merge remote-tracking branch 'upstream/master' 2023-07-14 14:00:31 -05:00
Ed Page
9fa116eaf6 chore: Release 2023-07-14 13:59:11 -05:00
Ed Page
b6c78eb8ac refactor(typos): Upgrade to winnow 0.5 2023-07-14 13:29:24 -05:00
Ed Page
6cc3e3f9e0 refactor(varcon)!: Upgrade to winnow 0.5 2023-07-14 12:44:39 -05:00
Ed Page
a1ad167632 refactor(varcon): Resolve winnow deprecations 2023-07-14 12:23:13 -05:00
Ed Page
ca9612c045 chore: Release 2023-07-10 10:01:29 -05:00
Ed Page
ccdede0f8c chore: Release 2023-07-03 09:34:49 -05:00
Ed Page
2158ddd42c chore: Release 2023-06-30 09:43:35 -05:00
Ed Page
2f61fa1697 chore: Release 2023-06-29 11:13:01 -05:00
Ed Page
888116ae2f chore: Release 2023-06-26 15:43:01 -05:00
Martin Fischer
8d026ac23e feat(dict): Preserve correction order
We want to be able to recommend more likely corrections first,
e.g. for "poped" we want to recommend "popped" before "pooped".
2023-06-26 22:13:47 +02:00
Ed Page
2fffb1bb2b chore: Release 2023-06-26 09:05:53 -05:00
Ed Page
d9e1ae0a39 chore: Release 2023-06-22 12:33:50 -05:00
Ed Page
8074cc6029 chore: Release 2023-06-22 10:13:38 -05:00
Ed Page
84c8b30e06 chore: Release 2023-06-21 14:51:20 -05:00
Ed Page
1a4e9428d6 chore: Release 2023-06-20 09:25:04 -05:00
Ed Page
59888680cc chore: Release 2023-06-19 10:28:02 -05:00
Ed Page
f37d3f8e3c chore: Release 2023-06-08 10:29:00 -05:00
Ed Page
172ff0bb5a chore: Release 2023-06-08 10:27:43 -05:00
Ed Page
7523a865f7 feat(dict): Pull in codespell items 2023-06-08 09:26:12 -05:00
Ed Page
20b36ca07f chore: Release 2023-06-01 19:49:16 -05:00
Ed Page
27c9fe7c79 chore: Release 2023-06-01 06:22:12 -05:00
Ed Page
1ddfabf5b0 chore: Update lockfile 2023-06-01 06:02:05 -05:00
Ed Page
a78f83bab3
Merge pull request #731 from crate-ci/renovate/criterion-0.x
chore(deps): update rust crate criterion to 0.5
2023-06-01 09:45:34 -05:00
renovate[bot]
e06f63c31d chore(deps): update compatible 2023-06-01 02:54:09 +00:00
renovate[bot]
9aa8d04d94
chore(deps): update rust crate criterion to 0.5 2023-06-01 00:53:02 +00:00
Ed Page
38a1b19481 chore: Release 2023-05-22 13:44:05 -05:00
Ed Page
5c98b91f18 chore: Release 2023-05-19 08:51:04 -05:00
Ed Page
78a3c66d00 chore: Release 2023-05-03 08:57:26 -05:00
Ed Page
b5b09d7129 chore: Release 2023-05-03 08:56:01 -05:00
renovate[bot]
5131fb8167
chore(deps): update compatible 2023-05-01 15:30:51 +00:00
Ed Page
d17ca898d9 chore: Upgrade to 0.4.3 2023-04-27 23:24:25 -05:00
Ed Page
64e40cffee chore: Release 2023-04-19 09:47:11 -05:00
Ed Page
78058ce3e3 chore: Release 2023-04-19 08:35:04 -05:00
Ed Page
7f65ff4f24 chore: Release 2023-04-12 22:24:06 -05:00
Ed Page
5145767575 chore: Update anstyle 2023-04-12 21:52:15 -05:00
Ed Page
66d82e5e51 chore: Release 2023-03-30 07:50:08 -05:00
Ed Page
144ee4d018 chore: Release 2023-03-29 21:55:35 -05:00
Ed Page
15cdad2a3f chore: Release 2023-03-29 21:54:57 -05:00
Ed Page
98be58dbc9 refactor: Switch out the UTF-16 encoding impl
Fixes #702
2023-03-29 20:42:48 -05:00
renovate[bot]
e1a138b637 chore(deps): update compatible 2023-04-01 07:05:05 +00:00
Ed Page
6cf303d421 chore: Release 2023-03-18 04:20:06 -05:00
Ed Page
53e2855fa0 chore: Release 2023-03-18 04:19:19 -05:00
Ed Page
8a6fc1895d chore: Release 2023-03-18 04:18:47 -05:00
Ed Page
243b4efc9e chore: Update winnow 2023-03-18 04:11:55 -05:00
Ed Page
e15de8b72e chore: Release 2023-03-18 02:09:49 -05:00
Ed Page
a1a601195e chore: Release 2023-03-17 23:59:36 -05:00
Ed Page
797574c10a chore: Release 2023-03-17 23:09:02 -05:00
Ed Page
af90817e50 feat(dict): extend-ignore-identifiers-re support
This opens the door for users to provide patterns for identifiers that
are always valid.  The key limitation is "identifiers".  Run `typos
--identifiers` to verify what you are trying to write the regex for.

Fixes #651
2023-03-17 22:40:55 -05:00
Ed Page
03286f0f82 chore: Release 2023-03-16 05:22:42 -05:00
Ed Page
52e1743c58 chore: Update to anstream 2023-03-16 05:07:38 -05:00
Ed Page
57502b53cc chore: Release 2023-03-16 03:47:08 -05:00
Ed Page
dc0eafc7e5 chore: Release 2023-03-14 02:14:39 -05:00
Ed Page
3a29410c1b fix: Improve color env variable support
- `CLICOLOR=1` now works correctly
- `NO_COLOR=` now works correctly
- Auto-enable colors in CI


For running `typos` on the Linux kernel (176,210 typos to be printed), we went from 20.082s to
<20.450s.  Where in that range is unclear due to jitter in my system.
```console
$ hyperfine -L typos ./typos-main,./typos-anstream "{typos} ../../../linux" -i
Benchmark 1: ./typos-main ../../../linux
  Time (mean ± σ):     20.082 s ±  0.111 s    [User: 39.668 s, System: 0.474 s]
  Range (min … max):   19.961 s … 20.331 s    10 runs

  Warning: Ignoring non-zero exit code.

Benchmark 2: ./typos-anstream ../../../linux
  Time (mean ± σ):     20.426 s ±  0.104 s    [User: 40.301 s, System: 0.523 s]
  Range (min … max):   20.316 s … 20.661 s    10 runs

  Warning: Ignoring non-zero exit code.

Summary
  './typos-main ../../../linux' ran
    1.02 ± 0.01 times faster than './typos-anstream ../../../linux'

$ CLICOLOR_FORCE=1 hyperfine -L typos ./typos-anstream "{typos} ../../../linux" -i
Benchmark 1: ./typos-anstream ../../../linux
  Time (mean ± σ):     20.262 s ±  0.075 s    [User: 39.961 s, System: 0.542 s]
  Range (min … max):   20.154 s … 20.420 s    10 runs

  Warning: Ignoring non-zero exit code.

$ CLICOLOR=0 hyperfine -L typos ./typos-anstream "{typos} ../../../linux" -i
Benchmark 1: ./typos-anstream ../../../linux
  Time (mean ± σ):     20.296 s ±  0.065 s    [User: 40.003 s, System: 0.565 s]
  Range (min … max):   20.169 s … 20.383 s    10 runs

  Warning: Ignoring non-zero exit code.
```
2023-03-13 23:01:45 -05:00
Ed Page
28e7f17a65 chore: Release 2023-03-13 20:45:44 -05:00
Ed Page
34289639e6 chore: Release 2023-03-13 12:33:33 -05:00
Ed Page
3d0de83fb6 chore: Release 2023-03-13 11:57:15 -05:00
Ed Page
a50bd03c2a chore: Release 2023-03-07 04:47:20 -06:00
Ed Page
5414608bf6 chore: Release 2023-03-07 03:18:52 -06:00
Ed Page
52d0ea7ddf chore: Release 2023-03-05 21:02:01 -06:00
Ed Page
08a9831825 chore: Release 2023-03-05 20:43:46 -06:00
Ed Page
c389c36b66 chore: Release 2023-02-28 07:25:30 -06:00
Ed Page
f4293b58c5 chore: Release 2023-02-28 06:30:27 -06:00
Ed Page
ce20d2f220 chore: Update dependencies 2023-02-28 05:46:19 -06:00
Ed Page
d752626069 chore: Update dependencies 2023-02-27 23:34:02 -06:00
Ed Page
8cef23a8f4 chore: Release 2023-02-27 16:14:07 -06:00
Ed Page
9f306b2be9 chore: Release 2023-02-27 15:33:00 -06:00
Ed Page
26c2ca1853 chore: Release 2023-02-23 13:09:37 -06:00
Ed Page
59a10c298a chore: Release 2023-02-23 10:44:11 -06:00
Ed Page
ed8683ab81 chore: Release 2023-02-22 11:26:17 -06:00
Ed Page
1ca59423d4 chore: Release 2023-02-22 11:25:22 -06:00
Ed Page
15e748d0e5 refactor: Switch to winnow 2023-02-21 10:41:45 -06:00
Ed Page
6e14cefb85 chore: Release 2023-02-01 10:09:00 -06:00
Ed Page
adce192ca3 chore: Update dependencies 2023-02-01 09:31:38 -06:00
Ed Page
97770bdd02 chore: Release 2023-01-25 10:31:49 -06:00
Ed Page
12c6491895 chore: Release 2023-01-16 08:43:06 -06:00
Ed Page
1f4ee742ab chore: Release 2023-01-13 21:18:38 -06:00
Ed Page
222da3d81a chore: Upgrade to clap v4 2023-01-13 20:44:33 -06:00
renovate[bot]
6008845ec8
chore(deps): update rust crate toml_edit to 0.16.2 2023-01-01 02:15:37 +00:00
renovate[bot]
4f6f07b904 chore(deps): update compatible 2023-01-01 02:13:39 +00:00
Ed Page
6efbdc33f4 chore: Release 2022-12-20 14:39:46 -06:00
Ed Page
f268a89d38 chore: Release 2022-12-19 08:47:53 -06:00
Ed Page
1d8996e205 chore: Release 2022-12-06 13:54:17 -06:00
Ed Page
4637c964a3 chore: Release 2022-12-01 20:25:20 -06:00
Ed Page
98c3a33cc6 chore: Release 2022-12-01 20:00:28 -06:00
Ed Page
5482632b41 chore: Upgrade deps 2022-12-01 19:30:30 -06:00
renovate[bot]
aa2789b65f chore(deps): update safe 2022-12-02 00:14:56 +00:00
Ed Page
6bf2e7c7d7 chore: Release 2022-11-29 23:00:05 -06:00
Ed Page
8b88f9f340 chore: Release 2022-11-21 22:26:08 -06:00
Ed Page
905a150be8 chore: Release 2022-11-21 22:25:30 -06:00