Commit Graph

513 Commits (86e09bec4991436f8ce3ed8066cf64b0ab144d05)

Author SHA1 Message Date
KristofferC a3c37932d6 check __MINGW32__ instead of __MINGW64__ 3 years ago
KristofferC d49a0375b7 use an explicit zero in initializers
empty initializers is a GNU extension
3 years ago
nick black c067527c28
kill compilation warnings on alpine 3 years ago
nick black 454c830237 [nctree] implement nctree_del() #2458 3 years ago
nick black aa27d41442
[cli1 poc] don't set unused fd on windows 3 years ago
nick black e23cf59f57
[ncman] handle tagged paragraphs 3 years ago
nick black 80dd726239
[cli PoC] fix compile on windows 3 years ago
nick black 2d6428cb15
[cli PoC] add a poll on the eventready fd #2216 3 years ago
nick black a7d54f90db zalgo: put prompt following output 3 years ago
nick black 717aaf9d5d [cli PoC] set scrolling on stdn #2196 3 years ago
nick black 83fd6f83c7 [render] place space instead of newline in term_putc() #2196 3 years ago
nick black 50fbb0a778 [cli2 PoC] strip trailing whitespace 3 years ago
nick black 8810ec9bb7 [cli PoC] emit a newline following input 3 years ago
nick black efa5ca3ec2 cli2 PoC #2196 3 years ago
nick black 4375f421b8 [notcurses_init] factor out notcurses_early_init() 3 years ago
nick black 389cfeb72d
[interp] clean up on failure #2369 3 years ago
nick black b2ce3f00f8
remove progbar PoC, move it into unit tests 3 years ago
nick black 0266f496a0
[cursor] i have no idea what this PoC did; nuke it 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 baae0c3d06 track widgets from planes #2342, hook up ncmenu 3 years ago
nick black 427cbf2a90 [procroller] dump NO_ALTERNATE_SCREEN #2338 3 years ago
nick black c87ea7b162
[procroller] preserve cursor #2338 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 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 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 642a9a2aa4 [grid] same color everywhere 3 years ago
nick black a0b34f7062 [core] introduce ncvisual_geom(), replacing ncvisual_blitter_geom() #1684 3 years ago
nick black 548b4e2729
[CMake] add -Wvla #2301 3 years ago
nick black 45b061ad59
[linuxconjammer] kill VLA #2301 3 years ago
nick black b5e4b58902
[linux] eliminate VLAs 3 years ago
nick black fa3c872ae6
[grid PoC] free rgba after loading visual #1348 3 years ago
nick black 5010911a08
[tabbed PoC] kill dead stores #1348 3 years ago
nick black 53b024ebac
interp PoC: accept any key to exit 3 years ago
nick black 9d002feea3 remove last instances of ncvisual_render() #1462 3 years ago
nick black d5626e64aa xray/grid: ncvisual_blit() #1462 3 years ago
nick black 367c17a7df rotate PoCpp: ncvisual_blit() #1462 3 years ago
nick black 02303ee98e notcurses-info: ncvisual_blit, inline all emoji #1462 3 years ago
nick black 36646f1b9b pixel PoC / ncneofetch -> ncvisual_blit() #1462 3 years ago
nick black 0afd815925 all PoCs: ncvisual_render -> ncvisual_blit #1462 3 years ago
nick black d6a91fb99f
menu PoC: ignore NCTYPE_RELEASE 3 years ago
joseLuís 383edaece1 remove poc for issue #2266 3 years ago
nick black fb2078daa6
drop textplay PoC 3 years ago
nick black 99169aea42
tabbed janitorial work
clean up memory leak of tab names
ignore NCTYPE_RELEASE in tabbed PoC
constify strings in nctabbed_options
3 years ago