Commit Graph

4322 Commits (c2616c6cbbc502ae4853c861f1274856d7f5760a)

Author SHA1 Message Date
nick black f0b94273e3
notcurses-info: fill out to the right 3 years ago
nick black be3704621c
notcurses-tester: work in as few as 50 columns #2042 3 years ago
nick black c5b0ba4dd0
fbuf_{flush,finalize}(): don't use unreliable stdio 3 years ago
nick black 3cb54dec83
add scroll_lastframe() #2036 3 years ago
nick black 1b8e61c1f4
control_read(): check for EBUSY/EWOULDBLOCK 3 years ago
Christian Parpart fd340d9e47 Properly recover from EINTR/EAGAIN/... in control_read(). 3 years ago
nick black 19f8496221 implement fbuf_flush() 3 years ago
nick black c223367073 fold down into fbuf_finalize() #2038 3 years ago
nick black 13512d02e7
notcurses_stop: collapse into fbuf_finalize() 3 years ago
nick black 5a0630cbc8
notcurses-info: make it a lot less busy 3 years ago
nick black acbfa8dab0
notcurses_core_init: kill bogus reset of rstate cursor #2038 3 years ago
nick black a07a116942
fbcon_scroll: only defined on linux 3 years ago
nick black 51e4f63b25
implement fbcon_scroll #2010 3 years ago
nick black 57b54cda1d
pass ncpile down through to pixel_scroll #2010 3 years ago
nick black cee18f5da7
wire up fbcon_scroll #2010 3 years ago
nick black a85505e2f9
define pixel_scroll(), call it from rendering #2010 3 years ago
nick black db67787628 fix drop_signals() for windows 3 years ago
nick black 34e6abc133 notcurses-tester: yank out std::filesystem 3 years ago
nick black 180b030de5
handle modifiers + special keys #2028 3 years ago
nick black 5e4782d768
input: handle kNXTv and kPRVv #2028 3 years ago
nick black 4904740832
only invoke smkx when attached to a tty 3 years ago
nick black 5bff834407
unify handling of SMKX 3 years ago
nick black 8e5144eeb0
ncpp_build: drop unnecessary getenv(TERM) 3 years ago
nick black 4070245c4f
elide some stats output lines when unpopulated 3 years ago
nick black dda6ef69ca
windows: NOBOLD gets defined in termdesc 3 years ago
nick black 913330c187
move setupterm() following query launch #2023 3 years ago
nick black 7966c56e47
sgr-full PoC: convert to cli mode 3 years ago
nick black 6490099466
move ttyfd into tinfo, unify calls to setupterm #2023 3 years ago
nick black c86d285f5d
ncdirect: s/ctermfd/ttyfd/g #2023 3 years ago
nick black 12858e6f52
unit tests for subplane scrolling #1951 3 years ago
nick black 81bc99efb6
notcurses-info: use white text explicitly 3 years ago
nick black 731b56f299
pump_control_read: tighten checks for DA response #2024 3 years ago
nick black 83e71f3c4d
detect kitty graphics support via query #1998 3 years ago
nick black 4fa785e3d0
windows terminal: add ESCAPE_NOBOLD 3 years ago
nick black 27f1822664
disable alpine edge drone builder for a minute 3 years ago
nick black 862b2504ea
investigating alpine unit test failure... 3 years ago
nick black 0cc8ab0a21 need winsock2.h in util.c 3 years ago
nick black 6897356ef2 move aux.c to util.c 3 years ago
nick black 1973eafe44 demo: run debug info on windows once more 3 years ago
nick black 5cb1275377 init_banner: kill duplicate plus sign 3 years ago
nick black 5103b27d3b whoops, we wanted not so large of an allocation 3 years ago
nick black f5d16d1d8a new functions notcurses_{account,host}name() 3 years ago
nick black 739b6c2dab don't call tcgetattr from windows 3 years ago
nick black bbaa3f4afa get ncls compiling on windows, windows terminal has quads+braille 3 years ago
nick black 250681cf8d dirgb: ignore italics errors 3 years ago
nick black d82e37c961 MAP_HUGETLB can't reliably be used with mremap() =[ 3 years ago
nick black fe1419c805 fix up compilation post-merge 3 years ago
nick black a0007a9a3c add u7/cnorm/civis to windows 3 years ago
nick black f64258f468 windows terminal: add ESCAPE_OP 3 years ago
nick black bf2754cedb get windows working once more 3 years ago
nick black 8f30a91d84 drop windows.h from compat.h 3 years ago
nick black 8074368ac3 purge ncurses aliases #2014 3 years ago
nick black dd8700bddd bring terminfo back into windows build #2014 3 years ago
nick black a77adfac3d no del_curterm in windows 3 years ago
nick black a9d2214414 don't try to use termios from windows 3 years ago
nick black 8c217dc6bb cull term.h includes everywhere but internal.h 3 years ago
nick black ccfd4f0f2f microsoft terminal escape database #2014 3 years ago
nick black 7a341283d3 shim ncurses A_* constants on windows 3 years ago
nick black 61ce4d98a1 s/MINGW/MINGW64/ 3 years ago
nick black 3b247c37d6 direct: no setupterm() for windows #2009 3 years ago
nick black 69024e6b3a rebase 3 years ago
nick black c2cb9508da centralize ncurses.h include 3 years ago
nick black ecf24256a1 include winsock2.h before windows.h 3 years ago
nick black ffbebe9b8f bsd fbuf implementation #1977 3 years ago
nick black 07b7e0c13f fbuf: implement growth #1977 3 years ago
nick black 98559b1911 kitty: check more return values 3 years ago
nick black 42338f4d5d rebase; handle iterm 3 years ago
nick black c091f95b6d no getuid on windows 3 years ago
nick black 6c552455b3 getlocalhostname() for windows 3 years ago
nick black 9066876ee0 windows: no utsname.h 3 years ago
nick black c5398e09e1 pass TAM down through iterm2 graphics stack #1950 3 years ago
nick black 9779dd9fef windows: don't try and use getpwuid() 3 years ago
nick black 4363089b86 term_esc_rgb: assemble escape directly in fbuf 3 years ago
nick black c141552ace no pipe on windows, either 3 years ago
nick black 39a65572a1 windows: no poll2 3 years ago
nick black 01a2dd048e more windows headers 3 years ago
nick black 9d89df85fa compat.h: necessary headers 3 years ago
nick black 78382087f0 mock pid_t for windows 3 years ago
nick black 4c7dc8b327 fake up waitpid() for windows 3 years ago
nick black 4507f0f8e3 expose more of fd.c to windows 3 years ago
nick black 8f12f1df86 restrict smask to ppoll() environment 3 years ago
nick black e60103766a define block_on_input() on windows 3 years ago
nick black 63df228336 toss WSAPoll() into the mix 3 years ago
nick black da87386957 notcurses-info: guard linux_fb_fd 3 years ago
nick black 837b5772fc guard linux fbcon check 3 years ago
nick black 85c4e5b788 move linux fbcon_draw() to linux-only section 3 years ago
nick black b0a4cd622f guard linux identification in linux tags 3 years ago
nick black e9bfb39722 linux fbcon_rebuild: null out for non-linux 3 years ago
nick black c4a2fcd89b kitty: break up fbuf_printf() 3 years ago
nick black 0e2a8c09be adapt merged bitmap material to fbuf 3 years ago
nick black 32e2e52d30 restore missing functions on windows 3 years ago
nick black 43c5ec01a5 clean up some size_t warnings on windows 3 years ago
nick black ebb61e4a82 clean up some size_t warnings on windows 3 years ago
nick black a4758c5413 clean up signals code in windows 3 years ago
nick black 1b1411cae6 restrict sigaction()s to windows 3 years ago
nick black 7970846c10 fix up direct mode style routines for fbuf #1977 3 years ago
nick black 4d4a4eb0d0 add fbuf_finalize(), use it throughout direct.c 3 years ago
nick black de6c0bf5eb ncdirect_dump_plane: we don't want a small fbuf here 3 years ago
nick black 6154fbcb56 windows: shim sigset_t 3 years ago
nick black df429410f1 windows: MEM_RESERVE, not MAP_RESERVE 3 years ago
nick black f86daff3cc merrrge 3 years ago
nick black 07e50e27e9 is that your ass, or did your mama have reindeer? #1977 3 years ago
nick black 19797b3859 everybody's movin', everybody's groovin', baby #1977 3 years ago
nick black 625564b4d9 initial fbuf implementation #1977 3 years ago
nick black ee2fcb4039 need TERMINFO_INCLUDE_DIRS for notcurses-demo on mac 3 years ago
nick black 4ed0e09e26
demo: move to fbuf for HUD, making it portable 3 years ago
nick black 3a7306e1d2
direct: need stdio.h for readline 3 years ago
nick black 305e8fceea
move call to termname() into interrogate_terminfo() #2023 3 years ago
nick black a346a5bf64
add new functions notcurses_{host,account}name() 3 years ago
nick black 32ed5a57b0
only move stdplane cursor on init when NCOPTION_PRESERVE_CURSOR 3 years ago
nick black aa722b78e6
convert some wchar_t to uint32_t in whiteout/reel 3 years ago
nick black 24d7d6d995
start merging in the fauxmemstream branch #1977 3 years ago
nick black cac96c1a61
get central 2 cells in highcontrast demo 3 years ago
nick black 57ebf73e72
always obliterate query spillage #2019 3 years ago
nick black c7738c7d25
obliterate any query spillage w00t #2019 3 years ago
nick black d25496220e
kitty: update some comments #1998 3 years ago
nick black 22cc2b1906
uniblock: always ensure there's enough space for the pbar #2018 3 years ago
nick black c3531b22bf intro: always fit orca to available size #2015 3 years ago
nick black cdb884a787 don't test unicode 13 on apple 3 years ago
nick black 45dfb781c6
loglevel check: explicit against NCLOGLEVEL_SILENT rather than 0 3 years ago
nick black b0eed357cf
terminology: enable quadrants 3 years ago
nick black c573f68507
stop printing the color warning; it's probably causing more harm than good by now 3 years ago
nick black 9536ecd8c8
notcurses-info: add man in suit levitating, woman scientist 3 years ago
nick black 147b20c904
ncwidth: correct some calculations 3 years ago
nick black bad0f9f0b9
erp 3 years ago
nick black 6f0830c29a
force zero-width-joins #2016 3 years ago
nick black cb74709cb0
notcurses-info: add some more zwj emoji 3 years ago
nick black b053f4b941
admit ASCII as synonym for ANSI_X3.4-1968 3 years ago
nick black 487b9acf90 name Terminal.app, slog on with failed emoji in notcurses-info #1945 3 years ago
nick black 297d276dca add TERMINAL_APPLE from fauxmemstream branch 3 years ago
nick black 46a63c5eed
kitty: kill memory leak in self-referential animation #2012 3 years ago
nick black 0af8f9d116
iterm: kill double-free on error #2012 3 years ago
nick black d2071f14bf
interp PoC: fix use-of-NULL + memory leak 3 years ago
nick black a69753dac4 demacroize ncplot_destroy() #1976 3 years ago
nick black 6f55338983 demacroize set_sample_##T #1976 3 years ago
nick black d8608689f4 unmacroize update_domain_T #1976 3 years ago
nick black 67812559d5 unmacroize update_sample_*plot() #1976 3 years ago
nick black ba830418c7 plots: extract common struct #1976 3 years ago
nick black 89125802c6 notcurses-info: update man page with more text 3 years ago
nick black 7c09695af4 notcurses-info: more emoji 3 years ago
nick black 313885f9c5 notcurses-info: let's show some emoji 3 years ago
nick black 065f60ac5b
info: finish out all lines in capabilities section 3 years ago
nick black ebd55c4d9f
do an early match for Terminal.App and send minimal queries #1945 3 years ago
nick black 9c3f6b826b
notcurses-info: use NCVISUAL_OPTION_NODEGRADE #1945 3 years ago
nick black ddc742d4e6
uniblocks: note to self 3 years ago
nick black 9645ae77e3
don't call all compilers gcc 3 years ago
nick black f303573f29
remove use of std::filesystem in ncls to build on Mojave 3 years ago
nick black ef49288db1
ncls: formatting 3 years ago
nick black 42049dc95e
reorder demos so whiteout doesn't disrupt uniblock 3 years ago
nick black 3875397367
ncplane_put: obliterate the leftmost cell of the multipoint victim #2003 3 years ago
nick black 60e13fb2d2
fission: handle extrawide characters on input #2002 3 years ago
nick black 6ad09dd30c
add unit test for emitting NUL cell #2002 3 years ago
nick black 9df9806781
send a CSI14t, process response #1891 3 years ago
nick black aeadc7e499
don't allow 0 in ioctl to clear earlier CSI14t response #2000 3 years ago
nick black 56636ca57c
interrogate_terminfo: close memory leak on error path 3 years ago
nick black 74dba98c68
ncls: use NCSCALE_SCALE_HIRES by default even with NCBLIT_PIXEL 3 years ago
nick black d84976d187
enable KITTY_SELFREF for 0.22.1+ (upstream bugfix) #1990 3 years ago
nick black ddd0533b03
NEWS: prep for 2.3.13 3 years ago
nick black 61990c47e1
fbcon: don't try to manipulate auxvecs at cell fringes #1996 3 years ago
nick black ac7902a940
sixel_scrub: be a bit more cautious about our jiggery-pokery 3 years ago
nick black c482d89dba
fbcon: use sixel_scrub 3 years ago
nick black 4f39868011
ffmpeg_decode: plug subtitle memory leak present since the beginning 3 years ago
nick black 6162ba3943 restore compatibility ncvisual_subtitle() 3 years ago
nick black 3d1d3794cd ncplayer: kill off handle_subtitle 3 years ago
nick black 45bac6bb69 get text subtitles working once more #1311 3 years ago
nick black b5ed6b1b92 drop diagnostic 3 years ago
nick black 7ab6b6b96d ncplayer: destroy subtitle window on all paths #1311 3 years ago
nick black 74860fbac3 set up type-1 subtitles better #1311 3 years ago
nick black 469eaebd03 [ffmpeg] decode type-1 bitmap subtitles 3 years ago
nick black 6288f5765f pad_for_image: don't allow a short count 3 years ago
nick black b0b5e49383 ncvisual_from_palidex 3 years ago
nick black 1448960cd5 start handling type-1 DVB subtitles #1311 3 years ago
nick black 272607a07c
notcurses_core_init: flush following sprite_clear_all() 3 years ago
nick black 24ccb66a20
kitty 0.22.0 introduces self-referential composition, not 0.21.3 3 years ago
nick black 81879194d2
scroll: go to the bottom before scrolling #1994 3 years ago
nick black 4561ed6a69 notcurses-info: use wviz throughout for broken unicode implementations 3 years ago
nick black 023dd01740
notcurses-info: improve appearance on non-black backgrounds 3 years ago
nick black 6d74f65f22
always track logend{y,x} #1984
even if we're not using PRESERVE_CURSOR, we still want
to place the cursor following the end of our output
when we close the context. always track it. this results
in proper placement of the closing banner following e.g.
notcurses-demo -k and rgbbg.
3 years ago
nick black 8cfdefda4c
rgbbg: only need to move once per line 3 years ago
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.
3 years ago
nick black 3f0a3e2f35
handle_getc: preserve csi for mouse lookup #1991 3 years ago
nick black f69a0eea58
notcurses-info: line up logo/url with right 3 years ago
nick black 38da41d26c
notcurses-info: tidy up a bit, block things off 3 years ago
nick black ee6de771e4
handle arbitary target glyph widths in ncplane_put #1873 3 years ago
nick black 7b5f4175eb
add nccell_cols(), deprecate nccell_width() 3 years ago
nick black 481a2d0366
kitty selfrec: stash sprixcell status into auxvec for rematerialization #1989 3 years ago
nick black d3fa19e6d6 only use new kitty protocol with 0.21.3 #1900 3 years ago
nick black 0c21404564 finish selfref #1900 3 years ago
nick black c71580d6d6 working kitty_wipe_selfref+kitty_rebuild_selfref #1900 3 years ago
nick black b7d9899149 kitty: restore kitty_wipe_animation 3 years ago
nick black 8e6fa10f24 kitty: don't preserve RGBA data for new selfref animation #1900 3 years ago
nick black e8cdff6cf9 kitty: reference/produce frames properly with a=c #1900 3 years ago
nick black 1f29036fb5 implement reflective kitty animation #1900 3 years ago
nick black e399687d7d kitty: tripartite blit implementation #1900 3 years ago
nick black 57f962399d statepixel: use black foreground so we can read errors 3 years ago
nick black 0ba45c44da notcurses-info: abuse internals less egregiously 3 years ago
nick black e0a8e9abc5
notcurses-info: more, always more 3 years ago
nick black 99843190c0
notcurses-info: draw a bit more 3 years ago
nick black 269196c39c
linux fbcon: wipe + restore #1954 3 years ago
nick black 0a6fd661b4 set_rgb: unsigned unless we're clipping 3 years ago