Commit Graph

4026 Commits

Author SHA1 Message Date
nick black
5a1df02f01
Use runtime wcwidth() to check libc
We've been using #ifdefs and such to check for libc
Unicode 13 support at compile time. Instead, execute
a wcwidth() using a sextant. If it comes back -1, the
libc lacks support; disable sextants. Otherwise, let
it go. This ought allow us to support sextants on BSD
as soon as it has support; it furthermore allows us to
properly disable them on Linuxes lacking such support.
Closes #1289.
2021-01-14 15:57:18 -05:00
nick black
fa3c17abb9
freebsd: don't use sextants, no libc support #1287 2021-01-13 05:49:57 -05:00
nick black
8c508bbb5a
ncneofetch: use freebsd sysctl for cpu info #1284 2021-01-13 05:28:35 -05:00
nick black
a48c149b77
ncneofetch: fall back harder to neofetch logo 2021-01-13 05:11:38 -05:00
nick black
9077bd2ee2
ncneofetch: use big daemon logo on FreeBSD 2021-01-13 05:07:18 -05:00
Nick Black
ca46e52340
readme: work around github rendering problems :/ 2021-01-12 18:55:03 -05:00
nick black
7f98eac236
history: add FOSDEM presentation 2021-01-12 18:49:16 -05:00
nick black
222d5e722d
uniblocks: avoid some problematic glyphs #1285 2021-01-12 05:07:45 -05:00
nick black
b38b2c9fdb
ncneofetch: print explanation for neologo #1260 2021-01-12 04:12:32 -05:00
nick black
fb2afee75e
ncneofetch: account for multicol glyphs in neologos #1260 2021-01-12 03:42:09 -05:00
nick black
129dc33c70
don't use tiparm() with no-param sequences 2021-01-12 03:25:02 -05:00
nick black
8810ba5bd1
xterm+256color2 is preferred over xterm+256color 2021-01-12 03:24:27 -05:00
nick black
6077cbde5c
tighten up ncneofetch a bit
Use 74 columns for infoplane, handling longer model names.
Match /etc/os-release fields whether delimited by tabs or
spaces. Properly extract only the names from /etc/os-release.
2021-01-12 01:03:24 -05:00
nick black
c4f61c528d
ncneofetch: center neologo #1260 2021-01-12 00:33:03 -05:00
nick black
aab28aadb4
ncneofetch: hook up ncart logos #1260 2021-01-11 23:46:56 -05:00
nick black
fe800436ca
ncneofetch: work on non-x86
/proc/cpuinfo doesn't always declare a Model Name, but
it seems to have a vendor_id everywhere I've been able
to check (s390x etc.). fall back to vendor_id in the
absence of a model name. count cores based off instances
of core id while we're at it (likewise fixes s390x).
2021-01-11 23:16:57 -05:00
nick black
09dcda0253
README: give DragonFly BSD some love #1121 2021-01-11 22:07:36 -05:00
nick black
103639d901
ncneofetch: recognize DragonFly BSD #1121 2021-01-11 22:03:19 -05:00
nick black
ee3dc54911
only use execvpe on linux #1121 2021-01-11 20:18:59 -05:00
nick black
5904f31c8e
add FAQ about multimedia-free operation 2021-01-11 12:48:50 -05:00
nick black
d4aef247ea
Fixes for DragonFly BSD from Weitian LI #1121 2021-01-11 12:10:04 -05:00
nick black
01d9b63c5b
add warningless ncart.c generate #1260 2021-01-10 16:47:39 -05:00
nick black
8acc6ea412
neofetch-ripper: escape backslashes correctly in logo text #1260 2021-01-10 16:47:01 -05:00
nick black
250d50134e
neofetch-ripper: build usable C code 2021-01-10 16:39:11 -05:00
nick black
b5bace8aa1
neofetch-ripper: don't emit duplicates #1260 2021-01-10 16:18:11 -05:00
nick black
0a165a9de8
paint: solve for egc following colors #1068 2021-01-10 11:21:56 -05:00
nick black
1a597f2a50
neofetch-ripper: fix alignment 2021-01-10 10:08:14 -05:00
nick black
818e0941d6
ncneofetch: preserve Dylan Araps's copyright 2021-01-10 10:00:40 -05:00
nick black
d85aba798f
add neofetch-ripper #1260 2021-01-10 09:40:19 -05:00
nick black
78a6ffdd22
ncdirect: call rl_deprep_terminal first 2021-01-10 06:17:23 -05:00
nick black
8283adc28f
Introduce src/compat/ for all bins
I've created the new files src/compat/compat.{hc}. These
are available to all binaries by adding src to the include
directories, and src/compat/compat.c to the sources. Several
functions are implemented here which one or more target
operating systems are missing, right now all related to time.
This includes clock_nanosleep(), which is missing on OS X and
DragonFly BSD. Eliminate the other three definitions of
timespec_to_ns() and friends. Standardize on NANOSECS_IN_SEC
rather than the more opaque GIG. Progress on #1121.
2021-01-09 23:25:25 -05:00
Nick Black
e7d0b186ea
Create codeql-analysis.yml 2021-01-09 20:38:53 -05:00
joseLuís
da5f86cc8f rust: rename NcDimension to NcDim; rustfmt 2021-01-08 19:25:46 +01:00
joseLuís
1622375d41 rust: add NCDIRECT_OPTION_NO_QUIT_SIGHANDLERS 2021-01-08 19:22:12 +01:00
nick black
d157a224da
drone: upgrade to new alpine, fedora builders 2021-01-08 11:13:50 -05:00
nick black
68b340e3c8
ncdirect: prep readline for use #1120 2021-01-08 07:28:24 -05:00
nick black
4fc099f2e9
reel/plot/menu: properly warn on bad flags 2021-01-08 05:13:31 -05:00
nick black
15386d57ce
nontrivial stacking unit test #1068 2021-01-08 04:59:24 -05:00
nick black
cff006f8ab
fix return value of output functions 2021-01-08 04:58:50 -05:00
nick black
974377f46d
first mdbook program 2021-01-08 00:54:05 -05:00
nick black
a22288223b
OTHERS: link to slok's grafterm 2021-01-07 18:57:58 -05:00
nick black
11e1b34521 README: remove unnecessary verbiage 2021-01-07 18:40:53 -05:00
nick black
ae1463245d examples: directmode text 2021-01-07 18:40:53 -05:00
nick black
30db4af874 mdbook 2021-01-07 18:40:53 -05:00
nick black
19c41170c1
link to x/open curses 2021-01-05 20:10:44 -05:00
nick black
f88caf5128
s/Fullscreen mode/Rendered mode/g 2021-01-05 20:08:54 -05:00
nick black
38f472c3b0
example book chapters #785 2021-01-05 20:02:20 -05:00
joseLuís
1218e8fb7f rust: refactor module header summary info
- refactor headers for Notcurses & NcDirect modules.
2021-01-04 22:13:08 +01:00
joseLuís
6938188b19 rust: NcCell updates
- update NcCell documentation according to last release.
- implement NcCell.load method.
- bonus: remove old "width bias" info from the python bindings.
- bonus: add some (commented out) profile settings to Cargo.toml.
2021-01-04 14:29:56 +01:00
nick black
2048f8bc11
notcurses_plane.3: fix some syntax 2021-01-03 21:22:38 -05:00