Commit Graph

60 Commits (860fb43e3faa274dea829d090a330f46bee45508)

Author SHA1 Message Date
nick black 8e9ed2b8a1 libav tests: check dimensions 5 years ago
nick black 28fac736bb notcurses-view: stop() before printing error
implement ncvisual_render()
5 years ago
nick black d106ebf0d3 libav: check for AVERROR_EOF #86 5 years ago
nick black 531340a145 libav: return averr to caller #86 5 years ago
Nick Black a7d50b557d
ncplane_at_cursor (#76), CCCflag, nonblocking stdin (#78) (#84)
* put stdin into nonblocking mode, retry on short write to stdout #78
* wrap getc_blocking() around a poll #78
* get CCCflag from terminfo. stop clearing the screen in render/startup
* implement ncplane_at_cursor() #76
* ncplane_at_cursor() unit test for simples #76
* PlaneAtCursorComplex unit test #76
* PlaneAtCursorInsane() unit test #76
* nplane_at_cursor: return number of bytes, not just 0/-1
* uniblock-demo: add a bunch of pages from Unicode 12
* demo: make -d delay multiplier a float
* egcpool: check offset against poolsize in check_validity()
* notcurses_init(): set smkx/rmkx to NULL with pass_through_esc
* PlaneAtCursorAttrs unit test #76
* add ncplane_styles() accessor
5 years ago
nick black 9fe6c152a9 enhance SetStyles unit test 5 years ago
nick black 4cc0ce037d read terminfo entries for keypad #78 5 years ago
nick black 8c6d0495ee
input: decode special keys, call notcurses_resize() #79 5 years ago
nick black e391bfbb81
input: add pass_through_esc option, otherwise run smkx #78 5 years ago
nick black 17d7d8a8c5
release guide 5 years ago
Nick Black 7f9ac490b0
ncplane_resize(), slider demo (#64) (#74)
* sliding: bounding box around puzzle
* slider: make moves, deleting planes #61
* implement z-index move functions
* demo: allow demos to be chosen via command-line option
* allow default bg/fg to be explicitly chosen
* ncplane_resize() unit test #64
* useful links
* slider: use random colors
* use find_above() in ncplace_destroy()
* ncplane_resize() work #64
5 years ago
nick black 742a27fd00 ncplane unit test tiling the screen #26 5 years ago
nick black f65d168d83 notcurses_render(): call term_setstyles() for sgr stuff #11 5 years ago
nick black d5cc65715e ncplane userptr routines + unit tests #26 5 years ago
nick black 5dfb07183c libav: throw an swscaler in the mix #61 5 years ago
nick black d423978e1b run ncvisual_decode() in libav unit tests 5 years ago
nick black cf557ff500 ncurses-view #61 5 years ago
nick black 3ef57d734e unit tests for egcpool removal #59 5 years ago
nick black 2080e0bff3 unit tests for exercised egcpool #59 5 years ago
Nick Black ba648dbd74
What a miserable evening tracking #57 (#60)
* widecolor-demo: don't emit spaces
* notcurses_init: newline before splash
* boxdemo: ncplane_erase() on entry #58
* uniblock-demo: print even wide chars #49
5 years ago
nick black f514fe234c switch demos to ncplane_rounded_box_cells() 5 years ago
nick black 728d4775b6
initialize nc_ in notcurses tests #54 5 years ago
nick black 9f334f88df
libav: don't require a notcurses ctx for tests #54 5 years ago
nick black 80519c92fa libav: add LoadVideo unit test #35 5 years ago
nick black 66432c37e1 libav: extract frame from AVFormatContext 5 years ago
nick black f20e8fde4b add notcurses_image_open() #23 5 years ago
nick black 7aaa0fcce1
track wide char as reported by wcwidth(), add unit test #6 5 years ago
nick black f67a97edfb
correctly handle ASCII + combining chars, add unit tests #36 5 years ago
nick black 94698a5982
add unit test for composed vs combined EGCs #36 5 years ago
nick black 0d1fbdff06 unit test for boxes outside planes #37 5 years ago
nick black 6f92ae92ab egcpool: unit tests for utf8 conversion #20 5 years ago
nick black a2f4fae96a huh 5 years ago
nick black ba08a6142e demo: call boxdemo 5 years ago
nick black d400c79870 implement ncplane_box() and unit test #9 5 years ago
nick black 2b467c99af implement ncplane_vline() + unit test #9 5 years ago
nick black e050770fde implement ncplane_hline() + unit test 5 years ago
nick black 0c262a3a6d implement ncplane_erase() #9 5 years ago
nick black 879009ff9a adapt test to new ncplane_putc() api 5 years ago
nick black 52e83dfcc2
Get UTF8 rendering properly #14 5 years ago
Nick Black b93bcebf0b
Extended grapheme clusters (#15)
Introduce egcpool for attached storage
Hook up style support
Switch entirely to UTF-8 char from wchar_t (#14)
Pull out next EGC in cell_load (#14)
5 years ago
nick black a509cb6320
someone set us up the bomb 5 years ago
nick black e4f041f522
start moving to utf-8 from wchar_t #14 5 years ago
nick black 5129021480
add EmitWchar unit test 5 years ago
nick black fd04c55d16
implement ncplane_putwstr #9 5 years ago
nick black 2f9821ce39
notcurses: interrogate terminfo for styles 5 years ago
Nick Black 7e92c8bb82
documentation and declarations (#13)
ncplane: flesh out API
ncplane: line and erase APIs
README.md: document differences from ncurses
notcurses_init(): print long term name
CMake: link librt into notcurses
cell: move functionality out to header
5 years ago
nick black a8721df75a
ncplane: flesh out API 5 years ago
nick black f07652f24b don't try to destroy nullptr ncplane in tests 5 years ago
nick black c16b03cd9f ncplane: more basic unit testing 5 years ago
nick black 1fb1be6a4d ncplane: unit tests for rgb 5 years ago