Commit Graph

2402 Commits

Author SHA1 Message Date
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
nick black
2c19987f97
fly honies say ooo-oooh 2020-06-19 14:12:21 -04:00
nick black
4a3d436e5b
drone: update builders 2020-06-19 14:10:18 -04:00
nick black
641f0cb894
brailleblitter: full EGC selection, blending #649 2020-06-19 13:25:34 -04:00
nick black
79d3ae67e4
add notcurses_cantruecolor() 2020-06-18 11:04:29 -04:00
nick black
5a466ade18
ncneofetch: get cpu info #550 2020-06-18 10:29:00 -04:00
nick black
89b2106075
ncneofetch: don't call out to lsb_release, cuts 95% of running time lol #550 2020-06-18 10:20:32 -04:00
nick black
189841d992
ncneofetch: thread the logo load+draw #550 2020-06-18 10:02:02 -04:00
nick black
9f69e4d998
ncneofetch: show x resolution when possible #550 2020-06-18 09:45:28 -04:00
nick black
e45c2c9ac3
demo: speed things up a bit, our ass is dragging 2020-06-18 09:45:14 -04:00
nick black
292f0d9294
ncneofetch: get desktop manager + shell #550 2020-06-18 05:40:32 -04:00
nick black
37ba3a0bd4
ncneofetch: metricize ram #550 2020-06-18 05:14:13 -04:00