Commit Graph

681 Commits

Author SHA1 Message Date
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
90c9d51a6c Add comments to menubar example 2016-10-09 15:59:29 -07:00
Alexandre Bury
44dbd5826e Make Backend::clear take &self 2016-10-09 15:47:06 -07:00
Alexandre Bury
a3b5ef3bca Merge pull request #68 from nabijaczleweli/master
Add TOML syntax highlight to README
2016-10-07 10:23:35 -07:00
nabijaczleweli
f67927cfe6
Add TOML syntax highlight to README 2016-10-07 19:17:28 +02:00
Alexandre Bury
d8de167724 Bump version to 0.3.1 2016-10-04 17:59:08 -07:00
Alexandre Bury
bb62452149 EditView: Prevent overflow error with no available space 2016-10-04 17:51:18 -07:00
Alexandre Bury
8fded82434 Fix clippy warnings 2016-10-02 16:03:31 -07:00
Alexandre Bury
1ba2febe21 Use HTTPS for crates.io badge 2016-10-02 15:59:31 -07:00
Alexandre Bury
d1d0374ed6 Bump version to 0.3.0 2016-10-02 15:37:27 -07:00
Alexandre Bury
9cf89c37de Clear screen if a layer is shrinked 2016-10-02 15:33:55 -07:00
Alexandre Bury
3b3f403f7a Apply rustfmt 2016-10-02 15:22:29 -07:00
Alexandre Bury
8fa704bcfa Rename Dialog::new -> Dialog::around
And `Dialog::empty` -> `Dialog::new`
2016-10-02 15:15:30 -07:00
Alexandre Bury
53aea8e91c Derive Clone for RadioGroup
Also remove broken example.
2016-10-02 15:03:03 -07:00
Alexandre Bury
bf3888e275 Add RadioButton & RadioGroup 2016-10-02 14:57:09 -07:00
Alexandre Bury
4bf47f9a7f Add missing links to tuto 2 2016-09-28 22:54:05 -07:00
Alexandre Bury
5d3fe19e8e Fix tutorial 2 markdown 2016-09-28 22:52:23 -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
7e9609826c Fix clippy warnings 2016-09-28 15:07:02 -07:00
Alexandre Bury
f4f2759df2 Make SelectView::on_submit callback take a Borrow<T>
Instead of a `T` directly.
2016-09-28 15:06:16 -07:00
Alexandre Bury
aae9368961 Update Readme.md 2016-09-27 11:08:29 -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
53a5bf19f3 Slider example: initialize title 2016-09-25 08:44:51 -07:00
Alexandre Bury
af803a4587 Add debuggin mention to doc 2016-09-24 17:19:09 -07:00
Alexandre Bury
b53e2a42bd Use better type for new_default macro
Again, `ty` is a better fit
2016-09-24 17:06:33 -07:00
Alexandre Bury
0401b3ab53 Use better type for wrap_impl! macro
`ty` is better than `path`
2016-09-24 16:56:42 -07:00
Alexandre Bury
fa2ad3261b Make Backend methods not static anymore 2016-09-24 16:51:42 -07:00
Alexandre Bury
2e06dd70cb Apply rustfmt 2016-09-22 22:11:13 -07:00
Alexandre Bury
d29f80869d Don't inline doc in prelude 2016-09-22 22:04:55 -07:00
Alexandre Bury
829dd77deb Add &Backend to Printer struct
Makes `::B` public but undocumented.
Backend is currently an immutable ref, may need to become
mutable to be more useful (will need to change the View trait)
2016-09-22 22:00:58 -07:00
Alexandre Bury
05a862d98b Remove unused import in test module 2016-09-22 17:12:53 -07:00
Alexandre Bury
840f03e7c3 Don't include dependency docs 2016-09-21 14:57:38 -07:00
Alexandre Bury
a5135a7aff Better documentation for view::Finder
Also adds `Finder::find_id`
2016-09-21 14:57:03 -07:00
Alexandre Bury
f879305d7f Adds SelectView::is_empty
Fix clippy warning
2016-09-21 11:57:38 -07:00
Alexandre Bury
a064400b6f Add unsafe block around ncurses::stdscr
One more reason to avoid ncurses
2016-09-21 11:57:19 -07:00
Alexandre Bury
93980a7d0c Rename View::find -> View::find_any
And add the `Finder` trait on Views to provide a true `find`.
2016-09-21 11:33:44 -07:00
Alexandre Bury
7d16f70d67 Add some tests to view::position 2016-09-20 18:32:31 -07:00
Alexandre Bury
e3ac2a0482 Added some size tests to BoxView 2016-09-20 11:50:34 -07:00
Alexandre Bury
6598ea5cfd Remove clippy results from Readme
At least until they fix the SSL certs
2016-09-20 11:26:58 -07:00
Alexandre Bury
08d1c1e5b0 Use an associated type in ViewWrapper
This removes the need for dynamic dispatching
2016-09-19 17:20:20 -07:00
Alexandre Bury
3813f7c446 Fix input compatibility table in Readme 2016-09-16 10:17:23 -07:00
Alexandre Bury
6771653512 Fix typo in Readme 2016-09-16 10:16:33 -07:00
Alexandre Bury
f56efcd7b3 Update Readme.md 2016-09-16 10:15:59 -07:00
Alexandre Bury
4628bb537e Bump version to 0.2.6 2016-09-05 15:36:37 -07:00
Alexandre Bury
3701c85ffd Add clear methods to SelectView and ListView 2016-09-05 15:33:52 -07:00
Alexandre Bury
ce6975a8f7 Add missing link to EditView doc 2016-09-03 00:03:18 -07:00
Alexandre Bury
53402a0063 Add link wrap_impl! doc 2016-09-01 11:56:11 -07:00
Alexandre Bury
24511ae5f1 Accept Into<String> in EditView::set_content 2016-09-01 11:49:47 -07:00