nick black
dd8423dff3
embiggen notcurses_metric(3), add unit test #1107
2020-11-28 20:45:16 -05:00
nick black
be6362d74f
drone: use new builder 2020-11-26b
2020-11-26 22:11:03 -05:00
nick black
d4959eab13
fd unit tests: kill deadlock #1100
2020-11-25 20:53:07 -05:00
nick black
e1e6c6a272
fd tests: use lock guards #1100
2020-11-25 20:44:46 -05:00
nick black
a6101d4fa2
ncplane_reparent: extract from z-axis #1078
2020-11-24 02:46:30 -05:00
nick black
58e4cf626d
ncplane_reparent(): excise children #1078
2020-11-24 02:46:30 -05:00
nick black
b6e5b60374
ncpile_create() not NCPLANE_OPTION_NEWPILE #1078
2020-11-23 22:58:05 -05:00
nick black
3ad9a40426
hook up piles #1078
2020-11-23 22:58:05 -05:00
nick black
de082c7ba2
ncpile creation/destruction #1078
2020-11-23 22:58:05 -05:00
nick black
ec92b663d8
mark blitting tests as warn for now #1130
2020-11-22 00:19:40 -05:00
nick black
decf622f6c
blit tests: ntole() on input pixels #1130
2020-11-21 23:27:38 -05:00
nick black
eef6df8c0a
death to horiz #1115
2020-11-17 23:42:36 -05:00
nick black
a66bef0aca
zaxis unit tests: ncplane_new -> ncplane_create #1115
2020-11-17 23:42:36 -05:00
nick black
dc8e52c3de
ncplane/resize/scroll/selector unit tests: ncplane_create #1115
2020-11-17 23:42:36 -05:00
nick black
1d1e23cf2c
rotate tests: ncplane_new -> ncplane_create #1115
2020-11-17 23:42:36 -05:00
nick black
4b016ce4d2
notcurses unit tests: ncplane_new->ncplane_create #1115
2020-11-17 23:42:36 -05:00
nick black
ff999ca268
wide tests: ncplane_new -> ncplane_create #1115
2020-11-17 23:42:36 -05:00
nick black
da5c1b2ed4
reader tests: ncplane_new -> ncplane_create #1115
2020-11-17 23:42:36 -05:00
nick black
23f102beb5
layout tests: ncplane_new -> ncplane_create #1115
2020-11-17 23:42:36 -05:00
nick black
42c5b60c5d
geom tests: ncplane_new -> ncplane_create #1115
2020-11-17 23:42:36 -05:00
nick black
b7ad4fb7a6
fill tests: use ncplane_create #1115
2020-11-17 23:42:36 -05:00
nick black
5e9359ca15
cell tests: use ncplane_create()
2020-11-17 23:42:36 -05:00
nick black
55ac9cc231
convert ncplane_new() to ncplane_create() in blit tests
2020-11-17 23:42:36 -05:00
nick black
fb0beb19b6
ncblit_bgrx() improvements #1105
...
Add unit tests for ncblit_bgrx. Rewrite bgra_to_rgba() using
ncpixel_*() funtionality. Rewrite ncblit_bgrx() using
ncblit_rgba().
2020-11-11 00:58:42 -05:00
nick black
279b365e3c
Quadblitter unit tests: require UTF8 #1108
2020-11-09 20:54:39 -05:00
nick black
fd29cab463
quadblitter all different unit test #1080
2020-10-31 23:45:10 -04:00
nick black
e12cfe947b
ncpixel_set_g/ncpixel_set_b: correct #1080
2020-10-30 03:50:47 -04:00
nick black
e1582a2784
visual: run video tests for all blitters
2020-10-29 18:15:42 -04:00
nick black
e3d6696812
ncvisual_from_bgra: swap r and b bytes #1084
2020-10-28 18:24:40 -04:00
nick black
c7adde423a
Quadblitter1Pair unit test #1080
2020-10-27 14:23:50 -04:00
nick black
361ad063bd
quadblitter close-in unit tests #1080
2020-10-26 13:45:37 -04:00
nick black
f49e1d8e8c
ffmpeg: need call ncvisual_decode() again in loop #1066
2020-10-21 00:47:21 -04:00
nick black
b35c680f48
add LoopVideo unit test #1066
2020-10-21 00:47:21 -04:00
nick black
e6bc09084c
notcurses_align: return error on negative column count
2020-10-17 15:58:30 -04:00
nick black
1fe53d98fb
new notcurses ii test video #1055
2020-10-10 20:48:16 -04:00
nick black
68dbfeafc8
add version unit test #1054
2020-10-10 20:33:23 -04:00
nick black
b809d5c7c5
s/USE_MULTIMEDIA/NOTCURSES_USE_MULTIMEDIA/g #1054
2020-10-10 19:37:01 -04:00
nick black
8acd0dea58
MultiglyphWidth test: work around freebsd breakage #1046
2020-10-07 02:27:17 -04:00
nick black
f9e2c7863b
add notcurses_stats_alloc #1043
2020-10-06 23:33:28 -04:00
nick black
955c4b9baa
reel unit tests: correct for considering reel border
2020-10-05 17:33:11 -04:00
nick black
4a9be7fa90
include memory.h where necessary
2020-10-03 18:54:34 -04:00
nick black
683217ef07
normalize style setters #1034
2020-09-29 13:09:44 -04:00
nick black
f15dc9ba80
ncreel: properly size tablets in all border conditions #1031
2020-09-28 07:08:17 -04:00
nick black
8b5e3f5000
add four unit test for reel tablet sizes
2020-09-28 07:08:17 -04:00
nick black
20bf1ae2d4
nctablet_ncplane() -> nctablet_plane()
2020-09-27 16:46:39 -04:00
nick black
ec85dd1c3b
ncreel_destroy: return void
2020-09-27 15:57:03 -04:00
nick black
a4367fcfb5
rip out ncplane_ creation functions #985
2020-09-18 17:46:57 -04:00
nick black
e42dbdfd60
_stainable() -> _stained() #985
2020-09-18 02:02:08 -04:00
nick black
c5c608b22e
add ncplane_putwc_stainable, ncplane_putwstr_stainable #985
2020-09-18 02:02:08 -04:00
nick black
b7a57eaab7
convert all channel rgb calls #985
2020-09-18 01:39:21 -04:00
nick black
4bb1f3fc85
mbswidth -> ncstrwidth() #985
2020-09-15 01:39:42 -04:00
nick black
dab7247cdd
mbswidth: use utf8_egc_len() for segmentation #1014
2020-09-15 00:29:53 -04:00
nick black
dca9db9687
ncreel: conform to the New Way #627
2020-09-13 14:18:42 -04:00
nick black
c3e5e47a2a
ncreader: conform to the New Way #627
2020-09-13 13:53:11 -04:00
nick black
8839d44454
selector: transfer ownership of ncplane #1006 #627
2020-09-13 13:22:58 -04:00
nick black
301354a9ba
utf8_egc_len: rewrite using uc_is_grapheme_break() #882
2020-09-10 03:50:12 -04:00
nick black
2f28420034
rename ncplane_putsimple() -> ncplane_putchar() #912
2020-08-31 21:14:29 -04:00
nick black
c834e2a78d
cell_simple_p(): fix for htole() #979
2020-08-31 14:36:46 -04:00
nick black
4c7a1d0427
ncdirect_init: add flags parameter #976
2020-08-30 13:38:33 -04:00
nick black
5901fce433
unite putegc_yx+putc_yx into ncplane_put #961
2020-08-29 20:29:04 -04:00
nick black
161130986e
Wide tests: downgrade many REQUIREs to CHECKs
2020-08-29 20:29:04 -04:00
nick black
954030ac83
add new RejectWideAsianPlaced unit test #967
2020-08-29 19:17:45 -04:00
nick black
720f61d51f
correct sub to add in ncreel_tighten_down() #901
2020-08-29 18:24:45 -04:00
nick black
1cda7758b5
call ncreel_redraw() from _add/_del/_next/_prev #963
2020-08-29 18:24:45 -04:00
nick black
a48e840542
document ncreel a bit more
2020-08-29 18:24:45 -04:00
nick black
5b6868abee
finish out ReelGaps unit test
2020-08-29 18:24:45 -04:00
nick black
0cee9bdb5c
ReelsGap unit test #901
2020-08-29 18:24:45 -04:00
nick black
de3737e8e1
ZAxis test: remaining fixup #906
2020-08-27 11:31:31 -04:00
nick black
3fbdab3020
pool_load_direct: zilch out entirety of gcluster #906
2020-08-27 08:14:33 -04:00
nick black
4e0296f222
zaxis unit tests: fix for inlined egcs #906
2020-08-27 08:09:06 -04:00
nick black
c24ca8ab56
introduce ntole() #906
2020-08-27 06:59:11 -04:00
nick black
227738a8e5
SubprocAndFds tests: tighten up locking
2020-08-27 02:25:36 -04:00
nick black
4dd1d6a4c8
Annihilate nc_err_e and all infrastructure #948
2020-08-24 17:20:29 -04:00
nick black
ea681ed4ec
libunistring: beef up unit test #906
2020-08-24 16:06:36 -04:00
nick black
af80914efe
add libunistring unit tests #906
2020-08-24 15:30:17 -04:00
nick black
15b923c8cf
adapt ncplane_mergedown() #779
2020-08-23 07:46:12 -04:00
nick black
14d6129007
take-no-prisoners overhaul of ncplane_puttext() #829
2020-08-22 12:51:32 -04:00
nick black
df3dc7f8e7
LayoutNewlinesAtBorders unit test #829
2020-08-22 12:51:32 -04:00
nick black
adab5ba382
LayoutNewlines unit test #829
2020-08-22 12:51:32 -04:00
nick black
97f3676588
layout unit tests: fill out checks #829
2020-08-21 00:02:22 -04:00
Nick Black
359ad1d36d
Generalized mergedown #779 ( #932 )
...
* Rename ncplane_mergedown -> ncplane_mergedown_simple()
* New ncplane_mergedown(), fully general projection of src to dst
2020-08-20 23:51:35 -04:00
nick black
ed0d9d8a8e
Wide unit tests; test other side
2020-08-20 21:32:31 -04:00
nick black
01249a0546
HigherGlyphAbides unit test
2020-08-20 20:18:49 -04:00
nick black
bc0016b827
BigMult unit test, fix ncmetric bogon #929
2020-08-20 17:34:53 -04:00
nick black
0f2bb4efc6
wide tests: remove netinet/in.h
2020-08-16 08:51:45 -04:00
nick black
666bdb5fda
ncreel unit tests: call ncreel_destroy()
2020-08-16 06:52:45 -04:00
nick black
16ff667325
blissful endianness-opacity
...
not caring about endianness is the opiate of the masses.
happy, happy masses. remove endianness.h and all its baleful
influence by explicitly breaking up the cell structure. #892
2020-08-16 01:44:36 -04:00
nick black
7811663223
inlined EGCs + styling unit tests #830
2020-08-15 17:38:20 -04:00
nick black
55baa55541
wide tests: kill one last allocation
2020-08-15 17:38:20 -04:00
nick black
7f8631b35c
wide tests: death to cowardly copying
2020-08-15 17:38:20 -04:00
nick black
3bc15c2824
inlined egcs: straightline cell_duplicate()
2020-08-15 17:38:20 -04:00
nick black
2656cad07a
cell_duplicate_far() fix length issue
2020-08-15 17:38:20 -04:00
nick black
7ac3f68f4e
cell_load: fix CELL_WIDEASIAN_MASK bug
2020-08-15 17:38:20 -04:00
nick black
1605416585
more egc-inline test fixes
2020-08-15 17:38:20 -04:00
nick black
a0fc540286
fix up fill tests
2020-08-15 17:38:20 -04:00
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()
2020-08-12 02:43:52 -04:00
nick black
f0f3b9f45f
ThreeCycleDownNoTabletBorders unit test #818
2020-08-09 22:14:56 -04:00
Nick Black
11d6a4eb89
New reel layout algorithm #818 ( #870 )
...
New reel layout algorithm based on trimming and sifting. Fixes the original issue of #818 , though I'm not marking that bug fixed until I've resolved the little issues remaining with this one.
Back off CMake version dependency, see if we can get by with 3.11.4 for EPEL8 #851
Simplify tablet drawing tremendously by separating tablet border and data planes. Callbacks no longer need worry about the borders; they can simply fill the plane they're handed. #833
Improve notcurses_debug() a bit
Add ncplane_new_named() and friends to expose plane naming to the user.
Add internal ncplane_genocide() to kill a plane and all its bound descendents
New industrial-strength ncreel unit testing
notcurses-ncreel now accepts -ln for log level n
Add ncplane_parent() and ncplane_parent_const()
2020-08-09 17:40:59 -04:00
nick black
4f5be0b100
tests: treat TERM=unknown like unset TERM #865
2020-08-08 07:54:09 -04:00
nick black
4ecee49777
selector unit test fixups for itemcount #831
2020-07-28 22:56:51 -04:00