Commit Graph

274 Commits (master)

Author SHA1 Message Date
nick black 0c007078f0
kill some signed-vs-unsigneds 3 years ago
nick black e0c5cf5838
NCOPTION_SCROLLING, alias NCOPTION_CLI_MODE 3 years ago
nick black b429da0457 [ncls] implement -L option / symlink handling #2006 3 years ago
nick black 73f3e64bc9 [windows] kill compiler warning 3 years ago
nick black f8d5eac938 [demo] rewrite usage screen without direct mode #2486 3 years ago
nick black 07a424fdb2
[demo] run dragon following highcontrast 3 years ago
nick black 897d981b93 [demo] clean up datadir to keep asan/valgrind meaningful 3 years ago
nick black 0f69cdbd49 [demo] make directory diagnostic meaningful again 3 years ago
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 80c3463dbb
[demo] drop unused sums 3 years ago
nick black d98eb2a454
grunt #2416 3 years ago
nick black 4a4bec5078
[demo] bring sham jungle definition up to date #2416 3 years ago
nick black b57d6eb8d8 notcurses_data_path: allow overrides 3 years ago
nick black 238de45e96 [nctetris] find the background everywhere #2042 3 years ago
nick black caaeec5094
Place ncneofetch properly (#2415)
* ncplane_polyfill_inner: plug memory leak on error paths
* [progbar_create] memory leak on error path
* ncvisual_polyfill_core: memory leaks on error paths
* notcurses_early_init: memory leak on error path
* [demo] fix summary table for ASCII #2402
* [sliders] make it work in ASCII #2402
* add ncplane_ascii_box() #2402
* [notcurses-info] use capabilities accessors for blitters
3 years ago
nick black abb99d4a67
[notcurses-demo] don't hardcode NOTCURSES_SHARE, use notcurses_data_dir() 3 years ago
nick black efc57333a7 [demo] pass start time to demos for more precise deadlines 3 years ago
nick black d5464deb9a [demo] use a single start time between HUD and recordkeeping 3 years ago
nick black 2ac51d2404 [demo] workaround for summary tables =\ #2389 3 years ago
nick black 455ec4eb66
combine path_seperator() functions 3 years ago
nick black ac9ae26e46
kill obsolete FIXME 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 12e01fdf5c [metric] prefix all defs with NC 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 c40cdc1528 [demo] find_data: work for windows path separator 3 years ago
nick black 36d7b1ce4b
notcurses-demo: kill invalid cast in summary table 3 years ago
nick black adbc26dd9b
demo: summary_table() failure is not immediate fail #2099 3 years ago
nick black 6d72fedca9
demo: kill warning on Windows #2062 3 years ago
nick black 4f88f6f58c
demo: convert %ju+cast with PRIu64 #2062 3 years ago
nick black 8922a7f3f5
demo: replace some %jd+casts with PRId64 #2062 3 years ago
nick black 515a2f8c69 boom, convert end of notcurses-demo to CLI mode #1834 3 years ago
nick black ed557257d9 add notcurses_{enter,leave}_alternate_screen #2082 3 years ago
nick black 969524aaad kill remaining %zu specs; they offend windows #2007 3 years ago
nick black b978f58985 stop supporting/advertising renderfp #2081 3 years ago
nick black 6f0830c29a
force zero-width-joins #2016 3 years ago
nick black 42049dc95e
reorder demos so whiteout doesn't disrupt uniblock 3 years ago
nick black fadc500568
better guard on demo's summary table for divide by zero 3 years ago
nick black 622ae010da fix format specifiers in demo.c #195 3 years ago
nick black bc4f2a3626
CHANNELS_RGB_ -> NCCHANNELS_ 3 years ago
nick black e767fd0b5f
notcurses-demo: turn mouse support back on 3 years ago
nick black 4a23acab2d
fission demo: go both up and down #1896 3 years ago
nick black 6e19e0536e
demo: remove obsolete postinit_checks() 3 years ago
nick black 38bb8bd3b7
'at least a', not 'at least an' 3 years ago
nick black 250c5c9262 ffmpeg_resize: rewrite using ffmpeg_resize_internal() #1718 3 years ago
nick black 73fc4ea935
demo: change up the order a bit, moving zoo before outro 3 years ago
nick black 584f394071
[ncplayer] block SIGWINCH from the beginning #1624 3 years ago
nick black 297617a12e better color on demo postchecks 3 years ago