Commit Graph

5223 Commits (3151b60b2302af7c7277a99ac295b019083f20c3)
 

Author SHA1 Message Date
igo95862 3151b60b23 python: Implemented most of the notcurses context functions
The ones that depends on some other objects such as NcPlane
will be implemented in the future.
3 years ago
igo95862 dc81585e9d python: Added notcurses context object with initializer and dealloc 3 years ago
igo95862 49e6848d63 python: Expose the variables containing definitions.
Instead of exposing all functions between modules we can only
expose the variables that contain the function pointers such
as `ChannelsFunctions` which has all channels functions.
3 years ago
igo95862 d05e3f20d1 python: Split new python binds module in to separated source files
Less thousand lines files
3 years ago
igo95862 ac03f7cdad python: Added all channels functions 3 years ago
igo95862 84e82e17f3 python: Renamed check macros to use GNU prefix
Since they use GNU extensions. This reduces the collision
probability with the Python header.
3 years ago
igo95862 d070abd96b python: Added ncstrwidth function 3 years ago
igo95862 18df2c8ee3 python: Added PY_CHECK_INT macro 3 years ago
igo95862 45318ac2e7 python: Add special macros for error handling
Can only be used on clang or gcc but I think the library already
requires them.
3 years ago
igo95862 e044699603 python: Add notcurses_version_components function 3 years ago
igo95862 35a506ed3e python: Use CFLAGS for extra warnings and LDFLAGS to not strip
Without --no-as-needed the binaries created will not be linked
against notcurses.
3 years ago
igo95862 92f1b63988 python: Removed old implementation 3 years ago
igo95862 d7ade1f4b8 python: Update setup.py. Actually link against libnotcurses 3 years ago
igo95862 aa48dbacac python: Update __init__.py to use new module 3 years ago
igo95862 e8ed637b29 python: Create notcurses misc module 3 years ago
igo95862 af50adfba9 python: Started with new header file 3 years ago
Sunjay Cauligi 651f80cfac autogenerate cffi from notcurses header files 3 years ago
nick black 014a88a09c
always enable 8bpc RGB for kitty, alacritty, and foot #1641 3 years ago
nick black f91ffae773
link to new 2.3.0 video 3 years ago
nick black 167b81e856
CURSES.md: not just keyboard escape sequences 3 years ago
nick black 6fd7a4cd52
convert a few 'cell' instances to 'nccell' in docs 3 years ago
nick black 1a7c5172f4
add note about sprixel/fb relationship to NEWS.md 3 years ago
nick black 346512ccdf
eliminate type-2 gclusters, sprixels no longer interact with fb #1656 3 years ago
nick black b87407eb36
remove unused cell_sprixel_id() #1656 3 years ago
nick black f64b1deeb7
dump unused sprixel_by_id() #1656 3 years ago
nick black ce2f2c6509 ncplane_dup: don't dup sprixcells #1654 3 years ago
nick black 8bd73378cf
add NCSCALE_INFLATE 3 years ago
nick black 9ce8222d36
drop "available" output from reel demo 3 years ago
Daniel Eklöf 632cbcc881 fetch: add artix to distro info 3 years ago
nick black 29b161f1c0 [box] place ships underneath grid #1639 3 years ago
nick black a39b5f9347 [box] add some spaceships #1639 3 years ago
nick black d80df651b3
textplay: expose more of the source material 3 years ago
nick black d441dd4d0d
fix up compilation on freebsd #1644 3 years ago
nick black af1641be4e
empty implementation of nctree_goto() #1643 3 years ago
nick black 644b008671
add 2.3.0 to HISTORY.md 3 years ago
nick black ea4c593455
v2.3.0 3 years ago
nick black fd7a1a5d6d
sixel_destroy: be more precise with damage #1616 3 years ago
nick black 19006b4988
account for margins in sixel/kitty_destroy() #1588 3 years ago
nick black dc9db79100
v2.2.11 3 years ago
nick black ee638b9a96
nccell_width() return -1 on utf8_egc_len() error #1627 3 years ago
nick black e0e747837e
kitty: must damage cells underneath a sprixel when hiding #1562 3 years ago
nick black 8f6879ab7f Fix sixel reload cached wipe display #1557
In Sixel, we must supply a value for P2; essentially, 1
means that there are transparent pixels, while 0 means
there are not, or that we don't care what's already
present (P2=0 is implemented faster by some terminals).
We set P2=1 upon encountering a transparent pixel, or
after wiping a cell, but we weren't doing so when we
reloaded a bitmap and prewiped due to cached ANNIHILATION
values in the TAM. Do so. This fixes up the flickering
we saw in the yield demo, as we no longer printed over
the text. Furthermore, we can now properly return 0 from
sixel_wipe() on a cached wipe, eliminating a great many
invalidations and redraws. Move the ANNIHILATION check
into the shared code of sprite_wipe(), removing it from
sixel_wipe() and kitty_wipe().

Oh, what a happy, happy, happy day!
3 years ago
nick black 3f908d43a2 sprixel_debug: show glyph length 3 years ago
nick black 022c6350e2 use ncplane_erase_region() in wipebitmap PoC 3 years ago
nick black f080e1502b add ncplane_erase_region() 3 years ago
nick black e4a1b44ffa sixel: restore bad 1 on cached wipe 3 years ago
nick black f067f03832 wipebitmap PoC: more close-in testing 3 years ago
nick black 88936490bb further wipebitmap PoC flushwork 3 years ago
nick black 00962bb99f
add note about Requires.private to NEWS.md #1635 3 years ago
nick black 8025beb6d8
[rust] fix issue-1559 example, i think #1559 3 years ago