2.4.98 trial balloon

This commit is contained in:
nick black 2021-11-21 00:33:46 -05:00
parent 5a56962b1b
commit 0dfc5facdf
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
47 changed files with 63 additions and 53 deletions

View File

@ -542,6 +542,13 @@ if(${USE_CPP})
endforeach()
endif()
endif()
target_link_libraries(ffmpeg
PRIVATE
"${AVCODEC_LIBRARIES}"
"${AVFORMAT_LIBRARIES}"
"${SWSCALE_LIBRARIES}"
"${AVUTIL_LIBRARIES}"
)
############################################################################
# notcurses-demo

View File

@ -1,6 +1,6 @@
% notcurses-pydemo(1)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -34,7 +34,7 @@ def read(fname):
setup(
name="notcurses",
version="2.4.97",
version="2.4.98",
packages=['notcurses'],
scripts=['notcurses-pydemo', 'ncdirect-pydemo'],
package_dir={'': 'src'},

View File

@ -38,7 +38,7 @@ PROJECT_NAME = Notcurses
# could be handy for archiving the generated documentation or if some version
# control system is used.
PROJECT_NUMBER = 2.4.97
PROJECT_NUMBER = 2.4.98
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a

View File

@ -38,7 +38,7 @@
</a>
</div>
<iframe align="right" width="560" height="315" src="https://www.youtube.com/embed/dcjkezf1ARY" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<h2><a href="https://nick-black.com/dankwiki/index.php/Notcurses">notcurses</a> manual pages (<a href="https://github.com/dankamongmen/notcurses/releases/tag/v2.4.97">v2.4.97</a>)</h2>
<h2><a href="https://nick-black.com/dankwiki/index.php/Notcurses">notcurses</a> manual pages (<a href="https://github.com/dankamongmen/notcurses/releases/tag/v2.4.98">v2.4.98</a>)</h2>
<a href="notcurses.3.html">notcurses(3)</a>—a blingful TUI library<br/>
<h3>Executables (section 1)</h3>
<a href="ncls.1.html">ncls</a>—list files, displaying multimedia along with them<br/>

View File

@ -1,6 +1,6 @@
% ncls(1)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% ncneofetch(1)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% ncplayer(1)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% nctetris(1)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses-demo(1)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses-info(1)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses-input(1)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses-tester(1)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_capabilities(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_cell(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_channels(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_core(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_direct(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_fade(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_fds(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_init(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_input(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_lines(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_menu(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_metric(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_multiselector(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_output(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_palette(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_plane(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_plot(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_reader(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_reel(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_refresh(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_render(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_selector(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_stats(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_stdplane(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_stop(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,5 +1,5 @@
% notcurses_tabbed(3)
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_tree(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_util(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME

View File

@ -1,6 +1,6 @@
% notcurses_visual(3)
% nick black <nickblack@linux.com>
% v2.4.97
% v2.4.98
# NAME
notcurses_visual - notcurses multimedia

View File

@ -38,7 +38,7 @@ if environ.get('LDFLAGS') is None:
setup(
name="notcurses",
version="2.4.97",
version="2.4.98",
packages=['notcurses'],
ext_modules=[
Extension(

View File

@ -104,7 +104,7 @@ int highcontrast_demo(struct notcurses* nc){
const int l = totcells + dimx - offset;
ncplane_at_yx_cell(n, f / dimx, f % dimx, &c);
nccell_set_fg_rgb(&c, 0x004000 + (16 * offset));
nccell_set_bg_rgb(&c, 0);
nccell_set_bg_default(&c);
nccell_set_fg_alpha(&c, NCALPHA_OPAQUE);
if(ncplane_putc_yx(n, f / dimx, f % dimx, &c) < 0){
goto err;

View File

@ -3458,6 +3458,7 @@ const char subdivision_flag[] =
"\U0001F471"
"\U0001F3FF\u200D\u2640";
// FIXME work out the actual number of rows
static struct ncplane*
mojiplane(struct ncplane* title, int y, int rows, const char* summary){
ncplane_options nopts = {
@ -3515,9 +3516,9 @@ unicode52(struct ncplane* title, int y){
if(n == NULL){
return NULL;
}
ncplane_putstr_yx(n, 1, 1, "\u26f7\ufe0f" // skier
"\u26f9\ufe0f" // person bouncing ball
"\u26f0\ufe0f" // mountain
ncplane_putstr_yx(n, 1, 1, "\u26f7"//"\ufe0f" // skier
"\u26f9"//"\ufe0f" // person bouncing ball
"\u26f0"//"\ufe0f" // mountain
"\u26ea" // church
"\u26e9\ufe0f" // shinto shrine
"\u26f2" // fountain
@ -3610,11 +3611,13 @@ unicode14(struct ncplane* title, int y){
struct ncplane*
makegroup(struct ncplane* title, int y, const char* emoji, const char* name){
int cols = ncstrwidth(emoji);
if(cols < 0){ // take a wild guess on ncstrwidth() error from old libcs, sigh.
cols = strlen(emoji) * 3 / 5; // best by test
mbstate_t mbs = {};
size_t count = mbsrtowcs(NULL, &emoji, 0, &mbs);
if(count == (size_t)-1){
fprintf(stderr, "couldn't convert %s\n", emoji);
return NULL;
}
struct ncplane* n = mojiplane(title, y, 3 + cols / (planewidth - 12), name);
struct ncplane* n = mojiplane(title, y, count * 2 / (planewidth + 1) + 3, name);
if(n == NULL){
return NULL;
}
@ -3637,7 +3640,7 @@ makegroup(struct ncplane* title, int y, const char* emoji, const char* name){
}
emoji += bytes;
x += w;
if(x >= planewidth - 10){ // leave some wiggle room for wcwidth() problems
if(x >= planewidth - 1){ // leave some wiggle room for wcwidth() problems
++y;
x = 1;
}

View File

@ -3,7 +3,7 @@
<!-- need 4.9.0+ for SPDX license expressions -->
<metadata minClientVersion="4.9.0">
<id>Notcurses</id>
<version>2.4.97</version>
<version>2.4.98</version>
<title>Notcurses TUI/CLI library</title>
<description>Library for blingful TUIs and character graphics</description>
<authors>nick black</authors>