468 Commits

Author SHA1 Message Date
nick black
a5c7d2262a qrcode: force 2x1 blitter
only the 2x1 blitter can generate the proper aspect ratio
needed for qrcodes, so force its use with
NCVISUAL_OPTION_NODEGRADE. see PR #2806.
2024-11-16 17:35:23 -05:00
nick black
9377370b59
v3.0.11 2024-10-02 17:31:13 -04:00
nick black
bfb65c252e
v3.0.11 2024-10-02 17:27:41 -04:00
nick black
8e6dd6e134
v3.10.0 2024-10-02 06:01:45 -04:00
nick black
aeb6bca35a
ncsixel_as_rgba: fix processing following '$'
waveplate pointed out that we needed to move to
STATE_WANT_DATA rather than STATE_WANT_HASH following
a '$' in sixel text. this was breaking ncsixel_as_rgba()
for larger sixels, for which we now have a unit test.

Closes #2784
2024-06-11 09:02:18 -04:00
nick black
d31dc93b26
note encoding match changes in NEWS 2024-06-04 23:47:54 -04:00
nick black
b6d1137f8e
[NEWS] mention #2687 infinite loop fix 2022-12-10 05:16:48 -05:00
nick black
8dbfe858d9
v3.0.8 2022-04-06 06:25:53 -04:00
nick black
2d7350c9ac
v3.0.7 2022-02-20 15:20:12 -05:00
nick black
ceb8cfef0a [NEWS] mention tab support #1233 2022-02-11 05:52:16 -05:00
nick black
ffc134e7a3
[NEWS] update for 3.0.7 2022-02-11 02:28:35 -05:00
nick black
810f8694ec
v3.0.6 2022-02-09 22:36:37 -05:00
nick black
beea4d62d8
restore nccell_[bf]channel using safe ncchannels_bchannel #2571 2022-01-23 18:19:23 -05:00
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