nick black
cbb27d2948
NEWS: mention OIIO fixes #1722
3 years ago
nick black
3596b2b2a2
NEWS: describe pure changes
3 years ago
nick black
63e9282893
v2.4.7
3 years ago
nick black
dce4426dcf
NEWS: add note about rejecting control chars
3 years ago
nick black
490c89f694
add ncplane_scrolling_p() #1841
3 years ago
nick black
68e498a583
ncls: disable cursor
3 years ago
nick black
9973788efb
restore NCSTYLE_BLINK for now, add 25m to turn it off #1818
3 years ago
nick black
166212f234
document NCOPTION_PRESERVE_CURSOR #1823
3 years ago
nick black
9d7f07771b
GTFO NCSTYLE_DIM, NCSTYLE_REVERSE #1818
3 years ago
nick black
481d539092
v2.3.6
3 years ago
nick black
383678da4e
move remainder of debug_caps into notcurses-info #1793
3 years ago
nick black
8fc2a32990
remove NCSTYLE_{INVIS,BLINK,STANDOUT} #1818
3 years ago
nick black
a14a5271ac
v2.3.5
3 years ago
nick black
041f97371f
add stat for ASUs and send them #1582
3 years ago
nick black
379453c8ea
render piles to file/buffer
...
Replace notcurses_render_to_file() and
notcurses_render_to_buffer() with variants that work
on arbitrary piles (the former only worked on the standard
pile). Rewrite the former as trivial wrappers around the
latter, and deprecate the former. Closes #1770 .
3 years ago
nick black
e5662ac506
add and document sprixelbytes stat #1801
3 years ago
nick black
d360cc1d1e
ncvisual_from_rgb_{packed, loose}() #1767
3 years ago
nick black
c8dfa17485
Set up sane logging for direct mode
...
All our diagnostic macros required a struct notcurses from
which to extract the loglevel. Eliminate this parameter,
and update all caller sites. Add a library-wide (but not
exported) loglevel variable, and set it from both
notcurses_core_init() and ncdirect_core_init(). Add two
new direct mode flags, NCDIRECT_OPTION_VERBOSE and
NCDIRECT_OPTION_VERY_VERBOSE, mapping them to
NCLOGLEVEL_WARNING and NCLOGLEVEL_INFO respectively.
Closes #1690 .
3 years ago
nick black
534000cadb
clamp sixel height in update_term_dimensions() so ncdirect gets it #1789
3 years ago
nick black
c9a338e0fd
add ncdirect_canget_cursor() #1790
3 years ago
nick black
3cf971ac67
update ncvisual_plane.3 for ncplane_as_rgba() #1441
3 years ago
nick black
80b7391d96
remove NEWS claim that notcurses_check_pixel_support() is going away #1766
3 years ago
nick black
d50792a899
more detail in NEWS for terminal queries #1751
3 years ago
nick black
0d7a5a5ef8
remove the majority of notcurses_check_pixel_support() calls #1469
3 years ago
nick black
cadd4aefee
s/CELL_ALPHA_/NCCELL_ALPHA_/g
3 years ago
nick black
a290e3f741
NEWS: fix typos info: dump more unicode
3 years ago
nick black
160868d9e8
v2.3.4
3 years ago
nick black
0b72bec79d
add ncdirect_ascii_box(), use it in DefaultBox unit test
3 years ago
nick black
4ca1036da9
v2.3.3
3 years ago
nick black
d695a8206f
add ncdirect_detected_terminal() and notcurses_detected_terminal() #1759
3 years ago
nick black
21f3dbf72c
NEWS: note ncdirect_box() bugfix #1752
3 years ago
nick black
608943bb95
reference nc->margin when we want margins, not stdplane #1615
3 years ago
nick black
65071fff2d
add note about ncplane_move_yx fix for root planes #1753
3 years ago
nick black
9f4a578e72
factor out common unicode box sequences
3 years ago
nick black
cb178ac247
add simple_box() and heavy_box() forms
3 years ago
nick black
deea4ddf9c
ncdirectf_geom: move to ncvisual_options #1746
3 years ago
nick black
c967028fbe
ncplayer: add -n option for noninterpolative scaling #1738
3 years ago
nick black
59f4edd777
ncdirectf_render: accept an ncvisual_options #1738
3 years ago
nick black
6fcaad3c5d
generalize ncvisual_inflate() to ncvisual_resize_noninterpolative() #1738
3 years ago
nick black
863c1778aa
kitty: cut alphas in half with NCVISUAL_OPTION_BLEND #1735
3 years ago
nick black
df29cbaf1e
[kitty] pass C=1 to inhibit cursor moves/scrolling from graphics #1733
3 years ago
nick black
0184ccc0b3
add visual_resize_internal to visual_interface API #1718
3 years ago
nick black
8d4d67c5e7
technically, ncplane_at_yx() change didn't affect ncplane_as_rgba()
3 years ago
nick black
e6f226452d
fix erroneous comment in NEWS
3 years ago
nick black
507d2c8d8e
v2.3.2
3 years ago
nick black
46ddd37083
NEWS.md: memory leak fixes applied to all but OIIO backend
3 years ago
nick black
c9e450bc27
add note to NEWS for 2.3.2 about 'none' memory leak
3 years ago
nick black
3ac445a328
enforce singleton across both direct and rendered mode #1694
3 years ago
Nick Black
cd2b5de5fa
Panblitter ncplane_as_rgba() ( #1697 )
...
ncplane_as_rgba: genericize across blitters
ncplane_as_rgba() previously was implemented explicitly
in terms of NCBLIT_2x1. it now uses the `egcs` field of the
`blitset`. this supports NCBLIT_2x2 and NCBLIT_3x2 in
ncplane_rgba(). Closes #1490 .
3 years ago
nick black
d20a4d8104
ncdirect: restore colors properly following sgr #1703
3 years ago
nick black
c4e2932c76
add ncdirect_supported_styles(), move SGR/SGR0/OC into escblock #1525
3 years ago
nick black
f2b26723c9
document notcurses_cursor_yx() #1681
3 years ago
nick black
d3a1a16ec1
mention ncvisual_from_rgba() fix in NEWS.md
3 years ago
nick black
6969652031
add ncinput_nomod_p()
3 years ago
nick black
739c96032d
v2.3.1
3 years ago
nick black
42f26fcb1e
ncls: update to prep_image() maxy/maxx #1661
3 years ago
nick black
d1e7adf410
add ncdirectf api #1659
3 years ago
nick black
014a88a09c
always enable 8bpc RGB for kitty, alacritty, and foot #1641
3 years ago
nick black
1a7c5172f4
add note about sprixel/fb relationship to NEWS.md
3 years ago
nick black
8bd73378cf
add NCSCALE_INFLATE
3 years ago
nick black
ea4c593455
v2.3.0
3 years ago
nick black
dc9db79100
v2.2.11
3 years ago
nick black
f080e1502b
add ncplane_erase_region()
3 years ago
nick black
00962bb99f
add note about Requires.private to NEWS.md #1635
3 years ago
nick black
84c7aca04e
add ncblit_rgb_packed(), ncblit_rgb_loose() #1634
3 years ago
nick black
2d6bdd3b5b
v2.2.10
3 years ago
nick black
4f5a8480c0
document new option NCVISUAL_OPTION_CHILDPLANE #1603
3 years ago
nick black
923bc40516
v2.2.9
3 years ago
nick black
8e0173cce3
cell unit tests: use nccell_width()
3 years ago
nick black
3eb004b61d
s/channels/ncchannels/g #1570
3 years ago
nick black
d8cc3569ac
Block some signals while writing
...
Writing a partial escape can easily lock up a terminal. This
is especially relevant when working with bitmaps, as they're
thousands or even millions of times longer than a typical
escape. Immediately before writing, block SIGINT, SIGQUIT, and
SIGTERM in the writing thread, and unblock them upon emerging
(at which point we'll immediately see any queued signal
get delivered). Don't block signals like SIGSEGV that would
seem indicative of actual problems. For this to actually work,
all other threads must also have the signals masked; we thus
now add them to the signal mask of notcurses_getc(), rather
than deleting them. Closes #1416 .
3 years ago
nick black
e43a9955cd
channel_* functions -> ncchannel_* #1570
3 years ago
Nick Black
c8680255be
palette256 -> ncpalette #1570 ( #1573 )
...
everything prefixed with palette256 is now prefixed with ncpalette
4 years ago
nick black
f4aa419a31
add notcurses_canhalfblock()/notcurses_canquadrant() #1575
4 years ago
nick black
6c7b40debf
add stats for sprixel emissions/elisions #1563
4 years ago
nick black
d5b58d9f58
v2.2.8
4 years ago
nick black
eefc4fb91f
v2.2.7
4 years ago
nick black
6b7195a387
document new function ncvisual_inflate() #1546
4 years ago
nick black
32500239ac
cell_extract() -> nccell_extract()
4 years ago
Nick Black
e591ec2e98
cell -> nccell throughout much of remaining API ( #1535 )
...
cell -> nccell throughout much of the API #1532
4 years ago
nick black
e017dcba89
v2.2.6
4 years ago
nick black
0c566cd74a
[ncvisual] pipe transcolor through #1518
4 years ago
nick black
d504e972cc
cell_release -> nccell_release
4 years ago
nick black
cf3a6317aa
export ncdirect_stream()
4 years ago
Nick Black
04b1ba8ed2
Dankamongmen/unify geom ( #1514 )
...
deprecate ncvisual_geom() in favor of new ncvisual_blitter_geom(), which allows caller to get the blitter used. replace the checks and calculations in ncvisual_render() with a call to ncvisual_blitter_geom(), unifying the two paths (and eliminating several bugs in the unloved ncvisual_geom()).
4 years ago
nick black
f294c6bb0b
add ncplane_pixelgeom() #1507
4 years ago
nick black
05082fc277
ncplane_as_rgba(), returns pixel geometry along with bitmap #1508
4 years ago
nick black
8c78b089e1
v2.2.5
4 years ago
nick black
57114c8005
[bitmaps] remove redundant PixelWipeBlocks test
4 years ago
nick black
78c8e70933
[planes] add NCPLANE_OPTION_MARGINALIZED #1472
4 years ago
nick black
86de98c5d2
Fix cell blit / plane vertical alignment
...
Deprecate ncplane_align(), after rewriting it as a passthrough
to new function ncplane_halign(). Add ncplane_valign(). Update
all callers. Closes #1468 .
4 years ago
nick black
6105913d06
[planes] add NCPLANE_OPTION_VERALIGNED #1465
4 years ago
nick black
828cce634a
[capabilites] remove redundant notcurses_canpixel()
4 years ago
nick black
852b0ad0ec
[NEWS] mention nctabbed for 2.2.4
4 years ago
nick black
f8b68947f3
[NEWS] mention NCVISUAL_OPTION_HORALIGNED #1443
4 years ago
nick black
33d408b4a3
[sixel] call sprite_sixel_init at proper time #1436
4 years ago
nick black
a6548fbcc8
[ncvisual] refuse to blit bitmaps to standard plane
4 years ago
nick black
f35e2eb982
notcurses_visual.3: link to sixel/kitty
4 years ago
nick black
bc84987af5
v2.2.3
4 years ago
nick black
4a203ef0a9
direct mode: optimize out redundant SETAF, nice
4 years ago