Commit Graph

5130 Commits

Author SHA1 Message Date
nick black
4f5a8480c0 document new option NCVISUAL_OPTION_CHILDPLANE #1603 2021-05-04 19:08:55 -04:00
nick black
4283fc038d
[textplay] work for arbitrary UTF-8 input 2021-05-04 18:00:26 -04:00
nick black
1a3df54ab9
release.sh: properly mangle index.html 2021-05-04 10:42:03 -04:00
joseLuís
6966cd78b5 [rust] more channels refactor
- make ncplane_set_channels and NcPlane::set_channels don't return the NcChannelPair
- add safe function wrapper for ncplane_channels
- fix docs
2021-05-04 00:42:12 +02:00
joseLuís
d886e01fea [rust] refactor channels
- rename channel* functions to ncchannel*
- rename NcPlane methods:
  - fg_default_p to fg_default
  - bg_default_p to bg_default
- new functions:
  - ncplane_set_default
  - ncplane_set_not_default
  - ncplane_set_fg_not_default
  - ncplane_set_bg_not_default
- new NcPlane methods:
  - set_channels
  - set_default
  - set_not_default
  - set_fg_not_default
  - set_bg_not_default
- new safe wrapper functions:
  - ncplane_set_fchannel
  - ncplane_set_bchannel
  - ncplane_set_channels
2021-05-04 00:26:18 +02:00
joseLuís
e9a841954d [rust] more functions to manage the "default color"
- new functions:
  - channel_set_not_default
  - channels_set_fg_not_default
  - channels_set_bg_not_default
  - channels_set_default
  - channels_set_not_default
- new NcChannel methods:
  - set_not_default
- new NcChannelPair methods:
  - set_fg_not_default
  - set_bg_not_default
  - set_default
  - set_not_default
- improve the test of: channel_set_default
- add tests for:
  - channel_set
  - channel_set_not_default
- add doc comments to existing NcChannel reimplemented functions tests.
2021-05-03 19:25:05 +02:00
joseLuís
dcfb368b21 [rust] remove example for issue #1575; fix warning
- delete file issue-1573.rs (wrongly named)
- fix warning in example issue-1559
2021-05-03 18:22:04 +02:00
nick black
923bc40516
v2.2.9 2021-05-03 02:51:04 -04:00
nick black
9a5b719627
ncvisual_set_data: handle incoming data equivalent to existing data 2021-05-03 02:48:44 -04:00
nick black
584f394071
[ncplayer] block SIGWINCH from the beginning #1624 2021-05-03 02:19:13 -04:00
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