Commit Graph

862 Commits

Author SHA1 Message Date
Alexander Gavrilov
f8f23a5dda Call resize_item on Windows only 2018-01-09 08:24:17 -08:00
Alexander Gavrilov
7469bd36be Call resize_term on KeySize 2018-01-09 08:01:22 -08:00
Alexandre Bury
4383526ec0 Fix some clippy warnings 2018-01-09 15:20:07 +01:00
Alexandre Bury
f8588e74c1 Rustfmt 2018-01-09 15:17:49 +01:00
Alexandre Bury
d41f1e937d Menubar: trigger leaf nodes on mouse release
Feels more natural
2018-01-09 14:53:55 +01:00
Alexandre Bury
d384cbdaf1 Allow menu leaves and delimiter in menubar 2018-01-09 14:37:40 +01:00
Alexandre Bury
ed94078218 Add span tests from markdown 2018-01-09 10:32:52 +01:00
Alexandre Bury
fc8d428028 Fix doc test 2018-01-09 10:10:05 +01:00
Alexandre Bury
c486d96810 Don't run doc example 2018-01-09 09:50:22 +01:00
Alexandre Bury
203ec4ac76 Improve doc for Cursive::find_id 2018-01-09 09:26:05 +01:00
Alexandre Bury
df97279442 TextView: add manual scroll methods 2018-01-08 19:02:35 +01:00
Alexandre Bury
a2244f0ac1 Add markdown parser 2018-01-08 17:18:35 +01:00
Alexandre Bury
15c3e77fc4 Split theme.rs into multiple files 2018-01-08 16:11:12 +01:00
Alexandre Bury
c2d2fa0527 Update Style to include a set of effects 2018-01-08 15:44:27 +01:00
Alexandre Bury
b59e480f60 Add missing imports 2018-01-08 13:15:28 +01:00
Alexandre Bury
2735bf45fd
Create ISSUE_TEMPLATE.md 2018-01-08 13:09:18 +01:00
Alexandre Bury
102328084a
Create CODE_OF_CONDUCT.md 2018-01-08 13:01:21 +01:00
Alexandre Bury
c4670e5262 More utils re-organization 2018-01-08 12:33:43 +01:00
Alexandre Bury
7ac003c4de Re-organize utils module 2018-01-08 12:07:07 +01:00
Alexandre Bury
943da46e82 Add SpanListIterator 2018-01-08 01:25:30 +01:00
Alexandre Bury
1acde148be Implement From<Effect> and From<ColorStyle> for Style 2018-01-07 15:08:25 +01:00
Alexandre Bury
67e230e246 Update dependencies 2018-01-05 14:48:17 +01:00
Alexandre Bury
aa9db30a51 Add TextView::set_effect 2018-01-05 14:20:09 +01:00
Alexandre Bury
895557e91d Fix TextView deadlock 2018-01-05 14:20:08 +01:00
Alexandre Bury
2d7f8295cf Add Effect::{Bold,Italic,Underline} 2018-01-05 13:57:39 +01:00
Alexandre Bury
5af367fa18 Add missing use statements to doc example 2018-01-03 16:51:07 +01:00
Alexandre Bury
778c1f1d71 Better doc 2018-01-03 15:36:08 +01:00
Alexandre Bury
08a935d561 Don't run test examples when we call Cursive::new
It fails with some backends.
2017-12-31 20:29:05 +01:00
Alexandre Bury
8a05bd5421 TextView: improve documentation 2017-12-31 19:49:13 +01:00
Alexandre Bury
65ea8eeec8 No need to clone the Arc 2017-12-31 14:14:19 +01:00
Alexandre Bury
e4cd68a4eb Rustfmt 2017-12-30 23:03:42 +01:00
Alexandre Bury
799ec812e4 Add TextContent and TextContentRef
To manage the model separately from the view.
2017-12-30 23:00:48 +01:00
Alexandre Bury
fd08faca62
readme: add link to "Install ncurses" wiki page 2017-12-30 21:18:06 +01:00
Alexandre Bury
ba0bc6dc56 Add link to 3rd party: hexview 2017-12-21 11:34:08 +01:00
Alexandre Bury
8da659367d Add StackView::move_layer 2017-12-18 18:18:23 +01:00
Alexandre Bury
bd9b6a695b Return view on pop_layer
Callbacks now often allow (and ignore) a return type.
2017-12-16 14:41:15 +01:00
Alexandre Bury
1b7170e308 StackView: store Layer<Box<V>> rather than Box<Layer<V>>
Rather than storing a Layer<V> as a Box<View>,
stores a Layer<Box<View>>, so we can unwrap it when
popping layers.
2017-12-16 14:41:15 +01:00
Alexandre Bury
fd259bf32c Mines example: add help message 2017-12-16 14:41:15 +01:00
Alexandre Bury
9cb74c7497
Merge pull request #169 from punkkeks/dialog_position
added option to position the header in a dialog
2017-12-12 00:20:38 -08:00
Marcel Hellwig
9ce8896bba
updated dialog doc to reflect the default position 2017-12-12 09:19:05 +01:00
Marcel Hellwig
f8e7427f75 simplified offset calculation in dialogboxtitle 2017-12-12 09:07:13 +01:00
Marcel Hellwig
592ecf4c09 added option to position the header in a dialog 2017-12-12 08:38:14 +01:00
Alexandre Bury
9b9619aa53 Add View: Any 2017-12-11 18:54:40 -08:00
Alexandre Bury
bbee77f1b7 Add ViewWrapper::into_inner
And add some derive(Debug)
2017-12-11 17:31:55 -08:00
Alexandre Bury
d0c30ded21 Ncurses backend: use character pattern instead of string 2017-12-11 12:29:10 -08: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
d328138531 OnEventView: better doc 2017-12-07 16:47:56 -08:00
Alexandre Bury
7ae754ce8f Extended text_area example 2017-12-07 15:49:12 -08:00
Alexandre Bury
93c672df9d TextArea: fix possible panic with multi-bytes characters 2017-12-07 14:33:01 -08:00