Commit Graph

2003 Commits (930d14380ccfe5b6bdafa23c44cadf2cdf35828c)

Author SHA1 Message Date
Marek Habersack 943e23535f [C++] API sync
Fixes: https://github.com/dankamongmen/notcurses/issues/1025

Added:
  * Direct: flush (`ncdirect_flush`)
  * Direct: getc (`ncdirect_getc_blocking` and `ncdirect_getc_nblock`)
  * Direct: getc (`ncdirect_getc`)
  * Direct: get_inputready_fd (`ncdirect_inputready_fd`)
  * NotCurses: align (`notcurses_align`)
  * NotCurses: ucs32_to_utf8 (`notcurses_ucs32_to_utf8`)
  * NotCurses: get_bottom (`notcurses_bottom`)
  * Plane: resize_realign (`ncplane_resize_realign`)
  * Plane: get_x (`ncplane_x`)
  * Plane: get_y (`ncplane_y`)
  * Plane: mergedown (`ncplane_mergedown`)
  * Plane: putwc_stained (`ncplane_putwc_stained`)
  * Plane: putstr_stained (`ncplane_putstr_stained`)
  * Plane: set_fchannel (`ncplane_set_fchannel`)
  * Plane: set_bchannel (`ncplane_set_bchannel`)
  * Plane: get_styles (`ncplane_styles`)
  * Plane: get_above (`ncplane_above`)
  * Reader: move_left (`ncreader_move_left`)
  * Reader: move_right (`ncreader_move_right`)
  * Reader: move_up (`ncreader_move_up`)
  * Reader: move_down (`ncreader_move_down`)
  * Reader: write_egc (`ncreader_write_egc`)
  * Visual: get_default_blitter (`ncvisual_default_blitter`)

Fixed:
  * NotCurses: `cursor_{enable,disable}` must use `NOEXCEPT_MAYBE`
  * Plane: renamed `putcw` to `putwc`
4 years ago
nick black 7089f31456 NCBLIT_BRAILLE: invert horizontal layout, fixes plots #1026 4 years ago
nick black 11a2861e8d
FPS graph ought be recentered on resized #1023 4 years ago
nick black 2f26f06386
alignment: add NCALIGN_UNALIGNED, preserve align type #364 4 years ago
nick black a685cc18f3 recursively cascade resizes using resizecb #869 4 years ago
nick black bc639b528e adapt ncplane_new_internal() callers 4 years ago
nick black 7f2aeedba3 ncplane_new_internal() using ncplane_options 4 years ago
nick black 7b51bab79a add resizecb to ncplane_options struct #869 4 years ago
nick black 36aed3c521 add ncplane_create() + ncplane_options #1020 4 years ago
nick black 607c03edc4
rename _rgb_clipped functions rgb8_clipped 4 years ago
nick black 2d2e4df2e2 reader: properly place the text plane offscreen #985 4 years ago
nick black a4367fcfb5 rip out ncplane_ creation functions #985 4 years ago
nick black e42dbdfd60 _stainable() -> _stained() #985 4 years ago
nick black c5c608b22e add ncplane_putwc_stainable, ncplane_putwstr_stainable #985 4 years ago
nick black b7a57eaab7 convert all channel rgb calls #985 4 years ago
nick black 0e34bec3fb start converting rgb->rgb8 #985 4 years ago
nick black a6bfd3f88e
quadblitter: write nul, not space for transparent #1017 4 years ago
nick black 77a0dbbe94
paint(): return void rather than int 4 years ago
nick black fca0d16401 demo: colorize more of usage message 4 years ago
nick black 94aa0aaa76 yield: don't print overyield 4 years ago
nick black dd53764df2
allglyphs: home cursor prior to closing gradient 4 years ago
nick black 28dcc8bbbe
mojibake: disable person plane 4 years ago
nick black aba179f769
allglyph: reset gradient at end to clear counter 4 years ago
nick black 4bb1f3fc85 mbswidth -> ncstrwidth() #985 4 years ago
nick black dab7247cdd
mbswidth: use utf8_egc_len() for segmentation #1014 4 years ago
nick black 0fe6d39f18
mojibake: disable erratic 'person'/'subdivision-flags' for now #1011 4 years ago
nick black 94aa8f08f1
grid looks better before mojibake #1012 4 years ago
nick black 592d7e76ae
ncplanes: name menu planes, name demo hud/plot planes 4 years ago
nick black 089bb6e44f
notcurses-view: always check for ready input #997 4 years ago
nick black 25a192c7ba
ncpp_build: disable Plot stuff for now #1009 4 years ago
nick black b7dc102eb8
reel: don't breech bottom border #1010 4 years ago
nick black 14cd8311e3
ncplot: destroy ncplane on all paths #627 4 years ago
nick black dca9db9687
ncreel: conform to the New Way #627 4 years ago
nick black c3e5e47a2a
ncreader: conform to the New Way #627 4 years ago
nick black 8f089bc017 ncneofetch: don't leak stderr from popen 4 years ago
nick black 3b254c6787 selector: trans out bg cells #627 4 years ago
nick black 48ca4286d7 multiselector: trans out appropriately #627 4 years ago
nick black 4f04f1bc31 remove bgchannels field from selector_options #627 4 years ago
nick black 306948507f ncmultiselect: normalize per new widget API #627 #1006 4 years ago
nick black 8839d44454 selector: transfer ownership of ncplane #1006 #627 4 years ago
nick black 8bf71f4bce
all widget creators interpret NULL options as zeroes #627 4 years ago
nick black 3f726edd4c
all widgets check flags and warn on undefined #627 4 years ago
nick black ec077a0bf2
ncplot: C++ headers need match declaration order #627 4 years ago
nick black 301354a9ba utf8_egc_len: rewrite using uc_is_grapheme_break() #882 4 years ago
nick black c54d24f7ca
jungle: GMPMS/R2㎨rain falls from top to bottom #1004 4 years ago
nick black 89ebcbc92f
reels: eliminate 'flapping gap' #969 4 years ago
nick black d2cfce04c7
ncreel: don't always call redraw 4 years ago
nick black 8bbd134504
ncreader: Alt-B, Alt-F for cursor movement #983 4 years ago
nick black f8bc3c2ea8
ncreader: support Ctrl-B, Ctrl-F for cursor movement #983 4 years ago
nick black d54b322365
reader: handle rightmost column in absence of scrolling #994 4 years ago
nick black 806e604e58
mojibake: adaptive timing #1002 4 years ago
nick black daf994dbfc ncreader: place cursor #962 4 years ago
nick black 13572136f1 ncreader: handle NCREADER_OPTION_CURSOR in create/destroy #962 4 years ago
nick black 784b0a4e2a reader poc: use ncreader's native cursor control #962 4 years ago
nick black f836938ad2 detect_cursor_inversion: handle upper right corner case #784 4 years ago
nick black 7026470e1a ncdirect_cursor_yx: detect cursor inversion #784 4 years ago
nick black 96b4dc7548 interrogate_terminfo: load sc/rc properties #998 4 years ago
nick black e4326c8fe6 direct PoC: always call ncdirect_stop() 4 years ago
nick black 3e32b69c6e ncdirect: check for inverted cursor reporting #784 4 years ago
nick black 2a7d25c0a2 notcurses-input: handle resize properly #993 4 years ago
nick black f88c8ae79c
expose ncvisual_default_blitter(), name blitter in notcurses-view #995 4 years ago
nick black 9c5d6eca27
zoo: move plane before placing cursor, eliminating oscillation #990 4 years ago
nick black 1f214fbe45
cursor_enable: don't consider the same location an error #990 4 years ago
nick black 802e95d876
zoo: error check on notcurses_cursor_enable() #990 4 years ago
nick black dbaf823c0f quadblitter: finish qtrans_check() #989 4 years ago
nick black e2238676a0 quadblitter: 15-way conditional tree for qtrans_check #989 4 years ago
nick black bd4616b62c quadblitter: extract qtrans_check #989 4 years ago
nick black a2d2274f18
dragon: use default background 4 years ago
nick black 3c37bc9d14
render: solving for TRANSPARENT -> default #988 4 years ago
nick black 1aeb6fdb77
mojibake demo: use default background for mojiplanes 4 years ago
nick black 9dd6ccdf77
ncreader: erase textplane along with current plane #983 4 years ago
nick black f0b20ff736
ncreader: implement NCREADER_OPTIONS_NOCMDKEYS #983 4 years ago
nick black 2f28420034 rename ncplane_putsimple() -> ncplane_putchar() #912 4 years ago
nick black ca4a08623d
notcurses-demo: stylize usage message #915 4 years ago
nick black ae63ad15bd
reparenting to NULL gets standard plane #982 4 years ago
nick black f6c2334521
bind all planes, binding stdplane to itself #982 4 years ago
nick black d2666a8584
pool_release: always reset gcluster #980 4 years ago
nick black 857e22562c
whiteout: remove intermediary cell 4 years ago
nick black c834e2a78d
cell_simple_p(): fix for htole() #979 4 years ago
nick black 5d9cc8a098 tetris: fix up staining #974 4 years ago
nick black 4c7a1d0427 ncdirect_init: add flags parameter #976 4 years ago
nick black 9ae58194e6 handle_getc(): properly seed ncinput #972 4 years ago
nick black f64ea58e6c kill stdin buffering #972 4 years ago
nick black 991b39b8a8
zoo: break up exposition lines a little 4 years ago
nick black 90c24504f5
notcurses-view: pass in actual ncoptions 4 years ago
nick black 6e4f12a53a
banner: make RGB more prominent 4 years ago
nick black 825370e6c9
direct-input: convert to utf8 for display 4 years ago
nick black 5fc6705ce3
add notcurses_ucs32_to_utf8() 4 years ago
nick black d5a4cd2349
add notcurses-direct-pydemo 4 years ago
nick black 2839904785
zoo: fewer newlines in exposition 4 years ago
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