v1.0.0—track team, crack fiend, dying to geek
First GA release. 1.0.0 milestone.
Mother is putting my new secondhand clothes in order. She prays now, she says, that I may learn in my own life and away from home and friends what the heart is and what it feels. Amen. So be it. Welcome, O life! I go to encounter for the millionth time the reality of experience and to forge in the smithy of my soul the uncreated conscience of my race. Old father, old artificer, stand me now and ever in good stead.
—James Joyce, Portrait of the Artist as a Young Man
New features
- Output API additions: everything now has an
_aligned()
form and a_yx()
form - New
ncplane_aligned()
to create a plane aligned relative to another - New
notcurses_at_yx()
to reflect upon the last rendered frame _yx()
-type functions accept -1 to mean "current position on this axis"- Mouse input events
- New
notcurses_mice_enable()
andnotcurses_mice_disable()
- New
notcurses_refresh()
for repainting a damaged screen - witherworms demo replaces widecolor demo
- transparency for ncvisuals
- Building without FFmpeg is now supported via
DISABLE_FFMPEG
CELL_ALPHA_BLEND
is now implemented- Man pages added for all functions using
pandoc
- HUD and stats added to
notcurses-demo
- ncvisual can now create its own (optimally-sized) ncplane
ncvisual_stream
now takes a callback+curry and supports resizing
- ncvisual now tracks PTS (presentation timestamps) for much more accurate video sync
- notcurses can now be built without FFmpeg.
- All
ncvisual
functions will return error notcurses-view
will not be builtncvisual
unit tests will not be builtnotcurses_init()
will print a warning on startup about the missing functionality
- All
notcurses-view
supports resizing- new
chunli
demo
Performance improvements
- O(1) damage map
- ncvisuals can be partially rendered
Bug fixes
- Linear interpolation fixed for long lines
- box demo: transparent background fixed
- style state properly maintained across renders, fixes
notcurses-input
underlining - Failure to start on st ("simple terminal") fixed
- view demo: cruft removed
- grid demo: fix color calculation, clip properly
- Unit tests using decimal separator now work in all locales
- witherworms demo: fix disappearing wide characters
- Fix disappearing topmost planereel
- Inhibit libswscale from crapping onto stderr
- Switch to
char32_t
fromwchar_t
to work on all architectures - Higher planes properly obliterate lower wide glyphs they intersect
- Memory leak in
ncvisual_render()
path fixed - All valgrind complaints for the demo have been fixed