Commit Graph

5310 Commits (a6633b854f779037754f3bee3a5bbc67742cb48f)
 

Author SHA1 Message Date
nick black a903f32cd6 Robustify detect_cursor_inversion()
When we're doing cursor querying, whether for detection
of inversion or just straight up localizing ourselves,
we need to talk to a real terminal, or else there's not
much point. When detecting cursor inversion, we need
move the cursor, *and have it reflected in the terminal
feedback*, which means we need write directly to the
terminal (if one exists). This requires ctermfd over
ttyfp, which we now hardcode. Fixes cursor crap when
redirected away from the terminal #1668.
3 years ago
nick black a7fe43654b wrap cursor tests in is_test_tty() #1668 3 years ago
nick black 6d1b7e7571 add is_test_tty() for notcurses-tester 3 years ago
nick black 65c3aa6653 drop_signals: return 0 even if we don't own the atomic 3 years ago
nick black d8238da8c6 if we aren't setting signal handlers, don't try to take ownership of signal atomic #1666 3 years ago
nick black c49749a1bd
add unit tests to check cursor following render #1664 3 years ago
nick black 8df01c2ab8
beef up directmode directf tests #1664 3 years ago
nick black f5160f5378
README: update vague 'things' link 3 years ago
nick black 8729eccf06
SprixelGeom test: validate that scale{x,y} == cdim{x,y} #1659 3 years ago
nick black 2ef759f7a9
correct ncvisual_blitset_geom() for ncdirect case #1659 3 years ago
Sunjay Cauligi 0e6f40eb4f fix cffi build 3 years ago
nick black 94cd3b60f1 basic unit testing of ncdirectf_geom() #1659 3 years ago
nick black 445ead70da basic unit testing of ncdirectf_geom() #1659 3 years ago
nick black 646f57312e first pass at ncdirecf_geom() #1659 3 years ago
nick black c42fab1564 implement ncdirectf passthroughs #1659 3 years ago
nick black d1e7adf410 add ncdirectf api #1659 3 years ago
nick black 20c9ff85be ncdirect: add nonnull attributes throughout 3 years ago
nick black b8cdd29a63
ffmpeg_details_destroy: use av_freep, not av_frame_free() #1658 3 years ago
nick black ec5509b9be use av_image_alloc() in ffmpeg_resize() #1658 3 years ago
nick black 3ae7ed6ed3 fix bitmapmaximize unit test to not use standard plane #1658 3 years ago
nick black 39afbd75c4 bitmap tests: remove useless garbage 3 years ago
nick black b9e941e51e tester: interpret any -l as -l8 3 years ago
nick black 194c739038 add new unit test SprixelMaximize #1658 3 years ago
igo95862 935d2dbe28 python: Fix translate function. 3 years ago
igo95862 560c731e22 python: Use ncchannels instead of channel like upstream 3 years ago
igo95862 18a9872c0f python: NcPlane_create now requires rows and collumns 3 years ago
igo95862 fb9b326e18 python: Updated examples to use new code 3 years ago
igo95862 b678742f68 python: Fixes of argument parsing 3 years ago
igo95862 141deddde8 python: Uncaught exceptions are now printed after context close 3 years ago
igo95862 4ad809e1ca python: Added check macros that return -1 3 years ago
igo95862 17a1ff28ff python: Update imports 3 years ago
igo95862 bf4e14b510 python: Rename ncpile_create to pile_create 3 years ago
igo95862 8f083b4cce python: Finished all NcPlane functions 3 years ago
igo95862 ccddd0fd72 python: NcPallete rename 3 years ago
igo95862 295655ef20 python: Implemented half of NcPlane functions 3 years ago
igo95862 595fab7769 python: Add NcPlane initializers 3 years ago
igo95862 06242d5a9d python: Started with NcPlane 3 years ago
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