Atul Bhosale
a67e7d184a
CI: Add cargo fmt step
2020-08-30 19:56:15 +02:00
Danilo Bargen
e507343f5d
CI: Run clippy with Rust 1.46 ( #132 )
2020-08-30 19:55:38 +02:00
Danilo Bargen
5a2d054ace
Update Cargo.lock
...
Should have been part of 590bb44 .
2020-08-30 18:48:29 +02:00
Danilo Bargen
3597e344cb
Apply rustfmt to codebase
...
Co-authored-by: Atul Bhosale <atul1bhosale@gmail.com>
Co-authored-by: Lovecraftian Horror <LovecraftianHorror@pm.me>
2020-08-30 18:39:29 +02:00
Kornel
590bb44585
Switch to maintained app_dirs2 ( #124 )
...
The app_dirs crate is no longer actively maintained. The app_dirs2 crate is a drop-in replacement.
2020-08-30 18:37:27 +02:00
Danny Mösch
e8dcde4955
Mention the environment variable TEALDEER_CONFIG_DIR in the README ( #131 )
2020-08-30 15:37:33 +02:00
Danilo Bargen
55079b8e77
Document requirement for libssl-dev
...
Closes #130
2020-08-21 21:37:35 +02:00
Niklas Mohrin
64e2c7b799
Update outdated expected output for the markdown test ( #128 )
...
Fixes #126 .
2020-08-11 21:04:48 +02:00
Danilo Bargen
0b277c7515
Add test for pager warnings on Windows ( #122 )
2020-07-18 01:06:58 +02:00
Danilo Bargen
95e6b0520f
Upgrade assert_cmd and escargot ( #123 )
2020-07-18 00:24:29 +02:00
Danilo Bargen
d446e50813
Merge pull request #115 from ilai-deutel/automatic-updates
...
Implement automatic cache updates
2020-06-26 16:59:28 +02:00
Ilaï Deutel
509d450585
Add instructions for configuring auto updates to README
2020-05-31 17:12:57 -07:00
Ilaï Deutel
2f2fe4dd92
Fix serde default for updates.auto_update_interval_hours
2020-05-31 17:12:57 -07:00
Ilaï Deutel
a59182b6cc
Use filetime instead of utime to set modification times in tests
2020-05-31 17:12:57 -07:00
Ilaï Deutel
ed1ba6beed
Implement automatic cache updates
2020-05-31 17:12:57 -07:00
Danilo Bargen
06537c7218
Tests: Allow dead code for feature selection ( #118 )
...
These methods might be useful in the future, so I don't want to remove them even if they're unused. The warnings clutter diffs in CI though.
2020-05-08 22:40:34 +02:00
michaeldel
a45c19647f
Move cache age warning to stderr ( #114 )
...
Fixes #113
2020-04-16 21:42:02 +02:00
michaeldel
5dd9457cf4
Make list option comply with official spec ( #112 )
...
Separate page list with newlines, not with commas.
From the official spec:
> Additional decoration MAY be printed if the standard output is a TTY.
> If not, then the output MUST not contain any additional decorations.
> For example a page list MUST be formatted with 1 page name per line
> (to enable easy manipulation using standard CLI tools such as grep etc.).
2020-04-16 11:56:14 +02:00
Danilo Bargen
39b1d19d66
Fix integration tests ( #110 )
...
The tar tldr page was updated.
2020-04-10 23:49:39 +02:00
Danilo Bargen
a9fa0c7f1a
README: Add link to openSUSE package
2020-02-28 12:29:29 +01:00
Danilo Bargen
d68088f94f
README: Add links to FreeBSD and Solus packages
2020-02-28 12:20:52 +01:00
Danilo Bargen
ad92ce6765
Update license copyright year
2020-02-28 01:50:02 +01:00
Danilo Bargen
0c24ea0cd4
release-build script: Include "linux" in binary name
2020-02-28 01:44:45 +01:00
Danilo Bargen
2030d305c6
release-build script: Copy completions and licenses
2020-02-28 01:42:54 +01:00
Danilo Bargen
3a5c0ce59b
Release v1.3.0
v1.3.0
2020-02-28 01:14:39 +01:00
Danilo Bargen
a594b0013e
Fix clippy warnings ( #105 )
2020-02-28 01:11:10 +01:00
Danilo Bargen
54464da510
Merge pull request #104 from dbrgn/updates
...
Update dependencies, bump MSRV to 1.39
2020-02-28 00:47:02 +01:00
Danilo Bargen
3e3403806c
Require Rust 1.39 (was 1.36)
2020-02-28 00:38:53 +01:00
Danilo Bargen
04e61080d2
Upgrade reqwest
...
This reduces the dependency tree from 333 to 188 entries, mostly because
some reqwest features were disabled :)
2020-02-28 00:20:37 +01:00
Danilo Bargen
2812a0ce99
Run cargo update
2020-02-28 00:20:37 +01:00
Danilo Bargen
ed3e4baac5
Fix integration test ( #103 )
...
It broke because the `tar` tldr page was changed upstream :)
2020-02-28 00:20:17 +01:00
Jesús Trinidad Díaz Ramírez
055758dba8
Fix clippy warnings ( #101 )
2020-02-06 15:43:00 +01:00
Danilo Bargen
623cf67d2a
CI: Run on pull requests ( #102 )
...
* CI: Run on pull requests
* fixup! CI: Run on pull requests
2020-02-06 09:13:49 +01:00
Danilo Bargen
7a3a565427
README: List tealdeer-bin AUR package
2020-01-23 11:34:55 +01:00
Danilo Bargen
22255bf80c
Merge pull request #99 from dbrgn/github-actions
...
CI: Switch to GitHub Actions
2020-01-22 23:55:19 +01:00
Danilo Bargen
bcdfd5e9a8
Disable pager feature on Windows
2020-01-22 23:44:27 +01:00
Danilo Bargen
7b3f7a6470
CI: Switch to GitHub Actions
2020-01-22 23:44:27 +01:00
Danilo Bargen
23d7301b53
Merge pull request #95 from Plommonsorbet/render_as_markdown_option
...
Add -m / --markdown option for raw rendering
2020-01-22 23:06:03 +01:00
Danilo Bargen
95fab99e82
Add -m command to README and completion files
2020-01-22 22:55:59 +01:00
Isak Johansson
6719acb4f2
Add -m / --markdown option for raw rendering
...
New option to render as markdown, not with ANSI escape codes.
This is useful for when you want to open it up in a pager which doesn't
support ANSI escape codes by default. In my use case it allows me to
open it inside vim without having to use an addon to convert ANSI escape
codes to colours.
2020-01-22 22:54:11 +01:00
Hugo Locurcio
0d00e60af0
Tweak the outdated cache warning message ( #97 )
...
This makes it display in yellow (instead of red) as it's
more of a *warning* message than an *error* message.
2020-01-07 09:16:40 +01:00
Danilo Bargen
6ad91a440c
Update dependencies, increase MSRV to 1.36 ( #92 )
2019-11-27 10:58:21 +01:00
Bruno Heridet
94c0e99693
Fix typo in error message for flag_seed_config ( #91 )
2019-10-29 13:54:06 +01:00
Danilo Bargen
74c37193e3
Use non-deprecated trim functions
2019-10-04 01:18:36 +02:00
Danilo Bargen
7460cdac6d
Remove unused import
2019-10-04 01:18:36 +02:00
Danilo Bargen
07e2ee86f5
Merge pull request #89 from korrat/add-compact-output
...
Add compact output option. Fixes #88 .
2019-10-04 00:52:43 +02:00
Danilo Bargen
6810693655
Document compact output option in README
2019-10-03 23:56:07 +02:00
Korrat
7f8cbb01e5
Suppress empty lines for compact output
2019-10-03 11:55:07 +02:00
Korrat
a9f2a4c132
Add config field for compact output
2019-10-03 11:47:20 +02:00
James Doyle
15583fc6d0
Use string replace instead of sed ( #87 )
...
It seems like this was broken on my machine (OSX, 10.14.6) when using the completions. It would strip the `, ` but it would not add a proper newline. Instead it added nothing. So it just become a giant single line. Basically, it didn’t work.
With this change, the string gets split properly. Since this is fish shell, the `string replace` command is guaranteed to be there.
2019-08-28 00:51:35 +02:00