Commit graph

934 commits

Author SHA1 Message Date
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
Ed Page
faad85a983
Merge pull request #459 from epage/go
fix(config): Set file types for go.mod/go.sum
2022-04-06 12:51:03 -05:00
Ed Page
bead488a6c fix(config): Set file types for go.mod/go.sum
`go.mod` seems to be a specification file which we tend to lump in with
the language itself since a weirdly spell dependency will likely show up
in code.

`go.sum` seems to be like a lock file which we quarantine into its own
file type.

Fixes #458
2022-04-06 12:19:49 -05:00
Ed Page
e3a1397e04 chore: Remove duplicate lock entry 2022-04-06 12:18:40 -05:00
Ed Page
b2b016ff5d
Merge pull request #455 from crate-ci/dependabot/cargo/yansi-0.5.1
chore(deps): Bump yansi from 0.5.0 to 0.5.1
2022-04-01 09:55:36 -05:00
Ed Page
8c5dbc07a3
Merge pull request #453 from crate-ci/dependabot/cargo/log-0.4.16
chore(deps): Bump log from 0.4.14 to 0.4.16
2022-04-01 09:55:27 -05:00
Ed Page
d7de93ccd3
Merge pull request #452 from crate-ci/dependabot/cargo/anyhow-1.0.56
chore(deps): Bump anyhow from 1.0.55 to 1.0.56
2022-04-01 09:55:20 -05:00
Ed Page
07cc0cd53c
Merge pull request #456 from crate-ci/dependabot/cargo/regex-1.5.5
chore(deps): Bump regex from 1.5.4 to 1.5.5
2022-04-01 09:37:03 -05:00
dependabot[bot]
6bc9b8edc3
chore(deps): Bump yansi from 0.5.0 to 0.5.1
Bumps [yansi](https://github.com/SergioBenitez/yansi) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/SergioBenitez/yansi/releases)
- [Commits](https://github.com/SergioBenitez/yansi/commits)

---
updated-dependencies:
- dependency-name: yansi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 14:36:18 +00:00
dependabot[bot]
d32b3ee5a3
chore(deps): Bump anyhow from 1.0.55 to 1.0.56
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.55 to 1.0.56.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.55...1.0.56)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 14:36:07 +00:00