Commit Graph

380 Commits

Author SHA1 Message Date
Michael Bradley, Jr
deccda9f96
ci: run GHA workflow for macOS on all commits to master and PRs
Also split out the build of libqrcodegen on macOS into a separate step, and
make the workflows for Ubuntu and macOS as consistent as possible; may require
more changes depending on what passes and doesn't pass on macOS.

The GHA workflow for Windows will be revised in a separate PR.
2021-07-18 15:46:55 -05:00
igo95862
67c511edba Added compile target for dummy python module
Mostly used to check compilation and for Clangd LSP.
2021-07-15 13:57:45 -04:00
nick black
92293dd402
adapt new python to NCCHANNEL 2021-07-10 19:58:50 -04:00
nick black
83d8724e63
updating CELL_ -> NC_ references 2021-07-10 18:34:00 -04:00
nick black
603fd770fe
update new python for CHANNEL_RGB change 2021-07-10 18:20:44 -04:00
igo95862
ec0d2b065f
python: Use pile rendering to files and buffers 2021-06-22 20:34:11 +03:00
nick black
f2c8cd31c8
[python] comment out for deprecation 2021-06-22 02:00:08 -04:00
nick black
6eae6fc6b9
build new python wrappers in ubuntu/fedora drones #1770 #1154 2021-06-22 01:50:21 -04:00
nick black
32852c48fc
comment out python notcurses_render_to_{buffer, file}() #1770 2021-06-22 01:40:20 -04:00
igo95862
9befa0ceae python: Added py.typed file to indicate that package is typed 2021-06-20 18:19:43 +03:00
igo95862
d9146de068 python: Finished NcPlane stub 2021-06-20 18:19:43 +03:00
igo95862
4fb67d6a91
python: Fix copyright years 2021-06-13 20:27:16 +03:00
igo95862
c30343e6f6 python: Merge fixes 2021-06-13 20:16:07 +03:00
igo95862
bcf216a667
python: Small imports sort 2021-06-13 20:12:12 +03:00
igo95862
5baa5ac5ff
python: Added half of the stub file 2021-06-13 20:11:53 +03:00
igo95862
935d2dbe28 python: Fix translate function. 2021-05-16 08:14:24 -04:00
igo95862
560c731e22 python: Use ncchannels instead of channel like upstream 2021-05-16 08:14:24 -04:00
igo95862
18a9872c0f python: NcPlane_create now requires rows and collumns 2021-05-16 08:14:24 -04:00
igo95862
fb9b326e18 python: Updated examples to use new code 2021-05-16 08:14:24 -04:00
igo95862
b678742f68 python: Fixes of argument parsing 2021-05-16 08:14:24 -04:00
igo95862
141deddde8 python: Uncaught exceptions are now printed after context close 2021-05-16 08:14:24 -04:00
igo95862
4ad809e1ca python: Added check macros that return -1 2021-05-16 08:14:24 -04:00
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
igo95862
0c532a1669
python: Fix translate function. 2021-05-10 22:24:48 +03:00
igo95862
a41c3f3030
python: Use ncchannels instead of channel like upstream 2021-05-08 22:15:28 +03:00
igo95862
e305e49a00
python: NcPlane_create now requires rows and collumns 2021-05-08 22:15:27 +03:00
igo95862
2ff4c575f9
python: Updated examples to use new code 2021-05-08 22:15:27 +03:00
igo95862
f08405a946
python: Fixes of argument parsing 2021-05-08 22:15:27 +03:00