Commit Graph

4081 Commits

Author SHA1 Message Date
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
nick black
14c64a2aa2
uniblock demo: set pbar background to 0 2021-01-15 06:06:42 -05:00
nick black
3ecdde74d0
v2.1.5 2021-01-15 05:14:07 -05:00
nick black
48f904c5dd
if TERM contains 'xfce', sextants are go 2021-01-15 05:12:13 -05:00
nick black
99ef8a02e5
animate demo: cycle through glyphs #1263 2021-01-15 04:45:04 -05:00
nick black
e4ee96e698
animate demo: cycle through sequences #1263 2021-01-15 04:20:49 -05:00
nick black
0139f25a9c
animate demo: kill outer loop #1263 2021-01-15 04:06:00 -05:00
nick black
a5c0eedec4 animate demo: chew up the end #1263 2021-01-15 03:31:52 -05:00
nick black
22ecc09dc0 fully accurate determine_totalmoves #1263 2021-01-15 03:31:52 -05:00
nick black
57044946ad animate demo: adaptive timing #1263 2021-01-15 03:31:52 -05:00
nick black
40a3c106bf animate demo: use full length of string #1263 2021-01-15 03:31:52 -05:00
nick black
432de7a8ce animate demo: use background colors #1263 2021-01-15 03:31:52 -05:00
nick black
1ff04ee7d5 animate demo: clean up end 2021-01-15 03:31:52 -05:00
nick black
2c481c6449 TERMS: add wezterm #1288 2021-01-15 03:31:52 -05:00
nick black
17e015e9a0 add all current cycles to animate, kill geom PoC 2021-01-15 03:31:52 -05:00
nick black
5b1602606e animate demo: get the movement completely working 2021-01-15 03:31:52 -05:00
nick black
9acf5e6a2e animate demo: outer circle / closing logic 2021-01-15 03:31:52 -05:00
nick black
80a3727b83 animate demo: begin work on pathfinder 2021-01-15 03:31:52 -05:00
nick black
655cafa69d plan out animate demo 2021-01-15 03:31:52 -05:00
nick black
a6ddb6ed2e plot out animate demo #1267 2021-01-15 03:31:52 -05:00
nick black
5dfd0f94eb start replacing allglyph with animate #1263 2021-01-15 03:31:52 -05:00