aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorAvi Halachmi (:avih) <avihpit@yahoo.com>2025-12-26 00:02:45 +0200
committerRon Yorston <rmy@pobox.com>2025-12-29 13:57:05 +0000
commit6f847c296bf94401c0c147bf3c5aa1e8531b9dbf (patch)
tree0348f7468392ce5f413515796566451577d2ce7c /scripts/basic
parentaa552f0883ab1320c2a65679ee8cd683629af7ec (diff)
downloadbusybox-w32-6f847c296bf94401c0c147bf3c5aa1e8531b9dbf.tar.gz
busybox-w32-6f847c296bf94401c0c147bf3c5aa1e8531b9dbf.tar.bz2
busybox-w32-6f847c296bf94401c0c147bf3c5aa1e8531b9dbf.zip
win32: wcwidth_alt.c: new generator script, re-generate code
Previously, scripts/mkwcwidth generated a wcwidth implementation based on input from the python wcwidth: https://github.com/jquast/wcwidth . However, that project is not updated frequently, and the less dependencies - the better. This new script instead prints an implementation based directly on the original Unicode files - which it can also download. It generates the same code as before (same data structures, etc). It was then used to re-generate libbb/wcwidth_alt.c, as follows: ./scripts/mkwcwidth DL=15.1.0 FAST_FUNC > libbb/wcwidth_alt.c This is the same Unicode version as the previous file, just to make the codepoint differences visible easily. These differences are very small, and the script itself explains where and why it differs from https://github.com/jquast/wcwidth . Next commits will update the tables to the latest unicode version.
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions