Commit Graph

455 Commits

Author SHA1 Message Date
nick black
860d06384d
ncchannels_bchannel: operate only on alpha+coloring bits #2571 2022-01-23 18:15:53 -05:00
nick black
e33cb62de9
[ncplanes] remove ncplane_set_[bf]channel() #2571 2022-01-23 17:46:04 -05:00
nick black
1cfe1360a4
[NEWS] add 3.0.6 entry 2022-01-21 12:40:38 -05:00
nick black
dc845b5dcc
v3.0.5 2022-01-21 12:39:27 -05:00
nick black
72678835f2
[ncpalette] add ncpalette_get() for orthogonality #2565 2022-01-21 03:37:38 -05:00
José Luis Cruz
11e7e9211d
fix typo 2022-01-18 16:25:38 +01:00
nick black
b85c1f1dad
[NEWS] mention input changes 2022-01-12 00:44:09 -05:00
nick black
5943d4e256
v3.0.4 2022-01-08 14:37:08 -05:00
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.
2022-01-04 12:25:35 -05:00
nick black
524a2f0a54
mention XTMODKEYS level 2 in NEWS 2022-01-02 20:47:58 -05:00
nick black
b4bc770127
v3.0.3 2022-01-02 12:31:25 -05:00
nick black
635da75c3c [quantanal] recover control sequence with ncplane_at_yx() 2021-12-24 02:23:46 -05:00
nick black
aa7903b370 implement ncvisual_from_sixel() 2021-12-23 09:47:41 -05:00
nick black
bb91c170dd implement sixel_as_rgba() #1724 2021-12-23 09:47:41 -05:00
nick black
e0c5cf5838
NCOPTION_SCROLLING, alias NCOPTION_CLI_MODE 2021-12-23 07:54:37 -05:00
nick black
86e09bec49
v3.0.2 2021-12-21 09:01:43 -05:00
nick black
041a083a0f add ncplane_cursor_y()/ncplane_cursor_x() 2021-12-18 15:41:37 -05:00
nick black
5c2b87a89d [NEWS] mention nctree is dynamic now 2021-12-12 07:23:27 -05:00
nick black
1b2e58124c declate nctree_add() and nctree_del() #2458 2021-12-12 07:23:27 -05:00
nick black
ba1c79b66e add nccell_load_ucs32 2021-12-10 02:38:17 -05:00
nick black
4c17970ba0
detect and expose default foreground color #2432 2021-12-09 16:08:43 -05:00
nick black
6e42d5c52e
add notcurses_default_background() #2432 2021-12-09 15:38:32 -05:00
nick black
977a4ed966 introduce NCPLANE_OPTIONS_{VSCROLL, AUTOGROW} #2440 2021-12-08 01:09:15 -05:00
nick black
b7785d1272 declare ncplane_growtext() 2021-12-08 01:09:15 -05:00
nick black
7bbc669813
v3.0.0 2021-12-02 04:41:48 -05:00
nick black
538dff91ba
[input] provide utf8 form in ncinput 2021-11-30 04:27:46 -05:00
nick black
7a91a2f905 normalize cell initializer names (prefix with NC) 2021-11-30 02:03:09 -05:00
nick black
369602196b
[NEWS] ncstrwidth takeover 2021-11-26 03:27:25 -05:00
nick black
d1c9dd93cf
[core] add ncplane_resize_placewithin #1478 2021-11-17 04:02:49 -05:00
nick black
b91f150e96
[render] call notcurses_refresh() on sigcont #281 2021-11-17 03:14:34 -05:00
nick black
f401f2b4f1
[ncplayer] default to pixel blitting #2340 2021-11-11 11:42:03 -05:00
nick black
4c0e5aa369
[NEWS] update with 2.4.9 release date. on to 3.0.0! 2021-11-11 08:11:06 -05:00
nick black
5ff59ce421
[putstr] take size_t* for sbytes, not int* #2331 2021-11-10 22:43:44 -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
91420af5ce eliminate recursion in ncplane_polyfill_yx #2328 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
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
b19847a06a [visual] extrinsic geometry unit tests 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
a85a9097f9 [render] gratuitous hpa only on plane changes #2199 2021-10-28 06:42:19 -04:00
nick black
935e96a3bc [stats] add hpa_gratuitous stat #2199 2021-10-28 06:42:19 -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