Commit Graph

5803 Commits (e813e3abe4bbbfef8efb554050b57db2cc110317)
 

Author SHA1 Message Date
nick black d360cc1d1e ncvisual_from_rgb_{packed, loose}() #1767 3 years ago
joseLuís 4a16ccc78a [rust] temporary fix for bindgen warnings 3 years ago
joseLuís d38a63ca04 [rust] add NCDIRECT_OPTION[_VERY]_VERBOSE consts 3 years ago
nick black 67e2f016e8 README: tighten up top text 3 years ago
nick black cc99056826 use new logo 3 years ago
nick black 26752b109a README: link to notcurses III video 3 years ago
nick black c8dfa17485
Set up sane logging for direct mode
All our diagnostic macros required a struct notcurses from
which to extract the loglevel. Eliminate this parameter,
and update all caller sites. Add a library-wide (but not
exported) loglevel variable, and set it from both
notcurses_core_init() and ncdirect_core_init(). Add two
new direct mode flags, NCDIRECT_OPTION_VERBOSE and
NCDIRECT_OPTION_VERY_VERBOSE, mapping them to
NCLOGLEVEL_WARNING and NCLOGLEVEL_INFO respectively.
Closes #1690.
3 years ago
joseLuís 391c58e4ed [rust]
- add ncdirect_canget_cursor
- made ncplane_notcurses require a non-mutable reference.
3 years ago
nick black 9f8a00560c
README: break up badges 3 years ago
nick black 350f531a5a
sexblitter: honor nointerpolate throughout #1763 3 years ago
nick black 048f2f5e77
handle nointerpolate in transparent sexblitter cell #1763 3 years ago
nick black 29f0243cbf
quadblitter: no interpolation with NCVISUAL_OPTIONS_NOINTERPOLATE #1763 3 years ago
nick black bd633d697a
[rust] idiot 3 years ago
nick black b3ed98b686
rust: adapt to non-const ncdirect_get_{xy}() #1789 3 years ago
nick black 534000cadb
clamp sixel height in update_term_dimensions() so ncdirect gets it #1789 3 years ago
nick black 50a304bada
Avoid drawing sixel to the bottom row
Sixels, unlike Kitties, can't be drawn to the bottom row,
lest we scroll. We were properly guarding against creation
of a sixel that touched the bottom row when creating the
plane within ncvisual_blit(), but not when we were provided
with a plane. This used to be fine because ncplayer cut the
plane off less one row, but when we enabled the bottom row
for Kitties, this ceased. We don't want to expose this wart
to userspace, so instead clamp sixel_maxy based off the screen
height when appropriate. Closes #1789.

1789?!?! Liberté, Egalité, Fraternité!
3 years ago
nick black fc390da020 invert DECSDM for terminals with sprixel_cursor_hack set #1782 3 years ago
nick black 574eef2e28 need to call sprite_init() from setup_sixel_bitmaps() 3 years ago
nick black 5e16208801
remove garbage CursesStyles unit test #1791 3 years ago
nick black 3cb537c3fc
only list sgr styles as supported if we have sgr #1791 3 years ago
nick black 32c34b1782
ncdirect_style_emit: return 0 when no sgr is defined #1791 3 years ago
nick black ce2b89552a
direct cursor tests require ncdirect_canget_cursor() #1790 3 years ago
nick black c9a338e0fd
add ncdirect_canget_cursor() #1790 3 years ago
nick black b50bab7880 remove unused function get_p2 from sixel.c 3 years ago
nick black 0bfef5b0ef
constify arguments to ncplane_notcurses/ncplane_pile 3 years ago
joseLuís 8f234368d8 make `ncplane_pixelgeom` require a const reference 3 years ago
joseLuís 1ea663229a [rust] refactor NcDirect
- add missing method `cansextant`.
- rename several cursor functions for consistency.
- fix & update poc-direct example.
- update docs.
3 years ago
joseLuís e74e2e3f67 [rust] add NcCapabilities & related NcDirect functions 3 years ago
José Luis Cruz 7e37ebed92
add link to matrix chat badge in readme 3 years ago
igo95862 459f1857b2
Update Github Actions status badge
Move to new Ubuntu tests action
3 years ago
joseLuís 7249ecccc1 [rust] add NCSTYLE_UNDERCURL 3 years ago
igo95862 d15bfd6d02
Merge pull request #1764 from igo95862/split-github-actions
Split GitHub actions
3 years ago
nick black e0276bbfdb undercurl unit test #1758 3 years ago
nick black 562cf1c468 direct mode: support undercurl throughout #1758 3 years ago
nick black 5559bbbebe NCSTYLE_UNDERCURL #1758 3 years ago
nick black 04c3dcc463 tinfo_debug_caps: add some style work #1758 3 years ago
nick black bab79956cd
contour: adapt to new capabilities #1768 3 years ago
nick black 63e8d117dd
null media implementation: adapt to new capabilities struct #1768 3 years ago
nick black 0cfe426785 unify capabilites_canchangecolor #1768 3 years ago
nick black 912c897e67 ncdirect capabilites, all #1768 3 years ago
nick black 4aa702627a publicize nccapabilities structure, add ncdirect_capabilities() #1768 3 years ago
nick black 0e6f52533b introduce nccapabilites struct, move utf8/ccc therein #1768 3 years ago
nick black 7eedc7714d
recognize Contour via XTVERSION, and turn on quadrants/rgb for it #1781 3 years ago
joseLuís c822aa345e [rust] remove duplicated method NcChannel.set_rgb 3 years ago
joseLuís 3e9b2c1fe4 [rust] rename `NcChannelPair` to `NcChannels`
- deprecate `NcChannelPair`
3 years ago
nick black cf60ff5b94
don't restore bogon termios struct on setupterm failure #1778 3 years ago
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.
3 years ago
joseLuís 4c0268997c [rust] rename `NcColor` to `NcComponent`.
- fix docs.
3 years ago
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.
3 years ago
nick black 9950d71e89
handle weird contour reply to CSI 11 #1780 3 years ago