Commit Graph

1877 Commits

Author SHA1 Message Date
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
nick black
4819c0e1c3 selector/multiselect: accept notcurses 2020-05-08 21:42:04 -04:00
nick black
064da8acb9 ncreader_destroy() / ncreader_plane() 2020-05-08 21:42:04 -04:00
nick black
5e1d8ccf75 ncreader introduced 2020-05-08 21:42:04 -04:00
nick black
a5f2a6ff02
OTHERS: mention urwid and zui 2020-05-08 16:21:24 -04:00
nick black
88d14f2f9e
tetris: #include <array>, needed on freebsd #573 2020-05-07 17:28:25 -04:00
nick black
d09f7c7899
CMake: check for qrcodegen/qrcodegen.h #572 2020-05-07 17:14:45 -04:00
nick black
c0c76342a8
rotate test: relax ncvisual_render() checks 2020-05-07 12:57:34 -04:00
nick black
289aba6f68 CHANGELOG.md -> NEWS.md #570 2020-05-07 10:06:07 -04:00