nick black
977a4ed966
introduce NCPLANE_OPTIONS_{VSCROLL, AUTOGROW} #2440
2021-12-08 01:09:15 -05:00
nick black
b7785d1272
declare ncplane_growtext()
2021-12-08 01:09:15 -05:00
nick black
0c71899656
include any data in the same read as initdata with response #2434
2021-12-08 04:32:01 -05:00
nick black
eb55caf880
[windows] data path dir need always be heap allocated
2021-12-08 04:32:01 -05:00
nick black
ae948a1068
[ncplane_put] don't scroll on invalid x
2021-12-07 20:42:42 -05:00
nick black
5eb23cefb0
[ncplane_put] subtle cursor verification fix
...
We were checking for an off-plane cursor destination on
the X axis when it was provided explicitly, but not when
-1 was used to indicate the current position (contradicting
the comment immediately above the test). We also want to do
so when we're using the current position, though in this
case scrolling must be taken into account. Also, we were
placing the cursor on such a validation failure, despite not
intending to write anything.
Not testing for a current x (the -1 case) usually worked
because it was thrown out by ncplane_move_cursor_yx() below.
That fails, however, when we're working with an EGC that's
more than one column.
Delicate!
2021-12-07 20:42:42 -05:00
nick black
b468c3fc83
[ncman] grow paras, handle single-byte lines #2323
2021-12-06 17:28:53 -05:00
nick black
a50cd595c0
[ncman] handle paras and free text #2323
2021-12-06 17:28:53 -05:00
nick black
55f48fb6e9
[ncman] extract / draw subsection headers
2021-12-06 17:28:53 -05:00
nick black
e6d0c07a23
[ncman] recurse for display
2021-12-06 17:28:53 -05:00
nick black
3c4b6f11fc
[ncman] diagnostics for inflate, get zlib implementation working
2021-12-06 17:28:53 -05:00
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