hush/include
Denys Vlasenko 9f93d62192 libbb: better unicode width support. Hopefully fixes bug 839.
Also opens up a possibility to make other unicode stuff smaller
and more correct later. but:

function                                             old     new   delta
static.combining                                       -     516    +516
bb_wcwidth                                             -     328    +328
unicode_cut_nchars                                     -     141    +141
mbstowc_internal                                       -      93     +93
in_table                                               -      78     +78
cal_main                                             899     961     +62
static.combining0x10000                                -      40     +40
unicode_strlen                                         -      31     +31
bb_mbstrlen                                           31       -     -31
bb_mbstowcs                                          173     102     -71
------------------------------------------------------------------------------
(add/remove: 7/1 grow/shrink: 1/1 up/down: 1289/-102)        Total: 1187 bytes

Uses code of Markus Kuhn, which is in public domain:
http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
"Permission to use, copy, modify, and distribute this software
 for any purpose and without fee is hereby granted. The author
 disclaims all warranties with regard to this software."

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-24 07:44:03 +01:00
..
.gitignore add .gitignore files 2009-05-05 09:05:30 -04:00
applets.h replace APP_xxDHCPxx with xxDHCPxx, it's more consistent with the rest 2009-12-11 02:21:10 +01:00
busybox.h rename _BB_SUID_ALWAYS and NEVER into REQUIRE and DROP. No code changes. 2009-07-30 12:57:19 +02:00
dump.h *: make "pragma GCC visibility push(hidden)" less ugly 2009-04-09 12:35:13 +00:00
fix_u32.h randomconfig fixes 2009-08-08 03:20:12 +02:00
grp_.h *: make "pragma GCC visibility push(hidden)" less ugly 2009-04-09 12:35:13 +00:00
inet_common.h *: introduce and use FAST_FUNC: regparm on i386, otherwise no-on 2008-06-27 02:52:20 +00:00
libbb.h ls: make it so that group never glues itself to file size 2010-01-18 01:55:00 +01:00
platform.h ping: fix unaligned access. closes bug 745. 2009-11-26 15:26:31 +01:00
pwd_.h *: make "pragma GCC visibility push(hidden)" less ugly 2009-04-09 12:35:13 +00:00
rtc_.h *: make it easier to distinquish "struct tm", pointer to one, etc 2010-01-09 19:10:49 +01:00
shadow_.h restore shadow.h independence 2009-07-09 01:35:29 -04:00
unarchive.h libunarchive: clean up dirty hacks. code shrank as a result 2010-01-06 10:53:17 +01:00
unicode.h libbb: better unicode width support. Hopefully fixes bug 839. 2010-01-24 07:44:03 +01:00
usage.h *: small code shrinks and compile fix for unicode 2010-01-20 02:51:09 +01:00
volume_id.h swaponoff: add uuid/label support. By Natanael Copa 2009-09-20 04:28:22 +02:00
xatonum.h include/xatonum.h: make it survive -Wconversion 2009-10-11 22:29:15 +02:00
xregex.h *: make "pragma GCC visibility push(hidden)" less ugly 2009-04-09 12:35:13 +00:00