nick black
566eb72d18
ncplane_put: eliminate redundant checks
4 years ago
nick black
217798b4e4
Merge branch 'master' of github.com:dankamongmen/notcurses into master
4 years ago
nick black
b36435bed4
run through with a single glyph
4 years ago
nick black
ef2d1219a1
set p on wide rights #881
4 years ago
nick black
775cf47aa2
Merge branch 'master' of github.com:dankamongmen/notcurses into master
4 years ago
nick black
11d504f1e7
reel demo: always start tablets with at least 2 lines
4 years ago
nick black
6d060cb25d
paint: always set crender->p #881
4 years ago
nick black
05904a8b6e
allglyph: avoid known-problematic glyphs #881
4 years ago
nick black
3c4842cec5
mojibake: touch up colors
4 years ago
nick black
0060a60756
zoo: time text layout accurately
4 years ago
nick black
6e112cd6f4
account for margins in cursor placement #970
4 years ago
nick black
97886b7036
ncreel: observe real margins wtf
4 years ago
nick black
7d7f2f76f0
ncneofetch: remove coordinate inversion #964 #784
4 years ago
nick black
ffa9dcc862
people <3 chunli; move her up in demo sequence
4 years ago
nick black
277411a1b9
ncplane_put: reject wide char on last column #967
4 years ago
nick black
5901fce433
unite putegc_yx+putc_yx into ncplane_put #961
4 years ago
nick black
eb0030bad3
flesh out sgr-full PoC
4 years ago
nick black
720f61d51f
correct sub to add in ncreel_tighten_down() #901
4 years ago
nick black
1cda7758b5
call ncreel_redraw() from _add/_del/_next/_prev #963
4 years ago
nick black
a7411c080f
ncreel: no legend if no borders are drawn
4 years ago
nick black
66f80c77f9
add ncplane_y() and ncplane_x()
4 years ago
nick black
34ae5cb5a6
tuck HUD in with FPS graph
4 years ago
Nick Black
d4ad59f285
FreeBSD compilation fixes
4 years ago
nick black
9f84c1524e
cell_load_simple: need an ntole() #906
4 years ago
nick black
ee649ba0fa
cell_simple_p(): endianness fix #906
4 years ago
nick black
4c04e1d50e
include direct.h in notcurses.c
4 years ago
nick black
3fbdab3020
pool_load_direct: zilch out entirety of gcluster #906
4 years ago
nick black
383c36415d
ncplane_putc_yx: set stylemask for wide chars #961
4 years ago
nick black
c66d8f52d5
Endianness fixes for inlined egcs #906
4 years ago
nick black
227738a8e5
SubprocAndFds tests: tighten up locking
4 years ago
nick black
a6ce88c471
notcurses_init(): correct error path
4 years ago
nick black
201994ab0c
ncdirect: don't make infd nonblocking #919
4 years ago
nick black
9476cb33d5
ncdirect: set up input layer #919
4 years ago
nick black
fa07df297b
ncdirect_getc() #919
4 years ago
nick black
2ef2435953
input: move to inputlayer abstraction
4 years ago
nick black
39d0989a5e
ncdirect cbreak mode polish #958
...
* propagate return value of tcsetattr() from ncdirect_stop()
* restore terminal state on error paths in ncdirect_init()
4 years ago
nick black
4b037bc4b8
direct mode: use cbreak mode for terminal
...
* factor out cbreak_mode() #919
* call it from direct mode when we have a terminal fd
* restore the terminal state in ncdirect_stop()
4 years ago
nick black
8595c21495
dirgb poc: use fflush, not printf("\n")
4 years ago
nick black
8d67d1d1b5
oiio: drop ncerrs.h inclusion
4 years ago
nick black
1a21d193c4
ncreader: kill diagnostics #839
4 years ago
nick black
9b1ae7d970
ncreader: bring cursor back following putegc #839
4 years ago
nick black
66b523413b
reader: correct reversing over line break #839
4 years ago
nick black
9d75f575db
ncplane_set_[fb]channels
4 years ago
nick black
902d8472e8
zoo: break up lines
4 years ago
nick black
70a28feb63
ncreader: horizontal scrolling mostly works #839
4 years ago
nick black
afc06a0271
reader PoC: accept -hs for horizontal scrolling #839
4 years ago
nick black
7cbb2e9110
zoo demo: show cursor in reader box #835
4 years ago
nick black
3495269bcb
ncreader: get cursor working everywhere
4 years ago
nick black
a53d5a21a8
disable/enable cursor for rasterize
4 years ago
nick black
d900fdb7fa
ncreader: create off-screen plane for horizontal scrolling #839
4 years ago
nick black
fbaa451ff9
ncreader: allow NCREADER_OPTION_HORSCROLL #839
4 years ago
nick black
aff9ae62ef
cursor: always flush for immediate action
4 years ago
nick black
cab19cf790
Cursor work (placement, drop RETAIN_CURSOR) #953
...
notcurses_enable_cursor() now accepts placement arguments.
both it and notcurses_disable_cursor() now return int rather
than void. add notcurses_cursor_move_yx().
4 years ago
nick black
f877b4f0ea
demo/input: include errno.h
4 years ago
nick black
4dd1d6a4c8
Annihilate nc_err_e and all infrastructure #948
4 years ago
nick black
af80914efe
add libunistring unit tests #906
4 years ago
nick black
8b75769476
flesh out notcurses_stop.3 #949
4 years ago
nick black
4fb5c3da3a
HUD: rounded box rather than double
4 years ago
nick black
57f3e36e96
view: move legend to top of display
4 years ago
nick black
2c4eead0c2
yield: print the running yield
4 years ago
nick black
60ee1caa14
yield: cut iterdelay 4x
4 years ago
nick black
76d330c9fa
yield: cap at 512 iterations
4 years ago
nick black
c2b8610121
ncdirect_stop: drop extraneous ctermfd check
4 years ago
nick black
026b94969d
cffi heap allocations are zero-initialized #942
4 years ago
Nick Black
73dc0a7d69
Zoo 2, electric boogaloo ( #939 )
...
* Reimplement the widget zoo demo. The previous PoC
was a multithreaded monster with behavior dependent
on screen geometry. Replace it with a single thread state
machine. Closes #936 .
* Support titles for ncplot. Adds title to the ncplot_options
struct, which may be NULL. Closes #941 .
* Properly color ncplot according to maxchannels and
minchannels. Closes #940
* Add tools/function-table.sh script for generating public API list.
4 years ago
nick black
0913020124
fully general mergedown #779
4 years ago
nick black
15b923c8cf
adapt ncplane_mergedown() #779
4 years ago
nick black
c64f42b717
add sgr-full PoC
4 years ago
nick black
14d6129007
take-no-prisoners overhaul of ncplane_puttext() #829
4 years ago
nick black
df3dc7f8e7
LayoutNewlinesAtBorders unit test #829
4 years ago
nick black
3b00b0c847
render: fix tricky bug for widestomping
4 years ago
nick black
7560b1b2da
fps plot: use italics for legend
4 years ago
nick black
5c533c9f1a
ncplot: support legend styling
4 years ago
nick black
4a48baf50b
allglyphs: stylize legend
4 years ago
nick black
375037c750
HUD: keep active line in bold
4 years ago
nick black
9c6077a44c
move cell_simple_p() for debug builds
4 years ago
nick black
13eb63ada9
term_setstyles: fix up for new NCSTYLE_MASK #934
4 years ago
nick black
6bb8f447b5
add ncdirect_flush() #926
4 years ago
nick black
d110facec1
render: move cell into crender #914
4 years ago
Nick Black
359ad1d36d
Generalized mergedown #779 ( #932 )
...
* Rename ncplane_mergedown -> ncplane_mergedown_simple()
* New ncplane_mergedown(), fully general projection of src to dst
4 years ago
nick black
bdea9bc9c8
gradient PoC: sleep between flip #921
4 years ago
nick black
8ebadbc76f
break out pool_load_direct(), pool_load()
4 years ago
nick black
ab0833fc6e
paint: drop cell_locked_p() #914
4 years ago
nick black
4498bf0ae1
paint: eliminate finalization, 3% bonus to FPS #914
4 years ago
nick black
83b0f8c238
whiteout: better brackets in mathtext
4 years ago
nick black
c9c18ef740
render: drop cell_locked_p() #914
4 years ago
nick black
bc0016b827
BigMult unit test, fix ncmetric bogon #929
4 years ago
nick black
f8854f84e8
demo summary: scale TheoFPS div by 1000 #928
4 years ago
nick black
11a9ce0f5e
summary: kill stray comment
4 years ago
nick black
8578cffebe
demo: metricize TheoFPS in summary
4 years ago
nick black
f858e7fe32
paint()/crender: const ncplane p
4 years ago
Nick Black
e1cf346ddb
internalize highgradient_sized implementation #920 ( #922 )
...
internalize highgradient_sized implementation #920
4 years ago
nick black
4745c3596d
gradients PoC: add lower block for completeness #921
4 years ago
nick black
086571ff4b
gradients: purge improper cut-and-pasted comment
4 years ago
nick black
1e334fa63e
new 'gradients' PoC #920
4 years ago
nick black
0f79ac5702
zoo: fade out the widgets #835
4 years ago
nick black
73abc61f16
cellcmp_and_dupfar(): unify paths
4 years ago
nick black
05da44b06b
hide blending functions #917
4 years ago
nick black
90e98ada07
wcwidth PoC: accept command line args
4 years ago
nick black
268e3b8742
term_esc_rgb: restructure for compiler warnings #913
4 years ago
nick black
0917867d62
demo summary: purge extraneous space in title column
4 years ago
nick black
d3cac57d03
fallin': copy styles/colors from old display #909
4 years ago
nick black
d523b41200
utf8_egc_len: work around treacherous wcwidth #903
4 years ago
nick black
86454f1b0a
mojibake: move more 2-to-1s to the end #903
4 years ago
nick black
60fceb877f
mojibake: clean up excess chars #903
4 years ago
nick black
a64433afe2
init_lang(): take struct notcurses, not verbose flag #888
4 years ago
nick black
bcff36ac77
hoist out init_lang(), call from ncdirect #888
4 years ago
nick black
6d62470032
zoo demo: feed ncplane_puttext() atomic words #897
4 years ago
nick black
26ea0b3785
dirgb PoC: throw in some italics
4 years ago
nick black
a2c95814b7
Remove cell_simple_p()
...
Get notcurses-tetris working again, since its collision
detection relied on simple vs non-simple EGCs, which are
no longer an operative concept. Closes #899 .
4 years ago
nick black
18d79c195d
python: get us linking once more...
4 years ago
nick black
202b88615f
kill ncplane_styles(), duplicates ncplane_attrs()
4 years ago
nick black
d57e1880e0
demo: free up menu on exit
4 years ago
nick black
4bc808404a
ncmenu_destroy(): free short descriptions
4 years ago
nick black
dee27be3c2
highcon: silence scan-build warning
4 years ago
nick black
78803f8c1d
ncmultiselector: support pgup/pgdown #862
4 years ago
nick black
02fb9b078f
ncselector: implement pgup/pgdown #862
4 years ago
nick black
0b70bbd66f
tty_emit(): loop on EAGAIN #894
4 years ago
nick black
7100e2b83c
Merge branch 'master' of github.com:dankamongmen/notcurses into master
4 years ago
nick black
b63cad270f
uniblock: only emit U+200E when necessary
4 years ago
nick black
f9eed1c412
palette_size is unsigned #891
4 years ago
nick black
4fdb11089f
idiot
4 years ago
nick black
16ff667325
blissful endianness-opacity
...
not caring about endianness is the opiate of the masses.
happy, happy masses. remove endianness.h and all its baleful
influence by explicitly breaking up the cell structure. #892
4 years ago
nick black
248c49402e
drone: use new builders
4 years ago
nick black
37d1464d6f
allglpyhs: don't do pointless header updates
4 years ago
nick black
24e457ace2
yield: only do land, much better
4 years ago
nick black
0464845cff
whiteout: disable bidi text until we have solution to #881
4 years ago
nick black
73bd0785a5
demo: make the HUD more readable
4 years ago
nick black
7811663223
inlined EGCs + styling unit tests #830
4 years ago
nick black
807af53fbb
sgr/sgr-direct: knock out compiler warnings
4 years ago
nick black
489ad88954
trans: add some style to legend
4 years ago
nick black
ab04b607b8
demo: don't print 4th version component unless non-0
4 years ago
nick black
935ae0378b
demo changes
...
* Tighten up the HUD, now only as large as it needs be
* Show another digit on timer (milliseconds)
* Move allgraph towards the back
4 years ago
nick black
2ceb2f5097
egcpool_extended_gcluster: assert() for great justice
4 years ago
nick black
ce84101939
egcpool_extended_gcluster: a warning
4 years ago
nick black
85c2c36a97
cell_load_direct(): relax strncmp to strcmp
4 years ago
nick black
c9b65dce2e
i see, i see the evil hand of the big-endian mafia
4 years ago
nick black
98cb2de850
pool_egc_copy: beat the stupid out with a broom
4 years ago
nick black
a3fbd9ae84
term_esc_rgb: add some assert()s
4 years ago
nick black
d3d9d41fd9
ncplane_polyfill: eliminate allocations
4 years ago
nick black
40e85c4143
rotate: use cell_extended_gcluster() #830
4 years ago
nick black
226c00c74d
egcelide: detect endianness, define NCSTYLE_* accordingly
4 years ago
nick black
1a3991a069
nitroboost that fucker
4 years ago
nick black
81052e344c
cell_load_direct: shortcut for bytes <= 1
4 years ago
nick black
3bc15c2824
inlined egcs: straightline cell_duplicate()
4 years ago
nick black
112b4938b8
term_putc(): correctly shim inlined ctrls #830
4 years ago
nick black
2656cad07a
cell_duplicate_far() fix length issue
4 years ago
nick black
7ac3f68f4e
cell_load: fix CELL_WIDEASIAN_MASK bug
4 years ago
nick black
3681939e38
term_putc: use bounded fprintf
4 years ago
nick black
b0f7f36995
egc inlining #830
4 years ago