Commit Graph

194 Commits (040ff99fb7ed6dee113ce303223f75cd8a38976c)

Author SHA1 Message Date
nick black 040ff99fb7
v3.0.9 2 years ago
nick black 8dbfe858d9
v3.0.8 2 years ago
nick black 2d7350c9ac
v3.0.7 2 years ago
nick black 810f8694ec
v3.0.6 2 years ago
nick black dc845b5dcc
v3.0.5 2 years ago
nick black 15e2c6eb12
[ncinput_equals] consider UNKNOWN == PRESS #2554 2 years ago
nick black 5943d4e256
v3.0.4 2 years ago
nick black de02ceed91
[load_ncinput] always capitalize ASCII when Ctrl is used 2 years ago
nick black 4b49cb4592 add meta modifier handling #2522
Handle Meta modifier in Kitty and XTMODKEYS. Add Meta
indicator to notcurses-input. Update man page. Add
NCKEY_META_{SHIFT, CTRL, ALT, META} constants. Add
"modifiers" field to ncinput struct. Add inline
functions for testing modifiers. Remove special-casing
in Kitty protocol that capitalized all lowercase ASCII
when ctrl was pressed; we don't do this for XTMODKEYS.
2 years ago
nick black b4bc770127
v3.0.3 2 years ago
nick black 86e09bec49
v3.0.2 3 years ago
nick black 53c95b6d86
v3.0.1 3 years ago
nick black 7bbc669813
v3.0.0 3 years ago
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
3 years ago
nick black 538dff91ba
[input] provide utf8 form in ncinput 3 years ago
nick black aa0c3ef1a9
sync all versions to 2.4.99 #2402 3 years ago
nick black 0dfc5facdf
2.4.98 trial balloon 3 years ago
nick black e205cde05f
set versions to 2.4.97 for prep nuget build #2354 3 years ago
nick black ca0b168192
name everything 2.4.99 3 years ago
nick black da4efcf905
notcurses_input.3: document NCKEY_SIGNAL 3 years ago
nick black 9065975a3c
move synthesized events beyond unicode 3 years ago
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
3 years ago
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.
3 years ago
nick black 95f659d62b
[notcurses_input.3] update to specify CLOCK_MONOTONIC 3 years ago
nick black 97f63dc954
v2.4.8 3 years ago
nick black acb91339e4
v2.4.7 3 years ago
nick black 41764d3691
v2.4.6 3 years ago
nick black 2148bcc4f2
Revert "[nckeys] move from PUA-B to 'plane 18' #2247"
This reverts commit e83f1f5ba3.
3 years ago
nick black e83f1f5ba3
[nckeys] move from PUA-B to 'plane 18' #2247 3 years ago
nick black 7ba72c4c20
v2.4.5 3 years ago
nick black 4c81a72bab
notcurses_input.3: mention mouse events in bottom/right margins can show up #2233 3 years ago
nick black ff84058f5c
v2.4.4 3 years ago
nick black a603d265a4
v2.4.3 3 years ago
nick black 5269e4b709
v2.4.2 3 years ago
nick black 3faf8ee3fb
[input] introduce NCKEY_EOF #2185 3 years ago
nick black ea5da346f0
Add keytype indicator to notcurses-input #2182 3 years ago
nick black 99007e128c
[input] add evtype to ncinput, for press/repeat/release #2182 3 years ago
nick black 1d4c62d446
[input] implement timeouts 3 years ago
nick black 1630a1629f
merge that shit 3 years ago
nick black 3cf5a67b84
input thread #2136 3 years ago
nick black f9df8e14fc
v2.4.1 3 years ago
nick black 8aa856f20b
v2.4.0 3 years ago
nick black 25afdd8ab6 [kitty] handle level 1 of keyboard protocol #2131 3 years ago
nick black e6ce5196d3
v2.3.18 3 years ago
nick black 1915fb48a1
v2.3.17 3 years ago
nick black 5449878840
v2.3.16 3 years ago
nick black c9fbc5d7f9
v2.3.15 3 years ago
nick black 28def058ce
v2.3.14 3 years ago
nick black 9fcbf00420
v2.3.13 3 years ago
nick black 1e248e41e1
v2.3.12 3 years ago