Commit Graph

312 Commits (0d963f17a9fbda03683b8d93d9b28e2b2aa739cb)

Author SHA1 Message Date
nick black 3ecdde74d0
v2.1.5 4 years ago
nick black 1108ebb5b6
Fix up some subtle pile issues
ncplane_destroy() needs to call ncplane_reparent_family(), not
ncplane_reparent() as it was doing (closes #1291). ->absy and
->absx actually are absolute; return them directly for an O(1)
ncplane_abs_yx() (down from O(N), huzzah). Add some unit tests
related to destroying and reparenting (#1286). Add ncplane_abs_y()
and ncplane_abs_x(), document them, etc.
4 years ago
nick black 1c0a623b8b
document new function ncplane_abs_yx() #1286 4 years ago
nick black 0a165a9de8
paint: solve for egc following colors #1068 4 years ago
nick black 68b340e3c8
ncdirect: prep readline for use #1120 4 years ago
nick black 15386d57ce
nontrivial stacking unit test #1068 4 years ago
nick black e617acecc7
v2.1.4 4 years ago
nick black 998cf02f34
add NCDIRECT_NO_QUIT_SIGHANDLERS #1271 4 years ago
nick black 70b74a749b
v2.1.3 4 years ago
nick black f1253560ad
ncdirect: set_ on rgb functions #1261 4 years ago
nick black 76d8e2dfce
ncdirect_{fg, bg}_default() -> ncdirect_set_{fg, bg}_default() #1261 4 years ago
nick black 638dde7657
remove unnecessary args from ncdirect_raster_frame() #1248 4 years ago
nick black 1d8fcbb5e4
ncdirect: styles{set, on, off} -> _styles #1247 4 years ago
nick black 55d563b646
v2.1.2 4 years ago
nick black 4d8efcab82
Progress towards NCBLIT_3x2 by default
Add a new member 'sextants' to the terminfo cache (both
notcurses and ncvisual contain one of these, and both
initialize it the same way -- interrogate_terminfo()).
Add a new function, 'notcurses_media_defblitter()', and
deprecate 'ncvisual_default_blitter()' (the latter didn't
receive enough information to return NCBLIT_3x2). Update
all callers. Add new *internal* function rgba_default_blitter(),
so this logic can be freely changed in the future. If
sextants are available, and we're scaling, return NCBLIT_3x2.
Once we detect sextant availability, we'll have sexblitter
as a default -- stay tuned! #1114
4 years ago
nick black e1b1654d1e
NEWS: mention ncdirect image render split 4 years ago
nick black 248dd1fff2
add dynamic linesig control #1228 4 years ago
nick black d6d5757b1d
v2.1.1 4 years ago
nick black d56ea8b5e7 progbar: remove egcs options 4 years ago
nick black 6edafd1f84
v2.1.0 4 years ago
nick black fd2acde1b1 rename cell->nccell, keep alias #1200 4 years ago
nick black 8497ee1877
v2.0.12 4 years ago
nick black 5fc0577529
NEWS: mention ncplane_resize_maximize() 4 years ago
nick black eb485cda21
v2.0.11 4 years ago
nick black a3220b8a73
add ncplane_descendant_p(), unit test it #1192 4 years ago
nick black 361a253aea
v2.0.10 4 years ago
nick black 6fb5c1e512 Fill out some API holes, improve some comments
- Disambiguate the docs for ncplane_erase()
- Add ncpile_top(), ncpile_bottom()
- Refuse attempts to modify the standard plane's resizecb
- Copy alignment and resizecb in ncplane_dup()
- Add cell_load_egc32()
4 years ago
nick black 8083b46e3b
v2.0.9 4 years ago
nick black 2a45620cd6
v2.0.8 4 years ago
nick black e3b2c91999
add NOTCURSES_VERSION_COMPARABLE #1131 4 years ago
nick black 202e3535d5 document new NCSTYLE_STRUCK #1138 4 years ago
nick black fd97aa844c implement ncpile_{render, rasterize}() 🦀🦀 #1135 4 years ago
nick black b2516d8534 Declare ncpile_render() and ncpile_rasterize() #1135 4 years ago
nick black aa5b881e84 NEWS: purge empty sections 4 years ago
nick black a2c35735d1 finish out NEWS for multipiles #1078 4 years ago
nick black 740dc2497d NEWS: mention integer version defines 4 years ago
nick black b6e5b60374 ncpile_create() not NCPLANE_OPTION_NEWPILE #1078 4 years ago
nick black b747af2ae8 drop NCPLANE_OPTION_NEWPILE #1078 4 years ago
nick black 0da6a8c44b add NCPLANE_OPTION_NEWPILE #1078 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 65ed8c0d86
undeprecate ncplane_new(); why break running code? 4 years ago
nick black c0cb5c7ff9
add ncplane_resizecb() #1124 4 years ago
nick black 6084105c68
add ncplane_set_resizecb() #1124 4 years ago
nick black a92e5d97e0 don't threaten to remove ncplane_new() #1115 4 years ago
nick black 61baabe9a1 eagle, HUD: use default blitter 4 years ago
nick black eef6df8c0a death to horiz #1115 4 years ago
nick black a9fbe41f2b document the New Way 4 years ago
nick black 7622cefc3a
v2.0.4 4 years ago
nick black 0d31a03be9
v2.0.3 4 years ago
nick black 8a81d06b4b
ncreader: implement reamining shortcuts #983 4 years ago
nick black 1b1d727169
ncreader: support ctrl-a and ctrl-e #983 4 years ago
nick black 4203c2402f notcurses-demo: improve usage() for 25 demos #736 4 years ago
nick black 7ad0ed2cc2 blitters don't count transparent cells against written count 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 8919d6fe70 ncvisual_rewind 4 years ago
nick black a4546c86e3
v2.0.1 4 years ago
nick black 0b825c619e
add notcurses_stddim_yx_const() 4 years ago
nick black 34442f263f demo: let ncmenu handle section shortcuts #1058 4 years ago
nick black 3229fa53b3
add ncinput_equal_p() predicate #1059 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 fbd3d7fc7f
add 2.0.0 release notes 4 years ago
nick black 8c9611d085
v1.7.6 4 years ago
nick black 4493ac3fa2 note putwc -> putwch in NEWS 4 years ago
nick black d101d2d2d9 add ncdirect_init() inhibit cbreak flag #1049 4 years ago
nick black c6c157a5ad
notcurses_stats_alloc() everywhere 4 years ago
nick black f9e2c7863b
add notcurses_stats_alloc #1043 4 years ago
nick black b4f1065f69 declare notcurses_render_to_buffer() #214 4 years ago
nick black 222861de13 add ncstats to USAGE.md 4 years ago
nick black 20a49d053d
v1.7.5 4 years ago
nick black 683217ef07 normalize style setters #1034 4 years ago
nick black c236b65266 name standard plane 'std' 4 years ago
nick black a591e11c96 retain nctablet_ncplane() as deprecated alias 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 2d9598b913
introduce ncplane_resize_realign #364 4 years ago
nick black 7b51bab79a add resizecb to ncplane_options struct #869 4 years ago
nick black 97dc50db1a kill stray entry in NEWS 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 0e34bec3fb start converting rgb->rgb8 #985 4 years ago
nick black 4bb1f3fc85 mbswidth -> ncstrwidth() #985 4 years ago
nick black dca9db9687
ncreel: conform to the New Way #627 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 bc097a5674
v1.7.2 4 years ago
nick black af05ae7a92 man pages: document NCREADER_OPTION_CURSOR 4 years ago
nick black f88c8ae79c
expose ncvisual_default_blitter(), name blitter in notcurses-view #995 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 4c7a1d0427 ncdirect_init: add flags parameter #976 4 years ago
nick black 5fc6705ce3
add notcurses_ucs32_to_utf8() 4 years ago
nick black c93243fd54
v1.6.20 4 years ago
nick black e1863317a3
CMake: conform to cmake capitalization conventions 4 years ago
nick black a48e840542 document ncreel a bit more 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 8f65211bf8 declare ncdirect input layer #919 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 6bb8f447b5
add ncdirect_flush() #926 4 years ago
nick black 706d492ecd add channels_set_*_palindex() 4 years ago
nick black 2e5a8b78d5
add trivial new iprefix() 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 7933f2baa7
dispose of 1.6.14. PYTHHHHHONNNN 4 years ago
nick black dc99d56ac1
v1.6.14 4 years ago
nick black e897de3700
v1.6.13 4 years ago
nick black 50ba30b113 NEWS: mention notcurses_palette_size() 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 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 c21f0fb812 ncselector_dim_yx: eliminate boundary checks 4 years ago
nick black c618096083
ncselector_redraw(): don't call notcurses_render() #627 4 years ago
nick black fa76f5a432
v1.6.11 4 years ago
nick black ead60d06cc
unexport cell_egc_idx() 4 years ago
nick black 78a7b4d255 constify ncreader_options->egc 4 years ago
nick black 384232efd1
layout tests: enforce utf8 where necessary 4 years ago
nick black f8c16ceb79
v1.6.8 4 years ago
nick black 4f8673b0e9
v1.6.7 4 years ago
nick black 6ea968c522 declare ncmenu_mouse_selected() #819 4 years ago
nick black 604747c8f2 notcurses_puttext: use libunistring for wordbreaking #772 4 years ago
nick black 104bbfef50
add notcurses_lex_blitter() 4 years ago
nick black 308b49da5a
v1.6.5 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 c783244185 ncdirect_hline_interp(), ncdirect_vline_interp(), dirlines PoC #753 4 years ago