Commit Graph

5430 Commits

Author SHA1 Message Date
nick black
c2a82d0ed1 ffmpeg: transfer ownership following resize #1712 2021-06-03 01:16:27 -04:00
nick black
5f3844d6f1 ffmpeg: free sframe->data[0], not sframe->data #1712 2021-06-03 01:16:27 -04:00
nick black
36f7eb500c av_frame_free() instead of av_freep() in ffmpeg_destroy() #1712 2021-06-03 01:16:27 -04:00
nick black
5ad08e7e87
[fallin] plug up memory leak on empty ncplane_at_yx() return 2021-06-02 21:56:46 -04:00
nick black
c9e450bc27
add note to NEWS for 2.3.2 about 'none' memory leak 2021-06-02 21:52:01 -04:00
nick black
7c54fe0f23
ncplane_at_yx: free intermediate empty ret 2021-06-02 21:51:03 -04:00
nick black
1daa011269
kill OWNDATA diagnostic 2021-06-02 21:46:37 -04:00
nick black
d8c9463175
none_destroy: free up subdata #1711 2021-06-02 21:46:19 -04:00
nick black
82fb065795
only manage ncvisual in toplayer with no media implementation #1711 2021-06-02 21:34:50 -04:00
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