Commit Graph

369 Commits

Author SHA1 Message Date
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
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