Commit Graph

349 Commits (53894caccb2eac321cafd455cfd1035e7acde616)

Author SHA1 Message Date
Nick Black 04b1ba8ed2
Dankamongmen/unify geom (#1514)
deprecate ncvisual_geom() in favor of new ncvisual_blitter_geom(), which allows caller to get the blitter used. replace the checks and calculations in ncvisual_render() with a call to ncvisual_blitter_geom(), unifying the two paths (and eliminating several bugs in the unloved ncvisual_geom()).
3 years ago
nick black 05082fc277
ncplane_as_rgba(), returns pixel geometry along with bitmap #1508 4 years ago
nick black 6f446f94de
remove kittyzapper PoC 4 years ago
MasFlam c677a4fd8a
Add the nctabbed widget (#1431)
Tabs for the people!

fixes #986
4 years ago
nick black f658629a1b
add new PoC caps-rendered #1430 4 years ago
nick black 4f4175098a pixel poc: add vertical movement 4 years ago
nick black 6ab325a36e [tinfo] zero out sixel_maxx/sixel_maxy 4 years ago
nick black cd1f5bd0d0
pixel PoC: switch colors around under pixel glyph #1388 4 years ago
nick black 47e2be7dc5 [pixel] hook up kitty image destroy #1401 4 years ago
nick black 8482c1157f [pixel] honor configured margins when rasterizing 4 years ago
nick black 268a720225
Keep hardcursurpos bool across rasterizations
Move hardcursorpos into the renderstate carried
across rasterizations. This eliminates undesirable vertical
movement following pixel image emission #1400.
4 years ago
nick black 715a4fea7c add pixel PoC 4 years ago
nick black 391fef3a3f cell pixel defines / inlines #200 4 years ago
nick black 901ccc2d28 rust/python: ncblit_sixel -> ncblit_pixel 4 years ago
nick black e98990f660
tree PoC: highgrad for background 4 years ago
nick black aa4da3f335
nctree: drop bchannels from options 4 years ago
nick black 7c40f40ba2
tree PoC: key off of container plane ylen 4 years ago
nick black 3f66cb0ff7 nctree: clean up items pushed off the top #1164 4 years ago
nick black 1eae0ae2f2 drone: use new debian unstable 2021-02-24a 4 years ago
nick black 962ad874e4 nctree PoC: set backgrounds relative to active #1164 4 years ago
nick black 4ea2b67061 nctree: pass distance to cbfxn #1164 4 years ago
nick black cef5e45be6
drone: use new debian unstable 2021-02-24a 4 years ago
Nick Black e30b12a480
nctree (#1361)
The nctree widget, PoC, and unitt rs #1164.
4 years ago
nick black aec3b06171 remove 1350.c 4 years ago
nick black 28adef7ed8 interrogate_terminfo: set utf8 bit 4 years ago
nick black d3bbfa411b add ton's sample code PoC #1350 4 years ago
nick black bad552fade zalgo: suppress banners 4 years ago
nick black 5facfbd78a
progbar PoC: check hbar_make() result #1348 4 years ago
nick black 974eb014ee
ncwidth PoC: plug 'memory leak' #1348 4 years ago
nick black 03bb1f73c0
linuxconsole PoC: drop dead store #1348 4 years ago
nick black 9dd710d1e6
hilodirect PoC: unite error paths 4 years ago
nick black 1b1e0b88be
ncplane_qrcode: drop blitter argument, update docs 4 years ago
nick black 006477e132
sgr-full: suppress banners 4 years ago
nick black db7281ae54
PoC ncwidth: do a wcswidth() verify pass #1329 4 years ago
nick black 8d4a8b5d62
[PoCs] rename wcwidth -> ncwidth for less ambiguity 4 years ago
nick black b3569b6aef
Initialize Readline on demand
Eliminate NCDIRECT_OPTION_NO_READLINE (it was only introduced in
Notcurses 2.1.6). Add a new function, ncdirect_readline(). Upon
first call to this function, initialize libreadline. Destroy
libreadline in ncdirect_stop() iff we initialized it. Add
hilodirect guessing game PoC from #1325. Rename
notcurses_directmode.3 to notcurses_direct.3. Closes #1326.
4 years ago
nick black 072f68a014
add some actual zalgo to zalgo PoC 4 years ago
nick black 5e96ec7447
define none multimedia implementation
Without defining a null implementation for the
USE_MULTIMEDIA=none case, we print a warning in programs
which linked against notcurses-core about not being built
with multimedia support. This warning is both (a) inaccurate
and (b) irrelevant. We can now distinguish between "no support"
(implementation != NULL) and "linked against notcurses-core"
(implementation == NULL). Move the warning to the shim.
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 7f1d208a0a
vizdirect PoC: always call ncdirect_stop() 4 years ago
nick black bb3f9c1836
move c++ POCs into src/pocpp 4 years ago
nick black 17e015e9a0 add all current cycles to animate, kill geom PoC 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 ae1463245d examples: directmode text 4 years ago
nick black f1253560ad
ncdirect: set_ on rgb functions #1261 4 years ago
nick black 76d8e2dfce
ncdirect_{fg, bg}_default() -> ncdirect_set_{fg, bg}_default() #1261 4 years ago
nick black 1d8fcbb5e4
ncdirect: styles{set, on, off} -> _styles #1247 4 years ago
nick black f608df2af8 progbar PoC: call through on 1 #1258 4 years ago
nick black 4e5dbfd2b9
render: use hpa in place of cuf #1245 4 years ago
nick black e6a45d5422
wcwidth: print running measure 4 years ago