Commit Graph

3772 Commits

Author SHA1 Message Date
nick black
4fabba6789
s/reception/receipt/ 2020-12-16 18:22:12 -05:00
nick black
2d07bbee59
Merge branch 'master' of github.com:dankamongmen/notcurses 2020-12-16 17:42:11 -05:00
nick black
d6d5757b1d
v2.1.1 2020-12-16 17:42:06 -05:00
joseLuís
e778cc38e4 show rustc version in drone 2020-12-16 23:33:03 +01:00
joseLuís
4cca3ddd48 rust: working on input
- make char: all NCKEY_* constants.
- make const fn: nckey_mouse_p, ncinput_equal_p & NcInput::new.
- make rsleep!() return the notcurses_render() result.
- new Notcurses constructor with_flags().
- new example: full-input.rs.
- fix comments.
2020-12-16 23:15:29 +01:00
Nick Black
1bdd2d0555
Progress bar polishing (#1219)
Progress bars now support four 32-bit channels in ncprogbar_options, and uses them to color a gradient. The redraw procedure has been changed from O(n) to O(1). ASCII progress bars have been repaired. Closes #1213.
2020-12-16 16:48:10 -05:00
nick black
45a7458553
grotesque 2020-12-16 10:58:36 -05:00
nick black
94d4f7a04a
Merge branch 'master' of github.com:dankamongmen/notcurses 2020-12-16 07:24:01 -05:00
nick black
243b8bd4d4
uniblock: scrub all legend residue 2020-12-16 07:23:48 -05:00
Nick Black
db77e19795
drone: alpine builder (#1217)
* drone: add alpine-edge builder #1216. ffmpeg, no qrcodegen, no pandoc
2020-12-16 07:04:42 -05:00
nick black
45d0ca54e9
add SetStruck directmode test 2020-12-16 06:46:54 -05:00
nick black
35cb5d9511
GrowPlanes tests: use valid arguments #1215 2020-12-16 06:40:43 -05:00
nick black
7b4f978256
ncplane_resize_internal: disallow bad keepy/keepx #1215 2020-12-16 06:40:25 -05:00
nick black
66150c1f42
ncplane_resize_internal: reject keep > len #1215 2020-12-16 06:04:28 -05:00
nick black
a0c722ff0d
notcurses_nccell.3 -> notcurses_cell.3 2020-12-16 05:40:14 -05:00
nick black
913373c27e
ncplane_reparent: update boundto in non-root case #1214 2020-12-16 03:22:13 -05:00
nick black
bcbf7a490f
add ReparentDeep unit test #1214 2020-12-16 03:21:46 -05:00
nick black
f83bdab99c
progress bars: full resolution for retrograde #1210 2020-12-16 02:53:24 -05:00
nick black
a598c706db
Correctly splice children of reparented root plane
Tremendous thanks to @kaniini, @Ikke and everyone else over
at Alpine Linux for helping to chase this down. I blundered
in ncplane_reparent() when reparenting a root plane with
children (the children need to come into the root plane
list). This will hopefully fix our amd64 failures on Alpine
since late 2.0.x. Closes #1197.
2020-12-16 02:17:28 -05:00
Ariadne Conill
b49ac58d3e cope with situations where /dev/tty is not actually a TTY
this can happen in situations where a child process is not running in a
session group associated with a TTY, such as on a build server.
2020-12-15 22:07:27 -05:00
nick black
66bd8c9769
pull model.png out of index.html 2020-12-15 05:14:17 -05:00
nick black
f2cbfff8d9
demo: remove meaningless average r%/w% 2020-12-15 05:11:50 -05:00
nick black
8ec6d2e6fc
progbars: full resolution, fix vert inversion #1210 2020-12-15 04:23:37 -05:00
nick black
2ff20108c8
force LTR override on UC_BIDI_AL #1204 2020-12-15 03:26:14 -05:00
nick black
1bbbdd9dc0
annotate many functions with ((nonnull)) 2020-12-14 22:24:37 -05:00
nick black
f7d55e8fa8
allglyph demo: add two fat vertical progress bars 2020-12-14 15:39:57 -05:00
nick black
6b859b6a32
ncls: add --align argument #1195 2020-12-14 13:58:15 -05:00
nick black
ee9ed23e04
uniblock: fixed-width progress bar to better show off smooth fill #1209 2020-12-14 13:43:57 -05:00
nick black
5036e655cb
ASCII fallback for progress bar #1209 2020-12-14 13:41:55 -05:00
nick black
fb38818667
progbar: cover all dependent regions #1209 2020-12-13 12:27:15 -05:00
nick black
91431f84d9
progress bars: 8x resolution #1209 2020-12-13 12:07:12 -05:00
nick black
d5574cab9a
restructure progbar logic to prep for highres #1209 2020-12-13 11:34:19 -05:00
nick black
4984903d61
intro: better use of flipmode bar 2020-12-13 11:00:56 -05:00
nick black
ca547bc521
progbar: get vertical progbars working #1209 2020-12-13 10:56:34 -05:00
nick black
cd3fd17174
uniblock demo: add a progress bar #1151 2020-12-13 10:26:51 -05:00
nick black
827d758c19 properly color progbar #1202 2020-12-13 09:12:08 -05:00
nick black
d56ea8b5e7 progbar: remove egcs options 2020-12-13 09:12:08 -05:00
nick black
c3b5069eae progbar PoC: use retrograde #1202 2020-12-13 09:12:08 -05:00
nick black
82ffac8eed remove ncprogbar locking options #1202 2020-12-13 09:12:08 -05:00
nick black
e37540c76e ncprogbar: implement core draw loop #1202 2020-12-13 09:12:08 -05:00
nick black
08b2d38721 progbar: directions + channels 2020-12-13 09:12:08 -05:00
nick black
ff798e69e9 progbar PoC: finish up 2020-12-13 09:12:08 -05:00
nick black
1d74979718 progbar core / poc #1202 2020-12-13 09:12:08 -05:00
nick black
6bff720122 initial API + documentation for ncprogbar #1202 2020-12-13 09:12:08 -05:00
nick black
be3bd474f6
model.dot: simplify 2020-12-13 06:01:12 -05:00
nick black
520ce356b0
add 2.1.0 to history 2020-12-13 03:24:20 -05:00
nick black
6edafd1f84
v2.1.0 2020-12-13 03:04:23 -05:00
nick black
11efb0f98f
selector: no NULL deref on error path 2020-12-13 03:00:35 -05:00
nick black
97c2d53abf
notcurses-view: remove unused variable 'gotinput' 2020-12-13 02:55:17 -05:00
nick black
ea131b9b11
scan-build: remove unused stores 2020-12-13 02:50:12 -05:00