Commit Graph

4117 Commits (76983d6ba7a588582618d8fb34edaca1edd86965)
 

Author SHA1 Message Date
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
nick black 0e8f7dfbe7
implement ncplane_abs_yx() #1286 4 years ago
nick black 1c0a623b8b
document new function ncplane_abs_yx() #1286 4 years ago
nick black 5a1df02f01
Use runtime wcwidth() to check libc
We've been using #ifdefs and such to check for libc
Unicode 13 support at compile time. Instead, execute
a wcwidth() using a sextant. If it comes back -1, the
libc lacks support; disable sextants. Otherwise, let
it go. This ought allow us to support sextants on BSD
as soon as it has support; it furthermore allows us to
properly disable them on Linuxes lacking such support.
Closes #1289.
4 years ago
nick black fa3c17abb9
freebsd: don't use sextants, no libc support #1287 4 years ago
nick black 8c508bbb5a
ncneofetch: use freebsd sysctl for cpu info #1284 4 years ago
nick black a48c149b77
ncneofetch: fall back harder to neofetch logo 4 years ago
nick black 9077bd2ee2
ncneofetch: use big daemon logo on FreeBSD 4 years ago
Nick Black ca46e52340
readme: work around github rendering problems :/ 4 years ago
nick black 7f98eac236
history: add FOSDEM presentation 4 years ago
nick black 222d5e722d
uniblocks: avoid some problematic glyphs #1285 4 years ago
nick black b38b2c9fdb
ncneofetch: print explanation for neologo #1260 4 years ago