Commit Graph

3998 Commits

Author SHA1 Message Date
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
nick black
320ed68b30
drone: ctest -V 2021-01-03 14:12:34 -05:00
nick black
ab846f9ac8
ncneofetch improvements
* Use NCBLIT_DEFAULT rather than explicit 2x2, so that we use
  NCBLIT_3x2 on terminals which support it.
* Use NCSCALE_SCALE_HIRES rather than NCSCALE_SCALE.
* Support LOGO in /etc/os-release, with or without quotes.

Closes #1246.
2021-01-03 13:52:00 -05:00
joseLuís
5eb8ac0be4 rust: improve documentation 2021-01-03 16:26:26 +01:00
nick black
4427713f0f
ncdirect: drop signals in ncdirect_stop_minimal 2021-01-03 02:52:30 -05:00
nick black
21f6b5fc8a
notcurses.3: talk about piles, update threading section #1264 2021-01-03 02:48:12 -05:00
nick black
6d6416064e
ncdirect: set up fatal signal handlers #1271 2021-01-03 02:36:58 -05:00
nick black
3a658dad3e
drone: update to new ubuntu builder 2021-01-03 01:45:14 -05:00
nick black
9245fda17f
genericize setup_signals() for ncdirect #1271 2021-01-03 01:31:22 -05:00
nick black
998cf02f34
add NCDIRECT_NO_QUIT_SIGHANDLERS #1271 2021-01-02 23:18:28 -05:00
nick black
8b0de2aa1b
introduce ncwidth() to handle sextants on pre-U13 libcs #1274 2021-01-02 22:06:28 -05:00
nick black
4a57436bb8
ncdirect_putstr: handle palette-indexed color 2021-01-02 21:24:37 -05:00
nick black
555a3262b1
add channel_palindex and friends 2021-01-02 21:23:38 -05:00
nick black
a991e0f624
ncdirect_putstr(): fix up foreground default #1269 2021-01-02 21:15:16 -05:00
nick black
478d7cb514
update channels in ncdirect palindex #1275 2021-01-02 21:11:21 -05:00