Commit Graph

352 Commits (1218fbddf9333d611ec02be12de3af60ae3a21f3)

Author SHA1 Message Date
nick black 076792bdb8 CMake: properly link in libunistring, fixing notcurses-tester link on bsd #1617 3 years ago
nick black 1d99cc2628
CMake: verify presence of libunistring for linking 3 years ago
nick black d5b58d9f58
v2.2.8 3 years ago
nick black eefc4fb91f
v2.2.7 3 years ago
nick black e017dcba89
v2.2.6 3 years ago
nick black 8c78b089e1
v2.2.5 3 years ago
nick black acc5be058c [plots] move plot.cpp to C plot.c #1421 3 years ago
nick black 57114c8005
[bitmaps] remove redundant PixelWipeBlocks test 3 years ago
data-man 6d4635fc5b Change ON to OFF 3 years ago
data-man 58a4e86c97 Rename QR code support option 3 years ago
nick black 1f4ece224b
[cmake] add -Wno-nonnull-compare 3 years ago
nick black af680839bd
[cmake] remove sgr-direct from test set #1344 3 years ago
nick black c80736a887
cmake: drop -V for ctest 3 years ago
nick black bc84987af5
v2.2.3 3 years ago
nick black c882a44ac5 CMake: CMAKE_REQUIRED_INCLUDES everywhere #1387 3 years ago
nick black cef5e45be6
drone: use new debian unstable 2021-02-24a 3 years ago
nick black c10f5a40ce
v2.2.2 3 years ago
nick black e89c2bc566 CMakeLists.txt: switch from O0 to Og 3 years ago
nick black be4a9154a8
v2.2.1 3 years ago
nick black 3cdf7160de
v2.2.0 3 years ago
nick black 38e9051888
move tests to src/tests 3 years ago
nick black 54ca2249df
v2.1.8 3 years ago
nick black b8596a1b43
don't install INSTALL.md 4 years ago
nick black 66968cddab
write out NotcursesCoreConfigVersion.cmake 4 years ago
nick black e20fb4ac8f
install NotcursesCore cmake support files 4 years ago
nick black 7eafcfe598
rename notcurses-tetris -> nctetris 4 years ago
nick black 121f10a9c5
v2.1.7 4 years ago
nick black b4709bbb4e
tag libnotcurses.so with soversion 4 years ago
nick black 57271d09ce
v2.1.6 4 years ago
nick black 07ec5206cb
install notcurses-core.pc pkg-config support 4 years ago
nick black cde25b9431
ncneofetch: don't require multimedia 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 9cf2925f47
prepare NotcursesCoreConfig.cmake #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 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 3ecdde74d0
v2.1.5 4 years ago
nick black 09dcda0253
README: give DragonFly BSD some love #1121 4 years ago
nick black d4aef247ea
Fixes for DragonFly BSD from Weitian LI #1121 4 years ago
nick black 8283adc28f
Introduce src/compat/ for all bins
I've created the new files src/compat/compat.{hc}. These
are available to all binaries by adding src to the include
directories, and src/compat/compat.c to the sources. Several
functions are implemented here which one or more target
operating systems are missing, right now all related to time.
This includes clock_nanosleep(), which is missing on OS X and
DragonFly BSD. Eliminate the other three definitions of
timespec_to_ns() and friends. Standardize on NANOSECS_IN_SEC
rather than the more opaque GIG. Progress on #1121.
4 years ago
nick black 68b340e3c8
ncdirect: prep readline for use #1120 4 years ago
nick black e617acecc7
v2.1.4 4 years ago
nick black 70b74a749b
v2.1.3 4 years ago
nick black 55d563b646
v2.1.2 4 years ago
nick black d6d5757b1d
v2.1.1 4 years ago
nick black 6edafd1f84
v2.1.0 4 years ago
nick black 8497ee1877
v2.0.12 4 years ago
nick black eb485cda21
v2.0.11 4 years ago