Commit Graph

5531 Commits

Author SHA1 Message Date
nick black
3a3fe77514 null media implementation: use c source, not c++ #1718 2021-06-06 02:13:18 -04:00
nick black
73ed97993f
kill 'none' multimedia implementation #1718 2021-06-06 00:22:53 -04:00
nick black
bf62f5ac3f
notcurses_visual.3: document what functionality requires a multimedia backend #1718 2021-06-06 00:22:30 -04:00
José Luis Cruz
191049a465
Merge pull request #1717 from db48x/remove-unsafe-from-example-code
remove unsafe code from example “issue-1716”
2021-06-03 18:43:34 +02:00
Daniel Brooks
477797716f remove unsafe code from example “issue-1716”
Now that the NcDirectF type and its methods are defined, there is no
need to set a bad example.
2021-06-03 09:09:57 -07:00
joseLuís
f44175b9c3 [rust] update example for issue #1716 2021-06-03 16:12:30 +02:00
joseLuís
bb07a995d5 [tools] update function-summary data 2021-06-03 16:11:55 +02:00
joseLuís
c3f1d6c4a3 [rust] wrap ncdirectf functions
- add type aliases: NcDirectF (NcVisual alias), NcDirectV (NcPlane alias).
- implement wrapper methods for the `ncdirect_*` functions on NcDirectF.
- the methods over NcDirectF are prefixed with `ncdirectf_` to distinguish them
  from the other NcVisual methods (since they are both type aliases, they
  share their methods).
- fix typos in `direct.h`:
  - ncdirect_geom_frame > ncdirectf_geom()
  - ncdirect_render_loaded_frame > ncdirectf_render()
- add NcVGeom struct.
- minor fixes & rustfmt.
2021-06-03 16:08:54 +02:00
joseLuís
812a29e219 [rust] add ncdirectf functions; fix build
- ncdirectf_from_file, ncdirectf_geom, ncdirectf_render, ncdirectf_free
2021-06-03 14:34:45 +02:00
joseLuís
1c6a50e047 [rust] add example for issue #1716 2021-06-03 14:25:20 +02:00
joseLuís
18446034e4 [rust] add ncblit functions
- ncblit_rgba, ncblit_bgrx, ncblit_rgb_packed, ncblit_rgb_loose
2021-06-03 14:24:42 +02:00
nick black
f77c008e88
tinfo_debug_caps: print unicode block characters 2021-06-03 07:17:02 -04:00
nick black
8d22f4618f
lookup_blitset: replace O(N) loop with O(1) access 2021-06-03 07:16:43 -04:00
nick black
8d4d67c5e7
technically, ncplane_at_yx() change didn't affect ncplane_as_rgba() 2021-06-03 03:05:31 -04:00
nick black
e6f226452d
fix erroneous comment in NEWS 2021-06-03 03:04:29 -04:00
nick black
507d2c8d8e
v2.3.2 2021-06-03 02:29:13 -04:00
nick black
46ddd37083
NEWS.md: memory leak fixes applied to all but OIIO backend 2021-06-03 01:49:28 -04:00
nick black
26054e757c
rely on ncvisual_set_data() for clear in ffmpeg_resize() #1712 2021-06-03 01:46:10 -04:00
nick black
398a98d18c [drone] use TERM=xterm on debian/fedora CI to exercise more paths 2021-06-03 01:16:27 -04:00
nick black
63bbe9fbbf FdsAndSubprocs: WARN on (very rarely) failing pthread_mutex_destroy() 2021-06-03 01:16:27 -04:00
nick black
27831c744e [ffmpeg] restore some av_freep()s, IMGALLOCALIGN 32->64 #1712 2021-06-03 01:16:27 -04:00
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