Nick Black
730e9f69ec
Multithreaded ncls ( #1232 )
...
Thread out ncls to perform the media decode in different threads, in parallel. Only the display needs be locked. On a directory of 200 files on my 39070X, this speeds ncls from ~5s to ~1s. On 75 files, we go from ~.5s to ~.2s. On a single file, we lose about 5%. To facilitate this, ncdirect_render_image() has been split into two helpers, ncdirect_render_frame() and ncdirect_raster_frame().
4 years ago
nick black
d7fd7fa39e
ncdirect_render_image: save/restore colors #1230
4 years ago
nick black
bf3e3eb0b5
ncplane_at_cursor_cell: rewrite with ncplane_at_yx_cell()
4 years ago
nick black
1798e061e1
fallin': drop unused nccell c #1231
4 years ago
nick black
28b1a80433
ncplane_at_yx_cell: work directly with cell_duplicate() #1231
4 years ago
nick black
1b613591fe
ncmenu_create: missing newline on diagnostic
4 years ago
nick black
405b456428
disambiguate comment on ncdirect #1227
4 years ago
nick black
e43d127b42
ncdirect_render_image: reset colors after each line #1222
4 years ago
nick black
14778e4b71
ncdirect_dump_plane: always emit newline #1222
4 years ago
nick black
50d31e55a5
Merge branch 'master' of github.com:dankamongmen/notcurses
4 years ago
nick black
85b0a37154
ncdirect: retry fflush() on EAGAIN on all paths
4 years ago
nick black
0fb455f0ee
ncls: don't flush output after each line
4 years ago
joseLuís
2957893da9
rust: update cell tests; minor doc fix
4 years ago
nick black
ded14ac190
drone: kick fedora hard in the ass
4 years ago
nick black
0a021fce1c
drone: debian unstable uses 2020-12-17a
4 years ago
nick black
9b0f88f024
ncpile_drop(): reset stdplane's blist #1226
4 years ago
nick black
8fb8d55222
Merge branch 'master' of github.com:dankamongmen/notcurses
4 years ago
nick black
3226652936
reel demo: kill tablets on demo_render() exit #1225
4 years ago
joseLuís
7f175cf37c
rust: NcCell width-aware constructors #1203 #1205
4 years ago
nick black
2190b33421
drone: update to debian unstable 2020-12-16a builder, disable ubuntu #1220
4 years ago
nick black
8c5c9d8566
drone: update fedora builder to 2020-12-16a
4 years ago
joseLuís
04b10741d4
drone: build rust in debian and fedora #1220
4 years ago
nick black
4fabba6789
s/reception/receipt/
4 years ago
nick black
2d07bbee59
Merge branch 'master' of github.com:dankamongmen/notcurses
4 years ago
nick black
d6d5757b1d
v2.1.1
4 years ago
joseLuís
e778cc38e4
show rustc version in drone
4 years ago
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.
4 years ago
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 .
4 years ago
nick black
45a7458553
grotesque
4 years ago
nick black
94d4f7a04a
Merge branch 'master' of github.com:dankamongmen/notcurses
4 years ago
nick black
243b8bd4d4
uniblock: scrub all legend residue
4 years ago
Nick Black
db77e19795
drone: alpine builder ( #1217 )
...
* drone: add alpine-edge builder #1216 . ffmpeg, no qrcodegen, no pandoc
4 years ago
nick black
45d0ca54e9
add SetStruck directmode test
4 years ago
nick black
35cb5d9511
GrowPlanes tests: use valid arguments #1215
4 years ago
nick black
7b4f978256
ncplane_resize_internal: disallow bad keepy/keepx #1215
4 years ago
nick black
66150c1f42
ncplane_resize_internal: reject keep > len #1215
4 years ago
nick black
a0c722ff0d
notcurses_nccell.3 -> notcurses_cell.3
4 years ago
nick black
913373c27e
ncplane_reparent: update boundto in non-root case #1214
4 years ago
nick black
bcbf7a490f
add ReparentDeep unit test #1214
4 years ago
nick black
f83bdab99c
progress bars: full resolution for retrograde #1210
4 years ago
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 .
4 years ago
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.
4 years ago
nick black
66bd8c9769
pull model.png out of index.html
4 years ago
nick black
f2cbfff8d9
demo: remove meaningless average r%/w%
4 years ago
nick black
8ec6d2e6fc
progbars: full resolution, fix vert inversion #1210
4 years ago
nick black
2ff20108c8
force LTR override on UC_BIDI_AL #1204
4 years ago
nick black
1bbbdd9dc0
annotate many functions with ((nonnull))
4 years ago
nick black
f7d55e8fa8
allglyph demo: add two fat vertical progress bars
4 years ago
nick black
6b859b6a32
ncls: add --align argument #1195
4 years ago
nick black
ee9ed23e04
uniblock: fixed-width progress bar to better show off smooth fill #1209
4 years ago