Commit Graph

2022 Commits (7215bf92ad32becfd9206d808ed778c6c823be4f)
 

Author SHA1 Message Date
nick black 94e42809fe
notcurses_resize(): kill unnecessary memset() 4 years ago
nick black fa865d1971
luigi: don't free garbage on error path 4 years ago
nick black 3384fad429
sliding demo: don't free garbage on error path 4 years ago
nick black a8b3780c21
demo: remove some unused vars 4 years ago
nick black ee196c299d
hud: plug memory leak on error path 4 years ago
nick black c958883a0e
fallin': plug memory leaks on error paths 4 years ago
nick black f3b9ff8de6
selector: properly free partial selector on error path 4 years ago
nick black ebe79eb339
ncplane_dup: return NULL on error path 4 years ago
nick black f466a45f8d
menu: fix free()s on error path 4 years ago
nick black 67048bf5fa
release-checklist: add scan-build invocation 4 years ago
nick black cbf46402f8
tests: portable find_data() 4 years ago
nick black ed548ab590
tests: apply clang modernizations 4 years ago
nick black a571f4daaa
tests/wide.cpp: use modern range loop 4 years ago
nick black 1526cfc7b8
handle_getc(): check for NULL ni before writing ->alt 4 years ago
nick black e97d16b85f
plot.cpp: modernize return types 4 years ago
nick black 3f93d15cda
widestomp: apply clang-tidy-11 fixes 4 years ago
nick black 173af7b3c6
unit test upper left of rotated visual #569 4 years ago
nick black f84435f708
unit test ncplane_rgba() #569 #559 4 years ago
nick black 3aa0e482d3
ncplane_rgba: set up frame #559 4 years ago
nick black c96498de8a
ncplane_rgba(): check for validity of input #559 4 years ago
nick black 7337280e17
ncplane_at_yx(): const ncplane argument 4 years ago
nick black 5bdfc0183f
ncvisual_from_plane() #559 4 years ago
nick black 90dacae213
python/docs: declare ncvisual_from_plane() 4 years ago
nick black 43a685be1e
ncsubproc: update unit tests for exit propagation #554 4 years ago
nick black efc8c027a0
ncsubproc: harvest with waitpid(), pass up wstatus #554 4 years ago
nick black 94fcada67c
ncvisual_rotate: unify _cw/_ccw, take radians 4 years ago
nick black 20d0048838
CMake improvements/cleanup #565
Rather than inspecting CMAKE_BUILD_TYPE manually and setting
DEBUG_OPTIONS based off the results, set CMAKE_{C/CXX}_FLAGS_DEBUG,
and allow that to be picked up by CMake #565. Remove repeated -W
flags that were all over the place, making them global compiler
flags. Remove repeated FORTIFY=2 definition that was all over the
place, making it a global compiler definition. Remove all uses of
${DEBUG_FLAGS}. Also, since CMake doesn't define a CMAKE_BUILD_TYPE
by default, instead just setting neither debugging nor optimization
flags, in what seems a pretty fucking boneheaded move, set it by
default to RelWithDebInfo. ugh. Explicitly disuse unused PoC variables.
4 years ago
nick black 54154339f6
ncvisual_set_data() to track ncv->data for ownership 4 years ago
nick black 3e8cbca9e6
plug memory leak in whiteout demo 4 years ago
nick black b420722bfe
ncvisual_destroy() for null multimedia #568 4 years ago
nick black 102ff0a7ce
unify ncvisual_render() across ffmpeg/oiio #568 4 years ago
nick black 14fa7c350d
bgra_to_rgba(): remove obsolete assert #566 4 years ago
nick black 4446bbdf06
tria_blit(): interpret missing row as transparent #566 4 years ago
nick black f63325db60 Lots of ncvisual work
Unify ffmpeg/oiio/null implementations, where possible. This effectively
required placing all three in the same file, which meant they're all now
C++. Update FFmpeg implemenation to be C++-usable. Implement
ncvisual_rotate_cw() and ncvisual_rotate_ccw() #515. Move most of tetris
over to Visual from Plane #558. Add bgra_to_rgba(), necessary for
creating ncvisual from BGRA memory. Implement ncvisual_from_rgba()
and ncvisual_from_bgra() #557. Add unit tests on ncvisual rotation.
4 years ago
nick black f7e002d913 ncvisual_from_*: prefixes for all three modes #557 4 years ago
nick black 39548acc3a rename ncvisual_open_plane->ncvisual_from_file() #560 4 years ago
nick black 7e9cc29f8e add decls+docs for ncvisual_from_rgba/bgra #557 4 years ago
nick black 803296fb80 tetris: curpiece is now a Visual, not a Plane #558 4 years ago
nick black a2888f2c75 FAQ entry about 10-bit color 4 years ago
nick black 03f98e0101 USAGE: flesh out media section #556 4 years ago
nick black 2ec3a8a5ca visual.3: add ncvisual_subtitle() to man page 4 years ago
nick black ecdc85de11 USAGE: add section on multimedia #556 4 years ago
nick black 0135a6b54d rotation: ncvisual, not ncplane #515 4 years ago
nick black 0b22b561d2
notcurses-view: accept only valid -s arguments #563 4 years ago
Marek Habersack e23d5baea4 [C++] Sync API changes
Added:

  * class FDPlane (`ncfdplane*`)
  * class Subproc (`ncsubproc*`)
  * NotCurses: get_inputready_fd (`notcurses_inputready_fd`)
  * Plane: qrcode (`ncplane_qrcode`)
  * class PlotBase: templated base class for Plot variations
  * class PlotU: `uint64_t` instantiation of PlotBase (aliased to previous
    `Plot` class for source compatibility), `ncuplot*`
  * class PlotD: `double` instantiation of PlotBase, `ncdplot*`
4 years ago
nick black f14444cfca
multiselector: work in ASCII environment #451 4 years ago
nick black cd2cbd0d88
export enforce_utf8() via internal.h #451 4 years ago
nick black 4951a6876c
ncplane_putc_yx(): abstract to ncplane_cell_ref_yx() 4 years ago
nick black c0b2a64102
implement+doc notcurses_inputready_fd() #513 4 years ago
nick black d95bbb7c61
python: add input functions 4 years ago