Commit Graph

2285 Commits

Author SHA1 Message Date
nick black
fcc73856cb
notcurses_init(): call setlocale unless INHIBIT_SETLOCALE #579 2020-05-09 04:46:28 -04:00
nick black
d89d8c52e9
notcurses_options: add flags field 2020-05-09 04:45:51 -04:00
nick black
006f430e10
selector poc: kill #ifdef 2020-05-09 03:50:27 -04:00
nick black
261cfadf40
link math libraries into notcurses-demo #589 2020-05-09 03:47:56 -04:00
nick black
95c17e52b0
freebsd: kill unused-param warning in ncsubproc 2020-05-09 03:38:54 -04:00
nick black
dd044c96c8
tetris: replace cuserid with getpwuid #577 2020-05-09 03:36:36 -04:00
nick black
d339b118f1 ncsubproc: decay to fork()/kill() on fbsd #574 2020-05-09 03:26:29 -04:00
nick black
7cb1558d21 FreeBSD: add LIB_DEPENDS for graphics/qr-code-generator #572 2020-05-09 03:11:02 -04:00
nick black
df90cb48b6
qrcode demo: compile with USE_QRCODEGEN=off 2020-05-09 03:01:37 -04:00
nick black
aec982bca5
demo: use pipes, not eventfd, for input #578
FreeBSD doesn't support eventfd, and this isn't at all
performance-critical code, so just downgrade to pipe2()
across the board. I've verified that FreeBSD *does* have
pipe2(), so we should be good there.
2020-05-09 02:55:40 -04:00
nick black
50c7c5b0f4
ncreader: only advance if we emitted columns 2020-05-09 02:41:27 -04:00
nick black
2eb3c8ea13
reader: support arrow keys #585 2020-05-09 02:35:17 -04:00
nick black
2f4a0a2a98
ncreader_clear: remove unnecessary homing #585 2020-05-09 01:33:02 -04:00
nick black
a1eb39906f
reader: support ctrl+u to clear input #585 2020-05-09 01:25:33 -04:00
nick black
95ba340fba
ncplane_erase: fix bug in basecell preservation 2020-05-09 01:25:00 -04:00
nick black
3eb99b2447
reader: advance/backspace across lines #585 2020-05-09 01:12:45 -04:00
nick black
5ba7a4b371
ncreader: support backspace horizontally #585 2020-05-09 01:09:49 -04:00
nick black
1cc2d8a359
ncmetric: no need to use localeconv decicep with %f #545 2020-05-09 00:32:37 -04:00
nick black
00be9ad2e6
ncmetric: use %f to simplify #545 2020-05-09 00:31:03 -04:00
nick black
b59f623249
reader: %lc wants wint_t, not wchar_t 2020-05-08 23:22:12 -04:00
nick black
d2c968b948
notcurses_init(): interpret NULL as /dev/tty #571 2020-05-08 22:33:39 -04:00
nick black
05408f918c
python: remove raw notcurses_getc() wrapper #584 2020-05-08 22:06:51 -04:00
nick black
5a3e0625a4
enmetric unit tests: kill duplicated fesetround() 2020-05-08 22:00:27 -04:00
nick black
abbda739d1
ncplane_contents(): plug up memory leak #580 2020-05-08 21:46:00 -04:00
nick black
1c394dc103 modernize c++ according to clang-tidy-11 2020-05-08 21:42:04 -04:00
nick black
0c3f5cf28e visual: modernize c++ for clang-tidy-11 2020-05-08 21:42:04 -04:00
nick black
e2a94817e7 tests: lots of NULL->nullptr 2020-05-08 21:42:04 -04:00
nick black
5b0d773fb5 modernize some PoC c++ according to clang-tidy 2020-05-08 21:42:04 -04:00
nick black
ba94919de7 rgbbg: modernize c++ 2020-05-08 21:42:04 -04:00
nick black
06e4b9f06b NEWS: mention ncplane_set_channels() 2020-05-08 21:42:04 -04:00
nick black
a859a3d652 notcurses_multiselector(3): fix up _selected 2020-05-08 21:42:04 -04:00
nick black
989ca7ff9a selector->ncselector, multiselector -> ncmultiselector #580 2020-05-08 21:42:04 -04:00
nick black
16376f872c fix notcurses_ncplane(3) -> notcurses_plane(3) 2020-05-08 21:42:04 -04:00
nick black
66d0fe5596 NEWS: add ncreader and ncplane_content() 2020-05-08 21:42:04 -04:00
nick black
196de625c4 reader poc: render after each change to reader area #403 2020-05-08 21:42:04 -04:00
nick black
d161e2eeb3 implement ncplane_content() #582 2020-05-08 21:42:04 -04:00
nick black
e15055034e ncreader: set up tchannels/tattrword #403 2020-05-08 21:42:04 -04:00
nick black
f2546c0949 reader poc: initialize ncreader_options #403 2020-05-08 21:42:04 -04:00
nick black
26db8a66b7 ncplane_set_attr()/ncplane_set_channels() 2020-05-08 21:42:04 -04:00
nick black
c4bf483d8b ncreader_contents(): wrap ncplane_contents() #403 2020-05-08 21:42:04 -04:00
nick black
f0357ef6cb ncplane_contents(): declarations #582 2020-05-08 21:42:04 -04:00
nick black
48de25821c ncreader man page #403 2020-05-08 21:42:04 -04:00
nick black
98b8e167cf ncreader man page #403 2020-05-08 21:42:04 -04:00
nick black
3f86b649aa view: use c++ getc 2020-05-08 21:42:04 -04:00
nick black
384bdf88b2 tetris: use C++ refresh() 2020-05-08 21:42:04 -04:00
nick black
980e0ff29a ncreader: use underscore by default #403 2020-05-08 21:42:04 -04:00
nick black
4e94d942b0 reader unit test visualization #403 2020-05-08 21:42:04 -04:00
nick black
312e42add2 ncreader: C++ wrapper 2020-05-08 21:42:04 -04:00
nick black
d174431187 ncreader_create: accept const options #403 2020-05-08 21:42:04 -04:00
nick black
7683973ee4 ncreader_options, bad options tests #403 2020-05-08 21:42:04 -04:00