443 Commits

Author SHA1 Message Date
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
igo95862
15f1ae8c16
python: Uncaught exceptions are now printed after context close 2021-05-08 22:15:27 +03:00
igo95862
01e433f8ad
python: Added check macros that return -1 2021-05-08 22:15:27 +03:00
igo95862
671c140186
python: Update imports 2021-05-08 22:15:27 +03:00
igo95862
38bad51fd9
python: Rename ncpile_create to pile_create 2021-05-08 22:15:27 +03:00
igo95862
9bfdca5c1e
python: Finished all NcPlane functions 2021-05-08 22:15:27 +03:00
igo95862
55d2c5a44c
python: NcPallete rename 2021-05-08 22:15:26 +03:00
igo95862
6792baf3ff
python: Implemented half of NcPlane functions 2021-05-08 22:15:26 +03:00
igo95862
4d4d5c043d
python: Add NcPlane initializers 2021-05-08 22:15:26 +03:00
igo95862
f88dededc0
python: Started with NcPlane 2021-05-08 22:15:26 +03:00
igo95862
4e820c779d
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-08 22:15:26 +03:00
igo95862
0fc3d3efa6
python: Added notcurses context object with initializer and dealloc 2021-05-08 22:15:26 +03:00
igo95862
b9cf59ad22
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-08 22:15:26 +03:00
igo95862
1037b652f9
python: Split new python binds module in to separated source files
Less thousand lines files
2021-05-08 22:15:26 +03:00
igo95862
92159867fc
python: Added all channels functions 2021-05-08 22:15:26 +03:00
igo95862
080428d3f7
python: Renamed check macros to use GNU prefix
Since they use GNU extensions. This reduces the collision
probability with the Python header.
2021-05-08 22:15:25 +03:00
igo95862
141f6411a1
python: Added ncstrwidth function 2021-05-08 22:15:25 +03:00
igo95862
1d9a9c5926
python: Added PY_CHECK_INT macro 2021-05-08 22:15:25 +03:00
igo95862
f07163e6c8
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-08 22:15:25 +03:00
igo95862
97804f2050
python: Add notcurses_version_components function 2021-05-08 22:15:25 +03:00
igo95862
76909dd77e
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-08 22:15:25 +03:00
igo95862
259dee29b5
python: Removed old implementation 2021-05-08 22:15:25 +03:00
igo95862
1099c9a6f5
python: Update setup.py. Actually link against libnotcurses 2021-05-08 22:15:25 +03:00
igo95862
676bfdcf18
python: Update __init__.py to use new module 2021-05-08 22:15:24 +03:00
igo95862
e410dc3d51
python: Create notcurses misc module 2021-05-08 22:15:24 +03:00
igo95862
32075e22dc
python: Started with new header file 2021-05-08 22:15:24 +03:00
igo95862
535fffa9d5
python: Improved ISO C compliance 2020-12-01 18:01:36 +03:00
igo95862
788a327c98
python: Fixed the error check on input using wrong c type 2020-12-01 17:56:28 +03:00
igo95862
b2163e8f8c
python: Added Py_UNUSED macros for unused arguments 2020-12-01 17:49:34 +03:00
igo95862
ce3ddb8d4e
python: Fixed compile error because ncplane_options was changed 2020-12-01 17:40:35 +03:00
igo95862
ba04f79c44
python: Removed unneccesary comments 2020-11-30 22:21:20 +03:00
igo95862
4489c25297 igo95862's new python bindings 2020-11-29 12:50:55 -05:00
nick black
f2d3b26fcb
move python-cffi to cffi 2020-11-22 01:45:23 -05:00
nick black
500e0af6f0
don't require pypandoc 1.5; 1.4 is enough 2020-11-22 00:48:31 -05:00
nick black
73b2f1bf19
v2.0.7 2020-11-22 00:22:11 -05:00
nick black
acdcf9e41f
v2.0.6 2020-11-21 23:35:24 -05:00
nick black
537caa2173
v2.0.5 2020-11-21 22:29:02 -05:00
nick black
1e6f8e4901 USAGE/python/man: update ncplane_options #1115 2020-11-17 23:42:36 -05:00