nick black
b629fb3315
declare preprocess_cell, our kernel for multithreaded quantization #2573
2 years ago
nick black
23bf9346b4
[sixel] throw up and reap worker threads #2573
2 years ago
nick black
82921e2f0d
[shutdown] free the terminfo cache (and input) earlier
2 years ago
nick black
1af32a63a6
[plane] safe ncplane_set_channels()/ncplane_channels()
2 years ago
nick black
f842e74f20
[ncplane] restore ncplane_set_[fb]channel
2 years ago
nick black
e33cb62de9
[ncplanes] remove ncplane_set_[bf]channel() #2571
2 years ago
nick black
3e8e11e7c5
[termdesc] identify Konsole by TDA of ~KDE #2556
2 years ago
nick black
514ee9892c
Merge branch 'master' of github.com:dankamongmen/notcurses
2 years ago
nick black
8d3eb96508
[termdesc] don't send OSC 4 palette queries to linux yet #2561
2 years ago
nick black
cbd5db20c7
[freebsd] don't shadow global termname() ident ugh
2 years ago
nick black
bc4bee8afc
[sixel] kill obsolete FIXME
2 years ago
nick black
a6fc8f08ee
[rasterize_core] pass margin-adjusted location to sprixel_invalidate #2546
2 years ago
nick black
89e9be0b3c
[info] use gradient based on the detected palette #2568
2 years ago
nick black
1754451cf9
[heuristics] break up apply_term_heuristics into per-term functors #2563
2 years ago
nick black
337b1bc52c
[automaton] deinline some large functions, saves ~14KB of text #2563
2 years ago
nick black
1e7164926a
[termdesc] dynamically generate palette queries #2563 #2561
2 years ago
nick black
437f24c92c
[termdesc] don't duplicate query defs, saves ~10KB of object size
2 years ago
nick black
2c20769cc7
[termdesc] add FIXME to palette query about color count
2 years ago
nick black
3322125d69
[tty_emit] motivating comment #2558
2 years ago
nick black
f1f9de718a
[create_inputctx] set coutstanding only if we issued queries #2558
2 years ago
nick black
96c1d190ef
[read_input_nblock] treat permanent failure reading as EOF #2558
2 years ago
nick black
fb61736142
[cursor_yx_get] propogate return from get_cursor_location #2558
2 years ago
nick black
792dbf9a59
[get_cursor_location] unlock on error path, erp #2558
2 years ago
nick black
285aa9d92a
[termdesc] factor out handle_responses()
2 years ago
nick black
b51fa64150
[PoCs] use modifier accessors
2 years ago
nick black
379b02c5cf
ncplayer: use modifier accessors
2 years ago
nick black
6472327dbf
[demo] no need to check for ctrl on lowercase
2 years ago
nick black
683c6ff6d8
[readline] use modifier accessors for shortcuts
2 years ago
nick black
1c10ee614c
[reader] use modifier accessors
2 years ago
nick black
fbdbf03037
[notcurses-input] use modifier accessors
2 years ago
nick black
cc5d3b55c2
[ncdirect_readline] properly check for EOF (capital D) #2558
2 years ago
nick black
05a5b64339
[input] check for output availability in process_bulk() #2548
2 years ago
nick black
23b3308c7a
[info] don't stain the emoji line
2 years ago
nick black
e7fa7b452f
move process_input() normalizations to load_ncinput()
2 years ago
nick black
7e46e5fbe4
some subtle input changes
...
When CapsLock is detected, and we're working with
ASCII input, capitalize it, just as we do with
Shift or Ctrl. Don't consider CapsLock or NumLock
for ncinput_equals_p(). Closes #2555 .
2 years ago
nick black
15e2c6eb12
[ncinput_equals] consider UNKNOWN == PRESS #2554
2 years ago
nick black
06d61b9025
[ncmenu] use modifiers in all ncmenu_sections
2 years ago
nick black
a7a47f8e0c
[kitty] add support for capslock, numlock, hyper, and super #2553
2 years ago
nick black
1f7f1a8e50
[kitty] handle hyper, capslock, numlock #2553
2 years ago
nick black
d72ef9fd8b
[banners] tighten up bitmap stat line
2 years ago
nick black
5b15703fa9
notcurses-demo: stop trying to read after NCKEY_EOF #2547
2 years ago
nick black
678273aaf5
[unittests] free up ncsixel_as_rgba() results
2 years ago
nick black
02cdc6c65d
[input] reject pixelmouse event if we don't have pixel info
2 years ago
nick black
509595f0e0
[sixel] goto valerr on value error
2 years ago
nick black
cae41c3a1a
[sixel] kill dead store
2 years ago
nick black
2eaf502870
plug memory leaks in bitmapstates PoC
2 years ago
nick black
36a156a2b7
[input] reject invalid XTGETTCAP bytes (see contour #582 )
2 years ago
nick black
85895ac405
[sixel] factor out choose()
2 years ago
nick black
da98a3e858
don't run merge if we needn't #2516
2 years ago
nick black
38e7f36efc
merge! #2516
2 years ago
nick black
f62ea3b344
[sixels] lift all logic into choose_alternate_color() #2516
2 years ago
nick black
32ddd6247b
[sixels] factor out choose_alternate_color #2516
2 years ago
nick black
58fe88bad1
[gettcap] fold down control sequence responses #2541
2 years ago
nick black
3d2c1ed840
[automaton] handle negative XTGETTCAP #2544
2 years ago
nick black
c0a20fdc3c
[input] handle multiple XTGETTCAP returns
2 years ago
nick black
4a3b70ddc2
[terminfo] prefer XTGETTCAP to terminfo for HPA #2541
2 years ago
nick black
5806aa6864
[tinfo] factor out do_terminfo_lookups()
2 years ago
nick black
2584435efc
[kitty] treat absent event type as NCTYPE_PRESS #2527
2 years ago
nick black
1af9b16276
[sixel] restrict to 99, but use true 100 scale for accuracy
2 years ago
nick black
db6b5af77a
[automaton] handle broken contour palette replies #2539
2 years ago
nick black
949925e1f7
[input] drive process_ncinput() through load_ncinput() #2216
2 years ago
nick black
f7dd724942
[input] synthesize ctrl+c and friends for all inputs #2537
2 years ago
nick black
457da57ca6
[sixel] qlinks are one-biased
2 years ago
nick black
2550b09ab3
[pixelmouse] break response down for 1016 #2326
2 years ago
nick black
d0f75018a7
[input] break out pixelmouse_click() #2326
2 years ago
nick black
2dd0415298
[term] use DECRQM 1016 to detect pixelmice #2326
2 years ago
nick black
b026c624a0
[reel] put legend on its own plane so as not to leak to other demos #2535
2 years ago
nick black
3375e9061c
[sixel] comment on requirement of 8 free qnodes per onode
2 years ago
nick black
7abf93e166
[sixel] properly allocate onodes
2 years ago
nick black
bf9184a41d
[sixel] decatree #2515
2 years ago
nick black
ea08cd92ba
add meta modifier handling #2522
...
Handle Meta modifier in Kitty and XTMODKEYS. Add Meta
indicator to notcurses-input. Update man page. Add
NCKEY_META_{SHIFT, CTRL, ALT, META} constants. Add
"modifiers" field to ncinput struct. Add inline
functions for testing modifiers. Remove special-casing
in Kitty protocol that capitalized all lowercase ASCII
when ctrl was pressed; we don't do this for XTMODKEYS.
2 years ago
nick black
8db6f9dc7b
[automaton] add extended XTMODKEYS modifiers #2518
2 years ago
nick black
6680550fab
[sixel] fix octree initial membership test
2 years ago
nick black
766461dd7d
[sixel] browse through to subtree
2 years ago
nick black
fc447ac889
[sixel] zero out qlink on dynnode
2 years ago
nick black
df91593931
[sixel] finish out octrees #2515
2 years ago
nick black
cbe9294c41
[mice] if pixelmice is set, use 1016 #2326
2 years ago
nick black
6b461c89cf
report pixel mice capabilities in notcurses-info #2326
2 years ago
nick black
5cb5e890dc
[input] always capitalize when shift is held
2 years ago
nick black
6a51c470b2
[sixel] fix memory leak in color extraction
2 years ago
nick black
de02ceed91
[load_ncinput] always capitalize ASCII when Ctrl is used
2 years ago
nick black
92bda51996
[cmake] -v on failing notcurses-input runs
2 years ago
nick black
483985e9aa
[drone] try and get some useful logs
2 years ago
nick black
4bccb59732
Post to the readyness fd for EOF
...
When we get to the EOF on stdin, we need account for that
with the readiness fd. Post to it upon the EOF transition.
Closes #2525 .
2 years ago
nick black
28cd88f6d4
[input] don't queue further terminal input following stdineof #2525
2 years ago
nick black
27b5d38ea1
don't use sigaltstack() with USE_ASAN #2529
2 years ago
nick black
59eb7dd18b
[XTMODKEYS] undo with m, not n #2526
2 years ago
nick black
5de0a24fe6
[automaton] handle iTerm2 xtsmgraphics failure #2531
2 years ago
nick black
0c007078f0
kill some signed-vs-unsigneds
2 years ago
nick black
91a8d85707
[automaton] combine modifiers
2 years ago
nick black
4b49cb4592
add meta modifier handling #2522
...
Handle Meta modifier in Kitty and XTMODKEYS. Add Meta
indicator to notcurses-input. Update man page. Add
NCKEY_META_{SHIFT, CTRL, ALT, META} constants. Add
"modifiers" field to ncinput struct. Add inline
functions for testing modifiers. Remove special-casing
in Kitty protocol that capitalized all lowercase ASCII
when ctrl was pressed; we don't do this for XTMODKEYS.
2 years ago
nick black
efddf0b496
[automaton] add extended XTMODKEYS modifiers #2518
2 years ago
nick black
d44c37d717
terminology now supports XTVERSION, good for them
2 years ago
nick black
5d9f66f48b
[quantanal] work on scaled images
2 years ago
nick black
c876ef18a5
[sixels] stretch in unit test to work on all geometries
2 years ago
nick black
6f36efd80a
[xtmodkeys] step up to 4;2, and define all modifiers #2518
2 years ago
nick black
ecee3f1bd8
[automaton] handle XTSMGRAPHICS failures #2517
2 years ago
nick black
f133462429
[enter_alternate_screen] pop the keyboard state #2509
2 years ago
nick black
03160d902d
[termdesc] don't enable sixel graphics with 0 color registers
2 years ago
nick black
dba86c72f0
[tests] is this just some ncdirect problem
2 years ago
nick black
5e42c19ace
[quantanal] don't compare transparent pixels
2 years ago
nick black
02f88d4c75
[sixel] first-order merge from octrees #2503
2 years ago
nick black
0ce264c216
[fbuf] accommodate 64-bit integers
2 years ago
nick black
192a71f0ca
[octrees] insert_color() and alloc_qnodes() #2503
2 years ago
nick black
0944e553ea
[sixel] NULL out needs_refresh to avoid double-free
2 years ago
nick black
064dc36754
[sixel] properly terminate statement
2 years ago
nick black
62298fba4b
[sixel] clear out entirety of auxiliary vectors
2 years ago
nick black
991ed5b87e
[sixel] diagnostic on malformed input
3 years ago
nick black
0925ca64c6
[quantanal] exit with error on compare() failure
3 years ago
nick black
f2cca37c59
[tester] define loglevel so we can log in internal headers
3 years ago
nick black
5a19baa61b
[sixel] kill compiler warning for unused function
3 years ago
nick black
94944abd51
[stats] account for bitmap emission in rasterize_sprixels (sixel case) #2507
3 years ago
nick black
3bb3e55550
[sixel] use 8-bit initial mask, not 6 #2503
3 years ago
nick black
ee951f1bd3
some comments
3 years ago
nick black
62fc112bf0
[sixel] kill FIXME about setting p2 on reblit
3 years ago
nick black
6bc9e9f7f3
[debug] check for utf8 before using arrows
3 years ago
nick black
49fefcabc4
check for cellpx{xy} in check_pixel_support()
3 years ago
nick black
3431c8fcab
[sixel] improve accuracy with tighter decision bounds #2503
3 years ago
nick black
2b6070ca6f
[demo] don't try to use cell-pixel geometry if it's unavailable #2505
3 years ago
nick black
c1899c5930
[quantanal] properly format runtime
3 years ago
nick black
05a10ef0bb
[ncsixel_as_rgba] admit sixels with leading transparent rows #2504
3 years ago
nick black
40bfab099b
[quantanal] show elapsed time
3 years ago
nick black
26bdd1193a
[quantanal] count colors in original/quantized images
3 years ago
nick black
2ec93e8dfb
[info] move logo over one column
3 years ago
nick black
1a757fc1ba
comment up the PALETTEQUERY atrocity exhibition
3 years ago
nick black
2580513d1a
[sixel] vertically condesnsify this code a little
3 years ago
nick black
abacb08280
quantanal: scale to display when image is too large
3 years ago
nick black
7f64f181aa
[ncsixel_as_rgba] properly scale up colors #2502
3 years ago
nick black
3b7c71ee8b
[quantanal] finish things out #1724
3 years ago
nick black
4403615e09
[quantanal] first draft of compare()
3 years ago
nick black
a1f55fe03c
[quantanal] verify NCPIXEL_SIXEL
3 years ago
nick black
5b34ff3bda
[quantanal] show relative sizes
3 years ago
nick black
635da75c3c
[quantanal] recover control sequence with ncplane_at_yx()
3 years ago
nick black
0e190d0bc0
[quantanal] render visual
3 years ago
nick black
a4751d354d
quantanal
3 years ago
nick black
c19a2477ff
reject empty sixel
3 years ago
KristofferC
ff3b4b0a10
some updates from review
3 years ago
KristofferC
ac94303a1f
also nckeys
3 years ago
KristofferC
81d36891da
make a shared lib with the static inline functions
...
This is to be used for wrappers of notcurses that do not otherwise
have an easy way of getting access to the definitions of the `static
inline` functions
3 years ago
nick black
aa7903b370
implement ncvisual_from_sixel()
3 years ago
nick black
3d0fbc4d8f
ncvisual_from_sixel() atop ncsixel_as_rgba()
3 years ago
nick black
bb91c170dd
implement sixel_as_rgba() #1724
3 years ago
nick black
61000ce2a4
start sixelanalyzer binary #1724
3 years ago
nick black
746d7af429
[safesixel] libncsixel_explode()
3 years ago
nick black
3190419774
start on libncsixel #2383
3 years ago
nick black
e0c5cf5838
NCOPTION_SCROLLING, alias NCOPTION_CLI_MODE
3 years ago
nick black
3eb2383fff
[cli1] properly loop on NCTYPE_RELEASE
3 years ago
nick black
0836f02864
parameterized tputs string for DECERA
3 years ago
nick black
dc4bb1095e
detect rectangular edit support, display in notcurses-info #2498
3 years ago
nick black
406abe53aa
[ncls] use notcurses c interface exclusively
3 years ago
nick black
11b25bff07
[ncls] no scaling unless necessary or specified #2008
3 years ago
nick black
0059fea1ba
[ncls] don't destroy planes
3 years ago
nick black
569cae4a46
[ncls] draw filenames in the correct place
3 years ago
nick black
489a36d291
[ncls] get things working in CLI mode #2026
3 years ago
nick black
d51260f932
[ncls] switch to CLI mode #2026
3 years ago
nick black
0958a83452
[kitty] reunite comment with the code it describes
3 years ago
nick black
3d96b91e87
process_ibuf(): do late initdata handoff following process_escapes() #2496
3 years ago
nick black
22d989a847
b64idx: move to base64.h
3 years ago
nick black
08eca8c0b5
ncneofetch: don't assert() out just because we lack an image #2494
3 years ago
nick black
8315f766bd
ncneofetch: add ubuntu logo path #2494
3 years ago
nick black
43654547a0
neofetch-ripper: write ubuntu alias #2494
3 years ago
nick black
2f00fadfdd
eliminate some signedness changes in notcurses.h
3 years ago
nick black
21dca60e7c
[logging] use CRLF on windows #2489
3 years ago
nick black
a831cef4e5
[windows] no lstat #2006
3 years ago
nick black
b429da0457
[ncls] implement -L option / symlink handling #2006
3 years ago
nick black
70936ada74
kill redundant function prefix_data()
3 years ago
nick black
73f3e64bc9
[windows] kill compiler warning
3 years ago
nick black
094c8c00ca
[channels_blend] update unit tests for general blender #2433
3 years ago
nick black
2d7c2eac73
[channels_blend] support fully general blending #2433
3 years ago
nick black
982895e53c
Merge branch 'master' of github.com:dankamongmen/notcurses
3 years ago
nick black
ab0cd3ac2a
[init] kill redundant zorches
3 years ago
nick black
f8d5eac938
[demo] rewrite usage screen without direct mode #2486
3 years ago
nick black
bb03499e9e
remove unnecessary direct.h includes
3 years ago
nick black
7eda195e7d
[ncplayer] clean up planes created for -k mode #2188
3 years ago
nick black
a28feab67a
[ncplayer] set standard plane scrolling when -k is used #2188
3 years ago
nick black
13d2c9989d
[ncplayer] with -k, display graphic at the current position #2188
3 years ago
nick black
189ed256f4
[ncplayer] -k will be cli mode not direct mode #2188
3 years ago
nick black
c95f1c4ac2
[tfman] use NCALPHA_HIGHCONTRAST for main text #2480
3 years ago
nick black
9c3adaaea3
add ncchannel_rgb(), use it in channels_blend()
3 years ago
nick black
814432d65d
[tfman] interpret groff unicode macros #2482
3 years ago
nick black
be53b25f86
remove accidental decstbm
3 years ago
nick black
0f02465216
[dragon] blit to another plane, preserving background #2419
3 years ago
nick black
b348db2e3d
[tfman] move structure browser along with page browser
3 years ago
nick black
07a424fdb2
[demo] run dragon following highcontrast
3 years ago
nick black
82adff4b77
[dragon] blit to another plane, preserving background #2419
3 years ago
nick black
d2de8265b3
[cellblitters] clear glyph for all-transparent cells #2419
3 years ago
nick black
15e0649941
[box] demo: use any blitter for ships
3 years ago
nick black
dca02e6aae
[tfman] simplify main loop
3 years ago
nick black
3c17bc78e2
[tfman] structure-based navigation #2457
3 years ago
nick black
b7164f440a
[tfman] draw out structure bar #2457
3 years ago
nick black
6089219902
[tfman] track lines in docnode #2457
3 years ago
nick black
5f6f9ff75e
[tests] cut line length down in textlayout test
3 years ago
nick black
bbd9cb746a
[notcurses-input] s/seperator/separator/
3 years ago
nick black
fc129c70c1
[blit] spelling in diagnostics
3 years ago
nick black
59fd31c050
[tfman] change up control for horizontal structure bar #2457
3 years ago
nick black
973175ce49
[tfman] horizontal structure bar #2457
3 years ago
nick black
1b4a968c8b
[termdesc] disable braille on RXVT
3 years ago
nick black
3164ae3c10
[termdesc] enable quadrants for RXVT
3 years ago
nick black
7ac3ad8b16
[banners] when using zlib, show that version
3 years ago
nick black
e2d9d8ec7e
render: change some ints to unsigned
3 years ago