Commit Graph

4012 Commits

Author SHA1 Message Date
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
nick black
7e05d0438a
notcurses_init.3: fix up some syntax 2021-01-03 21:18:52 -05:00
nick black
ec037023a7
notcurses.3: add period at end of sentence 2021-01-03 21:14:29 -05:00
nick black
e617acecc7
v2.1.4 2021-01-03 19:55:32 -05:00
nick black
6855c07fd0
Merge branch 'master' of github.com:dankamongmen/notcurses 2021-01-03 19:47:26 -05:00
nick black
6ff95dd24a
notcurses-demo: print usage on invalid spec 2021-01-03 19:47:21 -05:00
José Luis Cruz
1c12b73a80 remove warning 2021-01-03 19:20:19 -05:00
nick black
18958e98cd update nccell def in docs 2021-01-03 19:20:19 -05:00
nick black
69e54bf9e3 rust: drop more wideasian 2021-01-03 19:20:19 -05:00
nick black
0c38728ceb Remove CELL_WIDEASIAN_MASK from docs #1277 2021-01-03 19:20:19 -05:00
nick black
a229d64703 purge some wideasian cruft from rust wrappers 2021-01-03 19:20:19 -05:00
nick black
3d9b3b679c
debian glibc 2.31-7 has unicode 13 support, back out ncwidth, yay 2021-01-03 18:41:26 -05:00
nick black
54b44513c4
Wide EGC tweaks
Don't bias the nccell width by 1, or 0-length EGCs become
255 columns. We weren't actually using the width to drive
much anything until now, so this wasn't a problem, but it
is exposed as an error once we got rid of CELL_WIDE_ASIAN
and start looping through the actual egc column width.
Closes #1278, closes #1277
2021-01-03 17:42:28 -05:00
nick black
5636a146e4
Wide unit test: rewrite without CELL_WIDEASIAN_MASK #1277 2021-01-03 14:55:58 -05:00
nick black
e6cf1d3844
postpaint: value-result to postpaint_cell for x
postpaint_cell sometimes needs to skip over the following
cells, due to a multicolumn EGC. postpaint() was only
passing x as a value parameter, though, and thus any
changes made weren't escaping out to postpaint(). replace
it with a value-result parameter. might fix #1276.
2021-01-03 14:49:35 -05:00