Commit Graph

166 Commits

Author SHA1 Message Date
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
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