Commit Graph

151 Commits

Author SHA1 Message Date
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
Alexandre Bury
5003095171 Update ncurses and owning-ref dependencies 2018-01-15 13:58:26 -08:00
Alexandre Bury
ef7cfb2dd6 Use owning-ref fork for now
Until the PRs are merged
2018-01-10 23:19:14 +01:00
Alexandre Bury
a2244f0ac1 Add markdown parser 2018-01-08 17:18:35 +01:00
Alexandre Bury
c2d2fa0527 Update Style to include a set of effects 2018-01-08 15:44:27 +01:00
Alexandre Bury
943da46e82 Add SpanListIterator 2018-01-08 01:25:30 +01:00
Alexandre Bury
67e230e246 Update dependencies 2018-01-05 14:48:17 +01:00
Alexandre Bury
24838969f5 (cargo-release) start next development iteration 0.7.6-alpha.0 2017-12-07 17:12:09 -08:00
Alexandre Bury
f4da783fd1 (cargo-release) version 0.7.5 2017-12-07 17:11:36 -08:00
Alexandre Bury
6bc63a40c5 Remove odds dependency
Now that `Vec::splice` is stable.
Note: this means rustc >= 1.22 is required.
2017-11-25 10:16:35 -08:00
Alexandre Bury
ccd1595f29 Update doc link in Cargo.toml 2017-11-20 21:24:36 -08:00
Alexandre Bury
b2097bd1c8 ncurses: detect key offset at runtime 2017-11-19 20:13:57 -08:00
Alexandre Bury
c10da1390b Use dynamic key code map in ncurses backend
In preparation for detecting key codes dynamically.
(Different ncurses versions will use different code offsets)
2017-11-19 17:14:20 -08:00
Alexandre Bury
0b5b6ceace Add mouse support to pancurses 2017-11-19 00:40:56 -08:00
Alexandre Bury
ee7170c66b Update pancurses 2017-11-18 21:31:01 -08:00
Alexandre Bury
9ae26fc368 (cargo-release) start next development iteration 0.7.5-alpha.0 2017-11-17 12:43:57 -08:00
Alexandre Bury
61efe5c088 (cargo-release) version 0.7.4 2017-11-17 12:43:22 -08:00
Alexandre Bury
6f23c355c4 Update pancurses 2017-11-17 11:58:53 -08:00
Alexandre Bury
ef81fae168 (cargo-release) start next development iteration 0.7.4-alpha.0 2017-11-17 11:47:56 -08:00
Alexandre Bury
f7ad3bd936 (cargo-release) version 0.7.3 2017-11-17 11:47:26 -08:00
Alexandre Bury
88fed99408 Add examples to exclude 2017-11-17 11:39:20 -08:00
Alexandre Bury
e988b984a2 (cargo-release) start next development iteration 0.7.3-alpha.0 2017-10-15 00:39:45 -07:00
Alexandre Bury
2560f0195e (cargo-release) version 0.7.2 2017-10-15 00:39:27 -07:00
Alexandre Bury
44fec0ab50 (cargo-release) start next development iteration 0.7.2-alpha.0 2017-10-13 18:06:05 -07:00
Alexandre Bury
55928b1319 (cargo-release) version 0.7.1 2017-10-13 18:05:47 -07:00
Alexandre Bury
f042ede07d (cargo-release) start next development iteration 0.7.1-alpha.0 2017-10-13 16:10:55 -07:00
Alexandre Bury
8410144fe3 (cargo-release) version 0.7.0 2017-10-13 16:10:36 -07:00
Alexandre Bury
9dc88dafc5 Remove skeptic 2017-10-13 16:09:32 -07:00
Alexandre Bury
acd12326e1 Produce mouse events in termion backend 2017-10-12 21:24:17 -07:00
Alexandre Bury
da5121d265 Update skeptic 2017-09-25 15:43:08 -07:00
Alexandre Bury
daab316210 Update dependencies 2017-09-23 13:33:06 -07:00
hcpl
ca4410030a Use log crate
This provides a uniform way to handle logging and can be combined with
logs from other libraries in end-user apps.
2017-08-23 17:49:09 +03:00