Commit Graph

933 Commits

Author SHA1 Message Date
nick black
4f86f1b0fd
1K stars! 2021-08-12 19:14:57 -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
9fcbf00420
v2.3.13 2021-08-04 23:37:22 -04:00
nick black
a346a5bf64
add new functions notcurses_{host,account}name() 2021-08-04 23:17:34 -04:00
nick black
24d7d6d995
start merging in the fauxmemstream branch #1977 2021-08-04 14:59:37 -04:00
nick black
6f0830c29a
force zero-width-joins #2016 2021-08-02 09:00:01 -04:00
nick black
16c2fff06b
notcurses-info.1: detail environment lines 2021-08-01 22:43:32 -04:00
nick black
89125802c6 notcurses-info: update man page with more text 2021-08-01 22:33:48 -04:00
nick black
1698cd02fc
add termpaint to OTHERS.md 2021-07-31 03:43:24 -04:00
nick black
42049dc95e
reorder demos so whiteout doesn't disrupt uniblock 2021-07-31 02:58:28 -04:00
nick black
1a97b49ac8
HISTORY: today we were accepted into Homebrew 2021-07-29 12:19:27 -04:00
nick black
1e248e41e1
v2.3.12 2021-07-29 00:55:19 -04:00
nick black
b0b5e49383 ncvisual_from_palidex 2021-07-27 15:47:21 -04:00
nick black
1448960cd5 start handling type-1 DVB subtitles #1311 2021-07-27 15:47:21 -04:00
nick black
7b5f4175eb
add nccell_cols(), deprecate nccell_width() 2021-07-26 19:39:15 -04:00
nick black
0a6fd661b4 set_rgb: unsigned unless we're clipping 2021-07-25 08:26:40 -05:00
nick black
0d289958f9
death to sigset_t #1967 2021-07-25 00:38:33 -04:00
nick black
8d46a0bd17
capture bytes in linux framebuffer graphics to sprixelbytes stat 2021-07-21 17:41:32 -04:00
nick black
30d71ab6b9
v2.3.11 2021-07-20 14:07:47 -04:00
nick black
1f254c47b2
implement child plane scrolling #1883 2021-07-18 16:35:01 -04:00
nick black
382b68f5ab
why weren't we always handling SIGFPE? 2021-07-17 21:55:57 -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
c804148084 Mention @michaelsbradleyjr in HISTORY.md 2021-07-12 22:08:10 -04:00
nick black
561f4eba8c
v2.3.9 2021-07-12 12:24:38 -04:00
Tomek Szczęsny
0baf4ea1b5
Relative cursor move (#1885)
Relative cursor move by @tomek-szczesny
2021-07-11 09:53:56 -04:00
nick black
92293dd402
adapt new python to NCCHANNEL 2021-07-10 19:58:50 -04:00
nick black
83d8724e63
updating CELL_ -> NC_ references 2021-07-10 18:34:00 -04:00
nick black
603fd770fe
update new python for CHANNEL_RGB change 2021-07-10 18:20:44 -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
f0aec109b7
support menus on any plane #1645 2021-07-07 08:33:36 -04:00
nick black
8846e3cee2
ncdirect_putegc(), get true width in ncwidth #1899 2021-07-07 05:54:47 -04:00
nick black
4a23acab2d
fission demo: go both up and down #1896 2021-07-07 04:29:36 -04:00
nick black
00e28cc569
complete ncplane_cursor_move_yx() documentation 2021-07-05 23:42:51 -04:00
nick black
43f0a2e5c8
remove false comments on ncplane_move_yx() 2021-07-05 23:39:42 -04:00
nick black
cd80b70594
add ncplane_moverel(), no unit tests though =[ #1881 2021-07-04 11:15:45 -04:00
nick black
f1202df541
document ncplane_cursor_move_yx better #1882 2021-07-04 11:05:31 -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
8b6a30cba8
v2.3.7 2021-06-29 07:10:22 -04:00
nick black
a21113a66a
ncls: use NCSCALE_HIRES with NCBLIT_PIXEL by default 2021-06-29 04:47:40 -04:00
nick black
490c89f694 add ncplane_scrolling_p() #1841 2021-06-27 07:38:40 -04:00
nick black
7361683d3b
deny control characters in cells and plane emissions #1840 2021-06-27 03:16:24 -04:00
nick black
e813e3abe4
ncls: default to NCBLIT_PIXEL #1835 2021-06-26 20:17:37 -04:00
nick black
aa716d6814
add NCSTYLE_BLINK back to documentation #1818 2021-06-26 01:16:02 -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
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
93fd4515e7
ncplayer: accept a color specification for -a 2021-06-22 09:49:48 -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
bb8bed687d
move CONTRIBUTING.md to make github community insights go green ugh 2021-06-20 10:25:57 -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
048f2f5e77
handle nointerpolate in transparent sexblitter cell #1763 2021-06-19 01:12:49 -04:00
nick black
c9a338e0fd
add ncdirect_canget_cursor() #1790 2021-06-18 14:24:35 -04:00
nick black
476ebe5533
tie warning about no multimedia to linking with null implementation #1771 2021-06-15 23:39:44 -04:00
nick black
3cf971ac67 update ncvisual_plane.3 for ncplane_as_rgba() #1441 2021-06-15 22:33:20 -04:00
nick black
6d68e3c0cd
reference tack(1) in notcurses-{input,info}(1) 2021-06-13 19:46:40 -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
83ac96365d more input planning 2021-06-13 18:21:14 -04:00
nick black
1b86af1398 HACKING add some thoughts on input/queries #1469 2021-06-13 18:21:14 -04:00
nick black
160868d9e8
v2.3.4 2021-06-12 17:27:28 -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
889d985c85
notcurses_visual.3: clarify parameters #1615 2021-06-11 17:28:27 -04:00
nick black
deea4ddf9c ncdirectf_geom: move to ncvisual_options #1746 2021-06-10 14:43:17 -04:00
nick black
ad13e5c428
index.html: reference notcurses-info 2021-06-09 21:32:01 -04:00
nick black
c56dfc2607
install caps-rendered as notcurses-info #1745 2021-06-09 20:54:20 -04:00
nick black
5426e153f7 ncdirectf_render: make ncvisual_options const, thanks @joseluis #1738 2021-06-09 06:57:15 -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
3aa287b9d4
notcurses.3: make explicit that rasterizing clears the area #1732 2021-06-08 14:55:40 -04:00
nick black
d730abb6b0 notcurses_render: purge falsehood #1732 2021-06-08 13:05:36 -04:00
nick black
7d6c03fe6a notcurses_visual.3: document BLEND interactions with PIXEL #1735 2021-06-08 13:05:36 -04:00
nick black
a6433caeaa add NCVISUAL_OPTION_NOINTERPOLATE #1576 2021-06-08 13:05:36 -04:00
nick black
ea13e25cf4 kill NCSCALE_INFLATE #1576 2021-06-06 15:14:35 -04:00
nick black
bf62f5ac3f
notcurses_visual.3: document what functionality requires a multimedia backend #1718 2021-06-06 00:22:30 -04:00
nick black
507d2c8d8e
v2.3.2 2021-06-03 02:29:13 -04:00
nick black
d170e6e7a2 man pages: document that only one context can be active at a time #1694 2021-06-01 17:44:34 -04:00
Nick Black
cd2b5de5fa
Panblitter ncplane_as_rgba() (#1697)
ncplane_as_rgba: genericize across blitters

ncplane_as_rgba() previously was implemented explicitly
in terms of NCBLIT_2x1. it now uses the `egcs` field of the
`blitset`. this supports NCBLIT_2x2 and NCBLIT_3x2 in
ncplane_rgba(). Closes #1490.
2021-06-01 02:25:11 -04:00
nick black
d20a4d8104
ncdirect: restore colors properly following sgr #1703 2021-05-31 20:07:10 -04:00
nick black
c4e2932c76 add ncdirect_supported_styles(), move SGR/SGR0/OC into escblock #1525 2021-05-26 18:04:29 -04:00
nick black
50693fb812
add a section on hardware cursor to notcurses_init.3 #1681 2021-05-22 23:19:58 -04:00
nick black
f2b26723c9
document notcurses_cursor_yx() #1681 2021-05-22 23:07:11 -04:00
nick black
07ea230476
notcurses.3: proper pandoc syntax for FILE* 2021-05-22 17:21:42 -04:00
nick black
6969652031
add ncinput_nomod_p() 2021-05-21 20:06:36 -04:00
nick black
739c96032d
v2.3.1 2021-05-18 04:03:27 -04:00
nick black
42f26fcb1e ncls: update to prep_image() maxy/maxx #1661 2021-05-18 03:36:27 -04:00
nick black
c42fab1564 implement ncdirectf passthroughs #1659 2021-05-16 12:58:24 -04:00
nick black
d1e7adf410 add ncdirectf api #1659 2021-05-16 12:58:24 -04:00
nick black
f91ffae773
link to new 2.3.0 video 2021-05-14 04:44:38 -04:00
nick black
167b81e856
CURSES.md: not just keyboard escape sequences 2021-05-14 03:52:51 -04:00
nick black
6fd7a4cd52
convert a few 'cell' instances to 'nccell' in docs 2021-05-14 03:51:03 -04:00
nick black
1a7c5172f4
add note about sprixel/fb relationship to NEWS.md 2021-05-14 01:45:20 -04:00