Commit Graph

190 Commits (4513d369786728c3f78507c0ddb7f61002605f32)

Author SHA1 Message Date
nick black 7a91a2f905 normalize cell initializer names (prefix with NC) 3 years ago
nick black 0124daf8b7
restore ncselector_destroy API, set widget in ncreader #2347 3 years ago
nick black bead8cbffc [widgettrack] hook up nctabbed, nctree, ncreel, nc[ud]plot #2342 3 years ago
nick black 5ff59ce421
[putstr] take size_t* for sbytes, not int* #2331 3 years ago
nick black 9065975a3c
move synthesized events beyond unicode 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 c20e859a6d [python] API conversions 3 years ago
nick black d29813457b stylemasks ought always be uint16_t 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 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 3792dd5592 [mergeplane] 0 means remainder #1696 3 years ago
nick black 042d810722 [ncpp] update to match new unsigned signatures #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 a0b34f7062 [core] introduce ncvisual_geom(), replacing ncvisual_blitter_geom() #1684 3 years ago
nick black be42ff909c ncvisual_render -> ncvisual_blit (core/test) #1462 3 years ago
nick black 41cf28b775
[NCPP] restore Visual::subtitle() 3 years ago
nick black 2148bcc4f2
Revert "[nckeys] move from PUA-B to 'plane 18' #2247"
This reverts commit e83f1f5ba3.
3 years ago
nick black e83f1f5ba3
[nckeys] move from PUA-B to 'plane 18' #2247 3 years ago
nick black 5f82a49065
[tetris] drop Release events 3 years ago
nick black 66d6913b69
[ncpp] express EvType enums 3 years ago
initramfs 671656ea80 fix ncpp throwing heap allocated exceptions 3 years ago
nick black ea5da346f0
Add keytype indicator to notcurses-input #2182 3 years ago
nick black 6162ba3943 restore compatibility ncvisual_subtitle() 3 years ago
nick black 1448960cd5 start handling type-1 DVB subtitles #1311 3 years ago
nick black 0d289958f9
death to sigset_t #1967 3 years ago
nick black 31b208502a
[ncpp] Direct constructor: accept flags #1981 3 years ago
nick black 15b9b64cad
char32_t is C++, not C -- move to uint32_t 3 years ago
nick black 75cee68631
Cell.hh: stop exposing implementation details 3 years ago
nick black 6ba67a6f21
accept NULs in is_control_egc(), fixing notcurses-input 3 years ago
nick black 9d7f07771b
GTFO NCSTYLE_DIM, NCSTYLE_REVERSE #1818 3 years ago
nick black 9395245b31
ncpp::mergedown: don't allow NULL dest anymore 3 years ago
nick black 5998b965c4
we've not supported NCSTYLE_PROTECT since forever 3 years ago
nick black 8fc2a32990
remove NCSTYLE_{INVIS,BLINK,STANDOUT} #1818 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 c8680255be
palette256 -> ncpalette #1570 (#1573)
everything prefixed with palette256 is now prefixed with ncpalette
3 years ago
nick black 266ed71c0b
ncdirect_stream: fix c++ wrapper's error guard 3 years ago
nick black b070b69eb2
get last remaining cell_ functions -> nccell_ #1532 3 years ago
nick black 7ad5219fa2
convert another crop of cell_ to nccell_ #1532 3 years ago
nick black d2394f9c63
c++ wrapper for direct-mode streaming #1515 3 years ago
nick black 32500239ac
cell_extract() -> nccell_extract() 3 years ago
nick black 96ac640733
cell->nccell 3 years ago
nick black 657ed15632
cell_on_styles -> nccell_on_styles() #1532 3 years ago
Nick Black e591ec2e98
cell -> nccell throughout much of remaining API (#1535)
cell -> nccell throughout much of the API #1532
3 years ago
nick black ff76dba6ed
cell_strdup -> nccell_strdup 3 years ago
nick black d504e972cc
cell_release -> nccell_release 3 years ago
nick black 53894caccb add ncdirect_stream #1346 3 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()).
3 years ago
nick black 05082fc277
ncplane_as_rgba(), returns pixel geometry along with bitmap #1508 3 years ago