Commit Graph

3925 Commits

Author SHA1 Message Date
nick black
7ab2bddde7
notcurses-tester: no alternate screen 2020-12-31 00:32:47 -05:00
nick black
5c3818b103
notcurses-demo.1: use proper pandoc syntax 2020-12-30 22:42:18 -05:00
nick black
84d6d0fae2
mention notcurses-demo geometry requirements 2020-12-30 22:37:07 -05:00
joseLuís
8c29276c70 rust: improve some comments 2020-12-31 03:56:36 +01:00
nick black
99f04fd7e3
correct title for notcurses_progbar.3 link in index.html 2020-12-30 21:45:12 -05:00
joseLuís
5e7bf86b9c rust: almost complete poc-menu example, still has bugs.
- add NcMenuSection::new_separator() constructor.
- rename constructor method for an empty NcInput to new();
- fix notcurses_getc_blocking() function name and error logic.
- improve comments.
- change type of NCMENU_OPTION_* to u64 (like in C API)
- fix error_str![] macro.
- improve error messages.
2020-12-31 00:11:49 +01:00
joseLuís
31e7305ce8 rust: start improving errors reporting.
- refactor error![] macro, switch place for $msg & $ok parameters.
- add more meaningful NcError return values in several functions related with poc-menu example, for starters.
- the poc-menu example now doesn't randomly fail, IDKW but OK I guess.
- minor unrelated corrections.
2020-12-30 19:11:55 +01:00
joseLuís
8e5e60f588 rust: Continue with poc-menu example.
- add NcPlane.pustr_aligned() method.
- disable notcurses_stddim_yx* functions & methods for now.
- make input argument optional for notcurses_getc_nblocking().
- update full-basics example.
- fix comments.
2020-12-30 18:40:54 +01:00
nick black
e522429dfb
direct: reorder declarations to please freebsd 2020-12-30 10:58:02 -05:00
nick black
f471ab15df
update copyrights for 2021, ho humm 2020-12-30 03:41:58 -05:00
nick black
449455cf4b
microoptimize channels_blend() top half #1262 2020-12-30 01:59:58 -05:00
nick black
7e9dc0d23b
trim README a bit 2020-12-30 01:06:51 -05:00
nick black
8e4158a817
inline postpaint_cell into raster #1262 2020-12-29 23:33:31 -05:00
joseLuís
624bee6d71 rust: add most NcCell methods
- add & fix comments.
- add methods links.
2020-12-30 00:48:09 +01:00
nick black
279d9a7f43
ncls.1 man page: mention --help 2020-12-29 03:13:25 -05:00
nick black
23d3e03386
ncls: handle --help option 2020-12-29 03:13:25 -05:00
joseLuís
7b4c105fdf rust: finish updating rust for ncdirect changes
- update function and method names.
- update intra-doc links.
- update examples.
2020-12-29 02:56:01 +01:00
nick black
a7b131a11c
update rust for ncdirect changes 2020-12-28 20:15:26 -05:00
nick black
05b318e487
cffi: sync to new ncdirect functions 2020-12-28 20:05:20 -05:00
nick black
c3557dc56a
drone: use new ubuntu builder 2020-12-28 20:01:43 -05:00
nick black
eb64ce090d
cffi: sync to new ncdirect functions 2020-12-28 19:58:22 -05:00
nick black
f78fadc356
drone: use es_ES on ubuntu for madlad decimal separator testing 2020-12-28 19:53:03 -05:00
nick black
69e329d328
BigMult unit tests: fix for non-'.' decseps 2020-12-28 14:23:32 -05:00
nick black
7e20a25482
ncdirect_*_palindex -> ncdirect_set_*_palindex #1261 2020-12-28 13:57:13 -05:00
nick black
f1253560ad
ncdirect: set_ on rgb functions #1261 2020-12-28 13:52:58 -05:00
nick black
5d99b440e7
Merge branch 'master' of github.com:dankamongmen/notcurses 2020-12-28 13:38:10 -05:00
nick black
76d8e2dfce
ncdirect_{fg, bg}_default() -> ncdirect_set_{fg, bg}_default() #1261 2020-12-28 13:38:05 -05:00
joseLuís
ff2a22a9a9 rust: Finish adding NcChannel* methods.
- make channels_set[f|b]g_rgb() functions (and corresponding methods) return the NcChannelPair, taking advantage of the fact that those functions can't fail in Rust.
- documentation fixes.
- fix NCSCALE definition typo.
2020-12-28 17:59:27 +01:00
nick black
713498efc5
syntax error in notcurses_input.3 2020-12-28 09:45:33 -05:00
nick black
e6d1cbb2b4
clean up notcurses_input.3 2020-12-28 09:44:44 -05:00
nick black
0fb8427fca
notcurses-demo.1: better mojibake description 2020-12-28 09:40:07 -05:00
nick black
5cf546b84f
notcurses-demo.1: add Alt+d and P commands 2020-12-28 09:38:49 -05:00
nick black
6a969e1f52
Merge branch 'master' of github.com:dankamongmen/notcurses 2020-12-28 09:36:06 -05:00
nick black
c62b0d3aa1
finish sentence in notcurses-demo man page 2020-12-28 09:35:56 -05:00
joseLuís
b6c84cfce2 rust: more 2.1.2 catch-ups
- deprecate old ncdirect_style_* functions.
- add `NCSCALE_*_HIRES` constants.
- BONUS: update ncdirect_raster_frame, removed parameters.
2020-12-28 13:47:44 +01:00
nick black
58bc9bd3bc
fix up writeout stats, report in shutdown banner 2020-12-28 04:50:20 -05:00
nick black
0e8faed3f5
ncneofetch: check LOGO field in /etc/os-release #1246 2020-12-28 03:54:38 -05:00
nick black
638dde7657
remove unnecessary args from ncdirect_raster_frame() #1248 2020-12-28 02:41:22 -05:00
nick black
1d8fcbb5e4
ncdirect: styles{set, on, off} -> _styles #1247 2020-12-28 02:21:37 -05:00
nick black
66349ecbd0
progress bar unit tests: skip non-utf8 2020-12-28 02:01:54 -05:00
nick black
1c4d942cfc DualCell{Left, Right} unit tests #1258 2020-12-28 01:58:54 -05:00
nick black
f608df2af8 progbar PoC: call through on 1 #1258 2020-12-28 01:58:54 -05:00
nick black
8824495924 uniblock demo: properly set progress 2020-12-28 01:58:54 -05:00
nick black
f729d855f9 complete SingleCellDown/SingleCellUp tests #1258 2020-12-28 01:58:54 -05:00
nick black
cd8dd4232c Progress bar unit test SingleCellUp #1258 2020-12-28 01:58:54 -05:00
nick black
b0c6f697e0
yield: render in pfill loop so we never look locked up 2020-12-28 00:54:44 -05:00
nick black
68f5ea711e
demo: move HUD over by 2, don't block legend 2020-12-28 00:46:30 -05:00
nick black
0ef4c63e17
remove redundant OTHER template #1251 2020-12-27 23:58:17 -05:00
nick black
dad7a02b25
add test file for progressbars #1258 2020-12-27 23:36:24 -05:00
nick black
f22ddfa72f
progbar: don't overrun on 1.0 #1257 2020-12-27 21:07:33 -05:00