Commit Graph

75 Commits

Author SHA1 Message Date
Jakub Žádník
32a391675d
Update dependencies (#717) 2024-01-22 14:19:32 -06:00
Jakub Žádník
a46c41cfa3
Update nu-ansi-term to 0.50.0 (#716) 2024-01-22 21:22:00 +02:00
Tastaturtaste
dc27ed8ff4
Replace clipboard with arboard, which is actively maintained (#705) 2024-01-14 17:59:59 -06:00
Jakub Žádník
b8ea490243
Bump version for 0.28 release (#702) 2024-01-09 21:05:36 +02:00
Stefan Holderbach
1c17a8d0f2
Bump itertools to 0.12.0 from 0.10.x (#686)
Most recent version of itertools.
Used by nushell crates.
Several crates in the ecosystem are still working with `0.11.0`
2023-12-26 17:00:15 +01:00
Stefan Holderbach
0046da98b5
Bump version to 0.27.1 (#683) 2023-12-14 18:43:08 +01:00
Stefan Holderbach
63139b84fc
Bump version for 0.27 release (#681) 2023-12-13 06:16:12 +13:00
Clément Nerma
43944ee99d
Make history-related items (de-)serializable (#678)
* Make history-related items (de-)serializable

* Fix: remove duplicate derive

* Fix: deserialization bound on generic type parameter

* Comment on the custom deserialize_with attribute
2023-12-06 07:31:54 -06:00
Stefan Holderbach
93af55c2eb
Bump version for 0.26.0 release (#664) 2023-11-14 20:20:55 +01:00
Stefan Holderbach
adc20cb371
Bump version for 0.25.0 release (#645) 2023-10-16 20:03:20 +02:00
Stefan Holderbach
fd73d0413c
Bump version for 0.24 release (#638) 2023-09-19 14:42:08 +02:00
Stefan Holderbach
31257a4c54
Bump crossterm to 0.27.0 (#625)
* Bump `crossterm` to 0.27.0

Waiting for nushell as ratatui (used in nu-explore) is still on 0.26

* Cargo fmt

* Fix examples
2023-08-28 21:08:10 +02:00
Stefan Holderbach
a20c867f1c
Bump version for 0.23 release (#626)
Accompanies nushell 0.84.0
2023-08-20 22:57:15 +02:00
Darren Schroeder
e7ee24a2b0
update to strip-ansi-escapes 0.2.0 (#618) 2023-08-09 12:14:19 -05:00
Darren Schroeder
541698fb74
update strip-ansi-escapes to their latest api (#617) 2023-08-08 19:05:26 +02:00
Stefan Holderbach
0b9cb4718a
Bump version for 0.22 release (#614) 2023-07-24 21:14:01 +02:00
Stefan Holderbach
f15f0fb413
Bump nu-ansi-term to 0.49.0 (#613)
Side effect we don't duplicate `windows-sys` anymore
2023-07-24 12:35:05 +02:00
Stefan Holderbach
ddec668b92
Update the Cargo.lock for tests and demo (#611) 2023-07-20 23:47:26 +02:00
Stefan Holderbach
cf841beb92
Update (dev-)deps strum/pretty-assertions,rstest (#600)
- `strum`/`strum_macros` enables upgrade to `syn 2.0`
- `pretty-assertions` gets rid of `ctor` and other outdated dev-deps
- `rstest` also helps with `syn` but introduces `regex` dev-dep
2023-07-10 12:05:32 +02:00
nibon7
2142c5c8e9
Remove unneeded features of chrono (#599) 2023-06-29 17:04:21 +02:00
Stefan Holderbach
c8bc5ac22b
Bump version for 0.21.0 release (#596) 2023-06-26 12:26:42 +02:00
Stefan Holderbach
3cb0feb094
Bump to 0.20.0 for release (#581) 2023-06-06 12:27:27 +02:00
Darren Schroeder
f7515b40e5
update cargo.lock (#587)
* update cargo.lock

* update timestamp_millis_opt
2023-05-26 08:58:50 -05:00
Darren Schroeder
8c4001b845
update dependencies (#586) 2023-05-26 08:26:42 -05:00
JT
e0e5957a5d
bump reedline version (#585) 2023-05-25 11:12:48 +12:00
Stefan Holderbach
ec002a7ce8
Bump version for 0.19 release (#575) 2023-04-25 18:57:01 +02:00
WindSoilder
27f4417191
Update crossterm to version 0.26.1 (#560)
* update crossterm to 0.26.1

* add event_listener_kitty_proto example

* add comment

* remove trait
2023-04-13 19:24:17 +02:00
Stefan Holderbach
89cb811838
Bump version for 0.18.0 release (#564)
for `nushell 0.78.0`
2023-04-03 23:32:06 +02:00
Stefan Holderbach
35579194f7
Bump version for 0.17.0 release (#550)
Intended for nu 0.77
2023-03-13 23:29:33 +01:00
Stefan Holderbach
6a67d27e70
Update nu-ansi-term to 0.47.0 (#549)
See release notes:

https://github.com/nushell/nu-ansi-term/releases/tag/v0.47.0
2023-03-13 23:01:39 +01:00
Stefan Holderbach
0082cc39ae
Bump version for 0.16.0 release. (#542)
Expected to contain minor bugfix and work on `History::clear` API (work
to improve history metadata handling still in progress)
2023-02-20 22:22:06 +01:00
Stefan Holderbach
1801496be2
Bump rstest to 0.16 (#541)
https://github.com/la10736/rstest/blob/master/CHANGELOG.md
2023-02-19 19:24:09 +01:00
Stefan Holderbach
c658bea04f
Bump version for 0.15 release (#532)
Necessary for the `0.75` nushell release
2023-01-30 22:19:05 +01:00
Stefan Holderbach
a84601945e
Prepare the 0.14.0 release (#511) 2022-11-07 20:37:56 +01:00
Stefan Holderbach
21f5e125de
Prepare 0.13 release (#495) 2022-10-17 23:00:38 +02:00
Stefan Holderbach
f994cc9d38
Prepare 0.12.0 release (#487)
* Prepare 0.12.0 release

* Widen author metadata
2022-09-28 12:00:54 +13:00
Gregor
70118f732c
Basic external printer (#467)
Addresses #320, #236

* Adding External printer

* Made ExternalPrinter as an optional feature. Clippy is happy, test pass, docs added.

* ExternalPrinter: prints multiple messages if available, more on error-handling.

* Bug(s) fixed. Prints messages. Working example in examples folder. Code formatted, clippyed, tests pass.

* Generic ExternalPrinter<T> where T: Display.

* Fixed: Works with buffers larger than a line.

* Fixed: Works with buffers larger than a line, refactored.

* Different approach, seems to look like what is expected. Gives the "illusion" of one line being entered. Needs more testing, could have some off by one errors ;)

Co-authored-by: Gregor Engberding <gregor@meinkopter.de>
2022-09-14 21:58:45 +02:00
Stefan Holderbach
d636eefd64
Prepare 0.11.0 release (#471) 2022-09-06 10:54:16 +02:00
Stefan Holderbach
b11109bbe8
Prepare 0.10.0 release (#463) 2022-08-15 12:21:26 +02:00
Stefan Holderbach
f4aa6921b4
Reduce dev-deps by narrowing rstest features (#458)
`rstest = 0.12` added support for asynchronous timeouts during testing
thus requiring a larger set of dependencies. Since `rstest = 0.14` this
can be disabled if not used.

Should keep build times for local or CI tests in check.
2022-08-03 11:47:17 +02:00
Stefan Holderbach
a406bfc662
Update crossterm to 0.24 (#447)
This new crossterm version includes a breaking change to the indexing of
certain cursor move operations:

https://github.com/crossterm-rs/crossterm/releases/tag/0.24

While reedline itself might not be affected, check the code of the
consuming application that needs to match the crossterm version!
2022-07-28 23:09:32 +02:00
JT
a535eda62b
bump to 0.9 (#454) 2022-07-27 06:49:02 +12:00
Darren Schroeder
2e7483fe4d
update some deps (#453) 2022-07-25 20:32:57 -05:00
Stefan Holderbach
117f13b005
Prepare the 0.8.0 release (#448) 2022-07-05 10:38:36 +02:00
Eric Hodel
0680bb584a
Add vi WORD motions B, E, W (#441)
* Add vi W motion

This moves forward by WORD which is a sequence of non-blank characters
separated by whitespace.

* Add vi B motion

Support deleting backward for word (db) and WORD (dB)

* Add vi E motion
2022-06-16 11:58:19 +02:00
Stefan Holderbach
f14583526a
Prepare 0.7.0 release (#440)
Includes the new History API and their backends
2022-06-14 22:46:04 +02:00
phiresky
4f25ce5633
SQLite History and replaceable History backends (#401)
Changes the history API to support different storage backends and more rich information to be used as metadata/filtering criterions.

Includes a SQLite backed history with additional fields and ports the simple `FileBackedHistory` format consistent.

Includes a `HistoryCursor` to abstract the internal interactive browsing.
Updates `History` trait to cover the API to load and store to the storage backend. 

Commits

* basic sqlite history

* fix test compilation

* final touches for MVP

* better documentation

* fix for empty history

* partial change to non-generic history

* mostly working

* fix tests and ci

* fixes, format

* move history item to new file

* fix some comments, fix test compile errors

todo: fix tests

* ci features matrix

* fix index creation

* fix file-based tests

* move logic for not saving empty entries to engine

* fix update last command on empty, set up application_id and check version

* add specific error variants

* format

* fix compile errors

* fix fmt

* sqlite with bashisms

* hide with features

* cargo fmt

* improve performance of bashisms selectors

* Style: Remove commented out code

Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
Co-authored-by: Fernando Herrera <fernando.j.herrera@gmail.com>
Co-authored-by: sholderbach <sholderbach@users.noreply.github.com>
2022-06-06 18:11:02 +02:00
Stefan Holderbach
09bbb24bfd
Update nu-ansi-term and crate patches (#437)
- Update `nu-ansi-term` to remove `Deref` impl
- General `cargo update`
2022-06-03 21:11:59 +02:00
Stefan Holderbach
d8ff270f94
Prepare the v0.6.0 release (#430) 2022-05-23 23:59:07 +02:00
Stefan Holderbach
ef6499202a
Prepare the 0.5.0 release (#421)
`Cargo.toml` version bump
2022-05-03 21:16:00 +02:00