Commit Graph

891 Commits

Author SHA1 Message Date
nick black
345c48975d ncman #2323 2021-12-06 01:30:25 -05:00
nick black
64f514d7af
[notcurses.3] talk about the alternate screen 2021-12-03 20:14:45 -05:00
nick black
52c40cbca5
[notcurses.3] document all environment variables 2021-12-03 20:04:46 -05:00
nick black
c16cf655cd
[index.html] correct name on notcurses_pile.3 2021-12-02 06:33:44 -05:00
nick black
7bbc669813
v3.0.0 2021-12-02 04:41:48 -05:00
nick black
caaeec5094
Place ncneofetch properly (#2415)
* ncplane_polyfill_inner: plug memory leak on error paths
* [progbar_create] memory leak on error path
* ncvisual_polyfill_core: memory leaks on error paths
* notcurses_early_init: memory leak on error path
* [demo] fix summary table for ASCII #2402
* [sliders] make it work in ASCII #2402
* add ncplane_ascii_box() #2402
* [notcurses-info] use capabilities accessors for blitters
2021-12-02 01:45:49 -05:00
joseLuís
b1f636a2d9 [docs] rename plane/visual sections to regions 2021-11-30 15:39:58 +01:00
nick black
46ebc1d9c6
ncplane_options: make margin fields unsigned 2021-11-30 05:44:41 -05:00
nick black
538dff91ba
[input] provide utf8 form in ncinput 2021-11-30 04:27:46 -05:00
nick black
aa0c3ef1a9
sync all versions to 2.4.99 #2402 2021-11-30 02:16:17 -05:00
nick black
df689d9104
[notcurses_options] unsigned margins 2021-11-29 12:13:16 -05:00
nick black
37856d9ae3 [manpages] new notcurses_pile.3, cleanups 2021-11-28 02:53:43 -05:00
nick black
8d84c79296
[stats] add new cell_geo_changes and pixel_geo_changes stats #2384 2021-11-27 15:17:12 -05:00
nick black
54046dff5e notcurses_init: document screen clear if smcup is absent 2021-11-23 19:18:26 -05:00
nick black
4db068876b
notcurses_init.3: update some obsolete documentation 2021-11-23 17:46:00 -05:00
nick black
e3d71d4b02
notcurses_init: document NCOPTION_PRESERVE_CURSOR #2196 2021-11-23 17:38:11 -05:00
nick black
0dfc5facdf
2.4.98 trial balloon 2021-11-21 00:33:46 -05:00
nick black
926cc77ac5
notcurses_cell.3: document palindex functions #2360 2021-11-19 08:51:05 -05:00
nick black
58d95dfb25
notcurses_channels.3: document palindex #2360 2021-11-19 08:50:35 -05:00
nick black
e205cde05f
set versions to 2.4.97 for prep nuget build #2354 2021-11-18 21:36:24 -05:00
nick black
ca0b168192
name everything 2.4.99 2021-11-17 19:40:32 -05:00
nick black
d1c9dd93cf
[core] add ncplane_resize_placewithin #1478 2021-11-17 04:02:49 -05:00
nick black
da4efcf905
notcurses_input.3: document NCKEY_SIGNAL 2021-11-17 03:07:47 -05:00
nick black
0124daf8b7
restore ncselector_destroy API, set widget in ncreader #2347 2021-11-17 02:02:55 -05:00
nick black
76f2a3d374
notcurses_selector.3: document that n cannot be standard plane 2021-11-16 23:28:31 -05:00
nick black
bead8cbffc [widgettrack] hook up nctabbed, nctree, ncreel, nc[ud]plot #2342 2021-11-16 22:28:37 -05:00
nick black
f401f2b4f1
[ncplayer] default to pixel blitting #2340 2021-11-11 11:42:03 -05:00
nick black
9065975a3c
move synthesized events beyond unicode 2021-11-09 04:16:23 -05:00
nick black
b42587a1b9
notcurses_getc -> notcurses_get, absolute deadlines 2021-11-09 00:54:29 -05:00
nick black
fe924be5ef
ABI3 changes (#2333)
Long-planned changes for API/ABI3 #1777

* remove old-style notcurses_ rendering functions
* Make notcurses_render() a static inline wrapper around
 ncpile_render(). Remove the deprecated
 notcurses_render_to_file() and ncpile_render_to_file().
* ncstrwidth() becomes static inline wrapper #1777
* remove deprecated ncvisual_subtitle()
* kill ncvisual_inflate(), long deprecated #1777
* remove deprecated palette256 wrappers #1777
* kill ncplane_new() #1777
* remove deprecated renderfp field from notcurses_options #1777
* reorder ncstats fields to match documentation #1777
* kill deprecated style functions #1777
* ncplane_move{top, bottom} become static inline #1777
** ncplane_pixelgeom -> ncplane_pixel_geom() #1777
* ncstyle functions ought return uint16_t #1777 #2200
* ncvisualplane_create: provide new pile functionality #1462
* [heuristics] GNU screen 4x never has rgb
* [BitmapSmoothMove] only WARN in test until sixel supports this #2258
* contour: enable sextants
* interp PoC: clean up ncvisual #2266
* ncselector_options: constify string arguments
* Constify strings in selector/mselector_items
 Use internal types to track items within the
 selector/mselector widgets, rather than pressing the
 user-provided item structs into double-duty. With this
 change, we can constify the strings within those
 user-provided items. Do so, also removing the internal-side
 elements. Update documentation. Closes #2267.
* constify ncmenu_item/_section strings
* constify strings in nctabbed_options
* notcurses-demo FPS graph: back to straight seconds
* remove unused wchar_from_utf8()
* nstrwidth_valid(): properly initialize bytes/width
* [ncneofetch] use GetSystemInfo on Windows
2021-11-09 00:53:30 -05:00
nick black
12e01fdf5c [metric] prefix all defs with NC 2021-11-08 21:05:15 -05:00
nick black
c20e859a6d [python] API conversions 2021-11-08 21:05:15 -05:00
nick black
d29813457b stylemasks ought always be uint16_t 2021-11-08 21:05:15 -05:00
nick black
0231768406 prefix qprefix(), bprefix(), iprefix() with nc- 2021-11-08 21:05:15 -05:00
nick black
83ff2cfe5a unsigned geometries 2021-11-08 21:05:15 -05:00
nick black
0f5aec510a
[mice] support for pure motion events
Deprecate notcurses_mouse_{enable, disable}. Reimplement
them for now as wrappers around notcurses_mice_enable().
New function notcurses_mice_disable() is a static inline
wrapper around notcurses_mice_enable(). The latter
function takes an unsigned bitmask of event types. We
now turn on the "all motion" tracking DECSET if
NCMICE_MOVE_EVENT is requested. Update the documentation,
and kill some obsolete lines. Add the ypx and xpx fields
to ncinput, to indicate pixel offset within a cell. Add
nckey NCKEY_MOTION for button-free motion events. Update
notcurses-input to pass NCMICE_ALL_EVENTS and decode
NCKEY_MOTION. Only emit mouse sequences when connected
to a TTY (or GPM). Closes #2320.

Request RGB XTGETTCAP.

Fix bug in error check in notcurses_render_to_buffer().

Decode multiple XTGETTCAP responses.
2021-11-05 08:32:35 -04:00
nick black
71fd75996c [direct] correct documentation for ncdirect_putstr() 2021-11-04 10:08:26 -04:00
nick black
3792dd5592 [mergeplane] 0 means remainder #1696 2021-11-04 10:08:26 -04:00
nick black
37f077a653 normalize lenghts for line-drawing functions #1696 2021-11-04 10:08:26 -04:00
nick black
d80884ea48 normalize geometry for ncvisual_from_plane, ncplane_contents, and ncplane_as_rgba() #1696 2021-11-04 10:08:26 -04:00
nick black
17b06b1180 [ncvgeom] add begy/begx and leny/lenx to ncvgeom 2021-11-01 21:57:05 -04:00
nick black
a0b34f7062 [core] introduce ncvisual_geom(), replacing ncvisual_blitter_geom() #1684 2021-11-01 21:57:05 -04:00
nick black
935e96a3bc [stats] add hpa_gratuitous stat #2199 2021-10-28 06:42:19 -04:00
nick black
95f659d62b
[notcurses_input.3] update to specify CLOCK_MONOTONIC 2021-10-26 09:59:33 -04:00
nick black
b9c4d359af
[docs] add notcurses_canpixel() to notcurses_capabilities.3 2021-10-26 09:55:24 -04:00
nick black
97f63dc954
v2.4.8 2021-10-23 06:36:18 -04:00
nick black
48ee66918a
[signals] include SIGBUS among fatal signals 2021-10-22 22:08:02 -04:00
nick black
6e2ab83a08
[utils] declare notcurses_osversion #2293 2021-10-21 18:36:52 -04:00
nick black
9097568ac0
document NOTCURSES_LOGLEVEL #2277 2021-10-17 17:28:35 -04:00
nick black
acb91339e4
v2.4.7 2021-10-16 23:52:33 -04:00