Ed Page
7c953a71ec
chore: Upgrade to 2021 edition
2022-06-01 06:53:10 -05:00
Ed Page
b15558f0f3
chore: Set rust-version
2022-06-01 06:51:59 -05:00
Ed Page
7968dc07de
chore: Upgrade dependencies
2022-06-01 06:49:18 -05:00
Ed Page
927308c726
chore: Release
2022-05-16 09:33:53 -05:00
Ed Page
0e014d5b17
docs: Update changelog
2022-05-16 09:33:23 -05:00
Ed Page
4ea85c1b69
Merge pull request #488 from epage/debug
...
feat(cli): Log the policy
2022-05-16 09:32:56 -05:00
Ed Page
5ae7bda8eb
style: Silence clippy
2022-05-16 09:09:17 -05:00
Ed Page
a17f6a284a
feat(cli): Log the policy
...
This is in part to help in cases like #487 but it will also help people
generally configure and debug their config.
2022-05-16 09:06:28 -05:00
Ed Page
778fd7a53d
chore: Release
2022-05-10 14:24:11 -05:00
Ed Page
e61fed17e1
docs: Update changelog
2022-05-10 14:22:32 -05:00
Ed Page
5e7e699c2a
Merge pull request #486 from epage/change
...
fix(parser): Improve detection of ignorable cases
2022-05-10 14:19:11 -05:00
Ed Page
fd5398316f
fix(parser): Better short base64 detection
...
Previously, we bailed out if the string is too short (<90) and there
weren't non-alpha-base64 bytes present. What we ignored were the
padding bytes.
We key off of padding bytes to detect that a string is in fact base64
encoded. Like the other cases, there can be false positives but those
strings should show up elsewhere or the compiler will fail.
This was called out in #485
2022-05-10 14:02:59 -05:00
Ed Page
bd5048def5
fix(parser): Allow backslashes after ignore items
...
To allow `\\` to start a token, we couldn't let it end a token. By
switching the termiantor to a peek, we can now make it end a token
**and** start a token, allowing us to work better with windows paths.
Fixes #481
2022-05-10 14:02:54 -05:00
Ed Page
1720e7d65e
fix(parser): Ignore items at end of input
2022-05-10 13:38:03 -05:00
Ed Page
7e15afe81f
test(parser): Add reproduction of #481
2022-05-10 12:58:19 -05:00
Ed Page
4869764f7b
test(parser): Remove unclear test case
...
Unsure why this case is here and it causes difficulties
2022-05-10 12:58:13 -05:00
Ed Page
ad89736832
refactor(parser): Clarify precedence levels
2022-05-10 12:58:08 -05:00
Ed Page
8cd9cef88a
Merge pull request #482 from epage/update
...
chore: Upgrade dependencies
2022-05-02 02:36:14 -05:00
Ed Page
efce716a17
chore: Upgrade dependencies
2022-05-02 02:19:28 -05:00
Ed Page
9f623c618b
chore: Release
2022-04-28 09:39:14 -05:00
Ed Page
7c18fdf295
docs: Update changelog
2022-04-28 09:38:33 -05:00
Ed Page
93608f47f0
Merge pull request #470 from foriequal0/emoji-presentation
...
fix: Fix miscalculating the width of numbers and some symbols
2022-04-28 09:36:18 -05:00
Ed Page
acfd20711e
Merge pull request #471 from dkasak/master
...
Add typo: identitiy -> identity
2022-04-28 09:33:42 -05:00
SeongChan Lee
a759af71d4
fix: Fix the width of numbers and some symbols
2022-04-28 23:25:20 +09:00
Denis Kasak
29508a689b
feat(dict): Add typo identitiy -> identity
2022-04-28 16:24:18 +02:00
Ed Page
dd827082e9
chore: Release
2022-04-27 21:56:53 -05:00
Ed Page
82790da517
docs: Update changelog
2022-04-27 21:53:26 -05:00
Ed Page
fbfd0d7aaa
Merge pull request #469 from foriequal0/column-number
...
Change column number to 1-based index, and fix indenting for emojis and tabs
2022-04-27 21:51:06 -05:00
SeongChan Lee
c191a78a77
fix: Fix highlight indenting for emojis and tab characters
2022-04-28 11:44:25 +09:00
SeongChan Lee
f2de431701
fix: Change column number to 1-based index
2022-04-28 11:44:24 +09:00
Ed Page
4ad2f49190
Merge pull request #465 from foriequal0/fix/unicode-width
...
Fix misalignment in report highlight and indent when there are double width characters
2022-04-27 06:56:02 -05:00
SeongChan Lee
f4396739e6
test: Add descriptions to multiwidth test fixtures
2022-04-27 11:24:38 +09:00
SeongChan Lee
d34c8e64c3
test: Add e2e test for multiwidth characters
2022-04-26 17:30:26 +09:00
SeongChan Lee
e096eb2095
fix: Fix misalignment in report highlight and indent
...
Previous method misaligns highlights when there are double width asian characters
```
39 | 한글 eglish
| ^^^^^^
```
This commit fixes the highlight to have correct alignment.
```
39 | 한글 eglish
| ^^^^^^
```
`unicode-rs` crate is used by the Rust compiler [1].
[1]: 34a6c9f26e/compiler/rustc_errors/src/emitter.rs (L861)
2022-04-26 17:30:12 +09:00
Ed Page
dcc3c0b11e
chore: Release
2022-04-25 11:49:02 -05:00
Ed Page
feb1da0bf1
docs: Update changelog
2022-04-25 11:48:06 -05:00
Ed Page
b75760faf0
Merge pull request #468 from epage/contrib-typo
...
Add a couple of typos
2022-04-25 11:45:00 -05:00
Jonas Platte
5f5ef1468d
feat(dict): Add 'signign' typo to words.csv
2022-04-25 11:26:08 -05:00
Jonas Platte
bbd71ab434
feat(dict): Add 'unencyrpted' typo to words.csv
2022-04-25 11:25:48 -05:00
Jonas Platte
42c935f946
docs: Fix typo in CONTRIBUTING.md
2022-04-25 11:23:56 -05:00
Ed Page
bbdb5863e2
Merge pull request #464 from foriequal0/fix/uuid-uppercase
...
Fix tokenizer for uppercase UUID
2022-04-25 11:22:27 -05:00
SeongChan Lee
4e4f136ec6
Fix tokenizer for uppercase UUID
...
Microsoft toolchains usually emit UUID/GUID in UPPERCASE
2022-04-25 11:12:25 +09:00
Ed Page
7d3e9bb070
chore: Release
2022-04-18 09:39:53 -05:00
Ed Page
f95ddb3007
docs: Update changelog
2022-04-18 09:37:39 -05:00
Ed Page
e4b0f4df00
Merge pull request #463 from epage/color
...
fix: Ignore CSS colors
2022-04-18 09:36:28 -05:00
Ed Page
e63659c208
fix: Ignore CSS colors
...
Fixes #462
2022-04-18 09:19:44 -05:00
Ed Page
74cb409ce7
Merge pull request #460 from scop/patch-1
...
docs(reference): Formatting and copy-pasto fixes
2022-04-11 07:03:51 -05:00
Ville Skyttä
60fc0ca19d
docs(reference): Formatting and copy-pasto fixes
...
Escape left angle bracket, fix copy-pastos in default.extend-identifiers
and default.extend-words descriptions.
2022-04-11 00:06:26 +03:00
Ed Page
3e802f8100
chore: Release
2022-04-06 12:53:00 -05:00
Ed Page
b0aab67d85
docs: Update changelog
2022-04-06 12:52:38 -05:00