Commit Graph

435 Commits

Author SHA1 Message Date
nick black
94edc372e5
prep NEWS.md for 2.4.3 2021-09-20 08:09:40 -04:00
nick black
5269e4b709
v2.4.2 2021-09-20 08:03:12 -04:00
nick black
a54cf1813e
README/NEWS: info about wrappers 2021-09-20 02:45:59 -04:00
nick black
3faf8ee3fb
[input] introduce NCKEY_EOF #2185 2021-09-19 22:16:31 -04:00
nick black
ea5da346f0
Add keytype indicator to notcurses-input #2182 2021-09-19 21:01:40 -04:00
nick black
99007e128c
[input] add evtype to ncinput, for press/repeat/release #2182 2021-09-19 20:13:02 -04:00
nick black
1630a1629f
merge that shit 2021-09-14 03:41:46 -04:00
nick black
3cf5a67b84
input thread #2136 2021-09-14 03:34:53 -04:00
nick black
528a7db19a
erP 2021-09-13 18:30:45 -04:00
nick black
0213e026b2 allow users to set the stdplane's resizecb
Hardcode a call to ncplane_resize_maximize() in
notcurses_resize_internal() for the standard plane,
when handling the standard pile. allow the user
to set the standard plane's resize callback beyond
that. closes #2163.
2021-09-13 13:04:38 -04:00
nick black
772f429fb2
mention ncstrwidth_valid() in NEWS 2021-09-12 22:04:07 -04:00
nick black
4ec1bfd8be
[info] differentiate between kitty animation and kitty selfref #2161 2021-09-12 02:17:29 -04:00
nick black
8aa856f20b
v2.4.0 2021-09-06 05:29:56 -04:00
nick black
582e7b24c5
complete initial libgpm support #1405 2021-09-01 20:03:42 -04:00
nick black
e6ce5196d3
v2.3.18 2021-08-31 20:06:55 -04:00
nick black
1915fb48a1
v2.3.17 2021-08-22 16:08:03 -04:00
nick black
1571bfee72 pixelplots: paint only through egcidx #1382 2021-08-22 07:22:07 -04:00
nick black
ed557257d9 add notcurses_{enter,leave}_alternate_screen #2082 2021-08-21 23:00:58 -04:00
nick black
5449878840
v2.3.16 2021-08-19 22:14:45 -04:00
nick black
c9fbc5d7f9
v2.3.15 2021-08-17 19:18:05 -04:00
nick black
91dfb487ad remove support for the iTerm2 graphics protocol #2060 2021-08-15 22:12:49 -04:00
nick black
4d6526a61d ncneofetch rewritten in CLI mode
ncneofetch was previously direct mode followed by rendered mode with
margins, a Frankenstein application if one ever existed. Rewrite it
using CLI mode, extending the latter as necessary to accomplish this
task. We now have one fewer dependency on direct mode, we have better
proven out CLI mode, and we get a ~30% reduction in ncneofetch runtime.
Good stuff! Closes #2030.

Add ncplane_scrollup() and ncplane_scrollup_child()
Cleans up ncport.h
Eliminates some inconsequential memory leaks in ncneofetch
Add SPRIXEL_UNSEEN to avoid invalid moves on
 not-yet-displayed sprixels
2021-08-12 18:37:53 -04:00
nick black
7108dc36c0
ncplane_set_*_palindex(): just use ncchannels*() #2049 2021-08-12 01:08:21 -04:00
nick black
a346a5bf64
add new functions notcurses_{host,account}name() 2021-08-04 23:17:34 -04:00
nick black
ddd0533b03
NEWS: prep for 2.3.13 2021-07-29 02:51:34 -04:00
nick black
1e248e41e1
v2.3.12 2021-07-29 00:55:19 -04:00
nick black
6162ba3943 restore compatibility ncvisual_subtitle() 2021-07-27 15:47:21 -04:00
nick black
b0b5e49383 ncvisual_from_palidex 2021-07-27 15:47:21 -04:00
nick black
3094e52dcc note about ncvisual_subtitle() 2021-07-27 15:47:21 -04:00
nick black
ee6de771e4
handle arbitary target glyph widths in ncplane_put #1873 2021-07-26 19:39:47 -04:00
nick black
0d289958f9
death to sigset_t #1967 2021-07-25 00:38:33 -04:00
nick black
3c6eac00e3 NEWS: prep for 2.3.12 2021-07-21 07:53:39 -04:00
nick black
30d71ab6b9
v2.3.11 2021-07-20 14:07:47 -04:00
nick black
e8707e575d NEWS entry for iterm2/fbcon drawing 2021-07-18 20:22:54 -04:00
nick black
f5ceb7d6b7
mention child plane scrolling in NEWS #1883 2021-07-18 16:48:28 -04:00
nick black
382b68f5ab
why weren't we always handling SIGFPE? 2021-07-17 21:55:57 -04:00
nick black
b9b135af1a
add note to NEWS about highcontrast atop default #1947 2021-07-17 20:58:08 -04:00
nick black
1fae68d9c6
add NCPLANE_OPTION_FIXED #1909 2021-07-15 23:04:25 -04:00
nick black
3aaff6a944
v2.3.10 2021-07-14 22:41:59 -04:00
nick black
dbe6803dee The mission of this Allied Force was fulfilled at 0241, local time, May 7th, 1945. 2021-07-12 21:27:02 -04:00
nick black
561f4eba8c
v2.3.9 2021-07-12 12:24:38 -04:00
nick black
bc4f2a3626
CHANNELS_RGB_ -> NCCHANNELS_ 2021-07-10 17:54:06 -04:00
nick black
bfca06264a
fix up indexing for NCBLIT_8x1 plotter #1912 2021-07-09 10:30:33 -04:00
nick black
087fd083af
[brownbag] actually call mouse_{dis/en}able() 2021-07-09 08:16:06 -04:00
nick black
14a50cfa3f
add ncchannels_reverse, use it in ncmenu, add unit test #1878 2021-07-07 09:36:31 -04:00
nick black
0ffa587a68
NEWS: mention ncmenus working on all planes 2021-07-07 08:34:58 -04:00
nick black
8846e3cee2
ncdirect_putegc(), get true width in ncwidth #1899 2021-07-07 05:54:47 -04:00
nick black
aa7b46f659
NEWS: mention falsehood in documentation 2021-07-05 23:41:01 -04:00
nick black
cd80b70594
add ncplane_moverel(), no unit tests though =[ #1881 2021-07-04 11:15:45 -04:00
nick black
50a7996b4f
notcurses_detected_terminal: use termdesc_longterm() 2021-07-04 07:01:50 -04:00
nick black
1189891167
v2.3.8 2021-07-04 01:14:12 -04:00
nick black
0e341fa3de
notcurses-info.1: describe output 2021-07-03 19:25:42 -04:00
nick black
cbb27d2948
NEWS: mention OIIO fixes #1722 2021-07-03 00:09:28 -04:00
nick black
3596b2b2a2
NEWS: describe pure changes 2021-06-30 17:44:54 -04:00
nick black
63e9282893
v2.4.7 2021-06-29 06:58:56 -04:00
nick black
dce4426dcf
NEWS: add note about rejecting control chars 2021-06-29 00:46:28 -04:00
nick black
490c89f694 add ncplane_scrolling_p() #1841 2021-06-27 07:38:40 -04:00
nick black
68e498a583
ncls: disable cursor 2021-06-26 20:21:20 -04:00
nick black
9973788efb
restore NCSTYLE_BLINK for now, add 25m to turn it off #1818 2021-06-26 01:14:13 -04:00
nick black
166212f234 document NCOPTION_PRESERVE_CURSOR #1823 2021-06-25 00:21:08 -04:00
nick black
9d7f07771b
GTFO NCSTYLE_DIM, NCSTYLE_REVERSE #1818 2021-06-24 02:13:57 -04:00
nick black
481d539092
v2.3.6 2021-06-23 22:35:19 -04:00
nick black
383678da4e
move remainder of debug_caps into notcurses-info #1793 2021-06-23 21:46:08 -04:00
nick black
8fc2a32990
remove NCSTYLE_{INVIS,BLINK,STANDOUT} #1818 2021-06-23 21:23:12 -04:00
nick black
a14a5271ac
v2.3.5 2021-06-23 13:07:42 -04:00
nick black
041f97371f add stat for ASUs and send them #1582 2021-06-22 16:30:58 -04:00
nick black
379453c8ea
render piles to file/buffer
Replace notcurses_render_to_file() and
notcurses_render_to_buffer() with variants that work
on arbitrary piles (the former only worked on the standard
pile). Rewrite the former as trivial wrappers around the
latter, and deprecate the former. Closes #1770.
2021-06-22 01:17:55 -04:00
nick black
e5662ac506 add and document sprixelbytes stat #1801 2021-06-20 08:51:23 -04:00
nick black
d360cc1d1e ncvisual_from_rgb_{packed, loose}() #1767 2021-06-19 05:14:09 -04:00
nick black
c8dfa17485
Set up sane logging for direct mode
All our diagnostic macros required a struct notcurses from
which to extract the loglevel. Eliminate this parameter,
and update all caller sites. Add a library-wide (but not
exported) loglevel variable, and set it from both
notcurses_core_init() and ncdirect_core_init(). Add two
new direct mode flags, NCDIRECT_OPTION_VERBOSE and
NCDIRECT_OPTION_VERY_VERBOSE, mapping them to
NCLOGLEVEL_WARNING and NCLOGLEVEL_INFO respectively.
Closes #1690.
2021-06-19 03:21:05 -04:00
nick black
534000cadb
clamp sixel height in update_term_dimensions() so ncdirect gets it #1789 2021-06-19 00:02:50 -04:00
nick black
c9a338e0fd
add ncdirect_canget_cursor() #1790 2021-06-18 14:24:35 -04:00
nick black
3cf971ac67 update ncvisual_plane.3 for ncplane_as_rgba() #1441 2021-06-15 22:33:20 -04:00
nick black
80b7391d96
remove NEWS claim that notcurses_check_pixel_support() is going away #1766 2021-06-15 11:52:20 -04:00
nick black
d50792a899
more detail in NEWS for terminal queries #1751 2021-06-14 18:56:38 -04:00
nick black
0d7a5a5ef8 remove the majority of notcurses_check_pixel_support() calls #1469 2021-06-13 18:21:14 -04:00
nick black
cadd4aefee s/CELL_ALPHA_/NCCELL_ALPHA_/g 2021-06-13 18:21:14 -04:00
nick black
a290e3f741
NEWS: fix typos info: dump more unicode 2021-06-13 10:13:25 -04:00
nick black
160868d9e8
v2.3.4 2021-06-12 17:27:28 -04:00
nick black
0b72bec79d
add ncdirect_ascii_box(), use it in DefaultBox unit test 2021-06-12 17:20:37 -04:00
nick black
4ca1036da9
v2.3.3 2021-06-12 16:54:36 -04:00
nick black
d695a8206f
add ncdirect_detected_terminal() and notcurses_detected_terminal() #1759 2021-06-12 13:10:16 -04:00
nick black
21f3dbf72c
NEWS: note ncdirect_box() bugfix #1752 2021-06-12 10:24:09 -04:00
nick black
608943bb95 reference nc->margin when we want margins, not stdplane #1615 2021-06-11 20:35:46 -04:00
nick black
65071fff2d
add note about ncplane_move_yx fix for root planes #1753 2021-06-11 16:56:35 -04:00
nick black
9f4a578e72
factor out common unicode box sequences 2021-06-10 17:11:33 -04:00
nick black
cb178ac247
add simple_box() and heavy_box() forms 2021-06-10 17:04:29 -04:00
nick black
deea4ddf9c ncdirectf_geom: move to ncvisual_options #1746 2021-06-10 14:43:17 -04:00
nick black
c967028fbe ncplayer: add -n option for noninterpolative scaling #1738 2021-06-09 06:57:15 -04:00
nick black
59f4edd777 ncdirectf_render: accept an ncvisual_options #1738 2021-06-09 06:57:15 -04:00
nick black
6fcaad3c5d
generalize ncvisual_inflate() to ncvisual_resize_noninterpolative() #1738 2021-06-08 16:32:03 -04:00
nick black
863c1778aa kitty: cut alphas in half with NCVISUAL_OPTION_BLEND #1735 2021-06-08 13:05:36 -04:00
nick black
df29cbaf1e [kitty] pass C=1 to inhibit cursor moves/scrolling from graphics #1733 2021-06-08 13:05:36 -04:00
nick black
0184ccc0b3 add visual_resize_internal to visual_interface API #1718 2021-06-06 02:13:18 -04:00
nick black
8d4d67c5e7
technically, ncplane_at_yx() change didn't affect ncplane_as_rgba() 2021-06-03 03:05:31 -04:00
nick black
e6f226452d
fix erroneous comment in NEWS 2021-06-03 03:04:29 -04:00
nick black
507d2c8d8e
v2.3.2 2021-06-03 02:29:13 -04:00
nick black
46ddd37083
NEWS.md: memory leak fixes applied to all but OIIO backend 2021-06-03 01:49:28 -04:00
nick black
c9e450bc27
add note to NEWS for 2.3.2 about 'none' memory leak 2021-06-02 21:52:01 -04:00
nick black
3ac445a328 enforce singleton across both direct and rendered mode #1694 2021-06-01 17:44:34 -04:00