Commit Graph

133 Commits

Author SHA1 Message Date
Alexandre Bury
6f129ac83d Only include chan dependancy with termion backend.
We may want to use channels for all backend some day, but not today.
2017-03-05 14:45:21 -08:00
Ilkka Halila
f6f26bf7af Increment pancurses dependency to version 0.8 2017-03-05 13:49:20 +02:00
Alexandre Bury
e91021a633 Bump version to 0.4.1 2017-02-08 16:17:18 -08:00
Alexandre Bury
1de7dcd819 Remove useless entries from Cargo.toml 2017-02-08 12:15:43 -08:00
Alexandre Bury
b0193b0ebc Add RefCellView
Wraps a view and provide interior mutability
2017-02-08 12:13:14 -08:00
hyst329
35c0cb1050 Added *-backend features 2017-02-01 20:59:17 +03:00
hyst329
4755cc8aee Fixed library name capitalising 2017-01-30 18:19:03 +03:00
hyst329
ae33abec18 Fixed build on Windows 2017-01-30 18:17:05 +03:00
Alexandre Bury
1b5cb4a89a Fix travis badge in Cargo.toml 2017-01-24 10:49:02 -08:00
Alexandre Bury
146a532df0 Bump version to 0.4.0 2017-01-23 22:55:06 -08:00
Alexandre Bury
8ae34b05dd Add Cargo categories & travis badge 2017-01-21 13:30:15 -08:00
Alexandre Bury
efa45bb509 Bump version to 0.3.7 2017-01-15 10:28:03 -08:00
Alexandre Bury
14f971e2bc Allow negative relative offset in Position
Was causing crashes when popup-SelectViews were larger than their
parent.
Made some methods on Vec2 more generic to XY<T: ...>
2017-01-10 17:47:31 -08:00
Alexandre Bury
63109a9deb Update ncurses
Newest version removes the need for target-specific features.
2017-01-06 21:16:07 -08:00
Alexandre Bury
0e95c6b714 Bump version to 0.3.6 2017-01-05 10:36:47 -08:00
Matt Brubeck
6e44b8fa9b Upgrade to unicode-segmentation 1.0 2017-01-03 15:17:02 -08:00
Alexandre Bury
cf80749b8d Don't use ncurses's wide attribute on macos 2016-12-21 22:30:08 +01:00
Alexandre Bury
858067ef6b Detect terminal resize in termion backend
Using the chan_signal crate
2016-12-13 22:10:00 -08:00
Alexandre Bury
0ab2c6db07 Update pancurses backend 2016-11-24 23:42:31 -08:00
Alexandre Bury
ce009d0e5f Back to upstream termion
Just figured I could implement Color for a custom wrapper struct.
2016-11-04 10:30:06 -07:00
Alexandre Bury
965b32bd9b Bring colors to termion backend
Currently require termion fork for color storage support.
2016-10-21 17:18:26 -07:00
Alexandre Bury
d678d767f0 Bump version to 0.3.5 2016-10-17 11:39:27 -07:00
Alexandre Bury
1f71b91632 Bump version to 0.3.4 2016-10-14 12:36:35 -07:00
Alexandre Bury
1987922ddb Bump version to 0.3.3 2016-10-14 12:24:59 -07:00
Alexandre Bury
7c2d4a86f6 Revert dependencies order 2016-10-12 18:33:55 -07:00
Alexandre Bury
a06ad90945 Make skeptic an optional build dependency 2016-10-12 16:12:07 -07:00
Alexandre Bury
69d264348f Bump version to 0.3.2. 2016-10-12 14:15:16 -07:00
Alexandre Bury
ad4da8acc1 Update pancurses to 0.6.0 2016-10-12 11:53:59 -07:00
nabijaczleweli
c4baa0f570
Add BearLibTerminal backend 2016-10-12 01:48:22 +02:00
nabijaczleweli
c84cafb4fd
Update pancurses to 0.4.0 2016-10-10 20:51:32 +02:00
nabijaczleweli
28195935d6
I can't into rebase 2016-10-10 10:39:03 +02:00
nabijaczleweli
79c4bf29c2
Don't explicitly list features 2016-10-10 10:34:33 +02:00
nabijaczleweli
01951aa213
Mostly add pancurses support. Test pancurses support on Travis 2016-10-10 10:34:33 +02:00
Alexandre Bury
9871e12734 Update for latest ncurses-rs 2016-10-09 17:48:31 -07:00
Alexandre Bury
078a966381 Reformat Cargo.toml 2016-10-09 16:20:52 -07:00
Alexandre Bury
ad7606ca55 Switch backend with cargo features
Use `termion` feature and disable default features to use the termion
backend.
2016-10-09 16:02:26 -07:00
Alexandre Bury
df4397a174 Add stub termion backend
Not supported: input, colors, effects, async
2016-10-09 16:02:26 -07:00
Alexandre Bury
d8de167724 Bump version to 0.3.1 2016-10-04 17:59:08 -07:00
Alexandre Bury
d1d0374ed6 Bump version to 0.3.0 2016-10-02 15:37:27 -07:00
Alexandre Bury
d684a5bc1e Remove prelude module
Add `traits` module instead
2016-09-28 22:45:27 -07:00
Alexandre Bury
51e955808c Add skeptic tests 2016-09-28 15:22:21 -07:00
Alexandre Bury
076e8d47e9 Add "wide" feature to ncurses
Since it's no longer the default
2016-09-26 13:24:28 -07:00
Alexandre Bury
4628bb537e Bump version to 0.2.6 2016-09-05 15:36:37 -07:00
Alexandre Bury
53178a2d6d Bump version to 0.2.5 2016-09-01 11:29:15 -07:00
Alexandre Bury
7a4e99a5de Bump version to 0.2.4 2016-09-01 00:22:21 -07:00
Alexandre Bury
de1ca0c880 Update toml to 0.2 2016-09-01 00:22:04 -07:00
Alexandre Bury
eca389ed97 Bump version to 0.2.3 2016-08-31 17:07:16 -07:00
Alexandre Bury
16dea393c9 Bump version to 0.2.2 2016-08-31 17:01:47 -07:00
Alexandre Bury
6fd47f443e Bump version to 0.2.1 2016-08-04 20:04:04 -07:00
Alexandre Bury
8a09702f66 Bump version to 0.2.0 2016-08-04 19:54:29 -07:00
Alexandre Bury
a25d744ff6 Update crate description. 2016-08-03 10:48:57 -07:00
Alexandre Bury
75c365451f Add initial TextArea 2016-08-02 00:32:16 -07:00
Alexandre Bury
5ce1094931 Better progress bar example
Shows multiple progress bars updated together.
2016-07-27 23:52:21 -07:00
Alexandre Bury
bbda625433 Bump version to 0.1.1 2016-07-20 22:08:28 -07:00
Alexandre Bury
9c16ac149b Bump version to 0.1.0 2016-07-20 21:43:20 -07:00
Alexandre Bury
7a466e254f Exclude "doc" and "examples" from cargo package 2016-07-18 00:15:40 -07:00
Alexandre Bury
12db0007eb Bump to version 0.0.4 2016-07-14 22:33:19 -07:00
Alexandre Bury
bd7286a8b2 Update version to pre-0.0.4 2016-07-14 10:53:10 -07:00
Alexandre Bury
f35aebd66e Fix case in Readme 2016-07-11 23:50:08 -07:00
Alexandre Bury
3640a10a2b Bump version to 0.0.3 2016-07-09 19:07:16 -07:00
Alexandre Bury
9b587e353c Add dot to Cargo description 2016-07-02 22:28:09 -07:00
Alexandre Bury
1863e48b07 Add MenuPopup view 2016-07-02 01:01:09 -07:00
Alexandre Bury
4efd84f311 Remove list of examples in Cargo.toml 2016-06-27 21:53:27 -07:00
Alexandre Bury
34f235daf0 Use UTF-8 drawing characters for printer methods
Instead of ncurses chtype.
2016-06-26 15:03:12 -07:00
Alexandre Bury
4bb83a3bec Bump version to 0.0.2
New Key events
2016-06-25 19:40:16 -07:00
Alexandre Bury
1fee33be40 Update Cargo.toml with documentation link 2016-06-25 16:53:16 -07:00
Alexandre Bury
07c3c99e54 Update for new ncurses version 2016-03-15 15:39:08 -07:00
Alexandre Bury
9f29c69c8f Update dependencies 2015-12-21 21:09:16 -08:00
Alexandre Bury
40af72a567 BugFix in LinearLayout
And add a simple linear example.
2015-06-08 12:23:36 -07:00
Alexandre Bury
e5cb687990 Refactor themes and colors
And adds a theme example.
TODO: Shadow & Borders support
2015-06-05 18:26:40 -07:00
Alexandre Bury
6b781684ef Rename ListView -> SelectView
And added documentation.
2015-05-30 21:32:24 -07:00
Alexandre Bury
969650ab1a Add basic ListView
Show a selection among a list of items.
Maybe should be called SelectView?
TODO:
* Scrolling
* Error handling with empty list
* Action on Enter on an item
2015-05-30 21:05:34 -07:00
Alexandre Bury
ca09885978 Add key_codes example
Prints the code on key press. Useful tool.
2015-05-27 16:55:49 -07:00
Alexandre Bury
e8fcaabd6c Add EditView
TODO: proper visualization:
* Display cursor when focused (instead of color change)
* Do not use HIGHLIGHT, but something like INVERTED
2015-05-26 15:48:35 -07:00
Alexandre Bury
d9b56574d2 Add selector by ID 2015-05-23 10:33:29 -07:00
Alexandre Bury
d9652ac728 Add animated example. 2015-05-22 16:28:05 -07:00
Alexandre Bury
25726140d8 Add colors and styles to printer 2015-05-21 23:29:49 -07:00
Alexandre Bury
b8b7638667 Add lorem example with long text and line wrapping 2015-05-18 11:36:15 -07:00
Alexandre Bury
74f0fee9b6 Add Dialog skeleton 2015-05-16 14:02:15 -07:00
Alexandre Bury
09a21803f8 Add some info to Cargo.toml 2015-05-16 13:12:57 -07:00
Alexandre Bury
a8c8855831 Moved example to separate directory
And add it to Cargo.toml
2015-05-16 13:09:38 -07:00
Alexandre Bury
a387bf5f06 Add stack, box and text views
Also add some documentation
2015-05-14 17:41:17 -07:00
Alexandre Bury
13c4e86779 First commit 2015-05-09 12:18:31 -07:00