Commit Graph

549 Commits

Author SHA1 Message Date
Alexandre Bury
b799d83077 Add ColorStyle::Custom for theme-independent coloring
Moved `color_id` to curses backend.
2017-05-15 19:29:31 -07:00
Alexandre Bury
f3f10b7088 Remove unused imports 2017-05-14 16:48:49 -07:00
Alexandre Bury
d139c3f3b6 Fix image link in Readme 2017-04-26 16:25:50 -07:00
Alexandre Bury
f485f608ed Merge pull request #136 from quininer/master
Add termion AlternateScreen support
2017-04-26 08:38:03 -07:00
quininer kel
f34e1d9a02 Fix VecExt::splice conflict with Vec::splice 2017-04-26 18:36:23 +08:00
quininer kel
440578c7d1 Add termion AlternateScreen support 2017-04-26 14:20:52 +08:00
Alexandre Bury
381e2d9d73 Update examples/logs.rs to use VecDeque
Instead of custom ring-buffer
2017-04-23 20:04:30 -07:00
Alexandre Bury
d4f1439abd Fix clippy warnings 2017-04-23 15:16:39 -07:00
Alexandre Bury
22a9725f8e Merge branch 'textarea' 2017-04-21 21:51:57 -07:00
Alexandre Bury
2fd30e3e10 TextArea: fix off-by-one required_size 2017-04-21 21:51:30 -07:00
Markus Unterwaditzer
3ec0eb3ff4 docs 2017-04-22 00:03:13 +02:00
Markus Unterwaditzer
065789c286 Grow horizontally as well 2017-04-21 23:58:19 +02:00
Markus Unterwaditzer
14cfe3604a Automatically grow textarea 2017-04-21 23:03:10 +02:00
Alexandre Bury
3d71617712 Readme: add third-party views 2017-04-18 10:30:55 -07:00
Alexandre Bury
8e18172360 Readme: link images to examples 2017-04-17 12:19:11 -07:00
Alexandre Bury
5edc6fc163 Add chainable EditView::filler methods
And a few other filler fixes
2017-04-03 11:13:16 -07:00
Afonso Bordado
b2bcf4138a EditView: Add a customizable filler character (#127)
* Add a customizable filler character
* Change filler character to string
2017-04-03 11:03:56 -07:00
Matthias Beyer
439f654811 Fix version in Readme 2017-04-03 10:50:00 -07:00
Alexandre Bury
2643ecbb15 Add chainable methods for StackView 2017-04-03 10:41:34 -07:00
Alexandre Bury
bdbf6d759e Add EditView::set_style 2017-04-02 15:38:25 -07:00
Alexandre Bury
04e947c1d7 Bump version to 0.5.0 2017-03-28 19:02:34 -07:00
Alexandre Bury
5ac68b1ebf Add focus switch to list_view example 2017-03-28 19:01:05 -07:00
Alexandre Bury
d3669814b5 Fix warnings
* Allow dead code for curses-only utf8 module
* Remove intermediate variable in IdView
2017-03-27 13:27:50 -07:00
Alexandre Bury
7c95114955 Add SelectView::set_selection 2017-03-27 13:14:03 -07:00
Alexandre Bury
09202f55c8 Reset focus in SelectView::clear 2017-03-27 13:07:22 -07:00
Alexandre Bury
f7b6397588 Update tutorial_3
Remove extra Rc clones, add missing link.
2017-03-26 20:53:34 -07:00
Alexandre Bury
c300e0628d Rename find -> call_on
And update tutorials
2017-03-26 20:50:50 -07:00
Alexandre Bury
c3c69e7892 Merge IdView and RefCellView
And remove `with_id_mut`
2017-03-25 21:56:31 -07:00
Alexandre Bury
146ebd8931 Rename find_id -> call_on_id, find_id_mut -> find_id 2017-03-25 18:22:14 -07:00
Alexandre Bury
200435fefe Merge branch 'refview' 2017-03-25 16:09:38 -07:00
Alexandre Bury
cdb3df7fc8 Merge branch 'master' into refview 2017-03-25 15:01:57 -07:00
Alexandre Bury
017bb21710 Add View::focus_view 2017-03-25 14:50:52 -07:00
Alexandre Bury
2cd2787119 Event::Unknown now carries the unknown bytes rather than a i32
And termion has been updated to use termion::Event::Unsupported
2017-03-25 11:01:25 -07:00
Alexandre Bury
79212d4be6 Readme: add div around example images
Otherwise it's not treated as HTML
2017-03-25 00:34:53 -07:00
Alexandre Bury
906cd557a8 Readme: update images title 2017-03-25 00:23:15 -07:00
Alexandre Bury
77433e80ee fix: add Panel::wrap_layout
Fixes #119
2017-03-15 16:35:20 -07:00
Alexandre Bury
0bbc10706e EditVIew: Add mutable and non-mutable callback methods
mutable callbacks disable recursive calls
2017-03-08 16:29:24 -08:00
Alexandre Bury
9850e93125 Add ncurses-backend and blt-backend features
Not very useful for now since those backends don't need any extra crate,
but at least it improves coherence since there is termion-backend
already.
2017-03-07 13:42:32 -08:00
Alexandre Bury
633e274216 Update rust-skeptic to 0.7 2017-03-06 22:49:56 -08:00
Alexandre Bury
22258d3d84 Update chan-signal to 0.2 2017-03-06 22:49:56 -08:00
Alexandre Bury
cbe237624f Update toml to 0.3 2017-03-06 22:49:56 -08:00
Alexandre Bury
4f82e87d0d Merge pull request #115 from hacksaar/master
use Iterator::sum() for summing instead of fold
2017-03-06 14:58:17 -08:00
Alexandre Bury
87676295a0 fix: Check for insufficient space in Panel::required_size 2017-03-06 14:53:10 -08:00
Constantin Berhard
36d5aa016a use Iterator::sum() for summing instead of fold 2017-03-06 22:46:16 +01:00
Alexandre Bury
5f5fb4e502 Add comments 2017-03-06 10:38:18 -08:00
Alexandre Bury
30cac851e7 Fix utils::prefix
And add a few tests
2017-03-06 10:34:58 -08:00
Alexandre Bury
b18ca17b73 Merge pull request #114 from hacksaar/master
fix utils::prefix bug: #113
2017-03-06 10:27:47 -08:00
Constantin Berhard
dc7754d38f fix #113 2017-03-06 15:32:03 +01:00
Alexandre Bury
e0b279d9df Fix clippy warnings 2017-03-05 15:18:15 -08:00
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