Commit Graph

2313 Commits

Author SHA1 Message Date
nick black
dd2b36ce0a
drone: set TERM on debian 2020-06-28 07:21:22 -04:00
nick black
33667df40e
drone: set TERM for fedora 2020-06-28 07:00:20 -04:00
Nick Black
d5dca33e00 ncneofetch: don't print (null) for distro_pretty 2020-06-28 06:43:29 -04:00
Nick Black
d52ced823c make Wide unit tests sensitive to local irregularities #741 2020-06-28 06:40:00 -04:00
nick black
aec94e86ee
CMake: run some PoCs + ncneofetch as tests 2020-06-28 06:04:41 -04:00
nick black
5815a65fb5
ncsubproc: properly catch exit on non-pidfd path
When we don't have a pidfd available on which to poll(2) (this
is true of Linux pre-5.3, and FreeBSD), we can't rely on a
child death breaking our poll loop. Instead, in this case launch
a second thread, which just sits on a blocking waitpid(2). If
it gets an exit, it calls the completion callback, triggering
the teardown. Closes #728, and ought lets us run the test suite
on FreeBSD.
2020-06-28 05:56:38 -04:00
nick black
f927af00f2
tester: pass NCOPTION_NO_QUIT_SIGHANDLERS 2020-06-28 05:56:07 -04:00
nick black
6303e803f6
outro: don't obfuscate globe with acai plane 2020-06-28 05:55:04 -04:00
nick black
9fe48f8539 procroller/fileroller: enable scrolling on standard plane 2020-06-28 05:50:42 -04:00
nick black
6f6826238e
mojibake: improve topside a tad 2020-06-28 04:04:07 -04:00
nick black
5513707d8d
allglyph: don't print UTF-16 surrogate characters #740 2020-06-28 03:54:30 -04:00
nick black
d568e0619c
docs/USAGE: CELL_FG_MASK -> CELL_FG_RGB_MASK 2020-06-28 02:43:55 -04:00
nick black
354152b48b
Redefine CELL_ALPHA_ in their natural forms
CELL_ALPHA_OPAQUE et al were defined as 0..3, meaning
CELL_ALPHA_SHIFT had to be used to compare them to their
channel representations. Instead, define them in said
representation outright, eliminating the need to shift while
retaining arithmetic properties, and zero initialization for
CELL_ALPHA_OPAQUE. Eliminate CELL_ALPHA_SHIFT #738.
2020-06-28 01:53:42 -04:00
nick black
3985085d04
terminfo: capability is "rev" not "reverse"
While I'm at it, comment up all these properties,
and eliminate double lookup of smkx.
2020-06-28 01:45:18 -04:00
nick black
cdd96af8df
trans: put the legend on top to avoid FPS plot 2020-06-28 01:44:23 -04:00
nick black
78c2cef7e9
Use NCBLIT_2x2 by default with NCSCALE_STRETCH
We're not using NCBLIT_2x2 by default because it warps the
aspect ratio. If we're using NCSCALE_STRETCH, though, we've
(1) already indicated that aspect ratio isn't terribly
important to us and (2) are trying to maximize the space.
Since NCBLIT_2x2 is best for large images anyway, make it
the default when NCSCALE_STRECTH is being used.

Remove all explicit uses of NCBLIT_2x2 when NCSCALE_STRETCH
is being used in notcurses-demo.
2020-06-25 14:09:15 -04:00
nick black
ee690c12df
add APKBUILD for Alpine Linux 2020-06-25 01:42:04 -04:00
nick black
141e8229a8
use pkg_search_module() to find tinfo or ncurses #734 2020-06-25 01:39:43 -04:00
nick black
6ad8ef1dd3
add FAQ about TERM defintions 2020-06-25 01:27:14 -04:00
nick black
c5b517c448
note requirement of musl 1.20+ #733 2020-06-25 01:13:40 -04:00
nick black
03618c70b3
more sys/poll.h -> poll.h for musl #733 2020-06-25 01:12:11 -04:00
nick black
d9535f9962
musl: sys/poll, sys/fcntl -> poll, fcntl #733 2020-06-24 18:21:18 -04:00
nick black
0a0f9faa7f
add .xcf for normal.png 2020-06-23 16:02:38 -04:00
nick black
feaa20c586
normal: use fractalheight.png at end 2020-06-23 15:58:38 -04:00
nick black
ef10b8ced2
mojibake: order planes by unicode spec 2020-06-23 08:47:28 -04:00
nick black
44d6ee42a1
Merge branch 'master' of github.com:dankamongmen/notcurses 2020-06-23 08:37:53 -04:00
nick black
87a488da9f
mojibake: add unicode 5.2 / emoji 1.0 glyphs 2020-06-23 08:37:32 -04:00
Marek Habersack
63b64ff624 [C++] API sync
Added:
  * Direct: render_image (`ncdirect_render_image`)
  * NotCurses: can_truecolor (`notcurses_cantruecolor`)
  * Plane: home (`ncplane_home`)
  * Plane: perimeter_rounded (`ncplane_perimeter_rounded`)
  * Plane: perimeter_double (`ncplane_perimeter_double`)
  * Plane: is_fg_default (`ncplane_fg_default_p`)
  * Plane: is_bg_default (`ncplane_bg_default_p`)
  * Plot: sample (`nc{d,u}plot_sample`)
  * Visual: geom (`ncvisual_geom`)

Fixed:
  * Plot: {set,add}_sample - `x` coord is always `uint64_t`
2020-06-23 08:03:48 -04:00
nick black
1d71aa4830
ncneofetch: display palette just above image 2020-06-23 07:36:40 -04:00
nick black
0c6f160493
eagle: always zoom to target area #732 2020-06-23 04:00:06 -04:00
nick black
f99f64d3d7 mojibake: add unicode1/emoji1 2020-06-23 03:43:26 -04:00
nick black
1d7b6a7732 mojibake: add unicode 7 / emoji 2 2020-06-23 03:43:26 -04:00
nick black
f0d2847939 mojibake: finish unicode13 block 2020-06-23 03:43:26 -04:00
nick black
bca52922dd mojibake: first row of unicode 13 table 2020-06-23 03:43:26 -04:00
nick black
32180235bd mojibake: better title coloring 2020-06-23 03:43:26 -04:00
nick black
70aefd451c mojibake: accommodate kitty 2020-06-23 03:43:26 -04:00
nick black
8654a4554a mojibake: reorganize so everything fits 2020-06-23 03:43:26 -04:00
nick black
46570d46b9 mojibake: color glyphs 2020-06-23 03:43:26 -04:00
nick black
770c0c0fc5 mojibake demo: scroll planes up 2020-06-23 03:43:26 -04:00
nick black
b35e4c1e80 index.html: move doxygen link to top bar 2020-06-23 03:43:26 -04:00
nick black
e4885327e0 mojibake: clean up planes 2020-06-23 03:43:26 -04:00
nick black
54bfa96b00 mojiake: unicode 6.0 emoji 2020-06-23 03:43:26 -04:00
nick black
44eab55212 mojibake title 2020-06-23 03:43:26 -04:00
nick black
0a653709dc OTHERS: add chafa and viu 2020-06-23 03:43:26 -04:00
nick black
1dfcb826a6 skeleton of mojibake demo #689 2020-06-23 03:43:26 -04:00
nick black
c7c0909c17
ncneofetch: don't read from NULL cpuinfo FILE 2020-06-21 02:53:40 -04:00
nick black
0ad87ef8bb
manpages: restore '*' for ncdirect_init() 2020-06-21 00:50:09 -04:00
nick black
a48ccfacf3
ncneofetch: include LANG/UID 2020-06-19 16:09:32 -04:00
nick black
64d42212a3
v1.5.2 2020-06-19 15:25:41 -04:00
nick black
97a996927f
ncdirect_render_image: return NCERR_UNIMPLEMENTED #725 2020-06-19 15:24:26 -04:00