Commit Graph

461 Commits

Author SHA1 Message Date
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