Commit Graph

4078 Commits (d73bc392ab1137047b8cf045f29579e7ba89d197)
 

Author SHA1 Message Date
Andrew Bocz Jr d73bc392ab remove duplicate text from INSTALL.md 4 years ago
nick black 5c97b494a1 fix up oiio #1301 4 years ago
nick black 9b81394e0c oiio: kill ncvisual_decode 4 years ago
nick black 556619c848 finish shim ncvisual #1301 4 years ago
nick black 45c389a709 document *_core_init() #1301 4 years ago
nick black 6d15aacc52 add notcurses_core.3.md man page #1301 4 years ago
nick black 6bd288f056 Workable split of library
Rather than trying to force things in via library constructors
and weak symbols and --whole-archive and pkg-config tricks, just
add new functions ncdirect_core_init() and notcurses_core_init().
libnotcurses has ncdirect_init() and notcurses_init(), which pass
through to these. apps linking against notcurses-core ought use
the _core_ variants directly. This gets exactly the linkage we
want, everywhere. Convert many PoCs to _core_ variants. #1301

Signed-off-by: nick black <dankamongmen@gmail.com>
4 years ago
nick black fb85bb9a53
magical incantation to not stomp DragonFly's clock_nanosleep #1121 4 years ago
nick black 9cf2925f47
prepare NotcursesCoreConfig.cmake #1301 4 years ago
nick black a5244632da
NotcursesConfig.cmake: list -lnotcurses-core #1301 4 years ago
nick black 7f1d208a0a
vizdirect PoC: always call ncdirect_stop() 4 years ago
nick black 421f450526
visual_implementation: use weak symbol rather than library constructors #1301 4 years ago
nick black bb3f9c1836
move c++ POCs into src/pocpp 4 years ago
nick black c1ea096d31
set CMAKE_LINK_WHAT_YOU_USE to ON #1300 4 years ago
nick black 05193af667
remove extraneous USE_MULTIMEDIA check #1300 4 years ago
nick black 899ef3e62e
ncdirect_canopen_images: use notcurses_canopen_images() #1300 4 years ago
nick black 1631818784
rename notcurses-view to ncplayer #1299 4 years ago
Nick Black 9112185657
Split up notcurses/notcurses-core (#1297)
Extract `libnotcurses-core` from `libnotcurses`. The former contains everything except multimedia code. The latter contains multimedia stuff (a wrapper around FFmpeg or OIIO). If built with `-DUSE_MULTIMEDIA=none`, there will not be any `libnotcurses.so` generated. `libnotcurses.so` uses library constructors/destructors to insert its implementation into the `ncvisual` stack at runtime. Users linking `-lnotcurses` will get the full implementation; users linking `-lnotcurses-core` only will get the stack less multimedia code.

The upshot of this is that someone can compile/install only `libnotcurses-core`, and a program linked against it will work just fine. This eliminates the need to install the full (large) dependency stack of the multimedia code unless necessary. This will hopefully be useful for e.g. installers etc. Closes #339.
4 years ago
nick black c62a3f7464
tetris: much better color for background 4 years ago
nick black dd6b4f8ff5 INSTALL: add missing libunistring-dev, doctest-dev #1294 4 years ago
nick black 8077fc47f3
view: add -V to usage() #1266 4 years ago
nick black 60cce801b5
add INSTALL.md #1294 4 years ago
nick black 559e274aa8
add recommended terminfo for putty #1295 4 years ago
nick black b48d84b968
TERMS: use emoji for checkboxes/no 4 years ago
nick black a0c700da86
TERMS: remove bce column since we don't use bce 4 years ago
nick black 97ccd0eee9
add some terminals to TERMS.md #1295 4 years ago
nick black ccf124ddb9
clean up TERMS.md #1295 4 years ago
nick black 14c64a2aa2
uniblock demo: set pbar background to 0 4 years ago
nick black 3ecdde74d0
v2.1.5 4 years ago
nick black 48f904c5dd
if TERM contains 'xfce', sextants are go 4 years ago
nick black 99ef8a02e5
animate demo: cycle through glyphs #1263 4 years ago
nick black e4ee96e698
animate demo: cycle through sequences #1263 4 years ago
nick black 0139f25a9c
animate demo: kill outer loop #1263 4 years ago
nick black a5c0eedec4 animate demo: chew up the end #1263 4 years ago
nick black 22ecc09dc0 fully accurate determine_totalmoves #1263 4 years ago
nick black 57044946ad animate demo: adaptive timing #1263 4 years ago
nick black 40a3c106bf animate demo: use full length of string #1263 4 years ago
nick black 432de7a8ce animate demo: use background colors #1263 4 years ago
nick black 1ff04ee7d5 animate demo: clean up end 4 years ago
nick black 2c481c6449 TERMS: add wezterm #1288 4 years ago
nick black 17e015e9a0 add all current cycles to animate, kill geom PoC 4 years ago
nick black 5b1602606e animate demo: get the movement completely working 4 years ago
nick black 9acf5e6a2e animate demo: outer circle / closing logic 4 years ago
nick black 80a3727b83 animate demo: begin work on pathfinder 4 years ago
nick black 655cafa69d plan out animate demo 4 years ago
nick black a6ddb6ed2e plot out animate demo #1267 4 years ago
nick black 5dfd0f94eb start replacing allglyph with animate #1263 4 years ago
nick black 1108ebb5b6
Fix up some subtle pile issues
ncplane_destroy() needs to call ncplane_reparent_family(), not
ncplane_reparent() as it was doing (closes #1291). ->absy and
->absx actually are absolute; return them directly for an O(1)
ncplane_abs_yx() (down from O(N), huzzah). Add some unit tests
related to destroying and reparenting (#1286). Add ncplane_abs_y()
and ncplane_abs_x(), document them, etc.
4 years ago
nick black 7932859b50
unit test for position update following reparent #1286 4 years ago
nick black 6cf7eca50f
unit tests for ncplane_abs_yx() #1286 4 years ago