Commit Graph

5421 Commits

Author SHA1 Message Date
nick black
5a4b6cdae0
ncvisual_destroy: free up structure on all paths #1711 2021-06-02 20:50:34 -04:00
nick black
c2dd6b6a78
fix compilation error in textplay #1710 2021-06-02 19:17:15 -04:00
nick black
2aa63404e2
resize_bitmap: guard against potential overwrite 2021-06-02 03:39:48 -04:00
nick black
bebd33a30a prune cruft 2021-06-02 03:18:10 -04:00
nick black
f0bcf63214 properly inflate #1576 2021-06-02 03:18:10 -04:00
nick black
27b09da0f7 ncvisual_inflate: use dstride for new rowstride #1576 2021-06-02 03:18:10 -04:00
nick black
b5174e75b7 Visual tests: properly base checks off rowstride 2021-06-02 03:18:10 -04:00
nick black
2dff72340f remove obsoleted inflate_bitmap() #1576 2021-06-02 03:18:10 -04:00
nick black
513dbc18fc factor out pad_for_image() #1705 2021-06-02 03:18:10 -04:00
nick black
7b72ef0567 unit tests now pass with null multimedia #1705 2021-06-02 03:18:10 -04:00
nick black
f46012e2d9 hook up resize_bitmap() to null VI #1576 2021-06-02 03:18:10 -04:00
nick black
f2fefacfc0 first go at generic resize_bitmap() for NCCSCALE_INFLATE #1576 2021-06-02 03:18:10 -04:00
nick black
3a6a2fa90b textplayer: dewhiten last character written on delay #1649 2021-06-02 03:18:10 -04:00
nick black
e7d40e00e3 textplayer: support longdelay on '…' 2021-06-02 03:18:10 -04:00
nick black
52ebb71ac9
ncdirect_style_emit/render: take palette-indexing into account 2021-06-01 18:39:50 -04:00
nick black
8cf235e6b7
start on a GUIX module #1315 2021-06-01 18:19:33 -04:00
nick black
96d743536f
box demo: work when built without multimedia support 2021-06-01 18:18:09 -04:00
nick black
3ac445a328 enforce singleton across both direct and rendered mode #1694 2021-06-01 17:44:34 -04:00
nick black
d170e6e7a2 man pages: document that only one context can be active at a time #1694 2021-06-01 17:44:34 -04:00
nick black
e4aae2d9b7
tinfo_debug_caps: tighten up output a bit 2021-06-01 04:37:06 -04:00
joseLuís
47c794050a [rust] update example #1699 2021-06-01 10:18:37 +02:00
nick black
9c370806c5
CMake: define CMAKE_BUILD_TYPE prior to use 2021-06-01 04:08:24 -04:00
Nick Black
cd2b5de5fa
Panblitter ncplane_as_rgba() (#1697)
ncplane_as_rgba: genericize across blitters

ncplane_as_rgba() previously was implemented explicitly
in terms of NCBLIT_2x1. it now uses the `egcs` field of the
`blitset`. this supports NCBLIT_2x2 and NCBLIT_3x2 in
ncplane_rgba(). Closes #1490.
2021-06-01 02:25:11 -04:00
nick black
d216b4115e
scrub_color_table: use sprixel cell geom not plane cell geom #1689 2021-05-31 22:48:16 -04:00
nick black
d20a4d8104
ncdirect: restore colors properly following sgr #1703 2021-05-31 20:07:10 -04:00
nick black
1f1bbadeac
demo: fpsgraph_init: ncuplot_create() kills plane on error 2021-05-31 18:21:17 -04:00
nick black
74eac6236b
ncXplot_create: own ncplane on all paths 2021-05-31 18:20:54 -04:00
joseLuís
9b5987e061 from_bgra(): repair mempcy #1700 2021-05-31 13:08:24 +02:00
joseLuís
8fa70935fe [rust] update issue-1699 example 2021-05-30 17:42:18 +02:00
joseLuís
e839a95c2b [rust] fix build, remove raqote 2021-05-30 17:35:27 +02:00
joseLuís
7e51f04111 [rust] new example issue-1699; issue #1700
- add raqote 2D graphics library as a dev-dependency
2021-05-30 17:08:58 +02:00
nick black
217ab0cd90
cbreak_mode: require working file descriptor 2021-05-27 17:28:15 -04:00
nick black
ccad97dcff cbreak_mode(): take no action on invalid file descriptor 2021-05-27 17:26:48 -04:00
nick black
a0130a88e6 don't try to preserve termios sans terminal 2021-05-27 17:26:48 -04:00
nick black
a4337ef144 merge tpreserved across direct/rendered #1525 2021-05-27 17:26:48 -04:00
nick black
e10a2f7a21
unify ncinputlayer between direct and rendered mode #1525 2021-05-26 21:46:49 -04:00
nick black
36d1eaf37b
revert, revert, revert my idiot change 2021-05-26 21:01:11 -04:00
nick black
d902dae60b
unify preserved termios between direct/rendered mode 2021-05-26 20:38:57 -04:00
nick black
73913c3f1a free_terminfo_cache: free up esctable #1525 2021-05-26 18:04:29 -04:00
nick black
2df95f7e25 load up ESCAPE_OC #1525 2021-05-26 18:04:29 -04:00
nick black
1b15de9532 convert last two into esctable (initc/getm) #1525 2021-05-26 18:04:29 -04:00
nick black
59ddd3b0aa move sc, rc, clear, and home to esctable #1525 2021-05-26 18:04:29 -04:00
nick black
567a1796a5 add smxx/rmxx to esctable #1525 2021-05-26 18:04:29 -04:00
nick black
857d5e5958 move smkx/rmkx smcup/rmcup into escape block #1525 2021-05-26 18:04:29 -04:00
nick black
c4e5ee2c38 sgr-direct PoC: use ncdirect_supported_styles() to guide output 2021-05-26 18:04:29 -04:00
nick black
a22414cd35 explicitly disable italics on ncv failure #1525 2021-05-26 18:04:29 -04:00
nick black
d613ed0784 move cursor controls into escblock #1525 2021-05-26 18:04:29 -04:00
nick black
92873d6b6e move italics into esctable #1525 2021-05-26 18:04:29 -04:00
nick black
b67315a17e tinfo: keep supported styles as single-site bitmap #1525 2021-05-26 18:04:29 -04:00
nick black
3b4057d550 move blink/dim/reverse/uline/standout to bools #1525 2021-05-26 18:04:29 -04:00