Commit Graph

31 Commits (c8378e62ffa1a8520c2fe60e861545259be1fece)

Author SHA1 Message Date
nick black 03bcd1e01b kill enforce_utf8(), forcing notcurses_canutf8() 4 years ago
nick black b6e5b60374 ncpile_create() not NCPLANE_OPTION_NEWPILE #1078 4 years ago
nick black 3ad9a40426 hook up piles #1078 4 years ago
nick black eef6df8c0a death to horiz #1115 4 years ago
nick black 23f102beb5 layout tests: ncplane_new -> ncplane_create #1115 4 years ago
nick black a4367fcfb5 rip out ncplane_ creation functions #985 4 years ago
nick black 14d6129007 take-no-prisoners overhaul of ncplane_puttext() #829 4 years ago
nick black df3dc7f8e7 LayoutNewlinesAtBorders unit test #829 4 years ago
nick black adab5ba382 LayoutNewlines unit test #829 4 years ago
nick black 97f3676588
layout unit tests: fill out checks #829 4 years ago
Nick Black c3508d524b
ncplane_puttext() work for longer lines (#880)
* The zoo demo made manifest that we had some serious problems handling sequences of longer lines in ncplane_puttext(). This remedies most of the problems, though it's not yet perfect. #871
* Guard notcurses* for NULL in log*() #878 #879
* Fix memory leak in ncdirect_dump_plane()
4 years ago
nick black 384232efd1
layout tests: enforce utf8 where necessary 4 years ago
nick black b9ad7b9bd5 add LayoutTransPlanarWide unit test #815 4 years ago
nick black 357cba3843 ncplane_puttext: all unit tests work #815 4 years ago
nick black 243cbd6a92 fix LayoutFillsPlaneNoSpaces problems #815 4 years ago
nick black 1664e64617 add LayoutCrossBoundaryWide unit test #815 4 years ago
nick black 4adde41b05 Get LayoutFillsPlaneNoSpaces test working #815 4 years ago
nick black bae1cedd6b Ncpp tests: supply NCOPTION_SUPPRESS_BANNERS | NCOPTION_INHIBIT_SETLOCALE 4 years ago
nick black a70cbb894c get complete widechar ncplane_puttext() working #815 4 years ago
nick black 380ebc7e6e add wide ncplane_puttext unit tests #815 4 years ago
nick black 255b404842
ncplane_puttext(): start long words early
If we're fed a word that in and of itself is wider than
the text layout area, and it is not the first word on the
row on which it starts, go ahead and start it there, as
opposed to breaking the line. #720

Also, remove sgr from test suite, as it's not a notcurses
application.
4 years ago
nick black 6b1b8d1695 ncplane_puttext: unit tests for scrolling #719 4 years ago
nick black 84746f1f31
OTHERS: add termbox, termion, pancurses 4 years ago
nick black 5b99ebc9fc
ncplane_puttext(): four more unit tests #691 4 years ago
nick black 6ff0bec2fa
ncplane_puttext: more unit tests, check for spcae before width #691 4 years ago
nick black cfe764bd57
ncplane_puttext() unit test + fix #691 4 years ago
nick black 97517d0473
ncplane_puttext: another test, another bug #691 4 years ago
nick black d1f8b9237d
ncplane_puttext: new unit test, fix breakage #691 4 years ago
nick black 2be041b1f4
Beef up ncplane_puttext() tests, fix a problem #691 4 years ago
nick black b49d1ad838
rewrite all unit tests to use testing_notcurses() #718 4 years ago
Nick Black 28431914a8
First go at ncplane_puttext() (#690)
Very simple take at ncplane_puttext(), a new function for linebroken text. Also some very basic unit tests. I doubt this works very well yet, but it handles the simplest cases #682. Added nclog(), internal function for logging. #520
4 years ago