Commit Graph

1154 Commits

Author SHA1 Message Date
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
Alexandre Bury
d51772f714 EditView: move cursor on content change
To the end of the content.
2016-09-01 11:42:16 -07:00
Alexandre Bury
53178a2d6d Bump version to 0.2.5 2016-09-01 11:29:15 -07:00
Alexandre Bury
9142c545f7 Fix crash when removing the first item in a SelectView 2016-09-01 11:28:30 -07:00
Alexandre Bury
f9f8fb0c75 Add feedback message in Readme 2016-09-01 11:26:06 -07:00
Alexandre Bury
0364f577b2 Add EditView::set_cursor
And fix a crash with `set_content` (it wasn't updating the cursor).
2016-09-01 11:10:12 -07:00
Alexandre Bury
67ba15045f Add links to next tutorial 2016-09-01 08:22:40 -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
3719b28e43 Add tutorial screenshot 2016-08-31 18:22:33 -07:00
Alexandre Bury
a37790a0ed Fix tutorial image 2016-08-31 18:21:28 -07:00
Alexandre Bury
653ebb08c4 Add 3rd tutorial 2016-08-31 18:18:52 -07:00
Alexandre Bury
77abb5729e Add DummyView to prelude 2016-08-31 17:19:22 -07:00
Alexandre Bury
6dd81faa57 Fix offset in SelectView::remove_item 2016-08-31 17:14:37 -07:00
Alexandre Bury
eca389ed97 Bump version to 0.2.3 2016-08-31 17:07:16 -07:00
Alexandre Bury
484f81861a Replace SelectView::focus with selected_id
Returns None if the list is empty.
Also add `SelectView::len`
2016-08-31 17:05:58 -07:00
Alexandre Bury
16dea393c9 Bump version to 0.2.2 2016-08-31 17:01:47 -07:00
Alexandre Bury
0e08d7d058 Add remove_item to SelectView
And made `focus` public.
2016-08-31 17:00:48 -07:00
Alexandre Bury
2afe9787c2 Add second tutorial 2016-08-20 01:22:58 -07:00
Alexandre Bury
789c65c1b3 Add missing use to tutorial 2016-08-15 18:40:51 -07:00
Alexandre Bury
5d86c5e1f2 Remove % line in the tutorial
Artifact from rustdoc experiment
2016-08-15 17:38:37 -07:00
Alexandre Bury
8ed1ee6639 Add links to documentation in tutorial 2016-08-15 17:36:04 -07:00
Alexandre Bury
635657e3d1 Fix tutorial image link 2016-08-15 17:27:39 -07:00
Alexandre Bury
207e7e0b52 Add first tutorial 2016-08-15 17:27:02 -07:00
Alexandre Bury
ce6992a8c5 Add SliderView 2016-08-13 01:03:40 -07:00
Alexandre Bury
921e4a451e Add outset border functions to Printer 2016-08-05 10:49:16 -07:00
Alexandre Bury
215e88ae3e Use Dialog instead of Panel in progress example 2016-08-05 10:48:23 -07:00
Alexandre Bury
6fd47f443e Bump version to 0.2.1 2016-08-04 20:04:04 -07:00