Commit Graph

182 Commits

Author SHA1 Message Date
Timon
34ecb67f1b Added crossterm backend. (#335)
Add a backend using the crossterm library.
2019-04-17 11:36:32 -07:00
Alexandre Bury
ac28309b3b Use cfg-if for to define Cursive::default()
And update other dependencies
2019-04-15 15:47:23 -07:00
Alexandre Bury
57f9b05d64 Bump version to 0.11.1 2019-03-16 16:26:35 -07:00
Alexandre Bury
19ad7b6cc3 Use hashbrown::HashMap 2019-03-16 16:16:30 -07:00
Alexandre Bury
0ec1a77849 Bump version to 0.11.0 2019-03-11 00:04:45 -07:00
Alexandre Bury
91a78f402b Hide view::scroll behind unstable_scroll feature 2019-03-11 00:03:54 -07:00
Alexandre Bury
e51be07e5d Update to Rust 2018
Run `cargo fix --edition` and update Cargo.toml
2019-02-28 15:54:12 -08:00
Alexandre Bury
9bad00144b Update ncurses to 5.99.0 2019-02-24 17:32:03 -08:00
Alexandre Bury
3a7e10cffe Update debug view 2019-02-22 13:55:07 -08:00
Alexandre Bury
8b3f5a8de7 Add CursiveLogger and DebugView 2019-02-22 12:38:16 -08:00
Alexandre Bury
6171930649 Update enum-map dependency 2019-01-30 14:55:48 -08:00
Henry
0f4985c4d2
Bump bear-lib-terminal version
There is a new major release of `bear-lib-terminal` which I think was motivated by a small (but technically breaking) change I requested (<https://github.com/nabijaczleweli/BearLibTerminal.rs/pull/8>). Anyway, just bumping the version to 2.0 seems to work alright.
2019-01-19 18:04:39 +01:00
Alexandre Bury
196c4072ce (cargo-release) start next development iteration 0.10.1-alpha.0 2018-11-30 16:58:43 -08:00
Alexandre Bury
2e3b830b49 (cargo-release) version 0.10.0 2018-11-30 16:58:14 -08:00
Alexandre Bury
79e23bb70e Update dependencies 2018-11-30 16:55:47 -08:00
Alexandre Bury
612c7d9ea7 Bump version for next release 2018-11-19 10:25:07 -08:00
Alexandre Bury
e111f982b9 Update for latest bear-lib-terminal 2018-11-05 11:03:52 -08:00
Alexandre Bury
4f3299bf9f Update ncurses backend 2018-11-05 10:41:15 -08:00
Alexandre Bury
9430fec91b Prepare for next ncurses release 2018-11-02 10:06:53 -07:00
Alexandre Bury
3b81305b16 Update ncurses backend to use mouse_v1 2018-11-01 14:38:14 -07:00
Alexandre Bury
f1e107e3cf (cargo-release) start next development iteration 0.9.3-alpha.0 2018-10-18 13:57:05 -07:00
Alexandre Bury
e9f927eb40 (cargo-release) version 0.9.2 2018-10-18 13:56:38 -07:00
Alexandre Bury
44d9cd5552 Remove enumset version pin 2018-09-17 09:55:00 -07:00
Alexandre Bury
a9e15e77a2 (cargo-release) start next development iteration 0.9.2-alpha.0 2018-09-16 23:54:08 -07:00
Alexandre Bury
96f649e5f2 (cargo-release) version 0.9.1 2018-09-16 23:53:35 -07:00
Alexandre Bury
2624c8d9d9 Pin version of enumset to 0.3.10
0.3.11 does not compile
2018-09-14 14:04:12 -07:00
Alexandre Bury
b607be40d4 Update owning_ref 2018-09-04 13:44:18 -07:00
Alexandre Bury
b740a2c0df (cargo-release) start next development iteration 0.9.1-alpha.0 2018-07-25 21:44:49 -07:00
Alexandre Bury
052bf9127d (cargo-release) version 0.9.0 2018-07-25 21:44:18 -07:00
Alexandre Bury
46181fabcc Update num to 0.2 2018-07-23 11:35:04 -07:00
Alexandre Bury
6135b0df79 Refactor input system
* Moves from chan to crossbeam-channel
* Moves from chan_signal to signal-hook
2018-07-08 12:49:12 -07:00
Alexandre Bury
6e1fc7fdb5 Update dependencies 2018-06-18 23:13:02 -07:00
Alexandre Bury
814d2c868b Add appveyor badge 2018-06-18 23:04:55 -07:00
Alexandre Bury
3f16e8ed60 Do not use chan_signal on windows 2018-06-18 16:50:09 -07:00
Alexandre Bury
26e5f51192 Use term_size instead of ioctl 2018-06-18 16:08:55 -07:00
Alexandre Bury
804e41ec43 Fix resize event 2018-06-17 17:26:03 -07:00
Alexandre Bury
83bcf4fb72 Merge branch 'master' into callback_preemption 2018-06-16 11:03:39 -07:00
Steven Portzer
8aa67aa321 Don't require num default features 2018-06-04 21:32:02 -07:00
Alexandre Bury
05e1212a50 Refactor Backend input model
Backends now have to send input to the given `chan::Sender<Event>`.
They send these events from a separate thread, allowing selection
between input and callbacks.

This currently breaks the BearLibTerminal backend, which requires all
calls to come from the UI thread.

This might not be super-safe for the ncurses backend also. We hope that
input and output are separate enough that they can run concurrently without
problem.
2018-05-20 09:59:35 -07:00
Alexandre Bury
b1e9afe0ff Add vpv example 2018-04-10 11:46:02 -07:00
Alexandre Bury
b34fb14957 Use ncurses::newterm instead of initscr
This leaves stdout untouched, so it can better be composed in other
commands.
2018-04-05 17:40:08 -07:00
Alexandre Bury
1c72ef7ade Update changelog 2018-04-01 22:58:25 -07:00
Alexandre Bury
c5cf5f64bd (cargo-release) start next development iteration 0.8.2-alpha.0 2018-03-11 10:17:17 -07:00
Alexandre Bury
2b29b47b4f (cargo-release) version 0.8.1 2018-03-11 10:16:56 -07:00
Alexandre Bury
1ae3bbff89 Fix pancurses input
Fixes #210
2018-03-08 10:03:41 -08:00
Alexandre Bury
99046d10c3 Use special key detection for pancurses
Shared with the ncurses backend code
2018-02-20 15:44:07 -08:00
Alexandre Bury
767e225db0 Only require maplit for ncurses bqckend 2018-02-20 14:50:13 -08:00
Alexandre Bury
712dd4b7d4 (cargo-release) start next development iteration 0.8.1-alpha.0 2018-02-20 13:54:00 -08:00
Alexandre Bury
adea0176c4 (cargo-release) version 0.8.0 2018-02-20 13:53:09 -08:00
Alexandre Bury
5ac0fce363 Refactor ColorStyle
Add the notion of PaletteColor to use a color from the palette.

Breaking change: most color styles are now methods rather than enum
variants.
2018-01-17 10:22:06 -08:00