Ethan P
165c495e75
Replace AnsiCodeIterator in printer.rs
...
This uses the new EscapeSequenceIterator, saving us a preprocessing step
for each line.
8 months ago
Ethan P
6b9b085be3
Add EscapeSequenceIterator
...
This is an iterator for escape sequences, using
EscapeSequenceOffsetsIterator for the underlying parsing of individual
escape sequences.
8 months ago
Ethan P
2d46d54ae3
Add tests for re-emitting SGR sequences on wrap
8 months ago
Ethan P
3d04699710
Add regression test for #2541
...
More specifically, the test ensures that OSC sequences don't end up
wrapping the line.
8 months ago
Ethan P
054421268f
Strip OSC sequences before printing
...
This commit strips OSC (Operating System Command) sequences before
printing lines. Eventually when time permits, I want to add back
support for printing OSC sequences (and improve it to treat hyperlinks
like an attribute).
Until then, this should help prevent garbled output :)
8 months ago
Ethan P
414403b062
Add EscapeSequenceOffsetsIterator
...
This can be used to extract a subset of ANSI escape sequences from a
string of text. I have big plans for this eventually, but for now, it'll
be used to strip OSC before printing.
8 months ago
Ethan P
c29bf2ff28
Update git2 dependency
8 months ago
David Peter
ab4e5ed52e
Merge pull request #2815 from dtolnay-contrib/derive
...
Eliminate dependency on serde's "derive" feature
8 months ago
David Tolnay
1a54c9bf6d
Eliminate dependency on serde's "derive" feature
8 months ago
Oliver looney
02077db53e
undid unnecessary api visibility changes
8 months ago
Oliver looney
7ce010d9ed
Using hypens instead of underscores for set-terminal-title command
8 months ago
dependabot[bot]
95993cf37e
Bump assets/syntaxes/02_Extra/cmd-help from `b150d84` to `209559b` ( #2841 )
...
Bumps [assets/syntaxes/02_Extra/cmd-help](https://github.com/victor-gp/cmd-help-sublime-syntax ) from `b150d84` to `209559b`.
- [Commits](b150d84534...209559b72f
)
---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/cmd-help
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8 months ago
David Peter
3761df9112
Merge pull request #2849 from eth-p/readme-less-options-explained
...
Clarify when/how default args are added to less.
8 months ago
Ethan P.
adfaef19da
Clarify when/how default args are added to less
8 months ago
dependabot[bot]
f7bea6de5b
Bump clircle from 0.4.0 to 0.5.0 ( #2845 )
...
Bumps [clircle](https://github.com/niklasmohrin/clircle ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/niklasmohrin/clircle/releases )
- [Commits](https://github.com/niklasmohrin/clircle/compare/v0.4.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: clircle
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
dependabot[bot]
65aae5d0a1
Bump toml from 0.8.6 to 0.8.9 ( #2844 )
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.8.6 to 0.8.9.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.6...toml-v0.8.9 )
---
updated-dependencies:
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
dependabot[bot]
e3866b1f7e
Bump indexmap from 2.1.0 to 2.2.2 ( #2847 )
...
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.1.0 to 2.2.2.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.1.0...2.2.2 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
dependabot[bot]
23de8e093b
Bump semver from 1.0.20 to 1.0.21 ( #2843 )
...
Bumps [semver](https://github.com/dtolnay/semver ) from 1.0.20 to 1.0.21.
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.20...1.0.21 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
dependabot[bot]
196a4cb18f
Bump assets/themes/zenburn from `e627f1c` to `86d4ee7` ( #2842 )
...
Bumps [assets/themes/zenburn](https://github.com/colinta/zenburn ) from `e627f1c` to `86d4ee7`.
- [Commits](e627f1cb22...86d4ee7a1f
)
---
updated-dependencies:
- dependency-name: assets/themes/zenburn
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
Andy Kipp
695cf1f387
Update CHANGELOG.md
9 months ago
Andy Kipp
0af1df5258
Create xonsh.toml
9 months ago
Oliver looney
a8d07333e9
updated integration_tests.rs
9 months ago
Oliver looney
7f12989127
added set_terminal_title arg to clap_app.rs to fix ci errors
9 months ago
Oliver looney
60e32cf823
removed set_terminal_title arg from clap_app.rs since other boolean args aren't in clap_app.rs
9 months ago
Oliver looney
e9a6aaa30f
cargo fmt
9 months ago
Oliver looney
9be2a36a01
fixed system wide config tests failing
9 months ago
Oliver looney
22254936a2
ran cargo fmt
9 months ago
Oliver looney
f6d76e0104
added integration test for setting terminal title
9 months ago
Oliver looney
c911829771
fixed failing tests
9 months ago
Oliver looney
b33e33fe26
terminal title is only set if user opts in with --set_terminal_title flag
9 months ago
Oliver looney
9239b125b1
added a flag to config for setting terminal title
9 months ago
David Peter
2086cd2668
Merge pull request #2835 from FilipRazek/fix-long-file-names
...
fix: Wrap file name in header
9 months ago
Filip Razek
1b88267320
Ensure test succeeds by adding flag
9 months ago
Filip Razek
e586751208
Attempt to fix integration test
9 months ago
Filip Razek
e7256a624b
Refer to PR instead of issue in CHANGELOG
9 months ago
Filip Razek
5c1f47359e
Run cargo fmt
9 months ago
Filip Razek
45ee2dc4c7
fix: Wrap file name in header
9 months ago
David Peter
db66e4459b
Merge pull request #2755 from cyqsimon/syntax-mapping-refactor
...
More extensible syntax mapping mechanism
9 months ago
cyqsimon
55e02e101d
Apply review suggestions to benchmark script
9 months ago
cyqsimon
230abfd2bc
Merge branch 'master' into syntax-mapping-refactor
9 months ago
cyqsimon
c0f2d6f934
Add note on subdirectory's irrelevance to ordering
9 months ago
cyqsimon
9f36a7a284
Minor codestyle improvements
9 months ago
cyqsimon
e4d637a3d8
Reverse precedence of syntax mappings specified on CLI
9 months ago
rhysd
98a2b6bc17
Update changelog
9 months ago
rhysd
8e66bc8722
Make the error handler `FnMut`
9 months ago
dependabot[bot]
cd81c7fa6b
Bump assets/syntaxes/02_Extra/SublimeJQ from `6870582` to `b7e53e5` ( #2820 )
...
* Bump assets/syntaxes/02_Extra/SublimeJQ from `6870582` to `b7e53e5`
Bumps [assets/syntaxes/02_Extra/SublimeJQ](https://github.com/zogwarg/SublimeJQ ) from `6870582` to `b7e53e5`.
- [Commits](687058289c...b7e53e5d86
)
---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/SublimeJQ
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* update highlighted version of sample.jq
* update changelog
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Keith Hall <kingkeith+github@gmail.com>
10 months ago
Oliver Looney
b4fdb5dc36
Merge branch 'master' into 2783-setting-terminal-title
10 months ago
dependabot[bot]
c76ed99db2
Bump once_cell from 1.18.0 to 1.19.0 ( #2826 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.18.0 to 1.19.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.18.0...v1.19.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months ago
dependabot[bot]
06aef22943
Bump home from 0.5.5 to 0.5.9 ( #2823 )
...
Bumps [home](https://github.com/rust-lang/cargo ) from 0.5.5 to 0.5.9.
- [Changelog](https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cargo/commits )
---
updated-dependencies:
- dependency-name: home
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months ago
dependabot[bot]
128b0d6dd3
Bump thiserror from 1.0.50 to 1.0.53 ( #2825 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.50 to 1.0.53.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.50...1.0.53 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months ago