Commit Graph

5320 Commits

Author SHA1 Message Date
nick black
af093d397c
[directmode] don't leak sprixel after printing 2021-05-03 02:05:46 -04:00
nick black
172b9adfab
kitty graphics nonce space is 24 bits only #1578 2021-05-03 01:46:52 -04:00
nick black
a19e6a52de
Use different kitty nonces for different runs
If we always start with kitty graphics id 1, successive
runs of ncplayer -bpixel -k will erase any previously-
printed graphics. Initialize it with random() in
sprite_init(). Break graphics erasure out from sprite_init()
into new interface sprite_clear_all(), defined only for kitty.
The latter is now guarded by NCOPTION_NO_CLEAR_BITMAPS.
Closes #1578.
2021-05-03 01:42:31 -04:00
nick black
a2b5a6dc03
[xray] tighten cleanup a bit 2021-05-03 01:13:31 -04:00
nick black
87f5952ace restore av_frame_free() 2021-05-03 00:32:25 -04:00
nick black
95f8023d04 drop stdio.h from visual-details.h 2021-05-03 00:32:25 -04:00
nick black
0f018c2fc4 [ffmpeg] don't double-free 2021-05-03 00:32:25 -04:00
nick black
15fa0345bd [ffmpeg] eliminate the despised oframe #1594 2021-05-03 00:32:25 -04:00
nick black
75d0549250 [intro] use a plane rather than ncvisual_resize() 2021-05-03 00:32:25 -04:00
nick black
dcef593670 [ffmpeg] properly seed following rotation #1594 2021-05-03 00:32:25 -04:00
nick black
3dd8f24937
[sixel] must use P2=1 if we added transparent rows #1560 2021-05-02 20:48:11 -04:00
nick black
629a16ca69 bounce onwards, with scaling #1560 2021-05-02 20:20:05 -04:00
nick black
c02467bb84 direct: bounce, bounce, bounce somewhere else #1560 2021-05-02 20:20:05 -04:00
nick black
f19368c61f oiio: fix header 2021-05-02 20:20:05 -04:00
nick black
297617a12e better color on demo postchecks 2021-05-02 20:20:05 -04:00
nick black
2375f48789 ncvisual_blit: chop out leny/lenx args for now #1560 2021-05-02 20:20:05 -04:00
nick black
252608b0cc write_sixel: write output geometry to sixel escape #1560 2021-05-02 20:20:05 -04:00
nick black
6627c9c3d3 direct: adapt pixel blitting to the New Way #1560 2021-05-02 20:20:05 -04:00
nick black
707d3634eb sprixel_load: guard against bad args #1560 2021-05-02 20:20:05 -04:00
nick black
2e444a7a23 bitmap unit tests: adapt to proper sixel scaling #1560 2021-05-02 20:20:05 -04:00
nick black
36c2eef914 render_pixel: use output geometry where applicable #1560 2021-05-02 20:20:05 -04:00
nick black
00782a0ee7 sixel: use output geometry #1560 2021-05-02 20:20:05 -04:00
nick black
52828cff07 plane_blit_sprixel: eliminate unnecessary length checks #1560 2021-05-02 20:20:05 -04:00
nick black
16d54497fa bitmap unit tests: exercise resize to 1,1 #1594 2021-05-02 20:20:05 -04:00
nick black
5f51e15d7c sprixel_load: sanity-check pixel geometry #1560 2021-05-02 20:20:05 -04:00
nick black
fedcd94502 separate output from scaled geometry #1560 2021-05-02 20:20:05 -04:00
nick black
9c2aef0ff7 factor out make_sprixel_plane() #1560 2021-05-02 20:20:05 -04:00
nick black
6e75998cf2 ncvisual_render_pixels: rename disprows/dispcols -> disppixy/disppixx #1560 2021-05-02 20:20:05 -04:00
nick black
c8f4df9f15 HACKING: much ncvisual documentation 2021-05-02 20:20:05 -04:00
nick black
e3d4bffd28
demo: no newline chars in diags, stupid asshole #1622 2021-05-02 03:47:31 -04:00
nick black
f4e4806ed9 intro: reduce highgradient area #1622 2021-05-02 03:35:29 -04:00
nick black
5b84197321 kitty: calculate damage out properly #1618 2021-05-02 03:35:29 -04:00
nick black
a6501057c5
demo: spruce up pixel/mosue checks a bit 2021-05-02 03:15:09 -04:00
nick black
c2b865a31d
demo: print initialization strings within notcurses context 2021-05-02 01:30:20 -04:00
nick black
3c574b5866
remove placey/placex from pixel chain #1560 2021-05-02 01:01:37 -04:00
nick black
1242e06d23
fd tests: don't introduce c++ locks #1538 2021-05-01 22:20:58 -04:00
nick black
1218fbddf9
fd tests: move inline_cancelled out of file scope 2021-05-01 22:11:09 -04:00
nick black
5c85070345
ncsubproc_destroy: call pthread_mutex_destroy() #1538 2021-05-01 21:37:51 -04:00
nick black
076792bdb8 CMake: properly link in libunistring, fixing notcurses-tester link on bsd #1617 2021-05-01 21:25:58 -03:00
nick black
5b926d311c
egcpool unit tests: use nccell_width() throughout 2021-05-01 20:12:50 -04:00
nick black
8e0173cce3
cell unit tests: use nccell_width() 2021-05-01 20:04:46 -04:00
nick black
55837bcb55
add nccell_width() to avoid calling utf8_egc_len externally 2021-05-01 20:04:26 -04:00
nick black
1d99cc2628
CMake: verify presence of libunistring for linking 2021-05-01 19:51:20 -04:00
nick black
4a10801bb5
render: improve some diagnostics 2021-05-01 19:33:33 -04:00
nick black
c792b2e972
[demo] place hud down and in center 2021-05-01 18:59:31 -04:00
nick black
745cbfb41b
intro: animate following orca move, not before #1616 2021-05-01 18:43:07 -04:00
nick black
6944dd5bf8
sprixel: remove x/y fields, as we now shrink the plane to fit #1612 2021-05-01 17:37:48 -04:00
nick black
70357f7173
notcurses_init: bad signal registration is once again an error, huzzah 2021-05-01 17:35:03 -04:00
nick black
1f55d2e398
exception tests: explicitly stop context 2021-05-01 17:32:24 -04:00
nick black
fb1bc236b4
signals: improve diagnostics 2021-05-01 17:31:50 -04:00