Commit Graph

427 Commits (86e09bec4991436f8ce3ed8066cf64b0ab144d05)

Author SHA1 Message Date
igo95862 38bad51fd9
python: Rename ncpile_create to pile_create 3 years ago
igo95862 9bfdca5c1e
python: Finished all NcPlane functions 3 years ago
igo95862 55d2c5a44c
python: NcPallete rename 3 years ago
igo95862 6792baf3ff
python: Implemented half of NcPlane functions 3 years ago
igo95862 4d4d5c043d
python: Add NcPlane initializers 3 years ago
igo95862 f88dededc0
python: Started with NcPlane 3 years ago
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.
3 years ago
igo95862 0fc3d3efa6
python: Added notcurses context object with initializer and dealloc 3 years ago
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.
3 years ago
igo95862 1037b652f9
python: Split new python binds module in to separated source files
Less thousand lines files
3 years ago
igo95862 92159867fc
python: Added all channels functions 3 years ago
igo95862 080428d3f7
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 141f6411a1
python: Added ncstrwidth function 3 years ago
igo95862 1d9a9c5926
python: Added PY_CHECK_INT macro 3 years ago
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.
3 years ago
igo95862 97804f2050
python: Add notcurses_version_components function 3 years ago
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.
3 years ago
igo95862 259dee29b5
python: Removed old implementation 3 years ago
igo95862 1099c9a6f5
python: Update setup.py. Actually link against libnotcurses 3 years ago
igo95862 676bfdcf18
python: Update __init__.py to use new module 3 years ago
igo95862 e410dc3d51
python: Create notcurses misc module 3 years ago
igo95862 32075e22dc
python: Started with new header file 3 years ago
igo95862 535fffa9d5
python: Improved ISO C compliance 4 years ago
igo95862 788a327c98
python: Fixed the error check on input using wrong c type 4 years ago
igo95862 b2163e8f8c
python: Added Py_UNUSED macros for unused arguments 4 years ago
igo95862 ce3ddb8d4e
python: Fixed compile error because ncplane_options was changed 4 years ago
igo95862 ba04f79c44
python: Removed unneccesary comments 4 years ago
igo95862 4489c25297 igo95862's new python bindings 4 years ago
nick black f2d3b26fcb
move python-cffi to cffi 4 years ago
nick black 500e0af6f0
don't require pypandoc 1.5; 1.4 is enough 4 years ago
nick black 73b2f1bf19
v2.0.7 4 years ago
nick black acdcf9e41f
v2.0.6 4 years ago
nick black 537caa2173
v2.0.5 4 years ago
nick black 1e6f8e4901 USAGE/python/man: update ncplane_options #1115 4 years ago
nick black 92add03a30
python: run setup.py without pypandoc #1110 4 years ago
nick black 7622cefc3a
v2.0.4 4 years ago
nick black 0d31a03be9
v2.0.3 4 years ago
José Luis Cruz 1c4b3475ff
fix markdown link 4 years ago
nick black 9cfff77624 python: declare sexblitter 4 years ago
nick black 8189d21709
v2.0.2 4 years ago
nick black b35c680f48 add LoopVideo unit test #1066 4 years ago
nick black 19efd2c10a declare ncdirect_printf_aligned() in man page + python #1074 4 years ago
nick black a4546c86e3
v2.0.1 4 years ago
nick black 6623fc92a0
ncmenu_item_set_status: man page, NEWS, python, c++ #1057 4 years ago
nick black 65974aeb0b
v2.0.0 4 years ago
nick black 8c9611d085
v1.7.6 4 years ago
nick black d0f7d6be27
notcurses-direct-pydemo: disable cursor 4 years ago
nick black f9e2c7863b
add notcurses_stats_alloc #1043 4 years ago
nick black 270b1b20ee implement notcurses_render_to_buffer() #214 4 years ago
nick black b4f1065f69 declare notcurses_render_to_buffer() #214 4 years ago
nick black 20a49d053d
v1.7.5 4 years ago
nick black 683217ef07 normalize style setters #1034 4 years ago
nick black 315df85b2b
note that python bindings are quite incomplete 4 years ago
nick black 20bf1ae2d4
nctablet_ncplane() -> nctablet_plane() 4 years ago
nick black ec85dd1c3b
ncreel_destroy: return void 4 years ago
nick black f02263e977
v1.7.4 4 years ago
nick black 7b51bab79a add resizecb to ncplane_options struct #869 4 years ago
nick black 36aed3c521 add ncplane_create() + ncplane_options #1020 4 years ago
nick black 607c03edc4
rename _rgb_clipped functions rgb8_clipped 4 years ago
nick black 4459efa216
v1.7.3 4 years ago
nick black a4367fcfb5 rip out ncplane_ creation functions #985 4 years ago
nick black e42dbdfd60 _stainable() -> _stained() #985 4 years ago
nick black d8cdc3996c python: update for RGB name changes #985 4 years ago
nick black c85ac831c6 man pages: update for rgb name changes #985 4 years ago
nick black b241a59337 python: mbswidth() -> ncstrwidth() #985 4 years ago
nick black dab7247cdd
mbswidth: use utf8_egc_len() for segmentation #1014 4 years ago
nick black c3e5e47a2a
ncreader: conform to the New Way #627 4 years ago
nick black 4f04f1bc31 remove bgchannels field from selector_options #627 4 years ago
nick black 306948507f ncmultiselect: normalize per new widget API #627 #1006 4 years ago
nick black a4e2a87f79 python: update ncselector to match #627 4 years ago
nick black bc097a5674
v1.7.2 4 years ago
nick black 70f062aff5
v1.7.1 4 years ago
nick black 2f28420034 rename ncplane_putsimple() -> ncplane_putchar() #912 4 years ago
nick black 64fe8f6c07
v1.7.0 4 years ago
nick black 4c7a1d0427 ncdirect_init: add flags parameter #976 4 years ago
nick black d5a4cd2349
add notcurses-direct-pydemo 4 years ago
nick black c93243fd54
v1.6.20 4 years ago
nick black 6868350c89
fix the motherfucking python yeeaarrrrhh #947 4 years ago
nick black 66f80c77f9
add ncplane_y() and ncplane_x() 4 years ago
nick black e92b7fd6ea
v1.6.19 4 years ago
nick black 6526e58c00
v1.6.18.4 4 years ago
nick black 6ea73e6e45
v1.6.18.3 4 years ago
nick black 550c02d8ac
v1.6.18.2 4 years ago
nick black d11d8175d0
v1.6.18.1 4 years ago
nick black d3e23697af python: restore channel_set_rgb() 4 years ago
nick black bd14d6d08c
python: drop experiment 4 years ago
nick black 6d7f9eb501
v1.6.18 4 years ago
nick black 9d75f575db
ncplane_set_[fb]channels 4 years ago
nick black 70a28feb63
ncreader: horizontal scrolling mostly works #839 4 years ago
nick black 7cbb2e9110 zoo demo: show cursor in reader box #835 4 years ago
nick black a53d5a21a8 disable/enable cursor for rasterize 4 years ago
nick black cab19cf790 Cursor work (placement, drop RETAIN_CURSOR) #953
notcurses_enable_cursor() now accepts placement arguments.
both it and notcurses_disable_cursor() now return int rather
than void. add notcurses_cursor_move_yx().
4 years ago
nick black 4dd1d6a4c8 Annihilate nc_err_e and all infrastructure #948 4 years ago
nick black 026b94969d cffi heap allocations are zero-initialized #942 4 years ago
Nick Black 73dc0a7d69
Zoo 2, electric boogaloo (#939)
* Reimplement the widget zoo demo. The previous PoC
  was a multithreaded monster with behavior dependent
  on screen geometry. Replace it with a single thread state
  machine. Closes #936.
* Support titles for ncplot. Adds title to the ncplot_options
  struct, which may be NULL. Closes #941 .
* Properly color ncplot according to maxchannels and
  minchannels. Closes #940
* Add tools/function-table.sh script for generating public API list.
4 years ago
nick black 32d352173b
ncdirect_flush: struct ncdirect is const 4 years ago
nick black 4ebf8f748c
v1.6.16 4 years ago
nick black 5c533c9f1a
ncplot: support legend styling 4 years ago
Nick Black 359ad1d36d
Generalized mergedown #779 (#932)
* Rename ncplane_mergedown -> ncplane_mergedown_simple()
* New ncplane_mergedown(), fully general projection of src to dst
4 years ago
nick black d282682564
python: remove static inline functions from cffi #924 4 years ago
Nick Black e1cf346ddb
internalize highgradient_sized implementation #920 (#922)
internalize highgradient_sized implementation #920
4 years ago
nick black 05da44b06b
hide blending functions #917 4 years ago
nick black a2c95814b7 Remove cell_simple_p()
Get notcurses-tetris working again, since its collision
detection relied on simple vs non-simple EGCs, which are
no longer an operative concept. Closes #899.
4 years ago
nick black 49ae79341d
v1.6.15 4 years ago
nick black 5d1adda150
python: notcurses.py needs stylemask, not attrword 4 years ago
nick black dc99d56ac1
v1.6.14 4 years ago
nick black e897de3700
v1.6.13 4 years ago
nick black c878d0b5ea
python: add ncplane_set_attr() 4 years ago
nick black 202b88615f
kill ncplane_styles(), duplicates ncplane_attrs() 4 years ago
nick black 046d4a9d5d
python: update *_palette_size() 4 years ago
nick black d982006bc7 python: kill duplicate ncplane_attr 4 years ago
nick black 16ff667325 blissful endianness-opacity
not caring about endianness is the opiate of the masses.
happy, happy masses. remove endianness.h and all its baleful
influence by explicitly breaking up the cell structure. #892
4 years ago
nick black 4deaeac97e fuck python until it dies 4 years ago
nick black e6dda217a0 python: bring tabletcb definition up to date 4 years ago
nick black 9704f5cbe7
v1.6.12 4 years ago
Nick Black 11d6a4eb89
New reel layout algorithm #818 (#870)
New reel layout algorithm based on trimming and sifting. Fixes the original issue of #818, though I'm not marking that bug fixed until I've resolved the little issues remaining with this one.
Back off CMake version dependency, see if we can get by with 3.11.4 for EPEL8 #851
Simplify tablet drawing tremendously by separating tablet border and data planes. Callbacks no longer need worry about the borders; they can simply fill the plane they're handed. #833
Improve notcurses_debug() a bit
Add ncplane_new_named() and friends to expose plane naming to the user.
Add internal ncplane_genocide() to kill a plane and all its bound descendents
New industrial-strength ncreel unit testing
notcurses-ncreel now accepts -ln for log level n
Add ncplane_parent() and ncplane_parent_const()
4 years ago
nick black fa76f5a432
v1.6.11 4 years ago
nick black ead60d06cc
unexport cell_egc_idx() 4 years ago
nick black 3d6fad1477
python: update ncreader_options definition 4 years ago
nick black 8cfd1677c4
v1.6.10 4 years ago
nick black f5f9808d80 install notcurses-pydemo.1 as part of python #836 4 years ago
nick black 7174a84e94 zoo: add multiselector 4 years ago
nick black 1ded31596e
python: remove itemcount #831 4 years ago
nick black d126c71dd6
v1.6.9 4 years ago
nick black f8c16ceb79
v1.6.8 4 years ago
nick black d59ff71a6c
remove cell_noforeground_p() from python 4 years ago
nick black 4f8673b0e9
v1.6.7 4 years ago
nick black 32277ab2b9
notcurses.py: define ncoptions, raise exception on init failure #807 4 years ago
nick black 17f1323c20
v1.6.6 4 years ago
nick black 104bbfef50
add notcurses_lex_blitter() 4 years ago
nick black 5422268d6f
python: install notcurses-pydemo from setup.py 4 years ago
nick black 308b49da5a
v1.6.5 4 years ago
nick black ce32705c40
fix python compilation 4 years ago
nick black b2e924319b
v1.6.4 4 years ago
nick black 37ceb753bf
notcurses-view: print blitter name #805 4 years ago
nick black a4ee5bd9c7
v1.6.3 4 years ago
nick black 3f544a4ed1
v1.6.2 4 years ago
nick black 1cc0371373
v1.6.1 4 years ago
nick black 4a97c139e6
add ncplane_putstr_stainable() #754 4 years ago
nick black a6b002fa77 add ncdirect box-drawing functions #753 4 years ago
nick black 96c6dc8e16 add ncdirect_canopen_images() and ncdirect_canutf8() #753 4 years ago
nick black c783244185 ncdirect_hline_interp(), ncdirect_vline_interp(), dirlines PoC #753 4 years ago
nick black 750f88b70a split direct into its own header 4 years ago
nick black 3ef1a3a07d
add notcurses_version_components() 4 years ago
Nick Black 162f9910c2
Tons of work on ncreel (#776)
Tons of work on ncreel (#627, #749, #694)
Improve reel demo: get input wired up once more, avoid the FPS demo at bottom, print pointer and line count in each tablet, use new ncreel API. Improve notcurses-ncreel explorer: kill memory leaks (#694), draw tablets better, use new ncreel API. Fix bug in ncreel core where cruft could be left on the screen, via a very gross brute force algorithm. I'll likely come back and make this a bit less ghastly in the future #749. Remove weird one-off input system from ncreel, residue from outcurses. Make some of the normalizing changes speced out in #627

* ncreel: give each tablet an index, and print it #749
* reel: eliminate FIXME + param to insert_tabler() #749
* ncreel: label tablets with their adress to correlate against debugging logs #749
* more terminal environment variable notes
* TERMS.md: add Sakura, st
* ncreel: move legend out of reel proper
* ncreel_options: dump min/max_supported_rows/cols #627
* ncreel: remove weird one-off input layer #627
* ncreel: add ncreel_offer_input()
* reel demo: call demo_getc()
* reel demo: rig up input to demo main
* ncreel: drop ncreel_del_focused(), properly bind tablets
* reel demo: don't free up necessary plane
* ncreel: don't pull absolute locations of tablets
* ncreel: place tablets correctly in boundrel
* reel demo: add back support for left/right
* reel demo: restore thread movement
* ncreel: remove a great deal of complexity
* reel demo: stay out of FPS graph's way
* ncreel: give each tablet an index, and print it #749
* reel: eliminate FIXME + param to insert_tabler() #749
* ncreel: label tablets with their adress to correlate against debugging logs #749
* ncreel: move legend out of reel proper
* ncreel_options: dump min/max_supported_rows/cols #627
* ncreel: remove weird one-off input layer #627
* ncreel: add ncreel_offer_input()
* reel demo: call demo_getc()
* reel demo: rig up input to demo main
* ncreel: drop ncreel_del_focused(), properly bind tablets
* reel demo: don't free up necessary plane
* ncreel: don't pull absolute locations of tablets
* ncreel: place tablets correctly in boundrel
* reel demo: add back support for left/right
* reel demo: restore thread movement
* ncreel: remove a great deal of complexity
* reel demo: stay out of FPS graph's way
* reel: tighten up reel following redraw
* reel: fix upper-left corner of topless perimeter
* ncreel: print linecount, return clipped value
* reel: draw focused tablet relative to reel
* reel: brute force decruftification, how embarrassing #749
4 years ago
nick black c809913c22
ncreel: remove {tbrl}off from USAGE, python, docs #627 4 years ago
nick black b6330d142b
add notcurses_render_file() #491 4 years ago
nick black 284dfc4fad
v1.6.0 4 years ago
nick black b829398538 ncdirect_render_image: accept ncalign_e parameter #759 4 years ago
nick black 7a022a4c76 ncneofetch: show palette via direct mode #750 4 years ago