Commit Graph

797 Commits

Author SHA1 Message Date
Alexandre Bury
2d2cc19fbd (cargo-release) version 0.6.3 2017-08-14 16:35:25 -07:00
Alexandre Bury
05bac7a192 More safe subtractions all around. 2017-08-14 16:32:39 -07:00
Alexandre Bury
14161f51e4 Update exclude pattern 2017-08-14 15:20:44 -07:00
Alexandre Bury
4b59808f84 Safer substractions
Use more saturating_sub.
Fixes #148.
2017-08-14 15:13:49 -07:00
Alexandre Bury
134854e688 (cargo-release) start next development iteration 0.6.3-pre 2017-08-02 11:28:07 -07:00
Alexandre Bury
d1782bc776 Bump version to 0.6.2 2017-08-02 11:26:48 -07:00
Alexandre Bury
b021458352 Use more elegant saturating_sub 2017-08-01 09:47:08 -07:00
Alexandre Bury
d2f2f642c1 Protect LinesIterator from zero width
Fixes #147
2017-08-01 09:44:40 -07:00
Alexandre Bury
c281f93a63 Bump version to 0.6.1 2017-07-20 19:54:47 +02:00
Alexandre Bury
22b8364877 Fix clippy warnings
Add default implementations
Return &mut View instead of &mut Box<View>
2017-07-18 01:43:50 +02:00
Alexandre Bury
2ffae1f524 Rename {Color,ColorStyle}::Default to TerminalDefault 2017-07-18 01:36:34 +02:00
Alexandre Bury
a668e7bc06 Merge remote-tracking branch 'hcpl/default-color' 2017-07-18 01:01:35 +02:00
Alexandre Bury
20e6938bbb fix: consider scrollable in TextArea required size 2017-07-18 00:15:05 +02:00
hcpl
9edc6ffc15 Add example that utilizes terminal default colors 2017-07-16 17:43:46 +03:00
hcpl
e0d69da844 Set *curses backends to use default colors 2017-07-16 17:37:15 +03:00
hcpl
28d0db1bb6 Make use of colors preset by terminals 2017-07-16 16:05:04 +03:00
Alexandre Bury
94c67b2257 Update dependencies 2017-07-07 10:50:09 -07:00
Alexandre Bury
7f135eeb26 Update version in Readme 2017-07-04 21:56:21 -07:00
Alexandre Bury
399f186b74 Bump version to 0.6.0 2017-07-03 01:33:05 -07:00
Alexandre Bury
66af7fab7c IdView: skip view if borrowing fails.
Fixes #144
2017-07-03 01:29:30 -07:00
Alexandre Bury
fb18ed8f99 Remove compatibility table from Readme
It was outdated and mildly useful.
TODO: update it and move to wiki.
2017-06-14 23:56:52 -07:00
Alexandre Bury
d11cbebf53 Update CONTRIBUTING.md 2017-06-14 23:55:11 -07:00
Alexandre Bury
c9a73f21ed Create CONTRIBUTING.md 2017-06-14 16:45:20 -07:00
Alexandre Bury
19f87076f9 Use 256 color pairs in pancurses 2017-06-14 00:59:17 -07:00
Alexandre Bury
dad0016759 Merge branch 'custom_color' 2017-06-14 00:44:57 -07:00
Alexandre Bury
e4464cb44d Merge remote-tracking branch 'origin/master' into custom_color 2017-06-14 00:44:04 -07:00
Alexandre Bury
9089d9fd88 Cleaner colors example 2017-06-14 00:43:03 -07:00
Alexandre Bury
7a7ccbf45c Add colors example 2017-06-14 00:08:58 -07:00
Alexandre Bury
88d3d81e88 Use pancurses::chtype directly 2017-06-13 23:49:55 -07:00
Alexandre Bury
2cdf546455 Fix pancurses backend 2017-06-13 23:30:55 -07:00
Alexandre Bury
98be066b4d Don't re-apply current color 2017-06-12 23:51:41 -07:00
Alexandre Bury
dea07d29cf Give the background color to the clear method. 2017-06-12 23:29:26 -07:00
Alexandre Bury
059812f427 Update termion backend 2017-06-12 18:31:08 -07:00
Alexandre Bury
9f5ce65e34 Fix doc comment 2017-06-12 18:03:52 -07:00
Alexandre Bury
93b5421f53 Rename KeyEventView to OnEventView 2017-06-12 16:39:20 -07:00
Alexandre Bury
6fa062775b Add non-chainable methods to MenuPopup 2017-06-12 16:39:20 -07:00
Alexandre Bury
5c42a59954 Refactor colors management
Do not register pairs with backend. Let backend cache color pairs if
needed.
2017-06-12 11:59:33 -07:00
Alexandre Bury
9e1a83f7cc Set up Custom color in termion and ncurses backends 2017-06-11 15:01:35 -07:00
Alexandre Bury
900bdfea58 Reset running = true in Cursive::run
This allows to start another loop after quitting the first time.
2017-06-08 15:02:00 -07:00
Alexandre Bury
ffe5b57749 Add ListView::is_empty 2017-06-08 09:41:53 -07:00
Alexandre Bury
cba8d53cf2 Update Readme.md 2017-06-06 11:16:17 -07:00
Alexandre Bury
bdc49a558f Remove unused warning for println_stderr macro. 2017-06-05 20:41:01 -07:00
Alexandre Bury
1d12b755a7 Link dialog screenshot to example 2017-05-24 18:40:21 -07:00
Alexandre Bury
cbe37172b5 pancurses: set ESCDELAY after initializing screen 2017-05-23 15:25:52 -07:00
Alexandre Bury
db0398ec81 ncurses: specify ESCDELAY after setting locale
Otherwise the locale change is ignored on some systems
2017-05-23 15:22:18 -07:00
Alexandre Bury
d031d3784a Add methods to access ListView's children 2017-05-21 09:50:16 -07:00
Alexandre Bury
f608073bf5 Add Button::set_callback 2017-05-19 11:12:45 -07:00
Alexandre Bury
0046443bab Bump version to 0.5.1 2017-05-15 19:31:16 -07:00
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