Commit Graph

5637 Commits (bb4a5d09ac6aa4b8f72e471f15df418505f4fc01)

Author SHA1 Message Date
nick black dda7aa9962 [shutdown] only reprogram palette if we touched it #2450 3 years ago
nick black 24dbb3c5ea [automaton] add special R-type for rxvt #2435 3 years ago
nick black 0d65db84dc [reset_term_palette] use oc only as a last resort #2450 3 years ago
nick black 227271017a recognize RXVT by TERM #2435 3 years ago
nick black 4a47820c0e update matchstart on buffer move, fix midescape clear #2448 3 years ago
nick black efc542beb7 [palette] seed initial notcurses palette from tdesc 3 years ago
nick black e106029c90 [termdesc] copy only palette entries we actually read 3 years ago
nick black ed7213a8bf [terminfo] store initial palette in termdesc #2435 3 years ago
nick black 35ff603c17 [automaton] recognize palette responses #2435 3 years ago
nick black e9e2f601a9 [termdesc] send 256 palette queries like a boss #2435 3 years ago
nick black 0740f0286f
update LayoutZooText unit test 3 years ago
nick black ef480b81d1
[ncplane_puttext] scribe newlines purposefully 3 years ago
nick black 1322fabbb7
[ncplane_resize_internal] correct tozorch calculation 3 years ago
nick black e061686eda [ncman] match rg/rs macros 3 years ago
nick black 1ef4d27960 [ncman] implement pgup/pgdown 3 years ago
nick black 238663403b [scroll_down] move along with expansion for autogrow #2446 3 years ago
nick black e0c4e67a11 [ncman] colorize the title 3 years ago
nick black 21a35d7b97 [ncman] clean up top end 3 years ago
nick black adcdef6288 [ncplane_puttext] unit test for newline while growing plane #2446 3 years ago
nick black ba1fbbee90
don't expose kitty-style bg transparency to user #2432 3 years ago
nick black 4c17970ba0
detect and expose default foreground color #2432 3 years ago
nick black 3391db6dcb
[termdesc] query default foreground color #2432 3 years ago
nick black 6e42d5c52e
add notcurses_default_background() #2432 3 years ago
nick black 341b3f1996
[notcurses_core_init] guard against wide FILE 3 years ago
nick black 546355a871
notcurses_cursor_yx ought be const 3 years ago
nick black 32fd9a4478
[ncman] print substituted macros 3 years ago
nick black 358a6306da
[ncman] implement font macros and some textsub macros 3 years ago
nick black 66960aa6f8
[ncman] move declaration outside of switch 3 years ago
nick black eb5e76b04c
[ncman] use puttext() with newlines, not cursor moves 3 years ago
nick black f84242a3fc
[ncman] add a bit of color to structure 3 years ago
nick black 71a59b406e
[ncman] handle groff IX as comment 3 years ago
nick black f8626e48cb
[ncman] parse all five arguments of TH 3 years ago
nick black e23cf59f57
[ncman] handle tagged paragraphs 3 years ago
nick black 21488d394d
[ncman] be more leniant in parsing 3 years ago
nick black 9062a6ee7b [windows] detect MinTTY #2248 3 years ago
nick black c295aa55c7
[windows] detect mintty based off TERM_PROGRAM #2248 3 years ago
nick black 98094af341
Revert "[termdesc] send XTVERSION as our very first query to better race ConPTY #2248"
This reverts commit 9507052606.
3 years ago
nick black 9507052606 [termdesc] send XTVERSION as our very first query to better race ConPTY #2248 3 years ago
nick black 41ef5e4790
[ncman] don't move down beyond the page 3 years ago
nick black 359af3cf76
[ncman] move up and down, yeehaw 3 years ago
nick black bda4748096 [ncplane_put] implement autogrow in both dimensions #2440 3 years ago
nick black fff05e54ab remove hysterical FIXME 3 years ago
nick black f6abcc92b2 [ncman] use autogrow 3 years ago
nick black de3cd3c644 [notcurses-info] add chess pieces 3 years ago
nick black e57999d226 basic autogrow tests #2440 3 years ago
nick black c8e601e457 no autogrow for standard plane, add autogrow tests #2440 3 years ago
nick black 27bf6e0eee implement NCPLANE_OPTION_VSCROLL #2440 3 years ago
nick black 977a4ed966 introduce NCPLANE_OPTIONS_{VSCROLL, AUTOGROW} #2440 3 years ago
nick black 0c71899656 include any data in the same read as initdata with response #2434 3 years ago
nick black eb55caf880 [windows] data path dir need always be heap allocated 3 years ago
nick black ae948a1068 [ncplane_put] don't scroll on invalid x 3 years ago
nick black 5eb23cefb0 [ncplane_put] subtle cursor verification fix
We were checking for an off-plane cursor destination on
the X axis when it was provided explicitly, but not when
-1 was used to indicate the current position (contradicting
the comment immediately above the test). We also want to do
so when we're using the current position, though in this
case scrolling must be taken into account. Also, we were
placing the cursor on such a validation failure, despite not
intending to write anything.

Not testing for a current x (the -1 case) usually worked
because it was thrown out by ncplane_move_cursor_yx() below.
That fails, however, when we're working with an EGC that's
more than one column.

Delicate!
3 years ago
nick black b468c3fc83 [ncman] grow paras, handle single-byte lines #2323 3 years ago
nick black a50cd595c0 [ncman] handle paras and free text #2323 3 years ago
nick black 55f48fb6e9 [ncman] extract / draw subsection headers 3 years ago
nick black e6d0c07a23 [ncman] recurse for display 3 years ago
nick black 3c4b6f11fc [ncman] diagnostics for inflate, get zlib implementation working 3 years ago
nick black dc833be329 [ncman] display section headers 3 years ago
nick black 5bf2f57561 [ncman] extract version 3 years ago
nick black 0acb9dfe4d use sysconf(_SC_PAGESIZE) 3 years ago
nick black eab3ca981e [ncman] extract title/section 3 years ago
nick black 4c426f1fb6 [ncman] share trie across arguments 3 years ago
nick black d28ddebfcf
hierarchal pagenodes 3 years ago
nick black 56c61d97b2
[ncman] start extracting structure from groff data 3 years ago
nick black 02d95dc5af
[demo] add ctrl+L to menu 3 years ago
nick black b8a548873e
[ncman] bar at bottom with help 3 years ago
nick black 5860d41da5
[compat] only declare strndup on windows c #2428 3 years ago
nick black 0848edbbe7
[macOS] no MAP_POPULATE 3 years ago
nick black 7ed70a7234 link ncman against zlib 3 years ago
nick black f8b797f9db [CMake] use zlib if not using libdeflate #2423 3 years ago
nick black 8f38689489 [ncman] zlib implementation, quick and dirty 3 years ago
nick black 21c22616d9 drop some obsolete casts 3 years ago
nick black ee33dbd03a kill two obsolete FIXMEs 3 years ago
nick black 2ebf1f1942 [ncman] build trie, extract commands 3 years ago
nick black 51a76fe1e5 [ncman] augment troffnode with type 3 years ago
nick black 2c6be5a610 add structure for all troff elements 3 years ago
nick black 723139405f define troff structure 3 years ago
nick black c32e9b3791 [ncman] lex out comments from troff data 3 years ago
nick black e9cc8d0b2e [ncman] start lexing troff data 3 years ago
nick black a2385047cc [ncman] add support for inflation using libdeflate 3 years ago
nick black 7f94e50e69 [ncman] map up argument 3 years ago
nick black 269bf361e7 [ncman] event loop for each argument 3 years ago
nick black 624389877f add ncman's main 3 years ago
nick black 403bf91634
[windows] setup_alt_sig_stack() implementation 3 years ago
nick black fe7704919f
[ncman] reset alt signal stack after free() 3 years ago
nick black 9190d3bdfa
[signals] use an alternate signal stack #2424 3 years ago
nick black 91111cdb58
[ncchannels_reverse] don't generate illegal alpha+color states #2421 3 years ago
nick black 6c4c16465b
[xray] show only 1% of dropped frames 3 years ago
nick black 1c93a5ff45
[palette] rename unit tests, add some CHECKs 3 years ago
nick black 6f3ba8c3dd
utf8_to_egc: cast wchar_t to unsigned for logging 3 years ago
nick black 6080de837a [ncplane_putc_yx] copy egc to avoid invalidation
ncplane_putc_yx() calls ncplane_put() using an EGC extracted
from its nccell argument. The very act of writing that cell
to the plane, however, can grow the plane's underlying EGCpool,
possibly invalidating this reference. This was showing up as
a unit test failure on macOS, and was hopefully also the cause
of unit test failures on Alpine i686. Do a quick heap copy of
the EGC in ncplane_putc_yx(), and free it after writing to the
plane. Shouldn't cost anything (there was no measurable
impact in my testing). Closes #2420.
3 years ago
nick black 418aad1e45 reenable PlaneAtCursorInsane unit test on apple 3 years ago
nick black c49d3b1e02 enable RightToLeft test on apple 3 years ago
nick black 4513d36978 enable MultiglyphWidth test on apple 3 years ago
nick black a7db3b88fe
Use samoa.avi instead of fm6.mov in unit test
On DFSG builds, we don't have fm6.mov available to us,
so use samoa.avi (of my own construction) instead.
3 years ago
nick black 52c40cbca5
[notcurses.3] document all environment variables 3 years ago
nick black d98eb2a454
grunt #2416 3 years ago
nick black 4a4bec5078
[demo] bring sham jungle definition up to date #2416 3 years ago
nick black 04489e179a
[ncneofetch] properly place palette plane 3 years ago
nick black b57d6eb8d8 notcurses_data_path: allow overrides 3 years ago
nick black 16c9e9f101
[ncneofetch] fix display when no logo is found 3 years ago
nick black a4bc4e1897 [windows] fall back to NOTCURSES_SHARE 3 years ago
nick black 46114adb57
oiio_decode_loop: fix sense of seek_subimage() test #2402 3 years ago
nick black 7925df32cc
[ncneofetch] use notcurses_data_path() #2402 3 years ago
nick black 238de45e96 [nctetris] find the background everywhere #2042 3 years ago
nick black 7351b2aff6
[oiio] plug memory leak in oiio_destroy, thanks ASAN! #2402 3 years ago
nick black e9d299c139
[ncneofetch] clear area to left and right of palettebox 3 years ago
nick black cf36985c69 block_on_input: pass HANDLE** #2402 3 years ago
nick black caaeec5094
Place ncneofetch properly (#2415)
* ncplane_polyfill_inner: plug memory leak on error paths
* [progbar_create] memory leak on error path
* ncvisual_polyfill_core: memory leaks on error paths
* notcurses_early_init: memory leak on error path
* [demo] fix summary table for ASCII #2402
* [sliders] make it work in ASCII #2402
* add ncplane_ascii_box() #2402
* [notcurses-info] use capabilities accessors for blitters
3 years ago
nick black 771f2e1fb6 [ncplane_scrollup_child] need move to physical scroll location #2378 3 years ago
nick black 4ef8b53602 [ncneofetch] handle palette size not a multiple of showel 3 years ago
nick black 5cd85ca367 [ncneofetch] when in utf8, use half blocks for palette 3 years ago
nick black 3ffe7ac12c
kittykbdsupport bool distinct from kbdlevel, use in notcurses-info #2412 3 years ago
nick black 69b2b3d274
never send keyboard level changes with DRAININPUT #2412 3 years ago
nick black dae138c7d0 [ncneofetch] only render once #2378 3 years ago
nick black 2a636e3d9d
windows compile fixup erp 3 years ago
nick black 879a79f001 milt! 3 years ago
nick black fb33ea39c1 [windows] don't drain the input readiness pipe #2408 3 years ago
joseLuís b1f636a2d9 [docs] rename plane/visual sections to regions 3 years ago
nick black a4d7bd5670
[TERMINALS.md] document PuTTY settings #1298 3 years ago
nick black 48b124f82b
legacy_cb_f3 conflicts with cursor location report, dump it 3 years ago
nick black bce181a0d9 [ncneofetch] handle NULL from notcurses_data_dir() 3 years ago
nick black 538dff91ba
[input] provide utf8 form in ncinput 3 years ago
nick black 62f694dfa3
extract_color_table: get cell-pixel geometry from bargs #2404 3 years ago
nick black e57720ef51 [Stacking] fix unit test 3 years ago
nick black 6c5bc6b396 [rendercore] on fg elide, persist previous fg rgb 3 years ago
nick black ffc5993eec [rendercore] drop diagnostic 3 years ago
nick black 1be43cb54a [rendercore] omit fg on rgbequal #1316 3 years ago
nick black 0761994abb mark some string literals as utf8 3 years ago
nick black dc527439d4 [rendercore] cleanup, drop 'alttext', add 'noforeground' 3 years ago
nick black 7a91a2f905 normalize cell initializer names (prefix with NC) 3 years ago
nick black b340f01a0a always use space when fgrgb == bgrgb #1316
When both foreground and background are using RGB, and
the two channels are the same RGB value, the glyph will
be invisible; emitting a space with the correct background
can save RGB escapes and glyph bytes. Eliminates several
longstanding FIXMEs in the Stacking unit tests. Add a new
function nccell_rgbequal_p(), and unit testing for it.
Add a new unit test to check that this optimization has
taken place, and that it has only taken place in the
rasterization phase--the original plane must be unchanged.
Closes #1316.
3 years ago
nick black 0b75f06abd add and unit test nccell_rgbequal_p() #1316 3 years ago
nick black c298563e32 [FgMatchesBg] new unit test for optimized fg==bg #1316 3 years ago
nick black 3139bf019a
[initlang] fix sense of ASCII test 3 years ago
nick black 75bd0dd0bc
use notcurses_data_dir() in tester, fetch 3 years ago
nick black d85a0b213a [windows] dump diagnostic 3 years ago
nick black 4b3b904040 [windows] use DataDir for registry key, not InstallDir 3 years ago
nick black abb99d4a67
[notcurses-demo] don't hardcode NOTCURSES_SHARE, use notcurses_data_dir() 3 years ago
nick black df689d9104
[notcurses_options] unsigned margins 3 years ago
nick black 233d32be04
kill obsolete FIXME in sprixel_rescale 3 years ago
nick black 2d3fb9f12e [xray] hold at 15s (true runtime of source media) 3 years ago
nick black 38daf44fb3 [sprite_rebuild] don't change state on a no-op 3 years ago
nick black 5665adc8cc fbcon_rebuild: use direct cellpx when appropriate 3 years ago
nick black 39310f5797 update_term_dimensions: set cpix for linuxfb 3 years ago
nick black 8645511b63 [sprixel_rescale] rebuild all cells using old TAM 3 years ago
nick black ae2338c7a5 [render] refresh on resize #1687 3 years ago
nick black affece853c [sprixel_rescale] hook up to the main paint() path #1687 3 years ago
nick black 47e842d6dc [input] properly identify EINTR 3 years ago
nick black 0d933a180d [splice_rescale] implement, hook up to splice_zaxis_recursive #1687 3 years ago
nick black 6da5392724 [ncplane_reparent] pass cell-pixel geometries into splice_zaxis_recursive() #1687 3 years ago
nick black 135208eafe [input] recognize 0x1b 0x5b 0x45 as begin #2396 3 years ago
nick black ab233d85ee
[input] enable legacy f2 3 years ago
nick black db9d15f795 [sprite_load] kill unnecessary check 3 years ago
nick black 0dbb469a27 [sprixels] use cell-pixel geometry from ncpile #1687 3 years ago
nick black 0925da36f7
[xray] brighten drop count 3 years ago
nick black 549fcac603
[ncplane_dup] don't use ncplane_cursor_move_yx(), set cursor directly 3 years ago
nick black 6f90d20543
[xray] make the drop count redder with more drops 3 years ago
nick black fe20da9492
[input] legacy begin, end, home #2394 3 years ago
nick black fc8b8813c2
[input] handle legacy disambiguated arrow keys #2394 3 years ago
nick black 230e8713d8
[xray] don't even render drop count/slider when behind 3 years ago
nick black 07bdfd8b0f
[xray] balance out singleton case 3 years ago
nick black a5d79da1f0 [xray] add drop count with guy getting more and more pissed off 3 years ago
nick black 3a458c98c3 [xray] draw 5% of frames that would be dropped #2385 3 years ago
nick black 3cd09a0099 [xray] eliminate flicker on dropped frame #2385 3 years ago
nick black efc57333a7 [demo] pass start time to demos for more precise deadlines 3 years ago
nick black d5464deb9a [demo] use a single start time between HUD and recordkeeping 3 years ago
nick black 04ef46a067 [xray] take time at the beginning of demo 3 years ago
nick black cee5c267a2 [xray] 20s deadline #2385 3 years ago
nick black 0c89881266 [xray] calculate 20s deadline #2385 3 years ago
nick black 2ac51d2404 [demo] workaround for summary tables =\ #2389 3 years ago
nick black 8f26eeea5c
[textlayout] plug memory leak in unit test 3 years ago
nick black 2fbfdbb19a
[stats] fix up non-linux unix compilation 3 years ago
nick black 5d547d3678
[stats] account for cell/pixel geometry changes #2384 3 years ago
nick black 8d84c79296
[stats] add new cell_geo_changes and pixel_geo_changes stats #2384 3 years ago
nick black 80dd726239
[cli PoC] fix compile on windows 3 years ago
nick black 55152a0e0c
[input] always drain event readiness pipe #2216 3 years ago
nick black 2d6428cb15
[cli PoC] add a poll on the eventready fd #2216 3 years ago
nick black 70bfd825d7 [windows] get InstallDir from registry, working 3 years ago
nick black 1e8e942594 [windows] implement tty_check() with _isatty() 3 years ago
nick black 455ec4eb66
combine path_seperator() functions 3 years ago
nick black 53a24e1e35
[oiio] erase plane in stream #2368 3 years ago
nick black a7d54f90db zalgo: put prompt following output 3 years ago
nick black c0daadeb9f
[visual] use absolute coordinate in diagnostic 3 years ago
nick black 821b2929b5
[input] only ever need 2 pfds 3 years ago
nick black 049f64ebf2
[input] check ipipe for readiness #2350 3 years ago
nick black 0c6b1b73a6
[ffmpeg] adapt to ncstrwidth() 3 years ago
nick black 0b4232d07d
[ncstrwidth] yield to ncstrwidth_valid 3 years ago
nick black 02f00b01e7
[nctetris] drop background to 3x2 from PIXEL #2380 3 years ago
nick black 46251c1d30
[visual] diagnostics on failures 3 years ago
nick black 4491ce0a94
[shame] 3 years ago
nick black 2fd8f5086f
[windows] add initc capability to windows, stop querying ccc #2377 3 years ago
nick black ed78203a1f
[nctetris] tighten up notcurses logo 3 years ago
nick black d5e451939b
[sixel] copy through sixel_maxy_pristine #2379 3 years ago
nick black 9d4b23d56f
[nctetris] add a Notcurses logo 3 years ago
nick black e8f210135a
[cbreak_mode] don't tolerate error on GetConsoleMode() 3 years ago
nick black 198d3b5f19 windows/freebsd: add logos 3 years ago
nick black f992a55b2d [paint] stop processing line of plane on linefeed #2196 3 years ago
nick black 88a3d42e8f [paint] stop processing line of plane on linefeed #2196 3 years ago
nick black 0003165180 [term] don't send keyboard upcodes if we're draining input #2374 3 years ago
nick black 9b0f806d04 remove filesystem #include 3 years ago
nick black 717aaf9d5d [cli PoC] set scrolling on stdn #2196 3 years ago
nick black 508e143916 [rendercore] move logendx to 0 on linefeed 3 years ago
nick black 4087d59a05 [ncneofetch] return error on failure to emit newline 3 years ago
nick black 06056f5f9c [rastercore] bump logendy if we saw a linefeed 3 years ago
nick black 253ab19cf3 [ncneofetch] fix up infoplane placement for bottom of screen #2196 3 years ago
nick black 6aeab473e5 [scroll_up] scroll up children only on true scroll 3 years ago
nick black 163637828e [sprite_init] stir timestamp into rand() for initial image id 3 years ago
nick black f963b31d9d [goto_location] don't update logendy/x here 3 years ago
nick black 83fd6f83c7 [render] place space instead of newline in term_putc() #2196 3 years ago
nick black f88f1b8697 [pool_blit_direct] pass newlines through #2196 3 years ago
nick black 7e63e33a0b [blitcore] accept newlines, set colcount = 1 #2196 3 years ago
nick black b70afa8b5d [Media] unit tests: cap frames of video at 100 3 years ago
nick black 83902cf7f4 [xray] always provide sufficient topbanner 3 years ago
nick black c030b53bb2 kill trailing whitespace 3 years ago
nick black ea1c10dcfd kill trailing whitespace 3 years ago
nick black 50fbb0a778 [cli2 PoC] strip trailing whitespace 3 years ago
nick black 467b0294f3 [nctetris] kill memory leak of username 3 years ago
nick black 30dedad9df [info] print newline on last line #2196 3 years ago
nick black 8810ec9bb7 [cli PoC] emit a newline following input 3 years ago
nick black 279b3f4cfe [tester] don't require TERM on windows #2363 3 years ago
nick black 87d75fcb95
add TextLayout unit test for scrolling off long lines #1590 3 years ago
nick black f5c99c0cb4 reader unit test: plug memory leak 3 years ago
nick black 6d0a855967 [tabbed] set widget on the correct plane 3 years ago
nick black 493b68d9eb
[rendercore] kill hardcursorpos, just set x/y=-1 3 years ago
nick black efa5ca3ec2 cli2 PoC #2196 3 years ago
nick black 0f41620736 [interrogate_terminfo] kill redundant memset() 3 years ago
nick black 4375f421b8 [notcurses_init] factor out notcurses_early_init() 3 years ago
nick black 8bae41bdb2
[xray] now has 862 frames 3 years ago
nick black 22b0934c4f [windows] correct semantics for strndup, fixes [zoo] #2365 3 years ago
nick black 389cfeb72d
[interp] clean up on failure #2369 3 years ago
Nick Black 1f0cbc94ec [oiio] properly check for ffmpeg 3 years ago
nick black ce66c8a90d
[whiteout] kill unused variable 3 years ago
nick black 6cbe73dd80
kill diagnostic 3 years ago
nick black f061e1550a uc_is_grapheme_break() ought be evaluated across the EGC #2364 3 years ago
nick black 6f4f0f741a [visual] deconstify visual_implementation 3 years ago
nick black 6a72035184
[whiteout] extract dostring(), cleaning up main a bit #2364 3 years ago
nick black 4d4487d7b4
convert fm6.mkv -> fm6.mov 3 years ago
nick black 7b19c4eb8e
swap in new notcursesIII.mov for notcursesIII.mkv 3 years ago
nick black 367a50a826
[visual_implementation] call through a pointer 3 years ago
nick black 21b84d341a
[tetris] don't double-decode the background #2366 3 years ago
nick black 81475827b0
[highcon] undo unwanted experimental background change 3 years ago
nick black 15e768b4d1
[windows] correct visual area width determination #2105 3 years ago
nick black 0603f18bd6 identify as Windows ConHost, not Windows Terminal 3 years ago
nick black bab4434cb6
[curssorreq] fix braindamage in accounting 3 years ago
nick black 3c06ca496f
don't fire off cursor location requests unless none are outstanding #2105 3 years ago
nick black 62a863bea8 [oiio] cast out warnings 3 years ago
nick black 27257328ce [media] unsigned for _blit() 3 years ago
nick black 0dfc5facdf
2.4.98 trial balloon 3 years ago
nick black 43de0ae3a5
[oiio] update declaration to match definition/contract 3 years ago
nick black 9989d6732a
[visual_resize] take unsigned rows, cols 3 years ago
nick black 23eaac9ced
[ffmpeg] free up frame buffers when seeding #2355 3 years ago
nick black d4d96d3bf2 [queries] don't send kitty query on windows #2359 #2245 3 years ago
nick black b611b35978 [ncneofetch] declare Aqua DM on macOS 3 years ago
nick black f8ce4873e2 [ffmpeg] tighten up ffmpeg_decode 3 years ago
nick black cf9e5b8c8e pull curses.h out of internal.h 3 years ago
nick black 10739673b2 [ffmpeg] kill unused AVCodecParameters 3 years ago
nick black 3b950fc208 [ffmpeg] packet_outstanding is just a bool 3 years ago
nick black 8d22a55dec [ffmpeg] memset AVFrame in details_seed() 3 years ago
nick black 68240c3d13 use ncplane_putwc_utf32 for all unicode 13 in notcurses-info #2358 3 years ago
nick black a248606b77
[notcurses-info] use putwc_utf32 for symbols for legacy computing #2358 3 years ago
nick black 5e55e0c970
introduce ncplane_putwc_utf32(), use it in notcurses-info #2358 3 years ago
nick black 3eb2f5f42d
notcurses-info: replace literal unicode 13 with escapes 3 years ago
nick black b2ce3f00f8
remove progbar PoC, move it into unit tests 3 years ago
nick black 1a61214a44 [ncneofetch] don't emit newline characters from ncart #2356 3 years ago
nick black 0d94049954
[ncneofetch] fix off-by-one on ncart #2357 3 years ago
nick black 58ca4c5fa3
[init] only warn on failure to preserve cursor 3 years ago
nick black 5e6416eae6
[queries] send DSRCPR as early as possible 3 years ago
nick black b0aadca7be
[init] block until we have cursor report, in case it arrives late 3 years ago
nick black 04c768f0e5
[input] remove unused termqueries struct 3 years ago
nick black b91683e14a [print_frame_summary] fix up some inttypes 3 years ago
nick black 0266f496a0
[cursor] i have no idea what this PoC did; nuke it 3 years ago
nick black b0c75d84d1
[windows] settle on u7 for cursor location reports #2105 3 years ago
nick black 5e8ecebe21
[fbcon_scroll] don't try to memmove 0 bytes 3 years ago
nick black 2155ad32f9
[linux] memset correct area post-scroll 3 years ago
nick black 12ca5bb4fc
[Visual] tighten geometry unit test, always set maxpixely based off sixel_maxy #2351 3 years ago
nick black caa054cc43 [windows] setlocale(LC_ALL, ".UTF8") #2117 3 years ago
nick black 4d40401344 [utf8_egc_len] use MB_LEN_MAX to eliminate compile-time locale considerations 3 years ago
nick black a0d37d442f
[ncvisual_simple_streamer] render *after* extracting subtitle 3 years ago
nick black 16325f0446
[input] diagnostics 3 years ago
nick black 42accab195
[input] stop using SIGCONT for readiness notification #2350 3 years ago
nick black 1d316273d2
[notcurses-input] use ncplane_resize_realign for the plot 3 years ago
nick black 952e4eaeb2
add render.h 3 years ago
nick black 0286798b2d
[notcurses-demo] HUD: use ncplane_resize_placewithin #1478 3 years ago
nick black d1c9dd93cf
[core] add ncplane_resize_placewithin #1478 3 years ago
nick black b91f150e96
[render] call notcurses_refresh() on sigcont #281 3 years ago
nick black c707e49bd3
[signals] set up NCKEY_SIGNAL on SIGCONT #281 3 years ago
nick black da4efcf905
notcurses_input.3: document NCKEY_SIGNAL 3 years ago
nick black a4fe7abe93
[kittykbd] synthesize SIGSTOP for ctrl-z #2349 3 years ago
nick black 127a3ad888
[ncprogbar_destroy] set_widget(NULL, NULL) #2347 3 years ago
nick black 6fb7aeae9f
[ncreader_destroy_internal] set_widget(NULL, NULL) #2347 3 years ago
nick black 83b3926f92
[intro] drop greatscott() 3 years ago
nick black 0124daf8b7
restore ncselector_destroy API, set widget in ncreader #2347 3 years ago
nick black c5986ef508
[ncmenu] refuse a bound plane #2347 3 years ago
nick black 13f5499648
[ncplot] refuse bound plane #2347 3 years ago
nick black 143c217332
[nctabbed_create] clean up error paths, refuse bound plane #2347 3 years ago
nick black 3d46681874
[LoadVideoPixelStretchOnePlane] greatly improve unit test 3 years ago
nick black e03554870e
[initbanner] protect against USE_DEFLATE=off 3 years ago
nick black 3b6e08333f
[LoadVideoPixelStretchDifferentPlanes] greatly improve unit test 3 years ago
nick black c75ec262c4
[NCFDPlane] kill memory leak when ncfdplane ought be destroyed inline 3 years ago
nick black e1c08b969d
[tester] one more leak in Stacking tests 3 years ago
nick black 01c6f8ba3d
[tester] kill memory leaks in two unit tests 3 years ago
nick black ce2a6dc686
[multiselector] refuse a bound plane #2347 3 years ago
nick black 717b4a40c1
[CMake] add USE_DEFLATE option, document it, reenable fedora drone #2348 3 years ago
nick black 50f6cf72b2
[plane] properly initialize options in unit test 3 years ago
nick black 0877973b10
[ncneofetch] tighten up infoplane 3 years ago
nick black 81a31c2a4b
[ncneofetch] remove screen dimensions, provide arch fallback #2341 #2336 3 years ago
nick black 12988bb556
add ImplicitDestroy and RefuseBoundCreatedPlane selector tests #2347 3 years ago
nick black 042c120cd2 add RefuseBoundCreatedPlane test #2347 3 years ago
nick black 656b6385d9 [reels] refuse an already-bound plane #2347 3 years ago
nick black 5beffcc06f nctree: move ncplane_destroy out of nctree_destroy() 3 years ago
nick black 762e54db49 [tabbed] protect destructor under ncplane_set_widget() #2342 3 years ago
nick black ad8445f6d8 ncreel_del: move nctablet_delete_internal() to end 3 years ago
nick black cca7d70142 widget destructor for nctablet 3 years ago
nick black ae73463b91 [plot] work with widget tracking 3 years ago
nick black f060dde33d [reel poc] call notcurses_stop on error paths 3 years ago
nick black bead8cbffc [widgettrack] hook up nctabbed, nctree, ncreel, nc[ud]plot #2342 3 years ago
nick black 416f2eb6df [plane] free unit test leaks 3 years ago
nick black 9033f4fd98 [selector] hook up widget tracking #2342 3 years ago
nick black baae0c3d06 track widgets from planes #2342, hook up ncmenu 3 years ago
nick black 8b303659ad
[fbcon] call kill_fbcopy() from early exit path 3 years ago
nick black 9d5bb84d40
program_block_drawing_chars: correct check for linux_fb_fd #2283 3 years ago
nick black f16af55632
ncpile_notcurses() 3 years ago
nick black ef339413b9
[fbcon] only move to INVALIDATED upon scroll, not QUIESCENT #2316 3 years ago
nick black 623d2bf8eb
[ncneofetch] arch moved its logo 3 years ago
nick black ac9ae26e46
kill obsolete FIXME 3 years ago
nick black 01606de5a7
[xray] kill lplane on each cycle, eliminating draw residue #2318 3 years ago
nick black 491a7f74dc [ncneofetch] ponly want langinfo.h on non-windows 3 years ago
nick black ef53094e53 [windows] chill out, PRIuPTR for size_t 3 years ago
nick black ab6740758f [kitty] rewrite compression using libdeflate #2314 3 years ago
nick black d96cec38ff libdeflate version in init banner 3 years ago
nick black 32960be702 [kitty] spool out into a buffer rather than zctx #2314 3 years ago
nick black e20c7d1839
[ubuntu] try to get doctest compiling 3 years ago
nick black 8491b6f64b
fetch: include langinfo.h #2344 3 years ago
nick black 423ff7898e [ncneofetch] use nl_langinfo for fallback (windows has no LANG) 3 years ago
nick black ef2c18810e
[kitty] spool out into a buffer rather than zctx #2314 3 years ago
nick black 7c9e459ff2
[ncneofetch] break down Windows product versions 3 years ago
nick black 0f1768187b
[ncneofetch] break down Windows product versions 3 years ago
nick black c514d2a01c [windows] get animate demo working 3 years ago
nick black 7f7edcce87 [windows] properly call GetSystemInfo() 3 years ago
nick black 427cbf2a90 [procroller] dump NO_ALTERNATE_SCREEN #2338 3 years ago
nick black f401f2b4f1
[ncplayer] default to pixel blitting #2340 3 years ago
nick black 224743c22a
[ncneofetch] need strings.h 3 years ago
nick black afc63dccba
[ncneofetch] get core count on ARM #2336 3 years ago
nick black d74f0583b8
[selector] free memory leaks in unit tests 3 years ago
nick black f377e30300
[fdplane] constify args/env, kill unit test memory leaks 3 years ago
nick black d51318f58c
[ncmenu] kill memory leaks in unit tests 3 years ago
nick black c87ea7b162
[procroller] preserve cursor #2338 3 years ago
nick black aae3cda8b3
[mouse] don't send command when mouseproto == 0 #2339 3 years ago
nick black 5ff59ce421
[putstr] take size_t* for sbytes, not int* #2331 3 years ago
nick black 9b4fb10d6a
[windows] use regular u7 for cursor location reports #2284 3 years ago
nick black c52b240d76
[mice] DECRST the mode we DECSET #2334 3 years ago
nick black 7dd9454fb8
ncvgeom unit tests: another cellpix{yx} implication 3 years ago
nick black dcede32e5c
[ncvgeom unit tests] expect cellpix{xy} -> cdim{xy} #2332 3 years ago
nick black 60d14ef527
[vizgeom unit tests] cdim{yx} ought always be set #2332 3 years ago
nick black 7cf819a40f
[automaton] fix xtgettcap-based terminal detection 3 years ago
nick black 981a1d06aa
use d=I for kitty SPRIXEL_HIDE to kill cache 3 years ago
nick black 9065975a3c
move synthesized events beyond unicode 3 years ago
nick black 3e201adf38
[debug] fix up format string 3 years ago
nick black 4153e24f8b
[zoo] clean up background 3 years ago
nick black 8dc396c916
[chunli] use centering options 3 years ago
nick black c775e8b7af
static inline most capability functions 3 years ago
nick black 8a63270c00
notcurses_{top/bottom} become static inlines 3 years ago
nick black b42587a1b9
notcurses_getc -> notcurses_get, absolute deadlines 3 years ago
nick black fe924be5ef
ABI3 changes (#2333)
Long-planned changes for API/ABI3 #1777

* remove old-style notcurses_ rendering functions
* Make notcurses_render() a static inline wrapper around
 ncpile_render(). Remove the deprecated
 notcurses_render_to_file() and ncpile_render_to_file().
* ncstrwidth() becomes static inline wrapper #1777
* remove deprecated ncvisual_subtitle()
* kill ncvisual_inflate(), long deprecated #1777
* remove deprecated palette256 wrappers #1777
* kill ncplane_new() #1777
* remove deprecated renderfp field from notcurses_options #1777
* reorder ncstats fields to match documentation #1777
* kill deprecated style functions #1777
* ncplane_move{top, bottom} become static inline #1777
** ncplane_pixelgeom -> ncplane_pixel_geom() #1777
* ncstyle functions ought return uint16_t #1777 #2200
* ncvisualplane_create: provide new pile functionality #1462
* [heuristics] GNU screen 4x never has rgb
* [BitmapSmoothMove] only WARN in test until sixel supports this #2258
* contour: enable sextants
* interp PoC: clean up ncvisual #2266
* ncselector_options: constify string arguments
* Constify strings in selector/mselector_items
 Use internal types to track items within the
 selector/mselector widgets, rather than pressing the
 user-provided item structs into double-duty. With this
 change, we can constify the strings within those
 user-provided items. Do so, also removing the internal-side
 elements. Update documentation. Closes #2267.
* constify ncmenu_item/_section strings
* constify strings in nctabbed_options
* notcurses-demo FPS graph: back to straight seconds
* remove unused wchar_from_utf8()
* nstrwidth_valid(): properly initialize bytes/width
* [ncneofetch] use GetSystemInfo on Windows
3 years ago
nick black 12e01fdf5c [metric] prefix all defs with NC 3 years ago
nick black c20e859a6d [python] API conversions 3 years ago
nick black d29813457b stylemasks ought always be uint16_t 3 years ago
nick black 91420af5ce eliminate recursion in ncplane_polyfill_yx #2328 3 years ago
nick black 51e90ca7e9 [hud] use ncmetric for elapsed time 3 years ago
nick black 0231768406 prefix qprefix(), bprefix(), iprefix() with nc- 3 years ago
nick black 83ff2cfe5a unsigned geometries 3 years ago
nick black 332bf71642
excise notcurses_debug() from stacking tests 3 years ago
nick black 204eded6ff correct DECSET/DECRST definitions #2330 3 years ago
nick black f2a5ae589f
LoadVideoPixelScale -> Stretch 3 years ago
nick black f4f1d74dd1
[termdesc] use RGB from XTGETTCAP to set capability 3 years ago
nick black 0f5aec510a
[mice] support for pure motion events
Deprecate notcurses_mouse_{enable, disable}. Reimplement
them for now as wrappers around notcurses_mice_enable().
New function notcurses_mice_disable() is a static inline
wrapper around notcurses_mice_enable(). The latter
function takes an unsigned bitmask of event types. We
now turn on the "all motion" tracking DECSET if
NCMICE_MOVE_EVENT is requested. Update the documentation,
and kill some obsolete lines. Add the ypx and xpx fields
to ncinput, to indicate pixel offset within a cell. Add
nckey NCKEY_MOTION for button-free motion events. Update
notcurses-input to pass NCMICE_ALL_EVENTS and decode
NCKEY_MOTION. Only emit mouse sequences when connected
to a TTY (or GPM). Closes #2320.

Request RGB XTGETTCAP.

Fix bug in error check in notcurses_render_to_buffer().

Decode multiple XTGETTCAP responses.
3 years ago
nick black 3a589e0f26 Cell unit tests: remove obsolete special-casing 3 years ago
nick black 7b48c8b3d3 ncdirect_putstr() is allowed to return 0 3 years ago
nick black e9470ac4a9 unsigned box and resize 3 years ago
nick black 7123b689ec [direct] more box unit tests 3 years ago
nick black e44db13837 [direct mode] diagnostics 3 years ago
nick black ed69204ee4 utf8_egc_len: only augment width once 3 years ago
nick black 435eac59f6 ncdirect: better diagnostics on cursor move errors #1696 3 years ago
nick black 3792dd5592 [mergeplane] 0 means remainder #1696 3 years ago
nick black 37f077a653 normalize lenghts for line-drawing functions #1696 3 years ago
nick black d80884ea48 normalize geometry for ncvisual_from_plane, ncplane_contents, and ncplane_as_rgba() #1696 3 years ago
nick black 3bdbf6e2e2 [ncdirect_cursor_yx] simplify thanks to modern input system 3 years ago
nick black cf8dad7a1c [ncdirect_box] work properly when height==2 3 years ago
nick black 28001d5566
[notcurses_refresh] properly flush clear before completing raster #1948 3 years ago
nick black a9ed0a1092
[ncplayer] leaks on error paths 3 years ago
nick black 41a657f804
[automaton] prefer XTVERSION over TN from XTGETTCAP 3 years ago
nick black e14b4d5f7c
Direct unit tests: add note about reversed u6 3 years ago
nick black 13cf662a4f
[linux] tighten up identifiers for console 3 years ago
nick black daa559c01f
[term] only send XTMODKEYS if we confirm no kitty keyboard support #2317 3 years ago
Nick Black 642a9a2aa4 [grid] same color everywhere 3 years ago
Nick Black 9580679298 [linux] don't try to force framebuffer 3 years ago
nick black 130f1f6adb
[EGCcore] be more aggressive about ZWJs 3 years ago
nick black 8d08e14912 [EGCcore] property variation is 0 columns, as is ZWJ #2315 3 years ago
nick black 8872cf73ab [mojibake] fix up 7.0 emoji 3 years ago
nick black 45afc7fc5d [info] add U+1FB6B and U+1FB69 3 years ago
nick black dfde3a6875
[trans] do final object (logo) twice as long 3 years ago
nick black c2391f7b88
[yield] resize prior to polyfilling to eliminate scaling costs 3 years ago
nick black 8f9608eb19 eliminate recursion from polyfill #2300 3 years ago
nick black 2ce3c0ef4e [vizgeom] PRIx64 for uint64_t 3 years ago
nick black 479396c625 [shutdown] send XTMODKEYSUNDO if we don't have a kitty keyboard level 3 years ago
nick black 2be84dd3e8
fix up some memory leaks in unit tests 3 years ago
nick black 68f6c02899
[kitty] q=2 with pixel offsets 3 years ago
nick black 252bfec9c4
[visual unit tests] kill unit test memory leaks 3 years ago
nick black 9101ac9139
[nctree] plug leak of currentpath 3 years ago
nick black c038b7538e [input] make delaybound_to_deadline() inline 3 years ago
Nick Black 6cc65f0bea unit tests: specify uint32_t for vector types 3 years ago
nick black 103b13caf8 [oiio] move to ncvisual_geom() 3 years ago
nick black 6692bf89d0 [visual] don't clear placey/placex for sprixel plane creation #1684 3 years ago
nick black f9522959cd [qrencode] use ncvisual_geom 3 years ago
nick black 5fe3a30580 get_tty_fd: only print fd on success 3 years ago
nick black a9fd1542e4 [geom] properly copy alignments through #1684 3 years ago
nick black 3476087dbf [ncvisual_blit] unify plane creation paths #1684 3 years ago
nick black b8a3016a66 Visual unit tests: cleanup 3 years ago
nick black d7d8549830 [cellgeom] set rpixy/rpixx properly in presence of scaling 3 years ago
nick black 05d928003d [yield] remove globals, fixes #2300 on this branch 3 years ago
nick black 28a037b6c0 new unit test VisualCellGeometryStretching 3 years ago
nick black bd4393ff1e new unit test VisualCellGeometryScaling 3 years ago
nick black d65dd43670 new VisualCellGeometryNoScaling unit test 3 years ago
nick black 1cc597698a [cblit] x/y mixup in geom calculations 3 years ago
nick black 55eec67a23 pull wayward debug from Bitmaps unit test 3 years ago
nick black 6b7cb9134b cblit diagnostic 3 years ago
nick black 81d78be211 [ncvgeom] move cellblit geom calculations into ncvisual_geom_inner() 3 years ago
nick black ad12fe947e [ncvgeom] close the ncvgeom loop for pixels, disgustingly 3 years ago
nick black 3297bb329c unite pixel new+used plane geom 3 years ago
nick black 0363139593 [ncvgeom] fix bug in unit test 3 years ago
nick black aed29467c3 [intro] cap orca at 1/2 height, 1/4 width 3 years ago
nick black 5ae6a2152f [ncvgeom] always set pixy/pixx with non-NULL n 3 years ago
nick black 95f4ea32aa [ncvgeom] perform further checks 3 years ago
nick black 2aabc30148 [ncvgeom] kill off ncvisual_blitset_geom 3 years ago
nick black 17b06b1180 [ncvgeom] add begy/begx and leny/lenx to ncvgeom 3 years ago
nick black 5ce1a11bce [core] undo XTMODKEYS coming out of alternate screen 3 years ago
nick black 7f36bdaba0 [ncvisual_geom] always set up extrinsics 3 years ago
nick black b19847a06a [visual] extrinsic geometry unit tests 3 years ago
nick black 4028d3f56a ncvisual_geom(NULL, non-NULL) unit test 3 years ago
nick black a0b34f7062 [core] introduce ncvisual_geom(), replacing ncvisual_blitter_geom() #1684 3 years ago
nick black 71cd76d5c2 [intro] full exit on failure 3 years ago
nick black 469fde0545
clarify resize diagnostic #1696 3 years ago
nick black cf4d657ece
[marginalized resizecb] move to the location solved for by margins #1472 3 years ago
nick black 0eda63daa5 [core] enable ghpa only on kitty for now #2199 3 years ago
nick black 8ee8b0081d [raster] no need to position x for scroll event #2199 3 years ago
nick black 8a827224ba PixelRender unit test: stretch to available geometry 3 years ago
nick black 50dfab7b7b SixelsRoundtrip unit test: scale to available geometry #2304 3 years ago
nick black e92aafd1b4 [sixeltests] use REQUIRE instead of CHECK on blit result #2304 3 years ago
nick black 086d77c320 [core] remove egc_rtl(), which only seems to cause problems #2128 3 years ago