5330 Commits

Author SHA1 Message Date
igo95862
17a1ff28ff python: Update imports 2021-05-16 08:14:24 -04:00
igo95862
bf4e14b510 python: Rename ncpile_create to pile_create 2021-05-16 08:14:24 -04:00
igo95862
8f083b4cce python: Finished all NcPlane functions 2021-05-16 08:14:24 -04:00
igo95862
ccddd0fd72 python: NcPallete rename 2021-05-16 08:14:24 -04:00
igo95862
295655ef20 python: Implemented half of NcPlane functions 2021-05-16 08:14:24 -04:00
igo95862
595fab7769 python: Add NcPlane initializers 2021-05-16 08:14:24 -04:00
igo95862
06242d5a9d python: Started with NcPlane 2021-05-16 08:14:24 -04:00
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.
2021-05-16 08:14:24 -04:00
igo95862
dc81585e9d python: Added notcurses context object with initializer and dealloc 2021-05-16 08:14:24 -04:00
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.
2021-05-16 08:14:24 -04:00
igo95862
d05e3f20d1 python: Split new python binds module in to separated source files
Less thousand lines files
2021-05-16 08:14:24 -04:00
igo95862
ac03f7cdad python: Added all channels functions 2021-05-16 08:14:24 -04:00
igo95862
84e82e17f3 python: Renamed check macros to use GNU prefix
Since they use GNU extensions. This reduces the collision
probability with the Python header.
2021-05-16 08:14:24 -04:00
igo95862
d070abd96b python: Added ncstrwidth function 2021-05-16 08:14:24 -04:00
igo95862
18df2c8ee3 python: Added PY_CHECK_INT macro 2021-05-16 08:14:24 -04:00
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.
2021-05-16 08:14:24 -04:00
igo95862
e044699603 python: Add notcurses_version_components function 2021-05-16 08:14:24 -04:00
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.
2021-05-16 08:14:24 -04:00
igo95862
92f1b63988 python: Removed old implementation 2021-05-16 08:14:24 -04:00
igo95862
d7ade1f4b8 python: Update setup.py. Actually link against libnotcurses 2021-05-16 08:14:24 -04:00
igo95862
aa48dbacac python: Update __init__.py to use new module 2021-05-16 08:14:24 -04:00
igo95862
e8ed637b29 python: Create notcurses misc module 2021-05-16 08:14:24 -04:00
igo95862
af50adfba9 python: Started with new header file 2021-05-16 08:14:24 -04:00
Sunjay Cauligi
651f80cfac autogenerate cffi from notcurses header files 2021-05-15 23:14:18 -04:00
nick black
014a88a09c
always enable 8bpc RGB for kitty, alacritty, and foot #1641 2021-05-14 06:02:06 -04:00
nick black
f91ffae773
link to new 2.3.0 video 2021-05-14 04:44:38 -04:00
nick black
167b81e856
CURSES.md: not just keyboard escape sequences 2021-05-14 03:52:51 -04:00
nick black
6fd7a4cd52
convert a few 'cell' instances to 'nccell' in docs 2021-05-14 03:51:03 -04:00
nick black
1a7c5172f4
add note about sprixel/fb relationship to NEWS.md 2021-05-14 01:45:20 -04:00
nick black
346512ccdf
eliminate type-2 gclusters, sprixels no longer interact with fb #1656 2021-05-14 01:39:04 -04:00
nick black
b87407eb36
remove unused cell_sprixel_id() #1656 2021-05-14 01:15:38 -04:00
nick black
f64b1deeb7
dump unused sprixel_by_id() #1656 2021-05-14 01:13:57 -04:00
nick black
ce2f2c6509 ncplane_dup: don't dup sprixcells #1654 2021-05-13 21:09:30 -04:00
nick black
8bd73378cf
add NCSCALE_INFLATE 2021-05-12 13:07:23 -04:00
nick black
9ce8222d36
drop "available" output from reel demo 2021-05-12 13:02:14 -04:00
Daniel Eklöf
632cbcc881 fetch: add artix to distro info 2021-05-11 11:56:22 -04:00
nick black
29b161f1c0 [box] place ships underneath grid #1639 2021-05-10 04:45:57 -04:00
nick black
a39b5f9347 [box] add some spaceships #1639 2021-05-10 04:45:57 -04:00
nick black
d80df651b3
textplay: expose more of the source material 2021-05-10 01:20:59 -04:00
nick black
d441dd4d0d
fix up compilation on freebsd #1644 2021-05-09 23:18:15 -04:00
nick black
af1641be4e
empty implementation of nctree_goto() #1643 2021-05-09 23:09:09 -04:00
nick black
644b008671
add 2.3.0 to HISTORY.md 2021-05-09 21:10:48 -04:00
nick black
ea4c593455
v2.3.0 v2.3.0 2021-05-09 18:54:22 -04:00
nick black
fd7a1a5d6d
sixel_destroy: be more precise with damage #1616 2021-05-08 21:31:18 -04:00
nick black
19006b4988
account for margins in sixel/kitty_destroy() #1588 2021-05-08 20:53:21 -04:00
nick black
dc9db79100
v2.2.11 v2.2.11 2021-05-08 18:25:13 -04:00
nick black
ee638b9a96
nccell_width() return -1 on utf8_egc_len() error #1627 2021-05-08 18:05:31 -04:00
nick black
e0e747837e
kitty: must damage cells underneath a sprixel when hiding #1562 2021-05-08 17:13:59 -04:00
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!
2021-05-08 16:57:33 -04:00
nick black
3f908d43a2 sprixel_debug: show glyph length 2021-05-08 16:57:33 -04:00