Commit Graph

5602 Commits

Author SHA1 Message Date
joseLuís
48876b42fb [rust] rename several constructor methods
For semantic consistency with the Rust API guidelines.

- rename most `NcChannel` & `NcCell` methods starting with `with_`* to `from_`*.
- update examples.
2021-06-16 20:39:35 +02:00
joseLuís
4c0268997c [rust] rename NcColor to NcComponent.
- fix docs.
2021-06-16 20:26:36 +02:00
joseLuís
2ba4777443 [rust] rename NCCELL_* constants to NCALPHA_*
- move `NCALPHA_`* constants to the channel module where `NcAlphaBits`
is defined.
- fix several docs and doclinks.
- rustfmt.
2021-06-16 19:16:09 +02:00
nick black
9950d71e89
handle weird contour reply to CSI 11 #1780 2021-06-16 09:51:48 -04:00
nick black
7d0375f8e0
don't put on airs, "Colors" 2021-06-16 05:55:38 -04:00
nick black
8de306a899
more crap for notcurses_debug_caps() 2021-06-16 05:54:36 -04:00
nick black
f8ca942d84 term_bg_rgb8: fix longstanding FIXME now that we detect the bg #1292 2021-06-16 05:42:21 -04:00
nick black
302d69289a [termdesc] parse a 8-bit rgb spec preferentially, to get foot working #1292 2021-06-16 05:42:21 -04:00
nick black
5f130b407d CSI_BGQ: four slashes too many, whoops #1292 2021-06-16 05:42:21 -04:00
nick black
c814ee6137 [termdesc] parse bg query reply, set up bg_collides_default #1292 2021-06-16 05:42:21 -04:00
nick black
15cda99d88 sent background query along with our other initial queries #1292 2021-06-16 05:42:21 -04:00
nick black
dd9e3e673b
notcurses_debug_caps(): better utilize space 2021-06-16 02:57:27 -04:00
nick black
38bb8bd3b7
'at least a', not 'at least an' 2021-06-16 01:01:49 -04:00
nick black
44b398cac7
poll.h, not sys/poll.h 2021-06-15 23:44:03 -04:00
nick black
476ebe5533
tie warning about no multimedia to linking with null implementation #1771 2021-06-15 23:39:44 -04:00
nick black
3cf971ac67 update ncvisual_plane.3 for ncplane_as_rgba() #1441 2021-06-15 22:33:20 -04:00
nick black
0d963f17a9 ncplane_rgba: extend coverage to braille #1441 2021-06-15 22:33:20 -04:00
nick black
68af28f25e start in on braille reverse 2021-06-15 22:33:20 -04:00
joseLuís
bcd09be7d3 [rust] deprecate Notcurses use and rename it to Nc.
In order to be consistent with the rest of the naming scheme, and in order to avoid conflicts with the higher level rust wrappers, which will be using `Notcurses` for the wrapper struct from now on.

- also deprecate `NotcursesOptions` and rename it to `NcOptions`.
- update examples, docs and readme.
2021-06-15 21:00:52 +02:00
nick black
9ee120dfa2
elaborate documentation for notcurses_refresh #1769 2021-06-15 14:01:49 -04:00
joseLuís
d07071246b [rust] update docs
- add more NcPlane docs.
- minor fixes.
2021-06-15 19:20:16 +02:00
joseLuís
e95f540c02 [rust] rename NcStyleMask to NcStyle 2021-06-15 18:22:48 +02:00
nick black
80b7391d96
remove NEWS claim that notcurses_check_pixel_support() is going away #1766 2021-06-15 11:52:20 -04:00
joseLuís
85cfca8df8 make check_pixel_support require a const reference
- fix rust bindings
- related #1766
2021-06-15 13:08:00 +02:00
joseLuís
e14f77433f [rust]
- improve docs.
- fix some doclinks.
2021-06-15 13:06:13 +02:00
nick black
d50792a899
more detail in NEWS for terminal queries #1751 2021-06-14 18:56:38 -04:00
nick black
9cbcc6c273 init: pipe detected terminal through to heuristics #1761 2021-06-14 18:39:45 -04:00
nick black
c13c613f32 no debugging cruft during init 2021-06-14 18:39:45 -04:00
nick black
966b2bc5ec extract WezTerm from interrogations 2021-06-14 18:39:45 -04:00
nick black
412bd7450b FOOT: match post-decode #1761 2021-06-14 18:39:45 -04:00
nick black
b44f17f4ad extract terminal query responses #1761 2021-06-14 18:39:45 -04:00
nick black
1c6fae3403 term interrogation: extract strings #1761 2021-06-14 18:39:45 -04:00
nick black
cf09c65e3c queried_terminal enumeration #1761 2021-06-14 18:39:45 -04:00
joseLuís
48c85d5220 [rust] rustfmt; fix docs 2021-06-15 00:36:39 +02:00
nick black
a163eeb2d7
until #1726 is fixed, no quadrants in linux console 2021-06-14 03:07:25 -04:00
nick black
dae208b4c5
ugh, dumb error in control_read() led to iterated reads 2021-06-14 02:59:25 -04:00
nick black
03d1e4fb5a
get u7 from terminfo rather than hardcoding it 2021-06-13 20:00:43 -04:00
nick black
6d68e3c0cd
reference tack(1) in notcurses-{input,info}(1) 2021-06-13 19:46:40 -04:00
nick black
0d7a5a5ef8 remove the majority of notcurses_check_pixel_support() calls #1469 2021-06-13 18:21:14 -04:00
nick black
ca4a1c7fd8 roll back wayward sed on rust 2021-06-13 18:21:14 -04:00
nick black
309d211cde termdesc: only bounce back to cbreak if fd >= 0 #1469 2021-06-13 18:21:14 -04:00
nick black
288381d5b9 ncinputlayer_init: only read responses on a tty #1469 2021-06-13 18:21:14 -04:00
nick black
be1356d213 termdesc: use cbreak mode until interrogation is complete #1469 2021-06-13 18:21:14 -04:00
nick black
73019e097f debug_caps: elide meaningless max sixel when 0 2021-06-13 18:21:14 -04:00
nick black
7381356594 check for sixel_maxy before clamping; fixes MLTerm sixel 2021-06-13 18:21:14 -04:00
nick black
56c58c41f9 removed accursed alacritty_sixel_hack, hurrah! 2021-06-13 18:21:14 -04:00
nick black
0574a3a479 hook up sixel discovery through new one-shot query #1469 2021-06-13 18:21:14 -04:00
nick black
5fcce3d8b7 init vtmachine: extract numeric arguments for sixel #1469 2021-06-13 18:21:14 -04:00
nick black
398ebca5fd extract XTVERSION, drain XTSMGRAPHICS on failure #1469 2021-06-13 18:21:14 -04:00
nick black
c0b724e140 add STATE_XTVERSION{1,2}, recognize ST to terminate #1469 2021-06-13 18:21:14 -04:00