Commit Graph

5985 Commits

Author SHA1 Message Date
joseLuís
f8747ea3e9 [rust] add example for issue #1832 2021-06-27 16:33:03 +02:00
joseLuís
504dcaad59 [rust] remove NcSignalSet
- hopefully solved the remaining bug of #1339
2021-06-27 15:16:02 +02:00
nick black
4aeab4e987
No ASU on Linux, no cursor_hack
Pull out the dreadful 'cursor_hack' code that was
used for MLterm. If you send DECSDM the way MLterm
wants it, you don't have the problem of the cursor
becoming visible whenever you draw a Sixel. We send
it as expected now, so that's all good.

On the Linux console, we were using an uninitialized
variable for ASU detection. This has been remedied.
2021-06-27 09:12:53 -04:00
joseLuís
adc1447778 [rust] add ncplane_scrolling_p & NcPlane.scrolling 2021-06-27 15:06:28 +02:00
nick black
865dd0b251
README: fix up email link 2021-06-27 08:14:30 -04:00
nick black
e2c4de2515
make ubuntu tests label fit in the shield 2021-06-27 08:12:14 -04:00
nick black
cbd3483010
fix up DenyControlASCII test to admit NUL 2021-06-27 07:58:04 -04:00
nick black
6ba67a6f21
accept NULs in is_control_egc(), fixing notcurses-input 2021-06-27 07:52:33 -04:00
nick black
490c89f694 add ncplane_scrolling_p() #1841 2021-06-27 07:38:40 -04:00
nick black
b185e2528c get ResizeAndRotateFromMemory working sans leaks/breakage #1800 2021-06-27 07:38:40 -04:00
nick black
4c61a48d5a interp PoC: print labels 2021-06-27 07:38:40 -04:00
nick black
81df2dc323 rotate PoC: run faster #1800 2021-06-27 07:38:40 -04:00
nick black
42bb520445 ffmpeg_blit: don't assign data in details_seed 2021-06-27 07:38:40 -04:00
nick black
1b32823e42 bulk up ResizeThenRotateFromFile test 2021-06-27 07:38:40 -04:00
nick black
cbc9a6ce6e rotate_visual: throw in some diagnostics 2021-06-27 07:38:40 -04:00
nick black
3896b7f50b allow add_*_escapes() to be called multiple times 2021-06-27 07:38:40 -04:00
nick black
95a4511045 drop ownership in ffmpeg routines #1800 2021-06-27 07:38:40 -04:00
nick black
64abad918e
fix up LayoutLeadingSpaces test not to send tabs 2021-06-27 07:17:56 -04:00
joseLuís
c69c14e5be [rust] keep on solving multiple architecture bugs #1339
- fix notcurses_debug test on s390x & ppc64le.
- fix NcChannels parameters for NcPlane methods gradient & gradient_sized.
- fix ncplane_gradient & ncplane_gradient_sized on i686 & arm7hl by reimplementing them as a thin wrapper.
- fix ncdirect_hline_interp & ncdirect_vline_interp on i686 & arm7hl by reimplementing them as a thin wrapper.
- fix some docs & do some minimal refactoring.
2021-06-27 13:12:26 +02:00
nick black
7361683d3b
deny control characters in cells and plane emissions #1840 2021-06-27 03:16:24 -04:00
nick black
afffc96508 add compare_versions, don't use C=1 with kitty < 0.20.0 2021-06-27 01:37:51 -04:00
nick black
42fee43cf2 only set pixel_cursor_hack if cursor is hidden 2021-06-27 01:37:51 -04:00
nick black
f6f3d633ae ffmpeg: don't stick new data in details #1800 2021-06-27 01:37:51 -04:00
nick black
6aee702291
honor LINES/COLUMNS if TIOCGWINSZ fails #1826 2021-06-26 22:30:51 -04:00
nick black
81ee3a8d95
ncvisual_rotate: no need to force rgba explicitly #1800 2021-06-26 21:54:16 -04:00
nick black
e32ae497d2
unit test for rotate+resize+render #1800 2021-06-26 21:52:39 -04:00
nick black
afbdee5ae5
extract build_supported_styles() into its own function 2021-06-26 21:52:39 -04:00
nick black
5d92bcb69b find readline properly on freebsd 2021-06-26 22:20:16 -03:00
nick black
23b19581e8 fix up freebsd11 build (dump getrandom(2)) 2021-06-26 21:51:22 -03:00
nick black
e287187108
fix up is_linux_console() for non-linux builds 2021-06-26 20:49:09 -04:00
nick black
a16cd3be31
rotate PoCPP was basically a PoC, move to src/poc/ #1800 2021-06-26 20:28:54 -04:00
nick black
68e498a583
ncls: disable cursor 2021-06-26 20:21:20 -04:00
nick black
e813e3abe4
ncls: default to NCBLIT_PIXEL #1835 2021-06-26 20:17:37 -04:00
nick black
845ab5cdf9
Fix 'Name' fields in pkgconfig files 2021-06-26 18:27:28 -04:00
nick black
88a369e997
[normal] don't run without utf8 2021-06-26 18:08:46 -04:00
joseLuís
0760223fb5 [rust] add NCOPTION_PRESERVE_CURSOR 2021-06-26 12:50:32 +02:00
joseLuís
8cc32fd065 [rust] bring back NCSTYLE_BLINK 2021-06-26 12:42:07 +02:00
joseLuís
cadca69138 [rust] fix the NcEgc mess.
- An `EGC` is an UTF-8 string of length 1, not a unicode code point (char).
- remove the `NcEgc` type and use `&str` and `String`, instead (for now).
- update some docs.
- rustfmt.
2021-06-26 12:33:04 +02:00
nick black
dc6f697995
interp PoC: less debugging cruft 2021-06-26 04:26:19 -04:00
nick black
8fe8e35efe
set quadrants for linux console only if we reprogrammed the font, or found them 2021-06-26 03:43:31 -04:00
nick black
5c0f06eaf3
[outro] make it work in ascii 2021-06-26 03:32:43 -04:00
nick black
ed89e4f9c9
stop using sgr entirely #1818 2021-06-26 02:03:54 -04:00
nick black
8c37c56d29
colorize supported vs non-supported caps in notcurses-info 2021-06-26 02:03:34 -04:00
nick black
aa716d6814
add NCSTYLE_BLINK back to documentation #1818 2021-06-26 01:16:02 -04:00
nick black
9973788efb
restore NCSTYLE_BLINK for now, add 25m to turn it off #1818 2021-06-26 01:14:13 -04:00
nick black
8a265920b7
unify style backends for direct+rendered modes #1818 2021-06-26 00:46:26 -04:00
nick black
5c4e8f8536
new coerce_styles to replace term_setstyles
Add new internal function coerce_styles(). This only,
and explicitly, attempts to work on UNDERLINE, BOLD, ITALICS,
STRUCK, and UNDERCURL. It does not use sgr0, eliminating the
need to recover colors on a style change. It furthermore fixes
a bug when undercurl and underline changed at the same time.
Finally, it is written in a way suitable for calling from
ncdirect, meaning we can eliminate the duplicated code
therein (its own copy of term_setstyles()) #1818.
2021-06-26 00:23:45 -04:00
nick black
5377197600
notcurses-info: colorize sextants, quadrants, halfblocks 2021-06-26 00:21:01 -04:00
nick black
63271e5f54
add ESCAPE_NOBOLD (sgr22) to avoid sgr0 #1818 2021-06-26 00:20:43 -04:00
nick black
8cb70a30bb
ncdirect: send sgr0 and sgr to the same FILE, kill DIM/REVERSE #1818 2021-06-25 23:44:32 -04:00