Commit graph

208 commits

Author SHA1 Message Date
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
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
7d3e9bb070 chore: Release 2022-04-18 09:39:53 -05:00
Ed Page
3e802f8100 chore: Release 2022-04-06 12:53:00 -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
Ed Page
762fe80c9b
Merge pull request #450 from crate-ci/dependabot/cargo/toml_edit-0.14.2
chore(deps): Bump toml_edit from 0.13.4 to 0.14.2
2022-04-01 09:34:15 -05:00
dependabot[bot]
016eb915bd
chore(deps): Bump toml_edit from 0.13.4 to 0.14.2
Bumps [toml_edit](https://github.com/ordian/toml_edit) from 0.13.4 to 0.14.2.
- [Release notes](https://github.com/ordian/toml_edit/releases)
- [Changelog](https://github.com/ordian/toml_edit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ordian/toml_edit/compare/v0.13.4...v0.14.2)

---
updated-dependencies:
- dependency-name: toml_edit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 07:02:31 +00:00
dependabot[bot]
40080cb01e
chore(deps): Bump once_cell from 1.9.0 to 1.10.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 07:02:26 +00:00
Ed Page
0d7e8da7f5 chore: Upgrade dependencies 2022-03-29 14:42:12 -05:00
Ed Page
9092042ad9 chore: Package lock file 2022-03-11 09:56:29 -06:00
Ed Page
4253c3c3ee chore: Release 2022-03-09 09:00:30 -06:00
Ed Page
0fd2f16be4 chore: Upgrade dependencies 2022-03-01 08:40:15 -06:00
Ed Page
ab61b33572
Merge pull request #443 from crate-ci/dependabot/cargo/unicode-segmentation-1.9.0
chore(deps): Bump unicode-segmentation from 1.8.0 to 1.9.0
2022-03-01 08:30:25 -06:00
dependabot[bot]
a58b735e5e
chore(deps): Bump unicode-segmentation from 1.8.0 to 1.9.0
Bumps [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/unicode-rs/unicode-segmentation/releases)
- [Commits](https://github.com/unicode-rs/unicode-segmentation/commits)

---
updated-dependencies:
- dependency-name: unicode-segmentation
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 07:03:33 +00:00
dependabot[bot]
f3107c4794
chore(deps): Bump clap from 3.0.13 to 3.1.3
Bumps [clap](https://github.com/clap-rs/clap) from 3.0.13 to 3.1.3.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.0.13...v3.1.3)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 07:03:22 +00:00
Ed Page
b686760935 chore: Release 2022-02-14 09:05:09 -06:00
Gavin Mogan
e56be9f674 Dont update dockerfile with latest tag 2022-02-11 23:06:04 -08:00
Ed Page
05773fe815 chore: Release 2022-02-08 07:12:19 -06:00
Ed Page
23752c7843
Merge pull request #426 from epage/clap
chore: Update dependencies
2022-02-01 10:59:31 -06:00
Ed Page
8ddb09eff3 chore: Update dependencies 2022-02-01 10:34:12 -06:00
dependabot[bot]
c3a7d42124
chore(deps): Bump trycmd from 0.8.3 to 0.12.2
Bumps [trycmd](https://github.com/assert-rs/trycmd) from 0.8.3 to 0.12.2.
- [Release notes](https://github.com/assert-rs/trycmd/releases)
- [Changelog](https://github.com/assert-rs/trycmd/blob/main/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/trycmd/compare/v0.8.3...v0.12.2)

---
updated-dependencies:
- dependency-name: trycmd
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-01 13:18:17 +00:00
dependabot[bot]
d69e5c3a2f
chore(deps): Bump toml_edit from 0.13.0 to 0.13.4
Bumps [toml_edit](https://github.com/ordian/toml_edit) from 0.13.0 to 0.13.4.
- [Release notes](https://github.com/ordian/toml_edit/releases)
- [Changelog](https://github.com/ordian/toml_edit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ordian/toml_edit/compare/v0.13.0...v0.13.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-01 07:02:43 +00:00
Ed Page
5b7fe620ec chore: Release 2022-01-26 14:32:31 -06:00
Ed Page
2c5f2ecedd chore: Release 2022-01-26 10:01:15 -06:00
Ed Page
4b2e66487c chore: Release 2022-01-24 20:35:08 -06:00
Ed Page
a329a99ec7 chore: Release 2022-01-24 12:30:42 -06:00
Ed Page
91281038aa fix(config): Update to TOML 1.0
Fixes #405
2022-01-24 12:00:52 -06:00
Ed Page
f7fd7c0e42 chore: Release 2022-01-21 10:39:27 -06:00
Ed Page
ac83c55077 chore: Release 2022-01-12 11:16:44 -06:00
Ed Page
c73e96ce21
Merge pull request #398 from epage/concolor
chore: Upgrade concolor
2022-01-11 16:19:29 -06:00
Ed Page
3d33e7e888 chore: Upgrade concolor 2022-01-11 15:55:20 -06:00
dependabot[bot]
313c5c51f0
chore(deps): Bump trycmd from 0.8.2 to 0.8.3
Bumps [trycmd](https://github.com/assert-rs/trycmd) from 0.8.2 to 0.8.3.
- [Release notes](https://github.com/assert-rs/trycmd/releases)
- [Changelog](https://github.com/assert-rs/trycmd/blob/main/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/trycmd/compare/v0.8.2...v0.8.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-01 07:06:18 +00:00
Ed Page
9c5b84d5fe feat: Upgrate to clap3 2021-12-31 15:52:39 -06:00
Ed Page
71b53cb23e chore: Release 2021-12-18 17:52:11 -06:00
Ed Page
469a9aedc2 chore: Release 2021-12-14 12:58:03 -06:00
Ed Page
77f82fbd68
Merge pull request #377 from crate-ci/dependabot/cargo/trycmd-0.8.2
chore(deps): Bump trycmd from 0.5.1 to 0.8.2
2021-12-01 07:27:20 -06:00
dependabot[bot]
3418eec55f
chore(deps): Bump derive_more from 0.99.16 to 0.99.17
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.16 to 0.99.17.
- [Release notes](https://github.com/JelteF/derive_more/releases)
- [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JelteF/derive_more/compare/v0.99.16...v0.99.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 07:02:57 +00:00
dependabot[bot]
779b7685f9
chore(deps): Bump trycmd from 0.5.1 to 0.8.2
Bumps [trycmd](https://github.com/assert-rs/trycmd) from 0.5.1 to 0.8.2.
- [Release notes](https://github.com/assert-rs/trycmd/releases)
- [Changelog](https://github.com/assert-rs/trycmd/blob/main/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/trycmd/compare/v0.5.1...v0.8.2)

---
updated-dependencies:
- dependency-name: trycmd
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 07:02:22 +00:00
Ed Page
496b8ab3e1 chore: Release 2021-11-16 07:49:32 -06:00
Ed Page
c0e8a2c932 chore: Release 2021-11-16 07:46:33 -06:00
Ed Page
7377c3d382 chore: Release 2021-11-15 08:37:02 -06:00
Ed Page
e6a0148aa2 chore: Fix manifest 2021-11-15 08:22:26 -06:00
Neubauer, Sebastian
141adb6837 fix(test): Update trycmd, so failures work
Before trycmd 0.5.1, a failing test still resulted in a succeeding
`cargo test` run.
2021-11-12 22:53:19 +01:00
Ed Page
cdfdc4084c chore: Update trycmd 2021-11-10 16:09:00 -06:00
Ed Page
9446008676 test: Port to trycmd 2021-11-08 11:20:27 -06:00
Ed Page
a8ae8a5c26 chore: Update boiletplate 2021-11-08 10:11:02 -06:00
Ed Page
153f570ec9 chore: Release 2021-11-03 11:48:12 -05:00
Ed Page
e394b4d65e chore: Release 2021-10-23 09:44:22 -05:00
Ed Page
1046b89208 fix(config): Avoid correcting Rust names
Part of #362
2021-10-23 09:24:37 -05:00
Ed Page
b17b811ec1 feat(cli): Smarter color control 2021-10-06 10:08:42 -05:00
Ed Page
3cd24f5cca chore: Release 2021-09-14 10:03:34 -05:00
Ed Page
92e46848a3 chore: Update dependencies 2021-09-01 06:38:52 -05:00
Ed Page
dbea7ab1e0 chore: Release 2021-08-30 09:16:40 -05:00
Ed Page
ce6b9b9516 chore: Release 2021-08-20 12:16:11 -05:00
Ed Page
613a0cba4b chore: Iterate on release process 2021-08-16 11:23:25 -05:00
Ed Page
c5028ded31 chore: Release 2021-08-06 09:03:52 -05:00
Ed Page
936ec335a5 chore: Release 2021-08-04 08:47:54 -05:00
Ed Page
acf5fd331b chore: Release 2021-08-02 09:58:00 -05:00
dependabot[bot]
febcee3332
chore(deps): Bump env_logger from 0.8.4 to 0.9.0
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.8.4 to 0.9.0.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.4...v0.9.0)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-01 07:05:08 +00:00
Ed Page
f5b42c3e61 chore: Release 2021-07-30 12:14:20 -05:00
Ed Page
e48f26db74 docs: Fix tag links 2021-07-30 12:08:41 -05:00
Ed Page
bdafa4167e chore: Remove 'difference' dependency
Fixes #307
2021-07-30 11:35:30 -05:00
Ed Page
39afbec0ea chore: Release 2021-07-30 11:10:12 -05:00
Ed Page
488d24f78b chore: Release 2021-07-27 15:43:50 -05:00
Ed Page
30038f572b chore: Release 2021-07-27 15:33:16 -05:00
Ed Page
f60e798a2a chore: Release 2021-07-27 15:31:01 -05:00
Ed Page
3486c23bdb chore: Release 2021-07-27 15:29:18 -05:00
Ed Page
2898cc6605 fix(docker): Ensure using latest version 2021-07-02 10:44:44 -05:00
Ed Page
a1e95bc7c0 refactor(dict): Pull out table-lookup logic
Before, only some dicts did we guarentee were pre-sorted.  Now, all are
for-sure pre-sorted.

This also gives each dict the size-check to avoid lookup.

But this is really about refactoring in prep for playing with other
lookup options, like tries.
2021-06-30 10:12:17 -05:00
Ed Page
8f3f5b90ad chore: Release 2021-06-29 15:34:25 -05:00
Ed Page
9149c4765d chore: Release 2021-06-29 15:05:18 -05:00
Ed Page
3e5787c0e2 chore: Release 2021-06-28 14:56:13 -05:00
Ville Skyttä
ef76d20c6a fix(pre-commit): Update version in setup.py with release 2021-06-28 20:54:48 +03:00
Ed Page
e9c800b2bf chore: Release 2021-06-15 17:32:26 -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
Ville Skyttä
cd35ac231f feat: Update pre-commit.md with pre-release-replacements 2021-06-09 18:01:00 +03:00
Ed Page
a861cbfb1f chore: Release 2021-06-07 08:04:04 -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
592b36d23c chore: Release 2021-05-31 21:31:29 -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
d45e7cf5a3 fix(cli): Don't crash on stdin
Fixes #264
2021-05-28 19:02:27 -05:00
Ed Page
7371d92b16 chore: Release 2021-05-28 08:34:11 -05:00
Ed Page
b4e198a280 chore: Release 2021-05-27 13:56:37 -05:00
Ed Page
8cb17d1363 chore: Release 2021-05-25 21:02:40 -05:00
Ed Page
3e66a99674 chore: Release 2021-05-21 20:41:02 -05:00
Ed Page
3995745362 chore: Release 2021-05-21 20:39:12 -05:00
Ed Page
7c803681c4 chore: Release 2021-05-13 09:58:09 -05:00
Ed Page
60950d02bb feat(cli): Colored output
This supports
- Basic capability detection
- NO_COLOR env variable
- tty detection
- CLI overrides

This does not yet support CLICOLOR.  I'll be trying to upstream all of
this into `yansi` and get it taken care of there.

This only supports Windows Anniversary edition and later which I think
is a fine compromise due to the ergonomic difference between `yansi` and
`termcolor`.

Fixes #30
2021-05-12 21:11:52 -05:00
Ed Page
5a4a707004 refactor(cli): Separate out bin 2021-05-04 21:47:34 -05:00
Ed Page
2fc1f5468e chore(cli): Allow building without expensive parts
The obvious case is building for docs.rs but this can be helpful for
special use cases or faster development iteration.
2021-04-30 21:31:25 -05:00
Ed Page
1f4c587692 chore({{crate_name}}): Release {{version}} 2021-04-14 19:13:25 -05:00
Ed Page
e787caa58e chore: Fix cargo release config 2021-04-13 21:31:13 -05:00
Ed Page
68c0a0d898 test(config): Ensure CLI overrides work 2021-04-07 21:14:41 -05:00
Ed Page
8bcacf3ca6 refactor(cli): Break out config->policy
This is prep for having many policies floating around
2021-03-29 20:27:12 -05:00
Ed Page
75ba4ac535 perf(config): Get small-string optimization 2021-03-01 12:25:51 -06:00
Ed Page
364e9f1dc8 refactor(bench): Switch to criterion 2021-02-05 21:38:44 -06:00