Commit Graph

4043 Commits

Author SHA1 Message Date
nick black
780a4a9101
intro: propagate out display error
pressing 'q' to abort in the 'intro' demo was resulting
in a message of FAILED rather than ABORTED. propogate out
the error as returned from orcaride() properly to reflect
the reason for the early exit. it now shows ABORTED.
2021-07-27 01:47:44 -04:00
nick black
3f0a3e2f35
handle_getc: preserve csi for mouse lookup #1991 2021-07-27 01:08:09 -04:00
nick black
f69a0eea58
notcurses-info: line up logo/url with right 2021-07-27 00:47:36 -04:00
nick black
38da41d26c
notcurses-info: tidy up a bit, block things off 2021-07-27 00:44:17 -04:00
nick black
ee6de771e4
handle arbitary target glyph widths in ncplane_put #1873 2021-07-26 19:39:47 -04:00
nick black
7b5f4175eb
add nccell_cols(), deprecate nccell_width() 2021-07-26 19:39:15 -04:00
nick black
481a2d0366
kitty selfrec: stash sprixcell status into auxvec for rematerialization #1989 2021-07-26 16:48:22 -04:00
nick black
d3fa19e6d6 only use new kitty protocol with 0.21.3 #1900 2021-07-26 08:49:53 -04:00
nick black
0c21404564 finish selfref #1900 2021-07-26 08:49:53 -04:00
nick black
c71580d6d6 working kitty_wipe_selfref+kitty_rebuild_selfref #1900 2021-07-26 08:49:53 -04:00
nick black
b7d9899149 kitty: restore kitty_wipe_animation 2021-07-26 08:49:53 -04:00
nick black
8e6fa10f24 kitty: don't preserve RGBA data for new selfref animation #1900 2021-07-26 08:49:53 -04:00
nick black
e8cdff6cf9 kitty: reference/produce frames properly with a=c #1900 2021-07-26 08:49:53 -04:00
nick black
1f29036fb5 implement reflective kitty animation #1900 2021-07-26 08:49:53 -04:00
nick black
e399687d7d kitty: tripartite blit implementation #1900 2021-07-26 08:49:53 -04:00
nick black
57f962399d statepixel: use black foreground so we can read errors 2021-07-26 08:49:53 -04:00
nick black
0ba45c44da notcurses-info: abuse internals less egregiously 2021-07-26 08:49:53 -04:00
nick black
e0a8e9abc5
notcurses-info: more, always more 2021-07-25 15:16:33 -04:00
nick black
99843190c0
notcurses-info: draw a bit more 2021-07-25 14:54:31 -04:00
nick black
269196c39c
linux fbcon: wipe + restore #1954 2021-07-25 10:41:46 -04:00
nick black
0a6fd661b4 set_rgb: unsigned unless we're clipping 2021-07-25 08:26:40 -05:00
nick black
f9e24bbed4
sprixel_free: close mstreamfp if it's open 2021-07-25 06:53:07 -04:00
nick black
8c8d07d5e8 kill some warnings on macos 2021-07-25 04:45:27 -05:00
nick black
4f1ef47b09
remove stray 'u' from plot summary 2021-07-25 00:54:00 -04:00
nick black
1597b25d39
procroller: use notcurses_get() over notcurses_getc() #1686 2021-07-25 00:44:27 -04:00
nick black
0d289958f9
death to sigset_t #1967 2021-07-25 00:38:33 -04:00
nick black
93fe6db376
check for support in ncdirect_on_styles() 2021-07-24 21:31:29 -04:00
nick black
ddbc36e872
ncdirect_dump_plane: fix sprite_draw() error check #1980 2021-07-24 16:32:16 -04:00
nick black
b67c6b8fb2
ncplayer: pass loglevel through to direct mode #1981 2021-07-24 16:13:11 -04:00
nick black
45986668a1
Linux framebuffer in direct mode (#1959)
In direct mode, we need to call through to `pixel_draw()` rather than just printing it ourselves, given that Linux framebuffer drawing doesn't involve printing (but instead writing to the memory map). Do so.
2021-07-24 15:48:43 -04:00
nick black
4f1de02710
replace random() with rand() for windows goodness 2021-07-24 15:18:02 -04:00
nick black
613d437b87
input: don't error out on all special keys, egads =[ 2021-07-23 06:40:55 -04:00
nick black
2fb9db77e8
fbcon: update auxvecs on reblit 2021-07-23 06:16:29 -04:00
nick black
cd635316d9
fbcon_wipe: preserve auxvec 2021-07-23 05:45:25 -04:00
nick black
1113f7dd35
windows: patch out more constants 2021-07-23 00:38:41 -04:00
nick black
f28152d95e
ncplayer: eliminate %j conversions 2021-07-23 00:36:22 -04:00
nick black
1e2f3252bd
hark! a vagrant! get windows library linking 2021-07-22 23:03:15 -04:00
nick black
e5d77037dc
CMake: link in ws2_32 on windows 2021-07-22 22:58:43 -04:00
nick black
03fbf57f24
fix up windows strndup compilation 2021-07-22 21:09:42 -04:00
nick black
a26b28e10f
prefer ansi c rand() to posix random(), doh 2021-07-22 20:55:12 -04:00
nick black
b867935708
termdesc: wrap linux-only parts up for linux 2021-07-22 20:46:25 -04:00
nick black
3172f4712a
s/SA_SIGNINFO/SA_SIGINFO/g =[ 2021-07-22 20:36:12 -04:00
nick black
3d3561fe0e
windows: elide still more signal jank 2021-07-22 20:27:16 -04:00
nick black
59cb0b8bfa
plot: use PRIu64 2021-07-22 19:49:38 -04:00
nick black
0d0f30ca93
windows: don't try and use termios 2021-07-22 19:38:22 -04:00
nick black
fd13b70d27
windows: no sys/ioctl.h, move to compat.h 2021-07-22 18:41:06 -04:00
nick black
8332ff060c
windows: no langinfo.h 2021-07-22 18:13:22 -04:00
nick black
7ace56cee6
remove unused png mmap code 2021-07-22 18:02:47 -04:00
nick black
b2fb50fc39
png: cut out mmap portions on windows 2021-07-22 17:06:09 -04:00
nick black
c733293421
[rage at sky] 2021-07-22 16:58:25 -04:00
nick black
8df13818de
windows: stub out siginfo_t 2021-07-22 16:52:05 -04:00
nick black
15c3d88ddb
windows: more signal/termios mitigation #463 2021-07-22 16:42:21 -04:00
nick black
d90736f84f
define O_CLOEXEC as O_NOINHERIT on windows 2021-07-22 16:28:08 -04:00
nick black
698d1e59f5
replace j conversion with PRI for windows 2021-07-22 16:19:58 -04:00
nick black
917361d87d
windows: fd.c needs internal.h for logerror() 2021-07-22 16:19:06 -04:00
nick black
d3d0838c07
windows hates all of fd.c 2021-07-22 16:12:34 -04:00
nick black
ff2ef8571d
windows: no sys/wait.h, weird printf specifiers 2021-07-22 15:36:59 -04:00
nick black
dae8e340d2
still more windows garbage 2021-07-22 15:24:13 -04:00
nick black
0ae839c63d
windows craveth not posix signals 2021-07-22 13:02:49 -04:00
nick black
873ee6f227
windows cleanups 2021-07-21 22:29:19 -04:00
nick black
ed99ac670e strike most poll.h, use winsock2.h on windows 2021-07-21 19:24:40 -04:00
nick black
f79e41294c
notcurses_getc: don't count nonblocking exit as input_error for stats 2021-07-21 17:51:52 -04:00
nick black
8d46a0bd17
capture bytes in linux framebuffer graphics to sprixelbytes stat 2021-07-21 17:41:32 -04:00
nick black
b278d16f67
fbcon_wipe: build up auxvec 2021-07-21 17:31:01 -04:00
nick black
6c45990abb kitty: use zlib level 2, not 6 #1695 2021-07-21 07:53:39 -04:00
nick black
729290d81a deflate for animate #1695 2021-07-21 07:53:39 -04:00
nick black
5da51e138c intro: don't tolerate drawing failures 2021-07-21 07:53:39 -04:00
nick black
4fc1561d0f blitterargs: no need to pass cell-pixel geom, it's in sprixel 2021-07-21 07:53:39 -04:00
nick black
a5ec720e5b kitty: fold transcolor verdict into auxvec 2021-07-21 07:53:39 -04:00
nick black
383ce5c2b0 xray: always set marsh.dm 2021-07-21 07:53:39 -04:00
nick black
19305aa653 kitty: reuse auxvecs across frames 2021-07-21 07:53:39 -04:00
nick black
cc6bdf4b55 kitty: write transcolor pixel alpha as 0
when we're building out the kitty graphic, we check whether
alpha is low, or whether the color matches the transparent
color. in the latter case, we're writing the original alpha
to the auxvec. in rebuild, however, we don't know what the
transcolor was, and thus a pixel that matched it will become
visible. instead, rewrite alpha as 0 on transcolor match, so
that 0 is restored should we rebuild the cell.
2021-07-21 07:53:39 -04:00
nick black
fcd62a04ec kitty: on redraw, move between annihilations 2021-07-21 07:53:39 -04:00
nick black
6f8b882b6d
stats_summarize: move input events up, where there's more space 2021-07-20 23:25:40 -04:00
nick black
05fdd0b117
flush before making SUM decision, to get true value 2021-07-20 18:37:25 -04:00
nick black
17d5b4064a
move sixel inversion detection into apply_term_heuristics #1957 2021-07-20 16:35:18 -04:00
Daniel Eklöf
0ec571d80c Foot has an inverted DECSDM since 1.8.2
fcd9897342
2021-07-20 16:28:46 -04:00
nick black
08e0acf92b
recognize Terminology via DA3 of ~~TY 2021-07-20 16:20:18 -04:00
nick black
8c7f047a05
ncmenu: always use NCPLANE_OPTION_FIXED #1958 2021-07-20 16:02:58 -04:00
nick black
f9ebbcd80a
demo: create all subplanes with NCPLANE_OPTION_FIXED #1958 2021-07-20 16:00:44 -04:00
nick black
962a7539b4
whiteout: restore original scrolling mode for standard plane 2021-07-20 16:00:24 -04:00
nick black
ee9b01e9b6
Konsole now handles TDA #1807 2021-07-20 13:37:18 -04:00
nick black
c3d3f8613b work around whiteout problems on mac #1936 2021-07-20 12:27:52 -05:00
nick black
f1bdc38538
preserve TAM annihilation across multiframes in fbcon #1954 2021-07-19 13:31:52 -04:00
nick black
145a421d02
fbcon: implement transparency via copy elision 2021-07-19 12:36:11 -04:00
nick black
5fc1540a09
fbcon_scrub: return success to get notcurses-demo working in framebuffer 2021-07-19 01:43:25 -04:00
nick black
b590056887
notcurses-info: use NCLOGLEVEL_SILENT without -v 2021-07-19 00:34:40 -04:00
nick black
bb7a141a3b
iTerm2: name it, always give it quadrant/rgb 2021-07-18 21:59:15 -04:00
nick black
11787f159c build fbcon routines even off linux #1883 2021-07-18 20:22:54 -04:00
nick black
cf5e98c6cd fbcon: properly place bitmaps 2021-07-18 20:22:54 -04:00
nick black
d2cf43d087 kill obsolete FIXME 2021-07-18 20:22:54 -04:00
nick black
558a1652cf fbcon_rebuild, necessary 2021-07-18 20:22:54 -04:00
nick black
a5b9a2ed42 linux fbcon blitting! 2021-07-18 20:22:54 -04:00
nick black
c7dd482474 need fbcon_scrub 2021-07-18 20:22:54 -04:00
nick black
8f8e910eaf adapt framebuffer code to new sprixel api 2021-07-18 20:22:54 -04:00
nick black
3e366ebe0e set up framebuffer graphics 2021-07-18 20:22:54 -04:00
nick black
f8463270f1
cleanup for tinfo_debug_bitmaps() 2021-07-18 17:31:16 -04:00
nick black
04c0d37675
scroll child planes only when they intersect #1883 2021-07-18 16:47:02 -04:00
nick black
1f254c47b2
implement child plane scrolling #1883 2021-07-18 16:35:01 -04:00
nick black
8db6e3abaa
notcurses-info: display logo at the end for proper positioning #1883 2021-07-18 16:35:01 -04:00