Commit Graph

7781 Commits

Author SHA1 Message Date
nick black
dc833be329 [ncman] display section headers 2021-12-06 17:28:53 -05:00
nick black
4b393e2c5f [notcurses.h] move utility functions to the bottom 2021-12-06 17:28:53 -05:00
nick black
5bf2f57561 [ncman] extract version 2021-12-06 10:42:20 -05:00
nick black
0acb9dfe4d use sysconf(_SC_PAGESIZE) 2021-12-06 10:42:20 -05:00
nick black
eab3ca981e [ncman] extract title/section 2021-12-06 10:42:20 -05:00
nick black
4c426f1fb6 [ncman] share trie across arguments 2021-12-06 10:42:20 -05:00
nick black
8c1a4c61cf [windows] looks like we need ilmbase 2021-12-06 13:51:23 -05:00
nick black
698e501c88 [CMake] back to find_package() for OIIO #2431 2021-12-06 12:46:31 -05:00
nick black
fcc53940b5 [CMake] restore find_package(OpenImageIO) #2431 2021-12-06 12:45:18 -05:00
nick black
d28ddebfcf
hierarchal pagenodes 2021-12-06 06:16:31 -05:00
nick black
56c61d97b2
[ncman] start extracting structure from groff data 2021-12-06 04:26:04 -05:00
nick black
02d95dc5af
[demo] add ctrl+L to menu 2021-12-06 03:40:55 -05:00
nick black
b8a548873e
[ncman] bar at bottom with help 2021-12-06 02:39:06 -05:00
nick black
5860d41da5
[compat] only declare strndup on windows c #2428 2021-12-06 02:07:19 -05:00
nick black
e76055ee87
add note about Windows fonts 2021-12-06 01:58:56 -05:00
nick black
0848edbbe7
[macOS] no MAP_POPULATE 2021-12-06 01:41:36 -05:00
nick black
c99c020a6e [INSTALL] on windows, use openimageio 2021-12-06 01:30:25 -05:00
nick black
2a9bfcd21e [drone] use 2021-12-06a gentoo builder 2021-12-06 01:30:25 -05:00
nick black
49e241dbbd [drone] use C.UTF-8 on gentoo 2021-12-06 01:30:25 -05:00
nick black
7ed70a7234 link ncman against zlib 2021-12-06 01:30:25 -05:00
nick black
f8b797f9db [CMake] use zlib if not using libdeflate #2423 2021-12-06 01:30:25 -05:00
nick black
8f38689489 [ncman] zlib implementation, quick and dirty 2021-12-06 01:30:25 -05:00
nick black
88e2d34037 [drone] add gentoo builder 2021-12-06 01:30:25 -05:00
nick black
21c22616d9 drop some obsolete casts 2021-12-06 01:30:25 -05:00
nick black
ee33dbd03a kill two obsolete FIXMEs 2021-12-06 01:30:25 -05:00
nick black
2ebf1f1942 [ncman] build trie, extract commands 2021-12-06 01:30:25 -05:00
nick black
51a76fe1e5 [ncman] augment troffnode with type 2021-12-06 01:30:25 -05:00
nick black
2c6be5a610 add structure for all troff elements 2021-12-06 01:30:25 -05:00
nick black
723139405f define troff structure 2021-12-06 01:30:25 -05:00
nick black
c32e9b3791 [ncman] lex out comments from troff data 2021-12-06 01:30:25 -05:00
nick black
e9cc8d0b2e [ncman] start lexing troff data 2021-12-06 01:30:25 -05:00
nick black
e24154cd91 don't build ncman on windows 2021-12-06 01:30:25 -05:00
nick black
a2385047cc [ncman] add support for inflation using libdeflate 2021-12-06 01:30:25 -05:00
nick black
7f94e50e69 [ncman] map up argument 2021-12-06 01:30:25 -05:00
nick black
269bf361e7 [ncman] event loop for each argument 2021-12-06 01:30:25 -05:00
nick black
624389877f add ncman's main 2021-12-06 01:30:25 -05:00
nick black
345c48975d ncman #2323 2021-12-06 01:30:25 -05:00
nick black
403bf91634
[windows] setup_alt_sig_stack() implementation 2021-12-05 22:26:19 -05:00
nick black
fe7704919f
[ncman] reset alt signal stack after free() 2021-12-05 22:23:47 -05:00
nick black
9190d3bdfa
[signals] use an alternate signal stack #2424 2021-12-05 22:05:03 -05:00
nick black
59e3e00e3d
Revert "[CMake] use OIIO's cmake module"
OIIO CMake is broken on MSYS2: https://github.com/msys2/MSYS2-packages/issues/2720
This reverts commit ecc7ac9224.
2021-12-04 10:50:29 -05:00
nick black
ecc7ac9224
[CMake] use OIIO's cmake module 2021-12-04 10:32:21 -05:00
nick black
91111cdb58
[ncchannels_reverse] don't generate illegal alpha+color states #2421 2021-12-04 06:27:38 -05:00
nick black
0b66a49d57
add some comments to various channel functions 2021-12-04 03:56:34 -05:00
nick black
6c4c16465b
[xray] show only 1% of dropped frames 2021-12-04 03:54:44 -05:00
nick black
1c93a5ff45
[palette] rename unit tests, add some CHECKs 2021-12-04 03:54:30 -05:00
nick black
2fc933521b
move notcurses_ucs32_to_utf8 up in the header file 2021-12-04 03:24:20 -05:00
nick black
6f3ba8c3dd
utf8_to_egc: cast wchar_t to unsigned for logging 2021-12-04 02:55:53 -05:00
nick black
6080de837a [ncplane_putc_yx] copy egc to avoid invalidation
ncplane_putc_yx() calls ncplane_put() using an EGC extracted
from its nccell argument. The very act of writing that cell
to the plane, however, can grow the plane's underlying EGCpool,
possibly invalidating this reference. This was showing up as
a unit test failure on macOS, and was hopefully also the cause
of unit test failures on Alpine i686. Do a quick heap copy of
the EGC in ncplane_putc_yx(), and free it after writing to the
plane. Shouldn't cost anything (there was no measurable
impact in my testing). Closes #2420.
2021-12-04 01:03:13 -06:00
nick black
418aad1e45 reenable PlaneAtCursorInsane unit test on apple 2021-12-04 00:22:43 -06:00