Commit Graph

4351 Commits

Author SHA1 Message Date
nick black
3167066de5
player: don't mix designated and undesignated initializers 2021-01-21 13:56:54 -05:00
nick black
e20fb4ac8f
install NotcursesCore cmake support files 2021-01-21 04:19:29 -05:00
nick black
6bb88c42ef
simplify wording in FAQ entry 2021-01-21 03:55:29 -05:00
nick black
7eafcfe598
rename notcurses-tetris -> nctetris 2021-01-21 03:51:12 -05:00
nick black
121f10a9c5
v2.1.7 2021-01-21 03:21:31 -05:00
nick black
b4709bbb4e
tag libnotcurses.so with soversion 2021-01-21 03:18:40 -05:00
nick black
57271d09ce
v2.1.6 2021-01-21 02:44:00 -05:00
nick black
b0301c834d
git mv TERMS.md TERMINALS.md 2021-01-21 02:37:46 -05:00
nick black
3aae597ddd
add notcurses-core to Requires for rust linking 2021-01-21 02:05:38 -05:00
nick black
07ec5206cb
install notcurses-core.pc pkg-config support 2021-01-21 01:36:02 -05:00
nick black
feb592e590
add a note about static linking #1306 2021-01-21 01:26:58 -05:00
nick black
f638b5f12b
use Requires.private for static linking in pkg-config #1306 2021-01-21 00:53:39 -05:00
nick black
65231aefb2
fix linking for USE_MULTIMEDIA=none 2021-01-21 00:46:19 -05:00
nick black
87f2e03510
animate: trim flop over the top 2021-01-21 00:20:49 -05:00
nick black
81f689b6a2
don't violate ODR with visual_implementation 2021-01-20 23:41:21 -05:00
nick black
822d41eb8f
document notcurses-core split 2021-01-20 23:33:23 -05:00
nick black
cde25b9431
ncneofetch: don't require multimedia 2021-01-20 23:33:10 -05:00
nick black
029013a73d
eliminate all weak symbols chicanery 2021-01-20 23:32:58 -05:00
nick black
86009433e3
properly dispatch post-split ncvisual_subtitles() 2021-01-20 23:00:22 -05:00
nick black
73834e392c
animate: clean up after ourselves with original color #1310 2021-01-20 22:52:00 -05:00
nick black
dd210871d6
Reorder demos slightly
'dragon' looks much cooler when it has residue from the
prior demo still on the screen. 'yield' won't do, though,
as it's a graphic (which, devoid of color, looks like
nothing). move it after 'highcontrast'. move 'normal' up
after 'trans' so as never to present too much reading
to the user at once. users hate reading =[. this also
makes 'mojibake' look cooler while we're at it.

Signed-off-by: nick black <dankamongmen@gmail.com>
2021-01-20 02:24:49 -05:00
nick black
a0b905769d
ncvisual_ need hot dispatch on _init #1309 2021-01-20 02:17:43 -05:00
nick black
f8a835ce7c
not just poc but also pocpp 2021-01-20 01:41:48 -05:00
Andrew Bocz Jr
d73bc392ab remove duplicate text from INSTALL.md 2021-01-20 01:40:10 -05:00
nick black
5c97b494a1 fix up oiio #1301 2021-01-19 23:09:22 -05:00
nick black
9b81394e0c oiio: kill ncvisual_decode 2021-01-19 23:09:22 -05:00
nick black
556619c848 finish shim ncvisual #1301 2021-01-19 23:09:22 -05:00
nick black
45c389a709 document *_core_init() #1301 2021-01-19 23:09:22 -05:00
nick black
6d15aacc52 add notcurses_core.3.md man page #1301 2021-01-19 23:09:22 -05:00
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>
2021-01-19 23:09:22 -05:00
nick black
fb85bb9a53
magical incantation to not stomp DragonFly's clock_nanosleep #1121 2021-01-19 10:55:13 -05:00
nick black
9cf2925f47
prepare NotcursesCoreConfig.cmake #1301 2021-01-19 08:37:21 -05:00
nick black
a5244632da
NotcursesConfig.cmake: list -lnotcurses-core #1301 2021-01-19 08:35:24 -05:00
nick black
7f1d208a0a
vizdirect PoC: always call ncdirect_stop() 2021-01-19 05:53:55 -05:00
nick black
421f450526
visual_implementation: use weak symbol rather than library constructors #1301 2021-01-19 04:45:56 -05:00
nick black
bb3f9c1836
move c++ POCs into src/pocpp 2021-01-18 18:40:55 -05:00
nick black
c1ea096d31
set CMAKE_LINK_WHAT_YOU_USE to ON #1300 2021-01-18 17:37:17 -05:00
nick black
05193af667
remove extraneous USE_MULTIMEDIA check #1300 2021-01-18 17:18:47 -05:00
nick black
899ef3e62e
ncdirect_canopen_images: use notcurses_canopen_images() #1300 2021-01-18 17:12:27 -05:00
nick black
1631818784
rename notcurses-view to ncplayer #1299 2021-01-18 14:22:54 -05:00
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.
2021-01-18 14:10:04 -05:00
nick black
c62a3f7464
tetris: much better color for background 2021-01-17 11:15:11 -05:00
nick black
dd6b4f8ff5 INSTALL: add missing libunistring-dev, doctest-dev #1294 2021-01-17 09:38:42 -05:00
nick black
8077fc47f3
view: add -V to usage() #1266 2021-01-16 23:22:35 -05:00
nick black
60cce801b5
add INSTALL.md #1294 2021-01-16 19:57:52 -05:00
nick black
559e274aa8
add recommended terminfo for putty #1295 2021-01-16 18:39:24 -05:00
nick black
b48d84b968
TERMS: use emoji for checkboxes/no 2021-01-16 18:21:54 -05:00
nick black
a0c700da86
TERMS: remove bce column since we don't use bce 2021-01-16 18:10:32 -05:00
nick black
97ccd0eee9
add some terminals to TERMS.md #1295 2021-01-16 18:07:50 -05:00
nick black
ccf124ddb9
clean up TERMS.md #1295 2021-01-16 17:54:22 -05:00