Ed Page
ef5fcf92df
chore: Release
2023-08-09 08:36:21 -05:00
Ed Page
e12fe9b20b
Merge pull request #799 from epage/code
...
fix(cli): Report bad exit code on disallowed
2023-08-09 08:34:17 -05:00
Ed Page
3bae999225
fix(cli): Report bad exit code on disallowed
2023-08-09 08:21:53 -05:00
Ed Page
3f41a6791c
test(cli): Verify disallowed functionality
2023-08-09 08:15:05 -05:00
Martin Fischer
d3e48b202b
fix(cli): Allow ot and stap in sh
2023-08-08 18:24:44 +02:00
Martin Fischer
e5e8f25c8e
fix(cli): Allow nd in css
2023-08-08 18:24:44 +02:00
Martin Fischer
5181c42c57
fix(cli): Allow Nd in man pages
2023-08-08 18:24:44 +02:00
Ed Page
6f0c32c802
Merge pull request #793 from not-my-profile/refactor-file-type-specifics
...
refactor(cli): Introduce file_type_specifics module
2023-08-08 11:22:10 -05:00
Martin Fischer
d9a1085018
refactor(cli): Abstract away regex ignores
...
This isn't perfect as this only helps when doing checks and not in the
parsing impls.
This supersedes #797
2023-08-08 10:40:22 -05:00
Martin Fischer
5dbe0948d3
docs(cli): Add comments to file-type specific ignores
2023-08-08 06:22:34 +02: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
d4258b1aa0
fix(cli): Remove stray character on disallowed words
2023-08-07 16:24:51 -05:00
Ed Page
a3bf84ade6
chore(dict): Don't clear disallowed words
2023-08-07 16:24:51 -05:00
Ed Page
8a7996b4bc
chore: Release
2023-08-01 10:43:28 -05:00
Ed Page
6e72bdc74c
feat(dict): July updates
...
Fixes #777
2023-08-01 10:28:23 -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
6f40717c8f
refactor(typos): Switch to BStr for better debugging
2023-07-14 13:28:36 -05:00
Ed Page
4fd4537856
fix(varcon)!: Make API independent of winnow
2023-07-14 12:48:41 -05:00
Ed Page
6cc3e3f9e0
refactor(varcon)!: Upgrade to winnow 0.5
2023-07-14 12:44:39 -05:00
Ed Page
9426924f8f
fix: Hide optional dependencies
2023-07-14 12:33:02 -05:00
Ed Page
0bde06af9a
chore(varcon): Add parse tracing
2023-07-14 12:32:16 -05:00
Ed Page
e98fc52b0d
chore(typos): Add parse tracing
2023-07-14 12:32:07 -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
f69eec1ce3
Merge pull request #729 from scop/feat/trim-in-extension
...
feat(cli): Strip `.in` suffix(es) before attempting filename match
2023-07-10 09:59:19 -05:00
Ville Skyttä
d6ac36f057
fix(cli): Make .in
stripping work with non-UTF-8 filenames
2023-07-09 12:01:53 +03:00
Ed Page
ccdede0f8c
chore: Release
2023-07-03 09:34:49 -05:00
Ed Page
25a5437d1f
feat(dict): June updates
...
Fixes #733
2023-07-03 09:18:24 -05:00
Ed Page
2158ddd42c
chore: Release
2023-06-30 09:43:35 -05:00
Ed Page
8913c8af5f
fix(dict): Don't correct contiguities
2023-06-30 09:31:04 -05:00
Ed Page
2f61fa1697
chore: Release
2023-06-29 11:13:01 -05:00
Martin Fischer
b4cc2ed919
fix(dict): Don't correct unuseful
2023-06-26 23:15:46 +02:00
Martin Fischer
043179a22e
fix(dict): Don't correct intension, intensional & intensionally
2023-06-26 23:15:13 +02:00
Martin Fischer
983b6a5827
fix(dict): Don't correct pervious & perviously
2023-06-26 23:14:39 +02:00
Martin Fischer
989136e755
fix(dict): Don't correct simulative
2023-06-26 23:13:37 +02:00
Ed Page
888116ae2f
chore: Release
2023-06-26 15:43:01 -05:00
Martin Fischer
5553044346
fix(dict): Restore correction orders
...
This commit restores the correction orders lost in
09f096a096
.
The commit was generated by running the commands:
git show 09f096a0968e61e22c963a024c8c3d74453d812a~:./assets/words.csv HEAD:./assets/words.csv > assets/words.csv
SNAPSHOTS=overwrite cargo test verify
SNAPSHOTS=overwrite cargo test codegen
2023-06-26 22:14:06 +02: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
Martin Fischer
89d5a97a8a
test: Add some tests for dict processing logic
2023-06-26 19:23:27 +02:00
Martin Fischer
49a0eaab7b
refactor: Make dict processing logic testable
...
Previously all the dictionary cleanup logic was in the function:
fn generate<W: std::io::Write>(file: &mut W, dict: &[u8])
which parsed the provided buffer as CSV and also took care of writing
the processed dictionary back as CSV. This commit factors out the CSV
handling, leaving a `process` function behind so that it can be easily
tested in the following commit.
2023-06-26 19:22:04 +02:00
Ed Page
2fffb1bb2b
chore: Release
2023-06-26 09:05:53 -05:00